@tricoteuses/assemblee 1.10.4 → 2.0.0

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 (275) hide show
  1. package/README.md +8 -1
  2. package/lib/amendements-79bwpkvR.js +154 -0
  3. package/lib/amendements-CV3s5a0M.js +667 -0
  4. package/lib/cleaners/index.d.ts +9 -9
  5. package/lib/cleaners.js +564 -0
  6. package/lib/datasets.d.ts +3 -3
  7. package/lib/dossiers_legislatifs.d.ts +2 -2
  8. package/lib/index.d.ts +17 -22
  9. package/lib/index.js +1542 -314
  10. package/lib/inserters.d.ts +5 -5
  11. package/lib/loaders-9mHdTl9L.js +4158 -0
  12. package/lib/loaders.d.ts +12 -12
  13. package/lib/loaders.js +29 -1689
  14. package/lib/organes.d.ts +1 -1
  15. package/lib/parse-Ccs6wcUg.js +2512 -0
  16. package/lib/parsers/index.d.ts +2 -3
  17. package/lib/parsers/plf.d.ts +1 -0
  18. package/lib/parsers/recherche_amendements.d.ts +2 -2
  19. package/lib/parsers/textes_lois.d.ts +1 -23
  20. package/lib/parsers.js +398 -0
  21. package/lib/raw_types/acteurs_et_organes.d.ts +4 -2
  22. package/lib/raw_types/debats.d.ts +2 -2
  23. package/lib/raw_types/dossiers_legislatifs.d.ts +1 -1
  24. package/lib/schemas/acteurs_et_organes.json +1166 -0
  25. package/lib/schemas/agendas.json +1745 -0
  26. package/lib/schemas/amendements.json +2085 -0
  27. package/lib/schemas/debats.json +842 -0
  28. package/lib/schemas/dossiers_legislatifs.json +3874 -0
  29. package/lib/schemas/legislatures.json +17 -0
  30. package/lib/schemas/questions.json +704 -0
  31. package/lib/schemas/scrutins.json +701 -0
  32. package/lib/scripts/retrieve_deputes_photos.d.ts +1 -1
  33. package/lib/types/acteurs_et_organes.d.ts +344 -2
  34. package/lib/types/agendas.d.ts +236 -10
  35. package/lib/types/amendements.d.ts +276 -1
  36. package/lib/types/debats.d.ts +52 -2
  37. package/lib/types/dossiers_legislatifs.d.ts +403 -9
  38. package/lib/types/questions.d.ts +99 -2
  39. package/lib/types/scrutins.d.ts +101 -0
  40. package/lib/urls.d.ts +2 -2
  41. package/package.json +33 -95
  42. package/lib/api.js +0 -52
  43. package/lib/api.mjs +0 -45
  44. package/lib/bugs/acteur-00010/plugin.test.js +0 -90
  45. package/lib/bugs/acteur-00010/plugin.test.mjs +0 -33
  46. package/lib/bugs/acteur-00010.d.ts +0 -7
  47. package/lib/bugs/acteur-00010.js +0 -116
  48. package/lib/bugs/acteur-00010.mjs +0 -26
  49. package/lib/bugs/agenda-00002/plugin.test.js +0 -124
  50. package/lib/bugs/agenda-00002/plugin.test.mjs +0 -50
  51. package/lib/bugs/agenda-00002.d.ts +0 -15
  52. package/lib/bugs/agenda-00002.js +0 -406
  53. package/lib/bugs/agenda-00002.mjs +0 -172
  54. package/lib/bugs/agenda-00008/plugin.test.js +0 -92
  55. package/lib/bugs/agenda-00008/plugin.test.mjs +0 -31
  56. package/lib/bugs/agenda-00008.d.ts +0 -7
  57. package/lib/bugs/agenda-00008.js +0 -123
  58. package/lib/bugs/agenda-00008.mjs +0 -26
  59. package/lib/bugs/agenda-00011/plugin.test.d.ts +0 -1
  60. package/lib/bugs/agenda-00011/plugin.test.js +0 -263
  61. package/lib/bugs/agenda-00011/plugin.test.mjs +0 -152
  62. package/lib/bugs/agenda-00011.d.ts +0 -16
  63. package/lib/bugs/agenda-00011.js +0 -333
  64. package/lib/bugs/agenda-00011.mjs +0 -125
  65. package/lib/bugs.d.ts +0 -21
  66. package/lib/bugs.js +0 -452
  67. package/lib/bugs.mjs +0 -70
  68. package/lib/cleaners/actes_legislatifs.js +0 -315
  69. package/lib/cleaners/actes_legislatifs.mjs +0 -253
  70. package/lib/cleaners/acteurs.js +0 -265
  71. package/lib/cleaners/acteurs.mjs +0 -180
  72. package/lib/cleaners/amendements.js +0 -294
  73. package/lib/cleaners/amendements.mjs +0 -227
  74. package/lib/cleaners/debats.js +0 -12
  75. package/lib/cleaners/debats.mjs +0 -5
  76. package/lib/cleaners/documents.js +0 -205
  77. package/lib/cleaners/documents.mjs +0 -133
  78. package/lib/cleaners/dossiers_legislatifs.js +0 -131
  79. package/lib/cleaners/dossiers_legislatifs.mjs +0 -70
  80. package/lib/cleaners/index.js +0 -70
  81. package/lib/cleaners/index.mjs +0 -10
  82. package/lib/cleaners/organes.js +0 -65
  83. package/lib/cleaners/organes.mjs +0 -48
  84. package/lib/cleaners/questions.js +0 -12
  85. package/lib/cleaners/questions.mjs +0 -5
  86. package/lib/cleaners/reunions.js +0 -312
  87. package/lib/cleaners/reunions.mjs +0 -255
  88. package/lib/cleaners/scrutins.js +0 -340
  89. package/lib/cleaners/scrutins.mjs +0 -221
  90. package/lib/cleaners/xml.js +0 -95
  91. package/lib/cleaners/xml.mjs +0 -58
  92. package/lib/datasets.js +0 -837
  93. package/lib/datasets.mjs +0 -755
  94. package/lib/dates.js +0 -124
  95. package/lib/dates.mjs +0 -100
  96. package/lib/dossiers_legislatifs.js +0 -346
  97. package/lib/dossiers_legislatifs.mjs +0 -208
  98. package/lib/file_systems.js +0 -162
  99. package/lib/file_systems.mjs +0 -62
  100. package/lib/git.js +0 -223
  101. package/lib/git.mjs +0 -151
  102. package/lib/index.mjs +0 -17
  103. package/lib/inserters.js +0 -521
  104. package/lib/inserters.mjs +0 -337
  105. package/lib/loaders.mjs +0 -886
  106. package/lib/logger.js +0 -35
  107. package/lib/logger.mjs +0 -26
  108. package/lib/organes.js +0 -22
  109. package/lib/organes.mjs +0 -15
  110. package/lib/parsers/documents.d.ts +0 -62
  111. package/lib/parsers/documents.js +0 -453
  112. package/lib/parsers/documents.mjs +0 -370
  113. package/lib/parsers/index.js +0 -40
  114. package/lib/parsers/index.mjs +0 -4
  115. package/lib/parsers/recherche_amendements.js +0 -403
  116. package/lib/parsers/recherche_amendements.mjs +0 -167
  117. package/lib/parsers/textes_lois.js +0 -307
  118. package/lib/parsers/textes_lois.mjs +0 -264
  119. package/lib/raw_types/acteurs_et_organes.js +0 -1213
  120. package/lib/raw_types/acteurs_et_organes.mjs +0 -1146
  121. package/lib/raw_types/agendas.js +0 -777
  122. package/lib/raw_types/agendas.mjs +0 -724
  123. package/lib/raw_types/amendements.js +0 -1052
  124. package/lib/raw_types/amendements.mjs +0 -993
  125. package/lib/raw_types/debats.js +0 -630
  126. package/lib/raw_types/debats.mjs +0 -573
  127. package/lib/raw_types/dossiers_legislatifs.js +0 -1529
  128. package/lib/raw_types/dossiers_legislatifs.mjs +0 -1471
  129. package/lib/raw_types/questions.js +0 -469
  130. package/lib/raw_types/questions.mjs +0 -416
  131. package/lib/raw_types/scrutins.js +0 -651
  132. package/lib/raw_types/scrutins.mjs +0 -598
  133. package/lib/schemas/acteur/Acteur.json +0 -56
  134. package/lib/schemas/acteur/AdresseElectronique.json +0 -52
  135. package/lib/schemas/acteur/AdressePostale.json +0 -75
  136. package/lib/schemas/acteur/Civ.json +0 -14
  137. package/lib/schemas/acteur/Collaborateur.json +0 -29
  138. package/lib/schemas/acteur/EtatCivil.json +0 -51
  139. package/lib/schemas/acteur/Ident.json +0 -40
  140. package/lib/schemas/acteur/Lieu.json +0 -66
  141. package/lib/schemas/acteur/Mandat.json +0 -192
  142. package/lib/schemas/acteur/Profession.json +0 -46
  143. package/lib/schemas/agenda/Agenda.json +0 -318
  144. package/lib/schemas/agenda/CycleDeVie.json +0 -45
  145. package/lib/schemas/agenda/PointOdj.json +0 -82
  146. package/lib/schemas/amendement/Amendement.json +0 -246
  147. package/lib/schemas/amendement/Diff.json +0 -25
  148. package/lib/schemas/amendement/DispositifAmdtCredit.json +0 -85
  149. package/lib/schemas/amendement/Identifiant.json +0 -62
  150. package/lib/schemas/amendement/PointeurFragmentTexte.json +0 -127
  151. package/lib/schemas/amendement/Representation.json +0 -67
  152. package/lib/schemas/amendement/Total.json +0 -26
  153. package/lib/schemas/converted_from_type/acteurs_et_organes.json +0 -666
  154. package/lib/schemas/converted_from_type/agendas.json +0 -1100
  155. package/lib/schemas/converted_from_type/amendements.json +0 -3191
  156. package/lib/schemas/converted_from_type/debats.json +0 -682
  157. package/lib/schemas/converted_from_type/deputes.json +0 -26
  158. package/lib/schemas/converted_from_type/dossiers_legislatifs.json +0 -2918
  159. package/lib/schemas/converted_from_type/legislatures.json +0 -16
  160. package/lib/schemas/converted_from_type/questions.json +0 -328
  161. package/lib/schemas/converted_from_type/scrutins.json +0 -393
  162. package/lib/schemas/debat/Contenu.json +0 -75
  163. package/lib/schemas/debat/Debat.json +0 -40
  164. package/lib/schemas/debat/Metadonnees.json +0 -75
  165. package/lib/schemas/debat/Orateur.json +0 -60
  166. package/lib/schemas/debat/Point.json +0 -169
  167. package/lib/schemas/debat/Sommaire.json +0 -71
  168. package/lib/schemas/debat/SommaireElement.json +0 -108
  169. package/lib/schemas/debat/Texte.json +0 -34
  170. package/lib/schemas/document/CodeLibelle.json +0 -25
  171. package/lib/schemas/document/Document.json +0 -385
  172. package/lib/schemas/document/Indexation.json +0 -38
  173. package/lib/schemas/dossier/ActeLegislatif.json +0 -211
  174. package/lib/schemas/dossier/ActeLegislatifBase.json +0 -62
  175. package/lib/schemas/dossier/Agenda.json +0 -23
  176. package/lib/schemas/dossier/ConseilConstitutionnel.json +0 -35
  177. package/lib/schemas/dossier/Decision.json +0 -25
  178. package/lib/schemas/dossier/Dossier.json +0 -124
  179. package/lib/schemas/dossier/EtudeImpact.json +0 -29
  180. package/lib/schemas/dossier/EtudePlf.json +0 -105
  181. package/lib/schemas/dossier/Europe.json +0 -42
  182. package/lib/schemas/dossier/FamCodeLibelle.json +0 -25
  183. package/lib/schemas/dossier/InfoJO.json +0 -23
  184. package/lib/schemas/dossier/Initiateur.json +0 -36
  185. package/lib/schemas/dossier/Motion.json +0 -27
  186. package/lib/schemas/dossier/Promulgation.json +0 -62
  187. package/lib/schemas/dossier/Rapporteur.json +0 -36
  188. package/lib/schemas/dossier/Texte.json +0 -47
  189. package/lib/schemas/organe/CodeTypeOrgane.json +0 -43
  190. package/lib/schemas/organe/Organe.json +0 -136
  191. package/lib/schemas/organe/ViMoDe.json +0 -28
  192. package/lib/schemas/question/Auteur.json +0 -58
  193. package/lib/schemas/question/Cloture.json +0 -28
  194. package/lib/schemas/question/InfoJO.json +0 -40
  195. package/lib/schemas/question/MinAttribElement.json +0 -30
  196. package/lib/schemas/question/Question.json +0 -172
  197. package/lib/schemas/question/Renouvellement.json +0 -17
  198. package/lib/schemas/question/Signalement.json +0 -21
  199. package/lib/schemas/question/Texte.json +0 -24
  200. package/lib/schemas/scrutin/DecompteVoix.json +0 -35
  201. package/lib/schemas/scrutin/Dysfonctionnement.json +0 -50
  202. package/lib/schemas/scrutin/MiseAuPoint.json +0 -53
  203. package/lib/schemas/scrutin/OrganeVotant.json +0 -88
  204. package/lib/schemas/scrutin/Scrutin.json +0 -187
  205. package/lib/schemas/scrutin/Votant.json +0 -37
  206. package/lib/scripts/bugs_helper.d.ts +0 -13
  207. package/lib/scripts/bugs_helper.js +0 -595
  208. package/lib/scripts/bugs_helper.mjs +0 -251
  209. package/lib/scripts/clean_reorganized_data.js +0 -610
  210. package/lib/scripts/clean_reorganized_data.mjs +0 -273
  211. package/lib/scripts/diff_amendements.js +0 -249
  212. package/lib/scripts/diff_amendements.mjs +0 -202
  213. package/lib/scripts/document_dossiers_legislatifs.js +0 -655
  214. package/lib/scripts/document_dossiers_legislatifs.mjs +0 -414
  215. package/lib/scripts/get_today_reunions.js +0 -37
  216. package/lib/scripts/get_today_reunions.mjs +0 -31
  217. package/lib/scripts/merge_scrutins.js +0 -97
  218. package/lib/scripts/merge_scrutins.mjs +0 -47
  219. package/lib/scripts/parse_textes_lois.d.ts +0 -1
  220. package/lib/scripts/parse_textes_lois.js +0 -171
  221. package/lib/scripts/parse_textes_lois.mjs +0 -140
  222. package/lib/scripts/process_open_dataset.js +0 -301
  223. package/lib/scripts/process_open_dataset.mjs +0 -134
  224. package/lib/scripts/raw_types_from_amendements.js +0 -135
  225. package/lib/scripts/raw_types_from_amendements.mjs +0 -134
  226. package/lib/scripts/reorganize_data.js +0 -805
  227. package/lib/scripts/reorganize_data.mjs +0 -517
  228. package/lib/scripts/retrieve_deputes_photos.js +0 -310
  229. package/lib/scripts/retrieve_deputes_photos.mjs +0 -158
  230. package/lib/scripts/retrieve_documents.js +0 -547
  231. package/lib/scripts/retrieve_documents.mjs +0 -242
  232. package/lib/scripts/retrieve_open_data.js +0 -107
  233. package/lib/scripts/retrieve_open_data.mjs +0 -26
  234. package/lib/scripts/retrieve_pending_amendments.js +0 -206
  235. package/lib/scripts/retrieve_pending_amendments.mjs +0 -57
  236. package/lib/scripts/retrieve_senateurs_photos.js +0 -234
  237. package/lib/scripts/retrieve_senateurs_photos.mjs +0 -116
  238. package/lib/scripts/retrieve_textes_lois.d.ts +0 -1
  239. package/lib/scripts/retrieve_textes_lois.js +0 -240
  240. package/lib/scripts/retrieve_textes_lois.mjs +0 -85
  241. package/lib/scripts/shared/cli_helpers.js +0 -89
  242. package/lib/scripts/shared/cli_helpers.mjs +0 -81
  243. package/lib/scripts/test_iter_load.js +0 -155
  244. package/lib/scripts/test_iter_load.mjs +0 -72
  245. package/lib/scripts/test_load.js +0 -26
  246. package/lib/scripts/test_load.mjs +0 -16
  247. package/lib/scripts/test_load_big_files.js +0 -26
  248. package/lib/scripts/test_load_big_files.mjs +0 -16
  249. package/lib/scripts/validate_json.js +0 -353
  250. package/lib/scripts/validate_json.mjs +0 -184
  251. package/lib/shared_types/codes_actes.js +0 -231
  252. package/lib/shared_types/codes_actes.mjs +0 -224
  253. package/lib/strings.js +0 -16
  254. package/lib/strings.mjs +0 -7
  255. package/lib/types/acteurs_et_organes.js +0 -963
  256. package/lib/types/acteurs_et_organes.mjs +0 -904
  257. package/lib/types/agendas.js +0 -628
  258. package/lib/types/agendas.mjs +0 -575
  259. package/lib/types/amendements.js +0 -899
  260. package/lib/types/amendements.mjs +0 -842
  261. package/lib/types/debats.js +0 -619
  262. package/lib/types/debats.mjs +0 -562
  263. package/lib/types/dossiers_legislatifs.js +0 -1188
  264. package/lib/types/dossiers_legislatifs.mjs +0 -1130
  265. package/lib/types/legislatures.js +0 -17
  266. package/lib/types/legislatures.mjs +0 -10
  267. package/lib/types/questions.js +0 -454
  268. package/lib/types/questions.mjs +0 -401
  269. package/lib/types/scrutins.js +0 -556
  270. package/lib/types/scrutins.mjs +0 -503
  271. package/lib/urls.js +0 -325
  272. package/lib/urls.mjs +0 -258
  273. /package/lib/{bugs/acteur-00010/plugin.test.d.ts → scripts/add_links_to_documents.d.ts} +0 -0
  274. /package/lib/{bugs/agenda-00002/plugin.test.d.ts → scripts/copy-schemas.d.ts} +0 -0
  275. /package/lib/{bugs/agenda-00008/plugin.test.d.ts → scripts/generate-json-schemas.d.ts} +0 -0
