@noldova/ui.components.angular 0.0.3 → 0.0.6
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 +2 -2
- 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.js +3 -3
- 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-dialog.component.js +3 -3
- 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 +4 -4
- package/app/components/gallery/gallery-menu.component.js.map +1 -1
- 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 +3 -1
- package/app/components/gallery/gallery-resources.js +3 -1
- 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-split-button.component.js.map +1 -1
- 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.d.ts +10 -1
- package/app/components/menu/menu-item.component.js +7 -5
- 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.js +3 -3
- 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.d.ts +4 -4
- package/app/components/section-header/section-header.component.js +4 -4
- 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/models/default-theme.js +1 -0
- package/app/models/default-theme.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
|
@@ -32,10 +32,10 @@ export class GallerySectionHeaderComponent {
|
|
|
32
32
|
...(ngDevMode ? [{ debugName: "isChatsOpen" }] : /* istanbul ignore next */ []));
|
|
33
33
|
isPinnedOpen = signal(false, /* @ts-ignore */
|
|
34
34
|
...(ngDevMode ? [{ debugName: "isPinnedOpen" }] : /* istanbul ignore next */ []));
|
|
35
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
36
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GallerySectionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GallerySectionHeaderComponent, isStandalone: true, selector: "nol-gallery-section-header", 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.sectionHeader\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-sections\">\n <nol-section-header [label]=\"text.sectionRecent\" [level]=\"4\" />\n <nol-tree [label]=\"text.sectionRecent\" [nodes]=\"recentRows\" />\n <nol-section-header [label]=\"text.sectionOlder\" [level]=\"4\" />\n <nol-tree [label]=\"text.sectionOlder\" [nodes]=\"olderRows\" />\n <nol-section-header [label]=\"text.sectionLong\" [level]=\"4\" />\n <nol-tree [label]=\"text.sectionLong\" [nodes]=\"recentRows\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.sectionIcon\">\n <div class=\"nol-gallery-sections\">\n <nol-section-header [label]=\"text.sectionChats\" [icon]=\"text.glyphChat\" [level]=\"4\" />\n <nol-tree [label]=\"text.sectionChats\" [nodes]=\"recentRows\" />\n <nol-section-header [label]=\"text.sectionLong\" [icon]=\"text.glyphChat\" [level]=\"4\" />\n <nol-tree [label]=\"text.sectionLong\" [nodes]=\"olderRows\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.sectionCollapsible\">\n <div class=\"nol-gallery-sections\">\n <nol-section-header [label]=\"text.sectionChats\" [icon]=\"text.glyphChat\" [level]=\"4\" [collapsible]=\"true\" [controls]=\"groupRowsId + '-chats'\" [(expanded)]=\"isChatsOpen\" />\n <div [id]=\"groupRowsId + '-chats'\">\n @if (isChatsOpen()) {\n <nol-tree [label]=\"text.sectionChats\" [nodes]=\"recentRows\" />\n }\n </div>\n <nol-section-header [label]=\"text.sectionOlder\" [level]=\"4\" [collapsible]=\"true\" [controls]=\"groupRowsId + '-pinned'\" [(expanded)]=\"isPinnedOpen\" />\n <div [id]=\"groupRowsId + '-pinned'\">\n @if (isPinnedOpen()) {\n <nol-tree [label]=\"text.sectionOlder\" [nodes]=\"olderRows\" />\n }\n </div>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.sectionUppercase\">\n <div class=\"nol-gallery-sections\">\n <nol-section-header [label]=\"text.sectionPinned\" [icon]=\"text.glyphPin\" [level]=\"4\" [uppercase]=\"true\" />\n <nol-tree [label]=\"text.sectionPinned\" [nodes]=\"recentRows\" />\n <nol-section-header [label]=\"text.sectionProjects\" [icon]=\"text.glyphFolder\" [level]=\"4\" [uppercase]=\"true\" />\n <nol-tree [label]=\"text.sectionProjects\" [nodes]=\"olderRows\" />\n <nol-section-header [label]=\"text.sectionChats\" [icon]=\"text.glyphChat\" [level]=\"4\" [uppercase]=\"true\" [collapsible]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-sections\"><nol-section-header nolGalleryHover [label]=\"text.sectionRecent\" [level]=\"4\" [collapsible]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-sections\"><nol-section-header nolGalleryFocus=\"button\" [label]=\"text.sectionRecent\" [level]=\"4\" [collapsible]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-narrow\"><nol-section-header [label]=\"text.sectionLong\" [level]=\"4\" /></div>\n <div class=\"nol-gallery-narrow\"><nol-section-header [label]=\"text.sectionLong\" [icon]=\"text.glyphChat\" [level]=\"4\" /></div>\n <div class=\"nol-gallery-narrow\"><nol-section-header [label]=\"text.sectionLong\" [icon]=\"text.glyphChat\" [level]=\"4\" [collapsible]=\"true\" /></div>\n <div class=\"nol-gallery-narrow\"><nol-section-header [label]=\"text.sectionLong\" [icon]=\"text.glyphChat\" [level]=\"4\" [uppercase]=\"true\" /></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: 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: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: SectionHeaderComponent, selector: "nol-section-header", inputs: ["label", "level", "icon", "collapsible", "uppercase", "controls", "expanded"], outputs: ["expandedChange"] }, { kind: "component", type: TreeComponent, selector: "nol-tree", inputs: ["nodes", "label", "current", "movable"], outputs: ["activated", "moved"] }] });
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GallerySectionHeaderComponent, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{ selector: "nol-gallery-section-header", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, SectionHeaderComponent, TreeComponent], 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.sectionHeader\" [size]=\"sizes.Wide\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-sections\">\n <nol-section-header [label]=\"text.sectionRecent\" [level]=\"4\" />\n <nol-tree [label]=\"text.sectionRecent\" [nodes]=\"recentRows\" />\n <nol-section-header [label]=\"text.sectionOlder\" [level]=\"4\" />\n <nol-tree [label]=\"text.sectionOlder\" [nodes]=\"olderRows\" />\n <nol-section-header [label]=\"text.sectionLong\" [level]=\"4\" />\n <nol-tree [label]=\"text.sectionLong\" [nodes]=\"recentRows\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.sectionIcon\">\n <div class=\"nol-gallery-sections\">\n <nol-section-header [label]=\"text.sectionChats\" [icon]=\"text.glyphChat\" [level]=\"4\" />\n <nol-tree [label]=\"text.sectionChats\" [nodes]=\"recentRows\" />\n <nol-section-header [label]=\"text.sectionLong\" [icon]=\"text.glyphChat\" [level]=\"4\" />\n <nol-tree [label]=\"text.sectionLong\" [nodes]=\"olderRows\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.sectionCollapsible\">\n <div class=\"nol-gallery-sections\">\n <nol-section-header [label]=\"text.sectionChats\" [icon]=\"text.glyphChat\" [level]=\"4\" [collapsible]=\"true\" [controls]=\"groupRowsId + '-chats'\" [(expanded)]=\"isChatsOpen\" />\n <div [id]=\"groupRowsId + '-chats'\">\n @if (isChatsOpen()) {\n <nol-tree [label]=\"text.sectionChats\" [nodes]=\"recentRows\" />\n }\n </div>\n <nol-section-header [label]=\"text.sectionOlder\" [level]=\"4\" [collapsible]=\"true\" [controls]=\"groupRowsId + '-pinned'\" [(expanded)]=\"isPinnedOpen\" />\n <div [id]=\"groupRowsId + '-pinned'\">\n @if (isPinnedOpen()) {\n <nol-tree [label]=\"text.sectionOlder\" [nodes]=\"olderRows\" />\n }\n </div>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.sectionUppercase\">\n <div class=\"nol-gallery-sections\">\n <nol-section-header [label]=\"text.sectionPinned\" [icon]=\"text.glyphPin\" [level]=\"4\" [uppercase]=\"true\" />\n <nol-tree [label]=\"text.sectionPinned\" [nodes]=\"recentRows\" />\n <nol-section-header [label]=\"text.sectionProjects\" [icon]=\"text.glyphFolder\" [level]=\"4\" [uppercase]=\"true\" />\n <nol-tree [label]=\"text.sectionProjects\" [nodes]=\"olderRows\" />\n <nol-section-header [label]=\"text.sectionChats\" [icon]=\"text.glyphChat\" [level]=\"4\" [uppercase]=\"true\" [collapsible]=\"true\" />\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-sections\"><nol-section-header nolGalleryHover [label]=\"text.sectionRecent\" [level]=\"4\" [collapsible]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-sections\"><nol-section-header nolGalleryFocus=\"button\" [label]=\"text.sectionRecent\" [level]=\"4\" [collapsible]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-narrow\"><nol-section-header [label]=\"text.sectionLong\" [level]=\"4\" /></div>\n <div class=\"nol-gallery-narrow\"><nol-section-header [label]=\"text.sectionLong\" [icon]=\"text.glyphChat\" [level]=\"4\" /></div>\n <div class=\"nol-gallery-narrow\"><nol-section-header [label]=\"text.sectionLong\" [icon]=\"text.glyphChat\" [level]=\"4\" [collapsible]=\"true\" /></div>\n <div class=\"nol-gallery-narrow\"><nol-section-header [label]=\"text.sectionLong\" [icon]=\"text.glyphChat\" [level]=\"4\" [uppercase]=\"true\" /></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: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"] }]
|
|
41
41
|
}] });
|
|
@@ -23,10 +23,10 @@ export class GallerySelectComponent {
|
|
|
23
23
|
groupOptions = GalleryResources.text.selectGroups.map(t => new SelectGroup(t.label, t.options.map(option => new SelectOption(option.value, option.title, option.tag, option.isDisabled))));
|
|
24
24
|
choice = signal(GalleryResources.text.selectInitial, /* @ts-ignore */
|
|
25
25
|
...(ngDevMode ? [{ debugName: "choice" }] : /* istanbul ignore next */ []));
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
27
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GallerySelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GallerySelectComponent, isStandalone: true, selector: "nol-gallery-select", 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.select\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-select [options]=\"options\" [value]=\"choice()\" [label]=\"text.select\" (valueChange)=\"choice.set($event)\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\"><nol-select [options]=\"options\" value=\"two\" [label]=\"text.disabled\" [disabled]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-select [nolGalleryFocus]=\"focusedSelect\" [options]=\"options\" [value]=\"text.selectInitial\" [label]=\"text.focus\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-select [options]=\"options\" value=\"long\" [label]=\"text.longText\" class=\"nol-gallery-narrow\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selectGroupsCaption\"><nol-select [options]=\"groupOptions\" value=\"fast\" [label]=\"text.selectGroupsCaption\" /></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: SelectComponent, selector: "nol-select", inputs: ["options", "value", "label", "describedBy", "disabled"], outputs: ["valueChange"] }] });
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GallerySelectComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{ selector: "nol-gallery-select", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, SelectComponent], 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.select\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-select [options]=\"options\" [value]=\"choice()\" [label]=\"text.select\" (valueChange)=\"choice.set($event)\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\"><nol-select [options]=\"options\" value=\"two\" [label]=\"text.disabled\" [disabled]=\"true\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-select [nolGalleryFocus]=\"focusedSelect\" [options]=\"options\" [value]=\"text.selectInitial\" [label]=\"text.focus\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-select [options]=\"options\" value=\"long\" [label]=\"text.longText\" class=\"nol-gallery-narrow\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selectGroupsCaption\"><nol-select [options]=\"groupOptions\" value=\"fast\" [label]=\"text.selectGroupsCaption\" /></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"] }]
|
|
32
32
|
}] });
|
|
@@ -18,10 +18,10 @@ export class GallerySpecimenComponent {
|
|
|
18
18
|
...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
19
19
|
size = input(GallerySize.Regular, /* @ts-ignore */
|
|
20
20
|
...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
21
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
22
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GallerySpecimenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GallerySpecimenComponent, isStandalone: true, selector: "nol-gallery-specimen", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "cells", predicate: GalleryCellComponent, 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<section class=\"nol-gallery-specimen\" [attr.aria-label]=\"name()\">\n <h3 class=\"nol-gallery-specimen-name\">{{ name() }}</h3>\n <div class=\"nol-gallery-specimen-cells\" [attr.data-size]=\"size()\">\n <ng-content select=\"nol-gallery-cell:not([long])\" />\n </div>\n @if (hasLongText()) {\n <div class=\"nol-gallery-specimen-long\">\n <ng-content select=\"nol-gallery-cell[long]\" />\n </div>\n }\n <ng-content />\n</section>\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 min-width: 0;\n}\n\n.nol-gallery-specimen {\n display: grid;\n gap: var(--nol-space-3);\n min-width: 0;\n}\n\n.nol-gallery-specimen-name {\n margin: 0;\n color: var(--nol-text-strong);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-label);\n}\n\n.nol-gallery-specimen-cells {\n --nol-gallery-cell: 12.5rem;\n\n display: grid;\n grid-template-columns: repeat(auto-fill, min(var(--nol-gallery-cell), 100%));\n gap: var(--nol-space-4);\n min-width: 0;\n}\n\n.nol-gallery-specimen-cells[data-size=\"Wide\"] {\n --nol-gallery-cell: calc(25rem + var(--nol-space-4));\n}\n\n.nol-gallery-specimen-cells[data-size=\"Full\"] {\n --nol-gallery-cell: 100%;\n}\n\n.nol-gallery-specimen-long {\n display: grid;\n min-width: 0;\n}\n"] });
|
|
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: GallerySpecimenComponent, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
26
|
args: [{ selector: "nol-gallery-specimen", 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<section class=\"nol-gallery-specimen\" [attr.aria-label]=\"name()\">\n <h3 class=\"nol-gallery-specimen-name\">{{ name() }}</h3>\n <div class=\"nol-gallery-specimen-cells\" [attr.data-size]=\"size()\">\n <ng-content select=\"nol-gallery-cell:not([long])\" />\n </div>\n @if (hasLongText()) {\n <div class=\"nol-gallery-specimen-long\">\n <ng-content select=\"nol-gallery-cell[long]\" />\n </div>\n }\n <ng-content />\n</section>\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 min-width: 0;\n}\n\n.nol-gallery-specimen {\n display: grid;\n gap: var(--nol-space-3);\n min-width: 0;\n}\n\n.nol-gallery-specimen-name {\n margin: 0;\n color: var(--nol-text-strong);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-label);\n}\n\n.nol-gallery-specimen-cells {\n --nol-gallery-cell: 12.5rem;\n\n display: grid;\n grid-template-columns: repeat(auto-fill, min(var(--nol-gallery-cell), 100%));\n gap: var(--nol-space-4);\n min-width: 0;\n}\n\n.nol-gallery-specimen-cells[data-size=\"Wide\"] {\n --nol-gallery-cell: calc(25rem + var(--nol-space-4));\n}\n\n.nol-gallery-specimen-cells[data-size=\"Full\"] {\n --nol-gallery-cell: 100%;\n}\n\n.nol-gallery-specimen-long {\n display: grid;\n min-width: 0;\n}\n"] }]
|
|
27
27
|
}], propDecorators: { cells: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => GalleryCellComponent), { isSignal: true }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
|
|
@@ -13,10 +13,10 @@ import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
|
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export class GallerySpinnerComponent {
|
|
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: GallerySpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GallerySpinnerComponent, isStandalone: true, selector: "nol-gallery-spinner", 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.spinner\" noHover noFocus noLongText>\n <nol-gallery-cell [caption]=\"text.working\"><nol-spinner [label]=\"text.spinnerWorking\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.delayed\"><nol-spinner [label]=\"text.spinnerDelayed\" [isDelayed]=\"true\" /></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: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }] });
|
|
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: GallerySpinnerComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: "nol-gallery-spinner", imports: [GalleryCellComponent, GallerySpecimenComponent, SpinnerComponent], 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.spinner\" noHover noFocus noLongText>\n <nol-gallery-cell [caption]=\"text.working\"><nol-spinner [label]=\"text.spinnerWorking\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.delayed\"><nol-spinner [label]=\"text.spinnerDelayed\" [isDelayed]=\"true\" /></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
|
}] });
|
|
@@ -16,10 +16,10 @@ import { GalleryStateDirective } from "./gallery-state.directive.js";
|
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
export class GallerySplitButtonComponent {
|
|
18
18
|
text = GalleryResources.text;
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
20
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GallerySplitButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GallerySplitButtonComponent, isStandalone: true, selector: "nol-gallery-split-button", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.splitButton\" noLongText>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-split-button [icon]=\"text.glyphAdd\" [label]=\"text.splitLabel\" [tooltip]=\"text.splitTooltip\" [menuLabel]=\"text.splitMenuLabel\" [menu]=\"splitMenu\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-split-button nolGalleryHover=\".nol-split-button-main\" [icon]=\"text.glyphAdd\" [label]=\"text.splitLabel\" [tooltip]=\"text.splitTooltip\" [menuLabel]=\"text.splitMenuLabel\" [menu]=\"splitMenu\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\">\n <nol-split-button [icon]=\"text.glyphAdd\" [label]=\"text.splitLabel\" [menuLabel]=\"text.splitMenuLabel\" [menu]=\"splitMenu\" [disabled]=\"true\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-split-button nolGalleryFocus=\".nol-split-button-main\" [icon]=\"text.glyphAdd\" [label]=\"text.splitLabel\" [tooltip]=\"text.splitTooltip\" [menuLabel]=\"text.splitMenuLabel\" [menu]=\"splitMenu\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.busy\">\n <nol-split-button [icon]=\"text.glyphAdd\" [label]=\"text.splitLabel\" [tooltip]=\"text.splitTooltip\" [menuLabel]=\"text.splitMenuLabel\" [menu]=\"splitMenu\" [busy]=\"true\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<ng-template #splitMenu>\n <nol-menu [attr.aria-label]=\"text.splitMenuLabel\">\n <button type=\"button\" nol-menu-item [label]=\"text.splitBlank\"></button>\n <button type=\"button\" nol-menu-item [label]=\"text.splitText\"></button>\n </nol-menu>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n: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: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "component", type: SplitButtonComponent, selector: "nol-split-button", inputs: ["icon", "label", "tooltip", "menuLabel", "menu", "menuAlignment", "tooltipSide", "disabled", "busy"], outputs: ["triggered"] }] });
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GallerySplitButtonComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: "nol-gallery-split-button", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, MenuComponent, MenuItemComponent, SplitButtonComponent], 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.splitButton\" noLongText>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <nol-split-button [icon]=\"text.glyphAdd\" [label]=\"text.splitLabel\" [tooltip]=\"text.splitTooltip\" [menuLabel]=\"text.splitMenuLabel\" [menu]=\"splitMenu\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <nol-split-button nolGalleryHover=\".nol-split-button-main\" [icon]=\"text.glyphAdd\" [label]=\"text.splitLabel\" [tooltip]=\"text.splitTooltip\" [menuLabel]=\"text.splitMenuLabel\" [menu]=\"splitMenu\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\">\n <nol-split-button [icon]=\"text.glyphAdd\" [label]=\"text.splitLabel\" [menuLabel]=\"text.splitMenuLabel\" [menu]=\"splitMenu\" [disabled]=\"true\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-split-button nolGalleryFocus=\".nol-split-button-main\" [icon]=\"text.glyphAdd\" [label]=\"text.splitLabel\" [tooltip]=\"text.splitTooltip\" [menuLabel]=\"text.splitMenuLabel\" [menu]=\"splitMenu\" />\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.busy\">\n <nol-split-button [icon]=\"text.glyphAdd\" [label]=\"text.splitLabel\" [tooltip]=\"text.splitTooltip\" [menuLabel]=\"text.splitMenuLabel\" [menu]=\"splitMenu\" [busy]=\"true\" />\n </nol-gallery-cell>\n</nol-gallery-specimen>\n\n<ng-template #splitMenu>\n <nol-menu [attr.aria-label]=\"text.splitMenuLabel\">\n <button type=\"button\" nol-menu-item [label]=\"text.splitBlank\"></button>\n <button type=\"button\" nol-menu-item [label]=\"text.splitText\"></button>\n </nol-menu>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n: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"] }]
|
|
25
25
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery-split-button.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-split-button.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-split-button.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;;AAQrE,MAAM,OAAO,2BAA2B;IACnB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;uGADnE,2BAA2B;2FAA3B,2BAA2B,oFCxBxC,8xDAgCA,0gEDZY,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,aAAa,2EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"gallery-split-button.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-split-button.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-split-button.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;;AAQrE,MAAM,OAAO,2BAA2B;IACnB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;uGADnE,2BAA2B;2FAA3B,2BAA2B,oFCxBxC,8xDAgCA,0gEDZY,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,aAAa,2EAAE,iBAAiB,6LAAE,oBAAoB;;2FAI5H,2BAA2B;kBANvC,SAAS;+BACE,0BAA0B,WAC3B,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,CAAC"}
|
|
@@ -35,10 +35,10 @@ export class GalleryStateDirective {
|
|
|
35
35
|
this.marked.set(state, target);
|
|
36
36
|
target.setAttribute(GalleryResources.stateAttribute, state);
|
|
37
37
|
}
|
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
39
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.6", type: GalleryStateDirective, isStandalone: true, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: { hoverPart: { classPropertyName: "hoverPart", publicName: "nolGalleryHover", isSignal: true, isRequired: false, transformFunction: null }, focusPart: { classPropertyName: "focusPart", publicName: "nolGalleryFocus", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryStateDirective, decorators: [{
|
|
42
42
|
type: Directive,
|
|
43
43
|
args: [{
|
|
44
44
|
selector: "[nolGalleryHover], [nolGalleryFocus]"
|
|
@@ -17,10 +17,10 @@ export class GallerySwitchComponent {
|
|
|
17
17
|
focusedSwitch = GalleryResources.focusedSwitch;
|
|
18
18
|
isSwitchOn = signal(true, /* @ts-ignore */
|
|
19
19
|
...(ngDevMode ? [{ debugName: "isSwitchOn" }] : /* istanbul ignore next */ []));
|
|
20
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
21
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GallerySwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GallerySwitchComponent, isStandalone: true, selector: "nol-gallery-switch", 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.switch\" noHover>\n <nol-gallery-cell [caption]=\"text.switchOn\"><nol-switch [checked]=\"isSwitchOn()\" (checkedChange)=\"isSwitchOn.set($event)\">{{ text.switchLabel }}</nol-switch></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.switchOff\"><nol-switch>{{ text.switchLabel }}</nol-switch></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.switchNamed\"><nol-switch [checked]=\"true\" [label]=\"text.switchLabel\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\"><nol-switch [checked]=\"true\" [disabled]=\"true\">{{ text.disabled }}</nol-switch></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.switchReasoned\"><nol-switch [checked]=\"true\" [disabled]=\"true\" [disabledReason]=\"text.switchReason\">{{ text.switchUpdates }}</nol-switch></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-switch [nolGalleryFocus]=\"focusedSwitch\">{{ text.switchLabel }}</nol-switch></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-switch class=\"nol-gallery-narrow\">{{ text.longText }}</nol-switch></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: SwitchComponent, selector: "nol-switch", inputs: ["checked", "disabled", "disabledReason", "label"], outputs: ["checkedChange"] }] });
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GallerySwitchComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{ selector: "nol-gallery-switch", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, SwitchComponent], 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.switch\" noHover>\n <nol-gallery-cell [caption]=\"text.switchOn\"><nol-switch [checked]=\"isSwitchOn()\" (checkedChange)=\"isSwitchOn.set($event)\">{{ text.switchLabel }}</nol-switch></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.switchOff\"><nol-switch>{{ text.switchLabel }}</nol-switch></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.switchNamed\"><nol-switch [checked]=\"true\" [label]=\"text.switchLabel\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\"><nol-switch [checked]=\"true\" [disabled]=\"true\">{{ text.disabled }}</nol-switch></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.switchReasoned\"><nol-switch [checked]=\"true\" [disabled]=\"true\" [disabledReason]=\"text.switchReason\">{{ text.switchUpdates }}</nol-switch></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><nol-switch [nolGalleryFocus]=\"focusedSwitch\">{{ text.switchLabel }}</nol-switch></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-switch class=\"nol-gallery-narrow\">{{ text.longText }}</nol-switch></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"] }]
|
|
26
26
|
}] });
|
|
@@ -21,10 +21,10 @@ export class GalleryTabComponent {
|
|
|
21
21
|
tabFailed = new TabStatus(this.text.glyphError, this.text.tabUnreachable, TabTone.Failed);
|
|
22
22
|
tabBlocked = new TabStatus(this.text.glyphBlock, this.text.tabBlocked);
|
|
23
23
|
tabMarker = new TabMarker(this.text.glyphOpenedFrom, this.text.tabOpenedFrom);
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
25
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryTabComponent, isStandalone: true, selector: "nol-gallery-tab", 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.tab\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.defaultState\"><nol-tab [label]=\"text.tabNormal\" [icon]=\"text.glyphDescription\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.hover\"><nol-tab nolGalleryHover [label]=\"text.tabNormal\" [icon]=\"text.glyphDescription\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.selected\"><nol-tab [label]=\"text.tabSelected\" [icon]=\"text.glyphDescription\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabPreviewCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabPreviewCaption\"><nol-tab [label]=\"text.tabPreview\" [preview]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.working\"><nol-tab [label]=\"text.tabWorking\" [working]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabWaitingCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabWaitingCaption\"><nol-tab [label]=\"text.tabWaiting\" [waiting]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabBadgeCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabBadgeCaption\"><nol-tab [label]=\"text.tabBadge\" [badge]=\"text.tabBadgeLabel\" [badgeCount]=\"3\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabNotClosableCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabNotClosableCaption\"><nol-tab [label]=\"text.tabNotClosable\" [closable]=\"false\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabImageCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabImageCaption\"><nol-tab [label]=\"text.tabPage\" [image]=\"tabImage\" [imageGlyph]=\"text.glyphPublic\" [selected]=\"true\" /><nol-tab\n [label]=\"text.tabSite\" [imageGlyph]=\"text.glyphPublic\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabStatusCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabStatusCaption\"><nol-tab [label]=\"text.tabSite\" [status]=\"tabFailed\" [selected]=\"true\" /><nol-tab\n [label]=\"text.tabBlockedSite\" [status]=\"tabBlocked\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabLoadingCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabLoadingCaption\"><nol-tab [label]=\"text.tabSite\" [image]=\"tabImage\" [imageGlyph]=\"text.glyphPublic\" [working]=\"true\"\n [leadingSpinner]=\"true\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabMarkerCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabMarkerCaption\"><nol-tab [label]=\"text.tabPage\" [image]=\"tabImage\" [imageGlyph]=\"text.glyphPublic\" [underline]=\"text.tabUnderline\"\n /><nol-tab [label]=\"text.tabOpened\" [image]=\"tabImage\" [imageGlyph]=\"text.glyphPublic\" [marker]=\"tabMarker\" [underline]=\"text.tabUnderline\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.focus\"><nol-tab nolGalleryFocus [label]=\"text.tabSelected\" [icon]=\"text.glyphDescription\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.longCaption\"><nol-tab class=\"nol-gallery-narrow\" [label]=\"text.tabLong\" [icon]=\"text.glyphDescription\" /></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: 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: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: TabComponent, selector: "nol-tab", inputs: ["label", "icon", "selected", "preview", "working", "waiting", "closable", "badge", "badgeCount", "image", "imageGlyph", "status", "leadingSpinner", "marker", "underline", "editing"], outputs: ["activate", "close", "labelKept", "labelCancelled"] }] });
|
|
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: GalleryTabComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{ selector: "nol-gallery-tab", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, TabComponent], 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.tab\">\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.defaultState\"><nol-tab [label]=\"text.tabNormal\" [icon]=\"text.glyphDescription\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.hover\"><nol-tab nolGalleryHover [label]=\"text.tabNormal\" [icon]=\"text.glyphDescription\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.selected\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.selected\"><nol-tab [label]=\"text.tabSelected\" [icon]=\"text.glyphDescription\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabPreviewCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabPreviewCaption\"><nol-tab [label]=\"text.tabPreview\" [preview]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.working\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.working\"><nol-tab [label]=\"text.tabWorking\" [working]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabWaitingCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabWaitingCaption\"><nol-tab [label]=\"text.tabWaiting\" [waiting]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabBadgeCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabBadgeCaption\"><nol-tab [label]=\"text.tabBadge\" [badge]=\"text.tabBadgeLabel\" [badgeCount]=\"3\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabNotClosableCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabNotClosableCaption\"><nol-tab [label]=\"text.tabNotClosable\" [closable]=\"false\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabImageCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabImageCaption\"><nol-tab [label]=\"text.tabPage\" [image]=\"tabImage\" [imageGlyph]=\"text.glyphPublic\" [selected]=\"true\" /><nol-tab\n [label]=\"text.tabSite\" [imageGlyph]=\"text.glyphPublic\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabStatusCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabStatusCaption\"><nol-tab [label]=\"text.tabSite\" [status]=\"tabFailed\" [selected]=\"true\" /><nol-tab\n [label]=\"text.tabBlockedSite\" [status]=\"tabBlocked\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabLoadingCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabLoadingCaption\"><nol-tab [label]=\"text.tabSite\" [image]=\"tabImage\" [imageGlyph]=\"text.glyphPublic\" [working]=\"true\"\n [leadingSpinner]=\"true\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tabMarkerCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.tabMarkerCaption\"><nol-tab [label]=\"text.tabPage\" [image]=\"tabImage\" [imageGlyph]=\"text.glyphPublic\" [underline]=\"text.tabUnderline\"\n /><nol-tab [label]=\"text.tabOpened\" [image]=\"tabImage\" [imageGlyph]=\"text.glyphPublic\" [marker]=\"tabMarker\" [underline]=\"text.tabUnderline\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.focus\"><nol-tab nolGalleryFocus [label]=\"text.tabSelected\" [icon]=\"text.glyphDescription\" [selected]=\"true\" /></div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div class=\"nol-gallery-strip\" role=\"tablist\" [attr.aria-label]=\"text.longCaption\"><nol-tab class=\"nol-gallery-narrow\" [label]=\"text.tabLong\" [icon]=\"text.glyphDescription\" /></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: 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"] }]
|
|
30
30
|
}] });
|
|
@@ -17,10 +17,10 @@ export class GalleryTerminalOutputComponent {
|
|
|
17
17
|
text = GalleryResources.text;
|
|
18
18
|
sizes = GallerySize;
|
|
19
19
|
terminalOutputs = GalleryTerminalOutputs;
|
|
20
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
21
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryTerminalOutputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryTerminalOutputComponent, isStandalone: true, selector: "nol-gallery-terminal-output", 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.terminalOutput\" [size]=\"sizes.Full\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-terminal-output [lines]=\"terminalOutputs.testRun\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.terminalOutputStylesCaption\"><nol-terminal-output [lines]=\"terminalOutputs.styles\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.terminalOutputCappedCaption\"><nol-terminal-output [lines]=\"terminalOutputs.log\" [maxHeight]=\"8\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-terminal-output class=\"nol-gallery-narrow\" [lines]=\"terminalOutputs.testRun\" /></nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-content-run {\n width: 100%;\n}\n\n.nol-gallery-content-card {\n width: 12.5rem;\n}\n\n.nol-gallery-content-paragraph {\n margin: 0;\n}\n\n.nol-gallery-files {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-gallery-file {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n font-size: var(--nol-text-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-terminal {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n padding: var(--nol-space-3);\n background: var(--nol-terminal-background);\n color: var(--nol-terminal-foreground);\n font-family: var(--nol-font-mono);\n}\n\n.nol-gallery-terminal-color {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-terminal-swatch {\n width: 1rem;\n height: 1rem;\n}\n\n.nol-gallery-status {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-3);\n color: var(--nol-text);\n}\n\n.nol-gallery-status-row {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-status-dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n forced-color-adjust: none;\n}\n\n.nol-gallery-terminal-cursor {\n background: var(--nol-terminal-cursor);\n}\n\n.nol-gallery-terminal-selection {\n background: var(--nol-terminal-selection);\n color: var(--nol-terminal-selection-foreground);\n}\n\n.nol-gallery-content-message {\n font-size: var(--nol-text-message);\n line-height: var(--nol-line-message);\n}\n"], dependencies: [{ kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "component", type: TerminalOutputComponent, selector: "nol-terminal-output", inputs: ["lines", "maxHeight"] }] });
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryTerminalOutputComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{ selector: "nol-gallery-terminal-output", imports: [GalleryCellComponent, GallerySpecimenComponent, TerminalOutputComponent], 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.terminalOutput\" [size]=\"sizes.Full\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-terminal-output [lines]=\"terminalOutputs.testRun\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.terminalOutputStylesCaption\"><nol-terminal-output [lines]=\"terminalOutputs.styles\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.terminalOutputCappedCaption\"><nol-terminal-output [lines]=\"terminalOutputs.log\" [maxHeight]=\"8\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-terminal-output class=\"nol-gallery-narrow\" [lines]=\"terminalOutputs.testRun\" /></nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-content-run {\n width: 100%;\n}\n\n.nol-gallery-content-card {\n width: 12.5rem;\n}\n\n.nol-gallery-content-paragraph {\n margin: 0;\n}\n\n.nol-gallery-files {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.nol-gallery-file {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n font-size: var(--nol-text-panel);\n overflow-wrap: anywhere;\n}\n\n.nol-gallery-terminal {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2) var(--nol-space-4);\n padding: var(--nol-space-3);\n background: var(--nol-terminal-background);\n color: var(--nol-terminal-foreground);\n font-family: var(--nol-font-mono);\n}\n\n.nol-gallery-terminal-color {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-terminal-swatch {\n width: 1rem;\n height: 1rem;\n}\n\n.nol-gallery-status {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-3);\n color: var(--nol-text);\n}\n\n.nol-gallery-status-row {\n display: inline-flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-status-dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n forced-color-adjust: none;\n}\n\n.nol-gallery-terminal-cursor {\n background: var(--nol-terminal-cursor);\n}\n\n.nol-gallery-terminal-selection {\n background: var(--nol-terminal-selection);\n color: var(--nol-terminal-selection-foreground);\n}\n\n.nol-gallery-content-message {\n font-size: var(--nol-text-message);\n line-height: var(--nol-line-message);\n}\n"] }]
|
|
26
26
|
}] });
|
|
@@ -24,10 +24,10 @@ export class GalleryTextFieldComponent {
|
|
|
24
24
|
endTextId = `${GalleryResources.fieldMessageIdPrefix}${GalleryTextFieldComponent.count++}`;
|
|
25
25
|
text = GalleryResources.text;
|
|
26
26
|
fieldMessageKinds = FieldMessageKind;
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
28
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryTextFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryTextFieldComponent, isStandalone: true, selector: "nol-gallery-text-field", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.textField\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\"><input type=\"text\" nol-text-field [placeholder]=\"text.placeholder\" [attr.aria-label]=\"text.textField\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\"><input type=\"text\" nol-text-field [value]=\"text.disabled\" [attr.aria-label]=\"text.disabled\" disabled /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><input type=\"text\" nol-text-field nolGalleryFocus [placeholder]=\"text.placeholder\" [attr.aria-label]=\"text.focus\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <span class=\"nol-gallery-invalid\">\n <input type=\"text\" nol-text-field [value]=\"text.invalidField\" [attr.aria-label]=\"text.error\" aria-invalid=\"true\" [attr.aria-describedby]=\"messageId\" />\n <nol-field-message [id]=\"messageId\">{{ text.validationText }}</nol-field-message>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.noteCaption\">\n <span class=\"nol-gallery-noted\">\n <input type=\"text\" nol-text-field [placeholder]=\"text.placeholder\" [attr.aria-label]=\"text.noteField\" [attr.aria-describedby]=\"noteId\" />\n <nol-field-message [id]=\"noteId\" [kind]=\"fieldMessageKinds.Note\">{{ text.noteText }}</nol-field-message>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFieldLines\">\n <textarea nol-text-field rows=\"4\" [placeholder]=\"text.textFieldLinesPlaceholder\" [attr.aria-label]=\"text.textFieldLines\"></textarea>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFieldAction\">\n <nol-text-field-box>\n <input type=\"text\" nol-text-field [value]=\"text.textFieldActionValue\" [attr.aria-label]=\"text.textFieldActionField\" />\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphFolder\" [label]=\"text.textFieldActionButton\"></button>\n </nol-text-field-box>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFieldActionFocus\">\n <nol-text-field-box>\n <input type=\"text\" nol-text-field [value]=\"text.textFieldActionValue\" [attr.aria-label]=\"text.textFieldActionFocus\" />\n <button type=\"button\" nol-icon-button nolGalleryFocus [icon]=\"text.glyphFolder\" [label]=\"text.textFieldActionButton\"></button>\n </nol-text-field-box>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFieldActionDisabled\">\n <nol-text-field-box>\n <input type=\"text\" nol-text-field [value]=\"text.textFieldActionValue\" [attr.aria-label]=\"text.textFieldActionDisabled\" disabled />\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphFolder\" [label]=\"text.textFieldActionButton\" disabled></button>\n </nol-text-field-box>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFieldEnd\">\n <nol-text-field-box>\n <input type=\"text\" nol-text-field [value]=\"text.textFieldEndValue\" [attr.aria-label]=\"text.textFieldEndField\" [attr.aria-describedby]=\"endTextId\" />\n <span nolTextFieldEnd [id]=\"endTextId\">{{ text.textFieldEndText }}</span>\n </nol-text-field-box>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFieldIcon\">\n <nol-text-field-box [icon]=\"text.glyphSearch\">\n <input type=\"text\" nol-text-field [placeholder]=\"text.textFieldIconPlaceholder\" [attr.aria-label]=\"text.textFieldIconField\" />\n </nol-text-field-box>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <input type=\"text\" nol-text-field [value]=\"text.longValue\" [attr.aria-label]=\"text.longText\" class=\"nol-gallery-narrow\" />\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-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: FieldMessageComponent, selector: "nol-field-message", inputs: ["kind"] }, { 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: "component", type: TextFieldBoxComponent, selector: "nol-text-field-box", inputs: ["icon"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]" }, { kind: "directive", type: TextFieldEndDirective, selector: "[nolTextFieldEnd]" }] });
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryTextFieldComponent, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
32
|
args: [{ selector: "nol-gallery-text-field", imports: [FieldMessageComponent, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, IconButtonComponent, TextFieldBoxComponent, TextFieldComponent, TextFieldEndDirective], 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.textField\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\"><input type=\"text\" nol-text-field [placeholder]=\"text.placeholder\" [attr.aria-label]=\"text.textField\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\"><input type=\"text\" nol-text-field [value]=\"text.disabled\" [attr.aria-label]=\"text.disabled\" disabled /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><input type=\"text\" nol-text-field nolGalleryFocus [placeholder]=\"text.placeholder\" [attr.aria-label]=\"text.focus\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.error\">\n <span class=\"nol-gallery-invalid\">\n <input type=\"text\" nol-text-field [value]=\"text.invalidField\" [attr.aria-label]=\"text.error\" aria-invalid=\"true\" [attr.aria-describedby]=\"messageId\" />\n <nol-field-message [id]=\"messageId\">{{ text.validationText }}</nol-field-message>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.noteCaption\">\n <span class=\"nol-gallery-noted\">\n <input type=\"text\" nol-text-field [placeholder]=\"text.placeholder\" [attr.aria-label]=\"text.noteField\" [attr.aria-describedby]=\"noteId\" />\n <nol-field-message [id]=\"noteId\" [kind]=\"fieldMessageKinds.Note\">{{ text.noteText }}</nol-field-message>\n </span>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFieldLines\">\n <textarea nol-text-field rows=\"4\" [placeholder]=\"text.textFieldLinesPlaceholder\" [attr.aria-label]=\"text.textFieldLines\"></textarea>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFieldAction\">\n <nol-text-field-box>\n <input type=\"text\" nol-text-field [value]=\"text.textFieldActionValue\" [attr.aria-label]=\"text.textFieldActionField\" />\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphFolder\" [label]=\"text.textFieldActionButton\"></button>\n </nol-text-field-box>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFieldActionFocus\">\n <nol-text-field-box>\n <input type=\"text\" nol-text-field [value]=\"text.textFieldActionValue\" [attr.aria-label]=\"text.textFieldActionFocus\" />\n <button type=\"button\" nol-icon-button nolGalleryFocus [icon]=\"text.glyphFolder\" [label]=\"text.textFieldActionButton\"></button>\n </nol-text-field-box>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFieldActionDisabled\">\n <nol-text-field-box>\n <input type=\"text\" nol-text-field [value]=\"text.textFieldActionValue\" [attr.aria-label]=\"text.textFieldActionDisabled\" disabled />\n <button type=\"button\" nol-icon-button [icon]=\"text.glyphFolder\" [label]=\"text.textFieldActionButton\" disabled></button>\n </nol-text-field-box>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFieldEnd\">\n <nol-text-field-box>\n <input type=\"text\" nol-text-field [value]=\"text.textFieldEndValue\" [attr.aria-label]=\"text.textFieldEndField\" [attr.aria-describedby]=\"endTextId\" />\n <span nolTextFieldEnd [id]=\"endTextId\">{{ text.textFieldEndText }}</span>\n </nol-text-field-box>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.textFieldIcon\">\n <nol-text-field-box [icon]=\"text.glyphSearch\">\n <input type=\"text\" nol-text-field [placeholder]=\"text.textFieldIconPlaceholder\" [attr.aria-label]=\"text.textFieldIconField\" />\n </nol-text-field-box>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <input type=\"text\" nol-text-field [value]=\"text.longValue\" [attr.aria-label]=\"text.longText\" class=\"nol-gallery-narrow\" />\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-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"] }]
|
|
33
33
|
}] });
|
|
@@ -15,10 +15,10 @@ import { GalleryStateDirective } from "./gallery-state.directive.js";
|
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
16
|
export class GalleryToolbarButtonComponent {
|
|
17
17
|
text = GalleryResources.text;
|
|
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: GalleryToolbarButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryToolbarButtonComponent, isStandalone: true, selector: "nol-gallery-toolbar-button", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.toolbarButtons\">\n <nol-gallery-cell [caption]=\"text.defaultState\"><button type=\"button\" nol-toolbar-button [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\"><button type=\"button\" nol-toolbar-button nolGalleryHover [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolbarWithLabel\">\n <button type=\"button\" nol-toolbar-button [icon]=\"text.glyphSave\" [label]=\"text.toolbarWithLabel\" [isShowingLabel]=\"true\"></button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.pressed\"><button type=\"button\" nol-toolbar-button [icon]=\"text.iconGlyph\" [label]=\"text.pressed\" [pressed]=\"true\"></button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.menu\">\n <button type=\"button\" nol-toolbar-button [icon]=\"text.glyphDescription\" [label]=\"text.menu\" [isShowingLabel]=\"true\" [hasMenu]=\"true\"></button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\">\n <button type=\"button\" nol-toolbar-button [icon]=\"text.glyphAdd\" [label]=\"text.disabled\" [isUnavailable]=\"true\"></button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><button type=\"button\" nol-toolbar-button nolGalleryFocus [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.busy\"><button type=\"button\" nol-toolbar-button [busy]=\"true\" [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><button type=\"button\" nol-toolbar-button class=\"nol-gallery-narrow\" [label]=\"text.longText\" [nolTooltip]=\"text.longText\" [nolTooltipTruncated]=\"true\"></button></nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-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: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "busy"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
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: GalleryToolbarButtonComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{ selector: "nol-gallery-toolbar-button", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, ToolbarButtonComponent, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.toolbarButtons\">\n <nol-gallery-cell [caption]=\"text.defaultState\"><button type=\"button\" nol-toolbar-button [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.hover\"><button type=\"button\" nol-toolbar-button nolGalleryHover [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.toolbarWithLabel\">\n <button type=\"button\" nol-toolbar-button [icon]=\"text.glyphSave\" [label]=\"text.toolbarWithLabel\" [isShowingLabel]=\"true\"></button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.pressed\"><button type=\"button\" nol-toolbar-button [icon]=\"text.iconGlyph\" [label]=\"text.pressed\" [pressed]=\"true\"></button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.menu\">\n <button type=\"button\" nol-toolbar-button [icon]=\"text.glyphDescription\" [label]=\"text.menu\" [isShowingLabel]=\"true\" [hasMenu]=\"true\"></button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.disabled\">\n <button type=\"button\" nol-toolbar-button [icon]=\"text.glyphAdd\" [label]=\"text.disabled\" [isUnavailable]=\"true\"></button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\"><button type=\"button\" nol-toolbar-button nolGalleryFocus [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.busy\"><button type=\"button\" nol-toolbar-button [busy]=\"true\" [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><button type=\"button\" nol-toolbar-button class=\"nol-gallery-narrow\" [label]=\"text.longText\" [nolTooltip]=\"text.longText\" [nolTooltipTruncated]=\"true\"></button></nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-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
|
}] });
|
|
@@ -19,10 +19,10 @@ export class GalleryTooltipComponent {
|
|
|
19
19
|
text = GalleryResources.text;
|
|
20
20
|
variants = ButtonVariant;
|
|
21
21
|
below = OverlaySide.below;
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryTooltipComponent, isStandalone: true, selector: "nol-gallery-tooltip", 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.tooltip\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-tooltip [text]=\"text.tooltipText\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.triggerCaption\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [nolTooltip]=\"text.tooltipText\" [nolTooltipSide]=\"below\">{{ text.tooltipTrigger }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tooltipDescribedCaption\"><nol-tooltip [text]=\"text.tooltipTitle\" [description]=\"text.tooltipDescription\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-tooltip class=\"nol-gallery-narrow\" [text]=\"text.tooltipLong\" /></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: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "component", type: TooltipComponent, selector: "nol-tooltip", inputs: ["text", "description"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryTooltipComponent, decorators: [{
|
|
26
26
|
type: Component,
|
|
27
27
|
args: [{ selector: "nol-gallery-tooltip", imports: [ButtonComponent, GalleryCellComponent, GallerySpecimenComponent, TooltipComponent, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.tooltip\" noHover noFocus>\n <nol-gallery-cell [caption]=\"text.defaultState\"><nol-tooltip [text]=\"text.tooltipText\" /></nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.triggerCaption\">\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" [nolTooltip]=\"text.tooltipText\" [nolTooltipSide]=\"below\">{{ text.tooltipTrigger }}</button>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.tooltipDescribedCaption\"><nol-tooltip [text]=\"text.tooltipTitle\" [description]=\"text.tooltipDescription\" /></nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\"><nol-tooltip class=\"nol-gallery-narrow\" [text]=\"text.tooltipLong\" /></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"] }]
|
|
28
28
|
}] });
|