@noldova/ui.components.angular 0.0.10 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/README.md +7 -4
  2. package/api/index.d.ts +2 -0
  3. package/api/index.js +2 -0
  4. package/api/index.js.map +1 -1
  5. package/api/testing.d.ts +1 -0
  6. package/api/testing.js.map +1 -1
  7. package/app/components/avatar/avatar-initials-fitter.d.ts +4 -0
  8. package/app/components/avatar/avatar-initials-fitter.js +35 -4
  9. package/app/components/avatar/avatar-initials-fitter.js.map +1 -1
  10. package/app/components/avatar/avatar.component.d.ts +9 -5
  11. package/app/components/avatar/avatar.component.js +2 -2
  12. package/app/components/avatar/avatar.resources.d.ts +2 -0
  13. package/app/components/avatar/avatar.resources.js +3 -1
  14. package/app/components/avatar/avatar.resources.js.map +1 -1
  15. package/app/components/configuration-table/configuration-table.component.d.ts +8 -1
  16. package/app/components/configuration-table/configuration-table.component.js +10 -4
  17. package/app/components/configuration-table/configuration-table.component.js.map +1 -1
  18. package/app/components/diff-view/diff-view.component.d.ts +1 -0
  19. package/app/components/diff-view/diff-view.component.js +10 -3
  20. package/app/components/diff-view/diff-view.component.js.map +1 -1
  21. package/app/components/gallery/gallery-configuration-table.component.d.ts +3 -0
  22. package/app/components/gallery/gallery-configuration-table.component.js +5 -2
  23. package/app/components/gallery/gallery-configuration-table.component.js.map +1 -1
  24. package/app/components/gallery/gallery-content.component.d.ts +0 -30
  25. package/app/components/gallery/gallery-content.component.js +10 -79
  26. package/app/components/gallery/gallery-content.component.js.map +1 -1
  27. package/app/components/gallery/gallery-diff-view.component.d.ts +23 -0
  28. package/app/components/gallery/gallery-diff-view.component.js +74 -0
  29. package/app/components/gallery/gallery-diff-view.component.js.map +1 -0
  30. package/app/components/gallery/gallery-feed.component.d.ts +0 -25
  31. package/app/components/gallery/gallery-feed.component.js +6 -65
  32. package/app/components/gallery/gallery-feed.component.js.map +1 -1
  33. package/app/components/gallery/gallery-mention-field.component.d.ts +18 -0
  34. package/app/components/gallery/gallery-mention-field.component.js +45 -0
  35. package/app/components/gallery/gallery-mention-field.component.js.map +1 -0
  36. package/app/components/gallery/gallery-navigation.component.d.ts +0 -4
  37. package/app/components/gallery/gallery-navigation.component.js +4 -16
  38. package/app/components/gallery/gallery-navigation.component.js.map +1 -1
  39. package/app/components/gallery/gallery-overlays.component.d.ts +0 -13
  40. package/app/components/gallery/gallery-overlays.component.js +6 -32
  41. package/app/components/gallery/gallery-overlays.component.js.map +1 -1
  42. package/app/components/gallery/gallery-permission-card.component.d.ts +13 -0
  43. package/app/components/gallery/gallery-permission-card.component.js +31 -0
  44. package/app/components/gallery/gallery-permission-card.component.js.map +1 -0
  45. package/app/components/gallery/gallery-plan.component.d.ts +11 -0
  46. package/app/components/gallery/gallery-plan.component.js +28 -0
  47. package/app/components/gallery/gallery-plan.component.js.map +1 -0
  48. package/app/components/gallery/gallery-popover.component.d.ts +11 -0
  49. package/app/components/gallery/gallery-popover.component.js +30 -0
  50. package/app/components/gallery/gallery-popover.component.js.map +1 -0
  51. package/app/components/gallery/gallery-resources.d.ts +13 -0
  52. package/app/components/gallery/gallery-resources.js +5 -3
  53. package/app/components/gallery/gallery-resources.js.map +1 -1
  54. package/app/components/gallery/gallery-status-colors.component.d.ts +8 -0
  55. package/app/components/gallery/gallery-status-colors.component.js +23 -0
  56. package/app/components/gallery/gallery-status-colors.component.js.map +1 -0
  57. package/app/components/gallery/gallery-terminal-colors.component.d.ts +11 -0
  58. package/app/components/gallery/gallery-terminal-colors.component.js +26 -0
  59. package/app/components/gallery/gallery-terminal-colors.component.js.map +1 -0
  60. package/app/components/gallery/gallery-tool-call.component.d.ts +12 -0
  61. package/app/components/gallery/gallery-tool-call.component.js +31 -0
  62. package/app/components/gallery/gallery-tool-call.component.js.map +1 -0
  63. package/app/components/gallery/gallery-toolbar.component.d.ts +9 -0
  64. package/app/components/gallery/gallery-toolbar.component.js +30 -0
  65. package/app/components/gallery/gallery-toolbar.component.js.map +1 -0
  66. package/app/components/gallery/gallery-virtual-feed.component.d.ts +38 -0
  67. package/app/components/gallery/gallery-virtual-feed.component.js +91 -0
  68. package/app/components/gallery/gallery-virtual-feed.component.js.map +1 -0
  69. package/app/components/tool-call/tool-call.component.d.ts +2 -0
  70. package/app/components/tool-call/tool-call.component.js +15 -4
  71. package/app/components/tool-call/tool-call.component.js.map +1 -1
  72. package/app/components/virtual-list/virtual-list.component.d.ts +3 -1
  73. package/app/components/virtual-list/virtual-list.component.js +21 -4
  74. package/app/components/virtual-list/virtual-list.component.js.map +1 -1
  75. package/app/components/virtual-list/virtual-list.resources.d.ts +1 -1
  76. package/app/components/virtual-list/virtual-list.resources.js +2 -1
  77. package/app/components/virtual-list/virtual-list.resources.js.map +1 -1
  78. package/app/enums/avatar-size.d.ts +3 -3
  79. package/app/enums/configuration-table-density.d.ts +32 -0
  80. package/app/enums/configuration-table-density.js +13 -0
  81. package/app/enums/configuration-table-density.js.map +1 -0
  82. package/app/exceptions/code-highlighting.exception.d.ts +3 -2
  83. package/app/exceptions/code-highlighting.exception.js +2 -2
  84. package/app/exceptions/code-highlighting.exception.js.map +1 -1
  85. package/app/exceptions/diff.exception.d.ts +2 -2
  86. package/app/exceptions/diff.exception.js +2 -2
  87. package/app/exceptions/diff.exception.js.map +1 -1
  88. package/app/exceptions/link-reference.exception.d.ts +2 -2
  89. package/app/exceptions/link-reference.exception.js +2 -2
  90. package/app/exceptions/link-reference.exception.js.map +1 -1
  91. package/app/exceptions/markdown.exception.d.ts +2 -2
  92. package/app/exceptions/markdown.exception.js +2 -2
  93. package/app/exceptions/markdown.exception.js.map +1 -1
  94. package/app/exceptions/theme.exception.d.ts +2 -2
  95. package/app/exceptions/theme.exception.js +2 -2
  96. package/app/exceptions/theme.exception.js.map +1 -1
  97. package/app/exceptions/tree-move.exception.d.ts +2 -2
  98. package/app/exceptions/tree-move.exception.js +2 -2
  99. package/app/exceptions/tree-move.exception.js.map +1 -1
  100. package/app/exceptions/ui-components.exception.d.ts +48 -0
  101. package/app/exceptions/ui-components.exception.js +15 -0
  102. package/app/exceptions/ui-components.exception.js.map +1 -0
  103. package/app/exceptions/virtual-list.exception.d.ts +2 -2
  104. package/app/exceptions/virtual-list.exception.js +2 -2
  105. package/app/exceptions/virtual-list.exception.js.map +1 -1
  106. package/app/models/code-tokenizer.d.ts +1 -0
  107. package/app/models/code-tokenizer.js +2 -1
  108. package/app/models/code-tokenizer.js.map +1 -1
  109. package/app/models/default-theme.js +10 -0
  110. package/app/models/default-theme.js.map +1 -1
  111. package/app/models/markdown-link.js +3 -1
  112. package/app/models/markdown-link.js.map +1 -1
  113. package/app/models/mention-value.js +3 -1
  114. package/app/models/mention-value.js.map +1 -1
  115. package/app/models/row-answer.d.ts +16 -0
  116. package/app/models/row-answer.js +28 -0
  117. package/app/models/row-answer.js.map +1 -0
  118. package/app/services/dialog.service.d.ts +1 -0
  119. package/app/services/dialog.service.js +4 -2
  120. package/app/services/dialog.service.js.map +1 -1
  121. package/app/services/markdown-math.renderer.js +3 -1
  122. package/app/services/markdown-math.renderer.js.map +1 -1
  123. package/package.json +5 -4
  124. package/resources.d.ts +2 -0
  125. package/resources.js +12 -0
  126. package/resources.js.map +1 -1
  127. package/styles/base.css +2 -0
  128. package/styles/theme.css +10 -0
  129. package/testing/interfaces/i-pointer-hover-options.d.ts +18 -0
  130. package/testing/interfaces/i-pointer-hover-options.js +8 -0
  131. package/testing/interfaces/i-pointer-hover-options.js.map +1 -0
  132. package/testing/models/fixture-theme.js +10 -0
  133. package/testing/models/fixture-theme.js.map +1 -1
  134. package/testing/services/appearance-fixture.d.ts +6 -2
  135. package/testing/services/appearance-fixture.js +39 -3
  136. package/testing/services/appearance-fixture.js.map +1 -1
  137. package/testing/services/kit-stylesheet-fixture.d.ts +2 -0
  138. package/testing/services/kit-stylesheet-fixture.js +7 -1
  139. package/testing/services/kit-stylesheet-fixture.js.map +1 -1
  140. package/testing/services/pointer-fixture.d.ts +4 -1
  141. package/testing/services/pointer-fixture.js +2 -2
  142. package/testing/services/pointer-fixture.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"gallery-feed.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-feed.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-feed.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAuB,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE3F,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AA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allery/gallery-feed.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-feed.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAGvE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;;AASlF,MAAM,OAAO,oBAAoB;IACZ,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,IAAI,GAAS,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,gBAAgB,CAAC,UAAU,CAAC,CAAC;IAChE,QAAQ,GAAkB,IAAI,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,iBAAiB,CAAC,KAAK,EAAE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AAoB;2FAApB,oBAAoB,4ECnCjC,g0FAyCA,uiCDXY,oBAAoB,kFAAE,uBAAuB,gEAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,2BAA2B,qEAAE,0BAA0B,2IAC/J,0BAA0B,qIAAE,gBAAgB;;2FAInC,oBAAoB;kBAPhC,SAAS;+BACE,kBAAkB,WACnB,CAAC,oBAAoB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,0BAA0B;wBAC/J,0BAA0B,EAAE,gBAAgB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { GallerySize } from "../../enums/gallery-size.js";
