nextcloud/dist/weather_status-weather-status.js

3 lines
62 KiB
JavaScript
Raw Normal View History

/*! For license information please see weather_status-weather-status.js.LICENSE.txt */
(()=>{var M,N,u,D={25562:(M,N,u)=>{"use strict";var D=u(20144),j=u(77958),g=u(64024),A=u(80351),I=u.n(A),e=u(31352),i=u(66805),L=u(97021),y=u(51900);const a=(0,y.Z)(L.Z,i.s,i.x,!1,null,null,null).exports;var s=u(94277),r=u(41251);const c=(0,y.Z)(r.Z,s.s,s.x,!1,null,null,null).exports;var T=u(55212),n=u(72155),o=u(75944),w=u(26053),z=u(41989),C=u(96204),d=u(16894),E=u(93664),x=u(79753);const l=async M=>{const t=(0,x.generateOcsUrl)("apps/weather_status/api/v1/favorites");return(await E.Z.put(t,{favorites:M})).data.ocs.data};var h=u(25108);const S={clearsky_day:{icon:"icon-clearsky-day",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} clear sky later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} clear sky",{temperature:M,unit:N})}},clearsky_night:{icon:"icon-clearsky-night",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} clear sky later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} clear sky",{temperature:M,unit:N})}},cloudy:{icon:"icon-cloudy",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} cloudy later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} cloudy",{temperature:M,unit:N})}},fair_day:{icon:"icon-fair-day",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} fair weather later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} fair weather",{temperature:M,unit:N})}},fair_night:{icon:"icon-fair-night",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} fair weather later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} fair weather",{temperature:M,unit:N})}},partlycloudy_day:{icon:"icon-partlycloudy-day",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} partly cloudy later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} partly cloudy",{temperature:M,unit:N})}},partlycloudy_night:{icon:"icon-partlycloudy-night",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} partly cloudy later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} partly cloudy",{temperature:M,unit:N})}},fog:{icon:"icon-fog",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} foggy later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} foggy",{temperature:M,unit:N})}},lightrain:{icon:"icon-lightrain",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} light rainfall later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} light rainfall",{temperature:M,unit:N})}},rain:{icon:"icon-rain",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} rainfall later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} rainfall",{temperature:M,unit:N})}},heavyrain:{icon:"icon-heavyrain",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} heavy rainfall later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} heavy rainfall",{temperature:M,unit:N})}},rainshowers_day:{icon:"icon-rainshowers-day",text:function(M,N){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t("weather_status","{temperature} {unit} rainfall showers later today",{temperature:M,unit:N}):t("weather_status","{temperature} {unit} rainfall showers",{temperature:M,unit:N})}},rainshowers_night:{icon:"icon-rainshowers-night",text:function(M,N){return arguments.length>
//# sourceMappingURL=weather_status-weather-status.js.map?v=6f48bda1eb4213dab7b8