@tricoteuses/assemblee 2.4.0 → 2.4.2
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/file_systems-CzTtoLWb.js +33 -0
- package/lib/git.js +121 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +229 -223
- package/lib/loaders.d.ts +10 -0
- package/lib/loaders.js +441 -425
- package/lib/numbers.d.ts +4 -0
- package/lib/scripts/retrieve_documents.d.ts +2 -1
- package/lib/scripts/shared/utils.d.ts +0 -1
- package/lib/{scrutins-DhX6h3KY.js → uids-DaRrTkI-.js} +100 -94
- package/lib/uids.d.ts +6 -0
- package/package.json +6 -1
package/lib/numbers.d.ts
ADDED
|
@@ -7,6 +7,7 @@ type CommonOptions = {
|
|
|
7
7
|
parseDocuments?: boolean;
|
|
8
8
|
fullCompteRenduCommissions?: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare function downloadAndParse(document: Document,
|
|
10
|
+
export declare function downloadAndParse(document: Document, datasetDir: string, options: any): Promise<void>;
|
|
11
11
|
export declare function downloadAndParseVideosAndCR(reunion: Reunion, datasetCleanDir: string, options: CommonOptions): Promise<void>;
|
|
12
|
+
export declare function parseDocument(document: Document, documentPath: string, options: any): Promise<void>;
|
|
12
13
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var ce = /* @__PURE__ */ ((e) => (e.Api = "API", e.Assemblee = "ASSEMBLEE", e.Bureau = "BUREAU", e.Circonscription = "CIRCONSCRIPTION", e.Cjr = "CJR", e.Cmp = "CMP", e.Cnpe = "CNPE", e.Cnps = "CNPS", e.Comnl = "COMNL", e.Comper = "COMPER", e.Comsenat = "COMSENAT", e.Comspsenat = "COMSPSENAT", e.Confpt = "CONFPT", e.Constitu = "CONSTITU", e.Deleg = "DELEG", e.Delegbureau = "DELEGBUREAU", e.Delegsenat = "DELEGSENAT", e.Ga = "GA", e.Ge = "GE", e.Gevi = "GEVI", e.Gouvernement = "GOUVERNEMENT", e.Gp = "GP", e.Groupesenat = "GROUPESENAT", e.Hcj = "HCJ", e.Ministere = "MINISTERE", e.Miseval = "MISEVAL", e.Misgrtr = "MISGRTR", e.Misinfo = "MISINFO", e.Misinfocom = "MISINFOCOM", e.Misinfopre = "MISINFOPRE", e.Offpar = "OFFPAR", e.Orgaint = "ORGAINT", e.Orgextparl = "ORGEXTPARL", e.Parpol = "PARPOL", e.Presrep = "PRESREP", e.Senat = "SENAT", e))(ce || {}), ye = /* @__PURE__ */ ((e) => (e.An1 = "AN1", e.An1Acin = "AN1-ACIN", e.An1Avce = "AN1-AVCE", e.An1Com = "AN1-COM", e.An1ComAvis = "AN1-COM-AVIS", e.An1ComAvisNomin = "AN1-COM-AVIS-NOMIN", e.An1ComAvisRapport = "AN1-COM-AVIS-RAPPORT", e.An1ComAvisReunion = "AN1-COM-AVIS-REUNION", e.An1ComAvisSaisie = "AN1-COM-AVIS-SAISIE", e.An1ComFond = "AN1-COM-FOND", e.An1ComFondNomin = "AN1-COM-FOND-NOMIN", e.An1ComFondRapport = "AN1-COM-FOND-RAPPORT", e.An1ComFondReunion = "AN1-COM-FOND-REUNION", e.An1ComFondSaisie = "AN1-COM-FOND-SAISIE", e.An1Debats = "AN1-DEBATS", e.An1DebatsDec = "AN1-DEBATS-DEC", e.An1DebatsMotion = "AN1-DEBATS-MOTION", e.An1DebatsMotionVote = "AN1-DEBATS-MOTION-VOTE", e.An1DebatsSeance = "AN1-DEBATS-SEANCE", e.An1Depot = "AN1-DEPOT", e.An1Dgvt = "AN1-DGVT", e.An1Dptlettrect = "AN1-DPTLETTRECT", e.An1Eti = "AN1-ETI", e.An1Motion = "AN1-MOTION", e.An1MotionVote = "AN1-MOTION-VOTE", e.An1Procacc = "AN1-PROCACC", e.An1Recbureau = "AN1-RECBUREAU", e.An1Rtrini = "AN1-RTRINI", e.An2 = "AN2", e.An20 = "AN20", e.An20Comenq = "AN20-COMENQ", e.An20ComenqCrea = "AN20-COMENQ-CREA", e.An20ComenqNomin = "AN20-COMENQ-NOMIN", e.An20ComenqRapport = "AN20-COMENQ-RAPPORT", e.An20Misinf = "AN20-MISINF", e.An20MisinfCrea = "AN20-MISINF-CREA", e.An20MisinfNomin = "AN20-MISINF-NOMIN", e.An20MisinfRapport = "AN20-MISINF-RAPPORT", e.An20Rapport = "AN20-RAPPORT", e.An21 = "AN21", e.An21Apan = "AN21-APAN", e.An21Debats = "AN21-DEBATS", e.An21DebatsMotionVote = "AN21-DEBATS-MOTION-VOTE", e.An21DebatsSeance = "AN21-DEBATS-SEANCE", e.An21Dgvt = "AN21-DGVT", e.An21Motion = "AN21-MOTION", e.An21MotionVote = "AN21-MOTION-VOTE", e.An21Mpr = "AN21-MPR", e.An2Com = "AN2-COM", e.An2ComAvis = "AN2-COM-AVIS", e.An2ComAvisRapport = "AN2-COM-AVIS-RAPPORT", e.An2ComAvisReunion = "AN2-COM-AVIS-REUNION", e.An2ComAvisSaisie = "AN2-COM-AVIS-SAISIE", e.An2ComFond = "AN2-COM-FOND", e.An2ComFondNomin = "AN2-COM-FOND-NOMIN", e.An2ComFondRapport = "AN2-COM-FOND-RAPPORT", e.An2ComFondReunion = "AN2-COM-FOND-REUNION", e.An2ComFondSaisie = "AN2-COM-FOND-SAISIE", e.An2Debats = "AN2-DEBATS", e.An2DebatsDec = "AN2-DEBATS-DEC", e.An2DebatsSeance = "AN2-DEBATS-SEANCE", e.An2Depot = "AN2-DEPOT", e.An3 = "AN3", e.An3Com = "AN3-COM", e.An3ComFond = "AN3-COM-FOND", e.An3ComFondNomin = "AN3-COM-FOND-NOMIN", e.An3ComFondRapport = "AN3-COM-FOND-RAPPORT", e.An3ComFondReunion = "AN3-COM-FOND-REUNION", e.An3ComFondSaisie = "AN3-COM-FOND-SAISIE", e.An3Debats = "AN3-DEBATS", e.An3DebatsDec = "AN3-DEBATS-DEC", e.An3DebatsSeance = "AN3-DEBATS-SEANCE", e.An3Depot = "AN3-DEPOT", e.AnAppli = "AN-APPLI", e.AnAppliRapport = "AN-APPLI-RAPPORT", e.Anldef = "ANLDEF", e.AnldefCom = "ANLDEF-COM", e.AnldefComFond = "ANLDEF-COM-FOND", e.AnldefComFondRapport = "ANLDEF-COM-FOND-RAPPORT", e.AnldefComFondReunion = "ANLDEF-COM-FOND-REUNION", e.AnldefComFondSaisie = "ANLDEF-COM-FOND-SAISIE", e.AnldefDebats = "ANLDEF-DEBATS", e.AnldefDebatsDec = "ANLDEF-DEBATS-DEC", e.AnldefDebatsMotionVote = "ANLDEF-DEBATS-MOTION-VOTE", e.AnldefDebatsSeance = "ANLDEF-DEBATS-SEANCE", e.AnldefDepot = "ANLDEF-DEPOT", e.AnldefDgvt = "ANLDEF-DGVT", e.AnldefMotion = "ANLDEF-MOTION", e.AnldefMotionVote = "ANLDEF-MOTION-VOTE", e.Anluni = "ANLUNI", e.AnluniCom = "ANLUNI-COM", e.AnluniComCae = "ANLUNI-COM-CAE", e.AnluniComCaeDec = "ANLUNI-COM-CAE-DEC", e.AnluniComCaeNomin = "ANLUNI-COM-CAE-NOMIN", e.AnluniComCaeRapport = "ANLUNI-COM-CAE-RAPPORT", e.AnluniComCaeReunion = "ANLUNI-COM-CAE-REUNION", e.AnluniComCaeSaisie = "ANLUNI-COM-CAE-SAISIE", e.AnluniComFond = "ANLUNI-COM-FOND", e.AnluniComFondNomin = "ANLUNI-COM-FOND-NOMIN", e.AnluniComFondRapport = "ANLUNI-COM-FOND-RAPPORT", e.AnluniComFondReunion = "ANLUNI-COM-FOND-REUNION", e.AnluniComFondSaisie = "ANLUNI-COM-FOND-SAISIE", e.AnluniDebats = "ANLUNI-DEBATS", e.AnluniDebatsDec = "ANLUNI-DEBATS-DEC", e.AnluniDebatsSeance = "ANLUNI-DEBATS-SEANCE", e.AnluniDepot = "ANLUNI-DEPOT", e.AnluniRtrini = "ANLUNI-RTRINI", e.Annlec = "ANNLEC", e.AnnlecCom = "ANNLEC-COM", e.AnnlecComAvis = "ANNLEC-COM-AVIS", e.AnnlecComAvisNomin = "ANNLEC-COM-AVIS-NOMIN", e.AnnlecComAvisRapport = "ANNLEC-COM-AVIS-RAPPORT", e.AnnlecComAvisReunion = "ANNLEC-COM-AVIS-REUNION", e.AnnlecComAvisSaisie = "ANNLEC-COM-AVIS-SAISIE", e.AnnlecComFond = "ANNLEC-COM-FOND", e.AnnlecComFondNomin = "ANNLEC-COM-FOND-NOMIN", e.AnnlecComFondRapport = "ANNLEC-COM-FOND-RAPPORT", e.AnnlecComFondReunion = "ANNLEC-COM-FOND-REUNION", e.AnnlecComFondSaisie = "ANNLEC-COM-FOND-SAISIE", e.AnnlecDebats = "ANNLEC-DEBATS", e.AnnlecDebatsDec = "ANNLEC-DEBATS-DEC", e.AnnlecDebatsMotionVote = "ANNLEC-DEBATS-MOTION-VOTE", e.AnnlecDebatsSeance = "ANNLEC-DEBATS-SEANCE", e.AnnlecDepot = "ANNLEC-DEPOT", e.AnnlecDgvt = "ANNLEC-DGVT", e.AnnlecMotion = "ANNLEC-MOTION", e.AnnlecMotionVote = "ANNLEC-MOTION-VOTE", e.Cc = "CC", e.CcConclusion = "CC-CONCLUSION", e.CcSaisieAn = "CC-SAISIE-AN", e.CcSaisieDroit = "CC-SAISIE-DROIT", e.CcSaisiePan = "CC-SAISIE-PAN", e.CcSaisiePm = "CC-SAISIE-PM", e.CcSaisiePr = "CC-SAISIE-PR", e.CcSaisiePsn = "CC-SAISIE-PSN", e.CcSaisieSn = "CC-SAISIE-SN", e.Cg22 = "CG22", e.Cg22Conv = "CG22-CONV", e.Cg22Debats = "CG22-DEBATS", e.Cg22DebatsDec = "CG22-DEBATS-DEC", e.Cg22DebatsSeance = "CG22-DEBATS-SEANCE", e.Cmp = "CMP", e.CmpCom = "CMP-COM", e.CmpComNomin = "CMP-COM-NOMIN", e.CmpComRapportAn = "CMP-COM-RAPPORT-AN", e.CmpComRapportSn = "CMP-COM-RAPPORT-SN", e.CmpDebats = "CMP-DEBATS", e.CmpDebatsAn = "CMP-DEBATS-AN", e.CmpDebatsAnDec = "CMP-DEBATS-AN-DEC", e.CmpDebatsAnSeance = "CMP-DEBATS-AN-SEANCE", e.CmpDebatsDec = "CMP-DEBATS-DEC", e.CmpDebatsSn = "CMP-DEBATS-SN", e.CmpDebatsSnDec = "CMP-DEBATS-SN-DEC", e.CmpDebatsSnSeance = "CMP-DEBATS-SN-SEANCE", e.CmpDec = "CMP-DEC", e.CmpDepot = "CMP-DEPOT", e.CmpDgvt = "CMP-DGVT", e.CmpMotion = "CMP-MOTION", e.CmpMotionVote = "CMP-MOTION-VOTE", e.CmpSaisie = "CMP-SAISIE", e.Eu = "EU", e.EuDec = "EU-DEC", e.Motion = "MOTION", e.MotionVote = "MOTION-VOTE", e.Prom = "PROM", e.PromPub = "PROM-PUB", e.Sn1 = "SN1", e.Sn1Avce = "SN1-AVCE", e.Sn1Com = "SN1-COM", e.Sn1ComAvis = "SN1-COM-AVIS", e.Sn1ComAvisNomin = "SN1-COM-AVIS-NOMIN", e.Sn1ComAvisRapport = "SN1-COM-AVIS-RAPPORT", e.Sn1ComAvisSaisie = "SN1-COM-AVIS-SAISIE", e.Sn1ComFond = "SN1-COM-FOND", e.Sn1ComFondNomin = "SN1-COM-FOND-NOMIN", e.Sn1ComFondRapport = "SN1-COM-FOND-RAPPORT", e.Sn1ComFondSaisie = "SN1-COM-FOND-SAISIE", e.Sn1Debats = "SN1-DEBATS", e.Sn1DebatsDec = "SN1-DEBATS-DEC", e.Sn1DebatsMotion = "SN1-DEBATS-MOTION", e.Sn1DebatsMotionVote = "SN1-DEBATS-MOTION-VOTE", e.Sn1DebatsSeance = "SN1-DEBATS-SEANCE", e.Sn1Depot = "SN1-DEPOT", e.Sn1Dptlettrect = "SN1-DPTLETTRECT", e.Sn1Eti = "SN1-ETI", e.Sn1Procacc = "SN1-PROCACC", e.Sn1Rtrini = "SN1-RTRINI", e.Sn2 = "SN2", e.Sn2Com = "SN2-COM", e.Sn2ComAvis = "SN2-COM-AVIS", e.Sn2ComAvisNomin = "SN2-COM-AVIS-NOMIN", e.Sn2ComAvisRapport = "SN2-COM-AVIS-RAPPORT", e.Sn2ComAvisSaisie = "SN2-COM-AVIS-SAISIE", e.Sn2ComFond = "SN2-COM-FOND", e.Sn2ComFondNomin = "SN2-COM-FOND-NOMIN", e.Sn2ComFondRapport = "SN2-COM-FOND-RAPPORT", e.Sn2ComFondSaisie = "SN2-COM-FOND-SAISIE", e.Sn2Debats = "SN2-DEBATS", e.Sn2DebatsDec = "SN2-DEBATS-DEC", e.Sn2DebatsSeance = "SN2-DEBATS-SEANCE", e.Sn2Depot = "SN2-DEPOT", e.Sn3 = "SN3", e.Sn3Com = "SN3-COM", e.Sn3ComFond = "SN3-COM-FOND", e.Sn3ComFondRapport = "SN3-COM-FOND-RAPPORT", e.Sn3ComFondSaisie = "SN3-COM-FOND-SAISIE", e.Sn3Debats = "SN3-DEBATS", e.Sn3DebatsDec = "SN3-DEBATS-DEC", e.Sn3DebatsSeance = "SN3-DEBATS-SEANCE", e.Sn3Depot = "SN3-DEPOT", e.Snnlec = "SNNLEC", e.SnnlecCom = "SNNLEC-COM", e.SnnlecComFond = "SNNLEC-COM-FOND", e.SnnlecComFondNomin = "SNNLEC-COM-FOND-NOMIN", e.SnnlecComFondRapport = "SNNLEC-COM-FOND-RAPPORT", e.SnnlecComFondSaisie = "SNNLEC-COM-FOND-SAISIE", e.SnnlecDebats = "SNNLEC-DEBATS", e.SnnlecDebatsDec = "SNNLEC-DEBATS-DEC", e.SnnlecDebatsSeance = "SNNLEC-DEBATS-SEANCE", e.SnnlecDepot = "SNNLEC-DEPOT", e))(ye || {}), Ne = /* @__PURE__ */ ((e) => (e.M = "M.", e.Mme = "Mme", e))(Ne || {}), Se = /* @__PURE__ */ ((e) => (e.MandatAvecSuppleantType = "MandatAvecSuppleant_Type", e.MandatMissionType = "MandatMission_Type", e.MandatParlementaireType = "MandatParlementaire_type", e.MandatSimpleType = "MandatSimple_Type", e))(Se || {}), Ae = /* @__PURE__ */ ((e) => (e.CollectivitésDOutreMerEtNouvelleCalédonie = "Collectivités d'outre-mer et Nouvelle-Calédonie", e.Dom = "Dom", e.FrançaisÉtablisHorsDeFrance = "Français établis hors de France", e.Métropolitain = "Métropolitain", e))(Ae || {}), ve = /* @__PURE__ */ ((e) => (e.AgriculteursExploitants = "Agriculteurs exploitants", e.ArtisansCommerçantsChefsDEntreprises = "Artisans, commerçants, chefs d'entreprises", e.ArtisansCommerçantsEtChefsDEntrepriseAncien = "Artisans, commerçants et chefs d'entreprise", e.AutresPersonnesSansActivitéProfessionnelle = "Autres personnes sans activité professionnelle", e.CadresEtProfessionsIntellectuellesSupérieures = "Cadres et professions intellectuelles supérieures", e.Employés = "Employés", e.Ouvriers = "Ouvriers", e.ProfessionsIntermédiaires = "Professions intermédiaires", e.ProfessionsIntermédiairesAncien = "Professions Intermédiaires", e.Retraités = "Retraités", e.SansProfessionDéclarée = "Sans profession déclarée", e))(ve || {}), De = /* @__PURE__ */ ((e) => (e.GroupePolitiqueType = "GroupePolitique_type", e.OrganeCirconscriptionType = "OrganeCirconscription_type", e.OrganeExterneType = "OrganeExterne_Type", e.OrganeExtraParlementaireType = "OrganeExtraParlementaire_type", e.OrganeParlementaireInternational = "OrganeParlementaireInternational", e.OrganeParlementaireType = "OrganeParlementaire_Type", e))(De || {}), Oe = /* @__PURE__ */ ((e) => (e.H = "H", e.M = "M", e.O = "O", e.T = "T", e))(Oe || {}), Ee = /* @__PURE__ */ ((e) => (e.Majoritaire = "Majoritaire", e.Minoritaire = "Minoritaire", e.Opposition = "Opposition", e))(Ee || {}), be = /* @__PURE__ */ ((e) => (e.AssembléeConsultativeProvisoire = "Assemblée consultative provisoire", e.AssembléesNationalesConstituantes = "Assemblées nationales constituantes", e.The3ÈmeRépublique = "3ème République", e.The4ÈmeRépublique = "4ème République", e.The5ÈmeRépublique = "5ème République", e))(be || {});
|
|
1
|
+
var ce = /* @__PURE__ */ ((e) => (e.Api = "API", e.Assemblee = "ASSEMBLEE", e.Bureau = "BUREAU", e.Circonscription = "CIRCONSCRIPTION", e.Cjr = "CJR", e.Cmp = "CMP", e.Cnpe = "CNPE", e.Cnps = "CNPS", e.Comnl = "COMNL", e.Comper = "COMPER", e.Comsenat = "COMSENAT", e.Comspsenat = "COMSPSENAT", e.Confpt = "CONFPT", e.Constitu = "CONSTITU", e.Deleg = "DELEG", e.Delegbureau = "DELEGBUREAU", e.Delegsenat = "DELEGSENAT", e.Ga = "GA", e.Ge = "GE", e.Gevi = "GEVI", e.Gouvernement = "GOUVERNEMENT", e.Gp = "GP", e.Groupesenat = "GROUPESENAT", e.Hcj = "HCJ", e.Ministere = "MINISTERE", e.Miseval = "MISEVAL", e.Misgrtr = "MISGRTR", e.Misinfo = "MISINFO", e.Misinfocom = "MISINFOCOM", e.Misinfopre = "MISINFOPRE", e.Offpar = "OFFPAR", e.Orgaint = "ORGAINT", e.Orgextparl = "ORGEXTPARL", e.Parpol = "PARPOL", e.Presrep = "PRESREP", e.Senat = "SENAT", e))(ce || {}), ye = /* @__PURE__ */ ((e) => (e.An1 = "AN1", e.An1Acin = "AN1-ACIN", e.An1Avce = "AN1-AVCE", e.An1Com = "AN1-COM", e.An1ComAvis = "AN1-COM-AVIS", e.An1ComAvisNomin = "AN1-COM-AVIS-NOMIN", e.An1ComAvisRapport = "AN1-COM-AVIS-RAPPORT", e.An1ComAvisReunion = "AN1-COM-AVIS-REUNION", e.An1ComAvisSaisie = "AN1-COM-AVIS-SAISIE", e.An1ComFond = "AN1-COM-FOND", e.An1ComFondNomin = "AN1-COM-FOND-NOMIN", e.An1ComFondRapport = "AN1-COM-FOND-RAPPORT", e.An1ComFondReunion = "AN1-COM-FOND-REUNION", e.An1ComFondSaisie = "AN1-COM-FOND-SAISIE", e.An1Debats = "AN1-DEBATS", e.An1DebatsDec = "AN1-DEBATS-DEC", e.An1DebatsMotion = "AN1-DEBATS-MOTION", e.An1DebatsMotionVote = "AN1-DEBATS-MOTION-VOTE", e.An1DebatsSeance = "AN1-DEBATS-SEANCE", e.An1Depot = "AN1-DEPOT", e.An1Dgvt = "AN1-DGVT", e.An1Dptlettrect = "AN1-DPTLETTRECT", e.An1Eti = "AN1-ETI", e.An1Motion = "AN1-MOTION", e.An1MotionVote = "AN1-MOTION-VOTE", e.An1Procacc = "AN1-PROCACC", e.An1Recbureau = "AN1-RECBUREAU", e.An1Rtrini = "AN1-RTRINI", e.An2 = "AN2", e.An20 = "AN20", e.An20Comenq = "AN20-COMENQ", e.An20ComenqCrea = "AN20-COMENQ-CREA", e.An20ComenqNomin = "AN20-COMENQ-NOMIN", e.An20ComenqRapport = "AN20-COMENQ-RAPPORT", e.An20Misinf = "AN20-MISINF", e.An20MisinfCrea = "AN20-MISINF-CREA", e.An20MisinfNomin = "AN20-MISINF-NOMIN", e.An20MisinfRapport = "AN20-MISINF-RAPPORT", e.An20Rapport = "AN20-RAPPORT", e.An21 = "AN21", e.An21Apan = "AN21-APAN", e.An21Debats = "AN21-DEBATS", e.An21DebatsMotionVote = "AN21-DEBATS-MOTION-VOTE", e.An21DebatsSeance = "AN21-DEBATS-SEANCE", e.An21Dgvt = "AN21-DGVT", e.An21Motion = "AN21-MOTION", e.An21MotionVote = "AN21-MOTION-VOTE", e.An21Mpr = "AN21-MPR", e.An2Com = "AN2-COM", e.An2ComAvis = "AN2-COM-AVIS", e.An2ComAvisRapport = "AN2-COM-AVIS-RAPPORT", e.An2ComAvisReunion = "AN2-COM-AVIS-REUNION", e.An2ComAvisSaisie = "AN2-COM-AVIS-SAISIE", e.An2ComFond = "AN2-COM-FOND", e.An2ComFondNomin = "AN2-COM-FOND-NOMIN", e.An2ComFondRapport = "AN2-COM-FOND-RAPPORT", e.An2ComFondReunion = "AN2-COM-FOND-REUNION", e.An2ComFondSaisie = "AN2-COM-FOND-SAISIE", e.An2Debats = "AN2-DEBATS", e.An2DebatsDec = "AN2-DEBATS-DEC", e.An2DebatsSeance = "AN2-DEBATS-SEANCE", e.An2Depot = "AN2-DEPOT", e.An3 = "AN3", e.An3Com = "AN3-COM", e.An3ComFond = "AN3-COM-FOND", e.An3ComFondNomin = "AN3-COM-FOND-NOMIN", e.An3ComFondRapport = "AN3-COM-FOND-RAPPORT", e.An3ComFondReunion = "AN3-COM-FOND-REUNION", e.An3ComFondSaisie = "AN3-COM-FOND-SAISIE", e.An3Debats = "AN3-DEBATS", e.An3DebatsDec = "AN3-DEBATS-DEC", e.An3DebatsSeance = "AN3-DEBATS-SEANCE", e.An3Depot = "AN3-DEPOT", e.AnAppli = "AN-APPLI", e.AnAppliRapport = "AN-APPLI-RAPPORT", e.Anldef = "ANLDEF", e.AnldefCom = "ANLDEF-COM", e.AnldefComFond = "ANLDEF-COM-FOND", e.AnldefComFondRapport = "ANLDEF-COM-FOND-RAPPORT", e.AnldefComFondReunion = "ANLDEF-COM-FOND-REUNION", e.AnldefComFondSaisie = "ANLDEF-COM-FOND-SAISIE", e.AnldefDebats = "ANLDEF-DEBATS", e.AnldefDebatsDec = "ANLDEF-DEBATS-DEC", e.AnldefDebatsMotionVote = "ANLDEF-DEBATS-MOTION-VOTE", e.AnldefDebatsSeance = "ANLDEF-DEBATS-SEANCE", e.AnldefDepot = "ANLDEF-DEPOT", e.AnldefDgvt = "ANLDEF-DGVT", e.AnldefMotion = "ANLDEF-MOTION", e.AnldefMotionVote = "ANLDEF-MOTION-VOTE", e.Anluni = "ANLUNI", e.AnluniCom = "ANLUNI-COM", e.AnluniComCae = "ANLUNI-COM-CAE", e.AnluniComCaeDec = "ANLUNI-COM-CAE-DEC", e.AnluniComCaeNomin = "ANLUNI-COM-CAE-NOMIN", e.AnluniComCaeRapport = "ANLUNI-COM-CAE-RAPPORT", e.AnluniComCaeReunion = "ANLUNI-COM-CAE-REUNION", e.AnluniComCaeSaisie = "ANLUNI-COM-CAE-SAISIE", e.AnluniComFond = "ANLUNI-COM-FOND", e.AnluniComFondNomin = "ANLUNI-COM-FOND-NOMIN", e.AnluniComFondRapport = "ANLUNI-COM-FOND-RAPPORT", e.AnluniComFondReunion = "ANLUNI-COM-FOND-REUNION", e.AnluniComFondSaisie = "ANLUNI-COM-FOND-SAISIE", e.AnluniDebats = "ANLUNI-DEBATS", e.AnluniDebatsDec = "ANLUNI-DEBATS-DEC", e.AnluniDebatsSeance = "ANLUNI-DEBATS-SEANCE", e.AnluniDepot = "ANLUNI-DEPOT", e.AnluniRtrini = "ANLUNI-RTRINI", e.Annlec = "ANNLEC", e.AnnlecCom = "ANNLEC-COM", e.AnnlecComAvis = "ANNLEC-COM-AVIS", e.AnnlecComAvisNomin = "ANNLEC-COM-AVIS-NOMIN", e.AnnlecComAvisRapport = "ANNLEC-COM-AVIS-RAPPORT", e.AnnlecComAvisReunion = "ANNLEC-COM-AVIS-REUNION", e.AnnlecComAvisSaisie = "ANNLEC-COM-AVIS-SAISIE", e.AnnlecComFond = "ANNLEC-COM-FOND", e.AnnlecComFondNomin = "ANNLEC-COM-FOND-NOMIN", e.AnnlecComFondRapport = "ANNLEC-COM-FOND-RAPPORT", e.AnnlecComFondReunion = "ANNLEC-COM-FOND-REUNION", e.AnnlecComFondSaisie = "ANNLEC-COM-FOND-SAISIE", e.AnnlecDebats = "ANNLEC-DEBATS", e.AnnlecDebatsDec = "ANNLEC-DEBATS-DEC", e.AnnlecDebatsMotionVote = "ANNLEC-DEBATS-MOTION-VOTE", e.AnnlecDebatsSeance = "ANNLEC-DEBATS-SEANCE", e.AnnlecDepot = "ANNLEC-DEPOT", e.AnnlecDgvt = "ANNLEC-DGVT", e.AnnlecMotion = "ANNLEC-MOTION", e.AnnlecMotionVote = "ANNLEC-MOTION-VOTE", e.Cc = "CC", e.CcConclusion = "CC-CONCLUSION", e.CcSaisieAn = "CC-SAISIE-AN", e.CcSaisieDroit = "CC-SAISIE-DROIT", e.CcSaisiePan = "CC-SAISIE-PAN", e.CcSaisiePm = "CC-SAISIE-PM", e.CcSaisiePr = "CC-SAISIE-PR", e.CcSaisiePsn = "CC-SAISIE-PSN", e.CcSaisieSn = "CC-SAISIE-SN", e.Cg22 = "CG22", e.Cg22Conv = "CG22-CONV", e.Cg22Debats = "CG22-DEBATS", e.Cg22DebatsDec = "CG22-DEBATS-DEC", e.Cg22DebatsSeance = "CG22-DEBATS-SEANCE", e.Cmp = "CMP", e.CmpCom = "CMP-COM", e.CmpComNomin = "CMP-COM-NOMIN", e.CmpComRapportAn = "CMP-COM-RAPPORT-AN", e.CmpComRapportSn = "CMP-COM-RAPPORT-SN", e.CmpDebats = "CMP-DEBATS", e.CmpDebatsAn = "CMP-DEBATS-AN", e.CmpDebatsAnDec = "CMP-DEBATS-AN-DEC", e.CmpDebatsAnSeance = "CMP-DEBATS-AN-SEANCE", e.CmpDebatsDec = "CMP-DEBATS-DEC", e.CmpDebatsSn = "CMP-DEBATS-SN", e.CmpDebatsSnDec = "CMP-DEBATS-SN-DEC", e.CmpDebatsSnSeance = "CMP-DEBATS-SN-SEANCE", e.CmpDec = "CMP-DEC", e.CmpDepot = "CMP-DEPOT", e.CmpDgvt = "CMP-DGVT", e.CmpMotion = "CMP-MOTION", e.CmpMotionVote = "CMP-MOTION-VOTE", e.CmpSaisie = "CMP-SAISIE", e.Eu = "EU", e.EuDec = "EU-DEC", e.Motion = "MOTION", e.MotionVote = "MOTION-VOTE", e.Prom = "PROM", e.PromPub = "PROM-PUB", e.Sn1 = "SN1", e.Sn1Avce = "SN1-AVCE", e.Sn1Com = "SN1-COM", e.Sn1ComAvis = "SN1-COM-AVIS", e.Sn1ComAvisNomin = "SN1-COM-AVIS-NOMIN", e.Sn1ComAvisRapport = "SN1-COM-AVIS-RAPPORT", e.Sn1ComAvisSaisie = "SN1-COM-AVIS-SAISIE", e.Sn1ComFond = "SN1-COM-FOND", e.Sn1ComFondNomin = "SN1-COM-FOND-NOMIN", e.Sn1ComFondRapport = "SN1-COM-FOND-RAPPORT", e.Sn1ComFondSaisie = "SN1-COM-FOND-SAISIE", e.Sn1Debats = "SN1-DEBATS", e.Sn1DebatsDec = "SN1-DEBATS-DEC", e.Sn1DebatsMotion = "SN1-DEBATS-MOTION", e.Sn1DebatsMotionVote = "SN1-DEBATS-MOTION-VOTE", e.Sn1DebatsSeance = "SN1-DEBATS-SEANCE", e.Sn1Depot = "SN1-DEPOT", e.Sn1Dptlettrect = "SN1-DPTLETTRECT", e.Sn1Eti = "SN1-ETI", e.Sn1Procacc = "SN1-PROCACC", e.Sn1Rtrini = "SN1-RTRINI", e.Sn2 = "SN2", e.Sn2Com = "SN2-COM", e.Sn2ComAvis = "SN2-COM-AVIS", e.Sn2ComAvisNomin = "SN2-COM-AVIS-NOMIN", e.Sn2ComAvisRapport = "SN2-COM-AVIS-RAPPORT", e.Sn2ComAvisSaisie = "SN2-COM-AVIS-SAISIE", e.Sn2ComFond = "SN2-COM-FOND", e.Sn2ComFondNomin = "SN2-COM-FOND-NOMIN", e.Sn2ComFondRapport = "SN2-COM-FOND-RAPPORT", e.Sn2ComFondSaisie = "SN2-COM-FOND-SAISIE", e.Sn2Debats = "SN2-DEBATS", e.Sn2DebatsDec = "SN2-DEBATS-DEC", e.Sn2DebatsSeance = "SN2-DEBATS-SEANCE", e.Sn2Depot = "SN2-DEPOT", e.Sn3 = "SN3", e.Sn3Com = "SN3-COM", e.Sn3ComFond = "SN3-COM-FOND", e.Sn3ComFondRapport = "SN3-COM-FOND-RAPPORT", e.Sn3ComFondSaisie = "SN3-COM-FOND-SAISIE", e.Sn3Debats = "SN3-DEBATS", e.Sn3DebatsDec = "SN3-DEBATS-DEC", e.Sn3DebatsSeance = "SN3-DEBATS-SEANCE", e.Sn3Depot = "SN3-DEPOT", e.Snnlec = "SNNLEC", e.SnnlecCom = "SNNLEC-COM", e.SnnlecComFond = "SNNLEC-COM-FOND", e.SnnlecComFondNomin = "SNNLEC-COM-FOND-NOMIN", e.SnnlecComFondRapport = "SNNLEC-COM-FOND-RAPPORT", e.SnnlecComFondSaisie = "SNNLEC-COM-FOND-SAISIE", e.SnnlecDebats = "SNNLEC-DEBATS", e.SnnlecDebatsDec = "SNNLEC-DEBATS-DEC", e.SnnlecDebatsSeance = "SNNLEC-DEBATS-SEANCE", e.SnnlecDepot = "SNNLEC-DEPOT", e))(ye || {}), Ne = /* @__PURE__ */ ((e) => (e.M = "M.", e.Mme = "Mme", e))(Ne || {}), Se = /* @__PURE__ */ ((e) => (e.MandatAvecSuppleantType = "MandatAvecSuppleant_Type", e.MandatMissionType = "MandatMission_Type", e.MandatParlementaireType = "MandatParlementaire_type", e.MandatSimpleType = "MandatSimple_Type", e))(Se || {}), Ae = /* @__PURE__ */ ((e) => (e.CollectivitésDOutreMerEtNouvelleCalédonie = "Collectivités d'outre-mer et Nouvelle-Calédonie", e.Dom = "Dom", e.FrançaisÉtablisHorsDeFrance = "Français établis hors de France", e.Métropolitain = "Métropolitain", e))(Ae || {}), ve = /* @__PURE__ */ ((e) => (e.AgriculteursExploitants = "Agriculteurs exploitants", e.ArtisansCommerçantsChefsDEntreprises = "Artisans, commerçants, chefs d'entreprises", e.ArtisansCommerçantsEtChefsDEntrepriseAncien = "Artisans, commerçants et chefs d'entreprise", e.AutresPersonnesSansActivitéProfessionnelle = "Autres personnes sans activité professionnelle", e.CadresEtProfessionsIntellectuellesSupérieures = "Cadres et professions intellectuelles supérieures", e.Employés = "Employés", e.Ouvriers = "Ouvriers", e.ProfessionsIntermédiaires = "Professions intermédiaires", e.ProfessionsIntermédiairesAncien = "Professions Intermédiaires", e.Retraités = "Retraités", e.SansProfessionDéclarée = "Sans profession déclarée", e))(ve || {}), De = /* @__PURE__ */ ((e) => (e.GroupePolitiqueType = "GroupePolitique_type", e.OrganeCirconscriptionType = "OrganeCirconscription_type", e.OrganeExterneType = "OrganeExterne_Type", e.OrganeExtraParlementaireType = "OrganeExtraParlementaire_type", e.OrganeParlementaireInternational = "OrganeParlementaireInternational", e.OrganeParlementaireType = "OrganeParlementaire_Type", e))(De || {}), Oe = /* @__PURE__ */ ((e) => (e.H = "H", e.M = "M", e.O = "O", e.T = "T", e))(Oe || {}), Ee = /* @__PURE__ */ ((e) => (e.Majoritaire = "Majoritaire", e.Minoritaire = "Minoritaire", e.Opposition = "Opposition", e))(Ee || {}), Re = /* @__PURE__ */ ((e) => (e.AssembléeConsultativeProvisoire = "Assemblée consultative provisoire", e.AssembléesNationalesConstituantes = "Assemblées nationales constituantes", e.The3ÈmeRépublique = "3ème République", e.The4ÈmeRépublique = "4ème République", e.The5ÈmeRépublique = "5ème République", e))(Re || {});
|
|
2
2
|
let Mn = class {
|
|
3
3
|
static toActeursEtOrganes(n) {
|
|
4
4
|
return ne(JSON.parse(n), d("ActeursEtOrganes"));
|
|
@@ -26,7 +26,7 @@ function B(e, n, t = "") {
|
|
|
26
26
|
)} but got ${JSON.stringify(n)}` : `Invalid value ${JSON.stringify(n)} for type ${JSON.stringify(e)}`
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function be(e) {
|
|
30
30
|
if (e.jsonToJS === void 0) {
|
|
31
31
|
const n = {};
|
|
32
32
|
e.props.forEach((t) => n[t.json] = { key: t.js, typ: t.typ }), e.jsonToJS = n;
|
|
@@ -41,7 +41,7 @@ function Te(e) {
|
|
|
41
41
|
return e.jsToJSON;
|
|
42
42
|
}
|
|
43
43
|
function H(e, n, t, E = "") {
|
|
44
|
-
function
|
|
44
|
+
function R(i, s) {
|
|
45
45
|
return typeof i == typeof s ? s : B(i, s, E);
|
|
46
46
|
}
|
|
47
47
|
function x(i, s) {
|
|
@@ -72,8 +72,8 @@ function H(e, n, t, E = "") {
|
|
|
72
72
|
return B("object", a);
|
|
73
73
|
const l = {};
|
|
74
74
|
return Object.getOwnPropertyNames(i).forEach((j) => {
|
|
75
|
-
const S = i[j],
|
|
76
|
-
l[S.key] = H(
|
|
75
|
+
const S = i[j], b = Object.prototype.hasOwnProperty.call(a, j) ? a[j] : void 0;
|
|
76
|
+
l[S.key] = H(b, S.typ, t, S.key);
|
|
77
77
|
}), Object.getOwnPropertyNames(a).forEach((j) => {
|
|
78
78
|
Object.prototype.hasOwnProperty.call(i, j) || (l[j] = H(a[j], s, t, j));
|
|
79
79
|
}), l;
|
|
@@ -83,15 +83,15 @@ function H(e, n, t, E = "") {
|
|
|
83
83
|
return e === null ? e : B(n, e);
|
|
84
84
|
for (; typeof n == "object" && n.ref !== void 0; )
|
|
85
85
|
n = Ce[n.ref];
|
|
86
|
-
return Array.isArray(n) ? J(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? x(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? _(n.arrayItems, e) : n.hasOwnProperty("props") ? L(t(n), n.additional, e) : B(n, e) : n === Date && typeof e != "number" ? h(e) :
|
|
86
|
+
return Array.isArray(n) ? J(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? x(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? _(n.arrayItems, e) : n.hasOwnProperty("props") ? L(t(n), n.additional, e) : B(n, e) : n === Date && typeof e != "number" ? h(e) : R(n, e);
|
|
87
87
|
}
|
|
88
88
|
function ne(e, n) {
|
|
89
|
-
return H(e, n,
|
|
89
|
+
return H(e, n, be);
|
|
90
90
|
}
|
|
91
91
|
function oe(e, n) {
|
|
92
92
|
return H(e, n, Te);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function q(e) {
|
|
95
95
|
return { arrayItems: e };
|
|
96
96
|
}
|
|
97
97
|
function u(...e) {
|
|
@@ -106,8 +106,8 @@ function d(e) {
|
|
|
106
106
|
const Ce = {
|
|
107
107
|
ActeursEtOrganes: v(
|
|
108
108
|
[
|
|
109
|
-
{ json: "organes", js: "organes", typ:
|
|
110
|
-
{ json: "acteurs", js: "acteurs", typ:
|
|
109
|
+
{ json: "organes", js: "organes", typ: q(d("Organe")) },
|
|
110
|
+
{ json: "acteurs", js: "acteurs", typ: q(d("Acteur")) }
|
|
111
111
|
],
|
|
112
112
|
!1
|
|
113
113
|
),
|
|
@@ -125,11 +125,11 @@ const Ce = {
|
|
|
125
125
|
{
|
|
126
126
|
json: "adresses",
|
|
127
127
|
js: "adresses",
|
|
128
|
-
typ: u(void 0,
|
|
128
|
+
typ: u(void 0, q(u(d("AdresseElectronique"), d("AdressePostale"))))
|
|
129
129
|
},
|
|
130
|
-
{ json: "mandats", js: "mandats", typ: u(void 0,
|
|
130
|
+
{ json: "mandats", js: "mandats", typ: u(void 0, q(d("Mandat"))) },
|
|
131
131
|
{ json: "photo", js: "photo", typ: u(void 0, d("Photo")) },
|
|
132
|
-
{ json: "deports", js: "deports", typ: u(void 0,
|
|
132
|
+
{ json: "deports", js: "deports", typ: u(void 0, q(d("Deport"))) }
|
|
133
133
|
],
|
|
134
134
|
!1
|
|
135
135
|
),
|
|
@@ -213,14 +213,14 @@ const Ce = {
|
|
|
213
213
|
{ json: "preseance", js: "preseance", typ: u(void 0, "") },
|
|
214
214
|
{ json: "nominPrincipale", js: "nominPrincipale", typ: "" },
|
|
215
215
|
{ json: "infosQualite", js: "infosQualite", typ: d("InfosQualite") },
|
|
216
|
-
{ json: "organesRefs", js: "organesRefs", typ:
|
|
216
|
+
{ json: "organesRefs", js: "organesRefs", typ: q("") },
|
|
217
217
|
{ json: "suppleant", js: "suppleant", typ: u(void 0, d("Suppleant")) },
|
|
218
218
|
{ json: "election", js: "election", typ: u(void 0, d("Election")) },
|
|
219
219
|
{ json: "mandature", js: "mandature", typ: u(void 0, d("Mandature")) },
|
|
220
220
|
{
|
|
221
221
|
json: "collaborateurs",
|
|
222
222
|
js: "collaborateurs",
|
|
223
|
-
typ: u(void 0,
|
|
223
|
+
typ: u(void 0, q(d("Collaborateur")))
|
|
224
224
|
},
|
|
225
225
|
{ json: "libelle", js: "libelle", typ: u(void 0, "") },
|
|
226
226
|
{
|
|
@@ -412,7 +412,7 @@ const Ce = {
|
|
|
412
412
|
{
|
|
413
413
|
json: "listePays",
|
|
414
414
|
js: "listePays",
|
|
415
|
-
typ: u(void 0,
|
|
415
|
+
typ: u(void 0, q(""))
|
|
416
416
|
}
|
|
417
417
|
],
|
|
418
418
|
!1
|
|
@@ -529,7 +529,7 @@ let gn = class {
|
|
|
529
529
|
return JSON.stringify(ae(n, A("Reunion")), null, 2);
|
|
530
530
|
}
|
|
531
531
|
};
|
|
532
|
-
function
|
|
532
|
+
function Q(e, n, t = "") {
|
|
533
533
|
throw Error(
|
|
534
534
|
t ? `Invalid value for key "${t}". Expected type ${JSON.stringify(
|
|
535
535
|
e
|
|
@@ -551,8 +551,8 @@ function Ge(e) {
|
|
|
551
551
|
return e.jsToJSON;
|
|
552
552
|
}
|
|
553
553
|
function z(e, n, t, E = "") {
|
|
554
|
-
function
|
|
555
|
-
return typeof i == typeof s ? s :
|
|
554
|
+
function R(i, s) {
|
|
555
|
+
return typeof i == typeof s ? s : Q(i, s, E);
|
|
556
556
|
}
|
|
557
557
|
function x(i, s) {
|
|
558
558
|
const a = i.length;
|
|
@@ -563,37 +563,37 @@ function z(e, n, t, E = "") {
|
|
|
563
563
|
} catch {
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
return
|
|
566
|
+
return Q(i, s);
|
|
567
567
|
}
|
|
568
568
|
function J(i, s) {
|
|
569
|
-
return i.indexOf(s) !== -1 ? s :
|
|
569
|
+
return i.indexOf(s) !== -1 ? s : Q(i, s);
|
|
570
570
|
}
|
|
571
571
|
function _(i, s) {
|
|
572
|
-
return Array.isArray(s) ? s.map((a) => z(a, i, t)) :
|
|
572
|
+
return Array.isArray(s) ? s.map((a) => z(a, i, t)) : Q("array", s);
|
|
573
573
|
}
|
|
574
574
|
function h(i) {
|
|
575
575
|
if (i === null)
|
|
576
576
|
return null;
|
|
577
577
|
const s = new Date(i);
|
|
578
|
-
return isNaN(s.valueOf()) ?
|
|
578
|
+
return isNaN(s.valueOf()) ? Q("Date", i) : s;
|
|
579
579
|
}
|
|
580
580
|
function L(i, s, a) {
|
|
581
581
|
if (a === null || typeof a != "object" || Array.isArray(a))
|
|
582
|
-
return
|
|
582
|
+
return Q("object", a);
|
|
583
583
|
const l = {};
|
|
584
584
|
return Object.getOwnPropertyNames(i).forEach((j) => {
|
|
585
|
-
const S = i[j],
|
|
586
|
-
l[S.key] = z(
|
|
585
|
+
const S = i[j], b = Object.prototype.hasOwnProperty.call(a, j) ? a[j] : void 0;
|
|
586
|
+
l[S.key] = z(b, S.typ, t, S.key);
|
|
587
587
|
}), Object.getOwnPropertyNames(a).forEach((j) => {
|
|
588
588
|
Object.prototype.hasOwnProperty.call(i, j) || (l[j] = z(a[j], s, t, j));
|
|
589
589
|
}), l;
|
|
590
590
|
}
|
|
591
591
|
if (n === "any") return e;
|
|
592
592
|
if (n === null)
|
|
593
|
-
return e === null ? e :
|
|
593
|
+
return e === null ? e : Q(n, e);
|
|
594
594
|
for (; typeof n == "object" && n.ref !== void 0; )
|
|
595
595
|
n = Be[n.ref];
|
|
596
|
-
return Array.isArray(n) ? J(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? x(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? _(n.arrayItems, e) : n.hasOwnProperty("props") ? L(t(n), n.additional, e) :
|
|
596
|
+
return Array.isArray(n) ? J(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? x(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? _(n.arrayItems, e) : n.hasOwnProperty("props") ? L(t(n), n.additional, e) : Q(n, e) : n === Date && typeof e != "number" ? h(e) : R(n, e);
|
|
597
597
|
}
|
|
598
598
|
function re(e, n) {
|
|
599
599
|
return z(e, n, $e);
|
|
@@ -911,7 +911,7 @@ const Be = {
|
|
|
911
911
|
PersonneAuditionneeXsiType: ["IdActeur_type", "IdPersonneExterne_type"],
|
|
912
912
|
TypeReunion: ["DEP", "GA", "GE", "GEVI", "GP", "HÉ Aurélien"]
|
|
913
913
|
};
|
|
914
|
-
var
|
|
914
|
+
var qe = /* @__PURE__ */ ((e) => (e.AdoptionAmendementMainLevéeAdt = "ADOPTION amendement (main levée) adt", e.AdoptionDUnArticleVoteÀMainLevée = "ADOPTION d’un article (vote à main levée)", e.AdoptionDUnSousAmendementMainLevéeSsAdt = "ADOPTION d’un sous-amendement (main levée) ss-adt", e.AdoptionDePlusieursAmendementsMainLevéeAdts = "ADOPTION de plusieurs amendements (main levée) adts", e.AdoptionDePlusieursSousAmendementsMainLevéeSsAdts = "ADOPTION de plusieurs sous-amendements (main levée) ss-adts", e.Empty = "", e.RejetDUnAmendementMainLevéeAdt = "REJET d’un amendement (main levée) adt", e.RejetDUnArticleVoteÀMainLevée = "REJET d’un article (vote à main levée)", e.RejetDUnSousAmendementMainLevéeSsAdt = "REJET d’un sous-amendement (main levée) ss-adt", e.RejetDePlusieursAmendementsMainLevéeAdts = "REJET de plusieurs amendements (main levée) adts", e.RejetDePlusieursSousAmendementsMainLevéeSsAdts = "REJET de plusieurs sous-amendements (main levée) ss-adts", e.RejetMotionDeRejetPréalableMainLevée = "REJET motion de rejet préalable (main levée)", e))(qe || {});
|
|
915
915
|
let Jn = class {
|
|
916
916
|
static toComptesRendus(n) {
|
|
917
917
|
return ue(JSON.parse(n), m("ComptesRendus"));
|
|
@@ -927,9 +927,9 @@ let Jn = class {
|
|
|
927
927
|
}
|
|
928
928
|
};
|
|
929
929
|
function $(e, n, t, E = "") {
|
|
930
|
-
const
|
|
930
|
+
const R = ie(e), x = E ? ` on ${E}` : "", J = t ? ` for key "${t}"` : "";
|
|
931
931
|
throw Error(
|
|
932
|
-
`Invalid value${J}${x}. Expected ${
|
|
932
|
+
`Invalid value${J}${x}. Expected ${R} but got ${JSON.stringify(
|
|
933
933
|
n
|
|
934
934
|
)}`
|
|
935
935
|
);
|
|
@@ -937,77 +937,77 @@ function $(e, n, t, E = "") {
|
|
|
937
937
|
function ie(e) {
|
|
938
938
|
return Array.isArray(e) ? e.length === 2 && e[0] === void 0 ? `an optional ${ie(e[1])}` : `one of [${e.map((n) => ie(n)).join(", ")}]` : typeof e == "object" && e.literal !== void 0 ? e.literal : typeof e;
|
|
939
939
|
}
|
|
940
|
-
function
|
|
940
|
+
function Qe(e) {
|
|
941
941
|
if (e.jsonToJS === void 0) {
|
|
942
942
|
const n = {};
|
|
943
943
|
e.props.forEach((t) => n[t.json] = { key: t.js, typ: t.typ }), e.jsonToJS = n;
|
|
944
944
|
}
|
|
945
945
|
return e.jsonToJS;
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function Ue(e) {
|
|
948
948
|
if (e.jsToJSON === void 0) {
|
|
949
949
|
const n = {};
|
|
950
950
|
e.props.forEach((t) => n[t.js] = { key: t.json, typ: t.typ }), e.jsToJSON = n;
|
|
951
951
|
}
|
|
952
952
|
return e.jsToJSON;
|
|
953
953
|
}
|
|
954
|
-
function W(e, n, t, E = "",
|
|
954
|
+
function W(e, n, t, E = "", R = "") {
|
|
955
955
|
function x(a, l) {
|
|
956
|
-
return typeof a == typeof l ? l : $(a, l, E,
|
|
956
|
+
return typeof a == typeof l ? l : $(a, l, E, R);
|
|
957
957
|
}
|
|
958
958
|
function J(a, l) {
|
|
959
959
|
const j = a.length;
|
|
960
960
|
for (let S = 0; S < j; S++) {
|
|
961
|
-
const
|
|
961
|
+
const b = a[S];
|
|
962
962
|
try {
|
|
963
|
-
return W(l,
|
|
963
|
+
return W(l, b, t);
|
|
964
964
|
} catch {
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
|
-
return $(a, l, E,
|
|
967
|
+
return $(a, l, E, R);
|
|
968
968
|
}
|
|
969
969
|
function _(a, l) {
|
|
970
970
|
return a.indexOf(l) !== -1 ? l : $(
|
|
971
971
|
a.map((j) => k(j)),
|
|
972
972
|
l,
|
|
973
973
|
E,
|
|
974
|
-
|
|
974
|
+
R
|
|
975
975
|
);
|
|
976
976
|
}
|
|
977
977
|
function h(a, l) {
|
|
978
|
-
return Array.isArray(l) ? l.map((j) => W(j, a, t)) : $(k("array"), l, E,
|
|
978
|
+
return Array.isArray(l) ? l.map((j) => W(j, a, t)) : $(k("array"), l, E, R);
|
|
979
979
|
}
|
|
980
980
|
function L(a) {
|
|
981
981
|
if (a === null)
|
|
982
982
|
return null;
|
|
983
983
|
const l = new Date(a);
|
|
984
|
-
return isNaN(l.valueOf()) ? $(k("Date"), a, E,
|
|
984
|
+
return isNaN(l.valueOf()) ? $(k("Date"), a, E, R) : l;
|
|
985
985
|
}
|
|
986
986
|
function i(a, l, j) {
|
|
987
987
|
if (j === null || typeof j != "object" || Array.isArray(j))
|
|
988
|
-
return $(k(s || "object"), j, E,
|
|
988
|
+
return $(k(s || "object"), j, E, R);
|
|
989
989
|
const S = {};
|
|
990
|
-
return Object.getOwnPropertyNames(a).forEach((
|
|
991
|
-
const ee = a[
|
|
992
|
-
S[ee.key] = W(fe, ee.typ, t,
|
|
993
|
-
}), Object.getOwnPropertyNames(j).forEach((
|
|
994
|
-
Object.prototype.hasOwnProperty.call(a,
|
|
990
|
+
return Object.getOwnPropertyNames(a).forEach((b) => {
|
|
991
|
+
const ee = a[b], fe = Object.prototype.hasOwnProperty.call(j, b) ? j[b] : void 0;
|
|
992
|
+
S[ee.key] = W(fe, ee.typ, t, b, s);
|
|
993
|
+
}), Object.getOwnPropertyNames(j).forEach((b) => {
|
|
994
|
+
Object.prototype.hasOwnProperty.call(a, b) || (S[b] = W(j[b], l, t, b, s));
|
|
995
995
|
}), S;
|
|
996
996
|
}
|
|
997
997
|
if (n === "any") return e;
|
|
998
998
|
if (n === null)
|
|
999
|
-
return e === null ? e : $(n, e, E,
|
|
1000
|
-
if (n === !1) return $(n, e, E,
|
|
999
|
+
return e === null ? e : $(n, e, E, R);
|
|
1000
|
+
if (n === !1) return $(n, e, E, R);
|
|
1001
1001
|
let s;
|
|
1002
1002
|
for (; typeof n == "object" && n.ref !== void 0; )
|
|
1003
|
-
s = n.ref, n =
|
|
1004
|
-
return Array.isArray(n) ? _(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? J(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? h(n.arrayItems, e) : n.hasOwnProperty("props") ? i(t(n), n.additional, e) : $(n, e, E,
|
|
1003
|
+
s = n.ref, n = we[n.ref];
|
|
1004
|
+
return Array.isArray(n) ? _(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? J(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? h(n.arrayItems, e) : n.hasOwnProperty("props") ? i(t(n), n.additional, e) : $(n, e, E, R) : n === Date && typeof e != "number" ? L(e) : x(n, e);
|
|
1005
1005
|
}
|
|
1006
1006
|
function ue(e, n) {
|
|
1007
|
-
return W(e, n,
|
|
1007
|
+
return W(e, n, Qe);
|
|
1008
1008
|
}
|
|
1009
1009
|
function pe(e, n) {
|
|
1010
|
-
return W(e, n,
|
|
1010
|
+
return W(e, n, Ue);
|
|
1011
1011
|
}
|
|
1012
1012
|
function k(e) {
|
|
1013
1013
|
return { literal: e };
|
|
@@ -1024,7 +1024,7 @@ function V(e, n) {
|
|
|
1024
1024
|
function m(e) {
|
|
1025
1025
|
return { ref: e };
|
|
1026
1026
|
}
|
|
1027
|
-
const
|
|
1027
|
+
const we = {
|
|
1028
1028
|
ComptesRendus: V(
|
|
1029
1029
|
[{ json: "comptesRendus", js: "comptesRendus", typ: C(m("CompteRendu")) }],
|
|
1030
1030
|
!1
|
|
@@ -1295,7 +1295,7 @@ let _n = class {
|
|
|
1295
1295
|
return JSON.stringify(te(n, r("DossierParlementaire")), null, 2);
|
|
1296
1296
|
}
|
|
1297
1297
|
};
|
|
1298
|
-
function
|
|
1298
|
+
function U(e, n, t = "") {
|
|
1299
1299
|
throw Error(
|
|
1300
1300
|
t ? `Invalid value for key "${t}". Expected type ${JSON.stringify(
|
|
1301
1301
|
e
|
|
@@ -1317,8 +1317,8 @@ function pn(e) {
|
|
|
1317
1317
|
return e.jsToJSON;
|
|
1318
1318
|
}
|
|
1319
1319
|
function X(e, n, t, E = "") {
|
|
1320
|
-
function
|
|
1321
|
-
return typeof i == typeof s ? s :
|
|
1320
|
+
function R(i, s) {
|
|
1321
|
+
return typeof i == typeof s ? s : U(i, s, E);
|
|
1322
1322
|
}
|
|
1323
1323
|
function x(i, s) {
|
|
1324
1324
|
const a = i.length;
|
|
@@ -1329,37 +1329,37 @@ function X(e, n, t, E = "") {
|
|
|
1329
1329
|
} catch {
|
|
1330
1330
|
}
|
|
1331
1331
|
}
|
|
1332
|
-
return
|
|
1332
|
+
return U(i, s);
|
|
1333
1333
|
}
|
|
1334
1334
|
function J(i, s) {
|
|
1335
|
-
return i.indexOf(s) !== -1 ? s :
|
|
1335
|
+
return i.indexOf(s) !== -1 ? s : U(i, s);
|
|
1336
1336
|
}
|
|
1337
1337
|
function _(i, s) {
|
|
1338
|
-
return Array.isArray(s) ? s.map((a) => X(a, i, t)) :
|
|
1338
|
+
return Array.isArray(s) ? s.map((a) => X(a, i, t)) : U("array", s);
|
|
1339
1339
|
}
|
|
1340
1340
|
function h(i) {
|
|
1341
1341
|
if (i === null)
|
|
1342
1342
|
return null;
|
|
1343
1343
|
const s = new Date(i);
|
|
1344
|
-
return isNaN(s.valueOf()) ?
|
|
1344
|
+
return isNaN(s.valueOf()) ? U("Date", i) : s;
|
|
1345
1345
|
}
|
|
1346
1346
|
function L(i, s, a) {
|
|
1347
1347
|
if (a === null || typeof a != "object" || Array.isArray(a))
|
|
1348
|
-
return
|
|
1348
|
+
return U("object", a);
|
|
1349
1349
|
const l = {};
|
|
1350
1350
|
return Object.getOwnPropertyNames(i).forEach((j) => {
|
|
1351
|
-
const S = i[j],
|
|
1352
|
-
l[S.key] = X(
|
|
1351
|
+
const S = i[j], b = Object.prototype.hasOwnProperty.call(a, j) ? a[j] : void 0;
|
|
1352
|
+
l[S.key] = X(b, S.typ, t, S.key);
|
|
1353
1353
|
}), Object.getOwnPropertyNames(a).forEach((j) => {
|
|
1354
1354
|
Object.prototype.hasOwnProperty.call(i, j) || (l[j] = X(a[j], s, t, j));
|
|
1355
1355
|
}), l;
|
|
1356
1356
|
}
|
|
1357
1357
|
if (n === "any") return e;
|
|
1358
1358
|
if (n === null)
|
|
1359
|
-
return e === null ? e :
|
|
1359
|
+
return e === null ? e : U(n, e);
|
|
1360
1360
|
for (; typeof n == "object" && n.ref !== void 0; )
|
|
1361
1361
|
n = jn[n.ref];
|
|
1362
|
-
return Array.isArray(n) ? J(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? x(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? _(n.arrayItems, e) : n.hasOwnProperty("props") ? L(t(n), n.additional, e) :
|
|
1362
|
+
return Array.isArray(n) ? J(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? x(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? _(n.arrayItems, e) : n.hasOwnProperty("props") ? L(t(n), n.additional, e) : U(n, e) : n === Date && typeof e != "number" ? h(e) : R(n, e);
|
|
1363
1363
|
}
|
|
1364
1364
|
function se(e, n) {
|
|
1365
1365
|
return X(e, n, un);
|
|
@@ -2168,7 +2168,7 @@ function yn(e) {
|
|
|
2168
2168
|
return e.jsToJSON;
|
|
2169
2169
|
}
|
|
2170
2170
|
function K(e, n, t, E = "") {
|
|
2171
|
-
function
|
|
2171
|
+
function R(i, s) {
|
|
2172
2172
|
return typeof i == typeof s ? s : G(i, s, E);
|
|
2173
2173
|
}
|
|
2174
2174
|
function x(i, s) {
|
|
@@ -2199,8 +2199,8 @@ function K(e, n, t, E = "") {
|
|
|
2199
2199
|
return G("object", a);
|
|
2200
2200
|
const l = {};
|
|
2201
2201
|
return Object.getOwnPropertyNames(i).forEach((j) => {
|
|
2202
|
-
const S = i[j],
|
|
2203
|
-
l[S.key] = K(
|
|
2202
|
+
const S = i[j], b = Object.prototype.hasOwnProperty.call(a, j) ? a[j] : void 0;
|
|
2203
|
+
l[S.key] = K(b, S.typ, t, S.key);
|
|
2204
2204
|
}), Object.getOwnPropertyNames(a).forEach((j) => {
|
|
2205
2205
|
Object.prototype.hasOwnProperty.call(i, j) || (l[j] = K(a[j], s, t, j));
|
|
2206
2206
|
}), l;
|
|
@@ -2211,7 +2211,7 @@ function K(e, n, t, E = "") {
|
|
|
2211
2211
|
if (n === !1) return G(n, e);
|
|
2212
2212
|
for (; typeof n == "object" && n.ref !== void 0; )
|
|
2213
2213
|
n = fn[n.ref];
|
|
2214
|
-
return Array.isArray(n) ? J(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? x(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? _(n.arrayItems, e) : n.hasOwnProperty("props") ? L(t(n), n.additional, e) : G(n, e) : n === Date && typeof e != "number" ? h(e) :
|
|
2214
|
+
return Array.isArray(n) ? J(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? x(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? _(n.arrayItems, e) : n.hasOwnProperty("props") ? L(t(n), n.additional, e) : G(n, e) : n === Date && typeof e != "number" ? h(e) : R(n, e);
|
|
2215
2215
|
}
|
|
2216
2216
|
function je(e, n) {
|
|
2217
2217
|
return K(e, n, cn);
|
|
@@ -2408,7 +2408,7 @@ const fn = {
|
|
|
2408
2408
|
TypeJoQuestion: ["JO_QUESTION", "JO_LOI_DECRET", "JO_DEBAT"],
|
|
2409
2409
|
TypeQuestion: ["QE", "QG", "QOSD"]
|
|
2410
2410
|
};
|
|
2411
|
-
var Nn = /* @__PURE__ */ ((e) => (e.DecompteDissidentsPositionGroupe = "DecompteDissidentsPositionGroupe", e.DecompteNominatif = "DecompteNominatif", e))(Nn || {}), Sn = /* @__PURE__ */ ((e) => (e.Adopté = "adopté", e.Rejeté = "rejeté", e))(Sn || {}), An = /* @__PURE__ */ ((e) => (e.LAssembléeNationaleAAdopté = "l'Assemblée nationale a adopté", e.LAssembléeNationaleNAPasAdopté = "L'Assemblée nationale n'a pas adopté", e.LeCongrèsDuParlementAAdopté = "Le Congrès du Parlement a adopté", e.LeCongrèsDuParlementNAPasAdopté = "Le Congrès du Parlement n'a pas adopté", e))(An || {}), vn = /* @__PURE__ */ ((e) => (e.Moc = "MOC", e.Sat = "SAT", e.Spo = "SPO", e.Sps = "SPS", e.Ssg = "SSG", e))(vn || {}), Dn = /* @__PURE__ */ ((e) => (e.MotionDeCensure = "motion de censure", e.ScrutinPublicOrdinaire = "scrutin public ordinaire", e.ScrutinPublicSolennel = "scrutin public solennel", e.ScrutinÀLaTribune = "scrutin à la tribune", e.ScrutinSolennelCongrès = "Scrutin solennel congrès", e))(Dn || {}), On = /* @__PURE__ */ ((e) => (e.MajoritéAbsolueDesSuffragesExprimés = "Majorité absolue des suffrages exprimés", e.majoritéAbsolueDesSuffragesExprimés = "majorité absolue des suffrages exprimés", e.majoritéDesMembresComposantLAssembléeNationale = "majorité des membres composant l'Assemblée nationale", e.majoritéDesMembresComposantsComposantLAssemblée = "majorité des membres composants composant l'Assemblée", e.majoritéDesMembresComposantsComposantLAssembléeNationale = "majorité des membres composants composant l'Assemblée nationale", e.MajoritéRequisePourUnCongrès = "Majorité requise pour un Congrès", e.MajoritéRequisePourUneMotionDeCensure = "Majorité requise pour une motion de censure", e))(On || {}), En = /* @__PURE__ */ ((e) => (e.Mg = "MG", e.Pan = "PAN", e.Pse = "PSE", e))(En || {}),
|
|
2411
|
+
var Nn = /* @__PURE__ */ ((e) => (e.DecompteDissidentsPositionGroupe = "DecompteDissidentsPositionGroupe", e.DecompteNominatif = "DecompteNominatif", e))(Nn || {}), Sn = /* @__PURE__ */ ((e) => (e.Adopté = "adopté", e.Rejeté = "rejeté", e))(Sn || {}), An = /* @__PURE__ */ ((e) => (e.LAssembléeNationaleAAdopté = "l'Assemblée nationale a adopté", e.LAssembléeNationaleNAPasAdopté = "L'Assemblée nationale n'a pas adopté", e.LeCongrèsDuParlementAAdopté = "Le Congrès du Parlement a adopté", e.LeCongrèsDuParlementNAPasAdopté = "Le Congrès du Parlement n'a pas adopté", e))(An || {}), vn = /* @__PURE__ */ ((e) => (e.Moc = "MOC", e.Sat = "SAT", e.Spo = "SPO", e.Sps = "SPS", e.Ssg = "SSG", e))(vn || {}), Dn = /* @__PURE__ */ ((e) => (e.MotionDeCensure = "motion de censure", e.ScrutinPublicOrdinaire = "scrutin public ordinaire", e.ScrutinPublicSolennel = "scrutin public solennel", e.ScrutinÀLaTribune = "scrutin à la tribune", e.ScrutinSolennelCongrès = "Scrutin solennel congrès", e))(Dn || {}), On = /* @__PURE__ */ ((e) => (e.MajoritéAbsolueDesSuffragesExprimés = "Majorité absolue des suffrages exprimés", e.majoritéAbsolueDesSuffragesExprimés = "majorité absolue des suffrages exprimés", e.majoritéDesMembresComposantLAssembléeNationale = "majorité des membres composant l'Assemblée nationale", e.majoritéDesMembresComposantsComposantLAssemblée = "majorité des membres composants composant l'Assemblée", e.majoritéDesMembresComposantsComposantLAssembléeNationale = "majorité des membres composants composant l'Assemblée nationale", e.MajoritéRequisePourUnCongrès = "Majorité requise pour un Congrès", e.MajoritéRequisePourUneMotionDeCensure = "Majorité requise pour une motion de censure", e))(On || {}), En = /* @__PURE__ */ ((e) => (e.Mg = "MG", e.Pan = "PAN", e.Pse = "PSE", e))(En || {}), Rn = /* @__PURE__ */ ((e) => (e.Abstention = "abstention", e.Contre = "contre", e.Pour = "pour", e))(Rn || {}), bn = /* @__PURE__ */ ((e) => (e.Congrès = "Congrès", e.Hémicycle = "Hémicycle", e.Salons = "Salons", e))(bn || {});
|
|
2412
2412
|
class $n {
|
|
2413
2413
|
static toScrutins(n) {
|
|
2414
2414
|
return me(JSON.parse(n), f("Scrutins"));
|
|
@@ -2423,7 +2423,7 @@ class $n {
|
|
|
2423
2423
|
return JSON.stringify(de(n, f("Scrutin")), null, 2);
|
|
2424
2424
|
}
|
|
2425
2425
|
}
|
|
2426
|
-
function
|
|
2426
|
+
function w(e, n, t = "") {
|
|
2427
2427
|
throw Error(
|
|
2428
2428
|
t ? `Invalid value for key "${t}". Expected type ${JSON.stringify(
|
|
2429
2429
|
e
|
|
@@ -2445,8 +2445,8 @@ function Cn(e) {
|
|
|
2445
2445
|
return e.jsToJSON;
|
|
2446
2446
|
}
|
|
2447
2447
|
function Y(e, n, t, E = "") {
|
|
2448
|
-
function
|
|
2449
|
-
return typeof i == typeof s ? s :
|
|
2448
|
+
function R(i, s) {
|
|
2449
|
+
return typeof i == typeof s ? s : w(i, s, E);
|
|
2450
2450
|
}
|
|
2451
2451
|
function x(i, s) {
|
|
2452
2452
|
const a = i.length;
|
|
@@ -2457,37 +2457,37 @@ function Y(e, n, t, E = "") {
|
|
|
2457
2457
|
} catch {
|
|
2458
2458
|
}
|
|
2459
2459
|
}
|
|
2460
|
-
return
|
|
2460
|
+
return w(i, s);
|
|
2461
2461
|
}
|
|
2462
2462
|
function J(i, s) {
|
|
2463
|
-
return i.indexOf(s) !== -1 ? s :
|
|
2463
|
+
return i.indexOf(s) !== -1 ? s : w(i, s);
|
|
2464
2464
|
}
|
|
2465
2465
|
function _(i, s) {
|
|
2466
|
-
return Array.isArray(s) ? s.map((a) => Y(a, i, t)) :
|
|
2466
|
+
return Array.isArray(s) ? s.map((a) => Y(a, i, t)) : w("array", s);
|
|
2467
2467
|
}
|
|
2468
2468
|
function h(i) {
|
|
2469
2469
|
if (i === null)
|
|
2470
2470
|
return null;
|
|
2471
2471
|
const s = new Date(i);
|
|
2472
|
-
return isNaN(s.valueOf()) ?
|
|
2472
|
+
return isNaN(s.valueOf()) ? w("Date", i) : s;
|
|
2473
2473
|
}
|
|
2474
2474
|
function L(i, s, a) {
|
|
2475
2475
|
if (a === null || typeof a != "object" || Array.isArray(a))
|
|
2476
|
-
return
|
|
2476
|
+
return w("object", a);
|
|
2477
2477
|
const l = {};
|
|
2478
2478
|
return Object.getOwnPropertyNames(i).forEach((j) => {
|
|
2479
|
-
const S = i[j],
|
|
2480
|
-
l[S.key] = Y(
|
|
2479
|
+
const S = i[j], b = Object.prototype.hasOwnProperty.call(a, j) ? a[j] : void 0;
|
|
2480
|
+
l[S.key] = Y(b, S.typ, t, S.key);
|
|
2481
2481
|
}), Object.getOwnPropertyNames(a).forEach((j) => {
|
|
2482
2482
|
Object.prototype.hasOwnProperty.call(i, j) || (l[j] = Y(a[j], s, t, j));
|
|
2483
2483
|
}), l;
|
|
2484
2484
|
}
|
|
2485
2485
|
if (n === "any") return e;
|
|
2486
2486
|
if (n === null)
|
|
2487
|
-
return e === null ? e :
|
|
2487
|
+
return e === null ? e : w(n, e);
|
|
2488
2488
|
for (; typeof n == "object" && n.ref !== void 0; )
|
|
2489
2489
|
n = Pn[n.ref];
|
|
2490
|
-
return Array.isArray(n) ? J(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? x(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? _(n.arrayItems, e) : n.hasOwnProperty("props") ? L(t(n), n.additional, e) :
|
|
2490
|
+
return Array.isArray(n) ? J(n, e) : typeof n == "object" ? n.hasOwnProperty("unionMembers") ? x(n.unionMembers, e) : n.hasOwnProperty("arrayItems") ? _(n.arrayItems, e) : n.hasOwnProperty("props") ? L(t(n), n.additional, e) : w(n, e) : n === Date && typeof e != "number" ? h(e) : R(n, e);
|
|
2491
2491
|
}
|
|
2492
2492
|
function me(e, n) {
|
|
2493
2493
|
return Y(e, n, Tn);
|
|
@@ -2759,13 +2759,13 @@ const Pn = {
|
|
|
2759
2759
|
CausePositionVote: ["MG", "PAN", "PSE"],
|
|
2760
2760
|
PositionMajoritaire: ["abstention", "contre", "pour"],
|
|
2761
2761
|
LieuVote: ["Congrès", "Hémicycle", "Salons"]
|
|
2762
|
-
}
|
|
2762
|
+
}, Gn = /^((?<documentType>ACIN|ALCN|AVCE|AVIS|DECL|ETDI|LETT|MESS|MION|PION|PNRE|PRJL|RAPP|RINF|RION)(?<chambre>AN|CG|SN)(?<republique>R\d+)[LS](?<legislature>\d+)(?<etat>B|BTA|BTC|TAP)(?<numero>\d+)(-.*)?)|((?<documentType2>MION)(?<chambre2>AN|SN)(?<republique2>R\d+)[LS](?<legislature2>\d+)-N(?<numero2>\d+))$/, Bn = /^DL(R\d+)(L\d+)N(\d+)$/, qn = /^RU(AN|CG|SN)(R\d+)(L\d+)([AS]\d{4})(IDC|IDFL?|IDS)(\d+)$/, Qn = /^VT(AN|CG)(R\d+)(L\d+)V(\d+)$/, Un = /^CR(S|C)(AN|CG)(R\d+)(L\d+)(S\d+)((?:O|E|D|PO)\d+)(N\d+)$/, wn = /^QAN(R\d+)(L\d+)Q(E|G|OSD)(\d+)$/;
|
|
2763
2763
|
export {
|
|
2764
|
-
|
|
2764
|
+
qn as $,
|
|
2765
2765
|
dn as A,
|
|
2766
2766
|
mn as B,
|
|
2767
2767
|
ce as C,
|
|
2768
|
-
|
|
2768
|
+
qe as D,
|
|
2769
2769
|
Ie as E,
|
|
2770
2770
|
ve as F,
|
|
2771
2771
|
En as G,
|
|
@@ -2776,21 +2776,27 @@ export {
|
|
|
2776
2776
|
ln as L,
|
|
2777
2777
|
Ze as M,
|
|
2778
2778
|
ge as N,
|
|
2779
|
-
|
|
2779
|
+
bn as O,
|
|
2780
2780
|
Ee as P,
|
|
2781
2781
|
_e as Q,
|
|
2782
|
-
|
|
2782
|
+
Re as R,
|
|
2783
2783
|
sn as S,
|
|
2784
2784
|
Se as T,
|
|
2785
2785
|
Nn as U,
|
|
2786
|
-
|
|
2786
|
+
Rn as V,
|
|
2787
2787
|
On as W,
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2788
|
+
Un as X,
|
|
2789
|
+
Gn as Y,
|
|
2790
|
+
Bn as Z,
|
|
2791
|
+
wn as _,
|
|
2792
2792
|
ye as a,
|
|
2793
|
-
|
|
2793
|
+
Qn as a0,
|
|
2794
|
+
Mn as a1,
|
|
2795
|
+
gn as a2,
|
|
2796
|
+
_n as a3,
|
|
2797
|
+
$n as a4,
|
|
2798
|
+
Ln as a5,
|
|
2799
|
+
Jn as a6,
|
|
2794
2800
|
Ne as b,
|
|
2795
2801
|
Oe as c,
|
|
2796
2802
|
Ae as d,
|
package/lib/uids.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const documentUidRegex: RegExp;
|
|
2
|
+
export declare const dossierUidRegex: RegExp;
|
|
3
|
+
export declare const reunionUidRegex: RegExp;
|
|
4
|
+
export declare const scrutinUidRegex: RegExp;
|
|
5
|
+
export declare const compteRenduUidRegex: RegExp;
|
|
6
|
+
export declare const questionUidRegex: RegExp;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tricoteuses/assemblee",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "Retrieve, clean up & handle French Assemblée nationale's open data",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Assemblée nationale",
|
|
@@ -40,6 +40,11 @@
|
|
|
40
40
|
"import": "./lib/cleaners.js",
|
|
41
41
|
"types": "./lib/cleaners/index.d.ts"
|
|
42
42
|
},
|
|
43
|
+
"./git": {
|
|
44
|
+
"typedoc": "./src/git.ts",
|
|
45
|
+
"import": "./lib/git.js",
|
|
46
|
+
"types": "./lib/git.d.ts"
|
|
47
|
+
},
|
|
43
48
|
"./loaders": {
|
|
44
49
|
"typedoc": "./src/loaders.ts",
|
|
45
50
|
"import": "./lib/loaders.js",
|