@saltcorn/builder 1.1.1-beta.8 → 1.1.1-rc.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saltcorn/builder",
3
- "version": "1.1.1-beta.8",
3
+ "version": "1.1.1-rc.2",
4
4
  "description": "Drag and drop view builder for Saltcorn, open-source no-code platform",
5
5
  "main": "index.js",
6
6
  "homepage": "https://saltcorn.com",
@@ -20,7 +20,7 @@
20
20
  "@babel/preset-react": "7.24.7",
21
21
  "@craftjs/core": "0.1.0-beta.20",
22
22
  "@craftjs/utils": "0.1.0-beta.20",
23
- "@saltcorn/common-code": "1.1.1-beta.8",
23
+ "@saltcorn/common-code": "1.1.1-rc.2",
24
24
  "saltcorn-craft-layers-noeye": "0.1.0-beta.22",
25
25
  "@fonticonpicker/react-fonticonpicker": "1.2.0",
26
26
  "@fortawesome/fontawesome-svg-core": "1.2.34",
@@ -107,6 +107,7 @@ const AggregationSettings = () => {
107
107
  agg_outcome_type: outcomeType,
108
108
  agg_fieldview,
109
109
  agg_field: targetField?.name,
110
+ mode: options?.mode
110
111
  }),
111
112
  }
112
113
  )
@@ -126,7 +126,12 @@ const FieldSettings = () => {
126
126
  "CSRF-Token": options.csrfToken,
127
127
  "X-Requested-With": "XMLHttpRequest",
128
128
  },
129
- body: JSON.stringify({ field_name: name, fieldview, type: "Field" }),
129
+ body: JSON.stringify({
130
+ field_name: name,
131
+ fieldview,
132
+ type: "Field",
133
+ mode: options?.mode,
134
+ }),
130
135
  })
131
136
  .then(function (response) {
132
137
  if (response.status < 399) return response.json();
@@ -406,6 +406,7 @@ const JoinFieldSettings = () => {
406
406
  join_field: name,
407
407
  join_fieldview: fieldview,
408
408
  type: "JoinField",
409
+ mode: options?.mode,
409
410
  }),
410
411
  })
411
412
  .then(function (response) {