@projectcaluma/ember-form-builder 13.1.5 → 13.2.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.
|
@@ -38,11 +38,16 @@ export default class CfbFormEditorQuestionDefault extends Component {
|
|
|
38
38
|
raw.meta = { widgetOverride: "cf-field/input/powerselect" };
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
const key =
|
|
42
|
-
.replace(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
raw
|
|
41
|
+
const key = camelize(
|
|
42
|
+
this.args.model.__typename.replace(/Question$/, "Options"),
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
// Format option changesets to match the raw format needed in lib.
|
|
46
|
+
raw[key] = {
|
|
47
|
+
edges: raw.options.map((node) => {
|
|
48
|
+
return { node };
|
|
49
|
+
}),
|
|
50
|
+
};
|
|
46
51
|
delete raw.options;
|
|
47
52
|
}
|
|
48
53
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@projectcaluma/ember-form-builder",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.2.0",
|
|
4
4
|
"description": "Ember engine for building Caluma forms.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"lodash.isequal": "^4.5.0",
|
|
46
46
|
"reactiveweb": "^1.3.0",
|
|
47
47
|
"uikit": "^3.21.16",
|
|
48
|
-
"@projectcaluma/ember-core": "^13.
|
|
49
|
-
"@projectcaluma/ember-form": "^13.
|
|
48
|
+
"@projectcaluma/ember-core": "^13.2.0",
|
|
49
|
+
"@projectcaluma/ember-form": "^13.2.0"
|
|
50
50
|
},
|
|
51
51
|
"//": [
|
|
52
52
|
"TODO: remove obsolete dependency to `ember-data` which is only necessary",
|
|
@@ -81,10 +81,10 @@
|
|
|
81
81
|
"loader.js": "4.7.0",
|
|
82
82
|
"miragejs": "0.1.48",
|
|
83
83
|
"qunit": "2.22.0",
|
|
84
|
-
"qunit-dom": "3.
|
|
84
|
+
"qunit-dom": "3.4.0",
|
|
85
85
|
"sinon": "19.0.2",
|
|
86
86
|
"webpack": "5.96.1",
|
|
87
|
-
"@projectcaluma/ember-testing": "13.
|
|
87
|
+
"@projectcaluma/ember-testing": "13.2.0"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"ember-engines": "^0.11.0",
|