@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.
- package/dist/chunk-27BWRXCN.js +29 -0
- package/dist/{chunk-X6N2CG2U.js → chunk-2ULDXMYP.js} +1 -1
- package/dist/{chunk-B3QILQEE.cjs → chunk-3T573OW4.cjs} +10 -10
- package/dist/chunk-55JWHJJ5.cjs +211 -0
- package/dist/chunk-6XBQ5C3V.js +17 -0
- package/dist/chunk-BN4D4W23.js +20 -0
- package/dist/chunk-BS3IICLO.cjs +20 -0
- package/dist/{chunk-XLUB3ATV.js → chunk-BSJIDMTZ.js} +3 -9
- package/dist/chunk-D7LG2SMD.cjs +33 -0
- package/dist/{chunk-24TUG5TP.js → chunk-E7TZALBH.js} +1 -1
- package/dist/chunk-GO6BV3T4.cjs +29 -0
- package/dist/{chunk-SPEXAKNG.js → chunk-H5S4QWRJ.js} +1 -1
- package/dist/{chunk-6XR2OUZW.js → chunk-HT464LCH.js} +1 -1
- package/dist/chunk-J74VK4RB.cjs +9 -0
- package/dist/{chunk-KVMGCTLR.cjs → chunk-JR7IABIG.cjs} +3 -9
- package/dist/{chunk-EOHKHSQ3.cjs → chunk-JUDFZS5N.cjs} +1 -1
- package/dist/{chunk-HKQCX6NF.js → chunk-K36YHFDX.js} +1 -1
- package/dist/chunk-KUPCZDOX.cjs +10 -0
- package/dist/{chunk-MHLFWRN3.cjs → chunk-LLRH3JIV.cjs} +21 -21
- package/dist/chunk-M22WSPSU.js +9 -0
- package/dist/chunk-NB5PC42C.js +33 -0
- package/dist/{chunk-WKYQVBXK.js → chunk-NNH623PH.js} +7 -7
- package/dist/{chunk-FS4URBZN.cjs → chunk-NQBXIQGV.cjs} +1 -1
- package/dist/chunk-O2WRWRDO.cjs +9 -0
- package/dist/chunk-OIZ5B5LE.cjs +17 -0
- package/dist/{chunk-YT56YDUY.cjs → chunk-PXLLLBZ3.cjs} +1 -1
- package/dist/{chunk-CHHWULL2.js → chunk-PZSV3LCB.js} +1 -1
- package/dist/{chunk-MLZIA6JO.cjs → chunk-QLCBHFAG.cjs} +9 -9
- package/dist/{chunk-ZWTODZDA.js → chunk-SF36AD3G.js} +1 -1
- package/dist/chunk-TSTFPNEM.js +211 -0
- package/dist/{chunk-R7WAA5YV.cjs → chunk-UOAF4SEH.cjs} +3 -3
- package/dist/{chunk-FUBUUA7Y.cjs → chunk-WIS6FQDY.cjs} +2 -50
- package/dist/{chunk-HX6F65VL.js → chunk-WO4HFIOO.js} +1 -1
- package/dist/{chunk-QJHVSRHC.cjs → chunk-YKO34INI.cjs} +1 -1
- package/dist/{chunk-HMISRRKC.js → chunk-ZJWT7IOI.js} +2 -50
- package/dist/{chunk-VQQSFP4G.cjs → chunk-ZOMPIWHG.cjs} +4 -4
- package/dist/{chunk-QSQE5WBN.js → chunk-ZUM5T3HV.js} +1 -1
- package/dist/{chunk-3R7TX6NC.js → chunk-ZZBI6DXY.js} +1 -1
- package/dist/components/clip.cjs +1 -1
- package/dist/components/clip.js +1 -1
- package/dist/components/files.cjs +1 -1
- package/dist/components/files.js +1 -1
- package/dist/components/img.cjs +1 -1
- package/dist/components/img.js +1 -1
- package/dist/components/list.cjs +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/player.cjs +1 -1
- package/dist/components/player.js +1 -1
- package/dist/components/pop.cjs +1 -1
- package/dist/components/pop.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/upload.cjs +1 -1
- package/dist/components/upload.js +1 -1
- package/dist/embed/api.d.cts +1 -1
- package/dist/embed/api.d.ts +1 -1
- package/dist/embed/caption.cjs +1 -1
- package/dist/embed/caption.js +1 -1
- package/dist/embed/controller.cjs +1 -1
- package/dist/embed/controller.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/themes/loader.cjs +1 -1
- package/dist/themes/loader.js +1 -1
- package/dist/utils/localization.cjs +1 -1
- package/dist/utils/localization.js +1 -1
- package/dist/utils/mave_element.cjs +1 -1
- package/dist/utils/mave_element.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/package.json +6 -6
- package/dist/chunk-5NSCV6C2.cjs +0 -53
- package/dist/chunk-7ZRXZY5C.js +0 -20
- package/dist/chunk-A4GZBQEB.js +0 -53
- package/dist/chunk-H57FX4I6.cjs +0 -9
- package/dist/chunk-LCTGZL3L.js +0 -23
- package/dist/chunk-LG2O4WV2.cjs +0 -23
- package/dist/chunk-MPAP64ZM.js +0 -213
- package/dist/chunk-MS5NFI3Q.js +0 -9
- package/dist/chunk-MSWONVA7.cjs +0 -20
- package/dist/chunk-OJEB4F36.cjs +0 -213
- package/dist/chunk-PECDDGPS.js +0 -93
- package/dist/chunk-Q22T22LT.cjs +0 -9
- package/dist/chunk-SQUDVIWI.cjs +0 -93
- 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};
|