@limetech/lime-elements 40.21.1 → 40.23.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.
Files changed (127) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cjs/language-s0bKUCvO.js +58 -0
  3. package/dist/cjs/lime-elements.cjs.js +1 -1
  4. package/dist/cjs/limel-action-bar_3.cjs.entry.js +2 -2
  5. package/dist/cjs/limel-ai-avatar.cjs.entry.js +2 -2
  6. package/dist/cjs/limel-badge_7.cjs.entry.js +2 -2
  7. package/dist/cjs/limel-callout.cjs.entry.js +2 -2
  8. package/dist/cjs/limel-chart.cjs.entry.js +524 -76
  9. package/dist/cjs/limel-chip-set.cjs.entry.js +2 -2
  10. package/dist/cjs/limel-chip_2.cjs.entry.js +2 -2
  11. package/dist/cjs/limel-code-diff.cjs.entry.js +2 -2
  12. package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
  13. package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
  14. package/dist/cjs/limel-date-picker.cjs.entry.js +1 -1
  15. package/dist/cjs/limel-dock.cjs.entry.js +2 -2
  16. package/dist/cjs/limel-drag-handle_2.cjs.entry.js +2 -2
  17. package/dist/cjs/limel-email-viewer.cjs.entry.js +2 -2
  18. package/dist/cjs/limel-file-viewer.cjs.entry.js +2 -2
  19. package/dist/cjs/limel-file.cjs.entry.js +2 -2
  20. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +2 -2
  21. package/dist/cjs/limel-form.cjs.entry.js +202 -15
  22. package/dist/cjs/limel-list-item.cjs.entry.js +2 -2
  23. package/dist/cjs/limel-pagination-jump.cjs.entry.js +2 -2
  24. package/dist/cjs/limel-pagination.cjs.entry.js +14 -26
  25. package/dist/cjs/limel-picker.cjs.entry.js +2 -2
  26. package/dist/cjs/limel-profile-picture.cjs.entry.js +2 -2
  27. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +2 -2
  28. package/dist/cjs/limel-resize-handle.cjs.entry.js +2 -2
  29. package/dist/cjs/limel-side-panel.cjs.entry.js +2 -2
  30. package/dist/cjs/limel-slider.cjs.entry.js +2 -2
  31. package/dist/cjs/limel-snackbar.cjs.entry.js +2 -2
  32. package/dist/cjs/limel-table.cjs.entry.js +2 -2
  33. package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +2 -2
  34. package/dist/cjs/loader.cjs.js +1 -1
  35. package/dist/cjs/{translations-CqJEWcfw.js → translations-JLP5icQ9.js} +1 -1
  36. package/dist/collection/components/chart/chart.js +116 -45
  37. package/dist/collection/components/chart/format.js +302 -0
  38. package/dist/collection/components/chart/options.js +26 -14
  39. package/dist/collection/components/chart/scale.js +132 -19
  40. package/dist/collection/components/form/filled-defaults.js +132 -0
  41. package/dist/collection/components/form/form.js +93 -15
  42. package/dist/collection/components/form/form.test-schemas.js +50 -0
  43. package/dist/collection/components/pagination/pagination.js +13 -25
  44. package/dist/collection/util/language.js +29 -0
  45. package/dist/esm/language-VamkUr90.js +55 -0
  46. package/dist/esm/lime-elements.js +1 -1
  47. package/dist/esm/limel-action-bar_3.entry.js +2 -2
  48. package/dist/esm/limel-ai-avatar.entry.js +2 -2
  49. package/dist/esm/limel-badge_7.entry.js +2 -2
  50. package/dist/esm/limel-callout.entry.js +2 -2
  51. package/dist/esm/limel-chart.entry.js +524 -76
  52. package/dist/esm/limel-chip-set.entry.js +2 -2
  53. package/dist/esm/limel-chip_2.entry.js +2 -2
  54. package/dist/esm/limel-code-diff.entry.js +2 -2
  55. package/dist/esm/limel-code-editor.entry.js +2 -2
  56. package/dist/esm/limel-collapsible-section.entry.js +2 -2
  57. package/dist/esm/limel-date-picker.entry.js +1 -1
  58. package/dist/esm/limel-dock.entry.js +2 -2
  59. package/dist/esm/limel-drag-handle_2.entry.js +2 -2
  60. package/dist/esm/limel-email-viewer.entry.js +2 -2
  61. package/dist/esm/limel-file-viewer.entry.js +2 -2
  62. package/dist/esm/limel-file.entry.js +2 -2
  63. package/dist/esm/limel-flatpickr-adapter.entry.js +2 -2
  64. package/dist/esm/limel-form.entry.js +202 -15
  65. package/dist/esm/limel-list-item.entry.js +2 -2
  66. package/dist/esm/limel-pagination-jump.entry.js +2 -2
  67. package/dist/esm/limel-pagination.entry.js +14 -26
  68. package/dist/esm/limel-picker.entry.js +2 -2
  69. package/dist/esm/limel-profile-picture.entry.js +2 -2
  70. package/dist/esm/limel-prosemirror-adapter.entry.js +2 -2
  71. package/dist/esm/limel-resize-handle.entry.js +2 -2
  72. package/dist/esm/limel-side-panel.entry.js +2 -2
  73. package/dist/esm/limel-slider.entry.js +2 -2
  74. package/dist/esm/limel-snackbar.entry.js +2 -2
  75. package/dist/esm/limel-table.entry.js +2 -2
  76. package/dist/esm/limel-text-editor-link-menu.entry.js +2 -2
  77. package/dist/esm/loader.js +1 -1
  78. package/dist/esm/{translations-kct5Kybu.js → translations-D9ZGrMhe.js} +1 -1
  79. package/dist/lime-elements/lime-elements.esm.js +1 -1
  80. package/dist/lime-elements/{p-6e9eeb0a.entry.js → p-0a7cbdc3.entry.js} +1 -1
  81. package/dist/lime-elements/{p-d35d2859.entry.js → p-0f96e94d.entry.js} +1 -1
  82. package/dist/lime-elements/{p-a7be03e1.entry.js → p-1a0c5e45.entry.js} +1 -1
  83. package/dist/lime-elements/{p-5e408c27.entry.js → p-401d5c92.entry.js} +1 -1
  84. package/dist/lime-elements/{p-6d2d25b9.entry.js → p-430db3b9.entry.js} +1 -1
  85. package/dist/lime-elements/{p-a6c6a31b.entry.js → p-43b62587.entry.js} +1 -1
  86. package/dist/lime-elements/{p-958396b5.entry.js → p-48dccb83.entry.js} +1 -1
  87. package/dist/lime-elements/{p-814b4934.entry.js → p-5c918155.entry.js} +1 -1
  88. package/dist/lime-elements/{p-22e9e327.entry.js → p-66101ed6.entry.js} +1 -1
  89. package/dist/lime-elements/{p-d8559847.entry.js → p-7ab72b52.entry.js} +1 -1
  90. package/dist/lime-elements/{p-7af83877.entry.js → p-8d9a2a22.entry.js} +1 -1
  91. package/dist/lime-elements/{p-55fa19ae.entry.js → p-8de4f0f3.entry.js} +1 -1
  92. package/dist/lime-elements/p-8e80a884.entry.js +56 -0
  93. package/dist/lime-elements/{p-bffb5ed2.entry.js → p-99984c66.entry.js} +1 -1
  94. package/dist/lime-elements/{p-56e2fa48.entry.js → p-9d46f720.entry.js} +1 -1
  95. package/dist/lime-elements/{p-68bbb8dd.entry.js → p-9e2b426c.entry.js} +1 -1
  96. package/dist/lime-elements/{p-Dzp8dXTo.js → p-C9dBa_Im.js} +1 -1
  97. package/dist/lime-elements/p-VamkUr90.js +1 -0
  98. package/dist/lime-elements/{p-3ac39bd5.entry.js → p-b1c7033b.entry.js} +2 -2
  99. package/dist/lime-elements/{p-47fe76a8.entry.js → p-b5451350.entry.js} +1 -1
  100. package/dist/lime-elements/{p-9edd79a8.entry.js → p-c75f3b0d.entry.js} +1 -1
  101. package/dist/lime-elements/{p-4c080cd9.entry.js → p-ca4247c4.entry.js} +1 -1
  102. package/dist/lime-elements/{p-1a7d1d2b.entry.js → p-d53421af.entry.js} +1 -1
  103. package/dist/lime-elements/{p-6d9b89db.entry.js → p-d8901e39.entry.js} +1 -1
  104. package/dist/lime-elements/{p-933ffaa8.entry.js → p-d89553b3.entry.js} +1 -1
  105. package/dist/lime-elements/{p-496b2437.entry.js → p-d93b8ce0.entry.js} +1 -1
  106. package/dist/lime-elements/{p-23067836.entry.js → p-e97340c4.entry.js} +1 -1
  107. package/dist/lime-elements/{p-7b87e547.entry.js → p-ec0c113d.entry.js} +1 -1
  108. package/dist/lime-elements/{p-9f0575fd.entry.js → p-f197000b.entry.js} +4 -4
  109. package/dist/lime-elements/{p-07f3565b.entry.js → p-f6bc6658.entry.js} +1 -1
  110. package/dist/lime-elements/{p-9b2623fe.entry.js → p-f71fbc9e.entry.js} +1 -1
  111. package/dist/lime-elements/{p-7fcd48c6.entry.js → p-fa1aa440.entry.js} +1 -1
  112. package/dist/types/components/chart/chart.d.ts +32 -7
  113. package/dist/types/components/chart/chart.types.d.ts +15 -1
  114. package/dist/types/components/chart/format.d.ts +54 -0
  115. package/dist/types/components/chart/options.d.ts +3 -4
  116. package/dist/types/components/chart/scale.d.ts +39 -7
  117. package/dist/types/components/form/filled-defaults.d.ts +12 -0
  118. package/dist/types/components/form/form.d.ts +17 -0
  119. package/dist/types/components/form/form.test-schemas.d.ts +2 -0
  120. package/dist/types/components/pagination/pagination.d.ts +6 -12
  121. package/dist/types/components.d.ts +51 -8
  122. package/dist/types/util/language.d.ts +19 -0
  123. package/package.json +3 -3
  124. package/dist/cjs/language-v-MMS6ym.js +0 -28
  125. package/dist/esm/language-ChagAaNf.js +0 -26
  126. package/dist/lime-elements/p-7d6a12fe.entry.js +0 -56
  127. package/dist/lime-elements/p-ChagAaNf.js +0 -1
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
2
  import { d as ARROW_LEFT, e as ARROW_RIGHT, a as ENTER, D as DELETE, B as BACKSPACE, E as ESCAPE } from './keycodes-DQ5DmW_Y.js';
