@nldd/design-system 0.8.60 → 0.8.62
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-DPe5myEj.js} +206 -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/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +1 -0
- package/dist/components/lists-and-tables/list/list.styles.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-mIMEATOA.js} +1 -1
- package/dist/components/{prism-rust-CSuFXPDt.js → prism-rust-Ig3wVTFD.js} +1 -1
- package/dist/components/{prism-typescript-DrsfPuKI.js → prism-typescript-BeulJu8Z.js} +1 -1
- package/dist/css/settings.css +2 -2
- package/package.json +1 -1
|
@@ -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-BeulJu8Z.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-Ig3wVTFD.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-mIMEATOA.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) {
|
|
@@ -24524,6 +24539,7 @@ const listStyles = css`
|
|
|
24524
24539
|
|
|
24525
24540
|
display: block;
|
|
24526
24541
|
position: relative;
|
|
24542
|
+
width: 100%;
|
|
24527
24543
|
isolation: isolate;
|
|
24528
24544
|
}
|
|
24529
24545
|
|
|
@@ -25188,6 +25204,18 @@ const listItemStyles = css`
|
|
|
25188
25204
|
cursor: var(--semantics-controls-link-cursor);
|
|
25189
25205
|
}
|
|
25190
25206
|
|
|
25207
|
+
.list-item__new-tab-hint {
|
|
25208
|
+
position: absolute;
|
|
25209
|
+
margin: -1px;
|
|
25210
|
+
border: 0;
|
|
25211
|
+
width: 1px;
|
|
25212
|
+
height: 1px;
|
|
25213
|
+
overflow: hidden;
|
|
25214
|
+
padding: 0;
|
|
25215
|
+
white-space: nowrap;
|
|
25216
|
+
clip-path: inset(50%);
|
|
25217
|
+
}
|
|
25218
|
+
|
|
25191
25219
|
|
|
25192
25220
|
/* # Indicator */
|
|
25193
25221
|
|
|
@@ -25367,12 +25395,14 @@ const areas = (showStart, showEnd) => html`
|
|
|
25367
25395
|
</slot>
|
|
25368
25396
|
</div>
|
|
25369
25397
|
`;
|
|
25370
|
-
const template$a = (button, href, showStart, showEnd) => {
|
|
25398
|
+
const template$a = (button, href, target, rel, showStart, showEnd, newTabLabel) => {
|
|
25371
25399
|
if (href) {
|
|
25372
25400
|
return html`<div class="list-item">
|
|
25373
25401
|
<a class="list-item__action"
|
|
25374
25402
|
href=${href}
|
|
25375
|
-
|
|
25403
|
+
target=${target ?? nothing}
|
|
25404
|
+
rel=${rel ?? nothing}
|
|
25405
|
+
>${areas(showStart, showEnd)}${newTabLabel ? html`<span class="list-item__new-tab-hint">${newTabLabel}</span>` : nothing}</a>
|
|
25376
25406
|
</div>`;
|
|
25377
25407
|
}
|
|
25378
25408
|
if (button) {
|
|
@@ -25387,16 +25417,57 @@ const template$a = (button, href, showStart, showEnd) => {
|
|
|
25387
25417
|
</div>`;
|
|
25388
25418
|
};
|
|
25389
25419
|
var __defProp$n = Object.defineProperty;
|
|
25390
|
-
var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
|
|
25391
25420
|
var __decorateClass$n = (decorators, target, key, kind) => {
|
|
25421
|
+
var result = void 0;
|
|
25422
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
25423
|
+
if (decorator = decorators[i])
|
|
25424
|
+
result = decorator(target, key, result) || result;
|
|
25425
|
+
if (result) __defProp$n(target, key, result);
|
|
25426
|
+
return result;
|
|
25427
|
+
};
|
|
25428
|
+
function withTranslations(Base, defaults) {
|
|
25429
|
+
class TranslationsMixin extends Base {
|
|
25430
|
+
constructor() {
|
|
25431
|
+
super(...arguments);
|
|
25432
|
+
this.translations = {};
|
|
25433
|
+
this._mergedTranslations = { ...defaults };
|
|
25434
|
+
}
|
|
25435
|
+
/** @internal */
|
|
25436
|
+
_t(key, vars) {
|
|
25437
|
+
let str = this._mergedTranslations[key] ?? String(key);
|
|
25438
|
+
if (vars) {
|
|
25439
|
+
for (const [k, v] of Object.entries(vars)) {
|
|
25440
|
+
str = str.split(`{${k}}`).join(String(v));
|
|
25441
|
+
}
|
|
25442
|
+
}
|
|
25443
|
+
return str;
|
|
25444
|
+
}
|
|
25445
|
+
willUpdate(changed) {
|
|
25446
|
+
super.willUpdate(changed);
|
|
25447
|
+
if (changed.has("translations")) {
|
|
25448
|
+
this._mergedTranslations = { ...defaults, ...this.translations };
|
|
25449
|
+
}
|
|
25450
|
+
}
|
|
25451
|
+
}
|
|
25452
|
+
__decorateClass$n([
|
|
25453
|
+
property({ type: Object })
|
|
25454
|
+
], TranslationsMixin.prototype, "translations");
|
|
25455
|
+
return TranslationsMixin;
|
|
25456
|
+
}
|
|
25457
|
+
const nlddListItemTranslations = {
|
|
25458
|
+
"components.list-item.opens-in-new-tab-label": "Opent in nieuw tabblad"
|
|
25459
|
+
};
|
|
25460
|
+
var __defProp$m = Object.defineProperty;
|
|
25461
|
+
var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
|
|
25462
|
+
var __decorateClass$m = (decorators, target, key, kind) => {
|
|
25392
25463
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
|
|
25393
25464
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
25394
25465
|
if (decorator = decorators[i])
|
|
25395
25466
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
25396
|
-
if (kind && result) __defProp$
|
|
25467
|
+
if (kind && result) __defProp$m(target, key, result);
|
|
25397
25468
|
return result;
|
|
25398
25469
|
};
|
|
25399
|
-
let NLDDListItem = class extends LitElement {
|
|
25470
|
+
let NLDDListItem = class extends withTranslations(LitElement, nlddListItemTranslations) {
|
|
25400
25471
|
constructor() {
|
|
25401
25472
|
super(...arguments);
|
|
25402
25473
|
this.size = "md";
|
|
@@ -25510,43 +25581,53 @@ let NLDDListItem = class extends LitElement {
|
|
|
25510
25581
|
this._action?.focus(options);
|
|
25511
25582
|
}
|
|
25512
25583
|
render() {
|
|
25584
|
+
const newTabLabel = this.href && this.target === "_blank" ? this._t("components.list-item.opens-in-new-tab-label") : void 0;
|
|
25513
25585
|
return template$a(
|
|
25514
25586
|
this.button,
|
|
25515
25587
|
this.href,
|
|
25588
|
+
this.target,
|
|
25589
|
+
this.rel,
|
|
25516
25590
|
this._showStart,
|
|
25517
|
-
this._showEnd
|
|
25591
|
+
this._showEnd,
|
|
25592
|
+
newTabLabel
|
|
25518
25593
|
);
|
|
25519
25594
|
}
|
|
25520
25595
|
};
|
|
25521
25596
|
NLDDListItem.styles = [listItemStyles];
|
|
25522
|
-
__decorateClass$
|
|
25597
|
+
__decorateClass$m([
|
|
25523
25598
|
property({ reflect: true })
|
|
25524
25599
|
], NLDDListItem.prototype, "size", 2);
|
|
25525
|
-
__decorateClass$
|
|
25600
|
+
__decorateClass$m([
|
|
25526
25601
|
property({ type: Boolean, reflect: true })
|
|
25527
25602
|
], NLDDListItem.prototype, "selected", 2);
|
|
25528
|
-
__decorateClass$
|
|
25603
|
+
__decorateClass$m([
|
|
25529
25604
|
property({ type: Boolean, reflect: true })
|
|
25530
25605
|
], NLDDListItem.prototype, "button", 2);
|
|
25531
|
-
__decorateClass$
|
|
25606
|
+
__decorateClass$m([
|
|
25532
25607
|
property({ reflect: true })
|
|
25533
25608
|
], NLDDListItem.prototype, "href", 2);
|
|
25534
|
-
__decorateClass$
|
|
25609
|
+
__decorateClass$m([
|
|
25610
|
+
property({ reflect: true })
|
|
25611
|
+
], NLDDListItem.prototype, "target", 2);
|
|
25612
|
+
__decorateClass$m([
|
|
25613
|
+
property({ reflect: true })
|
|
25614
|
+
], NLDDListItem.prototype, "rel", 2);
|
|
25615
|
+
__decorateClass$m([
|
|
25535
25616
|
property({ type: Boolean, reflect: true })
|
|
25536
25617
|
], NLDDListItem.prototype, "reorderable", 2);
|
|
25537
|
-
__decorateClass$
|
|
25618
|
+
__decorateClass$m([
|
|
25538
25619
|
state()
|
|
25539
25620
|
], NLDDListItem.prototype, "_showStart", 2);
|
|
25540
|
-
__decorateClass$
|
|
25621
|
+
__decorateClass$m([
|
|
25541
25622
|
state()
|
|
25542
25623
|
], NLDDListItem.prototype, "_showEnd", 2);
|
|
25543
|
-
__decorateClass$
|
|
25624
|
+
__decorateClass$m([
|
|
25544
25625
|
state()
|
|
25545
25626
|
], NLDDListItem.prototype, "_parentType", 2);
|
|
25546
|
-
__decorateClass$
|
|
25627
|
+
__decorateClass$m([
|
|
25547
25628
|
query(".list-item__action")
|
|
25548
25629
|
], NLDDListItem.prototype, "_action", 2);
|
|
25549
|
-
NLDDListItem = __decorateClass$
|
|
25630
|
+
NLDDListItem = __decorateClass$m([
|
|
25550
25631
|
customElement("nldd-list-item")
|
|
25551
25632
|
], NLDDListItem);
|
|
25552
25633
|
const listItem = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -25707,14 +25788,14 @@ const nlddTableTranslations = {
|
|
|
25707
25788
|
"components.table.accessible-label": "Tabel",
|
|
25708
25789
|
"components.table.empty-text": "Geen items"
|
|
25709
25790
|
};
|
|
25710
|
-
var __defProp$
|
|
25791
|
+
var __defProp$l = Object.defineProperty;
|
|
25711
25792
|
var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
|
|
25712
|
-
var __decorateClass$
|
|
25793
|
+
var __decorateClass$l = (decorators, target, key, kind) => {
|
|
25713
25794
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
|
|
25714
25795
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
25715
25796
|
if (decorator = decorators[i])
|
|
25716
25797
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
25717
|
-
if (kind && result) __defProp$
|
|
25798
|
+
if (kind && result) __defProp$l(target, key, result);
|
|
25718
25799
|
return result;
|
|
25719
25800
|
};
|
|
25720
25801
|
const SM_MAX = parseInt(breakpoints.smMax, 10);
|
|
@@ -25857,37 +25938,37 @@ let NLDDTable = class extends LitElement {
|
|
|
25857
25938
|
}
|
|
25858
25939
|
};
|
|
25859
25940
|
NLDDTable.styles = tableStyles;
|
|
25860
|
-
__decorateClass$
|
|
25941
|
+
__decorateClass$l([
|
|
25861
25942
|
property({ type: String, reflect: true })
|
|
25862
25943
|
], NLDDTable.prototype, "background", 2);
|
|
25863
|
-
__decorateClass$
|
|
25944
|
+
__decorateClass$l([
|
|
25864
25945
|
property({ type: String, reflect: true })
|
|
25865
25946
|
], NLDDTable.prototype, "columns", 2);
|
|
25866
|
-
__decorateClass$
|
|
25947
|
+
__decorateClass$l([
|
|
25867
25948
|
property({ type: String, reflect: true, attribute: "sm-columns" })
|
|
25868
25949
|
], NLDDTable.prototype, "smColumns", 2);
|
|
25869
|
-
__decorateClass$
|
|
25950
|
+
__decorateClass$l([
|
|
25870
25951
|
property({ type: String, reflect: true, attribute: "md-columns" })
|
|
25871
25952
|
], NLDDTable.prototype, "mdColumns", 2);
|
|
25872
|
-
__decorateClass$
|
|
25953
|
+
__decorateClass$l([
|
|
25873
25954
|
property({ type: String, reflect: true, attribute: "lg-columns" })
|
|
25874
25955
|
], NLDDTable.prototype, "lgColumns", 2);
|
|
25875
|
-
__decorateClass$
|
|
25956
|
+
__decorateClass$l([
|
|
25876
25957
|
property({ type: String, reflect: true, attribute: "accessible-label" })
|
|
25877
25958
|
], NLDDTable.prototype, "accessibleLabel", 2);
|
|
25878
|
-
__decorateClass$
|
|
25959
|
+
__decorateClass$l([
|
|
25879
25960
|
property({ type: Boolean, reflect: true })
|
|
25880
25961
|
], NLDDTable.prototype, "selectable", 2);
|
|
25881
|
-
__decorateClass$
|
|
25962
|
+
__decorateClass$l([
|
|
25882
25963
|
property({ type: String, attribute: "empty-text" })
|
|
25883
25964
|
], NLDDTable.prototype, "emptyText", 2);
|
|
25884
|
-
__decorateClass$
|
|
25965
|
+
__decorateClass$l([
|
|
25885
25966
|
property({ type: String, attribute: "empty-supporting-text" })
|
|
25886
25967
|
], NLDDTable.prototype, "emptySupportingText", 2);
|
|
25887
|
-
__decorateClass$
|
|
25968
|
+
__decorateClass$l([
|
|
25888
25969
|
property({ type: Object })
|
|
25889
25970
|
], NLDDTable.prototype, "translations", 2);
|
|
25890
|
-
NLDDTable = __decorateClass$
|
|
25971
|
+
NLDDTable = __decorateClass$l([
|
|
25891
25972
|
customElement("nldd-table")
|
|
25892
25973
|
], NLDDTable);
|
|
25893
25974
|
let NLDDTableRow = class extends LitElement {
|
|
@@ -25941,10 +26022,10 @@ let NLDDTableRow = class extends LitElement {
|
|
|
25941
26022
|
}
|
|
25942
26023
|
};
|
|
25943
26024
|
NLDDTableRow.styles = tableRowStyles;
|
|
25944
|
-
__decorateClass$
|
|
26025
|
+
__decorateClass$l([
|
|
25945
26026
|
property({ type: Boolean, reflect: true })
|
|
25946
26027
|
], NLDDTableRow.prototype, "selected", 2);
|
|
25947
|
-
NLDDTableRow = __decorateClass$
|
|
26028
|
+
NLDDTableRow = __decorateClass$l([
|
|
25948
26029
|
customElement("nldd-table-row")
|
|
25949
26030
|
], NLDDTableRow);
|
|
25950
26031
|
const cellStyles = css`
|
|
@@ -26039,14 +26120,14 @@ const cellStyles = css`
|
|
|
26039
26120
|
}
|
|
26040
26121
|
`;
|
|
26041
26122
|
const template$9 = () => html`<slot></slot>`;
|
|
26042
|
-
var __defProp$
|
|
26123
|
+
var __defProp$k = Object.defineProperty;
|
|
26043
26124
|
var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
|
|
26044
|
-
var __decorateClass$
|
|
26125
|
+
var __decorateClass$k = (decorators, target, key, kind) => {
|
|
26045
26126
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
|
|
26046
26127
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26047
26128
|
if (decorator = decorators[i])
|
|
26048
26129
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26049
|
-
if (kind && result) __defProp$
|
|
26130
|
+
if (kind && result) __defProp$k(target, key, result);
|
|
26050
26131
|
return result;
|
|
26051
26132
|
};
|
|
26052
26133
|
let NLDDCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
@@ -26095,25 +26176,25 @@ let NLDDCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
|
26095
26176
|
}
|
|
26096
26177
|
};
|
|
26097
26178
|
NLDDCell.styles = [cellStyles];
|
|
26098
|
-
__decorateClass$
|
|
26179
|
+
__decorateClass$k([
|
|
26099
26180
|
property({ type: String, reflect: true })
|
|
26100
26181
|
], NLDDCell.prototype, "width", 2);
|
|
26101
|
-
__decorateClass$
|
|
26182
|
+
__decorateClass$k([
|
|
26102
26183
|
property({ type: String, reflect: true, attribute: "min-width" })
|
|
26103
26184
|
], NLDDCell.prototype, "minWidth", 2);
|
|
26104
|
-
__decorateClass$
|
|
26185
|
+
__decorateClass$k([
|
|
26105
26186
|
property({ type: String, reflect: true, attribute: "max-width" })
|
|
26106
26187
|
], NLDDCell.prototype, "maxWidth", 2);
|
|
26107
|
-
__decorateClass$
|
|
26188
|
+
__decorateClass$k([
|
|
26108
26189
|
property({ type: String, reflect: true, attribute: "min-height" })
|
|
26109
26190
|
], NLDDCell.prototype, "minHeight", 2);
|
|
26110
|
-
__decorateClass$
|
|
26191
|
+
__decorateClass$k([
|
|
26111
26192
|
property({ reflect: true, attribute: "vertical-alignment" })
|
|
26112
26193
|
], NLDDCell.prototype, "verticalAlignment", 2);
|
|
26113
|
-
__decorateClass$
|
|
26194
|
+
__decorateClass$k([
|
|
26114
26195
|
property({ reflect: true, attribute: "horizontal-alignment" })
|
|
26115
26196
|
], NLDDCell.prototype, "horizontalAlignment", 2);
|
|
26116
|
-
NLDDCell = __decorateClass$
|
|
26197
|
+
NLDDCell = __decorateClass$k([
|
|
26117
26198
|
customElement("nldd-cell")
|
|
26118
26199
|
], NLDDCell);
|
|
26119
26200
|
const titleCellStyles = css`
|
|
@@ -26340,14 +26421,14 @@ const template$8 = function() {
|
|
|
26340
26421
|
</p>
|
|
26341
26422
|
`;
|
|
26342
26423
|
};
|
|
26343
|
-
var __defProp$
|
|
26424
|
+
var __defProp$j = Object.defineProperty;
|
|
26344
26425
|
var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
|
|
26345
|
-
var __decorateClass$
|
|
26426
|
+
var __decorateClass$j = (decorators, target, key, kind) => {
|
|
26346
26427
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
|
|
26347
26428
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26348
26429
|
if (decorator = decorators[i])
|
|
26349
26430
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26350
|
-
if (kind && result) __defProp$
|
|
26431
|
+
if (kind && result) __defProp$j(target, key, result);
|
|
26351
26432
|
return result;
|
|
26352
26433
|
};
|
|
26353
26434
|
let NLDDTitleCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
@@ -26427,58 +26508,58 @@ let NLDDTitleCell = class extends VisibilityMixin(LitElement, "cells-container")
|
|
|
26427
26508
|
}
|
|
26428
26509
|
};
|
|
26429
26510
|
NLDDTitleCell.styles = [titleCellStyles];
|
|
26430
|
-
__decorateClass$
|
|
26511
|
+
__decorateClass$j([
|
|
26431
26512
|
property({ type: Number, reflect: true })
|
|
26432
26513
|
], NLDDTitleCell.prototype, "size", 2);
|
|
26433
|
-
__decorateClass$
|
|
26514
|
+
__decorateClass$j([
|
|
26434
26515
|
property({ type: String, reflect: true })
|
|
26435
26516
|
], NLDDTitleCell.prototype, "color", 2);
|
|
26436
|
-
__decorateClass$
|
|
26517
|
+
__decorateClass$j([
|
|
26437
26518
|
property({ type: String, reflect: true })
|
|
26438
26519
|
], NLDDTitleCell.prototype, "width", 2);
|
|
26439
|
-
__decorateClass$
|
|
26520
|
+
__decorateClass$j([
|
|
26440
26521
|
property({ type: String, reflect: true, attribute: "min-width" })
|
|
26441
26522
|
], NLDDTitleCell.prototype, "minWidth", 2);
|
|
26442
|
-
__decorateClass$
|
|
26523
|
+
__decorateClass$j([
|
|
26443
26524
|
property({ type: String, reflect: true, attribute: "max-width" })
|
|
26444
26525
|
], NLDDTitleCell.prototype, "maxWidth", 2);
|
|
26445
|
-
__decorateClass$
|
|
26526
|
+
__decorateClass$j([
|
|
26446
26527
|
property({ type: String, reflect: true, attribute: "min-height" })
|
|
26447
26528
|
], NLDDTitleCell.prototype, "minHeight", 2);
|
|
26448
|
-
__decorateClass$
|
|
26529
|
+
__decorateClass$j([
|
|
26449
26530
|
property({ type: String, reflect: true, attribute: "horizontal-alignment" })
|
|
26450
26531
|
], NLDDTitleCell.prototype, "horizontalAlignment", 2);
|
|
26451
|
-
__decorateClass$
|
|
26532
|
+
__decorateClass$j([
|
|
26452
26533
|
property({ type: String, reflect: true, attribute: "vertical-alignment" })
|
|
26453
26534
|
], NLDDTitleCell.prototype, "verticalAlignment", 2);
|
|
26454
|
-
__decorateClass$
|
|
26535
|
+
__decorateClass$j([
|
|
26455
26536
|
property({ type: String })
|
|
26456
26537
|
], NLDDTitleCell.prototype, "text", 2);
|
|
26457
|
-
__decorateClass$
|
|
26538
|
+
__decorateClass$j([
|
|
26458
26539
|
property({ type: String })
|
|
26459
26540
|
], NLDDTitleCell.prototype, "overline", 2);
|
|
26460
|
-
__decorateClass$
|
|
26541
|
+
__decorateClass$j([
|
|
26461
26542
|
property({ type: String, attribute: "supporting-text" })
|
|
26462
26543
|
], NLDDTitleCell.prototype, "supportingText", 2);
|
|
26463
|
-
__decorateClass$
|
|
26544
|
+
__decorateClass$j([
|
|
26464
26545
|
property({ type: Number, attribute: "heading-level" })
|
|
26465
26546
|
], NLDDTitleCell.prototype, "headingLevel", 2);
|
|
26466
|
-
__decorateClass$
|
|
26547
|
+
__decorateClass$j([
|
|
26467
26548
|
property({ type: String })
|
|
26468
26549
|
], NLDDTitleCell.prototype, "query", 2);
|
|
26469
|
-
__decorateClass$
|
|
26550
|
+
__decorateClass$j([
|
|
26470
26551
|
property({ type: String, attribute: "query-mark-mode" })
|
|
26471
26552
|
], NLDDTitleCell.prototype, "queryMarkMode", 2);
|
|
26472
|
-
__decorateClass$
|
|
26553
|
+
__decorateClass$j([
|
|
26473
26554
|
state()
|
|
26474
26555
|
], NLDDTitleCell.prototype, "_hasOverlineSlotted", 2);
|
|
26475
|
-
__decorateClass$
|
|
26556
|
+
__decorateClass$j([
|
|
26476
26557
|
state()
|
|
26477
26558
|
], NLDDTitleCell.prototype, "_hasDefaultSlotted", 2);
|
|
26478
|
-
__decorateClass$
|
|
26559
|
+
__decorateClass$j([
|
|
26479
26560
|
state()
|
|
26480
26561
|
], NLDDTitleCell.prototype, "_hasSupportingTextSlotted", 2);
|
|
26481
|
-
NLDDTitleCell = __decorateClass$
|
|
26562
|
+
NLDDTitleCell = __decorateClass$j([
|
|
26482
26563
|
customElement("nldd-title-cell")
|
|
26483
26564
|
], NLDDTitleCell);
|
|
26484
26565
|
const descriptionCellStyles = css`
|
|
@@ -26590,14 +26671,14 @@ const template$7 = () => html`
|
|
|
26590
26671
|
<slot name="title"></slot>
|
|
26591
26672
|
<slot name="description"></slot>
|
|
26592
26673
|
`;
|
|
26593
|
-
var __defProp$
|
|
26674
|
+
var __defProp$i = Object.defineProperty;
|
|
26594
26675
|
var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
|
|
26595
|
-
var __decorateClass$
|
|
26676
|
+
var __decorateClass$i = (decorators, target, key, kind) => {
|
|
26596
26677
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
|
|
26597
26678
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26598
26679
|
if (decorator = decorators[i])
|
|
26599
26680
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26600
|
-
if (kind && result) __defProp$
|
|
26681
|
+
if (kind && result) __defProp$i(target, key, result);
|
|
26601
26682
|
return result;
|
|
26602
26683
|
};
|
|
26603
26684
|
let NLDDDescriptionCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
@@ -26645,22 +26726,22 @@ let NLDDDescriptionCell = class extends VisibilityMixin(LitElement, "cells-conta
|
|
|
26645
26726
|
}
|
|
26646
26727
|
};
|
|
26647
26728
|
NLDDDescriptionCell.styles = [descriptionCellStyles];
|
|
26648
|
-
__decorateClass$
|
|
26729
|
+
__decorateClass$i([
|
|
26649
26730
|
property({ type: String, reflect: true })
|
|
26650
26731
|
], NLDDDescriptionCell.prototype, "width", 2);
|
|
26651
|
-
__decorateClass$
|
|
26732
|
+
__decorateClass$i([
|
|
26652
26733
|
property({ type: String, reflect: true, attribute: "min-width" })
|
|
26653
26734
|
], NLDDDescriptionCell.prototype, "minWidth", 2);
|
|
26654
|
-
__decorateClass$
|
|
26735
|
+
__decorateClass$i([
|
|
26655
26736
|
property({ type: String, reflect: true, attribute: "max-width" })
|
|
26656
26737
|
], NLDDDescriptionCell.prototype, "maxWidth", 2);
|
|
26657
|
-
__decorateClass$
|
|
26738
|
+
__decorateClass$i([
|
|
26658
26739
|
property({ type: String, reflect: true, attribute: "min-height" })
|
|
26659
26740
|
], NLDDDescriptionCell.prototype, "minHeight", 2);
|
|
26660
|
-
__decorateClass$
|
|
26741
|
+
__decorateClass$i([
|
|
26661
26742
|
property({ reflect: true, attribute: "vertical-alignment" })
|
|
26662
26743
|
], NLDDDescriptionCell.prototype, "verticalAlignment", 2);
|
|
26663
|
-
NLDDDescriptionCell = __decorateClass$
|
|
26744
|
+
NLDDDescriptionCell = __decorateClass$i([
|
|
26664
26745
|
customElement("nldd-description-cell")
|
|
26665
26746
|
], NLDDDescriptionCell);
|
|
26666
26747
|
const dragHandleCellStyles = css`
|
|
@@ -26772,14 +26853,14 @@ function template$6(size2, label) {
|
|
|
26772
26853
|
const nlddDragHandleCellTranslations = {
|
|
26773
26854
|
"components.drag-handle-cell.label-text": "Sleepgreep, druk spatie of enter om te verplaatsen"
|
|
26774
26855
|
};
|
|
26775
|
-
var __defProp$
|
|
26856
|
+
var __defProp$h = Object.defineProperty;
|
|
26776
26857
|
var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
|
|
26777
|
-
var __decorateClass$
|
|
26858
|
+
var __decorateClass$h = (decorators, target, key, kind) => {
|
|
26778
26859
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
|
|
26779
26860
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26780
26861
|
if (decorator = decorators[i])
|
|
26781
26862
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26782
|
-
if (kind && result) __defProp$
|
|
26863
|
+
if (kind && result) __defProp$h(target, key, result);
|
|
26783
26864
|
return result;
|
|
26784
26865
|
};
|
|
26785
26866
|
let NLDDDragHandleCell = class extends LitElement {
|
|
@@ -26798,13 +26879,13 @@ let NLDDDragHandleCell = class extends LitElement {
|
|
|
26798
26879
|
}
|
|
26799
26880
|
};
|
|
26800
26881
|
NLDDDragHandleCell.styles = dragHandleCellStyles;
|
|
26801
|
-
__decorateClass$
|
|
26882
|
+
__decorateClass$h([
|
|
26802
26883
|
property({ type: String, reflect: true })
|
|
26803
26884
|
], NLDDDragHandleCell.prototype, "size", 2);
|
|
26804
|
-
__decorateClass$
|
|
26885
|
+
__decorateClass$h([
|
|
26805
26886
|
property({ type: Object })
|
|
26806
26887
|
], NLDDDragHandleCell.prototype, "translations", 2);
|
|
26807
|
-
NLDDDragHandleCell = __decorateClass$
|
|
26888
|
+
NLDDDragHandleCell = __decorateClass$h([
|
|
26808
26889
|
customElement("nldd-drag-handle-cell")
|
|
26809
26890
|
], NLDDDragHandleCell);
|
|
26810
26891
|
const timelineTrackCellStyles = css`
|
|
@@ -26917,14 +26998,14 @@ function timelineTrackCellTemplate(component) {
|
|
|
26917
26998
|
</div>
|
|
26918
26999
|
`;
|
|
26919
27000
|
}
|
|
26920
|
-
var __defProp$
|
|
27001
|
+
var __defProp$g = Object.defineProperty;
|
|
26921
27002
|
var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
|
|
26922
|
-
var __decorateClass$
|
|
27003
|
+
var __decorateClass$g = (decorators, target, key, kind) => {
|
|
26923
27004
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
|
|
26924
27005
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26925
27006
|
if (decorator = decorators[i])
|
|
26926
27007
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26927
|
-
if (kind && result) __defProp$
|
|
27008
|
+
if (kind && result) __defProp$g(target, key, result);
|
|
26928
27009
|
return result;
|
|
26929
27010
|
};
|
|
26930
27011
|
let NLDDTimelineTrackCell = class extends LitElement {
|
|
@@ -26938,13 +27019,13 @@ let NLDDTimelineTrackCell = class extends LitElement {
|
|
|
26938
27019
|
}
|
|
26939
27020
|
};
|
|
26940
27021
|
NLDDTimelineTrackCell.styles = timelineTrackCellStyles;
|
|
26941
|
-
__decorateClass$
|
|
27022
|
+
__decorateClass$g([
|
|
26942
27023
|
property({ type: String, reflect: true })
|
|
26943
27024
|
], NLDDTimelineTrackCell.prototype, "step", 2);
|
|
26944
|
-
__decorateClass$
|
|
27025
|
+
__decorateClass$g([
|
|
26945
27026
|
property({ type: String, reflect: true })
|
|
26946
27027
|
], NLDDTimelineTrackCell.prototype, "child", 2);
|
|
26947
|
-
NLDDTimelineTrackCell = __decorateClass$
|
|
27028
|
+
NLDDTimelineTrackCell = __decorateClass$g([
|
|
26948
27029
|
customElement("nldd-timeline-track-cell")
|
|
26949
27030
|
], NLDDTimelineTrackCell);
|
|
26950
27031
|
const separatorStyles = css`
|
|
@@ -27128,14 +27209,14 @@ const nlddBreadcrumbsTranslations = {
|
|
|
27128
27209
|
"components.breadcrumbs.accessible-label": "Kruimelpad",
|
|
27129
27210
|
"components.breadcrumbs.show-all-levels": "Toon alle niveaus"
|
|
27130
27211
|
};
|
|
27131
|
-
var __defProp$
|
|
27212
|
+
var __defProp$f = Object.defineProperty;
|
|
27132
27213
|
var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
|
|
27133
|
-
var __decorateClass$
|
|
27214
|
+
var __decorateClass$f = (decorators, target, key, kind) => {
|
|
27134
27215
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
|
|
27135
27216
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
27136
27217
|
if (decorator = decorators[i])
|
|
27137
27218
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
27138
|
-
if (kind && result) __defProp$
|
|
27219
|
+
if (kind && result) __defProp$f(target, key, result);
|
|
27139
27220
|
return result;
|
|
27140
27221
|
};
|
|
27141
27222
|
const _NLDDBreadcrumbsItem = class _NLDDBreadcrumbsItem extends LitElement {
|
|
@@ -27181,13 +27262,13 @@ const _NLDDBreadcrumbsItem = class _NLDDBreadcrumbsItem extends LitElement {
|
|
|
27181
27262
|
};
|
|
27182
27263
|
_NLDDBreadcrumbsItem.styles = breadcrumbsItemStyles;
|
|
27183
27264
|
let NLDDBreadcrumbsItem = _NLDDBreadcrumbsItem;
|
|
27184
|
-
__decorateClass$
|
|
27265
|
+
__decorateClass$f([
|
|
27185
27266
|
property({ type: String, reflect: true })
|
|
27186
27267
|
], NLDDBreadcrumbsItem.prototype, "href", 2);
|
|
27187
|
-
__decorateClass$
|
|
27268
|
+
__decorateClass$f([
|
|
27188
27269
|
property({ type: Boolean, reflect: true })
|
|
27189
27270
|
], NLDDBreadcrumbsItem.prototype, "current", 2);
|
|
27190
|
-
__decorateClass$
|
|
27271
|
+
__decorateClass$f([
|
|
27191
27272
|
property({ type: String, reflect: true })
|
|
27192
27273
|
], NLDDBreadcrumbsItem.prototype, "text", 2);
|
|
27193
27274
|
if (!customElements.get("nldd-breadcrumbs-item")) {
|
|
@@ -27253,19 +27334,19 @@ let NLDDBreadcrumbs = class extends LitElement {
|
|
|
27253
27334
|
}
|
|
27254
27335
|
};
|
|
27255
27336
|
NLDDBreadcrumbs.styles = breadcrumbsStyles;
|
|
27256
|
-
__decorateClass$
|
|
27337
|
+
__decorateClass$f([
|
|
27257
27338
|
property({ type: String, attribute: "accessible-label" })
|
|
27258
27339
|
], NLDDBreadcrumbs.prototype, "accessibleLabel", 2);
|
|
27259
|
-
__decorateClass$
|
|
27340
|
+
__decorateClass$f([
|
|
27260
27341
|
property({ type: Boolean, reflect: true, attribute: "no-collapse" })
|
|
27261
27342
|
], NLDDBreadcrumbs.prototype, "noCollapse", 2);
|
|
27262
|
-
__decorateClass$
|
|
27343
|
+
__decorateClass$f([
|
|
27263
27344
|
property({ type: Object })
|
|
27264
27345
|
], NLDDBreadcrumbs.prototype, "translations", 2);
|
|
27265
|
-
__decorateClass$
|
|
27346
|
+
__decorateClass$f([
|
|
27266
27347
|
state()
|
|
27267
27348
|
], NLDDBreadcrumbs.prototype, "_collapsed", 2);
|
|
27268
|
-
NLDDBreadcrumbs = __decorateClass$
|
|
27349
|
+
NLDDBreadcrumbs = __decorateClass$f([
|
|
27269
27350
|
customElement("nldd-breadcrumbs")
|
|
27270
27351
|
], NLDDBreadcrumbs);
|
|
27271
27352
|
const menuBarStyles = css`
|
|
@@ -27335,44 +27416,6 @@ function template$5(component) {
|
|
|
27335
27416
|
</nav>
|
|
27336
27417
|
`;
|
|
27337
27418
|
}
|
|
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
27419
|
const nlddMenuBarTranslations = {
|
|
27377
27420
|
"components.menu-bar.overflow-action": "Meer opties"
|
|
27378
27421
|
};
|