bpmax-cli 0.2.1-beta.41 → 0.2.1-beta.42
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/bin.js
CHANGED
|
@@ -496,7 +496,7 @@ function pluginAgentCapabilityForRequest(method, normalizedPath) {
|
|
|
496
496
|
// package.json
|
|
497
497
|
var package_default = {
|
|
498
498
|
name: "bpmax-cli",
|
|
499
|
-
version: "0.2.1-beta.
|
|
499
|
+
version: "0.2.1-beta.42",
|
|
500
500
|
description: "CLI for BPMAX environments with multi-profile config and local login callback flow",
|
|
501
501
|
type: "module",
|
|
502
502
|
bin: {
|
|
@@ -9150,7 +9150,7 @@ function formTemplateConditionFieldReferences(expression) {
|
|
|
9150
9150
|
return Array.from(fields);
|
|
9151
9151
|
}
|
|
9152
9152
|
function isSupportedFormTemplateConditionVariable(expression) {
|
|
9153
|
-
return /^\$(?:MOMENT|userInfo|formField|formDisplayField|RANGE)(?:\b|\.|\[|\()/.test(expression.trim());
|
|
9153
|
+
return /^\$(?:MOMENT|userInfo|formField|formDisplayField|FLOW|RANGE)(?:\b|\.|\[|\()/.test(expression.trim());
|
|
9154
9154
|
}
|
|
9155
9155
|
function formTemplateConditionConfigSignature(value) {
|
|
9156
9156
|
if (!isRecord3(value) || !isRecord3(value.condition) || typeof value.action !== "boolean") {
|
|
@@ -9181,7 +9181,7 @@ function validateFormTemplateConditionVariable(expression, reference, side, path
|
|
|
9181
9181
|
return;
|
|
9182
9182
|
}
|
|
9183
9183
|
if (!isSupportedFormTemplateConditionVariable(expression)) {
|
|
9184
|
-
errors.push(`[form.dynamic_condition.variable_root] ${pathName}.${side}Value \u4F7F\u7528\u4E86\u4E0D\u652F\u6301\u7684\u53D8\u91CF\uFF1B\u4EC5\u5141\u8BB8 $MOMENT\u3001$userInfo\u3001$formField\u3001$formDisplayField\u3001$RANGE\u3002`);
|
|
9184
|
+
errors.push(`[form.dynamic_condition.variable_root] ${pathName}.${side}Value \u4F7F\u7528\u4E86\u4E0D\u652F\u6301\u7684\u53D8\u91CF\uFF1B\u4EC5\u5141\u8BB8 $MOMENT\u3001$userInfo\u3001$formField\u3001$formDisplayField\u3001$FLOW\u3001$RANGE\u3002`);
|
|
9185
9185
|
return;
|
|
9186
9186
|
}
|
|
9187
9187
|
const expressionFields = formTemplateConditionFieldReferences(expression);
|
|
@@ -20314,6 +20314,7 @@ function ownerIdsFromStep(step) {
|
|
|
20314
20314
|
const owners = [
|
|
20315
20315
|
step.owner_id,
|
|
20316
20316
|
step.ownerId,
|
|
20317
|
+
...Array.isArray(step.owner) ? step.owner : [],
|
|
20317
20318
|
...Array.isArray(step.owners) ? step.owners : [],
|
|
20318
20319
|
...Array.isArray(step.owner_list) ? step.owner_list : [],
|
|
20319
20320
|
...Array.isArray(step.step_owners) ? step.step_owners : []
|
|
@@ -20338,6 +20339,7 @@ function ownerDiagnosticsFromStep(step, currentUser) {
|
|
|
20338
20339
|
const authoritativeSources = [
|
|
20339
20340
|
{ source: "owner_id", value: step.owner_id },
|
|
20340
20341
|
{ source: "ownerId", value: step.ownerId },
|
|
20342
|
+
{ source: "owner", value: step.owner },
|
|
20341
20343
|
{ source: "owners", value: step.owners },
|
|
20342
20344
|
{ source: "owner_list", value: step.owner_list },
|
|
20343
20345
|
{ source: "step_owners", value: step.step_owners }
|