3
- import { t as translations } from './translations-kct5Kybu.js';
3
+ import { t as translations } from './translations-D9ZGrMhe.js';
4
4
  import { a as getTarget, b as getHref } from './link-helper-5KsJICvh.js';
5
5
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
6
6
  import { s as setControlledElement } from './controlled-element-ByOXsysp.js';
7
7
  import { i as isEqual } from './isEqual-BIfg0KPc.js';
8
8
  import { M as MDCTextField } from './component-CVihTrav.js';
9
- import './language-ChagAaNf.js';
9
+ import './language-VamkUr90.js';
10
10
  import './_baseIsEqual-CJf575VC.js';
11
11
  import './_arrayPush-NEl7BpFy.js';
12
12
  import './_getNative-COawFdVX.js';
@@ -3,10 +3,10 @@ import { I as ImageTemplate } from './image.template-BGjw97m_.js';
3
3
  import { g as getRel } from './link-helper-5KsJICvh.js';
4
4
  import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
5
5
  import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-CIf8aGSd.js';
6
- import { t as translations } from './translations-kct5Kybu.js';
6
+ import { t as translations } from './translations-D9ZGrMhe.js';
7
7
  import { D as DELETE, B as BACKSPACE } from './keycodes-DQ5DmW_Y.js';
8
8
  import { i as isEmpty } from './isEmpty-CvLNUkER.js';
9
- import './language-ChagAaNf.js';
9
+ import './language-VamkUr90.js';
10
10
  import './_getTag-BTNY_Z_q.js';
11
11
  import './isObject-BJQylLSL.js';
12
12
  import './isLength-BZrtP4vv.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
3
- import './language-ChagAaNf.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
+ import './language-VamkUr90.js';
4
4
 
