@maveio/components 0.0.164 → 0.0.165

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 (87) hide show
  1. package/dist/chunk-27BWRXCN.js +29 -0
  2. package/dist/{chunk-X6N2CG2U.js → chunk-2ULDXMYP.js} +1 -1
  3. package/dist/{chunk-B3QILQEE.cjs → chunk-3T573OW4.cjs} +10 -10
  4. package/dist/chunk-55JWHJJ5.cjs +211 -0
  5. package/dist/chunk-6XBQ5C3V.js +17 -0
  6. package/dist/chunk-BN4D4W23.js +20 -0
  7. package/dist/chunk-BS3IICLO.cjs +20 -0
  8. package/dist/{chunk-XLUB3ATV.js → chunk-BSJIDMTZ.js} +3 -9
  9. package/dist/chunk-D7LG2SMD.cjs +33 -0
  10. package/dist/{chunk-24TUG5TP.js → chunk-E7TZALBH.js} +1 -1
  11. package/dist/chunk-GO6BV3T4.cjs +29 -0
  12. package/dist/{chunk-SPEXAKNG.js → chunk-H5S4QWRJ.js} +1 -1
  13. package/dist/{chunk-6XR2OUZW.js → chunk-HT464LCH.js} +1 -1
  14. package/dist/chunk-J74VK4RB.cjs +9 -0
  15. package/dist/{chunk-KVMGCTLR.cjs → chunk-JR7IABIG.cjs} +3 -9
  16. package/dist/{chunk-EOHKHSQ3.cjs → chunk-JUDFZS5N.cjs} +1 -1
  17. package/dist/{chunk-HKQCX6NF.js → chunk-K36YHFDX.js} +1 -1
  18. package/dist/chunk-KUPCZDOX.cjs +10 -0
  19. package/dist/{chunk-MHLFWRN3.cjs → chunk-LLRH3JIV.cjs} +21 -21
  20. package/dist/chunk-M22WSPSU.js +9 -0
  21. package/dist/chunk-NB5PC42C.js +33 -0
  22. package/dist/{chunk-WKYQVBXK.js → chunk-NNH623PH.js} +7 -7
  23. package/dist/{chunk-FS4URBZN.cjs → chunk-NQBXIQGV.cjs} +1 -1
  24. package/dist/chunk-O2WRWRDO.cjs +9 -0
  25. package/dist/chunk-OIZ5B5LE.cjs +17 -0
  26. package/dist/{chunk-YT56YDUY.cjs → chunk-PXLLLBZ3.cjs} +1 -1
  27. package/dist/{chunk-CHHWULL2.js → chunk-PZSV3LCB.js} +1 -1
  28. package/dist/{chunk-MLZIA6JO.cjs → chunk-QLCBHFAG.cjs} +9 -9
  29. package/dist/{chunk-ZWTODZDA.js → chunk-SF36AD3G.js} +1 -1
  30. package/dist/chunk-TSTFPNEM.js +211 -0
  31. package/dist/{chunk-R7WAA5YV.cjs → chunk-UOAF4SEH.cjs} +3 -3
  32. package/dist/{chunk-FUBUUA7Y.cjs → chunk-WIS6FQDY.cjs} +2 -50
  33. package/dist/{chunk-HX6F65VL.js → chunk-WO4HFIOO.js} +1 -1
  34. package/dist/{chunk-QJHVSRHC.cjs → chunk-YKO34INI.cjs} +1 -1
  35. package/dist/{chunk-HMISRRKC.js → chunk-ZJWT7IOI.js} +2 -50
  36. package/dist/{chunk-VQQSFP4G.cjs → chunk-ZOMPIWHG.cjs} +4 -4
  37. package/dist/{chunk-QSQE5WBN.js → chunk-ZUM5T3HV.js} +1 -1
  38. package/dist/{chunk-3R7TX6NC.js → chunk-ZZBI6DXY.js} +1 -1
  39. package/dist/components/clip.cjs +1 -1
  40. package/dist/components/clip.js +1 -1
  41. package/dist/components/files.cjs +1 -1
  42. package/dist/components/files.js +1 -1
  43. package/dist/components/img.cjs +1 -1
  44. package/dist/components/img.js +1 -1
  45. package/dist/components/list.cjs +1 -1
  46. package/dist/components/list.js +1 -1
  47. package/dist/components/player.cjs +1 -1
  48. package/dist/components/player.js +1 -1
  49. package/dist/components/pop.cjs +1 -1
  50. package/dist/components/pop.js +1 -1
  51. package/dist/components/text.cjs +1 -1
  52. package/dist/components/text.js +1 -1
  53. package/dist/components/upload.cjs +1 -1
  54. package/dist/components/upload.js +1 -1
  55. package/dist/embed/api.d.cts +1 -1
  56. package/dist/embed/api.d.ts +1 -1
  57. package/dist/embed/caption.cjs +1 -1
  58. package/dist/embed/caption.js +1 -1
  59. package/dist/embed/controller.cjs +1 -1
  60. package/dist/embed/controller.js +1 -1
  61. package/dist/index.cjs +1 -1
  62. package/dist/index.js +1 -1
  63. package/dist/react.cjs +1 -1
  64. package/dist/react.js +1 -1
  65. package/dist/themes/loader.cjs +1 -1
  66. package/dist/themes/loader.js +1 -1
  67. package/dist/utils/localization.cjs +1 -1
  68. package/dist/utils/localization.js +1 -1
  69. package/dist/utils/mave_element.cjs +1 -1
  70. package/dist/utils/mave_element.js +1 -1
  71. package/dist/vue.cjs +1 -1
  72. package/dist/vue.js +1 -1
  73. package/package.json +6 -6
  74. package/dist/chunk-5NSCV6C2.cjs +0 -53
  75. package/dist/chunk-7ZRXZY5C.js +0 -20
  76. package/dist/chunk-A4GZBQEB.js +0 -53
  77. package/dist/chunk-H57FX4I6.cjs +0 -9
  78. package/dist/chunk-LCTGZL3L.js +0 -23
  79. package/dist/chunk-LG2O4WV2.cjs +0 -23
  80. package/dist/chunk-MPAP64ZM.js +0 -213
  81. package/dist/chunk-MS5NFI3Q.js +0 -9
  82. package/dist/chunk-MSWONVA7.cjs +0 -20
  83. package/dist/chunk-OJEB4F36.cjs +0 -213
  84. package/dist/chunk-PECDDGPS.js +0 -93
  85. package/dist/chunk-Q22T22LT.cjs +0 -9
  86. package/dist/chunk-SQUDVIWI.cjs +0 -93
  87. package/dist/chunk-ZLS57S3I.cjs +0 -10