2
+ import { MentionCandidate } from "../../models/mention-candidate.js";
3
+ import { GalleryResources } from "./gallery-resources.js";
4
+ import * as i0 from "@angular/core";
5
+ export declare class GalleryMentionFieldComponent {
6
+ private static count;
7
+ protected readonly text: typeof GalleryResources.text;
8
+ protected readonly sizes: typeof GallerySize;
9
+ protected readonly hoveredMention: string;
10
+ protected readonly mentionListId: string;
11
+ protected readonly hoveredMentionListId: string;
12
+ protected readonly longMentionListId: string;
13
+ protected readonly mentions: readonly MentionCandidate[];
14
+ protected readonly longMentions: readonly MentionCandidate[];
15
+ private static nextMentionListId;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<GalleryMentionFieldComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<GalleryMentionFieldComponent, "nol-gallery-mention-field", never, {}, {}, never, never, true, never>;
18
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Component } from "@angular/core";
9
+ import { GallerySize } from "../../enums/gallery-size.js";
10
+ import { MentionCandidate } from "../../models/mention-candidate.js";
11
+ import { MentionFieldDirective } from "../mention-field/mention-field.directive.js";
12
+ import { MentionListComponent } from "../mention-field/mention-list.component.js";
13
+ import { GalleryCellComponent } from "./gallery-cell.component.js";
14
+ import { GalleryResources } from "./gallery-resources.js";
15
+ import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
16
+ import { GalleryStateDirective } from "./gallery-state.directive.js";
17
+ import * as i0 from "@angular/core";
18
+ export class GalleryMentionFieldComponent {
19
+ static count = 0;
20
+ text = GalleryResources.text;
21
+ sizes = GallerySize;
22
+ hoveredMention = GalleryResources.hoveredMention;
23
+ mentionListId = GalleryMentionFieldComponent.nextMentionListId();
24
+ hoveredMentionListId = GalleryMentionFieldComponent.nextMentionListId();
25
+ longMentionListId = GalleryMentionFieldComponent.nextMentionListId();
26
+ mentions = [
27
+ new MentionCandidate("person-1", GalleryResources.text.mentionAda, { section: GalleryResources.text.mentionPeople }),
28
+ new MentionCandidate("person-2", GalleryResources.text.mentionAdrian, { section: GalleryResources.text.mentionPeople, note: GalleryResources.text.mentionAdrianNote, unavailable: true }),
29
+ new MentionCandidate("agent-1", GalleryResources.text.mentionAssistant, { section: GalleryResources.text.mentionAgents })
30
+ ];
31
+ longMentions = [
32
+ new MentionCandidate("agent-2", GalleryResources.text.mentionLong),
33
+ new MentionCandidate("person-3", GalleryResources.text.mentionLongNoted, { note: GalleryResources.text.mentionAdrianNote, unavailable: true })
34
+ ];
35
+ static nextMentionListId() {
36
+ return `${GalleryResources.mentionListIdPrefix}${GalleryMentionFieldComponent.count++}`;
37
+ }
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryMentionFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryMentionFieldComponent, isStandalone: true, selector: "nol-gallery-mention-field", 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.mentionField\" [size]=\"sizes.Wide\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-mention-list class=\"nol-gallery-menu\" [choices]=\"mentions\" [active]=\"0\" [listId]=\"mentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-mention-list class=\"nol-gallery-menu\" [nolGalleryHover]=\"hoveredMention\" [choices]=\"mentions\" [active]=\"0\" [listId]=\"hoveredMentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.mentionFieldCaption\">\n <div class=\"nol-gallery-mention-box\"><textarea class=\"nol-gallery-mention-field\" [nolMentionField]=\"mentions\" [attr.aria-label]=\"text.mentionFieldLabel\" [placeholder]=\"text.mentionPlaceholder\"></textarea></div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-mention-list class=\"nol-gallery-menu nol-gallery-narrow\" [choices]=\"longMentions\" [active]=\"0\" [listId]=\"longMentionListId\" [label]=\"text.mentionLabel\" />\n </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-menu {\n width: 16rem;\n}\n\n.nol-gallery-fit {\n max-width: 100%;\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-large-dialog {\n --nol-dialog-large-width: 36rem;\n --nol-dialog-large-height: 14rem;\n --nol-dialog-large-min-height: 14rem;\n}\n\n.nol-gallery-large-dialog-body {\n margin: 0;\n padding: var(--nol-dialog-body-padding);\n padding-block: var(--nol-space-3);\n}\n\n.nol-gallery-context {\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.nol-gallery-popover-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-gallery-popover-text {\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-mention-box {\n position: relative;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n}\n\n.nol-gallery-mention-field {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-height: calc(var(--nol-field-height) * 2);\n margin: 0;\n padding: var(--nol-space-1) var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n resize: none;\n}\n\n.nol-gallery-mention-field::placeholder {\n color: var(--nol-placeholder);\n opacity: 1;\n}\n\n.nol-gallery-mention-field:focus {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n"], dependencies: [{ 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: "directive", type: MentionFieldDirective, selector: "textarea[nolMentionField]", inputs: ["nolMentionField", "nolMentionFieldLabel", "nolMentionValue"], outputs: ["nolMentioned", "nolMentionValueChange"] }, { kind: "component", type: MentionListComponent, selector: "nol-mention-list", inputs: ["choices", "active", "listId", "label"], outputs: ["chosen"] }] });
40
+ }
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryMentionFieldComponent, decorators: [{
42
+ type: Component,
43
+ args: [{ selector: "nol-gallery-mention-field", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, MentionFieldDirective, MentionListComponent], 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.mentionField\" [size]=\"sizes.Wide\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-mention-list class=\"nol-gallery-menu\" [choices]=\"mentions\" [active]=\"0\" [listId]=\"mentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-mention-list class=\"nol-gallery-menu\" [nolGalleryHover]=\"hoveredMention\" [choices]=\"mentions\" [active]=\"0\" [listId]=\"hoveredMentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.mentionFieldCaption\">\n <div class=\"nol-gallery-mention-box\"><textarea class=\"nol-gallery-mention-field\" [nolMentionField]=\"mentions\" [attr.aria-label]=\"text.mentionFieldLabel\" [placeholder]=\"text.mentionPlaceholder\"></textarea></div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-mention-list class=\"nol-gallery-menu nol-gallery-narrow\" [choices]=\"longMentions\" [active]=\"0\" [listId]=\"longMentionListId\" [label]=\"text.mentionLabel\" />\n </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-menu {\n width: 16rem;\n}\n\n.nol-gallery-fit {\n max-width: 100%;\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-large-dialog {\n --nol-dialog-large-width: 36rem;\n --nol-dialog-large-height: 14rem;\n --nol-dialog-large-min-height: 14rem;\n}\n\n.nol-gallery-large-dialog-body {\n margin: 0;\n padding: var(--nol-dialog-body-padding);\n padding-block: var(--nol-space-3);\n}\n\n.nol-gallery-context {\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.nol-gallery-popover-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-gallery-popover-text {\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-mention-box {\n position: relative;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n}\n\n.nol-gallery-mention-field {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-height: calc(var(--nol-field-height) * 2);\n margin: 0;\n padding: var(--nol-space-1) var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n resize: none;\n}\n\n.nol-gallery-mention-field::placeholder {\n color: var(--nol-placeholder);\n opacity: 1;\n}\n\n.nol-gallery-mention-field:focus {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n"] }]
44
+ }] });
45
+ //# sourceMappingURL=gallery-mention-field.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gallery-mention-field.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-mention-field.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-mention-field.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,MAAM,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AAgB,EAAE,EAAE,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;KAC/I,CAAC;IAEM,MAAM,CAAC,iBAAiB;QAC9B,OAAO,GAAG,gBAAgB,CAAC,mBAAmB,GAAG,4BAA4B,CAAC,KAAK,EAAE,EAAE,CAAC;IAC1F,CAAC;uGArBU,4BAA4B;2FAA5B,4BAA4B,qFCzBzC,kzCAsBA,2+DDDY,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,qBAAqB,kMAAE,oBAAoB;;2FAIjH,4BAA4B;kBANxC,SAAS;+BACE,2BAA2B,WAC5B,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,oBAAoB,CAAC"}
@@ -1,9 +1,5 @@
1
- import { GallerySize } from "../../enums/gallery-size.js";
2
- import { GalleryResources } from "./gallery-resources.js";
3
1
  import * as i0 from "@angular/core";
