@nldd/design-system 0.8.59 → 0.8.61
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/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +4 -1
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +23 -10
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/components.js +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +4 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +11 -2
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/{index-CtsEx0-K.js → index-B0DIduK1.js} +205 -163
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +5 -7
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +6 -8
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.js +14 -16
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +21 -2
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.d.ts +5 -0
- package/dist/components/lists-and-tables/list-item/list-item.i18n.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item/list-item.i18n.js +4 -0
- package/dist/components/lists-and-tables/list-item/list-item.i18n.js.map +1 -0
- package/dist/components/lists-and-tables/list-item/list-item.js +17 -3
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +12 -0
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +5 -3
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/{prism-python-SgP2Rws4.js → prism-python-Dtm_y95w.js} +1 -1
- package/dist/components/{prism-rust-CSuFXPDt.js → prism-rust-Bp-z7VUz.js} +1 -1
- package/dist/components/{prism-typescript-DrsfPuKI.js → prism-typescript-hCHH5aho.js} +1 -1
- package/dist/css/settings.css +2 -2
- package/package.json +3 -2
|
@@ -374,7 +374,6 @@ const buttonStyles = css`
|
|
|
374
374
|
:host([width="full"]) {
|
|
375
375
|
display: block;
|
|
376
376
|
width: 100%;
|
|
377
|
-
flex-grow: 1;
|
|
378
377
|
}
|
|
379
378
|
|
|
380
379
|
:host([horizontal-alignment="left"]) .button {
|
|
@@ -588,6 +587,10 @@ const buttonStyles = css`
|
|
|
588
587
|
padding-inline-end: calc(var(--_inline-padding) + var(--_gap) + var(--_disclosure-icon-size));
|
|
589
588
|
}
|
|
590
589
|
|
|
590
|
+
:host([expandable]) .button__text-area {
|
|
591
|
+
padding-inline-end: 0;
|
|
592
|
+
}
|
|
593
|
+
|
|
591
594
|
.button__disclosure-icon {
|
|
592
595
|
display: block;
|
|
593
596
|
position: absolute;
|
|
@@ -877,6 +880,9 @@ const aliases = {
|
|
|
877
880
|
// file-text
|
|
878
881
|
"document": "file-text",
|
|
879
882
|
"file": "file-text",
|
|
883
|
+
// file-text-stack
|
|
884
|
+
"documents": "file-text-stack",
|
|
885
|
+
"text-documents": "file-text-stack",
|
|
880
886
|
// flag-filled
|
|
881
887
|
"flagged": "flag-filled",
|
|
882
888
|
// folder
|
|
@@ -994,6 +1000,7 @@ const aliases = {
|
|
|
994
1000
|
"login": "arrow-right-in-bucket",
|
|
995
1001
|
// square-arrow-right-top
|
|
996
1002
|
"external-link": "square-arrow-right-top",
|
|
1003
|
+
"open-new-page": "square-arrow-right-top",
|
|
997
1004
|
// square-arrow-up
|
|
998
1005
|
"share": "square-arrow-up",
|
|
999
1006
|
"export": "square-arrow-up",
|
|
@@ -1074,9 +1081,11 @@ const iconRegistry = /* @__PURE__ */ new Map([
|
|
|
1074
1081
|
["arrow-down-in-bucket", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M13 3v10.586l4.293-4.293 1.414 1.414L12 17.414l-6.707-6.707 1.414-1.414L11 13.586V3zM5 16v3a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-3h2v3a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-3z"/>\n</svg>'],
|
|
1075
1082
|
["arrow-left", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m12 4-8 8 8 8 1.41-1.42L7.828 13H21v-2H7.828l5.582-5.58z"/>\n</svg>'],
|
|
1076
1083
|
["arrow-left-right", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m20.41 17-5.7-5.7-1.42 1.4 3.3 3.3H4v2h12.59l-3.3 3.3 1.42 1.4zM20 6H7.41l3.3-3.3-1.42-1.4L3.6 7l5.7 5.7 1.42-1.4L7.4 8H20z"/>\n</svg>'],
|
|
1084
|
+
["arrow-left-to-line", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M6 20H4V4h2zM16.41 6.42 11.83 11H22v2H11.83l4.58 4.58L15 19l-7-7 7-7z"/>\n</svg>'],
|
|
1077
1085
|
["arrow-right", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m12 4 8 8-8 8-1.41-1.42L16.172 13H3v-2h13.172L10.59 5.42z"/>\n</svg>'],
|
|
1078
1086
|
["arrow-right-in-bucket", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M18 3a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3h-6v-2h6a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-6V3zm-3 9-5 5-1.41-1.42L11.17 13H3v-2h8.17L8.6 8.42 10 7z"/>\n</svg>'],
|
|
1079
1087
|
["arrow-right-out-bucket", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M12 5H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h6v2H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h6zm9 7-5 5-1.41-1.42L17.17 13H9v-2h8.17L14.6 8.42 16 7z"/>\n</svg>'],
|
|
1088
|
+
["arrow-right-to-line", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m16 12-7 7-1.41-1.42L12.17 13H2v-2h10.17L7.6 6.42 9 5zm4 8h-2V4h2z"/>\n</svg>'],
|
|
1080
1089
|
["arrow-u-turn-backward", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M9.4 4.4 5.82 8H16a6 6 0 0 1 0 12h-4v-2h4a4 4 0 0 0 0-8H5.82l3.58 3.6L8 15 2 9l6-6z"/>\n</svg>'],
|
|
1081
1090
|
["arrow-u-turn-forward", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M14.6 4.4 18.18 8H8a6 6 0 0 0 0 12h4v-2H8a4 4 0 0 1 0-8h10.18l-3.58 3.6L16 15l6-6-6-6z"/>\n</svg>'],
|
|
1082
1091
|
["arrow-up", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m4 12 8-8 8 8-1.42 1.41L13 7.828V21h-2V7.828L5.42 13.41z"/>\n</svg>'],
|
|
@@ -1125,14 +1134,20 @@ const iconRegistry = /* @__PURE__ */ new Map([
|
|
|
1125
1134
|
["chevron-down", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M12 15.172 3.4 6.6 2 8l10 10L22 8l-1.4-1.4z"/>\n</svg>'],
|
|
1126
1135
|
["chevron-down-extra-small", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M12 13.172 7.4 8.6 6 10l6 6 6-6-1.4-1.4z"/>\n</svg>'],
|
|
1127
1136
|
["chevron-down-small", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M12 14.172 5.4 7.6 4 9l8 8 8-8-1.4-1.4z"/>\n</svg>'],
|
|
1128
|
-
["chevron-left", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m8.
|
|
1137
|
+
["chevron-left", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m8.83 12 8.57 8.6L16 22 6 12 16 2l1.4 1.4z"/>\n</svg>'],
|
|
1129
1138
|
["chevron-left-chevron-right", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M18.17 12 13.6 7.4 15 6l6 6-6 6-1.4-1.4zM5.83 12l4.57-4.6L9 6l-6 6 6 6 1.4-1.4z"/>\n</svg>'],
|
|
1130
1139
|
["chevron-left-extra-small", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m10.828 12 4.572 4.6L14 18l-6-6 6-6 1.4 1.4z"/>\n</svg>'],
|
|
1131
1140
|
["chevron-left-forward-slash-chevron-right", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M15.04 4.53 10.9 20l-1.94-.52L13.1 4zM8.4 7.4 3.83 12l4.57 4.6L7 18l-6-6 6-6zM23 12l-6 6-1.4-1.4 4.57-4.6-4.57-4.6L17 6z"/>\n</svg>'],
|
|
1132
1141
|
["chevron-left-small", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m9.828 12 6.572 6.6L15 20l-8-8 8-8 1.4 1.4z"/>\n</svg>'],
|
|
1133
|
-
["chevron-
|
|
1142
|
+
["chevron-left-to-line", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M7 22H5V2h2zM20.4 3.4 11.83 12l8.57 8.6L19 22 9 12 19 2z"/>\n</svg>'],
|
|
1143
|
+
["chevron-left-to-line-extra-small", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M9 18H7V6h2zm9.4-10.6L13.83 12l4.57 4.6L17 18l-6-6 6-6z"/>\n</svg>'],
|
|
1144
|
+
["chevron-left-to-line-small", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M8 20H6V4h2zM19.4 5.4 12.83 12l6.57 6.6L18 20l-8-8 8-8z"/>\n</svg>'],
|
|
1145
|
+
["chevron-right", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M15.17 12 6.6 3.4 8 2l10 10L8 22l-1.4-1.4z"/>\n</svg>'],
|
|
1134
1146
|
["chevron-right-extra-small", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M13.172 12 8.6 7.4 10 6l6 6-6 6-1.4-1.4z"/>\n</svg>'],
|
|
1135
1147
|
["chevron-right-small", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M14.172 12 7.6 5.4 9 4l8 8-8 8-1.4-1.4z"/>\n</svg>'],
|
|
1148
|
+
["chevron-right-to-line", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M15 12 5 22l-1.4-1.4 8.57-8.6L3.6 3.4 5 2zm4 10h-2V2h2z"/>\n</svg>'],
|
|
1149
|
+
["chevron-right-to-line-extra-small", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m13 12-6 6-1.4-1.4 4.57-4.6L5.6 7.4 7 6zm4 6h-2V6h2z"/>\n</svg>'],
|
|
1150
|
+
["chevron-right-to-line-small", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m14 12-8 8-1.4-1.4 6.57-6.6L4.6 5.4 6 4zm4 8h-2V4h2z"/>\n</svg>'],
|
|
1136
1151
|
["chevron-up", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M12 8.828 3.4 17.4 2 16 12 6l10 10-1.4 1.4z"/>\n</svg>'],
|
|
1137
1152
|
["chevron-up-chevron-down", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M12 5.828 7.4 10.4 6 9l6-6 6 6-1.4 1.4zm0 12.344L7.4 13.6 6 15l6 6 6-6-1.4-1.4z"/>\n</svg>'],
|
|
1138
1153
|
["chevron-up-extra-small", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M12 10.828 7.4 15.4 6 14l6-6 6 6-1.4 1.4z"/>\n</svg>'],
|
|
@@ -1177,6 +1192,7 @@ const iconRegistry = /* @__PURE__ */ new Map([
|
|
|
1177
1192
|
["file-text", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M7 4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V9h-3a2 2 0 0 1-2-2V4zm8 1.414L16.586 7H15zM4 5a3 3 0 0 1 3-3h7a1 1 0 0 1 .707.293l5 5A1 1 0 0 1 20 8v11a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3zm4 3h3v2H8zm0 4h8v2H8zm0 4h8v2H8z"/>\n</svg>'],
|
|
1178
1193
|
["file-text-batch-check-mark", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M18 13a5 5 0 1 1 0 10 5 5 0 0 1 0-10m-.75 5.44-1.47-1.47-1.06 1.06 2.53 2.53 4.03-4.03-1.06-1.06z"/>\n <path fill="currentColor" d="M13 2a1 1 0 0 1 .7.3l5 5a1 1 0 0 1 .3.7v4.08a6 6 0 0 0-2 0V9h-3a2 2 0 0 1-2-2V4H6a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h6.34a6 6 0 0 0 1.19 2H6a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3zm1 5h1.59L14 5.41z"/>\n <path fill="currentColor" d="M12.34 16q-.34.95-.34 2H7v-2zM15 12.8q-.83.49-1.47 1.2H7v-2h8zM10 10H7V8h3z"/>\n</svg>'],
|
|
1179
1194
|
["file-text-pencil", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M14 2a1 1 0 0 1 .7.3l1.68 1.67-3.35 3.35Q13 7.17 13 7V4H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-5.34l2-2V19a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3z"/>\n <path fill="currentColor" d="M17.17 4.59a2 2 0 0 1 2.83 0L21.42 6a2 2 0 0 1 0 2.83L12.25 18H8v-4.24zm-7.17 10V16h1.42l5.75-5.76-1.4-1.41zm7.17-7.18 1.42 1.42L20 7.4 18.6 6z"/>\n <path fill="currentColor" d="M16 18h-2.34l2-2H16zm-4-9.65L10.35 10H8V8h4z"/>\n</svg>'],
|
|
1195
|
+
["file-text-stack", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M5 19a1 1 0 0 0 1 1h12a2 2 0 0 1-2 2H6a3 3 0 0 1-3-3V7c0-1.1.9-2 2-2z"/>\n <path fill="currentColor" d="M17 15h-7v-2h7zm0-3.5h-7v-2h7zM13 8h-3V6h3z"/>\n <path fill="currentColor" d="M15.5 2c.69.07 1.39.39 1.88.88l2.74 2.74A3 3 0 0 1 21 7.74V16a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3zM9 4a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1V7.5h-2.5a1 1 0 0 1-1-1V4z"/>\n</svg>'],
|
|
1180
1196
|
["flag", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" fill-rule="evenodd" d="m5 3.67 2.04-.34a8 8 0 0 1 3.84.3l2.24.74a8 8 0 0 0 3.84.3L21 4v11l-4.04.67a8 8 0 0 1-3.38-.16l-2.7-.88a8 8 0 0 0-3.84-.3L5 14.67V22H3V2h2zm5.25 1.86c-1.74-.59-3.5-.13-5.25.16v6.95l1.71-.29a10 10 0 0 1 4.8.38l2.24.74a6 6 0 0 0 2.88.23l2.37-.4V6.36l-1.71.29a10 10 0 0 1-4.8-.38z" clip-rule="evenodd"/>\n</svg>'],
|
|
1181
1197
|
["flag-filled", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m5 3.67 2.04-.34c2.15-.36 4.07.37 6.08 1.04a8 8 0 0 0 3.84.3L21 4v11l-4.04.67a8 8 0 0 1-3.84-.3c-2-.67-3.93-1.4-6.08-1.04L5 14.67V22H3V2h2z"/>\n</svg>'],
|
|
1182
1198
|
["folder", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M2 17V6a3 3 0 0 1 3-3h3.76a3 3 0 0 1 2.12.88L13 6h6a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3v-2a1 1 0 0 0 1-1V9a1 1 0 0 0-.9-1h-6.93l-2.7-2.7a1 1 0 0 0-.71-.3H5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1v2a3 3 0 0 1-3-3m17 1v2H5v-2z"/>\n</svg>'],
|
|
@@ -6913,6 +6929,10 @@ var __decorateClass$1f = (decorators, target, key, kind) => {
|
|
|
6913
6929
|
if (kind && result) __defProp$1e(target, key, result);
|
|
6914
6930
|
return result;
|
|
6915
6931
|
};
|
|
6932
|
+
const sizingConverter = {
|
|
6933
|
+
toAttribute: (value) => value || null,
|
|
6934
|
+
fromAttribute: (value) => value ?? ""
|
|
6935
|
+
};
|
|
6916
6936
|
let NLDDToolbarItem = class extends LitElement {
|
|
6917
6937
|
constructor() {
|
|
6918
6938
|
super(...arguments);
|
|
@@ -6935,13 +6955,13 @@ let NLDDToolbarItem = class extends LitElement {
|
|
|
6935
6955
|
};
|
|
6936
6956
|
NLDDToolbarItem.styles = toolbarItemStyles;
|
|
6937
6957
|
__decorateClass$1f([
|
|
6938
|
-
property({
|
|
6958
|
+
property({ reflect: true, converter: sizingConverter })
|
|
6939
6959
|
], NLDDToolbarItem.prototype, "width", 2);
|
|
6940
6960
|
__decorateClass$1f([
|
|
6941
|
-
property({
|
|
6961
|
+
property({ attribute: "min-width", reflect: true, converter: sizingConverter })
|
|
6942
6962
|
], NLDDToolbarItem.prototype, "minWidth", 2);
|
|
6943
6963
|
__decorateClass$1f([
|
|
6944
|
-
property({
|
|
6964
|
+
property({ attribute: "max-width", reflect: true, converter: sizingConverter })
|
|
6945
6965
|
], NLDDToolbarItem.prototype, "maxWidth", 2);
|
|
6946
6966
|
__decorateClass$1f([
|
|
6947
6967
|
property({ type: String })
|
|
@@ -7001,13 +7021,13 @@ __decorateClass$1f([
|
|
|
7001
7021
|
property({ type: String, reflect: true })
|
|
7002
7022
|
], NLDDToolbarTitle.prototype, "align", 2);
|
|
7003
7023
|
__decorateClass$1f([
|
|
7004
|
-
property({
|
|
7024
|
+
property({ reflect: true, converter: sizingConverter })
|
|
7005
7025
|
], NLDDToolbarTitle.prototype, "width", 2);
|
|
7006
7026
|
__decorateClass$1f([
|
|
7007
|
-
property({
|
|
7027
|
+
property({ attribute: "min-width", reflect: true, converter: sizingConverter })
|
|
7008
7028
|
], NLDDToolbarTitle.prototype, "minWidth", 2);
|
|
7009
7029
|
__decorateClass$1f([
|
|
7010
|
-
property({
|
|
7030
|
+
property({ attribute: "max-width", reflect: true, converter: sizingConverter })
|
|
7011
7031
|
], NLDDToolbarTitle.prototype, "maxWidth", 2);
|
|
7012
7032
|
__decorateClass$1f([
|
|
7013
7033
|
property({ type: String, reflect: true })
|
|
@@ -7393,7 +7413,7 @@ let NLDDToolbar = class extends LitElement {
|
|
|
7393
7413
|
return {
|
|
7394
7414
|
type: "title",
|
|
7395
7415
|
element: el,
|
|
7396
|
-
minWidth: el.
|
|
7416
|
+
minWidth: el.minWidth || "200px",
|
|
7397
7417
|
id: id2
|
|
7398
7418
|
};
|
|
7399
7419
|
}
|
|
@@ -7402,9 +7422,10 @@ let NLDDToolbar = class extends LitElement {
|
|
|
7402
7422
|
const label = el.getAttribute("label") ?? "";
|
|
7403
7423
|
const priority = parseInt(el.getAttribute("priority") ?? "0", 10);
|
|
7404
7424
|
const hasPriority = el.hasAttribute("priority");
|
|
7405
|
-
const
|
|
7406
|
-
const
|
|
7407
|
-
const
|
|
7425
|
+
const sizing = el;
|
|
7426
|
+
const minWidth = sizing.minWidth || "";
|
|
7427
|
+
const maxWidth = sizing.maxWidth || "";
|
|
7428
|
+
const width = sizing.width || "";
|
|
7408
7429
|
const isFluid = !!(minWidth || maxWidth || width);
|
|
7409
7430
|
const overflowItems = Array.from(el.children).filter((child) => {
|
|
7410
7431
|
const childTag = child.tagName.toLowerCase();
|
|
@@ -10802,17 +10823,17 @@ const GRAMMAR_LOADERS = {
|
|
|
10802
10823
|
yaml: () => import("./prism-yaml-DO0f9pf6.js"),
|
|
10803
10824
|
json: () => import("./prism-json-DIMpow89.js"),
|
|
10804
10825
|
javascript: () => import("./prism-javascript-DeC_17Pw.js"),
|
|
10805
|
-
typescript: () => import("./prism-typescript-
|
|
10826
|
+
typescript: () => import("./prism-typescript-hCHH5aho.js").then((n) => n.p),
|
|
10806
10827
|
css: () => import("./prism-css-B93tXdOU.js"),
|
|
10807
10828
|
html: () => import("./prism-markup-DfJYPYHA.js"),
|
|
10808
10829
|
xml: () => import("./prism-markup-DfJYPYHA.js"),
|
|
10809
10830
|
bash: () => import("./prism-bash-vbqaw3JR.js"),
|
|
10810
10831
|
markdown: () => import("./prism-markdown-D-uFBkiz.js"),
|
|
10811
|
-
rust: () => import("./prism-rust-
|
|
10832
|
+
rust: () => import("./prism-rust-Bp-z7VUz.js").then((n) => n.p),
|
|
10812
10833
|
gherkin: () => import("./prism-gherkin-CMPYyXOQ.js"),
|
|
10813
10834
|
toml: () => import("./prism-toml-Ubdq-a5x.js"),
|
|
10814
10835
|
sql: () => import("./prism-sql-BGqCBMyJ.js"),
|
|
10815
|
-
python: () => import("./prism-python-
|
|
10836
|
+
python: () => import("./prism-python-Dtm_y95w.js").then((n) => n.p)
|
|
10816
10837
|
};
|
|
10817
10838
|
const grammarLoads = /* @__PURE__ */ new Map();
|
|
10818
10839
|
function loadGrammar(language) {
|
|
@@ -18241,17 +18262,16 @@ NLDDSplitViewDivider = __decorateClass$M([
|
|
|
18241
18262
|
], NLDDSplitViewDivider);
|
|
18242
18263
|
function barSplitViewTemplate(component) {
|
|
18243
18264
|
const sorted = component._getSortedChildren();
|
|
18244
|
-
const
|
|
18265
|
+
const blocks = sorted.map((el) => ({ slot: el.slot, isMain: el.slot === "main" }));
|
|
18266
|
+
if (!blocks.some((block) => block.isMain)) blocks.push({ slot: "main", isMain: true });
|
|
18245
18267
|
return html`
|
|
18246
18268
|
<div class="bar-split-view">
|
|
18247
|
-
${
|
|
18248
|
-
const
|
|
18249
|
-
const
|
|
18250
|
-
const next = sorted[index + 1];
|
|
18251
|
-
const showDivider = !isSm && !isLast && !el.hasAttribute("no-divider") && !next?.hasAttribute("no-divider");
|
|
18269
|
+
${blocks.map((block, index) => {
|
|
18270
|
+
const next = blocks[index + 1];
|
|
18271
|
+
const showDivider = next ? block.isMain !== next.isMain : false;
|
|
18252
18272
|
return html`
|
|
18253
|
-
<div class=${classMap({ "bar-split-view__main": isMain, "bar-split-view__bar": !isMain })}>
|
|
18254
|
-
<slot name=${
|
|
18273
|
+
<div class=${classMap({ "bar-split-view__main": block.isMain, "bar-split-view__bar": !block.isMain })}>
|
|
18274
|
+
<slot name=${block.slot}></slot>
|
|
18255
18275
|
</div>
|
|
18256
18276
|
${showDivider ? html`
|
|
18257
18277
|
<div class="bar-split-view__divider">
|
|
@@ -18260,11 +18280,6 @@ function barSplitViewTemplate(component) {
|
|
|
18260
18280
|
` : nothing}
|
|
18261
18281
|
`;
|
|
18262
18282
|
})}
|
|
18263
|
-
${!sorted.some((el) => el.slot === "main") ? html`
|
|
18264
|
-
<div class="bar-split-view__main">
|
|
18265
|
-
<slot name="main"></slot>
|
|
18266
|
-
</div>
|
|
18267
|
-
` : nothing}
|
|
18268
18283
|
</div>
|
|
18269
18284
|
`;
|
|
18270
18285
|
}
|
|
@@ -18292,7 +18307,7 @@ let NLDDBarSplitView = class extends LitElement {
|
|
|
18292
18307
|
super.connectedCallback();
|
|
18293
18308
|
this._currentBreakpoint = this._getBreakpoint(this.getBoundingClientRect().width);
|
|
18294
18309
|
this._observer = new MutationObserver(() => this.requestUpdate());
|
|
18295
|
-
this._observer.observe(this, { childList: true, attributes: true, attributeFilter: ["above", "below", "only", "sm-order", "md-order", "lg-order"
|
|
18310
|
+
this._observer.observe(this, { childList: true, attributes: true, attributeFilter: ["above", "below", "only", "sm-order", "md-order", "lg-order"], subtree: false });
|
|
18296
18311
|
this._resizeObserver = new ResizeObserver(() => {
|
|
18297
18312
|
const bp = this._getBreakpoint(this.getBoundingClientRect().width);
|
|
18298
18313
|
if (bp !== this._currentBreakpoint) {
|
|
@@ -25188,6 +25203,18 @@ const listItemStyles = css`
|
|
|
25188
25203
|
cursor: var(--semantics-controls-link-cursor);
|
|
25189
25204
|
}
|
|
25190
25205
|
|
|
25206
|
+
.list-item__new-tab-hint {
|
|
25207
|
+
position: absolute;
|
|
25208
|
+
margin: -1px;
|
|
25209
|
+
border: 0;
|
|
25210
|
+
width: 1px;
|
|
25211
|
+
height: 1px;
|
|
25212
|
+
overflow: hidden;
|
|
25213
|
+
padding: 0;
|
|
25214
|
+
white-space: nowrap;
|
|
25215
|
+
clip-path: inset(50%);
|
|
25216
|
+
}
|
|
25217
|
+
|
|
25191
25218
|
|
|
25192
25219
|
/* # Indicator */
|
|
25193
25220
|
|
|
@@ -25367,12 +25394,14 @@ const areas = (showStart, showEnd) => html`
|
|
|
25367
25394
|
</slot>
|
|
25368
25395
|
</div>
|
|
25369
25396
|
`;
|
|
25370
|
-
const template$a = (button, href, showStart, showEnd) => {
|
|
25397
|
+
const template$a = (button, href, target, rel, showStart, showEnd, newTabLabel) => {
|
|
25371
25398
|
if (href) {
|
|
25372
25399
|
return html`<div class="list-item">
|
|
25373
25400
|
<a class="list-item__action"
|
|
25374
25401
|
href=${href}
|
|
25375
|
-
|
|
25402
|
+
target=${target ?? nothing}
|
|
25403
|
+
rel=${rel ?? nothing}
|
|
25404
|
+
>${areas(showStart, showEnd)}${newTabLabel ? html`<span class="list-item__new-tab-hint">${newTabLabel}</span>` : nothing}</a>
|
|
25376
25405
|
</div>`;
|
|
25377
25406
|
}
|
|
25378
25407
|
if (button) {
|
|
@@ -25387,16 +25416,57 @@ const template$a = (button, href, showStart, showEnd) => {
|
|
|
25387
25416
|
</div>`;
|
|
25388
25417
|
};
|
|
25389
25418
|
var __defProp$n = Object.defineProperty;
|
|
25390
|
-
var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
|
|
25391
25419
|
var __decorateClass$n = (decorators, target, key, kind) => {
|
|
25420
|
+
var result = void 0;
|
|
25421
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
25422
|
+
if (decorator = decorators[i])
|
|
25423
|
+
result = decorator(target, key, result) || result;
|
|
25424
|
+
if (result) __defProp$n(target, key, result);
|
|
25425
|
+
return result;
|
|
25426
|
+
};
|
|
25427
|
+
function withTranslations(Base, defaults) {
|
|
25428
|
+
class TranslationsMixin extends Base {
|
|
25429
|
+
constructor() {
|
|
25430
|
+
super(...arguments);
|
|
25431
|
+
this.translations = {};
|
|
25432
|
+
this._mergedTranslations = { ...defaults };
|
|
25433
|
+
}
|
|
25434
|
+
/** @internal */
|
|
25435
|
+
_t(key, vars) {
|
|
25436
|
+
let str = this._mergedTranslations[key] ?? String(key);
|
|
25437
|
+
if (vars) {
|
|
25438
|
+
for (const [k, v] of Object.entries(vars)) {
|
|
25439
|
+
str = str.split(`{${k}}`).join(String(v));
|
|
25440
|
+
}
|
|
25441
|
+
}
|
|
25442
|
+
return str;
|
|
25443
|
+
}
|
|
25444
|
+
willUpdate(changed) {
|
|
25445
|
+
super.willUpdate(changed);
|
|
25446
|
+
if (changed.has("translations")) {
|
|
25447
|
+
this._mergedTranslations = { ...defaults, ...this.translations };
|
|
25448
|
+
}
|
|
25449
|
+
}
|
|
25450
|
+
}
|
|
25451
|
+
__decorateClass$n([
|
|
25452
|
+
property({ type: Object })
|
|
25453
|
+
], TranslationsMixin.prototype, "translations");
|
|
25454
|
+
return TranslationsMixin;
|
|
25455
|
+
}
|
|
25456
|
+
const nlddListItemTranslations = {
|
|
25457
|
+
"components.list-item.opens-in-new-tab-label": "Opent in nieuw tabblad"
|
|
25458
|
+
};
|
|
25459
|
+
var __defProp$m = Object.defineProperty;
|
|
25460
|
+
var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
|
|
25461
|
+
var __decorateClass$m = (decorators, target, key, kind) => {
|
|
25392
25462
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
|
|
25393
25463
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
25394
25464
|
if (decorator = decorators[i])
|
|
25395
25465
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
25396
|
-
if (kind && result) __defProp$
|
|
25466
|
+
if (kind && result) __defProp$m(target, key, result);
|
|
25397
25467
|
return result;
|
|
25398
25468
|
};
|
|
25399
|
-
let NLDDListItem = class extends LitElement {
|
|
25469
|
+
let NLDDListItem = class extends withTranslations(LitElement, nlddListItemTranslations) {
|
|
25400
25470
|
constructor() {
|
|
25401
25471
|
super(...arguments);
|
|
25402
25472
|
this.size = "md";
|
|
@@ -25510,43 +25580,53 @@ let NLDDListItem = class extends LitElement {
|
|
|
25510
25580
|
this._action?.focus(options);
|
|
25511
25581
|
}
|
|
25512
25582
|
render() {
|
|
25583
|
+
const newTabLabel = this.href && this.target === "_blank" ? this._t("components.list-item.opens-in-new-tab-label") : void 0;
|
|
25513
25584
|
return template$a(
|
|
25514
25585
|
this.button,
|
|
25515
25586
|
this.href,
|
|
25587
|
+
this.target,
|
|
25588
|
+
this.rel,
|
|
25516
25589
|
this._showStart,
|
|
25517
|
-
this._showEnd
|
|
25590
|
+
this._showEnd,
|
|
25591
|
+
newTabLabel
|
|
25518
25592
|
);
|
|
25519
25593
|
}
|
|
25520
25594
|
};
|
|
25521
25595
|
NLDDListItem.styles = [listItemStyles];
|
|
25522
|
-
__decorateClass$
|
|
25596
|
+
__decorateClass$m([
|
|
25523
25597
|
property({ reflect: true })
|
|
25524
25598
|
], NLDDListItem.prototype, "size", 2);
|
|
25525
|
-
__decorateClass$
|
|
25599
|
+
__decorateClass$m([
|
|
25526
25600
|
property({ type: Boolean, reflect: true })
|
|
25527
25601
|
], NLDDListItem.prototype, "selected", 2);
|
|
25528
|
-
__decorateClass$
|
|
25602
|
+
__decorateClass$m([
|
|
25529
25603
|
property({ type: Boolean, reflect: true })
|
|
25530
25604
|
], NLDDListItem.prototype, "button", 2);
|
|
25531
|
-
__decorateClass$
|
|
25605
|
+
__decorateClass$m([
|
|
25532
25606
|
property({ reflect: true })
|
|
25533
25607
|
], NLDDListItem.prototype, "href", 2);
|
|
25534
|
-
__decorateClass$
|
|
25608
|
+
__decorateClass$m([
|
|
25609
|
+
property({ reflect: true })
|
|
25610
|
+
], NLDDListItem.prototype, "target", 2);
|
|
25611
|
+
__decorateClass$m([
|
|
25612
|
+
property({ reflect: true })
|
|
25613
|
+
], NLDDListItem.prototype, "rel", 2);
|
|
25614
|
+
__decorateClass$m([
|
|
25535
25615
|
property({ type: Boolean, reflect: true })
|
|
25536
25616
|
], NLDDListItem.prototype, "reorderable", 2);
|
|
25537
|
-
__decorateClass$
|
|
25617
|
+
__decorateClass$m([
|
|
25538
25618
|
state()
|
|
25539
25619
|
], NLDDListItem.prototype, "_showStart", 2);
|
|
25540
|
-
__decorateClass$
|
|
25620
|
+
__decorateClass$m([
|
|
25541
25621
|
state()
|
|
25542
25622
|
], NLDDListItem.prototype, "_showEnd", 2);
|
|
25543
|
-
__decorateClass$
|
|
25623
|
+
__decorateClass$m([
|
|
25544
25624
|
state()
|
|
25545
25625
|
], NLDDListItem.prototype, "_parentType", 2);
|
|
25546
|
-
__decorateClass$
|
|
25626
|
+
__decorateClass$m([
|
|
25547
25627
|
query(".list-item__action")
|
|
25548
25628
|
], NLDDListItem.prototype, "_action", 2);
|
|
25549
|
-
NLDDListItem = __decorateClass$
|
|
25629
|
+
NLDDListItem = __decorateClass$m([
|
|
25550
25630
|
customElement("nldd-list-item")
|
|
25551
25631
|
], NLDDListItem);
|
|
25552
25632
|
const listItem = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -25707,14 +25787,14 @@ const nlddTableTranslations = {
|
|
|
25707
25787
|
"components.table.accessible-label": "Tabel",
|
|
25708
25788
|
"components.table.empty-text": "Geen items"
|
|
25709
25789
|
};
|
|
25710
|
-
var __defProp$
|
|
25790
|
+
var __defProp$l = Object.defineProperty;
|
|
25711
25791
|
var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
|
|
25712
|
-
var __decorateClass$
|
|
25792
|
+
var __decorateClass$l = (decorators, target, key, kind) => {
|
|
25713
25793
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
|
|
25714
25794
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
25715
25795
|
if (decorator = decorators[i])
|
|
25716
25796
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
25717
|
-
if (kind && result) __defProp$
|
|
25797
|
+
if (kind && result) __defProp$l(target, key, result);
|
|
25718
25798
|
return result;
|
|
25719
25799
|
};
|
|
25720
25800
|
const SM_MAX = parseInt(breakpoints.smMax, 10);
|
|
@@ -25857,37 +25937,37 @@ let NLDDTable = class extends LitElement {
|
|
|
25857
25937
|
}
|
|
25858
25938
|
};
|
|
25859
25939
|
NLDDTable.styles = tableStyles;
|
|
25860
|
-
__decorateClass$
|
|
25940
|
+
__decorateClass$l([
|
|
25861
25941
|
property({ type: String, reflect: true })
|
|
25862
25942
|
], NLDDTable.prototype, "background", 2);
|
|
25863
|
-
__decorateClass$
|
|
25943
|
+
__decorateClass$l([
|
|
25864
25944
|
property({ type: String, reflect: true })
|
|
25865
25945
|
], NLDDTable.prototype, "columns", 2);
|
|
25866
|
-
__decorateClass$
|
|
25946
|
+
__decorateClass$l([
|
|
25867
25947
|
property({ type: String, reflect: true, attribute: "sm-columns" })
|
|
25868
25948
|
], NLDDTable.prototype, "smColumns", 2);
|
|
25869
|
-
__decorateClass$
|
|
25949
|
+
__decorateClass$l([
|
|
25870
25950
|
property({ type: String, reflect: true, attribute: "md-columns" })
|
|
25871
25951
|
], NLDDTable.prototype, "mdColumns", 2);
|
|
25872
|
-
__decorateClass$
|
|
25952
|
+
__decorateClass$l([
|
|
25873
25953
|
property({ type: String, reflect: true, attribute: "lg-columns" })
|
|
25874
25954
|
], NLDDTable.prototype, "lgColumns", 2);
|
|
25875
|
-
__decorateClass$
|
|
25955
|
+
__decorateClass$l([
|
|
25876
25956
|
property({ type: String, reflect: true, attribute: "accessible-label" })
|
|
25877
25957
|
], NLDDTable.prototype, "accessibleLabel", 2);
|
|
25878
|
-
__decorateClass$
|
|
25958
|
+
__decorateClass$l([
|
|
25879
25959
|
property({ type: Boolean, reflect: true })
|
|
25880
25960
|
], NLDDTable.prototype, "selectable", 2);
|
|
25881
|
-
__decorateClass$
|
|
25961
|
+
__decorateClass$l([
|
|
25882
25962
|
property({ type: String, attribute: "empty-text" })
|
|
25883
25963
|
], NLDDTable.prototype, "emptyText", 2);
|
|
25884
|
-
__decorateClass$
|
|
25964
|
+
__decorateClass$l([
|
|
25885
25965
|
property({ type: String, attribute: "empty-supporting-text" })
|
|
25886
25966
|
], NLDDTable.prototype, "emptySupportingText", 2);
|
|
25887
|
-
__decorateClass$
|
|
25967
|
+
__decorateClass$l([
|
|
25888
25968
|
property({ type: Object })
|
|
25889
25969
|
], NLDDTable.prototype, "translations", 2);
|
|
25890
|
-
NLDDTable = __decorateClass$
|
|
25970
|
+
NLDDTable = __decorateClass$l([
|
|
25891
25971
|
customElement("nldd-table")
|
|
25892
25972
|
], NLDDTable);
|
|
25893
25973
|
let NLDDTableRow = class extends LitElement {
|
|
@@ -25941,10 +26021,10 @@ let NLDDTableRow = class extends LitElement {
|
|
|
25941
26021
|
}
|
|
25942
26022
|
};
|
|
25943
26023
|
NLDDTableRow.styles = tableRowStyles;
|
|
25944
|
-
__decorateClass$
|
|
26024
|
+
__decorateClass$l([
|
|
25945
26025
|
property({ type: Boolean, reflect: true })
|
|
25946
26026
|
], NLDDTableRow.prototype, "selected", 2);
|
|
25947
|
-
NLDDTableRow = __decorateClass$
|
|
26027
|
+
NLDDTableRow = __decorateClass$l([
|
|
25948
26028
|
customElement("nldd-table-row")
|
|
25949
26029
|
], NLDDTableRow);
|
|
25950
26030
|
const cellStyles = css`
|
|
@@ -26039,14 +26119,14 @@ const cellStyles = css`
|
|
|
26039
26119
|
}
|
|
26040
26120
|
`;
|
|
26041
26121
|
const template$9 = () => html`<slot></slot>`;
|
|
26042
|
-
var __defProp$
|
|
26122
|
+
var __defProp$k = Object.defineProperty;
|
|
26043
26123
|
var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
|
|
26044
|
-
var __decorateClass$
|
|
26124
|
+
var __decorateClass$k = (decorators, target, key, kind) => {
|
|
26045
26125
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
|
|
26046
26126
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26047
26127
|
if (decorator = decorators[i])
|
|
26048
26128
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26049
|
-
if (kind && result) __defProp$
|
|
26129
|
+
if (kind && result) __defProp$k(target, key, result);
|
|
26050
26130
|
return result;
|
|
26051
26131
|
};
|
|
26052
26132
|
let NLDDCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
@@ -26095,25 +26175,25 @@ let NLDDCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
|
26095
26175
|
}
|
|
26096
26176
|
};
|
|
26097
26177
|
NLDDCell.styles = [cellStyles];
|
|
26098
|
-
__decorateClass$
|
|
26178
|
+
__decorateClass$k([
|
|
26099
26179
|
property({ type: String, reflect: true })
|
|
26100
26180
|
], NLDDCell.prototype, "width", 2);
|
|
26101
|
-
__decorateClass$
|
|
26181
|
+
__decorateClass$k([
|
|
26102
26182
|
property({ type: String, reflect: true, attribute: "min-width" })
|
|
26103
26183
|
], NLDDCell.prototype, "minWidth", 2);
|
|
26104
|
-
__decorateClass$
|
|
26184
|
+
__decorateClass$k([
|
|
26105
26185
|
property({ type: String, reflect: true, attribute: "max-width" })
|
|
26106
26186
|
], NLDDCell.prototype, "maxWidth", 2);
|
|
26107
|
-
__decorateClass$
|
|
26187
|
+
__decorateClass$k([
|
|
26108
26188
|
property({ type: String, reflect: true, attribute: "min-height" })
|
|
26109
26189
|
], NLDDCell.prototype, "minHeight", 2);
|
|
26110
|
-
__decorateClass$
|
|
26190
|
+
__decorateClass$k([
|
|
26111
26191
|
property({ reflect: true, attribute: "vertical-alignment" })
|
|
26112
26192
|
], NLDDCell.prototype, "verticalAlignment", 2);
|
|
26113
|
-
__decorateClass$
|
|
26193
|
+
__decorateClass$k([
|
|
26114
26194
|
property({ reflect: true, attribute: "horizontal-alignment" })
|
|
26115
26195
|
], NLDDCell.prototype, "horizontalAlignment", 2);
|
|
26116
|
-
NLDDCell = __decorateClass$
|
|
26196
|
+
NLDDCell = __decorateClass$k([
|
|
26117
26197
|
customElement("nldd-cell")
|
|
26118
26198
|
], NLDDCell);
|
|
26119
26199
|
const titleCellStyles = css`
|
|
@@ -26340,14 +26420,14 @@ const template$8 = function() {
|
|
|
26340
26420
|
</p>
|
|
26341
26421
|
`;
|
|
26342
26422
|
};
|
|
26343
|
-
var __defProp$
|
|
26423
|
+
var __defProp$j = Object.defineProperty;
|
|
26344
26424
|
var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
|
|
26345
|
-
var __decorateClass$
|
|
26425
|
+
var __decorateClass$j = (decorators, target, key, kind) => {
|
|
26346
26426
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
|
|
26347
26427
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26348
26428
|
if (decorator = decorators[i])
|
|
26349
26429
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26350
|
-
if (kind && result) __defProp$
|
|
26430
|
+
if (kind && result) __defProp$j(target, key, result);
|
|
26351
26431
|
return result;
|
|
26352
26432
|
};
|
|
26353
26433
|
let NLDDTitleCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
@@ -26427,58 +26507,58 @@ let NLDDTitleCell = class extends VisibilityMixin(LitElement, "cells-container")
|
|
|
26427
26507
|
}
|
|
26428
26508
|
};
|
|
26429
26509
|
NLDDTitleCell.styles = [titleCellStyles];
|
|
26430
|
-
__decorateClass$
|
|
26510
|
+
__decorateClass$j([
|
|
26431
26511
|
property({ type: Number, reflect: true })
|
|
26432
26512
|
], NLDDTitleCell.prototype, "size", 2);
|
|
26433
|
-
__decorateClass$
|
|
26513
|
+
__decorateClass$j([
|
|
26434
26514
|
property({ type: String, reflect: true })
|
|
26435
26515
|
], NLDDTitleCell.prototype, "color", 2);
|
|
26436
|
-
__decorateClass$
|
|
26516
|
+
__decorateClass$j([
|
|
26437
26517
|
property({ type: String, reflect: true })
|
|
26438
26518
|
], NLDDTitleCell.prototype, "width", 2);
|
|
26439
|
-
__decorateClass$
|
|
26519
|
+
__decorateClass$j([
|
|
26440
26520
|
property({ type: String, reflect: true, attribute: "min-width" })
|
|
26441
26521
|
], NLDDTitleCell.prototype, "minWidth", 2);
|
|
26442
|
-
__decorateClass$
|
|
26522
|
+
__decorateClass$j([
|
|
26443
26523
|
property({ type: String, reflect: true, attribute: "max-width" })
|
|
26444
26524
|
], NLDDTitleCell.prototype, "maxWidth", 2);
|
|
26445
|
-
__decorateClass$
|
|
26525
|
+
__decorateClass$j([
|
|
26446
26526
|
property({ type: String, reflect: true, attribute: "min-height" })
|
|
26447
26527
|
], NLDDTitleCell.prototype, "minHeight", 2);
|
|
26448
|
-
__decorateClass$
|
|
26528
|
+
__decorateClass$j([
|
|
26449
26529
|
property({ type: String, reflect: true, attribute: "horizontal-alignment" })
|
|
26450
26530
|
], NLDDTitleCell.prototype, "horizontalAlignment", 2);
|
|
26451
|
-
__decorateClass$
|
|
26531
|
+
__decorateClass$j([
|
|
26452
26532
|
property({ type: String, reflect: true, attribute: "vertical-alignment" })
|
|
26453
26533
|
], NLDDTitleCell.prototype, "verticalAlignment", 2);
|
|
26454
|
-
__decorateClass$
|
|
26534
|
+
__decorateClass$j([
|
|
26455
26535
|
property({ type: String })
|
|
26456
26536
|
], NLDDTitleCell.prototype, "text", 2);
|
|
26457
|
-
__decorateClass$
|
|
26537
|
+
__decorateClass$j([
|
|
26458
26538
|
property({ type: String })
|
|
26459
26539
|
], NLDDTitleCell.prototype, "overline", 2);
|
|
26460
|
-
__decorateClass$
|
|
26540
|
+
__decorateClass$j([
|
|
26461
26541
|
property({ type: String, attribute: "supporting-text" })
|
|
26462
26542
|
], NLDDTitleCell.prototype, "supportingText", 2);
|
|
26463
|
-
__decorateClass$
|
|
26543
|
+
__decorateClass$j([
|
|
26464
26544
|
property({ type: Number, attribute: "heading-level" })
|
|
26465
26545
|
], NLDDTitleCell.prototype, "headingLevel", 2);
|
|
26466
|
-
__decorateClass$
|
|
26546
|
+
__decorateClass$j([
|
|
26467
26547
|
property({ type: String })
|
|
26468
26548
|
], NLDDTitleCell.prototype, "query", 2);
|
|
26469
|
-
__decorateClass$
|
|
26549
|
+
__decorateClass$j([
|
|
26470
26550
|
property({ type: String, attribute: "query-mark-mode" })
|
|
26471
26551
|
], NLDDTitleCell.prototype, "queryMarkMode", 2);
|
|
26472
|
-
__decorateClass$
|
|
26552
|
+
__decorateClass$j([
|
|
26473
26553
|
state()
|
|
26474
26554
|
], NLDDTitleCell.prototype, "_hasOverlineSlotted", 2);
|
|
26475
|
-
__decorateClass$
|
|
26555
|
+
__decorateClass$j([
|
|
26476
26556
|
state()
|
|
26477
26557
|
], NLDDTitleCell.prototype, "_hasDefaultSlotted", 2);
|
|
26478
|
-
__decorateClass$
|
|
26558
|
+
__decorateClass$j([
|
|
26479
26559
|
state()
|
|
26480
26560
|
], NLDDTitleCell.prototype, "_hasSupportingTextSlotted", 2);
|
|
26481
|
-
NLDDTitleCell = __decorateClass$
|
|
26561
|
+
NLDDTitleCell = __decorateClass$j([
|
|
26482
26562
|
customElement("nldd-title-cell")
|
|
26483
26563
|
], NLDDTitleCell);
|
|
26484
26564
|
const descriptionCellStyles = css`
|
|
@@ -26590,14 +26670,14 @@ const template$7 = () => html`
|
|
|
26590
26670
|
<slot name="title"></slot>
|
|
26591
26671
|
<slot name="description"></slot>
|
|
26592
26672
|
`;
|
|
26593
|
-
var __defProp$
|
|
26673
|
+
var __defProp$i = Object.defineProperty;
|
|
26594
26674
|
var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
|
|
26595
|
-
var __decorateClass$
|
|
26675
|
+
var __decorateClass$i = (decorators, target, key, kind) => {
|
|
26596
26676
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
|
|
26597
26677
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26598
26678
|
if (decorator = decorators[i])
|
|
26599
26679
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26600
|
-
if (kind && result) __defProp$
|
|
26680
|
+
if (kind && result) __defProp$i(target, key, result);
|
|
26601
26681
|
return result;
|
|
26602
26682
|
};
|
|
26603
26683
|
let NLDDDescriptionCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
@@ -26645,22 +26725,22 @@ let NLDDDescriptionCell = class extends VisibilityMixin(LitElement, "cells-conta
|
|
|
26645
26725
|
}
|
|
26646
26726
|
};
|
|
26647
26727
|
NLDDDescriptionCell.styles = [descriptionCellStyles];
|
|
26648
|
-
__decorateClass$
|
|
26728
|
+
__decorateClass$i([
|
|
26649
26729
|
property({ type: String, reflect: true })
|
|
26650
26730
|
], NLDDDescriptionCell.prototype, "width", 2);
|
|
26651
|
-
__decorateClass$
|
|
26731
|
+
__decorateClass$i([
|
|
26652
26732
|
property({ type: String, reflect: true, attribute: "min-width" })
|
|
26653
26733
|
], NLDDDescriptionCell.prototype, "minWidth", 2);
|
|
26654
|
-
__decorateClass$
|
|
26734
|
+
__decorateClass$i([
|
|
26655
26735
|
property({ type: String, reflect: true, attribute: "max-width" })
|
|
26656
26736
|
], NLDDDescriptionCell.prototype, "maxWidth", 2);
|
|
26657
|
-
__decorateClass$
|
|
26737
|
+
__decorateClass$i([
|
|
26658
26738
|
property({ type: String, reflect: true, attribute: "min-height" })
|
|
26659
26739
|
], NLDDDescriptionCell.prototype, "minHeight", 2);
|
|
26660
|
-
__decorateClass$
|
|
26740
|
+
__decorateClass$i([
|
|
26661
26741
|
property({ reflect: true, attribute: "vertical-alignment" })
|
|
26662
26742
|
], NLDDDescriptionCell.prototype, "verticalAlignment", 2);
|
|
26663
|
-
NLDDDescriptionCell = __decorateClass$
|
|
26743
|
+
NLDDDescriptionCell = __decorateClass$i([
|
|
26664
26744
|
customElement("nldd-description-cell")
|
|
26665
26745
|
], NLDDDescriptionCell);
|
|
26666
26746
|
const dragHandleCellStyles = css`
|
|
@@ -26772,14 +26852,14 @@ function template$6(size2, label) {
|
|
|
26772
26852
|
const nlddDragHandleCellTranslations = {
|
|
26773
26853
|
"components.drag-handle-cell.label-text": "Sleepgreep, druk spatie of enter om te verplaatsen"
|
|
26774
26854
|
};
|
|
26775
|
-
var __defProp$
|
|
26855
|
+
var __defProp$h = Object.defineProperty;
|
|
26776
26856
|
var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
|
|
26777
|
-
var __decorateClass$
|
|
26857
|
+
var __decorateClass$h = (decorators, target, key, kind) => {
|
|
26778
26858
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
|
|
26779
26859
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26780
26860
|
if (decorator = decorators[i])
|
|
26781
26861
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26782
|
-
if (kind && result) __defProp$
|
|
26862
|
+
if (kind && result) __defProp$h(target, key, result);
|
|
26783
26863
|
return result;
|
|
26784
26864
|
};
|
|
26785
26865
|
let NLDDDragHandleCell = class extends LitElement {
|
|
@@ -26798,13 +26878,13 @@ let NLDDDragHandleCell = class extends LitElement {
|
|
|
26798
26878
|
}
|
|
26799
26879
|
};
|
|
26800
26880
|
NLDDDragHandleCell.styles = dragHandleCellStyles;
|
|
26801
|
-
__decorateClass$
|
|
26881
|
+
__decorateClass$h([
|
|
26802
26882
|
property({ type: String, reflect: true })
|
|
26803
26883
|
], NLDDDragHandleCell.prototype, "size", 2);
|
|
26804
|
-
__decorateClass$
|
|
26884
|
+
__decorateClass$h([
|
|
26805
26885
|
property({ type: Object })
|
|
26806
26886
|
], NLDDDragHandleCell.prototype, "translations", 2);
|
|
26807
|
-
NLDDDragHandleCell = __decorateClass$
|
|
26887
|
+
NLDDDragHandleCell = __decorateClass$h([
|
|
26808
26888
|
customElement("nldd-drag-handle-cell")
|
|
26809
26889
|
], NLDDDragHandleCell);
|
|
26810
26890
|
const timelineTrackCellStyles = css`
|
|
@@ -26917,14 +26997,14 @@ function timelineTrackCellTemplate(component) {
|
|
|
26917
26997
|
</div>
|
|
26918
26998
|
`;
|
|
26919
26999
|
}
|
|
26920
|
-
var __defProp$
|
|
27000
|
+
var __defProp$g = Object.defineProperty;
|
|
26921
27001
|
var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
|
|
26922
|
-
var __decorateClass$
|
|
27002
|
+
var __decorateClass$g = (decorators, target, key, kind) => {
|
|
26923
27003
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
|
|
26924
27004
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26925
27005
|
if (decorator = decorators[i])
|
|
26926
27006
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26927
|
-
if (kind && result) __defProp$
|
|
27007
|
+
if (kind && result) __defProp$g(target, key, result);
|
|
26928
27008
|
return result;
|
|
26929
27009
|
};
|
|
26930
27010
|
let NLDDTimelineTrackCell = class extends LitElement {
|
|
@@ -26938,13 +27018,13 @@ let NLDDTimelineTrackCell = class extends LitElement {
|
|
|
26938
27018
|
}
|
|
26939
27019
|
};
|
|
26940
27020
|
NLDDTimelineTrackCell.styles = timelineTrackCellStyles;
|
|
26941
|
-
__decorateClass$
|
|
27021
|
+
__decorateClass$g([
|
|
26942
27022
|
property({ type: String, reflect: true })
|
|
26943
27023
|
], NLDDTimelineTrackCell.prototype, "step", 2);
|
|
26944
|
-
__decorateClass$
|
|
27024
|
+
__decorateClass$g([
|
|
26945
27025
|
property({ type: String, reflect: true })
|
|
26946
27026
|
], NLDDTimelineTrackCell.prototype, "child", 2);
|
|
26947
|
-
NLDDTimelineTrackCell = __decorateClass$
|
|
27027
|
+
NLDDTimelineTrackCell = __decorateClass$g([
|
|
26948
27028
|
customElement("nldd-timeline-track-cell")
|
|
26949
27029
|
], NLDDTimelineTrackCell);
|
|
26950
27030
|
const separatorStyles = css`
|
|
@@ -27128,14 +27208,14 @@ const nlddBreadcrumbsTranslations = {
|
|
|
27128
27208
|
"components.breadcrumbs.accessible-label": "Kruimelpad",
|
|
27129
27209
|
"components.breadcrumbs.show-all-levels": "Toon alle niveaus"
|
|
27130
27210
|
};
|
|
27131
|
-
var __defProp$
|
|
27211
|
+
var __defProp$f = Object.defineProperty;
|
|
27132
27212
|
var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
|
|
27133
|
-
var __decorateClass$
|
|
27213
|
+
var __decorateClass$f = (decorators, target, key, kind) => {
|
|
27134
27214
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
|
|
27135
27215
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
27136
27216
|
if (decorator = decorators[i])
|
|
27137
27217
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
27138
|
-
if (kind && result) __defProp$
|
|
27218
|
+
if (kind && result) __defProp$f(target, key, result);
|
|
27139
27219
|
return result;
|
|
27140
27220
|
};
|
|
27141
27221
|
const _NLDDBreadcrumbsItem = class _NLDDBreadcrumbsItem extends LitElement {
|
|
@@ -27181,13 +27261,13 @@ const _NLDDBreadcrumbsItem = class _NLDDBreadcrumbsItem extends LitElement {
|
|
|
27181
27261
|
};
|
|
27182
27262
|
_NLDDBreadcrumbsItem.styles = breadcrumbsItemStyles;
|
|
27183
27263
|
let NLDDBreadcrumbsItem = _NLDDBreadcrumbsItem;
|
|
27184
|
-
__decorateClass$
|
|
27264
|
+
__decorateClass$f([
|
|
27185
27265
|
property({ type: String, reflect: true })
|
|
27186
27266
|
], NLDDBreadcrumbsItem.prototype, "href", 2);
|
|
27187
|
-
__decorateClass$
|
|
27267
|
+
__decorateClass$f([
|
|
27188
27268
|
property({ type: Boolean, reflect: true })
|
|
27189
27269
|
], NLDDBreadcrumbsItem.prototype, "current", 2);
|
|
27190
|
-
__decorateClass$
|
|
27270
|
+
__decorateClass$f([
|
|
27191
27271
|
property({ type: String, reflect: true })
|
|
27192
27272
|
], NLDDBreadcrumbsItem.prototype, "text", 2);
|
|
27193
27273
|
if (!customElements.get("nldd-breadcrumbs-item")) {
|
|
@@ -27253,19 +27333,19 @@ let NLDDBreadcrumbs = class extends LitElement {
|
|
|
27253
27333
|
}
|
|
27254
27334
|
};
|
|
27255
27335
|
NLDDBreadcrumbs.styles = breadcrumbsStyles;
|
|
27256
|
-
__decorateClass$
|
|
27336
|
+
__decorateClass$f([
|
|
27257
27337
|
property({ type: String, attribute: "accessible-label" })
|
|
27258
27338
|
], NLDDBreadcrumbs.prototype, "accessibleLabel", 2);
|
|
27259
|
-
__decorateClass$
|
|
27339
|
+
__decorateClass$f([
|
|
27260
27340
|
property({ type: Boolean, reflect: true, attribute: "no-collapse" })
|
|
27261
27341
|
], NLDDBreadcrumbs.prototype, "noCollapse", 2);
|
|
27262
|
-
__decorateClass$
|
|
27342
|
+
__decorateClass$f([
|
|
27263
27343
|
property({ type: Object })
|
|
27264
27344
|
], NLDDBreadcrumbs.prototype, "translations", 2);
|
|
27265
|
-
__decorateClass$
|
|
27345
|
+
__decorateClass$f([
|
|
27266
27346
|
state()
|
|
27267
27347
|
], NLDDBreadcrumbs.prototype, "_collapsed", 2);
|
|
27268
|
-
NLDDBreadcrumbs = __decorateClass$
|
|
27348
|
+
NLDDBreadcrumbs = __decorateClass$f([
|
|
27269
27349
|
customElement("nldd-breadcrumbs")
|
|
27270
27350
|
], NLDDBreadcrumbs);
|
|
27271
27351
|
const menuBarStyles = css`
|
|
@@ -27335,44 +27415,6 @@ function template$5(component) {
|
|
|
27335
27415
|
</nav>
|
|
27336
27416
|
`;
|
|
27337
27417
|
}
|
|
27338
|
-
var __defProp$f = Object.defineProperty;
|
|
27339
|
-
var __decorateClass$f = (decorators, target, key, kind) => {
|
|
27340
|
-
var result = void 0;
|
|
27341
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
27342
|
-
if (decorator = decorators[i])
|
|
27343
|
-
result = decorator(target, key, result) || result;
|
|
27344
|
-
if (result) __defProp$f(target, key, result);
|
|
27345
|
-
return result;
|
|
27346
|
-
};
|
|
27347
|
-
function withTranslations(Base, defaults) {
|
|
27348
|
-
class TranslationsMixin extends Base {
|
|
27349
|
-
constructor() {
|
|
27350
|
-
super(...arguments);
|
|
27351
|
-
this.translations = {};
|
|
27352
|
-
this._mergedTranslations = { ...defaults };
|
|
27353
|
-
}
|
|
27354
|
-
/** @internal */
|
|
27355
|
-
_t(key, vars) {
|
|
27356
|
-
let str = this._mergedTranslations[key] ?? String(key);
|
|
27357
|
-
if (vars) {
|
|
27358
|
-
for (const [k, v] of Object.entries(vars)) {
|
|
27359
|
-
str = str.split(`{${k}}`).join(String(v));
|
|
27360
|
-
}
|
|
27361
|
-
}
|
|
27362
|
-
return str;
|
|
27363
|
-
}
|
|
27364
|
-
willUpdate(changed) {
|
|
27365
|
-
super.willUpdate(changed);
|
|
27366
|
-
if (changed.has("translations")) {
|
|
27367
|
-
this._mergedTranslations = { ...defaults, ...this.translations };
|
|
27368
|
-
}
|
|
27369
|
-
}
|
|
27370
|
-
}
|
|
27371
|
-
__decorateClass$f([
|
|
27372
|
-
property({ type: Object })
|
|
27373
|
-
], TranslationsMixin.prototype, "translations");
|
|
27374
|
-
return TranslationsMixin;
|
|
27375
|
-
}
|
|
27376
27418
|
const nlddMenuBarTranslations = {
|
|
27377
27419
|
"components.menu-bar.overflow-action": "Meer opties"
|
|
27378
27420
|
};
|