@vectoriox/iox-builder 11.36.0 → 11.37.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.
package/index.d.ts CHANGED
@@ -4580,8 +4580,12 @@ type CreateConfig = (type: string) => ComponentNode | null | undefined;
4580
4580
  * carry the default Name/Email pair as well as its own fields.
4581
4581
  *
4582
4582
  * Returns null when a type is missing from the registry, so a half-built tree never reaches a page.
4583
+ *
4584
+ * `lang` is the SITE's language (vectoriox/iox-cms-client#115), never the admin's: the form asks, answers, fails and
4585
+ * says "While sending" in it — forms-core's own words (`formPresetById`, `busyWord`), the SAME the composer stamps, so a
4586
+ * form dropped from the tray onto a Hebrew page reads as the generated one does. Absent: English, as before.
4583
4587
  */
4584
- declare function buildFormPreset(def: FormPresetDef, createConfig: CreateConfig): ComponentNode | null;
4588
+ declare function buildFormPreset(def: FormPresetDef, createConfig: CreateConfig, lang?: string | null): ComponentNode | null;
4585
4589
  /**
4586
4590
  * FIELD KINDS IN THE TRAY (Doron 2026-10-10: "if form components existed why they are not
4587
4591
  * appear in the form component [tray] in the page builder?").
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "11.36.0",
3
+ "version": "11.37.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
7
7
  "@angular/animations": ">=20.0.0",
8
8
  "@angular/cdk": ">=20.0.0",
9
- "@vectoriox/iox-ui": "^5.185.0",
9
+ "@vectoriox/iox-ui": "^5.187.0",
10
10
  "interactjs": "^1.10.27",
11
11
  "primeng": ">=20.0.0",
12
12
  "swiper": ">=12.0.0",