4
2
  export declare class GalleryNavigationComponent {
5
- protected readonly text: typeof GalleryResources.text;
6
- protected readonly sizes: typeof GallerySize;
7
3
  static ɵfac: i0.ɵɵFactoryDeclaration<GalleryNavigationComponent, never>;
8
4
  static ɵcmp: i0.ɵɵComponentDeclaration<GalleryNavigationComponent, "nol-gallery-navigation", never, {}, {}, never, never, true, never>;
9
5
  }
@@ -6,37 +6,25 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
8
  import { Component } from "@angular/core";
9
- import { GallerySize } from "../../enums/gallery-size.js";
10
- import { IconButtonComponent } from "../icon-button/icon-button.component.js";
11
- import { ToolbarButtonComponent } from "../toolbar-button/toolbar-button.component.js";
12
- import { ToolbarItemDirective } from "../toolbar/toolbar-item.directive.js";
13
- import { ToolbarDirective } from "../toolbar/toolbar.directive.js";
14
- import { TooltipDirective } from "../tooltip/tooltip.directive.js";
15
- import { GalleryCellComponent } from "./gallery-cell.component.js";
16
9
  import { GalleryFeedComponent } from "./gallery-feed.component.js";
17
10
  import { GalleryGroupHeaderComponent } from "./gallery-group-header.component.js";
18
11
  import { GalleryPanelCardComponent } from "./gallery-panel-card.component.js";
19
- import { GalleryResources } from "./gallery-resources.js";
20
12
  import { GallerySashComponent } from "./gallery-sash.component.js";
21
13
  import { GallerySectionHeaderComponent } from "./gallery-section-header.component.js";
22
- import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
23
- import { GalleryStateDirective } from "./gallery-state.directive.js";
24
14
  import { GalleryTabComponent } from "./gallery-tab.component.js";
25
15
  import { GalleryToolbarButtonComponent } from "./gallery-toolbar-button.component.js";
16
+ import { GalleryToolbarComponent } from "./gallery-toolbar.component.js";
26
17
  import { GalleryTreeComponent } from "./gallery-tree.component.js";
27
18
  import { GalleryViewBadgeComponent } from "./gallery-view-badge.component.js";
28
19
  import { GalleryVirtualListComponent } from "./gallery-virtual-list.component.js";
29
20
  import * as i0 from "@angular/core";
30
21
  export class GalleryNavigationComponent {
31
- text = GalleryResources.text;
32
- sizes = GallerySize;
33
22
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryNavigationComponent, isStandalone: true, selector: "nol-gallery-navigation", 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-tab />\n\n<nol-gallery-view-badge />\n\n<nol-gallery-tree />\n\n<nol-gallery-virtual-list />\n\n<nol-gallery-feed />\n\n<nol-gallery-section-header />\n\n<nol-gallery-group-header />\n\n<nol-gallery-specimen [name]=\"text.toolbar\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar\">\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.pressed\" [pressed]=\"true\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.iconGlyph\" [label]=\"text.disabled\" aria-disabled=\"true\"></button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar\" nolGalleryFocus=\"button\">\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.pressed\" [pressed]=\"true\"></button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar nol-gallery-narrow\">\n <button type=\"button\" nol-toolbar-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.longText\" [isShowingLabel]=\"true\" [nolTooltip]=\"text.longText\"\n [nolTooltipTruncated]=\"true\"></button>\n </div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-toolbar-button />\n\n<nol-gallery-sash />\n\n<nol-gallery-panel-card />\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-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"], dependencies: [{ kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GalleryFeedComponent, selector: "nol-gallery-feed" }, { kind: "component", type: GalleryGroupHeaderComponent, selector: "nol-gallery-group-header" }, { kind: "component", type: GalleryPanelCardComponent, selector: "nol-gallery-panel-card" }, { kind: "component", type: GallerySashComponent, selector: "nol-gallery-sash" }, { kind: "component", type: GallerySectionHeaderComponent, selector: "nol-gallery-section-header" }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: GalleryTabComponent, selector: "nol-gallery-tab" }, { kind: "component", type: GalleryToolbarButtonComponent, selector: "nol-gallery-toolbar-button" }, { kind: "component", type: GalleryTreeComponent, selector: "nol-gallery-tree" }, { kind: "component", type: GalleryViewBadgeComponent, selector: "nol-gallery-view-badge" }, { kind: "component", type: GalleryVirtualListComponent, selector: "nol-gallery-virtual-list" }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { 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"] }] });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryNavigationComponent, isStandalone: true, selector: "nol-gallery-navigation", 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-tab />\n\n<nol-gallery-view-badge />\n\n<nol-gallery-tree />\n\n<nol-gallery-virtual-list />\n\n<nol-gallery-feed />\n\n<nol-gallery-section-header />\n\n<nol-gallery-group-header />\n\n<nol-gallery-toolbar />\n\n<nol-gallery-toolbar-button />\n\n<nol-gallery-sash />\n\n<nol-gallery-panel-card />\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-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"], dependencies: [{ kind: "component", type: GalleryFeedComponent, selector: "nol-gallery-feed" }, { kind: "component", type: GalleryGroupHeaderComponent, selector: "nol-gallery-group-header" }, { kind: "component", type: GalleryPanelCardComponent, selector: "nol-gallery-panel-card" }, { kind: "component", type: GallerySashComponent, selector: "nol-gallery-sash" }, { kind: "component", type: GallerySectionHeaderComponent, selector: "nol-gallery-section-header" }, { kind: "component", type: GalleryTabComponent, selector: "nol-gallery-tab" }, { kind: "component", type: GalleryToolbarButtonComponent, selector: "nol-gallery-toolbar-button" }, { kind: "component", type: GalleryToolbarComponent, selector: "nol-gallery-toolbar" }, { kind: "component", type: GalleryTreeComponent, selector: "nol-gallery-tree" }, { kind: "component", type: GalleryViewBadgeComponent, selector: "nol-gallery-view-badge" }, { kind: "component", type: GalleryVirtualListComponent, selector: "nol-gallery-virtual-list" }] });
35
24
  }
