Commit 54d29134 authored by git-directory-deploy's avatar git-directory-deploy
Browse files

publish: feat: handle remote url for matomo

generated from commit 4c911e62
parent cfd98c95
This diff is collapsed.
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[11],{
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[10],{
/***/ "LUT6":
/***/ (function(module, exports, __webpack_require__) {
......@@ -75,8 +75,8 @@ exports.default = _default2;
return;
}
reactHotLoader.register(LegalNoticeView, "LegalNoticeView", "/home/gcarron/dev/ecolyo/src/components/LegalNotice/LegalNoticeView.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/LegalNotice/LegalNoticeView.tsx");
reactHotLoader.register(LegalNoticeView, "LegalNoticeView", "/home/bastien/ecolyo/src/components/LegalNotice/LegalNoticeView.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/LegalNotice/LegalNoticeView.tsx");
})();
;
......
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{
/***/ "1k9e":
/***/ (function(module, exports, __webpack_require__) {
......@@ -37,6 +37,113 @@ if(false) {}
/***/ }),
/***/ "HTwM":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(module) {
var _interopRequireDefault = __webpack_require__("TqRt");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__("QILm"));
var _react = _interopRequireDefault(__webpack_require__("q1tI"));
var _fluid = __webpack_require__("5Wkc");
var _styles = __webpack_require__("DfQ9");
var _CircularProgress = _interopRequireDefault(__webpack_require__("tdZp"));
var _excluded = ["fluidType"];
(function () {
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
enterModule && enterModule(module);
})();
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
return a;
};
var SpinnerBase = (0, _styles.withStyles)({
root: {
color: 'var(--multiColor)'
}
})(_CircularProgress.default);
var SpinnerElec = (0, _styles.withStyles)({
root: {
color: 'var(--elecColor)'
}
})(_CircularProgress.default);
var SpinnerWater = (0, _styles.withStyles)({
root: {
color: 'var(--waterColor)'
}
})(_CircularProgress.default);
var SpinnerGas = (0, _styles.withStyles)({
root: {
color: 'var(--gasColor)'
}
})(_CircularProgress.default);
var StyledSpinner = function StyledSpinner(_ref) {
var fluidType = _ref.fluidType,
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
switch (fluidType) {
case _fluid.FluidType.ELECTRICITY:
return /*#__PURE__*/_react.default.createElement(SpinnerElec, props);
case _fluid.FluidType.WATER:
return /*#__PURE__*/_react.default.createElement(SpinnerWater, props);
case _fluid.FluidType.GAS:
return /*#__PURE__*/_react.default.createElement(SpinnerGas, props);
case _fluid.FluidType.MULTIFLUID:
return /*#__PURE__*/_react.default.createElement(SpinnerBase, props);
default:
return /*#__PURE__*/_react.default.createElement(SpinnerBase, props);
}
};
var _default = StyledSpinner;
var _default2 = _default;
exports.default = _default2;
;
(function () {
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
if (!reactHotLoader) {
return;
}
reactHotLoader.register(SpinnerBase, "SpinnerBase", "/home/bastien/ecolyo/src/components/CommonKit/Spinner/StyledSpinner.tsx");
reactHotLoader.register(SpinnerElec, "SpinnerElec", "/home/bastien/ecolyo/src/components/CommonKit/Spinner/StyledSpinner.tsx");
reactHotLoader.register(SpinnerWater, "SpinnerWater", "/home/bastien/ecolyo/src/components/CommonKit/Spinner/StyledSpinner.tsx");
reactHotLoader.register(SpinnerGas, "SpinnerGas", "/home/bastien/ecolyo/src/components/CommonKit/Spinner/StyledSpinner.tsx");
reactHotLoader.register(StyledSpinner, "StyledSpinner", "/home/bastien/ecolyo/src/components/CommonKit/Spinner/StyledSpinner.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/CommonKit/Spinner/StyledSpinner.tsx");
})();
;
(function () {
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
leaveModule && leaveModule(module);
})();
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("YuTi")(module)))
/***/ }),
/***/ "Hno1":
/***/ (function(module, exports, __webpack_require__) {
......@@ -203,8 +310,8 @@ exports.default = _default2;
return;
}
reactHotLoader.register(DateNavigator, "DateNavigator", "/home/gcarron/dev/ecolyo/src/components/DateNavigator/DateNavigator.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/DateNavigator/DateNavigator.tsx");
reactHotLoader.register(DateNavigator, "DateNavigator", "/home/bastien/ecolyo/src/components/DateNavigator/DateNavigator.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/DateNavigator/DateNavigator.tsx");
})();
;
......@@ -362,8 +469,8 @@ exports.default = _default2;
return;
}
reactHotLoader.register(DateNavigatorFormat, "DateNavigatorFormat", "/home/gcarron/dev/ecolyo/src/components/DateNavigator/DateNavigatorFormat.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/DateNavigator/DateNavigatorFormat.tsx");
reactHotLoader.register(DateNavigatorFormat, "DateNavigatorFormat", "/home/bastien/ecolyo/src/components/DateNavigator/DateNavigatorFormat.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/DateNavigator/DateNavigatorFormat.tsx");
})();
;
......@@ -485,15 +592,15 @@ exports.default = _default2;
return;
}
reactHotLoader.register(CardBase, "CardBase", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardElec, "CardElec", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardWater, "CardWater", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardGas, "CardGas", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardMulti, "CardMulti", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardContentBase, "CardContentBase", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(GenerateContentCard, "GenerateContentCard", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(StyledCard, "StyledCard", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardBase, "CardBase", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardElec, "CardElec", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardWater, "CardWater", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardGas, "CardGas", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardMulti, "CardMulti", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardContentBase, "CardContentBase", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(GenerateContentCard, "GenerateContentCard", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(StyledCard, "StyledCard", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
})();
;
......@@ -545,13 +652,7 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = void 0;
var _regenerator = _interopRequireDefault(__webpack_require__("o0o1"));
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__("yXPU"));
var _slicedToArray2 = _interopRequireDefault(__webpack_require__("J4zp"));
var _react = _interopRequireWildcard(__webpack_require__("q1tI"));
var _react = _interopRequireDefault(__webpack_require__("q1tI"));
var _I18n = __webpack_require__("buk/");
......@@ -567,21 +668,11 @@ var _core = __webpack_require__("TTf+");
__webpack_require__("2aqi");
var _fluidsPrices = _interopRequireDefault(__webpack_require__("VjcQ"));
var _cozyClient = __webpack_require__("SH7X");
var _luxon = __webpack_require__("ExVU");
(function () {
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
enterModule && enterModule(module);
})();
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
return a;
};
......@@ -593,53 +684,6 @@ var EstimatedConsumptionModal = function EstimatedConsumptionModal(_ref) {
var _useI18n = (0, _I18n.useI18n)(),
t = _useI18n.t;
var client = (0, _cozyClient.useClient)();
var _useState = (0, _react.useState)([]),
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
prices = _useState2[0],
setPrices = _useState2[1];
(0, _react.useEffect)(function () {
var subscribed = true;
var fluidsPricesService = new _fluidsPrices.default(client);
function getAllLastPrices() {
return _getAllLastPrices.apply(this, arguments);
}
function _getAllLastPrices() {
_getAllLastPrices = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
var prices;
return _regenerator.default.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return fluidsPricesService.getAllLastPrices();
case 2:
prices = _context.sent;
if (subscribed && prices) {
setPrices(prices);
}
case 4:
case "end":
return _context.stop();
}
}
}, _callee);
}));
return _getAllLastPrices.apply(this, arguments);
}
getAllLastPrices();
return function () {
subscribed = false;
};
}, [client]);
return /*#__PURE__*/_react.default.createElement(_Dialog.default, {
open: open,
onClose: handleCloseClick,
......@@ -667,32 +711,17 @@ var EstimatedConsumptionModal = function EstimatedConsumptionModal(_ref) {
className: "text-16-normal"
}, t('consumption_visualizer.modal.part2')), /*#__PURE__*/_react.default.createElement("ul", null, /*#__PURE__*/_react.default.createElement("li", null, /*#__PURE__*/_react.default.createElement("span", {
className: "".concat(_fluid.FluidType[_fluid.FluidType.ELECTRICITY].toLowerCase())
}, t("FLUID.".concat(_fluid.FluidType[_fluid.FluidType.ELECTRICITY], ".LABEL"))), t('consumption_visualizer.modal.list1', {
elecPrice: prices[_fluid.FluidType.ELECTRICITY] && prices[_fluid.FluidType.ELECTRICITY].price,
elecPriceStartDate: prices[_fluid.FluidType.ELECTRICITY] && _luxon.DateTime.fromISO(prices[_fluid.FluidType.ELECTRICITY].startDate).setZone('utc', {
keepLocalTime: true
}).toLocaleString()
})), /*#__PURE__*/_react.default.createElement("li", null, /*#__PURE__*/_react.default.createElement("span", {
}, t("FLUID.".concat(_fluid.FluidType[_fluid.FluidType.ELECTRICITY], ".LABEL"))), t('consumption_visualizer.modal.list1')), /*#__PURE__*/_react.default.createElement("li", null, /*#__PURE__*/_react.default.createElement("span", {
className: "".concat(_fluid.FluidType[_fluid.FluidType.WATER].toLowerCase())
}, t("FLUID.".concat(_fluid.FluidType[_fluid.FluidType.WATER], ".LABEL"))), t('consumption_visualizer.modal.list3', {
waterPrice: prices[_fluid.FluidType.WATER] && prices[_fluid.FluidType.WATER].price,
waterPriceStartDate: prices[_fluid.FluidType.WATER] && _luxon.DateTime.fromISO(prices[_fluid.FluidType.WATER].startDate).setZone('utc', {
keepLocalTime: true
}).toLocaleString()
})), /*#__PURE__*/_react.default.createElement("li", null, /*#__PURE__*/_react.default.createElement("span", {
}, t("FLUID.".concat(_fluid.FluidType[_fluid.FluidType.WATER], ".LABEL"))), t('consumption_visualizer.modal.list3')), /*#__PURE__*/_react.default.createElement("li", null, /*#__PURE__*/_react.default.createElement("span", {
className: "".concat(_fluid.FluidType[_fluid.FluidType.GAS].toLowerCase())
}, t("FLUID.".concat(_fluid.FluidType[_fluid.FluidType.GAS], ".LABEL"))), t('consumption_visualizer.modal.list2', {
gasPrice: prices[_fluid.FluidType.GAS] && prices[_fluid.FluidType.GAS].price,
gasPriceStartDate: prices[_fluid.FluidType.GAS] && _luxon.DateTime.fromISO(prices[_fluid.FluidType.GAS].startDate).setZone('utc', {
keepLocalTime: true
}).toLocaleString()
}))), /*#__PURE__*/_react.default.createElement("div", {
}, t("FLUID.".concat(_fluid.FluidType[_fluid.FluidType.GAS], ".LABEL"))), t('consumption_visualizer.modal.list2'))), /*#__PURE__*/_react.default.createElement("div", {
className: "text-16-normal"
}, t('consumption_visualizer.modal.part3'))));
};
__signature__(EstimatedConsumptionModal, "useI18n{{ t }}\nuseClient{client}\nuseState{[prices, setPrices]([])}\nuseEffect{}", function () {
return [_I18n.useI18n, _cozyClient.useClient];
__signature__(EstimatedConsumptionModal, "useI18n{{ t }}", function () {
return [_I18n.useI18n];
});
var _default = EstimatedConsumptionModal;
......@@ -707,8 +736,8 @@ exports.default = _default2;
return;
}
reactHotLoader.register(EstimatedConsumptionModal, "EstimatedConsumptionModal", "/home/gcarron/dev/ecolyo/src/components/ConsumptionVisualizer/EstimatedConsumptionModal.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/ConsumptionVisualizer/EstimatedConsumptionModal.tsx");
reactHotLoader.register(EstimatedConsumptionModal, "EstimatedConsumptionModal", "/home/bastien/ecolyo/src/components/ConsumptionVisualizer/EstimatedConsumptionModal.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/ConsumptionVisualizer/EstimatedConsumptionModal.tsx");
})();
;
......
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[7],{
/***/ "1usQ":
/***/ (function(module, exports, __webpack_require__) {
......@@ -73,8 +73,8 @@ exports.default = _default2;
return;
}
reactHotLoader.register(GCUView, "GCUView", "/home/gcarron/dev/ecolyo/src/components/GCU/GCUView.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/GCU/GCUView.tsx");
reactHotLoader.register(GCUView, "GCUView", "/home/bastien/ecolyo/src/components/GCU/GCUView.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/GCU/GCUView.tsx");
})();
;
......
......@@ -191,6 +191,10 @@ var ReportOptions = function ReportOptions() {
(0, _react.useEffect)(function () {
var subscribed = true;
if (profile.sendConsumptionAlert && profile.waterDailyConsumptionLimit === 0) {
updateProfileAlert(false);
}
function getMaxLoadData() {
return _getMaxLoadData.apply(this, arguments);
}
......@@ -283,7 +287,7 @@ var ReportOptions = function ReportOptions() {
}, /*#__PURE__*/_react.default.createElement("input", {
className: "input-style",
type: 'number',
defaultValue: profile.waterDailyConsumptionLimit === 0 ? '' : profile.waterDailyConsumptionLimit,
defaultValue: profile.waterDailyConsumptionLimit,
onBlur: setWaterLimit,
"aria-label": t('profile.accessibility.input_water_alert_report'),
inputMode: "numeric"
......@@ -310,8 +314,8 @@ exports.default = _default2;
return;
}
reactHotLoader.register(ReportOptions, "ReportOptions", "/home/gcarron/dev/ecolyo/src/components/Options/ReportOptions.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/Options/ReportOptions.tsx");
reactHotLoader.register(ReportOptions, "ReportOptions", "/home/bastien/ecolyo/src/components/Options/ReportOptions.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/Options/ReportOptions.tsx");
})();
;
......@@ -405,8 +409,8 @@ exports.default = _default2;
return;
}
reactHotLoader.register(GCULink, "GCULink", "/home/gcarron/dev/ecolyo/src/components/GCU/GCULink.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/GCU/GCULink.tsx");
reactHotLoader.register(GCULink, "GCULink", "/home/bastien/ecolyo/src/components/GCU/GCULink.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/GCU/GCULink.tsx");
})();
;
......@@ -470,8 +474,8 @@ exports.default = _default2;
return;
}
reactHotLoader.register(Version, "Version", "/home/gcarron/dev/ecolyo/src/components/Version/Version.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/Version/Version.tsx");
reactHotLoader.register(Version, "Version", "/home/bastien/ecolyo/src/components/Version/Version.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/Version/Version.tsx");
})();
;
......@@ -691,8 +695,8 @@ exports.default = _default2;
return;
}
reactHotLoader.register(LegalNoticeLink, "LegalNoticeLink", "/home/gcarron/dev/ecolyo/src/components/LegalNotice/LegalNoticeLink.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/LegalNotice/LegalNoticeLink.tsx");
reactHotLoader.register(LegalNoticeLink, "LegalNoticeLink", "/home/bastien/ecolyo/src/components/LegalNotice/LegalNoticeLink.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/LegalNotice/LegalNoticeLink.tsx");
})();
;
......@@ -872,12 +876,12 @@ exports.default = _default2;
return;
}
reactHotLoader.register(SwitchBase, "SwitchBase", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Switch/StyledSwitch.tsx");
reactHotLoader.register(SwitchElec, "SwitchElec", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Switch/StyledSwitch.tsx");
reactHotLoader.register(SwitchWater, "SwitchWater", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Switch/StyledSwitch.tsx");
reactHotLoader.register(SwitchGas, "SwitchGas", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Switch/StyledSwitch.tsx");
reactHotLoader.register(StyledSwitch, "StyledSwitch", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Switch/StyledSwitch.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Switch/StyledSwitch.tsx");
reactHotLoader.register(SwitchBase, "SwitchBase", "/home/bastien/ecolyo/src/components/CommonKit/Switch/StyledSwitch.tsx");
reactHotLoader.register(SwitchElec, "SwitchElec", "/home/bastien/ecolyo/src/components/CommonKit/Switch/StyledSwitch.tsx");
reactHotLoader.register(SwitchWater, "SwitchWater", "/home/bastien/ecolyo/src/components/CommonKit/Switch/StyledSwitch.tsx");
reactHotLoader.register(SwitchGas, "SwitchGas", "/home/bastien/ecolyo/src/components/CommonKit/Switch/StyledSwitch.tsx");
reactHotLoader.register(StyledSwitch, "StyledSwitch", "/home/bastien/ecolyo/src/components/CommonKit/Switch/StyledSwitch.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/CommonKit/Switch/StyledSwitch.tsx");
})();
;
......@@ -1117,8 +1121,8 @@ exports.default = _default2;
return;
}
reactHotLoader.register(ProfileTypeOptions, "ProfileTypeOptions", "/home/gcarron/dev/ecolyo/src/components/Options/ProfileTypeOptions.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/Options/ProfileTypeOptions.tsx");
reactHotLoader.register(ProfileTypeOptions, "ProfileTypeOptions", "/home/bastien/ecolyo/src/components/Options/ProfileTypeOptions.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/Options/ProfileTypeOptions.tsx");
})();
;
......@@ -1242,8 +1246,8 @@ exports.default = _default2;
return;
}
reactHotLoader.register(OptionsView, "OptionsView", "/home/gcarron/dev/ecolyo/src/components/Options/OptionsView.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/Options/OptionsView.tsx");
reactHotLoader.register(OptionsView, "OptionsView", "/home/bastien/ecolyo/src/components/Options/OptionsView.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/Options/OptionsView.tsx");
})();
;
......@@ -1376,15 +1380,15 @@ exports.default = _default2;
return;
}
reactHotLoader.register(CardBase, "CardBase", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardElec, "CardElec", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardWater, "CardWater", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardGas, "CardGas", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardMulti, "CardMulti", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardContentBase, "CardContentBase", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(GenerateContentCard, "GenerateContentCard", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(StyledCard, "StyledCard", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardBase, "CardBase", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardElec, "CardElec", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardWater, "CardWater", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardGas, "CardGas", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardMulti, "CardMulti", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(CardContentBase, "CardContentBase", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(GenerateContentCard, "GenerateContentCard", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(StyledCard, "StyledCard", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/CommonKit/Card/StyledCard.tsx");
})();
;
......@@ -1512,8 +1516,8 @@ exports.default = _default2;
return;
}
reactHotLoader.register(FAQLink, "FAQLink", "/home/gcarron/dev/ecolyo/src/components/FAQ/FAQLink.tsx");
reactHotLoader.register(_default, "default", "/home/gcarron/dev/ecolyo/src/components/FAQ/FAQLink.tsx");
reactHotLoader.register(FAQLink, "FAQLink", "/home/bastien/ecolyo/src/components/FAQ/FAQLink.tsx");
reactHotLoader.register(_default, "default", "/home/bastien/ecolyo/src/components/FAQ/FAQLink.tsx");
})();
;
......
......@@ -698,10 +698,6 @@ var ProfileTypeService = /*#__PURE__*/function () {
profileType.hotWaterFluid = null;
profileType.hotWaterEquipment = _profileType.HotWaterEquipment.OTHER;
}
}
if (profileType.constructionYear === _profileType.ConstructionYear.AFTER_1998) {
profileType.individualInsulationWork = [_profileType.IndividualInsulationWork.NONE];
} // Remove potential metadata from already existing profileType in order
// to create a new entry. Otherwise will update existing one.
......@@ -735,7 +731,7 @@ exports.default = ProfileTypeService;
return;
}
reactHotLoader.register(ProfileTypeService, "ProfileTypeService", "/home/gcarron/dev/ecolyo/src/services/profileType.service.ts");
reactHotLoader.register(ProfileTypeService, "ProfileTypeService", "/home/bastien/ecolyo/src/services/profileType.service.ts");
})();
;
......
This diff is collapsed.
<svg width="54" height="53" viewBox="0 0 54 53" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.53418" width="52.9315" height="52.9315" rx="5.29315" fill="#E3B82A"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.4246 36.5928C18.6244 38.8906 16.9914 41.4597 13.9325 43.668C19.3905 43.668 23.6562 41.0197 26.5632 38.1261C26.9446 38.1448 27.3292 38.1542 27.7167 38.1542C37.6134 38.1542 45.6362 31.9828 45.6362 24.37C45.6362 16.7572 37.6134 10.5858 27.7167 10.5858C17.8201 10.5858 9.79723 16.7572 9.79722 24.37C9.79722 29.6814 13.7024 34.2911 19.4246 36.5928Z" fill="url(#paint0_radial_12097_71860)"/>
<rect x="36.9365" y="23.1191" width="3.68026" height="3.68026" transform="rotate(90 36.9365 23.1191)" fill="#E3B82A"/>
<rect x="29.5762" y="23.1191" width="3.68026" height="3.68026" transform="rotate(90 29.5762 23.1191)" fill="#E3B82A"/>
<rect x="22.2153" y="23.1191" width="3.68026" height="3.68026" transform="rotate(90 22.2153 23.1191)" fill="#E3B82A"/>
<defs>
<radialGradient id="paint0_radial_12097_71860" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(27.7167 42.6341) rotate(-90) scale(10.1314 21.7354)">
<stop stop-color="#2A2B30"/>
<stop offset="1" stop-color="#1B1C22"/>
</radialGradient>
</defs>
</svg>
<svg width="132" height="101" viewBox="0 0 132 101" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="path-1-outside-1" maskUnits="userSpaceOnUse" x="5.19354" y="26.5161" width="48" height="58" fill="black">
<rect fill="white" x="5.19354" y="26.5161" width="48" height="58"/>
<path d="M49.3242 31.1333C43.0891 29.9235 36.6391 30.4998 30.7172 32.7958C24.7954 35.0918 19.6427 39.0141 15.8528 44.1107C12.0628 49.2074 9.78985 55.2711 9.29572 61.6032C8.80158 67.9353 10.1064 74.2782 13.0598 79.9011L42.9032 64.2258L49.3242 31.1333Z"/>
</mask>
<path d="M49.3242 31.1333C43.0891 29.9235 36.6391 30.4998 30.7172 32.7958C24.7954 35.0918 19.6427 39.0141 15.8528 44.1107C12.0628 49.2074 9.78985 55.2711 9.29572 61.6032C8.80158 67.9353 10.1064 74.2782 13.0598 79.9011L42.9032 64.2258L49.3242 31.1333Z" stroke="#FFC600" stroke-width="6.12903" mask="url(#path-1-outside-1)"/>
<mask id="path-2-outside-2" maskUnits="userSpaceOnUse" x="5.19354" y="26.5161" width="75" height="75" fill="black">
<rect fill="white" x="5.19354" y="26.5161" width="75" height="75"/>
<path d="M49.3242 31.1333C40.6684 29.4538 31.6992 31.2325 24.3395 36.0881C16.9797 40.9437 11.8154 48.4895 9.9536 57.1079C8.09182 65.7262 9.68086 74.731 14.38 82.1916C19.0792 89.6521 26.5144 94.9746 35.0915 97.0178C43.6686 99.0611 52.7049 97.6625 60.263 93.1218C67.8211 88.5812 73.2993 81.2599 75.5231 72.7278C77.7469 64.1957 76.5393 55.1319 72.1592 47.4797C67.779 39.8275 60.5751 34.196 52.0918 31.7926L42.9032 64.2258L49.3242 31.1333Z"/>
</mask>
<path d="M49.3242 31.1333C40.6684 29.4538 31.6992 31.2325 24.3395 36.0881C16.9797 40.9437 11.8154 48.4895 9.9536 57.1079C8.09182 65.7262 9.68086 74.731 14.38 82.1916C19.0792 89.6521 26.5144 94.9746 35.0915 97.0178C43.6686 99.0611 52.7049 97.6625 60.263 93.1218C67.8211 88.5812 73.2993 81.2599 75.5231 72.7278C77.7469 64.1957 76.5393 55.1319 72.1592 47.4797C67.779 39.8275 60.5751 34.196 52.0918 31.7926L42.9032 64.2258L49.3242 31.1333Z" stroke="#FFC600" stroke-width="6.12903" stroke-linejoin="round" mask="url(#path-2-outside-2)"/>
<mask id="path-3-outside-3" maskUnits="userSpaceOnUse" x="5.19354" y="54.5161" width="41" height="29" fill="black">
<rect fill="white" x="5.19354" y="54.5161" width="41" height="29"/>
<path d="M13.1599 80.0901C9.48504 73.2003 8.31607 65.2484 9.85263 57.5925L42.9032 64.2258L13.1599 80.0901Z"/>
</mask>
<path d="M13.1599 80.0901C9.48504 73.2003 8.31607 65.2484 9.85263 57.5925L42.9032 64.2258L13.1599 80.0901Z" stroke="#FFC600" stroke-width="6.12903" stroke-linejoin="round" mask="url(#path-3-outside-3)"/>
<g clip-path="url(#clip0)">
<circle cx="94.6153" cy="19.3846" r="15.8549" fill="#121212" stroke="#D87B39" stroke-width="1.5"/>
<path d="M78.7552 19.9511L82.5315 22.9721L85.5525 17.6853L89.3287 25.993L93.8601 13.1539L97.6364 25.2378L101.413 16.1748L105 24.3893L108.21 19.0183L110.476 21.6504" stroke="#D87B39" stroke-width="1.5"/>
</g>
<g clip-path="url(#clip1)">
<circle cx="78" cy="51.2307" r="15.8549" fill="#121212" stroke="#3A98EC" stroke-width="1.5"/>
<path d="M62.8951 56.1199C63.7905 53.6578 66.7897 48.7336 71.6244 48.7336C77.6677 48.7336 77.6677 56.1199 83.7111 56.1199C88.5457 56.1199 90.4259 50.7481 93.1118 49.4051" stroke="#3A98EC" stroke-width="1.5"/>
</g>
<g clip-path="url(#clip2)">
<circle cx="114" cy="51.2307" r="15.8549" fill="#121212" stroke="#45D1B8" stroke-width="1.5"/>
<circle cx="108.713" cy="52.7413" r="3.77098" fill="#121212" stroke="#45D1B8" stroke-width="1.5"/>
<path d="M116.266 61.0437C117.514 61.0437 118.526 60.0316 118.526 58.7832C118.526 57.5348 117.514 56.5227 116.266 56.5227C115.017 56.5227 114.005 57.5348 114.005 58.7832C114.005 60.0316 115.017 61.0437 116.266 61.0437Z" fill="#121212" stroke="#45D1B8" stroke-width="1.5"/>
<path d="M115.51 53.4912C118.844 53.4912 121.547 50.7885 121.547 47.4545C121.547 44.1205 118.844 41.4178 115.51 41.4178C112.176 41.4178 109.474 44.1205 109.474 47.4545C109.474 50.7885 112.176 53.4912 115.51 53.4912Z" fill="#121212" stroke="#45D1B8" stroke-width="1.5"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="33.2308" height="33.2308" fill="white" transform="translate(78 2.76923)"/>
</clipPath>
<clipPath id="clip1">
<rect width="33.2308" height="33.2308" fill="white" transform="translate(61.3846 34.6154)"/>
</clipPath>
<clipPath id="clip2">
<rect width="33.2308" height="33.2308" fill="white" transform="translate(97.3846 34.6154)"/>
</clipPath>
</defs>