[{"data":1,"prerenderedAt":1072},["ShallowReactive",2],{"navigation":3,"nuxt-content:/docs/craftform/script/drop_file":588,"/docs/craftform/script/drop_file-surround":1067},[4,549,581],{"title":5,"_path":6,"children":7},"🎓docs","/docs",[8,10,13,42,102,114,173,248,512,546],{"title":9,"_path":6},"🚸Welcome",{"title":11,"_path":12},"⚡Quickstart⚡","/docs/quickstart",{"title":14,"_path":15,"children":16},"✅checklist","/docs/checklist",[17,20,23,27,30,33,36,39],{"title":18,"_path":19},"assert","/docs/checklist/assert",{"title":21,"_path":22},"Deep assert","/docs/checklist/assert_deep",{"title":24,"_path":25,"icon":26},"Check","/docs/checklist/check",null,{"title":28,"_path":29},"filter","/docs/checklist/filter",{"title":31,"_path":32},"format fields","/docs/checklist/format_fields",{"title":34,"_path":35},"intro checklist","/docs/checklist/intro",{"title":37,"_path":38},"Shortcuts","/docs/checklist/shortcuts",{"title":40,"_path":41},"show","/docs/checklist/show",{"title":43,"_path":44,"children":45},"🔠craftform","/docs/craftform",[46,48,51,54,57,60,63,66,69,93,96,99],{"title":47,"_path":44},"craftform",{"title":49,"_path":50},"Simple","/docs/craftform/simple",{"title":52,"_path":53},"behaviour","/docs/craftform/api_behaviour",{"title":55,"_path":56},"Checklist","/docs/craftform/checklist",{"title":58,"_path":59},"craftform delegation","/docs/craftform/delegation",{"title":61,"_path":62},"ICraftContext","/docs/craftform/icraftcontext",{"title":64,"_path":65},"Info","/docs/craftform/info",{"title":67,"_path":68},"ppw-wizard-craft","/docs/craftform/ppw_wizard_craft",{"title":70,"_path":71,"children":72},"📜script.py","/docs/craftform/script",[73,75,78,81,84,87,90],{"title":74,"_path":71},"Introduction to script.py",{"title":76,"_path":77},"delivery","/docs/craftform/script/delivery",{"title":79,"_path":80},"drop_file()","/docs/craftform/script/drop_file",{"title":82,"_path":83},"generate","/docs/craftform/script/generate",{"title":85,"_path":86},"mail","/docs/craftform/script/mail",{"title":88,"_path":89},"Signature","/docs/craftform/script/signature",{"title":91,"_path":92},"Template","/docs/craftform/script/template",{"title":94,"_path":95},"signature","/docs/craftform/signature",{"title":97,"_path":98},"Spreadsheet","/docs/craftform/spreadsheet",{"title":100,"_path":101},"template","/docs/craftform/template",{"title":103,"_path":104,"children":105},"🔨forge","/docs/forge",[106,108,111],{"title":107,"_path":104},"Forge",{"title":109,"_path":110},"Scrap","/docs/forge/scrap",{"title":112,"_path":113},"shortcuts","/docs/forge/shortcuts",{"title":115,"_path":116,"children":117},"🔏signature","/docs/signature",[118,121,124,170],{"title":119,"_path":120},"Intro","/docs/signature/intro",{"title":122,"_path":123},"Development","/docs/signature/dev",{"title":125,"_path":126,"children":127},"Providers","/docs/signature/providers",[128,131,134,137,140,143,146,149,152,155,158,161,164,167],{"title":129,"_path":130},"Chambersign","/docs/signature/providers/chambersign",{"title":132,"_path":133},"Chave Mobile Digital","/docs/signature/providers/chavemovedigital",{"title":135,"_path":136},"Docage","/docs/signature/providers/docage",{"title":138,"_path":139},"Docaposte","/docs/signature/providers/docaposte",{"title":141,"_path":142},"External Signature","/docs/signature/providers/external",{"title":144,"_path":145},"Fake Signature","/docs/signature/providers/fake",{"title":147,"_path":148},"HelloSign","/docs/signature/providers/hellosign",{"title":150,"_path":151},"JeSignexpert","/docs/signature/providers/jesignexpert",{"title":153,"_path":154},"lex-community","/docs/signature/providers/lex-community",{"title":156,"_path":157},"Lex persona","/docs/signature/providers/lexpersona",{"title":159,"_path":160},"Luxtrust","/docs/signature/providers/luxtrust",{"title":162,"_path":163},"Pandadoc","/docs/signature/providers/pandadoc",{"title":165,"_path":166},"Universign","/docs/signature/providers/universign",{"title":168,"_path":169},"Yousign","/docs/signature/providers/yousign",{"title":171,"_path":172},"Workflow","/docs/signature/workflow",{"title":174,"_path":175,"children":176},"🌐ref","/docs/ref",[177,180,205,208,242,245],{"title":178,"_path":179},"flexpath","/docs/ref/flexpath",{"title":181,"_path":182,"children":183},"Modules","/docs/ref/modules",[184,187,190,193,196,199,202],{"title":185,"_path":186},"attachment","/docs/ref/modules/attachment",{"title":188,"_path":189},"certificate","/docs/ref/modules/certificate",{"title":191,"_path":192},"checklist_include","/docs/ref/modules/checklist_include",{"title":194,"_path":195},"factur-x","/docs/ref/modules/facturx",{"title":197,"_path":198},"fec","/docs/ref/modules/fec",{"title":200,"_path":201},"olap","/docs/ref/modules/olap",{"title":203,"_path":204},"photo","/docs/ref/modules/photo",{"title":206,"_path":207},"S3 bucket","/docs/ref/ref",{"title":209,"_path":210,"children":211},"Roles","/docs/ref/roles",[212,215,218,221,224,227,230,233,235,236,239],{"title":213,"_path":214},"ADMIN","/docs/ref/roles/admin",{"title":216,"_path":217},"ANON","/docs/ref/roles/anon",{"title":219,"_path":220},"Role AUTHENTICATED","/docs/ref/roles/authenticated",{"title":222,"_path":223},"CHECK","/docs/ref/roles/check",{"title":225,"_path":226},"CRAFT","/docs/ref/roles/craft",{"title":228,"_path":229},"DEV","/docs/ref/roles/dev",{"title":231,"_path":232},"DOCUMENTS","/docs/ref/roles/documents",{"title":222,"_path":234},"/docs/ref/roles/home",{"title":209,"_path":210},{"title":237,"_path":238},"NOBANNER","/docs/ref/roles/nobaner",{"title":240,"_path":241},"*","/docs/ref/roles/wildcard",{"title":243,"_path":244},"visibility","/docs/ref/visibility",{"title":246,"_path":247},"Exemple visibilité","/docs/ref/visibility_case",{"title":249,"_path":250,"children":251},"🌐portal","/docs/portal",[252,255,466,469,484,487,490,506,509],{"title":253,"_path":254},"banner","/docs/portal/banner",{"title":256,"_path":257,"children":258},"\u003C>components","/docs/portal/components",[259,269,282,304,317,319,338,351,361,364,367,370,373,376,379,382,385,388,391,394,397,400,403,406,409,412,419,441],{"title":260,"_path":261,"children":262},"\u003Cppw-cardgame-*>","/docs/portal/components/cardgame",[263,266],{"title":264,"_path":265},"\u003Cppw-cardgame-deck>","/docs/portal/components/cardgame/ppw-cardgame-deck",{"title":267,"_path":268},"\u003Cppw-cardgame-single>","/docs/portal/components/cardgame/ppw-cardgame-single",{"title":270,"_path":271,"children":272},"\u003Cppw-gallery-*>","/docs/portal/components/gallery",[273,276,279],{"title":274,"_path":275},"\u003Cppw-carroussel>","/docs/portal/components/gallery/ppw-carroussel",{"title":277,"_path":278},"\u003Cppw-gallery-browser>","/docs/portal/components/gallery/ppw-gallery-browser",{"title":280,"_path":281},"\u003Cppw-gallery-products>","/docs/portal/components/gallery/ppw-gallery-products",{"title":283,"_path":284,"children":285},"\u003Cppw-hero-*>","/docs/portal/components/hero",[286,289,292,295,298,301],{"title":287,"_path":288},"\u003Cppw-hero-proposition-section>","/docs/portal/components/hero/ppw-hero-proposition-section",{"title":290,"_path":291},"\u003Cppw-hero0>","/docs/portal/components/hero/ppw-hero0",{"title":293,"_path":294},"\u003Cppw-hero3>","/docs/portal/components/hero/ppw-hero3",{"title":296,"_path":297},"\u003Cppw-hero4>","/docs/portal/components/hero/ppw-hero4",{"title":299,"_path":300},"\u003Cppw-hero5>","/docs/portal/components/hero/ppw-hero5",{"title":302,"_path":303},"\u003Cppw-hero6>","/docs/portal/components/hero/ppw-hero6",{"title":305,"_path":306,"children":307},"Icon","/docs/portal/components/icon",[308,311,314],{"title":309,"_path":310},"\u003Cppw-icon-checklist>","/docs/portal/components/icon/ppw-icon-checklist",{"title":312,"_path":313},"\u003Cppw-icon-craftform>","/docs/portal/components/icon/ppw-icon-craftform",{"title":315,"_path":316},"\u003Cppw-icon-document>","/docs/portal/components/icon/ppw-icon-document",{"title":318,"_path":257},"Components",{"title":320,"_path":321,"children":322},"\u003Cppw-input-*>","/docs/portal/components/input",[323,326,329,332,335],{"title":324,"_path":325},"intro","/docs/portal/components/input/intro",{"title":327,"_path":328},"\u003Cppw-input>","/docs/portal/components/input/ppw-input",{"title":330,"_path":331},"\u003Cppw-input-craftform>","/docs/portal/components/input/ppw-input-craftform",{"title":333,"_path":334},"\u003Cppw-input-path>","/docs/portal/components/input/ppw-input-path",{"title":336,"_path":337},"\u003Cppw-input-user>","/docs/portal/components/input/ppw-input-user",{"title":339,"_path":340,"children":341},"\u003Cppw-pdf-*>","/docs/portal/components/pdf",[342,345,348],{"title":343,"_path":344},"\u003Cppw-pdf-link>","/docs/portal/components/pdf/ppw-pdf-link",{"title":346,"_path":347},"\u003Cppw-pdf-links>","/docs/portal/components/pdf/ppw-pdf-links",{"title":349,"_path":350},"\u003Cppw-pdfview>","/docs/portal/components/pdf/ppw-pdfview",{"title":352,"_path":353,"children":354},"Playground","/docs/portal/components/playground",[355,358],{"title":356,"_path":357},"ppw-playground-checklist-result","/docs/portal/components/playground/ppw-playground-checklistresult",{"title":359,"_path":360},"ppw-playground-main","/docs/portal/components/playground/ppw-playground-main",{"title":362,"_path":363},"\u003Cppw-alert>","/docs/portal/components/ppw-alert",{"title":365,"_path":366},"\u003Cppw-benefits-section>","/docs/portal/components/ppw-benefits-section",{"title":368,"_path":369},"\u003Cppw-carousel>","/docs/portal/components/ppw-carousel",{"title":371,"_path":372},"\u003Cppw-editor>","/docs/portal/components/ppw-editor",{"title":374,"_path":375},"\u003Cppw-factice>","/docs/portal/components/ppw-factice",{"title":377,"_path":378},"\u003Cppw-features-section>","/docs/portal/components/ppw-features-section",{"title":380,"_path":381},"\u003Cppw-fullscreen>","/docs/portal/components/ppw-fullscreen",{"title":383,"_path":384},"\u003Cppw-json-editor>","/docs/portal/components/ppw-json-editor",{"title":386,"_path":387},"\u003Cppw-json-schema-form>","/docs/portal/components/ppw-json-schema-form",{"title":389,"_path":390},"\u003Cppw-mermaid>","/docs/portal/components/ppw-mermaid",{"title":392,"_path":393},"\u003Cppw-metric>","/docs/portal/components/ppw-metric",{"title":395,"_path":396},"\u003Cppw-modal>","/docs/portal/components/ppw-modal",{"title":398,"_path":399},"\u003Cppw-pubkey>","/docs/portal/components/ppw-pubkey",{"title":401,"_path":402},"\u003Cppw-roles>","/docs/portal/components/ppw-roles",{"title":404,"_path":405},"\u003Cppw-social-share>","/docs/portal/components/ppw-social-share",{"title":407,"_path":408},"\u003Cppw-viz>","/docs/portal/components/ppw-viz",{"title":410,"_path":411},"\u003Cppw-wizard-craft>","/docs/portal/components/ppw-wizard-craft",{"title":413,"_path":414,"children":415},"Showcase","/docs/portal/components/showcase",[416],{"title":417,"_path":418},"\u003Cppw-showcase-check>","/docs/portal/components/showcase/ppw-showcase-check",{"title":420,"_path":421,"children":422},"Sign","/docs/portal/components/sign",[423,426,429,432,435,438],{"title":424,"_path":425},"ppw-sign-account","/docs/portal/components/sign/ppw-sign-account",{"title":427,"_path":428},"ppw-sign-account-detail","/docs/portal/components/sign/ppw-sign-account-detail",{"title":430,"_path":431},"ppw-sign-accounts","/docs/portal/components/sign/ppw-sign-accounts",{"title":433,"_path":434},"ppw-sign-provider","/docs/portal/components/sign/ppw-sign-provider",{"title":436,"_path":437},"ppw-sign-workflow","/docs/portal/components/sign/ppw-sign-workflow",{"title":439,"_path":440},"ppw-sign-workflow-item","/docs/portal/components/sign/ppw-sign-workflow-item",{"title":442,"_path":443,"children":444},"\u003Cppw-svg/anim-*>","/docs/portal/components/svg_anim",[445,448,451,454,457,460,463],{"title":446,"_path":447},"\u003Cppw-anim>","/docs/portal/components/svg_anim/ppw-anim",{"title":449,"_path":450},"\u003Cppw-anim-carousel>","/docs/portal/components/svg_anim/ppw-anim-carousel",{"title":452,"_path":453},"\u003Cppw-anim-scroll>","/docs/portal/components/svg_anim/ppw-anim-scroll",{"title":455,"_path":456},"\u003Cppw-anim-scroll2>","/docs/portal/components/svg_anim/ppw-anim-scroll2",{"title":458,"_path":459},"\u003Cppw-svg>","/docs/portal/components/svg_anim/ppw-svg",{"title":461,"_path":462},"\u003Cppw-svga>","/docs/portal/components/svg_anim/ppw-svga",{"title":464,"_path":465},"Scroll3 Full","/docs/portal/components/svg_anim/scroll3-full",{"title":467,"_path":468},"Content","/docs/portal/content",{"title":470,"_path":471,"children":472},"Episode","/docs/portal/episode",[473,474],{"title":470,"_path":471},{"title":475,"_path":476,"children":477},"SampleSerie","/docs/portal/episode/sample_serie",[478,481],{"title":479,"_path":480},"My First Adventure","/docs/portal/episode/sample_serie/sample-s01e01",{"title":482,"_path":483},"Another trip","/docs/portal/episode/sample_serie/sample-s01e02",{"title":485,"_path":486},"forking","/docs/portal/fork",{"title":488,"_path":489},"i18n - internationalization","/docs/portal/i18n",{"title":491,"_path":492,"children":493},"📄pages","/docs/portal/pages",[494,497,500,503],{"title":495,"_path":496},"/check","/docs/portal/pages/check",{"title":498,"_path":499},"/craft","/docs/portal/pages/craft",{"title":501,"_path":502},"/gallery","/docs/portal/pages/gallery",{"title":504,"_path":505},"home","/docs/portal/pages/home",{"title":507,"_path":508},"permissions","/docs/portal/perm",{"title":510,"_path":511},"pricing","/docs/portal/pricing",{"title":513,"_path":514,"children":515},"🎓team","/docs/team",[516,519,526,529,538,540,543],{"title":517,"_path":518},"AI","/docs/team/ai",{"title":520,"_path":521,"children":522},"Api","/docs/team/api",[523],{"title":524,"_path":525},"API dev","/docs/team/api/dev",{"title":527,"_path":528},"pp-cli","/docs/team/cli",{"title":530,"_path":531,"children":532},"Deploy","/docs/team/deploy",[533,535],{"title":530,"_path":534},"/docs/team/deploy/cloudflare",{"title":536,"_path":537},"deploy API on scaleway","/docs/team/deploy/scaleway",{"title":539,"_path":514},"Docs TEAM",{"title":541,"_path":542},"versions paxpar","/docs/team/versions",{"title":544,"_path":545},"How to visualize a branch of the project on a local server","/docs/team/visu_localhost",{"title":547,"_path":548},"TODO doc","/docs/todo",{"title":550,"_path":551,"children":552},"Our publications","/blog",[553,554,557,560,563,566,569,572,575,578],{"title":550,"_path":551},{"title":555,"_path":556},"paxpar roadmap 2025S1 update","/blog/2025s1_roadmap",{"title":558,"_path":559},"Creating a craftform","/blog/art_attest_exam_craft",{"title":561,"_path":562},"Creating a mock-up Checklist","/blog/art_attest_exam_maq_cl",{"title":564,"_path":565},"Creating a document's template","/blog/art_attest_exam_template",{"title":567,"_path":568},"Shamir Secret Sharing, a cryptographic matter.","/blog/art_crypto_shamir",{"title":570,"_path":571},"Certificate","/blog/art_oi_fraude-certif-soudeur",{"title":573,"_path":574},"Audit Trail","/blog/art_paf_usurp_id",{"title":576,"_path":577},"Smart documents","/blog/art_pdf_augm",{"title":579,"_path":580},"CAD/BIM parametric values compliance","/blog/tech_bim_param",{"title":582,"_path":583,"children":584},"Legal","/legal",[585],{"title":586,"_path":587},"Cgu","/legal/cgu",{"_path":80,"_dir":589,"_draft":590,"_partial":590,"_locale":591,"title":79,"description":592,"body":593,"_type":1061,"_id":1062,"_source":1063,"_file":1064,"_stem":1065,"_extension":1066},"script",false,"en","Handle the dropped file (if there is one).",{"type":594,"children":595,"toc":1052},"root",[596,604,609,623,628,634,647,652,669,685,701,710,715,720,725,734,739,744,753,758,762,771,777,787,796,802,809,818,824,831,840,846,872,877,959,965,972,977,984,990,997,1003,1010,1015,1020,1026,1033,1039,1046],{"type":597,"tag":598,"props":599,"children":601},"element","h1",{"id":600},"drop_file",[602],{"type":603,"value":79},"text",{"type":597,"tag":605,"props":606,"children":607},"p",{},[608],{"type":603,"value":592},{"type":597,"tag":605,"props":610,"children":611},{},[612,614,621],{"type":603,"value":613},"This function must returns an instance of ",{"type":597,"tag":615,"props":616,"children":618},"a",{"href":617},"#return-uploadstatus",[619],{"type":603,"value":620},"UploadStatus",{"type":603,"value":622},".",{"type":597,"tag":624,"props":625,"children":627},"ppw-mermaid",{"def":626},"flowchart TD\n    drop_file --> drop_file_pdf\n    drop_file_pdf --> own_schema[\"drop_file_pdf_schema_self\"]\n    drop_file_pdf --> drop_file_pdf_schema\n    drop_file_pdf --> drop_file_pdf_schema_none\n    drop_file --> drop_file_xlsx\n    drop_file --> file_ext[\"drop_file_{ext}\"]\n    drop_file --> drop_unknown_file\n",[],{"type":597,"tag":598,"props":629,"children":631},{"id":630},"drop_file_pdf",[632],{"type":603,"value":633},"drop_file_pdf()",{"type":597,"tag":605,"props":635,"children":636},{},[637,639,645],{"type":603,"value":638},"When a PDF file is dropped the ",{"type":597,"tag":640,"props":641,"children":643},"code",{"className":642},[],[644],{"type":603,"value":630},{"type":603,"value":646}," function is called.",{"type":597,"tag":605,"props":648,"children":649},{},[650],{"type":603,"value":651},"If not overridden in the user script, this function will first inspect the PDF.",{"type":597,"tag":605,"props":653,"children":654},{},[655,657,667],{"type":603,"value":656},"If a schema is found in the PDF and that schema is the same as the current craftform,\nthe function ",{"type":597,"tag":615,"props":658,"children":660},{"href":659},"#drop_file_pdf_schema_self",[661],{"type":597,"tag":640,"props":662,"children":664},{"className":663},[],[665],{"type":603,"value":666},"drop_file_pdf_schema_self",{"type":603,"value":668}," is called.",{"type":597,"tag":605,"props":670,"children":671},{},[672,674,684],{"type":603,"value":673},"If a schema is found in the PDF and that schema is different from the one of the current craftform,\nthe function ",{"type":597,"tag":615,"props":675,"children":677},{"href":676},"#drop_file_pdf_schema",[678],{"type":597,"tag":640,"props":679,"children":681},{"className":680},[],[682],{"type":603,"value":683},"drop_file_pdf_schema",{"type":603,"value":668},{"type":597,"tag":605,"props":686,"children":687},{},[688,690,700],{"type":603,"value":689},"If we find no schema, the function ",{"type":597,"tag":615,"props":691,"children":693},{"href":692},"#drop_file_pdf_schema_none",[694],{"type":597,"tag":640,"props":695,"children":697},{"className":696},[],[698],{"type":603,"value":699},"drop_file_pdf_schema_none",{"type":603,"value":668},{"type":597,"tag":605,"props":702,"children":703},{},[704,705,709],{"type":603,"value":613},{"type":597,"tag":615,"props":706,"children":707},{"href":617},[708],{"type":603,"value":620},{"type":603,"value":622},{"type":597,"tag":598,"props":711,"children":712},{"id":666},[713],{"type":603,"value":714},"drop_file_pdf_schema_self()",{"type":597,"tag":605,"props":716,"children":717},{},[718],{"type":603,"value":719},"If not overridden in the user script, this function will extract the metadata value of the dropped PDF and replace the current values of the form.",{"type":597,"tag":605,"props":721,"children":722},{},[723],{"type":603,"value":724},"The PDF will not be saved in the form session.",{"type":597,"tag":605,"props":726,"children":727},{},[728,729,733],{"type":603,"value":613},{"type":597,"tag":615,"props":730,"children":731},{"href":617},[732],{"type":603,"value":620},{"type":603,"value":622},{"type":597,"tag":598,"props":735,"children":736},{"id":683},[737],{"type":603,"value":738},"drop_file_pdf_schema()",{"type":597,"tag":605,"props":740,"children":741},{},[742],{"type":603,"value":743},"If not overridden in the user script, this function will accept the PDF and save it in the form session.",{"type":597,"tag":605,"props":745,"children":746},{},[747,748,752],{"type":603,"value":613},{"type":597,"tag":615,"props":749,"children":750},{"href":617},[751],{"type":603,"value":620},{"type":603,"value":622},{"type":597,"tag":598,"props":754,"children":755},{"id":699},[756],{"type":603,"value":757},"drop_file_pdf_schema_none()",{"type":597,"tag":605,"props":759,"children":760},{},[761],{"type":603,"value":743},{"type":597,"tag":605,"props":763,"children":764},{},[765,766,770],{"type":603,"value":613},{"type":597,"tag":615,"props":767,"children":768},{"href":617},[769],{"type":603,"value":620},{"type":603,"value":622},{"type":597,"tag":598,"props":772,"children":774},{"id":773},"drop_file_excel",[775],{"type":603,"value":776},"drop_file_excel()",{"type":597,"tag":778,"props":779,"children":781},"alert",{"type":780},"info",[782],{"type":597,"tag":605,"props":783,"children":784},{},[785],{"type":603,"value":786},"TODO: Need to be documented",{"type":597,"tag":605,"props":788,"children":789},{},[790,791,795],{"type":603,"value":613},{"type":597,"tag":615,"props":792,"children":793},{"href":617},[794],{"type":603,"value":620},{"type":603,"value":622},{"type":597,"tag":598,"props":797,"children":799},{"id":798},"drop_file_ext",[800],{"type":603,"value":801},"drop_file_{ext}()",{"type":597,"tag":778,"props":803,"children":804},{"type":780},[805],{"type":597,"tag":605,"props":806,"children":807},{},[808],{"type":603,"value":786},{"type":597,"tag":605,"props":810,"children":811},{},[812,813,817],{"type":603,"value":613},{"type":597,"tag":615,"props":814,"children":815},{"href":617},[816],{"type":603,"value":620},{"type":603,"value":622},{"type":597,"tag":598,"props":819,"children":821},{"id":820},"drop_unknown_file",[822],{"type":603,"value":823},"drop_unknown_file()",{"type":597,"tag":778,"props":825,"children":826},{"type":780},[827],{"type":597,"tag":605,"props":828,"children":829},{},[830],{"type":603,"value":786},{"type":597,"tag":605,"props":832,"children":833},{},[834,835,839],{"type":603,"value":613},{"type":597,"tag":615,"props":836,"children":837},{"href":617},[838],{"type":603,"value":620},{"type":603,"value":622},{"type":597,"tag":598,"props":841,"children":843},{"id":842},"return-uploadstatus",[844],{"type":603,"value":845},"return UploadStatus",{"type":597,"tag":605,"props":847,"children":848},{},[849,851,863,865,870],{"type":603,"value":850},"All the ",{"type":597,"tag":615,"props":852,"children":854},{"href":853},"#drop_file",[855,861],{"type":597,"tag":640,"props":856,"children":858},{"className":857},[],[859],{"type":603,"value":860},"drop_*",{"type":603,"value":862}," functions",{"type":603,"value":864}," should return an ",{"type":597,"tag":640,"props":866,"children":868},{"className":867},[],[869],{"type":603,"value":620},{"type":603,"value":871},".\nIt will give to the client form some information on how the upload was proceed and what to do client-side.",{"type":597,"tag":605,"props":873,"children":874},{},[875],{"type":603,"value":876},"Sample :",{"type":597,"tag":878,"props":879,"children":884},"pre",{"className":880,"code":881,"language":882,"meta":883,"style":883},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","status: accepted\nstored: true\nmsg: \"Your order document #344 has been added\"\n","yaml","",[885],{"type":597,"tag":640,"props":886,"children":887},{"__ignoreMap":883},[888,912,931],{"type":597,"tag":889,"props":890,"children":893},"span",{"class":891,"line":892},"line",1,[894,900,906],{"type":597,"tag":889,"props":895,"children":897},{"style":896},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[898],{"type":603,"value":899},"status",{"type":597,"tag":889,"props":901,"children":903},{"style":902},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[904],{"type":603,"value":905},":",{"type":597,"tag":889,"props":907,"children":909},{"style":908},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[910],{"type":603,"value":911}," accepted\n",{"type":597,"tag":889,"props":913,"children":915},{"class":891,"line":914},2,[916,921,925],{"type":597,"tag":889,"props":917,"children":918},{"style":896},[919],{"type":603,"value":920},"stored",{"type":597,"tag":889,"props":922,"children":923},{"style":902},[924],{"type":603,"value":905},{"type":597,"tag":889,"props":926,"children":928},{"style":927},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[929],{"type":603,"value":930}," true\n",{"type":597,"tag":889,"props":932,"children":934},{"class":891,"line":933},3,[935,940,944,949,954],{"type":597,"tag":889,"props":936,"children":937},{"style":896},[938],{"type":603,"value":939},"msg",{"type":597,"tag":889,"props":941,"children":942},{"style":902},[943],{"type":603,"value":905},{"type":597,"tag":889,"props":945,"children":946},{"style":902},[947],{"type":603,"value":948}," \"",{"type":597,"tag":889,"props":950,"children":951},{"style":908},[952],{"type":603,"value":953},"Your order document #344 has been added",{"type":597,"tag":889,"props":955,"children":956},{"style":902},[957],{"type":603,"value":958},"\"\n",{"type":597,"tag":960,"props":961,"children":962},"h2",{"id":899},[963],{"type":603,"value":964},".status",{"type":597,"tag":778,"props":966,"children":967},{"type":780},[968],{"type":597,"tag":605,"props":969,"children":970},{},[971],{"type":603,"value":786},{"type":597,"tag":960,"props":973,"children":974},{"id":920},[975],{"type":603,"value":976},".stored",{"type":597,"tag":778,"props":978,"children":979},{"type":780},[980],{"type":597,"tag":605,"props":981,"children":982},{},[983],{"type":603,"value":786},{"type":597,"tag":960,"props":985,"children":987},{"id":986},"extra_files",[988],{"type":603,"value":989},".extra_files",{"type":597,"tag":778,"props":991,"children":992},{"type":780},[993],{"type":597,"tag":605,"props":994,"children":995},{},[996],{"type":603,"value":786},{"type":597,"tag":960,"props":998,"children":1000},{"id":999},"form_overload",[1001],{"type":603,"value":1002},".form_overload",{"type":597,"tag":778,"props":1004,"children":1005},{"type":780},[1006],{"type":597,"tag":605,"props":1007,"children":1008},{},[1009],{"type":603,"value":786},{"type":597,"tag":960,"props":1011,"children":1012},{"id":939},[1013],{"type":603,"value":1014},".msg",{"type":597,"tag":605,"props":1016,"children":1017},{},[1018],{"type":603,"value":1019},"The message explaining to the user how the upload happened.",{"type":597,"tag":960,"props":1021,"children":1023},{"id":1022},"schema",[1024],{"type":603,"value":1025},".schema",{"type":597,"tag":778,"props":1027,"children":1028},{"type":780},[1029],{"type":597,"tag":605,"props":1030,"children":1031},{},[1032],{"type":603,"value":786},{"type":597,"tag":960,"props":1034,"children":1036},{"id":1035},"needed_options",[1037],{"type":603,"value":1038},".needed_options",{"type":597,"tag":778,"props":1040,"children":1041},{"type":780},[1042],{"type":597,"tag":605,"props":1043,"children":1044},{},[1045],{"type":603,"value":786},{"type":597,"tag":1047,"props":1048,"children":1049},"style",{},[1050],{"type":603,"value":1051},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":883,"searchDepth":914,"depth":914,"links":1053},[1054,1055,1056,1057,1058,1059,1060],{"id":899,"depth":914,"text":964},{"id":920,"depth":914,"text":976},{"id":986,"depth":914,"text":989},{"id":999,"depth":914,"text":1002},{"id":939,"depth":914,"text":1014},{"id":1022,"depth":914,"text":1025},{"id":1035,"depth":914,"text":1038},"markdown","content:docs:30.craftform:script:drop_file.md","content","docs/30.craftform/script/drop_file.md","docs/30.craftform/script/drop_file","md",[1068,1070],{"_path":77,"title":76,"description":1069},"What to do with the generated PDF.",{"_path":83,"title":82,"description":1071},"A PDF is generated when the form is finalized or previewed.",1774486233761]