@@ -0,0 +1,667 @@
1
+ var b = /* @__PURE__ */ ((e) => (e.ADiscuter = "A discuter", e.ADéposer = "A déposer", e.Discuté = "Discuté", e.Effacé = "effacé", e.EnRecevabilité = "En recevabilité", e.EnTraitement = "En traitement", e.Irrecevable = "Irrecevable", e.Irrecevable40 = "Irrecevable 40", e.Retiré = "Retiré", e))(b || {}), T = /* @__PURE__ */ ((e) => (e.Adopté = "Adopté", e.AutreIrrecevabilité = "Autre irrecevabilité", e.AutreIrrecevabilité40 = "Autre irrecevabilité 40", e.AutresIrrLOLF = "Autres irr LOLF", e.AutresIrrLOLFSS = "Autres irr LOLFSS", e.Cavalier45 = "Cavalier (45)", e.CavalierBudgétaire = "Cavalier budgétaire", e.CavalierSocial = "Cavalier social", e.ChampDeLHabilitation38 = "Champ de l'habilitation (38)", e.Charge = "Charge", e.Cmp45 = "CMP (45)", e.Crédits = "Crédits", e.DispositionRéglementaire37 = "Disposition réglementaire (37)", e.DomaineDeLaLoi41 = "Domaine de la loi (41)", e.DomaineLoiOrganique127 = "Domaine loi organique (127)", e.Doublon = "Doublon", e.Entonnoir45 = "Entonnoir (45)", e.Gage = "Gage", e.HorsChamp = "Hors champ", e.HorsDélais = "Hors-délais", e.Injonction20 = "Injonction (20)", e.IrrEnPremièrePartie = "Irr en première partie", e.IrrEnSecondePartie = "Irr en seconde partie", e.Lolf = "LOLF", e.Lolfss = "LOLFSS", e.NonSoutenu = "Non soutenu", e.OrdreDuJour48 = "Ordre du jour (48)", e.R = "R", e.RatificationTraité53 = "Ratification traité (53)", e.Rejeté = "Rejeté", e.Retiré = "Retiré", e.RetiréAprèsPublication = "Retiré après publication", e.RetiréAvantPublication = "Retiré avant publication", e.SatisfaitOuInopérant42 = "Satisfait ou inopérant (42)", e.SousAmendement98 = "Sous-amendement (98)", e.Tombé = "Tombé", e))(T || {}), E = /* @__PURE__ */ ((e) => (e.A = "A", e.Apres = "Apres", e.Avant = "Avant", e))(E || {}), I = /* @__PURE__ */ ((e) => (e.Député = "Député", e.Gouvernement = "Gouvernement", e.Rapporteur = "Rapporteur", e))(I || {});
2
+ class x {
3
+ static toAmendement(s) {
4
+ return y(JSON.parse(s), t("Amendement"));
5
+ }
6
+ static amendementToJson(s) {
7
+ return JSON.stringify(m(s, t("Amendement")), null, 2);
8
+ }
9
+ static toAmendements(s) {
10
+ return y(JSON.parse(s), t("Amendements"));
11
+ }
12
+ static amendementsToJson(s) {
13
+ return JSON.stringify(m(s, t("Amendements")), null, 2);
14
+ }
15
+ static toTexteLegislatif(s) {
16
+ return y(JSON.parse(s), t("TexteLegislatif"));
17
+ }
18
+ static texteLegislatifToJson(s) {
19
+ return JSON.stringify(m(s, t("TexteLegislatif")), null, 2);
20
+ }
21
+ }
22
+ function u(e, s, a = "") {
23
+ throw Error(
24
+ a ? `Invalid value for key "${a}". Expected type ${JSON.stringify(
25
+ e
26
+ )} but got ${JSON.stringify(s)}` : `Invalid value ${JSON.stringify(s)} for type ${JSON.stringify(e)}`
27
+ );
28
+ }
29
+ function O(e) {
30
+ if (e.jsonToJS === void 0) {
31
+ const s = {};
32
+ e.props.forEach((a) => s[a.json] = { key: a.js, typ: a.typ }), e.jsonToJS = s;
33
+ }
34
+ return e.jsonToJS;
35
+ }
36
+ function F(e) {
37
+ if (e.jsToJSON === void 0) {
38
+ const s = {};
39
+ e.props.forEach((a) => s[a.js] = { key: a.json, typ: a.typ }), e.jsToJSON = s;
40
+ }
41
+ return e.jsToJSON;
42
+ }
43
+ function c(e, s, a, R = "") {
44
+ function v(o, r) {
45
+ return typeof o == typeof r ? r : u(o, r, R);
46
+ }
47
+ function g(o, r) {
48
+ const p = o.length;
49
+ for (let l = 0; l < p; l++) {
50
+ const j = o[l];
51
+ try {
52
+ return c(r, j, a);
53
+ } catch {
54
+ }
55
+ }
56
+ return u(o, r);
57
+ }
58
+ function A(o, r) {
59
+ return o.indexOf(r) !== -1 ? r : u(o, r);
60
+ }
61
+ function D(o, r) {
62
+ return Array.isArray(r) ? r.map((p) => c(p, o, a)) : u("array", r);
63
+ }
64
+ function C(o) {
65
+ if (o === null)
66
+ return null;
67
+ const r = new Date(o);
68
+ return isNaN(r.valueOf()) ? u("Date", o) : r;
69
+ }
70
+ function P(o, r, p) {
71
+ if (p === null || typeof p != "object" || Array.isArray(p))
72
+ return u("object", p);
73
+ const l = {};
74
+ return Object.getOwnPropertyNames(o).forEach((j) => {
75
+ const f = o[j], L = Object.prototype.hasOwnProperty.call(p, j) ? p[j] : void 0;
76
+ l[f.key] = c(L, f.typ, a, f.key);
77
+ }), Object.getOwnPropertyNames(p).forEach((j) => {
78
+ Object.prototype.hasOwnProperty.call(o, j) || (l[j] = c(p[j], r, a, j));
79
+ }), l;
80
+ }
81
+ if (s === "any") return e;
82
+ if (s === null)
83
+ return e === null ? e : u(s, e);
84
+ for (; typeof s == "object" && s.ref !== void 0; )
85
+ s = h[s.ref];
86
+ return Array.isArray(s) ? A(s, e) : typeof s == "object" ? s.hasOwnProperty("unionMembers") ? g(s.unionMembers, e) : s.hasOwnProperty("arrayItems") ? D(s.arrayItems, e) : s.hasOwnProperty("props") ? P(a(s), s.additional, e) : u(s, e) : s === Date && typeof e != "number" ? C(e) : v(s, e);
87
+ }
88
+ function y(e, s) {
89
+ return c(e, s, O);
90
+ }
91
+ function m(e, s) {
92
+ return c(e, s, F);
93
+ }
94
+ function d(e) {
95
+ return { arrayItems: e };
96
+ }
97
+ function i(...e) {
98
+ return { unionMembers: e };
99
+ }
100
+ function n(e, s) {
101
+ return { props: e, additional: s };
102
+ }
103
+ function t(e) {
104
+ return { ref: e };
105
+ }
106
+ const h = {
107
+ Amendements: n(
108
+ [
109
+ {
110
+ json: "textesLegislatifs",
111
+ js: "textesLegislatifs",
112
+ typ: d(t("TexteLegislatif"))
113
+ }
114
+ ],
115
+ !1
116
+ ),
117
+ TexteLegislatif: n(
118
+ [
119
+ { json: "refTexteLegislatif", js: "refTexteLegislatif", typ: "" },
120
+ { json: "amendements", js: "amendements", typ: t("AmendementsClass") }
121
+ ],
122
+ !1
123
+ ),
124
+ AmendementsClass: n(
125
+ [{ json: "amendement", js: "amendement", typ: d(t("Amendement")) }],
126
+ !1
127
+ ),
128
+ AmendementWrapper: n(
129
+ [{ json: "amendement", js: "amendement", typ: t("Amendement") }],
130
+ !1
131
+ ),
132
+ Amendement: n(
133
+ [
134
+ { json: "uid", js: "uid", typ: "" },
135
+ { json: "chronotag", js: "chronotag", typ: "" },
136
+ { json: "legislature", js: "legislature", typ: "" },
137
+ {
138
+ json: "identification",
139
+ js: "identification",
140
+ typ: t("Identification")
141
+ },
142
+ { json: "examenRef", js: "examenRef", typ: "" },
143
+ { json: "texteLegislatifRef", js: "texteLegislatifRef", typ: "" },
144
+ { json: "triAmendement", js: "triAmendement", typ: i(void 0, "") },
145
+ {
146
+ json: "cardinaliteAmdtMultiples",
147
+ js: "cardinaliteAmdtMultiples",
148
+ typ: i(void 0, "")
149
+ },
150
+ {
151
+ json: "amendementParentRef",
152
+ js: "amendementParentRef",
153
+ typ: i(void 0, "")
154
+ },
155
+ { json: "signataires", js: "signataires", typ: t("Signataires") },
156
+ {
157
+ json: "pointeurFragmentTexte",
158
+ js: "pointeurFragmentTexte",
159
+ typ: t("PointeurFragmentTexte")
160
+ },
161
+ { json: "corps", js: "corps", typ: i(void 0, t("Corps")) },
162
+ { json: "cycleDeVie", js: "cycleDeVie", typ: t("CycleDeVie") },
163
+ {
164
+ json: "representation",
165
+ js: "representation",
166
+ typ: i(void 0, t("Representation"))
167
+ },
168
+ {
169
+ json: "seanceDiscussionRef",
170
+ js: "seanceDiscussionRef",
171
+ typ: i(void 0, "")
172
+ },
173
+ { json: "article99", js: "article99", typ: "" },
174
+ {
175
+ json: "loiReference",
176
+ js: "loiReference",
177
+ typ: i(void 0, t("LoiReference"))
178
+ },
179
+ {
180
+ json: "discussionCommune",
181
+ js: "discussionCommune",
182
+ typ: i(void 0, t("Discussion"))
183
+ },
184
+ {
185
+ json: "discussionIdentique",
186
+ js: "discussionIdentique",
187
+ typ: i(void 0, t("Discussion"))
188
+ },
189
+ {
190
+ json: "accordGouvernementDepotHorsDelai",
191
+ js: "accordGouvernementDepotHorsDelai",
192
+ typ: t("AccordGouvernementDepotHorsDelai")
193
+ }
194
+ ],
195
+ !1
196
+ ),
197
+ Corps: n(
198
+ [
199
+ {
200
+ json: "cartoucheInformatif",
201
+ js: "cartoucheInformatif",
202
+ typ: i(void 0, "")
203
+ },
204
+ {
205
+ json: "contenuAuteur",
206
+ js: "contenuAuteur",
207
+ typ: i(void 0, t("ContenuAuteur"))
208
+ }
209
+ ],
210
+ !1
211
+ ),
212
+ ContenuAuteur: n(
213
+ [
214
+ { json: "dispositif", js: "dispositif", typ: i(void 0, "") },
215
+ {
216
+ json: "avantAppel",
217
+ js: "avantAppel",
218
+ typ: i(void 0, t("AvantAppel"))
219
+ },
220
+ { json: "exposeSommaire", js: "exposeSommaire", typ: i(void 0, "") },
221
+ {
222
+ json: "dispositifAmdtCreditPLF",
223
+ js: "dispositifAmdtCreditPLF",
224
+ typ: i(void 0, t("DispositifAmdtCreditPLF"))
225
+ },
226
+ {
227
+ json: "dispositifAmdtCreditPLFR",
228
+ js: "dispositifAmdtCreditPLFR",
229
+ typ: i(void 0, t("DispositifAmdtCreditPLFR"))
230
+ }
231
+ ],
232
+ !1
233
+ ),
234
+ AvantAppel: n(
235
+ [
236
+ { json: "dispositif", js: "dispositif", typ: i(void 0, "") },
237
+ {
238
+ json: "dispositifAmdtCreditPLF",
239
+ js: "dispositifAmdtCreditPLF",
240
+ typ: i(void 0, t("DispositifAmdtCreditPLF"))
241
+ },
242
+ {
243
+ json: "dispositifAmdtCreditPLFR",
244
+ js: "dispositifAmdtCreditPLFR",
245
+ typ: i(void 0, t("DispositifAmdtCreditPLFR"))
246
+ }
247
+ ],
248
+ !1
249
+ ),
250
+ DispositifAmdtCreditPLF: n(
251
+ [
252
+ {
253
+ json: "listeProgrammes",
254
+ js: "listeProgrammes",
255
+ typ: i(void 0, d(t("ProgrammePlf")))
256
+ },
257
+ { json: "soldeAE", js: "soldeAE", typ: i(void 0, "") },
258
+ { json: "soldeCP", js: "soldeCP", typ: i(void 0, "") },
259
+ { json: "cpEgalAe", js: "cpEgalAe", typ: "" }
260
+ ],
261
+ !1
262
+ ),
263
+ ProgrammePlf: n(
264
+ [
265
+ { json: "libelle", js: "libelle", typ: "" },
266
+ { json: "programmeRef", js: "programmeRef", typ: "" },
267
+ { json: "autorisationEngagement", js: "autorisationEngagement", typ: "" },
268
+ { json: "creditPaiement", js: "creditPaiement", typ: "" },
269
+ { json: "action", js: "action", typ: t("Action") },
270
+ {
271
+ json: "lignesCredits",
272
+ js: "lignesCredits",
273
+ typ: i(void 0, d(t("LigneCreditPLF")))
274
+ }
275
+ ],
276
+ !1
277
+ ),
278
+ LigneCreditPLF: n(
279
+ [
280
+ { json: "id", js: "id", typ: "" },
281
+ { json: "libelle", js: "libelle", typ: "" },
282
+ { json: "autorisationEngagement", js: "autorisationEngagement", typ: "" },
283
+ { json: "creditPaiement", js: "creditPaiement", typ: "" },
284
+ { json: "action", js: "action", typ: t("Action") }
285
+ ],
286
+ !1
287
+ ),
288
+ DispositifAmdtCreditPLFR: n(
289
+ [
290
+ {
291
+ json: "listeProgrammes",
292
+ js: "listeProgrammes",
293
+ typ: i(void 0, d(t("LigneCreditPLFR")))
294
+ },
295
+ { json: "totalAE", js: "totalAE", typ: i(void 0, t("Total")) },
296
+ { json: "totalCP", js: "totalCP", typ: i(void 0, t("Total")) },
297
+ { json: "cpEgalAe", js: "cpEgalAe", typ: "" }
298
+ ],
299
+ !1
300
+ ),
301
+ LigneCreditPLFR: n(
302
+ [
303
+ { json: "libelle", js: "libelle", typ: "" },
304
+ { json: "programmeRef", js: "programmeRef", typ: i(void 0, "") },
305
+ {
306
+ json: "autorisationEngagementSupplementaire",
307
+ js: "autorisationEngagementSupplementaire",
308
+ typ: ""
309
+ },
310
+ {
311
+ json: "creditPaiementSupplementaire",
312
+ js: "creditPaiementSupplementaire",
313
+ typ: ""
314
+ },
315
+ {
316
+ json: "autorisationEngagementAnnule",
317
+ js: "autorisationEngagementAnnule",
318
+ typ: ""
319
+ },
320
+ { json: "creditPaiementAnnule", js: "creditPaiementAnnule", typ: "" },
321
+ { json: "action", js: "action", typ: t("Action") },
322
+ {
323
+ json: "lignesCredits",
324
+ js: "lignesCredits",
325
+ typ: i(void 0, d(t("LigneCreditPLFR")))
326
+ },
327
+ { json: "id", js: "id", typ: i(void 0, "") }
328
+ ],
329
+ !1
330
+ ),
331
+ Total: n(
332
+ [
333
+ { json: "supplementaire", js: "supplementaire", typ: "" },
334
+ { json: "annule", js: "annule", typ: "" },
335
+ { json: "solde", js: "solde", typ: "" }
336
+ ],
337
+ !1
338
+ ),
339
+ CycleDeVie: n(
340
+ [
341
+ { json: "dateDepot", js: "dateDepot", typ: i(void 0, Date) },
342
+ {
343
+ json: "datePublication",
344
+ js: "datePublication",
345
+ typ: i(void 0, Date)
346
+ },
347
+ { json: "soumisArticle40", js: "soumisArticle40", typ: "" },
348
+ {
349
+ json: "etatDesTraitements",
350
+ js: "etatDesTraitements",
351
+ typ: t("EtatDesTraitements")
352
+ },
353
+ {
354
+ json: "dateSort",
355
+ js: "dateSort",
356
+ typ: i(void 0, Date)
357
+ },
358
+ {
359
+ json: "sort",
360
+ js: "sort",
361
+ typ: i(void 0, t("SortAmendement"))
362
+ }
363
+ ],
364
+ !1
365
+ ),
366
+ EtatDesTraitements: n(
367
+ [
368
+ { json: "etat", js: "etat", typ: t("EtatAmendement") },
369
+ {
370
+ json: "sousEtat",
371
+ js: "sousEtat",
372
+ typ: i(void 0, t("SousEtatAmendement"))
373
+ }
374
+ ],
375
+ !1
376
+ ),
377
+ EtatAmendement: n(
378
+ [
379
+ { json: "code", js: "code", typ: t("EtatAmendementCode") },
380
+ { json: "libelle", js: "libelle", typ: t("EtatAmendementLibelle") }
381
+ ],
382
+ !1
383
+ ),
384
+ SousEtatAmendement: n(
385
+ [
386
+ { json: "code", js: "code", typ: t("EtatAmendementCode") },
387
+ { json: "libelle", js: "libelle", typ: t("SortAmendement") }
388
+ ],
389
+ !1
390
+ ),
391
+ Discussion: n(
392
+ [
393
+ { json: "idDiscussion", js: "idDiscussion", typ: i(void 0, "") },
394
+ {
395
+ json: "typePosition",
396
+ js: "typePosition",
397
+ typ: i(void 0, t("TypePosition"))
398
+ }
399
+ ],
400
+ !1
401
+ ),
402
+ Identification: n(
403
+ [
404
+ { json: "numeroLong", js: "numeroLong", typ: "" },
405
+ { json: "numeroOrdreDepot", js: "numeroOrdreDepot", typ: "" },
406
+ { json: "prefixeOrganeExamen", js: "prefixeOrganeExamen", typ: "" },
407
+ { json: "numeroRect", js: "numeroRect", typ: "" }
408
+ ],
409
+ !1
410
+ ),
411
+ LoiReference: n(
412
+ [
413
+ {
414
+ json: "codeLoi",
415
+ js: "codeLoi",
416
+ typ: i(void 0, "")
417
+ },
418
+ {
419
+ json: "divisionCodeLoi",
420
+ js: "divisionCodeLoi",
421
+ typ: i(void 0, "")
422
+ }
423
+ ],
424
+ !1
425
+ ),
426
+ PointeurFragmentTexte: n(
427
+ [
428
+ { json: "division", js: "division", typ: i(void 0, t("Division")) },
429
+ {
430
+ json: "alinea",
431
+ js: "alinea",
432
+ typ: i(void 0, t("Alinea"))
433
+ },
434
+ {
435
+ json: "missionVisee",
436
+ js: "missionVisee",
437
+ typ: i(void 0, t("MissionVisee"))
438
+ }
439
+ ],
440
+ !1
441
+ ),
442
+ Alinea: n(
443
+ [
444
+ {
445
+ json: "avantAApres",
446
+ js: "avantAApres",
447
+ typ: i(void 0, t("AvantAApres"))
448
+ },
449
+ { json: "numero", js: "numero", typ: i(void 0, "") },
450
+ {
451
+ json: "alineaDesignation",
452
+ js: "alineaDesignation",
453
+ typ: i(void 0, "")
454
+ }
455
+ ],
456
+ !1
457
+ ),
458
+ Division: n(
459
+ [
460
+ { json: "titre", js: "titre", typ: i(void 0, "") },
461
+ {
462
+ json: "articleDesignationCourte",
463
+ js: "articleDesignationCourte",
464
+ typ: i(void 0, "")
465
+ },
466
+ {
467
+ json: "articleDesignation",
468
+ js: "articleDesignation",
469
+ typ: i(void 0, "")
470
+ },
471
+ { json: "type", js: "type", typ: t("DivisionType") },
472
+ {
473
+ json: "avantAApres",
474
+ js: "avantAApres",
475
+ typ: t("AvantAApres")
476
+ },
477
+ {
478
+ json: "divisionRattachee",
479
+ js: "divisionRattachee",
480
+ typ: i(void 0, "")
481
+ },
482
+ { json: "articleAdditionnel", js: "articleAdditionnel", typ: "" },
483
+ { json: "chapitreAdditionnel", js: "chapitreAdditionnel", typ: "" },
484
+ {
485
+ json: "urlDivisionTexteVise",
486
+ js: "urlDivisionTexteVise",
487
+ typ: i(void 0, "")
488
+ }
489
+ ],
490
+ !1
491
+ ),
492
+ MissionVisee: n(
493
+ [
494
+ { json: "codeEtat", js: "codeEtat", typ: t("CodeEtat") },
495
+ { json: "codeMissionMinefi", js: "codeMissionMinefi", typ: "" },
496
+ { json: "libelleMission", js: "libelleMission", typ: "" },
497
+ { json: "missionRef", js: "missionRef", typ: "" }
498
+ ],
499
+ !1
500
+ ),
501
+ Representation: n(
502
+ [
503
+ { json: "nom", js: "nom", typ: t("Nom") },
504
+ { json: "typeMime", js: "typeMime", typ: t("TypeMime") },
505
+ {
506
+ json: "statutRepresentation",
507
+ js: "statutRepresentation",
508
+ typ: t("StatutRepresentation")
509
+ },
510
+ { json: "contenu", js: "contenu", typ: t("Contenu") }
511
+ ],
512
+ !1
513
+ ),
514
+ Contenu: n([{ json: "documentURI", js: "documentURI", typ: "" }], !1),
515
+ StatutRepresentation: n(
516
+ [
517
+ { json: "verbatim", js: "verbatim", typ: !1 },
518
+ { json: "canonique", js: "canonique", typ: !1 },
519
+ { json: "officielle", js: "officielle", typ: !1 },
520
+ { json: "transcription", js: "transcription", typ: !1 },
521
+ { json: "enregistrement", js: "enregistrement", typ: !1 }
522
+ ],
523
+ !1
524
+ ),
525
+ TypeMime: n(
526
+ [
527
+ { json: "type", js: "type", typ: t("TypeMimeType") },
528
+ { json: "subType", js: "subType", typ: t("Nom") }
529
+ ],
530
+ !1
531
+ ),
532
+ Signataires: n(
533
+ [
534
+ { json: "auteur", js: "auteur", typ: t("Auteur") },
535
+ {
536
+ json: "cosignatairesRefs",
537
+ js: "cosignatairesRefs",
538
+ typ: i(void 0, d(""))
539
+ },
540
+ {
541
+ json: "suffixe",
542
+ js: "suffixe",
543
+ typ: i(void 0, "")
544
+ },
545
+ { json: "libelle", js: "libelle", typ: i(void 0, "") }
546
+ ],
547
+ !1
548
+ ),
549
+ Auteur: n(
550
+ [
551
+ { json: "typeAuteur", js: "typeAuteur", typ: t("TypeAuteur") },
552
+ {
553
+ json: "gouvernementRef",
554
+ js: "gouvernementRef",
555
+ typ: i(void 0, "")
556
+ },
557
+ {
558
+ json: "acteurRef",
559
+ js: "acteurRef",
560
+ typ: i(void 0, "")
561
+ },
562
+ {
563
+ json: "groupePolitiqueRef",
564
+ js: "groupePolitiqueRef",
565
+ typ: i(void 0, "")
566
+ },
567
+ {
568
+ json: "auteurRapporteurOrganeRef",
569
+ js: "auteurRapporteurOrganeRef",
570
+ typ: i(void 0, "")
571
+ }
572
+ ],
573
+ !1
574
+ ),
575
+ AccordGouvernementDepotHorsDelai: ["Accord", "Sans objet"],
576
+ Action: ["création", "modification", "suppression"],
577
+ EtatAmendementCode: [
578
+ "AC",
579
+ "AT",
580
+ "DI",
581
+ "effacé",
582
+ "ER",
583
+ "ET",
584
+ "IR",
585
+ "IRR127",
586
+ "IRR20",
587
+ "IRR37",
588
+ "IRR38",
589
+ "IRR41",
590
+ "IRR42",
591
+ "IRR45",
592
+ "IRR48",
593
+ "IRR53",
594
+ "IRRAI",
595
+ "IRRAIF",
596
+ "IRRD",
597
+ "IRRHC",
598
+ "IRRHD",
599
+ "IRRSA",
600
+ "R",
601
+ "RT",
602
+ "T"
603
+ ],
604
+ EtatAmendementLibelle: [
605
+ "A discuter",
606
+ "A déposer",
607
+ "Discuté",
608
+ "effacé",
609
+ "En recevabilité",
610
+ "En traitement",
611
+ "Irrecevable",
612
+ "Irrecevable 40",
613
+ "Retiré"
614
+ ],
615
+ SortAmendement: [
616
+ "Adopté",
617
+ "Autre irrecevabilité",
618
+ "Autre irrecevabilité 40",
619
+ "Autres irr LOLF",
620
+ "Autres irr LOLFSS",
621
+ "Cavalier (45)",
622
+ "Cavalier budgétaire",
623
+ "Cavalier social",
624
+ "Champ de l'habilitation (38)",
625
+ "Charge",
626
+ "CMP (45)",
627
+ "Crédits",
628
+ "Disposition réglementaire (37)",
629
+ "Domaine de la loi (41)",
630
+ "Domaine loi organique (127)",
631
+ "Doublon",
632
+ "Entonnoir (45)",
633
+ "Gage",
634
+ "Hors champ",
635
+ "Hors-délais",
636
+ "Injonction (20)",
637
+ "Irr en première partie",
638
+ "Irr en seconde partie",
639
+ "LOLF",
640
+ "LOLFSS",
641
+ "Non soutenu",
642
+ "Ordre du jour (48)",
643
+ "R",
644
+ "Ratification traité (53)",
645
+ "Rejeté",
646
+ "Retiré",
647
+ "Retiré après publication",
648
+ "Retiré avant publication",
649
+ "Satisfait ou inopérant (42)",
650
+ "Sous-amendement (98)",
651
+ "Tombé"
652
+ ],
653
+ TypePosition: ["Dernier", "Milieu", "Premier"],
654
+ AvantAApres: ["A", "Apres", "Avant"],
655
+ DivisionType: ["ANNEXE", "ARTICLE", "CHAPITRE", "TITRE"],
656
+ CodeEtat: ["B", "C", "D"],
657
+ Nom: ["PDF"],
658
+ TypeMimeType: ["application"],
659
+ TypeAuteur: ["Député", "Gouvernement", "Rapporteur"]
660
+ };
661
+ export {
662
+ E as A,
663
+ x as C,
664
+ b as E,
665
+ T as S,
666
+ I as T
667
+ };
@@ -1,9 +1,9 @@
1
- export { cleanActeur } from "./acteurs";
2
- export { cleanAmendement } from "./amendements";
3
- export { cleanDocumentOrDivision } from "./documents";
4
- export { cleanDossierParlementaire } from "./dossiers_legislatifs";
5
- export { cleanOrgane } from "./organes";
6
- export { cleanReunion } from "./reunions";
7
- export { cleanScrutin } from "./scrutins";
8
- export { cleanQuestion } from "./questions";
9
- export { cleanCompteRendu } from "./debats";
1
+ export { cleanActeur } from './acteurs';
2
+ export { cleanAmendement } from './amendements';
3
+ export { cleanDocumentOrDivision } from './documents';
4
+ export { cleanDossierParlementaire } from './dossiers_legislatifs';
5
+ export { cleanOrgane } from './organes';
6
+ export { cleanReunion } from './reunions';
7
+ export { cleanScrutin } from './scrutins';
8
+ export { cleanQuestion } from './questions';
9
+ export { cleanCompteRendu } from './debats';