@noldova/ui.components.angular 0.0.3 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/app/components/avatar/avatar-initials-fitter.js +3 -3
- package/app/components/avatar/avatar.component.js +3 -3
- package/app/components/button/button.component.js +4 -4
- package/app/components/card/card.component.js +3 -3
- package/app/components/checkbox/checkbox.component.js +3 -3
- package/app/components/chip/chip.component.js +3 -3
- package/app/components/choice-pills/choice-pills.component.js +3 -3
- package/app/components/choice-row/choice-row.component.js +3 -3
- package/app/components/code-block/code-block.component.js +3 -3
- package/app/components/code-block/shell-run-output.component.js +3 -3
- package/app/components/code-block/shell-run-output.directive.js +3 -3
- package/app/components/configuration-table/configuration-table-action.directive.js +3 -3
- package/app/components/configuration-table/configuration-table-fill.directive.js +3 -3
- package/app/components/configuration-table/configuration-table-row-actions.directive.js +3 -3
- package/app/components/configuration-table/configuration-table-share.directive.js +3 -3
- package/app/components/configuration-table/configuration-table.component.js +3 -3
- package/app/components/configuration-table/configuration-table.directive.js +3 -3
- package/app/components/dialog/dialog-description.directive.js +3 -3
- package/app/components/dialog/dialog.component.js +3 -3
- package/app/components/diff-view/diff-code.directive.js +3 -3
- package/app/components/diff-view/diff-view.component.js +3 -3
- package/app/components/docking-guide/docking-guide.component.js +3 -3
- package/app/components/docking-plate/docking-plate.component.js +3 -3
- package/app/components/field-message/field-message.component.js +3 -3
- package/app/components/file-badge/file-badge.component.js +3 -3
- package/app/components/gallery/gallery-avatar.component.js +3 -3
- package/app/components/gallery/gallery-button.component.js +3 -3
- package/app/components/gallery/gallery-card.component.js +3 -3
- package/app/components/gallery/gallery-cell.component.js +3 -3
- package/app/components/gallery/gallery-checkbox.component.js +3 -3
- package/app/components/gallery/gallery-chip.component.js +3 -3
- package/app/components/gallery/gallery-choice-pills.component.js +3 -3
- package/app/components/gallery/gallery-choice-row.component.js +3 -3
- package/app/components/gallery/gallery-code-block.component.js +3 -3
- package/app/components/gallery/gallery-configuration-table.component.js +3 -3
- package/app/components/gallery/gallery-content.component.js +3 -3
- package/app/components/gallery/gallery-dialog.component.js +3 -3
- package/app/components/gallery/gallery-feed.component.js +3 -3
- package/app/components/gallery/gallery-file-badge.component.js +3 -3
- package/app/components/gallery/gallery-forms.component.js +3 -3
- package/app/components/gallery/gallery-group-header.component.js +3 -3
- package/app/components/gallery/gallery-icon-button.component.js +3 -3
- package/app/components/gallery/gallery-inline-code.component.js +3 -3
- package/app/components/gallery/gallery-markdown-view.component.js +3 -3
- package/app/components/gallery/gallery-menu.component.js +4 -4
- package/app/components/gallery/gallery-menu.component.js.map +1 -1
- package/app/components/gallery/gallery-message.component.js +3 -3
- package/app/components/gallery/gallery-meter.component.js +3 -3
- package/app/components/gallery/gallery-navigation.component.js +3 -3
- package/app/components/gallery/gallery-overlays.component.js +3 -3
- package/app/components/gallery/gallery-panel-card.component.js +3 -3
- package/app/components/gallery/gallery-press.directive.js +3 -3
- package/app/components/gallery/gallery-progress.component.js +3 -3
- package/app/components/gallery/gallery-quick-input.component.js +3 -3
- package/app/components/gallery/gallery-radio.component.js +3 -3
- package/app/components/gallery/gallery-refusing-clipboard.directive.js +3 -3
- package/app/components/gallery/gallery-refusing-clipboard.js +3 -3
- package/app/components/gallery/gallery-resources.d.ts +3 -1
- package/app/components/gallery/gallery-resources.js +3 -1
- package/app/components/gallery/gallery-resources.js.map +1 -1
- package/app/components/gallery/gallery-sash.component.js +3 -3
- package/app/components/gallery/gallery-scope.directive.js +3 -3
- package/app/components/gallery/gallery-section-header.component.js +3 -3
- package/app/components/gallery/gallery-select.component.js +3 -3
- package/app/components/gallery/gallery-specimen.component.js +3 -3
- package/app/components/gallery/gallery-spinner.component.js +3 -3
- package/app/components/gallery/gallery-split-button.component.js +3 -3
- package/app/components/gallery/gallery-split-button.component.js.map +1 -1
- package/app/components/gallery/gallery-state.directive.js +3 -3
- package/app/components/gallery/gallery-switch.component.js +3 -3
- package/app/components/gallery/gallery-tab.component.js +3 -3
- package/app/components/gallery/gallery-terminal-output.component.js +3 -3
- package/app/components/gallery/gallery-text-field.component.js +3 -3
- package/app/components/gallery/gallery-toolbar-button.component.js +3 -3
- package/app/components/gallery/gallery-tooltip.component.js +3 -3
- package/app/components/gallery/gallery-tree.component.js +3 -3
- package/app/components/gallery/gallery-view-badge.component.js +3 -3
- package/app/components/gallery/gallery-virtual-list.component.js +3 -3
- package/app/components/gallery/gallery.component.js +3 -3
- package/app/components/group-header/group-header.component.js +3 -3
- package/app/components/icon-button/icon-button.component.js +4 -4
- package/app/components/icon-button/icon-button.component.js.map +1 -1
- package/app/components/inline-code/inline-code.component.js +3 -3
- package/app/components/link-reference/link-reference-card.component.js +3 -3
- package/app/components/link-reference/link-reference-chip.component.js +3 -3
- package/app/components/link-reference/link-reference-image.component.js +3 -3
- package/app/components/link-reference/link-reference-work-item-state.component.js +3 -3
- package/app/components/markdown-view/markdown-math.component.js +3 -3
- package/app/components/markdown-view/markdown-view-nodes.component.js +3 -3
- package/app/components/markdown-view/markdown-view.component.js +3 -3
- package/app/components/mention-field/mention-field.directive.js +3 -3
- package/app/components/mention-field/mention-list.component.js +3 -3
- package/app/components/menu/context-menu-trigger.directive.js +3 -3
- package/app/components/menu/kept-open-menu-item.directive.js +3 -3
- package/app/components/menu/menu-group-action.directive.js +3 -3
- package/app/components/menu/menu-group.component.js +3 -3
- package/app/components/menu/menu-item.component.d.ts +10 -1
- package/app/components/menu/menu-item.component.js +7 -5
- package/app/components/menu/menu-item.component.js.map +1 -1
- package/app/components/menu/menu-opens-on.directive.js +3 -3
- package/app/components/menu/menu-separator.component.js +3 -3
- package/app/components/menu/menu-trigger.directive.js +3 -3
- package/app/components/menu/menu.component.js +3 -3
- package/app/components/menu-bar/menu-bar-item.component.js +3 -3
- package/app/components/menu-bar/menu-bar.component.js +3 -3
- package/app/components/message/message-action.directive.js +3 -3
- package/app/components/message/message-footer-end.directive.js +3 -3
- package/app/components/message/message-image.directive.js +3 -3
- package/app/components/message/message-run.component.js +3 -3
- package/app/components/message/message-slot.directive.js +3 -3
- package/app/components/message/message.component.js +3 -3
- package/app/components/meter/meter.component.js +3 -3
- package/app/components/panel-card/panel-card.component.js +3 -3
- package/app/components/permission-card/permission-card.component.js +3 -3
- package/app/components/plan/plan.component.js +3 -3
- package/app/components/popover/popover-trigger.directive.js +3 -3
- package/app/components/popover/popover.directive.js +3 -3
- package/app/components/progress/progress.component.js +3 -3
- package/app/components/progress/reveal-delay.directive.js +3 -3
- package/app/components/quick-input/quick-input.component.js +4 -4
- package/app/components/quick-input/quick-input.component.js.map +1 -1
- package/app/components/radio/radio-group.component.js +3 -3
- package/app/components/radio/radio.component.js +3 -3
- package/app/components/sash/sash.component.js +3 -3
- package/app/components/section-header/section-header.component.d.ts +4 -4
- package/app/components/section-header/section-header.component.js +4 -4
- package/app/components/select/select.component.js +3 -3
- package/app/components/spinner/spinner.component.js +4 -4
- package/app/components/split-button/split-button.component.js +3 -3
- package/app/components/switch/switch.component.js +3 -3
- package/app/components/tab/tab.component.js +4 -4
- package/app/components/tab/tab.component.js.map +1 -1
- package/app/components/terminal-output/terminal-output.component.js +3 -3
- package/app/components/text-field/text-field-box.component.js +3 -3
- package/app/components/text-field/text-field-end.directive.js +3 -3
- package/app/components/text-field/text-field.component.js +3 -3
- package/app/components/tool-call/tool-call-output.directive.js +3 -3
- package/app/components/tool-call/tool-call.component.js +3 -3
- package/app/components/toolbar/toolbar-item.directive.js +3 -3
- package/app/components/toolbar/toolbar.directive.js +3 -3
- package/app/components/toolbar-button/toolbar-button.component.js +4 -4
- package/app/components/toolbar-button/toolbar-button.component.js.map +1 -1
- package/app/components/tooltip/tooltip.component.js +3 -3
- package/app/components/tooltip/tooltip.directive.js +3 -3
- package/app/components/tree/tree-row.directive.js +3 -3
- package/app/components/tree/tree.component.js +3 -3
- package/app/components/view-badge/view-badge.component.js +3 -3
- package/app/components/virtual-list/virtual-list.component.js +4 -4
- package/app/components/virtual-list/virtual-list.component.js.map +1 -1
- package/app/components/virtual-list/virtual-row.directive.js +3 -3
- package/app/models/default-theme.js +1 -0
- package/app/models/default-theme.js.map +1 -1
- package/app/services/announcer.js +3 -3
- package/app/services/appearance.service.js +3 -3
- package/app/services/code-highlighter.js +3 -3
- package/app/services/code-highlights.js +3 -3
- package/app/services/dialog.service.js +3 -3
- package/app/services/diff-highlights.js +3 -3
- package/app/services/duration-formatter.js +3 -3
- package/app/services/markdown-math.renderer.js +3 -3
- package/app/services/markdown.parser.js +3 -3
- package/app/services/overlay-bounds.service.js +3 -3
- package/app/services/pending-permissions.js +3 -3
- package/app/services/scroll-reveal.service.js +3 -3
- package/app/services/shared-clock.js +3 -3
- package/app/services/tooltip-pace.js +3 -3
- package/package.json +7 -7
- package/resources.js +1 -0
- package/resources.js.map +1 -1
- package/styles/theme.css +1 -0
- package/testing/models/fixture-theme.js +1 -0
- package/testing/models/fixture-theme.js.map +1 -1
- package/testing/services/clipboard-writer-fixture.js +3 -3
|
@@ -195,13 +195,13 @@ export class QuickInputComponent {
|
|
|
195
195
|
static viewHeight(list) {
|
|
196
196
|
return list.clientHeight - Number.parseFloat(getComputedStyle(list).paddingBottom);
|
|
197
197
|
}
|
|
198
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
199
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.5", type: QuickInputComponent, isStandalone: true, selector: "nol-quick-input", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, emptyText: { classPropertyName: "emptyText", publicName: "emptyText", isSignal: true, isRequired: false, transformFunction: null }, isEmptyTextAlert: { classPropertyName: "isEmptyTextAlert", publicName: "isEmptyTextAlert", isSignal: true, isRequired: false, transformFunction: null }, query: { classPropertyName: "query", publicName: "query", isSignal: true, isRequired: false, transformFunction: null }, isFocusing: { classPropertyName: "isFocusing", publicName: "isFocusing", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { query: "queryChange", chosen: "chosen", dismissed: "dismissed", tabKey: "tabKey" }, host: { properties: { "class.nol-quick-input-has-icon": "icon() !== null" } }, viewQueries: [{ propertyName: "list", first: true, predicate: ["list"], descendants: true, isSignal: true }, { propertyName: "optionTooltips", predicate: TooltipDirective, 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-quick-input-box\">\n <input #field class=\"nol-quick-input-field\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" [attr.aria-expanded]=\"!isEmptyShown()\" [attr.aria-controls]=\"isEmptyShown() ? null : listId\"\n [attr.aria-activedescendant]=\"activeId()\" [attr.aria-label]=\"label()\" [placeholder]=\"label()\" [value]=\"query()\" spellcheck=\"false\" autocomplete=\"off\"\n (input)=\"onInput(field.value)\" (keydown)=\"onKey($event)\" (focusout)=\"stopFollowing()\" />\n @if (icon() !== null) {\n <span class=\"nol-quick-input-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ icon() }}</span>\n }\n</div>\n<div class=\"nol-quick-input-filters-area\">\n <div class=\"nol-quick-input-filters\"><ng-content select=\"[nolQuickInputFilters]\" /></div>\n</div>\n<div #list class=\"nol-quick-input-list\" role=\"listbox\" [class.nol-quick-input-list-hidden]=\"isEmptyShown()\" [id]=\"listId\" [attr.aria-label]=\"label()\">\n @for (group of groups(); track group.start) {\n <div class=\"nol-quick-input-group\" [attr.role]=\"group.label === null ? 'none' : 'group'\" [attr.aria-labelledby]=\"group.label === null ? null : headingId(group.start)\">\n @if (group.label; as heading) {\n <div class=\"nol-quick-input-heading\" [id]=\"headingId(group.start)\">{{ heading }}</div>\n }\n @for (item of group.items; track item.id; let offset = $index) {\n @let index = group.start + offset;\n <div class=\"nol-quick-input-option\" role=\"option\" [id]=\"optionId(index)\" [attr.aria-selected]=\"index === active()\" [attr.data-item]=\"item.id\"\n [attr.aria-describedby]=\"offset === 0 && group.label !== null ? headingId(group.start) : null\"\n [nolTooltip]=\"tooltipOf(item)\" [nolTooltipSide]=\"tooltipSide\" [nolTooltipBeside]=\"partResources.quickInputListSelector\" [nolTooltipTruncated]=\"true\" (click)=\"choose(index)\">\n <span class=\"nol-quick-input-icon material-symbols-rounded\" aria-hidden=\"true\">{{ item.icon }}</span>\n <span class=\"nol-quick-input-title\" data-truncates>\n @for (segment of item.segments; track $index) {\n @if (segment.isMatch) {\n <mark class=\"nol-quick-input-match\">{{ segment.text }}</mark>\n } @else {\n <span>{{ segment.text }}</span>\n }\n }\n </span>\n @if (item.detail) {\n <span class=\"nol-quick-input-detail\" data-truncates>\n @for (segment of item.detailSegments; track $index) {\n @if (segment.isMatch) {\n <mark class=\"nol-quick-input-match\">{{ segment.text }}</mark>\n } @else {\n <span>{{ segment.text }}</span>\n }\n }\n </span>\n }\n @if (item.keyLabel; as keys) {\n <span class=\"nol-quick-input-key\">{{ keys }}</span>\n }\n </div>\n }\n </div>\n }\n</div>\n@if (isEmptyShown()) {\n <div class=\"nol-quick-input-empty-area\">\n <p class=\"nol-quick-input-empty\">{{ emptyText() }}</p>\n </div>\n}\n<div class=\"nol-quick-input-footer-area\">\n <div class=\"nol-quick-input-footer\"><ng-content select=\"[nolQuickInputFooter]\" /></div>\n</div>\n<span class=\"nol-quick-input-status\" role=\"status\">{{ status() }}</span>\n<span class=\"nol-quick-input-status\" role=\"alert\">{{ alert() }}</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:host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-quick-input-gap);\n box-sizing: border-box;\n width: min(var(--nol-quick-input-width), calc(100cqw - var(--nol-space-4)));\n max-height: calc(100% - var(--nol-quick-input-margin));\n min-height: 0;\n margin-top: var(--nol-quick-input-margin);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-quick-input);\n box-shadow: var(--nol-shadow-xlarge);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-quick-input-box {\n display: grid;\n flex: none;\n padding: var(--nol-quick-input-padding);\n padding-bottom: 0;\n}\n\n.nol-quick-input-field {\n grid-area: 1 / 1;\n width: 100%;\n min-width: 0;\n box-sizing: border-box;\n min-height: var(--nol-quick-input-field-height);\n margin: 0;\n padding: 0 var(--nol-quick-input-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n color: var(--nol-input-text);\n font: inherit;\n outline: none;\n}\n\n.nol-quick-input-field::placeholder {\n color: var(--nol-placeholder);\n}\n\n.nol-quick-input-field:is(:focus, [data-nol-state=\"Focus\"]) {\n border-color: var(--nol-accent);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-quick-input-glyph {\n grid-area: 1 / 1;\n align-self: center;\n justify-self: start;\n width: var(--nol-quick-input-glyph);\n margin-inline: calc(var(--nol-border-width) + var(--nol-quick-input-field-padding));\n color: var(--nol-text-muted);\n font-size: var(--nol-quick-input-glyph);\n pointer-events: none;\n}\n\n:host(.nol-quick-input-has-icon) .nol-quick-input-field {\n padding-inline-start: calc(var(--nol-quick-input-field-padding) * 2 + var(--nol-quick-input-glyph));\n}\n\n.nol-quick-input-filters-area,\n.nol-quick-input-footer-area {\n flex: none;\n padding: var(--nol-quick-input-padding);\n}\n\n.nol-quick-input-filters-area {\n padding-block: 0;\n}\n\n.nol-quick-input-footer-area {\n padding-top: 0;\n}\n\n.nol-quick-input-filters-area:not(:has(> .nol-quick-input-filters > *)),\n.nol-quick-input-footer-area:not(:has(> .nol-quick-input-footer > *)) {\n display: none;\n}\n\n.nol-quick-input-filters,\n.nol-quick-input-footer {\n display: flex;\n align-items: center;\n}\n\n.nol-quick-input-filters {\n gap: var(--nol-space-1);\n padding-inline: calc(var(--nol-space-1) / 2);\n}\n\n.nol-quick-input-footer {\n gap: var(--nol-space-4);\n padding: calc(var(--nol-space-1) / 2) var(--nol-quick-input-row-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-small);\n line-height: var(--nol-quick-input-label-line);\n}\n\n.nol-quick-input-list {\n display: flex;\n flex-direction: column;\n min-height: 0;\n max-height: max(var(--nol-quick-input-list-height), calc(var(--nol-quick-input-row-height) * 10));\n padding: var(--nol-quick-input-padding);\n padding-top: 0;\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n.nol-quick-input-list-hidden {\n display: none;\n}\n\n.nol-quick-input-empty-area {\n flex: none;\n padding: var(--nol-quick-input-padding);\n padding-top: 0;\n}\n\n.nol-quick-input-empty {\n display: flex;\n flex: none;\n align-items: center;\n box-sizing: border-box;\n min-height: var(--nol-quick-input-row-height);\n margin: 0;\n padding-inline: calc(var(--nol-border-width) + var(--nol-quick-input-field-padding));\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n:host(.nol-quick-input-has-icon) .nol-quick-input-empty {\n padding-inline-start: calc(var(--nol-border-width) + var(--nol-quick-input-field-padding) * 2 + var(--nol-quick-input-glyph));\n}\n\n.nol-quick-input-group {\n display: flex;\n flex: none;\n flex-direction: column;\n}\n\n.nol-quick-input-group + .nol-quick-input-group {\n margin-top: var(--nol-quick-input-gap);\n}\n\n.nol-quick-input-heading {\n padding: var(--nol-space-2) var(--nol-quick-input-row-padding) var(--nol-space-1);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-small);\n font-weight: var(--nol-weight-strong);\n line-height: var(--nol-quick-input-label-line);\n}\n\n.nol-quick-input-option {\n position: relative;\n isolation: isolate;\n display: flex;\n flex: none;\n align-items: center;\n gap: var(--nol-quick-input-row-padding);\n box-sizing: border-box;\n min-height: var(--nol-quick-input-row-height);\n padding-inline: var(--nol-quick-input-row-padding);\n color: var(--nol-menu-text);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.nol-quick-input-option::before {\n position: absolute;\n z-index: -1;\n inset: 0;\n border-radius: var(--nol-radius-small);\n content: \"\";\n}\n\n.nol-quick-input-option:is(:hover, [data-nol-state=\"Hover\"])::before {\n background-color: var(--nol-hover);\n\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.nol-quick-input-option[aria-selected=\"true\"] {\n --nol-text-muted: var(--nol-menu-text);\n\n &::before {\n background-color: var(--nol-selected);\n }\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-accent: HighlightText;\n --nol-quick-input-key-border: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n\n &::before {\n background-color: Highlight;\n }\n }\n}\n\n.nol-quick-input-icon {\n flex: none;\n width: var(--nol-icon);\n font-size: var(--nol-icon);\n}\n\n.nol-quick-input-match {\n background: none;\n color: var(--nol-accent);\n font-weight: var(--nol-weight-strong);\n}\n\n.nol-quick-input-detail,\n.nol-quick-input-key {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.nol-quick-input-detail {\n flex: 1 1 0;\n max-width: max-content;\n margin-inline-end: auto;\n font-size: var(--nol-text-small);\n}\n\n.nol-quick-input-key {\n margin-inline-start: auto;\n padding: calc(var(--nol-space-1) / 4) calc(var(--nol-space-1) + var(--nol-space-1) / 4);\n border: var(--nol-border-width) solid var(--nol-quick-input-key-border);\n border-radius: var(--nol-radius-hover);\n font-size: var(--nol-quick-input-key-text);\n line-height: var(--nol-quick-input-label-line);\n}\n\n.nol-quick-input-status {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"], dependencies: [{ kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
198
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: QuickInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
199
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: QuickInputComponent, isStandalone: true, selector: "nol-quick-input", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, emptyText: { classPropertyName: "emptyText", publicName: "emptyText", isSignal: true, isRequired: false, transformFunction: null }, isEmptyTextAlert: { classPropertyName: "isEmptyTextAlert", publicName: "isEmptyTextAlert", isSignal: true, isRequired: false, transformFunction: null }, query: { classPropertyName: "query", publicName: "query", isSignal: true, isRequired: false, transformFunction: null }, isFocusing: { classPropertyName: "isFocusing", publicName: "isFocusing", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { query: "queryChange", chosen: "chosen", dismissed: "dismissed", tabKey: "tabKey" }, host: { properties: { "class.nol-quick-input-has-icon": "icon() !== null" } }, viewQueries: [{ propertyName: "list", first: true, predicate: ["list"], descendants: true, isSignal: true }, { propertyName: "optionTooltips", predicate: TooltipDirective, 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-quick-input-box\">\n <input #field class=\"nol-quick-input-field\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" [attr.aria-expanded]=\"!isEmptyShown()\" [attr.aria-controls]=\"isEmptyShown() ? null : listId\"\n [attr.aria-activedescendant]=\"activeId()\" [attr.aria-label]=\"label()\" [placeholder]=\"label()\" [value]=\"query()\" spellcheck=\"false\" autocomplete=\"off\"\n (input)=\"onInput(field.value)\" (keydown)=\"onKey($event)\" (focusout)=\"stopFollowing()\" />\n @if (icon() !== null) {\n <span class=\"nol-quick-input-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ icon() }}</span>\n }\n</div>\n<div class=\"nol-quick-input-filters-area\">\n <div class=\"nol-quick-input-filters\"><ng-content select=\"[nolQuickInputFilters]\" /></div>\n</div>\n<div #list class=\"nol-quick-input-list\" role=\"listbox\" [class.nol-quick-input-list-hidden]=\"isEmptyShown()\" [id]=\"listId\" [attr.aria-label]=\"label()\">\n @for (group of groups(); track group.start) {\n <div class=\"nol-quick-input-group\" [attr.role]=\"group.label === null ? 'none' : 'group'\" [attr.aria-labelledby]=\"group.label === null ? null : headingId(group.start)\">\n @if (group.label; as heading) {\n <div class=\"nol-quick-input-heading\" [id]=\"headingId(group.start)\">{{ heading }}</div>\n }\n @for (item of group.items; track item.id; let offset = $index) {\n @let index = group.start + offset;\n <div class=\"nol-quick-input-option\" role=\"option\" [id]=\"optionId(index)\" [attr.aria-selected]=\"index === active()\" [attr.data-item]=\"item.id\"\n [attr.aria-describedby]=\"offset === 0 && group.label !== null ? headingId(group.start) : null\"\n [nolTooltip]=\"tooltipOf(item)\" [nolTooltipSide]=\"tooltipSide\" [nolTooltipBeside]=\"partResources.quickInputListSelector\" [nolTooltipTruncated]=\"true\" (click)=\"choose(index)\">\n <span class=\"nol-quick-input-icon material-symbols-rounded\" aria-hidden=\"true\">{{ item.icon }}</span>\n <span class=\"nol-quick-input-title\" data-truncates>\n @for (segment of item.segments; track $index) {\n @if (segment.isMatch) {\n <mark class=\"nol-quick-input-match\">{{ segment.text }}</mark>\n } @else {\n <span>{{ segment.text }}</span>\n }\n }\n </span>\n @if (item.detail) {\n <span class=\"nol-quick-input-detail\" data-truncates>\n @for (segment of item.detailSegments; track $index) {\n @if (segment.isMatch) {\n <mark class=\"nol-quick-input-match\">{{ segment.text }}</mark>\n } @else {\n <span>{{ segment.text }}</span>\n }\n }\n </span>\n }\n @if (item.keyLabel; as keys) {\n <span class=\"nol-quick-input-key\">{{ keys }}</span>\n }\n </div>\n }\n </div>\n }\n</div>\n@if (isEmptyShown()) {\n <div class=\"nol-quick-input-empty-area\">\n <p class=\"nol-quick-input-empty\">{{ emptyText() }}</p>\n </div>\n}\n<div class=\"nol-quick-input-footer-area\">\n <div class=\"nol-quick-input-footer\"><ng-content select=\"[nolQuickInputFooter]\" /></div>\n</div>\n<span class=\"nol-quick-input-status\" role=\"status\">{{ status() }}</span>\n<span class=\"nol-quick-input-status\" role=\"alert\">{{ alert() }}</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:host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-quick-input-gap);\n box-sizing: border-box;\n width: min(var(--nol-quick-input-width), calc(100cqw - var(--nol-space-4)));\n max-height: calc(100% - var(--nol-quick-input-margin));\n min-height: 0;\n margin-top: var(--nol-quick-input-margin);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-quick-input);\n box-shadow: var(--nol-shadow-xlarge);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-quick-input-box {\n display: grid;\n flex: none;\n padding: var(--nol-quick-input-padding);\n padding-bottom: 0;\n}\n\n.nol-quick-input-field {\n grid-area: 1 / 1;\n width: 100%;\n min-width: 0;\n box-sizing: border-box;\n min-height: var(--nol-quick-input-field-height);\n margin: 0;\n padding: 0 var(--nol-quick-input-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n color: var(--nol-input-text);\n font: inherit;\n outline: none;\n}\n\n.nol-quick-input-field::placeholder {\n color: var(--nol-placeholder);\n}\n\n.nol-quick-input-field:is(:focus, [data-nol-state=\"Focus\"]) {\n border-color: var(--nol-accent);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-quick-input-glyph {\n grid-area: 1 / 1;\n align-self: center;\n justify-self: start;\n width: var(--nol-quick-input-glyph);\n margin-inline: calc(var(--nol-border-width) + var(--nol-quick-input-field-padding));\n color: var(--nol-text-muted);\n font-size: var(--nol-quick-input-glyph);\n pointer-events: none;\n}\n\n:host(.nol-quick-input-has-icon) .nol-quick-input-field {\n padding-inline-start: calc(var(--nol-quick-input-field-padding) * 2 + var(--nol-quick-input-glyph));\n}\n\n.nol-quick-input-filters-area,\n.nol-quick-input-footer-area {\n flex: none;\n padding: var(--nol-quick-input-padding);\n}\n\n.nol-quick-input-filters-area {\n padding-block: 0;\n}\n\n.nol-quick-input-footer-area {\n padding-top: 0;\n}\n\n.nol-quick-input-filters-area:not(:has(> .nol-quick-input-filters > *)),\n.nol-quick-input-footer-area:not(:has(> .nol-quick-input-footer > *)) {\n display: none;\n}\n\n.nol-quick-input-filters,\n.nol-quick-input-footer {\n display: flex;\n align-items: center;\n}\n\n.nol-quick-input-filters {\n gap: var(--nol-space-1);\n padding-inline: calc(var(--nol-space-1) / 2);\n}\n\n.nol-quick-input-footer {\n gap: var(--nol-space-4);\n padding: calc(var(--nol-space-1) / 2) var(--nol-quick-input-row-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-small);\n line-height: var(--nol-quick-input-label-line);\n}\n\n.nol-quick-input-list {\n display: flex;\n flex-direction: column;\n min-height: 0;\n max-height: max(var(--nol-quick-input-list-height), calc(var(--nol-quick-input-row-height) * 10));\n padding: var(--nol-quick-input-padding);\n padding-top: 0;\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n.nol-quick-input-list-hidden {\n display: none;\n}\n\n.nol-quick-input-empty-area {\n flex: none;\n padding: var(--nol-quick-input-padding);\n padding-top: 0;\n}\n\n.nol-quick-input-empty {\n display: flex;\n flex: none;\n align-items: center;\n box-sizing: border-box;\n min-height: var(--nol-quick-input-row-height);\n margin: 0;\n padding-inline: calc(var(--nol-border-width) + var(--nol-quick-input-field-padding));\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n:host(.nol-quick-input-has-icon) .nol-quick-input-empty {\n padding-inline-start: calc(var(--nol-border-width) + var(--nol-quick-input-field-padding) * 2 + var(--nol-quick-input-glyph));\n}\n\n.nol-quick-input-group {\n display: flex;\n flex: none;\n flex-direction: column;\n}\n\n.nol-quick-input-group + .nol-quick-input-group {\n margin-top: var(--nol-quick-input-gap);\n}\n\n.nol-quick-input-heading {\n padding: var(--nol-space-2) var(--nol-quick-input-row-padding) var(--nol-space-1);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-small);\n font-weight: var(--nol-weight-strong);\n line-height: var(--nol-quick-input-label-line);\n}\n\n.nol-quick-input-option {\n position: relative;\n isolation: isolate;\n display: flex;\n flex: none;\n align-items: center;\n gap: var(--nol-quick-input-row-padding);\n box-sizing: border-box;\n min-height: var(--nol-quick-input-row-height);\n padding-inline: var(--nol-quick-input-row-padding);\n color: var(--nol-menu-text);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.nol-quick-input-option::before {\n position: absolute;\n z-index: -1;\n inset: 0;\n border-radius: var(--nol-radius-small);\n content: \"\";\n}\n\n.nol-quick-input-option:is(:hover, [data-nol-state=\"Hover\"])::before {\n background-color: var(--nol-hover);\n\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.nol-quick-input-option[aria-selected=\"true\"] {\n --nol-text-muted: var(--nol-menu-text);\n\n &::before {\n background-color: var(--nol-selected);\n }\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-accent: HighlightText;\n --nol-quick-input-key-border: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n\n &::before {\n background-color: Highlight;\n }\n }\n}\n\n.nol-quick-input-icon {\n flex: none;\n width: var(--nol-icon);\n font-size: var(--nol-icon);\n}\n\n.nol-quick-input-match {\n background: none;\n color: var(--nol-accent);\n font-weight: var(--nol-weight-strong);\n}\n\n@media (forced-colors: active) {\n .nol-quick-input-option:not([aria-selected=\"true\"]) .nol-quick-input-match {\n color: CanvasText;\n }\n}\n\n.nol-quick-input-detail,\n.nol-quick-input-key {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.nol-quick-input-detail {\n flex: 1 1 0;\n max-width: max-content;\n margin-inline-end: auto;\n font-size: var(--nol-text-small);\n}\n\n.nol-quick-input-key {\n margin-inline-start: auto;\n padding: calc(var(--nol-space-1) / 4) calc(var(--nol-space-1) + var(--nol-space-1) / 4);\n border: var(--nol-border-width) solid var(--nol-quick-input-key-border);\n border-radius: var(--nol-radius-hover);\n font-size: var(--nol-quick-input-key-text);\n line-height: var(--nol-quick-input-label-line);\n}\n\n.nol-quick-input-status {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"], dependencies: [{ kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
200
200
|
}
|
|
201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: QuickInputComponent, decorators: [{
|
|
202
202
|
type: Component,
|
|
203
203
|
args: [{ selector: "nol-quick-input", imports: [TooltipDirective], host: {
|
|
204
204
|
"[class.nol-quick-input-has-icon]": "icon() !== null"
|
|
205
|
-
}, 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-quick-input-box\">\n <input #field class=\"nol-quick-input-field\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" [attr.aria-expanded]=\"!isEmptyShown()\" [attr.aria-controls]=\"isEmptyShown() ? null : listId\"\n [attr.aria-activedescendant]=\"activeId()\" [attr.aria-label]=\"label()\" [placeholder]=\"label()\" [value]=\"query()\" spellcheck=\"false\" autocomplete=\"off\"\n (input)=\"onInput(field.value)\" (keydown)=\"onKey($event)\" (focusout)=\"stopFollowing()\" />\n @if (icon() !== null) {\n <span class=\"nol-quick-input-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ icon() }}</span>\n }\n</div>\n<div class=\"nol-quick-input-filters-area\">\n <div class=\"nol-quick-input-filters\"><ng-content select=\"[nolQuickInputFilters]\" /></div>\n</div>\n<div #list class=\"nol-quick-input-list\" role=\"listbox\" [class.nol-quick-input-list-hidden]=\"isEmptyShown()\" [id]=\"listId\" [attr.aria-label]=\"label()\">\n @for (group of groups(); track group.start) {\n <div class=\"nol-quick-input-group\" [attr.role]=\"group.label === null ? 'none' : 'group'\" [attr.aria-labelledby]=\"group.label === null ? null : headingId(group.start)\">\n @if (group.label; as heading) {\n <div class=\"nol-quick-input-heading\" [id]=\"headingId(group.start)\">{{ heading }}</div>\n }\n @for (item of group.items; track item.id; let offset = $index) {\n @let index = group.start + offset;\n <div class=\"nol-quick-input-option\" role=\"option\" [id]=\"optionId(index)\" [attr.aria-selected]=\"index === active()\" [attr.data-item]=\"item.id\"\n [attr.aria-describedby]=\"offset === 0 && group.label !== null ? headingId(group.start) : null\"\n [nolTooltip]=\"tooltipOf(item)\" [nolTooltipSide]=\"tooltipSide\" [nolTooltipBeside]=\"partResources.quickInputListSelector\" [nolTooltipTruncated]=\"true\" (click)=\"choose(index)\">\n <span class=\"nol-quick-input-icon material-symbols-rounded\" aria-hidden=\"true\">{{ item.icon }}</span>\n <span class=\"nol-quick-input-title\" data-truncates>\n @for (segment of item.segments; track $index) {\n @if (segment.isMatch) {\n <mark class=\"nol-quick-input-match\">{{ segment.text }}</mark>\n } @else {\n <span>{{ segment.text }}</span>\n }\n }\n </span>\n @if (item.detail) {\n <span class=\"nol-quick-input-detail\" data-truncates>\n @for (segment of item.detailSegments; track $index) {\n @if (segment.isMatch) {\n <mark class=\"nol-quick-input-match\">{{ segment.text }}</mark>\n } @else {\n <span>{{ segment.text }}</span>\n }\n }\n </span>\n }\n @if (item.keyLabel; as keys) {\n <span class=\"nol-quick-input-key\">{{ keys }}</span>\n }\n </div>\n }\n </div>\n }\n</div>\n@if (isEmptyShown()) {\n <div class=\"nol-quick-input-empty-area\">\n <p class=\"nol-quick-input-empty\">{{ emptyText() }}</p>\n </div>\n}\n<div class=\"nol-quick-input-footer-area\">\n <div class=\"nol-quick-input-footer\"><ng-content select=\"[nolQuickInputFooter]\" /></div>\n</div>\n<span class=\"nol-quick-input-status\" role=\"status\">{{ status() }}</span>\n<span class=\"nol-quick-input-status\" role=\"alert\">{{ alert() }}</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:host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-quick-input-gap);\n box-sizing: border-box;\n width: min(var(--nol-quick-input-width), calc(100cqw - var(--nol-space-4)));\n max-height: calc(100% - var(--nol-quick-input-margin));\n min-height: 0;\n margin-top: var(--nol-quick-input-margin);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-quick-input);\n box-shadow: var(--nol-shadow-xlarge);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-quick-input-box {\n display: grid;\n flex: none;\n padding: var(--nol-quick-input-padding);\n padding-bottom: 0;\n}\n\n.nol-quick-input-field {\n grid-area: 1 / 1;\n width: 100%;\n min-width: 0;\n box-sizing: border-box;\n min-height: var(--nol-quick-input-field-height);\n margin: 0;\n padding: 0 var(--nol-quick-input-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n color: var(--nol-input-text);\n font: inherit;\n outline: none;\n}\n\n.nol-quick-input-field::placeholder {\n color: var(--nol-placeholder);\n}\n\n.nol-quick-input-field:is(:focus, [data-nol-state=\"Focus\"]) {\n border-color: var(--nol-accent);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-quick-input-glyph {\n grid-area: 1 / 1;\n align-self: center;\n justify-self: start;\n width: var(--nol-quick-input-glyph);\n margin-inline: calc(var(--nol-border-width) + var(--nol-quick-input-field-padding));\n color: var(--nol-text-muted);\n font-size: var(--nol-quick-input-glyph);\n pointer-events: none;\n}\n\n:host(.nol-quick-input-has-icon) .nol-quick-input-field {\n padding-inline-start: calc(var(--nol-quick-input-field-padding) * 2 + var(--nol-quick-input-glyph));\n}\n\n.nol-quick-input-filters-area,\n.nol-quick-input-footer-area {\n flex: none;\n padding: var(--nol-quick-input-padding);\n}\n\n.nol-quick-input-filters-area {\n padding-block: 0;\n}\n\n.nol-quick-input-footer-area {\n padding-top: 0;\n}\n\n.nol-quick-input-filters-area:not(:has(> .nol-quick-input-filters > *)),\n.nol-quick-input-footer-area:not(:has(> .nol-quick-input-footer > *)) {\n display: none;\n}\n\n.nol-quick-input-filters,\n.nol-quick-input-footer {\n display: flex;\n align-items: center;\n}\n\n.nol-quick-input-filters {\n gap: var(--nol-space-1);\n padding-inline: calc(var(--nol-space-1) / 2);\n}\n\n.nol-quick-input-footer {\n gap: var(--nol-space-4);\n padding: calc(var(--nol-space-1) / 2) var(--nol-quick-input-row-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-small);\n line-height: var(--nol-quick-input-label-line);\n}\n\n.nol-quick-input-list {\n display: flex;\n flex-direction: column;\n min-height: 0;\n max-height: max(var(--nol-quick-input-list-height), calc(var(--nol-quick-input-row-height) * 10));\n padding: var(--nol-quick-input-padding);\n padding-top: 0;\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n.nol-quick-input-list-hidden {\n display: none;\n}\n\n.nol-quick-input-empty-area {\n flex: none;\n padding: var(--nol-quick-input-padding);\n padding-top: 0;\n}\n\n.nol-quick-input-empty {\n display: flex;\n flex: none;\n align-items: center;\n box-sizing: border-box;\n min-height: var(--nol-quick-input-row-height);\n margin: 0;\n padding-inline: calc(var(--nol-border-width) + var(--nol-quick-input-field-padding));\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n:host(.nol-quick-input-has-icon) .nol-quick-input-empty {\n padding-inline-start: calc(var(--nol-border-width) + var(--nol-quick-input-field-padding) * 2 + var(--nol-quick-input-glyph));\n}\n\n.nol-quick-input-group {\n display: flex;\n flex: none;\n flex-direction: column;\n}\n\n.nol-quick-input-group + .nol-quick-input-group {\n margin-top: var(--nol-quick-input-gap);\n}\n\n.nol-quick-input-heading {\n padding: var(--nol-space-2) var(--nol-quick-input-row-padding) var(--nol-space-1);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-small);\n font-weight: var(--nol-weight-strong);\n line-height: var(--nol-quick-input-label-line);\n}\n\n.nol-quick-input-option {\n position: relative;\n isolation: isolate;\n display: flex;\n flex: none;\n align-items: center;\n gap: var(--nol-quick-input-row-padding);\n box-sizing: border-box;\n min-height: var(--nol-quick-input-row-height);\n padding-inline: var(--nol-quick-input-row-padding);\n color: var(--nol-menu-text);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.nol-quick-input-option::before {\n position: absolute;\n z-index: -1;\n inset: 0;\n border-radius: var(--nol-radius-small);\n content: \"\";\n}\n\n.nol-quick-input-option:is(:hover, [data-nol-state=\"Hover\"])::before {\n background-color: var(--nol-hover);\n\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.nol-quick-input-option[aria-selected=\"true\"] {\n --nol-text-muted: var(--nol-menu-text);\n\n &::before {\n background-color: var(--nol-selected);\n }\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-accent: HighlightText;\n --nol-quick-input-key-border: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n\n &::before {\n background-color: Highlight;\n }\n }\n}\n\n.nol-quick-input-icon {\n flex: none;\n width: var(--nol-icon);\n font-size: var(--nol-icon);\n}\n\n.nol-quick-input-match {\n background: none;\n color: var(--nol-accent);\n font-weight: var(--nol-weight-strong);\n}\n\n.nol-quick-input-detail,\n.nol-quick-input-key {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.nol-quick-input-detail {\n flex: 1 1 0;\n max-width: max-content;\n margin-inline-end: auto;\n font-size: var(--nol-text-small);\n}\n\n.nol-quick-input-key {\n margin-inline-start: auto;\n padding: calc(var(--nol-space-1) / 4) calc(var(--nol-space-1) + var(--nol-space-1) / 4);\n border: var(--nol-border-width) solid var(--nol-quick-input-key-border);\n border-radius: var(--nol-radius-hover);\n font-size: var(--nol-quick-input-key-text);\n line-height: var(--nol-quick-input-label-line);\n}\n\n.nol-quick-input-status {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"] }]
|
|
205
|
+
}, 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-quick-input-box\">\n <input #field class=\"nol-quick-input-field\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" [attr.aria-expanded]=\"!isEmptyShown()\" [attr.aria-controls]=\"isEmptyShown() ? null : listId\"\n [attr.aria-activedescendant]=\"activeId()\" [attr.aria-label]=\"label()\" [placeholder]=\"label()\" [value]=\"query()\" spellcheck=\"false\" autocomplete=\"off\"\n (input)=\"onInput(field.value)\" (keydown)=\"onKey($event)\" (focusout)=\"stopFollowing()\" />\n @if (icon() !== null) {\n <span class=\"nol-quick-input-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ icon() }}</span>\n }\n</div>\n<div class=\"nol-quick-input-filters-area\">\n <div class=\"nol-quick-input-filters\"><ng-content select=\"[nolQuickInputFilters]\" /></div>\n</div>\n<div #list class=\"nol-quick-input-list\" role=\"listbox\" [class.nol-quick-input-list-hidden]=\"isEmptyShown()\" [id]=\"listId\" [attr.aria-label]=\"label()\">\n @for (group of groups(); track group.start) {\n <div class=\"nol-quick-input-group\" [attr.role]=\"group.label === null ? 'none' : 'group'\" [attr.aria-labelledby]=\"group.label === null ? null : headingId(group.start)\">\n @if (group.label; as heading) {\n <div class=\"nol-quick-input-heading\" [id]=\"headingId(group.start)\">{{ heading }}</div>\n }\n @for (item of group.items; track item.id; let offset = $index) {\n @let index = group.start + offset;\n <div class=\"nol-quick-input-option\" role=\"option\" [id]=\"optionId(index)\" [attr.aria-selected]=\"index === active()\" [attr.data-item]=\"item.id\"\n [attr.aria-describedby]=\"offset === 0 && group.label !== null ? headingId(group.start) : null\"\n [nolTooltip]=\"tooltipOf(item)\" [nolTooltipSide]=\"tooltipSide\" [nolTooltipBeside]=\"partResources.quickInputListSelector\" [nolTooltipTruncated]=\"true\" (click)=\"choose(index)\">\n <span class=\"nol-quick-input-icon material-symbols-rounded\" aria-hidden=\"true\">{{ item.icon }}</span>\n <span class=\"nol-quick-input-title\" data-truncates>\n @for (segment of item.segments; track $index) {\n @if (segment.isMatch) {\n <mark class=\"nol-quick-input-match\">{{ segment.text }}</mark>\n } @else {\n <span>{{ segment.text }}</span>\n }\n }\n </span>\n @if (item.detail) {\n <span class=\"nol-quick-input-detail\" data-truncates>\n @for (segment of item.detailSegments; track $index) {\n @if (segment.isMatch) {\n <mark class=\"nol-quick-input-match\">{{ segment.text }}</mark>\n } @else {\n <span>{{ segment.text }}</span>\n }\n }\n </span>\n }\n @if (item.keyLabel; as keys) {\n <span class=\"nol-quick-input-key\">{{ keys }}</span>\n }\n </div>\n }\n </div>\n }\n</div>\n@if (isEmptyShown()) {\n <div class=\"nol-quick-input-empty-area\">\n <p class=\"nol-quick-input-empty\">{{ emptyText() }}</p>\n </div>\n}\n<div class=\"nol-quick-input-footer-area\">\n <div class=\"nol-quick-input-footer\"><ng-content select=\"[nolQuickInputFooter]\" /></div>\n</div>\n<span class=\"nol-quick-input-status\" role=\"status\">{{ status() }}</span>\n<span class=\"nol-quick-input-status\" role=\"alert\">{{ alert() }}</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:host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-quick-input-gap);\n box-sizing: border-box;\n width: min(var(--nol-quick-input-width), calc(100cqw - var(--nol-space-4)));\n max-height: calc(100% - var(--nol-quick-input-margin));\n min-height: 0;\n margin-top: var(--nol-quick-input-margin);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-quick-input);\n box-shadow: var(--nol-shadow-xlarge);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-quick-input-box {\n display: grid;\n flex: none;\n padding: var(--nol-quick-input-padding);\n padding-bottom: 0;\n}\n\n.nol-quick-input-field {\n grid-area: 1 / 1;\n width: 100%;\n min-width: 0;\n box-sizing: border-box;\n min-height: var(--nol-quick-input-field-height);\n margin: 0;\n padding: 0 var(--nol-quick-input-field-padding);\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-input);\n color: var(--nol-input-text);\n font: inherit;\n outline: none;\n}\n\n.nol-quick-input-field::placeholder {\n color: var(--nol-placeholder);\n}\n\n.nol-quick-input-field:is(:focus, [data-nol-state=\"Focus\"]) {\n border-color: var(--nol-accent);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-quick-input-glyph {\n grid-area: 1 / 1;\n align-self: center;\n justify-self: start;\n width: var(--nol-quick-input-glyph);\n margin-inline: calc(var(--nol-border-width) + var(--nol-quick-input-field-padding));\n color: var(--nol-text-muted);\n font-size: var(--nol-quick-input-glyph);\n pointer-events: none;\n}\n\n:host(.nol-quick-input-has-icon) .nol-quick-input-field {\n padding-inline-start: calc(var(--nol-quick-input-field-padding) * 2 + var(--nol-quick-input-glyph));\n}\n\n.nol-quick-input-filters-area,\n.nol-quick-input-footer-area {\n flex: none;\n padding: var(--nol-quick-input-padding);\n}\n\n.nol-quick-input-filters-area {\n padding-block: 0;\n}\n\n.nol-quick-input-footer-area {\n padding-top: 0;\n}\n\n.nol-quick-input-filters-area:not(:has(> .nol-quick-input-filters > *)),\n.nol-quick-input-footer-area:not(:has(> .nol-quick-input-footer > *)) {\n display: none;\n}\n\n.nol-quick-input-filters,\n.nol-quick-input-footer {\n display: flex;\n align-items: center;\n}\n\n.nol-quick-input-filters {\n gap: var(--nol-space-1);\n padding-inline: calc(var(--nol-space-1) / 2);\n}\n\n.nol-quick-input-footer {\n gap: var(--nol-space-4);\n padding: calc(var(--nol-space-1) / 2) var(--nol-quick-input-row-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-small);\n line-height: var(--nol-quick-input-label-line);\n}\n\n.nol-quick-input-list {\n display: flex;\n flex-direction: column;\n min-height: 0;\n max-height: max(var(--nol-quick-input-list-height), calc(var(--nol-quick-input-row-height) * 10));\n padding: var(--nol-quick-input-padding);\n padding-top: 0;\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n.nol-quick-input-list-hidden {\n display: none;\n}\n\n.nol-quick-input-empty-area {\n flex: none;\n padding: var(--nol-quick-input-padding);\n padding-top: 0;\n}\n\n.nol-quick-input-empty {\n display: flex;\n flex: none;\n align-items: center;\n box-sizing: border-box;\n min-height: var(--nol-quick-input-row-height);\n margin: 0;\n padding-inline: calc(var(--nol-border-width) + var(--nol-quick-input-field-padding));\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n:host(.nol-quick-input-has-icon) .nol-quick-input-empty {\n padding-inline-start: calc(var(--nol-border-width) + var(--nol-quick-input-field-padding) * 2 + var(--nol-quick-input-glyph));\n}\n\n.nol-quick-input-group {\n display: flex;\n flex: none;\n flex-direction: column;\n}\n\n.nol-quick-input-group + .nol-quick-input-group {\n margin-top: var(--nol-quick-input-gap);\n}\n\n.nol-quick-input-heading {\n padding: var(--nol-space-2) var(--nol-quick-input-row-padding) var(--nol-space-1);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-small);\n font-weight: var(--nol-weight-strong);\n line-height: var(--nol-quick-input-label-line);\n}\n\n.nol-quick-input-option {\n position: relative;\n isolation: isolate;\n display: flex;\n flex: none;\n align-items: center;\n gap: var(--nol-quick-input-row-padding);\n box-sizing: border-box;\n min-height: var(--nol-quick-input-row-height);\n padding-inline: var(--nol-quick-input-row-padding);\n color: var(--nol-menu-text);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.nol-quick-input-option::before {\n position: absolute;\n z-index: -1;\n inset: 0;\n border-radius: var(--nol-radius-small);\n content: \"\";\n}\n\n.nol-quick-input-option:is(:hover, [data-nol-state=\"Hover\"])::before {\n background-color: var(--nol-hover);\n\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.nol-quick-input-option[aria-selected=\"true\"] {\n --nol-text-muted: var(--nol-menu-text);\n\n &::before {\n background-color: var(--nol-selected);\n }\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-accent: HighlightText;\n --nol-quick-input-key-border: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n\n &::before {\n background-color: Highlight;\n }\n }\n}\n\n.nol-quick-input-icon {\n flex: none;\n width: var(--nol-icon);\n font-size: var(--nol-icon);\n}\n\n.nol-quick-input-match {\n background: none;\n color: var(--nol-accent);\n font-weight: var(--nol-weight-strong);\n}\n\n@media (forced-colors: active) {\n .nol-quick-input-option:not([aria-selected=\"true\"]) .nol-quick-input-match {\n color: CanvasText;\n }\n}\n\n.nol-quick-input-detail,\n.nol-quick-input-key {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.nol-quick-input-detail {\n flex: 1 1 0;\n max-width: max-content;\n margin-inline-end: auto;\n font-size: var(--nol-text-small);\n}\n\n.nol-quick-input-key {\n margin-inline-start: auto;\n padding: calc(var(--nol-space-1) / 4) calc(var(--nol-space-1) + var(--nol-space-1) / 4);\n border: var(--nol-border-width) solid var(--nol-quick-input-key-border);\n border-radius: var(--nol-radius-hover);\n font-size: var(--nol-quick-input-key-text);\n line-height: var(--nol-quick-input-label-line);\n}\n\n.nol-quick-input-status {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"] }]
|
|
206
206
|
}], ctorParameters: () => [], propDecorators: { list: [{ type: i0.ViewChild, args: ["list", { isSignal: true }] }], optionTooltips: [{ type: i0.ViewChildren, args: [i0.forwardRef(() => TooltipDirective), { isSignal: true }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], emptyText: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyText", required: false }] }], isEmptyTextAlert: [{ type: i0.Input, args: [{ isSignal: true, alias: "isEmptyTextAlert", required: false }] }], query: [{ type: i0.Input, args: [{ isSignal: true, alias: "query", required: false }] }, { type: i0.Output, args: ["queryChange"] }], isFocusing: [{ type: i0.Input, args: [{ isSignal: true, alias: "isFocusing", required: false }] }], chosen: [{ type: i0.Output, args: ["chosen"] }], dismissed: [{ type: i0.Output, args: ["dismissed"] }], tabKey: [{ type: i0.Output, args: ["tabKey"] }] } });
|
|
207
207
|
//# sourceMappingURL=quick-input.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quick-input.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/quick-input/quick-input.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/quick-input/quick-input.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAoC,gBAAgB,EAAE,eAAe,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAC9J,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EACvC,MAAM,eAAe,CAAC;AAEvB,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;;AAWlD,MAAM,OAAO,mBAAmB;IACtB,MAAM,CAAC,KAAK,GAAW,CAAC,CAAC;IAEhB,IAAI,GAAgB,MAAM,CAA0B,UAAU,CAAC,CAAC,aAAa,CAAC;IAC9E,QAAQ,GAAa,MAAM,CAAC,QAAQ,CAAC,CAAC;IACtC,IAAI,GAAoC,SAAS,CAAC,QAAQ,CAA0B,MAAM;6EAAC,CAAC;IAC5F,cAAc,GAAwC,YAAY,CAAC,gBAAgB;uFAAC,CAAC;IACrF,OAAO,GAAkC,Y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AG,CAAC,qBAAqB,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC;QAC3D,IAAI,GAAG,GAAG,IAAI,CAAC,SAAS;YACtB,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;aAClB,IAAI,MAAM,GAAG,IAAI,CAAC,SAAS,GAAG,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC;YACrE,IAAI,CAAC,SAAS,GAAG,MAAM,GAAG,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IACnE,CAAC;IAEO,MAAM,CAAC,UAAU,CAAC,IAAiB;QACzC,OAAO,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,aAAa,CAAC,CAAC;IACrF,CAAC;uGA5LU,mBAAmB;2FAAnB,mBAAmB,swCAMsD,gBAAgB,gECrCtG,2jHAqEA,
|
|
1
|
+
{"version":3,"file":"quick-input.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/quick-input/quick-input.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/quick-input/quick-input.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAoC,gBAAgB,EAAE,eAAe,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAC9J,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EACvC,MAAM,eAAe,CAAC;AAEvB,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,C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
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: RadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.6", type: RadioGroupComponent, isStandalone: true, selector: "nol-radio-group", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { attributes: { "role": "radiogroup" }, listeners: { "focusin": "follow($event)", "focusout": "leave()" }, properties: { "attr.aria-label": "label()" }, classAttribute: "nol-radio-group" }, ngImport: i0, template: "<ng-content />", isInline: true, 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: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n:host(:has(> .nol-choice-row)) {\n gap: 0;\n}\n"] });
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: RadioGroupComponent, decorators: [{
|
|
32
32
|
type: Component,
|
|
33
33
|
args: [{ selector: "nol-radio-group", template: "<ng-content />", host: {
|
|
34
34
|
"class": "nol-radio-group",
|
|
@@ -36,10 +36,10 @@ export class RadioComponent {
|
|
|
36
36
|
this.group?.value.set(this.value());
|
|
37
37
|
this.checkedChange.emit(true);
|
|
38
38
|
}
|
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
40
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: RadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.6", type: RadioComponent, isStandalone: true, selector: "nol-radio", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checkedChange: "checkedChange" }, host: { classAttribute: "nol-radio" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<label class=\"nol-radio-label\">\n <span class=\"nol-radio-control\">\n <input type=\"radio\" class=\"nol-radio-box\" [attr.name]=\"name\" [value]=\"value()\" [checked]=\"isChecked()\"\n [attr.aria-disabled]=\"disabled() ? resources.trueValue : null\" [attr.tabindex]=\"tabIndex()\"\n (click)=\"refuse($event)\" (change)=\"pick()\" />\n <span class=\"nol-radio-dot\" aria-hidden=\"true\"></span>\n </span>\n <span class=\"nol-radio-text\"><ng-content /></span>\n</label>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-flex;\n min-width: 0;\n}\n\n.nol-radio-label {\n display: inline-flex;\n align-items: flex-start;\n gap: var(--nol-space-2);\n min-width: 0;\n cursor: pointer;\n}\n\n.nol-radio-label:has([aria-disabled=\"true\"]) {\n cursor: default;\n}\n\n.nol-radio-label:has([aria-disabled=\"true\"]) .nol-radio-text {\n opacity: 0.5;\n}\n\n@media (forced-colors: active) {\n .nol-radio-label:has([aria-disabled=\"true\"]),\n .nol-radio-label:has([aria-disabled=\"true\"]) * {\n color: GrayText;\n }\n}\n\n:host(.nol-choice-row-control) {\n display: flex;\n}\n\n:host(.nol-choice-row-control) .nol-radio-label {\n flex: 1;\n padding: var(--nol-space-2) var(--nol-space-3);\n}\n\n.nol-radio-control {\n position: relative;\n display: inline-grid;\n flex: none;\n grid-template-rows: 1lh;\n align-items: center;\n height: 1lh;\n color: var(--nol-text);\n}\n\n.nol-radio-box {\n box-sizing: border-box;\n width: var(--nol-checkbox-size);\n height: var(--nol-checkbox-size);\n margin: 0;\n border: var(--nol-border-width) solid var(--nol-checkbox-border);\n border-radius: 50%;\n background-color: var(--nol-checkbox);\n appearance: none;\n cursor: pointer;\n}\n\n.nol-radio-box:not([aria-disabled=\"true\"]):is(:focus-visible, [data-nol-state=\"Focus\"]),\n.nol-radio-control:has(> .nol-radio-box[aria-disabled=\"true\"]:is(:focus-visible, [data-nol-state=\"Focus\"]))::after {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: var(--nol-border-width);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-radio-box[aria-disabled=\"true\"] {\n outline: none;\n opacity: 0.5;\n cursor: default;\n\n @media (forced-colors: active) {\n border-color: GrayText;\n }\n}\n\n.nol-radio-control::after {\n content: \"\";\n position: absolute;\n inset: 0;\n width: var(--nol-checkbox-size);\n height: var(--nol-checkbox-size);\n margin: auto;\n border-radius: 50%;\n pointer-events: none;\n}\n\n.nol-radio-dot {\n position: absolute;\n inset: 0;\n width: calc(var(--nol-checkbox-size) / 2);\n height: calc(var(--nol-checkbox-size) / 2);\n margin: auto;\n border-radius: 50%;\n background-color: currentColor;\n visibility: hidden;\n pointer-events: none;\n\n @media (forced-colors: active) {\n background-color: CanvasText;\n forced-color-adjust: none;\n }\n}\n\n.nol-radio-box:checked + .nol-radio-dot {\n visibility: visible;\n}\n\n.nol-radio-box[aria-disabled=\"true\"] + .nol-radio-dot {\n opacity: 0.5;\n\n @media (forced-colors: active) {\n background-color: GrayText;\n }\n}\n\n.nol-radio-text:empty {\n display: none;\n}\n"] });
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: RadioComponent, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{ selector: "nol-radio", host: {
|
|
45
45
|
"class": "nol-radio"
|
|
@@ -95,10 +95,10 @@ export class SashComponent {
|
|
|
95
95
|
this.cancelHover?.();
|
|
96
96
|
this.cancelHover = null;
|
|
97
97
|
}
|
|
98
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
99
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.
|
|
98
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SashComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
99
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.6", type: SashComponent, isStandalone: true, selector: "nol-sash", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, minimum: { classPropertyName: "minimum", publicName: "minimum", isSignal: true, isRequired: false, transformFunction: null }, maximum: { classPropertyName: "maximum", publicName: "maximum", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { resize: "resize" }, host: { attributes: { "role": "separator", "tabindex": "0" }, listeners: { "pointerenter": "onPointerEnter()", "pointerleave": "onPointerLeave()", "pointerdown": "onPointerDown($event)", "keydown": "onKeyDown($event)" }, properties: { "attr.aria-label": "label()", "attr.aria-orientation": "ariaOrientation()", "attr.aria-valuenow": "value() ?? null", "attr.aria-valuemin": "minimum() ?? null", "attr.aria-valuemax": "maximum() ?? null", "class.nol-sash-vertical": "isVertical()", "class.nol-sash-active": "isActive()" } }, 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-sash-bar\" aria-hidden=\"true\"></span>\n<span class=\"nol-sash-grip\" aria-hidden=\"true\">\n <span class=\"nol-sash-dot\"></span>\n <span class=\"nol-sash-dot\"></span>\n <span class=\"nol-sash-dot\"></span>\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:host {\n position: relative;\n display: flex;\n flex: none;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n height: var(--nol-sash);\n cursor: row-resize;\n outline: none;\n touch-action: none;\n}\n\n:host(.nol-sash-vertical) {\n width: var(--nol-sash);\n height: auto;\n cursor: col-resize;\n}\n\n:host::before {\n content: \"\";\n position: absolute;\n inset: calc(var(--nol-sash) * -1) 0;\n}\n\n:host(.nol-sash-vertical)::before {\n inset: 0 calc(var(--nol-sash) * -1);\n}\n\n:host(:is(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-sash-bar {\n position: absolute;\n inset: 0;\n background-color: var(--nol-sash-active);\n opacity: 0;\n pointer-events: none;\n transition: opacity 150ms linear;\n\n @media (forced-colors: active) {\n background-color: Highlight;\n }\n}\n\n:host(.nol-sash-active) .nol-sash-bar,\n:host(:is(:focus-visible, [data-nol-state=\"Focus\"])) .nol-sash-bar {\n opacity: 1;\n}\n\n.nol-sash-grip {\n display: flex;\n gap: var(--nol-sash-grip-spacing);\n transition: opacity 150ms linear;\n}\n\n:host(.nol-sash-active) .nol-sash-grip,\n:host(:is(:focus-visible, [data-nol-state=\"Focus\"])) .nol-sash-grip {\n opacity: 0;\n}\n\n:host(.nol-sash-vertical) .nol-sash-grip {\n flex-direction: column;\n}\n\n.nol-sash-dot {\n width: var(--nol-sash-grip);\n height: var(--nol-sash-grip);\n border-radius: 50%;\n background-color: color-mix(in srgb, var(--nol-text) 30%, transparent);\n\n @media (forced-colors: active) {\n background-color: CanvasText;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .nol-sash-bar,\n .nol-sash-grip {\n transition: none;\n }\n}\n"] });
|
|
100
100
|
}
|
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SashComponent, decorators: [{
|
|
102
102
|
type: Component,
|
|
103
103
|
args: [{ selector: "nol-sash", host: {
|
|
104
104
|
"role": "separator",
|
|
@@ -48,8 +48,8 @@ export declare class SectionHeaderComponent {
|
|
|
48
48
|
* Whether the person can fold the group, its `collapsible` input: the
|
|
49
49
|
* header then holds one button, the whole header, with the icon and the
|
|
50
50
|
* label where they are without it and a caret 0.25rem after the label at
|
|
51
|
-
* the
|
|
52
|
-
* hidden from screen readers. The button takes the hover fill and exposes
|
|
51
|
+
* the `section-header-caret` size, 0.875rem, in the header's text color,
|
|
52
|
+
* centered on the label's first line and hidden from screen readers. The button takes the hover fill and exposes
|
|
53
53
|
* the open state. False when not bound.
|
|
54
54
|
*/
|
|
55
55
|
readonly collapsible: import("@angular/core").InputSignal<boolean>;
|
|
@@ -57,8 +57,8 @@ export declare class SectionHeaderComponent {
|
|
|
57
57
|
* Whether the label shows as an uppercase group heading, its `uppercase`
|
|
58
58
|
* input: in capitals at `--nol-text-small`, the emphasis weight, the
|
|
59
59
|
* `text` color rather than `text-strong`, and `--nol-letter-spacing-caps`,
|
|
60
|
-
* with the icon
|
|
61
|
-
* unchanged. Screen readers still read the label as given. False when not
|
|
60
|
+
* with the icon as it is, the caret at its size in the label's color, and
|
|
61
|
+
* the header's height unchanged. Screen readers still read the label as given. False when not
|
|
62
62
|
* bound.
|
|
63
63
|
*/
|
|
64
64
|
readonly uppercase: import("@angular/core").InputSignal<boolean>;
|
|
@@ -27,10 +27,10 @@ export class SectionHeaderComponent {
|
|
|
27
27
|
toggle() {
|
|
28
28
|
this.expanded.set(!this.expanded());
|
|
29
29
|
}
|
|
30
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
31
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SectionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: SectionHeaderComponent, isStandalone: true, selector: "nol-section-header", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, collapsible: { classPropertyName: "collapsible", publicName: "collapsible", isSignal: true, isRequired: false, transformFunction: null }, uppercase: { classPropertyName: "uppercase", publicName: "uppercase", isSignal: true, isRequired: false, transformFunction: null }, controls: { classPropertyName: "controls", publicName: "controls", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expanded: "expandedChange" }, host: { attributes: { "role": "heading" }, properties: { "attr.aria-level": "level()", "class.nol-section-header-with-icon": "!!icon()", "class.nol-section-header-collapsible": "collapsible()", "class.nol-section-header-uppercase": "uppercase()", "class.nol-section-header-collapsed": "collapsible() && !expanded()" }, classAttribute: "nol-section-header" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (collapsible()) {\n <button type=\"button\" class=\"nol-section-header-toggle\" [attr.aria-expanded]=\"expanded()\" [attr.aria-controls]=\"controls()\" (click)=\"toggle()\">\n @if (icon(); as glyph) {\n <span class=\"nol-section-header-icon material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n }\n <span class=\"nol-section-header-label\">{{ label() }}</span>\n <span class=\"nol-section-header-caret material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.sectionHeaderCaretGlyph }}</span>\n </button>\n} @else if (icon(); as glyph) {\n <span class=\"nol-section-header-icon material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span><span class=\"nol-section-header-label\">{{ label() }}</span>\n} @else {\n <ng-container>{{ label() }}</ng-container>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n padding-block: calc((var(--nol-section-header-height) - var(--nol-line-label)) / 2);\n padding-inline: var(--nol-space-2);\n color: var(--nol-text-strong);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-label);\n}\n\n:host(.nol-section-header-uppercase) {\n color: var(--nol-text);\n font-size: var(--nol-text-small);\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n:host(:not(:first-child)) {\n margin-block-start: var(--nol-space-3);\n}\n\n:host(.nol-section-header-with-icon) {\n display: flex;\n align-items: flex-start;\n gap: var(--nol-space-2);\n}\n\n.nol-section-header-icon {\n flex: none;\n margin-block: calc((var(--nol-line-label) - var(--nol-icon)) / 2);\n color: var(--nol-icon-color);\n font-weight: normal;\n letter-spacing: normal;\n text-transform: none;\n}\n\n.nol-section-header-label {\n min-width: 0;\n}\n\n:host(.nol-section-header-collapsible) {\n padding: 0;\n border-radius: var(--nol-radius-small);\n}\n\n:host(.nol-section-header-collapsible:is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-hover);\n\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.nol-section-header-toggle {\n display: flex;\n flex: auto;\n align-items: flex-start;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n padding-block: calc((var(--nol-section-header-height) - var(--nol-line-label)) / 2);\n padding-inline: var(--nol-space-2);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: inherit;\n font: inherit;\n letter-spacing: inherit;\n text-align: start;\n text-transform: inherit;\n}\n\n.nol-section-header-toggle > .nol-section-header-label {\n margin-inline-end: calc(var(--nol-space-1) - var(--nol-space-2));\n}\n\n.nol-section-header-caret {\n flex: none;\n margin-block: calc((var(--nol-line-label) - var(--nol-section-header-caret)) / 2);\n color: inherit;\n font-size: var(--nol-section-header-caret);\n font-weight: normal;\n letter-spacing: normal;\n text-transform: none;\n}\n\n:host(.nol-section-header-collapsed) .nol-section-header-caret {\n rotate: -90deg;\n}\n\n:host(.nol-section-header-collapsed) .nol-section-header-caret:dir(rtl) {\n rotate: 90deg;\n}\n"] });
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SectionHeaderComponent, decorators: [{
|
|
34
34
|
type: Component,
|
|
35
35
|
args: [{ selector: "nol-section-header", host: {
|
|
36
36
|
"class": "nol-section-header",
|
|
@@ -40,6 +40,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImpor
|
|
|
40
40
|
"[class.nol-section-header-collapsible]": "collapsible()",
|
|
41
41
|
"[class.nol-section-header-uppercase]": "uppercase()",
|
|
42
42
|
"[class.nol-section-header-collapsed]": "collapsible() && !expanded()"
|
|
43
|
-
}, 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@if (collapsible()) {\n <button type=\"button\" class=\"nol-section-header-toggle\" [attr.aria-expanded]=\"expanded()\" [attr.aria-controls]=\"controls()\" (click)=\"toggle()\">\n @if (icon(); as glyph) {\n <span class=\"nol-section-header-icon material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n }\n <span class=\"nol-section-header-label\">{{ label() }}</span>\n <span class=\"nol-section-header-caret material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.sectionHeaderCaretGlyph }}</span>\n </button>\n} @else if (icon(); as glyph) {\n <span class=\"nol-section-header-icon material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span><span class=\"nol-section-header-label\">{{ label() }}</span>\n} @else {\n <ng-container>{{ label() }}</ng-container>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n padding-block: calc((var(--nol-section-header-height) - var(--nol-line-label)) / 2);\n padding-inline: var(--nol-space-2);\n color: var(--nol-text-strong);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-label);\n}\n\n:host(.nol-section-header-uppercase) {\n color: var(--nol-text);\n font-size: var(--nol-text-small);\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n:host(:not(:first-child)) {\n margin-block-start: var(--nol-space-3);\n}\n\n:host(.nol-section-header-with-icon) {\n display: flex;\n align-items: flex-start;\n gap: var(--nol-space-2);\n}\n\n.nol-section-header-icon {\n flex: none;\n margin-block: calc((var(--nol-line-label) - var(--nol-icon)) / 2);\n color: var(--nol-icon-color);\n font-weight: normal;\n letter-spacing: normal;\n text-transform: none;\n}\n\n.nol-section-header-label {\n min-width: 0;\n}\n\n:host(.nol-section-header-collapsible) {\n padding: 0;\n border-radius: var(--nol-radius-small);\n}\n\n:host(.nol-section-header-collapsible:is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-hover);\n\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.nol-section-header-toggle {\n display: flex;\n flex: auto;\n align-items: flex-start;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n padding-block: calc((var(--nol-section-header-height) - var(--nol-line-label)) / 2);\n padding-inline: var(--nol-space-2);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: inherit;\n font: inherit;\n letter-spacing: inherit;\n text-align: start;\n text-transform: inherit;\n}\n\n.nol-section-header-toggle > .nol-section-header-label {\n margin-inline-end: calc(var(--nol-space-1) - var(--nol-space-2));\n}\n\n.nol-section-header-caret {\n flex: none;\n margin-block: calc((var(--nol-line-label) - var(--nol-
|
|
43
|
+
}, 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@if (collapsible()) {\n <button type=\"button\" class=\"nol-section-header-toggle\" [attr.aria-expanded]=\"expanded()\" [attr.aria-controls]=\"controls()\" (click)=\"toggle()\">\n @if (icon(); as glyph) {\n <span class=\"nol-section-header-icon material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n }\n <span class=\"nol-section-header-label\">{{ label() }}</span>\n <span class=\"nol-section-header-caret material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.sectionHeaderCaretGlyph }}</span>\n </button>\n} @else if (icon(); as glyph) {\n <span class=\"nol-section-header-icon material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span><span class=\"nol-section-header-label\">{{ label() }}</span>\n} @else {\n <ng-container>{{ label() }}</ng-container>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n padding-block: calc((var(--nol-section-header-height) - var(--nol-line-label)) / 2);\n padding-inline: var(--nol-space-2);\n color: var(--nol-text-strong);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n line-height: var(--nol-line-label);\n}\n\n:host(.nol-section-header-uppercase) {\n color: var(--nol-text);\n font-size: var(--nol-text-small);\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n:host(:not(:first-child)) {\n margin-block-start: var(--nol-space-3);\n}\n\n:host(.nol-section-header-with-icon) {\n display: flex;\n align-items: flex-start;\n gap: var(--nol-space-2);\n}\n\n.nol-section-header-icon {\n flex: none;\n margin-block: calc((var(--nol-line-label) - var(--nol-icon)) / 2);\n color: var(--nol-icon-color);\n font-weight: normal;\n letter-spacing: normal;\n text-transform: none;\n}\n\n.nol-section-header-label {\n min-width: 0;\n}\n\n:host(.nol-section-header-collapsible) {\n padding: 0;\n border-radius: var(--nol-radius-small);\n}\n\n:host(.nol-section-header-collapsible:is(:hover, [data-nol-state=\"Hover\"])) {\n background-color: var(--nol-hover);\n\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.nol-section-header-toggle {\n display: flex;\n flex: auto;\n align-items: flex-start;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n padding-block: calc((var(--nol-section-header-height) - var(--nol-line-label)) / 2);\n padding-inline: var(--nol-space-2);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: inherit;\n font: inherit;\n letter-spacing: inherit;\n text-align: start;\n text-transform: inherit;\n}\n\n.nol-section-header-toggle > .nol-section-header-label {\n margin-inline-end: calc(var(--nol-space-1) - var(--nol-space-2));\n}\n\n.nol-section-header-caret {\n flex: none;\n margin-block: calc((var(--nol-line-label) - var(--nol-section-header-caret)) / 2);\n color: inherit;\n font-size: var(--nol-section-header-caret);\n font-weight: normal;\n letter-spacing: normal;\n text-transform: none;\n}\n\n:host(.nol-section-header-collapsed) .nol-section-header-caret {\n rotate: -90deg;\n}\n\n:host(.nol-section-header-collapsed) .nol-section-header-caret:dir(rtl) {\n rotate: 90deg;\n}\n"] }]
|
|
44
44
|
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], collapsible: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsible", required: false }] }], uppercase: [{ type: i0.Input, args: [{ isSignal: true, alias: "uppercase", required: false }] }], controls: [{ type: i0.Input, args: [{ isSignal: true, alias: "controls", required: false }] }], expanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "expanded", required: false }] }, { type: i0.Output, args: ["expandedChange"] }] } });
|
|
45
45
|
//# sourceMappingURL=section-header.component.js.map
|
|
@@ -150,10 +150,10 @@ export class SelectComponent {
|
|
|
150
150
|
this.overlay?.dispose();
|
|
151
151
|
this.overlay = null;
|
|
152
152
|
}
|
|
153
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
154
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.
|
|
153
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
154
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: SelectComponent, isStandalone: true, selector: "nol-select", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, describedBy: { classPropertyName: "describedBy", publicName: "describedBy", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange" }, host: { classAttribute: "nol-select" }, viewQueries: [{ propertyName: "button", first: true, predicate: ["button"], descendants: true, isSignal: true }, { propertyName: "optionItems", predicate: CdkOption, descendants: true, isSignal: true }, { propertyName: "optionTooltips", predicate: TooltipDirective, 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<button #button type=\"button\" class=\"nol-select-button\" aria-haspopup=\"listbox\" [attr.aria-expanded]=\"isOpen()\" [disabled]=\"disabled()\"\n [attr.aria-label]=\"name()\" [attr.aria-describedby]=\"describedBy()\" (click)=\"toggle(button, list)\">\n <span class=\"nol-select-value\" data-truncates>{{ title() }}</span>\n <span class=\"nol-select-arrow material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.selectGlyph }}</span>\n</button>\n<ng-template #list>\n <div class=\"nol-select-list\" cdkListbox cdkListboxUseActiveDescendant [cdkListboxValue]=\"marked()\" [attr.aria-label]=\"label()\" [style.min-width.px]=\"button.offsetWidth\"\n (cdkListboxValueChange)=\"choose($event, button)\" (keydown)=\"handleKey($event, button)\">\n @for (section of sections(); track $index) {\n <div class=\"nol-select-section\" [attr.role]=\"section.label === null ? null : 'group'\" [attr.aria-labelledby]=\"section.labelId\">\n @if (section.label !== null) {\n <div class=\"nol-select-group-label\" aria-hidden=\"true\" [id]=\"section.labelId\">{{ section.label }}</div>\n }\n @for (option of section.options; track option.value) {\n <div class=\"nol-select-option\" [cdkOption]=\"option.value\" [cdkOptionTypeaheadLabel]=\"option.title\" [cdkOptionDisabled]=\"option.isDisabled\" [attr.data-value]=\"option.value\" [nolTooltip]=\"option.title\"\n [nolTooltipSide]=\"optionTooltipSide\" [nolTooltipBeside]=\"partResources.selectListSelector\" [nolTooltipTruncated]=\"true\"\n (click)=\"closeOnCurrent(option.value, button)\"><span class=\"nol-select-option-title\" data-truncates>{{ option.title }}</span>\n @if (option.tag; as tag) {\n <nol-chip class=\"nol-select-option-tag\" [kind]=\"tagKind\">{{ tag }}</nol-chip>\n }\n </div>\n }\n </div>\n }\n </div>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-flex;\n width: var(--nol-select-width);\n max-width: 100%;\n min-width: 0;\n}\n\n.nol-select-button {\n display: flex;\n flex: auto;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-width: 0;\n min-height: var(--nol-field-height);\n margin: 0;\n padding: 0 var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-dropdown-border);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-dropdown);\n color: var(--nol-input-text);\n font: inherit;\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n text-align: start;\n cursor: pointer;\n}\n\n.nol-select-button:is(:focus-visible, [data-nol-state=\"Focus\"]),\n.nol-select-button[aria-expanded=\"true\"] {\n border-color: var(--nol-accent);\n outline: none;\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-select-button:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.nol-select-value {\n flex: auto;\n}\n\n.nol-select-arrow {\n flex: none;\n color: var(--nol-text);\n font-size: var(--nol-icon);\n}\n\n.nol-select-list {\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n max-width: calc(100cqw - var(--nol-space-4));\n max-height: calc((var(--nol-dropdown-row-height) + var(--nol-row-gap)) * 10.5 + var(--nol-dropdown-padding) * 2 + var(--nol-border-width) * 2);\n padding: var(--nol-dropdown-padding);\n overflow-x: hidden;\n overflow-y: auto;\n border: var(--nol-border-width) solid var(--nol-dropdown-border);\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-dropdown-list);\n box-shadow: 0 0.125rem 0.5rem var(--nol-widget-shadow);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n outline: none;\n}\n\n.nol-select-list:focus-visible:not(:has(.cdk-option-active)) {\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 }\n}\n\n.nol-select-section {\n display: contents;\n}\n\n.nol-select-section[role=\"group\"] {\n display: flex;\n flex-direction: column;\n}\n\n.nol-select-group-label {\n padding: var(--nol-menu-label-padding);\n padding-inline: var(--nol-dropdown-row-padding);\n color: var(--nol-text-muted);\n}\n\n.nol-select-option {\n position: relative;\n isolation: isolate;\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-height: calc(var(--nol-dropdown-row-height) + var(--nol-row-gap));\n padding: var(--nol-tab-inset) var(--nol-dropdown-row-padding);\n color: var(--nol-input-text);\n cursor: pointer;\n}\n\n.nol-select-option::before {\n position: absolute;\n z-index: -1;\n inset-block: var(--nol-tab-inset);\n inset-inline: 0;\n border-radius: var(--nol-radius-small);\n content: \"\";\n}\n\n.nol-select-option:not([aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])::before {\n background-color: var(--nol-hover);\n\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.nol-select-option-tag {\n flex: none;\n max-width: calc(100% - var(--nol-space-2));\n}\n\n.nol-select-option[aria-selected=\"true\"],\n.nol-select-option.cdk-option-active {\n --nol-text-muted: var(--nol-list-active-text);\n\n color: var(--nol-list-active-text);\n\n &::before {\n background-color: var(--nol-list-active);\n }\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\n color: HighlightText;\n forced-color-adjust: none;\n\n &::before {\n background-color: Highlight;\n }\n }\n}\n\n.nol-select-option[aria-disabled=\"true\"] {\n cursor: default;\n}\n\n.nol-select-option[aria-disabled=\"true\"] > * {\n opacity: 0.5;\n}\n\n@media (forced-colors: active) {\n .nol-select-option[aria-disabled=\"true\"],\n .nol-select-option[aria-disabled=\"true\"] * {\n color: GrayText;\n }\n\n .nol-select-option[aria-disabled=\"true\"]:is([aria-selected=\"true\"], .cdk-option-active) {\n --nol-text: GrayText;\n --nol-text-muted: GrayText;\n --nol-menu-text: GrayText;\n --nol-icon-color: GrayText;\n --nol-list-highlight: GrayText;\n --nol-list-active-text: GrayText;\n }\n\n .nol-select-option[aria-disabled=\"true\"]:is([aria-selected=\"true\"], .cdk-option-active)::before {\n background-color: Canvas;\n outline: var(--nol-border-width) solid GrayText;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n\n .nol-select-option[aria-disabled=\"true\"].cdk-option-active::before {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n"], dependencies: [{ kind: "directive", type: CdkListbox, selector: "[cdkListbox]", inputs: ["id", "tabindex", "cdkListboxValue", "cdkListboxMultiple", "cdkListboxDisabled", "cdkListboxUseActiveDescendant", "cdkListboxOrientation", "cdkListboxCompareWith", "cdkListboxNavigationWrapDisabled", "cdkListboxNavigatesDisabledOptions"], outputs: ["cdkListboxValueChange"], exportAs: ["cdkListbox"] }, { kind: "directive", type: CdkOption, selector: "[cdkOption]", inputs: ["id", "cdkOption", "cdkOptionTypeaheadLabel", "cdkOptionDisabled", "tabindex"], exportAs: ["cdkOption"] }, { kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
155
155
|
}
|
|
156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SelectComponent, decorators: [{
|
|
157
157
|
type: Component,
|
|
158
158
|
args: [{ selector: "nol-select", imports: [CdkListbox, CdkOption, ChipComponent, TooltipDirective], host: {
|
|
159
159
|
"class": "nol-select"
|
|
@@ -13,13 +13,13 @@ export class SpinnerComponent {
|
|
|
13
13
|
reveal = inject(RevealDelayDirective, { self: true });
|
|
14
14
|
label = input(String.empty, /* @ts-ignore */
|
|
15
15
|
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
17
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: SpinnerComponent, isStandalone: true, selector: "nol-spinner", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "label() ? 'status' : null" } }, hostDirectives: [{ directive: i1.RevealDelayDirective, inputs: ["isDelayed", "isDelayed"] }], 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-spinner-ring\" aria-hidden=\"true\"></span>\n@if (!reveal.isPending() && label()) {\n <span class=\"nol-spinner-label\">{{ label() }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-block;\n position: relative;\n box-sizing: border-box;\n width: var(--nol-spinner);\n height: var(--nol-spinner);\n flex: none;\n}\n\n:host(.nol-reveal-pending) {\n visibility: hidden;\n}\n\n.nol-spinner-ring {\n display: block;\n position: absolute;\n inset: 0;\n box-sizing: border-box;\n width: var(--nol-spinner-ring);\n height: var(--nol-spinner-ring);\n margin: auto;\n border: var(--nol-spinner-stroke) solid color-mix(in srgb, var(--nol-progress) 25%, transparent);\n border-top-color: var(--nol-progress);\n border-radius: 50%;\n animation: nol-spinner-turn 0.8s linear infinite;\n\n @media (forced-colors: active) {\n border-width: var(--nol-border-width);\n border-top-width: var(--nol-spinner-stroke);\n border-color: var(--nol-spinner-forced-ring, GrayText);\n border-top-color: var(--nol-spinner-forced-arc, Highlight);\n }\n}\n\n.nol-spinner-label {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .nol-spinner-ring {\n animation: none;\n border-inline-end-color: var(--nol-progress);\n\n @media (forced-colors: active) {\n border-inline-end-width: var(--nol-spinner-stroke);\n border-inline-end-color: var(--nol-spinner-forced-arc, Highlight);\n }\n }\n}\n\n@keyframes nol-spinner-turn {\n to {\n transform: rotate(360deg);\n }\n}\n"] });
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: "nol-spinner", hostDirectives: [{ directive: RevealDelayDirective, inputs: ["isDelayed"] }], host: {
|
|
22
22
|
"[attr.role]": "label() ? 'status' : null"
|
|
23
|
-
}, 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-spinner-ring\" aria-hidden=\"true\"></span>\n@if (!reveal.isPending() && label()) {\n <span class=\"nol-spinner-label\">{{ label() }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-block;\n position: relative;\n box-sizing: border-box;\n width: var(--nol-spinner);\n height: var(--nol-spinner);\n flex: none;\n}\n\n:host(.nol-reveal-pending) {\n visibility: hidden;\n}\n\n.nol-spinner-ring {\n display: block;\n position: absolute;\n inset: 0;\n box-sizing: border-box;\n width: var(--nol-spinner-ring);\n height: var(--nol-spinner-ring);\n margin: auto;\n border: var(--nol-spinner-stroke) solid color-mix(in srgb, var(--nol-progress) 25%, transparent);\n border-top-color: var(--nol-progress);\n border-radius: 50%;\n animation: nol-spinner-turn 0.8s linear infinite;\n\n @media (forced-colors: active) {\n border-width: var(--nol-border-width);\n border-top-width: var(--nol-spinner-stroke);\n border-color: GrayText;\n border-top-color: Highlight;\n }\n}\n\n.nol-spinner-label {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .nol-spinner-ring {\n animation: none;\n border-inline-end-color: var(--nol-progress);\n\n @media (forced-colors: active) {\n border-inline-end-width: var(--nol-spinner-stroke);\n border-inline-end-color: Highlight;\n }\n }\n}\n\n@keyframes nol-spinner-turn {\n to {\n transform: rotate(360deg);\n }\n}\n"] }]
|
|
23
|
+
}, 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-spinner-ring\" aria-hidden=\"true\"></span>\n@if (!reveal.isPending() && label()) {\n <span class=\"nol-spinner-label\">{{ label() }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-block;\n position: relative;\n box-sizing: border-box;\n width: var(--nol-spinner);\n height: var(--nol-spinner);\n flex: none;\n}\n\n:host(.nol-reveal-pending) {\n visibility: hidden;\n}\n\n.nol-spinner-ring {\n display: block;\n position: absolute;\n inset: 0;\n box-sizing: border-box;\n width: var(--nol-spinner-ring);\n height: var(--nol-spinner-ring);\n margin: auto;\n border: var(--nol-spinner-stroke) solid color-mix(in srgb, var(--nol-progress) 25%, transparent);\n border-top-color: var(--nol-progress);\n border-radius: 50%;\n animation: nol-spinner-turn 0.8s linear infinite;\n\n @media (forced-colors: active) {\n border-width: var(--nol-border-width);\n border-top-width: var(--nol-spinner-stroke);\n border-color: var(--nol-spinner-forced-ring, GrayText);\n border-top-color: var(--nol-spinner-forced-arc, Highlight);\n }\n}\n\n.nol-spinner-label {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .nol-spinner-ring {\n animation: none;\n border-inline-end-color: var(--nol-progress);\n\n @media (forced-colors: active) {\n border-inline-end-width: var(--nol-spinner-stroke);\n border-inline-end-color: var(--nol-spinner-forced-arc, Highlight);\n }\n }\n}\n\n@keyframes nol-spinner-turn {\n to {\n transform: rotate(360deg);\n }\n}\n"] }]
|
|
24
24
|
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }] } });
|
|
25
25
|
//# sourceMappingURL=spinner.component.js.map
|
|
@@ -44,10 +44,10 @@ export class SplitButtonComponent {
|
|
|
44
44
|
if (!this.disabled())
|
|
45
45
|
this.triggered.emit();
|
|
46
46
|
}
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
48
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SplitButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.6", type: SplitButtonComponent, isStandalone: true, selector: "nol-split-button", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, menuLabel: { classPropertyName: "menuLabel", publicName: "menuLabel", isSignal: true, isRequired: true, transformFunction: null }, menu: { classPropertyName: "menu", publicName: "menu", isSignal: true, isRequired: true, transformFunction: null }, menuAlignment: { classPropertyName: "menuAlignment", publicName: "menuAlignment", isSignal: true, isRequired: false, transformFunction: null }, tooltipSide: { classPropertyName: "tooltipSide", publicName: "tooltipSide", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { triggered: "triggered" }, host: { properties: { "class.nol-split-button-busy": "busy()" }, classAttribute: "nol-split-button" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<button type=\"button\" nol-icon-button class=\"nol-split-button-main\" [icon]=\"icon()\" [label]=\"label()\" [nolTooltip]=\"tooltip() ?? label()\" [nolTooltipSide]=\"tooltipSide()\"\n [busy]=\"busy()\" [attr.aria-disabled]=\"disabled() ? resources.trueValue : null\" (click)=\"trigger()\"></button>\n<button type=\"button\" nol-icon-button class=\"nol-split-button-arrow\" [icon]=\"partResources.splitButtonGlyph\" [label]=\"menuLabel()\" [nolTooltip]=\"menuLabel()\"\n [nolTooltipSide]=\"tooltipSide()\" [nolMenuTriggerFor]=\"menu()\" [nolMenuAlignment]=\"menuAlignment()\"></button>\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 position: relative;\n display: inline-flex;\n flex: none;\n align-items: center;\n vertical-align: middle;\n}\n\n:host::before {\n content: \"\";\n position: absolute;\n inset-inline: 0;\n top: 50%;\n height: var(--nol-icon-button);\n translate: 0 -50%;\n border-radius: var(--nol-radius-small);\n pointer-events: none;\n}\n\n.nol-split-button-main::before,\n.nol-split-button-arrow::before {\n width: 100%;\n}\n\n.nol-split-button-main::before {\n border-start-end-radius: 0;\n border-end-end-radius: 0;\n}\n\n.nol-split-button-arrow::before {\n border-start-start-radius: 0;\n border-end-start-radius: 0;\n}\n\n.nol-split-button-arrow::after {\n content: \"\";\n grid-area: 1 / 1;\n justify-self: start;\n width: var(--nol-border-width);\n height: var(--nol-icon-button);\n visibility: hidden;\n background-color: var(--nol-widget-border);\n}\n\n:host(:is(:hover, :has([data-nol-state=\"Hover\"], .nol-split-button-arrow[aria-expanded=\"true\"])))::before {\n outline: var(--nol-border-width) solid var(--nol-widget-border);\n}\n\n:host(:is(:hover, :has([data-nol-state=\"Hover\"], .nol-split-button-arrow[aria-expanded=\"true\"]))) .nol-split-button-arrow::after {\n visibility: visible;\n}\n\n.nol-split-button-arrow[aria-expanded=\"true\"]::before {\n background-color: var(--nol-toolbar-hover);\n}\n\n@media (forced-colors: active) {\n :host(:is(:hover, :has([data-nol-state=\"Hover\"], .nol-split-button-arrow[aria-expanded=\"true\"])))::before {\n outline-color: ButtonText;\n }\n\n .nol-split-button-arrow::after {\n background-color: ButtonText;\n }\n\n .nol-split-button-arrow[aria-expanded=\"true\"] {\n --nol-icon-color: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n\n &::before {\n background-color: Highlight;\n }\n }\n}\n"], dependencies: [{ kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SplitButtonComponent, decorators: [{
|
|
51
51
|
type: Component,
|
|
52
52
|
args: [{ selector: "nol-split-button", imports: [IconButtonComponent, MenuTriggerDirective, TooltipDirective], host: {
|
|
53
53
|
"class": "nol-split-button",
|
|
@@ -36,10 +36,10 @@ export class SwitchComponent {
|
|
|
36
36
|
this.checkedChange.emit(track.checked);
|
|
37
37
|
track.checked = this.checked();
|
|
38
38
|
}
|
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.
|
|
40
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: SwitchComponent, isStandalone: true, selector: "nol-switch", inputs: { checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, disabledReason: { classPropertyName: "disabledReason", publicName: "disabledReason", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checkedChange: "checkedChange" }, host: { classAttribute: "nol-switch" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<label class=\"nol-switch-label\">\n <span class=\"nol-switch-text\"><ng-content /></span>\n <span class=\"nol-switch-control\">\n <input #track type=\"checkbox\" role=\"switch\" class=\"nol-switch-track\" [checked]=\"checked()\" [attr.aria-label]=\"label()\"\n [attr.aria-disabled]=\"disabled() ? resources.trueValue : null\" [attr.aria-describedby]=\"shownReason() === null ? null : reasonId\"\n (click)=\"refuse($event)\" (change)=\"askOwnerToToggle(track)\" />\n <span class=\"nol-switch-knob\" aria-hidden=\"true\"></span>\n </span>\n</label>\n@if (shownReason(); as reason) {\n <span class=\"nol-switch-reason\" [id]=\"reasonId\">{{ reason }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.nol-switch-label {\n display: inline-flex;\n flex: none;\n align-items: flex-start;\n gap: var(--nol-space-2);\n min-width: 0;\n cursor: pointer;\n}\n\n.nol-switch-label:has([aria-disabled=\"true\"]) {\n cursor: default;\n}\n\n.nol-switch-label:has([aria-disabled=\"true\"]) .nol-switch-text {\n opacity: 0.5;\n}\n\n.nol-switch-text {\n flex: 1;\n min-width: 0;\n}\n\n.nol-switch-text:empty {\n display: none;\n}\n\n.nol-switch-control {\n position: relative;\n display: inline-grid;\n flex: none;\n grid-template-rows: 1lh;\n align-items: center;\n height: 1lh;\n}\n\n.nol-switch-track {\n box-sizing: border-box;\n width: var(--nol-switch-width);\n height: var(--nol-switch-height);\n margin: 0;\n border: var(--nol-border-width) solid var(--nol-checkbox-border);\n border-radius: calc(var(--nol-switch-height) / 2);\n background-color: var(--nol-checkbox);\n appearance: none;\n cursor: pointer;\n}\n\n.nol-switch-track:checked {\n border-color: var(--nol-accent);\n background-color: var(--nol-accent);\n}\n\n.nol-switch-track:not([aria-disabled=\"true\"]):is(:focus-visible, [data-nol-state=\"Focus\"]),\n.nol-switch-control:has(> .nol-switch-track[aria-disabled=\"true\"]:is(:focus-visible, [data-nol-state=\"Focus\"]))::after {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: var(--nol-border-width);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-switch-control::after {\n content: \"\";\n position: absolute;\n inset: 0;\n width: var(--nol-switch-width);\n height: var(--nol-switch-height);\n margin: auto;\n border-radius: calc(var(--nol-switch-height) / 2);\n pointer-events: none;\n}\n\n.nol-switch-knob {\n position: absolute;\n inset-block: 0;\n inset-inline-start: calc((var(--nol-switch-height) - var(--nol-switch-knob-size)) / 2);\n width: var(--nol-switch-knob-size);\n height: var(--nol-switch-knob-size);\n margin-block: auto;\n border-radius: 50%;\n background-color: var(--nol-checkbox-border);\n pointer-events: none;\n}\n\n.nol-switch-track:checked + .nol-switch-knob {\n background-color: var(--nol-switch-knob);\n inset-inline-start: calc(var(--nol-switch-width) - (var(--nol-switch-height) + var(--nol-switch-knob-size)) / 2);\n}\n\n.nol-switch-track[aria-disabled=\"true\"],\n.nol-switch-track[aria-disabled=\"true\"] + .nol-switch-knob {\n outline: none;\n opacity: 0.5;\n cursor: default;\n}\n\n.nol-switch-reason {\n contain: inline-size;\n margin-inline-end: calc(var(--nol-switch-width) + var(--nol-space-2));\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n overflow-wrap: anywhere;\n}\n\n:host:has(.nol-switch-text:empty) .nol-switch-reason {\n margin-inline-end: 0;\n}\n\n@media (forced-colors: active) {\n .nol-switch-track,\n .nol-switch-knob {\n forced-color-adjust: none;\n }\n\n .nol-switch-track {\n border-color: CanvasText;\n background-color: Canvas;\n }\n\n .nol-switch-knob {\n background-color: CanvasText;\n }\n\n .nol-switch-track:checked {\n border-color: Highlight;\n background-color: Highlight;\n }\n\n .nol-switch-track:checked + .nol-switch-knob {\n background-color: HighlightText;\n }\n\n .nol-switch-track[aria-disabled=\"true\"] {\n border-color: GrayText;\n }\n\n .nol-switch-track[aria-disabled=\"true\"]:checked {\n background-color: GrayText;\n }\n\n .nol-switch-track[aria-disabled=\"true\"] + .nol-switch-knob {\n background-color: GrayText;\n }\n\n .nol-switch-track[aria-disabled=\"true\"]:checked + .nol-switch-knob {\n background-color: Canvas;\n }\n\n .nol-switch-label:has([aria-disabled=\"true\"]),\n .nol-switch-label:has([aria-disabled=\"true\"]) * {\n color: GrayText;\n }\n}\n"] });
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: SwitchComponent, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{ selector: "nol-switch", host: {
|
|
45
45
|
"class": "nol-switch"
|