@@ -0,0 +1,9 @@
1
+ import {b,c,a}from'./chunk-MMHEOMF5.js';import {e}from'./chunk-27BWRXCN.js';var u="important",d=" !"+u,h=b(class extends c{constructor(s){if(super(s),s.type!==a.ATTRIBUTE||s.name!=="style"||s.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(s){return Object.keys(s).reduce(((n,t)=>{let e=s[t];return e==null?n:n+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${e};`}),"")}update(s,[n]){let{style:t}=s.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(n)),this.render(n);for(let e of this.ft)n[e]==null&&(this.ft.delete(e),e.includes("-")?t.removeProperty(e):t[e]=null);for(let e in n){let r=n[e];if(r!=null){this.ft.add(e);let i=typeof r=="string"&&r.endsWith(d);e.includes("-")||i?t.setProperty(e,i?r.slice(0,-11):r,i?u:""):t[e]=r;}}return e}});/*! Bundled license information:
2
+
3
+ lit-html/directives/style-map.js:
4
+ (**
5
+ * @license
6
+ * Copyright 2018 Google LLC
7
+ * SPDX-License-Identifier: BSD-3-Clause
8
+ *)
9
+ */export{h as a};
@@ -0,0 +1,33 @@
1
+ import {a}from'./chunk-P6SBZPDR.js';var M=e=>typeof e!="string"&&"strTag"in e,p=(e,t,o)=>{let n=e[0];for(let r=1;r<e.length;r++)n+=t[o?o[r-1]:r-1],n+=e[r];return n};var c=(e=>M(e)?p(e.strings,e.values):e);var d="lit-localize-status";var x=class{constructor(t){this.__litLocalizeEventHandler=o=>{o.detail.status==="ready"&&this.host.requestUpdate();},this.host=t;}hostConnected(){window.addEventListener(d,this.__litLocalizeEventHandler);}hostDisconnected(){window.removeEventListener(d,this.__litLocalizeEventHandler);}},F=e=>e.addController(new x(e)),I=F;var N=()=>(e,t)=>(e.addInitializer(I),e);var u=class{constructor(){this.settled=false,this.promise=new Promise((t,o)=>{this._resolve=t,this._reject=o;});}resolve(t){this.settled=true,this._resolve(t);}reject(t){this.settled=true,this._reject(t);}};var i=[];for(let e=0;e<256;e++)i[e]=(e>>4&15).toString(16)+(e&15).toString(16);function C(e){let t=0,o=8997,n=0,r=33826,s=0,a=40164,L=0,f=52210;for(let v=0;v<e.length;v++)o^=e.charCodeAt(v),t=o*435,n=r*435,s=a*435,L=f*435,s+=o<<8,L+=r<<8,n+=t>>>16,o=t&65535,s+=n>>>16,r=n&65535,f=L+(s>>>16)&65535,a=s&65535;return i[f>>8]+i[f&255]+i[a>>8]+i[a&255]+i[r>>8]+i[r&255]+i[o>>8]+i[o&255]}var W="",$="h",b="s";function z(e,t){return (t?$:b)+C(typeof e=="string"?e:e.join(W))}var A=new WeakMap,R=new Map;function j(e,t,o){if(e){let n=o?.id??O(t),r=e[n];if(r){if(typeof r=="string")return r;if("strTag"in r)return p(r.strings,t.values,r.values);{let s=A.get(r);return s===void 0&&(s=r.values,A.set(r,s)),{...r,values:s.map(a=>t.values[a])}}}}return c(t)}function O(e){let t=typeof e=="string"?e:e.strings,o=R.get(t);return o===void 0&&(o=z(t,typeof e!="string"&&!("strTag"in e)),R.set(t,o)),o}function _(e){window.dispatchEvent(new CustomEvent(d,{detail:e}));}var g="",E,H,h,w,P,l=new u;l.resolve();var m=0,U=e=>(S(((t,o)=>j(P,t,o))),g=H=e.sourceLocale,h=new Set(e.targetLocales),h.add(e.sourceLocale),w=e.loadLocale,{getLocale:k,setLocale:X}),k=()=>g,X=e=>{if(e===(E??g))return l.promise;if(!h||!w)throw new Error("Internal error");if(!h.has(e))throw new Error("Invalid locale code");m++;let t=m;return E=e,l.settled&&(l=new u),_({status:"loading",loadingLocale:e}),(e===H?Promise.resolve({templates:void 0}):w(e)).then(n=>{m===t&&(g=e,E=void 0,P=n.templates,_({status:"ready",readyLocale:e}),l.resolve());},n=>{m===t&&(_({status:"error",errorLocale:e,errorMessage:n.toString()}),l.reject(n));}),l.promise};var q=c,V=false;function S(e){if(V)throw new Error("lit-localize can only be configured once");q=e,V=true;}var G={en:()=>import('./generated/locales/en.js'),nl:()=>import('./generated/locales/nl.js'),de:()=>import('./generated/locales/de.js'),fr:()=>import('./generated/locales/fr.js')};function B(e){return G[e]}async function J(e){let t=a();if(!t)return null;try{return await import(new URL(`./${t}generated/locales/${e}.js`,import.meta.url).href)}catch{return null}}var K=U({sourceLocale:"default",targetLocales:["en","nl","de","fr"],loadLocale:async e=>{let t=B(e);if(t)try{return await t()}catch(n){console.error(`[mave-player]: failed to load locale ${e}`,n);}let o=await J(e);return o||(console.log(`[mave-player]: locale not loaded for ${e}`),null)}}),y=false,D=class{constructor(t){this._onLoad=t=>{t.detail.status==="loading"?y=false:t.detail.status==="ready"&&(y=true),this.host.requestUpdate();};this.host=t,t.addController(this);}get loaded(){return y}set locale(t){this._locale!==t&&(K.setLocale(t),this.host.requestUpdate());}get locale(){return this._locale}hostConnected(){typeof window<"u"&&window.addEventListener("lit-localize-status",this._onLoad);}hostDisconnected(){typeof window<"u"&&window.removeEventListener("lit-localize-status",this._onLoad);}};/*! Bundled license information:
2
+
3
+ @lit/localize/internal/str-tag.js:
4
+ @lit/localize/internal/default-msg.js:
5
+ @lit/localize/internal/locale-status-event.js:
6
+ @lit/localize/internal/types.js:
7
+ @lit/localize/internal/localized-controller.js:
8
+ @lit/localize/internal/localized-decorator.js:
9
+ @lit/localize/internal/runtime-msg.js:
10
+ @lit/localize/init/runtime.js:
11
+ @lit/localize/init/transform.js:
12
+ (**
13
+ * @license
14
+ * Copyright 2021 Google LLC
15
+ * SPDX-License-Identifier: BSD-3-Clause
16
+ *)
17
+
18
+ @lit/localize/internal/deferred.js:
19
+ @lit/localize/internal/id-generation.js:
20
+ @lit/localize/lit-localize.js:
21
+ (**
22
+ * @license
23
+ * Copyright 2020 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ *)
26
+
27
+ @lit/localize/internal/fnv1a64.js:
28
+ (**
29
+ * @license
30
+ * Copyright 2014 Travis Webb
31
+ * SPDX-License-Identifier: MIT
32
+ *)
33
+ */export{N as a,q as b,K as c,D as d};