@noldova/ui.components.angular 0.0.6 → 0.0.8
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/app/components/button/button.component.d.ts +1 -0
- package/app/components/button/button.component.js +5 -2
- package/app/components/button/button.component.js.map +1 -1
- package/app/components/diff-view/diff-view.component.js +1 -1
- package/app/components/diff-view/diff-view.component.js.map +1 -1
- package/app/components/gallery/gallery-button.component.js +2 -2
- package/app/components/gallery/gallery-button.component.js.map +1 -1
- package/app/components/gallery/gallery-content.component.js +2 -2
- package/app/components/gallery/gallery-content.component.js.map +1 -1
- package/app/components/gallery/gallery-menu.component.js +1 -1
- package/app/components/gallery/gallery-menu.component.js.map +1 -1
- package/app/components/gallery/gallery-navigation.component.js +1 -1
- package/app/components/gallery/gallery-navigation.component.js.map +1 -1
- package/app/components/gallery/gallery-resources.d.ts +10 -0
- package/app/components/gallery/gallery-resources.js +10 -0
- package/app/components/gallery/gallery-resources.js.map +1 -1
- package/app/components/gallery/gallery-terminal-output.component.js +2 -2
- package/app/components/gallery/gallery-terminal-output.component.js.map +1 -1
- package/app/components/gallery/gallery-tool-calls.d.ts +2 -0
- package/app/components/gallery/gallery-tool-calls.js +4 -0
- package/app/components/gallery/gallery-tool-calls.js.map +1 -1
- package/app/components/gallery/gallery-toolbar-button.component.js +1 -1
- package/app/components/gallery/gallery-toolbar-button.component.js.map +1 -1
- package/app/components/menu/context-menu-trigger.directive.d.ts +1 -0
- package/app/components/menu/context-menu-trigger.directive.js +5 -2
- package/app/components/menu/context-menu-trigger.directive.js.map +1 -1
- package/app/components/menu/menu-group.component.d.ts +9 -1
- package/app/components/menu/menu-group.component.js +8 -4
- package/app/components/menu/menu-group.component.js.map +1 -1
- package/app/components/menu/menu-trigger.directive.js +4 -1
- package/app/components/menu/menu-trigger.directive.js.map +1 -1
- package/app/components/tab/tab.component.d.ts +3 -2
- package/app/components/tab/tab.component.js +2 -2
- package/app/components/tab/tab.component.js.map +1 -1
- package/app/components/terminal-output/terminal-output.component.js +9 -3
- package/app/components/terminal-output/terminal-output.component.js.map +1 -1
- package/app/components/tool-call/tool-call-component.resources.d.ts +3 -0
- package/app/components/tool-call/tool-call-component.resources.js +5 -0
- package/app/components/tool-call/tool-call-component.resources.js.map +1 -1
- package/app/components/tool-call/tool-call.component.d.ts +1 -0
- package/app/components/tool-call/tool-call.component.js +4 -2
- package/app/components/tool-call/tool-call.component.js.map +1 -1
- package/app/components/toolbar-button/toolbar-button.component.d.ts +10 -1
- package/app/components/toolbar-button/toolbar-button.component.js +6 -3
- package/app/components/toolbar-button/toolbar-button.component.js.map +1 -1
- package/app/enums/button-variant.d.ts +11 -1
- package/app/enums/button-variant.js +1 -0
- package/app/enums/button-variant.js.map +1 -1
- package/app/interfaces/i-tool-call-options.d.ts +5 -0
- package/app/models/default-theme.js +48 -2
- package/app/models/default-theme.js.map +1 -1
- package/app/models/terminal-output-palette.d.ts +2 -0
- package/app/models/terminal-output-palette.js +6 -0
- package/app/models/terminal-output-palette.js.map +1 -1
- package/app/models/tool-call.d.ts +6 -2
- package/app/models/tool-call.js +4 -0
- package/app/models/tool-call.js.map +1 -1
- package/package.json +2 -2
- package/resources.js +23 -0
- package/resources.js.map +1 -1
- package/styles/status.css +2 -0
- package/styles/terminal.css +47 -1
- package/styles/theme.css +69 -0
- package/testing/models/fixture-theme.js +48 -2
- package/testing/models/fixture-theme.js.map +1 -1
|
@@ -18,10 +18,10 @@ export class GalleryTerminalOutputComponent {
|
|
|
18
18
|
sizes = GallerySize;
|
|
19
19
|
terminalOutputs = GalleryTerminalOutputs;
|
|
20
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"] }] });
|
|
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 [caption]=\"text.terminalOutputDarkCaption\"><div class=\"nol-terminal-dark\"><nol-terminal-output [lines]=\"terminalOutputs.testRun\" /></div></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
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryTerminalOutputComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
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"] }]
|
|
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 [caption]=\"text.terminalOutputDarkCaption\"><div class=\"nol-terminal-dark\"><nol-terminal-output [lines]=\"terminalOutputs.testRun\" /></div></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
|
}] });
|
|
27
27
|
//# sourceMappingURL=gallery-terminal-output.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery-terminal-output.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-terminal-output.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-terminal-output.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;;AAQvE,MAAM,OAAO,8BAA8B;IACtB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,eAAe,GAAkC,sBAAsB,CAAC;uGAHhF,8BAA8B;2FAA9B,8BAA8B,uFCvB3C,
|
|
1
|
+
{"version":3,"file":"gallery-terminal-output.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-terminal-output.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-terminal-output.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;;AAQvE,MAAM,OAAO,8BAA8B;IACtB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;IACxC,eAAe,GAAkC,sBAAsB,CAAC;uGAHhF,8BAA8B;2FAA9B,8BAA8B,uFCvB3C,mjCAeA,s/DDIY,oBAAoB,kFAAE,wBAAwB,2FAAE,uBAAuB;;2FAItE,8BAA8B;kBAN1C,SAAS;+BACE,6BAA6B,WAC9B,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,uBAAuB,CAAC"}
|
|
@@ -15,6 +15,8 @@ export declare class GalleryToolCalls {
|
|
|
15
15
|
readonly queued: ToolCall;
|
|
16
16
|
readonly awaiting: ToolCall;
|
|
17
17
|
readonly answering: ToolCall;
|
|
18
|
+
readonly noted: ToolCall;
|
|
19
|
+
readonly notedBare: ToolCall;
|
|
18
20
|
readonly cancelled: ToolCall;
|
|
19
21
|
readonly denied: ToolCall;
|
|
20
22
|
readonly nothing: ToolCall;
|
|
@@ -22,6 +22,8 @@ export class GalleryToolCalls {
|
|
|
22
22
|
queued;
|
|
23
23
|
awaiting;
|
|
24
24
|
answering;
|
|
25
|
+
noted;
|
|
26
|
+
notedBare;
|
|
25
27
|
cancelled;
|
|
26
28
|
denied;
|
|
27
29
|
nothing;
|
|
@@ -51,6 +53,8 @@ export class GalleryToolCalls {
|
|
|
51
53
|
this.queued = new ToolCall(text.toolCallQueuedCaption, text.toolCallSearchTitle, ToolCallKind.Search, ToolCallStatus.Pending, { input: search });
|
|
52
54
|
this.awaiting = new ToolCall(text.toolCallPermissionCaption, text.toolCallEditTitle, ToolCallKind.Edit, ToolCallStatus.AwaitingPermission, { target: text.toolCallEditTarget });
|
|
53
55
|
this.answering = new ToolCall(text.toolCallAnswerCaption, text.toolCallAskTitle, ToolCallKind.Other, ToolCallStatus.AwaitingAnswer);
|
|
56
|
+
this.noted = new ToolCall(text.toolCallNoteCaption, text.toolCallClickTitle, ToolCallKind.Browse, ToolCallStatus.AwaitingAnswer, { target: text.toolCallBrowseTarget, note: text.toolCallNote });
|
|
57
|
+
this.notedBare = new ToolCall(text.toolCallNoteBareCaption, text.toolCallAskTitle, ToolCallKind.Other, ToolCallStatus.AwaitingAnswer, { note: text.toolCallNote });
|
|
54
58
|
this.cancelled = new ToolCall(text.toolCallCancelledCaption, text.toolCallBrowseTitle, ToolCallKind.Browse, ToolCallStatus.Cancelled, { target: text.toolCallBrowseTarget, startedAt: started, endedAt: now });
|
|
55
59
|
this.denied = new ToolCall(text.toolCallDeniedCaption, text.toolCallEditTitle, ToolCallKind.Edit, ToolCallStatus.Denied, { target: text.toolCallEditTarget });
|
|
56
60
|
this.nothing = new ToolCall(text.toolCallNothingCaption, text.toolCallNothingTitle, ToolCallKind.Other, ToolCallStatus.Succeeded, { outputState: ToolCallOutputState.None });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery-tool-calls.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-tool-calls.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,MAAM,OAAO,gBAAgB;IACnB,MAAM,CAAU,OAAO,GAAW,IAAI,CAAC;IACvC,MAAM,CAAU,WAAW,GAAW,IAAI,CAAC;IAEnC,IAAI,CAAW;IACf,OAAO,CAAW;IAClB,MAAM,CAAW;IACjB,QAAQ,CAAW;IACnB,SAAS,CAAW;IACpB,SAAS,CAAW;IACpB,MAAM,CAAW;IACjB,OAAO,CAAW;IAClB,MAAM,CAAW;IACjB,YAAY,CAAW;IACvB,UAAU,CAAW;IACrB,QAAQ,CAAW;IACnB,OAAO,CAAW;IAClB,OAAO,CAAW;IAClB,MAAM,CAAW;IACjB,UAAU,CAAW;IACrB,IAAI,CAAW;IACf,YAAY,CAAgB;IAC5B,WAAW,CAAgB;IAC3B,SAAS,CAAgB;IAEzC,YAAmB,GAAS;QAC1B,MAAM,EAAE,IAAI,EAAE,GAAG,gBAAgB,CAAC;QAClC,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,gBAAgB,CA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,OAAa,EAAE,GAAS,EAAE,QAA6B;QACxF,MAAM,KAAK,GAAG,gBAAgB,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;QACzD,OAAO,IAAI,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,YAAY,CAAC,KAAK,EAAE,cAAc,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClI,CAAC;IAEO,MAAM,CAAC,IAAI,CAAC,IAAc;QAChC,OAAO,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACzE,CAAC"}
|
|
1
|
+
{"version":3,"file":"gallery-tool-calls.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-tool-calls.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,MAAM,OAAO,gBAAgB;IACnB,MAAM,CAAU,OAAO,GAAW,IAAI,CAAC;IACvC,MAAM,CAAU,WAAW,GAAW,IAAI,CAAC;IAEnC,IAAI,CA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O,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClI,CAAC;IAEO,MAAM,CAAC,IAAI,CAAC,IAAc;QAChC,OAAO,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACzE,CAAC"}
|
|
@@ -16,7 +16,7 @@ import * as i0 from "@angular/core";
|
|
|
16
16
|
export class GalleryToolbarButtonComponent {
|
|
17
17
|
text = GalleryResources.text;
|
|
18
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"] }] });
|
|
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", "isPressedWhileOpen", "busy"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
20
20
|
}
|
|
21
21
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryToolbarButtonComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery-toolbar-button.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-toolbar-button.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-toolbar-button.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;;AAQrE,MAAM,OAAO,6BAA6B;IACrB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;uGADnE,6BAA6B;2FAA7B,6BAA6B,sFCvB1C,khEAyBA,y/BDNY,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"gallery-toolbar-button.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-toolbar-button.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-toolbar-button.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;;AAQrE,MAAM,OAAO,6BAA6B;IACrB,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;uGADnE,6BAA6B;2FAA7B,6BAA6B,sFCvB1C,khEAyBA,y/BDNY,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,sBAAsB,yLAAE,gBAAgB;;2FAI9G,6BAA6B;kBANzC,SAAS;+BACE,4BAA4B,WAC7B,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,gBAAgB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CdkMenuTriggerBase, MENU_STACK, MenuStack, MenuTracker } from "@angular/cdk/menu";
|
|
2
|
-
import { DOCUMENT, Directive, ElementRef, Injector, inject } from "@angular/core";
|
|
2
|
+
import { ChangeDetectorRef, DOCUMENT, Directive, ElementRef, Injector, inject } from "@angular/core";
|
|
3
3
|
import { takeUntil } from "rxjs";
|
|
4
4
|
import "@noldova/context.core";
|
|
5
5
|
import { OverlayAlignment } from "../../enums/overlay-alignment.js";
|
|
@@ -13,6 +13,7 @@ export class ContextMenuTriggerDirective extends CdkMenuTriggerBase {
|
|
|
13
13
|
host = inject(ElementRef).nativeElement;
|
|
14
14
|
document = inject(DOCUMENT);
|
|
15
15
|
tracker = inject(MenuTracker);
|
|
16
|
+
changes = inject(ChangeDetectorRef);
|
|
16
17
|
anchored = new AnchoredOverlay(inject(Injector), Resources.menuPaneClass);
|
|
17
18
|
echoes = [];
|
|
18
19
|
target = this.host;
|
|
@@ -24,6 +25,7 @@ export class ContextMenuTriggerDirective extends CdkMenuTriggerBase {
|
|
|
24
25
|
this.closed.next();
|
|
25
26
|
this.takeLostFocus();
|
|
26
27
|
this.anchored.close();
|
|
28
|
+
this.changes.markForCheck();
|
|
27
29
|
}
|
|
28
30
|
if (focusParentTrigger === true && this.menuStack.isEmpty())
|
|
29
31
|
this.target.focus();
|
|
@@ -83,7 +85,7 @@ export class ContextMenuTriggerDirective extends CdkMenuTriggerBase {
|
|
|
83
85
|
this.menuStack.closeAll();
|
|
84
86
|
}
|
|
85
87
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ContextMenuTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
86
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.6", type: ContextMenuTriggerDirective, isStandalone: true, selector: "[nolContextMenuTriggerFor]", inputs: { menuTemplateRef: ["nolContextMenuTriggerFor", "menuTemplateRef"] }, host: { listeners: { "contextmenu": "openAtPointer($event)", "keydown": "openFromKeyboard($event)" }, properties: { "attr.data-cdk-menu-stack-id": "null" } }, providers: [{ provide: MENU_STACK, useClass: MenuStack }], exportAs: ["nolContextMenuTriggerFor"], usesInheritance: true, ngImport: i0 });
|
|
88
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.6", type: ContextMenuTriggerDirective, isStandalone: true, selector: "[nolContextMenuTriggerFor]", inputs: { menuTemplateRef: ["nolContextMenuTriggerFor", "menuTemplateRef"] }, host: { listeners: { "contextmenu": "openAtPointer($event)", "keydown": "openFromKeyboard($event)" }, properties: { "attr.data-cdk-menu-stack-id": "null", "attr.aria-controls": "isOpen() ? childMenu?.id : null" } }, providers: [{ provide: MENU_STACK, useClass: MenuStack }], exportAs: ["nolContextMenuTriggerFor"], usesInheritance: true, ngImport: i0 });
|
|
87
89
|
}
|
|
88
90
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ContextMenuTriggerDirective, decorators: [{
|
|
89
91
|
type: Directive,
|
|
@@ -93,6 +95,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImpor
|
|
|
93
95
|
inputs: [{ name: "menuTemplateRef", alias: "nolContextMenuTriggerFor" }],
|
|
94
96
|
host: {
|
|
95
97
|
"[attr.data-cdk-menu-stack-id]": "null",
|
|
98
|
+
"[attr.aria-controls]": "isOpen() ? childMenu?.id : null",
|
|
96
99
|
"(contextmenu)": "openAtPointer($event)",
|
|
97
100
|
"(keydown)": "openFromKeyboard($event)"
|
|
98
101
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-menu-trigger.directive.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/menu/context-menu-trigger.directive.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3F,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"context-menu-trigger.directive.js","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I,IAAI,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;YACzE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC;IAC/C,CAAC;IAEO,gBAAgB,CAAC,KAAiB;QACxC,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;YACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,IAAI,CAAC,CAAC;YACxD,OAAO;QACT,CAAC;QACD,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;IAC5B,CAAC;uGAlFU,2BAA2B;2FAA3B,2BAA2B,+WAF3B,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;;2FAE9C,2BAA2B;kBAZvC,SAAS;mBAAC;oBACT,QAAQ,EAAE,4BAA4B;oBACtC,QAAQ,EAAE,0BAA0B;oBACpC,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,0BAA0B,EAAE,CAAC;oBACxE,IAAI,EAAE;wBACJ,+BAA+B,EAAE,MAAM;wBACvC,sBAAsB,EAAE,iCAAiC;wBACzD,eAAe,EAAE,uBAAuB;wBACxC,WAAW,EAAE,0BAA0B;qBACxC;oBACD,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;iBAC1D"}
|
|
@@ -80,6 +80,14 @@ export declare class MenuGroupComponent {
|
|
|
80
80
|
* ```
|
|
81
81
|
*/
|
|
82
82
|
readonly maxRows: import("@angular/core").InputSignal<number | null>;
|
|
83
|
+
/**
|
|
84
|
+
* Whether the label shows in the uppercase heading look, as an uppercase
|
|
85
|
+
* section header's: the small text size, the emphasis weight and the caps
|
|
86
|
+
* letter spacing, in capitals, on the label's own line and in its muted
|
|
87
|
+
* color; the group's accessible name stays the label as written. False
|
|
88
|
+
* when not bound.
|
|
89
|
+
*/
|
|
90
|
+
readonly uppercase: import("@angular/core").InputSignal<boolean>;
|
|
83
91
|
/**
|
|
84
92
|
* Creates the group, which Angular does for each `nol-menu-group` element;
|
|
85
93
|
* after each render it fits the group's rows to `maxRows`.
|
|
@@ -102,5 +110,5 @@ export declare class MenuGroupComponent {
|
|
|
102
110
|
protected settle(): void;
|
|
103
111
|
protected reveal(event: FocusEvent): void;
|
|
104
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuGroupComponent, never>;
|
|
105
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuGroupComponent, "nol-menu-group", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; }, {}, ["items"], ["[nolMenuGroupAction]", "*"], true, never>;
|
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuGroupComponent, "nol-menu-group", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "uppercase": { "alias": "uppercase"; "required": false; "isSignal": true; }; }, {}, ["items"], ["[nolMenuGroupAction]", "*"], true, never>;
|
|
106
114
|
}
|
|
@@ -21,6 +21,8 @@ export class MenuGroupComponent {
|
|
|
21
21
|
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
22
22
|
maxRows = input(null, /* @ts-ignore */
|
|
23
23
|
...(ngDevMode ? [{ debugName: "maxRows" }] : /* istanbul ignore next */ []));
|
|
24
|
+
uppercase = input(false, /* @ts-ignore */
|
|
25
|
+
...(ngDevMode ? [{ debugName: "uppercase" }] : /* istanbul ignore next */ []));
|
|
24
26
|
constructor() {
|
|
25
27
|
afterRenderEffect(onCleanup => {
|
|
26
28
|
const rows = this.rows().nativeElement;
|
|
@@ -74,13 +76,15 @@ export class MenuGroupComponent {
|
|
|
74
76
|
this.settled = rows.scrollTop;
|
|
75
77
|
}
|
|
76
78
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MenuGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
77
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.6", type: MenuGroupComponent, isStandalone: true, selector: "nol-menu-group", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, maxRows: { classPropertyName: "maxRows", publicName: "maxRows", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "attr.aria-labelledby": "labelId" } }, queries: [{ propertyName: "items", predicate: CdkMenuItem, read: ElementRef, isSignal: true }], viewQueries: [{ propertyName: "rows", first: true, predicate: ["rows"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"nol-menu-label\" aria-hidden=\"true\" [id]=\"labelId\">{{ label() }}</div>\n<ng-content select=\"[nolMenuGroupAction]\" />\n<div #rows class=\"nol-menu-group-rows\" (scroll)=\"settle()\" (focusin)=\"reveal($event)\"><ng-content /></div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-menu-label {\n grid-row: 1;\n}\n\n:host(:has(> .nol-menu-group-action)) .nol-menu-label {\n padding-inline-end: calc(var(--nol-menu-item-inset) + var(--nol-menu-item-padding) + var(--nol-icon-button) + var(--nol-space-2));\n}\n\n.nol-menu-group-rows {\n display: contents;\n}\n\n.nol-menu-group-scrolls {\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n grid-auto-rows: min-content;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n scrollbar-gutter: stable;\n}\n"] });
|
|
79
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.6", type: MenuGroupComponent, isStandalone: true, selector: "nol-menu-group", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, maxRows: { classPropertyName: "maxRows", publicName: "maxRows", isSignal: true, isRequired: false, transformFunction: null }, uppercase: { classPropertyName: "uppercase", publicName: "uppercase", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "attr.aria-labelledby": "uppercase() ? null : labelId", "attr.aria-label": "uppercase() ? label() : null", "class.nol-menu-group-uppercase": "uppercase()" } }, queries: [{ propertyName: "items", predicate: CdkMenuItem, read: ElementRef, isSignal: true }], viewQueries: [{ propertyName: "rows", first: true, predicate: ["rows"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"nol-menu-label\" aria-hidden=\"true\" [id]=\"labelId\">{{ label() }}</div>\n<ng-content select=\"[nolMenuGroupAction]\" />\n<div #rows class=\"nol-menu-group-rows\" (scroll)=\"settle()\" (focusin)=\"reveal($event)\"><ng-content /></div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-menu-label {\n grid-row: 1;\n}\n\n:host(.nol-menu-group-uppercase) .nol-menu-label {\n font-size: var(--nol-text-small);\n font-weight: var(--nol-weight-emphasis);\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n:host(:has(> .nol-menu-group-action)) .nol-menu-label {\n padding-inline-end: calc(var(--nol-menu-item-inset) + var(--nol-menu-item-padding) + var(--nol-icon-button) + var(--nol-space-2));\n}\n\n.nol-menu-group-rows {\n display: contents;\n}\n\n.nol-menu-group-scrolls {\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n grid-auto-rows: min-content;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n scrollbar-gutter: stable;\n}\n"] });
|
|
78
80
|
}
|
|
79
81
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MenuGroupComponent, decorators: [{
|
|
80
82
|
type: Component,
|
|
81
83
|
args: [{ selector: "nol-menu-group", host: {
|
|
82
84
|
"role": "group",
|
|
83
|
-
"[attr.aria-labelledby]": "labelId"
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
"[attr.aria-labelledby]": "uppercase() ? null : labelId",
|
|
86
|
+
"[attr.aria-label]": "uppercase() ? label() : null",
|
|
87
|
+
"[class.nol-menu-group-uppercase]": "uppercase()"
|
|
88
|
+
}, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"nol-menu-label\" aria-hidden=\"true\" [id]=\"labelId\">{{ label() }}</div>\n<ng-content select=\"[nolMenuGroupAction]\" />\n<div #rows class=\"nol-menu-group-rows\" (scroll)=\"settle()\" (focusin)=\"reveal($event)\"><ng-content /></div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-menu-label {\n grid-row: 1;\n}\n\n:host(.nol-menu-group-uppercase) .nol-menu-label {\n font-size: var(--nol-text-small);\n font-weight: var(--nol-weight-emphasis);\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n:host(:has(> .nol-menu-group-action)) .nol-menu-label {\n padding-inline-end: calc(var(--nol-menu-item-inset) + var(--nol-menu-item-padding) + var(--nol-icon-button) + var(--nol-space-2));\n}\n\n.nol-menu-group-rows {\n display: contents;\n}\n\n.nol-menu-group-scrolls {\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n grid-auto-rows: min-content;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n scrollbar-gutter: stable;\n}\n"] }]
|
|
89
|
+
}], ctorParameters: () => [], propDecorators: { rows: [{ type: i0.ViewChild, args: ["rows", { isSignal: true }] }], items: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => CdkMenuItem), { ...{ read: ElementRef }, isSignal: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], maxRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxRows", required: false }] }], uppercase: [{ type: i0.Input, args: [{ isSignal: true, alias: "uppercase", required: false }] }] } });
|
|
86
90
|
//# sourceMappingURL=menu-group.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-group.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/menu/menu-group.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/menu/menu-group.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,iBAAiB,EAAE,eAAe,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE5G,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;;
|
|
1
|
+
{"version":3,"file":"menu-group.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/menu/menu-group.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/menu/menu-group.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,O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AI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,EAAE,GAAG,CAAC,CAAC;QAC9F,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC;IAChC,CAAC;uGAnEU,kBAAkB;2FAAlB,kBAAkB,4rBAIkD,WAAW,QAAU,UAAU,2JC9BhH,oaAWA;;2FDea,kBAAkB;kBAX9B,SAAS;+BACE,gBAAgB,QAGpB;wBACJ,MAAM,EAAE,OAAO;wBACf,wBAAwB,EAAE,8BAA8B;wBACxD,mBAAmB,EAAE,8BAA8B;wBACnD,kCAAkC,EAAE,aAAa;qBAClD;4FAKmE,MAAM,yFACK,WAAW,QAAE,EAAE,IAAI,EAAE,UAAU,EAAE"}
|
|
@@ -65,7 +65,7 @@ export class MenuTriggerDirective extends CdkMenuTrigger {
|
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MenuTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
68
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.6", type: MenuTriggerDirective, isStandalone: true, selector: "[nolMenuTriggerFor]", inputs: { menuTemplateRef: { classPropertyName: "menuTemplateRef", publicName: "nolMenuTriggerFor", isSignal: false, isRequired: false, transformFunction: null }, alignment: { classPropertyName: "alignment", publicName: "nolMenuAlignment", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: CdkMenuTrigger, useExisting: forwardRef(() => MenuTriggerDirective) }, { provide: MENU_STACK, useFactory: () => MenuTriggerDirective.stack() },
|
|
68
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.6", type: MenuTriggerDirective, isStandalone: true, selector: "[nolMenuTriggerFor]", inputs: { menuTemplateRef: { classPropertyName: "menuTemplateRef", publicName: "nolMenuTriggerFor", isSignal: false, isRequired: false, transformFunction: null }, alignment: { classPropertyName: "alignment", publicName: "nolMenuAlignment", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-controls": "isOpen() ? childMenu?.id : null" } }, providers: [{ provide: CdkMenuTrigger, useExisting: forwardRef(() => MenuTriggerDirective) }, { provide: MENU_STACK, useFactory: () => MenuTriggerDirective.stack() },
|
|
69
69
|
ElementDirectionality.provide()], exportAs: ["nolMenuTriggerFor"], usesInheritance: true, ngImport: i0 });
|
|
70
70
|
}
|
|
71
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: MenuTriggerDirective, decorators: [{
|
|
@@ -74,6 +74,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImpor
|
|
|
74
74
|
selector: "[nolMenuTriggerFor]",
|
|
75
75
|
exportAs: "nolMenuTriggerFor",
|
|
76
76
|
inputs: [{ name: "menuTemplateRef", alias: "nolMenuTriggerFor" }],
|
|
77
|
+
host: {
|
|
78
|
+
"[attr.aria-controls]": "isOpen() ? childMenu?.id : null"
|
|
79
|
+
},
|
|
77
80
|
providers: [{ provide: CdkMenuTrigger, useExisting: forwardRef(() => MenuTriggerDirective) }, { provide: MENU_STACK, useFactory: () => MenuTriggerDirective.stack() },
|
|
78
81
|
ElementDirectionality.provide()]
|
|
79
82
|
}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-trigger.directive.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/menu/menu-trigger.directive.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAa,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC3G,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACrG,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAEjC,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;;
|
|
1
|
+
{"version":3,"file":"menu-trigger.directive.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/menu/menu-trigger.directive.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAa,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC3G,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACrG,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAEjC,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;;AAYlD,MAAM,OAAO,oBAAqB,SAAQ,cAAc;IACrC,IAAI,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iC;qBAC1D;oBACD,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,qBAAqB,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,qBAAqB,KAAK,EAAE,EAAE;wBACnK,qBAAqB,CAAC,OAAO,EAAE,CAAC;iBACnC"}
|
|
@@ -125,8 +125,9 @@ export declare class TabComponent {
|
|
|
125
125
|
*/
|
|
126
126
|
readonly status: import("@angular/core").InputSignal<TabStatus | null>;
|
|
127
127
|
/**
|
|
128
|
-
* Whether a working tab shows its spinner before the title, 0.75rem
|
|
129
|
-
* a 1.5px stroke
|
|
128
|
+
* Whether a working tab shows its spinner before the title, a 0.75rem
|
|
129
|
+
* ring with a 1.5px stroke centred in the icon's 1rem box, so the title
|
|
130
|
+
* stays in place, in place of its image, status or icon, and keeps its
|
|
130
131
|
* close button at the end, as it is when not working; false when not
|
|
131
132
|
* bound, which keeps the spinner at the end. The waiting hand still wins.
|
|
132
133
|
*/
|
|
@@ -133,7 +133,7 @@ export class TabComponent {
|
|
|
133
133
|
report();
|
|
134
134
|
}
|
|
135
135
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: TabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
136
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: TabComponent, isStandalone: true, selector: "nol-tab", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, preview: { classPropertyName: "preview", publicName: "preview", isSignal: true, isRequired: false, transformFunction: null }, working: { classPropertyName: "working", publicName: "working", isSignal: true, isRequired: false, transformFunction: null }, waiting: { classPropertyName: "waiting", publicName: "waiting", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, badge: { classPropertyName: "badge", publicName: "badge", isSignal: true, isRequired: false, transformFunction: null }, badgeCount: { classPropertyName: "badgeCount", publicName: "badgeCount", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, imageGlyph: { classPropertyName: "imageGlyph", publicName: "imageGlyph", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, leadingSpinner: { classPropertyName: "leadingSpinner", publicName: "leadingSpinner", isSignal: true, isRequired: false, transformFunction: null }, marker: { classPropertyName: "marker", publicName: "marker", isSignal: true, isRequired: false, transformFunction: null }, underline: { classPropertyName: "underline", publicName: "underline", isSignal: true, isRequired: false, transformFunction: null }, editing: { classPropertyName: "editing", publicName: "editing", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activate: "activate", close: "close", labelKept: "labelKept", labelCancelled: "labelCancelled" }, host: { attributes: { "role": "tab" }, listeners: { "click": "activate.emit()", "keydown.enter": "activate.emit()", "keydown.space": "onSpace($event)", "keydown.delete": "requestClose()", "mousedown": "onMouseDown($event)", "auxclick": "onAuxiliaryClick($event)" }, properties: { "attr.aria-label": "accessibleName()", "attr.aria-selected": "selected()", "attr.aria-busy": "working() && !waiting() || null", "attr.aria-description": "preview() ? partResources.previewDescription : null", "attr.tabindex": "selected() ? 0 : -1", "class.nol-tab-selected": "selected()", "class.nol-tab-preview": "preview()", "class.nol-tab-working": "working() && !hasLeadingSpinner()", "class.nol-tab-underlined": "underline() !== null", "class.nol-tab-waiting": "waiting()", "class.nol-tab-editing": "editing()" }, classAttribute: "nol-tab" }, providers: [{ provide: TooltipDefaults, useValue: TabResources.tabTooltip }], viewQueries: [{ propertyName: "fieldElement", first: true, predicate: ["field"], descendants: true, read: ElementRef, isSignal: true }], hostDirectives: [{ directive: i1.TooltipDirective, inputs: ["nolTooltip", "label"] }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<span class=\"nol-tab-pill\">\n @if (marker(); as marker) {\n <span class=\"nol-tab-marker nol-tab-glyph material-symbols-rounded\" aria-hidden=\"true\" [nolTooltip]=\"marker.label\" [nolTooltipSide]=\"partResources.tabTooltip.side\">{{ marker.glyph }}</span>\n }\n @if (hasLeadingSpinner()) {\n <nol-spinner class=\"nol-tab-leading nol-tab-leading-spinner\" aria-hidden=\"true\" />\n } @else if (status(); as status) {\n <span class=\"nol-tab-leading nol-tab-status nol-tab-glyph material-symbols-rounded\" aria-hidden=\"true\" [attr.data-nol-tone]=\"status.tone\">{{ status.glyph }}</span>\n } @else if (hasImage()) {\n <span class=\"nol-tab-leading nol-tab-image\" [class.nol-tab-image-loaded]=\"isImageLoaded()\">\n @if (shownImageGlyph(); as glyph) {\n <span class=\"nol-tab-image-glyph nol-tab-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n }\n @if (image(); as source) {\n <img class=\"nol-tab-image-picture\" alt=\"\" draggable=\"false\" [src]=\"source\" (load)=\"isImageLoaded.set(true)\" (error)=\"isImageLoaded.set(false)\" />\n }\n </span>\n } @else if (icon(); as glyph) {\n <span class=\"nol-tab-icon material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n }\n <span class=\"nol-tab-label\" data-truncates>{{ label() }}@if (editing()) {<input #field nol-text-field class=\"nol-tab-field\" type=\"text\" spellcheck=\"false\" [attr.aria-label]=\"partResources.tabTitleFieldLabel\"\n (keydown)=\"onFieldKeyDown($event)\" (blur)=\"keep()\" (click)=\"$event.stopPropagation()\" (mousedown)=\"$event.stopPropagation()\" (auxclick)=\"$event.stopPropagation()\" />}</span>\n @if (badge() !== null) {\n <nol-view-badge class=\"nol-tab-badge\" [count]=\"badgeCount()\" />\n }\n @if (closable() || waiting() || working() && !hasLeadingSpinner()) {\n <span class=\"nol-tab-action\">\n @if (waiting()) {\n <span class=\"nol-tab-waiting-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.tabWaitingGlyph }}</span>\n } @else if (working() && !hasLeadingSpinner()) {\n <nol-spinner class=\"nol-tab-spinner\" aria-hidden=\"true\" />\n }\n @if (closable()) {\n <button type=\"button\" class=\"nol-tab-close\" tabindex=\"-1\" [attr.aria-label]=\"closeLabel()\" (click)=\"onCloseClick($event)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.closeGlyph }}</span>\n </button>\n }\n </span>\n }\n</span>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-tab {\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n min-width: 0;\n max-width: var(--nol-tab-max-width);\n min-height: var(--nol-tab-height);\n padding-inline: var(--nol-tab-inset);\n color: var(--nol-text-tab);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n outline: none;\n user-select: none;\n}\n\n.nol-tab.nol-tab-selected {\n color: var(--nol-text);\n}\n\n.nol-tab-pill {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n min-width: 0;\n max-width: 100%;\n\n @media (forced-colors: active) {\n max-width: calc(100% + 2 * var(--nol-tab-inset));\n margin-inline: calc(var(--nol-tab-inset) * -1);\n padding-inline: var(--nol-tab-inset);\n }\n}\n\n[data-nol-tab-shape=\"pill\"] .nol-tab-pill {\n min-height: var(--nol-tab-pill);\n padding-inline: var(--nol-pill-padding);\n border-radius: var(--nol-radius-small);\n\n @media (forced-colors: active) {\n max-width: 100%;\n margin-inline: 0;\n }\n}\n\n[data-nol-tab-shape=\"pill\"] .nol-tab:is(:hover, [data-nol-state=\"Hover\"]) .nol-tab-pill {\n background-color: var(--nol-hover);\n}\n\n.nol-tab:is(:hover, [data-nol-state=\"Hover\"]) .nol-tab-pill {\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n[data-nol-tab-shape=\"pill\"] .nol-tab.nol-tab-selected .nol-tab-pill {\n --nol-text-muted: var(--nol-text);\n background-color: var(--nol-selected);\n\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-tab.nol-tab-selected .nol-tab-pill {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-tab:is(:focus-visible, [data-nol-state=\"Focus\"]) .nol-tab-pill {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n outline-offset: calc(var(--nol-border-width) * 2);\n }\n}\n\n.nol-tab-icon {\n flex: none;\n margin-inline-end: var(--nol-space-1);\n color: var(--nol-icon-color);\n}\n\n.nol-tab-marker,\n.nol-tab-leading {\n flex: none;\n margin-inline-end: var(--nol-tab-part-gap);\n}\n\n.nol-tab .nol-tab-glyph {\n width: var(--nol-tab-image);\n height: var(--nol-tab-image);\n font-size: var(--nol-tab-image);\n line-height: 1;\n}\n\n.nol-tab-marker {\n color: var(--nol-accent);\n}\n\n.nol-tab-status {\n color: inherit;\n}\n\n.nol-tab-status[data-nol-tone=\"Ok\"] {\n color: var(--nol-status-ok);\n}\n\n.nol-tab-status[data-nol-tone=\"Failed\"] {\n color: var(--nol-status-failed);\n}\n\n.nol-tab-image {\n display: grid;\n width: var(--nol-tab-image);\n height: var(--nol-tab-image);\n color: var(--nol-icon-color);\n}\n\n.nol-tab-image > * {\n grid-area: 1 / 1;\n}\n\n.nol-tab-image-picture {\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n border-radius: var(--nol-tab-image-radius);\n object-fit: contain;\n visibility: hidden;\n}\n\n.nol-tab-image-loaded > .nol-tab-image-picture {\n visibility: visible;\n}\n\n.nol-tab-image-loaded > .nol-tab-image-glyph {\n visibility: hidden;\n}\n\n.nol-tab .nol-tab-leading-spinner {\n --nol-spinner: var(--nol-tab-spinner);\n --nol-spinner-ring: var(--nol-tab-spinner);\n --nol-spinner-stroke: var(--nol-tab-spinner-stroke);\n}\n\n.nol-tab.nol-tab-underlined .nol-tab-pill {\n box-shadow: inset 0 calc(var(--nol-tab-underline) * -1) 0 var(--nol-accent);\n}\n\n@media (forced-colors: active) {\n .nol-tab-marker,\n .nol-tab-status[data-nol-tone] {\n color: inherit;\n }\n\n .nol-tab-image-loaded > .nol-tab-image-glyph {\n visibility: visible;\n }\n\n .nol-tab-image-loaded > .nol-tab-image-picture {\n visibility: hidden;\n }\n\n .nol-tab.nol-tab-underlined .nol-tab-pill {\n position: relative;\n }\n\n .nol-tab.nol-tab-underlined .nol-tab-pill::after {\n content: \"\";\n position: absolute;\n inset: auto 0 0;\n height: var(--nol-tab-underline);\n background-color: Highlight;\n forced-color-adjust: none;\n }\n\n .nol-tab.nol-tab-selected.nol-tab-underlined .nol-tab-pill::after {\n background-color: HighlightText;\n }\n}\n\n.nol-tab-badge {\n flex: none;\n margin-inline-start: var(--nol-space-1);\n}\n\n.nol-tab.nol-tab-preview .nol-tab-label {\n font-style: italic;\n}\n\n.nol-tab.nol-tab-editing .nol-tab-label {\n position: relative;\n overflow: visible;\n visibility: hidden;\n}\n\n.nol-tab .nol-tab-label > .nol-tab-field {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n min-height: 0;\n padding: 0;\n border: 0;\n border-radius: 0;\n outline: var(--nol-border-width) solid var(--nol-accent);\n background-color: var(--nol-input);\n color: var(--nol-input-text);\n font: inherit;\n user-select: text;\n visibility: visible;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n forced-color-adjust: auto;\n }\n}\n\n.nol-tab-action {\n display: grid;\n flex: none;\n margin-inline: var(--nol-space-1) calc((var(--nol-icon) - var(--nol-tab-action-slot)) / 2);\n place-items: center;\n width: var(--nol-tab-action-slot);\n height: var(--nol-tab-action-slot);\n}\n\n.nol-tab-action > * {\n grid-area: 1 / 1;\n}\n\n.nol-tab-close {\n display: grid;\n place-items: center;\n --nol-tab-close-target: max(var(--nol-pointer-target), var(--nol-tab-action-slot));\n\n box-sizing: border-box;\n width: var(--nol-tab-close-target);\n height: var(--nol-tab-close-target);\n margin: calc((var(--nol-tab-action-slot) - var(--nol-tab-close-target)) / 2);\n padding: 0;\n border: 0;\n background: none;\n color: inherit;\n visibility: hidden;\n}\n\n.nol-tab-close::before {\n content: \"\";\n grid-area: 1 / 1;\n width: var(--nol-tab-close);\n height: var(--nol-tab-close);\n border-radius: var(--nol-radius-small);\n}\n\n.nol-tab-close > span {\n grid-area: 1 / 1;\n}\n\n.nol-tab-close:is(:hover, [data-nol-state=\"Hover\"])::before {\n background-color: var(--nol-toolbar-hover);\n}\n\n@media (forced-colors: active) {\n .nol-tab-close:is(:hover, [data-nol-state=\"Hover\"])::before {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-tab.nol-tab-selected .nol-tab-close,\n.nol-tab:is(:hover, [data-nol-state=\"Hover\"]) .nol-tab-close,\n.nol-tab:is(:focus-visible, [data-nol-state=\"Focus\"]) .nol-tab-close {\n visibility: visible;\n}\n\n.nol-tab:is(.nol-tab-working, .nol-tab-waiting):not(:is(:hover, [data-nol-state=\"Hover\"]), :is(:focus-visible, [data-nol-state=\"Focus\"])) .nol-tab-close {\n visibility: hidden;\n}\n\n.nol-tab:is(.nol-tab-working, .nol-tab-waiting):is(:is(:hover, [data-nol-state=\"Hover\"]), :is(:focus-visible, [data-nol-state=\"Focus\"])) .nol-tab-action:has(> .nol-tab-close) > :is(.nol-tab-spinner, .nol-tab-waiting-glyph) {\n visibility: hidden;\n}\n\n.nol-tab .nol-tab-spinner {\n width: var(--nol-icon);\n height: var(--nol-icon);\n}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }, { kind: "component", type: ViewBadgeComponent, selector: "nol-view-badge", inputs: ["count"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
136
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: TabComponent, isStandalone: true, selector: "nol-tab", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, preview: { classPropertyName: "preview", publicName: "preview", isSignal: true, isRequired: false, transformFunction: null }, working: { classPropertyName: "working", publicName: "working", isSignal: true, isRequired: false, transformFunction: null }, waiting: { classPropertyName: "waiting", publicName: "waiting", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, badge: { classPropertyName: "badge", publicName: "badge", isSignal: true, isRequired: false, transformFunction: null }, badgeCount: { classPropertyName: "badgeCount", publicName: "badgeCount", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, imageGlyph: { classPropertyName: "imageGlyph", publicName: "imageGlyph", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, leadingSpinner: { classPropertyName: "leadingSpinner", publicName: "leadingSpinner", isSignal: true, isRequired: false, transformFunction: null }, marker: { classPropertyName: "marker", publicName: "marker", isSignal: true, isRequired: false, transformFunction: null }, underline: { classPropertyName: "underline", publicName: "underline", isSignal: true, isRequired: false, transformFunction: null }, editing: { classPropertyName: "editing", publicName: "editing", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activate: "activate", close: "close", labelKept: "labelKept", labelCancelled: "labelCancelled" }, host: { attributes: { "role": "tab" }, listeners: { "click": "activate.emit()", "keydown.enter": "activate.emit()", "keydown.space": "onSpace($event)", "keydown.delete": "requestClose()", "mousedown": "onMouseDown($event)", "auxclick": "onAuxiliaryClick($event)" }, properties: { "attr.aria-label": "accessibleName()", "attr.aria-selected": "selected()", "attr.aria-busy": "working() && !waiting() || null", "attr.aria-description": "preview() ? partResources.previewDescription : null", "attr.tabindex": "selected() ? 0 : -1", "class.nol-tab-selected": "selected()", "class.nol-tab-preview": "preview()", "class.nol-tab-working": "working() && !hasLeadingSpinner()", "class.nol-tab-underlined": "underline() !== null", "class.nol-tab-waiting": "waiting()", "class.nol-tab-editing": "editing()" }, classAttribute: "nol-tab" }, providers: [{ provide: TooltipDefaults, useValue: TabResources.tabTooltip }], viewQueries: [{ propertyName: "fieldElement", first: true, predicate: ["field"], descendants: true, read: ElementRef, isSignal: true }], hostDirectives: [{ directive: i1.TooltipDirective, inputs: ["nolTooltip", "label"] }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<span class=\"nol-tab-pill\">\n @if (marker(); as marker) {\n <span class=\"nol-tab-marker nol-tab-glyph material-symbols-rounded\" aria-hidden=\"true\" [nolTooltip]=\"marker.label\" [nolTooltipSide]=\"partResources.tabTooltip.side\">{{ marker.glyph }}</span>\n }\n @if (hasLeadingSpinner()) {\n <nol-spinner class=\"nol-tab-leading nol-tab-leading-spinner\" aria-hidden=\"true\" />\n } @else if (status(); as status) {\n <span class=\"nol-tab-leading nol-tab-status nol-tab-glyph material-symbols-rounded\" aria-hidden=\"true\" [attr.data-nol-tone]=\"status.tone\">{{ status.glyph }}</span>\n } @else if (hasImage()) {\n <span class=\"nol-tab-leading nol-tab-image\" [class.nol-tab-image-loaded]=\"isImageLoaded()\">\n @if (shownImageGlyph(); as glyph) {\n <span class=\"nol-tab-image-glyph nol-tab-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n }\n @if (image(); as source) {\n <img class=\"nol-tab-image-picture\" alt=\"\" draggable=\"false\" [src]=\"source\" (load)=\"isImageLoaded.set(true)\" (error)=\"isImageLoaded.set(false)\" />\n }\n </span>\n } @else if (icon(); as glyph) {\n <span class=\"nol-tab-icon material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n }\n <span class=\"nol-tab-label\" data-truncates>{{ label() }}@if (editing()) {<input #field nol-text-field class=\"nol-tab-field\" type=\"text\" spellcheck=\"false\" [attr.aria-label]=\"partResources.tabTitleFieldLabel\"\n (keydown)=\"onFieldKeyDown($event)\" (blur)=\"keep()\" (click)=\"$event.stopPropagation()\" (mousedown)=\"$event.stopPropagation()\" (auxclick)=\"$event.stopPropagation()\" />}</span>\n @if (badge() !== null) {\n <nol-view-badge class=\"nol-tab-badge\" [count]=\"badgeCount()\" />\n }\n @if (closable() || waiting() || working() && !hasLeadingSpinner()) {\n <span class=\"nol-tab-action\">\n @if (waiting()) {\n <span class=\"nol-tab-waiting-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.tabWaitingGlyph }}</span>\n } @else if (working() && !hasLeadingSpinner()) {\n <nol-spinner class=\"nol-tab-spinner\" aria-hidden=\"true\" />\n }\n @if (closable()) {\n <button type=\"button\" class=\"nol-tab-close\" tabindex=\"-1\" [attr.aria-label]=\"closeLabel()\" (click)=\"onCloseClick($event)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.closeGlyph }}</span>\n </button>\n }\n </span>\n }\n</span>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-tab {\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n min-width: 0;\n max-width: var(--nol-tab-max-width);\n min-height: var(--nol-tab-height);\n padding-inline: var(--nol-tab-inset);\n color: var(--nol-text-tab);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n outline: none;\n user-select: none;\n}\n\n.nol-tab.nol-tab-selected {\n color: var(--nol-text);\n}\n\n.nol-tab-pill {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n min-width: 0;\n max-width: 100%;\n\n @media (forced-colors: active) {\n max-width: calc(100% + 2 * var(--nol-tab-inset));\n margin-inline: calc(var(--nol-tab-inset) * -1);\n padding-inline: var(--nol-tab-inset);\n }\n}\n\n[data-nol-tab-shape=\"pill\"] .nol-tab-pill {\n min-height: var(--nol-tab-pill);\n padding-inline: var(--nol-pill-padding);\n border-radius: var(--nol-radius-small);\n\n @media (forced-colors: active) {\n max-width: 100%;\n margin-inline: 0;\n }\n}\n\n[data-nol-tab-shape=\"pill\"] .nol-tab:is(:hover, [data-nol-state=\"Hover\"]) .nol-tab-pill {\n background-color: var(--nol-hover);\n}\n\n.nol-tab:is(:hover, [data-nol-state=\"Hover\"]) .nol-tab-pill {\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n[data-nol-tab-shape=\"pill\"] .nol-tab.nol-tab-selected .nol-tab-pill {\n --nol-text-muted: var(--nol-text);\n background-color: var(--nol-selected);\n\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-tab.nol-tab-selected .nol-tab-pill {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-tab:is(:focus-visible, [data-nol-state=\"Focus\"]) .nol-tab-pill {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n outline-offset: calc(var(--nol-border-width) * 2);\n }\n}\n\n.nol-tab-icon {\n flex: none;\n margin-inline-end: var(--nol-space-1);\n color: var(--nol-icon-color);\n}\n\n.nol-tab-marker,\n.nol-tab-leading {\n flex: none;\n margin-inline-end: var(--nol-tab-part-gap);\n}\n\n.nol-tab .nol-tab-glyph {\n width: var(--nol-tab-image);\n height: var(--nol-tab-image);\n font-size: var(--nol-tab-image);\n line-height: 1;\n}\n\n.nol-tab-marker {\n color: var(--nol-accent);\n}\n\n.nol-tab-status {\n color: inherit;\n}\n\n.nol-tab-status[data-nol-tone=\"Ok\"] {\n color: var(--nol-status-ok);\n}\n\n.nol-tab-status[data-nol-tone=\"Failed\"] {\n color: var(--nol-status-failed);\n}\n\n.nol-tab-image {\n display: grid;\n width: var(--nol-tab-image);\n height: var(--nol-tab-image);\n color: var(--nol-icon-color);\n}\n\n.nol-tab-image > * {\n grid-area: 1 / 1;\n}\n\n.nol-tab-image-picture {\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n border-radius: var(--nol-tab-image-radius);\n object-fit: contain;\n visibility: hidden;\n}\n\n.nol-tab-image-loaded > .nol-tab-image-picture {\n visibility: visible;\n}\n\n.nol-tab-image-loaded > .nol-tab-image-glyph {\n visibility: hidden;\n}\n\n.nol-tab .nol-tab-leading-spinner {\n --nol-spinner: var(--nol-icon);\n --nol-spinner-ring: var(--nol-tab-spinner);\n --nol-spinner-stroke: var(--nol-tab-spinner-stroke);\n\n margin-inline-end: var(--nol-space-1);\n}\n\n.nol-tab.nol-tab-underlined .nol-tab-pill {\n box-shadow: inset 0 calc(var(--nol-tab-underline) * -1) 0 var(--nol-accent);\n}\n\n@media (forced-colors: active) {\n .nol-tab-marker,\n .nol-tab-status[data-nol-tone] {\n color: inherit;\n }\n\n .nol-tab-image-loaded > .nol-tab-image-glyph {\n visibility: visible;\n }\n\n .nol-tab-image-loaded > .nol-tab-image-picture {\n visibility: hidden;\n }\n\n .nol-tab.nol-tab-underlined .nol-tab-pill {\n position: relative;\n }\n\n .nol-tab.nol-tab-underlined .nol-tab-pill::after {\n content: \"\";\n position: absolute;\n inset: auto 0 0;\n height: var(--nol-tab-underline);\n background-color: Highlight;\n forced-color-adjust: none;\n }\n\n .nol-tab.nol-tab-selected.nol-tab-underlined .nol-tab-pill::after {\n background-color: HighlightText;\n }\n}\n\n.nol-tab-badge {\n flex: none;\n margin-inline-start: var(--nol-space-1);\n}\n\n.nol-tab.nol-tab-preview .nol-tab-label {\n font-style: italic;\n}\n\n.nol-tab.nol-tab-editing .nol-tab-label {\n position: relative;\n overflow: visible;\n visibility: hidden;\n}\n\n.nol-tab .nol-tab-label > .nol-tab-field {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n min-height: 0;\n padding: 0;\n border: 0;\n border-radius: 0;\n outline: var(--nol-border-width) solid var(--nol-accent);\n background-color: var(--nol-input);\n color: var(--nol-input-text);\n font: inherit;\n user-select: text;\n visibility: visible;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n forced-color-adjust: auto;\n }\n}\n\n.nol-tab-action {\n display: grid;\n flex: none;\n margin-inline: var(--nol-space-1) calc((var(--nol-icon) - var(--nol-tab-action-slot)) / 2);\n place-items: center;\n width: var(--nol-tab-action-slot);\n height: var(--nol-tab-action-slot);\n}\n\n.nol-tab-action > * {\n grid-area: 1 / 1;\n}\n\n.nol-tab-close {\n display: grid;\n place-items: center;\n --nol-tab-close-target: max(var(--nol-pointer-target), var(--nol-tab-action-slot));\n\n box-sizing: border-box;\n width: var(--nol-tab-close-target);\n height: var(--nol-tab-close-target);\n margin: calc((var(--nol-tab-action-slot) - var(--nol-tab-close-target)) / 2);\n padding: 0;\n border: 0;\n background: none;\n color: inherit;\n visibility: hidden;\n}\n\n.nol-tab-close::before {\n content: \"\";\n grid-area: 1 / 1;\n width: var(--nol-tab-close);\n height: var(--nol-tab-close);\n border-radius: var(--nol-radius-small);\n}\n\n.nol-tab-close > span {\n grid-area: 1 / 1;\n}\n\n.nol-tab-close:is(:hover, [data-nol-state=\"Hover\"])::before {\n background-color: var(--nol-toolbar-hover);\n}\n\n@media (forced-colors: active) {\n .nol-tab-close:is(:hover, [data-nol-state=\"Hover\"])::before {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-tab.nol-tab-selected .nol-tab-close,\n.nol-tab:is(:hover, [data-nol-state=\"Hover\"]) .nol-tab-close,\n.nol-tab:is(:focus-visible, [data-nol-state=\"Focus\"]) .nol-tab-close {\n visibility: visible;\n}\n\n.nol-tab:is(.nol-tab-working, .nol-tab-waiting):not(:is(:hover, [data-nol-state=\"Hover\"]), :is(:focus-visible, [data-nol-state=\"Focus\"])) .nol-tab-close {\n visibility: hidden;\n}\n\n.nol-tab:is(.nol-tab-working, .nol-tab-waiting):is(:is(:hover, [data-nol-state=\"Hover\"]), :is(:focus-visible, [data-nol-state=\"Focus\"])) .nol-tab-action:has(> .nol-tab-close) > :is(.nol-tab-spinner, .nol-tab-waiting-glyph) {\n visibility: hidden;\n}\n\n.nol-tab .nol-tab-spinner {\n width: var(--nol-icon);\n height: var(--nol-icon);\n}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }, { kind: "component", type: ViewBadgeComponent, selector: "nol-view-badge", inputs: ["count"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
137
137
|
}
|
|
138
138
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: TabComponent, decorators: [{
|
|
139
139
|
type: Component,
|
|
@@ -157,6 +157,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImpor
|
|
|
157
157
|
"(keydown.delete)": "requestClose()",
|
|
158
158
|
"(mousedown)": "onMouseDown($event)",
|
|
159
159
|
"(auxclick)": "onAuxiliaryClick($event)"
|
|
160
|
-
}, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<span class=\"nol-tab-pill\">\n @if (marker(); as marker) {\n <span class=\"nol-tab-marker nol-tab-glyph material-symbols-rounded\" aria-hidden=\"true\" [nolTooltip]=\"marker.label\" [nolTooltipSide]=\"partResources.tabTooltip.side\">{{ marker.glyph }}</span>\n }\n @if (hasLeadingSpinner()) {\n <nol-spinner class=\"nol-tab-leading nol-tab-leading-spinner\" aria-hidden=\"true\" />\n } @else if (status(); as status) {\n <span class=\"nol-tab-leading nol-tab-status nol-tab-glyph material-symbols-rounded\" aria-hidden=\"true\" [attr.data-nol-tone]=\"status.tone\">{{ status.glyph }}</span>\n } @else if (hasImage()) {\n <span class=\"nol-tab-leading nol-tab-image\" [class.nol-tab-image-loaded]=\"isImageLoaded()\">\n @if (shownImageGlyph(); as glyph) {\n <span class=\"nol-tab-image-glyph nol-tab-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n }\n @if (image(); as source) {\n <img class=\"nol-tab-image-picture\" alt=\"\" draggable=\"false\" [src]=\"source\" (load)=\"isImageLoaded.set(true)\" (error)=\"isImageLoaded.set(false)\" />\n }\n </span>\n } @else if (icon(); as glyph) {\n <span class=\"nol-tab-icon material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n }\n <span class=\"nol-tab-label\" data-truncates>{{ label() }}@if (editing()) {<input #field nol-text-field class=\"nol-tab-field\" type=\"text\" spellcheck=\"false\" [attr.aria-label]=\"partResources.tabTitleFieldLabel\"\n (keydown)=\"onFieldKeyDown($event)\" (blur)=\"keep()\" (click)=\"$event.stopPropagation()\" (mousedown)=\"$event.stopPropagation()\" (auxclick)=\"$event.stopPropagation()\" />}</span>\n @if (badge() !== null) {\n <nol-view-badge class=\"nol-tab-badge\" [count]=\"badgeCount()\" />\n }\n @if (closable() || waiting() || working() && !hasLeadingSpinner()) {\n <span class=\"nol-tab-action\">\n @if (waiting()) {\n <span class=\"nol-tab-waiting-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.tabWaitingGlyph }}</span>\n } @else if (working() && !hasLeadingSpinner()) {\n <nol-spinner class=\"nol-tab-spinner\" aria-hidden=\"true\" />\n }\n @if (closable()) {\n <button type=\"button\" class=\"nol-tab-close\" tabindex=\"-1\" [attr.aria-label]=\"closeLabel()\" (click)=\"onCloseClick($event)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.closeGlyph }}</span>\n </button>\n }\n </span>\n }\n</span>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-tab {\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n min-width: 0;\n max-width: var(--nol-tab-max-width);\n min-height: var(--nol-tab-height);\n padding-inline: var(--nol-tab-inset);\n color: var(--nol-text-tab);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n outline: none;\n user-select: none;\n}\n\n.nol-tab.nol-tab-selected {\n color: var(--nol-text);\n}\n\n.nol-tab-pill {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n min-width: 0;\n max-width: 100%;\n\n @media (forced-colors: active) {\n max-width: calc(100% + 2 * var(--nol-tab-inset));\n margin-inline: calc(var(--nol-tab-inset) * -1);\n padding-inline: var(--nol-tab-inset);\n }\n}\n\n[data-nol-tab-shape=\"pill\"] .nol-tab-pill {\n min-height: var(--nol-tab-pill);\n padding-inline: var(--nol-pill-padding);\n border-radius: var(--nol-radius-small);\n\n @media (forced-colors: active) {\n max-width: 100%;\n margin-inline: 0;\n }\n}\n\n[data-nol-tab-shape=\"pill\"] .nol-tab:is(:hover, [data-nol-state=\"Hover\"]) .nol-tab-pill {\n background-color: var(--nol-hover);\n}\n\n.nol-tab:is(:hover, [data-nol-state=\"Hover\"]) .nol-tab-pill {\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n[data-nol-tab-shape=\"pill\"] .nol-tab.nol-tab-selected .nol-tab-pill {\n --nol-text-muted: var(--nol-text);\n background-color: var(--nol-selected);\n\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-tab.nol-tab-selected .nol-tab-pill {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-tab:is(:focus-visible, [data-nol-state=\"Focus\"]) .nol-tab-pill {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n outline-offset: calc(var(--nol-border-width) * 2);\n }\n}\n\n.nol-tab-icon {\n flex: none;\n margin-inline-end: var(--nol-space-1);\n color: var(--nol-icon-color);\n}\n\n.nol-tab-marker,\n.nol-tab-leading {\n flex: none;\n margin-inline-end: var(--nol-tab-part-gap);\n}\n\n.nol-tab .nol-tab-glyph {\n width: var(--nol-tab-image);\n height: var(--nol-tab-image);\n font-size: var(--nol-tab-image);\n line-height: 1;\n}\n\n.nol-tab-marker {\n color: var(--nol-accent);\n}\n\n.nol-tab-status {\n color: inherit;\n}\n\n.nol-tab-status[data-nol-tone=\"Ok\"] {\n color: var(--nol-status-ok);\n}\n\n.nol-tab-status[data-nol-tone=\"Failed\"] {\n color: var(--nol-status-failed);\n}\n\n.nol-tab-image {\n display: grid;\n width: var(--nol-tab-image);\n height: var(--nol-tab-image);\n color: var(--nol-icon-color);\n}\n\n.nol-tab-image > * {\n grid-area: 1 / 1;\n}\n\n.nol-tab-image-picture {\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n border-radius: var(--nol-tab-image-radius);\n object-fit: contain;\n visibility: hidden;\n}\n\n.nol-tab-image-loaded > .nol-tab-image-picture {\n visibility: visible;\n}\n\n.nol-tab-image-loaded > .nol-tab-image-glyph {\n visibility: hidden;\n}\n\n.nol-tab .nol-tab-leading-spinner {\n --nol-spinner: var(--nol-tab-spinner);\n --nol-spinner-ring: var(--nol-tab-spinner);\n --nol-spinner-stroke: var(--nol-tab-spinner-stroke);\n}\n\n.nol-tab.nol-tab-underlined .nol-tab-pill {\n box-shadow: inset 0 calc(var(--nol-tab-underline) * -1) 0 var(--nol-accent);\n}\n\n@media (forced-colors: active) {\n .nol-tab-marker,\n .nol-tab-status[data-nol-tone] {\n color: inherit;\n }\n\n .nol-tab-image-loaded > .nol-tab-image-glyph {\n visibility: visible;\n }\n\n .nol-tab-image-loaded > .nol-tab-image-picture {\n visibility: hidden;\n }\n\n .nol-tab.nol-tab-underlined .nol-tab-pill {\n position: relative;\n }\n\n .nol-tab.nol-tab-underlined .nol-tab-pill::after {\n content: \"\";\n position: absolute;\n inset: auto 0 0;\n height: var(--nol-tab-underline);\n background-color: Highlight;\n forced-color-adjust: none;\n }\n\n .nol-tab.nol-tab-selected.nol-tab-underlined .nol-tab-pill::after {\n background-color: HighlightText;\n }\n}\n\n.nol-tab-badge {\n flex: none;\n margin-inline-start: var(--nol-space-1);\n}\n\n.nol-tab.nol-tab-preview .nol-tab-label {\n font-style: italic;\n}\n\n.nol-tab.nol-tab-editing .nol-tab-label {\n position: relative;\n overflow: visible;\n visibility: hidden;\n}\n\n.nol-tab .nol-tab-label > .nol-tab-field {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n min-height: 0;\n padding: 0;\n border: 0;\n border-radius: 0;\n outline: var(--nol-border-width) solid var(--nol-accent);\n background-color: var(--nol-input);\n color: var(--nol-input-text);\n font: inherit;\n user-select: text;\n visibility: visible;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n forced-color-adjust: auto;\n }\n}\n\n.nol-tab-action {\n display: grid;\n flex: none;\n margin-inline: var(--nol-space-1) calc((var(--nol-icon) - var(--nol-tab-action-slot)) / 2);\n place-items: center;\n width: var(--nol-tab-action-slot);\n height: var(--nol-tab-action-slot);\n}\n\n.nol-tab-action > * {\n grid-area: 1 / 1;\n}\n\n.nol-tab-close {\n display: grid;\n place-items: center;\n --nol-tab-close-target: max(var(--nol-pointer-target), var(--nol-tab-action-slot));\n\n box-sizing: border-box;\n width: var(--nol-tab-close-target);\n height: var(--nol-tab-close-target);\n margin: calc((var(--nol-tab-action-slot) - var(--nol-tab-close-target)) / 2);\n padding: 0;\n border: 0;\n background: none;\n color: inherit;\n visibility: hidden;\n}\n\n.nol-tab-close::before {\n content: \"\";\n grid-area: 1 / 1;\n width: var(--nol-tab-close);\n height: var(--nol-tab-close);\n border-radius: var(--nol-radius-small);\n}\n\n.nol-tab-close > span {\n grid-area: 1 / 1;\n}\n\n.nol-tab-close:is(:hover, [data-nol-state=\"Hover\"])::before {\n background-color: var(--nol-toolbar-hover);\n}\n\n@media (forced-colors: active) {\n .nol-tab-close:is(:hover, [data-nol-state=\"Hover\"])::before {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-tab.nol-tab-selected .nol-tab-close,\n.nol-tab:is(:hover, [data-nol-state=\"Hover\"]) .nol-tab-close,\n.nol-tab:is(:focus-visible, [data-nol-state=\"Focus\"]) .nol-tab-close {\n visibility: visible;\n}\n\n.nol-tab:is(.nol-tab-working, .nol-tab-waiting):not(:is(:hover, [data-nol-state=\"Hover\"]), :is(:focus-visible, [data-nol-state=\"Focus\"])) .nol-tab-close {\n visibility: hidden;\n}\n\n.nol-tab:is(.nol-tab-working, .nol-tab-waiting):is(:is(:hover, [data-nol-state=\"Hover\"]), :is(:focus-visible, [data-nol-state=\"Focus\"])) .nol-tab-action:has(> .nol-tab-close) > :is(.nol-tab-spinner, .nol-tab-waiting-glyph) {\n visibility: hidden;\n}\n\n.nol-tab .nol-tab-spinner {\n width: var(--nol-icon);\n height: var(--nol-icon);\n}\n"] }]
|
|
160
|
+
}, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<span class=\"nol-tab-pill\">\n @if (marker(); as marker) {\n <span class=\"nol-tab-marker nol-tab-glyph material-symbols-rounded\" aria-hidden=\"true\" [nolTooltip]=\"marker.label\" [nolTooltipSide]=\"partResources.tabTooltip.side\">{{ marker.glyph }}</span>\n }\n @if (hasLeadingSpinner()) {\n <nol-spinner class=\"nol-tab-leading nol-tab-leading-spinner\" aria-hidden=\"true\" />\n } @else if (status(); as status) {\n <span class=\"nol-tab-leading nol-tab-status nol-tab-glyph material-symbols-rounded\" aria-hidden=\"true\" [attr.data-nol-tone]=\"status.tone\">{{ status.glyph }}</span>\n } @else if (hasImage()) {\n <span class=\"nol-tab-leading nol-tab-image\" [class.nol-tab-image-loaded]=\"isImageLoaded()\">\n @if (shownImageGlyph(); as glyph) {\n <span class=\"nol-tab-image-glyph nol-tab-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n }\n @if (image(); as source) {\n <img class=\"nol-tab-image-picture\" alt=\"\" draggable=\"false\" [src]=\"source\" (load)=\"isImageLoaded.set(true)\" (error)=\"isImageLoaded.set(false)\" />\n }\n </span>\n } @else if (icon(); as glyph) {\n <span class=\"nol-tab-icon material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n }\n <span class=\"nol-tab-label\" data-truncates>{{ label() }}@if (editing()) {<input #field nol-text-field class=\"nol-tab-field\" type=\"text\" spellcheck=\"false\" [attr.aria-label]=\"partResources.tabTitleFieldLabel\"\n (keydown)=\"onFieldKeyDown($event)\" (blur)=\"keep()\" (click)=\"$event.stopPropagation()\" (mousedown)=\"$event.stopPropagation()\" (auxclick)=\"$event.stopPropagation()\" />}</span>\n @if (badge() !== null) {\n <nol-view-badge class=\"nol-tab-badge\" [count]=\"badgeCount()\" />\n }\n @if (closable() || waiting() || working() && !hasLeadingSpinner()) {\n <span class=\"nol-tab-action\">\n @if (waiting()) {\n <span class=\"nol-tab-waiting-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.tabWaitingGlyph }}</span>\n } @else if (working() && !hasLeadingSpinner()) {\n <nol-spinner class=\"nol-tab-spinner\" aria-hidden=\"true\" />\n }\n @if (closable()) {\n <button type=\"button\" class=\"nol-tab-close\" tabindex=\"-1\" [attr.aria-label]=\"closeLabel()\" (click)=\"onCloseClick($event)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.closeGlyph }}</span>\n </button>\n }\n </span>\n }\n</span>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-tab {\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n min-width: 0;\n max-width: var(--nol-tab-max-width);\n min-height: var(--nol-tab-height);\n padding-inline: var(--nol-tab-inset);\n color: var(--nol-text-tab);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n outline: none;\n user-select: none;\n}\n\n.nol-tab.nol-tab-selected {\n color: var(--nol-text);\n}\n\n.nol-tab-pill {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n min-width: 0;\n max-width: 100%;\n\n @media (forced-colors: active) {\n max-width: calc(100% + 2 * var(--nol-tab-inset));\n margin-inline: calc(var(--nol-tab-inset) * -1);\n padding-inline: var(--nol-tab-inset);\n }\n}\n\n[data-nol-tab-shape=\"pill\"] .nol-tab-pill {\n min-height: var(--nol-tab-pill);\n padding-inline: var(--nol-pill-padding);\n border-radius: var(--nol-radius-small);\n\n @media (forced-colors: active) {\n max-width: 100%;\n margin-inline: 0;\n }\n}\n\n[data-nol-tab-shape=\"pill\"] .nol-tab:is(:hover, [data-nol-state=\"Hover\"]) .nol-tab-pill {\n background-color: var(--nol-hover);\n}\n\n.nol-tab:is(:hover, [data-nol-state=\"Hover\"]) .nol-tab-pill {\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n[data-nol-tab-shape=\"pill\"] .nol-tab.nol-tab-selected .nol-tab-pill {\n --nol-text-muted: var(--nol-text);\n background-color: var(--nol-selected);\n\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-tab.nol-tab-selected .nol-tab-pill {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-tab:is(:focus-visible, [data-nol-state=\"Focus\"]) .nol-tab-pill {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n outline-offset: calc(var(--nol-border-width) * 2);\n }\n}\n\n.nol-tab-icon {\n flex: none;\n margin-inline-end: var(--nol-space-1);\n color: var(--nol-icon-color);\n}\n\n.nol-tab-marker,\n.nol-tab-leading {\n flex: none;\n margin-inline-end: var(--nol-tab-part-gap);\n}\n\n.nol-tab .nol-tab-glyph {\n width: var(--nol-tab-image);\n height: var(--nol-tab-image);\n font-size: var(--nol-tab-image);\n line-height: 1;\n}\n\n.nol-tab-marker {\n color: var(--nol-accent);\n}\n\n.nol-tab-status {\n color: inherit;\n}\n\n.nol-tab-status[data-nol-tone=\"Ok\"] {\n color: var(--nol-status-ok);\n}\n\n.nol-tab-status[data-nol-tone=\"Failed\"] {\n color: var(--nol-status-failed);\n}\n\n.nol-tab-image {\n display: grid;\n width: var(--nol-tab-image);\n height: var(--nol-tab-image);\n color: var(--nol-icon-color);\n}\n\n.nol-tab-image > * {\n grid-area: 1 / 1;\n}\n\n.nol-tab-image-picture {\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n border-radius: var(--nol-tab-image-radius);\n object-fit: contain;\n visibility: hidden;\n}\n\n.nol-tab-image-loaded > .nol-tab-image-picture {\n visibility: visible;\n}\n\n.nol-tab-image-loaded > .nol-tab-image-glyph {\n visibility: hidden;\n}\n\n.nol-tab .nol-tab-leading-spinner {\n --nol-spinner: var(--nol-icon);\n --nol-spinner-ring: var(--nol-tab-spinner);\n --nol-spinner-stroke: var(--nol-tab-spinner-stroke);\n\n margin-inline-end: var(--nol-space-1);\n}\n\n.nol-tab.nol-tab-underlined .nol-tab-pill {\n box-shadow: inset 0 calc(var(--nol-tab-underline) * -1) 0 var(--nol-accent);\n}\n\n@media (forced-colors: active) {\n .nol-tab-marker,\n .nol-tab-status[data-nol-tone] {\n color: inherit;\n }\n\n .nol-tab-image-loaded > .nol-tab-image-glyph {\n visibility: visible;\n }\n\n .nol-tab-image-loaded > .nol-tab-image-picture {\n visibility: hidden;\n }\n\n .nol-tab.nol-tab-underlined .nol-tab-pill {\n position: relative;\n }\n\n .nol-tab.nol-tab-underlined .nol-tab-pill::after {\n content: \"\";\n position: absolute;\n inset: auto 0 0;\n height: var(--nol-tab-underline);\n background-color: Highlight;\n forced-color-adjust: none;\n }\n\n .nol-tab.nol-tab-selected.nol-tab-underlined .nol-tab-pill::after {\n background-color: HighlightText;\n }\n}\n\n.nol-tab-badge {\n flex: none;\n margin-inline-start: var(--nol-space-1);\n}\n\n.nol-tab.nol-tab-preview .nol-tab-label {\n font-style: italic;\n}\n\n.nol-tab.nol-tab-editing .nol-tab-label {\n position: relative;\n overflow: visible;\n visibility: hidden;\n}\n\n.nol-tab .nol-tab-label > .nol-tab-field {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n min-height: 0;\n padding: 0;\n border: 0;\n border-radius: 0;\n outline: var(--nol-border-width) solid var(--nol-accent);\n background-color: var(--nol-input);\n color: var(--nol-input-text);\n font: inherit;\n user-select: text;\n visibility: visible;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n forced-color-adjust: auto;\n }\n}\n\n.nol-tab-action {\n display: grid;\n flex: none;\n margin-inline: var(--nol-space-1) calc((var(--nol-icon) - var(--nol-tab-action-slot)) / 2);\n place-items: center;\n width: var(--nol-tab-action-slot);\n height: var(--nol-tab-action-slot);\n}\n\n.nol-tab-action > * {\n grid-area: 1 / 1;\n}\n\n.nol-tab-close {\n display: grid;\n place-items: center;\n --nol-tab-close-target: max(var(--nol-pointer-target), var(--nol-tab-action-slot));\n\n box-sizing: border-box;\n width: var(--nol-tab-close-target);\n height: var(--nol-tab-close-target);\n margin: calc((var(--nol-tab-action-slot) - var(--nol-tab-close-target)) / 2);\n padding: 0;\n border: 0;\n background: none;\n color: inherit;\n visibility: hidden;\n}\n\n.nol-tab-close::before {\n content: \"\";\n grid-area: 1 / 1;\n width: var(--nol-tab-close);\n height: var(--nol-tab-close);\n border-radius: var(--nol-radius-small);\n}\n\n.nol-tab-close > span {\n grid-area: 1 / 1;\n}\n\n.nol-tab-close:is(:hover, [data-nol-state=\"Hover\"])::before {\n background-color: var(--nol-toolbar-hover);\n}\n\n@media (forced-colors: active) {\n .nol-tab-close:is(:hover, [data-nol-state=\"Hover\"])::before {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-tab.nol-tab-selected .nol-tab-close,\n.nol-tab:is(:hover, [data-nol-state=\"Hover\"]) .nol-tab-close,\n.nol-tab:is(:focus-visible, [data-nol-state=\"Focus\"]) .nol-tab-close {\n visibility: visible;\n}\n\n.nol-tab:is(.nol-tab-working, .nol-tab-waiting):not(:is(:hover, [data-nol-state=\"Hover\"]), :is(:focus-visible, [data-nol-state=\"Focus\"])) .nol-tab-close {\n visibility: hidden;\n}\n\n.nol-tab:is(.nol-tab-working, .nol-tab-waiting):is(:is(:hover, [data-nol-state=\"Hover\"]), :is(:focus-visible, [data-nol-state=\"Focus\"])) .nol-tab-action:has(> .nol-tab-close) > :is(.nol-tab-spinner, .nol-tab-waiting-glyph) {\n visibility: hidden;\n}\n\n.nol-tab .nol-tab-spinner {\n width: var(--nol-icon);\n height: var(--nol-icon);\n}\n"] }]
|
|
161
161
|
}], ctorParameters: () => [], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], preview: [{ type: i0.Input, args: [{ isSignal: true, alias: "preview", required: false }] }], working: [{ type: i0.Input, args: [{ isSignal: true, alias: "working", required: false }] }], waiting: [{ type: i0.Input, args: [{ isSignal: true, alias: "waiting", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], badge: [{ type: i0.Input, args: [{ isSignal: true, alias: "badge", required: false }] }], badgeCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "badgeCount", required: false }] }], image: [{ type: i0.Input, args: [{ isSignal: true, alias: "image", required: false }] }], imageGlyph: [{ type: i0.Input, args: [{ isSignal: true, alias: "imageGlyph", required: false }] }], status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: false }] }], leadingSpinner: [{ type: i0.Input, args: [{ isSignal: true, alias: "leadingSpinner", required: false }] }], marker: [{ type: i0.Input, args: [{ isSignal: true, alias: "marker", required: false }] }], underline: [{ type: i0.Input, args: [{ isSignal: true, alias: "underline", required: false }] }], editing: [{ type: i0.Input, args: [{ isSignal: true, alias: "editing", required: false }] }], activate: [{ type: i0.Output, args: ["activate"] }], close: [{ type: i0.Output, args: ["close"] }], labelKept: [{ type: i0.Output, args: ["labelKept"] }], labelCancelled: [{ type: i0.Output, args: ["labelCancelled"] }], fieldElement: [{ type: i0.ViewChild, args: ["field", { ...{ read: ElementRef }, isSignal: true }] }] } });
|
|
162
162
|
//# sourceMappingURL=tab.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/tab/tab.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/tab/tab.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAe,iBAAiB,EAAuB,iBAAiB,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAC9J,SAAS,EAAE,MAAM,eAAe,CAAC;AAInC,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;;;AAgC3E,MAAM,OAAO,YAAY;IACJ,SAAS,GAAqB,SAAS,CAAC;IACxC,aAAa,GAAwB,YAAY,CAAC;IAClD,UAAU,GAAmB,QAAQ,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;mFAAC,CAAC;IACpF,cAAc,GAAmB,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,SAAS,EA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ACvB,IAAI,CAAC,IAAI,EAAE,CAAC;QACd,CAAC;aACI,IAAI,KAAK,CAAC,GAAG,KAAK,SAAS,CAAC,SAAS,EAAE,CAAC;YAC3C,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC;QAChD,CAAC;IACH,CAAC;IAES,IAAI;QACZ,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,EAAE,aAAa,CAAC;QACjD,IAAI,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC;YAC9C,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC/D,CAAC;IAES,YAAY;QACpB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IACtB,CAAC;IAEO,MAAM,CAAC,MAAkB;QAC/B,IAAI,IAAI,CAAC,SAAS;YAChB,OAAO;QACT,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,MAAM,EAAE,CAAC;IACX,CAAC;uGA1GU,YAAY;2FAAZ,YAAY,29FAxBZ,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,YAAY,CAAC,UAAU,EAAE,CAAC,4GAyDiC,UAAU,oICpFzH,woFAgDA,
|
|
1
|
+
{"version":3,"file":"tab.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/tab/tab.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/tab/tab.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAe,iBAAiB,EAAuB,iBAAiB,EAAE,QAAQ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