@noldova/ui.components.angular 0.0.2 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/app/components/avatar/avatar-initials-fitter.js +3 -3
- package/app/components/avatar/avatar.component.js +3 -3
- package/app/components/button/button.component.js +4 -4
- package/app/components/card/card.component.js +3 -3
- package/app/components/checkbox/checkbox.component.js +3 -3
- package/app/components/chip/chip.component.js +3 -3
- package/app/components/choice-pills/choice-pills.component.js +3 -3
- package/app/components/choice-row/choice-row.component.js +3 -3
- package/app/components/code-block/code-block.component.js +3 -3
- package/app/components/code-block/shell-run-output.component.js +3 -3
- package/app/components/code-block/shell-run-output.directive.js +3 -3
- package/app/components/configuration-table/configuration-table-action.directive.js +3 -3
- package/app/components/configuration-table/configuration-table-fill.directive.js +3 -3
- package/app/components/configuration-table/configuration-table-row-actions.directive.js +3 -3
- package/app/components/configuration-table/configuration-table-share.directive.js +3 -3
- package/app/components/configuration-table/configuration-table.component.js +3 -3
- package/app/components/configuration-table/configuration-table.directive.js +3 -3
- package/app/components/dialog/dialog-description.directive.js +3 -3
- package/app/components/dialog/dialog.component.d.ts +5 -3
- package/app/components/dialog/dialog.component.js +7 -4
- package/app/components/dialog/dialog.component.js.map +1 -1
- package/app/components/diff-view/diff-code.directive.js +3 -3
- package/app/components/diff-view/diff-view.component.js +3 -3
- package/app/components/docking-guide/docking-guide.component.js +3 -3
- package/app/components/docking-plate/docking-plate.component.js +3 -3
- package/app/components/field-message/field-message.component.js +3 -3
- package/app/components/file-badge/file-badge.component.js +3 -3
- package/app/components/gallery/gallery-avatar.component.js +3 -3
- package/app/components/gallery/gallery-button.component.js +3 -3
- package/app/components/gallery/gallery-card.component.js +3 -3
- package/app/components/gallery/gallery-cell.component.js +3 -3
- package/app/components/gallery/gallery-checkbox.component.js +3 -3
- package/app/components/gallery/gallery-chip.component.js +3 -3
- package/app/components/gallery/gallery-choice-pills.component.js +3 -3
- package/app/components/gallery/gallery-choice-row.component.js +3 -3
- package/app/components/gallery/gallery-code-block.component.js +3 -3
- package/app/components/gallery/gallery-configuration-table.component.js +3 -3
- package/app/components/gallery/gallery-content.component.js +3 -3
- package/app/components/gallery/gallery-content.component.js.map +1 -1
- package/app/components/gallery/gallery-dialog.component.d.ts +1 -0
- package/app/components/gallery/gallery-dialog.component.js +5 -4
- package/app/components/gallery/gallery-dialog.component.js.map +1 -1
- package/app/components/gallery/gallery-feed.component.js +3 -3
- package/app/components/gallery/gallery-file-badge.component.js +3 -3
- package/app/components/gallery/gallery-forms.component.js +3 -3
- package/app/components/gallery/gallery-group-header.component.js +3 -3
- package/app/components/gallery/gallery-icon-button.component.js +3 -3
- package/app/components/gallery/gallery-inline-code.component.js +3 -3
- package/app/components/gallery/gallery-markdown-view.component.js +3 -3
- package/app/components/gallery/gallery-menu.component.js +3 -3
- package/app/components/gallery/gallery-message.component.js +3 -3
- package/app/components/gallery/gallery-meter.component.js +3 -3
- package/app/components/gallery/gallery-navigation.component.js +3 -3
- package/app/components/gallery/gallery-overlays.component.js +3 -3
- package/app/components/gallery/gallery-panel-card.component.js +3 -3
- package/app/components/gallery/gallery-press.directive.js +3 -3
- package/app/components/gallery/gallery-progress.component.js +3 -3
- package/app/components/gallery/gallery-quick-input.component.js +3 -3
- package/app/components/gallery/gallery-radio.component.js +3 -3
- package/app/components/gallery/gallery-refusing-clipboard.directive.js +3 -3
- package/app/components/gallery/gallery-refusing-clipboard.js +3 -3
- package/app/components/gallery/gallery-resources.d.ts +1 -0
- package/app/components/gallery/gallery-resources.js +1 -0
- package/app/components/gallery/gallery-resources.js.map +1 -1
- package/app/components/gallery/gallery-sash.component.js +3 -3
- package/app/components/gallery/gallery-scope.directive.js +3 -3
- package/app/components/gallery/gallery-section-header.component.js +3 -3
- package/app/components/gallery/gallery-select.component.js +3 -3
- package/app/components/gallery/gallery-specimen.component.js +3 -3
- package/app/components/gallery/gallery-spinner.component.js +3 -3
- package/app/components/gallery/gallery-split-button.component.js +3 -3
- package/app/components/gallery/gallery-state.directive.js +3 -3
- package/app/components/gallery/gallery-switch.component.js +3 -3
- package/app/components/gallery/gallery-tab.component.js +3 -3
- package/app/components/gallery/gallery-terminal-output.component.js +3 -3
- package/app/components/gallery/gallery-text-field.component.js +3 -3
- package/app/components/gallery/gallery-toolbar-button.component.js +3 -3
- package/app/components/gallery/gallery-tooltip.component.js +3 -3
- package/app/components/gallery/gallery-tree.component.js +3 -3
- package/app/components/gallery/gallery-view-badge.component.js +3 -3
- package/app/components/gallery/gallery-virtual-list.component.js +3 -3
- package/app/components/gallery/gallery.component.js +3 -3
- package/app/components/group-header/group-header.component.js +3 -3
- package/app/components/icon-button/icon-button.component.js +4 -4
- package/app/components/icon-button/icon-button.component.js.map +1 -1
- package/app/components/inline-code/inline-code.component.js +3 -3
- package/app/components/link-reference/link-reference-card.component.js +3 -3
- package/app/components/link-reference/link-reference-chip.component.js +3 -3
- package/app/components/link-reference/link-reference-image.component.js +3 -3
- package/app/components/link-reference/link-reference-work-item-state.component.js +3 -3
- package/app/components/markdown-view/markdown-math.component.js +3 -3
- package/app/components/markdown-view/markdown-view-nodes.component.js +3 -3
- package/app/components/markdown-view/markdown-view.component.js +3 -3
- package/app/components/mention-field/mention-field.directive.js +3 -3
- package/app/components/mention-field/mention-list.component.js +3 -3
- package/app/components/menu/context-menu-trigger.directive.js +3 -3
- package/app/components/menu/kept-open-menu-item.directive.js +3 -3
- package/app/components/menu/menu-group-action.directive.js +3 -3
- package/app/components/menu/menu-group.component.js +3 -3
- package/app/components/menu/menu-item.component.js +4 -4
- package/app/components/menu/menu-item.component.js.map +1 -1
- package/app/components/menu/menu-opens-on.directive.js +3 -3
- package/app/components/menu/menu-separator.component.js +3 -3
- package/app/components/menu/menu-trigger.directive.js +3 -3
- package/app/components/menu/menu.component.js +3 -3
- package/app/components/menu-bar/menu-bar-item.component.js +3 -3
- package/app/components/menu-bar/menu-bar.component.js +3 -3
- package/app/components/message/message-action.directive.js +3 -3
- package/app/components/message/message-footer-end.directive.js +3 -3
- package/app/components/message/message-image.directive.js +3 -3
- package/app/components/message/message-run.component.js +3 -3
- package/app/components/message/message-slot.directive.js +3 -3
- package/app/components/message/message.component.js +3 -3
- package/app/components/meter/meter.component.js +3 -3
- package/app/components/panel-card/panel-card.component.js +3 -3
- package/app/components/permission-card/permission-card.component.d.ts +19 -7
- package/app/components/permission-card/permission-card.component.js +19 -10
- package/app/components/permission-card/permission-card.component.js.map +1 -1
- package/app/components/permission-card/permission-card.resources.d.ts +3 -0
- package/app/components/permission-card/permission-card.resources.js +7 -0
- package/app/components/permission-card/permission-card.resources.js.map +1 -1
- package/app/components/plan/plan.component.js +3 -3
- package/app/components/popover/popover-trigger.directive.js +3 -3
- package/app/components/popover/popover.directive.js +3 -3
- package/app/components/progress/progress.component.js +3 -3
- package/app/components/progress/reveal-delay.directive.js +3 -3
- package/app/components/quick-input/quick-input.component.js +4 -4
- package/app/components/quick-input/quick-input.component.js.map +1 -1
- package/app/components/radio/radio-group.component.js +3 -3
- package/app/components/radio/radio.component.js +3 -3
- package/app/components/sash/sash.component.js +3 -3
- package/app/components/section-header/section-header.component.js +3 -3
- package/app/components/select/select.component.js +3 -3
- package/app/components/spinner/spinner.component.js +4 -4
- package/app/components/split-button/split-button.component.js +3 -3
- package/app/components/switch/switch.component.js +3 -3
- package/app/components/tab/tab.component.js +4 -4
- package/app/components/tab/tab.component.js.map +1 -1
- package/app/components/terminal-output/terminal-output.component.js +3 -3
- package/app/components/text-field/text-field-box.component.js +3 -3
- package/app/components/text-field/text-field-end.directive.js +3 -3
- package/app/components/text-field/text-field.component.js +3 -3
- package/app/components/tool-call/tool-call-output.directive.js +3 -3
- package/app/components/tool-call/tool-call.component.js +3 -3
- package/app/components/toolbar/toolbar-item.directive.js +3 -3
- package/app/components/toolbar/toolbar.directive.js +3 -3
- package/app/components/toolbar-button/toolbar-button.component.js +4 -4
- package/app/components/toolbar-button/toolbar-button.component.js.map +1 -1
- package/app/components/tooltip/tooltip.component.js +3 -3
- package/app/components/tooltip/tooltip.directive.js +3 -3
- package/app/components/tree/tree-row.directive.js +3 -3
- package/app/components/tree/tree.component.js +3 -3
- package/app/components/view-badge/view-badge.component.js +3 -3
- package/app/components/virtual-list/virtual-list.component.js +4 -4
- package/app/components/virtual-list/virtual-list.component.js.map +1 -1
- package/app/components/virtual-list/virtual-row.directive.js +3 -3
- package/app/enums/dialog-size.d.ts +7 -1
- package/app/enums/dialog-size.js +1 -0
- package/app/enums/dialog-size.js.map +1 -1
- package/app/models/default-theme.js +1 -0
- package/app/models/default-theme.js.map +1 -1
- package/app/models/permission-requester.d.ts +12 -8
- package/app/models/permission-requester.js +3 -2
- package/app/models/permission-requester.js.map +1 -1
- package/app/services/announcer.js +3 -3
- package/app/services/appearance.service.js +3 -3
- package/app/services/code-highlighter.js +3 -3
- package/app/services/code-highlights.js +3 -3
- package/app/services/dialog.service.js +3 -3
- package/app/services/diff-highlights.js +3 -3
- package/app/services/duration-formatter.js +3 -3
- package/app/services/markdown-math.renderer.js +3 -3
- package/app/services/markdown.parser.js +3 -3
- package/app/services/overlay-bounds.service.js +3 -3
- package/app/services/pending-permissions.js +3 -3
- package/app/services/scroll-reveal.service.js +3 -3
- package/app/services/shared-clock.js +3 -3
- package/app/services/tooltip-pace.js +3 -3
- package/package.json +7 -7
- package/resources.js +1 -0
- package/resources.js.map +1 -1
- package/styles/theme.css +1 -0
- package/testing/models/fixture-theme.js +1 -0
- package/testing/models/fixture-theme.js.map +1 -1
- package/testing/services/clipboard-writer-fixture.js +3 -3
|
@@ -91,10 +91,10 @@ export class GalleryMessageComponent {
|
|
|
91
91
|
}, GalleryResources.messageRetryDelay);
|
|
92
92
|
this.timers.add(cancel);
|
|
93
93
|
}
|
|
94
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
95
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.5", type: GalleryMessageComponent, isStandalone: true, selector: "nol-gallery-message", viewQueries: [{ propertyName: "slot", first: true, predicate: MessageSlotDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.message\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryHover=\".nol-message-attachment\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"hovered\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageContinuation\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" />\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [continuation]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubble\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubbleHover\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryHover=\".nol-message-copy\" [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageClock\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachments\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"attached\">\n <ng-template [nolMessageSlot]=\"text.messageSlotId\"><p class=\"nol-gallery-message-slot\">{{ text.messageSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messagePicture\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"pictureAttached\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFileLinks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"linked\" [fileLinks]=\"true\" [folderLinks]=\"linkedFolders\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageImage\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"pictured\">\n <ng-template nolMessageImage let-alt=\"alt\" let-title=\"title\"><span class=\"nol-gallery-message-image\" role=\"img\" [attr.aria-label]=\"alt\">{{ title }}</span></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"partial\" [status]=\"statuses.Streaming\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageCancelled\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Cancelled\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Error\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageErrorRetry\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"retryStatus()\" (retry)=\"retry()\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumn\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"columnBlocks\" [layout]=\"layouts.Column\" [mentions]=\"mentions\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Status\">{{ text.messageColumnStatus }}</nol-chip>\n <button type=\"button\" nol-icon-button nolMessageAction [icon]=\"text.messageRewindGlyph\" [label]=\"text.messageRewind\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageActionsPlaced\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [header]=\"false\" [footer]=\"false\"\n [actionsTop]=\"actionsTop\" [actionsEnd]=\"actionsEnd\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnPerson\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnApp\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"app\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFooterEnd\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [icon]=\"text.messageStatsGlyph\" [label]=\"text.messageStats\"></button>\n </nol-message>\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"partial\" [layout]=\"layouts.Column\" [status]=\"statuses.Streaming\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [nolMessageFooterEndPlacement]=\"footerPlacements.End\" [icon]=\"text.messageStopGlyph\"\n [label]=\"text.messageStop\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"long\" [timeFormat]=\"timeFormats.Clock\" /></div>\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: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"], dependencies: [{ kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: MessageActionDirective, selector: "[nolMessageAction]" }, { kind: "component", type: MessageComponent, selector: "nol-message", inputs: ["author", "authorDescription", "time", "blocks", "status", "error", "key", "continuation", "selected", "selectionLook", "header", "footer", "actionsTop", "actionsEnd", "flashStart", "labelId", "collapsedHeight", "layout", "timeFormat", "twentyFourHour", "mentions", "mentionNames", "fileLinks", "linkSchemes", "copyText", "folderLinks", "references", "shellRuns", "shellRunStates", "shellRunOutputs", "math"], outputs: ["copied", "retry", "attachmentOpen", "linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun", "contextMenuRequest"] }, { kind: "directive", type: MessageFooterEndDirective, selector: "[nolMessageFooterEnd]", inputs: ["nolMessageFooterEndPlacement"] }, { kind: "directive", type: MessageImageDirective, selector: "ng-template[nolMessageImage]" }, { kind: "directive", type: MessageSlotDirective, selector: "ng-template[nolMessageSlot]", inputs: ["nolMessageSlot"] }] });
|
|
94
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
95
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.6", type: GalleryMessageComponent, isStandalone: true, selector: "nol-gallery-message", viewQueries: [{ propertyName: "slot", first: true, predicate: MessageSlotDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.message\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryHover=\".nol-message-attachment\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"hovered\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageContinuation\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" />\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [continuation]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubble\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubbleHover\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryHover=\".nol-message-copy\" [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageClock\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachments\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"attached\">\n <ng-template [nolMessageSlot]=\"text.messageSlotId\"><p class=\"nol-gallery-message-slot\">{{ text.messageSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messagePicture\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"pictureAttached\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFileLinks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"linked\" [fileLinks]=\"true\" [folderLinks]=\"linkedFolders\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageImage\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"pictured\">\n <ng-template nolMessageImage let-alt=\"alt\" let-title=\"title\"><span class=\"nol-gallery-message-image\" role=\"img\" [attr.aria-label]=\"alt\">{{ title }}</span></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"partial\" [status]=\"statuses.Streaming\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageCancelled\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Cancelled\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Error\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageErrorRetry\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"retryStatus()\" (retry)=\"retry()\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumn\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"columnBlocks\" [layout]=\"layouts.Column\" [mentions]=\"mentions\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Status\">{{ text.messageColumnStatus }}</nol-chip>\n <button type=\"button\" nol-icon-button nolMessageAction [icon]=\"text.messageRewindGlyph\" [label]=\"text.messageRewind\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageActionsPlaced\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [header]=\"false\" [footer]=\"false\"\n [actionsTop]=\"actionsTop\" [actionsEnd]=\"actionsEnd\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnPerson\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnApp\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"app\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFooterEnd\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [icon]=\"text.messageStatsGlyph\" [label]=\"text.messageStats\"></button>\n </nol-message>\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"partial\" [layout]=\"layouts.Column\" [status]=\"statuses.Streaming\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [nolMessageFooterEndPlacement]=\"footerPlacements.End\" [icon]=\"text.messageStopGlyph\"\n [label]=\"text.messageStop\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"long\" [timeFormat]=\"timeFormats.Clock\" /></div>\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: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"], dependencies: [{ kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: MessageActionDirective, selector: "[nolMessageAction]" }, { kind: "component", type: MessageComponent, selector: "nol-message", inputs: ["author", "authorDescription", "time", "blocks", "status", "error", "key", "continuation", "selected", "selectionLook", "header", "footer", "actionsTop", "actionsEnd", "flashStart", "labelId", "collapsedHeight", "layout", "timeFormat", "twentyFourHour", "mentions", "mentionNames", "fileLinks", "linkSchemes", "copyText", "folderLinks", "references", "shellRuns", "shellRunStates", "shellRunOutputs", "math"], outputs: ["copied", "retry", "attachmentOpen", "linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun", "contextMenuRequest"] }, { kind: "directive", type: MessageFooterEndDirective, selector: "[nolMessageFooterEnd]", inputs: ["nolMessageFooterEndPlacement"] }, { kind: "directive", type: MessageImageDirective, selector: "ng-template[nolMessageImage]" }, { kind: "directive", type: MessageSlotDirective, selector: "ng-template[nolMessageSlot]", inputs: ["nolMessageSlot"] }] });
|
|
96
96
|
}
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryMessageComponent, decorators: [{
|
|
98
98
|
type: Component,
|
|
99
99
|
args: [{ selector: "nol-gallery-message", imports: [ChipComponent, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, IconButtonComponent, MessageActionDirective, MessageComponent, MessageFooterEndDirective,
|
|
100
100
|
MessageImageDirective, MessageSlotDirective], 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.message\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryHover=\".nol-message-attachment\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"hovered\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-message\"><nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageContinuation\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"answer\" />\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [continuation]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubble\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageBubbleHover\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryHover=\".nol-message-copy\" [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageClock\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"continued\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageAttachments\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"attached\">\n <ng-template [nolMessageSlot]=\"text.messageSlotId\"><p class=\"nol-gallery-message-slot\">{{ text.messageSlotText }}</p></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messagePicture\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"pictureAttached\" [layout]=\"layouts.Bubble\" [timeFormat]=\"timeFormats.Clock\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFileLinks\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"linked\" [fileLinks]=\"true\" [folderLinks]=\"linkedFolders\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageImage\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"pictured\">\n <ng-template nolMessageImage let-alt=\"alt\" let-title=\"title\"><span class=\"nol-gallery-message-image\" role=\"img\" [attr.aria-label]=\"alt\">{{ title }}</span></ng-template>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"partial\" [status]=\"statuses.Streaming\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageCancelled\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Cancelled\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"statuses.Error\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageErrorRetry\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"reviewer\" [time]=\"time\" [blocks]=\"stopped\" [status]=\"retryStatus()\" (retry)=\"retry()\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumn\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"columnBlocks\" [layout]=\"layouts.Column\" [mentions]=\"mentions\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Status\">{{ text.messageColumnStatus }}</nol-chip>\n <button type=\"button\" nol-icon-button nolMessageAction [icon]=\"text.messageRewindGlyph\" [label]=\"text.messageRewind\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageActionsPlaced\">\n <div class=\"nol-gallery-message\">\n <nol-message nolGalleryFocus=\".nol-message-copy\" [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [header]=\"false\" [footer]=\"false\"\n [actionsTop]=\"actionsTop\" [actionsEnd]=\"actionsEnd\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnPerson\">\n <div class=\"nol-gallery-message\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\" [timeFormat]=\"timeFormats.Clock\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageColumnApp\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"app\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <nol-chip nolMessageHeader [kind]=\"chipKinds.Failed\">{{ text.chipFailed }}</nol-chip>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.messageFooterEnd\">\n <div class=\"nol-gallery-message\">\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"continued\" [layout]=\"layouts.Column\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [icon]=\"text.messageStatsGlyph\" [label]=\"text.messageStats\"></button>\n </nol-message>\n <nol-message [author]=\"assistant\" [time]=\"time\" [blocks]=\"partial\" [layout]=\"layouts.Column\" [status]=\"statuses.Streaming\">\n <button type=\"button\" nol-icon-button nolMessageFooterEnd [nolMessageFooterEndPlacement]=\"footerPlacements.End\" [icon]=\"text.messageStopGlyph\"\n [label]=\"text.messageStop\"></button>\n </nol-message>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-message nol-gallery-narrow\"><nol-message [author]=\"person\" [time]=\"time\" [blocks]=\"long\" [timeFormat]=\"timeFormats.Clock\" /></div>\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: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"] }]
|
|
@@ -13,10 +13,10 @@ import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export class GalleryMeterComponent {
|
|
15
15
|
text = GalleryResources.text;
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
17
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryMeterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryMeterComponent, isStandalone: true, selector: "nol-gallery-meter", 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.meter\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.meterEmptyCaption\"><nol-meter [label]=\"text.meterLabel\" [value]=\"0\">{{ text.meterEmpty }}</nol-meter></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.meterPartCaption\"><nol-meter [label]=\"text.meterLabel\" [value]=\"0.42\">{{ text.meterPart }}</nol-meter></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.meterFullCaption\"><nol-meter [label]=\"text.meterLabel\" [value]=\"1\">{{ text.meterFull }}</nol-meter></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.meterWarningCaption\"><nol-meter [label]=\"text.meterLabel\" [value]=\"0.92\" [warning]=\"true\">{{ text.meterWarning }}</nol-meter></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-meter class=\"nol-gallery-narrow\" [label]=\"text.meterLabel\" [value]=\"0.92\" [warning]=\"true\">{{ text.meterLong }}</nol-meter></nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "component", type: MeterComponent, selector: "nol-meter", inputs: ["label", "value", "warning"] }] });
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryMeterComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: "nol-gallery-meter", imports: [GalleryCellComponent, GallerySpecimenComponent, MeterComponent], 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.meter\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.meterEmptyCaption\"><nol-meter [label]=\"text.meterLabel\" [value]=\"0\">{{ text.meterEmpty }}</nol-meter></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.meterPartCaption\"><nol-meter [label]=\"text.meterLabel\" [value]=\"0.42\">{{ text.meterPart }}</nol-meter></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.meterFullCaption\"><nol-meter [label]=\"text.meterLabel\" [value]=\"1\">{{ text.meterFull }}</nol-meter></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.meterWarningCaption\"><nol-meter [label]=\"text.meterLabel\" [value]=\"0.92\" [warning]=\"true\">{{ text.meterWarning }}</nol-meter></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-meter class=\"nol-gallery-narrow\" [label]=\"text.meterLabel\" [value]=\"0.92\" [warning]=\"true\">{{ text.meterLong }}</nol-meter></nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
22
22
|
}] });
|
|
@@ -30,10 +30,10 @@ import * as i0 from "@angular/core";
|
|
|
30
30
|
export class GalleryNavigationComponent {
|
|
31
31
|
text = GalleryResources.text;
|
|
32
32
|
sizes = GallerySize;
|
|
33
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
34
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
33
|
+
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", "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"] }] });
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryNavigationComponent, decorators: [{
|
|
37
37
|
type: Component,
|
|
38
38
|
args: [{ selector: "nol-gallery-navigation", imports: [GalleryCellComponent, GalleryFeedComponent, GalleryGroupHeaderComponent, GalleryPanelCardComponent, GallerySashComponent, GallerySectionHeaderComponent, GallerySpecimenComponent,
|
|
39
39
|
GalleryStateDirective, GalleryTabComponent, GalleryToolbarButtonComponent, GalleryTreeComponent, GalleryViewBadgeComponent, GalleryVirtualListComponent, IconButtonComponent, ToolbarButtonComponent,
|
|
@@ -48,10 +48,10 @@ export class GalleryOverlaysComponent {
|
|
|
48
48
|
static nextMentionListId() {
|
|
49
49
|
return `${GalleryResources.mentionListIdPrefix}${GalleryOverlaysComponent.count++}`;
|
|
50
50
|
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
52
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryOverlaysComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
52
|
+
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-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: 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"] }] });
|
|
53
53
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryOverlaysComponent, decorators: [{
|
|
55
55
|
type: Component,
|
|
56
56
|
args: [{ selector: "nol-gallery-overlays", imports: [
|
|
57
57
|
ButtonComponent, DockingGuideComponent, DockingPlateComponent, GalleryCellComponent, GalleryDialogComponent, GalleryMenuComponent, GalleryQuickInputComponent, GallerySpecimenComponent,
|
|
@@ -15,10 +15,10 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
export class GalleryPanelCardComponent {
|
|
16
16
|
text = GalleryResources.text;
|
|
17
17
|
surfaces = PanelSurface;
|
|
18
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
19
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPanelCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryPanelCardComponent, isStandalone: true, selector: "nol-gallery-panel-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.panelCard\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.panelShellCaption\"><nol-panel-card class=\"nol-gallery-card\" [surface]=\"surfaces.Shell\">{{ text.panelShell }}</nol-panel-card></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.panelPanelCaption\"><nol-panel-card class=\"nol-gallery-card\">{{ text.panelPanel }}</nol-panel-card></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-panel-card class=\"nol-gallery-card nol-gallery-narrow\">{{ text.panelLong }}</nol-panel-card></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-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: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "component", type: PanelCardComponent, selector: "nol-panel-card", inputs: ["surface"] }] });
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPanelCardComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{ selector: "nol-gallery-panel-card", imports: [GalleryCellComponent, GallerySpecimenComponent, PanelCardComponent], 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.panelCard\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.panelShellCaption\"><nol-panel-card class=\"nol-gallery-card\" [surface]=\"surfaces.Shell\">{{ text.panelShell }}</nol-panel-card></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.panelPanelCaption\"><nol-panel-card class=\"nol-gallery-card\">{{ text.panelPanel }}</nol-panel-card></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-panel-card class=\"nol-gallery-card nol-gallery-narrow\">{{ text.panelLong }}</nol-panel-card></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-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"] }]
|
|
24
24
|
}] });
|
|
@@ -21,10 +21,10 @@ export class GalleryPressDirective {
|
|
|
21
21
|
target.click();
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
25
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPressDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.6", type: GalleryPressDirective, isStandalone: true, selector: "[nolGalleryPress]", inputs: { part: { classPropertyName: "part", publicName: "nolGalleryPress", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryPressDirective, decorators: [{
|
|
28
28
|
type: Directive,
|
|
29
29
|
args: [{
|
|
30
30
|
selector: "[nolGalleryPress]"
|
|
@@ -13,10 +13,10 @@ import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export class GalleryProgressComponent {
|
|
15
15
|
text = GalleryResources.text;
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
17
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryProgressComponent, isStandalone: true, selector: "nol-gallery-progress", 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.progress\" noHover noFocus noLongText>\n <nol-gallery-cell [caption]=\"text.progressDeterminate\"><nol-progress class=\"nol-gallery-bar\" [label]=\"text.determinate\" [value]=\"0.5\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.progressIndeterminate\"><nol-progress class=\"nol-gallery-bar\" [label]=\"text.indeterminate\" /></nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "component", type: ProgressComponent, selector: "nol-progress", inputs: ["label", "value"] }] });
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryProgressComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: "nol-gallery-progress", imports: [GalleryCellComponent, GallerySpecimenComponent, ProgressComponent], 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.progress\" noHover noFocus noLongText>\n <nol-gallery-cell [caption]=\"text.progressDeterminate\"><nol-progress class=\"nol-gallery-bar\" [label]=\"text.determinate\" [value]=\"0.5\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.progressIndeterminate\"><nol-progress class=\"nol-gallery-bar\" [label]=\"text.indeterminate\" /></nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
22
22
|
}] });
|
|
@@ -25,10 +25,10 @@ export class GalleryQuickInputComponent {
|
|
|
25
25
|
];
|
|
26
26
|
longItems = this.items.slice(-1);
|
|
27
27
|
noItems = [];
|
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
29
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryQuickInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryQuickInputComponent, isStandalone: true, selector: "nol-gallery-quick-input", 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.quickInput\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-quick-input class=\"nol-gallery-fit\" [items]=\"items\" [label]=\"text.quickInputLabel\" [query]=\"text.quickInputQuery\" [isFocusing]=\"false\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-quick-input class=\"nol-gallery-fit\" nolGalleryFocus=\".nol-quick-input-field\" [items]=\"items\" [label]=\"text.quickInputLabel\" [query]=\"text.quickInputQuery\" [isFocusing]=\"false\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.quickInputSearch\">\n <nol-quick-input class=\"nol-gallery-fit\" [items]=\"items\" [label]=\"text.quickInputLabel\" [query]=\"text.quickInputQuery\" [icon]=\"text.glyphSearch\" [isFocusing]=\"false\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.quickInputNothing\">\n <nol-quick-input class=\"nol-gallery-fit\" [items]=\"noItems\" [label]=\"text.quickInputLabel\" [query]=\"text.quickInputQuery\" [icon]=\"text.glyphSearch\" [emptyText]=\"text.quickInputEmpty\"\n [isFocusing]=\"false\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-quick-input class=\"nol-gallery-fit nol-gallery-narrow\" [items]=\"longItems\" [label]=\"text.quickInputLabel\" [query]=\"text.quickInputQuery\" [isFocusing]=\"false\" />\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: "component", type: QuickInputComponent, selector: "nol-quick-input", inputs: ["items", "label", "icon", "emptyText", "isEmptyTextAlert", "query", "isFocusing"], outputs: ["queryChange", "chosen", "dismissed", "tabKey"] }] });
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryQuickInputComponent, decorators: [{
|
|
32
32
|
type: Component,
|
|
33
33
|
args: [{ selector: "nol-gallery-quick-input", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, QuickInputComponent], 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.quickInput\" [size]=\"sizes.Full\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-quick-input class=\"nol-gallery-fit\" [items]=\"items\" [label]=\"text.quickInputLabel\" [query]=\"text.quickInputQuery\" [isFocusing]=\"false\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-quick-input class=\"nol-gallery-fit\" nolGalleryFocus=\".nol-quick-input-field\" [items]=\"items\" [label]=\"text.quickInputLabel\" [query]=\"text.quickInputQuery\" [isFocusing]=\"false\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.quickInputSearch\">\n <nol-quick-input class=\"nol-gallery-fit\" [items]=\"items\" [label]=\"text.quickInputLabel\" [query]=\"text.quickInputQuery\" [icon]=\"text.glyphSearch\" [isFocusing]=\"false\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.quickInputNothing\">\n <nol-quick-input class=\"nol-gallery-fit\" [items]=\"noItems\" [label]=\"text.quickInputLabel\" [query]=\"text.quickInputQuery\" [icon]=\"text.glyphSearch\" [emptyText]=\"text.quickInputEmpty\"\n [isFocusing]=\"false\" />\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-quick-input class=\"nol-gallery-fit nol-gallery-narrow\" [items]=\"longItems\" [label]=\"text.quickInputLabel\" [query]=\"text.quickInputQuery\" [isFocusing]=\"false\" />\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"] }]
|
|
34
34
|
}] });
|
|
@@ -18,10 +18,10 @@ export class GalleryRadioComponent {
|
|
|
18
18
|
focusedRadio = GalleryResources.focusedRadio;
|
|
19
19
|
radio = signal(GalleryResources.text.picked, /* @ts-ignore */
|
|
20
20
|
...(ngDevMode ? [{ debugName: "radio" }] : /* istanbul ignore next */ []));
|
|
21
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
22
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryRadioComponent, isStandalone: true, selector: "nol-gallery-radio", 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.radio\" noHover>\n <nol-gallery-cell [caption]=\"text.picked\">\n <nol-radio-group [label]=\"text.radioGroup\" [(value)]=\"radio\">\n <nol-radio [value]=\"text.picked\">{{ text.picked }}</nol-radio>\n <nol-radio [value]=\"text.notPicked\">{{ text.notPicked }}</nol-radio>\n </nol-radio-group>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\"><nol-radio [value]=\"text.disabled\" [checked]=\"true\" [disabled]=\"true\">{{ text.disabled }}</nol-radio></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-radio [value]=\"text.notPicked\" [nolGalleryFocus]=\"focusedRadio\">{{ text.notPicked }}</nol-radio></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-radio class=\"nol-gallery-narrow\" [value]=\"text.longText\">{{ text.longText }}</nol-radio></nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: RadioComponent, selector: "nol-radio", inputs: ["value", "checked", "disabled"], outputs: ["checkedChange"] }, { kind: "component", type: RadioGroupComponent, selector: "nol-radio-group", inputs: ["label", "value"], outputs: ["valueChange"] }] });
|
|
23
23
|
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryRadioComponent, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
26
|
args: [{ selector: "nol-gallery-radio", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, RadioComponent, RadioGroupComponent], 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.radio\" noHover>\n <nol-gallery-cell [caption]=\"text.picked\">\n <nol-radio-group [label]=\"text.radioGroup\" [(value)]=\"radio\">\n <nol-radio [value]=\"text.picked\">{{ text.picked }}</nol-radio>\n <nol-radio [value]=\"text.notPicked\">{{ text.notPicked }}</nol-radio>\n </nol-radio-group>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\"><nol-radio [value]=\"text.disabled\" [checked]=\"true\" [disabled]=\"true\">{{ text.disabled }}</nol-radio></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-radio [value]=\"text.notPicked\" [nolGalleryFocus]=\"focusedRadio\">{{ text.notPicked }}</nol-radio></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-radio class=\"nol-gallery-narrow\" [value]=\"text.longText\">{{ text.longText }}</nol-radio></nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-table {\n width: min(36rem, 100%);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-table-holder {\n width: 100%;\n box-sizing: border-box;\n margin-block: calc(var(--nol-space-1) * -1);\n padding: var(--nol-space-1) var(--nol-space-2);\n overflow-x: auto;\n}\n\n.nol-gallery-bar {\n width: 12.5rem;\n}\n\n.nol-gallery-invalid,\n.nol-gallery-noted {\n display: grid;\n}\n\n.nol-gallery-table-actions {\n display: flex;\n gap: var(--nol-space-2);\n justify-content: flex-end;\n}\n\n.nol-gallery-picture {\n position: relative;\n display: block;\n width: 7rem;\n height: 4.5rem;\n border-radius: var(--nol-radius-large);\n background: linear-gradient(135deg, var(--nol-panel), var(--nol-text));\n}\n\n.nol-gallery-picture-action {\n position: absolute;\n inset-block-start: 0.125rem;\n inset-inline-end: 0.125rem;\n}\n\n.nol-gallery-picture-tools {\n display: grid;\n place-items: end center;\n box-sizing: border-box;\n padding-block-end: 0.25rem;\n}\n\n.nol-gallery-picture-wide {\n width: 10rem;\n}\n\n.nol-gallery-backdrop {\n background: var(--nol-overlay);\n}\n\n.nol-gallery-picture-row,\n.nol-gallery-compact-row {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-attachment {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-2);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-attachment);\n color: var(--nol-text);\n}\n\n.nol-gallery-attachment-glyph {\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-gallery-attachment-size {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
27
27
|
}] });
|
|
@@ -10,10 +10,10 @@ import { ClipboardWriter } from "../../services/clipboard-writer.js";
|
|
|
10
10
|
import { GalleryRefusingClipboard } from "./gallery-refusing-clipboard.js";
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export class GalleryRefusingClipboardDirective {
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
14
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryRefusingClipboardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.6", type: GalleryRefusingClipboardDirective, isStandalone: true, selector: "[nolGalleryRefusingClipboard]", providers: [{ provide: ClipboardWriter, useClass: GalleryRefusingClipboard }], ngImport: i0 });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryRefusingClipboardDirective, decorators: [{
|
|
17
17
|
type: Directive,
|
|
18
18
|
args: [{
|
|
19
19
|
selector: "[nolGalleryRefusingClipboard]",
|
|
@@ -12,10 +12,10 @@ export class GalleryRefusingClipboard extends ClipboardWriter {
|
|
|
12
12
|
writeTextAsync() {
|
|
13
13
|
return Promise.resolve(false);
|
|
14
14
|
}
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
16
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryRefusingClipboard, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryRefusingClipboard });
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryRefusingClipboard, decorators: [{
|
|
19
19
|
type: Injectable
|
|
20
20
|
}] });
|
|
21
21
|
//# sourceMappingURL=gallery-refusing-clipboard.js.map
|
|
@@ -803,6 +803,7 @@ export declare class GalleryResources {
|
|
|
803
803
|
readonly dialogConfirm: "Delete";
|
|
804
804
|
readonly dialogLongTitle: "A dialog title that is far too long to fit the width its dialog gives it";
|
|
805
805
|
readonly largeDialogTitle: "Notes";
|
|
806
|
+
readonly mediumCaption: "Medium";
|
|
806
807
|
readonly largeCaption: "Large";
|
|
807
808
|
readonly largeDialogBody: "A view or document shown large keeps its own layout inside the dialog's body.";
|
|
808
809
|
readonly quickInput: "Quick input";
|
|
@@ -597,6 +597,7 @@ export class GalleryResources {
|
|
|
597
597
|
dialogConfirm: "Delete",
|
|
598
598
|
dialogLongTitle: "A dialog title that is far too long to fit the width its dialog gives it",
|
|
599
599
|
largeDialogTitle: "Notes",
|
|
600
|
+
mediumCaption: "Medium",
|
|
600
601
|
largeCaption: "Large",
|
|
601
602
|
largeDialogBody: "A view or document shown large keeps its own layout inside the dialog's body.",
|
|
602
603
|
quickInput: "Quick input",
|