@tricoteuses/assemblee 3.2.4 → 3.2.5
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/lib/{amendements-Aa0U8Egw.js → amendements-DCRG5V86.js} +1 -1
- package/lib/{amendements-DHZKmvto.js → amendements-DePQCX4s.js} +415 -382
- package/lib/cleaners.js +3 -3
- package/lib/index.js +3 -3
- package/lib/inserters.d.ts +1 -1
- package/lib/{loaders-DUazQFWL.js → loaders-bWVuhSOp.js} +2 -2
- package/lib/loaders.js +1 -1
- package/lib/parsers.js +25 -25
- package/lib/schemas/clean/agendas.d.ts +4 -0
- package/lib/schemas/enriched/agendas.d.ts +2 -0
- package/lib/schemas/raw/agendas.d.ts +10 -1
- package/lib/schemas/zod_errors.d.ts +2 -0
- package/lib/scrutins-BQYUa4nr.js +2057 -0
- package/package.json +1 -1
- package/lib/scrutins-B7gvdRyt.js +0 -2053
|
@@ -1735,7 +1735,7 @@ function ct(e, t) {
|
|
|
1735
1735
|
default: return P(RegExp("^-?\\d{1," + e + "}"), t);
|
|
1736
1736
|
}
|
|
1737
1737
|
}
|
|
1738
|
-
function
|
|
1738
|
+
function lt(e) {
|
|
1739
1739
|
switch (e) {
|
|
1740
1740
|
case "morning": return 4;
|
|
1741
1741
|
case "evening": return 17;
|
|
@@ -1745,7 +1745,7 @@ function L(e) {
|
|
|
1745
1745
|
default: return 0;
|
|
1746
1746
|
}
|
|
1747
1747
|
}
|
|
1748
|
-
function
|
|
1748
|
+
function ut(e, t) {
|
|
1749
1749
|
let n = t > 0, r = n ? t : 1 - t, i;
|
|
1750
1750
|
if (r <= 50) i = e || 100;
|
|
1751
1751
|
else {
|
|
@@ -1754,12 +1754,12 @@ function lt(e, t) {
|
|
|
1754
1754
|
}
|
|
1755
1755
|
return n ? i : 1 - i;
|
|
1756
1756
|
}
|
|
1757
|
-
function
|
|
1757
|
+
function dt(e) {
|
|
1758
1758
|
return e % 400 == 0 || e % 4 == 0 && e % 100 != 0;
|
|
1759
1759
|
}
|
|
1760
1760
|
//#endregion
|
|
1761
1761
|
//#region node_modules/date-fns/parse/_lib/parsers/YearParser.js
|
|
1762
|
-
var
|
|
1762
|
+
var ft = class extends A {
|
|
1763
1763
|
constructor(...e) {
|
|
1764
1764
|
super(...e), k(this, "priority", 130), k(this, "incompatibleTokens", [
|
|
1765
1765
|
"Y",
|
|
@@ -1791,13 +1791,13 @@ var dt = class extends A {
|
|
|
1791
1791
|
set(e, t, n) {
|
|
1792
1792
|
let r = e.getFullYear();
|
|
1793
1793
|
if (n.isTwoDigitYear) {
|
|
1794
|
-
let t =
|
|
1794
|
+
let t = ut(n.year, r);
|
|
1795
1795
|
return e.setFullYear(t, 0, 1), e.setHours(0, 0, 0, 0), e;
|
|
1796
1796
|
}
|
|
1797
1797
|
let i = !("era" in t) || t.era === 1 ? n.year : 1 - n.year;
|
|
1798
1798
|
return e.setFullYear(i, 0, 1), e.setHours(0, 0, 0, 0), e;
|
|
1799
1799
|
}
|
|
1800
|
-
},
|
|
1800
|
+
}, pt = class extends A {
|
|
1801
1801
|
constructor(...e) {
|
|
1802
1802
|
super(...e), k(this, "priority", 130), k(this, "incompatibleTokens", [
|
|
1803
1803
|
"y",
|
|
@@ -1832,13 +1832,13 @@ var dt = class extends A {
|
|
|
1832
1832
|
set(e, t, n, r) {
|
|
1833
1833
|
let i = _e(e, r);
|
|
1834
1834
|
if (n.isTwoDigitYear) {
|
|
1835
|
-
let t =
|
|
1835
|
+
let t = ut(n.year, i);
|
|
1836
1836
|
return e.setFullYear(t, 0, r.firstWeekContainsDate), e.setHours(0, 0, 0, 0), v(e, r);
|
|
1837
1837
|
}
|
|
1838
1838
|
let a = !("era" in t) || t.era === 1 ? n.year : 1 - n.year;
|
|
1839
1839
|
return e.setFullYear(a, 0, r.firstWeekContainsDate), e.setHours(0, 0, 0, 0), v(e, r);
|
|
1840
1840
|
}
|
|
1841
|
-
},
|
|
1841
|
+
}, mt = class extends A {
|
|
1842
1842
|
constructor(...e) {
|
|
1843
1843
|
super(...e), k(this, "priority", 130), k(this, "incompatibleTokens", [
|
|
1844
1844
|
"G",
|
|
@@ -1865,7 +1865,7 @@ var dt = class extends A {
|
|
|
1865
1865
|
let r = h(e, 0);
|
|
1866
1866
|
return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), y(r);
|
|
1867
1867
|
}
|
|
1868
|
-
},
|
|
1868
|
+
}, ht = class extends A {
|
|
1869
1869
|
constructor(...e) {
|
|
1870
1870
|
super(...e), k(this, "priority", 130), k(this, "incompatibleTokens", [
|
|
1871
1871
|
"G",
|
|
@@ -1887,7 +1887,7 @@ var dt = class extends A {
|
|
|
1887
1887
|
set(e, t, n) {
|
|
1888
1888
|
return e.setFullYear(n, 0, 1), e.setHours(0, 0, 0, 0), e;
|
|
1889
1889
|
}
|
|
1890
|
-
},
|
|
1890
|
+
}, gt = class extends A {
|
|
1891
1891
|
constructor(...e) {
|
|
1892
1892
|
super(...e), k(this, "priority", 120), k(this, "incompatibleTokens", [
|
|
1893
1893
|
"Y",
|
|
@@ -1940,7 +1940,7 @@ var dt = class extends A {
|
|
|
1940
1940
|
set(e, t, n) {
|
|
1941
1941
|
return e.setMonth((n - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
|
|
1942
1942
|
}
|
|
1943
|
-
},
|
|
1943
|
+
}, _t = class extends A {
|
|
1944
1944
|
constructor(...e) {
|
|
1945
1945
|
super(...e), k(this, "priority", 120), k(this, "incompatibleTokens", [
|
|
1946
1946
|
"Y",
|
|
@@ -1993,7 +1993,7 @@ var dt = class extends A {
|
|
|
1993
1993
|
set(e, t, n) {
|
|
1994
1994
|
return e.setMonth((n - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
|
|
1995
1995
|
}
|
|
1996
|
-
},
|
|
1996
|
+
}, vt = class extends A {
|
|
1997
1997
|
constructor(...e) {
|
|
1998
1998
|
super(...e), k(this, "incompatibleTokens", [
|
|
1999
1999
|
"Y",
|
|
@@ -2046,7 +2046,7 @@ var dt = class extends A {
|
|
|
2046
2046
|
set(e, t, n) {
|
|
2047
2047
|
return e.setMonth(n, 1), e.setHours(0, 0, 0, 0), e;
|
|
2048
2048
|
}
|
|
2049
|
-
},
|
|
2049
|
+
}, yt = class extends A {
|
|
2050
2050
|
constructor(...e) {
|
|
2051
2051
|
super(...e), k(this, "priority", 110), k(this, "incompatibleTokens", [
|
|
2052
2052
|
"Y",
|
|
@@ -2102,13 +2102,13 @@ var dt = class extends A {
|
|
|
2102
2102
|
};
|
|
2103
2103
|
//#endregion
|
|
2104
2104
|
//#region node_modules/date-fns/setWeek.js
|
|
2105
|
-
function
|
|
2105
|
+
function bt(e, t, n) {
|
|
2106
2106
|
let r = g(e, n?.in), i = ye(r, n) - t;
|
|
2107
2107
|
return r.setDate(r.getDate() - i * 7), g(r, n?.in);
|
|
2108
2108
|
}
|
|
2109
2109
|
//#endregion
|
|
2110
2110
|
//#region node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js
|
|
2111
|
-
var
|
|
2111
|
+
var xt = class extends A {
|
|
2112
2112
|
constructor(...e) {
|
|
2113
2113
|
super(...e), k(this, "priority", 100), k(this, "incompatibleTokens", [
|
|
2114
2114
|
"y",
|
|
@@ -2137,18 +2137,18 @@ var bt = class extends A {
|
|
|
2137
2137
|
return t >= 1 && t <= 53;
|
|
2138
2138
|
}
|
|
2139
2139
|
set(e, t, n, r) {
|
|
2140
|
-
return v(
|
|
2140
|
+
return v(bt(e, n, r), r);
|
|
2141
2141
|
}
|
|
2142
2142
|
};
|
|
2143
2143
|
//#endregion
|
|
2144
2144
|
//#region node_modules/date-fns/setISOWeek.js
|
|
2145
|
-
function
|
|
2145
|
+
function St(e, t, n) {
|
|
2146
2146
|
let r = g(e, n?.in), i = ge(r, n) - t;
|
|
2147
2147
|
return r.setDate(r.getDate() - i * 7), r;
|
|
2148
2148
|
}
|
|
2149
2149
|
//#endregion
|
|
2150
2150
|
//#region node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js
|
|
2151
|
-
var
|
|
2151
|
+
var Ct = class extends A {
|
|
2152
2152
|
constructor(...e) {
|
|
2153
2153
|
super(...e), k(this, "priority", 100), k(this, "incompatibleTokens", [
|
|
2154
2154
|
"y",
|
|
@@ -2178,9 +2178,9 @@ var St = class extends A {
|
|
|
2178
2178
|
return t >= 1 && t <= 53;
|
|
2179
2179
|
}
|
|
2180
2180
|
set(e, t, n) {
|
|
2181
|
-
return y(
|
|
2181
|
+
return y(St(e, n));
|
|
2182
2182
|
}
|
|
2183
|
-
},
|
|
2183
|
+
}, wt = [
|
|
2184
2184
|
31,
|
|
2185
2185
|
28,
|
|
2186
2186
|
31,
|
|
@@ -2193,7 +2193,7 @@ var St = class extends A {
|
|
|
2193
2193
|
31,
|
|
2194
2194
|
30,
|
|
2195
2195
|
31
|
|
2196
|
-
],
|
|
2196
|
+
], Tt = [
|
|
2197
2197
|
31,
|
|
2198
2198
|
29,
|
|
2199
2199
|
31,
|
|
@@ -2206,7 +2206,7 @@ var St = class extends A {
|
|
|
2206
2206
|
31,
|
|
2207
2207
|
30,
|
|
2208
2208
|
31
|
|
2209
|
-
],
|
|
2209
|
+
], Et = class extends A {
|
|
2210
2210
|
constructor(...e) {
|
|
2211
2211
|
super(...e), k(this, "priority", 90), k(this, "subPriority", 1), k(this, "incompatibleTokens", [
|
|
2212
2212
|
"Y",
|
|
@@ -2231,13 +2231,13 @@ var St = class extends A {
|
|
|
2231
2231
|
}
|
|
2232
2232
|
}
|
|
2233
2233
|
validate(e, t) {
|
|
2234
|
-
let n =
|
|
2235
|
-
return n ? t >= 1 && t <=
|
|
2234
|
+
let n = dt(e.getFullYear()), r = e.getMonth();
|
|
2235
|
+
return n ? t >= 1 && t <= Tt[r] : t >= 1 && t <= wt[r];
|
|
2236
2236
|
}
|
|
2237
2237
|
set(e, t, n) {
|
|
2238
2238
|
return e.setDate(n), e.setHours(0, 0, 0, 0), e;
|
|
2239
2239
|
}
|
|
2240
|
-
},
|
|
2240
|
+
}, Dt = class extends A {
|
|
2241
2241
|
constructor(...e) {
|
|
2242
2242
|
super(...e), k(this, "priority", 90), k(this, "subpriority", 1), k(this, "incompatibleTokens", [
|
|
2243
2243
|
"Y",
|
|
@@ -2266,7 +2266,7 @@ var St = class extends A {
|
|
|
2266
2266
|
}
|
|
2267
2267
|
}
|
|
2268
2268
|
validate(e, t) {
|
|
2269
|
-
return
|
|
2269
|
+
return dt(e.getFullYear()) ? t >= 1 && t <= 366 : t >= 1 && t <= 365;
|
|
2270
2270
|
}
|
|
2271
2271
|
set(e, t, n) {
|
|
2272
2272
|
return e.setMonth(0, n), e.setHours(0, 0, 0, 0), e;
|
|
@@ -2274,19 +2274,19 @@ var St = class extends A {
|
|
|
2274
2274
|
};
|
|
2275
2275
|
//#endregion
|
|
2276
2276
|
//#region node_modules/date-fns/addDays.js
|
|
2277
|
-
function
|
|
2277
|
+
function Ot(e, t, n) {
|
|
2278
2278
|
let r = g(e, n?.in);
|
|
2279
2279
|
return isNaN(t) ? h(n?.in || e, NaN) : (t && r.setDate(r.getDate() + t), r);
|
|
2280
2280
|
}
|
|
2281
2281
|
//#endregion
|
|
2282
2282
|
//#region node_modules/date-fns/setDay.js
|
|
2283
|
-
function
|
|
2283
|
+
function L(e, t, n) {
|
|
2284
2284
|
let r = f(), i = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, a = g(e, n?.in), o = a.getDay(), s = (t % 7 + 7) % 7, c = 7 - i;
|
|
2285
|
-
return
|
|
2285
|
+
return Ot(a, t < 0 || t > 6 ? t - (o + c) % 7 : (s + c) % 7 - (o + c) % 7, n);
|
|
2286
2286
|
}
|
|
2287
2287
|
//#endregion
|
|
2288
2288
|
//#region node_modules/date-fns/parse/_lib/parsers/DayParser.js
|
|
2289
|
-
var
|
|
2289
|
+
var kt = class extends A {
|
|
2290
2290
|
constructor(...e) {
|
|
2291
2291
|
super(...e), k(this, "priority", 90), k(this, "incompatibleTokens", [
|
|
2292
2292
|
"D",
|
|
@@ -2341,9 +2341,9 @@ var Ot = class extends A {
|
|
|
2341
2341
|
return t >= 0 && t <= 6;
|
|
2342
2342
|
}
|
|
2343
2343
|
set(e, t, n, r) {
|
|
2344
|
-
return e =
|
|
2344
|
+
return e = L(e, n, r), e.setHours(0, 0, 0, 0), e;
|
|
2345
2345
|
}
|
|
2346
|
-
},
|
|
2346
|
+
}, At = class extends A {
|
|
2347
2347
|
constructor(...e) {
|
|
2348
2348
|
super(...e), k(this, "priority", 90), k(this, "incompatibleTokens", [
|
|
2349
2349
|
"y",
|
|
@@ -2412,9 +2412,9 @@ var Ot = class extends A {
|
|
|
2412
2412
|
return t >= 0 && t <= 6;
|
|
2413
2413
|
}
|
|
2414
2414
|
set(e, t, n, r) {
|
|
2415
|
-
return e =
|
|
2415
|
+
return e = L(e, n, r), e.setHours(0, 0, 0, 0), e;
|
|
2416
2416
|
}
|
|
2417
|
-
},
|
|
2417
|
+
}, jt = class extends A {
|
|
2418
2418
|
constructor(...e) {
|
|
2419
2419
|
super(...e), k(this, "priority", 90), k(this, "incompatibleTokens", [
|
|
2420
2420
|
"y",
|
|
@@ -2483,24 +2483,24 @@ var Ot = class extends A {
|
|
|
2483
2483
|
return t >= 0 && t <= 6;
|
|
2484
2484
|
}
|
|
2485
2485
|
set(e, t, n, r) {
|
|
2486
|
-
return e =
|
|
2486
|
+
return e = L(e, n, r), e.setHours(0, 0, 0, 0), e;
|
|
2487
2487
|
}
|
|
2488
2488
|
};
|
|
2489
2489
|
//#endregion
|
|
2490
2490
|
//#region node_modules/date-fns/getISODay.js
|
|
2491
|
-
function
|
|
2491
|
+
function Mt(e, t) {
|
|
2492
2492
|
let n = g(e, t?.in).getDay();
|
|
2493
2493
|
return n === 0 ? 7 : n;
|
|
2494
2494
|
}
|
|
2495
2495
|
//#endregion
|
|
2496
2496
|
//#region node_modules/date-fns/setISODay.js
|
|
2497
|
-
function
|
|
2497
|
+
function Nt(e, t, n) {
|
|
2498
2498
|
let r = g(e, n?.in);
|
|
2499
|
-
return
|
|
2499
|
+
return Ot(r, t - Mt(r, n), n);
|
|
2500
2500
|
}
|
|
2501
2501
|
//#endregion
|
|
2502
2502
|
//#region node_modules/date-fns/parse/_lib/parsers/ISODayParser.js
|
|
2503
|
-
var
|
|
2503
|
+
var Pt = class extends A {
|
|
2504
2504
|
constructor(...e) {
|
|
2505
2505
|
super(...e), k(this, "priority", 90), k(this, "incompatibleTokens", [
|
|
2506
2506
|
"y",
|
|
@@ -2566,9 +2566,9 @@ var Nt = class extends A {
|
|
|
2566
2566
|
return t >= 1 && t <= 7;
|
|
2567
2567
|
}
|
|
2568
2568
|
set(e, t, n) {
|
|
2569
|
-
return e =
|
|
2569
|
+
return e = Nt(e, n), e.setHours(0, 0, 0, 0), e;
|
|
2570
2570
|
}
|
|
2571
|
-
},
|
|
2571
|
+
}, Ft = class extends A {
|
|
2572
2572
|
constructor(...e) {
|
|
2573
2573
|
super(...e), k(this, "priority", 80), k(this, "incompatibleTokens", [
|
|
2574
2574
|
"b",
|
|
@@ -2607,9 +2607,9 @@ var Nt = class extends A {
|
|
|
2607
2607
|
}
|
|
2608
2608
|
}
|
|
2609
2609
|
set(e, t, n) {
|
|
2610
|
-
return e.setHours(
|
|
2610
|
+
return e.setHours(lt(n), 0, 0, 0), e;
|
|
2611
2611
|
}
|
|
2612
|
-
},
|
|
2612
|
+
}, It = class extends A {
|
|
2613
2613
|
constructor(...e) {
|
|
2614
2614
|
super(...e), k(this, "priority", 80), k(this, "incompatibleTokens", [
|
|
2615
2615
|
"a",
|
|
@@ -2648,9 +2648,9 @@ var Nt = class extends A {
|
|
|
2648
2648
|
}
|
|
2649
2649
|
}
|
|
2650
2650
|
set(e, t, n) {
|
|
2651
|
-
return e.setHours(
|
|
2651
|
+
return e.setHours(lt(n), 0, 0, 0), e;
|
|
2652
2652
|
}
|
|
2653
|
-
},
|
|
2653
|
+
}, Lt = class extends A {
|
|
2654
2654
|
constructor(...e) {
|
|
2655
2655
|
super(...e), k(this, "priority", 80), k(this, "incompatibleTokens", [
|
|
2656
2656
|
"a",
|
|
@@ -2687,9 +2687,9 @@ var Nt = class extends A {
|
|
|
2687
2687
|
}
|
|
2688
2688
|
}
|
|
2689
2689
|
set(e, t, n) {
|
|
2690
|
-
return e.setHours(
|
|
2690
|
+
return e.setHours(lt(n), 0, 0, 0), e;
|
|
2691
2691
|
}
|
|
2692
|
-
},
|
|
2692
|
+
}, Rt = class extends A {
|
|
2693
2693
|
constructor(...e) {
|
|
2694
2694
|
super(...e), k(this, "priority", 70), k(this, "incompatibleTokens", [
|
|
2695
2695
|
"H",
|
|
@@ -2713,7 +2713,7 @@ var Nt = class extends A {
|
|
|
2713
2713
|
let r = e.getHours() >= 12;
|
|
2714
2714
|
return r && n < 12 ? e.setHours(n + 12, 0, 0, 0) : !r && n === 12 ? e.setHours(0, 0, 0, 0) : e.setHours(n, 0, 0, 0), e;
|
|
2715
2715
|
}
|
|
2716
|
-
},
|
|
2716
|
+
}, zt = class extends A {
|
|
2717
2717
|
constructor(...e) {
|
|
2718
2718
|
super(...e), k(this, "priority", 70), k(this, "incompatibleTokens", [
|
|
2719
2719
|
"a",
|
|
@@ -2738,7 +2738,7 @@ var Nt = class extends A {
|
|
|
2738
2738
|
set(e, t, n) {
|
|
2739
2739
|
return e.setHours(n, 0, 0, 0), e;
|
|
2740
2740
|
}
|
|
2741
|
-
},
|
|
2741
|
+
}, Bt = class extends A {
|
|
2742
2742
|
constructor(...e) {
|
|
2743
2743
|
super(...e), k(this, "priority", 70), k(this, "incompatibleTokens", [
|
|
2744
2744
|
"h",
|
|
@@ -2761,7 +2761,7 @@ var Nt = class extends A {
|
|
|
2761
2761
|
set(e, t, n) {
|
|
2762
2762
|
return e.getHours() >= 12 && n < 12 ? e.setHours(n + 12, 0, 0, 0) : e.setHours(n, 0, 0, 0), e;
|
|
2763
2763
|
}
|
|
2764
|
-
},
|
|
2764
|
+
}, Vt = class extends A {
|
|
2765
2765
|
constructor(...e) {
|
|
2766
2766
|
super(...e), k(this, "priority", 70), k(this, "incompatibleTokens", [
|
|
2767
2767
|
"a",
|
|
@@ -2787,7 +2787,7 @@ var Nt = class extends A {
|
|
|
2787
2787
|
let r = n <= 24 ? n % 24 : n;
|
|
2788
2788
|
return e.setHours(r, 0, 0, 0), e;
|
|
2789
2789
|
}
|
|
2790
|
-
},
|
|
2790
|
+
}, Ht = class extends A {
|
|
2791
2791
|
constructor(...e) {
|
|
2792
2792
|
super(...e), k(this, "priority", 60), k(this, "incompatibleTokens", ["t", "T"]);
|
|
2793
2793
|
}
|
|
@@ -2804,7 +2804,7 @@ var Nt = class extends A {
|
|
|
2804
2804
|
set(e, t, n) {
|
|
2805
2805
|
return e.setMinutes(n, 0, 0), e;
|
|
2806
2806
|
}
|
|
2807
|
-
},
|
|
2807
|
+
}, Ut = class extends A {
|
|
2808
2808
|
constructor(...e) {
|
|
2809
2809
|
super(...e), k(this, "priority", 50), k(this, "incompatibleTokens", ["t", "T"]);
|
|
2810
2810
|
}
|
|
@@ -2821,7 +2821,7 @@ var Nt = class extends A {
|
|
|
2821
2821
|
set(e, t, n) {
|
|
2822
2822
|
return e.setSeconds(n, 0), e;
|
|
2823
2823
|
}
|
|
2824
|
-
},
|
|
2824
|
+
}, Wt = class extends A {
|
|
2825
2825
|
constructor(...e) {
|
|
2826
2826
|
super(...e), k(this, "priority", 30), k(this, "incompatibleTokens", ["t", "T"]);
|
|
2827
2827
|
}
|
|
@@ -2831,7 +2831,7 @@ var Nt = class extends A {
|
|
|
2831
2831
|
set(e, t, n) {
|
|
2832
2832
|
return e.setMilliseconds(n), e;
|
|
2833
2833
|
}
|
|
2834
|
-
},
|
|
2834
|
+
}, Gt = class extends A {
|
|
2835
2835
|
constructor(...e) {
|
|
2836
2836
|
super(...e), k(this, "priority", 10), k(this, "incompatibleTokens", [
|
|
2837
2837
|
"t",
|
|
@@ -2851,7 +2851,7 @@ var Nt = class extends A {
|
|
|
2851
2851
|
set(e, t, n) {
|
|
2852
2852
|
return t.timestampIsSet ? e : h(e, e.getTime() - _(e) - n);
|
|
2853
2853
|
}
|
|
2854
|
-
},
|
|
2854
|
+
}, Kt = class extends A {
|
|
2855
2855
|
constructor(...e) {
|
|
2856
2856
|
super(...e), k(this, "priority", 10), k(this, "incompatibleTokens", [
|
|
2857
2857
|
"t",
|
|
@@ -2871,7 +2871,7 @@ var Nt = class extends A {
|
|
|
2871
2871
|
set(e, t, n) {
|
|
2872
2872
|
return t.timestampIsSet ? e : h(e, e.getTime() - _(e) - n);
|
|
2873
2873
|
}
|
|
2874
|
-
},
|
|
2874
|
+
}, qt = class extends A {
|
|
2875
2875
|
constructor(...e) {
|
|
2876
2876
|
super(...e), k(this, "priority", 40), k(this, "incompatibleTokens", "*");
|
|
2877
2877
|
}
|
|
@@ -2881,7 +2881,7 @@ var Nt = class extends A {
|
|
|
2881
2881
|
set(e, t, n) {
|
|
2882
2882
|
return [h(e, n * 1e3), { timestampIsSet: !0 }];
|
|
2883
2883
|
}
|
|
2884
|
-
},
|
|
2884
|
+
}, Jt = class extends A {
|
|
2885
2885
|
constructor(...e) {
|
|
2886
2886
|
super(...e), k(this, "priority", 20), k(this, "incompatibleTokens", "*");
|
|
2887
2887
|
}
|
|
@@ -2891,57 +2891,57 @@ var Nt = class extends A {
|
|
|
2891
2891
|
set(e, t, n) {
|
|
2892
2892
|
return [h(e, n), { timestampIsSet: !0 }];
|
|
2893
2893
|
}
|
|
2894
|
-
},
|
|
2894
|
+
}, Yt = {
|
|
2895
2895
|
G: new ot(),
|
|
2896
|
-
y: new
|
|
2897
|
-
Y: new
|
|
2898
|
-
R: new
|
|
2899
|
-
u: new
|
|
2900
|
-
Q: new
|
|
2901
|
-
q: new
|
|
2902
|
-
M: new
|
|
2903
|
-
L: new
|
|
2904
|
-
w: new
|
|
2905
|
-
I: new
|
|
2906
|
-
d: new
|
|
2907
|
-
D: new
|
|
2908
|
-
E: new
|
|
2909
|
-
e: new
|
|
2910
|
-
c: new
|
|
2911
|
-
i: new
|
|
2912
|
-
a: new
|
|
2913
|
-
b: new
|
|
2914
|
-
B: new
|
|
2915
|
-
h: new
|
|
2916
|
-
H: new
|
|
2917
|
-
K: new
|
|
2918
|
-
k: new
|
|
2919
|
-
m: new
|
|
2920
|
-
s: new
|
|
2921
|
-
S: new
|
|
2922
|
-
X: new
|
|
2923
|
-
x: new
|
|
2924
|
-
t: new
|
|
2925
|
-
T: new
|
|
2926
|
-
},
|
|
2927
|
-
function
|
|
2896
|
+
y: new ft(),
|
|
2897
|
+
Y: new pt(),
|
|
2898
|
+
R: new mt(),
|
|
2899
|
+
u: new ht(),
|
|
2900
|
+
Q: new gt(),
|
|
2901
|
+
q: new _t(),
|
|
2902
|
+
M: new vt(),
|
|
2903
|
+
L: new yt(),
|
|
2904
|
+
w: new xt(),
|
|
2905
|
+
I: new Ct(),
|
|
2906
|
+
d: new Et(),
|
|
2907
|
+
D: new Dt(),
|
|
2908
|
+
E: new kt(),
|
|
2909
|
+
e: new At(),
|
|
2910
|
+
c: new jt(),
|
|
2911
|
+
i: new Pt(),
|
|
2912
|
+
a: new Ft(),
|
|
2913
|
+
b: new It(),
|
|
2914
|
+
B: new Lt(),
|
|
2915
|
+
h: new Rt(),
|
|
2916
|
+
H: new zt(),
|
|
2917
|
+
K: new Bt(),
|
|
2918
|
+
k: new Vt(),
|
|
2919
|
+
m: new Ht(),
|
|
2920
|
+
s: new Ut(),
|
|
2921
|
+
S: new Wt(),
|
|
2922
|
+
X: new Gt(),
|
|
2923
|
+
x: new Kt(),
|
|
2924
|
+
t: new qt(),
|
|
2925
|
+
T: new Jt()
|
|
2926
|
+
}, Xt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Zt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Qt = /^'([^]*?)'?$/, $t = /''/g, en = /\S/, tn = /[a-zA-Z]/;
|
|
2927
|
+
function nn(e, t, n, r) {
|
|
2928
2928
|
let i = () => h(r?.in || n, NaN), a = Ze(), o = r?.locale ?? a.locale ?? te, s = r?.firstWeekContainsDate ?? r?.locale?.options?.firstWeekContainsDate ?? a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, c = r?.weekStartsOn ?? r?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0;
|
|
2929
2929
|
if (!t) return e ? i() : g(n, r?.in);
|
|
2930
2930
|
let l = {
|
|
2931
2931
|
firstWeekContainsDate: s,
|
|
2932
2932
|
weekStartsOn: c,
|
|
2933
2933
|
locale: o
|
|
2934
|
-
}, u = [new at(r?.in, n)], ee = t.match(
|
|
2934
|
+
}, u = [new at(r?.in, n)], ee = t.match(Zt).map((e) => {
|
|
2935
2935
|
let t = e[0];
|
|
2936
2936
|
if (t in w) {
|
|
2937
2937
|
let n = w[t];
|
|
2938
2938
|
return n(e, o.formatLong);
|
|
2939
2939
|
}
|
|
2940
2940
|
return e;
|
|
2941
|
-
}).join("").match(
|
|
2941
|
+
}).join("").match(Xt), d = [];
|
|
2942
2942
|
for (let n of ee) {
|
|
2943
2943
|
!r?.useAdditionalWeekYearTokens && ke(n) && T(n, t, e), !r?.useAdditionalDayOfYearTokens && Oe(n) && T(n, t, e);
|
|
2944
|
-
let a = n[0], s =
|
|
2944
|
+
let a = n[0], s = Yt[a];
|
|
2945
2945
|
if (s) {
|
|
2946
2946
|
let { incompatibleTokens: t } = s;
|
|
2947
2947
|
if (Array.isArray(t)) {
|
|
@@ -2956,12 +2956,12 @@ function tn(e, t, n, r) {
|
|
|
2956
2956
|
if (!r) return i();
|
|
2957
2957
|
u.push(r.setter), e = r.rest;
|
|
2958
2958
|
} else {
|
|
2959
|
-
if (a.match(
|
|
2960
|
-
if (n === "''" ? n = "'" : a === "'" && (n =
|
|
2959
|
+
if (a.match(tn)) throw RangeError("Format string contains an unescaped latin alphabet character `" + a + "`");
|
|
2960
|
+
if (n === "''" ? n = "'" : a === "'" && (n = rn(n)), e.indexOf(n) === 0) e = e.slice(n.length);
|
|
2961
2961
|
else return i();
|
|
2962
2962
|
}
|
|
2963
2963
|
}
|
|
2964
|
-
if (e.length > 0 &&
|
|
2964
|
+
if (e.length > 0 && en.test(e)) return i();
|
|
2965
2965
|
let ne = u.map((e) => e.priority).sort((e, t) => t - e).filter((e, t, n) => n.indexOf(e) === t).map((e) => u.filter((t) => t.priority === e).sort((e, t) => t.subPriority - e.subPriority)).map((e) => e[0]), f = g(n, r?.in);
|
|
2966
2966
|
if (isNaN(+f)) return i();
|
|
2967
2967
|
let re = {};
|
|
@@ -2972,43 +2972,43 @@ function tn(e, t, n, r) {
|
|
|
2972
2972
|
}
|
|
2973
2973
|
return f;
|
|
2974
2974
|
}
|
|
2975
|
-
function
|
|
2976
|
-
return e.match(
|
|
2975
|
+
function rn(e) {
|
|
2976
|
+
return e.match(Qt)[1].replace($t, "'");
|
|
2977
2977
|
}
|
|
2978
2978
|
//#endregion
|
|
2979
2979
|
//#region node_modules/date-fns/parseISO.js
|
|
2980
|
-
function
|
|
2981
|
-
let n = () => h(t?.in, NaN), r = t?.additionalDigits ?? 2, i =
|
|
2980
|
+
function R(e, t) {
|
|
2981
|
+
let n = () => h(t?.in, NaN), r = t?.additionalDigits ?? 2, i = cn(e), a;
|
|
2982
2982
|
if (i.date) {
|
|
2983
|
-
let e =
|
|
2984
|
-
a =
|
|
2983
|
+
let e = ln(i.date, r);
|
|
2984
|
+
a = un(e.restDateString, e.year);
|
|
2985
2985
|
}
|
|
2986
2986
|
if (!a || isNaN(+a)) return n();
|
|
2987
2987
|
let o = +a, s = 0, c;
|
|
2988
|
-
if (i.time && (s =
|
|
2988
|
+
if (i.time && (s = dn(i.time), isNaN(s))) return n();
|
|
2989
2989
|
if (i.timezone) {
|
|
2990
|
-
if (c =
|
|
2990
|
+
if (c = fn(i.timezone), isNaN(c)) return n();
|
|
2991
2991
|
} else {
|
|
2992
2992
|
let e = new Date(o + s), n = g(0, t?.in);
|
|
2993
2993
|
return n.setFullYear(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate()), n.setHours(e.getUTCHours(), e.getUTCMinutes(), e.getUTCSeconds(), e.getUTCMilliseconds()), n;
|
|
2994
2994
|
}
|
|
2995
2995
|
return g(o + s + c, t?.in);
|
|
2996
2996
|
}
|
|
2997
|
-
var
|
|
2997
|
+
var z = {
|
|
2998
2998
|
dateTimeDelimiter: /[T ]/,
|
|
2999
2999
|
timeZoneDelimiter: /[Z ]/i,
|
|
3000
3000
|
timezone: /([Z+-].*)$/
|
|
3001
|
-
},
|
|
3002
|
-
function
|
|
3003
|
-
let t = {}, n = e.split(
|
|
3001
|
+
}, an = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, on = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, sn = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
3002
|
+
function cn(e) {
|
|
3003
|
+
let t = {}, n = e.split(z.dateTimeDelimiter), r;
|
|
3004
3004
|
if (n.length > 2) return t;
|
|
3005
|
-
if (/:/.test(n[0]) ? r = n[0] : (t.date = n[0], r = n[1],
|
|
3006
|
-
let e =
|
|
3005
|
+
if (/:/.test(n[0]) ? r = n[0] : (t.date = n[0], r = n[1], z.timeZoneDelimiter.test(t.date) && (t.date = e.split(z.timeZoneDelimiter)[0], r = e.substr(t.date.length, e.length))), r) {
|
|
3006
|
+
let e = z.timezone.exec(r);
|
|
3007
3007
|
e ? (t.time = r.replace(e[1], ""), t.timezone = e[1]) : t.time = r;
|
|
3008
3008
|
}
|
|
3009
3009
|
return t;
|
|
3010
3010
|
}
|
|
3011
|
-
function
|
|
3011
|
+
function ln(e, t) {
|
|
3012
3012
|
let n = RegExp("^(?:(\\d{4}|[+-]\\d{" + (4 + t) + "})|(\\d{2}|[+-]\\d{" + (2 + t) + "})$)"), r = e.match(n);
|
|
3013
3013
|
if (!r) return {
|
|
3014
3014
|
year: NaN,
|
|
@@ -3020,43 +3020,43 @@ function cn(e, t) {
|
|
|
3020
3020
|
restDateString: e.slice((r[1] || r[2]).length)
|
|
3021
3021
|
};
|
|
3022
3022
|
}
|
|
3023
|
-
function
|
|
3023
|
+
function un(e, t) {
|
|
3024
3024
|
if (t === null) return /* @__PURE__ */ new Date(NaN);
|
|
3025
|
-
let n = e.match(
|
|
3025
|
+
let n = e.match(an);
|
|
3026
3026
|
if (!n) return /* @__PURE__ */ new Date(NaN);
|
|
3027
|
-
let r = !!n[4], i =
|
|
3028
|
-
if (r) return
|
|
3027
|
+
let r = !!n[4], i = B(n[1]), a = B(n[2]) - 1, o = B(n[3]), s = B(n[4]), c = B(n[5]) - 1;
|
|
3028
|
+
if (r) return vn(t, s, c) ? pn(t, s, c) : /* @__PURE__ */ new Date(NaN);
|
|
3029
3029
|
{
|
|
3030
3030
|
let e = /* @__PURE__ */ new Date(0);
|
|
3031
|
-
return !
|
|
3031
|
+
return !gn(t, a, o) || !_n(t, i) ? /* @__PURE__ */ new Date(NaN) : (e.setUTCFullYear(t, a, Math.max(i, o)), e);
|
|
3032
3032
|
}
|
|
3033
3033
|
}
|
|
3034
|
-
function
|
|
3034
|
+
function B(e) {
|
|
3035
3035
|
return e ? parseInt(e) : 1;
|
|
3036
3036
|
}
|
|
3037
|
-
function
|
|
3038
|
-
let t = e.match(
|
|
3037
|
+
function dn(e) {
|
|
3038
|
+
let t = e.match(on);
|
|
3039
3039
|
if (!t) return NaN;
|
|
3040
|
-
let n =
|
|
3041
|
-
return
|
|
3040
|
+
let n = V(t[1]), r = V(t[2]), i = V(t[3]);
|
|
3041
|
+
return yn(n, r, i) ? n * m + r * p + i * 1e3 : NaN;
|
|
3042
3042
|
}
|
|
3043
|
-
function
|
|
3043
|
+
function V(e) {
|
|
3044
3044
|
return e && parseFloat(e.replace(",", ".")) || 0;
|
|
3045
3045
|
}
|
|
3046
|
-
function
|
|
3046
|
+
function fn(e) {
|
|
3047
3047
|
if (e === "Z") return 0;
|
|
3048
|
-
let t = e.match(
|
|
3048
|
+
let t = e.match(sn);
|
|
3049
3049
|
if (!t) return 0;
|
|
3050
3050
|
let n = t[1] === "+" ? -1 : 1, r = parseInt(t[2]), i = t[3] && parseInt(t[3]) || 0;
|
|
3051
|
-
return
|
|
3051
|
+
return bn(r, i) ? n * (r * m + i * p) : NaN;
|
|
3052
3052
|
}
|
|
3053
|
-
function
|
|
3053
|
+
function pn(e, t, n) {
|
|
3054
3054
|
let r = /* @__PURE__ */ new Date(0);
|
|
3055
3055
|
r.setUTCFullYear(e, 0, 4);
|
|
3056
3056
|
let i = r.getUTCDay() || 7, a = (t - 1) * 7 + n + 1 - i;
|
|
3057
3057
|
return r.setUTCDate(r.getUTCDate() + a), r;
|
|
3058
3058
|
}
|
|
3059
|
-
var
|
|
3059
|
+
var mn = [
|
|
3060
3060
|
31,
|
|
3061
3061
|
null,
|
|
3062
3062
|
31,
|
|
@@ -3070,27 +3070,27 @@ var pn = [
|
|
|
3070
3070
|
30,
|
|
3071
3071
|
31
|
|
3072
3072
|
];
|
|
3073
|
-
function
|
|
3073
|
+
function hn(e) {
|
|
3074
3074
|
return e % 400 == 0 || e % 4 == 0 && e % 100 != 0;
|
|
3075
3075
|
}
|
|
3076
|
-
function
|
|
3077
|
-
return t >= 0 && t <= 11 && n >= 1 && n <= (
|
|
3076
|
+
function gn(e, t, n) {
|
|
3077
|
+
return t >= 0 && t <= 11 && n >= 1 && n <= (mn[t] || (hn(e) ? 29 : 28));
|
|
3078
3078
|
}
|
|
3079
|
-
function
|
|
3080
|
-
return t >= 1 && t <= (
|
|
3079
|
+
function _n(e, t) {
|
|
3080
|
+
return t >= 1 && t <= (hn(e) ? 366 : 365);
|
|
3081
3081
|
}
|
|
3082
|
-
function
|
|
3082
|
+
function vn(e, t, n) {
|
|
3083
3083
|
return t >= 1 && t <= 53 && n >= 0 && n <= 6;
|
|
3084
3084
|
}
|
|
3085
|
-
function
|
|
3085
|
+
function yn(e, t, n) {
|
|
3086
3086
|
return e === 24 ? t === 0 && n === 0 : n >= 0 && n < 60 && t >= 0 && t < 60 && e >= 0 && e < 25;
|
|
3087
3087
|
}
|
|
3088
|
-
function
|
|
3088
|
+
function bn(e, t) {
|
|
3089
3089
|
return t >= 0 && t <= 59;
|
|
3090
3090
|
}
|
|
3091
3091
|
//#endregion
|
|
3092
3092
|
//#region src/dates.ts
|
|
3093
|
-
var
|
|
3093
|
+
var xn = Date.prototype.toJSON, Sn = function() {
|
|
3094
3094
|
try {
|
|
3095
3095
|
let e = this.getHours(), t = this.getMinutes(), n = this.getSeconds(), r = this.getMilliseconds(), i = -(this.getTimezoneOffset() / 60);
|
|
3096
3096
|
if (i === .15 && e === 0 && t === 9 && n === 21 || e - i === 0 && t === 0 && n === 0 && r === 0) return this.toISOString().split("T")[0];
|
|
@@ -3099,89 +3099,122 @@ var bn = Date.prototype.toJSON, xn = function() {
|
|
|
3099
3099
|
let o = a.toISOString().replace(/(\.0+)?Z$/, ""), s = i >= 0 ? "+" : "-", c = Math.abs(i) < 10 ? "0" : "";
|
|
3100
3100
|
return o + s + c + Math.abs(i).toString().split(".")[0] + ":00";
|
|
3101
3101
|
} catch {
|
|
3102
|
-
Date.prototype.toJSON =
|
|
3102
|
+
Date.prototype.toJSON = xn;
|
|
3103
3103
|
let e = this.toJSON();
|
|
3104
|
-
return Date.prototype.toJSON =
|
|
3104
|
+
return Date.prototype.toJSON = Sn, e;
|
|
3105
3105
|
}
|
|
3106
|
-
},
|
|
3106
|
+
}, Cn = new Intl.DateTimeFormat("fr-FR", {
|
|
3107
3107
|
day: "numeric",
|
|
3108
3108
|
month: "long",
|
|
3109
3109
|
weekday: "long",
|
|
3110
3110
|
year: "numeric"
|
|
3111
|
-
}),
|
|
3111
|
+
}), wn = new Intl.DateTimeFormat("fr-FR", {
|
|
3112
3112
|
day: "numeric",
|
|
3113
3113
|
month: "short"
|
|
3114
|
-
}),
|
|
3114
|
+
}), Tn = new Intl.DateTimeFormat("fr-FR", {
|
|
3115
3115
|
hour: "numeric",
|
|
3116
3116
|
minute: "2-digit"
|
|
3117
3117
|
});
|
|
3118
|
-
function
|
|
3119
|
-
return e instanceof Date ? e : typeof e == "string" ?
|
|
3120
|
-
}
|
|
3121
|
-
function En(e) {
|
|
3122
|
-
return tn(e, "yyyy-MM-ddXXX", /* @__PURE__ */ new Date());
|
|
3118
|
+
function En(e, t) {
|
|
3119
|
+
return e instanceof Date ? e : typeof e == "string" ? R(e) : t;
|
|
3123
3120
|
}
|
|
3124
3121
|
function Dn(e) {
|
|
3125
|
-
return
|
|
3122
|
+
return nn(e, "yyyy-MM-ddXXX", /* @__PURE__ */ new Date());
|
|
3126
3123
|
}
|
|
3127
|
-
function On(e
|
|
3128
|
-
return e
|
|
3124
|
+
function On(e) {
|
|
3125
|
+
return e = E(R(e), "EEEE d LLLL yyyy H'h'mm", { locale: D }), e.endsWith(" 0h00") && (e = e.substring(0, e.length - 5)), e;
|
|
3129
3126
|
}
|
|
3130
|
-
function kn(e) {
|
|
3131
|
-
|
|
3132
|
-
return t.endsWith(" 0h00") && (t = t.substring(0, t.length - 5)), t;
|
|
3127
|
+
function kn(e, t) {
|
|
3128
|
+
return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate() ? Tn.format(e) : wn.format(e);
|
|
3133
3129
|
}
|
|
3134
3130
|
function An(e) {
|
|
3135
|
-
|
|
3131
|
+
let t = E(e instanceof Date ? e : R(e), "d LLLL yyyy H'h'mm", { locale: D });
|
|
3132
|
+
return t.endsWith(" 0h00") && (t = t.substring(0, t.length - 5)), t;
|
|
3136
3133
|
}
|
|
3137
3134
|
function jn(e) {
|
|
3135
|
+
return E(e instanceof Date ? e : R(e), "H'h'mm", { locale: D });
|
|
3136
|
+
}
|
|
3137
|
+
function Mn(e) {
|
|
3138
3138
|
return (/* @__PURE__ */ new Date(e.getTime() - e.getTimezoneOffset() * 6e4)).toISOString().split("T")[0];
|
|
3139
3139
|
}
|
|
3140
3140
|
//#endregion
|
|
3141
|
+
//#region src/schemas/zod_errors.ts
|
|
3142
|
+
var H = 160;
|
|
3143
|
+
function Nn(e) {
|
|
3144
|
+
if (typeof e == "string") {
|
|
3145
|
+
let t = e.length > H ? `${e.slice(0, H - 3)}...` : e;
|
|
3146
|
+
return JSON.stringify(t);
|
|
3147
|
+
}
|
|
3148
|
+
if (typeof e == "bigint") return `${e}n`;
|
|
3149
|
+
if (typeof e == "symbol") return String(e);
|
|
3150
|
+
if (typeof e == "function") return `[Function ${e.name || "anonymous"}]`;
|
|
3151
|
+
try {
|
|
3152
|
+
let t = JSON.stringify(e);
|
|
3153
|
+
return t === void 0 ? String(e) : t.length > H ? `${t.slice(0, H - 3)}...` : t;
|
|
3154
|
+
} catch {
|
|
3155
|
+
return String(e);
|
|
3156
|
+
}
|
|
3157
|
+
}
|
|
3158
|
+
function Pn(e, t) {
|
|
3159
|
+
let n = e;
|
|
3160
|
+
for (let e of t) {
|
|
3161
|
+
if (n === null || typeof n != "object" && !Array.isArray(n)) return;
|
|
3162
|
+
n = n[e];
|
|
3163
|
+
}
|
|
3164
|
+
return n;
|
|
3165
|
+
}
|
|
3166
|
+
function Fn(e, t) {
|
|
3167
|
+
let n = e.path.length > 0 ? e.path.join(".") : "(root)", r = "input" in e && e.input !== void 0 ? e.input : t === void 0 ? void 0 : Pn(t, e.path), i = r === void 0 ? "" : ` (received: ${Nn(r)})`;
|
|
3168
|
+
return ` - ${n}: ${e.message}${i}`;
|
|
3169
|
+
}
|
|
3170
|
+
function In(e, t, n) {
|
|
3171
|
+
return `Invalid ${e}:\n${t.issues.map((e) => Fn(e, n)).join("\n")}`;
|
|
3172
|
+
}
|
|
3173
|
+
//#endregion
|
|
3141
3174
|
//#region src/registries.ts
|
|
3142
|
-
var
|
|
3175
|
+
var Ln = e.registry(), Rn = e.registry(), zn = e.registry();
|
|
3143
3176
|
e.registry(), e.registry();
|
|
3144
3177
|
function U() {
|
|
3145
3178
|
let t = e.string().trim().min(1, "UID cannot be empty");
|
|
3146
|
-
return
|
|
3179
|
+
return Ln.add(t, { targetType: "auto" }), t;
|
|
3147
3180
|
}
|
|
3148
3181
|
function W() {
|
|
3149
3182
|
let t = e.string().trim().min(1);
|
|
3150
|
-
return
|
|
3183
|
+
return Rn.add(t, { refType: "acteur" }), t;
|
|
3151
3184
|
}
|
|
3152
3185
|
function G() {
|
|
3153
3186
|
let t = e.string().trim().min(1);
|
|
3154
|
-
return
|
|
3187
|
+
return zn.add(t, { refType: "organe" }), t;
|
|
3155
3188
|
}
|
|
3156
|
-
var
|
|
3189
|
+
var Bn = e.preprocess((e) => {
|
|
3157
3190
|
if (typeof e == "object" && e && e["@xsi:nil"] === "true" || typeof e != "string") return;
|
|
3158
3191
|
let t = e.trim();
|
|
3159
3192
|
if (t !== "") {
|
|
3160
3193
|
if (t.includes("T")) try {
|
|
3161
|
-
return
|
|
3194
|
+
return R(t);
|
|
3162
3195
|
} catch {
|
|
3163
3196
|
return e;
|
|
3164
3197
|
}
|
|
3165
3198
|
if (t.includes("+") || /\d{4}-\d{2}-\d{2}-\d{2}:\d{2}/.test(t)) try {
|
|
3166
|
-
return
|
|
3199
|
+
return Dn(t);
|
|
3167
3200
|
} catch {
|
|
3168
3201
|
return e;
|
|
3169
3202
|
}
|
|
3170
3203
|
try {
|
|
3171
|
-
return
|
|
3204
|
+
return R(t);
|
|
3172
3205
|
} catch {
|
|
3173
3206
|
return e;
|
|
3174
3207
|
}
|
|
3175
3208
|
}
|
|
3176
|
-
}, e.date().optional()), K = () =>
|
|
3209
|
+
}, e.date().optional()), K = () => Bn, q = () => Bn.refine((e) => e !== void 0, { message: "Required" }).transform((e) => e), Vn = e.preprocess((e) => {
|
|
3177
3210
|
if (typeof e != "string") return e;
|
|
3178
3211
|
let t = e.trim();
|
|
3179
3212
|
return t === "" ? void 0 : t;
|
|
3180
|
-
}, e.string().optional()),
|
|
3181
|
-
let t =
|
|
3213
|
+
}, e.string().optional()), Hn = (e) => {
|
|
3214
|
+
let t = Vn;
|
|
3182
3215
|
return e ? t.describe(e) : t;
|
|
3183
|
-
},
|
|
3184
|
-
let t =
|
|
3216
|
+
}, Un = (e) => {
|
|
3217
|
+
let t = Vn.refine((e) => e !== void 0, { message: "Required" }).transform((e) => e);
|
|
3185
3218
|
return e ? t.describe(e) : t;
|
|
3186
3219
|
};
|
|
3187
3220
|
function J(t) {
|
|
@@ -3189,28 +3222,28 @@ function J(t) {
|
|
|
3189
3222
|
}
|
|
3190
3223
|
//#endregion
|
|
3191
3224
|
//#region src/schemas/raw/amendements.ts
|
|
3192
|
-
var
|
|
3225
|
+
var Wn = ["Accord", "Sans objet"], Y = e.enum(Wn), Gn = [
|
|
3193
3226
|
"création",
|
|
3194
3227
|
"modification",
|
|
3195
3228
|
"suppression"
|
|
3196
|
-
], X = e.enum(
|
|
3229
|
+
], X = e.enum(Gn), Kn = [
|
|
3197
3230
|
"B",
|
|
3198
3231
|
"C",
|
|
3199
3232
|
"D"
|
|
3200
|
-
], Z = e.enum(
|
|
3233
|
+
], Z = e.enum(Kn), qn = [
|
|
3201
3234
|
"ANNEXE",
|
|
3202
3235
|
"ARTICLE",
|
|
3203
3236
|
"CHAPITRE",
|
|
3204
3237
|
"TITRE"
|
|
3205
|
-
],
|
|
3238
|
+
], Jn = e.enum(qn), Yn = [
|
|
3206
3239
|
"Député",
|
|
3207
3240
|
"Gouvernement",
|
|
3208
3241
|
"Rapporteur"
|
|
3209
|
-
],
|
|
3242
|
+
], Xn = e.enum(Yn), Zn = [
|
|
3210
3243
|
"Dernier",
|
|
3211
3244
|
"Milieu",
|
|
3212
3245
|
"Premier"
|
|
3213
|
-
],
|
|
3246
|
+
], Qn = e.enum(Zn), $n = e.enum([
|
|
3214
3247
|
"AC",
|
|
3215
3248
|
"AT",
|
|
3216
3249
|
"DI",
|
|
@@ -3236,7 +3269,7 @@ var zn = ["Accord", "Sans objet"], Y = e.enum(zn), Bn = [
|
|
|
3236
3269
|
"R",
|
|
3237
3270
|
"RT",
|
|
3238
3271
|
"T"
|
|
3239
|
-
]),
|
|
3272
|
+
]), er = e.enum([
|
|
3240
3273
|
"A discuter",
|
|
3241
3274
|
"A déposer",
|
|
3242
3275
|
"Discuté",
|
|
@@ -3246,38 +3279,38 @@ var zn = ["Accord", "Sans objet"], Y = e.enum(zn), Bn = [
|
|
|
3246
3279
|
"Irrecevable",
|
|
3247
3280
|
"Irrecevable 40",
|
|
3248
3281
|
"Retiré"
|
|
3249
|
-
]),
|
|
3282
|
+
]), tr = /* @__PURE__ */ "Adopté.Autre irrecevabilité.Autre irrecevabilité 40.Autres irr LOLF.Autres irr LOLFSS.Cavalier (45).Cavalier budgétaire.Cavalier social.Champ de l'habilitation (38).Charge.CMP (45).Crédits.Disposition réglementaire (37).Domaine de la loi (41).Domaine loi organique (127).Doublon.Entonnoir (45).Gage.Hors champ.Hors-délais.Injonction (20).Irr en première partie.Irr en seconde partie.LOLF.LOLFSS.Non soutenu.Ordre du jour (48).R.Ratification traité (53).Rejeté.Retiré.Retiré après publication.Retiré avant publication.Satisfait ou inopérant (42).Sous-amendement (98).Tombé".split("."), nr = e.enum(tr), rr = e.enum([
|
|
3250
3283
|
"A",
|
|
3251
3284
|
"Après",
|
|
3252
3285
|
"Avant"
|
|
3253
|
-
]),
|
|
3286
|
+
]), ir = e.enum(["PDF"]), ar = e.enum(["application"]), Q = e.object({
|
|
3254
3287
|
"@xmlns:xsi": e.string(),
|
|
3255
3288
|
"@xsi:nil": e.string()
|
|
3256
|
-
}),
|
|
3289
|
+
}), or = e.object({
|
|
3257
3290
|
id: e.string(),
|
|
3258
3291
|
libelle: e.string(),
|
|
3259
3292
|
autorisationEngagement: e.string(),
|
|
3260
3293
|
creditPaiement: e.string(),
|
|
3261
3294
|
action: X
|
|
3262
|
-
}),
|
|
3295
|
+
}), sr = e.object({
|
|
3263
3296
|
"@xmlns:xsi": e.string().optional(),
|
|
3264
3297
|
"@xsi:nil": e.string().optional(),
|
|
3265
|
-
ligneCredit: e.union([J(
|
|
3298
|
+
ligneCredit: e.union([J(or), or]).optional().transform((e) => {
|
|
3266
3299
|
if (e !== void 0) return Array.isArray(e) ? e : [e];
|
|
3267
3300
|
})
|
|
3268
|
-
}),
|
|
3301
|
+
}), cr = e.object({
|
|
3269
3302
|
libelle: e.string(),
|
|
3270
3303
|
programmeRef: e.string(),
|
|
3271
3304
|
autorisationEngagement: e.string(),
|
|
3272
3305
|
creditPaiement: e.string(),
|
|
3273
3306
|
action: X,
|
|
3274
|
-
lignesCredits:
|
|
3275
|
-
}),
|
|
3276
|
-
listeProgrammes:
|
|
3307
|
+
lignesCredits: sr
|
|
3308
|
+
}), lr = e.object({ programme: J(cr) }), ur = e.object({
|
|
3309
|
+
listeProgrammes: lr.optional(),
|
|
3277
3310
|
soldeAE: e.string().optional(),
|
|
3278
3311
|
soldeCP: e.string().optional(),
|
|
3279
3312
|
cpEgalAe: e.string()
|
|
3280
|
-
}),
|
|
3313
|
+
}), dr = e.lazy(() => e.object({
|
|
3281
3314
|
libelle: e.string(),
|
|
3282
3315
|
programmeRef: e.string().optional(),
|
|
3283
3316
|
autorisationEngagementSupplementaire: e.string(),
|
|
@@ -3285,207 +3318,207 @@ var zn = ["Accord", "Sans objet"], Y = e.enum(zn), Bn = [
|
|
|
3285
3318
|
autorisationEngagementAnnule: e.string(),
|
|
3286
3319
|
creditPaiementAnnule: e.string(),
|
|
3287
3320
|
action: X,
|
|
3288
|
-
lignesCredits:
|
|
3321
|
+
lignesCredits: fr.optional(),
|
|
3289
3322
|
id: e.string().optional()
|
|
3290
|
-
})),
|
|
3323
|
+
})), fr = e.object({
|
|
3291
3324
|
"@xmlns:xsi": e.string().optional(),
|
|
3292
3325
|
"@xsi:nil": e.string().optional(),
|
|
3293
|
-
ligneCredit: e.union([J(
|
|
3326
|
+
ligneCredit: e.union([J(dr), dr]).optional().transform((e) => {
|
|
3294
3327
|
if (e !== void 0) return Array.isArray(e) ? e : [e];
|
|
3295
3328
|
})
|
|
3296
|
-
}),
|
|
3329
|
+
}), pr = e.object({
|
|
3297
3330
|
supplementaire: e.string(),
|
|
3298
3331
|
annule: e.string(),
|
|
3299
3332
|
solde: e.string()
|
|
3300
|
-
}),
|
|
3301
|
-
listeProgrammes:
|
|
3302
|
-
totalAE:
|
|
3303
|
-
totalCP:
|
|
3333
|
+
}), mr = e.object({ programme: J(dr) }), hr = e.object({
|
|
3334
|
+
listeProgrammes: mr.optional(),
|
|
3335
|
+
totalAE: pr.optional(),
|
|
3336
|
+
totalCP: pr.optional(),
|
|
3304
3337
|
cpEgalAe: e.string()
|
|
3305
|
-
}),
|
|
3338
|
+
}), gr = e.object({
|
|
3306
3339
|
"@xmlns:xsi": e.string().optional(),
|
|
3307
3340
|
"@xsi:nil": e.string().optional(),
|
|
3308
3341
|
dispositif: e.string().optional(),
|
|
3309
|
-
dispositifAmdtCreditPLF:
|
|
3310
|
-
dispositifAmdtCreditPLFR:
|
|
3311
|
-
}),
|
|
3342
|
+
dispositifAmdtCreditPLF: ur.optional(),
|
|
3343
|
+
dispositifAmdtCreditPLFR: hr.optional()
|
|
3344
|
+
}), _r = e.object({
|
|
3312
3345
|
dispositif: e.string().optional(),
|
|
3313
|
-
avantAppel:
|
|
3346
|
+
avantAppel: gr.optional(),
|
|
3314
3347
|
exposeSommaire: e.string().optional(),
|
|
3315
|
-
annexeExposeSommaire:
|
|
3348
|
+
annexeExposeSommaire: Q.optional(),
|
|
3316
3349
|
"@xmlns:xsi": e.string().optional(),
|
|
3317
3350
|
"@xsi:nil": e.string().optional(),
|
|
3318
|
-
dispositifAmdtCreditPLF:
|
|
3319
|
-
dispositifAmdtCreditPLFR:
|
|
3320
|
-
}),
|
|
3321
|
-
cartoucheInformatif: e.union([
|
|
3322
|
-
contenuAuteur:
|
|
3351
|
+
dispositifAmdtCreditPLF: ur.optional(),
|
|
3352
|
+
dispositifAmdtCreditPLFR: hr.optional()
|
|
3353
|
+
}), vr = e.object({
|
|
3354
|
+
cartoucheInformatif: e.union([Q, e.string()]).optional(),
|
|
3355
|
+
contenuAuteur: _r.optional(),
|
|
3323
3356
|
"@xmlns:xsi": e.string().optional(),
|
|
3324
3357
|
"@xsi:nil": e.string().optional()
|
|
3325
|
-
}),
|
|
3326
|
-
code:
|
|
3327
|
-
libelle:
|
|
3328
|
-
}),
|
|
3329
|
-
code:
|
|
3330
|
-
libelle:
|
|
3358
|
+
}), yr = e.object({
|
|
3359
|
+
code: $n,
|
|
3360
|
+
libelle: er
|
|
3361
|
+
}), br = e.object({
|
|
3362
|
+
code: $n.optional(),
|
|
3363
|
+
libelle: nr.optional(),
|
|
3331
3364
|
"@xmlns:xsi": e.string().optional(),
|
|
3332
3365
|
"@xsi:nil": e.string().optional()
|
|
3333
|
-
}),
|
|
3334
|
-
etat:
|
|
3335
|
-
sousEtat:
|
|
3336
|
-
}),
|
|
3337
|
-
dateDepot: e.union([
|
|
3366
|
+
}), xr = e.object({
|
|
3367
|
+
etat: yr,
|
|
3368
|
+
sousEtat: br
|
|
3369
|
+
}), Sr = e.object({
|
|
3370
|
+
dateDepot: e.union([Q, q()]).optional().transform((e) => {
|
|
3338
3371
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3339
3372
|
}),
|
|
3340
|
-
datePublication: e.union([
|
|
3373
|
+
datePublication: e.union([Q, q()]).optional().transform((e) => {
|
|
3341
3374
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3342
3375
|
}),
|
|
3343
3376
|
soumisArticle40: e.string(),
|
|
3344
|
-
etatDesTraitements:
|
|
3345
|
-
dateSort: e.union([
|
|
3377
|
+
etatDesTraitements: xr,
|
|
3378
|
+
dateSort: e.union([Q, q()]).optional().transform((e) => {
|
|
3346
3379
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3347
3380
|
}),
|
|
3348
|
-
sort: e.union([
|
|
3381
|
+
sort: e.union([Q, nr]).optional().transform((e) => {
|
|
3349
3382
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3350
3383
|
})
|
|
3351
|
-
}),
|
|
3384
|
+
}), Cr = e.object({
|
|
3352
3385
|
"@xmlns:xsi": e.string().optional(),
|
|
3353
3386
|
"@xsi:nil": e.string().optional(),
|
|
3354
3387
|
idDiscussion: e.string().optional(),
|
|
3355
|
-
typePosition:
|
|
3356
|
-
}),
|
|
3388
|
+
typePosition: Qn.optional()
|
|
3389
|
+
}), wr = e.object({
|
|
3357
3390
|
numeroLong: e.string(),
|
|
3358
3391
|
numeroOrdreDepot: e.string(),
|
|
3359
3392
|
prefixeOrganeExamen: e.string(),
|
|
3360
3393
|
numeroRect: e.string()
|
|
3361
|
-
}),
|
|
3394
|
+
}), Tr = e.object({
|
|
3362
3395
|
"@xmlns:xsi": e.string().optional(),
|
|
3363
3396
|
"@xsi:nil": e.string().optional(),
|
|
3364
3397
|
codeLoi: e.union([
|
|
3365
|
-
|
|
3398
|
+
Q,
|
|
3366
3399
|
e.null(),
|
|
3367
3400
|
e.string()
|
|
3368
3401
|
]).optional(),
|
|
3369
3402
|
divisionCodeLoi: e.union([
|
|
3370
|
-
|
|
3403
|
+
Q,
|
|
3371
3404
|
e.null(),
|
|
3372
3405
|
e.string()
|
|
3373
3406
|
]).optional()
|
|
3374
|
-
}),
|
|
3407
|
+
}), Er = e.object({
|
|
3375
3408
|
"@xmlns:xsi": e.string().optional(),
|
|
3376
3409
|
"@xsi:nil": e.string().optional(),
|
|
3377
3410
|
avant_A_Apres: e.union([
|
|
3378
|
-
|
|
3411
|
+
Q,
|
|
3379
3412
|
e.null(),
|
|
3380
3413
|
e.string()
|
|
3381
3414
|
]).optional(),
|
|
3382
|
-
numero: e.union([
|
|
3415
|
+
numero: e.union([Q, e.string()]).optional(),
|
|
3383
3416
|
alineaDesignation: e.string().optional()
|
|
3384
|
-
}),
|
|
3417
|
+
}), Dr = e.object({ alinea: Er }), Or = e.object({
|
|
3385
3418
|
titre: e.string().nullable(),
|
|
3386
3419
|
articleDesignationCourte: e.string().nullable(),
|
|
3387
3420
|
articleDesignation: e.string().nullable(),
|
|
3388
|
-
type:
|
|
3389
|
-
avant_A_Apres:
|
|
3390
|
-
divisionRattachee: e.union([
|
|
3421
|
+
type: Jn,
|
|
3422
|
+
avant_A_Apres: rr,
|
|
3423
|
+
divisionRattachee: e.union([Q, e.string()]),
|
|
3391
3424
|
articleAdditionnel: e.string(),
|
|
3392
3425
|
chapitreAdditionnel: e.string(),
|
|
3393
|
-
urlDivisionTexteVise: e.union([
|
|
3394
|
-
}),
|
|
3426
|
+
urlDivisionTexteVise: e.union([Q, e.string()])
|
|
3427
|
+
}), kr = e.object({
|
|
3395
3428
|
codeEtat: Z,
|
|
3396
3429
|
codeMissionMinefi: e.string(),
|
|
3397
3430
|
libelleMission: e.string(),
|
|
3398
3431
|
missionRef: e.string()
|
|
3399
|
-
}),
|
|
3400
|
-
partieAmendableRef:
|
|
3401
|
-
division:
|
|
3402
|
-
amendementStandard:
|
|
3403
|
-
missionVisee:
|
|
3404
|
-
}),
|
|
3432
|
+
}), Ar = e.object({
|
|
3433
|
+
partieAmendableRef: Q,
|
|
3434
|
+
division: Or.optional(),
|
|
3435
|
+
amendementStandard: Dr.optional(),
|
|
3436
|
+
missionVisee: kr.optional()
|
|
3437
|
+
}), jr = e.object({ documentURI: e.string() }), Mr = e.object({
|
|
3405
3438
|
verbatim: e.string(),
|
|
3406
3439
|
canonique: e.string(),
|
|
3407
3440
|
officielle: e.string(),
|
|
3408
3441
|
transcription: e.string(),
|
|
3409
3442
|
enregistrement: e.string()
|
|
3410
|
-
}),
|
|
3411
|
-
type:
|
|
3412
|
-
subType:
|
|
3413
|
-
}),
|
|
3414
|
-
nom:
|
|
3415
|
-
typeMime:
|
|
3416
|
-
statutRepresentation:
|
|
3417
|
-
repSource:
|
|
3418
|
-
offset:
|
|
3419
|
-
contenu:
|
|
3420
|
-
dateDispoRepresentation:
|
|
3421
|
-
}),
|
|
3422
|
-
typeAuteur:
|
|
3423
|
-
gouvernementRef: e.union([
|
|
3443
|
+
}), Nr = e.object({
|
|
3444
|
+
type: ar,
|
|
3445
|
+
subType: ir
|
|
3446
|
+
}), Pr = e.object({
|
|
3447
|
+
nom: ir,
|
|
3448
|
+
typeMime: Nr,
|
|
3449
|
+
statutRepresentation: Mr,
|
|
3450
|
+
repSource: Q,
|
|
3451
|
+
offset: Q,
|
|
3452
|
+
contenu: jr,
|
|
3453
|
+
dateDispoRepresentation: Q
|
|
3454
|
+
}), Fr = e.object({ representation: Pr }), Ir = e.object({
|
|
3455
|
+
typeAuteur: Xn,
|
|
3456
|
+
gouvernementRef: e.union([Q, e.string()]).optional().transform((e) => {
|
|
3424
3457
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3425
3458
|
}),
|
|
3426
|
-
acteurRef: e.union([
|
|
3459
|
+
acteurRef: e.union([Q, W()]).optional().transform((e) => {
|
|
3427
3460
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3428
3461
|
}),
|
|
3429
|
-
groupePolitiqueRef: e.union([
|
|
3462
|
+
groupePolitiqueRef: e.union([Q, G()]).optional().transform((e) => {
|
|
3430
3463
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3431
3464
|
}),
|
|
3432
|
-
auteurRapporteurOrganeRef: e.union([
|
|
3465
|
+
auteurRapporteurOrganeRef: e.union([Q, G()]).optional().transform((e) => {
|
|
3433
3466
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3434
3467
|
})
|
|
3435
|
-
}),
|
|
3468
|
+
}), Lr = e.object({
|
|
3436
3469
|
"@xmlns:xsi": e.string().optional(),
|
|
3437
3470
|
"@xsi:nil": e.string().optional(),
|
|
3438
3471
|
acteurRef: e.union([J(W()), W()]).optional().transform((e) => {
|
|
3439
3472
|
if (e !== void 0) return Array.isArray(e) ? e : [e];
|
|
3440
3473
|
})
|
|
3441
|
-
}),
|
|
3442
|
-
auteur:
|
|
3443
|
-
cosignataires:
|
|
3444
|
-
suffixe: e.union([
|
|
3474
|
+
}), Rr = e.object({
|
|
3475
|
+
auteur: Ir,
|
|
3476
|
+
cosignataires: Lr,
|
|
3477
|
+
suffixe: e.union([Q, e.string()]).optional().transform((e) => {
|
|
3445
3478
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3446
3479
|
}),
|
|
3447
3480
|
libelle: e.string().nullable()
|
|
3448
|
-
}),
|
|
3481
|
+
}), zr = e.object({
|
|
3449
3482
|
"@xmlns": e.string(),
|
|
3450
3483
|
uid: U(),
|
|
3451
3484
|
chronotag: e.string(),
|
|
3452
3485
|
legislature: e.string(),
|
|
3453
|
-
identification:
|
|
3486
|
+
identification: wr,
|
|
3454
3487
|
examenRef: e.string(),
|
|
3455
3488
|
texteLegislatifRef: e.string(),
|
|
3456
|
-
triAmendement: e.union([
|
|
3489
|
+
triAmendement: e.union([Q, e.string()]).optional().transform((e) => {
|
|
3457
3490
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3458
3491
|
}),
|
|
3459
|
-
cardinaliteAmdtMultiples: e.union([
|
|
3492
|
+
cardinaliteAmdtMultiples: e.union([Q, e.string()]).optional().transform((e) => {
|
|
3460
3493
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3461
3494
|
}),
|
|
3462
|
-
amendementParentRef: e.union([
|
|
3495
|
+
amendementParentRef: e.union([Q, e.string()]).optional().transform((e) => {
|
|
3463
3496
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3464
3497
|
}),
|
|
3465
|
-
signataires:
|
|
3466
|
-
pointeurFragmentTexte:
|
|
3467
|
-
corps:
|
|
3468
|
-
cycleDeVie:
|
|
3469
|
-
representations:
|
|
3470
|
-
seanceDiscussionRef: e.union([
|
|
3498
|
+
signataires: Rr,
|
|
3499
|
+
pointeurFragmentTexte: Ar,
|
|
3500
|
+
corps: vr,
|
|
3501
|
+
cycleDeVie: Sr,
|
|
3502
|
+
representations: Fr.nullable(),
|
|
3503
|
+
seanceDiscussionRef: e.union([Q, e.string()]).optional().transform((e) => {
|
|
3471
3504
|
if (e !== void 0 && !(typeof e == "object" && "@xsi:nil" in e)) return e;
|
|
3472
3505
|
}),
|
|
3473
3506
|
article99: e.string(),
|
|
3474
|
-
loiReference:
|
|
3475
|
-
discussionCommune:
|
|
3476
|
-
discussionIdentique:
|
|
3507
|
+
loiReference: Tr,
|
|
3508
|
+
discussionCommune: Cr,
|
|
3509
|
+
discussionIdentique: Cr,
|
|
3477
3510
|
accordGouvernementDepotHorsDelai: Y
|
|
3478
3511
|
});
|
|
3479
|
-
e.object({ amendement:
|
|
3480
|
-
var
|
|
3512
|
+
e.object({ amendement: zr });
|
|
3513
|
+
var Br = e.object({ amendement: J(zr) }), Vr = e.object({
|
|
3481
3514
|
"@xmlns:xsi": e.string(),
|
|
3482
3515
|
refTexteLegislatif: e.string(),
|
|
3483
|
-
amendements:
|
|
3516
|
+
amendements: Br
|
|
3484
3517
|
});
|
|
3485
|
-
e.object({ textesLegislatifs: J(
|
|
3518
|
+
e.object({ textesLegislatifs: J(Vr) });
|
|
3486
3519
|
//#endregion
|
|
3487
3520
|
//#region src/schemas/clean/amendements.ts
|
|
3488
|
-
var
|
|
3521
|
+
var Hr = [
|
|
3489
3522
|
"AC",
|
|
3490
3523
|
"AT",
|
|
3491
3524
|
"DI",
|
|
@@ -3511,7 +3544,7 @@ var Ir = [
|
|
|
3511
3544
|
"R",
|
|
3512
3545
|
"RT",
|
|
3513
3546
|
"T"
|
|
3514
|
-
],
|
|
3547
|
+
], Ur = e.enum(Hr), Wr = [
|
|
3515
3548
|
"A discuter",
|
|
3516
3549
|
"A déposer",
|
|
3517
3550
|
"Discuté",
|
|
@@ -3521,29 +3554,29 @@ var Ir = [
|
|
|
3521
3554
|
"Irrecevable",
|
|
3522
3555
|
"Irrecevable 40",
|
|
3523
3556
|
"Retiré"
|
|
3524
|
-
],
|
|
3557
|
+
], Gr = e.enum(Wr), Kr = /* @__PURE__ */ "Adopté.Autre irrecevabilité.Autre irrecevabilité 40.Autres irr LOLF.Autres irr LOLFSS.Cavalier (45).Cavalier budgétaire.Cavalier social.Champ de l'habilitation (38).Charge.CMP (45).Crédits.Disposition réglementaire (37).Domaine de la loi (41).Domaine loi organique (127).Doublon.Entonnoir (45).Gage.Hors champ.Hors-délais.Injonction (20).Irr en première partie.Irr en seconde partie.LOLF.LOLFSS.Non soutenu.Ordre du jour (48).R.Ratification traité (53).Rejeté.Retiré.Retiré après publication.Retiré avant publication.Satisfait ou inopérant (42).Sous-amendement (98).Tombé".split("."), qr = e.enum(Kr), Jr = [
|
|
3525
3558
|
"A",
|
|
3526
3559
|
"Apres",
|
|
3527
3560
|
"Avant"
|
|
3528
|
-
],
|
|
3561
|
+
], Yr = e.enum(Jr), Xr = ["PDF"], Zr = e.enum(Xr), Qr = ["application"], $r = e.enum(Qr), ei = e.object({
|
|
3529
3562
|
id: e.string().meta({ description: "La signification de ce champ n'est pas définie." }),
|
|
3530
3563
|
libelle: e.string().meta({ description: "Libellé de la ligne de crédit dont le montant doit être modifié." }),
|
|
3531
3564
|
autorisationEngagement: e.string().meta({ description: "Modification de {@link https://fr.wikipedia.org/wiki/Autorisation_d%27engagement | l'autorisation d'engagement} de la ligne de crédit." }),
|
|
3532
3565
|
creditPaiement: e.string().meta({ description: "Modification du {@link https://fr.wikipedia.org/wiki/Cr%C3%A9dit_de_paiement | crédit de paiement} de la ligne de crédit." }),
|
|
3533
3566
|
action: X
|
|
3534
|
-
}),
|
|
3567
|
+
}), ti = e.object({
|
|
3535
3568
|
libelle: e.string().meta({ description: "Libellé du programme qui doit être modifié par l'**action**." }),
|
|
3536
3569
|
programmeRef: e.string().meta({ description: "La signification de ce champ n'est pas définie." }),
|
|
3537
3570
|
autorisationEngagement: e.string().meta({ description: "Modification de {@link https://fr.wikipedia.org/wiki/Autorisation_d%27engagement | l'autorisation d'engagement}." }),
|
|
3538
3571
|
creditPaiement: e.string().meta({ description: "Modification du {@link https://fr.wikipedia.org/wiki/Cr%C3%A9dit_de_paiement | crédit de paiement}." }),
|
|
3539
3572
|
action: X.meta({ description: "'creation' s'il s'agit d'un nouveau programme, 'suppression' si le programme doit être supprimé, 'modification' si les montants du programme doivent être modifiés." }),
|
|
3540
|
-
lignesCredits: e.array(
|
|
3541
|
-
}),
|
|
3542
|
-
listeProgrammes: e.array(
|
|
3573
|
+
lignesCredits: e.array(ei).optional().meta({ description: "Liste des lignes de crédit appartenant au programme, le cas échéant." })
|
|
3574
|
+
}), ni = e.object({
|
|
3575
|
+
listeProgrammes: e.array(ti).optional().meta({ description: "Liste des programmes composant la mission et des modifications à y apporter. Tous les programmes de la mission sont inclus, même s'ils ne sont pas modifiés (auquel cas les montants des champs **AE** et **CP** sont zero)." }),
|
|
3543
3576
|
soldeAE: e.string().optional(),
|
|
3544
3577
|
soldeCP: e.string().optional(),
|
|
3545
3578
|
cpEgalAe: e.string()
|
|
3546
|
-
}),
|
|
3579
|
+
}), ri = e.lazy(() => e.object({
|
|
3547
3580
|
libelle: e.string(),
|
|
3548
3581
|
programmeRef: e.string().optional(),
|
|
3549
3582
|
autorisationEngagementSupplementaire: e.string(),
|
|
@@ -3551,165 +3584,165 @@ var Ir = [
|
|
|
3551
3584
|
autorisationEngagementAnnule: e.string(),
|
|
3552
3585
|
creditPaiementAnnule: e.string(),
|
|
3553
3586
|
action: X,
|
|
3554
|
-
lignesCredits: e.array(
|
|
3587
|
+
lignesCredits: e.array(ri).optional(),
|
|
3555
3588
|
id: e.string().optional()
|
|
3556
|
-
})),
|
|
3589
|
+
})), ii = e.object({
|
|
3557
3590
|
supplementaire: e.string().meta({ description: "Montant à ajouter. Nombre positif." }),
|
|
3558
3591
|
annule: e.string().meta({ description: "Montant à soustraire. Nombre positif." }),
|
|
3559
3592
|
solde: e.string().meta({ description: "Résultat de la soustraction **montantPositif** - **montantNegatif**." })
|
|
3560
|
-
}),
|
|
3561
|
-
listeProgrammes: e.array(
|
|
3562
|
-
totalAE:
|
|
3563
|
-
totalCP:
|
|
3593
|
+
}), ai = e.object({
|
|
3594
|
+
listeProgrammes: e.array(ri).optional(),
|
|
3595
|
+
totalAE: ii.optional(),
|
|
3596
|
+
totalCP: ii.optional(),
|
|
3564
3597
|
cpEgalAe: e.string()
|
|
3565
|
-
}),
|
|
3598
|
+
}), oi = e.object({
|
|
3566
3599
|
dispositif: e.string().optional().meta({ description: "Contenu originel du champ **dispositif** dans le cas ou un amendement est modifiée avant qu'il soit {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe#eztoc43696_0_0_2 | appelé}." }),
|
|
3567
|
-
dispositifAmdtCreditPLF:
|
|
3568
|
-
dispositifAmdtCreditPLFR:
|
|
3569
|
-
}),
|
|
3600
|
+
dispositifAmdtCreditPLF: ni.optional(),
|
|
3601
|
+
dispositifAmdtCreditPLFR: ai.optional()
|
|
3602
|
+
}), si = e.object({
|
|
3570
3603
|
dispositif: e.string().optional().meta({ description: "Description exhaustive des modifications apportées au texte original, au format HTML." }),
|
|
3571
|
-
avantAppel:
|
|
3604
|
+
avantAppel: oi.optional(),
|
|
3572
3605
|
exposeSommaire: e.string().optional().meta({ description: "Exposé sommaire des motifs justifiant l'amendement, au format HTML." }),
|
|
3573
|
-
dispositifAmdtCreditPLF:
|
|
3574
|
-
dispositifAmdtCreditPLFR:
|
|
3575
|
-
}),
|
|
3606
|
+
dispositifAmdtCreditPLF: ni.optional(),
|
|
3607
|
+
dispositifAmdtCreditPLFR: ai.optional()
|
|
3608
|
+
}), ci = e.object({
|
|
3576
3609
|
cartoucheInformatif: e.string().optional().meta({ description: "La signification de ce champ est indéfinie." }),
|
|
3577
|
-
contenuAuteur:
|
|
3578
|
-
}),
|
|
3579
|
-
code:
|
|
3580
|
-
libelle:
|
|
3581
|
-
}),
|
|
3582
|
-
code:
|
|
3583
|
-
libelle:
|
|
3584
|
-
}),
|
|
3585
|
-
etat:
|
|
3586
|
-
sousEtat:
|
|
3587
|
-
}),
|
|
3610
|
+
contenuAuteur: si.optional()
|
|
3611
|
+
}), li = e.object({
|
|
3612
|
+
code: Ur,
|
|
3613
|
+
libelle: Gr.meta({ description: "Étape du {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe | cycle de vie de l'amendement}." })
|
|
3614
|
+
}), ui = e.object({
|
|
3615
|
+
code: Ur,
|
|
3616
|
+
libelle: qr
|
|
3617
|
+
}), di = e.object({
|
|
3618
|
+
etat: li,
|
|
3619
|
+
sousEtat: ui.optional()
|
|
3620
|
+
}), fi = e.object({
|
|
3588
3621
|
dateDepot: K().meta({ description: "Date de dépôt" }),
|
|
3589
3622
|
datePublication: K().meta({ description: "Date de publication" }),
|
|
3590
3623
|
soumisArticle40: e.string(),
|
|
3591
|
-
etatDesTraitements:
|
|
3624
|
+
etatDesTraitements: di.meta({ description: "Étape du {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe | cycle de vie de l'amendement}." }),
|
|
3592
3625
|
dateSort: K().meta({ description: "Date du sort" }),
|
|
3593
|
-
sort:
|
|
3594
|
-
}),
|
|
3626
|
+
sort: qr.optional().meta({ description: "'Adopté' si l'amendement est adopté, 'Non soutenu' si l'amendement n'a pas été soutenu par son auteur lorsqu'il a été appelé, 'Rejeté' si le vote a rejeté l'amendement, 'Retiré' si l'amendement a été retiré après avoir été déposé et avant d'avoir été appelé, 'Tombé' lorsque l'amendement est {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe | rendu sans objet} en raison du vote d'un amendement appelé avant lui." })
|
|
3627
|
+
}), $ = e.object({
|
|
3595
3628
|
idDiscussion: e.string().optional(),
|
|
3596
|
-
typePosition:
|
|
3597
|
-
}),
|
|
3629
|
+
typePosition: Qn.optional()
|
|
3630
|
+
}), pi = e.object({
|
|
3598
3631
|
numeroLong: e.string().meta({ description: "Libelle désignant l'amendement et incluant son numéro (correspondant au champ **numero**), une indication du nombre de rectifications qui lui ont été apportés (correspondant au champ **identifiant.numRect** et {@link https://forum.en-root.org/t/signification-du-champ-numerolong-dans-un-amendement/163 | d'autres informations} dérivées du champ **identifiant**." }),
|
|
3599
3632
|
numeroOrdreDepot: e.string().meta({ description: "Numéro de dépôt attribué selon l'ordre d'arrivée des amendements. Il est unique pour un texte donné et il ne change pas lorsque l'amendement est {@link http://www.senat.fr/fileadmin/Fichiers/Images/seance/Guide_amendements_MAJ_Mars__2016.pdf | rectifié}." }),
|
|
3600
3633
|
prefixeOrganeExamen: e.string().meta({ description: "L'identifiant unique de {@link Organe | l'organe} auprès duquel l'amendement est déposé (i.e. l'assemblée ou une commission)." }),
|
|
3601
3634
|
numeroRect: e.string().meta({ description: "Reflète le nombre de {@link http://www.senat.fr/fileadmin/Fichiers/Images/seance/Guide_amendements_MAJ_Mars__2016.pdf | rectifications} apportées à l'amendement. 0: aucune rectification, 1: une rectification, 50: deux rectifications, 51: trois rectifications, 52: quatre rectifications." })
|
|
3602
|
-
}),
|
|
3635
|
+
}), mi = e.object({
|
|
3603
3636
|
codeLoi: e.string().optional(),
|
|
3604
3637
|
divisionCodeLoi: e.string().optional()
|
|
3605
|
-
}),
|
|
3606
|
-
avantAApres:
|
|
3638
|
+
}), hi = e.object({
|
|
3639
|
+
avantAApres: Yr.optional().meta({ description: "Avant: un ajout avant l'alinéa **numero**, Après: un ajout avant après l'alinéa **numero**, A: une modification ou suppression de l'alinéa **numero** et suivants le cas échéant" }),
|
|
3607
3640
|
numero: e.string().optional().meta({ description: "Numéro de l'alinéa. Pour le calcul des alinéas au sein d'un amendement sous-amendé, le {@link https://fr.wikipedia.org/wiki/Chapeau_(presse) | chapeau} de l'amendement est décomptée comme un alinéa." }),
|
|
3608
3641
|
alineaDesignation: e.string().optional().meta({ description: "Texte complémentaire qui est ajouté au {@link https://fr.wikipedia.org/wiki/Chapeau_(presse) | chapeau} de l'amendement (qui se trouve dans le champ divisionRattachee) et qui précise éventuellement l'emplacement de l'alinéa visé par l'amendement." })
|
|
3609
|
-
}),
|
|
3642
|
+
}), gi = e.object({
|
|
3610
3643
|
titre: e.string().optional().meta({ description: "Libellé de la division qui est visé par l'amendement (voir aussi le champ type)." }),
|
|
3611
3644
|
articleDesignationCourte: e.string().optional().meta({ description: "Version courte du {@link https://fr.wikipedia.org/wiki/Chapeau_(presse) | chapeau} de l'amendement, c'est dire le contenu du champ divisionRattachee." }),
|
|
3612
3645
|
articleDesignation: e.string().optional(),
|
|
3613
|
-
type:
|
|
3614
|
-
avantAApres:
|
|
3646
|
+
type: Jn.meta({ description: "Division du texte visée par l'amendement." }),
|
|
3647
|
+
avantAApres: Yr.meta({ description: "Avant: un ajout avant la division visée par l'amendement, Après: un ajout avant après la division visée par l'amendement, A: une modification ou suppression la division visée par l'amendement." }),
|
|
3615
3648
|
divisionRattachee: e.string().optional().meta({ description: "{@link https://fr.wikipedia.org/wiki/Chapeau_(presse) | Chapeau} de l'amendement, décrivant précisément l'emplacement du texte modifié par l'amendement et l'action (modifier, supprimer, insérer)." }),
|
|
3616
3649
|
articleAdditionnel: e.string().meta({ description: "Égal à 1 si l'amendement rajoute un article." }),
|
|
3617
3650
|
chapitreAdditionnel: e.string().meta({ description: "Égal à 1 si l'amendement rajoute un chapitre." }),
|
|
3618
3651
|
urlDivisionTexteVise: e.string().optional().meta({ description: "URL du texte sur http://www.assemblee-nationale.fr, y compris le fragment qui désigne la division visée par l'amendement, tel que décrite dans le champ divisionRattachee." })
|
|
3619
|
-
}),
|
|
3652
|
+
}), _i = e.object({
|
|
3620
3653
|
codeEtat: Z.meta({ description: "Code de l'état du projet de loi de finance sur lequel l'amendement a un impact indirect. Par exemple {@link http://www.assemblee-nationale.fr/15/textes/1490.asp#D_Etat_B | l'état B du PLF 2019}. Correspond exactement au champ libelleMissionPLF." }),
|
|
3621
3654
|
codeMissionMinefi: e.string().meta({ description: "La signification de ce champ n'est pas définie" }),
|
|
3622
3655
|
libelleMission: e.string().meta({ description: "Libellé de la mission, à l'intérieur de l'état désigné par codeMissionPLF, sur laquelle l'amendement a un impact indirect." }),
|
|
3623
3656
|
missionRef: e.string().meta({ description: "Libellé de l'état du projet de loi de finance sur lequel l'amendement a un impact indirect. Par exemple la {@link http://www.assemblee-nationale.fr/15/textes/1490.asp#D_Etat_B | RÉPARTITION, PAR MISSION ET PROGRAMME, DES CRÉDITS DU BUDGET GÉNÉRAL du PLF 2019}. Correspond exactement au champ codeMissionPLF." })
|
|
3624
|
-
}),
|
|
3625
|
-
division:
|
|
3626
|
-
alinea:
|
|
3627
|
-
missionVisee:
|
|
3628
|
-
}),
|
|
3657
|
+
}), vi = e.object({
|
|
3658
|
+
division: gi.optional().meta({ description: "Partie du texte visé par l'amendement, éventuellement précisé par l'alinéa (voir le champ alinea)." }),
|
|
3659
|
+
alinea: hi.optional().meta({ description: "L'alinéa sur lequel porte la modification, à l'intérieur d'une division du texte (voir le champ division)." }),
|
|
3660
|
+
missionVisee: _i.optional().meta({ description: "{@link https://www.performance-publique.budget.gouv.fr/ressources-documentaires/documentation-budgetaire/chiffres-cles-budget-etat | Mission} du projet de loi de finance visé par l'amendement." })
|
|
3661
|
+
}), yi = e.object({ documentURI: e.string().meta({ description: "Chemin de l'amendement qui permet de composer son URL sur ce modèle: http://www.assemblee-nationale.fr/__documentURI__." }) }), bi = e.object({
|
|
3629
3662
|
verbatim: e.boolean().meta({ description: "La signification de ce champ est indéfinie." }),
|
|
3630
3663
|
canonique: e.boolean().meta({ description: "La signification de ce champ est indéfinie." }),
|
|
3631
3664
|
officielle: e.boolean().meta({ description: "La signification de ce champ est indéfinie." }),
|
|
3632
3665
|
transcription: e.boolean().meta({ description: "La signification de ce champ est indéfinie." }),
|
|
3633
3666
|
enregistrement: e.boolean().meta({ description: "La signification de ce champ est indéfinie." })
|
|
3634
|
-
}),
|
|
3635
|
-
type:
|
|
3636
|
-
subType:
|
|
3637
|
-
}),
|
|
3638
|
-
nom:
|
|
3639
|
-
typeMime:
|
|
3640
|
-
statutRepresentation:
|
|
3641
|
-
contenu:
|
|
3642
|
-
}),
|
|
3643
|
-
typeAuteur:
|
|
3667
|
+
}), xi = e.object({
|
|
3668
|
+
type: $r.meta({ description: "Type MIME principal, par exemple 'application'." }),
|
|
3669
|
+
subType: Zr.meta({ description: "Sous-type MIME, par exemple 'pdf'." })
|
|
3670
|
+
}), Si = e.object({
|
|
3671
|
+
nom: Zr.meta({ description: "Format du document." }),
|
|
3672
|
+
typeMime: xi.meta({ description: "Type MIME du document." }),
|
|
3673
|
+
statutRepresentation: bi.meta({ description: "La signification de ces champs est indéfinie." }),
|
|
3674
|
+
contenu: yi
|
|
3675
|
+
}), Ci = e.object({
|
|
3676
|
+
typeAuteur: Xn.meta({ description: "'Depute' si l'auteur dépose l'amendement en sa qualité de député, 'Gouvernement' s'il le fait au nom du gouvernement, 'Rapporteur' s'il est le rapporteur de la commission désignée par **organeRef**." }),
|
|
3644
3677
|
gouvernementRef: G().optional().meta({ description: "Référence au gouvernement" }),
|
|
3645
3678
|
acteurRef: W().optional().meta({ description: "Référence à l'acteur" }),
|
|
3646
3679
|
groupePolitiqueRef: G().optional().meta({ description: "Référence au groupe politique" }),
|
|
3647
3680
|
auteurRapporteurOrganeRef: G().optional().meta({ description: "Référence à l'organe du rapporteur" })
|
|
3648
|
-
}),
|
|
3649
|
-
auteur:
|
|
3681
|
+
}), wi = e.object({
|
|
3682
|
+
auteur: Ci.meta({ description: "Auteur de l'amendement ainsi que son mandat et son affiliation." }),
|
|
3650
3683
|
cosignatairesRefs: e.array(W()).optional().meta({ description: "Référence au cosignataire" }),
|
|
3651
3684
|
suffixe: e.string().optional(),
|
|
3652
3685
|
libelle: e.string().optional().meta({ description: "Les noms de l'auteur et des co-signataires de l'amendement." })
|
|
3653
|
-
}),
|
|
3686
|
+
}), Ti = e.object({
|
|
3654
3687
|
schemaVersion: e.string().optional(),
|
|
3655
3688
|
uid: U().meta({ description: "Identifiant unique de l'amendement" }),
|
|
3656
3689
|
chronotag: e.string(),
|
|
3657
3690
|
legislature: e.string(),
|
|
3658
|
-
identification:
|
|
3691
|
+
identification: pi,
|
|
3659
3692
|
examenRef: e.string(),
|
|
3660
3693
|
texteLegislatifRef: e.string(),
|
|
3661
3694
|
triAmendement: e.string().optional().meta({ description: "Lorsque tous les amendements visant un texte de loi sont triés sur cette clé, cela détermine leur ordre d'appel." }),
|
|
3662
3695
|
cardinaliteAmdtMultiples: e.string().optional().meta({ description: "Le contenu de ce champ n'est pas défini." }),
|
|
3663
3696
|
amendementParentRef: e.string().optional().meta({ description: "L'identifiant unique (uid) de l'amendement modifié par un {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/role-et-pouvoirs-de-l-assemblee-nationale/les-fonctions-de-l-assemblee-nationale/les-fonctions-legislatives/l-exercice-du-droit-d-amendement-et-annexe | sous amendement}. Les amendements peuvent faire l'objet de sous-amendements qui doivent respecter les mêmes règles formelles que les amendements." }),
|
|
3664
|
-
signataires:
|
|
3665
|
-
pointeurFragmentTexte:
|
|
3666
|
-
corps:
|
|
3667
|
-
cycleDeVie:
|
|
3668
|
-
representation:
|
|
3697
|
+
signataires: wi,
|
|
3698
|
+
pointeurFragmentTexte: vi,
|
|
3699
|
+
corps: ci.optional(),
|
|
3700
|
+
cycleDeVie: fi,
|
|
3701
|
+
representation: Si.optional(),
|
|
3669
3702
|
seanceDiscussionRef: e.string().optional().meta({ description: "Identifiant unique (uid) de la {@link Reunion | séance durant laquelle l'amendement a été discuté}." }),
|
|
3670
3703
|
article99: e.string().meta({ description: "Amendement déposé par le rapporteur d'une commission ou le gouvernement, après le délai imposé aux députés, en application de {@link http://www2.assemblee-nationale.fr/decouvrir-l-assemblee/textes-de-reference/reglement-de-l-assemblee-nationale/titre-ii/premiere-partie/chapitre-iv/article-99 | l'alinéa 2 de l'article 99 du règlement de l'assemblée nationale}" }),
|
|
3671
|
-
loiReference:
|
|
3672
|
-
discussionCommune:
|
|
3673
|
-
discussionIdentique:
|
|
3704
|
+
loiReference: mi.optional().meta({ description: "La signification de ce champ est indéfinie." }),
|
|
3705
|
+
discussionCommune: $.optional(),
|
|
3706
|
+
discussionIdentique: $.optional(),
|
|
3674
3707
|
accordGouvernementDepotHorsDelai: Y
|
|
3675
|
-
}),
|
|
3708
|
+
}), Ei = e.object({
|
|
3676
3709
|
refTexteLegislatif: e.string(),
|
|
3677
|
-
amendements: e.array(
|
|
3678
|
-
}),
|
|
3679
|
-
function
|
|
3680
|
-
let t =
|
|
3681
|
-
if (!
|
|
3682
|
-
return
|
|
3683
|
-
}
|
|
3684
|
-
function
|
|
3685
|
-
let t =
|
|
3686
|
-
if (!
|
|
3687
|
-
return
|
|
3688
|
-
}
|
|
3689
|
-
function
|
|
3690
|
-
let t =
|
|
3691
|
-
if (!
|
|
3692
|
-
return
|
|
3693
|
-
}
|
|
3694
|
-
function
|
|
3710
|
+
amendements: e.array(Ti)
|
|
3711
|
+
}), Di = e.object({ textesLegislatifs: e.array(Ei) });
|
|
3712
|
+
function Oi(e) {
|
|
3713
|
+
let t = JSON.parse(e), n = Ti.safeParse(t);
|
|
3714
|
+
if (!n.success) throw Error(Pi("AmendementClean", n.error, t));
|
|
3715
|
+
return n.data;
|
|
3716
|
+
}
|
|
3717
|
+
function ki(e) {
|
|
3718
|
+
let t = JSON.parse(e), n = Ei.safeParse(t);
|
|
3719
|
+
if (!n.success) throw Error(Pi("TexteLegislatifClean", n.error, t));
|
|
3720
|
+
return n.data;
|
|
3721
|
+
}
|
|
3722
|
+
function Ai(e) {
|
|
3723
|
+
let t = JSON.parse(e), n = Di.safeParse(t);
|
|
3724
|
+
if (!n.success) throw Error(Pi("AmendementsClean", n.error, t));
|
|
3725
|
+
return n.data;
|
|
3726
|
+
}
|
|
3727
|
+
function ji(e) {
|
|
3695
3728
|
return JSON.stringify(e, null, 2);
|
|
3696
3729
|
}
|
|
3697
|
-
function
|
|
3730
|
+
function Mi(e) {
|
|
3698
3731
|
return JSON.stringify(e, null, 2);
|
|
3699
3732
|
}
|
|
3700
|
-
function
|
|
3733
|
+
function Ni(e) {
|
|
3701
3734
|
return JSON.stringify(e, null, 2);
|
|
3702
3735
|
}
|
|
3703
|
-
function
|
|
3704
|
-
return
|
|
3736
|
+
function Pi(e, t, n) {
|
|
3737
|
+
return In(e, t, n);
|
|
3705
3738
|
}
|
|
3706
|
-
var
|
|
3707
|
-
toAmendement:
|
|
3708
|
-
amendementToJson:
|
|
3709
|
-
toTexteLegislatif:
|
|
3710
|
-
texteLegislatifToJson:
|
|
3711
|
-
toAmendements:
|
|
3712
|
-
amendementsToJson:
|
|
3739
|
+
var Fi = {
|
|
3740
|
+
toAmendement: Oi,
|
|
3741
|
+
amendementToJson: ji,
|
|
3742
|
+
toTexteLegislatif: ki,
|
|
3743
|
+
texteLegislatifToJson: Mi,
|
|
3744
|
+
toAmendements: Ai,
|
|
3745
|
+
amendementsToJson: Ni
|
|
3713
3746
|
};
|
|
3714
3747
|
//#endregion
|
|
3715
|
-
export { G as $,
|
|
3748
|
+
export { G as $, xi as A, Jn as B, ti as C, bi as D, ui as E, Xr as F, Kn as G, Qn as H, Qr as I, Zn as J, qn as K, Y as L, Hr as M, Wr as N, Ei as O, Kr as P, J as Q, X as R, vi as S, wi as T, Wn as U, Xn as V, Gn as W, K as X, W as Y, q as Z, pi as _, D as _t, Ci as a, Dn as at, mi as b, si as c, kn as ct, $ as d, An as dt, Hn as et, ni as f, Tn as ft, di as g, nn as gt, li as h, Sn as ht, Di as i, En as it, Jr as j, ii as k, ci as l, Cn as lt, gi as m, Mn as mt, Ti as n, U as nt, oi as o, On as ot, ai as p, jn as pt, Yn as q, Fi as r, In as rt, yi as s, xn as st, hi as t, Un as tt, fi as u, wn as ut, ei as v, b as vt, Si as w, _i as x, ri as y, g as yt, Z as z };
|