strapi-plugin-hubspot 0.6.1 → 0.8.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 (36) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/_chunks/{Forms-B2y_0-x4.mjs → Forms-77Mornxt.mjs} +115 -18
  3. package/dist/_chunks/{Forms-CaT0YEJo.js → Forms-B8kkPY0c.js} +133 -36
  4. package/dist/_chunks/HubspotFormInput-BVknnlmR.mjs +61 -0
  5. package/dist/_chunks/HubspotFormInput-kx3LlQYF.js +79 -0
  6. package/dist/_chunks/{HubspotObjectInput-DdLAUh0N.mjs → HubspotObjectInput-B-Y1PZ6c.mjs} +4 -3
  7. package/dist/_chunks/{HubspotObjectInput-Crpcpa8T.js → HubspotObjectInput-BOO1PvOj.js} +8 -7
  8. package/dist/_chunks/{HubspotPropertyInput-k7wMSmeF.mjs → HubspotPropertyInput-Drxn_Ddt.mjs} +4 -3
  9. package/dist/_chunks/{HubspotPropertyInput-SnJMFsII.js → HubspotPropertyInput-awfD1opH.js} +18 -17
  10. package/dist/_chunks/{Settings-BPAAD-QW.js → Settings-BT1NhvxO.js} +16 -15
  11. package/dist/_chunks/{Settings-BMOmj4NJ.mjs → Settings-DrujhMxS.mjs} +3 -2
  12. package/dist/_chunks/{en-C_-N8cjv.js → en-B8adhJhO.js} +17 -3
  13. package/dist/_chunks/{en-CJ9wYHgN.mjs → en-BYKKi1LK.mjs} +17 -3
  14. package/dist/_chunks/{fr-BHObPoUp.js → fr-DnKtGXaB.js} +17 -3
  15. package/dist/_chunks/{fr-DttDn-2Y.mjs → fr-DzgArgi3.mjs} +17 -3
  16. package/dist/_chunks/{objectLabels-C9ocOgVY.mjs → index-CEh8vkxY.mjs} +0 -14
  17. package/dist/_chunks/{objectLabels-VTt_-qTZ.js → index-DkTxsEqL.js} +0 -14
  18. package/dist/_chunks/{index-foVSGFWb.mjs → index-LrCSAHoH.mjs} +21 -5
  19. package/dist/_chunks/{index-D_CPrIHe.js → index-P7p8ASb6.js} +21 -5
  20. package/dist/_chunks/objectLabels-Dn-zriuZ.js +15 -0
  21. package/dist/_chunks/objectLabels-yNrnTOBo.mjs +16 -0
  22. package/dist/_chunks/{useHubspotSchema-B8SctALV.js → useHubspotSchema-BottzdRR.js} +1 -1
  23. package/dist/_chunks/{useHubspotSchema-Du3rLY_O.mjs → useHubspotSchema-DccG2KbZ.mjs} +1 -1
  24. package/dist/admin/index.js +1 -1
  25. package/dist/admin/index.mjs +1 -1
  26. package/dist/admin/src/builder/types.d.ts +1 -0
  27. package/dist/admin/src/components/HubspotFormInput.d.ts +29 -0
  28. package/dist/server/index.js +100 -8
  29. package/dist/server/index.mjs +100 -8
  30. package/dist/server/src/content-types.d.ts +3 -0
  31. package/dist/server/src/forms.d.ts +2 -0
  32. package/dist/server/src/formsAdmin.d.ts +13 -0
  33. package/dist/server/src/importLegacy.d.ts +1 -0
  34. package/dist/server/src/index.d.ts +5 -0
  35. package/dist/shared/types.d.ts +2 -0
  36. package/package.json +1 -1
@@ -96,6 +96,9 @@ declare const _default: {
96
96
  };
97
97
  };
98
98
  };
99
+ class: {
100
+ type: string;
101
+ };
99
102
  definition: {
100
103
  type: string;
101
104
  required: boolean;
@@ -250,8 +253,10 @@ declare const _default: {
250
253
  update(ctx: import("./formsAdmin").Ctx): Promise<void>;
251
254
  publish(ctx: import("./formsAdmin").Ctx): Promise<void>;
252
255
  unpublish(ctx: import("./formsAdmin").Ctx): Promise<void>;
256
+ options(ctx: import("./formsAdmin").Ctx): Promise<void>;
253
257
  listSources(ctx: import("./formsAdmin").Ctx): Promise<void>;
254
258
  runImport(ctx: import("./formsAdmin").Ctx): Promise<void>;
259
+ duplicate(ctx: import("./formsAdmin").Ctx): Promise<void>;
255
260
  remove(ctx: import("./formsAdmin").Ctx): Promise<void>;
256
261
  };
257
262
  forms: ({ strapi }: {
@@ -72,6 +72,8 @@ export interface PublicForm {
72
72
  nextLabel?: string | null;
73
73
  submitLabel?: string | null;
74
74
  successMessage?: string | null;
75
+ /** Extra utility classes on the form wrapper, for the host frontend. */
76
+ class?: string | null;
75
77
  locale?: string | null;
76
78
  steps: PublicFormStep[];
77
79
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-plugin-hubspot",
3
- "version": "0.6.1",
3
+ "version": "0.8.0",
4
4
  "description": "The form builder for HubSpot in Strapi — multi-step forms with conditional fields mapped to real CRM properties, a public submit pipeline with retries, and save-time mapping validation.",
5
5
  "keywords": [
6
6
  "strapi",