@nascentdigital/funnel-editor 7.0.0 → 7.0.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.
|
@@ -6,7 +6,6 @@ export declare namespace FieldSerializer {
|
|
|
6
6
|
schema: Schema.Field.Type;
|
|
7
7
|
content: any | undefined;
|
|
8
8
|
snapshot: any | undefined;
|
|
9
|
-
config?: boolean;
|
|
10
9
|
};
|
|
11
|
-
function deserializeField({ id, eventBus, schema, content, snapshot
|
|
10
|
+
function deserializeField({ id, eventBus, schema, content, snapshot }: DeserializeFieldArgs): FieldModel;
|
|
12
11
|
}
|
|
@@ -5,7 +5,7 @@ const funnel_core_1 = require("@nascentdigital/funnel-core");
|
|
|
5
5
|
// namespace
|
|
6
6
|
var FieldSerializer;
|
|
7
7
|
(function (FieldSerializer) {
|
|
8
|
-
function deserializeField({ id, eventBus, schema, content, snapshot
|
|
8
|
+
function deserializeField({ id, eventBus, schema, content, snapshot }) {
|
|
9
9
|
var _a;
|
|
10
10
|
// deserialize based on type
|
|
11
11
|
switch (schema.type) {
|
|
@@ -30,8 +30,7 @@ var FieldSerializer;
|
|
|
30
30
|
name: schema.name,
|
|
31
31
|
publishedValue: snapshot !== null && snapshot !== void 0 ? snapshot : undefined,
|
|
32
32
|
initialValue: content !== null && content !== void 0 ? content : undefined,
|
|
33
|
-
required: schema.required
|
|
34
|
-
tags: config ? funnel_core_1.Field.Tag.config : undefined
|
|
33
|
+
required: schema.required
|
|
35
34
|
});
|
|
36
35
|
// handle lists (may nest more complex types)
|
|
37
36
|
case 'list': {
|
|
@@ -132,7 +132,7 @@ class PageController {
|
|
|
132
132
|
if ((core_1.IPage.Event.filter(e) && e.type === 'modified')
|
|
133
133
|
|| core_1.Item.Event.filter(e)
|
|
134
134
|
|| funnel_core_1.FieldList.Event.filter(e)
|
|
135
|
-
|| (funnel_core_1.Field.Event.filter(e) && (e.field.isComposite || e.field.
|
|
135
|
+
|| (funnel_core_1.Field.Event.filter(e) && (e.field.isComposite || e.field.isConfig))) {
|
|
136
136
|
return (0, rxjs_1.interval)(0);
|
|
137
137
|
}
|
|
138
138
|
else {
|
package/dist/styles/index.css
CHANGED
|
@@ -501,10 +501,10 @@ video {
|
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
[popover]{
|
|
504
|
-
inset: var(--toolwind-toggle-
|
|
505
|
-
background-color: var(--toolwind-toggle-
|
|
506
|
-
color: var(--toolwind-toggle-
|
|
507
|
-
margin: var(--toolwind-toggle-
|
|
504
|
+
inset: var(--toolwind-toggle-dPaLY0vrOf, 0px);
|
|
505
|
+
background-color: var(--toolwind-toggle-YD4oGaSVC1, canvas);
|
|
506
|
+
color: var(--toolwind-toggle-SfUGdDTotd, canvastext);
|
|
507
|
+
margin: var(--toolwind-toggle-vZWAXnxQvw, auto);
|
|
508
508
|
}
|
|
509
509
|
html, body, #__next, #root, .Editor-wrap{
|
|
510
510
|
position: relative;
|
|
@@ -6220,10 +6220,10 @@ img.nd-Visual-image {
|
|
|
6220
6220
|
.anchored\/\[--nd-popup-anchor\]:where(.anchored\/\[--nd-popup-anchor\]){
|
|
6221
6221
|
position: absolute;
|
|
6222
6222
|
view-transition-name: --tw-anchor-view-transition-2j1919322s193433343934192p322r2w33362l;
|
|
6223
|
-
--toolwind-toggle-
|
|
6224
|
-
--toolwind-toggle-
|
|
6225
|
-
--toolwind-toggle-
|
|
6226
|
-
--toolwind-toggle-
|
|
6223
|
+
--toolwind-toggle-dPaLY0vrOf: auto;
|
|
6224
|
+
--toolwind-toggle-YD4oGaSVC1: transparent;
|
|
6225
|
+
--toolwind-toggle-SfUGdDTotd: inherit;
|
|
6226
|
+
--toolwind-toggle-vZWAXnxQvw: 0px;
|
|
6227
6227
|
}
|
|
6228
6228
|
.counter-l1{
|
|
6229
6229
|
counter-reset: l1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nascentdigital/funnel-editor",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"ts-jest": "^29",
|
|
93
93
|
"type-fest": "^4"
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "015e14c2eb8b29467360f09aaafb5c87ffbacb07"
|
|
96
96
|
}
|