36
25
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryNavigationComponent, decorators: [{
37
26
  type: Component,
38
- args: [{ selector: "nol-gallery-navigation", imports: [GalleryCellComponent, GalleryFeedComponent, GalleryGroupHeaderComponent, GalleryPanelCardComponent, GallerySashComponent, GallerySectionHeaderComponent, GallerySpecimenComponent,
39
- GalleryStateDirective, GalleryTabComponent, GalleryToolbarButtonComponent, GalleryTreeComponent, GalleryViewBadgeComponent, GalleryVirtualListComponent, IconButtonComponent, ToolbarButtonComponent,
40
- ToolbarDirective, ToolbarItemDirective, 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-tab />\n\n<nol-gallery-view-badge />\n\n<nol-gallery-tree />\n\n<nol-gallery-virtual-list />\n\n<nol-gallery-feed />\n\n<nol-gallery-section-header />\n\n<nol-gallery-group-header />\n\n<nol-gallery-specimen [name]=\"text.toolbar\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar\">\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.pressed\" [pressed]=\"true\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.iconGlyph\" [label]=\"text.disabled\" aria-disabled=\"true\"></button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar\" nolGalleryFocus=\"button\">\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.pressed\" [pressed]=\"true\"></button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar nol-gallery-narrow\">\n <button type=\"button\" nol-toolbar-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.longText\" [isShowingLabel]=\"true\" [nolTooltip]=\"text.longText\"\n [nolTooltipTruncated]=\"true\"></button>\n </div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-toolbar-button />\n\n<nol-gallery-sash />\n\n<nol-gallery-panel-card />\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-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"] }]
27
+ args: [{ selector: "nol-gallery-navigation", imports: [GalleryFeedComponent, GalleryGroupHeaderComponent, GalleryPanelCardComponent, GallerySashComponent, GallerySectionHeaderComponent, GalleryTabComponent, GalleryToolbarButtonComponent,
28
+ GalleryToolbarComponent, GalleryTreeComponent, GalleryViewBadgeComponent, GalleryVirtualListComponent], 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-tab />\n\n<nol-gallery-view-badge />\n\n<nol-gallery-tree />\n\n<nol-gallery-virtual-list />\n\n<nol-gallery-feed />\n\n<nol-gallery-section-header />\n\n<nol-gallery-group-header />\n\n<nol-gallery-toolbar />\n\n<nol-gallery-toolbar-button />\n\n<nol-gallery-sash />\n\n<nol-gallery-panel-card />\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-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"] }]
41
29
  }] });
42
30
  //# sourceMappingURL=gallery-navigation.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gallery-navigation.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-navigation.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-navigation.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;;AAUlF,MAAM,OAAO,0BAA0B;IAClB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;uGAFhD,0BAA0B;2FAA1B,0BAA0B,kFCvCvC,0/DAiDA,y/BDhBY,oBAAoB,kFAAE,oBAAoB,6DAAE,2BAA2B,qEAAE,yBAAyB,mEAAE,oBAAoB,6DAAE,6BAA6B,uEAAE,wBAAwB,2FACzL,qBAAqB,iIAAE,mBAAmB,4DAAE,6BAA6B,uEAAE,oBAAoB,6DAAE,yBAAyB,mEAAE,2BAA2B,qEAAE,mBAAmB,2MAAE,sBAAsB,yLACpM,gBAAgB,uKAAE,oBAAoB,6DAAE,gBAAgB;;2FAI/C,0BAA0B;kBARtC,SAAS;+BACE,wBAAwB,WACzB,CAAC,oBAAoB,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,wBAAwB;wBACzL,qBAAqB,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,sBAAsB;wBACpM,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,CAAC"}
1
+ {"version":3,"file":"gallery-navigation.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-navigation.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-navigation.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;;AASlF,MAAM,OAAO,0BAA0B;uGAA1B,0BAA0B;2FAA1B,0BAA0B,kFC7BvC,ieA6BA,y/BDLY,oBAAoB,6DAAE,2BAA2B,qEAAE,yBAAyB,mEAAE,oBAAoB,6DAAE,6BAA6B,uEAAE,mBAAmB,4DAAE,6BAA6B,uEAC7L,uBAAuB,gEAAE,oBAAoB,6DAAE,yBAAyB,mEAAE,2BAA2B;;2FAI5F,0BAA0B;kBAPtC,SAAS;+BACE,wBAAwB,WACzB,CAAC,oBAAoB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,mBAAmB,EAAE,6BAA6B;wBAC7L,uBAAuB,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,2BAA2B,CAAC"}
@@ -1,22 +1,9 @@
1
- import { ButtonVariant } from "../../enums/button-variant.js";
2
1
  import { DockingDirection } from "../../enums/docking-direction.js";
3
- import { GallerySize } from "../../enums/gallery-size.js";
4
- import { MentionCandidate } from "../../models/mention-candidate.js";
5
2
  import { GalleryResources } from "./gallery-resources.js";
6
3
  import * as i0 from "@angular/core";
7
4
  export declare class GalleryOverlaysComponent {
8
- private static count;
9
5
  protected readonly text: typeof GalleryResources.text;
10
- protected readonly sizes: typeof GallerySize;
11
- protected readonly variants: typeof ButtonVariant;
12
6
  protected readonly directions: typeof DockingDirection;
13
- protected readonly hoveredMention: string;
14
- protected readonly mentionListId: string;
15
- protected readonly hoveredMentionListId: string;
16
- protected readonly longMentionListId: string;
17
- protected readonly mentions: readonly MentionCandidate[];
18
- protected readonly longMentions: readonly MentionCandidate[];
19
- private static nextMentionListId;
20
7
  static ɵfac: i0.ɵɵFactoryDeclaration<GalleryOverlaysComponent, never>;
21
8
  static ɵcmp: i0.ɵɵComponentDeclaration<GalleryOverlaysComponent, "nol-gallery-overlays", never, {}, {}, never, never, true, never>;
22
9
  }
@@ -6,57 +6,31 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
8
  import { Component } from "@angular/core";
9
- import { ButtonVariant } from "../../enums/button-variant.js";
10
9
  import { DockingDirection } from "../../enums/docking-direction.js";
11
- import { GallerySize } from "../../enums/gallery-size.js";
12
- import { MentionCandidate } from "../../models/mention-candidate.js";
13
- import { ButtonComponent } from "../button/button.component.js";
14
10
  import { DockingGuideComponent } from "../docking-guide/docking-guide.component.js";
15
11
  import { DockingPlateComponent } from "../docking-plate/docking-plate.component.js";
16
- import { MentionFieldDirective } from "../mention-field/mention-field.directive.js";
17
- import { MentionListComponent } from "../mention-field/mention-list.component.js";
18
- import { PopoverDirective } from "../popover/popover.directive.js";
19
- import { PopoverTriggerDirective } from "../popover/popover-trigger.directive.js";
20
12
  import { GalleryCellComponent } from "./gallery-cell.component.js";
21
13
  import { GalleryCompletionListComponent } from "./gallery-completion-list.component.js";
22
14
  import { GalleryDialogComponent } from "./gallery-dialog.component.js";
15
+ import { GalleryMentionFieldComponent } from "./gallery-mention-field.component.js";
23
16
  import { GalleryMenuComponent } from "./gallery-menu.component.js";
17
+ import { GalleryPopoverComponent } from "./gallery-popover.component.js";
24
18
  import { GalleryQuickInputComponent } from "./gallery-quick-input.component.js";
25
19
  import { GalleryResources } from "./gallery-resources.js";
26
20
  import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
27
- import { GalleryStateDirective } from "./gallery-state.directive.js";
28
21
  import { GalleryTooltipComponent } from "./gallery-tooltip.component.js";
29
22
  import * as i0 from "@angular/core";