5
5
  class Diff {
6
6
  diff(oldStr, newStr,
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
2
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
3
3
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
4
- import { t as translations } from './translations-kct5Kybu.js';
5
- import './language-ChagAaNf.js';
4
+ import { t as translations } from './translations-D9ZGrMhe.js';
5
+ import './language-VamkUr90.js';
6
6
 
7
7
  var codemirror$1 = {exports: {}};
8
8
 
@@ -3,9 +3,9 @@ import { d as dispatchResizeEvent } from './dispatch-resize-event-z_E3sq3p.js';
3
3
  import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-CIf8aGSd.js';
4
4
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
5
5
  import { b as getIconColor, d as getIconTitle, g as getIconName } from './get-icon-props-CgNJbSP4.js';
6
- import { t as translations } from './translations-kct5Kybu.js';
6
+ import { t as translations } from './translations-D9ZGrMhe.js';
7
7
  import { i as isHeadingLevel } from './heading-level-B3C0kDpZ.js';
8
- import './language-ChagAaNf.js';
8
+ import './language-VamkUr90.js';
9
9
 
10
10
  const collapsibleSectionCss = () => `@charset "UTF-8";.expand-icon{position:relative;display:flex;align-items:center;justify-content:center;height:1.875rem;margin:0 0 0 0.5rem;width:0.75rem;flex-shrink:0}.line{position:absolute;inset:auto;margin:auto;width:100%;border-radius:1rem;height:0.125rem}.line:first-of-type,.line:last-of-type{transition:opacity 0.2s ease 0.1s, transform 0.4s ease 0.3s;opacity:0;background-color:var(--header-stroke-color, rgb(var(--contrast-900)))}.line:nth-of-type(2){transform:translate3d(0, 0.25rem, 0) rotate(90deg)}.line:nth-of-type(3){transform:translate3d(0, -0.25rem, 0) rotate(-90deg)}.line:nth-of-type(2),.line:nth-of-type(3){transition:opacity 0.2s ease, transform 0.18s ease}.line:nth-of-type(2):before,.line:nth-of-type(2):after,.line:nth-of-type(3):before,.line:nth-of-type(3):after{content:"";position:absolute;inset:0;margin:auto;width:50%;height:100%;border-radius:inherit;background-color:var(--header-stroke-color, rgb(var(--contrast-900)))}.line:nth-of-type(2):before,.line:nth-of-type(3):before{transform:translate3d(0, -0.1rem, 0) rotate(45deg)}.line:nth-of-type(2):after,.line:nth-of-type(3):after{transform:translate3d(0, 0.1rem, 0) rotate(-45deg)}.open-close-toggle:hover+.expand-icon .line:first-of-type,.open-close-toggle:hover+.expand-icon .line:last-of-type,.open-close-toggle:focus-visible+.expand-icon .line:first-of-type,.open-close-toggle:focus-visible+.expand-icon .line:last-of-type{transition:opacity 0.8s ease 0.4s, transform 0.4s ease 0.3s;opacity:1}.open-close-toggle:hover+.expand-icon .line:first-of-type,.open-close-toggle:focus-visible+.expand-icon .line:first-of-type{transform:rotate3d(0, 0, 1, 0deg)}.open-close-toggle:hover+.expand-icon .line:last-of-type,.open-close-toggle:focus-visible+.expand-icon .line:last-of-type{transform:rotate3d(0, 0, 1, 0deg)}.open-close-toggle:hover+.expand-icon .line:nth-of-type(2),.open-close-toggle:hover+.expand-icon .line:nth-of-type(3),.open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(2),.open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(3){transition:opacity 0.5s ease 0.4s, transform 0.7s cubic-bezier(0.85, 0.11, 0.14, 1.35) 0.2s}.open-close-toggle:hover+.expand-icon .line:nth-of-type(2),.open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(2){transform:translate3d(0, 0.5rem, 0) rotate(90deg);opacity:0.4}.open-close-toggle:hover+.expand-icon .line:nth-of-type(3),.open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(3){transform:translate3d(0, -0.5rem, 0) rotate(-90deg);opacity:0.4}section.open .line:first-of-type,section.open .line:last-of-type{transition:opacity 0.2s ease 0.1s, transform 0.4s ease 0.3s;opacity:1}section.open .line:first-of-type{transform:rotate3d(0, 0, 1, 0deg)}section.open .line:last-of-type{transform:rotate3d(0, 0, 1, 0deg)}section.open .line:nth-of-type(2),section.open .line:nth-of-type(3){transition:opacity 1s ease, transform 0.4s ease}section.open .line:nth-of-type(2){transform:translate3d(0, 1rem, 0) rotate(90deg);opacity:0}section.open .line:nth-of-type(3){transform:translate3d(0, -1rem, 0) rotate(-90deg);opacity:0}section.open .open-close-toggle:hover+.expand-icon .line:first-of-type,section.open .open-close-toggle:hover+.expand-icon .line:last-of-type,section.open .open-close-toggle:focus-visible+.expand-icon .line:first-of-type,section.open .open-close-toggle:focus-visible+.expand-icon .line:last-of-type{transition:opacity 0.2s ease 0.4s, transform 0.4s cubic-bezier(0.85, 0.11, 0.14, 1.35) 0.2s}section.open .open-close-toggle:hover+.expand-icon .line:first-of-type,section.open .open-close-toggle:focus-visible+.expand-icon .line:first-of-type{transform:rotate3d(0, 0, 1, 45deg)}section.open .open-close-toggle:hover+.expand-icon .line:last-of-type,section.open .open-close-toggle:focus-visible+.expand-icon .line:last-of-type{transform:rotate3d(0, 0, 1, -45deg)}section.open .open-close-toggle:hover+.expand-icon .line:nth-of-type(2),section.open .open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(2){transform:translate3d(0, 1rem, 0) rotate(90deg);opacity:0}section.open .open-close-toggle:hover+.expand-icon .line:nth-of-type(3),section.open .open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(3){transform:translate3d(0, -1rem, 0) rotate(-90deg);opacity:0}:host(limel-collapsible-section){--border-radius-of-header:0.75rem;display:block}:host([hidden]){display:none}button.open-close-toggle{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;position:absolute;inset:0;width:100%}button.open-close-toggle:focus{outline:none}button.open-close-toggle:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.open-close-toggle{transition:background-color 0.4s ease, border-radius 0.1s ease;cursor:pointer;z-index:-1;background-color:var(--closed-header-background-color, rgb(var(--contrast-200)));border-radius:var(--border-radius-of-header)}button.open-close-toggle:hover,button.open-close-toggle:focus-visible{background-color:var(--open-header-background-color, rgb(var(--contrast-300)))}section.open button.open-close-toggle{background-color:var(--open-header-background-color, rgb(var(--contrast-100)));border-radius:var(--border-radius-of-header) var(--border-radius-of-header) var(--limel-cs-open-header-bottom-border-radius, 0) var(--limel-cs-open-header-bottom-border-radius, 0)}section.open button.open-close-toggle:hover,section.open button.open-close-toggle:focus-visible{background-color:var(--open-header-background-color, rgb(var(--contrast-300)))}.title,.divider-line,.expand-icon{pointer-events:none}section{transition:box-shadow 0.4s ease;border-radius:var(--border-radius-of-header)}section[aria-invalid]:not([aria-invalid=false]){--header-stroke-color:rgb(var(--color-red-default)) !important}section[aria-invalid]:not([aria-invalid=false]):not(.open){box-shadow:0 0 0 1px rgb(var(--color-red-default))}header{isolation:isolate;position:relative;align-items:center;display:flex;justify-content:space-between;gap:0.5rem;padding-left:0.5rem;height:2.5rem}limel-icon{width:1.5rem;flex-shrink:0}.title{font-size:1rem;font-weight:300;color:var(--limel-theme-on-surface-color);justify-self:flex-start;user-select:none;height:auto;max-height:3rem;line-height:1.2rem;display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.divider-line{transition:opacity 0.3s ease 0.3s;flex-grow:1;height:0.125rem;border-radius:1rem;background-color:var(--header-stroke-color, rgb(var(--contrast-900)));opacity:0;margin-right:0.5rem}section.open .divider-line{opacity:0.16}.actions{justify-self:flex-end;flex-shrink:0}::slotted([slot=header]){margin-right:0.5rem}.body{background-color:var(--body-background-color, var(--contrast-100));padding-left:var(--body-padding, 1.25rem);padding-right:var(--body-padding, 1.25rem);border-radius:0 0 var(--border-radius-of-header) var(--border-radius-of-header)}.body{transition:grid-template-rows var(--limel-cs-grid-template-rows-transition-speed) cubic-bezier(1, 0.09, 0, 0.89);display:grid;grid-template-rows:var(--limel-cs-grid-template-rows)}.body slot{transition:opacity var(--limel-cs-opacity-transition-speed) ease var(--limel-cs-opacity-transition-delay);display:block;overflow:hidden}:host(limel-collapsible-section:not([is-open])){--limel-cs-opacity-transition-speed:0.1s;--limel-cs-opacity-transition-delay:0s;--limel-cs-grid-template-rows-transition-speed:0.3s;--limel-cs-grid-template-rows:0fr}:host(limel-collapsible-section:not([is-open])) slot{opacity:0}:host(limel-collapsible-section[is-open]){--limel-cs-opacity-transition-speed:0.4s;--limel-cs-opacity-transition-delay:0.3s;--limel-cs-grid-template-rows-transition-speed:0.46s;--limel-cs-grid-template-rows:1fr}:host(limel-collapsible-section[is-open]) slot{opacity:1}header:hover+.body,header:has(.open-close-toggle:hover)+.body,header:has(.open-close-toggle:focus-visible)+.body{will-change:grid-template-rows}header:hover+.body slot,header:has(.open-close-toggle:hover)+.body slot,header:has(.open-close-toggle:focus-visible)+.body slot{will-change:opacity}`;
11
11
 
@@ -3,7 +3,7 @@ import { c as createRandomString } from './random-string-BrjD-ITe.js';
3
3
  import { i as isIOSDevice, a as isAndroidDevice } from './device-B-tmXAXV.js';
4
4
  import './sv-DpsDSi7k.js';
5
5
  import { m as moment } from './moment-_DadZLWp.js';
6
- import { g as getPrimarySubtag } from './language-ChagAaNf.js';
6
+ import { a as getPrimarySubtag } from './language-VamkUr90.js';
7
7
  import { M as MDCTextField } from './component-CVihTrav.js';
8
8
  import './_commonjsHelpers-B85MJLTf.js';
9
9
  import './ponyfill-6YuZiAPi.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
3
- import './language-ChagAaNf.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
+ import './language-VamkUr90.js';
4
4
 
5
5
  const dockCss = () => `@charset "UTF-8";button.expand-shrink{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;box-sizing:border-box;transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:transparent}button.expand-shrink:hover,button.expand-shrink:focus,button.expand-shrink:focus-visible{will-change:color, background-color, box-shadow, transform}button.expand-shrink:hover,button.expand-shrink:focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}button.expand-shrink:hover{box-shadow:var(--button-shadow-hovered)}button.expand-shrink:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button.expand-shrink:hover,button.expand-shrink:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button.expand-shrink:focus{outline:none}button.expand-shrink:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.expand-shrink{display:flex;justify-content:center;align-items:center;height:var(--dock-expand-shrink-button-height);padding:0 0.5rem;margin:var(--limel-dock-padding);border-radius:0.375rem}button.expand-shrink.expanded{justify-content:flex-end}button.expand-shrink.expanded limel-icon{transform:rotateY(180deg)}button.expand-shrink limel-icon{width:calc(var(--dock-expand-shrink-button-height) - 0.25rem);color:var(--dock-item-icon-color, var(--limel-dock-item-text-color))}:host(limel-dock){--badge-background-color:rgb(var(--color-red-default));--badge-text-color:rgb(var(--color-white));--dock-item-height:2.75rem;--limel-dock-padding:0.25rem;--dock-expand-shrink-button-height:1rem;--limel-dock-item-text-color:var( --dock-item-text-color, rgb(var(--contrast-1100)) );--limel-dock-item-text-color--selected:var( --dock-item-text-color--selected, rgb(var(--contrast-1300)) );isolation:isolate;position:relative;box-sizing:border-box;display:inline-flex;flex-direction:column;background-color:var(--dock-background-color, rgb(var(--contrast-100)));box-shadow:var(--shadow-depth-8);padding-top:var(--dock-padding-top);padding-right:var(--dock-padding-right);padding-bottom:var(--dock-padding-bottom);padding-left:var(--dock-padding-left)}:host(limel-dock:not(.has-mobile-layout)){height:100%;width:calc(var(--limel-dock-padding) * 2 + var(--dock-item-height) + var(--dock-padding-left, 0px) + var(--dock-padding-right, 0px))}:host(limel-dock:not(.has-mobile-layout)) nav{padding-bottom:calc(var(--limel-dock-padding) + 0.25rem)}:host(limel-dock.expanded:not(.has-mobile-layout)){width:calc(var(--dock-expanded-max-width, 10rem) + var(--dock-padding-left, 0px) + var(--dock-padding-right, 0px))}.footer-separator{margin-top:auto;justify-self:flex-end}nav{box-sizing:border-box;display:inline-flex;flex-direction:column;gap:0.375rem;flex-grow:1;padding:var(--limel-dock-padding);overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}nav::-webkit-scrollbar{display:none}:host(limel-dock.has-mobile-layout) nav{justify-content:space-between;flex-direction:row}limel-dock-button:first-of-type{--limel-custom-home-icon-enabler:var(--crm-custom-home-icon-enabler);--limel-custom-home-icon:var(--crm-custom-home-icon)}`;
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
3
- import './language-ChagAaNf.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
+ import './language-VamkUr90.js';
4
4
 
5
5
  const dragHandleCss = () => `@charset "UTF-8";limel-drag-handle{display:inline-flex;align-items:center;justify-content:center}button.limel-drag-handle{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit}button.limel-drag-handle:focus{outline:none}button.limel-drag-handle:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.limel-drag-handle{transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:transparent}button.limel-drag-handle:hover,button.limel-drag-handle:focus,button.limel-drag-handle:focus-visible{will-change:color, background-color, box-shadow, transform}button.limel-drag-handle:hover,button.limel-drag-handle:focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--mdc-theme-primary);background-color:transparent}button.limel-drag-handle:hover{box-shadow:var(--button-shadow-hovered)}button.limel-drag-handle:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button.limel-drag-handle:hover,button.limel-drag-handle:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button.limel-drag-handle{touch-action:none;cursor:grab}button.limel-drag-handle:active{cursor:grabbing}button.limel-drag-handle:active,button.limel-drag-handle:hover{box-shadow:none !important}button.limel-drag-handle{display:inline-flex;align-items:center;justify-content:center;border-radius:0.4rem;padding:0.5rem;max-height:2.25rem;max-width:2.25rem;color:rgb(var(--contrast-900))}button.limel-drag-handle .drag-icon{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0.2rem}limel-drag-handle[drag-direction=horizontal] button.limel-drag-handle .drag-icon{grid-template-columns:1fr 1fr}button.limel-drag-handle .drag-icon div{transition:transform 0.2s ease, background-color 0.2s ease;height:0.125rem;width:0.125rem;border-radius:1rem;background-color:currentColor;transform:scale(1)}.is-being-dragged button.limel-drag-handle .drag-icon div,button.limel-drag-handle:active .drag-icon div,button.limel-drag-handle:focus .drag-icon div,button.limel-drag-handle:hover .drag-icon div,button.limel-drag-handle:focus-visible .drag-icon div{background-color:var(--mdc-theme-primary);transform:scale(1.5)}`;
6
6
 
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { f as formatBytes } from './format-bytes-24yUSW40.js';
4
4
  import { a as adaptColorContrast } from './adapt-color-contrast-BQoih_t0.js';
5
5
  import { g as getIconBackgroundColorForFile, a as getIconFillColorForFile, b as getIconForFile } from './icons-Bu_YRgCL.js';
6
- import './language-ChagAaNf.js';
6
+ import './language-VamkUr90.js';
7
7
 
8
8
  /**
9
9
  * Checks whether the given HTML contains any images with a `data-remote-src`
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, a as getElement } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { d as defaultSchema, u as unified, r as rehypeParse, a as rehypeSanitize, v as visit, b as rehypeStringify } from './index-CofmbCdQ.js';
4
4
  import { I as ImageTemplate } from './image.template-BGjw97m_.js';
5
- import './language-ChagAaNf.js';
5
+ import './language-VamkUr90.js';
6
6
  import './_commonjsHelpers-B85MJLTf.js';
7
7
 
8
8
  /**
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { g as getFileBackgroundColor, a as getFileColor, b as getFileExtensionTitle, c as getFileIcon } from './file-metadata-BHzkIH4g.js';
4
4
  import { f as formatBytes } from './format-bytes-24yUSW40.js';
5
5
  import { r as resizeImage } from './image-resize-Dv2HOgWN.js';
6
- import './language-ChagAaNf.js';
6
+ import './language-VamkUr90.js';
7
7
  import './icons-Bu_YRgCL.js';
8
8
  import './get-icon-props-CgNJbSP4.js';
9
9
 
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
4
4
  import './sv-DpsDSi7k.js';
5
5
  import { m as moment } from './moment-_DadZLWp.js';
6
6
  import { i as isIOSDevice, a as isAndroidDevice } from './device-B-tmXAXV.js';
7
- import { g as getPrimarySubtag } from './language-ChagAaNf.js';
7
+ import { a as getPrimarySubtag } from './language-VamkUr90.js';
8
8
  import { e as eq } from './eq-CZ30nDJE.js';
9
9
  import { i as isArrayLike$1 } from './isArrayLike-wfLI14yj.js';
10
10
  import { i as isIndex } from './_isIndex-B--C3qwe.js';
@@ -46171,6 +46171,138 @@ function nextFrame() {
46171
46171
  return new Promise((resolve) => requestAnimationFrame(() => resolve()));
46172
46172
  }
46173
46173
 
46174
+ /**
46175
+ * The value without the defaults that were filled into the value the form was
46176
+ * given, as long as they still hold their default. A default the user changed
46177
+ * stays, and so do the defaults of what the user added, such as a list item.
46178
+ *
46179
+ * @param value - the value the form holds, with the defaults filled in
46180
+ * @param filled - the value the form was given, with the defaults filled in
46181
+ * @param given - the value the form was given
46182
+ * @returns the value without the defaults that were filled in
46183
+ */
46184
+ function withoutFilledDefaults(value, filled, given) {
46185
+ // A change can bring in objects that hold nothing, which mean nothing
46186
+ if (isPlainObject$1(value)) {
46187
+ return withoutFilledProperties(value, isPlainObject$1(filled) ? filled : {}, given);
46188
+ }
46189
+ if (Array.isArray(value)) {
46190
+ return withoutFilledItems(value, Array.isArray(filled) ? filled : [], given);
46191
+ }
46192
+ return given === undefined && isEqual(value, filled) ? undefined : value;
46193
+ }
46194
+ function withoutFilledProperties(value, filled, given) {
46195
+ const givenProperties = isPlainObject$1(given)
46196
+ ? given
46197
+ : {};
46198
+ // In the order they were given, so a saved value keeps its key order
46199
+ const keys = new Set([
46200
+ ...Object.keys(givenProperties),
46201
+ ...Object.keys(value),
46202
+ ]);
46203
+ const result = {};
46204
+ for (const key of keys) {
46205
+ if (!Object.hasOwn(value, key)) {
46206
+ continue;
46207
+ }
46208
+ const kept = withoutFilledDefaults(value[key], filled[key], givenProperties[key]);
46209
+ if (kept !== undefined) {
46210
+ result[key] = kept;
46211
+ }
46212
+ }
46213
+ return isEmpty(result) && given == null ? given : result;
46214
+ }
46215
+ // Items are paired with the ones the form was given by content, so a removed
46216
+ // or moved item does not shift the others onto the defaults of their
46217
+ // neighbors. An item that no longer equals any of them is paired with the one
46218
+ // it has the most in common with, so an edited item still loses its defaults
46219
+ function withoutFilledItems(items, filled, given) {
46220
+ // A list that was not given is a default as a whole: once the user
46221
+ // changes it, it is the user's
46222
+ if (!Array.isArray(given)) {
46223
+ return isEqual(items, filled) ? given : items;
46224
+ }
46225
+ const givenItems = given;
46226
+ const matches = pairItems(items, filled);
46227
+ const result = [];
46228
+ for (const [index, item] of items.entries()) {
46229
+ const match = matches.get(index);
46230
+ if (match === undefined) {
46231
+ result.push(item);
46232
+ continue;
46233
+ }
46234
+ const kept = withoutFilledDefaults(item, filled[match], givenItems[match]);
46235
+ if (kept !== undefined) {
46236
+ result.push(kept);
46237
+ }
46238
+ }
46239
+ return result;
46240
+ }
46241
+ function pairItems(items, filled) {
46242
+ const matches = new Map();
46243
+ const unmatched = new Set(filled.keys());
46244
+ const pair = (index, match) => {
46245
+ matches.set(index, match);
46246
+ unmatched.delete(match);
46247
+ };
46248
+ for (const [index, item] of items.entries()) {
46249
+ if (unmatched.has(index) && isEqual(item, filled[index])) {
46250
+ pair(index, index);
46251
+ }
46252
+ }
46253
+ for (const [index, item] of items.entries()) {
46254
+ if (matches.has(index)) {
46255
+ continue;
46256
+ }
46257
+ const same = [...unmatched].find((i) => isEqual(item, filled[i]));
46258
+ if (same !== undefined) {
46259
+ pair(index, same);
46260
+ }
46261
+ }
46262
+ for (const [index, item] of items.entries()) {
46263
+ if (matches.has(index)) {
46264
+ continue;
46265
+ }
46266
+ const closest = findClosest(item, filled, unmatched);
46267
+ if (closest !== undefined) {
46268
+ pair(index, closest);
46269
+ }
46270
+ }
46271
+ return matches;
46272
+ }
46273
+ // The one item that shares the most equal properties, if it shares any at
46274
+ // all. When several share as many there is no telling which the item was, and
46275
+ // it is left as it is, since a kept default means the same as a missing one
46276
+ // while a lost value does not
46277
+ function findClosest(item, filled, candidates) {
46278
+ if (!isPlainObject$1(item)) {
46279
+ return undefined;
46280
+ }
46281
+ let closest;
46282
+ let best = 0;
46283
+ let isTied = false;
46284
+ for (const candidate of candidates) {
46285
+ const score = sharedProperties(item, filled[candidate]);
46286
+ if (score === best) {
46287
+ isTied = true;
46288
+ continue;
46289
+ }
46290
+ if (score < best) {
46291
+ continue;
46292
+ }
46293
+ best = score;
46294
+ closest = candidate;
46295
+ isTied = false;
46296
+ }
46297
+ return isTied ? undefined : closest;
46298
+ }
46299
+ function sharedProperties(item, other) {
46300
+ if (!isPlainObject$1(other)) {
46301
+ return 0;
46302
+ }
46303
+ return Object.entries(item).filter(([key, value]) => isEqual(value, other[key])).length;
46304
+ }
46305
+
46174
46306
  const formCss = () => `@charset "UTF-8";.limel-form-row--layout{--limel-form-row-border-radius:0.375rem;--limel-form-row-icon-size:1.75rem;--limel-form-row-main-information-gap:0.5rem;display:flex;flex-direction:column}.limel-form-row--layout .row{display:flex;gap:0.5rem;flex-direction:column;padding:0.5rem 1rem}.limel-form-row--layout .row:nth-child(odd){background-color:var(--form-background-color-of-odd-rows, rgb(var(--contrast-200)))}.limel-form-row--layout .row:nth-child(even){background-color:var(--form-background-color-of-even-rows, transparent)}.limel-form-row--layout .row:first-child{border-radius:var(--limel-form-row-border-radius) var(--limel-form-row-border-radius) 0 0}.limel-form-row--layout .row:last-child{border-radius:0 0 var(--limel-form-row-border-radius) var(--limel-form-row-border-radius)}.limel-form-row--layout .main-information{position:relative;display:flex;flex-direction:row;align-items:center;gap:var(--limel-form-row-main-information-gap);min-width:0}.limel-form-row--layout .main-information{position:relative}.limel-form-row--layout .main-information>.rjsf-field{position:unset}.limel-form-row--layout .main-information>.rjsf-field limel-help{top:0}.limel-form-row--layout limel-icon{color:rgb(var(--contrast-1200));width:var(--limel-form-row-icon-size);flex-shrink:0;min-width:0}.limel-form-row--layout .title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;font-weight:normal;flex-grow:1;color:var(--limel-theme-on-surface-color);font-size:0.875rem}.limel-form-row--layout .description{margin:0;color:var(--limel-theme-text-secondary-on-background-color);font-size:var(--limel-theme-default-small-font-size);line-height:1.5}.limel-form-row--layout .has-icon .description{padding-left:calc(var(--limel-form-row-icon-size) + var(--limel-form-row-main-information-gap))}.limel-form-row--layout .rjsf-field{flex-shrink:0;display:flex;align-content:center}.limel-form-row--layout .rjsf-field limel-slider{min-width:8rem;display:block}*,*::after,*::before{box-sizing:border-box}.rjsf-field{min-width:0}.limel-form-array-item--simple{display:flex;align-items:center;padding:0.25rem}.limel-form-array-item--simple>*:first-child{flex:1;min-width:0}.array-items{isolation:isolate;display:flex;flex-direction:column;row-gap:var(--form-row-gap, 0.5rem);margin-top:1rem}.array-items.has-an-item-which-is-being-dragged limel-collapsible-section{--limel-cs-grid-template-rows:0fr;--limel-cs-opacity-transition-speed:0.2s;--limel-cs-grid-template-rows-transition-speed:0.2s;--limel-cs-open-header-bottom-border-radius:0.75rem}.array-item:has(limel-drag-handle:hover),.array-item:has(limel-drag-handle:focus-within),.array-item.is-elevated,.array-item.sortable-chosen{will-change:transform, box-shadow, border-radius, background-color}.array-item.sortable-ghost{border-radius:0.5rem;box-shadow:var(--shadow-depth-64), 0 0.65rem 0.75rem -0.425rem rgb(var(--color-black), 0.3)}.array-item.sortable-chosen{border-radius:0.5rem;background-color:var(--lime-elevated-surface-background-color)}.array-item.is-elevated[draggable=false]{animation:sit-here 0.8s forwards}@keyframes sit-here{0%{border-radius:0.5rem;background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--shadow-depth-64), 0 0.65rem 0.75rem -0.425rem rgb(var(--color-black), 0.3)}100%{box-shadow:none}}limel-drag-handle{order:10}limel-collapsible-section.is-being-dragged{border-radius:0.75rem !important}.limel-form-layout--default{display:grid;column-gap:var(--form-column-gap, 1rem);row-gap:var(--form-row-gap, 1rem);padding:var(--form-body-padding, 1rem)}.limel-form-layout--grid{--min-height-of-one-row:2.5rem;display:grid;column-gap:var(--form-column-gap, 1rem);row-gap:var(--form-row-gap, 1rem);padding:var(--form-body-padding, 1rem);grid-template-columns:repeat(var(--number-of-columns), minmax(0, 1fr))}.limel-form-layout--grid.auto-reorder-to-avoid-empty-cells{grid-auto-flow:dense}.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--1,.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--2,.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--3,.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--4,.limel-form-layout--grid.layout-1-columns .limel-form-layout-colspan--5{grid-column:span 1}.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--1{grid-column:span 1}.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--2,.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--3,.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--4,.limel-form-layout--grid.layout-2-columns .limel-form-layout-colspan--5{grid-column:span 2}.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--1{grid-column:span 1}.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--2{grid-column:span 2}.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--3,.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--4,.limel-form-layout--grid.layout-3-columns .limel-form-layout-colspan--5{grid-column:span 3}.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--1{grid-column:span 1}.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--2{grid-column:span 2}.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--3{grid-column:span 3}.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--4,.limel-form-layout--grid.layout-4-columns .limel-form-layout-colspan--5{grid-column:span 4}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--1{grid-column:span 1}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--2{grid-column:span 2}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--3{grid-column:span 3}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--4{grid-column:span 4}.limel-form-layout--grid.layout-5-columns .limel-form-layout-colspan--5{grid-column:span 5}.limel-form-layout--grid .limel-form-layout-colspan--all{grid-column:1/-1}.limel-form-layout--grid limel-checkbox,.limel-form-layout--grid limel-switch{min-height:var(--min-height-of-one-row)}.limel-form-layout--grid limel-checkbox{display:block}.limel-form-layout--grid limel-switch{margin-left:0.5rem}.form-error{color:var(--limel-theme-error-color);font-size:0.6875rem;line-height:1.5;visibility:inherit;padding-right:1rem;padding-left:1rem;padding-top:0.25rem}.button-add-new{margin-top:0.5rem;width:100%}:is(h1,h2,h3,h4,h5,h6){position:relative;margin-top:0;margin-bottom:0;word-break:break-word;hyphens:auto;-webkit-hyphens:auto;text-wrap:balance;font-size:var(--limel-form-heading-font-size);line-height:calc(var(--limel-form-heading-font-size) * 1.42857);letter-spacing:-0.01rem;font-weight:500}limel-markdown{display:block;margin-bottom:0.5rem}.rjsf-field{position:relative}.rjsf-field limel-help{position:absolute;top:calc(var(--form-row-gap, 1rem) * -0.5);left:calc(var(--form-column-gap, 1rem) * -0.5)}.rjsf-field :is(h1,h2,h3,h4,h5,h6){color:rgb(var(--contrast-1400), 0.8)}.rjsf-field :is(h1,h2,h3,h4,h5,h6){--limel-form-heading-font-size:1.476rem;font-weight:800}.rjsf-field .rjsf-field :is(h1,h2,h3,h4,h5,h6){--limel-form-heading-font-size:1.383rem;font-weight:700}.rjsf-field .rjsf-field :is(h1,h2,h3,h4,h5,h6):before{content:"";display:block;position:absolute;top:0;bottom:0;margin:auto;left:-0.75rem;background-color:var(--lime-primary-color, var(--limel-theme-primary-color));width:0.125rem;height:1.5rem;border-radius:0.125rem;opacity:0.6}.rjsf-field .rjsf-field .rjsf-field :is(h1,h2,h3,h4,h5,h6){--limel-form-heading-font-size:1.296rem;font-weight:600}.rjsf-field .rjsf-field .rjsf-field :is(h1,h2,h3,h4,h5,h6):before{display:none}.rjsf-field .rjsf-field .rjsf-field .rjsf-field :is(h1,h2,h3,h4,h5,h6){--limel-form-heading-font-size:1.215rem}.rjsf-field .rjsf-field .rjsf-field .rjsf-field :is(h1,h2,h3,h4,h5,h6):before{display:none}.rjsf-field .rjsf-field .rjsf-field .rjsf-field .rjsf-field :is(h1,h2,h3,h4,h5,h6){--limel-form-heading-font-size:1.138rem}.rjsf-field .rjsf-field .rjsf-field .rjsf-field .rjsf-field :is(h1,h2,h3,h4,h5,h6):before{display:none}.rjsf-field .rjsf-field .rjsf-field .rjsf-field .rjsf-field .rjsf-field :is(h1,h2,h3,h4,h5,h6){--limel-form-heading-font-size:1.067rem}.rjsf-field .rjsf-field .rjsf-field .rjsf-field .rjsf-field .rjsf-field :is(h1,h2,h3,h4,h5,h6):before{display:none}.limel-form-field--highlighted{position:relative}.limel-form-field--highlighted::after{content:"";position:absolute;inset:-0.25rem;border-radius:0.5rem;pointer-events:none;animation-name:highlight-field-background, highlight-field-shadow;animation-duration:6s;animation-delay:0.1s, 0.3s;animation-timing-function:ease-in-out}@media (prefers-reduced-motion){.limel-form-field--highlighted::after{animation-duration:4s;animation-delay:0s}}@keyframes highlight-field-background{0%{background-color:transparent}12.5%{background-color:color-mix(in srgb, var(--lime-primary-color, var(--limel-theme-primary-color)), transparent 65%)}45%,100%{background-color:transparent}}@keyframes highlight-field-shadow{0%,25%,50%{box-shadow:none}12.5%,37.5%{box-shadow:var(--shadow-depth-8-focused)}62.5%,72.5%{box-shadow:var(--shadow-depth-8-focused);animation-timing-function:ease-out}100%{box-shadow:none}}@media (prefers-reduced-motion){@keyframes highlight-field-shadow{0%,25%{box-shadow:var(--shadow-depth-8-focused);animation-timing-function:ease-out}100%{box-shadow:none}}}`;
46175
46307
 
46176
46308
  var __rest = (undefined && undefined.__rest) || function (s, e) {
@@ -46185,6 +46317,15 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
46185
46317
  }
46186
46318
  return t;
46187
46319
  };
46320
+ // `@rjsf/core` v6 treats a `const` inside `oneOf`/`anyOf` as a default and
46321
+ // auto-selects the first option, so an optional enum can never be left empty
46322
+ // (clearing it just gets repopulated on the next render). `skipOneOf` keeps this
46323
+ // off for enums while still applying genuine `default` values, matching the
46324
+ // pre-v6 behavior.
46325
+ const FILL_DEFAULTS = {
46326
+ constAsDefaults: 'skipOneOf',
46327
+ requiredBooleanDefault: 'skip',
46328
+ };
46188
46329
  const Form = class {
46189
46330
  constructor(hostRef) {
46190
46331
  registerInstance(this, hostRef);
@@ -46216,6 +46357,18 @@ const Form = class {
46216
46357
  * which keeps untouched required-empty fields silent.
46217
46358
  */
46218
46359
  this.revealErrors = false;
46360
+ /**
46361
+ * Set to `false` to leave the defaults of the schema out of the value,
46362
+ * so that it stays as it was given until the user changes something. The
46363
+ * form still shows the defaults. A default the user changes is in the
46364
+ * value from then on, and so are the defaults that a change brings in,
46365
+ * such as those of a new list item or of fields that depend on the
46366
+ * changed one. Pass the value the form emits back in as `value`.
46367
+ * The form validates what it shows, defaults included. When the user
46368
+ * changes everything back, the value is what the form was given, also
46369
+ * when that is `null` or `undefined`.
46370
+ */
46371
+ this.includeDefaults = true;
46219
46372
  this.isValid = true;
46220
46373
  this.initialized = false;
46221
46374
  this.handleChange = this.handleChange.bind(this);
@@ -46225,8 +46378,17 @@ const Form = class {
46225
46378
  this.initialize();
46226
46379
  }
46227
46380
  componentWillLoad() {
46381
+ this.currentValue = this.value;
46228
46382
  this.warnIfHeadingLevelIsInvalid();
46229
46383
  }
46384
+ handleValueChange() {
46385
+ // The host usually hands back the value the form emitted, as a new
46386
+ // object, which is not a new value to leave the defaults out of
46387
+ if (!isEqual(this.value, this.currentValue)) {
46388
+ this.givenValue = undefined;
46389
+ }
46390
+ this.currentValue = this.value;
46391
+ }
46230
46392
  componentDidLoad() {
46231
46393
  this.initialize();
46232
46394
  this.showHighlightedField();
@@ -46268,7 +46430,7 @@ const Form = class {
46268
46430
  this.initialized = false;
46269
46431
  }
46270
46432
  render() {
46271
- return h$1("div", { key: '549ba8cd825aadedc4ec9e696f6d03bee028cb89', class: "root" });
46433
+ return h$1("div", { key: 'a50619f8a46a7e3b3ca5ade698141f22cfdd704f', class: "root" });
46272
46434
  }
46273
46435
  reactRender() {
46274
46436
  if (!this.root) {
@@ -46281,21 +46443,12 @@ const Form = class {
46281
46443
  : 1,
46282
46444
  }, React.createElement(Form$1, {
46283
46445
  schema: this.prepareSchema(this.schema),
46284
- formData: this.value,
46446
+ formData: this.currentValue,
46285
46447
  onChange: this.handleChange,
46286
46448
  widgets: widgets,
46287
46449
  validator: rjsfValidator,
46288
46450
  liveValidate: 'onChange',
46289
- // `@rjsf/core` v6 treats a `const` inside `oneOf`/`anyOf`
46290
- // as a default and auto-selects the first option, so an
46291
- // optional enum can never be left empty (clearing it just
46292
- // gets repopulated on the next render). `skipOneOf` keeps
46293
- // this off for enums while still applying genuine
46294
- // `default` values, matching the pre-v6 behavior.
46295
- experimental_defaultFormStateBehavior: {
46296
- constAsDefaults: 'skipOneOf',
46297
- requiredBooleanDefault: 'skip',
46298
- },
46451
+ experimental_defaultFormStateBehavior: FILL_DEFAULTS,
46299
46452
  showErrorList: false,
46300
46453
  extraErrors: this.getExtraErrors(this.errors),
46301
46454
  templates: {
@@ -46329,11 +46482,42 @@ const Form = class {
46329
46482
  return this.host.shadowRoot.querySelector('.root');
46330
46483
  }
46331
46484
  handleChange(event) {
46332
- this.change.emit(event.formData);
46485
+ if (this.includeDefaults) {
46486
+ this.currentValue = event.formData;
46487
+ this.change.emit(event.formData);
46488
+ return;
46489
+ }
46490
+ const { given, filled } = this.getGivenValue();
46491
+ this.givenValue.held = event.formData;
46492
+ const value = withoutFilledDefaults(event.formData, filled, given);
46493
+ if (isEqual(value, this.currentValue)) {
46494
+ // What the form holds changed, even though the value did not
46495
+ this.emitValidationStatus(event.errors);
46496
+ return;
46497
+ }
46498
+ this.currentValue = value;
46499
+ this.change.emit(this.currentValue);
46333
46500
  }
46334
- validateFormData() {
46501
+ getGivenValue() {
46335
46502
  var _a;
46336
- const { errors } = rjsfValidator.validateFormData((_a = this.value) !== null && _a !== void 0 ? _a : {}, this.prepareSchema(this.schema));
46503
+ const schema = this.prepareSchema(this.schema);
46504
+ if (((_a = this.givenValue) === null || _a === void 0 ? void 0 : _a.schemaId) !== schema.$id) {
46505
+ const filled = getDefaultFormState(rjsfValidator, schema, this.currentValue, schema, false, FILL_DEFAULTS);
46506
+ this.givenValue = {
46507
+ schemaId: schema.$id,
46508
+ given: this.currentValue,
46509
+ filled,
46510
+ held: filled,
46511
+ };
46512
+ }
46513
+ return this.givenValue;
46514
+ }
46515
+ validateFormData() {
46516
+ // With the defaults left out of the value, the form holds more than it
46517
+ const value = this.includeDefaults
46518
+ ? this.value
46519
+ : this.getGivenValue().held;
46520
+ const { errors } = rjsfValidator.validateFormData(value !== null && value !== void 0 ? value : {}, this.prepareSchema(this.schema));
46337
46521
  this.emitValidationStatus(errors);
46338
46522
  }
46339
46523
  /**
@@ -46411,6 +46595,9 @@ const Form = class {
46411
46595
  }
46412
46596
  get host() { return getElement(this); }
46413
46597
  static get watchers() { return {
46598
+ "value": [{
46599
+ "handleValueChange": 0
46600
+ }],
46414
46601
  "headingLevel": [{
46415
46602
  "handleHeadingLevelChange": 0
46416
46603
  }],
@@ -3,9 +3,9 @@ import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
3
3
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
4
4
  import { r as renderListComponent } from './render-list-component-J1IzNpbv.js';
5
5
  import { C as CheckboxTemplate } from './checkbox.template-CAja2LKZ.js';
6
- import { t as translations } from './translations-kct5Kybu.js';
6
+ import { t as translations } from './translations-D9ZGrMhe.js';
7
7
  import { I as ImageTemplate } from './image.template-BGjw97m_.js';
8
- import './language-ChagAaNf.js';
8
+ import './language-VamkUr90.js';
9
9
 
10
10
  const listItemCss = () => `@charset "UTF-8";*,*:before,*:after{box-sizing:border-box}.boolean-input{--limel-boolean-input-box-size:1.25rem;--limel-boolean-input-gap-size:0.5rem;position:relative;isolation:isolate;display:flex;align-items:center;min-height:var(--limel-checkbox-min-height, 2.5rem);width:100%}.boolean-input input[type=checkbox],.boolean-input input[type=radio]{position:absolute;width:0;height:0;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;-webkit-appearance:none;-moz-appearance:none;appearance:none}label.boolean-input-label{min-width:var(--limel-boolean-input-box-size);min-height:var(--limel-boolean-input-box-size);padding-top:0.125rem;cursor:pointer;position:relative;width:100%;overflow-wrap:var(--limel-boolean-input-label-overflow-wrap, normal);font-size:var(--limel-theme-default-small-font-size);color:var(--limel-theme-text-primary-on-background-color);padding-left:calc(var(--limel-boolean-input-box-size) + var(--limel-boolean-input-gap-size))}.disabled:not([readonly]):not([readonly=true]) label.boolean-input-label{cursor:not-allowed;color:var(--limel-theme-text-disabled-color)}.required label.boolean-input-label:after{margin-left:0.0625rem;content:"*"}.invalid:not(.readonly) label.boolean-input-label{color:var(--limel-theme-error-text-color)}:host(limel-checkbox.hide-label) label.boolean-input-label,.hide-label label.boolean-input-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;opacity:0;width:var(--limel-boolean-input-box-size)}.box{position:absolute;pointer-events:none;transition:border-color 0.4s ease 0.2s, background-color 0.2s ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease;display:inline-block;vertical-align:middle;width:var(--limel-boolean-input-box-size);height:var(--limel-boolean-input-box-size);margin-right:var(--limel-boolean-input-gap-size);border-radius:var(--limel-boolean-input-box-border-radius);border:0.125rem solid;border-color:var(--checkbox-unchecked-border-color, rgb(var(--contrast-900)));background-color:var(--limel-checkbox-background-color, rgb(var(--contrast-300)));}.checked .box,.boolean-input>input[type=checkbox]:checked+.box,.boolean-input>input[type=radio]:checked+.box{background-color:var(--lime-primary-color, var(--limel-theme-primary-color));border-color:var(--lime-primary-color, var(--limel-theme-primary-color))}.disabled .box{opacity:0.4}.box{}.boolean-input:not(.disabled):hover .box{will-change:box-shadow;box-shadow:var(--button-shadow-hovered)}.boolean-input:not(.disabled):active .box{will-change:box-shadow;box-shadow:var(--button-shadow-pressed)}.box:before{transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);content:"";position:absolute;inset:-0.1875rem;border-radius:inherit;}.boolean-input>input[type=checkbox]:focus-visible+.box:before,.boolean-input>input[type=radio]:focus-visible+.box:before{will-change:box-shadow;box-shadow:var(--shadow-depth-8-focused)}.box:after{transition:opacity 0.2s ease, width 0.4s ease, box-shadow 0.6s cubic-bezier(0.68, -0.55, 0, 1.87), transform 0.6s cubic-bezier(0.68, -0.55, 0, 1.87);content:"";position:absolute;inset:0;margin:auto;border-radius:1rem;opacity:0;background-color:rgb(var(--color-white));}.boolean-input:not(.disabled):hover .box:after{will-change:opacity, box-shadow, transform, width}:host(limel-checkbox){--limel-boolean-input-label-overflow-wrap:var( --checkbox-label-overflow-wrap, normal );min-height:var(--limel-checkbox-min-height, 2.5rem)}.box:after{height:0.125rem;width:0.25rem}.indeterminate .box:after{opacity:1;width:calc(var(--limel-boolean-input-box-size) - 0.5rem)}.checkbox{--limel-boolean-input-box-border-radius:0.25rem}.checkbox svg.check-mark{position:absolute;z-index:1;inset:0;transform:translate3d(-0.125rem, -0.125rem, 0);width:var(--limel-boolean-input-box-size);height:var(--limel-boolean-input-box-size);padding:0.25rem;color:rgb(var(--color-white));opacity:0;stroke-width:0.1875rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.checkbox svg.check-mark path{stroke-dashoffset:29.7833;stroke-dasharray:29.7833;transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1)}.checkbox{}.checkbox:not(.indeterminate)>input[type=checkbox]:checked+.box svg.check-mark{opacity:1}.checkbox:not(.indeterminate)>input[type=checkbox]:checked+.box svg.check-mark path{stroke-dashoffset:0}limel-dynamic-label{margin-top:0.375rem;margin-left:-0.25rem}:host(limel-checkbox:focus),:host(limel-checkbox:focus-visible),:host(limel-checkbox:focus-within){--limel-h-l-grid-template-rows-transition-speed:0.46s;--limel-h-l-grid-template-rows:1fr}:host(limel-checkbox){--limel-h-l-grid-template-rows-transition-speed:0.3s;--limel-h-l-grid-template-rows:0fr}:host(limel-checkbox:focus) limel-helper-line,:host(limel-checkbox:focus-visible) limel-helper-line,:host(limel-checkbox:focus-within) limel-helper-line,:host(limel-checkbox:hover) limel-helper-line{will-change:grid-template-rows}*,*:before,*:after{box-sizing:border-box}limel-list-item{--limel-list-item-image-size:2rem;min-height:2.5rem}limel-list-item:focus{outline:none}limel-list-item:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}limel-list-item{transition:background-color 0.6s ease;position:relative;isolation:isolate;display:flex;align-items:center;gap:0.5rem;padding:0 1rem;background-color:rgb(var(--contrast-100))}limel-list-item:hover{z-index:1;transition:background-color 0.2s ease;border-radius:0.5rem}limel-list-item:focus,limel-list-item:focus-visible,limel-list-item:active{z-index:1;border-radius:0.5rem}limel-list-item:first-of-type{border-top-left-radius:0.5rem;border-top-right-radius:0.5rem}limel-list-item:last-of-type{border-bottom-left-radius:0.5rem;border-bottom-right-radius:0.5rem}limel-list-item:not([disabled]):not([disabled=true]){cursor:pointer}limel-list-item[disabled]:not([disabled=false]){cursor:not-allowed}limel-list-item[disabled]:not([disabled=false]){cursor:not-allowed}limel-list-item[disabled]:not([disabled=false]) .text,limel-list-item[disabled]:not([disabled=false]) limel-icon,limel-list-item[disabled]:not([disabled=false]) img,limel-list-item[disabled]:not([disabled=false]) .boolean-input{opacity:0.4}limel-list-item:not([disabled]):not([disabled=true]):hover,limel-list-item:not([disabled]):not([disabled=true]):focus-visible{background-color:rgb(var(--contrast-400))}limel-list-item[type=option]:before{transition:background-color 0.6s ease;content:"";position:absolute;inset:0;opacity:0.2;border-radius:0.5rem}limel-list-item[type=option][selected]:not([selected=false]):before{transition:background-color 0.2s ease;background-color:var(--mdc-theme-primary)}limel-list-item .text{flex-grow:1;min-width:0;display:flex;flex-direction:column;padding:0.5rem 0;color:var(--limel-theme-text-primary-on-background-color)}limel-list-item .label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:var(--limel-theme-default-font-size);line-height:1rem}limel-list-item .description{display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:var(--maxLinesSecondaryText);line-height:1rem;font-size:var(--limel-theme-default-small-font-size);opacity:0.6}limel-list-item limel-icon{color:var(--limel-theme-text-secondary-on-background-color);flex-shrink:0;margin-left:-0.5rem}limel-list-item limel-icon:has(+img){margin-left:0;position:absolute;top:0.125rem;left:0.125rem;padding:0.1875rem;width:1.25rem;background-color:rgb(var(--contrast-200), 0.8)}limel-list-item img{flex-shrink:0;object-fit:var(--list-item-image-object-fit, cover);border-radius:var(--list-item-image-border-radius, 50%);width:var(--limel-list-item-image-size);height:var(--limel-list-item-image-size);box-shadow:0 0 0 1px rgb(var(--contrast-800), 0.5)}limel-list-item limel-menu{margin-right:-0.5rem;order:var(--limel-list-item-menu-order, 3)}:has(>limel-list-item>img)>limel-list-item:not(:has(>img))>limel-icon{margin-left:0;min-width:var(--limel-list-item-image-size);max-width:var(--limel-list-item-image-size);min-height:var(--limel-list-item-image-size);max-height:var(--limel-list-item-image-size);box-shadow:0 0 0 1px rgb(var(--contrast-800), 0.5)}:has(>limel-list-item>img)>limel-list-item:not(:has(>img))>limel-icon:not([badge]){padding:0.25rem}limel-list-item[role=menuitem] limel-list-item .label{font-size:var(--limel-theme-default-small-font-size)}.boolean-input,limel-radio-button{width:var(--limel-boolean-input-box-size) !important;margin-left:-0.25rem !important}.boolean-input.checkbox{margin-right:0.25rem}limel-list-item:has(limel-icon) .boolean-input,limel-list-item:has(img) .boolean-input{margin-right:-0.25rem;margin-left:0;order:2}.boolean-input .boolean-input-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;opacity:0;width:var(--limel-boolean-input-box-size)}`;
11
11
 
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { a as ENTER } from './keycodes-DQ5DmW_Y.js';
4
4
  import { p as pageFromInput } from './pagination.util-CSC2LJ7P.js';
5
- import './language-ChagAaNf.js';
5
+ import './language-VamkUr90.js';
6
6
 
7
7
  const paginationJumpCss = () => `:host{display:flex;flex-direction:column;gap:0.75rem;padding:0.75rem;min-width:12rem}:host(:not([open])){display:none}`;
8
8
 
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
4
- import { g as getPrimarySubtag } from './language-ChagAaNf.js';
4
+ import { g as getSupportedLocale } from './language-VamkUr90.js';
5
5
  import { g as getPageSlots } from './pagination.util-CSC2LJ7P.js';
6
6
 
7
7
  const paginationCss = () => `@charset "UTF-8";:host(limel-pagination){display:block;box-sizing:border-box}*{box-sizing:border-box}nav{display:flex;align-items:center}button{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit}button:focus{outline:none}button:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:1.75rem;min-width:1.75rem;border-radius:1.75rem;padding:0 0.5rem;font-variant-numeric:tabular-nums}button:not([aria-disabled=true]):not([aria-current=page]){transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:rgb(var(--contrast-1100));background-color:transparent}button:not([aria-disabled=true]):not([aria-current=page]):hover,button:not([aria-disabled=true]):not([aria-current=page]):focus,button:not([aria-disabled=true]):not([aria-current=page]):focus-visible{will-change:color, background-color, box-shadow, transform}button:not([aria-disabled=true]):not([aria-current=page]):hover,button:not([aria-disabled=true]):not([aria-current=page]):focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}button:not([aria-disabled=true]):not([aria-current=page]):hover{box-shadow:var(--button-shadow-hovered)}button:not([aria-disabled=true]):not([aria-current=page]):active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button:not([aria-disabled=true]):not([aria-current=page]):hover,button:not([aria-disabled=true]):not([aria-current=page]):active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button[aria-disabled=true]:not([aria-current=page]){opacity:0.4}button[aria-disabled=true]{cursor:default}button[aria-current=page]{background-color:var(--limel-theme-surface-background-color);box-shadow:var(--button-shadow-inset)}button limel-spinner{position:absolute;pointer-events:none}limel-popover{display:inline-flex}.gap{width:1.75rem;padding:0;color:rgb(var(--contrast-1100))}.gap[aria-expanded=true]{box-shadow:var(--button-shadow-inset-pressed) !important}.arrow span{display:block;border-style:solid;border-color:transparent;border-width:0.25rem 0 0.25rem 0.375rem;border-left-color:currentColor;transition:transform 0.2s ease}.arrow.previous span{transform:rotateZ(180deg)}.arrow:not([aria-disabled=true]):hover.next span{transform:translate3d(0.1rem, 0, 0)}.arrow:not([aria-disabled=true]):hover.previous span{transform:translate3d(-0.1rem, 0, 0) rotateZ(180deg)}.live-region{position:absolute;width:0;height:0;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap}`;
@@ -287,7 +287,7 @@ const Pagination = class {
287
287
  }
288
288
  render() {
289
289
  const { slots } = this.view;
290
- return (h(Host, { key: '924becb588f7d773572b61865b9dd79b14171153' }, h("nav", { key: 'f517b62cf0107c912d576f08e9d99594f868be44', "aria-label": this.translate('pagination.label'), "aria-busy": this.loading ? 'true' : null }, this.renderArrow('previous'), slots.map((slot, index) => this.renderSlot(slot, index)), this.renderArrow('next')), h("span", { key: '21758520849acfe32f43e86570fe60a040cf2748', class: "live-region", "aria-live": "polite" }, this.liveMessage)));
290
+ return (h(Host, { key: '7c47cdc658859b4cd8199ef92ebd9bc48275a8ae' }, h("nav", { key: '3bba45547a7183a4b1df58294a56788f9b2e078f', "aria-label": this.translate('pagination.label'), "aria-busy": this.loading ? 'true' : null }, this.renderArrow('previous'), slots.map((slot, index) => this.renderSlot(slot, index)), this.renderArrow('next')), h("span", { key: '60fff33d8e135b1605d0a0f68b6c1ede1b571281', class: "live-region", "aria-live": "polite" }, this.liveMessage)));
291
291
  }
292
292
  /**
293
293
  * Without a count we know where the user is but not how far the set goes,
@@ -603,9 +603,7 @@ const Pagination = class {
603
603
  }
604
604
  /**
605
605
  * What the jump form is given, so that the one warning about a language
606
- * this browser cannot write numbers in describes both of us. A tag it
607
- * accepts but does not support, `zz`, resolves to the viewer's own locale
608
- * rather than throwing, so asking the formatter is the only way to know.
606
+ * this browser cannot write numbers in describes both of us.
609
607
  */
610
608
  get languageForNumbers() {
611
609
  var _a;
@@ -613,31 +611,21 @@ const Pagination = class {
613
611
  return this.settledLanguage;
614
612
  }
615
613
  /**
616
- * `Intl.NumberFormat` throws on a language it cannot parse, and this is
617
- * called from `render`, so an unusable one would leave the control drawing
618
- * nothing at all — the single state a user cannot click their way out of.
619
- * `src/util/language.ts` states the rule this keeps.
620
- *
621
- * A tag it cannot parse throws; a well-formed tag it does not support, like
622
- * `zz`, does not — it quietly resolves to whatever locale the machine runs
623
- * in. Both end up formatting numbers in something other than what was
624
- * asked for, so both are worth saying out loud.
614
+ * This is called from `render`, so a language that `Intl` cannot write
615
+ * numbers in must not throw, or the control would draw nothing at all —
616
+ * the single state a user cannot click their way out of.
617
+ * `getSupportedLocale` in `src/util/language.ts` decides which languages
618
+ * those are.
625
619
  *
626
620
  * @returns a formatter, in the given language where that is possible
627
621
  */
628
622
  createNumberFormat() {
629
623
  const { language } = this;
630
- try {
631
- const format = new Intl.NumberFormat(language);
632
- const resolved = format.resolvedOptions().locale;
633
- if (getPrimarySubtag(resolved) === getPrimarySubtag(language)) {
634
- this.warnedAbout.delete('language');
635
- this.settledLanguage = language;
636
- return format;
637
- }
638
- }
639
- catch (_a) {
640
- // Fall through to the warning below.
624
+ const locale = getSupportedLocale(language);
625
+ if (locale) {
626
+ this.warnedAbout.delete('language');
627
+ this.settledLanguage = language;
628
+ return new Intl.NumberFormat(locale);
641
629
  }
642
630
  this.warnOnce('language', language, () => `\`language\` must be one this browser can write numbers in, but was ${JSON.stringify(language)}. Using ${FALLBACK_LANGUAGE}.`);
643
631
  // Where the translations land for the same unusable value, rather than
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { c as createLiveMessage, i as isDescendant } from './live-message-BQAYeNiX.js';
4
4
  import { E as ESCAPE, A as ARROW_UP, T as TAB, a as ENTER, b as ARROW_DOWN } from './keycodes-DQ5DmW_Y.js';
5
5
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
6
6
  import { i as isTextEditingKey } from './typeahead-B4PwrlM3.js';
7
7
  import { a as getIconFillColor, g as getIconName } from './get-icon-props-CgNJbSP4.js';
8
8
  import { d as debounce } from './debounce-B67JMchz.js';
9
- import './language-ChagAaNf.js';
9
+ import './language-VamkUr90.js';
10
10
  import './isObject-BJQylLSL.js';
11
11
  import './toNumber-D6JYpQI9.js';
12
12
  import './isSymbol-ClAke5ga.js';