import{aa as a}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{h as r,s as n}from"./machine.-tangy-colts-beg-869.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,o){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,o),o)}};const l=a(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,helperText:t("Code or id of the coupon to delete."),id:"coupon-code-or-id",label:t("Coupon Code or Id"),onChange:"HANDLE_CODE_OR_ID",path:"coupon_code_or_id",render:!0,required:!0,value:void 0},{componentName:e.componentName.switch,helperText:t("Permanently delete the coupon without moving it to the trash first."),id:"force-delete",label:t("Force Delete?"),onChange:"HANDLE_FORCE_DELETE",path:"force_delete",render:!0,value:!1}]},actions:{HANDLE_CODE_OR_ID:r("couponCodeOrId"),HANDLE_FORCE_DELETE:r("forceDelete"),ON_MACHINE_LOAD:({$:o})=>{n(o,[{db:"couponCodeOrId",id:"coupon-code-or-id"},{db:"forceDelete",id:"force-delete"}])}}}));export{l as default};
