372 lines
34 KiB
JavaScript
372 lines
34 KiB
JavaScript
(self["webpackChunkcalendar"] = self["webpackChunkcalendar"] || []).push([["public-calendar-subscription-picker"],{
|
|
|
|
/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=script&lang=js":
|
|
/*!******************************************************************************************************************************************************************************************************!*\
|
|
!*** ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=script&lang=js ***!
|
|
\******************************************************************************************************************************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _nextcloud_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nextcloud/vue */ "./node_modules/@nextcloud/vue/dist/index.mjs");
|
|
/* harmony import */ var _nextcloud_dialogs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @nextcloud/dialogs */ "./node_modules/@nextcloud/dialogs/dist/index.mjs");
|
|
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
|
/* harmony import */ var vue_material_design_icons_CalendarBlank_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue-material-design-icons/CalendarBlank.vue */ "./node_modules/vue-material-design-icons/CalendarBlank.vue");
|
|
/* harmony import */ var _services_caldavService_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/caldavService.js */ "./src/services/caldavService.js");
|
|
/* harmony import */ var _resources_holiday_calendars_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../resources/holiday_calendars.json */ "./src/resources/holiday_calendars.json");
|
|
/* harmony import */ var _utils_color_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/color.js */ "./src/utils/color.js");
|
|
/* harmony import */ var _nextcloud_initial_state__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @nextcloud/initial-state */ "./node_modules/@nextcloud/initial-state/dist/index.es.mjs");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const isValidString = function (str) {
|
|
let allowNull = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
return typeof str === 'string' || str instanceof String || allowNull && !str;
|
|
};
|
|
const isValidURL = str => {
|
|
try {
|
|
return Boolean(new URL(str));
|
|
} catch {
|
|
return false;
|
|
}
|
|
};
|
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
name: 'PublicCalendarSubscriptionPicker',
|
|
components: {
|
|
CalendarBlank: vue_material_design_icons_CalendarBlank_vue__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
NcButton: _nextcloud_vue__WEBPACK_IMPORTED_MODULE_0__.NcButton,
|
|
NcEmptyContent: _nextcloud_vue__WEBPACK_IMPORTED_MODULE_0__.NcEmptyContent,
|
|
NcModal: _nextcloud_vue__WEBPACK_IMPORTED_MODULE_0__.NcModal
|
|
},
|
|
props: {
|
|
showHolidays: Boolean
|
|
},
|
|
data() {
|
|
let calendars = [];
|
|
if (this.showHolidays) {
|
|
calendars = _resources_holiday_calendars_json__WEBPACK_IMPORTED_MODULE_4__.map(calendar => ({
|
|
...calendar,
|
|
displayName: t('calendar', 'Holidays in {region}', {
|
|
region: calendar.country
|
|
}),
|
|
name: calendar.country,
|
|
description: calendar.datespan,
|
|
source: 'https://www.thunderbird.net/media/caldata/' + calendar.filename
|
|
}));
|
|
} else {
|
|
try {
|
|
const state = (0,_nextcloud_initial_state__WEBPACK_IMPORTED_MODULE_6__.loadState)('calendar', 'publicCalendars');
|
|
calendars = JSON.parse(state).filter(calendar => {
|
|
const isValid = isValidString(calendar.name) && isValidURL(calendar.source) && isValidString(calendar.displayName, true) && isValidString(calendar.description, true) && isValidString(calendar.authors, true);
|
|
if (!isValid) {
|
|
console.error('Invalid public calendar', calendar);
|
|
}
|
|
return isValid;
|
|
});
|
|
} catch (error) {
|
|
console.error('Could not read public calendars', error);
|
|
(0,_nextcloud_dialogs__WEBPACK_IMPORTED_MODULE_1__.showError)(this.$t('calendar', 'An error occurred, unable to read public calendars.'));
|
|
}
|
|
}
|
|
const subscribing = {};
|
|
const subscribed = {};
|
|
calendars.forEach(calendar => {
|
|
subscribing[calendar.source] = false;
|
|
subscribed[calendar.source] = false;
|
|
});
|
|
return {
|
|
calendars,
|
|
loading: true,
|
|
subscribed,
|
|
subscribing,
|
|
subscriptions: []
|
|
};
|
|
},
|
|
computed: {
|
|
...(0,vuex__WEBPACK_IMPORTED_MODULE_7__.mapGetters)(['sortedCalendars'])
|
|
},
|
|
async mounted() {
|
|
this.subscriptions = await (0,_services_caldavService_js__WEBPACK_IMPORTED_MODULE_3__.findAllSubscriptions)();
|
|
this.subscriptions.map(sub => this.subscribed[sub.source] = true);
|
|
this.loading = false;
|
|
},
|
|
methods: {
|
|
async subscribe(calendar) {
|
|
try {
|
|
this.subscribing[calendar.source] = true;
|
|
await this.$store.dispatch('appendSubscription', {
|
|
displayName: calendar.displayName || calendar.name,
|
|
color: (0,_utils_color_js__WEBPACK_IMPORTED_MODULE_5__.uidToHexColor)(calendar.source),
|
|
source: calendar.source
|
|
});
|
|
this.subscribed[calendar.source] = true;
|
|
} catch (error) {
|
|
console.error('Could not add calendar subscription', error);
|
|
(0,_nextcloud_dialogs__WEBPACK_IMPORTED_MODULE_1__.showError)(this.$t('calendar', 'An error occurred, unable to subscribe to calendar.'));
|
|
} finally {
|
|
this.subscribing[calendar.source] = false;
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=template&id=61d243f8&scoped=true":
|
|
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=template&id=61d243f8&scoped=true ***!
|
|
\*****************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ render: () => (/* binding */ render),
|
|
/* harmony export */ staticRenderFns: () => (/* binding */ staticRenderFns)
|
|
/* harmony export */ });
|
|
var render = function render() {
|
|
var _vm = this,
|
|
_c = _vm._self._c;
|
|
return _c("NcModal", {
|
|
on: {
|
|
close: function ($event) {
|
|
return _vm.$emit("close", $event);
|
|
}
|
|
}
|
|
}, [_c("div", {
|
|
staticClass: "public-calendar-subscription-picker"
|
|
}, [_vm.showHolidays ? _c("h2", [_vm._v("\n\t\t\t" + _vm._s(_vm.t("calendar", "Public holiday calendars")) + "\n\t\t")]) : _c("h2", [_vm._v("\n\t\t\t" + _vm._s(_vm.t("calendar", "Public calendars")) + "\n\t\t")]), _vm._v(" "), !_vm.calendars.length ? _c("NcEmptyContent", {
|
|
attrs: {
|
|
title: _vm.$t("calendar", "No valid public calendars configured"),
|
|
description: _vm.$t("calendar", "Speak to the server administrator to resolve this issue.")
|
|
},
|
|
scopedSlots: _vm._u([{
|
|
key: "icon",
|
|
fn: function () {
|
|
return [_c("CalendarBlank", {
|
|
attrs: {
|
|
size: 20,
|
|
decorative: ""
|
|
}
|
|
})];
|
|
},
|
|
proxy: true
|
|
}], null, false, 2920828918)
|
|
}) : _vm.showHolidays ? _c("p", {
|
|
staticClass: "holiday-subscription-picker__attribution"
|
|
}, [_vm._v("\n\t\t\t" + _vm._s(_vm.t("calendar", "Public holiday calendars are provided by Thunderbird. Calendar data will be downloaded from {website}", {
|
|
website: "thunderbird.net"
|
|
})) + "\n\t\t")]) : _c("p", {
|
|
staticClass: "holiday-subscription-picker__attribution"
|
|
}, [_vm._v("\n\t\t\t" + _vm._s(_vm.t("calendar", "These public calendars are suggested by the sever administrator. Calendar data will be downloaded from the respective website.")) + "\n\t\t")]), _vm._v(" "), _vm._l(_vm.calendars, function (calendar) {
|
|
return _c("div", {
|
|
key: calendar.source,
|
|
staticClass: "public-calendar-subscription-picker__region"
|
|
}, [_c("div", {
|
|
staticClass: "public-calendar-subscription-picker__region__name"
|
|
}, [_c("h3", [_vm._v(_vm._s(calendar.name))]), _vm._v(" "), calendar.description ? _c("div", {
|
|
staticClass: "public-calendar-subscription-picker__region__name__subline"
|
|
}, [_vm._v("\n\t\t\t\t\t" + _vm._s(calendar.description) + "\n\t\t\t\t")]) : _vm._e(), _vm._v(" "), calendar.authors ? _c("div", {
|
|
staticClass: "public-calendar-subscription-picker__region__name__subline"
|
|
}, [_vm._v("\n\t\t\t\t\t" + _vm._s(_vm.t("calendar", "By {authors}", {
|
|
authors: calendar.authors
|
|
})) + "\n\t\t\t\t")]) : _vm._e()]), _vm._v(" "), _c("div", {
|
|
staticClass: "public-calendar-subscription-picker__region__subcribe"
|
|
}, [_c("NcButton", {
|
|
attrs: {
|
|
disabled: _vm.loading || _vm.subscribing[calendar.source] || _vm.subscribed[calendar.source]
|
|
},
|
|
on: {
|
|
click: function ($event) {
|
|
return _vm.subscribe(calendar);
|
|
}
|
|
}
|
|
}, [_vm._v("\n\t\t\t\t\t" + _vm._s(_vm.subscribed[calendar.source] ? _vm.t("calendar", "Subscribed") : _vm.t("calendar", "Subscribe")) + "\n\t\t\t\t")])], 1)]);
|
|
})], 2)]);
|
|
};
|
|
var staticRenderFns = [];
|
|
render._withStripped = true;
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-2.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=style&index=0&id=61d243f8&lang=scss&scoped=true":
|
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-2.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=style&index=0&id=61d243f8&lang=scss&scoped=true ***!
|
|
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/noSourceMaps.js */ "./node_modules/css-loader/dist/runtime/noSourceMaps.js");
|
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
|
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
// Imports
|
|
|
|
|
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
// Module
|
|
___CSS_LOADER_EXPORT___.push([module.id, `.public-calendar-subscription-picker[data-v-61d243f8] {
|
|
padding: 20px;
|
|
}
|
|
.public-calendar-subscription-picker__attribution[data-v-61d243f8] {
|
|
color: var(--color-text-maxcontrast);
|
|
}
|
|
.public-calendar-subscription-picker__region[data-v-61d243f8] {
|
|
display: flex;
|
|
margin-top: 20px;
|
|
align-items: center;
|
|
}
|
|
.public-calendar-subscription-picker__region__name[data-v-61d243f8] {
|
|
flex-grow: 1;
|
|
}
|
|
.public-calendar-subscription-picker__region__name h3[data-v-61d243f8] {
|
|
font-weight: bold;
|
|
margin-bottom: initial;
|
|
}
|
|
.public-calendar-subscription-picker__region__name__subline[data-v-61d243f8] {
|
|
color: var(--color-text-maxcontrast);
|
|
}`, ""]);
|
|
// Exports
|
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./src/components/Subscription/PublicCalendarSubscriptionPicker.vue":
|
|
/*!**************************************************************************!*\
|
|
!*** ./src/components/Subscription/PublicCalendarSubscriptionPicker.vue ***!
|
|
\**************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _PublicCalendarSubscriptionPicker_vue_vue_type_template_id_61d243f8_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PublicCalendarSubscriptionPicker.vue?vue&type=template&id=61d243f8&scoped=true */ "./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=template&id=61d243f8&scoped=true");
|
|
/* harmony import */ var _PublicCalendarSubscriptionPicker_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./PublicCalendarSubscriptionPicker.vue?vue&type=script&lang=js */ "./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=script&lang=js");
|
|
/* harmony import */ var _PublicCalendarSubscriptionPicker_vue_vue_type_style_index_0_id_61d243f8_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./PublicCalendarSubscriptionPicker.vue?vue&type=style&index=0&id=61d243f8&lang=scss&scoped=true */ "./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=style&index=0&id=61d243f8&lang=scss&scoped=true");
|
|
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
|
|
|
|
|
|
;
|
|
|
|
|
|
/* normalize component */
|
|
|
|
var component = (0,_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
_PublicCalendarSubscriptionPicker_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
_PublicCalendarSubscriptionPicker_vue_vue_type_template_id_61d243f8_scoped_true__WEBPACK_IMPORTED_MODULE_0__.render,
|
|
_PublicCalendarSubscriptionPicker_vue_vue_type_template_id_61d243f8_scoped_true__WEBPACK_IMPORTED_MODULE_0__.staticRenderFns,
|
|
false,
|
|
null,
|
|
"61d243f8",
|
|
null
|
|
|
|
)
|
|
|
|
/* hot reload */
|
|
if (false) { var api; }
|
|
component.options.__file = "src/components/Subscription/PublicCalendarSubscriptionPicker.vue"
|
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (component.exports);
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=script&lang=js":
|
|
/*!**************************************************************************************************!*\
|
|
!*** ./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=script&lang=js ***!
|
|
\**************************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicCalendarSubscriptionPicker_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PublicCalendarSubscriptionPicker.vue?vue&type=script&lang=js */ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=script&lang=js");
|
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicCalendarSubscriptionPicker_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=template&id=61d243f8&scoped=true":
|
|
/*!********************************************************************************************************************!*\
|
|
!*** ./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=template&id=61d243f8&scoped=true ***!
|
|
\********************************************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ render: () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_3_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicCalendarSubscriptionPicker_vue_vue_type_template_id_61d243f8_scoped_true__WEBPACK_IMPORTED_MODULE_0__.render),
|
|
/* harmony export */ staticRenderFns: () => (/* reexport safe */ _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_3_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicCalendarSubscriptionPicker_vue_vue_type_template_id_61d243f8_scoped_true__WEBPACK_IMPORTED_MODULE_0__.staticRenderFns)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_loaders_templateLoader_js_ruleSet_1_rules_3_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicCalendarSubscriptionPicker_vue_vue_type_template_id_61d243f8_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PublicCalendarSubscriptionPicker.vue?vue&type=template&id=61d243f8&scoped=true */ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=template&id=61d243f8&scoped=true");
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=style&index=0&id=61d243f8&lang=scss&scoped=true":
|
|
/*!***********************************************************************************************************************************!*\
|
|
!*** ./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=style&index=0&id=61d243f8&lang=scss&scoped=true ***!
|
|
\***********************************************************************************************************************************/
|
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_resolve_url_loader_index_js_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_2_use_3_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicCalendarSubscriptionPicker_vue_vue_type_style_index_0_id_61d243f8_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-style-loader/index.js!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-2.use[3]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PublicCalendarSubscriptionPicker.vue?vue&type=style&index=0&id=61d243f8&lang=scss&scoped=true */ "./node_modules/vue-style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-2.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=style&index=0&id=61d243f8&lang=scss&scoped=true");
|
|
/* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_resolve_url_loader_index_js_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_2_use_3_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicCalendarSubscriptionPicker_vue_vue_type_style_index_0_id_61d243f8_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_resolve_url_loader_index_js_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_2_use_3_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicCalendarSubscriptionPicker_vue_vue_type_style_index_0_id_61d243f8_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_resolve_url_loader_index_js_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_2_use_3_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicCalendarSubscriptionPicker_vue_vue_type_style_index_0_id_61d243f8_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_resolve_url_loader_index_js_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_2_use_3_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicCalendarSubscriptionPicker_vue_vue_type_style_index_0_id_61d243f8_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[__WEBPACK_IMPORT_KEY__]
|
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./node_modules/vue-style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-2.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=style&index=0&id=61d243f8&lang=scss&scoped=true":
|
|
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./node_modules/vue-style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-2.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=style&index=0&id=61d243f8&lang=scss&scoped=true ***!
|
|
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
|
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
|
|
// load the styles
|
|
var content = __webpack_require__(/*! !!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-2.use[3]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PublicCalendarSubscriptionPicker.vue?vue&type=style&index=0&id=61d243f8&lang=scss&scoped=true */ "./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-2.use[3]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/Subscription/PublicCalendarSubscriptionPicker.vue?vue&type=style&index=0&id=61d243f8&lang=scss&scoped=true");
|
|
if(content.__esModule) content = content.default;
|
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
if(content.locals) module.exports = content.locals;
|
|
// add the styles to the DOM
|
|
var add = (__webpack_require__(/*! !../../../node_modules/vue-style-loader/lib/addStylesClient.js */ "./node_modules/vue-style-loader/lib/addStylesClient.js")["default"])
|
|
var update = add("170e1bda", content, false, {});
|
|
// Hot Module Replacement
|
|
if(false) {}
|
|
|
|
/***/ }),
|
|
|
|
/***/ "./src/resources/holiday_calendars.json":
|
|
/*!**********************************************!*\
|
|
!*** ./src/resources/holiday_calendars.json ***!
|
|
\**********************************************/
|
|
/***/ ((module) => {
|
|
|
|
"use strict";
|
|
module.exports = /*#__PURE__*/JSON.parse('[{"country":"Algeria","filename":"AlgeriaHolidays.ics","datespan":"2024-2027","authors":"Imad Tbahriti"},{"country":"Australia","filename":"AustraliaHolidays.ics","datespan":"2024-2027","authors":"RGreyman"},{"country":"Austria","filename":"AustrianHolidays.ics","datespan":"2024-2027","authors":"boe"},{"country":"Belgium","filename":"BelgianHolidays.ics","datespan":"2024-2027","authors":"Hubertus Verdonck"},{"country":"Bolivia","filename":"BoliviaHolidays.ics","datespan":"2024-2027","authors":"Rebelde Boliche"},{"country":"Brazil","filename":"BrazilHolidays.ics","datespan":"2024-2027","authors":"Henrique Faria"},{"country":"Bulgaria","filename":"BulgarianHolidays.ics","datespan":"2024-2027beyond","authors":"Georgi D. Sotirov"},{"country":"Canada","filename":"CanadaHolidays.ics","datespan":"2024-2027","authors":"Sigurd Schmidt"},{"country":"Colombia","filename":"ColombianHolidays.ics","datespan":"2024-2027","authors":"Mauricio Sanchez"},{"country":"Costa Rica","filename":"CostaRicaHolidays.ics","datespan":"2024-2027","authors":"Gerardo Tovar"},{"country":"Croatia","filename":"CroatiaHolidays.ics","datespan":"2024-2027","authors":"Domagoj Debic"},{"country":"Czech","filename":"CzechHolidays.ics","datespan":"2024-2027","authors":"Martin Matula, Matěj Cepl, Peter Habcak"},{"country":"Finland (Finnish)","filename":"FinlandHolidays.ics","datespan":"2024-2027","authors":"Magnus Melin"},{"country":"Finland (Swedish)","filename":"FinlandHolidaysSwedish.ics","datespan":"2024-2027","authors":"Magnus Melin"},{"country":"Flanders","filename":"FlandersHolidays.ics","datespan":"2024-2027","authors":"Hubertus Verdonck"},{"country":"France","filename":"FrenchHolidays.ics","datespan":"2024-2027","authors":"danfra"},{"country":"Germany","filename":"GermanHolidays.ics","datespan":"2024-2027","authors":"Hagen Halbach"},{"country":"Greece","filename":"GreeceHolidays.ics","datespan":"2024-2027","authors":"Hans Kleiner"},{"country":"Haiti","filename":"HaitiHolidays.ics","authors":" Sheila Laplanche"},{"country":"Hungary","filename":"HungarianHolidays.ics","datespan":"2024-2027","authors":"spiraldancing, tozo"},{"country":"Iceland","filename":"IcelandHolidays.ics","datespan":"2024-2027","authors":"Kristjan Bjarni Gudmundsson"},{"country":"Ireland","filename":"IrelandHolidays2014-2021.ics","datespan":"2024-2027","authors":"Tom Condon"},{"country":"Italy","filename":"ItalianHolidays.ics","datespan":"2024-2027","authors":"Gianni Luppi/Gianfranco Balza"},{"country":"Japan","filename":"JapanHolidays.ics","datespan":"2024-2027","authors":"Atsushi Sakai"},{"country":"Kazakhstan (English)","filename":"KazakhstanHolidaysEnglish.ics","datespan":"2024-2027","authors":"Yuriy Gural"},{"country":"Kazakhstan (Russian)","filename":"KazakhstanHolidaysRussian.ics","datespan":"2024-2027","authors":"Yuriy Gural"},{"country":"Liechtenstein","filename":"LiechtensteinHolidays.ics","datespan":"2024-2027","authors":"boe"},{"country":"Lithuania","filename":"LithuanianHolidays.ics","datespan":"2024-2027","authors":"joshas"},{"country":"Morocco","filename":"MoroccoHolidays.ics","authors":"Tarik El Maniani"},{"country":"Netherlands","filename":"DutchHolidays.ics","datespan":"2024-2027","authors":"Pander, RobJE"},{"country":"Netherlands (English)","filename":"DutchHolidaysEnglish.ics","datespan":"2024-2027","authors":"Pander"},{"country":"Netherlands (German)","filename":"DutchHolidaysGerman.ics","datespan":"2024-2027","authors":"Pander"},{"country":"Netherlands (French)","filename":"DutchHolidaysFrench.ics","datespan":"2024-2027","authors":"Pander"},{"country":"Nicaragua","filename":"NicaraguaHolidays.ics","datespan":"2024-2027","authors":"phurtado1112"},{"country":"Norway","filename":"NorwegianHolidays.ics","datespan":"2024-2027","authors":"Håvard Wigtil"},{"country":"Pakistan","filename":"PakistanHolidays.ics","datespan":"2024-2027","authors":"Umar Toseef"},{"country":"Poland","filename":"PolishHolidays.ics","datespan":"2024-2027","authors":"Artur Majcherczak"},{"country":"Portugal","filename":"PortugalHolidays.ics","datespan":"2024-2027","authors":"Nuno Rua"},{"country":"Russia","filename":"RussiaHolidays.ics","datespan":"2024-2027","authors":"Alexander L. Slovesnik"},{"country":"Singapore","filename":"SingaporePublicHolidays-2021.ics","datespan":"2024-2027","authors":"Singapore Ministry of Manpower"},{"country":"Singapore","filename":"SingaporePublicHolidays-2022.ics","datespan":"2024-2027","authors":"Singapore Ministry of Manpower"},{"country":"Slovenia","filename":"SlovenianHolidays.ics","datespan":"2024-2027","authors":"Klemen Robnik, Peter Klofutar"},{"country":"Slovakia","filename":"SlovakHolidays.ics","datespan":"2024-2027","authors":"Branislav Rozbora"},{"country":"South Africa","filename":"SouthAfricaHolidays.ics","datespan":"2024-2027","authors":"Malcolm McLean"},{"country":"South Korea","filename":"SouthKoreaHolidays.ics","datespan":"2024-2027","authors":"Marcus Yoo"},{"country":"Spain","filename":"SpainHolidays.ics","datespan":"2024-2027","authors":"forolinux"},{"country":"Sweden","filename":"SwedishHolidays.ics","datespan":"2024-2027","authors":"Erik Lundin"},{"country":"Switzerland","filename":"SwissHolidays.ics","datespan":"2024-2027","authors":"boe"},{"country":"Trinidad and Tobago","filename":"TrinidadTobagoHolidays.ics","datespan":"2024-2027","authors":"Joe"},{"country":"UK [All]","filename":"UKHolidays.ics","datespan":"2024-2027","authors":"KR304"},{"country":"UK [England & Wales]","filename":"UKHolidays-EnglandWales.ics","datespan":"2024-2027","authors":"KR304"},{"country":"UK [Northern Ireland]","filename":"UKHolidays-NIreland.ics","datespan":"2024-2027","authors":"KR304"},{"country":"UK [Scotland]","filename":"UKHolidays-Scotland.ics","datespan":"2024-2027","authors":"KR304"},{"country":"Ukraine","filename":"UkraineHolidays.ics","datespan":"2024-2027","authors":"Kostya Nesterenko"},{"country":"Uruguay","filename":"UruguayHolidays.ics","datespan":"2024-2027","authors":"Gonzalo Alvarez"},{"country":"USA","filename":"USHolidays.ics","datespan":"2024-2027","authors":"Thomas Kelley"}]');
|
|
|
|
/***/ })
|
|
|
|
}]);
|
|
//# sourceMappingURL=calendar-public-calendar-subscription-picker.js.map?v=4c85129ecec907c712f8
|