{"id":20515620,"url":"https://github.com/ignf/collab-form","last_synced_at":"2025-09-10T08:16:52.445Z","repository":{"id":216824628,"uuid":"742343821","full_name":"IGNF/collab-form","owner":"IGNF","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-26T12:39:30.000Z","size":135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-16T09:56:04.410Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IGNF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-12T09:10:16.000Z","updated_at":"2024-01-12T10:15:28.000Z","dependencies_parsed_at":"2024-01-13T03:59:10.316Z","dependency_job_id":"5c741112-b39f-492b-aff7-35935acb89af","html_url":"https://github.com/IGNF/collab-form","commit_stats":null,"previous_names":["ignf/collab-form"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGNF%2Fcollab-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGNF%2Fcollab-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGNF%2Fcollab-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGNF%2Fcollab-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IGNF","download_url":"https://codeload.github.com/IGNF/collab-form/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242118612,"owners_count":20074608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T21:23:32.170Z","updated_at":"2025-03-05T23:21:52.746Z","avatar_url":"https://github.com/IGNF.png","language":"JavaScript","readme":"# collab-form\n\nModule javascript permettant la création et la gestion de formulaires provenant de l'api collaboratif. \n\n\n## Dépendances\n\nLe module fonctionnant avec JQuery, la variable globale $ doit être définie dans le projet\n\nAutres dépendances:\n\n    moment\n\n    tempusdominus-bootstrap-4\n\n    ajv-i18n\n\n    combobox\n\n## Exemple d'utilisation\n\nhtml:\n\n\u003cpre\u003e\n    \u0026lt;div id=\"#my-form-container\"\u003e\u0026lt;/div\u003e\n\u003c/pre\u003e\n\nscript: \n\n\u003cpre\u003e\n\n    import {createForm} from collab-form;\n    \n    let theme = mon_theme_recupere_via_api;\n    let form = createForm($(\"#my-form-container\"), \"my-first-form\", theme);\n    \n    form.init() //lorsque le dom est completement charge\n    \n    let validate = function() {\n        let valid = true;\n        for (var i in form.attributes) {\n            if (!form.attributes[i].validate()) {\n                alert(attribute.error);\n                valid = false;\n            }\n        }\n    }\n\n\u003c/pre\u003e\n\n## Attention\n\nLes traductions restent à faire.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignf%2Fcollab-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignf%2Fcollab-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignf%2Fcollab-form/lists"}