30
23
  export class GalleryOverlaysComponent {
31
- static count = 0;
32
24
  text = GalleryResources.text;
33
- sizes = GallerySize;
34
- variants = ButtonVariant;
35
25
  directions = DockingDirection;
36
- hoveredMention = GalleryResources.hoveredMention;
37
- mentionListId = GalleryOverlaysComponent.nextMentionListId();
38
- hoveredMentionListId = GalleryOverlaysComponent.nextMentionListId();
39
- longMentionListId = GalleryOverlaysComponent.nextMentionListId();
40
- mentions = [
41
- new MentionCandidate("person-1", GalleryResources.text.mentionAda, { section: GalleryResources.text.mentionPeople }),
42
- new MentionCandidate("person-2", GalleryResources.text.mentionAdrian, { section: GalleryResources.text.mentionPeople, note: GalleryResources.text.mentionAdrianNote, unavailable: true }),
43
- new MentionCandidate("agent-1", GalleryResources.text.mentionAssistant, { section: GalleryResources.text.mentionAgents })
44
- ];
45
- longMentions = [
46
- new MentionCandidate("agent-2", GalleryResources.text.mentionLong),
47
- new MentionCandidate("person-3", GalleryResources.text.mentionLongNoted, { note: GalleryResources.text.mentionAdrianNote, unavailable: true })
48
- ];
49
- static nextMentionListId() {
50
- return `${GalleryResources.mentionListIdPrefix}${GalleryOverlaysComponent.count++}`;
51
- }
52
26
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryOverlaysComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
53
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryOverlaysComponent, isStandalone: true, selector: "nol-gallery-overlays", 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-menu />\n\n<nol-gallery-completion-list />\n\n<nol-gallery-specimen [name]=\"text.mentionField\" [size]=\"sizes.Wide\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-mention-list class=\"nol-gallery-menu\" [choices]=\"mentions\" [active]=\"0\" [listId]=\"mentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-mention-list class=\"nol-gallery-menu\" [nolGalleryHover]=\"hoveredMention\" [choices]=\"mentions\" [active]=\"0\" [listId]=\"hoveredMentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.mentionFieldCaption\">\n <div class=\"nol-gallery-mention-box\"><textarea class=\"nol-gallery-mention-field\" [nolMentionField]=\"mentions\" [attr.aria-label]=\"text.mentionFieldLabel\" [placeholder]=\"text.mentionPlaceholder\"></textarea></div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-mention-list class=\"nol-gallery-menu nol-gallery-narrow\" [choices]=\"longMentions\" [active]=\"0\" [listId]=\"longMentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-specimen [name]=\"text.popover\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.openCaption\">\n <div nolPopover class=\"nol-gallery-popover\" [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverLong }}</p>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.popoverClose }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.triggerCaption\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [nolPopoverTrigger]=\"popover\">{{ text.popoverTrigger }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div nolPopover class=\"nol-gallery-popover\" nolGalleryFocus=\"button\" [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.popoverClose }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div nolPopover class=\"nol-gallery-popover nol-gallery-narrow\" [label]=\"text.popoverLabel\">\n <p class=\"nol-gallery-popover-text\">{{ text.popoverLong }}</p>\n </div>\n </nol-gallery-cell>\n <ng-template #popover>\n <div nolPopover [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n </div>\n </ng-template>\n</nol-gallery-specimen>\n\n<nol-gallery-tooltip />\n\n<nol-gallery-dialog />\n\n<nol-gallery-quick-input />\n\n<nol-gallery-specimen [name]=\"text.docking\" noHover noFocus noLongText>\n <nol-gallery-cell [caption]=\"text.dockingGuideCaption\"><nol-docking-guide [direction]=\"directions.Left\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dockingChosenCaption\"><nol-docking-guide [direction]=\"directions.Right\" [chosen]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dockingPlateCaption\"><nol-docking-plate [chosen]=\"directions.Center\" /></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-menu {\n width: 16rem;\n}\n\n.nol-gallery-fit {\n max-width: 100%;\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-large-dialog {\n --nol-dialog-large-width: 36rem;\n --nol-dialog-large-height: 14rem;\n --nol-dialog-large-min-height: 14rem;\n}\n\n.nol-gallery-large-dialog-body {\n margin: 0;\n padding: var(--nol-dialog-body-padding);\n padding-block: var(--nol-space-3);\n}\n\n.nol-gallery-context {\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.nol-gallery-popover-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-gallery-popover-text {\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-mention-box {\n position: relative;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n}\n\n.nol-gallery-mention-field {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-height: calc(var(--nol-field-height) * 2);\n margin: 0;\n padding: var(--nol-space-1) var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n resize: none;\n}\n\n.nol-gallery-mention-field::placeholder {\n color: var(--nol-placeholder);\n opacity: 1;\n}\n\n.nol-gallery-mention-field:focus {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid 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: DockingGuideComponent, selector: "nol-docking-guide", inputs: ["direction", "chosen"] }, { kind: "component", type: DockingPlateComponent, selector: "nol-docking-plate", inputs: ["chosen"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GalleryCompletionListComponent, selector: "nol-gallery-completion-list" }, { kind: "component", type: GalleryDialogComponent, selector: "nol-gallery-dialog" }, { kind: "component", type: GalleryMenuComponent, selector: "nol-gallery-menu" }, { kind: "component", type: GalleryQuickInputComponent, selector: "nol-gallery-quick-input" }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: GalleryTooltipComponent, selector: "nol-gallery-tooltip" }, { kind: "directive", type: MentionFieldDirective, selector: "textarea[nolMentionField]", inputs: ["nolMentionField", "nolMentionFieldLabel", "nolMentionValue"], outputs: ["nolMentioned", "nolMentionValueChange"] }, { kind: "component", type: MentionListComponent, selector: "nol-mention-list", inputs: ["choices", "active", "listId", "label"], outputs: ["chosen"] }, { kind: "directive", type: PopoverDirective, selector: "[nolPopover]", inputs: ["label"] }, { kind: "directive", type: PopoverTriggerDirective, selector: "[nolPopoverTrigger]", inputs: ["nolPopoverTrigger", "nolPopoverSide", "nolPopoverAlignment"], outputs: ["opened"], exportAs: ["nolPopoverTrigger"] }] });
27
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryOverlaysComponent, isStandalone: true, selector: "nol-gallery-overlays", 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-menu />\n\n<nol-gallery-completion-list />\n\n<nol-gallery-mention-field />\n\n<nol-gallery-popover />\n\n<nol-gallery-tooltip />\n\n<nol-gallery-dialog />\n\n<nol-gallery-quick-input />\n\n<nol-gallery-specimen [name]=\"text.docking\" noHover noFocus noLongText>\n <nol-gallery-cell [caption]=\"text.dockingGuideCaption\"><nol-docking-guide [direction]=\"directions.Left\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dockingChosenCaption\"><nol-docking-guide [direction]=\"directions.Right\" [chosen]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dockingPlateCaption\"><nol-docking-plate [chosen]=\"directions.Center\" /></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-menu {\n width: 16rem;\n}\n\n.nol-gallery-fit {\n max-width: 100%;\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-large-dialog {\n --nol-dialog-large-width: 36rem;\n --nol-dialog-large-height: 14rem;\n --nol-dialog-large-min-height: 14rem;\n}\n\n.nol-gallery-large-dialog-body {\n margin: 0;\n padding: var(--nol-dialog-body-padding);\n padding-block: var(--nol-space-3);\n}\n\n.nol-gallery-context {\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.nol-gallery-popover-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-gallery-popover-text {\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-mention-box {\n position: relative;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n}\n\n.nol-gallery-mention-field {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-height: calc(var(--nol-field-height) * 2);\n margin: 0;\n padding: var(--nol-space-1) var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n resize: none;\n}\n\n.nol-gallery-mention-field::placeholder {\n color: var(--nol-placeholder);\n opacity: 1;\n}\n\n.nol-gallery-mention-field:focus {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n"], dependencies: [{ kind: "component", type: DockingGuideComponent, selector: "nol-docking-guide", inputs: ["direction", "chosen"] }, { kind: "component", type: DockingPlateComponent, selector: "nol-docking-plate", inputs: ["chosen"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GalleryCompletionListComponent, selector: "nol-gallery-completion-list" }, { kind: "component", type: GalleryDialogComponent, selector: "nol-gallery-dialog" }, { kind: "component", type: GalleryMentionFieldComponent, selector: "nol-gallery-mention-field" }, { kind: "component", type: GalleryMenuComponent, selector: "nol-gallery-menu" }, { kind: "component", type: GalleryPopoverComponent, selector: "nol-gallery-popover" }, { kind: "component", type: GalleryQuickInputComponent, selector: "nol-gallery-quick-input" }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "component", type: GalleryTooltipComponent, selector: "nol-gallery-tooltip" }] });
54
28
  }
