akpm-datapoint-front 3.0.39 → 3.0.40

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.
Files changed (2) hide show
  1. package/CDN/dp-component.js +35 -35
  2. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- /* Version: 3.0.39 */
1
+ /* Version: 3.0.40 */
2
2
  var o1 = Object.defineProperty;
3
3
  var Sd = (s) => {
4
4
  throw TypeError(s);
@@ -4246,12 +4246,12 @@ const dp = (s) => {
4246
4246
  const r = new Date(s);
4247
4247
  let l = t.getFullYear() - r.getFullYear();
4248
4248
  const _ = t.getMonth() > r.getMonth() || t.getMonth() === r.getMonth() && t.getDate() >= r.getDate() ? l : l - 1;
4249
- return _ < 20 ? "minore_20" : _ >= 50 ? "maggiore_50" : "intermedio";
4249
+ return _ < 30 ? "minore_30" : _ > 50 ? "maggiore_50" : "intermedio";
4250
4250
  }, Dl = (s, t, r) => {
4251
4251
  r ? r === 1 ? s[t].maschio++ : r === 2 ? s[t].femmina++ : s[t].altro++ : s[t].non_segnalato++;
4252
4252
  }, vp = (s, t) => {
4253
4253
  const r = new Date(t, 0, 1), l = new Date(t, 11, 31), v = {
4254
- minore_20: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 },
4254
+ minore_30: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 },
4255
4255
  intermedio: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 },
4256
4256
  maggiore_50: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 }
4257
4257
  };
@@ -4266,7 +4266,7 @@ const dp = (s) => {
4266
4266
  }), v;
4267
4267
  }, up = (s, t) => {
4268
4268
  const r = new Date(t, 0, 1), l = new Date(t, 11, 31), v = {
4269
- minore_20: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 },
4269
+ minore_30: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 },
4270
4270
  intermedio: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 },
4271
4271
  maggiore_50: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 }
4272
4272
  };
@@ -4281,11 +4281,11 @@ const dp = (s) => {
4281
4281
  }), v;
4282
4282
  }, _p = (s, t) => {
4283
4283
  const r = new Date(t, 0, 1), l = new Date(t, 11, 31), v = {
4284
- minore_20: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 },
4284
+ minore_30: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 },
4285
4285
  intermedio: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 },
4286
4286
  maggiore_50: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 }
4287
4287
  }, _ = {
4288
- minore_20: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 },
4288
+ minore_30: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 },
4289
4289
  intermedio: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 },
4290
4290
  maggiore_50: { maschio: 0, femmina: 0, altro: 0, non_segnalato: 0 }
4291
4291
  };
@@ -4300,11 +4300,11 @@ const dp = (s) => {
4300
4300
  Dl(_, o, p);
4301
4301
  }
