@nldd/design-system 0.12.0 → 0.13.0
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/custom-elements.json +556 -14
- package/dist/components/actions/button-group/button-group.d.ts +4 -3
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +4 -3
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +6 -6
- package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +3 -0
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/components.js +3307 -1742
- package/dist/components/content/avatar/avatar.d.ts +2 -1
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +12 -1
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +30 -2
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.i18n.d.ts +1 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.i18n.js +1 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +96 -7
- package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js +35 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.d.ts +1 -0
- package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.js +52 -29
- package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +46 -13
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +19 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +10 -0
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +10 -2
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +2 -0
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/{icon-DFhgRf3P.js → icon-BJHKWhY5.js} +21 -2
- package/dist/components/{icon-button-Sxkh5cVr.js → icon-button-DhBIq6lN.js} +75 -2
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +36 -6
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +2 -2
- package/dist/components/inputs/date-picker/date-picker.i18n.d.ts +1 -1
- package/dist/components/inputs/date-picker/date-picker.i18n.js +1 -1
- package/dist/components/inputs/date-picker/date-picker.i18n.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +86 -10
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.drop.d.ts +34 -0
- package/dist/components/inputs/file-field/file-field.drop.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.drop.js +176 -0
- package/dist/components/inputs/file-field/file-field.drop.js.map +1 -0
- package/dist/components/inputs/file-field/file-field.i18n.d.ts +20 -1
- package/dist/components/inputs/file-field/file-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.i18n.js +20 -1
- package/dist/components/inputs/file-field/file-field.i18n.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +283 -15
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +245 -10
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.d.ts +1 -0
- package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.js +167 -28
- package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.truncate.d.ts +22 -0
- package/dist/components/inputs/file-field/file-field.truncate.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.truncate.js +62 -0
- package/dist/components/inputs/file-field/file-field.truncate.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.code-copy.d.ts +10 -0
- package/dist/components/inputs/text-editor/text-editor.code-copy.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.code-copy.js +141 -0
- package/dist/components/inputs/text-editor/text-editor.code-copy.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +55 -7
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +5 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.js +7 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +34 -3
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +6 -2
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.selection.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.selection.js +11 -1
- package/dist/components/inputs/text-editor/text-editor.selection.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +130 -7
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.tasks.d.ts +17 -0
- package/dist/components/inputs/text-editor/text-editor.tasks.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.tasks.js +109 -0
- package/dist/components/inputs/text-editor/text-editor.tasks.js.map +1 -0
- package/dist/components/layout/page-sections/hero/hero-corner.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js +61 -0
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +6 -0
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +16 -0
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +13 -0
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +5 -0
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +2 -0
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +3 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +2 -2
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.js +4 -2
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/css/themes/donkergeel.css +5 -0
- package/dist/css/themes/geel.css +5 -0
- package/dist/css/themes.css +10 -0
- package/dist/css/variables.css +11 -11
- package/dist/nldd.min.js +1909 -1317
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +29 -4
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +29 -4
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +29 -4
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +29 -4
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +29 -4
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/vue.d.ts +12 -12
- package/dist/utilities/carried-context.d.ts +20 -0
- package/dist/utilities/carried-context.d.ts.map +1 -0
- package/dist/utilities/carried-context.js +76 -0
- package/dist/utilities/carried-context.js.map +1 -0
- package/dist/utilities/codemirror/languages.d.ts +5 -1
- package/dist/utilities/codemirror/languages.d.ts.map +1 -1
- package/dist/utilities/codemirror/languages.js +21 -1
- package/dist/utilities/codemirror/languages.js.map +1 -1
- package/dist/utilities/dismiss-from-title-bar.d.ts +1 -1
- package/dist/utilities/dismiss-from-title-bar.js +1 -1
- package/package.json +1 -1
|
@@ -192,6 +192,7 @@ var aliases = {
|
|
|
192
192
|
"success": "check-mark-circle",
|
|
193
193
|
"valid": "check-mark-circle",
|
|
194
194
|
"done": "check-mark-circle",
|
|
195
|
+
"check-circle-filled": "check-mark-circle-filled",
|
|
195
196
|
"done-light": "check-mark-circle-light",
|
|
196
197
|
"checked-extra-small": "check-mark-extra-small",
|
|
197
198
|
"checked-small": "check-mark-small",
|
|
@@ -258,6 +259,10 @@ var aliases = {
|
|
|
258
259
|
"upload-document": "file-badge-arrow-up",
|
|
259
260
|
"remove-document": "file-badge-minus",
|
|
260
261
|
"new-document": "file-badge-plus",
|
|
262
|
+
"gif-document": "file-gif",
|
|
263
|
+
"heic-document": "file-heic",
|
|
264
|
+
"jpg-document": "file-jpg",
|
|
265
|
+
"jpeg-document": "file-jpg",
|
|
261
266
|
"markdown-document": "file-markdown",
|
|
262
267
|
"odf-document": "file-odf",
|
|
263
268
|
"odg-document": "file-odg",
|
|
@@ -265,12 +270,18 @@ var aliases = {
|
|
|
265
270
|
"ods-document": "file-ods",
|
|
266
271
|
"odt-document": "file-odt",
|
|
267
272
|
"documents": "file-on-file",
|
|
273
|
+
"files": "file-on-file",
|
|
268
274
|
"pdf-document": "file-pdf",
|
|
275
|
+
"png-document": "file-png",
|
|
276
|
+
"svg-document": "file-svg",
|
|
269
277
|
"text-document": "file-text",
|
|
270
278
|
"checked-text-document": "file-text-badge-check-mark",
|
|
271
279
|
"new-text-document": "file-text-badge-check-plus",
|
|
272
280
|
"edit-text-document": "file-text-pencil",
|
|
273
281
|
"text-documents": "file-text-on-file-text",
|
|
282
|
+
"tiff-document": "file-tiff",
|
|
283
|
+
"tif-document": "file-tiff",
|
|
284
|
+
"webp-document": "file-webp",
|
|
274
285
|
"primary": "square-1",
|
|
275
286
|
"categories": "triangle-square-circle",
|
|
276
287
|
"flagged": "flag-filled",
|
|
@@ -536,13 +547,14 @@ var iconRegistry = /* @__PURE__ */ new Map([
|
|
|
536
547
|
["certificate", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M15 11a3 3 0 0 1 2 5.23V21l-2-1-2 1v-4.77A2.99 2.99 0 0 1 15 11m0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2\"/>\n <path fill=\"currentColor\" d=\"M19 3a3 3 0 0 1 3 3v10c0 1.67-1.33 3-3 3h-1v-2h1a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h7v2H5c-1.67 0-3-1.33-3-3V6a3 3 0 0 1 3-3z\"/>\n <path fill=\"currentColor\" d=\"M10 13H6v-2h4zM18 9H6V7h12z\"/>\n</svg>"],
|
|
537
548
|
["chart-bar-x-axis", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M22 21H2v-2h20zM6 17H3v-6h3zM11 17H8V2h3zM16 17h-3V6h3zM21 17h-3V9h3z\"/>\n</svg>"],
|
|
538
549
|
["chart-line-x-y-axis", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M4 19h18v2H2V3h2z\"/>\n <path fill=\"currentColor\" d=\"M20.7 7.7 14 14.42l-3-3-3.3 3.3-1.4-1.42L11 8.6l3 3 5.3-5.3z\"/>\n</svg>"],
|
|
539
|
-
["check-circle-filled", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20m-1.3 11.3L8.42 11 7 12.41l3.7 3.71 6.71-6.7L16 8z\"/>\n</svg>"],
|
|
540
550
|
["check-list", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M5 14a3 3 0 1 1 0 6 3 3 0 0 1 0-6m0 1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3\"/>\n <path fill=\"currentColor\" d=\"M16 20h-6v-2h6zM22 16H10v-2h12zM18 10h-8V8h8zM8.56 5 4.5 9.06 1.94 6.5 3 5.44l1.5 1.5 3-3zM22 6H10V4h12z\"/>\n</svg>"],
|
|
541
551
|
["check-mark", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M21.707 6.707 10 18.414l-6.707-6.707 1.414-1.414L10 15.586 20.293 5.293z\"/>\n</svg>"],
|
|
542
552
|
["check-mark-circle", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12m14.707-2.113L11 15.594l-3.707-3.707 1.414-1.415L11 12.765l4.293-4.293z\"/>\n</svg>"],
|
|
553
|
+
["check-mark-circle-filled", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20m-1.3 11.3L8.42 11 7 12.41l3.7 3.71 6.71-6.7L16 8z\"/>\n</svg>"],
|
|
543
554
|
["check-mark-circle-light", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\">\n <path fill=\"currentColor\" d=\"m23.2 11.71-9.7 9.7-4.71-4.7 1.41-1.42 3.3 3.3 8.29-8.3z\"/>\n <path fill=\"currentColor\" d=\"M16 3a13 13 0 1 1 0 26 13 13 0 0 1 0-26m0 2a11 11 0 1 0 0 22 11 11 0 0 0 0-22\"/>\n</svg>"],
|
|
544
|
-
["check-mark-extra-small", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"
|
|
555
|
+
["check-mark-extra-small", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M17.7 8.66 10 16.37l-3.7-3.7 1.4-1.42 2.3 2.3 6.3-6.3z\"/>\n</svg>"],
|
|
545
556
|
["check-mark-small", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"m19.204 7.707-9.707 9.707-4.707-4.707 1.414-1.414 3.293 3.293 8.293-8.293z\"/>\n</svg>"],
|
|
557
|
+
["check-mark-square", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M17.7 8.66 10 16.37l-3.7-3.7 1.4-1.42 2.3 2.3 6.3-6.3z\"/>\n <path fill=\"currentColor\" d=\"M18.15 3A3 3 0 0 1 21 6v12.15A3 3 0 0 1 18.15 21H6a3 3 0 0 1-3-2.85V6a3 3 0 0 1 3-3h12.15M6 5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1z\"/>\n</svg>"],
|
|
546
558
|
["chevron-double-left", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M14 3.4 5.429 12 14 20.6 12.6 22l-10-10.001L12.6 2z\"/>\n <path fill=\"currentColor\" d=\"M22 3.4 13.429 12 22 20.6 20.6 22l-10-10.001L20.6 2z\"/>\n</svg>"],
|
|
547
559
|
["chevron-double-left-extra-small", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M12 7.4 7.429 12 12 16.6 10.6 18l-6-6.001L10.6 6z\"/>\n <path fill=\"currentColor\" d=\"M18 7.4 13.429 12 18 16.6 16.6 18l-6-6.001L16.6 6z\"/>\n</svg>"],
|
|
548
560
|
["chevron-double-left-small", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M14 5.4 7.429 12 14 18.6 12.6 20l-8-8.001L12.6 4z\"/>\n <path fill=\"currentColor\" d=\"M21 5.4 14.429 12 21 18.6 19.6 20l-8-8.001L19.6 4z\"/>\n</svg>"],
|
|
@@ -633,6 +645,9 @@ var iconRegistry = /* @__PURE__ */ new Map([
|
|
|
633
645
|
["file-badge-minus", "<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-3 5.75h6v-1.5h-6z\"/>\n <path fill=\"currentColor\" d=\"M14.567 2c.277 0 .543.11.739.306l4.388 4.388c.196.196.306.462.306.739v4.909A6 6 0 0 0 18 12V9h-3a2 2 0 0 1-2-2V4H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h5.343c.263.745.67 1.423 1.186 2H7c-1.66 0-3-1.34-3-3V5a3 3 0 0 1 3-3zM15 7h2.17L15 4.83z\"/>\n</svg>"],
|
|
634
646
|
["file-badge-plus", "<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 4.25H15v1.5h2.25V21h1.5v-2.25H21v-1.5h-2.25V15h-1.5z\"/>\n <path fill=\"currentColor\" d=\"M14.567 2c.277 0 .543.11.739.306l4.388 4.388c.196.196.306.462.306.739v4.909A6 6 0 0 0 18 12V9h-3a2 2 0 0 1-2-2V4H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h5.343c.263.745.67 1.423 1.186 2H7c-1.66 0-3-1.34-3-3V5a3 3 0 0 1 3-3zM15 7h2.17L15 4.83z\"/>\n</svg>"],
|
|
635
647
|
["file-box", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M15 12a1 1 0 0 1-1 1h-4a1 1 0 1 1 0-2h4a1 1 0 0 1 1 1\"/>\n <path fill=\"currentColor\" d=\"M19 3a3 3 0 0 1 3 3v2c0 .56-.44 1-1 1v9c0 1.67-1.33 3-3 3H6c-1.67 0-3-1.33-3-3V9c-.56 0-1-.44-1-1V6a3 3 0 0 1 3-3zM5 18a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9H5zM5 5a1 1 0 0 0-1 1v1h16V6a1 1 0 0 0-1-1z\"/>\n</svg>"],
|
|
648
|
+
["file-gif", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M10.75 15H9.5c-.82 0-1.5.68-1.5 1.5S8.68 18 9.5 18h.5v-1h-.75v-.75H11V19H9.5A2.53 2.53 0 0 1 7 16.5C7 15.14 8.14 14 9.5 14h1.25zM13 19h-1v-5h1zM17 15h-1.9v1h1.63v1h-1.64v2H14v-5h3z\"/>\n <path fill=\"currentColor\" d=\"M14.57 2q.42 0 .74.3l4.38 4.4q.3.3.31.73v4.34A3 3 0 0 1 21 14v5a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-5c0-.89.39-1.68 1-2.23V5a3 3 0 0 1 3-3zM6 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1zm1-9a1 1 0 0 0-1 1v6h12V9h-3a2 2 0 0 1-2-2V4zm8 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
649
|
+
["file-heic", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M6 16h2v-2h1v5H8v-2.12H6V19H5v-5h1zM12.75 14.75H11V16h1.5v.75H11v1.5h1.75V19H10v-5h2.75zM14.75 19h-1v-5h1zM19 15h-.93c-.76 0-1.4.68-1.4 1.5s.64 1.5 1.4 1.5H19v1h-.93c-1.26 0-2.32-1.14-2.32-2.5s1.06-2.5 2.32-2.5H19z\"/>\n <path fill=\"currentColor\" d=\"M14.57 2q.42 0 .74.3l4.38 4.4q.3.3.31.73v3.74A3 3 0 0 1 22 14v5a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-5a3 3 0 0 1 2-2.83V5a3 3 0 0 1 3-3zM5 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1zm2-9a1 1 0 0 0-1 1v6h12V9h-3a2 2 0 0 1-2-2V4zm8 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
650
|
+
["file-jpg", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M8.5 17.63c0 .74-.63 1.37-1.37 1.37H6.5v-1h.63c.2 0 .37-.17.37-.37V14h1z\"/>\n <path fill=\"currentColor\" d=\"M11.6 14c.78.07 1.4.77 1.4 1.63s-.62 1.55-1.4 1.62h-1.17V19H9.5v-5zm-1.17 2.25h1.07c.3 0 .57-.28.57-.62 0-.35-.26-.63-.57-.63h-1.07z\"/>\n <path fill=\"currentColor\" d=\"M17.25 15H16c-.82 0-1.5.68-1.5 1.5S15.18 18 16 18h.5v-1h-.75v-.75h1.75V19H16a2.53 2.53 0 0 1-2.5-2.5c0-1.36 1.14-2.5 2.5-2.5h1.25z\"/>\n <path fill=\"currentColor\" d=\"M14.57 2q.42 0 .74.3l4.38 4.4q.3.3.31.73v4.34A3 3 0 0 1 21 14v5a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-5c0-.89.39-1.68 1-2.23V5a3 3 0 0 1 3-3zM6 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1zm1-9a1 1 0 0 0-1 1v6h12V9h-3a2 2 0 0 1-2-2V4zm8 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
636
651
|
["file-markdown", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"m9.5 16.5.7-2.5H12v5h-1.11v-3.75l-.7 2.5H8.81l-.7-2.5V19H7v-5h1.8z\"/>\n <path fill=\"currentColor\" d=\"M14.5 14a2.5 2.5 0 0 1 0 5H13v-5zm-.5 4h.5a1.5 1.5 0 0 0 0-3H14z\"/>\n <path fill=\"currentColor\" d=\"M15.59 2.59 19.4 6.4A2 2 0 0 1 20 7.83v4.51q.49.73.5 1.66v5c0 1.67-1.33 3-3 3h-11c-1.67 0-3-1.33-3-3v-5q.01-.93.5-1.66V5a3 3 0 0 1 3-3h7.17q.81.03 1.42.59M6.5 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1zM7 4a1 1 0 0 0-1 1v6.04q.24-.04.5-.04h11q.26 0 .5.04V9h-3a2 2 0 0 1-2-2V4zm8 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
637
652
|
["file-odf", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M7.5 14a2.44 2.44 0 0 1 2.37 2.5c0 1.38-1.06 2.5-2.37 2.5a2.44 2.44 0 0 1-2.38-2.5c0-1.38 1.06-2.5 2.38-2.5m0 1c-.72 0-1.38.62-1.38 1.5S6.78 18 7.5 18c.7 0 1.37-.62 1.37-1.5S8.21 15 7.5 15M12.25 14a2.5 2.5 0 0 1 0 5h-1.5v-5zm-.5 4h.5a1.5 1.5 0 0 0 0-3h-.5z\"/>\n <path fill=\"currentColor\" d=\"M18.75 15h-1.9v1h1.63v1h-1.64v2h-1.09v-5h3z\"/>\n <path fill=\"currentColor\" d=\"M14.57 2q.42 0 .74.3l4.38 4.4q.3.3.31.73v3.74c1.16.43 2 1.53 2 2.83v5c0 1.67-1.33 3-3 3H5c-1.67 0-3-1.33-3-3v-5c0-1.3.84-2.4 2-2.83V5a3 3 0 0 1 3-3zM5 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1zm2-9a1 1 0 0 0-1 1v6h12V9h-3a2 2 0 0 1-2-2V4zm8 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
638
653
|
["file-odg", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M7.25 14c1.24 0 2.25 1.12 2.25 2.5S8.5 19 7.25 19C6.01 19 5 17.88 5 16.5S6 14 7.25 14m0 1c-.67 0-1.3.62-1.3 1.5s.63 1.5 1.3 1.5 1.3-.62 1.3-1.5-.63-1.5-1.3-1.5M11.7 14a2.5 2.5 0 0 1 0 5h-1.5v-5zm-.5 4h.5a1.5 1.5 0 0 0 0-3h-.5z\"/>\n <path fill=\"currentColor\" d=\"M18.63 15h-1.25a1.5 1.5 0 0 0 0 3h.5v-1h-.75v-.75h1.75V19h-1.5a2.5 2.5 0 0 1 0-5h1.25z\"/>\n <path fill=\"currentColor\" d=\"M14.57 2q.42 0 .74.3l4.38 4.4q.3.3.31.73v3.74c1.16.43 2 1.53 2 2.83v5c0 1.67-1.33 3-3 3H5c-1.67 0-3-1.33-3-3v-5c0-1.3.84-2.4 2-2.83V5a3 3 0 0 1 3-3zM5 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1zm2-9a1 1 0 0 0-1 1v6h12V9h-3a2 2 0 0 1-2-2V4zm8 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
@@ -641,11 +656,15 @@ var iconRegistry = /* @__PURE__ */ new Map([
|
|
|
641
656
|
["file-odt", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M14.57 2q.42 0 .74.3l4.38 4.4q.3.3.31.73v3.74c1.16.43 2 1.53 2 2.83v5c0 1.67-1.33 3-3 3H5c-1.67 0-3-1.33-3-3v-5c0-1.3.84-2.4 2-2.83V5a3 3 0 0 1 3-3zM5 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1zm2.25 1c1.24 0 2.25 1.12 2.25 2.5S8.5 19 7.25 19C6.01 19 5 17.88 5 16.5S6 14 7.25 14M12 14a2.5 2.5 0 0 1 0 5h-1.5v-5zm7 1h-1.47v4h-1.06v-4H15v-1h4zM7.25 15c-.67 0-1.3.62-1.3 1.5s.63 1.5 1.3 1.5 1.3-.62 1.3-1.5-.63-1.5-1.3-1.5m4.25 3h.5a1.5 1.5 0 0 0 0-3h-.5zM7 4a1 1 0 0 0-1 1v6h12V9h-3a2 2 0 0 1-2-2V4zm8 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
642
657
|
["file-on-file", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M10.567 5c.277 0 .543.11.739.306l4.388 4.388c.196.196.306.462.306.739V19c0 1.66-1.34 3-3 3H5c-1.66 0-3-1.34-3-3V8a3 3 0 0 1 3-3zM5 7a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-7h-3a2 2 0 0 1-2-2V7zm6 3h2.17L11 7.83z\"/>\n <path fill=\"currentColor\" d=\"m17.293 2.293 4.414 4.414a1 1 0 0 1 .293.707V16c0 1.66-1.34 3-3 3h-2v-2h2a1 1 0 0 0 1-1V9h-3a2 2 0 0 1-2-2V4H8.174C8.586 2.835 9.694 2 11 2h5.586c.263.013.517.103.707.293M17 7h2.17L17 4.83z\"/>\n</svg>"],
|
|
643
658
|
["file-pdf", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M15.59 2.59 19.4 6.4A2 2 0 0 1 20 7.83v3.34c1.16.43 2 1.53 2 2.83v5c0 1.67-1.33 3-3 3H5c-1.67 0-3-1.33-3-3v-5c0-1.3.84-2.4 2-2.83V5a3 3 0 0 1 3-3h7.17q.81.03 1.42.59M5 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1zm3.15 1c.9.07 1.6.77 1.6 1.63s-.7 1.55-1.6 1.62H6.82V19H5.75v-5zM12 14a2.5 2.5 0 0 1 0 5h-1.5v-5zm6.25 1h-1.9v1h1.63v1h-1.64v2h-1.09v-5h3zm-6.75 3h.5a1.5 1.5 0 0 0 0-3h-.5zm-4.68-1.75h1.22c.33 0 .64-.27.64-.62 0-.36-.3-.63-.64-.63H6.82zM7 4a1 1 0 0 0-1 1v6h12V9h-3a2 2 0 0 1-2-2V4zm8 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
659
|
+
["file-png", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M7.6 14c.78.07 1.4.77 1.4 1.63s-.62 1.55-1.4 1.62H6.43V19H5.5v-5zm-1.17 2.25H7.5c.31 0 .57-.28.57-.62 0-.35-.26-.63-.57-.63H6.43z\"/>\n <path fill=\"currentColor\" d=\"M12.63 18h.12v-4h.88v5h-1.5l-1.38-4h-.12v4h-.88v-5h1.5zM18.25 15H17c-.82 0-1.5.68-1.5 1.5S16.18 18 17 18h.5v-1h-.75v-.75h1.75V19H17a2.53 2.53 0 0 1-2.5-2.5c0-1.36 1.14-2.5 2.5-2.5h1.25z\"/>\n <path fill=\"currentColor\" d=\"M14.57 2q.42 0 .74.3l4.38 4.4q.3.3.31.73v3.74A3 3 0 0 1 22 14v5a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-5a3 3 0 0 1 2-2.83V5a3 3 0 0 1 3-3zM5 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1zm2-9a1 1 0 0 0-1 1v6h12V9h-3a2 2 0 0 1-2-2V4zm8 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
660
|
+
["file-svg", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M8.73 15H7.12c-.29 0-.54.23-.54.5s.25.5.54.5h.26c.83 0 1.62.64 1.62 1.5S8.21 19 7.38 19H5.5v-1h1.88c.29 0 .54-.24.54-.5s-.25-.5-.54-.5h-.26c-.83 0-1.62-.64-1.62-1.5S6.29 14 7.12 14h1.61zM11.91 18.13 13.07 14h1.03l-1.54 5h-1.42L9.6 14h1.16zM18.25 15H17c-.82 0-1.5.68-1.5 1.5S16.18 18 17 18h.5v-1h-.75v-.75h1.75V19H17a2.53 2.53 0 0 1-2.5-2.5c0-1.36 1.14-2.5 2.5-2.5h1.25z\"/>\n <path fill=\"currentColor\" d=\"M14.57 2q.42 0 .74.3l4.38 4.4q.3.3.31.73v3.74A3 3 0 0 1 22 14v5a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-5a3 3 0 0 1 2-2.83V5a3 3 0 0 1 3-3zM5 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1zm2-9a1 1 0 0 0-1 1v6h12V9h-3a2 2 0 0 1-2-2V4zm8 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
644
661
|
["file-text", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M16 18H8v-2h8zm0-4H8v-2h8zm-5-4H8V8h3z\"/>\n <path fill=\"currentColor\" d=\"M14.567 2c.277 0 .543.11.739.306l4.388 4.388c.196.196.306.462.306.739V19a3 3 0 0 1-3 3H7c-1.66 0-3-1.34-3-3V5a3 3 0 0 1 3-3zM7 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 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
645
662
|
["file-text-badge-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.567 2c.277 0 .543.11.739.306l4.388 4.388c.196.196.306.462.306.739v4.651a6 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.343c.263.745.67 1.423 1.186 2H6c-1.66 0-3-1.34-3-3V5a3 3 0 0 1 3-3zM14 7h2.17L14 4.83z\"/>\n <path fill=\"currentColor\" d=\"M12.343 16A6 6 0 0 0 12 18H7v-2zM15 12.804A6 6 0 0 0 13.53 14H7v-2h8zM10 10H7V8h3z\"/>\n</svg>"],
|
|
646
663
|
["file-text-badge-check-plus", "<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 4.25H15v1.5h2.25V21h1.5v-2.25H21v-1.5h-2.25V15h-1.5z\"/>\n <path fill=\"currentColor\" d=\"M13.567 2c.277 0 .543.11.739.306l4.388 4.388c.196.196.306.462.306.739v4.651a6 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.343c.263.745.67 1.423 1.186 2H6c-1.66 0-3-1.34-3-3V5a3 3 0 0 1 3-3zM14 7h2.17L14 4.83z\"/>\n <path fill=\"currentColor\" d=\"M12.343 16A6 6 0 0 0 12 18H7v-2zM15 12.804A6 6 0 0 0 13.53 14H7v-2h8zM10 10H7V8h3z\"/>\n</svg>"],
|
|
647
664
|
["file-text-on-file-text", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M12.5 18h-7v-1.5h7zm0-3h-7v-1.5h7zm-5-3h-2v-1.5h2z\"/>\n <path fill=\"currentColor\" d=\"M10.567 5c.277 0 .543.11.739.306l4.388 4.388c.196.196.306.462.306.739V19c0 1.66-1.34 3-3 3H5c-1.66 0-3-1.34-3-3V8a3 3 0 0 1 3-3zM5 7a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-7h-3a2 2 0 0 1-2-2V7zm6 3h2.17L11 7.83z\"/>\n <path fill=\"currentColor\" d=\"M16.586 2c.263.013.517.103.707.293l4.414 4.414a1 1 0 0 1 .293.707V16c0 1.66-1.34 3-3 3h-2v-2h2a1 1 0 0 0 1-1V9h-3a2 2 0 0 1-2-2V4H8.174C8.586 2.835 9.694 2 11 2zM17 7h2.17L17 4.83z\"/>\n</svg>"],
|
|
648
665
|
["file-text-pencil", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M14.567 2c.277 0 .543.11.739.305l1.378 1.38q-.111.09-.215.194l-1.21 1.21-.259-.26v.518L13.027 7.32A2 2 0 0 1 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 3H7c-1.66 0-3-1.34-3-3V5a3 3 0 0 1 3-3z\"/>\n <path fill=\"currentColor\" d=\"M17.175 4.586a2 2 0 0 1 2.829 0L21.418 6a2 2 0 0 1 0 2.829l-9.172 9.17H8.003v-4.242zm-7.172 10V16h1.414l5.758-5.758-1.414-1.414zm7.172-7.172 1.414 1.415 1.415-1.415L18.589 6zM16 18h-2.339l2-2H16zm-8-5.655V12h.346zm4-3.999L10.347 10H8V8h4z\"/>\n</svg>"],
|
|
666
|
+
["file-tiff", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M9 15H7.53v4H6.47v-4H5v-1h4zM10.9 19h-1v-5h1zM15 15h-1.9v1h1.63v1h-1.64v2H12v-5h3zM19 15h-1.9v1h1.63v1h-1.64v2H16v-5h3z\"/>\n <path fill=\"currentColor\" d=\"M14.57 2q.42 0 .74.3l4.38 4.4q.3.3.31.73v3.74A3 3 0 0 1 22 14v5a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-5a3 3 0 0 1 2-2.83V5a3 3 0 0 1 3-3zM5 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1zm2-9a1 1 0 0 0-1 1v6h12V9h-3a2 2 0 0 1-2-2V4zm8 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
667
|
+
["file-webp", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M5.67 18.13 6.36 15l-.2-1h.79l.98 4.13L8.7 14h.79l-.98 5H7.34l-.59-2.75L6.06 19H4.98L4 14h.88zM12.55 14.75h-1.43V16h1.23v.75h-1.23v1.5h1.43V19H10.3v-5h2.25z\"/>\n <path fill=\"currentColor\" d=\"M15.02 14c.6.04 1.08.68 1.08 1.44q0 .5-.24.89c.27.28.44.72.44 1.17 0 .82-.54 1.5-1.18 1.5h-1.57v-5zm-.68 4.13h.78c.27 0 .5-.29.5-.63s-.23-.62-.5-.62h-.78zm0-2.13h.63c.24 0 .45-.26.45-.56s-.2-.56-.45-.56h-.63zM18.65 14c.62.07 1.1.77 1.1 1.63s-.48 1.55-1.1 1.62h-.92V19H17v-5zm-.92 2.25h.84c.25 0 .45-.28.45-.62 0-.35-.2-.63-.45-.63h-.84z\"/>\n <path fill=\"currentColor\" d=\"M14.57 2q.42 0 .74.3l4.38 4.4q.3.3.31.73V11a3 3 0 0 1 3 3v5a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3v-5a3 3 0 0 1 3-3V5a3 3 0 0 1 3-3zM4 13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1zm3-9a1 1 0 0 0-1 1v6h12V9h-3a2 2 0 0 1-2-2V4zm8 3h2.17L15 4.83z\"/>\n</svg>"],
|
|
649
668
|
["flag", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" 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\"/>\n</svg>"],
|
|
650
669
|
["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>"],
|
|
651
670
|
["folder", "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M9.095 3a3 3 0 0 1 2.304 1.08L13 6h6a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H5c-1.66 0-3-1.34-3-3V6a3 3 0 0 1 3-3zM5 5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1h-6.937l-2.2-2.64A1 1 0 0 0 9.095 5z\"/>\n</svg>"],
|
|
@@ -2,7 +2,7 @@ import { t as inheritedTextReset } from "./shadow-resets-CPa58rmc.js";
|
|
|
2
2
|
import { a as linkRel, i as linkHintKey, r as translate, t as withTranslations } from "./with-translations-C6QfP6_S.js";
|
|
3
3
|
import { t as reflectNonDefault } from "./reflect-non-default-OLaK60rT.js";
|
|
4
4
|
import { t as __decorate } from "./decorate-CO88j7Lc.js";
|
|
5
|
-
import "./icon-
|
|
5
|
+
import "./icon-BJHKWhY5.js";
|
|
6
6
|
import { r as isTouchMode } from "./input-modality-DhTeUxKi.js";
|
|
7
7
|
import { LitElement, css, html, nothing } from "lit";
|
|
8
8
|
import { customElement, property, state } from "lit/decorators.js";
|
|
@@ -1467,6 +1467,78 @@ function tooltipTemplate(component) {
|
|
|
1467
1467
|
`;
|
|
1468
1468
|
}
|
|
1469
1469
|
//#endregion
|
|
1470
|
+
//#region src/utilities/carried-context.ts
|
|
1471
|
+
/**
|
|
1472
|
+
* The color scheme and language an element had in its place on the page,
|
|
1473
|
+
* carried along when a component moves it somewhere else: a submenu into
|
|
1474
|
+
* `<body>` for a drill-in, an overflow menu or sheet that lives in `<body>`, a
|
|
1475
|
+
* notification into the shared area.
|
|
1476
|
+
*
|
|
1477
|
+
* Both inherit, so a moved element takes those of its new parent. A submenu
|
|
1478
|
+
* from a dark section of the page turns light, and a screen reader reads an
|
|
1479
|
+
* English menu with Dutch pronunciation. A theme needs nothing: it sits on
|
|
1480
|
+
* `:root`, which is the same everywhere.
|
|
1481
|
+
*
|
|
1482
|
+
* Only what this helper wrote itself is ever overwritten or taken back: a
|
|
1483
|
+
* `lang` or `color-scheme` set on the element by its author stays.
|
|
1484
|
+
*/
|
|
1485
|
+
var carried = /* @__PURE__ */ new WeakMap();
|
|
1486
|
+
/** The language of an element, looking past shadow roots to their hosts. */
|
|
1487
|
+
function langOf(el) {
|
|
1488
|
+
let node = el;
|
|
1489
|
+
while (node) {
|
|
1490
|
+
const owner = node.closest("[lang]");
|
|
1491
|
+
if (owner) return owner.getAttribute("lang");
|
|
1492
|
+
const root = node.getRootNode();
|
|
1493
|
+
node = root instanceof ShadowRoot ? root.host : null;
|
|
1494
|
+
}
|
|
1495
|
+
return null;
|
|
1496
|
+
}
|
|
1497
|
+
/** Gives `element` the color scheme and language of `origin`. Call it each
|
|
1498
|
+
* time the element shows, since the page around the origin may have changed. */
|
|
1499
|
+
function carryContext(element, origin) {
|
|
1500
|
+
if (!origin?.isConnected) return;
|
|
1501
|
+
const previous = carried.get(element) ?? {
|
|
1502
|
+
scheme: null,
|
|
1503
|
+
lang: null
|
|
1504
|
+
};
|
|
1505
|
+
const next = {
|
|
1506
|
+
scheme: previous.scheme,
|
|
1507
|
+
lang: previous.lang
|
|
1508
|
+
};
|
|
1509
|
+
const ownScheme = element.style.colorScheme;
|
|
1510
|
+
if (!ownScheme || ownScheme === previous.scheme) {
|
|
1511
|
+
const scheme = getComputedStyle(origin).colorScheme;
|
|
1512
|
+
if (scheme && scheme !== "normal") {
|
|
1513
|
+
element.style.colorScheme = scheme;
|
|
1514
|
+
next.scheme = element.style.colorScheme;
|
|
1515
|
+
} else {
|
|
1516
|
+
if (previous.scheme) element.style.removeProperty("color-scheme");
|
|
1517
|
+
next.scheme = null;
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
const ownLang = element.getAttribute("lang");
|
|
1521
|
+
if (ownLang === null || ownLang === previous.lang) {
|
|
1522
|
+
const lang = langOf(origin);
|
|
1523
|
+
if (lang) {
|
|
1524
|
+
element.setAttribute("lang", lang);
|
|
1525
|
+
next.lang = lang;
|
|
1526
|
+
} else {
|
|
1527
|
+
if (previous.lang) element.removeAttribute("lang");
|
|
1528
|
+
next.lang = null;
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
carried.set(element, next);
|
|
1532
|
+
}
|
|
1533
|
+
/** Takes back what `carryContext` wrote, for an element returned to its place. */
|
|
1534
|
+
function releaseContext(element) {
|
|
1535
|
+
const previous = carried.get(element);
|
|
1536
|
+
if (!previous) return;
|
|
1537
|
+
if (previous.scheme && element.style.colorScheme === previous.scheme) element.style.removeProperty("color-scheme");
|
|
1538
|
+
if (previous.lang && element.getAttribute("lang") === previous.lang) element.removeAttribute("lang");
|
|
1539
|
+
carried.delete(element);
|
|
1540
|
+
}
|
|
1541
|
+
//#endregion
|
|
1470
1542
|
//#region src/components/content/tooltip/tooltip.ts
|
|
1471
1543
|
/**
|
|
1472
1544
|
* Nederlandse Digitale Dienst Tooltip Component (Lit + TypeScript)
|
|
@@ -1630,6 +1702,7 @@ var NLDDTooltip = (_NLDDTooltip = class NLDDTooltip extends LitElement {
|
|
|
1630
1702
|
});
|
|
1631
1703
|
document.body.appendChild(this._descriptionEl);
|
|
1632
1704
|
}
|
|
1705
|
+
carryContext(this._descriptionEl, this);
|
|
1633
1706
|
if (this._descriptionEl.textContent !== description) this._descriptionEl.textContent = description;
|
|
1634
1707
|
if (trigger.getAttribute("aria-describedby") !== this._tooltipId) trigger.setAttribute("aria-describedby", this._tooltipId);
|
|
1635
1708
|
} else {
|
|
@@ -2137,4 +2210,4 @@ __decorate([property({ type: String })], NLDDIconButton.prototype, "target", voi
|
|
|
2137
2210
|
__decorate([property({ type: String })], NLDDIconButton.prototype, "rel", void 0);
|
|
2138
2211
|
NLDDIconButton = __decorate([customElement("nldd-icon-button")], NLDDIconButton);
|
|
2139
2212
|
//#endregion
|
|
2140
|
-
export {
|
|
2213
|
+
export { NLDDActivityIndicator as a, ShortcutAvailabilityController as c, shortcutsAvailable as d, releaseContext as i, hasShortcut as l, NLDDTooltip as n, PopupAnchorController as o, carryContext as r, NLDDKeyboardShortcut as s, NLDDIconButton as t, shortcutLabel as u };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-editor.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/code-editor/code-editor.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"code-editor.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/code-editor/code-editor.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,yBAsK5B,CAAC"}
|
|
@@ -13,8 +13,12 @@ export const codeEditorStyles = css `
|
|
|
13
13
|
--_code-editor-caret-color: var(--components-code-editor-caret-color);
|
|
14
14
|
--_code-editor-corner-radius: 0;
|
|
15
15
|
--_code-editor-background-color: transparent;
|
|
16
|
-
--_code-editor-
|
|
17
|
-
--_code-editor-border-
|
|
16
|
+
--_code-editor-gutter-background-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
|
|
17
|
+
--_code-editor-gutter-border-width: var(--semantics-dividers-thickness);
|
|
18
|
+
--_code-editor-gutter-border-color: var(--semantics-dividers-color);
|
|
19
|
+
--_code-editor-input-field-border-z-index: 1;
|
|
20
|
+
--_code-editor-input-field-border-color: transparent;
|
|
21
|
+
--_code-editor-input-field-border-shadow: none;
|
|
18
22
|
--_code-editor-padding-block: 0px;
|
|
19
23
|
--_code-editor-padding-inline: 0px;
|
|
20
24
|
--_code-editor-content-color: var(--semantics-content-color);
|
|
@@ -50,8 +54,9 @@ export const codeEditorStyles = css `
|
|
|
50
54
|
/* Match the other input fields (text-field, textarea): the input-field
|
|
51
55
|
surface + border + control padding, not the tinted surface. */
|
|
52
56
|
--_code-editor-background-color: var(--semantics-input-fields-background-color);
|
|
53
|
-
--_code-editor-
|
|
54
|
-
--_code-editor-border-
|
|
57
|
+
--_code-editor-gutter-background-color: var(--_code-editor-background-color);
|
|
58
|
+
--_code-editor-input-field-border-color: var(--semantics-input-fields-border-color);
|
|
59
|
+
--_code-editor-input-field-border-shadow: inset 0 0 0 var(--semantics-input-fields-border-width) var(--_code-editor-input-field-border-color);
|
|
55
60
|
--_code-editor-padding-block: var(--semantics-controls-md-inline-padding);
|
|
56
61
|
--_code-editor-padding-inline: var(--semantics-controls-md-inline-padding);
|
|
57
62
|
}
|
|
@@ -64,7 +69,6 @@ export const codeEditorStyles = css `
|
|
|
64
69
|
display: flex;
|
|
65
70
|
position: relative;
|
|
66
71
|
border-radius: var(--_code-editor-corner-radius);
|
|
67
|
-
box-shadow: var(--_code-editor-border-shadow);
|
|
68
72
|
background-color: var(--_code-editor-background-color);
|
|
69
73
|
min-height: 0;
|
|
70
74
|
flex-direction: column;
|
|
@@ -75,6 +79,22 @@ export const codeEditorStyles = css `
|
|
|
75
79
|
font: var(--_code-editor-font);
|
|
76
80
|
}
|
|
77
81
|
|
|
82
|
+
/* The border ring lies over the content, so the sticky gutter cannot cover
|
|
83
|
+
it. Inset, it takes no layout space. */
|
|
84
|
+
.code-editor::after {
|
|
85
|
+
content: '';
|
|
86
|
+
position: absolute;
|
|
87
|
+
inset: 0;
|
|
88
|
+
z-index: var(--_code-editor-input-field-border-z-index);
|
|
89
|
+
border-radius: inherit;
|
|
90
|
+
box-shadow: var(--_code-editor-input-field-border-shadow);
|
|
91
|
+
pointer-events: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.code-editor .cm-editor {
|
|
95
|
+
isolation: isolate;
|
|
96
|
+
}
|
|
97
|
+
|
|
78
98
|
:host([disabled]) .code-editor {
|
|
79
99
|
opacity: var(--primitives-opacity-disabled);
|
|
80
100
|
pointer-events: none;
|
|
@@ -87,7 +107,7 @@ export const codeEditorStyles = css `
|
|
|
87
107
|
:host([appearance="input-field"]) .code-editor:focus-within {
|
|
88
108
|
outline: var(--semantics-focus-ring-outline);
|
|
89
109
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
90
|
-
box-shadow: var(--semantics-focus-ring-box-shadow)
|
|
110
|
+
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
91
111
|
}
|
|
92
112
|
|
|
93
113
|
|
|
@@ -110,6 +130,16 @@ export const codeEditorStyles = css `
|
|
|
110
130
|
tab-size: 2;
|
|
111
131
|
}
|
|
112
132
|
|
|
133
|
+
/* The gutter stays put while the code scrolls sideways under it. The
|
|
134
|
+
divider is a gradient: an inset shadow with an offset leaves a hairline on iOS. */
|
|
135
|
+
:host .cm-gutters.cm-gutters {
|
|
136
|
+
background-color: var(--_code-editor-gutter-background-color);
|
|
137
|
+
background-image: linear-gradient(var(--_code-editor-gutter-border-color), var(--_code-editor-gutter-border-color));
|
|
138
|
+
background-repeat: no-repeat;
|
|
139
|
+
background-position: right;
|
|
140
|
+
background-size: var(--_code-editor-gutter-border-width) 100%;
|
|
141
|
+
}
|
|
142
|
+
|
|
113
143
|
/* Read-only, like a native read-only field: select and copy, but no caret. */
|
|
114
144
|
:host([readonly]) .cm-cursorLayer {
|
|
115
145
|
visibility: hidden;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-editor.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/code-editor/code-editor.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"code-editor.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/code-editor/code-editor.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgC/B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsIrB,CAAC"}
|
|
@@ -77,7 +77,7 @@ declare const NLDDDatePicker_base: (abstract new (...args: any[]) => LitElement
|
|
|
77
77
|
'components.date-picker.friday-short-lowercase': string;
|
|
78
78
|
'components.date-picker.saturday-short-lowercase': string;
|
|
79
79
|
'components.date-picker.week-number-column-label': string;
|
|
80
|
-
'components.date-picker.week-number-column-short-label': string;
|
|
80
|
+
'components.date-picker.week-number-column-short-lowercase-label': string;
|
|
81
81
|
'components.date-picker.week-number-label': string;
|
|
82
82
|
'components.date-picker.date-label': string;
|
|
83
83
|
'components.date-picker.today-lowercase': string;
|
|
@@ -91,7 +91,7 @@ declare const NLDDDatePicker_base: (abstract new (...args: any[]) => LitElement
|
|
|
91
91
|
'components.date-picker.range-selected-text': string;
|
|
92
92
|
'components.date-picker.range-blocked-text': string;
|
|
93
93
|
}>;
|
|
94
|
-
_t(key: "components.date-picker.view-previous-month-action" | "components.date-picker.view-next-month-action" | "components.date-picker.view-today-action" | "components.date-picker.choose-month-action" | "components.date-picker.choose-year-action" | "components.date-picker.january-lowercase" | "components.date-picker.january-capitalize" | "components.date-picker.february-lowercase" | "components.date-picker.february-capitalize" | "components.date-picker.march-lowercase" | "components.date-picker.march-capitalize" | "components.date-picker.april-lowercase" | "components.date-picker.april-capitalize" | "components.date-picker.may-lowercase" | "components.date-picker.may-capitalize" | "components.date-picker.june-lowercase" | "components.date-picker.june-capitalize" | "components.date-picker.july-lowercase" | "components.date-picker.july-capitalize" | "components.date-picker.august-lowercase" | "components.date-picker.august-capitalize" | "components.date-picker.september-lowercase" | "components.date-picker.september-capitalize" | "components.date-picker.october-lowercase" | "components.date-picker.october-capitalize" | "components.date-picker.november-lowercase" | "components.date-picker.november-capitalize" | "components.date-picker.december-lowercase" | "components.date-picker.december-capitalize" | "components.date-picker.sunday-lowercase" | "components.date-picker.monday-lowercase" | "components.date-picker.tuesday-lowercase" | "components.date-picker.wednesday-lowercase" | "components.date-picker.thursday-lowercase" | "components.date-picker.friday-lowercase" | "components.date-picker.saturday-lowercase" | "components.date-picker.sunday-short-lowercase" | "components.date-picker.monday-short-lowercase" | "components.date-picker.tuesday-short-lowercase" | "components.date-picker.wednesday-short-lowercase" | "components.date-picker.thursday-short-lowercase" | "components.date-picker.friday-short-lowercase" | "components.date-picker.saturday-short-lowercase" | "components.date-picker.week-number-column-label" | "components.date-picker.week-number-column-short-label" | "components.date-picker.week-number-label" | "components.date-picker.date-label" | "components.date-picker.today-lowercase" | "components.date-picker.unavailable-lowercase-label" | "components.date-picker.range-anchor-lowercase-label" | "components.date-picker.range-start-lowercase-label" | "components.date-picker.range-end-lowercase-label" | "components.date-picker.in-range-lowercase-label" | "components.date-picker.date-selected-text" | "components.date-picker.range-anchor-text" | "components.date-picker.range-selected-text" | "components.date-picker.range-blocked-text", vars?: Record<string, string | number>): string;
|
|
94
|
+
_t(key: "components.date-picker.view-previous-month-action" | "components.date-picker.view-next-month-action" | "components.date-picker.view-today-action" | "components.date-picker.choose-month-action" | "components.date-picker.choose-year-action" | "components.date-picker.january-lowercase" | "components.date-picker.january-capitalize" | "components.date-picker.february-lowercase" | "components.date-picker.february-capitalize" | "components.date-picker.march-lowercase" | "components.date-picker.march-capitalize" | "components.date-picker.april-lowercase" | "components.date-picker.april-capitalize" | "components.date-picker.may-lowercase" | "components.date-picker.may-capitalize" | "components.date-picker.june-lowercase" | "components.date-picker.june-capitalize" | "components.date-picker.july-lowercase" | "components.date-picker.july-capitalize" | "components.date-picker.august-lowercase" | "components.date-picker.august-capitalize" | "components.date-picker.september-lowercase" | "components.date-picker.september-capitalize" | "components.date-picker.october-lowercase" | "components.date-picker.october-capitalize" | "components.date-picker.november-lowercase" | "components.date-picker.november-capitalize" | "components.date-picker.december-lowercase" | "components.date-picker.december-capitalize" | "components.date-picker.sunday-lowercase" | "components.date-picker.monday-lowercase" | "components.date-picker.tuesday-lowercase" | "components.date-picker.wednesday-lowercase" | "components.date-picker.thursday-lowercase" | "components.date-picker.friday-lowercase" | "components.date-picker.saturday-lowercase" | "components.date-picker.sunday-short-lowercase" | "components.date-picker.monday-short-lowercase" | "components.date-picker.tuesday-short-lowercase" | "components.date-picker.wednesday-short-lowercase" | "components.date-picker.thursday-short-lowercase" | "components.date-picker.friday-short-lowercase" | "components.date-picker.saturday-short-lowercase" | "components.date-picker.week-number-column-label" | "components.date-picker.week-number-column-short-lowercase-label" | "components.date-picker.week-number-label" | "components.date-picker.date-label" | "components.date-picker.today-lowercase" | "components.date-picker.unavailable-lowercase-label" | "components.date-picker.range-anchor-lowercase-label" | "components.date-picker.range-start-lowercase-label" | "components.date-picker.range-end-lowercase-label" | "components.date-picker.in-range-lowercase-label" | "components.date-picker.date-selected-text" | "components.date-picker.range-anchor-text" | "components.date-picker.range-selected-text" | "components.date-picker.range-blocked-text", vars?: Record<string, string | number>): string;
|
|
95
95
|
}) & typeof LitElement & (abstract new (...args: any[]) => import("../../../utilities/described-by-mixin.js").DescribedElement);
|
|
96
96
|
export declare class NLDDDatePicker extends NLDDDatePicker_base {
|
|
97
97
|
static styles: import("lit").CSSResult;
|
|
@@ -47,7 +47,7 @@ export declare const nlddDatePickerTranslations: {
|
|
|
47
47
|
'components.date-picker.friday-short-lowercase': string;
|
|
48
48
|
'components.date-picker.saturday-short-lowercase': string;
|
|
49
49
|
'components.date-picker.week-number-column-label': string;
|
|
50
|
-
'components.date-picker.week-number-column-short-label': string;
|
|
50
|
+
'components.date-picker.week-number-column-short-lowercase-label': string;
|
|
51
51
|
'components.date-picker.week-number-label': string;
|
|
52
52
|
'components.date-picker.date-label': string;
|
|
53
53
|
'components.date-picker.today-lowercase': string;
|
|
@@ -53,7 +53,7 @@ export const nlddDatePickerTranslations = {
|
|
|
53
53
|
// The short form goes in the column heading, the full one rides along as an
|
|
54
54
|
// abbr for screen readers.
|
|
55
55
|
'components.date-picker.week-number-column-label': 'Weeknummer',
|
|
56
|
-
'components.date-picker.week-number-column-short-label': 'wk',
|
|
56
|
+
'components.date-picker.week-number-column-short-lowercase-label': 'wk',
|
|
57
57
|
'components.date-picker.week-number-label': 'Week {week}',
|
|
58
58
|
// The full accessible name of a cell. '31' on its own tells a screen reader
|
|
59
59
|
// user nothing about the month or the weekday. The weekday arrives as a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.i18n.js","sourceRoot":"","sources":["../../../../src/components/inputs/date-picker/date-picker.i18n.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,CAAU,CAAC;AAEpH,kDAAkD;AAClD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,CAAU,CAAC;AAE9J,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC,gDAAgD;IAChD,mDAAmD,EAAE,cAAc;IACnE,+CAA+C,EAAE,gBAAgB;IACjE,0CAA0C,EAAE,SAAS;IACrD,4CAA4C,EAAE,gBAAgB;IAC9D,2CAA2C,EAAE,eAAe;IAE5D,+EAA+E;IAC/E,4EAA4E;IAC5E,+EAA+E;IAC/E,0CAA0C,EAAE,SAAS;IACrD,2CAA2C,EAAE,SAAS;IACtD,2CAA2C,EAAE,UAAU;IACvD,4CAA4C,EAAE,UAAU;IACxD,wCAAwC,EAAE,OAAO;IACjD,yCAAyC,EAAE,OAAO;IAClD,wCAAwC,EAAE,OAAO;IACjD,yCAAyC,EAAE,OAAO;IAClD,sCAAsC,EAAE,KAAK;IAC7C,uCAAuC,EAAE,KAAK;IAC9C,uCAAuC,EAAE,MAAM;IAC/C,wCAAwC,EAAE,MAAM;IAChD,uCAAuC,EAAE,MAAM;IAC/C,wCAAwC,EAAE,MAAM;IAChD,yCAAyC,EAAE,UAAU;IACrD,0CAA0C,EAAE,UAAU;IACtD,4CAA4C,EAAE,WAAW;IACzD,6CAA6C,EAAE,WAAW;IAC1D,0CAA0C,EAAE,SAAS;IACrD,2CAA2C,EAAE,SAAS;IACtD,2CAA2C,EAAE,UAAU;IACvD,4CAA4C,EAAE,UAAU;IACxD,2CAA2C,EAAE,UAAU;IACvD,4CAA4C,EAAE,UAAU;IAExD,yCAAyC,EAAE,QAAQ;IACnD,yCAAyC,EAAE,SAAS;IACpD,0CAA0C,EAAE,SAAS;IACrD,4CAA4C,EAAE,UAAU;IACxD,2CAA2C,EAAE,WAAW;IACxD,yCAAyC,EAAE,SAAS;IACpD,2CAA2C,EAAE,UAAU;IAEvD,+CAA+C,EAAE,IAAI;IACrD,+CAA+C,EAAE,IAAI;IACrD,gDAAgD,EAAE,IAAI;IACtD,kDAAkD,EAAE,IAAI;IACxD,iDAAiD,EAAE,IAAI;IACvD,+CAA+C,EAAE,IAAI;IACrD,iDAAiD,EAAE,IAAI;IAEvD,4EAA4E;IAC5E,2BAA2B;IAC3B,iDAAiD,EAAE,YAAY;IAC/D,
|
|
1
|
+
{"version":3,"file":"date-picker.i18n.js","sourceRoot":"","sources":["../../../../src/components/inputs/date-picker/date-picker.i18n.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,CAAU,CAAC;AAEpH,kDAAkD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AAS;IACpD,2CAA2C,EAAE,UAAU;IAEvD,+CAA+C,EAAE,IAAI;IACrD,+CAA+C,EAAE,IAAI;IACrD,gDAAgD,EAAE,IAAI;IACtD,kDAAkD,EAAE,IAAI;IACxD,iDAAiD,EAAE,IAAI;IACvD,+CAA+C,EAAE,IAAI;IACrD,iDAAiD,EAAE,IAAI;IAEvD,4EAA4E;IAC5E,2BAA2B;IAC3B,iDAAiD,EAAE,YAAY;IAC/D,iEAAiE,EAAE,IAAI;IACvE,0CAA0C,EAAE,aAAa;IAEzD,4EAA4E;IAC5E,wEAAwE;IACxE,6DAA6D;IAC7D,mCAAmC,EAAE,gCAAgC;IAErE,4EAA4E;IAC5E,0DAA0D;IAC1D,wCAAwC,EAAE,SAAS;IACnD,oDAAoD,EAAE,kBAAkB;IACxE,4EAA4E;IAC5E,4EAA4E;IAC5E,qDAAqD,EAAE,oCAAoC;IAC3F,oDAAoD,EAAE,sBAAsB;IAC5E,kDAAkD,EAAE,sBAAsB;IAC1E,iDAAiD,EAAE,eAAe;IAElE,6EAA6E;IAC7E,+EAA+E;IAC/E,gFAAgF;IAChF,2CAA2C,EAAE,uBAAuB;IACpE,6EAA6E;IAC7E,yCAAyC;IACzC,0CAA0C,EAAE,kEAAkE;IAC9G,4CAA4C,EAAE,yCAAyC;IACvF,2CAA2C,EAAE,uEAAuE;CACpH,CAAC"}
|
|
@@ -144,7 +144,7 @@ function renderColumnHeaders(component) {
|
|
|
144
144
|
scope="col"
|
|
145
145
|
abbr=${component._t('components.date-picker.week-number-column-label')}
|
|
146
146
|
>
|
|
147
|
-
${component._t('components.date-picker.week-number-column-short-label')}
|
|
147
|
+
${component._t('components.date-picker.week-number-column-short-lowercase-label')}
|
|
148
148
|
</th>
|
|
149
149
|
` : nothing}
|
|
150
150
|
${component._weekdays.map((day) => html `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/date-picker/date-picker.template.ts"],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,CAAC;;;EAGxC,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,SAAS,YAAY,CAAC,SAAyB,EAAE,cAAuB;IACvE,OAAO,IAAI,CAAA;;;MAGN,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,CAAA;;aAEzB,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI;;aAE5B,SAAS,CAAC,EAAE,CAAC,0CAA0C,CAAC;eACtD,SAAS,CAAC,YAAY;;KAEhC,CAAC,CAAC,CAAC,OAAO;;;MAGT,cAAc,CAAC,CAAC,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,OAAO;;;EAGlF,CAAC;AACH,CAAC;AAED,gFAAgF;AAChF,SAAS,mBAAmB,CAAC,SAAyB;IACrD,OAAO,IAAI,CAAA;;KAEP,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAA;;;YAGrB,SAAS,CAAC,EAAE,CAAC,iDAAiD,CAAC;;OAEpE,SAAS,CAAC,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"date-picker.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/date-picker/date-picker.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,4CAA4C,CAAC;AACpD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,0CAA0C,CAAC;AAClD,OAAO,8BAA8B,CAAC;AAEtC,MAAM,QAAQ,GAAG,mBAAmB,CAAC;AAErC;;;;;GAKG;AACH,SAAS,eAAe,CACvB,SAAyB,EACzB,IAAsB,EACtB,KAAa,EACb,OAAe,EACf,QAAiB;IAEjB,IAAI,OAAO,GAAG,CAAC;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,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;SAEjC,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAA;;;sBAGf,SAAS,CAAC,EAAE,CAAC,0CAA0C,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;;WAE1G,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC;;QAE9B,CAAC,CAAC,CAAC,OAAO;SACT,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;;MAE/C,CAAC;;;KAGF,SAAS,CAAC,QAAQ,IAAI,SAAS,CAAC,eAAe;QAChD,CAAC,CAAC,YAAY,CAAC,SAAS,EAAE,SAAS,CAAC,QAAQ,CAAC;QAC7C,CAAC,CAAC,OAAO;;;;;MAKP,SAAS,CAAC,aAAa;;;EAG3B,CAAC;AACH,CAAC"}
|
|
@@ -1,18 +1,41 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Nederlandse Digitale Dienst File Field Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
|
-
* A file picker that reads as one control
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
4
|
+
* A file picker that reads as one control. Empty, the whole tinted surface is
|
|
5
|
+
* one button with one sentence centered in it, "Bestand kiezen of sleep het
|
|
6
|
+
* hierheen", its first part accented, so a press anywhere on it opens the file
|
|
7
|
+
* dialog. Once a file is chosen, the surface shows it with the icon of its
|
|
8
|
+
* format, its name, a button to choose another and a dismiss button to clear it
|
|
9
|
+
* again. A long name is cut in the middle, so its start and its end stay in
|
|
10
|
+
* view ("Screenshot 20…at 13.12.21.png"); it then shows whole in a tooltip, and
|
|
11
|
+
* a screen reader reads it whole either way. It wraps a hidden native
|
|
12
|
+
* `<input type="file">`, which is what makes the picker open at all — a file
|
|
13
|
+
* dialog only opens from a user gesture on a real input.
|
|
14
|
+
*
|
|
15
|
+
* Files can be dropped on the whole field. A drop goes through the same input,
|
|
16
|
+
* so it fires the same `change` with the same detail and submits the same way as
|
|
17
|
+
* a pick. `accept` and `multiple` hold for a drop too, which the native input
|
|
18
|
+
* does not do: a drop that does not fit is refused as a whole, the previous
|
|
19
|
+
* choice stays, and the field says why for a few seconds: "Sleep één
|
|
20
|
+
* bestand", or what `accept` takes, named from it ("Het bestand moet een PDF
|
|
21
|
+
* zijn"; "Dit bestandstype past niet" where a type in it has no name). A
|
|
22
|
+
* dropped folder is refused as well ("Sleep een bestand, geen map"): it
|
|
23
|
+
* arrives as a file without a type that cannot be read, and only the drop
|
|
24
|
+
* tells it apart, not the drag. The message stays for a few seconds and then
|
|
25
|
+
* gives way to the field again.
|
|
26
|
+
*
|
|
27
|
+
* While files are dragged over the page, every field marks itself as a place
|
|
28
|
+
* to put them, and the field under the pointer says it will take them (a field
|
|
29
|
+
* with a file: that they replace it), or turns critical and refuses already
|
|
30
|
+
* when the number or the type rules them out. A file dropped next to a field no
|
|
31
|
+
* longer makes the browser open it and leave the page; a drop that another drop zone or an
|
|
32
|
+
* editable field takes is left alone. On a device without hover there is no
|
|
33
|
+
* dragging, so the field there drops the hint.
|
|
9
34
|
*
|
|
10
35
|
* The surface deliberately does not look like an input field. A border with
|
|
11
|
-
* field semantics promises you can type into it; here you can only press
|
|
12
|
-
*
|
|
13
|
-
* `--semantics-input-fields-*`.
|
|
14
|
-
* therefore sits a shade darker in the surface, which is what marks it as the
|
|
15
|
-
* thing to press.
|
|
36
|
+
* field semantics promises you can type into it; here you can only press it or
|
|
37
|
+
* drop a file on it, so it has the border of a tinted surface instead of
|
|
38
|
+
* `--semantics-input-fields-*`.
|
|
16
39
|
*
|
|
17
40
|
* Several files are summarized, not listed: "3 bestanden" with a single cross
|
|
18
41
|
* that clears all of them. Every pick replaces the whole FileList, and rebuilding
|
|
@@ -43,6 +66,7 @@
|
|
|
43
66
|
import { LitElement, type PropertyValues } from 'lit';
|
|
44
67
|
import { type FormValue } from '../../../utilities/form-associated-mixin.js';
|
|
45
68
|
import { type NLDDFileFieldTranslations } from './file-field.i18n.js';
|
|
69
|
+
import { type DragState, type DropRejection } from './file-field.drop.js';
|
|
46
70
|
declare const NLDDFileField_base: typeof LitElement & (abstract new (...args: any[]) => LitElement & import("../../../utilities/form-associated-mixin.js").FormAssociatedElement) & (abstract new (...args: any[]) => import("../../../utilities/described-by-mixin.js").DescribedElement);
|
|
47
71
|
export declare class NLDDFileField extends NLDDFileField_base {
|
|
48
72
|
static styles: import("lit").CSSResult;
|
|
@@ -65,6 +89,22 @@ export declare class NLDDFileField extends NLDDFileField_base {
|
|
|
65
89
|
* browsers refuse a programmatic file selection. */
|
|
66
90
|
private _files;
|
|
67
91
|
get files(): File[];
|
|
92
|
+
/** @internal Where a dragged file is, seen from this field. */
|
|
93
|
+
_drag: DragState;
|
|
94
|
+
/** @internal Why the file under the pointer would be refused. */
|
|
95
|
+
_dragRejection: DropRejection | null;
|
|
96
|
+
/** @internal The chosen name cut in the middle to fit, or null before it is
|
|
97
|
+
* measured, while CSS cuts it with its end in view. */
|
|
98
|
+
_fittedName: string | null;
|
|
99
|
+
/** @internal Whether the name is cut short, and so shows whole in a tooltip. */
|
|
100
|
+
_nameTruncated: boolean;
|
|
101
|
+
private _resizeObserver?;
|
|
102
|
+
private _rejectionTimer?;
|
|
103
|
+
private _observedValue?;
|
|
104
|
+
/** @internal What a screen reader hears after a drop that was taken. */
|
|
105
|
+
_announcement: string;
|
|
106
|
+
/** @internal Why the last drop was refused; shown for a few seconds. */
|
|
107
|
+
_rejection: DropRejection | null;
|
|
68
108
|
private _input;
|
|
69
109
|
/** @internal */
|
|
70
110
|
_t(key: keyof NLDDFileFieldTranslations, vars?: Record<string, string | number>): string;
|
|
@@ -78,13 +118,46 @@ export declare class NLDDFileField extends NLDDFileField_base {
|
|
|
78
118
|
* @internal
|
|
79
119
|
*/
|
|
80
120
|
_chooseAccessibleLabel(): string;
|
|
121
|
+
/**
|
|
122
|
+
* The change button is where focus lands after a pick, so its name says for
|
|
123
|
+
* which field and which file is chosen, as a native file input does. The
|
|
124
|
+
* visible text comes first, so a voice command with it still finds the
|
|
125
|
+
* button (WCAG 2.5.3).
|
|
126
|
+
*
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
_changeAccessibleLabel(): string;
|
|
130
|
+
/** @internal The cross says which file it clears. */
|
|
131
|
+
_clearAccessibleLabel(): string;
|
|
132
|
+
/** @internal */
|
|
133
|
+
_rejectionText(reason: DropRejection): string;
|
|
81
134
|
/** @internal */
|
|
82
135
|
_valueLabel(): string;
|
|
136
|
+
connectedCallback(): void;
|
|
137
|
+
disconnectedCallback(): void;
|
|
138
|
+
updated(changed: PropertyValues): void;
|
|
139
|
+
/** Measures once the buttons beside the name have rendered and taken their
|
|
140
|
+
* width, and after this update rather than in it, where a state change
|
|
141
|
+
* would start another. */
|
|
142
|
+
private _fitNameAfterRender;
|
|
143
|
+
/** Cuts the chosen name in the middle to the width it has. Without a width
|
|
144
|
+
* (a hidden field), it falls back to the CSS cut of the first render. */
|
|
145
|
+
private _fitName;
|
|
83
146
|
willUpdate(changed: PropertyValues): void;
|
|
84
147
|
/** @internal */
|
|
85
148
|
_handleChoose(): void;
|
|
86
149
|
/** @internal */
|
|
87
150
|
_handleInputChange(e: Event): void;
|
|
151
|
+
/** Why a drag or drop would be refused: too many files for a field without
|
|
152
|
+
* `multiple`, or a type `accept` rules out. With `files` the drop is judged
|
|
153
|
+
* on names and types; without, a drag only on what it shows before the drop. */
|
|
154
|
+
private _judge;
|
|
155
|
+
/** @internal Called by the shared window listeners in file-field.drop.ts. */
|
|
156
|
+
_setDrag(state: DragState, transfer: DataTransfer | null): void;
|
|
157
|
+
private _handleDragOver;
|
|
158
|
+
private _handleDrop;
|
|
159
|
+
private _clearRejection;
|
|
160
|
+
private _handleKeydown;
|
|
88
161
|
/** @internal */
|
|
89
162
|
_handleClear(): void;
|
|
90
163
|
private _commit;
|
|
@@ -96,6 +169,9 @@ export declare class NLDDFileField extends NLDDFileField_base {
|
|
|
96
169
|
/** A required field without a file is invalid (valueMissing). */
|
|
97
170
|
private _updateValidity;
|
|
98
171
|
formResetCallback(): void;
|
|
172
|
+
/** The button that opens the dialog: the whole surface while the field is
|
|
173
|
+
* empty, "Wijzigen" once it has a file. */
|
|
174
|
+
private _chooseButton;
|
|
99
175
|
/**
|
|
100
176
|
* Delegates focus to the choose button rather than the hidden input: an input
|
|
101
177
|
* that is `display: none` cannot take focus, and the button is what a user
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/file-field/file-field.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"file-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/file-field/file-field.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAEtD,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAI7F,OAAO,EAA6B,KAAK,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjG,OAAO,EAQN,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,MAAM,sBAAsB,CAAC;;AAe9B,qBACa,aAAc,SAAQ,kBAAuC;IAEzE,OAAgB,MAAM,0BAAmB;IAEzC;wEACoE;IACpE,MAAM,CAAC,WAAW,UAAQ;IAI1B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAQ;IAGzB,MAAM,SAAM;IAGZ,QAAQ,UAAS;IAEjB,6FAA6F;IAE7F,eAAe,SAAM;IAGrB,OAAO,SAAM;IAIb,KAAK,UAAS;IAGd,OAAO,UAAS;IAGhB,QAA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AAO,EAAE,cAAc,GAAG,IAAI;IASlD,gBAAgB;IACT,aAAa,IAAI,IAAI;IAK5B,gBAAgB;IACT,kBAAkB,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI;IAczC;;qFAEiF;IACjF,OAAO,CAAC,MAAM;IAWd,6EAA6E;IACtE,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,GAAG,IAAI;IAUtE,OAAO,CAAC,eAAe,CAMrB;IAEF,OAAO,CAAC,WAAW,CA0BjB;IAEF,OAAO,CAAC,eAAe,CAIrB;IAEF,OAAO,CAAC,cAAc,CAEpB;IAEF,gBAAgB;IACT,YAAY,IAAI,IAAI;IAU3B,OAAO,CAAC,OAAO;IAYf;;qEAEiE;IACxD,SAAS,IAAI,SAAS;IAQtB,eAAe,IAAI,IAAI;IAKhC,iEAAiE;IACjE,OAAO,CAAC,eAAe;IAYvB,iBAAiB,IAAI,IAAI;IAMzB;gDAC4C;IAC5C,OAAO,CAAC,aAAa;IAIrB;;;;OAIG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAI5C;mFAC+E;IACtE,eAAe,IAAI,OAAO,GAAG,IAAI;IAIjC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,iBAAiB,EAAE,aAAa,CAAC;KACjC;CACD"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/** Where a dragged file is, seen from one field. */
|
|
2
|
+
export type DragState = 'none' | 'page' | 'over' | 'rejected';
|
|
3
|
+
/** Why a drop is refused. */
|
|
4
|
+
export type DropRejection = 'type' | 'count' | 'folder';
|
|
5
|
+
export interface DropTarget extends HTMLElement {
|
|
6
|
+
/** @internal */
|
|
7
|
+
_setDrag(state: DragState, transfer: DataTransfer | null): void;
|
|
8
|
+
}
|
|
9
|
+
/** A file kind of `accept`, named for a person: a format ("PDF") or a family
|
|
10
|
+
* of types (`image`, `video`, `audio`) that a translation names. */
|
|
11
|
+
export type AcceptName = string | {
|
|
12
|
+
family: 'image' | 'video' | 'audio';
|
|
13
|
+
};
|
|
14
|
+
/** What `accept` takes, named for a person, for the message on a drop of the
|
|
15
|
+
* wrong type. Null when any part has no name (an `application/vnd…` type),
|
|
16
|
+
* so the message does not list half of what is allowed. */
|
|
17
|
+
export declare function acceptNames(accept: string): AcceptName[] | null;
|
|
18
|
+
/** Whether a dropped file fits `accept`, judged on its name and its type, the
|
|
19
|
+
* way the file dialog filters. An empty `accept` takes everything. */
|
|
20
|
+
export declare function fileMatches(accept: string, file: File): boolean;
|
|
21
|
+
/** Whether a dragged file of `type` can be ruled out against `accept` before the
|
|
22
|
+
* drop. Only a certain mismatch counts: an empty type or an extension this
|
|
23
|
+
* module has no type for leaves the answer to the drop. */
|
|
24
|
+
export declare function typeRuledOut(accept: string, type: string): boolean;
|
|
25
|
+
/** Whether a drop holds a folder. It arrives as a File without type or
|
|
26
|
+
* extension, which the field could not read, so it is refused. */
|
|
27
|
+
export declare function holdsFolder(transfer: DataTransfer): boolean;
|
|
28
|
+
/** Whether a drag carries files, as opposed to text or a link. */
|
|
29
|
+
export declare function carriesFiles(transfer: DataTransfer | null): boolean;
|
|
30
|
+
/** Registers a field with the shared window listeners, which exist while at
|
|
31
|
+
* least one field is connected. */
|
|
32
|
+
export declare function watchDrags(target: DropTarget): void;
|
|
33
|
+
export declare function unwatchDrags(target: DropTarget): void;
|
|
34
|
+
//# sourceMappingURL=file-field.drop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-field.drop.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/file-field/file-field.drop.ts"],"names":[],"mappings":"AAUA,oDAAoD;AACpD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;AAE9D,6BAA6B;AAC7B,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAExD,MAAM,WAAW,UAAW,SAAQ,WAAW;IAC9C,gBAAgB;IAChB,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,GAAG,IAAI,GAAG,IAAI,CAAC;CAChE;AA+BD;qEACqE;AACrE,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG;IAAE,MAAM,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;CAAE,CAAC;AAE1E;;4DAE4D;AAC5D,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,EAAE,GAAG,IAAI,CAqB/D;AAiBD;uEACuE;AACvE,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,GAAG,OAAO,CAS/D;AAED;;4DAE4D;AAC5D,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CASlE;AAED;mEACmE;AACnE,wBAAgB,WAAW,CAAC,QAAQ,EAAE,YAAY,GAAG,OAAO,CAE3D;AAED,kEAAkE;AAClE,wBAAgB,YAAY,CAAC,QAAQ,EAAE,YAAY,GAAG,IAAI,GAAG,OAAO,CAEnE;AA4CD;oCACoC;AACpC,wBAAgB,UAAU,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAOnD;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAOrD"}
|