popoll_web 0.0.13 → 0.0.14
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/build/client/_app/immutable/chunks/Row.ea0cb7c8.js +1 -0
- package/build/client/_app/immutable/chunks/Row.ea0cb7c8.js.br +0 -0
- package/build/client/_app/immutable/chunks/Row.ea0cb7c8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{singletons.6d348d5b.js → singletons.cbe99d7b.js} +1 -1
- package/build/client/_app/immutable/chunks/singletons.cbe99d7b.js.br +0 -0
- package/build/client/_app/immutable/chunks/singletons.cbe99d7b.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{stores.f9e91b8f.js → stores.c45346b5.js} +1 -1
- package/build/client/_app/immutable/chunks/stores.c45346b5.js.br +0 -0
- package/build/client/_app/immutable/chunks/stores.c45346b5.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.7ed16d50.js → app.9769c3e3.js} +1 -1
- package/build/client/_app/immutable/entry/app.9769c3e3.js.br +0 -0
- package/build/client/_app/immutable/entry/app.9769c3e3.js.gz +0 -0
- package/build/client/_app/immutable/entry/{start.90911b21.js → start.9b334507.js} +1 -1
- package/build/client/_app/immutable/entry/start.9b334507.js.br +0 -0
- package/build/client/_app/immutable/entry/start.9b334507.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.bf43d88f.js → 1.fa8ddcee.js} +1 -1
- package/build/client/_app/immutable/nodes/1.fa8ddcee.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.fa8ddcee.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.440d9451.js → 2.0c11af37.js} +1 -1
- package/build/client/_app/immutable/nodes/2.0c11af37.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.0c11af37.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.9a56ba79.js → 3.b7396c54.js} +1 -1
- package/build/client/_app/immutable/nodes/3.b7396c54.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.b7396c54.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/prerendered/index.html +8 -8
- package/build/prerendered/index.html.br +0 -0
- package/build/prerendered/index.html.gz +0 -0
- package/build/server/chunks/{1-C0wGz1gU.js → 1-FlQTiNXJ.js} +2 -2
- package/build/server/chunks/{1-C0wGz1gU.js.map → 1-FlQTiNXJ.js.map} +1 -1
- package/build/server/chunks/3-1SG53MFT.js +9 -0
- package/build/server/chunks/{3-CeULK2Aj.js.map → 3-1SG53MFT.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-fw9BONHm.js → _page.svelte-JkHZp7LU.js} +18 -4
- package/build/server/chunks/_page.svelte-JkHZp7LU.js.map +1 -0
- package/build/server/index.js +1 -1
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +3 -3
- package/build/server/manifest.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/TableAnswers.svelte +4 -0
- package/src/lib/model/ddate.ts +18 -2
- package/build/client/_app/immutable/chunks/Row.4ff4ec37.js +0 -1
- package/build/client/_app/immutable/chunks/Row.4ff4ec37.js.br +0 -0
- package/build/client/_app/immutable/chunks/Row.4ff4ec37.js.gz +0 -0
- package/build/client/_app/immutable/chunks/singletons.6d348d5b.js.br +0 -0
- package/build/client/_app/immutable/chunks/singletons.6d348d5b.js.gz +0 -0
- package/build/client/_app/immutable/chunks/stores.f9e91b8f.js.br +0 -0
- package/build/client/_app/immutable/chunks/stores.f9e91b8f.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.7ed16d50.js.br +0 -0
- package/build/client/_app/immutable/entry/app.7ed16d50.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.90911b21.js.br +0 -0
- package/build/client/_app/immutable/entry/start.90911b21.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.bf43d88f.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.bf43d88f.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.440d9451.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.440d9451.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.9a56ba79.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.9a56ba79.js.gz +0 -0
- package/build/server/chunks/3-CeULK2Aj.js +0 -9
- package/build/server/chunks/_page.svelte-fw9BONHm.js.map +0 -1
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1715678168247"}
|
|
Binary file
|
|
Binary file
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
<link href="./_app/immutable/assets/2.a2644440.css" rel="stylesheet">
|
|
10
10
|
<link href="./_app/immutable/assets/Row.60614438.css" rel="stylesheet">
|
|
11
|
-
<link rel="modulepreload" href="./_app/immutable/entry/start.
|
|
11
|
+
<link rel="modulepreload" href="./_app/immutable/entry/start.9b334507.js">
|
|
12
12
|
<link rel="modulepreload" href="./_app/immutable/chunks/index.791bce04.js">
|
|
13
|
-
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.
|
|
14
|
-
<link rel="modulepreload" href="./_app/immutable/entry/app.
|
|
13
|
+
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.cbe99d7b.js">
|
|
14
|
+
<link rel="modulepreload" href="./_app/immutable/entry/app.9769c3e3.js">
|
|
15
15
|
<link rel="modulepreload" href="./_app/immutable/nodes/0.7f50aeaf.js">
|
|
16
|
-
<link rel="modulepreload" href="./_app/immutable/nodes/2.
|
|
17
|
-
<link rel="modulepreload" href="./_app/immutable/chunks/Row.
|
|
16
|
+
<link rel="modulepreload" href="./_app/immutable/nodes/2.0c11af37.js">
|
|
17
|
+
<link rel="modulepreload" href="./_app/immutable/chunks/Row.ea0cb7c8.js">
|
|
18
18
|
</head>
|
|
19
19
|
<body data-sveltekit-preload-data="hover">
|
|
20
20
|
<div style="display: contents">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
<script>
|
|
43
43
|
{
|
|
44
|
-
|
|
44
|
+
__sveltekit_2njm8g = {
|
|
45
45
|
base: new URL(".", location).pathname.slice(0, -1),
|
|
46
46
|
env: {}
|
|
47
47
|
};
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
const data = [null,null];
|
|
52
52
|
|
|
53
53
|
Promise.all([
|
|
54
|
-
import("./_app/immutable/entry/start.
|
|
55
|
-
import("./_app/immutable/entry/app.
|
|
54
|
+
import("./_app/immutable/entry/start.9b334507.js"),
|
|
55
|
+
import("./_app/immutable/entry/app.9769c3e3.js")
|
|
56
56
|
]).then(([kit, app]) => {
|
|
57
57
|
kit.start(app, element, {
|
|
58
58
|
node_ids: [0, 2],
|
|
Binary file
|
|
Binary file
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const index = 1;
|
|
2
2
|
let component_cache;
|
|
3
3
|
const component = async () => component_cache ??= (await import('./error.svelte-Cy9s3YCp.js')).default;
|
|
4
|
-
const imports = ["_app/immutable/nodes/1.
|
|
4
|
+
const imports = ["_app/immutable/nodes/1.fa8ddcee.js","_app/immutable/chunks/index.791bce04.js","_app/immutable/chunks/stores.c45346b5.js","_app/immutable/chunks/singletons.cbe99d7b.js"];
|
|
5
5
|
const stylesheets = [];
|
|
6
6
|
const fonts = [];
|
|
7
7
|
|
|
8
8
|
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=1-
|
|
9
|
+
//# sourceMappingURL=1-FlQTiNXJ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1-
|
|
1
|
+
{"version":3,"file":"1-FlQTiNXJ.js","sources":["../../../.svelte-kit/adapter-node/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.fa8ddcee.js\",\"_app/immutable/chunks/index.791bce04.js\",\"_app/immutable/chunks/stores.c45346b5.js\",\"_app/immutable/chunks/singletons.cbe99d7b.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAsC,CAAC,EAAE,QAAQ;AAC5G,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,8CAA8C,EAAE;AACtL,MAAC,WAAW,GAAG,GAAG;AAClB,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const index = 3;
|
|
2
|
+
let component_cache;
|
|
3
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-JkHZp7LU.js')).default;
|
|
4
|
+
const imports = ["_app/immutable/nodes/3.b7396c54.js","_app/immutable/chunks/index.791bce04.js","_app/immutable/chunks/Row.ea0cb7c8.js","_app/immutable/chunks/stores.c45346b5.js","_app/immutable/chunks/singletons.cbe99d7b.js"];
|
|
5
|
+
const stylesheets = ["_app/immutable/assets/3.c64695c2.css","_app/immutable/assets/Row.60614438.css"];
|
|
6
|
+
const fonts = [];
|
|
7
|
+
|
|
8
|
+
export { component, fonts, imports, index, stylesheets };
|
|
9
|
+
//# sourceMappingURL=3-1SG53MFT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3-
|
|
1
|
+
{"version":3,"file":"3-1SG53MFT.js","sources":["../../../.svelte-kit/adapter-node/nodes/3.js"],"sourcesContent":["\n\nexport const index = 3;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_poll_/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/3.b7396c54.js\",\"_app/immutable/chunks/index.791bce04.js\",\"_app/immutable/chunks/Row.ea0cb7c8.js\",\"_app/immutable/chunks/stores.c45346b5.js\",\"_app/immutable/chunks/singletons.cbe99d7b.js\"];\nexport const stylesheets = [\"_app/immutable/assets/3.c64695c2.css\",\"_app/immutable/assets/Row.60614438.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAyC,CAAC,EAAE,QAAQ;AAC/G,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,yCAAyC,CAAC,uCAAuC,CAAC,0CAA0C,CAAC,8CAA8C,EAAE;AAC9N,MAAC,WAAW,GAAG,CAAC,sCAAsC,CAAC,wCAAwC,EAAE;AACjG,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -2746,6 +2746,11 @@ class User {
|
|
|
2746
2746
|
this.name = data.name;
|
|
2747
2747
|
}
|
|
2748
2748
|
}
|
|
2749
|
+
const formatter = new Intl.DateTimeFormat("fr-FR", {
|
|
2750
|
+
dateStyle: "full",
|
|
2751
|
+
timeStyle: "long",
|
|
2752
|
+
timeZone: "Europe/Paris"
|
|
2753
|
+
});
|
|
2749
2754
|
class DDate {
|
|
2750
2755
|
id;
|
|
2751
2756
|
title;
|
|
@@ -2757,11 +2762,19 @@ class DDate {
|
|
|
2757
2762
|
this.date = data.date;
|
|
2758
2763
|
this.time = data.time;
|
|
2759
2764
|
}
|
|
2765
|
+
_date(date) {
|
|
2766
|
+
return formatter.formatToParts(Date.parse(date)).map((p) => p.value.trim()).filter((p) => p.length > 0).slice(0, 4).join(" ");
|
|
2767
|
+
}
|
|
2768
|
+
_time(time) {
|
|
2769
|
+
return time.slice(0, 5).toString();
|
|
2770
|
+
}
|
|
2760
2771
|
datetime() {
|
|
2772
|
+
console.log(this.date);
|
|
2773
|
+
console.log(Date.parse(this.date));
|
|
2761
2774
|
if (this.time == void 0) {
|
|
2762
|
-
return this.date;
|
|
2775
|
+
return this._date(this.date);
|
|
2763
2776
|
} else {
|
|
2764
|
-
return `${this.date} (${this.time})`;
|
|
2777
|
+
return `${this._date(this.date)} (${this._time(this.time)})`;
|
|
2765
2778
|
}
|
|
2766
2779
|
}
|
|
2767
2780
|
str() {
|
|
@@ -4262,7 +4275,8 @@ const TableAnswers = create_ssr_component(($$result, $$props, $$bindings, slots)
|
|
|
4262
4275
|
<tbody>${each(userPayload.dates, (_date) => {
|
|
4263
4276
|
return `<tr>
|
|
4264
4277
|
<td><div>${escape(_date.date.datetime())}</div>
|
|
4265
|
-
<div>${escape(_date.date.title)}</div
|
|
4278
|
+
<div>${escape(_date.date.title)}</div>
|
|
4279
|
+
</td>
|
|
4266
4280
|
<td>${validate_component(AnswerIcon, "AnswerIcon").$$render(
|
|
4267
4281
|
$$result,
|
|
4268
4282
|
{
|
|
@@ -4445,4 +4459,4 @@ const Page = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
|
|
4445
4459
|
});
|
|
4446
4460
|
|
|
4447
4461
|
export { Page as default };
|
|
4448
|
-
//# sourceMappingURL=_page.svelte-
|
|
4462
|
+
//# sourceMappingURL=_page.svelte-JkHZp7LU.js.map
|