@uniformdev/canvas 20.35.1-alpha.210 → 20.35.1-alpha.238
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/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.esm.js +2 -8
- package/dist/index.js +2 -8
- package/dist/index.mjs +2 -8
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -12505,9 +12505,10 @@ interface EvaluateNodeTreeVisibilityOptions extends Pick<EvaluateNodeVisibilityO
|
|
|
12505
12505
|
/**
|
|
12506
12506
|
* Function to call to evaluate visibility rules when traversing the node tree with walkNodeTree.
|
|
12507
12507
|
*
|
|
12508
|
-
*
|
|
12508
|
+
* @returns `true` if the node is visible (or processing was skipped e.g. for blocks or entries that don't have visibility control),
|
|
12509
|
+
* `false` if the node was removed and you should stop any other code handling for it.
|
|
12509
12510
|
*/
|
|
12510
|
-
declare function evaluateWalkTreeNodeVisibility({ rules, showIndeterminate, rootNodeInvisibleHandling, context, }: EvaluateNodeTreeVisibilityOptions): boolean
|
|
12511
|
+
declare function evaluateWalkTreeNodeVisibility({ rules, showIndeterminate, rootNodeInvisibleHandling, context, }: EvaluateNodeTreeVisibilityOptions): boolean;
|
|
12511
12512
|
|
|
12512
12513
|
interface EvaluateWalkTreePropertyCriteriaOptions extends Pick<EvaluatePropertyCriteriaOptions, 'rules' | 'keepIndeterminate'> {
|
|
12513
12514
|
node: ComponentInstance;
|
|
@@ -13705,7 +13706,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
|
|
|
13705
13706
|
*/
|
|
13706
13707
|
declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable') => void | false): number;
|
|
13707
13708
|
|
|
13708
|
-
declare const version = "20.
|
|
13709
|
+
declare const version = "20.46.0";
|
|
13709
13710
|
|
|
13710
13711
|
/** API client to enable managing workflow definitions */
|
|
13711
13712
|
declare class WorkflowClient extends ApiClient {
|
package/dist/index.d.ts
CHANGED
|
@@ -12505,9 +12505,10 @@ interface EvaluateNodeTreeVisibilityOptions extends Pick<EvaluateNodeVisibilityO
|
|
|
12505
12505
|
/**
|
|
12506
12506
|
* Function to call to evaluate visibility rules when traversing the node tree with walkNodeTree.
|
|
12507
12507
|
*
|
|
12508
|
-
*
|
|
12508
|
+
* @returns `true` if the node is visible (or processing was skipped e.g. for blocks or entries that don't have visibility control),
|
|
12509
|
+
* `false` if the node was removed and you should stop any other code handling for it.
|
|
12509
12510
|
*/
|
|
12510
|
-
declare function evaluateWalkTreeNodeVisibility({ rules, showIndeterminate, rootNodeInvisibleHandling, context, }: EvaluateNodeTreeVisibilityOptions): boolean
|
|
12511
|
+
declare function evaluateWalkTreeNodeVisibility({ rules, showIndeterminate, rootNodeInvisibleHandling, context, }: EvaluateNodeTreeVisibilityOptions): boolean;
|
|
12511
12512
|
|
|
12512
12513
|
interface EvaluateWalkTreePropertyCriteriaOptions extends Pick<EvaluatePropertyCriteriaOptions, 'rules' | 'keepIndeterminate'> {
|
|
12513
12514
|
node: ComponentInstance;
|
|
@@ -13705,7 +13706,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
|
|
|
13705
13706
|
*/
|
|
13706
13707
|
declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable') => void | false): number;
|
|
13707
13708
|
|
|
13708
|
-
declare const version = "20.
|
|
13709
|
+
declare const version = "20.46.0";
|
|
13709
13710
|
|
|
13710
13711
|
/** API client to enable managing workflow definitions */
|
|
13711
13712
|
declare class WorkflowClient extends ApiClient {
|
package/dist/index.esm.js
CHANGED
|
@@ -2116,7 +2116,7 @@ function evaluateWalkTreeNodeVisibility({
|
|
|
2116
2116
|
}) {
|
|
2117
2117
|
const { type, node, actions, ancestorsAndSelf } = context;
|
|
2118
2118
|
if (type !== "component") {
|
|
2119
|
-
return;
|
|
2119
|
+
return true;
|
|
2120
2120
|
}
|
|
2121
2121
|
const result = evaluateNodeVisibility({ node, rules, simplifyCriteria: true });
|
|
2122
2122
|
if (result === null && !showIndeterminate || result === false) {
|
|
@@ -2694,9 +2694,6 @@ var createCanvasChannel = ({
|
|
|
2694
2694
|
}
|
|
2695
2695
|
};
|
|
2696
2696
|
const postMessage = (message) => {
|
|
2697
|
-
if (message.type !== "report-rendered-compositions") {
|
|
2698
|
-
console.log("[temp-debug-channel-SEND]", message.type, message);
|
|
2699
|
-
}
|
|
2700
2697
|
broadcastToItems.forEach((item) => item == null ? void 0 : item.postMessage(JSON.stringify(message), "*"));
|
|
2701
2698
|
for (const handlerId in handlers) {
|
|
2702
2699
|
const handler = handlers[handlerId];
|
|
@@ -2914,9 +2911,6 @@ var createCanvasChannel = ({
|
|
|
2914
2911
|
if (!message) {
|
|
2915
2912
|
return;
|
|
2916
2913
|
}
|
|
2917
|
-
if (message.type !== "report-rendered-compositions") {
|
|
2918
|
-
console.log("[temp-debug-channel] RECV:", message.type, message);
|
|
2919
|
-
}
|
|
2920
2914
|
for (const handlerId in handlers) {
|
|
2921
2915
|
const handler = handlers[handlerId];
|
|
2922
2916
|
if (handler.types.includes(message.type)) {
|
|
@@ -3551,7 +3545,7 @@ function handleRichTextNodeBinding(object, options) {
|
|
|
3551
3545
|
import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
|
|
3552
3546
|
|
|
3553
3547
|
// src/.version.ts
|
|
3554
|
-
var version = "20.
|
|
3548
|
+
var version = "20.46.0";
|
|
3555
3549
|
|
|
3556
3550
|
// src/WorkflowClient.ts
|
|
3557
3551
|
import { ApiClient as ApiClient16 } from "@uniformdev/context/api";
|
package/dist/index.js
CHANGED
|
@@ -2294,7 +2294,7 @@ function evaluateWalkTreeNodeVisibility({
|
|
|
2294
2294
|
}) {
|
|
2295
2295
|
const { type, node, actions, ancestorsAndSelf } = context;
|
|
2296
2296
|
if (type !== "component") {
|
|
2297
|
-
return;
|
|
2297
|
+
return true;
|
|
2298
2298
|
}
|
|
2299
2299
|
const result = evaluateNodeVisibility({ node, rules, simplifyCriteria: true });
|
|
2300
2300
|
if (result === null && !showIndeterminate || result === false) {
|
|
@@ -2872,9 +2872,6 @@ var createCanvasChannel = ({
|
|
|
2872
2872
|
}
|
|
2873
2873
|
};
|
|
2874
2874
|
const postMessage = (message) => {
|
|
2875
|
-
if (message.type !== "report-rendered-compositions") {
|
|
2876
|
-
console.log("[temp-debug-channel-SEND]", message.type, message);
|
|
2877
|
-
}
|
|
2878
2875
|
broadcastToItems.forEach((item) => item == null ? void 0 : item.postMessage(JSON.stringify(message), "*"));
|
|
2879
2876
|
for (const handlerId in handlers) {
|
|
2880
2877
|
const handler = handlers[handlerId];
|
|
@@ -3092,9 +3089,6 @@ var createCanvasChannel = ({
|
|
|
3092
3089
|
if (!message) {
|
|
3093
3090
|
return;
|
|
3094
3091
|
}
|
|
3095
|
-
if (message.type !== "report-rendered-compositions") {
|
|
3096
|
-
console.log("[temp-debug-channel] RECV:", message.type, message);
|
|
3097
|
-
}
|
|
3098
3092
|
for (const handlerId in handlers) {
|
|
3099
3093
|
const handler = handlers[handlerId];
|
|
3100
3094
|
if (handler.types.includes(message.type)) {
|
|
@@ -3729,7 +3723,7 @@ function handleRichTextNodeBinding(object, options) {
|
|
|
3729
3723
|
var import_api18 = require("@uniformdev/context/api");
|
|
3730
3724
|
|
|
3731
3725
|
// src/.version.ts
|
|
3732
|
-
var version = "20.
|
|
3726
|
+
var version = "20.46.0";
|
|
3733
3727
|
|
|
3734
3728
|
// src/WorkflowClient.ts
|
|
3735
3729
|
var import_api17 = require("@uniformdev/context/api");
|
package/dist/index.mjs
CHANGED
|
@@ -2116,7 +2116,7 @@ function evaluateWalkTreeNodeVisibility({
|
|
|
2116
2116
|
}) {
|
|
2117
2117
|
const { type, node, actions, ancestorsAndSelf } = context;
|
|
2118
2118
|
if (type !== "component") {
|
|
2119
|
-
return;
|
|
2119
|
+
return true;
|
|
2120
2120
|
}
|
|
2121
2121
|
const result = evaluateNodeVisibility({ node, rules, simplifyCriteria: true });
|
|
2122
2122
|
if (result === null && !showIndeterminate || result === false) {
|
|
@@ -2694,9 +2694,6 @@ var createCanvasChannel = ({
|
|
|
2694
2694
|
}
|
|
2695
2695
|
};
|
|
2696
2696
|
const postMessage = (message) => {
|
|
2697
|
-
if (message.type !== "report-rendered-compositions") {
|
|
2698
|
-
console.log("[temp-debug-channel-SEND]", message.type, message);
|
|
2699
|
-
}
|
|
2700
2697
|
broadcastToItems.forEach((item) => item == null ? void 0 : item.postMessage(JSON.stringify(message), "*"));
|
|
2701
2698
|
for (const handlerId in handlers) {
|
|
2702
2699
|
const handler = handlers[handlerId];
|
|
@@ -2914,9 +2911,6 @@ var createCanvasChannel = ({
|
|
|
2914
2911
|
if (!message) {
|
|
2915
2912
|
return;
|
|
2916
2913
|
}
|
|
2917
|
-
if (message.type !== "report-rendered-compositions") {
|
|
2918
|
-
console.log("[temp-debug-channel] RECV:", message.type, message);
|
|
2919
|
-
}
|
|
2920
2914
|
for (const handlerId in handlers) {
|
|
2921
2915
|
const handler = handlers[handlerId];
|
|
2922
2916
|
if (handler.types.includes(message.type)) {
|
|
@@ -3551,7 +3545,7 @@ function handleRichTextNodeBinding(object, options) {
|
|
|
3551
3545
|
import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
|
|
3552
3546
|
|
|
3553
3547
|
// src/.version.ts
|
|
3554
|
-
var version = "20.
|
|
3548
|
+
var version = "20.46.0";
|
|
3555
3549
|
|
|
3556
3550
|
// src/WorkflowClient.ts
|
|
3557
3551
|
import { ApiClient as ApiClient16 } from "@uniformdev/context/api";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas",
|
|
3
|
-
"version": "20.35.1-alpha.
|
|
3
|
+
"version": "20.35.1-alpha.238+9863606d41",
|
|
4
4
|
"description": "Common functionality and types for Uniform Canvas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/retry": "0.12.5",
|
|
37
|
-
"lexical": "0.
|
|
37
|
+
"lexical": "0.39.0",
|
|
38
38
|
"p-limit": "3.1.0",
|
|
39
39
|
"p-retry": "5.1.2",
|
|
40
40
|
"p-throttle": "5.0.0",
|
|
41
41
|
"svix": "1.71.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@uniformdev/assets": "20.35.1-alpha.
|
|
45
|
-
"@uniformdev/context": "20.35.1-alpha.
|
|
46
|
-
"@uniformdev/richtext": "20.35.1-alpha.
|
|
44
|
+
"@uniformdev/assets": "20.35.1-alpha.238+9863606d41",
|
|
45
|
+
"@uniformdev/context": "20.35.1-alpha.238+9863606d41",
|
|
46
|
+
"@uniformdev/richtext": "20.35.1-alpha.238+9863606d41",
|
|
47
47
|
"immer": "10.1.3"
|
|
48
48
|
},
|
|
49
49
|
"files": [
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "9863606d41f4248fa790dbf7da6db6a755bda19a"
|
|
56
56
|
}
|