55
29
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryOverlaysComponent, decorators: [{
56
30
  type: Component,
57
31
  args: [{ selector: "nol-gallery-overlays", imports: [
58
- ButtonComponent, DockingGuideComponent, DockingPlateComponent, GalleryCellComponent, GalleryCompletionListComponent, GalleryDialogComponent, GalleryMenuComponent, GalleryQuickInputComponent, GallerySpecimenComponent,
59
- GalleryStateDirective, GalleryTooltipComponent, MentionFieldDirective, MentionListComponent, PopoverDirective, PopoverTriggerDirective
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<nol-gallery-menu />\n\n<nol-gallery-completion-list />\n\n<nol-gallery-specimen [name]=\"text.mentionField\" [size]=\"sizes.Wide\" noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-mention-list class=\"nol-gallery-menu\" [choices]=\"mentions\" [active]=\"0\" [listId]=\"mentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-mention-list class=\"nol-gallery-menu\" [nolGalleryHover]=\"hoveredMention\" [choices]=\"mentions\" [active]=\"0\" [listId]=\"hoveredMentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.mentionFieldCaption\">\n <div class=\"nol-gallery-mention-box\"><textarea class=\"nol-gallery-mention-field\" [nolMentionField]=\"mentions\" [attr.aria-label]=\"text.mentionFieldLabel\" [placeholder]=\"text.mentionPlaceholder\"></textarea></div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-mention-list class=\"nol-gallery-menu nol-gallery-narrow\" [choices]=\"longMentions\" [active]=\"0\" [listId]=\"longMentionListId\" [label]=\"text.mentionLabel\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<nol-gallery-specimen [name]=\"text.popover\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.openCaption\">\n <div nolPopover class=\"nol-gallery-popover\" [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverLong }}</p>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.popoverClose }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.triggerCaption\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [nolPopoverTrigger]=\"popover\">{{ text.popoverTrigger }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div nolPopover class=\"nol-gallery-popover\" nolGalleryFocus=\"button\" [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.popoverClose }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div nolPopover class=\"nol-gallery-popover nol-gallery-narrow\" [label]=\"text.popoverLabel\">\n <p class=\"nol-gallery-popover-text\">{{ text.popoverLong }}</p>\n </div>\n </nol-gallery-cell>\n <ng-template #popover>\n <div nolPopover [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n </div>\n </ng-template>\n</nol-gallery-specimen>\n\n<nol-gallery-tooltip />\n\n<nol-gallery-dialog />\n\n<nol-gallery-quick-input />\n\n<nol-gallery-specimen [name]=\"text.docking\" noHover noFocus noLongText>\n <nol-gallery-cell [caption]=\"text.dockingGuideCaption\"><nol-docking-guide [direction]=\"directions.Left\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dockingChosenCaption\"><nol-docking-guide [direction]=\"directions.Right\" [chosen]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dockingPlateCaption\"><nol-docking-plate [chosen]=\"directions.Center\" /></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-menu {\n width: 16rem;\n}\n\n.nol-gallery-fit {\n max-width: 100%;\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-large-dialog {\n --nol-dialog-large-width: 36rem;\n --nol-dialog-large-height: 14rem;\n --nol-dialog-large-min-height: 14rem;\n}\n\n.nol-gallery-large-dialog-body {\n margin: 0;\n padding: var(--nol-dialog-body-padding);\n padding-block: var(--nol-space-3);\n}\n\n.nol-gallery-context {\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.nol-gallery-popover-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-gallery-popover-text {\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-mention-box {\n position: relative;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n}\n\n.nol-gallery-mention-field {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-height: calc(var(--nol-field-height) * 2);\n margin: 0;\n padding: var(--nol-space-1) var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n resize: none;\n}\n\n.nol-gallery-mention-field::placeholder {\n color: var(--nol-placeholder);\n opacity: 1;\n}\n\n.nol-gallery-mention-field:focus {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n"] }]
32
+ DockingGuideComponent, DockingPlateComponent, GalleryCellComponent, GalleryCompletionListComponent, GalleryDialogComponent, GalleryMentionFieldComponent, GalleryMenuComponent, GalleryPopoverComponent,
33
+ GalleryQuickInputComponent, GallerySpecimenComponent, GalleryTooltipComponent
34
+ ], 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-menu />\n\n<nol-gallery-completion-list />\n\n<nol-gallery-mention-field />\n\n<nol-gallery-popover />\n\n<nol-gallery-tooltip />\n\n<nol-gallery-dialog />\n\n<nol-gallery-quick-input />\n\n<nol-gallery-specimen [name]=\"text.docking\" noHover noFocus noLongText>\n <nol-gallery-cell [caption]=\"text.dockingGuideCaption\"><nol-docking-guide [direction]=\"directions.Left\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dockingChosenCaption\"><nol-docking-guide [direction]=\"directions.Right\" [chosen]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.dockingPlateCaption\"><nol-docking-plate [chosen]=\"directions.Center\" /></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-menu {\n width: 16rem;\n}\n\n.nol-gallery-fit {\n max-width: 100%;\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-large-dialog {\n --nol-dialog-large-width: 36rem;\n --nol-dialog-large-height: 14rem;\n --nol-dialog-large-min-height: 14rem;\n}\n\n.nol-gallery-large-dialog-body {\n margin: 0;\n padding: var(--nol-dialog-body-padding);\n padding-block: var(--nol-space-3);\n}\n\n.nol-gallery-context {\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.nol-gallery-popover-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-gallery-popover-text {\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-mention-box {\n position: relative;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n}\n\n.nol-gallery-mention-field {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-height: calc(var(--nol-field-height) * 2);\n margin: 0;\n padding: var(--nol-space-1) var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n resize: none;\n}\n\n.nol-gallery-mention-field::placeholder {\n color: var(--nol-placeholder);\n opacity: 1;\n}\n\n.nol-gallery-mention-field:focus {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n"] }]
61
35
  }] });
62
36
  //# sourceMappingURL=gallery-overlays.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gallery-overlays.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-overlays.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-overlays.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,+B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,gBAAgB,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;KAC1H,CAAC;IACiB,YAAY,GAAgC;QAC7D,IAAI,gBAAgB,CAAC,SAAS,EAAE,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC;QAClE,IAAI,gBAAgB,CAAC,UAAU,EAAE,gBAAgB,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;KAC/I,CAAC;IAEM,MAAM,CAAC,iBAAiB;QAC9B,OAAO,GAAG,gBAAgB,CAAC,mBAAmB,GAAG,wBAAwB,CAAC,KAAK,EAAE,EAAE,CAAC;IACtF,CAAC;uGAvBU,wBAAwB;2FAAxB,wBAAwB,gFCxCrC,wsHAsEA,2+DDpCI,eAAe,oJAAE,qBAAqB,+FAAE,qBAAqB,kFAAE,oBAAoB,kFAAE,8BAA8B,wEAAE,sBAAsB,+DAAE,oBAAoB,6DAAE,0BAA0B,oEAAE,wBAAwB,2FACvN,qBAAqB,iIAAE,uBAAuB,gEAAE,qBAAqB,kMAAE,oBAAoB,oIAAE,gBAAgB,4EAAE,uBAAuB;;2FAK7H,wBAAwB;kBATpC,SAAS;+BACE,sBAAsB,WACvB;wBACP,eAAe,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,wBAAwB;wBACvN,qBAAqB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,uBAAuB;qBACvI"}
