@nldd/design-system 0.8.94 → 0.8.95
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 +108 -12
- package/custom-elements.json +10 -26
- package/dist/components/actions/toolbar/toolbar.d.ts +3 -1
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +18 -8
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +3 -2
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/components.js +319 -273
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +1 -0
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/{decorate-lwt_OrAG.js → decorate-CO88j7Lc.js} +1 -1
- package/dist/components/{dist-M6GKopqu.js → dist-BWEAw34D.js} +1 -1
- package/dist/components/{dist-OlffRM7-.js → dist-BWRYv3Mp.js} +1 -1
- package/dist/components/{dist-CSYXsT7W.js → dist-Bi4EHsFY.js} +2 -2
- package/dist/components/{dist-B5ie2Bo9.js → dist-C3uWRipu.js} +1 -1
- package/dist/components/{dist-CoUVHSu-.js → dist-CH9m014O.js} +1 -1
- package/dist/components/{dist-Dn3c5gfb.js → dist-CpW8MF-L.js} +42 -27
- package/dist/components/{dist-RPaf2J9c.js → dist-CvL6_ezZ.js} +2 -2
- package/dist/components/{dist-CGOykrJw.js → dist-DMHTTJRJ.js} +2 -2
- package/dist/components/{dist-BUu-NW5O.js → dist-DTOshgo1.js} +1 -1
- package/dist/components/{dist-Dxn9Up8K.js → dist-DV6Mp5N1.js} +3 -3
- package/dist/components/{dist-CQzaKTa8.js → dist-PlhQXXtE.js} +1 -1
- package/dist/components/{icon-DWNVcttg.js → icon-Typdp4av.js} +1 -1
- package/dist/components/{icon-button-DHzLMmj0.js → icon-button-9mo3oIyL.js} +6 -6
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +15 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +37 -22
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js +63 -31
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -1
- package/dist/components/{visibility-mixin-BU1vIMW7.js → visibility-mixin-Crbt8PFP.js} +1 -1
- package/dist/components/{with-translations-Dt2DTXJF.js → with-translations-C8_0-9y8.js} +1 -1
- package/dist/css/document-reset.css +7 -0
- package/dist/css/rich-text.css +0 -2
- package/dist/nldd.min.js +275 -259
- package/dist/types/vue.d.ts +9 -10
- package/package.json +5 -5
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
2
|
import { n as slottedReset, t as inheritedTextReset } from "./shadow-resets-aG-rgyNQ.js";
|
|
3
|
-
import { i as linkRel, n as setTranslations, r as translate, t as withTranslations } from "./with-translations-
|
|
4
|
-
import { t as __decorate } from "./decorate-
|
|
3
|
+
import { i as linkRel, n as setTranslations, r as translate, t as withTranslations } from "./with-translations-C8_0-9y8.js";
|
|
4
|
+
import { t as __decorate } from "./decorate-CO88j7Lc.js";
|
|
5
5
|
import { t as reflectNonDefault } from "./reflect-non-default-OLaK60rT.js";
|
|
6
|
-
import { i as PopupAnchorController, n as NLDDTooltip, r as NLDDActivityIndicator, t as NLDDIconButton } from "./icon-button-
|
|
7
|
-
import { t as NLDDIcon } from "./icon-
|
|
6
|
+
import { i as PopupAnchorController, n as NLDDTooltip, r as NLDDActivityIndicator, t as NLDDIconButton } from "./icon-button-9mo3oIyL.js";
|
|
7
|
+
import { t as NLDDIcon } from "./icon-Typdp4av.js";
|
|
8
8
|
import { n as isPointerMode, r as isTouchMode, t as isKeyboardMode } from "./input-modality-DhTeUxKi.js";
|
|
9
9
|
import { t as breakpoints } from "./breakpoints-CkxsiRgH.js";
|
|
10
|
-
import { t as VisibilityMixin } from "./visibility-mixin-
|
|
11
|
-
import { $ as layer, A as syntaxTree, B as Tree, C as indentNodeProp, Ct as countColumn, D as matchBrackets, E as languageDataProp, F as NodeProp, G as RectangleMarker, H as Decoration, I as NodeSet, J as drawSelection, K as ViewPlugin, L as NodeType, M as styleTags, N as tags, Q as keymap, S as getIndentation, St as combineConfig, T as indentUnit, U as Direction, V as parseMixed, W as EditorView, X as getDrawSelectionConfig, Y as dropCursor, _t as StateField, a as HighlightStyle, at as Annotation, b as foldService, c as Language, ct as Compartment, d as ParseContext, dt as Facet, et as lineNumbers, f as StreamLanguage, gt as StateEffect, h as defineLanguageFacet, it as tooltips, j as Tag, k as syntaxHighlighting, l as LanguageDescription, lt as EditorSelection, mt as RangeSetBuilder, nt as placeholder, o as IndentContext, ot as ChangeDesc, pt as Prec, q as WidgetType, rt as showTooltip, st as ChangeSet, u as LanguageSupport, ut as EditorState, vt as Text, w as indentString, wt as findClusterBreak, x as getIndentUnit, y as foldNodeProp, yt as Transaction, z as Parser } from "./dist-
|
|
12
|
-
import { i as completionStatus, n as autocompletion, s as startCompletion, t as CompletionContext } from "./dist-
|
|
13
|
-
import { n as html$2, r as htmlCompletionSource } from "./dist-
|
|
10
|
+
import { t as VisibilityMixin } from "./visibility-mixin-Crbt8PFP.js";
|
|
11
|
+
import { $ as layer, A as syntaxTree, B as Tree, C as indentNodeProp, Ct as countColumn, D as matchBrackets, E as languageDataProp, F as NodeProp, G as RectangleMarker, H as Decoration, I as NodeSet, J as drawSelection, K as ViewPlugin, L as NodeType, M as styleTags, N as tags, Q as keymap, S as getIndentation, St as combineConfig, T as indentUnit, U as Direction, V as parseMixed, W as EditorView, X as getDrawSelectionConfig, Y as dropCursor, _t as StateField, a as HighlightStyle, at as Annotation, b as foldService, c as Language, ct as Compartment, d as ParseContext, dt as Facet, et as lineNumbers, f as StreamLanguage, gt as StateEffect, h as defineLanguageFacet, it as tooltips, j as Tag, k as syntaxHighlighting, l as LanguageDescription, lt as EditorSelection, mt as RangeSetBuilder, nt as placeholder, o as IndentContext, ot as ChangeDesc, pt as Prec, q as WidgetType, rt as showTooltip, st as ChangeSet, u as LanguageSupport, ut as EditorState, vt as Text, w as indentString, wt as findClusterBreak, x as getIndentUnit, y as foldNodeProp, yt as Transaction, z as Parser } from "./dist-CpW8MF-L.js";
|
|
12
|
+
import { i as completionStatus, n as autocompletion, s as startCompletion, t as CompletionContext } from "./dist-DTOshgo1.js";
|
|
13
|
+
import { n as html$2, r as htmlCompletionSource } from "./dist-DV6Mp5N1.js";
|
|
14
14
|
import { LitElement, css, html, nothing, svg, unsafeCSS } from "lit";
|
|
15
15
|
import { customElement, property, query, state } from "lit/decorators.js";
|
|
16
16
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
@@ -836,8 +836,7 @@ function DescribedBy(Base) {
|
|
|
836
836
|
*
|
|
837
837
|
* @fires click - When button is clicked (not fired when disabled)
|
|
838
838
|
*/
|
|
839
|
-
var _NLDDButton
|
|
840
|
-
var NLDDButton = (_NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElement, nlddButtonTranslations)) {
|
|
839
|
+
var _NLDDButton = class NLDDButton extends DescribedBy(withTranslations(LitElement, nlddButtonTranslations)) {
|
|
841
840
|
constructor(..._args) {
|
|
842
841
|
super(..._args);
|
|
843
842
|
this._internals = this.attachInternals();
|
|
@@ -940,7 +939,8 @@ var NLDDButton = (_NLDDButton = class NLDDButton extends DescribedBy(withTransla
|
|
|
940
939
|
render() {
|
|
941
940
|
return template$23.call(this, { handleClick: this._handleClick.bind(this) });
|
|
942
941
|
}
|
|
943
|
-
}
|
|
942
|
+
};
|
|
943
|
+
var NLDDButton = (_NLDDButton.styles = buttonStyles, _NLDDButton.formAssociated = true, _NLDDButton);
|
|
944
944
|
__decorate([property({
|
|
945
945
|
reflect: true,
|
|
946
946
|
converter: reflectNonDefault("neutral-tinted")
|
|
@@ -2016,8 +2016,7 @@ function template$21() {
|
|
|
2016
2016
|
* @csspart icon - The glyph itself, whether it comes from `icon` or from the slot. Transform this rather than the cell: a transform on the host changes the box `getBoundingClientRect()` reports, and a row measures its cells to place the divider.
|
|
2017
2017
|
*/
|
|
2018
2018
|
var icon_cell_exports = /* @__PURE__ */ __exportAll({ NLDDIconCell: () => NLDDIconCell });
|
|
2019
|
-
var _NLDDIconCell
|
|
2020
|
-
var NLDDIconCell = (_NLDDIconCell = class NLDDIconCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
2019
|
+
var _NLDDIconCell = class NLDDIconCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
2021
2020
|
constructor(..._args) {
|
|
2022
2021
|
super(..._args);
|
|
2023
2022
|
this.size = "24";
|
|
@@ -2028,7 +2027,8 @@ var NLDDIconCell = (_NLDDIconCell = class NLDDIconCell extends VisibilityMixin(L
|
|
|
2028
2027
|
render() {
|
|
2029
2028
|
return template$21.call(this);
|
|
2030
2029
|
}
|
|
2031
|
-
}
|
|
2030
|
+
};
|
|
2031
|
+
var NLDDIconCell = (_NLDDIconCell.styles = iconCellStyles, _NLDDIconCell);
|
|
2032
2032
|
__decorate([property({
|
|
2033
2033
|
type: String,
|
|
2034
2034
|
reflect: true
|
|
@@ -2108,8 +2108,7 @@ var spacerCellStyles = css`
|
|
|
2108
2108
|
* @element nldd-spacer-cell
|
|
2109
2109
|
* @attr {string} size - Spacer size in pixels: '2' | '4' | '6' | '8' | '10' | '12' | '16' | '20' | '24' | '28' | '32' | '40' | '44' | '48' | '56' | '64' | '80' | '96' (default: '16')
|
|
2110
2110
|
*/
|
|
2111
|
-
var _NLDDSpacerCell
|
|
2112
|
-
var NLDDSpacerCell = (_NLDDSpacerCell = class NLDDSpacerCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
2111
|
+
var _NLDDSpacerCell = class NLDDSpacerCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
2113
2112
|
constructor(..._args) {
|
|
2114
2113
|
super(..._args);
|
|
2115
2114
|
this.size = "16";
|
|
@@ -2117,7 +2116,8 @@ var NLDDSpacerCell = (_NLDDSpacerCell = class NLDDSpacerCell extends VisibilityM
|
|
|
2117
2116
|
render() {
|
|
2118
2117
|
return null;
|
|
2119
2118
|
}
|
|
2120
|
-
}
|
|
2119
|
+
};
|
|
2120
|
+
var NLDDSpacerCell = (_NLDDSpacerCell.styles = spacerCellStyles, _NLDDSpacerCell);
|
|
2121
2121
|
__decorate([property({
|
|
2122
2122
|
type: String,
|
|
2123
2123
|
reflect: true
|
|
@@ -2456,8 +2456,7 @@ function template$20() {
|
|
|
2456
2456
|
* @attr {string} query-mark-mode - 'match' | 'predictive' (default: 'predictive')
|
|
2457
2457
|
*/
|
|
2458
2458
|
var text_cell_exports = /* @__PURE__ */ __exportAll({ NLDDTextCell: () => NLDDTextCell });
|
|
2459
|
-
var _NLDDTextCell
|
|
2460
|
-
var NLDDTextCell = (_NLDDTextCell = class NLDDTextCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
2459
|
+
var _NLDDTextCell = class NLDDTextCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
2461
2460
|
constructor(..._args) {
|
|
2462
2461
|
super(..._args);
|
|
2463
2462
|
this.size = "md";
|
|
@@ -2511,7 +2510,8 @@ var NLDDTextCell = (_NLDDTextCell = class NLDDTextCell extends VisibilityMixin(L
|
|
|
2511
2510
|
render() {
|
|
2512
2511
|
return template$20.call(this);
|
|
2513
2512
|
}
|
|
2514
|
-
}
|
|
2513
|
+
};
|
|
2514
|
+
var NLDDTextCell = (_NLDDTextCell.styles = [textCellStyles], _NLDDTextCell);
|
|
2515
2515
|
__decorate([property({
|
|
2516
2516
|
reflect: true,
|
|
2517
2517
|
converter: reflectNonDefault("md")
|
|
@@ -2798,8 +2798,7 @@ function detectOS() {
|
|
|
2798
2798
|
*
|
|
2799
2799
|
* @slot - Optional custom <kbd> elements. Ignored when keys is set.
|
|
2800
2800
|
*/
|
|
2801
|
-
var _NLDDKeyboardShortcut
|
|
2802
|
-
var NLDDKeyboardShortcut = (_NLDDKeyboardShortcut = class NLDDKeyboardShortcut extends LitElement {
|
|
2801
|
+
var _NLDDKeyboardShortcut = class NLDDKeyboardShortcut extends LitElement {
|
|
2803
2802
|
constructor(..._args) {
|
|
2804
2803
|
super(..._args);
|
|
2805
2804
|
this.keys = "";
|
|
@@ -2832,7 +2831,8 @@ var NLDDKeyboardShortcut = (_NLDDKeyboardShortcut = class NLDDKeyboardShortcut e
|
|
|
2832
2831
|
render() {
|
|
2833
2832
|
return template$19(this);
|
|
2834
2833
|
}
|
|
2835
|
-
}
|
|
2834
|
+
};
|
|
2835
|
+
var NLDDKeyboardShortcut = (_NLDDKeyboardShortcut.styles = keyboardShortcutStyles, _NLDDKeyboardShortcut);
|
|
2836
2836
|
__decorate([property({
|
|
2837
2837
|
reflect: true,
|
|
2838
2838
|
converter: reflectNonDefault("")
|
|
@@ -3220,8 +3220,7 @@ function template$18() {
|
|
|
3220
3220
|
*
|
|
3221
3221
|
* @csspart group - The button group container
|
|
3222
3222
|
*/
|
|
3223
|
-
var _NLDDButtonGroup
|
|
3224
|
-
var NLDDButtonGroup = (_NLDDButtonGroup = class NLDDButtonGroup extends LitElement {
|
|
3223
|
+
var _NLDDButtonGroup = class NLDDButtonGroup extends LitElement {
|
|
3225
3224
|
constructor(..._args) {
|
|
3226
3225
|
super(..._args);
|
|
3227
3226
|
this.size = "md";
|
|
@@ -3277,7 +3276,8 @@ var NLDDButtonGroup = (_NLDDButtonGroup = class NLDDButtonGroup extends LitEleme
|
|
|
3277
3276
|
render() {
|
|
3278
3277
|
return template$18.call(this);
|
|
3279
3278
|
}
|
|
3280
|
-
}
|
|
3279
|
+
};
|
|
3280
|
+
var NLDDButtonGroup = (_NLDDButtonGroup.styles = buttonGroupStyles, _NLDDButtonGroup);
|
|
3281
3281
|
__decorate([property({
|
|
3282
3282
|
reflect: true,
|
|
3283
3283
|
converter: reflectNonDefault("md")
|
|
@@ -3310,8 +3310,7 @@ NLDDButtonGroup = __decorate([customElement("nldd-button-group")], NLDDButtonGro
|
|
|
3310
3310
|
* @slot - Optional custom content between text and actions
|
|
3311
3311
|
* @slot actions - nldd-button elements, wrapped in nldd-button-group (max 3)
|
|
3312
3312
|
*/
|
|
3313
|
-
var _NLDDInlineDialog
|
|
3314
|
-
var NLDDInlineDialog = (_NLDDInlineDialog = class NLDDInlineDialog extends LitElement {
|
|
3313
|
+
var _NLDDInlineDialog = class NLDDInlineDialog extends LitElement {
|
|
3315
3314
|
constructor(..._args) {
|
|
3316
3315
|
super(..._args);
|
|
3317
3316
|
this.variant = "";
|
|
@@ -3361,7 +3360,8 @@ var NLDDInlineDialog = (_NLDDInlineDialog = class NLDDInlineDialog extends LitEl
|
|
|
3361
3360
|
render() {
|
|
3362
3361
|
return inlineDialogTemplate(this);
|
|
3363
3362
|
}
|
|
3364
|
-
}
|
|
3363
|
+
};
|
|
3364
|
+
var NLDDInlineDialog = (_NLDDInlineDialog.styles = inlineDialogStyles, _NLDDInlineDialog);
|
|
3365
3365
|
__decorate([property({
|
|
3366
3366
|
reflect: true,
|
|
3367
3367
|
converter: reflectNonDefault("")
|
|
@@ -4823,8 +4823,7 @@ if (!customElements.get("nldd-menu")) customElements.define("nldd-menu", NLDDMen
|
|
|
4823
4823
|
* @fires action-click - Fired when the main button is clicked
|
|
4824
4824
|
* @fires menu-click - Fired when the dropdown trigger is clicked and no overlay is slotted
|
|
4825
4825
|
*/
|
|
4826
|
-
var _NLDDSplitButton
|
|
4827
|
-
var NLDDSplitButton = (_NLDDSplitButton = class NLDDSplitButton extends LitElement {
|
|
4826
|
+
var _NLDDSplitButton = class NLDDSplitButton extends LitElement {
|
|
4828
4827
|
constructor(..._args) {
|
|
4829
4828
|
super(..._args);
|
|
4830
4829
|
this.size = "md";
|
|
@@ -4888,7 +4887,8 @@ var NLDDSplitButton = (_NLDDSplitButton = class NLDDSplitButton extends LitEleme
|
|
|
4888
4887
|
render() {
|
|
4889
4888
|
return template$22.call(this);
|
|
4890
4889
|
}
|
|
4891
|
-
}
|
|
4890
|
+
};
|
|
4891
|
+
var NLDDSplitButton = (_NLDDSplitButton.styles = splitButtonStyles, _NLDDSplitButton);
|
|
4892
4892
|
__decorate([property({
|
|
4893
4893
|
reflect: true,
|
|
4894
4894
|
converter: reflectNonDefault("md")
|
|
@@ -5422,7 +5422,7 @@ var toolbarTitleStyles = css`
|
|
|
5422
5422
|
/* # Host */
|
|
5423
5423
|
|
|
5424
5424
|
:host {
|
|
5425
|
-
--_title-group-min-width:
|
|
5425
|
+
--_title-group-min-width: min-content;
|
|
5426
5426
|
--_title-width: auto;
|
|
5427
5427
|
--_title-max-width: var(--primitives-area-240);
|
|
5428
5428
|
--_title-group-height: var(--semantics-controls-md-min-size);
|
|
@@ -5473,7 +5473,8 @@ var toolbarTitleStyles = css`
|
|
|
5473
5473
|
trailing action, as one unit) along the row's main axis instead. Scoped to
|
|
5474
5474
|
solo-fluid so a title balanced by real start/end items keeps using the
|
|
5475
5475
|
toolbar spacers. */
|
|
5476
|
-
:host([solo-fluid][align="center"])
|
|
5476
|
+
:host([solo-fluid][align="center"]),
|
|
5477
|
+
:host([solo-fluid][slot="center"]) {
|
|
5477
5478
|
justify-content: center;
|
|
5478
5479
|
}
|
|
5479
5480
|
|
|
@@ -5697,7 +5698,7 @@ var nlddToolbarTranslations = {
|
|
|
5697
5698
|
*
|
|
5698
5699
|
* @element nldd-toolbar-title
|
|
5699
5700
|
* @attr {string} width - Preferred (fluid) width as a CSS length or percentage; the title grows toward it and shrinks to min-width.
|
|
5700
|
-
* @attr {string} min-width - Minimum width as a CSS length (default:
|
|
5701
|
+
* @attr {string} min-width - Minimum width as a CSS length (default: the width of its own text, up to `max-width`). Items move into the overflow menu before the title gets narrower than this; only when no item is left to move does the title truncate below it. Set `0` to let the title shrink first.
|
|
5701
5702
|
* @attr {string} max-width - Maximum width as a CSS length (default: '240px'); the title text truncates with an ellipsis beyond it. The cap is lifted while the title is the sole toolbar element (it then stretches to fill the row).
|
|
5702
5703
|
* @attr {string} align - Text alignment: 'left' | 'center' (default: 'left').
|
|
5703
5704
|
* @attr {string} text - Title text.
|
|
@@ -5711,10 +5712,7 @@ var nlddToolbarTranslations = {
|
|
|
5711
5712
|
* @slot media - Optional leading image before the title: a logo, a product mark, a file-type icon. Its height is capped to the title group so it cannot stretch the row; pick the size within that yourself. With no `text` the media stands alone and carries the name, so give it one (an `alt`, or an accessible label).
|
|
5712
5713
|
* @slot action - Optional trailing control (e.g. an xs nldd-icon-button), shown inline after the title and tuned to sit against it. Empty by default.
|
|
5713
5714
|
*/
|
|
5714
|
-
var _NLDDToolbarItem
|
|
5715
|
-
var _NLDDToolbarTitle;
|
|
5716
|
-
var _NLDDToolbar;
|
|
5717
|
-
var NLDDToolbarItem = (_NLDDToolbarItem = class NLDDToolbarItem extends LitElement {
|
|
5715
|
+
var _NLDDToolbarItem = class NLDDToolbarItem extends LitElement {
|
|
5718
5716
|
constructor(..._args) {
|
|
5719
5717
|
super(..._args);
|
|
5720
5718
|
this.width = "";
|
|
@@ -5735,7 +5733,10 @@ var NLDDToolbarItem = (_NLDDToolbarItem = class NLDDToolbarItem extends LitEleme
|
|
|
5735
5733
|
render() {
|
|
5736
5734
|
return toolbarItemTemplate(this);
|
|
5737
5735
|
}
|
|
5738
|
-
}
|
|
5736
|
+
};
|
|
5737
|
+
var _NLDDToolbarTitle;
|
|
5738
|
+
var _NLDDToolbar;
|
|
5739
|
+
var NLDDToolbarItem = (_NLDDToolbarItem.styles = toolbarItemStyles, _NLDDToolbarItem);
|
|
5739
5740
|
__decorate([property({
|
|
5740
5741
|
reflect: true,
|
|
5741
5742
|
converter: reflectNonDefault("")
|
|
@@ -6108,7 +6109,7 @@ var NLDDToolbar = (_NLDDToolbar = class NLDDToolbar extends LitElement {
|
|
|
6108
6109
|
const { leftZero, rightZero } = this._computeSpacerZeros(hostWidth, itemGap, overflowButtonWidth, startWidth, centerWidth, endWidth);
|
|
6109
6110
|
if (leftZero !== this._leftSpacerZero) this._leftSpacerZero = leftZero;
|
|
6110
6111
|
if (rightZero !== this._rightSpacerZero) this._rightSpacerZero = rightZero;
|
|
6111
|
-
const centerOnly = !this.
|
|
6112
|
+
const centerOnly = !this._hasPresentChild(this._startChildren) && !this._hasPresentChild(this._endChildren) && this._centerChildren.length > 0;
|
|
6112
6113
|
if (centerOnly !== this._centerOnly) this._centerOnly = centerOnly;
|
|
6113
6114
|
const rendered = this._allHostChildren().filter((c) => !this._overflowIds.has(c.id) && c.element.getClientRects().length > 0);
|
|
6114
6115
|
const soloFluid = rendered.length === 1 && (rendered[0].type === "title" || rendered[0].type === "item" && rendered[0].isFluid);
|
|
@@ -6120,6 +6121,10 @@ var NLDDToolbar = (_NLDDToolbar = class NLDDToolbar extends LitElement {
|
|
|
6120
6121
|
_hasRenderedChild(children) {
|
|
6121
6122
|
return children.some((c) => c.element.getClientRects().length > 0);
|
|
6122
6123
|
}
|
|
6124
|
+
/** Rendered, or moved into the overflow menu by the toolbar itself. */
|
|
6125
|
+
_hasPresentChild(children) {
|
|
6126
|
+
return children.some((c) => this._overflowIds.has(c.id)) || this._hasRenderedChild(children);
|
|
6127
|
+
}
|
|
6123
6128
|
_measureAndUpdate() {
|
|
6124
6129
|
if (this._isMeasuring) return;
|
|
6125
6130
|
const itemsEl = this.shadowRoot?.querySelector(".toolbar__items");
|
|
@@ -6147,10 +6152,8 @@ var NLDDToolbar = (_NLDDToolbar = class NLDDToolbar extends LitElement {
|
|
|
6147
6152
|
});
|
|
6148
6153
|
titleChildren.forEach((child) => {
|
|
6149
6154
|
const host = child.element;
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
host.style.removeProperty("min-width");
|
|
6153
|
-
}
|
|
6155
|
+
host.removeAttribute("solo-fluid");
|
|
6156
|
+
host.style.removeProperty("min-width");
|
|
6154
6157
|
});
|
|
6155
6158
|
if (this._pinnedOverflowItems.length > 0) overflowButtonEl?.classList.remove("is-hidden");
|
|
6156
6159
|
else overflowButtonEl?.classList.add("is-hidden");
|
|
@@ -6212,6 +6215,10 @@ var NLDDToolbar = (_NLDDToolbar = class NLDDToolbar extends LitElement {
|
|
|
6212
6215
|
host.style.setProperty("min-width", "0px");
|
|
6213
6216
|
itemsEl.offsetWidth;
|
|
6214
6217
|
}
|
|
6218
|
+
if (itemsEl.scrollWidth > itemsEl.clientWidth + 1) {
|
|
6219
|
+
remainingTitles.forEach((c) => c.element.style.setProperty("min-width", "0px"));
|
|
6220
|
+
itemsEl.offsetWidth;
|
|
6221
|
+
}
|
|
6215
6222
|
}
|
|
6216
6223
|
_buildChildrenForSlot(slotName) {
|
|
6217
6224
|
return Array.from(this.children).filter((el) => el.getAttribute("slot") === slotName).map((el) => {
|
|
@@ -6899,6 +6906,7 @@ var blockquoteStyles = css`
|
|
|
6899
6906
|
flex-direction: column;
|
|
6900
6907
|
gap: calc(var(--_spacing) / 2);
|
|
6901
6908
|
color: var(--semantics-content-color);
|
|
6909
|
+
text-wrap: pretty;
|
|
6902
6910
|
}
|
|
6903
6911
|
|
|
6904
6912
|
|
|
@@ -6969,8 +6977,7 @@ function template$15(component) {
|
|
|
6969
6977
|
* @slot - The paragraph or paragraphs of the quote; prefer <p> elements
|
|
6970
6978
|
* @slot attribution - Optional source attribution (author, title, and so on). An nldd-identity is allowed here; the em dash ("— ") is then left out.
|
|
6971
6979
|
*/
|
|
6972
|
-
var _NLDDBlockquote
|
|
6973
|
-
var NLDDBlockquote = (_NLDDBlockquote = class NLDDBlockquote extends LitElement {
|
|
6980
|
+
var _NLDDBlockquote = class NLDDBlockquote extends LitElement {
|
|
6974
6981
|
constructor(..._args) {
|
|
6975
6982
|
super(..._args);
|
|
6976
6983
|
this.cite = void 0;
|
|
@@ -6988,7 +6995,8 @@ var NLDDBlockquote = (_NLDDBlockquote = class NLDDBlockquote extends LitElement
|
|
|
6988
6995
|
render() {
|
|
6989
6996
|
return template$15(this);
|
|
6990
6997
|
}
|
|
6991
|
-
}
|
|
6998
|
+
};
|
|
6999
|
+
var NLDDBlockquote = (_NLDDBlockquote.styles = blockquoteStyles, _NLDDBlockquote);
|
|
6992
7000
|
__decorate([property({ type: String })], NLDDBlockquote.prototype, "cite", void 0);
|
|
6993
7001
|
__decorate([state()], NLDDBlockquote.prototype, "_hasAttribution", void 0);
|
|
6994
7002
|
__decorate([state()], NLDDBlockquote.prototype, "_hasIdentityAttribution", void 0);
|
|
@@ -11209,8 +11217,7 @@ var template$12 = () => html`<slot></slot>`;
|
|
|
11209
11217
|
*
|
|
11210
11218
|
* @slot - Default slot for any content (buttons, switches, icons, etc.)
|
|
11211
11219
|
*/
|
|
11212
|
-
var _NLDDCell
|
|
11213
|
-
var NLDDCell = (_NLDDCell = class NLDDCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
11220
|
+
var _NLDDCell = class NLDDCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
11214
11221
|
constructor(..._args) {
|
|
11215
11222
|
super(..._args);
|
|
11216
11223
|
this.width = "fit-content";
|
|
@@ -11238,7 +11245,8 @@ var NLDDCell = (_NLDDCell = class NLDDCell extends VisibilityMixin(LitElement, "
|
|
|
11238
11245
|
render() {
|
|
11239
11246
|
return template$12();
|
|
11240
11247
|
}
|
|
11241
|
-
}
|
|
11248
|
+
};
|
|
11249
|
+
var NLDDCell = (_NLDDCell.styles = [cellStyles], _NLDDCell);
|
|
11242
11250
|
__decorate([property({
|
|
11243
11251
|
reflect: true,
|
|
11244
11252
|
converter: reflectNonDefault("fit-content")
|
|
@@ -11303,8 +11311,7 @@ var nlddAvatarGroupTranslations = {
|
|
|
11303
11311
|
*
|
|
11304
11312
|
* @slot - One or more `nldd-avatar` elements
|
|
11305
11313
|
*/
|
|
11306
|
-
var _NLDDAvatarGroup
|
|
11307
|
-
var NLDDAvatarGroup = (_NLDDAvatarGroup = class NLDDAvatarGroup extends withTranslations(LitElement, nlddAvatarGroupTranslations) {
|
|
11314
|
+
var _NLDDAvatarGroup = class NLDDAvatarGroup extends withTranslations(LitElement, nlddAvatarGroupTranslations) {
|
|
11308
11315
|
constructor(..._args) {
|
|
11309
11316
|
super(..._args);
|
|
11310
11317
|
this.size = "40";
|
|
@@ -11372,7 +11379,8 @@ var NLDDAvatarGroup = (_NLDDAvatarGroup = class NLDDAvatarGroup extends withTran
|
|
|
11372
11379
|
render() {
|
|
11373
11380
|
return avatarGroupTemplate(this);
|
|
11374
11381
|
}
|
|
11375
|
-
}
|
|
11382
|
+
};
|
|
11383
|
+
var NLDDAvatarGroup = (_NLDDAvatarGroup.styles = avatarGroupStyles, _NLDDAvatarGroup);
|
|
11376
11384
|
__decorate([property({
|
|
11377
11385
|
type: String,
|
|
11378
11386
|
reflect: true
|
|
@@ -11584,8 +11592,7 @@ function identityTemplate(component) {
|
|
|
11584
11592
|
* @slot text - Name line as rich content (a link to the author's profile, for instance)
|
|
11585
11593
|
* @slot supporting-text - Supporting text as rich content (a time element, for instance)
|
|
11586
11594
|
*/
|
|
11587
|
-
var _NLDDIdentity
|
|
11588
|
-
var NLDDIdentity = (_NLDDIdentity = class NLDDIdentity extends LitElement {
|
|
11595
|
+
var _NLDDIdentity = class NLDDIdentity extends LitElement {
|
|
11589
11596
|
constructor(..._args) {
|
|
11590
11597
|
super(..._args);
|
|
11591
11598
|
this.text = "";
|
|
@@ -11610,7 +11617,8 @@ var NLDDIdentity = (_NLDDIdentity = class NLDDIdentity extends LitElement {
|
|
|
11610
11617
|
render() {
|
|
11611
11618
|
return identityTemplate(this);
|
|
11612
11619
|
}
|
|
11613
|
-
}
|
|
11620
|
+
};
|
|
11621
|
+
var NLDDIdentity = (_NLDDIdentity.styles = identityStyles, _NLDDIdentity);
|
|
11614
11622
|
__decorate([property({
|
|
11615
11623
|
reflect: true,
|
|
11616
11624
|
converter: reflectNonDefault("")
|
|
@@ -11888,16 +11896,16 @@ var nlddCodeMirrorTheme = [baseTheme, syntaxHighlighting(highlightStyle)];
|
|
|
11888
11896
|
//#endregion
|
|
11889
11897
|
//#region src/utilities/codemirror/languages.ts
|
|
11890
11898
|
var loaders = {
|
|
11891
|
-
json: async () => (await import("./dist-
|
|
11892
|
-
yaml: async () => (await import("./dist-
|
|
11893
|
-
javascript: async () => (await import("./dist-
|
|
11894
|
-
typescript: async () => (await import("./dist-
|
|
11895
|
-
css: async () => (await import("./dist-
|
|
11896
|
-
html: async () => (await import("./dist-
|
|
11897
|
-
xml: async () => (await import("./dist-
|
|
11898
|
-
python: async () => (await import("./dist-
|
|
11899
|
-
rust: async () => (await import("./dist-
|
|
11900
|
-
sql: async () => (await import("./dist-
|
|
11899
|
+
json: async () => (await import("./dist-CH9m014O.js")).json(),
|
|
11900
|
+
yaml: async () => (await import("./dist-BWRYv3Mp.js")).yaml(),
|
|
11901
|
+
javascript: async () => (await import("./dist-DMHTTJRJ.js").then((n) => n.t)).javascript(),
|
|
11902
|
+
typescript: async () => (await import("./dist-DMHTTJRJ.js").then((n) => n.t)).javascript({ typescript: true }),
|
|
11903
|
+
css: async () => (await import("./dist-PlhQXXtE.js").then((n) => n.r)).css(),
|
|
11904
|
+
html: async () => (await import("./dist-DV6Mp5N1.js").then((n) => n.t)).html(),
|
|
11905
|
+
xml: async () => (await import("./dist-BWEAw34D.js")).xml(),
|
|
11906
|
+
python: async () => (await import("./dist-Bi4EHsFY.js")).python(),
|
|
11907
|
+
rust: async () => (await import("./dist-C3uWRipu.js")).rust(),
|
|
11908
|
+
sql: async () => (await import("./dist-CvL6_ezZ.js")).sql(),
|
|
11901
11909
|
markdown: async () => (await Promise.resolve().then(() => dist_exports)).markdown(),
|
|
11902
11910
|
bash: async () => new LanguageSupport(StreamLanguage.define((await import("./shell-C61GCsJA.js")).shell)),
|
|
11903
11911
|
toml: async () => new LanguageSupport(StreamLanguage.define((await import("./toml-C2HBbPgG.js")).toml)),
|
|
@@ -12978,8 +12986,7 @@ var nlddImageTranslations = {
|
|
|
12978
12986
|
* error state (e.g. swapping the slot content or styling a fallback).
|
|
12979
12987
|
* @slot caption - Rich caption content (overrides the `caption` attribute)
|
|
12980
12988
|
*/
|
|
12981
|
-
var _NLDDImage
|
|
12982
|
-
var NLDDImage = (_NLDDImage = class NLDDImage extends LitElement {
|
|
12989
|
+
var _NLDDImage = class NLDDImage extends LitElement {
|
|
12983
12990
|
constructor(..._args) {
|
|
12984
12991
|
super(..._args);
|
|
12985
12992
|
this.src = "";
|
|
@@ -13126,7 +13133,8 @@ var NLDDImage = (_NLDDImage = class NLDDImage extends LitElement {
|
|
|
13126
13133
|
render() {
|
|
13127
13134
|
return imageTemplate(this);
|
|
13128
13135
|
}
|
|
13129
|
-
}
|
|
13136
|
+
};
|
|
13137
|
+
var NLDDImage = (_NLDDImage.styles = imageStyles, _NLDDImage);
|
|
13130
13138
|
__decorate([property({
|
|
13131
13139
|
type: String,
|
|
13132
13140
|
reflect: true
|
|
@@ -13583,8 +13591,7 @@ function template$11(component) {
|
|
|
13583
13591
|
* @slot - Tag text
|
|
13584
13592
|
* @slot icon - Custom icon before the text
|
|
13585
13593
|
*/
|
|
13586
|
-
var _NLDDTag
|
|
13587
|
-
var NLDDTag = (_NLDDTag = class NLDDTag extends LitElement {
|
|
13594
|
+
var _NLDDTag = class NLDDTag extends LitElement {
|
|
13588
13595
|
constructor(..._args) {
|
|
13589
13596
|
super(..._args);
|
|
13590
13597
|
this.variant = "";
|
|
@@ -13636,7 +13643,8 @@ var NLDDTag = (_NLDDTag = class NLDDTag extends LitElement {
|
|
|
13636
13643
|
render() {
|
|
13637
13644
|
return template$11(this);
|
|
13638
13645
|
}
|
|
13639
|
-
}
|
|
13646
|
+
};
|
|
13647
|
+
var NLDDTag = (_NLDDTag.styles = tagStyles, _NLDDTag);
|
|
13640
13648
|
__decorate([property({
|
|
13641
13649
|
reflect: true,
|
|
13642
13650
|
converter: reflectNonDefault("")
|
|
@@ -13823,8 +13831,7 @@ function template$10() {
|
|
|
13823
13831
|
*
|
|
13824
13832
|
* @slot - The text. Inline elements work as they are: `<strong>` and `<b>` take the bold weight from the scale, `<a>`, `<em>` and components such as `nldd-tag` are left alone.
|
|
13825
13833
|
*/
|
|
13826
|
-
var _NLDDText
|
|
13827
|
-
var NLDDText = (_NLDDText = class NLDDText extends LitElement {
|
|
13834
|
+
var _NLDDText = class NLDDText extends LitElement {
|
|
13828
13835
|
constructor(..._args) {
|
|
13829
13836
|
super(..._args);
|
|
13830
13837
|
this.size = "md";
|
|
@@ -13836,7 +13843,8 @@ var NLDDText = (_NLDDText = class NLDDText extends LitElement {
|
|
|
13836
13843
|
render() {
|
|
13837
13844
|
return template$10();
|
|
13838
13845
|
}
|
|
13839
|
-
}
|
|
13846
|
+
};
|
|
13847
|
+
var NLDDText = (_NLDDText.styles = textStyles, _NLDDText);
|
|
13840
13848
|
__decorate([property({
|
|
13841
13849
|
reflect: true,
|
|
13842
13850
|
converter: reflectNonDefault("md")
|
|
@@ -14220,8 +14228,7 @@ function titleTemplate(component) {
|
|
|
14220
14228
|
* @slot supporting-text - Supporting text that is more than text. Takes the place of the supporting-text attribute.
|
|
14221
14229
|
* @slot end - Whatever belongs at the end of the title line: a button, a menu, a status badge, a version. Named for the position, not for a kind of content, because anything can sit there.
|
|
14222
14230
|
*/
|
|
14223
|
-
var _NLDDTitle
|
|
14224
|
-
var NLDDTitle = (_NLDDTitle = class NLDDTitle extends LitElement {
|
|
14231
|
+
var _NLDDTitle = class NLDDTitle extends LitElement {
|
|
14225
14232
|
constructor(..._args) {
|
|
14226
14233
|
super(..._args);
|
|
14227
14234
|
this.size = 3;
|
|
@@ -14245,7 +14252,8 @@ var NLDDTitle = (_NLDDTitle = class NLDDTitle extends LitElement {
|
|
|
14245
14252
|
render() {
|
|
14246
14253
|
return titleTemplate(this);
|
|
14247
14254
|
}
|
|
14248
|
-
}
|
|
14255
|
+
};
|
|
14256
|
+
var NLDDTitle = (_NLDDTitle.styles = titleStyles, _NLDDTitle);
|
|
14249
14257
|
__decorate([property({
|
|
14250
14258
|
type: Number,
|
|
14251
14259
|
reflect: true
|
|
@@ -14478,8 +14486,7 @@ var nlddTokenTranslations = {
|
|
|
14478
14486
|
*
|
|
14479
14487
|
* @fires dismiss - When the dismiss button is clicked
|
|
14480
14488
|
*/
|
|
14481
|
-
var _NLDDToken
|
|
14482
|
-
var NLDDToken = (_NLDDToken = class NLDDToken extends LitElement {
|
|
14489
|
+
var _NLDDToken = class NLDDToken extends LitElement {
|
|
14483
14490
|
constructor(..._args) {
|
|
14484
14491
|
super(..._args);
|
|
14485
14492
|
this.text = "";
|
|
@@ -14593,7 +14600,8 @@ var NLDDToken = (_NLDDToken = class NLDDToken extends LitElement {
|
|
|
14593
14600
|
render() {
|
|
14594
14601
|
return tokenTemplate(this);
|
|
14595
14602
|
}
|
|
14596
|
-
}
|
|
14603
|
+
};
|
|
14604
|
+
var NLDDToken = (_NLDDToken.styles = tokenStyles, _NLDDToken);
|
|
14597
14605
|
__decorate([property({ type: String })], NLDDToken.prototype, "text", void 0);
|
|
14598
14606
|
__decorate([property({
|
|
14599
14607
|
reflect: true,
|
|
@@ -14969,8 +14977,7 @@ function formActionsTemplate() {
|
|
|
14969
14977
|
*
|
|
14970
14978
|
* @slot - Action elements (button, button-group, and so on)
|
|
14971
14979
|
*/
|
|
14972
|
-
var _NLDDFormActions
|
|
14973
|
-
var NLDDFormActions = (_NLDDFormActions = class NLDDFormActions extends LitElement {
|
|
14980
|
+
var _NLDDFormActions = class NLDDFormActions extends LitElement {
|
|
14974
14981
|
constructor(..._args) {
|
|
14975
14982
|
super(..._args);
|
|
14976
14983
|
this.labelAlignment = void 0;
|
|
@@ -14978,7 +14985,8 @@ var NLDDFormActions = (_NLDDFormActions = class NLDDFormActions extends LitEleme
|
|
|
14978
14985
|
render() {
|
|
14979
14986
|
return formActionsTemplate();
|
|
14980
14987
|
}
|
|
14981
|
-
}
|
|
14988
|
+
};
|
|
14989
|
+
var NLDDFormActions = (_NLDDFormActions.styles = formActionsStyles, _NLDDFormActions);
|
|
14982
14990
|
__decorate([property({
|
|
14983
14991
|
type: String,
|
|
14984
14992
|
reflect: true,
|
|
@@ -15681,9 +15689,7 @@ function validationItemTemplate(_component) {
|
|
|
15681
15689
|
* </nldd-validation-list>
|
|
15682
15690
|
* </nldd-form-field>
|
|
15683
15691
|
*/
|
|
15684
|
-
var _NLDDValidationItem
|
|
15685
|
-
var _NLDDValidationList;
|
|
15686
|
-
var NLDDValidationItem = (_NLDDValidationItem = class NLDDValidationItem extends LitElement {
|
|
15692
|
+
var _NLDDValidationItem = class NLDDValidationItem extends LitElement {
|
|
15687
15693
|
constructor(..._args) {
|
|
15688
15694
|
super(..._args);
|
|
15689
15695
|
this.match = "";
|
|
@@ -15721,7 +15727,9 @@ var NLDDValidationItem = (_NLDDValidationItem = class NLDDValidationItem extends
|
|
|
15721
15727
|
render() {
|
|
15722
15728
|
return validationItemTemplate(this);
|
|
15723
15729
|
}
|
|
15724
|
-
}
|
|
15730
|
+
};
|
|
15731
|
+
var _NLDDValidationList;
|
|
15732
|
+
var NLDDValidationItem = (_NLDDValidationItem.styles = validationItemStyles, _NLDDValidationItem);
|
|
15725
15733
|
__decorate([property({ type: String })], NLDDValidationItem.prototype, "match", void 0);
|
|
15726
15734
|
__decorate([property({ type: Number })], NLDDValidationItem.prototype, "minlength", void 0);
|
|
15727
15735
|
__decorate([property({ type: Number })], NLDDValidationItem.prototype, "maxlength", void 0);
|
|
@@ -16384,8 +16392,7 @@ function checkboxTemplate(component) {
|
|
|
16384
16392
|
*
|
|
16385
16393
|
* @fires change - Fired when the checkbox state changes; detail: { checked: boolean, value: string }
|
|
16386
16394
|
*/
|
|
16387
|
-
var _NLDDCheckbox
|
|
16388
|
-
var NLDDCheckbox = (_NLDDCheckbox = class NLDDCheckbox extends DescribedBy(FormAssociated(LitElement)) {
|
|
16395
|
+
var _NLDDCheckbox = class NLDDCheckbox extends DescribedBy(FormAssociated(LitElement)) {
|
|
16389
16396
|
constructor(..._args) {
|
|
16390
16397
|
super(..._args);
|
|
16391
16398
|
this._initialChecked = false;
|
|
@@ -16451,7 +16458,8 @@ var NLDDCheckbox = (_NLDDCheckbox = class NLDDCheckbox extends DescribedBy(FormA
|
|
|
16451
16458
|
render() {
|
|
16452
16459
|
return checkboxTemplate(this);
|
|
16453
16460
|
}
|
|
16454
|
-
}
|
|
16461
|
+
};
|
|
16462
|
+
var NLDDCheckbox = (_NLDDCheckbox.styles = checkboxStyles, _NLDDCheckbox.isFormInput = true, _NLDDCheckbox);
|
|
16455
16463
|
__decorate([property({
|
|
16456
16464
|
type: Boolean,
|
|
16457
16465
|
reflect: true
|
|
@@ -16591,8 +16599,7 @@ function checkboxFieldTemplate(component) {
|
|
|
16591
16599
|
*
|
|
16592
16600
|
* @fires change - When checked state changes; detail: { checked: boolean, value: string }
|
|
16593
16601
|
*/
|
|
16594
|
-
var _NLDDCheckboxField
|
|
16595
|
-
var NLDDCheckboxField = (_NLDDCheckboxField = class NLDDCheckboxField extends DescribedBy(FormAssociated(LitElement)) {
|
|
16602
|
+
var _NLDDCheckboxField = class NLDDCheckboxField extends DescribedBy(FormAssociated(LitElement)) {
|
|
16596
16603
|
constructor(..._args) {
|
|
16597
16604
|
super(..._args);
|
|
16598
16605
|
this._initialChecked = false;
|
|
@@ -16652,7 +16659,8 @@ var NLDDCheckboxField = (_NLDDCheckboxField = class NLDDCheckboxField extends De
|
|
|
16652
16659
|
render() {
|
|
16653
16660
|
return checkboxFieldTemplate(this);
|
|
16654
16661
|
}
|
|
16655
|
-
}
|
|
16662
|
+
};
|
|
16663
|
+
var NLDDCheckboxField = (_NLDDCheckboxField.styles = checkboxFieldStyles, _NLDDCheckboxField.isFormInput = true, _NLDDCheckboxField);
|
|
16656
16664
|
__decorate([property({
|
|
16657
16665
|
type: Boolean,
|
|
16658
16666
|
reflect: true
|
|
@@ -18588,8 +18596,7 @@ function codeEditorTemplate(_component) {
|
|
|
18588
18596
|
* @fires input - When the content changes (detail: { value })
|
|
18589
18597
|
* @fires change - When the content is committed on blur (detail: { value })
|
|
18590
18598
|
*/
|
|
18591
|
-
var _NLDDCodeEditor
|
|
18592
|
-
var NLDDCodeEditor = (_NLDDCodeEditor = class NLDDCodeEditor extends DescribedBy(FormAssociated(NLDDCodeMirrorElement)) {
|
|
18599
|
+
var _NLDDCodeEditor = class NLDDCodeEditor extends DescribedBy(FormAssociated(NLDDCodeMirrorElement)) {
|
|
18593
18600
|
constructor(..._args) {
|
|
18594
18601
|
super(..._args);
|
|
18595
18602
|
this._initialValue = "";
|
|
@@ -18767,7 +18774,8 @@ var NLDDCodeEditor = (_NLDDCodeEditor = class NLDDCodeEditor extends DescribedBy
|
|
|
18767
18774
|
render() {
|
|
18768
18775
|
return codeEditorTemplate(this);
|
|
18769
18776
|
}
|
|
18770
|
-
}
|
|
18777
|
+
};
|
|
18778
|
+
var NLDDCodeEditor = (_NLDDCodeEditor.shadowRootOptions = {
|
|
18771
18779
|
...LitElement.shadowRootOptions,
|
|
18772
18780
|
delegatesFocus: true
|
|
18773
18781
|
}, _NLDDCodeEditor.styles = codeEditorStyles, _NLDDCodeEditor.isFormInput = true, _NLDDCodeEditor);
|
|
@@ -20289,8 +20297,7 @@ function topTitleBarTemplate(component) {
|
|
|
20289
20297
|
* @fires dismiss - Fired when the dismiss button is clicked. Bubbles and is composed, with the same caveat as `back`.
|
|
20290
20298
|
*/
|
|
20291
20299
|
var top_title_bar_exports = /* @__PURE__ */ __exportAll({ NLDDTopTitleBar: () => NLDDTopTitleBar });
|
|
20292
|
-
var _NLDDTopTitleBar
|
|
20293
|
-
var NLDDTopTitleBar = (_NLDDTopTitleBar = class NLDDTopTitleBar extends LitElement {
|
|
20300
|
+
var _NLDDTopTitleBar = class NLDDTopTitleBar extends LitElement {
|
|
20294
20301
|
constructor(..._args) {
|
|
20295
20302
|
super(..._args);
|
|
20296
20303
|
this.text = "";
|
|
@@ -20433,7 +20440,8 @@ var NLDDTopTitleBar = (_NLDDTopTitleBar = class NLDDTopTitleBar extends LitEleme
|
|
|
20433
20440
|
render() {
|
|
20434
20441
|
return topTitleBarTemplate(this);
|
|
20435
20442
|
}
|
|
20436
|
-
}
|
|
20443
|
+
};
|
|
20444
|
+
var NLDDTopTitleBar = (_NLDDTopTitleBar.styles = topTitleBarStyles, _NLDDTopTitleBar);
|
|
20437
20445
|
__decorate([property({
|
|
20438
20446
|
reflect: true,
|
|
20439
20447
|
converter: reflectNonDefault("")
|
|
@@ -22653,8 +22661,7 @@ function dropdownTemplate(component) {
|
|
|
22653
22661
|
* </nldd-dropdown>
|
|
22654
22662
|
* ```
|
|
22655
22663
|
*/
|
|
22656
|
-
var _NLDDDropdown
|
|
22657
|
-
var NLDDDropdown = (_NLDDDropdown = class NLDDDropdown extends DescribedBy(LitElement) {
|
|
22664
|
+
var _NLDDDropdown = class NLDDDropdown extends DescribedBy(LitElement) {
|
|
22658
22665
|
constructor(..._args) {
|
|
22659
22666
|
super(..._args);
|
|
22660
22667
|
this.size = "md";
|
|
@@ -22779,7 +22786,8 @@ var NLDDDropdown = (_NLDDDropdown = class NLDDDropdown extends DescribedBy(LitEl
|
|
|
22779
22786
|
render() {
|
|
22780
22787
|
return dropdownTemplate(this);
|
|
22781
22788
|
}
|
|
22782
|
-
}
|
|
22789
|
+
};
|
|
22790
|
+
var NLDDDropdown = (_NLDDDropdown.styles = dropdownStyles, _NLDDDropdown.isFormInput = true, _NLDDDropdown);
|
|
22783
22791
|
__decorate([property({
|
|
22784
22792
|
reflect: true,
|
|
22785
22793
|
converter: reflectNonDefault("md")
|
|
@@ -23060,8 +23068,7 @@ var nlddFileFieldTranslations = {
|
|
|
23060
23068
|
*
|
|
23061
23069
|
* @fires change - When the chosen files change, including a clear; detail: { files: File[] }
|
|
23062
23070
|
*/
|
|
23063
|
-
var _NLDDFileField
|
|
23064
|
-
var NLDDFileField = (_NLDDFileField = class NLDDFileField extends DescribedBy(FormAssociated(LitElement)) {
|
|
23071
|
+
var _NLDDFileField = class NLDDFileField extends DescribedBy(FormAssociated(LitElement)) {
|
|
23065
23072
|
constructor(..._args) {
|
|
23066
23073
|
super(..._args);
|
|
23067
23074
|
this.size = "md";
|
|
@@ -23175,7 +23182,8 @@ var NLDDFileField = (_NLDDFileField = class NLDDFileField extends DescribedBy(Fo
|
|
|
23175
23182
|
render() {
|
|
23176
23183
|
return fileFieldTemplate(this);
|
|
23177
23184
|
}
|
|
23178
|
-
}
|
|
23185
|
+
};
|
|
23186
|
+
var NLDDFileField = (_NLDDFileField.styles = fileFieldStyles, _NLDDFileField.isFormInput = true, _NLDDFileField);
|
|
23179
23187
|
__decorate([property({
|
|
23180
23188
|
reflect: true,
|
|
23181
23189
|
converter: reflectNonDefault("md")
|
|
@@ -23459,8 +23467,7 @@ function multiLineTextFieldTemplate(component) {
|
|
|
23459
23467
|
* @fires input - When value changes
|
|
23460
23468
|
* @fires change - When value is committed (blur)
|
|
23461
23469
|
*/
|
|
23462
|
-
var _NLDDMultiLineTextField
|
|
23463
|
-
var NLDDMultiLineTextField = (_NLDDMultiLineTextField = class NLDDMultiLineTextField extends DescribedBy(FormAssociated(LitElement)) {
|
|
23470
|
+
var _NLDDMultiLineTextField = class NLDDMultiLineTextField extends DescribedBy(FormAssociated(LitElement)) {
|
|
23464
23471
|
constructor(..._args) {
|
|
23465
23472
|
super(..._args);
|
|
23466
23473
|
this._initialValue = "";
|
|
@@ -23530,7 +23537,8 @@ var NLDDMultiLineTextField = (_NLDDMultiLineTextField = class NLDDMultiLineTextF
|
|
|
23530
23537
|
render() {
|
|
23531
23538
|
return multiLineTextFieldTemplate(this);
|
|
23532
23539
|
}
|
|
23533
|
-
}
|
|
23540
|
+
};
|
|
23541
|
+
var NLDDMultiLineTextField = (_NLDDMultiLineTextField.shadowRootOptions = {
|
|
23534
23542
|
...LitElement.shadowRootOptions,
|
|
23535
23543
|
delegatesFocus: true
|
|
23536
23544
|
}, _NLDDMultiLineTextField.styles = multiLineTextFieldStyles, _NLDDMultiLineTextField.isFormInput = true, _NLDDMultiLineTextField);
|
|
@@ -23820,8 +23828,7 @@ var nlddNumberFieldTranslations = {
|
|
|
23820
23828
|
* @fires input - When the value changes (typing, +/- button, or on-commit correction); detail: { value: number }
|
|
23821
23829
|
* @fires change - When the value is committed (blur/Enter or +/- button), clamped to [min, max]; empty input falls back to the last valid value. When the committed value differs from the typed value, a matching input event is fired immediately before this one. detail: { value: number }
|
|
23822
23830
|
*/
|
|
23823
|
-
var _NLDDNumberField
|
|
23824
|
-
var NLDDNumberField = (_NLDDNumberField = class NLDDNumberField extends DescribedBy(FormAssociated(LitElement)) {
|
|
23831
|
+
var _NLDDNumberField = class NLDDNumberField extends DescribedBy(FormAssociated(LitElement)) {
|
|
23825
23832
|
constructor(..._args) {
|
|
23826
23833
|
super(..._args);
|
|
23827
23834
|
this._initialValue = 0;
|
|
@@ -23932,7 +23939,8 @@ var NLDDNumberField = (_NLDDNumberField = class NLDDNumberField extends Describe
|
|
|
23932
23939
|
render() {
|
|
23933
23940
|
return numberFieldTemplate(this);
|
|
23934
23941
|
}
|
|
23935
|
-
}
|
|
23942
|
+
};
|
|
23943
|
+
var NLDDNumberField = (_NLDDNumberField.styles = numberFieldStyles, _NLDDNumberField.isFormInput = true, _NLDDNumberField.blocksImplicitSubmission = true, _NLDDNumberField);
|
|
23936
23944
|
__decorate([property({ type: Number })], NLDDNumberField.prototype, "value", void 0);
|
|
23937
23945
|
__decorate([property({ type: Number })], NLDDNumberField.prototype, "min", void 0);
|
|
23938
23946
|
__decorate([property({ type: Number })], NLDDNumberField.prototype, "max", void 0);
|
|
@@ -24252,8 +24260,7 @@ function passwordFieldTemplate(component) {
|
|
|
24252
24260
|
* @fires input - When the input value changes ({ detail: { value } })
|
|
24253
24261
|
* @fires change - When the input value is committed ({ detail: { value } })
|
|
24254
24262
|
*/
|
|
24255
|
-
var _NLDDPasswordField
|
|
24256
|
-
var NLDDPasswordField = (_NLDDPasswordField = class NLDDPasswordField extends DescribedBy(FormAssociated(LitElement)) {
|
|
24263
|
+
var _NLDDPasswordField = class NLDDPasswordField extends DescribedBy(FormAssociated(LitElement)) {
|
|
24257
24264
|
constructor(..._args) {
|
|
24258
24265
|
super(..._args);
|
|
24259
24266
|
this._initialValue = "";
|
|
@@ -24335,7 +24342,8 @@ var NLDDPasswordField = (_NLDDPasswordField = class NLDDPasswordField extends De
|
|
|
24335
24342
|
render() {
|
|
24336
24343
|
return passwordFieldTemplate(this);
|
|
24337
24344
|
}
|
|
24338
|
-
}
|
|
24345
|
+
};
|
|
24346
|
+
var NLDDPasswordField = (_NLDDPasswordField.shadowRootOptions = {
|
|
24339
24347
|
...LitElement.shadowRootOptions,
|
|
24340
24348
|
delegatesFocus: true
|
|
24341
24349
|
}, _NLDDPasswordField.styles = passwordFieldStyles, _NLDDPasswordField.isFormInput = true, _NLDDPasswordField.blocksImplicitSubmission = true, _NLDDPasswordField);
|
|
@@ -24715,8 +24723,7 @@ var RadioGrouping = class RadioGrouping {
|
|
|
24715
24723
|
*
|
|
24716
24724
|
* @fires change - When checked state changes; detail: { checked: boolean, value: string, name: string }
|
|
24717
24725
|
*/
|
|
24718
|
-
var _NLDDRadioButton
|
|
24719
|
-
var NLDDRadioButton = (_NLDDRadioButton = class NLDDRadioButton extends DescribedBy(FormAssociated(LitElement)) {
|
|
24726
|
+
var _NLDDRadioButton = class NLDDRadioButton extends DescribedBy(FormAssociated(LitElement)) {
|
|
24720
24727
|
constructor(..._args) {
|
|
24721
24728
|
super(..._args);
|
|
24722
24729
|
this._initialChecked = false;
|
|
@@ -24849,7 +24856,8 @@ var NLDDRadioButton = (_NLDDRadioButton = class NLDDRadioButton extends Describe
|
|
|
24849
24856
|
render() {
|
|
24850
24857
|
return radioButtonTemplate(this);
|
|
24851
24858
|
}
|
|
24852
|
-
}
|
|
24859
|
+
};
|
|
24860
|
+
var NLDDRadioButton = (_NLDDRadioButton.styles = radioButtonStyles, _NLDDRadioButton.isFormInput = true, _NLDDRadioButton);
|
|
24853
24861
|
__decorate([property({
|
|
24854
24862
|
type: Boolean,
|
|
24855
24863
|
reflect: true
|
|
@@ -25010,8 +25018,7 @@ function radioButtonFieldTemplate(component) {
|
|
|
25010
25018
|
*
|
|
25011
25019
|
* @fires change - When checked state changes; detail: { checked: boolean, value: string }
|
|
25012
25020
|
*/
|
|
25013
|
-
var _NLDDRadioButtonField
|
|
25014
|
-
var NLDDRadioButtonField = (_NLDDRadioButtonField = class NLDDRadioButtonField extends DescribedBy(FormAssociated(LitElement)) {
|
|
25021
|
+
var _NLDDRadioButtonField = class NLDDRadioButtonField extends DescribedBy(FormAssociated(LitElement)) {
|
|
25015
25022
|
constructor(..._args) {
|
|
25016
25023
|
super(..._args);
|
|
25017
25024
|
this._initialChecked = false;
|
|
@@ -25151,7 +25158,8 @@ var NLDDRadioButtonField = (_NLDDRadioButtonField = class NLDDRadioButtonField e
|
|
|
25151
25158
|
render() {
|
|
25152
25159
|
return radioButtonFieldTemplate(this);
|
|
25153
25160
|
}
|
|
25154
|
-
}
|
|
25161
|
+
};
|
|
25162
|
+
var NLDDRadioButtonField = (_NLDDRadioButtonField.styles = radioButtonFieldStyles, _NLDDRadioButtonField.isFormInput = true, _NLDDRadioButtonField);
|
|
25155
25163
|
__decorate([property({
|
|
25156
25164
|
type: Boolean,
|
|
25157
25165
|
reflect: true
|
|
@@ -25235,8 +25243,7 @@ function radioButtonGroupTemplate(component) {
|
|
|
25235
25243
|
*
|
|
25236
25244
|
* @fires change - Bubbles up from the checked field; detail: { checked: boolean, value: string }
|
|
25237
25245
|
*/
|
|
25238
|
-
var _NLDDRadioButtonGroup
|
|
25239
|
-
var NLDDRadioButtonGroup = (_NLDDRadioButtonGroup = class NLDDRadioButtonGroup extends LitElement {
|
|
25246
|
+
var _NLDDRadioButtonGroup = class NLDDRadioButtonGroup extends LitElement {
|
|
25240
25247
|
constructor(..._args) {
|
|
25241
25248
|
super(..._args);
|
|
25242
25249
|
this.name = "";
|
|
@@ -25357,7 +25364,8 @@ var NLDDRadioButtonGroup = (_NLDDRadioButtonGroup = class NLDDRadioButtonGroup e
|
|
|
25357
25364
|
render() {
|
|
25358
25365
|
return radioButtonGroupTemplate(this);
|
|
25359
25366
|
}
|
|
25360
|
-
}
|
|
25367
|
+
};
|
|
25368
|
+
var NLDDRadioButtonGroup = (_NLDDRadioButtonGroup.styles = radioButtonGroupStyles, _NLDDRadioButtonGroup.isFormInput = true, _NLDDRadioButtonGroup);
|
|
25361
25369
|
__decorate([property({ type: String })], NLDDRadioButtonGroup.prototype, "name", void 0);
|
|
25362
25370
|
__decorate([property({
|
|
25363
25371
|
type: Boolean,
|
|
@@ -25638,8 +25646,7 @@ var nlddSearchFieldTranslations = {
|
|
|
25638
25646
|
* @fires change - When the input value is committed; detail: { value: string }
|
|
25639
25647
|
* @fires search - When search is submitted via Enter or the search button; detail: { value: string }
|
|
25640
25648
|
*/
|
|
25641
|
-
var _NLDDSearchField
|
|
25642
|
-
var NLDDSearchField = (_NLDDSearchField = class NLDDSearchField extends DescribedBy(FormAssociated(LitElement)) {
|
|
25649
|
+
var _NLDDSearchField = class NLDDSearchField extends DescribedBy(FormAssociated(LitElement)) {
|
|
25643
25650
|
constructor(..._args) {
|
|
25644
25651
|
super(..._args);
|
|
25645
25652
|
this._initialValue = "";
|
|
@@ -25740,7 +25747,8 @@ var NLDDSearchField = (_NLDDSearchField = class NLDDSearchField extends Describe
|
|
|
25740
25747
|
render() {
|
|
25741
25748
|
return searchFieldTemplate(this);
|
|
25742
25749
|
}
|
|
25743
|
-
}
|
|
25750
|
+
};
|
|
25751
|
+
var NLDDSearchField = (_NLDDSearchField.styles = searchFieldStyles, _NLDDSearchField.isFormInput = true, _NLDDSearchField.blocksImplicitSubmission = true, _NLDDSearchField);
|
|
25744
25752
|
__decorate([property({
|
|
25745
25753
|
reflect: true,
|
|
25746
25754
|
converter: reflectNonDefault("md")
|
|
@@ -26820,8 +26828,7 @@ var nlddStepperTranslations = {
|
|
|
26820
26828
|
*
|
|
26821
26829
|
* @fires change - When the value changes; detail: { value: number }
|
|
26822
26830
|
*/
|
|
26823
|
-
var _NLDDStepper
|
|
26824
|
-
var NLDDStepper = (_NLDDStepper = class NLDDStepper extends DescribedBy(FormAssociated(LitElement)) {
|
|
26831
|
+
var _NLDDStepper = class NLDDStepper extends DescribedBy(FormAssociated(LitElement)) {
|
|
26825
26832
|
constructor(..._args) {
|
|
26826
26833
|
super(..._args);
|
|
26827
26834
|
this._initialValue = 0;
|
|
@@ -26920,7 +26927,8 @@ var NLDDStepper = (_NLDDStepper = class NLDDStepper extends DescribedBy(FormAsso
|
|
|
26920
26927
|
render() {
|
|
26921
26928
|
return stepperTemplate(this);
|
|
26922
26929
|
}
|
|
26923
|
-
}
|
|
26930
|
+
};
|
|
26931
|
+
var NLDDStepper = (_NLDDStepper.styles = stepperStyles, _NLDDStepper.isFormInput = true, _NLDDStepper);
|
|
26924
26932
|
__decorate([property({ type: Number })], NLDDStepper.prototype, "value", void 0);
|
|
26925
26933
|
__decorate([property({ type: Number })], NLDDStepper.prototype, "min", void 0);
|
|
26926
26934
|
__decorate([property({ type: Number })], NLDDStepper.prototype, "max", void 0);
|
|
@@ -27348,8 +27356,7 @@ function switchFieldTemplate(component) {
|
|
|
27348
27356
|
*
|
|
27349
27357
|
* @fires change - When checked state changes; detail: { checked: boolean, value: string }
|
|
27350
27358
|
*/
|
|
27351
|
-
var _NLDDSwitchField
|
|
27352
|
-
var NLDDSwitchField = (_NLDDSwitchField = class NLDDSwitchField extends DescribedBy(LitElement) {
|
|
27359
|
+
var _NLDDSwitchField = class NLDDSwitchField extends DescribedBy(LitElement) {
|
|
27353
27360
|
constructor(..._args) {
|
|
27354
27361
|
super(..._args);
|
|
27355
27362
|
this.checked = false;
|
|
@@ -27391,7 +27398,8 @@ var NLDDSwitchField = (_NLDDSwitchField = class NLDDSwitchField extends Describe
|
|
|
27391
27398
|
render() {
|
|
27392
27399
|
return switchFieldTemplate(this);
|
|
27393
27400
|
}
|
|
27394
|
-
}
|
|
27401
|
+
};
|
|
27402
|
+
var NLDDSwitchField = (_NLDDSwitchField.styles = switchFieldStyles, _NLDDSwitchField.isFormInput = true, _NLDDSwitchField);
|
|
27395
27403
|
__decorate([property({
|
|
27396
27404
|
type: Boolean,
|
|
27397
27405
|
reflect: true
|
|
@@ -33143,8 +33151,7 @@ var nlddTextEditorTranslations = {
|
|
|
33143
33151
|
* @fires nldd-text-editor-typeahead - When a candidate from one of the `typeaheads` is chosen (detail: TypeaheadChosenDetail with trigger, candidate, from, to; clean offsets)
|
|
33144
33152
|
* @fires nldd-text-editor-annotation-click - When an annotation's count badge is clicked (detail: { ids: string[], rect: DOMRect }); rect is the badge's viewport box so a consumer can anchor its own note UI to it
|
|
33145
33153
|
*/
|
|
33146
|
-
var _NLDDTextEditor
|
|
33147
|
-
var NLDDTextEditor = (_NLDDTextEditor = class NLDDTextEditor extends DescribedBy(FormAssociated(NLDDCodeMirrorElement)) {
|
|
33154
|
+
var _NLDDTextEditor = class NLDDTextEditor extends DescribedBy(FormAssociated(NLDDCodeMirrorElement)) {
|
|
33148
33155
|
constructor(..._args) {
|
|
33149
33156
|
super(..._args);
|
|
33150
33157
|
this._initialValue = "";
|
|
@@ -33895,7 +33902,8 @@ var NLDDTextEditor = (_NLDDTextEditor = class NLDDTextEditor extends DescribedBy
|
|
|
33895
33902
|
render() {
|
|
33896
33903
|
return textEditorTemplate(this);
|
|
33897
33904
|
}
|
|
33898
|
-
}
|
|
33905
|
+
};
|
|
33906
|
+
var NLDDTextEditor = (_NLDDTextEditor.shadowRootOptions = {
|
|
33899
33907
|
...LitElement.shadowRootOptions,
|
|
33900
33908
|
delegatesFocus: true
|
|
33901
33909
|
}, _NLDDTextEditor.styles = textEditorStyles, _NLDDTextEditor.isFormInput = true, _NLDDTextEditor);
|
|
@@ -34864,14 +34872,14 @@ var spacerStyles = css`
|
|
|
34864
34872
|
* @attr {string} lg-size - Spacer size at lg breakpoint (min-width: 1008px).
|
|
34865
34873
|
* @attr {string} direction - Direction: 'horizontal' | 'vertical' | 'both' (default: 'both')
|
|
34866
34874
|
*/
|
|
34867
|
-
var _NLDDSpacer
|
|
34868
|
-
var NLDDSpacer = (_NLDDSpacer = class NLDDSpacer extends LitElement {
|
|
34875
|
+
var _NLDDSpacer = class NLDDSpacer extends LitElement {
|
|
34869
34876
|
constructor(..._args) {
|
|
34870
34877
|
super(..._args);
|
|
34871
34878
|
this.size = "16";
|
|
34872
34879
|
this.direction = "both";
|
|
34873
34880
|
}
|
|
34874
|
-
}
|
|
34881
|
+
};
|
|
34882
|
+
var NLDDSpacer = (_NLDDSpacer.styles = spacerStyles, _NLDDSpacer);
|
|
34875
34883
|
__decorate([property({
|
|
34876
34884
|
type: String,
|
|
34877
34885
|
reflect: true
|
|
@@ -36514,8 +36522,7 @@ function toggleButtonTemplate(component) {
|
|
|
36514
36522
|
*
|
|
36515
36523
|
* @fires change - When selection changes; detail: { selected: boolean, value: string }
|
|
36516
36524
|
*/
|
|
36517
|
-
var _NLDDToggleButton
|
|
36518
|
-
var NLDDToggleButton = (_NLDDToggleButton = class NLDDToggleButton extends DescribedBy(FormAssociated(LitElement)) {
|
|
36525
|
+
var _NLDDToggleButton = class NLDDToggleButton extends DescribedBy(FormAssociated(LitElement)) {
|
|
36519
36526
|
constructor(..._args) {
|
|
36520
36527
|
super(..._args);
|
|
36521
36528
|
this.required = false;
|
|
@@ -36700,7 +36707,8 @@ var NLDDToggleButton = (_NLDDToggleButton = class NLDDToggleButton extends Descr
|
|
|
36700
36707
|
render() {
|
|
36701
36708
|
return toggleButtonTemplate(this);
|
|
36702
36709
|
}
|
|
36703
|
-
}
|
|
36710
|
+
};
|
|
36711
|
+
var NLDDToggleButton = (_NLDDToggleButton.styles = toggleButtonStyles, _NLDDToggleButton.isFormInput = true, _NLDDToggleButton);
|
|
36704
36712
|
__decorate([property({
|
|
36705
36713
|
type: Boolean,
|
|
36706
36714
|
reflect: true
|
|
@@ -36833,8 +36841,7 @@ function toggleButtonGroupTemplate(component) {
|
|
|
36833
36841
|
*
|
|
36834
36842
|
* @fires change - Bubbles up from the changed button; detail: { selected: boolean, value: string }
|
|
36835
36843
|
*/
|
|
36836
|
-
var _NLDDToggleButtonGroup
|
|
36837
|
-
var NLDDToggleButtonGroup = (_NLDDToggleButtonGroup = class NLDDToggleButtonGroup extends LitElement {
|
|
36844
|
+
var _NLDDToggleButtonGroup = class NLDDToggleButtonGroup extends LitElement {
|
|
36838
36845
|
constructor(..._args) {
|
|
36839
36846
|
super(..._args);
|
|
36840
36847
|
this.required = false;
|
|
@@ -36976,7 +36983,8 @@ var NLDDToggleButtonGroup = (_NLDDToggleButtonGroup = class NLDDToggleButtonGrou
|
|
|
36976
36983
|
render() {
|
|
36977
36984
|
return toggleButtonGroupTemplate(this);
|
|
36978
36985
|
}
|
|
36979
|
-
}
|
|
36986
|
+
};
|
|
36987
|
+
var NLDDToggleButtonGroup = (_NLDDToggleButtonGroup.styles = toggleButtonGroupStyles, _NLDDToggleButtonGroup.isFormInput = true, _NLDDToggleButtonGroup);
|
|
36980
36988
|
__decorate([property({
|
|
36981
36989
|
type: Boolean,
|
|
36982
36990
|
reflect: true
|
|
@@ -38614,8 +38622,7 @@ function splitViewDividerTemplate(component) {
|
|
|
38614
38622
|
* @attr {string} orientation - Orientation: 'vertical' | 'horizontal'
|
|
38615
38623
|
* @attr {boolean} has-drag-handle - Show a drag handle
|
|
38616
38624
|
*/
|
|
38617
|
-
var _NLDDSplitViewDivider
|
|
38618
|
-
var NLDDSplitViewDivider = (_NLDDSplitViewDivider = class NLDDSplitViewDivider extends LitElement {
|
|
38625
|
+
var _NLDDSplitViewDivider = class NLDDSplitViewDivider extends LitElement {
|
|
38619
38626
|
constructor(..._args) {
|
|
38620
38627
|
super(..._args);
|
|
38621
38628
|
this.orientation = "vertical";
|
|
@@ -38624,7 +38631,8 @@ var NLDDSplitViewDivider = (_NLDDSplitViewDivider = class NLDDSplitViewDivider e
|
|
|
38624
38631
|
render() {
|
|
38625
38632
|
return splitViewDividerTemplate(this);
|
|
38626
38633
|
}
|
|
38627
|
-
}
|
|
38634
|
+
};
|
|
38635
|
+
var NLDDSplitViewDivider = (_NLDDSplitViewDivider.styles = splitViewDividerStyles, _NLDDSplitViewDivider);
|
|
38628
38636
|
__decorate([property({
|
|
38629
38637
|
reflect: true,
|
|
38630
38638
|
converter: reflectNonDefault("vertical")
|
|
@@ -39312,8 +39320,7 @@ function navigationSplitViewTemplate(component) {
|
|
|
39312
39320
|
* @method showSidebarSheet() - @deprecated alias for showPrimarySidebarSheet() (kept for backwards compatibility)
|
|
39313
39321
|
* @method hideSidebarSheet() - @deprecated alias for hidePrimarySidebarSheet() (kept for backwards compatibility)
|
|
39314
39322
|
*/
|
|
39315
|
-
var _NLDDNavigationSplitView
|
|
39316
|
-
var NLDDNavigationSplitView = (_NLDDNavigationSplitView = class NLDDNavigationSplitView extends LitElement {
|
|
39323
|
+
var _NLDDNavigationSplitView = class NLDDNavigationSplitView extends LitElement {
|
|
39317
39324
|
constructor(..._args) {
|
|
39318
39325
|
super(..._args);
|
|
39319
39326
|
this._scrollMode = new ScrollModeController(this);
|
|
@@ -39612,7 +39619,8 @@ var NLDDNavigationSplitView = (_NLDDNavigationSplitView = class NLDDNavigationSp
|
|
|
39612
39619
|
render() {
|
|
39613
39620
|
return navigationSplitViewTemplate(this);
|
|
39614
39621
|
}
|
|
39615
|
-
}
|
|
39622
|
+
};
|
|
39623
|
+
var NLDDNavigationSplitView = (_NLDDNavigationSplitView.styles = navigationSplitViewStyles, _NLDDNavigationSplitView);
|
|
39616
39624
|
__decorate([property({
|
|
39617
39625
|
type: Boolean,
|
|
39618
39626
|
reflect: true,
|
|
@@ -39792,8 +39800,7 @@ function sideBySideSplitViewTemplate(component) {
|
|
|
39792
39800
|
* @slot pane-2 - Second pane
|
|
39793
39801
|
* @slot pane-n - Each subsequent pane based on the `panes` attribute
|
|
39794
39802
|
*/
|
|
39795
|
-
var _NLDDSideBySideSplitView
|
|
39796
|
-
var NLDDSideBySideSplitView = (_NLDDSideBySideSplitView = class NLDDSideBySideSplitView extends LitElement {
|
|
39803
|
+
var _NLDDSideBySideSplitView = class NLDDSideBySideSplitView extends LitElement {
|
|
39797
39804
|
constructor(..._args) {
|
|
39798
39805
|
super(..._args);
|
|
39799
39806
|
this._scrollMode = new ScrollModeController(this);
|
|
@@ -39843,7 +39850,8 @@ var NLDDSideBySideSplitView = (_NLDDSideBySideSplitView = class NLDDSideBySideSp
|
|
|
39843
39850
|
render() {
|
|
39844
39851
|
return sideBySideSplitViewTemplate(this);
|
|
39845
39852
|
}
|
|
39846
|
-
}
|
|
39853
|
+
};
|
|
39854
|
+
var NLDDSideBySideSplitView = (_NLDDSideBySideSplitView.styles = sideBySideSplitViewStyles, _NLDDSideBySideSplitView);
|
|
39847
39855
|
__decorate([property({
|
|
39848
39856
|
type: String,
|
|
39849
39857
|
reflect: true
|
|
@@ -39992,8 +40000,7 @@ function stackedSplitViewTemplate(component) {
|
|
|
39992
40000
|
* @slot pane-2 - Second pane
|
|
39993
40001
|
* @slot pane-n - Each subsequent pane based on the `panes` attribute
|
|
39994
40002
|
*/
|
|
39995
|
-
var _NLDDStackedSplitView
|
|
39996
|
-
var NLDDStackedSplitView = (_NLDDStackedSplitView = class NLDDStackedSplitView extends LitElement {
|
|
40003
|
+
var _NLDDStackedSplitView = class NLDDStackedSplitView extends LitElement {
|
|
39997
40004
|
constructor(..._args) {
|
|
39998
40005
|
super(..._args);
|
|
39999
40006
|
this._scrollMode = new ScrollModeController(this);
|
|
@@ -40029,7 +40036,8 @@ var NLDDStackedSplitView = (_NLDDStackedSplitView = class NLDDStackedSplitView e
|
|
|
40029
40036
|
render() {
|
|
40030
40037
|
return stackedSplitViewTemplate(this);
|
|
40031
40038
|
}
|
|
40032
|
-
}
|
|
40039
|
+
};
|
|
40040
|
+
var NLDDStackedSplitView = (_NLDDStackedSplitView.styles = stackedSplitViewStyles, _NLDDStackedSplitView);
|
|
40033
40041
|
__decorate([property({
|
|
40034
40042
|
type: String,
|
|
40035
40043
|
reflect: true
|
|
@@ -40175,8 +40183,7 @@ function splitViewPaneTemplate(_component) {
|
|
|
40175
40183
|
*
|
|
40176
40184
|
* @slot - Pane content
|
|
40177
40185
|
*/
|
|
40178
|
-
var _NLDDSplitViewPane
|
|
40179
|
-
var NLDDSplitViewPane = (_NLDDSplitViewPane = class NLDDSplitViewPane extends LitElement {
|
|
40186
|
+
var _NLDDSplitViewPane = class NLDDSplitViewPane extends LitElement {
|
|
40180
40187
|
constructor(..._args) {
|
|
40181
40188
|
super(..._args);
|
|
40182
40189
|
this._scrollMode = new ScrollModeController(this);
|
|
@@ -40192,7 +40199,8 @@ var NLDDSplitViewPane = (_NLDDSplitViewPane = class NLDDSplitViewPane extends Li
|
|
|
40192
40199
|
render() {
|
|
40193
40200
|
return splitViewPaneTemplate(this);
|
|
40194
40201
|
}
|
|
40195
|
-
}
|
|
40202
|
+
};
|
|
40203
|
+
var NLDDSplitViewPane = (_NLDDSplitViewPane.styles = splitViewPaneStyles, _NLDDSplitViewPane);
|
|
40196
40204
|
__decorate([property({
|
|
40197
40205
|
type: String,
|
|
40198
40206
|
reflect: true
|
|
@@ -41184,8 +41192,7 @@ function simpleSectionTemplate(component) {
|
|
|
41184
41192
|
* @slot footer - Content below the main content
|
|
41185
41193
|
*/
|
|
41186
41194
|
var simple_section_exports = /* @__PURE__ */ __exportAll({ NLDDSimpleSection: () => NLDDSimpleSection });
|
|
41187
|
-
var _NLDDSimpleSection
|
|
41188
|
-
var NLDDSimpleSection = (_NLDDSimpleSection = class NLDDSimpleSection extends PageSectionMixin(LitElement) {
|
|
41195
|
+
var _NLDDSimpleSection = class NLDDSimpleSection extends PageSectionMixin(LitElement) {
|
|
41189
41196
|
constructor(..._args) {
|
|
41190
41197
|
super(..._args);
|
|
41191
41198
|
this.width = "";
|
|
@@ -41203,7 +41210,8 @@ var NLDDSimpleSection = (_NLDDSimpleSection = class NLDDSimpleSection extends Pa
|
|
|
41203
41210
|
render() {
|
|
41204
41211
|
return simpleSectionTemplate(this);
|
|
41205
41212
|
}
|
|
41206
|
-
}
|
|
41213
|
+
};
|
|
41214
|
+
var NLDDSimpleSection = (_NLDDSimpleSection.styles = simpleSectionStyles, _NLDDSimpleSection);
|
|
41207
41215
|
__decorate([property({
|
|
41208
41216
|
type: String,
|
|
41209
41217
|
reflect: true
|
|
@@ -41672,8 +41680,7 @@ function heroTemplate(component) {
|
|
|
41672
41680
|
* otherwise give a describing alt text.
|
|
41673
41681
|
* @slot - Content of the text panel (nldd-title and nldd-rich-text with color="inherit", for instance)
|
|
41674
41682
|
*/
|
|
41675
|
-
var _NLDDHero
|
|
41676
|
-
var NLDDHero = (_NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
41683
|
+
var _NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
41677
41684
|
constructor(..._args) {
|
|
41678
41685
|
super(..._args);
|
|
41679
41686
|
this.width = "";
|
|
@@ -41716,7 +41723,8 @@ var NLDDHero = (_NLDDHero = class NLDDHero extends PageSectionMixin(LitElement)
|
|
|
41716
41723
|
render() {
|
|
41717
41724
|
return heroTemplate(this);
|
|
41718
41725
|
}
|
|
41719
|
-
}
|
|
41726
|
+
};
|
|
41727
|
+
var NLDDHero = (_NLDDHero.styles = heroStyles, _NLDDHero);
|
|
41720
41728
|
__decorate([property({
|
|
41721
41729
|
type: String,
|
|
41722
41730
|
reflect: true
|
|
@@ -41918,8 +41926,7 @@ function fullBleedSectionTemplate(component) {
|
|
|
41918
41926
|
* @slot - Main content
|
|
41919
41927
|
* @slot footer - Content below the main content
|
|
41920
41928
|
*/
|
|
41921
|
-
var _NLDDFullBleedSection
|
|
41922
|
-
var NLDDFullBleedSection = (_NLDDFullBleedSection = class NLDDFullBleedSection extends PageSectionMixin(LitElement) {
|
|
41929
|
+
var _NLDDFullBleedSection = class NLDDFullBleedSection extends PageSectionMixin(LitElement) {
|
|
41923
41930
|
constructor(..._args) {
|
|
41924
41931
|
super(..._args);
|
|
41925
41932
|
this.width = "";
|
|
@@ -41935,7 +41942,8 @@ var NLDDFullBleedSection = (_NLDDFullBleedSection = class NLDDFullBleedSection e
|
|
|
41935
41942
|
render() {
|
|
41936
41943
|
return fullBleedSectionTemplate(this);
|
|
41937
41944
|
}
|
|
41938
|
-
}
|
|
41945
|
+
};
|
|
41946
|
+
var NLDDFullBleedSection = (_NLDDFullBleedSection.styles = fullBleedSectionStyles, _NLDDFullBleedSection);
|
|
41939
41947
|
__decorate([property({
|
|
41940
41948
|
type: String,
|
|
41941
41949
|
reflect: true
|
|
@@ -42140,8 +42148,7 @@ function oneThirdTwoThirdsSectionTemplate(component) {
|
|
|
42140
42148
|
* @slot right - Right column (2/3)
|
|
42141
42149
|
* @slot footer - Content below the columns
|
|
42142
42150
|
*/
|
|
42143
|
-
var _NLDDOneThirdTwoThirdsSection
|
|
42144
|
-
var NLDDOneThirdTwoThirdsSection = (_NLDDOneThirdTwoThirdsSection = class NLDDOneThirdTwoThirdsSection extends PageSectionMixin(LitElement) {
|
|
42151
|
+
var _NLDDOneThirdTwoThirdsSection = class NLDDOneThirdTwoThirdsSection extends PageSectionMixin(LitElement) {
|
|
42145
42152
|
constructor(..._args) {
|
|
42146
42153
|
super(..._args);
|
|
42147
42154
|
this.width = "";
|
|
@@ -42157,7 +42164,8 @@ var NLDDOneThirdTwoThirdsSection = (_NLDDOneThirdTwoThirdsSection = class NLDDOn
|
|
|
42157
42164
|
render() {
|
|
42158
42165
|
return oneThirdTwoThirdsSectionTemplate(this);
|
|
42159
42166
|
}
|
|
42160
|
-
}
|
|
42167
|
+
};
|
|
42168
|
+
var NLDDOneThirdTwoThirdsSection = (_NLDDOneThirdTwoThirdsSection.styles = oneThirdTwoThirdsSectionStyles, _NLDDOneThirdTwoThirdsSection);
|
|
42161
42169
|
__decorate([property({
|
|
42162
42170
|
type: String,
|
|
42163
42171
|
reflect: true
|
|
@@ -42362,8 +42370,7 @@ function twoThirdsOneThirdSectionTemplate(component) {
|
|
|
42362
42370
|
* @slot right - Right column (1/3)
|
|
42363
42371
|
* @slot footer - Content below the columns
|
|
42364
42372
|
*/
|
|
42365
|
-
var _NLDDTwoThirdsOneThirdSection
|
|
42366
|
-
var NLDDTwoThirdsOneThirdSection = (_NLDDTwoThirdsOneThirdSection = class NLDDTwoThirdsOneThirdSection extends PageSectionMixin(LitElement) {
|
|
42373
|
+
var _NLDDTwoThirdsOneThirdSection = class NLDDTwoThirdsOneThirdSection extends PageSectionMixin(LitElement) {
|
|
42367
42374
|
constructor(..._args) {
|
|
42368
42375
|
super(..._args);
|
|
42369
42376
|
this.width = "";
|
|
@@ -42379,7 +42386,8 @@ var NLDDTwoThirdsOneThirdSection = (_NLDDTwoThirdsOneThirdSection = class NLDDTw
|
|
|
42379
42386
|
render() {
|
|
42380
42387
|
return twoThirdsOneThirdSectionTemplate(this);
|
|
42381
42388
|
}
|
|
42382
|
-
}
|
|
42389
|
+
};
|
|
42390
|
+
var NLDDTwoThirdsOneThirdSection = (_NLDDTwoThirdsOneThirdSection.styles = twoThirdsOneThirdSectionStyles, _NLDDTwoThirdsOneThirdSection);
|
|
42383
42391
|
__decorate([property({
|
|
42384
42392
|
type: String,
|
|
42385
42393
|
reflect: true
|
|
@@ -42575,8 +42583,7 @@ function oneHalfOneHalfSectionTemplate(component) {
|
|
|
42575
42583
|
* @slot right - Right column (1/2)
|
|
42576
42584
|
* @slot footer - Content below the columns
|
|
42577
42585
|
*/
|
|
42578
|
-
var _NLDDOneHalfOneHalfSection
|
|
42579
|
-
var NLDDOneHalfOneHalfSection = (_NLDDOneHalfOneHalfSection = class NLDDOneHalfOneHalfSection extends PageSectionMixin(LitElement) {
|
|
42586
|
+
var _NLDDOneHalfOneHalfSection = class NLDDOneHalfOneHalfSection extends PageSectionMixin(LitElement) {
|
|
42580
42587
|
constructor(..._args) {
|
|
42581
42588
|
super(..._args);
|
|
42582
42589
|
this.width = "";
|
|
@@ -42592,7 +42599,8 @@ var NLDDOneHalfOneHalfSection = (_NLDDOneHalfOneHalfSection = class NLDDOneHalfO
|
|
|
42592
42599
|
render() {
|
|
42593
42600
|
return oneHalfOneHalfSectionTemplate(this);
|
|
42594
42601
|
}
|
|
42595
|
-
}
|
|
42602
|
+
};
|
|
42603
|
+
var NLDDOneHalfOneHalfSection = (_NLDDOneHalfOneHalfSection.styles = oneHalfOneHalfSectionStyles, _NLDDOneHalfOneHalfSection);
|
|
42596
42604
|
__decorate([property({
|
|
42597
42605
|
type: String,
|
|
42598
42606
|
reflect: true
|
|
@@ -43468,8 +43476,7 @@ NLDDSheet = __decorate([customElement("nldd-sheet")], NLDDSheet);
|
|
|
43468
43476
|
* @method hide() - Closes the sidebar sheet.
|
|
43469
43477
|
* @method toggle() - Opens or closes the sidebar sheet (collapsed only).
|
|
43470
43478
|
*/
|
|
43471
|
-
var _NLDDSidebarSection
|
|
43472
|
-
var NLDDSidebarSection = (_NLDDSidebarSection = class NLDDSidebarSection extends PageSectionMixin(LitElement) {
|
|
43479
|
+
var _NLDDSidebarSection = class NLDDSidebarSection extends PageSectionMixin(LitElement) {
|
|
43473
43480
|
constructor(..._args) {
|
|
43474
43481
|
super(..._args);
|
|
43475
43482
|
this.width = "";
|
|
@@ -43564,7 +43571,8 @@ var NLDDSidebarSection = (_NLDDSidebarSection = class NLDDSidebarSection extends
|
|
|
43564
43571
|
render() {
|
|
43565
43572
|
return sidebarSectionTemplate(this);
|
|
43566
43573
|
}
|
|
43567
|
-
}
|
|
43574
|
+
};
|
|
43575
|
+
var NLDDSidebarSection = (_NLDDSidebarSection.styles = sidebarSectionStyles, _NLDDSidebarSection);
|
|
43568
43576
|
__decorate([property({
|
|
43569
43577
|
type: String,
|
|
43570
43578
|
reflect: true
|
|
@@ -43687,8 +43695,7 @@ function boxTemplate(_component) {
|
|
|
43687
43695
|
* @slot - Place components inside the box, usually wrapped in an nldd-container
|
|
43688
43696
|
* that carries the padding
|
|
43689
43697
|
*/
|
|
43690
|
-
var _NLDDBox
|
|
43691
|
-
var NLDDBox = (_NLDDBox = class NLDDBox extends LitElement {
|
|
43698
|
+
var _NLDDBox = class NLDDBox extends LitElement {
|
|
43692
43699
|
constructor(..._args) {
|
|
43693
43700
|
super(..._args);
|
|
43694
43701
|
this.background = "tinted";
|
|
@@ -43696,7 +43703,8 @@ var NLDDBox = (_NLDDBox = class NLDDBox extends LitElement {
|
|
|
43696
43703
|
render() {
|
|
43697
43704
|
return boxTemplate(this);
|
|
43698
43705
|
}
|
|
43699
|
-
}
|
|
43706
|
+
};
|
|
43707
|
+
var NLDDBox = (_NLDDBox.styles = boxStyles, _NLDDBox);
|
|
43700
43708
|
__decorate([property({
|
|
43701
43709
|
reflect: true,
|
|
43702
43710
|
converter: reflectNonDefault("tinted")
|
|
@@ -43938,8 +43946,7 @@ var nlddCardTranslations = { "components.card.opens-in-new-tab-label": "Opent in
|
|
|
43938
43946
|
* @slot - Body content
|
|
43939
43947
|
* @slot footer - Footer content (e.g. nldd-button-group), always at the bottom
|
|
43940
43948
|
*/
|
|
43941
|
-
var _NLDDCard
|
|
43942
|
-
var NLDDCard = (_NLDDCard = class NLDDCard extends withTranslations(LitElement, nlddCardTranslations) {
|
|
43949
|
+
var _NLDDCard = class NLDDCard extends withTranslations(LitElement, nlddCardTranslations) {
|
|
43943
43950
|
constructor(..._args) {
|
|
43944
43951
|
super(..._args);
|
|
43945
43952
|
this.background = "base";
|
|
@@ -43980,7 +43987,8 @@ var NLDDCard = (_NLDDCard = class NLDDCard extends withTranslations(LitElement,
|
|
|
43980
43987
|
render() {
|
|
43981
43988
|
return cardTemplate(this);
|
|
43982
43989
|
}
|
|
43983
|
-
}
|
|
43990
|
+
};
|
|
43991
|
+
var NLDDCard = (_NLDDCard.styles = cardStyles, _NLDDCard);
|
|
43984
43992
|
__decorate([property({
|
|
43985
43993
|
reflect: true,
|
|
43986
43994
|
converter: reflectNonDefault("base")
|
|
@@ -44287,8 +44295,7 @@ var nlddCollectionTranslations = {
|
|
|
44287
44295
|
*
|
|
44288
44296
|
* @fires load-more - When the load-more button is clicked
|
|
44289
44297
|
*/
|
|
44290
|
-
var _NLDDCollection
|
|
44291
|
-
var NLDDCollection = (_NLDDCollection = class NLDDCollection extends LitElement {
|
|
44298
|
+
var _NLDDCollection = class NLDDCollection extends LitElement {
|
|
44292
44299
|
constructor(..._args) {
|
|
44293
44300
|
super(..._args);
|
|
44294
44301
|
this.layout = "grid";
|
|
@@ -44434,7 +44441,8 @@ var NLDDCollection = (_NLDDCollection = class NLDDCollection extends LitElement
|
|
|
44434
44441
|
render() {
|
|
44435
44442
|
return collectionTemplate(this);
|
|
44436
44443
|
}
|
|
44437
|
-
}
|
|
44444
|
+
};
|
|
44445
|
+
var NLDDCollection = (_NLDDCollection.styles = collectionStyles, _NLDDCollection);
|
|
44438
44446
|
__decorate([property({
|
|
44439
44447
|
reflect: true,
|
|
44440
44448
|
converter: reflectNonDefault("grid")
|
|
@@ -44540,12 +44548,12 @@ function dividerTemplate(_component) {
|
|
|
44540
44548
|
*
|
|
44541
44549
|
* @element nldd-divider
|
|
44542
44550
|
*/
|
|
44543
|
-
var _NLDDDivider
|
|
44544
|
-
var NLDDDivider = (_NLDDDivider = class NLDDDivider extends LitElement {
|
|
44551
|
+
var _NLDDDivider = class NLDDDivider extends LitElement {
|
|
44545
44552
|
render() {
|
|
44546
44553
|
return dividerTemplate(this);
|
|
44547
44554
|
}
|
|
44548
|
-
}
|
|
44555
|
+
};
|
|
44556
|
+
var NLDDDivider = (_NLDDDivider.styles = dividerStyles, _NLDDDivider);
|
|
44549
44557
|
NLDDDivider = __decorate([customElement("nldd-divider")], NLDDDivider);
|
|
44550
44558
|
//#endregion
|
|
44551
44559
|
//#region src/components/layout/window/window.styles.ts
|
|
@@ -44684,8 +44692,7 @@ var nlddWindowTranslations = { "components.window.accessible-label": "Venster" }
|
|
|
44684
44692
|
* @method show() - Opens the window
|
|
44685
44693
|
* @method hide() - Closes the window
|
|
44686
44694
|
*/
|
|
44687
|
-
var _NLDDWindow
|
|
44688
|
-
var NLDDWindow = (_NLDDWindow = class NLDDWindow extends LitElement {
|
|
44695
|
+
var _NLDDWindow = class NLDDWindow extends LitElement {
|
|
44689
44696
|
constructor(..._args) {
|
|
44690
44697
|
super(..._args);
|
|
44691
44698
|
this.scheme = "inherit";
|
|
@@ -44840,7 +44847,8 @@ var NLDDWindow = (_NLDDWindow = class NLDDWindow extends LitElement {
|
|
|
44840
44847
|
render() {
|
|
44841
44848
|
return windowTemplate(this);
|
|
44842
44849
|
}
|
|
44843
|
-
}
|
|
44850
|
+
};
|
|
44851
|
+
var NLDDWindow = (_NLDDWindow.styles = windowStyles, _NLDDWindow);
|
|
44844
44852
|
__decorate([property({
|
|
44845
44853
|
type: String,
|
|
44846
44854
|
reflect: true
|
|
@@ -45550,8 +45558,7 @@ function template$9(control, href, target, rel, checked, expanded, current, disa
|
|
|
45550
45558
|
}
|
|
45551
45559
|
//#endregion
|
|
45552
45560
|
//#region src/components/lists-and-tables/list-item-segment/list-item-segment.ts
|
|
45553
|
-
var _NLDDListItemSegment
|
|
45554
|
-
var NLDDListItemSegment = (_NLDDListItemSegment = class NLDDListItemSegment extends LitElement {
|
|
45561
|
+
var _NLDDListItemSegment = class NLDDListItemSegment extends LitElement {
|
|
45555
45562
|
constructor(..._args) {
|
|
45556
45563
|
super(..._args);
|
|
45557
45564
|
this.width = "fit-content";
|
|
@@ -45653,7 +45660,8 @@ var NLDDListItemSegment = (_NLDDListItemSegment = class NLDDListItemSegment exte
|
|
|
45653
45660
|
render() {
|
|
45654
45661
|
return template$9(this._controlType, this.href, this.target, this.rel, this.checked, this.disclosure ? this._rowExpanded : this.expanded, this.current, this.disabled, this.accessibleLabel, this._tabbable === void 0 ? void 0 : this._tabbable ? "0" : "-1", this.popupType, this.popovertarget, this.popoverTargetElement, this.popoverTargetAction);
|
|
45655
45662
|
}
|
|
45656
|
-
}
|
|
45663
|
+
};
|
|
45664
|
+
var NLDDListItemSegment = (_NLDDListItemSegment.styles = [listItemSegmentStyles], _NLDDListItemSegment);
|
|
45657
45665
|
__decorate([property({
|
|
45658
45666
|
reflect: true,
|
|
45659
45667
|
converter: reflectNonDefault("fit-content")
|
|
@@ -46429,8 +46437,7 @@ var template$8 = function() {
|
|
|
46429
46437
|
* @attr {string} query - Query substring to bold-highlight across text fields. Empty = no marking.
|
|
46430
46438
|
* @attr {string} query-mark-mode - 'match' | 'predictive' (default: 'predictive')
|
|
46431
46439
|
*/
|
|
46432
|
-
var _NLDDTitleCell
|
|
46433
|
-
var NLDDTitleCell = (_NLDDTitleCell = class NLDDTitleCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
46440
|
+
var _NLDDTitleCell = class NLDDTitleCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
46434
46441
|
constructor(..._args) {
|
|
46435
46442
|
super(..._args);
|
|
46436
46443
|
this.size = 5;
|
|
@@ -46485,7 +46492,8 @@ var NLDDTitleCell = (_NLDDTitleCell = class NLDDTitleCell extends VisibilityMixi
|
|
|
46485
46492
|
render() {
|
|
46486
46493
|
return template$8.call(this);
|
|
46487
46494
|
}
|
|
46488
|
-
}
|
|
46495
|
+
};
|
|
46496
|
+
var NLDDTitleCell = (_NLDDTitleCell.styles = [titleCellStyles], _NLDDTitleCell);
|
|
46489
46497
|
__decorate([property({
|
|
46490
46498
|
type: Number,
|
|
46491
46499
|
reflect: true
|
|
@@ -46701,8 +46709,7 @@ var template$7 = () => html`
|
|
|
46701
46709
|
* @slot title - The label displayed above the description
|
|
46702
46710
|
* @slot description - The description content
|
|
46703
46711
|
*/
|
|
46704
|
-
var _NLDDDescriptionCell
|
|
46705
|
-
var NLDDDescriptionCell = (_NLDDDescriptionCell = class NLDDDescriptionCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
46712
|
+
var _NLDDDescriptionCell = class NLDDDescriptionCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
46706
46713
|
constructor(..._args) {
|
|
46707
46714
|
super(..._args);
|
|
46708
46715
|
this.width = "full";
|
|
@@ -46729,7 +46736,8 @@ var NLDDDescriptionCell = (_NLDDDescriptionCell = class NLDDDescriptionCell exte
|
|
|
46729
46736
|
render() {
|
|
46730
46737
|
return template$7();
|
|
46731
46738
|
}
|
|
46732
|
-
}
|
|
46739
|
+
};
|
|
46740
|
+
var NLDDDescriptionCell = (_NLDDDescriptionCell.styles = [descriptionCellStyles], _NLDDDescriptionCell);
|
|
46733
46741
|
__decorate([property({
|
|
46734
46742
|
reflect: true,
|
|
46735
46743
|
converter: reflectNonDefault("full")
|
|
@@ -46973,8 +46981,7 @@ var nlddDragHandleCellTranslations = { "components.drag-handle-cell.accessible-l
|
|
|
46973
46981
|
* @attr {string} size - Handle size: 'sm' | 'md' (default: 'md')
|
|
46974
46982
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch. Sets the handle's accessible label.
|
|
46975
46983
|
*/
|
|
46976
|
-
var _NLDDDragHandleCell
|
|
46977
|
-
var NLDDDragHandleCell = (_NLDDDragHandleCell = class NLDDDragHandleCell extends LitElement {
|
|
46984
|
+
var _NLDDDragHandleCell = class NLDDDragHandleCell extends LitElement {
|
|
46978
46985
|
constructor(..._args) {
|
|
46979
46986
|
super(..._args);
|
|
46980
46987
|
this.size = "md";
|
|
@@ -46987,7 +46994,8 @@ var NLDDDragHandleCell = (_NLDDDragHandleCell = class NLDDDragHandleCell extends
|
|
|
46987
46994
|
const label = this._t("components.drag-handle-cell.accessible-label");
|
|
46988
46995
|
return template$6(this.size, label);
|
|
46989
46996
|
}
|
|
46990
|
-
}
|
|
46997
|
+
};
|
|
46998
|
+
var NLDDDragHandleCell = (_NLDDDragHandleCell.styles = dragHandleCellStyles, _NLDDDragHandleCell);
|
|
46991
46999
|
__decorate([property({
|
|
46992
47000
|
reflect: true,
|
|
46993
47001
|
converter: reflectNonDefault("md")
|
|
@@ -47222,15 +47230,14 @@ function timelineTrackCellTemplate(component) {
|
|
|
47222
47230
|
* @attr {'past' | 'current' | 'future'} status - How far along this row is (default 'past'); the same values as `nldd-step-indicator-item`. It colors the dot and the track around it: covered above where you are, still ahead below
|
|
47223
47231
|
* @attr {'sm' | 'md'} size - How wide the lane is and so how big the dot: `sm` (default, 16px) for a timeline of events, `md` (24px) where a number or an icon has to fit. Every row in one list takes the same size, or the track jumps
|
|
47224
47232
|
* @attr {'down' | 'up'} direction - The direction the timeline moves forward in: `down` (default) puts the past above, `up` below. Only the current step has half a track, so this only has an effect there
|
|
47225
|
-
* @attr {'first' | 'between' | 'last' | 'only'} position - Place in the
|
|
47233
|
+
* @attr {'first' | 'between' | 'last' | 'only'} position - Place of the row in the list as it stands on screen (default 'between'): decides whether the line continues above the dot, below it, or on both sides. `first` is the top row and only has a line below, `last` the bottom row and only has a line above, also with `direction="up"`: position is about where the row stands, `direction` about which way time runs. `only` is the single row in the series and gets a line on neither side: a track of one dot leads nowhere. On a `level="none"` row, which is nothing but line, `only` leaves it out altogether: the track ends above it
|
|
47226
47234
|
* @attr {'auto' | 'top' | 'bottom' | 'both' | 'none'} line - Which halves of the track you have covered, when `status` and `direction` get it wrong (default 'auto', which is what those two say). The halves you name are drawn as covered and the other one as still ahead, so `none` covers neither. Which halves are drawn at all stays with `position`, except that naming a half draws it: `line="both"` on a `first` row draws one above too. A row that opens a group of its own is the case for `both`, since the going carries on below it. A `level="none"` row has one line rather than two halves, and no point where a fill could change over, so there the status colors the whole of it and `line` overrules the whole of it. On a `current` row that leans the way the timeline runs: what belongs to a point usually comes after it, so going `down` the stretch reads as still ahead and going `up` as behind you
|
|
47227
47235
|
* @attr {string} text - Number or short text in the dot
|
|
47228
47236
|
* @attr {string} icon - Icon name in the dot; wins over `text`
|
|
47229
47237
|
*
|
|
47230
47238
|
* @slot - Custom content in the dot (an alternative to `text` and `icon`)
|
|
47231
47239
|
*/
|
|
47232
|
-
var _NLDDTimelineTrackCell
|
|
47233
|
-
var NLDDTimelineTrackCell = (_NLDDTimelineTrackCell = class NLDDTimelineTrackCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
47240
|
+
var _NLDDTimelineTrackCell = class NLDDTimelineTrackCell extends VisibilityMixin(LitElement, "cells-container") {
|
|
47234
47241
|
constructor(..._args) {
|
|
47235
47242
|
super(..._args);
|
|
47236
47243
|
this.level = "major";
|
|
@@ -47254,7 +47261,8 @@ var NLDDTimelineTrackCell = (_NLDDTimelineTrackCell = class NLDDTimelineTrackCel
|
|
|
47254
47261
|
render() {
|
|
47255
47262
|
return timelineTrackCellTemplate(this);
|
|
47256
47263
|
}
|
|
47257
|
-
}
|
|
47264
|
+
};
|
|
47265
|
+
var NLDDTimelineTrackCell = (_NLDDTimelineTrackCell.styles = timelineTrackCellStyles, _NLDDTimelineTrackCell);
|
|
47258
47266
|
__decorate([property({
|
|
47259
47267
|
reflect: true,
|
|
47260
47268
|
converter: reflectNonDefault("major")
|
|
@@ -47853,8 +47861,7 @@ function template$4(component) {
|
|
|
47853
47861
|
* accessible-label, translations, filterFn and so on). Event listeners on
|
|
47854
47862
|
* items work directly, because nothing is cloned anymore.
|
|
47855
47863
|
*/
|
|
47856
|
-
var _NLDDMenuBarItem
|
|
47857
|
-
var NLDDMenuBarItem = (_NLDDMenuBarItem = class NLDDMenuBarItem extends LitElement {
|
|
47864
|
+
var _NLDDMenuBarItem = class NLDDMenuBarItem extends LitElement {
|
|
47858
47865
|
constructor(..._args) {
|
|
47859
47866
|
super(..._args);
|
|
47860
47867
|
this.text = "";
|
|
@@ -47956,7 +47963,8 @@ var NLDDMenuBarItem = (_NLDDMenuBarItem = class NLDDMenuBarItem extends LitEleme
|
|
|
47956
47963
|
render() {
|
|
47957
47964
|
return template$4(this);
|
|
47958
47965
|
}
|
|
47959
|
-
}
|
|
47966
|
+
};
|
|
47967
|
+
var NLDDMenuBarItem = (_NLDDMenuBarItem.styles = menuBarItemStyles, _NLDDMenuBarItem);
|
|
47960
47968
|
__decorate([property({
|
|
47961
47969
|
reflect: true,
|
|
47962
47970
|
converter: reflectNonDefault("")
|
|
@@ -48025,8 +48033,7 @@ NLDDMenuBarItem = __decorate([customElement("nldd-menu-bar-item")], NLDDMenuBarI
|
|
|
48025
48033
|
*
|
|
48026
48034
|
* @slot - nldd-menu-bar-item elements
|
|
48027
48035
|
*/
|
|
48028
|
-
var _NLDDMenuBar
|
|
48029
|
-
var NLDDMenuBar = (_NLDDMenuBar = class NLDDMenuBar extends withTranslations(LitElement, nlddMenuBarTranslations) {
|
|
48036
|
+
var _NLDDMenuBar = class NLDDMenuBar extends withTranslations(LitElement, nlddMenuBarTranslations) {
|
|
48030
48037
|
constructor(..._args) {
|
|
48031
48038
|
super(..._args);
|
|
48032
48039
|
this.overflowText = "";
|
|
@@ -48229,7 +48236,8 @@ var NLDDMenuBar = (_NLDDMenuBar = class NLDDMenuBar extends withTranslations(Lit
|
|
|
48229
48236
|
render() {
|
|
48230
48237
|
return template$5(this);
|
|
48231
48238
|
}
|
|
48232
|
-
}
|
|
48239
|
+
};
|
|
48240
|
+
var NLDDMenuBar = (_NLDDMenuBar.styles = menuBarStyles, _NLDDMenuBar);
|
|
48233
48241
|
__decorate([property({
|
|
48234
48242
|
reflect: true,
|
|
48235
48243
|
attribute: "overflow-text",
|
|
@@ -48476,8 +48484,7 @@ var nlddLinkTranslations = { "components.link.opens-in-new-tab-label": "Opent in
|
|
|
48476
48484
|
* @slot start-icon - Custom icon before the text
|
|
48477
48485
|
* @slot end-icon - Custom icon after the text
|
|
48478
48486
|
*/
|
|
48479
|
-
var _NLDDLink
|
|
48480
|
-
var NLDDLink = (_NLDDLink = class NLDDLink extends withTranslations(LitElement, nlddLinkTranslations) {
|
|
48487
|
+
var _NLDDLink = class NLDDLink extends withTranslations(LitElement, nlddLinkTranslations) {
|
|
48481
48488
|
constructor(..._args) {
|
|
48482
48489
|
super(..._args);
|
|
48483
48490
|
this.href = void 0;
|
|
@@ -48500,7 +48507,8 @@ var NLDDLink = (_NLDDLink = class NLDDLink extends withTranslations(LitElement,
|
|
|
48500
48507
|
render() {
|
|
48501
48508
|
return template$3.call(this, { handleClick: this._handleClick.bind(this) });
|
|
48502
48509
|
}
|
|
48503
|
-
}
|
|
48510
|
+
};
|
|
48511
|
+
var NLDDLink = (_NLDDLink.styles = linkStyles, _NLDDLink);
|
|
48504
48512
|
__decorate([property({
|
|
48505
48513
|
type: String,
|
|
48506
48514
|
reflect: true
|
|
@@ -48658,8 +48666,7 @@ var nlddSkipLinkTranslations = { "components.skip-link.action": "Sla over" };
|
|
|
48658
48666
|
*
|
|
48659
48667
|
* @slot - Content that can be skipped
|
|
48660
48668
|
*/
|
|
48661
|
-
var _NLDDSkipLink
|
|
48662
|
-
var NLDDSkipLink = (_NLDDSkipLink = class NLDDSkipLink extends withTranslations(LitElement, nlddSkipLinkTranslations) {
|
|
48669
|
+
var _NLDDSkipLink = class NLDDSkipLink extends withTranslations(LitElement, nlddSkipLinkTranslations) {
|
|
48663
48670
|
constructor(..._args) {
|
|
48664
48671
|
super(..._args);
|
|
48665
48672
|
this.text = "";
|
|
@@ -48683,7 +48690,8 @@ var NLDDSkipLink = (_NLDDSkipLink = class NLDDSkipLink extends withTranslations(
|
|
|
48683
48690
|
render() {
|
|
48684
48691
|
return template$2(this);
|
|
48685
48692
|
}
|
|
48686
|
-
}
|
|
48693
|
+
};
|
|
48694
|
+
var NLDDSkipLink = (_NLDDSkipLink.styles = skipLinkStyles, _NLDDSkipLink);
|
|
48687
48695
|
__decorate([property({
|
|
48688
48696
|
reflect: true,
|
|
48689
48697
|
converter: reflectNonDefault("")
|
|
@@ -48793,7 +48801,9 @@ var topNavigationBarStyles = css`
|
|
|
48793
48801
|
justify-content: center;
|
|
48794
48802
|
}
|
|
48795
48803
|
|
|
48796
|
-
|
|
48804
|
+
/* WebKit only: Chrome paints nothing above the page and leaves the fixed
|
|
48805
|
+
::after behind, so a hard pull shows a gap between it and the logo. */
|
|
48806
|
+
@supports (animation-timeline: scroll()) and (font: -apple-system-body) {
|
|
48797
48807
|
.top-navigation-bar__logo {
|
|
48798
48808
|
position: relative;
|
|
48799
48809
|
}
|
|
@@ -48867,10 +48877,22 @@ var topNavigationBarStyles = css`
|
|
|
48867
48877
|
grid-column: 2;
|
|
48868
48878
|
}
|
|
48869
48879
|
|
|
48880
|
+
/* The link spans the wordmark's whole track so the ribbon stays centered;
|
|
48881
|
+
only the ribbon and the text take the click, not the space beside them. */
|
|
48870
48882
|
a.top-navigation-bar__logo-and-wordmark {
|
|
48883
|
+
pointer-events: none;
|
|
48871
48884
|
text-decoration: none;
|
|
48872
48885
|
}
|
|
48873
48886
|
|
|
48887
|
+
a.top-navigation-bar__logo-and-wordmark > .top-navigation-bar__logo,
|
|
48888
|
+
a.top-navigation-bar__logo-and-wordmark .top-navigation-bar__wordmark-content > p {
|
|
48889
|
+
pointer-events: auto;
|
|
48890
|
+
}
|
|
48891
|
+
|
|
48892
|
+
a.top-navigation-bar__logo-and-wordmark .top-navigation-bar__wordmark-content > p {
|
|
48893
|
+
width: fit-content;
|
|
48894
|
+
}
|
|
48895
|
+
|
|
48874
48896
|
a.top-navigation-bar__logo-and-wordmark:focus-visible {
|
|
48875
48897
|
outline: none;
|
|
48876
48898
|
}
|
|
@@ -49295,8 +49317,7 @@ var nlddTopNavigationBarTranslations = {
|
|
|
49295
49317
|
* @slot global - The global navigation: an nldd-menu-bar with nldd-menu-bar-item elements. On narrow widths these items move into the menu sheet behind the menu button.
|
|
49296
49318
|
* @slot utility - The utility navigation, such as search and language: an nldd-menu-bar with nldd-menu-bar-item elements. Stays in the bar on every width.
|
|
49297
49319
|
*/
|
|
49298
|
-
var _NLDDTopNavigationBar
|
|
49299
|
-
var NLDDTopNavigationBar = (_NLDDTopNavigationBar = class NLDDTopNavigationBar extends withTranslations(LitElement, nlddTopNavigationBarTranslations) {
|
|
49320
|
+
var _NLDDTopNavigationBar = class NLDDTopNavigationBar extends withTranslations(LitElement, nlddTopNavigationBarTranslations) {
|
|
49300
49321
|
constructor(..._args) {
|
|
49301
49322
|
super(..._args);
|
|
49302
49323
|
this.websiteTitle = "";
|
|
@@ -49545,7 +49566,7 @@ var NLDDTopNavigationBar = (_NLDDTopNavigationBar = class NLDDTopNavigationBar e
|
|
|
49545
49566
|
Promise.resolve().then(() => list_item_exports),
|
|
49546
49567
|
Promise.resolve().then(() => text_cell_exports),
|
|
49547
49568
|
Promise.resolve().then(() => icon_cell_exports),
|
|
49548
|
-
import("./icon-
|
|
49569
|
+
import("./icon-Typdp4av.js").then((n) => n.n)
|
|
49549
49570
|
]);
|
|
49550
49571
|
}
|
|
49551
49572
|
_createGlobalMenuSheet() {
|
|
@@ -49656,7 +49677,8 @@ var NLDDTopNavigationBar = (_NLDDTopNavigationBar = class NLDDTopNavigationBar e
|
|
|
49656
49677
|
render() {
|
|
49657
49678
|
return template$1(this);
|
|
49658
49679
|
}
|
|
49659
|
-
}
|
|
49680
|
+
};
|
|
49681
|
+
var NLDDTopNavigationBar = (_NLDDTopNavigationBar.styles = topNavigationBarStyles, _NLDDTopNavigationBar);
|
|
49660
49682
|
__decorate([property({
|
|
49661
49683
|
reflect: true,
|
|
49662
49684
|
attribute: "website-title",
|
|
@@ -50099,9 +50121,7 @@ function tabBarItemTemplate(component) {
|
|
|
50099
50121
|
*
|
|
50100
50122
|
* @fires select - When the item is activated; detail: { item: NLDDTabBarItem }
|
|
50101
50123
|
*/
|
|
50102
|
-
var _NLDDTabBarItem
|
|
50103
|
-
var _NLDDTabBar;
|
|
50104
|
-
var NLDDTabBarItem = (_NLDDTabBarItem = class NLDDTabBarItem extends LitElement {
|
|
50124
|
+
var _NLDDTabBarItem = class NLDDTabBarItem extends LitElement {
|
|
50105
50125
|
constructor(..._args) {
|
|
50106
50126
|
super(..._args);
|
|
50107
50127
|
this.current = false;
|
|
@@ -50155,7 +50175,9 @@ var NLDDTabBarItem = (_NLDDTabBarItem = class NLDDTabBarItem extends LitElement
|
|
|
50155
50175
|
render() {
|
|
50156
50176
|
return tabBarItemTemplate(this);
|
|
50157
50177
|
}
|
|
50158
|
-
}
|
|
50178
|
+
};
|
|
50179
|
+
var _NLDDTabBar;
|
|
50180
|
+
var NLDDTabBarItem = (_NLDDTabBarItem.styles = tabBarItemStyles, _NLDDTabBarItem);
|
|
50159
50181
|
__decorate([property({
|
|
50160
50182
|
type: Boolean,
|
|
50161
50183
|
reflect: true
|
|
@@ -51957,8 +51979,7 @@ var nlddPaginationTranslations = {
|
|
|
51957
51979
|
*
|
|
51958
51980
|
* @fires page-change - On a page change (detail: { page: number, href?: string }). Only cancelable in href mode: preventDefault() blocks navigation (SPA).
|
|
51959
51981
|
*/
|
|
51960
|
-
var _NLDDPagination
|
|
51961
|
-
var NLDDPagination = (_NLDDPagination = class NLDDPagination extends LitElement {
|
|
51982
|
+
var _NLDDPagination = class NLDDPagination extends LitElement {
|
|
51962
51983
|
constructor(..._args) {
|
|
51963
51984
|
super(..._args);
|
|
51964
51985
|
this.current = 1;
|
|
@@ -52046,7 +52067,8 @@ var NLDDPagination = (_NLDDPagination = class NLDDPagination extends LitElement
|
|
|
52046
52067
|
render() {
|
|
52047
52068
|
return paginationTemplate(this);
|
|
52048
52069
|
}
|
|
52049
|
-
}
|
|
52070
|
+
};
|
|
52071
|
+
var NLDDPagination = (_NLDDPagination.styles = paginationStyles, _NLDDPagination);
|
|
52050
52072
|
__decorate([property({
|
|
52051
52073
|
type: Number,
|
|
52052
52074
|
reflect: true
|
|
@@ -53957,8 +53979,7 @@ var nlddBadgeTranslations = { "components.badge.notification-label": "Notificati
|
|
|
53957
53979
|
* @attr {string} accessible-label - Accessible label for screen readers. Falls back to text/number; otherwise to the i18n default ("Notificatie").
|
|
53958
53980
|
* @attr {boolean} decorative - Hides the badge from assistive software (use when the text beside it says the same, such as a dot next to a status word)
|
|
53959
53981
|
*/
|
|
53960
|
-
var _NLDDBadge
|
|
53961
|
-
var NLDDBadge = (_NLDDBadge = class NLDDBadge extends withTranslations(LitElement, nlddBadgeTranslations) {
|
|
53982
|
+
var _NLDDBadge = class NLDDBadge extends withTranslations(LitElement, nlddBadgeTranslations) {
|
|
53962
53983
|
constructor(..._args) {
|
|
53963
53984
|
super(..._args);
|
|
53964
53985
|
this.size = "md";
|
|
@@ -53999,7 +54020,8 @@ var NLDDBadge = (_NLDDBadge = class NLDDBadge extends withTranslations(LitElemen
|
|
|
53999
54020
|
render() {
|
|
54000
54021
|
return template(this);
|
|
54001
54022
|
}
|
|
54002
|
-
}
|
|
54023
|
+
};
|
|
54024
|
+
var NLDDBadge = (_NLDDBadge.styles = badgeStyles, _NLDDBadge);
|
|
54003
54025
|
__decorate([property({
|
|
54004
54026
|
reflect: true,
|
|
54005
54027
|
converter: reflectNonDefault("md")
|
|
@@ -56091,9 +56113,15 @@ function stepIndicatorItemTemplate(component) {
|
|
|
56091
56113
|
* number (or a check mark on what is done), a label under each and a line
|
|
56092
56114
|
* connecting them.
|
|
56093
56115
|
*
|
|
56094
|
-
*
|
|
56095
|
-
*
|
|
56096
|
-
*
|
|
56116
|
+
* Mark the step you are on with `status="current"`. The parent derives the
|
|
56117
|
+
* rest from its position: `past` before it, `future` after. With none marked,
|
|
56118
|
+
* step 1 is current. With more than one, the last one wins and a warning goes
|
|
56119
|
+
* to the console in a dev build: a flow that forgets to clear the previous
|
|
56120
|
+
* step still points at the furthest one. A `status="past"` or
|
|
56121
|
+
* `status="future"` on another step overrides what is derived for that step,
|
|
56122
|
+
* for flows that jump back or skip a step. One attribute, the same three
|
|
56123
|
+
* values as `nldd-timeline-track-cell`, so a flow reads in one vocabulary
|
|
56124
|
+
* whether it runs across or down.
|
|
56097
56125
|
*
|
|
56098
56126
|
* Horizontal only. For steps under each other, build an `nldd-list` with an
|
|
56099
56127
|
* `nldd-timeline-track-cell` and an `nldd-title-cell` per row: vertical steps
|
|
@@ -56113,18 +56141,14 @@ function stepIndicatorItemTemplate(component) {
|
|
|
56113
56141
|
*
|
|
56114
56142
|
* @attr {string} accessible-label - Name of the nav; defaults to the i18n value ("Voortgang")
|
|
56115
56143
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
56116
|
-
* @attr {number} current - 1-based number of the current step (default 1)
|
|
56117
56144
|
*
|
|
56118
56145
|
* @slot - `nldd-step-indicator-item` children
|
|
56119
56146
|
*
|
|
56120
56147
|
* @example
|
|
56121
56148
|
* ```html
|
|
56122
|
-
* <nldd-step-indicator
|
|
56123
|
-
* current="2"
|
|
56124
|
-
* accessible-label="Voortgang aanvraag"
|
|
56125
|
-
* >
|
|
56149
|
+
* <nldd-step-indicator accessible-label="Voortgang aanvraag">
|
|
56126
56150
|
* <nldd-step-indicator-item text="Gegevens"></nldd-step-indicator-item>
|
|
56127
|
-
* <nldd-step-indicator-item text="Controle"></nldd-step-indicator-item>
|
|
56151
|
+
* <nldd-step-indicator-item text="Controle" status="current"></nldd-step-indicator-item>
|
|
56128
56152
|
* <nldd-step-indicator-item text="Bevestigen"></nldd-step-indicator-item>
|
|
56129
56153
|
* </nldd-step-indicator>
|
|
56130
56154
|
* ```
|
|
@@ -56132,16 +56156,17 @@ function stepIndicatorItemTemplate(component) {
|
|
|
56132
56156
|
var _NLDDStepIndicatorItem;
|
|
56133
56157
|
var _NLDDStepIndicator;
|
|
56134
56158
|
/**
|
|
56135
|
-
* One step in an `nldd-step-indicator`.
|
|
56136
|
-
*
|
|
56137
|
-
*
|
|
56159
|
+
* One step in an `nldd-step-indicator`. `status="current"` marks the step you
|
|
56160
|
+
* are on; the parent derives the status of the others and the number of each,
|
|
56161
|
+
* which live here as internal state rather than as public API. `past` and
|
|
56162
|
+
* `future` override what is derived for this step.
|
|
56138
56163
|
*
|
|
56139
56164
|
* @element nldd-step-indicator-item
|
|
56140
56165
|
*
|
|
56141
|
-
* @attr {
|
|
56142
|
-
* @attr {string} text
|
|
56143
|
-
* @attr {string} icon
|
|
56144
|
-
* @attr {string} href
|
|
56166
|
+
* @attr {'past' | 'current' | 'future'} status - How far along this step is. `current` marks the step you are on (`aria-current="step"`) and the parent derives the others from it: with none marked step 1 is current, with more than one the last wins. `past` and `future` override what is derived for this step only
|
|
56167
|
+
* @attr {string} text - Label under the disc
|
|
56168
|
+
* @attr {string} icon - Icon in the disc instead of the number or the check mark
|
|
56169
|
+
* @attr {string} href - Makes the step a link (back to a completed step, for instance)
|
|
56145
56170
|
* @attr {boolean} button - Makes the step a button, for flows without a URL per step; ignored when `href` is set
|
|
56146
56171
|
*
|
|
56147
56172
|
* @slot - Label (an alternative to `text`)
|
|
@@ -56157,9 +56182,12 @@ var NLDDStepIndicatorItem = class extends LitElement {
|
|
|
56157
56182
|
this._index = 1;
|
|
56158
56183
|
this._statusText = "";
|
|
56159
56184
|
}
|
|
56160
|
-
/** The status that counts
|
|
56185
|
+
/** The status that counts. An own `past` or `future` wins over the derived
|
|
56186
|
+
* one. An own `current` is what the parent derives from, so the derived
|
|
56187
|
+
* status already says it, and on a step that lost to a later one it does not
|
|
56188
|
+
* hold. */
|
|
56161
56189
|
get resolvedStatus() {
|
|
56162
|
-
return this.status
|
|
56190
|
+
return this.status && this.status !== "current" ? this.status : this._derivedStatus;
|
|
56163
56191
|
}
|
|
56164
56192
|
connectedCallback() {
|
|
56165
56193
|
super.connectedCallback();
|
|
@@ -56202,8 +56230,9 @@ var NLDDStepIndicator = (_NLDDStepIndicator = class NLDDStepIndicator extends wi
|
|
|
56202
56230
|
constructor(..._args2) {
|
|
56203
56231
|
super(..._args2);
|
|
56204
56232
|
this.accessibleLabel = "";
|
|
56205
|
-
this.current = 1;
|
|
56206
56233
|
this._items = [];
|
|
56234
|
+
this._observer = new MutationObserver(() => this.requestUpdate());
|
|
56235
|
+
this._warnedMultipleCurrent = false;
|
|
56207
56236
|
this._onSlotChange = (e) => {
|
|
56208
56237
|
const slot = e.target;
|
|
56209
56238
|
this._items = slot.assignedElements({ flatten: true }).filter((el) => el.localName === "nldd-step-indicator-item");
|
|
@@ -56212,25 +56241,46 @@ var NLDDStepIndicator = (_NLDDStepIndicator = class NLDDStepIndicator extends wi
|
|
|
56212
56241
|
get total() {
|
|
56213
56242
|
return this._items.length;
|
|
56214
56243
|
}
|
|
56215
|
-
/**
|
|
56216
|
-
* `current` would otherwise mark every step past (or none at all). */
|
|
56244
|
+
/** 1-based position of the last item with `status="current"`, or 1 when none has it. */
|
|
56217
56245
|
get resolvedCurrent() {
|
|
56218
|
-
|
|
56219
|
-
return
|
|
56246
|
+
const index = this._items.map((item) => item.status).lastIndexOf("current");
|
|
56247
|
+
return index === -1 ? 1 : index + 1;
|
|
56220
56248
|
}
|
|
56221
56249
|
get currentItem() {
|
|
56222
56250
|
return this._items.find((item) => item.resolvedStatus === "current") ?? this._items[this.resolvedCurrent - 1];
|
|
56223
56251
|
}
|
|
56252
|
+
connectedCallback() {
|
|
56253
|
+
super.connectedCallback();
|
|
56254
|
+
this._observer.observe(this, {
|
|
56255
|
+
subtree: true,
|
|
56256
|
+
attributes: true,
|
|
56257
|
+
attributeFilter: ["status"]
|
|
56258
|
+
});
|
|
56259
|
+
}
|
|
56260
|
+
/** `current` is no longer an attribute of this element. Watched anyway, so a
|
|
56261
|
+
* leftover one gets a hint, also when a framework sets it after the first
|
|
56262
|
+
* render: Vue and React fall back to the attribute for an unknown property. */
|
|
56263
|
+
static get observedAttributes() {
|
|
56264
|
+
return [...super.observedAttributes, "current"];
|
|
56265
|
+
}
|
|
56266
|
+
attributeChangedCallback(name, old, value) {
|
|
56267
|
+
super.attributeChangedCallback(name, old, value);
|
|
56268
|
+
}
|
|
56269
|
+
disconnectedCallback() {
|
|
56270
|
+
super.disconnectedCallback();
|
|
56271
|
+
this._observer.disconnect();
|
|
56272
|
+
}
|
|
56224
56273
|
/** Before render, not after: the compact view reads the current item back out
|
|
56225
56274
|
* of the children, so their statuses have to be fresh by the time this
|
|
56226
56275
|
* element renders. */
|
|
56227
56276
|
willUpdate(changed) {
|
|
56228
56277
|
super.willUpdate(changed);
|
|
56229
|
-
|
|
56278
|
+
this._syncItems();
|
|
56279
|
+
this._warnOnMultipleCurrent();
|
|
56230
56280
|
}
|
|
56281
|
+
_warnOnMultipleCurrent() {}
|
|
56231
56282
|
/** Push position, derived status and status text down to the children. Push
|
|
56232
|
-
* rather than pull: a child
|
|
56233
|
-
* when `current` changes. */
|
|
56283
|
+
* rather than pull: a child cannot see where the current step sits. */
|
|
56234
56284
|
_syncItems() {
|
|
56235
56285
|
const current = this.resolvedCurrent;
|
|
56236
56286
|
this._items.forEach((item, index) => {
|
|
@@ -56248,10 +56298,6 @@ __decorate([property({
|
|
|
56248
56298
|
type: String,
|
|
56249
56299
|
attribute: "accessible-label"
|
|
56250
56300
|
})], NLDDStepIndicator.prototype, "accessibleLabel", void 0);
|
|
56251
|
-
__decorate([property({
|
|
56252
|
-
type: Number,
|
|
56253
|
-
reflect: true
|
|
56254
|
-
})], NLDDStepIndicator.prototype, "current", void 0);
|
|
56255
56301
|
__decorate([state()], NLDDStepIndicator.prototype, "_items", void 0);
|
|
56256
56302
|
NLDDStepIndicator = __decorate([customElement("nldd-step-indicator")], NLDDStepIndicator);
|
|
56257
56303
|
//#endregion
|
|
@@ -56468,8 +56514,7 @@ function statusBarTemplate(component) {
|
|
|
56468
56514
|
* @attr {string} rel - Link rel, used with href; with target '_blank', 'noopener noreferrer' is added to whatever you set
|
|
56469
56515
|
* @attr {boolean} button - Makes the whole bar a button; ignored when href is set
|
|
56470
56516
|
*/
|
|
56471
|
-
var _NLDDStatusBar
|
|
56472
|
-
var NLDDStatusBar = (_NLDDStatusBar = class NLDDStatusBar extends LitElement {
|
|
56517
|
+
var _NLDDStatusBar = class NLDDStatusBar extends LitElement {
|
|
56473
56518
|
constructor(..._args) {
|
|
56474
56519
|
super(..._args);
|
|
56475
56520
|
this.variant = "neutral";
|
|
@@ -56499,7 +56544,8 @@ var NLDDStatusBar = (_NLDDStatusBar = class NLDDStatusBar extends LitElement {
|
|
|
56499
56544
|
render() {
|
|
56500
56545
|
return statusBarTemplate(this);
|
|
56501
56546
|
}
|
|
56502
|
-
}
|
|
56547
|
+
};
|
|
56548
|
+
var NLDDStatusBar = (_NLDDStatusBar.styles = statusBarStyles, _NLDDStatusBar);
|
|
56503
56549
|
__decorate([property({
|
|
56504
56550
|
reflect: true,
|
|
56505
56551
|
converter: reflectNonDefault("neutral")
|