@limetech/lime-elements 37.45.2 → 37.46.1

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 (196) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/component-cba208a8.js +2448 -0
  3. package/dist/cjs/component-cba208a8.js.map +1 -0
  4. package/dist/cjs/{dom-ee8ee17d.js → debounce-2e5f4b7e.js} +1 -31
  5. package/dist/cjs/debounce-2e5f4b7e.js.map +1 -0
  6. package/dist/cjs/dom-81eaa633.js +34 -0
  7. package/dist/cjs/dom-81eaa633.js.map +1 -0
  8. package/dist/cjs/lime-elements.cjs.js +1 -1
  9. package/dist/cjs/{limel-action-bar_3.cjs.entry.js → limel-action-bar_4.cjs.entry.js} +68 -1
  10. package/dist/cjs/limel-action-bar_4.cjs.entry.js.map +1 -0
  11. package/dist/cjs/{limel-breadcrumbs_7.cjs.entry.js → limel-breadcrumbs_5.cjs.entry.js} +412 -3357
  12. package/dist/cjs/limel-breadcrumbs_5.cjs.entry.js.map +1 -0
  13. package/dist/cjs/limel-callout.cjs.entry.js +1 -1
  14. package/dist/cjs/limel-chip_2.cjs.entry.js +2 -2
  15. package/dist/cjs/limel-dynamic-label_4.cjs.entry.js +610 -0
  16. package/dist/cjs/limel-dynamic-label_4.cjs.entry.js.map +1 -0
  17. package/dist/cjs/limel-file-viewer.cjs.entry.js +1 -1
  18. package/dist/cjs/limel-file.cjs.entry.js +1 -1
  19. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
  20. package/dist/cjs/limel-form.cjs.entry.js +1 -1
  21. package/dist/cjs/limel-form.cjs.entry.js.map +1 -1
  22. package/dist/cjs/{limel-portal.cjs.entry.js → limel-icon_2.cjs.entry.js} +201 -1
  23. package/dist/cjs/limel-icon_2.cjs.entry.js.map +1 -0
  24. package/dist/cjs/limel-picker.cjs.entry.js +3 -2
  25. package/dist/cjs/limel-picker.cjs.entry.js.map +1 -1
  26. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +294 -16
  27. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js.map +1 -1
  28. package/dist/cjs/limel-snackbar.cjs.entry.js +1 -1
  29. package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
  30. package/dist/cjs/limel-text-editor.cjs.entry.js.map +1 -1
  31. package/dist/cjs/{link-helper-b7e6c8df.js → link-helper-563b01c0.js} +3 -1
  32. package/dist/cjs/link-helper-563b01c0.js.map +1 -0
  33. package/dist/cjs/loader.cjs.js +1 -1
  34. package/dist/cjs/{translations-988a3f51.js → translations-83a68e56.js} +25 -1
  35. package/dist/cjs/translations-83a68e56.js.map +1 -0
  36. package/dist/collection/collection-manifest.json +1 -0
  37. package/dist/collection/components/chip/chip.js +2 -2
  38. package/dist/collection/components/text-editor/link-menu/editor-link-menu.css +12 -0
  39. package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +201 -0
  40. package/dist/collection/components/text-editor/link-menu/editor-link-menu.js.map +1 -0
  41. package/dist/collection/components/text-editor/prosemirror-adapter/menu/menu-commands.js +72 -11
  42. package/dist/collection/components/text-editor/prosemirror-adapter/menu/menu-commands.js.map +1 -1
  43. package/dist/collection/components/text-editor/prosemirror-adapter/menu/menu-items.js +6 -0
  44. package/dist/collection/components/text-editor/prosemirror-adapter/menu/menu-items.js.map +1 -1
  45. package/dist/collection/components/text-editor/prosemirror-adapter/menu/types.js.map +1 -1
  46. package/dist/collection/components/text-editor/prosemirror-adapter/plugins/link-plugin.js +172 -0
  47. package/dist/collection/components/text-editor/prosemirror-adapter/plugins/link-plugin.js.map +1 -0
  48. package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.css +4 -0
  49. package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +53 -6
  50. package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js.map +1 -1
  51. package/dist/collection/components/text-editor/text-editor.css +1 -0
  52. package/dist/collection/translations/da.js +4 -0
  53. package/dist/collection/translations/da.js.map +1 -1
  54. package/dist/collection/translations/en.js +4 -0
  55. package/dist/collection/translations/en.js.map +1 -1
  56. package/dist/collection/translations/fi.js +4 -0
  57. package/dist/collection/translations/fi.js.map +1 -1
  58. package/dist/collection/translations/nl.js +4 -0
  59. package/dist/collection/translations/nl.js.map +1 -1
  60. package/dist/collection/translations/no.js +4 -0
  61. package/dist/collection/translations/no.js.map +1 -1
  62. package/dist/collection/translations/sv.js +4 -0
  63. package/dist/collection/translations/sv.js.map +1 -1
  64. package/dist/collection/util/link-helper.js +1 -1
  65. package/dist/collection/util/link-helper.js.map +1 -1
  66. package/dist/esm/component-db286494.js +2440 -0
  67. package/dist/esm/component-db286494.js.map +1 -0
  68. package/dist/esm/{dom-ae531ebc.js → debounce-9a05c91c.js} +2 -31
  69. package/dist/esm/debounce-9a05c91c.js.map +1 -0
  70. package/dist/esm/dom-0b0170a0.js +32 -0
  71. package/dist/esm/dom-0b0170a0.js.map +1 -0
  72. package/dist/esm/lime-elements.js +1 -1
  73. package/dist/esm/{limel-action-bar_3.entry.js → limel-action-bar_4.entry.js} +68 -2
  74. package/dist/esm/limel-action-bar_4.entry.js.map +1 -0
  75. package/dist/esm/{limel-breadcrumbs_7.entry.js → limel-breadcrumbs_5.entry.js} +404 -3347
  76. package/dist/esm/limel-breadcrumbs_5.entry.js.map +1 -0
  77. package/dist/esm/limel-callout.entry.js +1 -1
  78. package/dist/esm/limel-chip_2.entry.js +2 -2
  79. package/dist/esm/limel-dynamic-label_4.entry.js +603 -0
  80. package/dist/esm/limel-dynamic-label_4.entry.js.map +1 -0
  81. package/dist/esm/limel-file-viewer.entry.js +1 -1
  82. package/dist/esm/limel-file.entry.js +1 -1
  83. package/dist/esm/limel-flatpickr-adapter.entry.js +1 -1
  84. package/dist/esm/limel-form.entry.js +1 -1
  85. package/dist/esm/limel-form.entry.js.map +1 -1
  86. package/dist/esm/{limel-portal.entry.js → limel-icon_2.entry.js} +201 -2
  87. package/dist/esm/limel-icon_2.entry.js.map +1 -0
  88. package/dist/esm/limel-picker.entry.js +2 -1
  89. package/dist/esm/limel-picker.entry.js.map +1 -1
  90. package/dist/esm/limel-prosemirror-adapter.entry.js +294 -16
  91. package/dist/esm/limel-prosemirror-adapter.entry.js.map +1 -1
  92. package/dist/esm/limel-snackbar.entry.js +1 -1
  93. package/dist/esm/limel-text-editor.entry.js +1 -1
  94. package/dist/esm/limel-text-editor.entry.js.map +1 -1
  95. package/dist/esm/{link-helper-725a9166.js → link-helper-2a16b323.js} +2 -2
  96. package/dist/esm/link-helper-2a16b323.js.map +1 -0
  97. package/dist/esm/loader.js +1 -1
  98. package/dist/esm/{translations-e73d7840.js → translations-5ae8ec7b.js} +25 -1
  99. package/dist/esm/translations-5ae8ec7b.js.map +1 -0
  100. package/dist/lime-elements/lime-elements.esm.js +1 -1
  101. package/dist/lime-elements/lime-elements.esm.js.map +1 -1
  102. package/dist/lime-elements/p-18c97232.js +2 -0
  103. package/dist/lime-elements/p-18c97232.js.map +1 -0
  104. package/dist/lime-elements/{p-5cfed8a8.entry.js → p-26a43fd9.entry.js} +5 -5
  105. package/dist/lime-elements/p-29e0e5bd.js +2 -0
  106. package/dist/lime-elements/p-29e0e5bd.js.map +1 -0
  107. package/dist/lime-elements/{p-dfc28411.entry.js → p-42b6ba6d.entry.js} +2 -2
  108. package/dist/lime-elements/{p-c8ce7cd4.entry.js → p-4bd0b7fb.entry.js} +2 -2
  109. package/dist/lime-elements/p-50b604b9.entry.js +2 -0
  110. package/dist/lime-elements/p-50b604b9.entry.js.map +1 -0
  111. package/dist/lime-elements/{p-ab13cb4a.entry.js → p-5e2604e5.entry.js} +2 -2
  112. package/dist/lime-elements/p-5e7b7b03.js +2 -0
  113. package/dist/lime-elements/p-5e7b7b03.js.map +1 -0
  114. package/dist/lime-elements/{p-516619d3.js → p-6465625e.js} +2 -2
  115. package/dist/lime-elements/p-6465625e.js.map +1 -0
  116. package/dist/lime-elements/{p-7681dae8.entry.js → p-70bfa812.entry.js} +2 -2
  117. package/dist/lime-elements/p-8d71c9e5.entry.js +2 -0
  118. package/dist/lime-elements/p-8d71c9e5.entry.js.map +1 -0
  119. package/dist/lime-elements/p-8f10b7e4.entry.js +2 -0
  120. package/dist/lime-elements/p-8f10b7e4.entry.js.map +1 -0
  121. package/dist/lime-elements/{p-e3eb403a.entry.js → p-91a8c244.entry.js} +2 -2
  122. package/dist/lime-elements/p-b8bfe44d.entry.js +2 -0
  123. package/dist/lime-elements/{p-3f4d2f62.entry.js.map → p-b8bfe44d.entry.js.map} +1 -1
  124. package/dist/lime-elements/p-bcfb5db5.entry.js +68 -0
  125. package/dist/lime-elements/p-bcfb5db5.entry.js.map +1 -0
  126. package/dist/lime-elements/p-d4d2593b.entry.js +2 -0
  127. package/dist/lime-elements/p-d4d2593b.entry.js.map +1 -0
  128. package/dist/lime-elements/p-eb9ab3d4.entry.js +2 -0
  129. package/dist/lime-elements/p-eb9ab3d4.entry.js.map +1 -0
  130. package/dist/lime-elements/p-f764b655.js +200 -0
  131. package/dist/lime-elements/p-f764b655.js.map +1 -0
  132. package/dist/lime-elements/{p-cfe4e725.entry.js → p-fe5e8f22.entry.js} +2 -2
  133. package/dist/lime-elements/{p-cfe4e725.entry.js.map → p-fe5e8f22.entry.js.map} +1 -1
  134. package/dist/types/components/file-viewer/file-viewer.d.ts +126 -0
  135. package/dist/types/components/progress-flow/progress-flow-item/progress-flow-item.d.ts +36 -0
  136. package/dist/types/components/progress-flow/progress-flow.d.ts +49 -0
  137. package/dist/types/components/text-editor/link-menu/editor-link-menu.d.ts +47 -0
  138. package/dist/types/components/text-editor/prosemirror-adapter/menu/menu-commands.d.ts +5 -2
  139. package/dist/types/components/text-editor/prosemirror-adapter/menu/types.d.ts +49 -0
  140. package/dist/types/components/text-editor/prosemirror-adapter/plugins/link-plugin.d.ts +9 -0
  141. package/dist/types/components/text-editor/prosemirror-adapter/prosemirror-adapter.d.ts +14 -3
  142. package/dist/types/components.d.ts +79 -0
  143. package/dist/types/translations/da.d.ts +4 -0
  144. package/dist/types/translations/en.d.ts +4 -0
  145. package/dist/types/translations/fi.d.ts +4 -0
  146. package/dist/types/translations/nl.d.ts +4 -0
  147. package/dist/types/translations/no.d.ts +4 -0
  148. package/dist/types/translations/sv.d.ts +4 -0
  149. package/dist/types/util/link-helper.d.ts +1 -0
  150. package/package.json +2 -2
  151. package/dist/cjs/dom-ee8ee17d.js.map +0 -1
  152. package/dist/cjs/limel-action-bar_3.cjs.entry.js.map +0 -1
  153. package/dist/cjs/limel-breadcrumbs_7.cjs.entry.js.map +0 -1
  154. package/dist/cjs/limel-dynamic-label_2.cjs.entry.js +0 -91
  155. package/dist/cjs/limel-dynamic-label_2.cjs.entry.js.map +0 -1
  156. package/dist/cjs/limel-icon.cjs.entry.js +0 -208
  157. package/dist/cjs/limel-icon.cjs.entry.js.map +0 -1
  158. package/dist/cjs/limel-portal.cjs.entry.js.map +0 -1
  159. package/dist/cjs/link-helper-b7e6c8df.js.map +0 -1
  160. package/dist/cjs/translations-988a3f51.js.map +0 -1
  161. package/dist/esm/dom-ae531ebc.js.map +0 -1
  162. package/dist/esm/limel-action-bar_3.entry.js.map +0 -1
  163. package/dist/esm/limel-breadcrumbs_7.entry.js.map +0 -1
  164. package/dist/esm/limel-dynamic-label_2.entry.js +0 -86
  165. package/dist/esm/limel-dynamic-label_2.entry.js.map +0 -1
  166. package/dist/esm/limel-icon.entry.js +0 -204
  167. package/dist/esm/limel-icon.entry.js.map +0 -1
  168. package/dist/esm/limel-portal.entry.js.map +0 -1
  169. package/dist/esm/link-helper-725a9166.js.map +0 -1
  170. package/dist/esm/translations-e73d7840.js.map +0 -1
  171. package/dist/lime-elements/p-2f453044.entry.js +0 -266
  172. package/dist/lime-elements/p-2f453044.entry.js.map +0 -1
  173. package/dist/lime-elements/p-35a4a846.entry.js +0 -2
  174. package/dist/lime-elements/p-35a4a846.entry.js.map +0 -1
  175. package/dist/lime-elements/p-3f4d2f62.entry.js +0 -2
  176. package/dist/lime-elements/p-516619d3.js.map +0 -1
  177. package/dist/lime-elements/p-5c9fbe6f.entry.js +0 -2
  178. package/dist/lime-elements/p-5c9fbe6f.entry.js.map +0 -1
  179. package/dist/lime-elements/p-714d6937.js +0 -2
  180. package/dist/lime-elements/p-714d6937.js.map +0 -1
  181. package/dist/lime-elements/p-a0fc1875.entry.js +0 -2
  182. package/dist/lime-elements/p-a0fc1875.entry.js.map +0 -1
  183. package/dist/lime-elements/p-a2d19673.entry.js +0 -2
  184. package/dist/lime-elements/p-a2d19673.entry.js.map +0 -1
  185. package/dist/lime-elements/p-c5f96fcd.entry.js +0 -2
  186. package/dist/lime-elements/p-c5f96fcd.entry.js.map +0 -1
  187. package/dist/lime-elements/p-cd6b9ff0.js +0 -2
  188. package/dist/lime-elements/p-cd6b9ff0.js.map +0 -1
  189. package/dist/lime-elements/p-f548d996.entry.js +0 -2
  190. package/dist/lime-elements/p-f548d996.entry.js.map +0 -1
  191. /package/dist/lime-elements/{p-5cfed8a8.entry.js.map → p-26a43fd9.entry.js.map} +0 -0
  192. /package/dist/lime-elements/{p-dfc28411.entry.js.map → p-42b6ba6d.entry.js.map} +0 -0
  193. /package/dist/lime-elements/{p-c8ce7cd4.entry.js.map → p-4bd0b7fb.entry.js.map} +0 -0
  194. /package/dist/lime-elements/{p-ab13cb4a.entry.js.map → p-5e2604e5.entry.js.map} +0 -0
  195. /package/dist/lime-elements/{p-7681dae8.entry.js.map → p-70bfa812.entry.js.map} +0 -0
  196. /package/dist/lime-elements/{p-e3eb403a.entry.js.map → p-91a8c244.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import{r as t,c as i,h as n,g as s}from"./p-443111b3.js";import{t as e}from"./p-cd6b9ff0.js";import{_ as r,a,M as c,b as o}from"./p-2ff3f85e.js";import{c as u}from"./p-dcc97cc2.js";
1
+ import{r as t,c as i,h as n,g as e}from"./p-443111b3.js";import{t as s}from"./p-29e0e5bd.js";import{_ as r,a,M as c,b as o}from"./p-2ff3f85e.js";import{c as u}from"./p-dcc97cc2.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2018 Google Inc.
@@ -42,7 +42,7 @@ import{r as t,c as i,h as n,g as s}from"./p-443111b3.js";import{t as e}from"./p-
42
42
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
43
43
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
44
44
  * THE SOFTWARE.
45
- */var d=h.ARIA_LIVE_DELAY_MS;var m=l.ARIA_LIVE_LABEL_TEXT_ATTR;function b(t,i){if(i===void 0){i=t}var n=t.getAttribute("aria-live");var s=i.textContent.trim();if(!s||!n){return}t.setAttribute("aria-live","off");i.textContent="";i.innerHTML='<span style="display: inline-block; width: 0; height: 1px;">&nbsp;</span>';i.setAttribute(m,s);setTimeout((function(){t.setAttribute("aria-live",n);i.removeAttribute(m);i.textContent=s}),d)}
45
+ */var d=h.ARIA_LIVE_DELAY_MS;var m=l.ARIA_LIVE_LABEL_TEXT_ATTR;function b(t,i){if(i===void 0){i=t}var n=t.getAttribute("aria-live");var e=i.textContent.trim();if(!e||!n){return}t.setAttribute("aria-live","off");i.textContent="";i.innerHTML='<span style="display: inline-block; width: 0; height: 1px;">&nbsp;</span>';i.setAttribute(m,e);setTimeout((function(){t.setAttribute("aria-live",n);i.removeAttribute(m);i.textContent=e}),d)}
46
46
  /**
47
47
  * @license
48
48
  * Copyright 2018 Google Inc.
@@ -64,7 +64,7 @@ import{r as t,c as i,h as n,g as s}from"./p-443111b3.js";import{t as e}from"./p-
64
64
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
65
65
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
66
66
  * THE SOFTWARE.
67
- */var _=f.OPENING,g=f.OPEN,k=f.CLOSING;var v=l.REASON_ACTION,p=l.REASON_DISMISS;var E=function(t){r(i,t);function i(n){var s=t.call(this,a(a({},i.defaultAdapter),n))||this;s.opened=false;s.animationFrame=0;s.animationTimer=0;s.autoDismissTimer=0;s.autoDismissTimeoutMs=h.DEFAULT_AUTO_DISMISS_TIMEOUT_MS;s.closeOnEscape=true;return s}Object.defineProperty(i,"cssClasses",{get:function(){return f},enumerable:false,configurable:true});Object.defineProperty(i,"strings",{get:function(){return l},enumerable:false,configurable:true});Object.defineProperty(i,"numbers",{get:function(){return h},enumerable:false,configurable:true});Object.defineProperty(i,"defaultAdapter",{get:function(){return{addClass:function(){return undefined},announce:function(){return undefined},notifyClosed:function(){return undefined},notifyClosing:function(){return undefined},notifyOpened:function(){return undefined},notifyOpening:function(){return undefined},removeClass:function(){return undefined}}},enumerable:false,configurable:true});i.prototype.destroy=function(){this.clearAutoDismissTimer();cancelAnimationFrame(this.animationFrame);this.animationFrame=0;clearTimeout(this.animationTimer);this.animationTimer=0;this.adapter.removeClass(_);this.adapter.removeClass(g);this.adapter.removeClass(k)};i.prototype.open=function(){var t=this;this.clearAutoDismissTimer();this.opened=true;this.adapter.notifyOpening();this.adapter.removeClass(k);this.adapter.addClass(_);this.adapter.announce();this.runNextAnimationFrame((function(){t.adapter.addClass(g);t.animationTimer=setTimeout((function(){var i=t.getTimeoutMs();t.handleAnimationTimerEnd();t.adapter.notifyOpened();if(i!==h.INDETERMINATE){t.autoDismissTimer=setTimeout((function(){t.close(p)}),i)}}),h.SNACKBAR_ANIMATION_OPEN_TIME_MS)}))};i.prototype.close=function(t){var i=this;if(t===void 0){t=""}if(!this.opened){return}cancelAnimationFrame(this.animationFrame);this.animationFrame=0;this.clearAutoDismissTimer();this.opened=false;this.adapter.notifyClosing(t);this.adapter.addClass(f.CLOSING);this.adapter.removeClass(f.OPEN);this.adapter.removeClass(f.OPENING);clearTimeout(this.animationTimer);this.animationTimer=setTimeout((function(){i.handleAnimationTimerEnd();i.adapter.notifyClosed(t)}),h.SNACKBAR_ANIMATION_CLOSE_TIME_MS)};i.prototype.isOpen=function(){return this.opened};i.prototype.getTimeoutMs=function(){return this.autoDismissTimeoutMs};i.prototype.setTimeoutMs=function(t){var i=h.MIN_AUTO_DISMISS_TIMEOUT_MS;var n=h.MAX_AUTO_DISMISS_TIMEOUT_MS;var s=h.INDETERMINATE;if(t===h.INDETERMINATE||t<=n&&t>=i){this.autoDismissTimeoutMs=t}else{throw new Error("\n timeoutMs must be an integer in the range "+i+"–"+n+"\n (or "+s+" to disable), but got '"+t+"'")}};i.prototype.getCloseOnEscape=function(){return this.closeOnEscape};i.prototype.setCloseOnEscape=function(t){this.closeOnEscape=t};i.prototype.handleKeyDown=function(t){var i=t.key==="Escape"||t.keyCode===27;if(i&&this.getCloseOnEscape()){this.close(p)}};i.prototype.handleActionButtonClick=function(t){this.close(v)};i.prototype.handleActionIconClick=function(t){this.close(p)};i.prototype.clearAutoDismissTimer=function(){clearTimeout(this.autoDismissTimer);this.autoDismissTimer=0};i.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0;this.adapter.removeClass(f.OPENING);this.adapter.removeClass(f.CLOSING)};i.prototype.runNextAnimationFrame=function(t){var i=this;cancelAnimationFrame(this.animationFrame);this.animationFrame=requestAnimationFrame((function(){i.animationFrame=0;clearTimeout(i.animationTimer);i.animationTimer=setTimeout(t,0)}))};return i}(c);
67
+ */var _=f.OPENING,g=f.OPEN,k=f.CLOSING;var v=l.REASON_ACTION,p=l.REASON_DISMISS;var E=function(t){r(i,t);function i(n){var e=t.call(this,a(a({},i.defaultAdapter),n))||this;e.opened=false;e.animationFrame=0;e.animationTimer=0;e.autoDismissTimer=0;e.autoDismissTimeoutMs=h.DEFAULT_AUTO_DISMISS_TIMEOUT_MS;e.closeOnEscape=true;return e}Object.defineProperty(i,"cssClasses",{get:function(){return f},enumerable:false,configurable:true});Object.defineProperty(i,"strings",{get:function(){return l},enumerable:false,configurable:true});Object.defineProperty(i,"numbers",{get:function(){return h},enumerable:false,configurable:true});Object.defineProperty(i,"defaultAdapter",{get:function(){return{addClass:function(){return undefined},announce:function(){return undefined},notifyClosed:function(){return undefined},notifyClosing:function(){return undefined},notifyOpened:function(){return undefined},notifyOpening:function(){return undefined},removeClass:function(){return undefined}}},enumerable:false,configurable:true});i.prototype.destroy=function(){this.clearAutoDismissTimer();cancelAnimationFrame(this.animationFrame);this.animationFrame=0;clearTimeout(this.animationTimer);this.animationTimer=0;this.adapter.removeClass(_);this.adapter.removeClass(g);this.adapter.removeClass(k)};i.prototype.open=function(){var t=this;this.clearAutoDismissTimer();this.opened=true;this.adapter.notifyOpening();this.adapter.removeClass(k);this.adapter.addClass(_);this.adapter.announce();this.runNextAnimationFrame((function(){t.adapter.addClass(g);t.animationTimer=setTimeout((function(){var i=t.getTimeoutMs();t.handleAnimationTimerEnd();t.adapter.notifyOpened();if(i!==h.INDETERMINATE){t.autoDismissTimer=setTimeout((function(){t.close(p)}),i)}}),h.SNACKBAR_ANIMATION_OPEN_TIME_MS)}))};i.prototype.close=function(t){var i=this;if(t===void 0){t=""}if(!this.opened){return}cancelAnimationFrame(this.animationFrame);this.animationFrame=0;this.clearAutoDismissTimer();this.opened=false;this.adapter.notifyClosing(t);this.adapter.addClass(f.CLOSING);this.adapter.removeClass(f.OPEN);this.adapter.removeClass(f.OPENING);clearTimeout(this.animationTimer);this.animationTimer=setTimeout((function(){i.handleAnimationTimerEnd();i.adapter.notifyClosed(t)}),h.SNACKBAR_ANIMATION_CLOSE_TIME_MS)};i.prototype.isOpen=function(){return this.opened};i.prototype.getTimeoutMs=function(){return this.autoDismissTimeoutMs};i.prototype.setTimeoutMs=function(t){var i=h.MIN_AUTO_DISMISS_TIMEOUT_MS;var n=h.MAX_AUTO_DISMISS_TIMEOUT_MS;var e=h.INDETERMINATE;if(t===h.INDETERMINATE||t<=n&&t>=i){this.autoDismissTimeoutMs=t}else{throw new Error("\n timeoutMs must be an integer in the range "+i+"–"+n+"\n (or "+e+" to disable), but got '"+t+"'")}};i.prototype.getCloseOnEscape=function(){return this.closeOnEscape};i.prototype.setCloseOnEscape=function(t){this.closeOnEscape=t};i.prototype.handleKeyDown=function(t){var i=t.key==="Escape"||t.keyCode===27;if(i&&this.getCloseOnEscape()){this.close(p)}};i.prototype.handleActionButtonClick=function(t){this.close(v)};i.prototype.handleActionIconClick=function(t){this.close(p)};i.prototype.clearAutoDismissTimer=function(){clearTimeout(this.autoDismissTimer);this.autoDismissTimer=0};i.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0;this.adapter.removeClass(f.OPENING);this.adapter.removeClass(f.CLOSING)};i.prototype.runNextAnimationFrame=function(t){var i=this;cancelAnimationFrame(this.animationFrame);this.animationFrame=requestAnimationFrame((function(){i.animationFrame=0;clearTimeout(i.animationTimer);i.animationTimer=setTimeout(t,0)}))};return i}(c);
68
68
  /**
69
69
  * @license
70
70
  * Copyright 2018 Google Inc.
@@ -86,5 +86,5 @@ import{r as t,c as i,h as n,g as s}from"./p-443111b3.js";import{t as e}from"./p-
86
86
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
87
87
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
88
88
  * THE SOFTWARE.
89
- */var T=l.SURFACE_SELECTOR,O=l.LABEL_SELECTOR,S=l.ACTION_SELECTOR,y=l.DISMISS_SELECTOR,A=l.OPENING_EVENT,I=l.OPENED_EVENT,M=l.CLOSING_EVENT,C=l.CLOSED_EVENT;var N=function(t){r(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.attachTo=function(t){return new i(t)};i.prototype.initialize=function(t){if(t===void 0){t=function(){return b}}this.announce=t()};i.prototype.initialSyncWithDOM=function(){var t=this;this.surfaceEl=this.root.querySelector(T);this.labelEl=this.root.querySelector(O);this.actionEl=this.root.querySelector(S);this.handleKeyDown=function(i){t.foundation.handleKeyDown(i)};this.handleSurfaceClick=function(i){var n=i.target;if(t.isActionButton(n)){t.foundation.handleActionButtonClick(i)}else if(t.isActionIcon(n)){t.foundation.handleActionIconClick(i)}};this.registerKeyDownHandler(this.handleKeyDown);this.registerSurfaceClickHandler(this.handleSurfaceClick)};i.prototype.destroy=function(){t.prototype.destroy.call(this);this.deregisterKeyDownHandler(this.handleKeyDown);this.deregisterSurfaceClickHandler(this.handleSurfaceClick)};i.prototype.open=function(){this.foundation.open()};i.prototype.close=function(t){if(t===void 0){t=""}this.foundation.close(t)};i.prototype.getDefaultFoundation=function(){var t=this;var i={addClass:function(i){t.root.classList.add(i)},announce:function(){t.announce(t.labelEl)},notifyClosed:function(i){return t.emit(C,i?{reason:i}:{})},notifyClosing:function(i){return t.emit(M,i?{reason:i}:{})},notifyOpened:function(){return t.emit(I,{})},notifyOpening:function(){return t.emit(A,{})},removeClass:function(i){return t.root.classList.remove(i)}};return new E(i)};Object.defineProperty(i.prototype,"timeoutMs",{get:function(){return this.foundation.getTimeoutMs()},set:function(t){this.foundation.setTimeoutMs(t)},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"closeOnEscape",{get:function(){return this.foundation.getCloseOnEscape()},set:function(t){this.foundation.setCloseOnEscape(t)},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"labelText",{get:function(){return this.labelEl.textContent},set:function(t){this.labelEl.textContent=t},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"actionButtonText",{get:function(){return this.actionEl.textContent},set:function(t){this.actionEl.textContent=t},enumerable:false,configurable:true});i.prototype.registerKeyDownHandler=function(t){this.listen("keydown",t)};i.prototype.deregisterKeyDownHandler=function(t){this.unlisten("keydown",t)};i.prototype.registerSurfaceClickHandler=function(t){this.surfaceEl.addEventListener("click",t)};i.prototype.deregisterSurfaceClickHandler=function(t){this.surfaceEl.removeEventListener("click",t)};i.prototype.isActionButton=function(t){return Boolean(u(t,S))};i.prototype.isActionIcon=function(t){return Boolean(u(t,y))};return i}(o);const w="*{box-sizing:border-box}.mdc-snackbar{top:var(--snackbar-top, auto);right:var(--snackbar-right, 0);bottom:var(--snackbar-bottom, 0);left:var(--snackbar-left, 0);display:none;position:fixed;z-index:8;padding:0.75rem;align-items:center;justify-content:center}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1}.mdc-snackbar__surface{transition:opacity 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1);padding:0.5rem;display:flex;align-items:center;justify-content:flex-start;gap:0.25rem;min-height:3.25rem;min-width:unset;max-width:42rem;transform:scale(0.8);opacity:0;border-radius:0.75rem;background-color:rgb(var(--contrast-1400));box-shadow:var(--shadow-depth-8), var(--shadow-depth-16)}.mdc-snackbar__label{visibility:hidden;color:rgb(var(--contrast-100));-webkit-font-smoothing:antialiased;font-size:0.8125rem;font-weight:400;padding:0 0.25rem;width:100%;flex-grow:1}.mdc-snackbar__actions{visibility:hidden;display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;gap:0.5rem}.dismiss,.mdc-snackbar__actions{--lime-elevated-surface-background-color:rgb(\n var(--contrast-1300)\n )}.dismiss{--mdc-theme-on-surface:rgb(var(--contrast-100));--icon-background-color:var(--lime-elevated-surface-background-color);--fill-color:var(--mdc-theme-primary);--track-color:rgb(var(--contrast-800), 0.2);position:absolute;top:-0.9rem;left:-0.9rem;transform:scale(0.8);display:flex;align-items:center;justify-content:center}.dismiss limel-icon-button.mdc-snackbar__dismiss{transform:scale(0.8);margin:0;padding:0}.dismiss svg{position:absolute;transform:rotate(90deg);fill:transparent;stroke-dasharray:100;stroke-linecap:round}.mdc-snackbar--open .dismiss svg{animation:timeout var(--snackbar-timeout) linear forwards}@keyframes timeout{0%{stroke-width:4;stroke-dashoffset:0;opacity:1}100%{stroke-width:1;stroke-dashoffset:-100;opacity:0.7}}";const x=class{constructor(n){t(this,n);this.action=i(this,"action",7);this.hide=i(this,"hide",7);this.message=undefined;this.timeout=5e3;this.actionText=undefined;this.dismissible=true;this.multiline=undefined;this.language="en";this.handleMdcClosing=this.handleMdcClosing.bind(this)}connectedCallback(){this.initialize()}componentDidLoad(){this.initialize()}initialize(){const t=this.host.shadowRoot.querySelector(".mdc-snackbar");if(!t){return}this.mdcSnackbar=new N(t);this.mdcSnackbar.listen("MDCSnackbar:closing",this.handleMdcClosing)}disconnectedCallback(){this.mdcSnackbar.unlisten("MDCSnackbar:closing",this.handleMdcClosing);this.mdcSnackbar.destroy()}async show(){if(this.timeout){this.mdcSnackbar.timeoutMs=this.timeout}this.mdcSnackbar.labelText=this.message;this.mdcSnackbar.open()}render(){return n("aside",{class:`\n mdc-snackbar\n ${this.multiline?"mdc-snackbar--stacked":""}\n `,style:{"--snackbar-timeout":`${this.timeout}ms`}},n("div",{class:"mdc-snackbar__surface",role:"status","aria-relevant":"additions"},n("div",{class:"mdc-snackbar__label","aria-atomic":"false"}),this.renderActions(this.actionText),this.renderDismissButton(this.dismissible)))}handleMdcClosing(t){if(t.detail.reason==="action"){this.action.emit()}else{this.hide.emit()}}renderActions(t){if(!t){return}return n("div",{class:"mdc-snackbar__actions","aria-atomic":"true"},this.renderActionButton(t))}renderActionButton(t){if(!t){return}return n("limel-button",{class:"mdc-button mdc-snackbar__action",label:t})}renderDismissButton(t){if(!t){return}const i=e.get("snackbar.dismiss",this.language);return n("div",{class:"dismiss"},this.renderTimeoutVisualization(),n("limel-icon-button",{class:"mdc-icon-button mdc-snackbar__dismiss",icon:"multiply",label:i}))}renderTimeoutVisualization(){return n("svg",{width:"36",height:"36",viewBox:"0 0 36 36"},n("circle",{r:"18",cx:"18",cy:"18",fill:"var(--track-color)"}),n("path",{class:"track",d:"M 18,18 m -16,0 a 16,16 0 1,0 32,0 a 16,16 0 1,0 -32,0",stroke:"var(--fill-color)"}))}get host(){return s(this)}};x.style=w;export{x as limel_snackbar};
90
- //# sourceMappingURL=p-5cfed8a8.entry.js.map
89
+ */var T=l.SURFACE_SELECTOR,O=l.LABEL_SELECTOR,S=l.ACTION_SELECTOR,y=l.DISMISS_SELECTOR,A=l.OPENING_EVENT,I=l.OPENED_EVENT,M=l.CLOSING_EVENT,C=l.CLOSED_EVENT;var N=function(t){r(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.attachTo=function(t){return new i(t)};i.prototype.initialize=function(t){if(t===void 0){t=function(){return b}}this.announce=t()};i.prototype.initialSyncWithDOM=function(){var t=this;this.surfaceEl=this.root.querySelector(T);this.labelEl=this.root.querySelector(O);this.actionEl=this.root.querySelector(S);this.handleKeyDown=function(i){t.foundation.handleKeyDown(i)};this.handleSurfaceClick=function(i){var n=i.target;if(t.isActionButton(n)){t.foundation.handleActionButtonClick(i)}else if(t.isActionIcon(n)){t.foundation.handleActionIconClick(i)}};this.registerKeyDownHandler(this.handleKeyDown);this.registerSurfaceClickHandler(this.handleSurfaceClick)};i.prototype.destroy=function(){t.prototype.destroy.call(this);this.deregisterKeyDownHandler(this.handleKeyDown);this.deregisterSurfaceClickHandler(this.handleSurfaceClick)};i.prototype.open=function(){this.foundation.open()};i.prototype.close=function(t){if(t===void 0){t=""}this.foundation.close(t)};i.prototype.getDefaultFoundation=function(){var t=this;var i={addClass:function(i){t.root.classList.add(i)},announce:function(){t.announce(t.labelEl)},notifyClosed:function(i){return t.emit(C,i?{reason:i}:{})},notifyClosing:function(i){return t.emit(M,i?{reason:i}:{})},notifyOpened:function(){return t.emit(I,{})},notifyOpening:function(){return t.emit(A,{})},removeClass:function(i){return t.root.classList.remove(i)}};return new E(i)};Object.defineProperty(i.prototype,"timeoutMs",{get:function(){return this.foundation.getTimeoutMs()},set:function(t){this.foundation.setTimeoutMs(t)},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"closeOnEscape",{get:function(){return this.foundation.getCloseOnEscape()},set:function(t){this.foundation.setCloseOnEscape(t)},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"labelText",{get:function(){return this.labelEl.textContent},set:function(t){this.labelEl.textContent=t},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"actionButtonText",{get:function(){return this.actionEl.textContent},set:function(t){this.actionEl.textContent=t},enumerable:false,configurable:true});i.prototype.registerKeyDownHandler=function(t){this.listen("keydown",t)};i.prototype.deregisterKeyDownHandler=function(t){this.unlisten("keydown",t)};i.prototype.registerSurfaceClickHandler=function(t){this.surfaceEl.addEventListener("click",t)};i.prototype.deregisterSurfaceClickHandler=function(t){this.surfaceEl.removeEventListener("click",t)};i.prototype.isActionButton=function(t){return Boolean(u(t,S))};i.prototype.isActionIcon=function(t){return Boolean(u(t,y))};return i}(o);const w="*{box-sizing:border-box}.mdc-snackbar{top:var(--snackbar-top, auto);right:var(--snackbar-right, 0);bottom:var(--snackbar-bottom, 0);left:var(--snackbar-left, 0);display:none;position:fixed;z-index:8;padding:0.75rem;align-items:center;justify-content:center}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1}.mdc-snackbar__surface{transition:opacity 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1);padding:0.5rem;display:flex;align-items:center;justify-content:flex-start;gap:0.25rem;min-height:3.25rem;min-width:unset;max-width:42rem;transform:scale(0.8);opacity:0;border-radius:0.75rem;background-color:rgb(var(--contrast-1400));box-shadow:var(--shadow-depth-8), var(--shadow-depth-16)}.mdc-snackbar__label{visibility:hidden;color:rgb(var(--contrast-100));-webkit-font-smoothing:antialiased;font-size:0.8125rem;font-weight:400;padding:0 0.25rem;width:100%;flex-grow:1}.mdc-snackbar__actions{visibility:hidden;display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;gap:0.5rem}.dismiss,.mdc-snackbar__actions{--lime-elevated-surface-background-color:rgb(\n var(--contrast-1300)\n )}.dismiss{--mdc-theme-on-surface:rgb(var(--contrast-100));--icon-background-color:var(--lime-elevated-surface-background-color);--fill-color:var(--mdc-theme-primary);--track-color:rgb(var(--contrast-800), 0.2);position:absolute;top:-0.9rem;left:-0.9rem;transform:scale(0.8);display:flex;align-items:center;justify-content:center}.dismiss limel-icon-button.mdc-snackbar__dismiss{transform:scale(0.8);margin:0;padding:0}.dismiss svg{position:absolute;transform:rotate(90deg);fill:transparent;stroke-dasharray:100;stroke-linecap:round}.mdc-snackbar--open .dismiss svg{animation:timeout var(--snackbar-timeout) linear forwards}@keyframes timeout{0%{stroke-width:4;stroke-dashoffset:0;opacity:1}100%{stroke-width:1;stroke-dashoffset:-100;opacity:0.7}}";const x=class{constructor(n){t(this,n);this.action=i(this,"action",7);this.hide=i(this,"hide",7);this.message=undefined;this.timeout=5e3;this.actionText=undefined;this.dismissible=true;this.multiline=undefined;this.language="en";this.handleMdcClosing=this.handleMdcClosing.bind(this)}connectedCallback(){this.initialize()}componentDidLoad(){this.initialize()}initialize(){const t=this.host.shadowRoot.querySelector(".mdc-snackbar");if(!t){return}this.mdcSnackbar=new N(t);this.mdcSnackbar.listen("MDCSnackbar:closing",this.handleMdcClosing)}disconnectedCallback(){this.mdcSnackbar.unlisten("MDCSnackbar:closing",this.handleMdcClosing);this.mdcSnackbar.destroy()}async show(){if(this.timeout){this.mdcSnackbar.timeoutMs=this.timeout}this.mdcSnackbar.labelText=this.message;this.mdcSnackbar.open()}render(){return n("aside",{class:`\n mdc-snackbar\n ${this.multiline?"mdc-snackbar--stacked":""}\n `,style:{"--snackbar-timeout":`${this.timeout}ms`}},n("div",{class:"mdc-snackbar__surface",role:"status","aria-relevant":"additions"},n("div",{class:"mdc-snackbar__label","aria-atomic":"false"}),this.renderActions(this.actionText),this.renderDismissButton(this.dismissible)))}handleMdcClosing(t){if(t.detail.reason==="action"){this.action.emit()}else{this.hide.emit()}}renderActions(t){if(!t){return}return n("div",{class:"mdc-snackbar__actions","aria-atomic":"true"},this.renderActionButton(t))}renderActionButton(t){if(!t){return}return n("limel-button",{class:"mdc-button mdc-snackbar__action",label:t})}renderDismissButton(t){if(!t){return}const i=s.get("snackbar.dismiss",this.language);return n("div",{class:"dismiss"},this.renderTimeoutVisualization(),n("limel-icon-button",{class:"mdc-icon-button mdc-snackbar__dismiss",icon:"multiply",label:i}))}renderTimeoutVisualization(){return n("svg",{width:"36",height:"36",viewBox:"0 0 36 36"},n("circle",{r:"18",cx:"18",cy:"18",fill:"var(--track-color)"}),n("path",{class:"track",d:"M 18,18 m -16,0 a 16,16 0 1,0 32,0 a 16,16 0 1,0 -32,0",stroke:"var(--fill-color)"}))}get host(){return e(this)}};x.style=w;export{x as limel_snackbar};
90
+ //# sourceMappingURL=p-26a43fd9.entry.js.map
@@ -0,0 +1,2 @@
1
+ const e={remove:"Fjern",save:"Gem",cancel:"Annullér","callout.note":"Bemærk","callout.important":"Vigtig","callout.tip":"Tip","callout.caution":"Advarsel","callout.warning":"Advarsel","date-picker.today":"Idag","date-picker.month.heading":"Måned","date-picker.quarter.heading":"Kvartal","date-picker.year.heading":"År","chip-set.clear-all":"Ryd alle","file.drag-and-drop-tips":"Træk og slip filen her, eller klik for at gennemse.","file-viewer.message.unsupported-filetype":"Denne fil kan ikke vises!","file-viewer.download":"Hent","file-viewer.exit-fullscreen":"Afslut fuldskærm","file-viewer.open-in-fullscreen":"Åbn i fuld skærm","file-viewer.open-in-new-tab":"Åbn i en ny fane","file-viewer.more-actions":"Mere…","editor-menu.bold":"Fed","editor-menu.italic":"Kursiv","editor-menu.h1":"Overskrift 1","editor-menu.h2":"Overskrift 2","editor-menu.h3":"Overskrift 3","editor-menu.bulleted-list":"Punktliste","editor-menu.numbered-list":"Nummereret liste","editor-menu.blockquote":"Blokcitat","editor-menu.link":"Tilføj link","editor-link-menu.text":"Tekst","editor-link-menu.link":"Link"};const i={remove:"Remove",save:"Save",cancel:"Cancel","callout.note":"Note","callout.important":"Important","callout.tip":"Tip","callout.caution":"Caution","callout.warning":"Warning","date-picker.today":"Today","date-picker.month.heading":"Month","date-picker.quarter.heading":"Quarter","date-picker.year.heading":"Year","chip-set.clear-all":"Clear all","snackbar.dismiss":"Dismiss","file.drag-and-drop-tips":"Drag and drop your file here, or click to browse.","file-viewer.message.unsupported-filetype":"Cannot display this file!","file-viewer.download":"Download","file-viewer.exit-fullscreen":"Exit fullscreen","file-viewer.open-in-fullscreen":"Open in fullscreen","file-viewer.open-in-new-tab":"Open in a new tab","file-viewer.more-actions":"More…","editor-menu.bold":"Bold","editor-menu.italic":"Italic","editor-menu.h1":"Heading 1","editor-menu.h2":"Heading 2","editor-menu.h3":"Heading 3","editor-menu.bulleted-list":"Bulleted list","editor-menu.numbered-list":"Numbered list","editor-menu.blockquote":"Blockquote","editor-menu.link":"Link","editor-link-menu.text":"Text","editor-link-menu.link":"Link"};const t={remove:"Poista",save:"Tallenna",canceL:"Peruuta","callout.note":"Huomio","callout.important":"Tärkeää","callout.tip":"Vinkki","callout.caution":"Varoitus","callout.warning":"Varoitus","date-picker.today":"Tänään","date-picker.month.heading":"Kuukausi","date-picker.quarter.heading":"Vuosineljännes","date-picker.year.heading":"Vuosi","chip-set.clear-all":"Tyhjennä kaikki","file.drag-and-drop-tips":"Vedä ja pudota tiedostosi tähän, tai napsauta selataksesi.","file-viewer.message.unsupported-filetype":"Tätä tiedostoa ei voi näyttää!","file-viewer.download":"Ladata","file-viewer.exit-fullscreen":"Poistu koko näytöstä","file-viewer.open-in-fullscreen":"Avaa koko näytössä","file-viewer.open-in-new-tab":"Avaa uudella välilehdellä","file-viewer.more-actions":"Lisää…","editor-menu.bold":"Lihavoitu","editor-menu.italic":"Kursivoitu","editor-menu.h1":"Otsikkotaso 1","editor-menu.h2":"Otsikkotaso 2","editor-menu.h3":"Otsikkotaso 3","editor-menu.bulleted-list":"Luettelomerkitty lista","editor-menu.numbered-list":"Numeroitu lista","editor-menu.blockquote":"Lohkoteksti","editor-menu.link":"Lisää linkki","editor-link-menu.text":"Teksti","editor-link-menu.link":"Linkki"};const n={remove:"Verwijder",save:"Opslaan",cancel:"Annuleren","callout.note":"Opmerking","callout.important":"Belangrijk","callout.tip":"Tip","callout.caution":"Waarschuwing","callout.warning":"Waarschuwing","date-picker.today":"Vandaag","date-picker.month.heading":"Maand","date-picker.quarter.heading":"Kwartaal","date-picker.year.heading":"Jaar","chip-set.clear-all":"Alles wissen","file.drag-and-drop-tips":"Sleep uw bestand en zet het hier neer of klik om te bladeren.","file-viewer.message.unsupported-filetype":"Kan dit bestand niet weergeven!","file-viewer.download":"Downloaden","file-viewer.exit-fullscreen":"Verlaat volledig scherm","file-viewer.open-in-fullscreen":"Open in volledig scherm","file-viewer.open-in-new-tab":"Openen op een nieuw tabblad","file-viewer.more-actions":"Meer…","editor-menu.bold":"Vet","editor-menu.italic":"Cursief","editor-menu.h1":"Kopniveau 1","editor-menu.h2":"Kopniveau 2","editor-menu.h3":"Kopniveau 3","editor-menu.bulleted-list":"Opsomming","editor-menu.numbered-list":"Genummerde lijst","editor-menu.blockquote":"Blokcitaat","editor-menu.link":"Link toevoegen","editor-link-menu.text":"Tekst","editor-link-menu.link":"Link"};const l={remove:"Fjerne",save:"Lagre",cancel:"Avbryt","callout.note":"Note","callout.important":"Viktig","callout.tip":"Tip","callout.caution":"Advarsel","callout.warning":"Advarsel","date-picker.today":"I dag","date-picker.month.heading":"Måned","date-picker.quarter.heading":"Kvartal","date-picker.year.heading":"År","chip-set.clear-all":"Fjern alle","file.drag-and-drop-tips":"Dra og slipp filen her, eller klikk for å bla gjennom.","file-viewer.message.unsupported-filetype":"Kan ikke vise denne filen!","file-viewer.download":"Nedlasting","file-viewer.exit-fullscreen":"Gå ut av fullskjerm","file-viewer.open-in-fullscreen":"Åpne i fullskjerm","file-viewer.open-in-new-tab":"Åpne i en ny fane","file-viewer.more-actions":"Mer…","editor-menu.bold":"Fet","editor-menu.italic":"Kursiv","editor-menu.h1":"Overskrift 1","editor-menu.h2":"Overskrift 2","editor-menu.h3":"Overskrifts 3","editor-menu.bulleted-list":"Punktliste","editor-menu.numbered-list":"Nummerert liste","editor-menu.blockquote":"Blokksitat","editor-menu.link":"Legg til lenke","editor-link-menu.text":"Tekst","editor-link-menu.link":"Lenke"};const r={remove:"Ta bort",save:"Spara",cancel:"Avbryt","callout.note":"Obs","callout.important":"Viktigt","callout.tip":"Tips","callout.caution":"Varning","callout.warning":"Varning","date-picker.today":"Idag","date-picker.month.heading":"Månad","date-picker.quarter.heading":"Kvartal","date-picker.year.heading":"År","chip-set.clear-all":"Rensa alla","snackbar.dismiss":"Stäng","file.drag-and-drop-tips":"Dra och släpp filen här eller klicka om du vill bläddra.","file-viewer.message.unsupported-filetype":"Kan inte visa den här filen!","file-viewer.download":"Ladda ner","file-viewer.exit-fullscreen":"Avsluta fullskärmsläge","file-viewer.open-in-fullscreen":"Öppna i fullskärmsläge","file-viewer.open-in-new-tab":"Öppna i ny flik","file-viewer.more-actions":"Mer…","editor-menu.bold":"Fet","editor-menu.italic":"Kursiv","editor-menu.h1":"Rubrik 1","editor-menu.h2":"Rubrik 2","editor-menu.h3":"Rubrik 3","editor-menu.bulleted-list":"Punktlista","editor-menu.numbered-list":"Numrerad lista","editor-menu.blockquote":"Blockcitat","editor-menu.link":"Lägg till länk","editor-link-menu.text":"Text","editor-link-menu.link":"Länk"};const a={da:e,en:i,fi:t,no:l,nl:n,sv:r};class o{get(e,i="en"){return a[i][e]}}const d=new o;const u=(()=>d)();export{u as t};
2
+ //# sourceMappingURL=p-29e0e5bd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["da","remove","save","cancel","en","fi","canceL","nl","no","sv","allTranslations","Translations","get","key","language","translations","translate"],"sources":["./src/translations/da.ts","./src/translations/en.ts","./src/translations/fi.ts","./src/translations/nl.ts","./src/translations/no.ts","./src/translations/sv.ts","./src/global/translations.ts"],"sourcesContent":["export default {\n remove: 'Fjern',\n save: 'Gem',\n cancel: 'Annullér',\n 'callout.note': 'Bemærk',\n 'callout.important': 'Vigtig',\n 'callout.tip': 'Tip',\n 'callout.caution': 'Advarsel',\n 'callout.warning': 'Advarsel',\n 'date-picker.today': 'Idag',\n 'date-picker.month.heading': 'Måned',\n 'date-picker.quarter.heading': 'Kvartal',\n 'date-picker.year.heading': 'År',\n 'chip-set.clear-all': 'Ryd alle',\n 'file.drag-and-drop-tips':\n 'Træk og slip filen her, eller klik for at gennemse.',\n 'file-viewer.message.unsupported-filetype': 'Denne fil kan ikke vises!',\n 'file-viewer.download': 'Hent',\n 'file-viewer.exit-fullscreen': 'Afslut fuldskærm',\n 'file-viewer.open-in-fullscreen': 'Åbn i fuld skærm',\n 'file-viewer.open-in-new-tab': 'Åbn i en ny fane',\n 'file-viewer.more-actions': 'Mere…',\n 'editor-menu.bold': 'Fed',\n 'editor-menu.italic': 'Kursiv',\n 'editor-menu.h1': 'Overskrift 1',\n 'editor-menu.h2': 'Overskrift 2',\n 'editor-menu.h3': 'Overskrift 3',\n 'editor-menu.bulleted-list': 'Punktliste',\n 'editor-menu.numbered-list': 'Nummereret liste',\n 'editor-menu.blockquote': 'Blokcitat',\n 'editor-menu.link': 'Tilføj link',\n 'editor-link-menu.text': 'Tekst',\n 'editor-link-menu.link': 'Link',\n};\n","export default {\n remove: 'Remove',\n save: 'Save',\n cancel: 'Cancel',\n 'callout.note': 'Note',\n 'callout.important': 'Important',\n 'callout.tip': 'Tip',\n 'callout.caution': 'Caution',\n 'callout.warning': 'Warning',\n 'date-picker.today': 'Today',\n 'date-picker.month.heading': 'Month',\n 'date-picker.quarter.heading': 'Quarter',\n 'date-picker.year.heading': 'Year',\n 'chip-set.clear-all': 'Clear all',\n 'snackbar.dismiss': 'Dismiss',\n 'file.drag-and-drop-tips':\n 'Drag and drop your file here, or click to browse.',\n 'file-viewer.message.unsupported-filetype': 'Cannot display this file!',\n 'file-viewer.download': 'Download',\n 'file-viewer.exit-fullscreen': 'Exit fullscreen',\n 'file-viewer.open-in-fullscreen': 'Open in fullscreen',\n 'file-viewer.open-in-new-tab': 'Open in a new tab',\n 'file-viewer.more-actions': 'More…',\n 'editor-menu.bold': 'Bold',\n 'editor-menu.italic': 'Italic',\n 'editor-menu.h1': 'Heading 1',\n 'editor-menu.h2': 'Heading 2',\n 'editor-menu.h3': 'Heading 3',\n 'editor-menu.bulleted-list': 'Bulleted list',\n 'editor-menu.numbered-list': 'Numbered list',\n 'editor-menu.blockquote': 'Blockquote',\n 'editor-menu.link': 'Link',\n 'editor-link-menu.text': 'Text',\n 'editor-link-menu.link': 'Link',\n};\n","export default {\n remove: 'Poista',\n save: 'Tallenna',\n canceL: 'Peruuta',\n 'callout.note': 'Huomio',\n 'callout.important': 'Tärkeää',\n 'callout.tip': 'Vinkki',\n 'callout.caution': 'Varoitus',\n 'callout.warning': 'Varoitus',\n 'date-picker.today': 'Tänään',\n 'date-picker.month.heading': 'Kuukausi',\n 'date-picker.quarter.heading': 'Vuosineljännes',\n 'date-picker.year.heading': 'Vuosi',\n 'chip-set.clear-all': 'Tyhjennä kaikki',\n 'file.drag-and-drop-tips':\n 'Vedä ja pudota tiedostosi tähän, tai napsauta selataksesi.',\n 'file-viewer.message.unsupported-filetype':\n 'Tätä tiedostoa ei voi näyttää!',\n 'file-viewer.download': 'Ladata',\n 'file-viewer.exit-fullscreen': 'Poistu koko näytöstä',\n 'file-viewer.open-in-fullscreen': 'Avaa koko näytössä',\n 'file-viewer.open-in-new-tab': 'Avaa uudella välilehdellä',\n 'file-viewer.more-actions': 'Lisää…',\n 'editor-menu.bold': 'Lihavoitu',\n 'editor-menu.italic': 'Kursivoitu',\n 'editor-menu.h1': 'Otsikkotaso 1',\n 'editor-menu.h2': 'Otsikkotaso 2',\n 'editor-menu.h3': 'Otsikkotaso 3',\n 'editor-menu.bulleted-list': 'Luettelomerkitty lista',\n 'editor-menu.numbered-list': 'Numeroitu lista',\n 'editor-menu.blockquote': 'Lohkoteksti',\n 'editor-menu.link': 'Lisää linkki',\n 'editor-link-menu.text': 'Teksti',\n 'editor-link-menu.link': 'Linkki',\n};\n","export default {\n remove: 'Verwijder',\n save: 'Opslaan',\n cancel: 'Annuleren',\n 'callout.note': 'Opmerking',\n 'callout.important': 'Belangrijk',\n 'callout.tip': 'Tip',\n 'callout.caution': 'Waarschuwing',\n 'callout.warning': 'Waarschuwing',\n 'date-picker.today': 'Vandaag',\n 'date-picker.month.heading': 'Maand',\n 'date-picker.quarter.heading': 'Kwartaal',\n 'date-picker.year.heading': 'Jaar',\n 'chip-set.clear-all': 'Alles wissen',\n 'file.drag-and-drop-tips':\n 'Sleep uw bestand en zet het hier neer of klik om te bladeren.',\n 'file-viewer.message.unsupported-filetype':\n 'Kan dit bestand niet weergeven!',\n 'file-viewer.download': 'Downloaden',\n 'file-viewer.exit-fullscreen': 'Verlaat volledig scherm',\n 'file-viewer.open-in-fullscreen': 'Open in volledig scherm',\n 'file-viewer.open-in-new-tab': 'Openen op een nieuw tabblad',\n 'file-viewer.more-actions': 'Meer…',\n 'editor-menu.bold': 'Vet',\n 'editor-menu.italic': 'Cursief',\n 'editor-menu.h1': 'Kopniveau 1',\n 'editor-menu.h2': 'Kopniveau 2',\n 'editor-menu.h3': 'Kopniveau 3',\n 'editor-menu.bulleted-list': 'Opsomming',\n 'editor-menu.numbered-list': 'Genummerde lijst',\n 'editor-menu.blockquote': 'Blokcitaat',\n 'editor-menu.link': 'Link toevoegen',\n 'editor-link-menu.text': 'Tekst',\n 'editor-link-menu.link': 'Link',\n};\n","export default {\n remove: 'Fjerne',\n save: 'Lagre',\n cancel: 'Avbryt',\n 'callout.note': 'Note',\n 'callout.important': 'Viktig',\n 'callout.tip': 'Tip',\n 'callout.caution': 'Advarsel',\n 'callout.warning': 'Advarsel',\n 'date-picker.today': 'I dag',\n 'date-picker.month.heading': 'Måned',\n 'date-picker.quarter.heading': 'Kvartal',\n 'date-picker.year.heading': 'År',\n 'chip-set.clear-all': 'Fjern alle',\n 'file.drag-and-drop-tips':\n 'Dra og slipp filen her, eller klikk for å bla gjennom.',\n 'file-viewer.message.unsupported-filetype': 'Kan ikke vise denne filen!',\n 'file-viewer.download': 'Nedlasting',\n 'file-viewer.exit-fullscreen': 'Gå ut av fullskjerm',\n 'file-viewer.open-in-fullscreen': 'Åpne i fullskjerm',\n 'file-viewer.open-in-new-tab': 'Åpne i en ny fane',\n 'file-viewer.more-actions': 'Mer…',\n 'editor-menu.bold': 'Fet',\n 'editor-menu.italic': 'Kursiv',\n 'editor-menu.h1': 'Overskrift 1',\n 'editor-menu.h2': 'Overskrift 2',\n 'editor-menu.h3': 'Overskrifts 3',\n 'editor-menu.bulleted-list': 'Punktliste',\n 'editor-menu.numbered-list': 'Nummerert liste',\n 'editor-menu.blockquote': 'Blokksitat',\n 'editor-menu.link': 'Legg til lenke',\n 'editor-link-menu.text': 'Tekst',\n 'editor-link-menu.link': 'Lenke',\n};\n","export default {\n remove: 'Ta bort',\n save: 'Spara',\n cancel: 'Avbryt',\n 'callout.note': 'Obs',\n 'callout.important': 'Viktigt',\n 'callout.tip': 'Tips',\n 'callout.caution': 'Varning',\n 'callout.warning': 'Varning',\n 'date-picker.today': 'Idag',\n 'date-picker.month.heading': 'Månad',\n 'date-picker.quarter.heading': 'Kvartal',\n 'date-picker.year.heading': 'År',\n 'chip-set.clear-all': 'Rensa alla',\n 'snackbar.dismiss': 'Stäng',\n 'file.drag-and-drop-tips':\n 'Dra och släpp filen här eller klicka om du vill bläddra.',\n 'file-viewer.message.unsupported-filetype': 'Kan inte visa den här filen!',\n 'file-viewer.download': 'Ladda ner',\n 'file-viewer.exit-fullscreen': 'Avsluta fullskärmsläge',\n 'file-viewer.open-in-fullscreen': 'Öppna i fullskärmsläge',\n 'file-viewer.open-in-new-tab': 'Öppna i ny flik',\n 'file-viewer.more-actions': 'Mer…',\n 'editor-menu.bold': 'Fet',\n 'editor-menu.italic': 'Kursiv',\n 'editor-menu.h1': 'Rubrik 1',\n 'editor-menu.h2': 'Rubrik 2',\n 'editor-menu.h3': 'Rubrik 3',\n 'editor-menu.bulleted-list': 'Punktlista',\n 'editor-menu.numbered-list': 'Numrerad lista',\n 'editor-menu.blockquote': 'Blockcitat',\n 'editor-menu.link': 'Lägg till länk',\n 'editor-link-menu.text': 'Text',\n 'editor-link-menu.link': 'Länk',\n};\n","import da from '../translations/da';\nimport en from '../translations/en';\nimport fi from '../translations/fi';\nimport nl from '../translations/nl';\nimport no from '../translations/no';\nimport sv from '../translations/sv';\n\nconst allTranslations = { da: da, en: en, fi: fi, no: no, nl: nl, sv: sv };\n\nexport class Translations {\n public get(key, language = 'en') {\n return allTranslations[language][key];\n }\n}\n\nconst translations = new Translations();\nexport default (() => {\n return translations;\n})();\n"],"mappings":"AAAA,MAAAA,EAAe,CACXC,OAAQ,QACRC,KAAM,MACNC,OAAQ,WACR,eAAgB,SAChB,oBAAqB,SACrB,cAAe,MACf,kBAAmB,WACnB,kBAAmB,WACnB,oBAAqB,OACrB,4BAA6B,QAC7B,8BAA+B,UAC/B,2BAA4B,KAC5B,qBAAsB,WACtB,0BACI,sDACJ,2CAA4C,4BAC5C,uBAAwB,OACxB,8BAA+B,mBAC/B,iCAAkC,mBAClC,8BAA+B,mBAC/B,2BAA4B,QAC5B,mBAAoB,MACpB,qBAAsB,SACtB,iBAAkB,eAClB,iBAAkB,eAClB,iBAAkB,eAClB,4BAA6B,aAC7B,4BAA6B,mBAC7B,yBAA0B,YAC1B,mBAAoB,cACpB,wBAAyB,QACzB,wBAAyB,QChC7B,MAAAC,EAAe,CACXH,OAAQ,SACRC,KAAM,OACNC,OAAQ,SACR,eAAgB,OAChB,oBAAqB,YACrB,cAAe,MACf,kBAAmB,UACnB,kBAAmB,UACnB,oBAAqB,QACrB,4BAA6B,QAC7B,8BAA+B,UAC/B,2BAA4B,OAC5B,qBAAsB,YACtB,mBAAoB,UACpB,0BACI,oDACJ,2CAA4C,4BAC5C,uBAAwB,WACxB,8BAA+B,kBAC/B,iCAAkC,qBAClC,8BAA+B,oBAC/B,2BAA4B,QAC5B,mBAAoB,OACpB,qBAAsB,SACtB,iBAAkB,YAClB,iBAAkB,YAClB,iBAAkB,YAClB,4BAA6B,gBAC7B,4BAA6B,gBAC7B,yBAA0B,aAC1B,mBAAoB,OACpB,wBAAyB,OACzB,wBAAyB,QCjC7B,MAAAE,EAAe,CACXJ,OAAQ,SACRC,KAAM,WACNI,OAAQ,UACR,eAAgB,SAChB,oBAAqB,UACrB,cAAe,SACf,kBAAmB,WACnB,kBAAmB,WACnB,oBAAqB,SACrB,4BAA6B,WAC7B,8BAA+B,iBAC/B,2BAA4B,QAC5B,qBAAsB,kBACtB,0BACI,6DACJ,2CACI,iCACJ,uBAAwB,SACxB,8BAA+B,uBAC/B,iCAAkC,qBAClC,8BAA+B,4BAC/B,2BAA4B,SAC5B,mBAAoB,YACpB,qBAAsB,aACtB,iBAAkB,gBAClB,iBAAkB,gBAClB,iBAAkB,gBAClB,4BAA6B,yBAC7B,4BAA6B,kBAC7B,yBAA0B,cAC1B,mBAAoB,eACpB,wBAAyB,SACzB,wBAAyB,UCjC7B,MAAAC,EAAe,CACXN,OAAQ,YACRC,KAAM,UACNC,OAAQ,YACR,eAAgB,YAChB,oBAAqB,aACrB,cAAe,MACf,kBAAmB,eACnB,kBAAmB,eACnB,oBAAqB,UACrB,4BAA6B,QAC7B,8BAA+B,WAC/B,2BAA4B,OAC5B,qBAAsB,eACtB,0BACI,gEACJ,2CACI,kCACJ,uBAAwB,aACxB,8BAA+B,0BAC/B,iCAAkC,0BAClC,8BAA+B,8BAC/B,2BAA4B,QAC5B,mBAAoB,MACpB,qBAAsB,UACtB,iBAAkB,cAClB,iBAAkB,cAClB,iBAAkB,cAClB,4BAA6B,YAC7B,4BAA6B,mBAC7B,yBAA0B,aAC1B,mBAAoB,iBACpB,wBAAyB,QACzB,wBAAyB,QCjC7B,MAAAK,EAAe,CACXP,OAAQ,SACRC,KAAM,QACNC,OAAQ,SACR,eAAgB,OAChB,oBAAqB,SACrB,cAAe,MACf,kBAAmB,WACnB,kBAAmB,WACnB,oBAAqB,QACrB,4BAA6B,QAC7B,8BAA+B,UAC/B,2BAA4B,KAC5B,qBAAsB,aACtB,0BACI,yDACJ,2CAA4C,6BAC5C,uBAAwB,aACxB,8BAA+B,sBAC/B,iCAAkC,oBAClC,8BAA+B,oBAC/B,2BAA4B,OAC5B,mBAAoB,MACpB,qBAAsB,SACtB,iBAAkB,eAClB,iBAAkB,eAClB,iBAAkB,gBAClB,4BAA6B,aAC7B,4BAA6B,kBAC7B,yBAA0B,aAC1B,mBAAoB,iBACpB,wBAAyB,QACzB,wBAAyB,SChC7B,MAAAM,EAAe,CACXR,OAAQ,UACRC,KAAM,QACNC,OAAQ,SACR,eAAgB,MAChB,oBAAqB,UACrB,cAAe,OACf,kBAAmB,UACnB,kBAAmB,UACnB,oBAAqB,OACrB,4BAA6B,QAC7B,8BAA+B,UAC/B,2BAA4B,KAC5B,qBAAsB,aACtB,mBAAoB,QACpB,0BACI,2DACJ,2CAA4C,+BAC5C,uBAAwB,YACxB,8BAA+B,yBAC/B,iCAAkC,yBAClC,8BAA+B,kBAC/B,2BAA4B,OAC5B,mBAAoB,MACpB,qBAAsB,SACtB,iBAAkB,WAClB,iBAAkB,WAClB,iBAAkB,WAClB,4BAA6B,aAC7B,4BAA6B,iBAC7B,yBAA0B,aAC1B,mBAAoB,iBACpB,wBAAyB,OACzB,wBAAyB,QC1B7B,MAAMO,EAAkB,CAAEV,GAAIA,EAAII,GAAIA,EAAIC,GAAIA,EAAIG,GAAIA,EAAID,GAAIA,EAAIE,GAAIA,G,MAEzDE,EACFC,IAAIC,EAAKC,EAAW,MACvB,OAAOJ,EAAgBI,GAAUD,E,EAIzC,MAAME,EAAe,IAAIJ,EACzB,MAAAK,EAAe,KACJD,EADI,U"}