1
+ {"version":3,"file":"gallery-overlays.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-overlays.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-overlays.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS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B,EAAE,wBAAwB,EAAE,uBAAuB;qBAC9E"}
@@ -0,0 +1,13 @@
1
+ import { GallerySize } from "../../enums/gallery-size.js";
2
+ import { GalleryPermissionCards } from "./gallery-permission-cards.js";
3
+ import { GalleryResources } from "./gallery-resources.js";
4
+ import * as i0 from "@angular/core";
5
+ export declare class GalleryPermissionCardComponent {
6
+ protected readonly text: typeof GalleryResources.text;
7
+ protected readonly sizes: typeof GallerySize;
8
+ protected readonly permissions: GalleryPermissionCards;
9
+ protected readonly option: string;
10
+ protected readonly alwaysAllow: string;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<GalleryPermissionCardComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<GalleryPermissionCardComponent, "nol-gallery-permission-card", never, {}, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Component } from "@angular/core";
9
+ import { GallerySize } from "../../enums/gallery-size.js";
10
+ import { PermissionCardComponent } from "../permission-card/permission-card.component.js";
11
+ import { GalleryCellComponent } from "./gallery-cell.component.js";
12
+ import { GalleryPermissionCards } from "./gallery-permission-cards.js";
13
+ import { GalleryPressDirective } from "./gallery-press.directive.js";
14
+ import { GalleryResources } from "./gallery-resources.js";
15
+ import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
16
+ import { GalleryStateDirective } from "./gallery-state.directive.js";
17
+ import * as i0 from "@angular/core";
18
+ export class GalleryPermissionCardComponent {
19
+ text = GalleryResources.text;
20
+ sizes = GallerySize;
21
+ permissions = new GalleryPermissionCards(new Date());
22
+ option = GalleryResources.permissionOption;
23
+ alwaysAllow = GalleryResources.permissionAlwaysAllow;
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPermissionCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
25
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryPermissionCardComponent, isStandalone: true, selector: "nol-gallery-permission-card", 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.permissionCard\" [size]=\"sizes.Full\">\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-permission-card [request]=\"permissions.pending\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionMediumCaption\"><nol-permission-card [request]=\"permissions.medium\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionHighCaption\"><nol-permission-card [request]=\"permissions.high\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionConfirmCaption\"><nol-permission-card [nolGalleryPress]=\"alwaysAllow\" [request]=\"permissions.confirming\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAppOptionsCaption\"><nol-permission-card [request]=\"permissions.appOptions\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionSendingCaption\"><nol-permission-card [request]=\"permissions.sending\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionSendFailedCaption\"><nol-permission-card [request]=\"permissions.sendFailed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAllowedOnceCaption\"><nol-permission-card [request]=\"permissions.allowedOnce\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAlwaysAllowedCaption\"><nol-permission-card [request]=\"permissions.alwaysAllowed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionDeniedCaption\"><nol-permission-card [request]=\"permissions.denied\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAlwaysDeniedCaption\"><nol-permission-card [request]=\"permissions.alwaysDenied\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionUnscopedCaption\"><nol-permission-card [request]=\"permissions.unscoped\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionExpiredCaption\"><nol-permission-card [request]=\"permissions.expired\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionWithdrawnCaption\"><nol-permission-card [request]=\"permissions.withdrawn\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionLongDetailsCaption\"><nol-permission-card [request]=\"permissions.longDetails\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionExpandedCaption\"><nol-permission-card [request]=\"permissions.expanded\" [detailsExpanded]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\"><nol-permission-card [nolGalleryHover]=\"option\" [request]=\"permissions.hover\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-permission-card [nolGalleryFocus]=\"option\" [request]=\"permissions.focus\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-permission-card class=\"nol-gallery-narrow\" [request]=\"permissions.long\" />\n </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-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-content-run {\n width: 100%;\n}\n\n.nol-gallery-content-card {\n width: 12.5rem;\n}\n\n.nol-gallery-content-paragraph {\n margin: 0;\n}\n\n.nol-gallery-files {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-gallery-file {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n font-size: var(--nol-text-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-terminal {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n padding: var(--nol-space-3);\n background: var(--nol-terminal-background);\n color: var(--nol-terminal-foreground);\n font-family: var(--nol-font-mono);\n}\n\n.nol-gallery-terminal-color {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-terminal-swatch {\n width: 1rem;\n height: 1rem;\n}\n\n.nol-gallery-status {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-3);\n color: var(--nol-text);\n}\n\n.nol-gallery-status-row {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-status-dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n forced-color-adjust: none;\n}\n\n.nol-gallery-terminal-cursor {\n background: var(--nol-terminal-cursor);\n}\n\n.nol-gallery-terminal-selection {\n background: var(--nol-terminal-selection);\n color: var(--nol-terminal-selection-foreground);\n}\n\n.nol-gallery-content-message {\n font-size: var(--nol-text-message);\n line-height: var(--nol-line-message);\n}\n"], dependencies: [{ kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "directive", type: GalleryPressDirective, selector: "[nolGalleryPress]", inputs: ["nolGalleryPress"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: PermissionCardComponent, selector: "nol-permission-card", inputs: ["request", "detailsExpanded", "detailLines"], outputs: ["detailsExpandedChange", "decide"] }] });
26
+ }
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPermissionCardComponent, decorators: [{
28
+ type: Component,
29
+ args: [{ selector: "nol-gallery-permission-card", imports: [GalleryCellComponent, GalleryPressDirective, GallerySpecimenComponent, GalleryStateDirective, PermissionCardComponent], 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.permissionCard\" [size]=\"sizes.Full\">\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-permission-card [request]=\"permissions.pending\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionMediumCaption\"><nol-permission-card [request]=\"permissions.medium\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionHighCaption\"><nol-permission-card [request]=\"permissions.high\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionConfirmCaption\"><nol-permission-card [nolGalleryPress]=\"alwaysAllow\" [request]=\"permissions.confirming\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAppOptionsCaption\"><nol-permission-card [request]=\"permissions.appOptions\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionSendingCaption\"><nol-permission-card [request]=\"permissions.sending\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionSendFailedCaption\"><nol-permission-card [request]=\"permissions.sendFailed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAllowedOnceCaption\"><nol-permission-card [request]=\"permissions.allowedOnce\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAlwaysAllowedCaption\"><nol-permission-card [request]=\"permissions.alwaysAllowed\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionDeniedCaption\"><nol-permission-card [request]=\"permissions.denied\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionAlwaysDeniedCaption\"><nol-permission-card [request]=\"permissions.alwaysDenied\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionUnscopedCaption\"><nol-permission-card [request]=\"permissions.unscoped\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionExpiredCaption\"><nol-permission-card [request]=\"permissions.expired\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionWithdrawnCaption\"><nol-permission-card [request]=\"permissions.withdrawn\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionLongDetailsCaption\"><nol-permission-card [request]=\"permissions.longDetails\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.permissionExpandedCaption\"><nol-permission-card [request]=\"permissions.expanded\" [detailsExpanded]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\"><nol-permission-card [nolGalleryHover]=\"option\" [request]=\"permissions.hover\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-permission-card [nolGalleryFocus]=\"option\" [request]=\"permissions.focus\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-permission-card class=\"nol-gallery-narrow\" [request]=\"permissions.long\" />\n </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-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-content-run {\n width: 100%;\n}\n\n.nol-gallery-content-card {\n width: 12.5rem;\n}\n\n.nol-gallery-content-paragraph {\n margin: 0;\n}\n\n.nol-gallery-files {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-gallery-file {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n font-size: var(--nol-text-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-terminal {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n padding: var(--nol-space-3);\n background: var(--nol-terminal-background);\n color: var(--nol-terminal-foreground);\n font-family: var(--nol-font-mono);\n}\n\n.nol-gallery-terminal-color {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-terminal-swatch {\n width: 1rem;\n height: 1rem;\n}\n\n.nol-gallery-status {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-3);\n color: var(--nol-text);\n}\n\n.nol-gallery-status-row {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-status-dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n forced-color-adjust: none;\n}\n\n.nol-gallery-terminal-cursor {\n background: var(--nol-terminal-cursor);\n}\n\n.nol-gallery-terminal-selection {\n background: var(--nol-terminal-selection);\n color: var(--nol-terminal-selection-foreground);\n}\n\n.nol-gallery-content-message {\n font-size: var(--nol-text-message);\n line-height: var(--nol-line-message);\n}\n"] }]
30
+ }] });
31
+ //# sourceMappingURL=gallery-permission-card.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gallery-permission-card.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-permission-card.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-permission-card.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,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,8BAA8B;IACtB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,WAAW,GAA2B,IAAI,sBAAsB,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IAC7E,MAAM,GAAW,gBAAgB,CAAC,gBAAgB,CAAC;IACnD,WAAW,GAAW,gBAAgB,CAAC,qBAAqB,CAAC;uGALrE,8BAA8B;2FAA9B,8BAA8B,uFCzB3C,yiGA+BA,s/DDVY,oBAAoB,kFAAE,qBAAqB,2FAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,uBAAuB;;2FAIpH,8BAA8B;kBAN1C,SAAS;+BACE,6BAA6B,WAC9B,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,uBAAuB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { GallerySize } from "../../enums/gallery-size.js";
2
+ import { GalleryPlans } from "./gallery-plans.js";
3
+ import { GalleryResources } from "./gallery-resources.js";
4
+ import * as i0 from "@angular/core";
5
+ export declare class GalleryPlanComponent {
6
+ protected readonly text: typeof GalleryResources.text;
7
+ protected readonly sizes: typeof GallerySize;
8
+ protected readonly plans: GalleryPlans;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<GalleryPlanComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<GalleryPlanComponent, "nol-gallery-plan", never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Component } from "@angular/core";
9
+ import { GallerySize } from "../../enums/gallery-size.js";
10
+ import { MarkdownViewComponent } from "../markdown-view/markdown-view.component.js";
11
+ import { PlanComponent } from "../plan/plan.component.js";
12
+ import { GalleryCellComponent } from "./gallery-cell.component.js";
13
+ import { GalleryPlans } from "./gallery-plans.js";
14
+ import { GalleryResources } from "./gallery-resources.js";
15
+ import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
16
+ import * as i0 from "@angular/core";
17
+ export class GalleryPlanComponent {
18
+ text = GalleryResources.text;
19
+ sizes = GallerySize;
20
+ plans = new GalleryPlans();
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPlanComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
22
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryPlanComponent, isStandalone: true, selector: "nol-gallery-plan", 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.planSection\" [size]=\"sizes.Full\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-plan [plan]=\"plans.working\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.planTypedCaption\"><nol-markdown-view [text]=\"text.planTyped\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.planDoneCaption\"><nol-plan [plan]=\"plans.done\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.planNotStartedCaption\"><nol-plan [plan]=\"plans.notStarted\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-plan class=\"nol-gallery-narrow\" [plan]=\"plans.long\" />\n </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-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-content-run {\n width: 100%;\n}\n\n.nol-gallery-content-card {\n width: 12.5rem;\n}\n\n.nol-gallery-content-paragraph {\n margin: 0;\n}\n\n.nol-gallery-files {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-gallery-file {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n font-size: var(--nol-text-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-terminal {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n padding: var(--nol-space-3);\n background: var(--nol-terminal-background);\n color: var(--nol-terminal-foreground);\n font-family: var(--nol-font-mono);\n}\n\n.nol-gallery-terminal-color {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-terminal-swatch {\n width: 1rem;\n height: 1rem;\n}\n\n.nol-gallery-status {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-3);\n color: var(--nol-text);\n}\n\n.nol-gallery-status-row {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-status-dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n forced-color-adjust: none;\n}\n\n.nol-gallery-terminal-cursor {\n background: var(--nol-terminal-cursor);\n}\n\n.nol-gallery-terminal-selection {\n background: var(--nol-terminal-selection);\n color: var(--nol-terminal-selection-foreground);\n}\n\n.nol-gallery-content-message {\n font-size: var(--nol-text-message);\n line-height: var(--nol-line-message);\n}\n"], dependencies: [{ kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "component", type: MarkdownViewComponent, selector: "nol-markdown-view", inputs: ["text", "streaming", "entering", "paced", "mentions", "mentionNames", "fileLinks", "linkSchemes", "folderLinks", "references", "shellRuns", "math", "shellRunStates", "shellRunOutputs"], outputs: ["linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun"] }, { kind: "component", type: PlanComponent, selector: "nol-plan", inputs: ["plan", "framed"] }] });
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPlanComponent, decorators: [{
25
+ type: Component,
26
+ args: [{ selector: "nol-gallery-plan", imports: [GalleryCellComponent, GallerySpecimenComponent, MarkdownViewComponent, PlanComponent], 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.planSection\" [size]=\"sizes.Full\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-plan [plan]=\"plans.working\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.planTypedCaption\"><nol-markdown-view [text]=\"text.planTyped\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.planDoneCaption\"><nol-plan [plan]=\"plans.done\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.planNotStartedCaption\"><nol-plan [plan]=\"plans.notStarted\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-plan class=\"nol-gallery-narrow\" [plan]=\"plans.long\" />\n </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-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-content-run {\n width: 100%;\n}\n\n.nol-gallery-content-card {\n width: 12.5rem;\n}\n\n.nol-gallery-content-paragraph {\n margin: 0;\n}\n\n.nol-gallery-files {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-gallery-file {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n font-size: var(--nol-text-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-terminal {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n padding: var(--nol-space-3);\n background: var(--nol-terminal-background);\n color: var(--nol-terminal-foreground);\n font-family: var(--nol-font-mono);\n}\n\n.nol-gallery-terminal-color {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-terminal-swatch {\n width: 1rem;\n height: 1rem;\n}\n\n.nol-gallery-status {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-3);\n color: var(--nol-text);\n}\n\n.nol-gallery-status-row {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-status-dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n forced-color-adjust: none;\n}\n\n.nol-gallery-terminal-cursor {\n background: var(--nol-terminal-cursor);\n}\n\n.nol-gallery-terminal-selection {\n background: var(--nol-terminal-selection);\n color: var(--nol-terminal-selection-foreground);\n}\n\n.nol-gallery-content-message {\n font-size: var(--nol-text-message);\n line-height: var(--nol-line-message);\n}\n"] }]
27
+ }] });
28
+ //# sourceMappingURL=gallery-plan.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gallery-plan.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-plan.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-plan.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;;AAQ3E,MAAM,OAAO,oBAAoB;IACZ,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,KAAK,GAAiB,IAAI,YAAY,EAAE,CAAC;uGAHjD,oBAAoB;2FAApB,oBAAoB,4ECxBjC,o4BAiBA,s/DDGY,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,mWAAE,aAAa;;2FAInF,oBAAoB;kBANhC,SAAS;+BACE,kBAAkB,WACnB,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,aAAa,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { ButtonVariant } from "../../enums/button-variant.js";
2
+ import { GallerySize } from "../../enums/gallery-size.js";
3
+ import { GalleryResources } from "./gallery-resources.js";
4
+ import * as i0 from "@angular/core";
5
+ export declare class GalleryPopoverComponent {
6
+ protected readonly text: typeof GalleryResources.text;
7
+ protected readonly sizes: typeof GallerySize;
8
+ protected readonly variants: typeof ButtonVariant;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<GalleryPopoverComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<GalleryPopoverComponent, "nol-gallery-popover", never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Component } from "@angular/core";
9
+ import { ButtonVariant } from "../../enums/button-variant.js";
10
+ import { GallerySize } from "../../enums/gallery-size.js";
11
+ import { ButtonComponent } from "../button/button.component.js";
12
+ import { PopoverDirective } from "../popover/popover.directive.js";
13
+ import { PopoverTriggerDirective } from "../popover/popover-trigger.directive.js";
14
+ import { GalleryCellComponent } from "./gallery-cell.component.js";
15
+ import { GalleryResources } from "./gallery-resources.js";
16
+ import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
17
+ import { GalleryStateDirective } from "./gallery-state.directive.js";
18
+ import * as i0 from "@angular/core";
19
+ export class GalleryPopoverComponent {
20
+ text = GalleryResources.text;
21
+ sizes = GallerySize;
22
+ variants = ButtonVariant;
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryPopoverComponent, isStandalone: true, selector: "nol-gallery-popover", 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.popover\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.openCaption\">\n <div nolPopover class=\"nol-gallery-popover\" [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverLong }}</p>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.popoverClose }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.triggerCaption\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [nolPopoverTrigger]=\"popover\">{{ text.popoverTrigger }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div nolPopover class=\"nol-gallery-popover\" nolGalleryFocus=\"button\" [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.popoverClose }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div nolPopover class=\"nol-gallery-popover nol-gallery-narrow\" [label]=\"text.popoverLabel\">\n <p class=\"nol-gallery-popover-text\">{{ text.popoverLong }}</p>\n </div>\n </nol-gallery-cell>\n <ng-template #popover>\n <div nolPopover [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n </div>\n </ng-template>\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-menu {\n width: 16rem;\n}\n\n.nol-gallery-fit {\n max-width: 100%;\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-large-dialog {\n --nol-dialog-large-width: 36rem;\n --nol-dialog-large-height: 14rem;\n --nol-dialog-large-min-height: 14rem;\n}\n\n.nol-gallery-large-dialog-body {\n margin: 0;\n padding: var(--nol-dialog-body-padding);\n padding-block: var(--nol-space-3);\n}\n\n.nol-gallery-context {\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.nol-gallery-popover-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-gallery-popover-text {\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-mention-box {\n position: relative;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n}\n\n.nol-gallery-mention-field {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-height: calc(var(--nol-field-height) * 2);\n margin: 0;\n padding: var(--nol-space-1) var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n resize: none;\n}\n\n.nol-gallery-mention-field::placeholder {\n color: var(--nol-placeholder);\n opacity: 1;\n}\n\n.nol-gallery-mention-field:focus {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid 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: 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: "directive", type: PopoverDirective, selector: "[nolPopover]", inputs: ["label"] }, { kind: "directive", type: PopoverTriggerDirective, selector: "[nolPopoverTrigger]", inputs: ["nolPopoverTrigger", "nolPopoverSide", "nolPopoverAlignment"], outputs: ["opened"], exportAs: ["nolPopoverTrigger"] }] });
25
+ }
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPopoverComponent, decorators: [{
27
+ type: Component,
28
+ args: [{ selector: "nol-gallery-popover", imports: [ButtonComponent, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, PopoverDirective, PopoverTriggerDirective], 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.popover\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.openCaption\">\n <div nolPopover class=\"nol-gallery-popover\" [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverLong }}</p>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.popoverClose }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.triggerCaption\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [nolPopoverTrigger]=\"popover\">{{ text.popoverTrigger }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div nolPopover class=\"nol-gallery-popover\" nolGalleryFocus=\"button\" [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\">{{ text.popoverClose }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div nolPopover class=\"nol-gallery-popover nol-gallery-narrow\" [label]=\"text.popoverLabel\">\n <p class=\"nol-gallery-popover-text\">{{ text.popoverLong }}</p>\n </div>\n </nol-gallery-cell>\n <ng-template #popover>\n <div nolPopover [label]=\"text.popoverLabel\">\n <h2 class=\"nol-gallery-popover-title\">{{ text.popoverTitle }}</h2>\n <p class=\"nol-gallery-popover-text\">{{ text.popoverBody }}</p>\n </div>\n </ng-template>\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-menu {\n width: 16rem;\n}\n\n.nol-gallery-fit {\n max-width: 100%;\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-large-dialog {\n --nol-dialog-large-width: 36rem;\n --nol-dialog-large-height: 14rem;\n --nol-dialog-large-min-height: 14rem;\n}\n\n.nol-gallery-large-dialog-body {\n margin: 0;\n padding: var(--nol-dialog-body-padding);\n padding-block: var(--nol-space-3);\n}\n\n.nol-gallery-context {\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.nol-gallery-popover-title {\n margin: 0;\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.nol-gallery-popover-text {\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-mention-box {\n position: relative;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n}\n\n.nol-gallery-mention-field {\n display: block;\n box-sizing: border-box;\n width: 100%;\n min-height: calc(var(--nol-field-height) * 2);\n margin: 0;\n padding: var(--nol-space-1) var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n resize: none;\n}\n\n.nol-gallery-mention-field::placeholder {\n color: var(--nol-placeholder);\n opacity: 1;\n}\n\n.nol-gallery-mention-field:focus {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n"] }]
29
+ }] });
30
+ //# sourceMappingURL=gallery-popover.component.js.map