4302
4302
  }), {
4303
- minore_20: {
4304
- maschio: Math.round((v.minore_20.maschio + _.minore_20.maschio) / 2),
4305
- femmina: Math.round((v.minore_20.femmina + _.minore_20.femmina) / 2),
4306
- altro: Math.round((v.minore_20.altro + _.minore_20.altro) / 2),
4307
- non_segnalato: Math.round((v.minore_20.non_segnalato + _.minore_20.non_segnalato) / 2)
4303
+ minore_30: {
4304
+ maschio: Math.round((v.minore_30.maschio + _.minore_30.maschio) / 2),
4305
+ femmina: Math.round((v.minore_30.femmina + _.minore_30.femmina) / 2),
4306
+ altro: Math.round((v.minore_30.altro + _.minore_30.altro) / 2),
4307
+ non_segnalato: Math.round((v.minore_30.non_segnalato + _.minore_30.non_segnalato) / 2)
4308
4308
  },
4309
4309
  intermedio: {
4310
4310
  maschio: Math.round((v.intermedio.maschio + _.intermedio.maschio) / 2),
@@ -48368,12 +48368,12 @@ function Hu(s, t) {
48368
48368
  Ze(t, !0), et(s, GT);
48369
48369
  let r = z(t, "id", 7), l = z(t, "datapoint_id", 7), v = z(t, "position", 7), _ = z(t, "year", 15), a = z(t, "table", 15), i = z(t, "data", 15), n = z(t, "dataValue", 15), p = ce(!0), o = ce(null), f = ce(P({}));
48370
48370
  const A = ce(P([
48371
- { label: "< 20", key: "minore_20" },
48372
- { label: "Tra 20 e 50", key: "intermedio" },
48371
+ { label: "< 30", key: "minore_30" },
48372
+ { label: "Tra 30 e 50", key: "intermedio" },
48373
48373
  { label: "> 50", key: "maggiore_50" }
48374
48374
  ])), R = async () => {
48375
48375
  T(f, P({
48376
- minore_20: {
48376
+ minore_30: {
48377
48377
  maschio: 0,
48378
48378
  femmina: 0,
48379
48379
  altro: 0,
@@ -48400,11 +48400,11 @@ function Hu(s, t) {
48400
48400
  i() && i().data != null ? (T(f, P(i().data)), T(p, !1)) : await R();
48401
48401
  }, E = async (y = !1) => {
48402
48402
  T(p, !0), T(o, P(await bp(_(), y))), e(o) ? (T(f, P({
48403
- minore_20: {
48404
- maschio: e(o).minore_20.maschio,
48405
- femmina: e(o).minore_20.femmina,
48406
- altro: e(o).minore_20.altro,
48407
- non_segnalato: e(o).minore_20.non_segnalato
48403
+ minore_30: {
48404
+ maschio: e(o).minore_30.maschio,
48405
+ femmina: e(o).minore_30.femmina,
48406
+ altro: e(o).minore_30.altro,
48407
+ non_segnalato: e(o).minore_30.non_segnalato
48408
48408
  },
48409
48409
  intermedio: {
48410
48410
  maschio: e(o).intermedio.maschio,
@@ -48540,13 +48540,13 @@ function Uu(s, t) {
48540
48540
  Ze(t, !0), et(s, JT);
48541
48541
  let r = z(t, "id", 7), l = z(t, "datapoint_id", 7), v = z(t, "position", 7), _ = z(t, "year", 15), a = z(t, "table", 15), i = z(t, "data", 15), n = z(t, "dataValue", 15), p = ce(!0), o = ce(null), f = ce(null), A = ce(P({}));
48542
48542
  const R = ce(P([
48543
- { label: "< 20", key: "minore_20" },
48544
- { label: "Tra 20 e 50", key: "intermedio" },
48543
+ { label: "< 30", key: "minore_30" },
48544
+ { label: "Tra 30 e 50", key: "intermedio" },
48545
48545
  { label: "> 50", key: "maggiore_50" }
48546
48546
  ])), G = async () => {
48547
48547
  let m = await Ye.getTable("gri_401_1_a", "gri_401_1"), h = await aa.getData(m._id, _());
48548
48548
  T(f, P(h.data)), T(A, P({
48549
- minore_20: {
48549
+ minore_30: {
48550
48550
  maschio: 0,
48551
48551
  femmina: 0,
48552
48552
  altro: 0,
@@ -48573,11 +48573,11 @@ function Uu(s, t) {
48573
48573
  i() && i().data != null ? (T(A, P(i().data)), T(p, !1)) : await G();
48574
48574
  }, b = async (m = !1) => {
48575
48575
  T(p, !0), T(o, P(await mp(_(), m))), e(o) ? (T(A, P({
48576
- minore_20: {
48577
- maschio: e(o).minore_20.maschio,
48578
- femmina: e(o).minore_20.femmina,
48579
- altro: e(o).minore_20.altro,
48580
- non_segnalato: e(o).minore_20.non_segnalato
48576
+ minore_30: {
48577
+ maschio: e(o).minore_30.maschio,
48578
+ femmina: e(o).minore_30.femmina,
48579
+ altro: e(o).minore_30.altro,
48580
+ non_segnalato: e(o).minore_30.non_segnalato
48581
48581
  },
48582
48582
  intermedio: {
48583
48583
  maschio: e(o).intermedio.maschio,
@@ -48741,13 +48741,13 @@ function Yu(s, t) {
48741
48741
  Ze(t, !0), et(s, $T);
48742
48742
  let r = z(t, "id", 7), l = z(t, "datapoint_id", 7), v = z(t, "position", 7), _ = z(t, "year", 15), a = z(t, "table", 15), i = z(t, "data", 15), n = z(t, "dataValue", 15), p = ce(!0), o = ce(null), f = ce(null), A = ce(P({}));
48743
48743
  const R = ce(P([
48744
- { label: "< 20", key: "minore_20" },
48745
- { label: "Tra 20 e 50", key: "intermedio" },
48744
+ { label: "< 30", key: "minore_30" },
48745
+ { label: "Tra 30 e 50", key: "intermedio" },
48746
48746
  { label: "> 50", key: "maggiore_50" }
48747
48747
  ])), G = async () => {
48748
48748
  let m = await Ye.getTable("gri_401_1_a", "gri_401_1"), h = await aa.getData(m._id, _());
48749
48749
  T(f, P(h.data)), T(A, P({
48750
- minore_20: {
48750
+ minore_30: {
48751
48751
  maschio: 0,
48752
48752
  femmina: 0,
48753
48753
  altro: 0,
@@ -48774,11 +48774,11 @@ function Yu(s, t) {
48774
48774
  i() && i().data != null ? (T(A, P(i().data)), T(p, !1)) : await G();
48775
48775
  }, b = async (m = !1) => {
48776
48776
  T(p, !0), T(o, P(await pp(_(), m))), e(o) ? (T(A, P({
48777
- minore_20: {
48778
- maschio: e(o).minore_20.maschio,
48779
- femmina: e(o).minore_20.femmina,
48780
- altro: e(o).minore_20.altro,
48781
- non_segnalato: e(o).minore_20.non_segnalato
48777
+ minore_30: {
48778
+ maschio: e(o).minore_30.maschio,
48779
+ femmina: e(o).minore_30.femmina,
48780
+ altro: e(o).minore_30.altro,
48781
+ non_segnalato: e(o).minore_30.non_segnalato
48782
48782
  },
48783
48783
  intermedio: {
48784
48784
  maschio: e(o).intermedio.maschio,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akpm-datapoint-front",
3
- "version": "3.0.39",
3
+ "version": "3.0.40",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build",