@everymatrix/general-icon-progress-bar 1.3.4 → 1.4.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.
|
@@ -567,7 +567,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
|
567
567
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
568
568
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
569
569
|
PERFORMANCE OF THIS SOFTWARE.
|
|
570
|
-
***************************************************************************** */function Ie(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}const Oe={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function we(){return Oe}const Ce=w(!1);let Re;const Me=w(null);function Ue(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Ge(t,e=we().fallbackLocale){const r=Ue(t);return e?[...new Set([...r,...Ue(e)])]:r}function De(){return null!=Re?Re:void 0}Me.subscribe((t=>{Re=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const $e=Object.assign(Object.assign({},Me),{set:t=>{if(t&&function(t){if(null==t)return;const e=Ge(t);for(let t=0;t<e.length;t++){const r=e[t];if(Te(r))return r}}(t)&&Se(t)){const{loadingDelay:e}=we();let r;return"undefined"!=typeof window&&null!=De()&&e?r=window.setTimeout((()=>Ce.set(!0)),e):Ce.set(!0),Ne(t).then((()=>{Me.set(t)})).finally((()=>{clearTimeout(r),Ce.set(!1)}))}return Me.set(t)}}),Fe=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},ke=(t,e)=>{const{formats:r}=we();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},xe=Fe((t=>{var{locale:e,format:r}=t,n=Ie(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=ke("number",r)),new Intl.NumberFormat(e,n)})),je=Fe((t=>{var{locale:e,format:r}=t,n=Ie(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=ke("date",r):0===Object.keys(n).length&&(n=ke("date","short")),new Intl.DateTimeFormat(e,n)})),Ve=Fe((t=>{var{locale:e,format:r}=t,n=Ie(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=ke("time",r):0===Object.keys(n).length&&(n=ke("time","short")),new Intl.DateTimeFormat(e,n)})),Xe=Fe(((t,e=De())=>new be(t,e,we().formats,{ignoreTag:we().ignoreTag}))),Ke=(t,e={})=>{var r,n,i,o;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:h=De(),default:u}=s;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=ye(t,h);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(i=null===(n=(r=we()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:h,id:t,defaultValue:u}))&&void 0!==i?i:u)&&void 0!==o?o:t;if(!a)return c;let l=c;try{l=Xe(c,h).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return l},Ye=(t,e)=>((t={})=>{var{locale:e=De()}=t,r=Ie(t,["locale"]);return Ve(Object.assign({locale:e},r))})(e).format(t),Ze=(t,e)=>((t={})=>{var{locale:e=De()}=t,r=Ie(t,["locale"]);return je(Object.assign({locale:e},r))})(e).format(t),ze=(t,e)=>((t={})=>{var{locale:e=De()}=t,r=Ie(t,["locale"]);return xe(Object.assign({locale:e},r))})(e).format(t),We=(t,e=De())=>ye(t,e),Qe=C([$e,He],(()=>Ke));function Je(t,e){_e(t,e)}C([$e],(()=>Ye)),C([$e],(()=>Ze)),C([$e],(()=>ze)),C([$e,He],(()=>We));const qe={en:{progressBar:{bets:"bets"}},tr:{progressBar:{bets:"bets"}},el:{progressBar:{bets:"bets"}}};
|
|
570
|
+
***************************************************************************** */function Ie(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}const Oe={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function we(){return Oe}const Ce=w(!1);let Re;const Me=w(null);function Ue(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Ge(t,e=we().fallbackLocale){const r=Ue(t);return e?[...new Set([...r,...Ue(e)])]:r}function De(){return null!=Re?Re:void 0}Me.subscribe((t=>{Re=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const $e=Object.assign(Object.assign({},Me),{set:t=>{if(t&&function(t){if(null==t)return;const e=Ge(t);for(let t=0;t<e.length;t++){const r=e[t];if(Te(r))return r}}(t)&&Se(t)){const{loadingDelay:e}=we();let r;return"undefined"!=typeof window&&null!=De()&&e?r=window.setTimeout((()=>Ce.set(!0)),e):Ce.set(!0),Ne(t).then((()=>{Me.set(t)})).finally((()=>{clearTimeout(r),Ce.set(!1)}))}return Me.set(t)}}),Fe=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},ke=(t,e)=>{const{formats:r}=we();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},xe=Fe((t=>{var{locale:e,format:r}=t,n=Ie(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=ke("number",r)),new Intl.NumberFormat(e,n)})),je=Fe((t=>{var{locale:e,format:r}=t,n=Ie(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=ke("date",r):0===Object.keys(n).length&&(n=ke("date","short")),new Intl.DateTimeFormat(e,n)})),Ve=Fe((t=>{var{locale:e,format:r}=t,n=Ie(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=ke("time",r):0===Object.keys(n).length&&(n=ke("time","short")),new Intl.DateTimeFormat(e,n)})),Xe=Fe(((t,e=De())=>new be(t,e,we().formats,{ignoreTag:we().ignoreTag}))),Ke=(t,e={})=>{var r,n,i,o;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:h=De(),default:u}=s;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=ye(t,h);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(i=null===(n=(r=we()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:h,id:t,defaultValue:u}))&&void 0!==i?i:u)&&void 0!==o?o:t;if(!a)return c;let l=c;try{l=Xe(c,h).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return l},Ye=(t,e)=>((t={})=>{var{locale:e=De()}=t,r=Ie(t,["locale"]);return Ve(Object.assign({locale:e},r))})(e).format(t),Ze=(t,e)=>((t={})=>{var{locale:e=De()}=t,r=Ie(t,["locale"]);return je(Object.assign({locale:e},r))})(e).format(t),ze=(t,e)=>((t={})=>{var{locale:e=De()}=t,r=Ie(t,["locale"]);return xe(Object.assign({locale:e},r))})(e).format(t),We=(t,e=De())=>ye(t,e),Qe=C([$e,He],(()=>Ke));function Je(t,e){_e(t,e)}C([$e],(()=>Ye)),C([$e],(()=>Ze)),C([$e],(()=>ze)),C([$e,He],(()=>We));const qe={en:{progressBar:{bets:"bets"}},tr:{progressBar:{bets:"bets"}},es:{progressBar:{bets:"apuestas"}},el:{progressBar:{bets:"bets"}}};
|
|
571
571
|
/* src/GeneralIconProgressBar.svelte generated by Svelte v3.48.0 */function tr(e){let r,n,i,o,s;return{c(){var a;r=c("div"),n=c("div"),i=c("span"),a=/*progressText*/e[3],o=document.createTextNode(a),this.c=t,l(i,"part","progressText"),l(n,"class",s="stepBar "+/*curTatus*/e[4]),l(n,"part","stepBar"),l(r,"class","general-icon-progress-bar"),l(r,"part","totalBar")},m(t,s){h(t,r,s),a(r,n),a(n,i),a(i,o),
|
|
572
572
|
/*span_binding*/e[13](i),
|
|
573
573
|
/*div0_binding*/e[14](n),
|