@nocobase/plugin-flow-engine 2.1.0-alpha.12 → 2.1.0-alpha.14
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/ai/ai-employees/nathan/index.js +1 -112
- package/dist/ai/ai-employees/nathan/prompt.md +132 -0
- package/dist/ai/ai-employees/nathan/skills/frontend-developer/tools/getContextApis.js +2 -2
- package/dist/ai/ai-employees/nathan/skills/frontend-developer/tools/getContextEnvs.js +2 -2
- package/dist/ai/ai-employees/nathan/skills/frontend-developer/tools/getContextVars.js +2 -2
- package/dist/ai/ai-employees/nathan/skills/frontend-developer/tools/lintAndTestJS.js +2 -2
- package/dist/client/index.js +1 -1
- package/dist/externalVersion.js +10 -12
- package/dist/node_modules/ses/package.json +1 -1
- package/dist/node_modules/zod/package.json +1 -1
- package/dist/server/flow-surfaces/action-scope.d.ts +37 -0
- package/dist/server/flow-surfaces/action-scope.js +146 -0
- package/dist/server/flow-surfaces/builder.d.ts +209 -0
- package/dist/server/flow-surfaces/builder.js +858 -0
- package/dist/server/flow-surfaces/catalog.d.ts +65 -0
- package/dist/server/flow-surfaces/catalog.js +2766 -0
- package/dist/server/flow-surfaces/chart-config.d.ts +121 -0
- package/dist/server/flow-surfaces/chart-config.js +1394 -0
- package/dist/server/flow-surfaces/compiler.d.ts +22 -0
- package/dist/server/flow-surfaces/compiler.js +1129 -0
- package/dist/server/flow-surfaces/configure-options.d.ts +23 -0
- package/dist/server/flow-surfaces/configure-options.js +671 -0
- package/dist/server/flow-surfaces/constants.d.ts +13 -0
- package/dist/server/flow-surfaces/constants.js +137 -0
- package/dist/server/flow-surfaces/context.d.ts +72 -0
- package/dist/server/flow-surfaces/context.js +556 -0
- package/dist/server/flow-surfaces/contract-guard.d.ts +19 -0
- package/dist/server/flow-surfaces/contract-guard.js +411 -0
- package/dist/server/flow-surfaces/errors.d.ts +47 -0
- package/dist/server/flow-surfaces/errors.js +145 -0
- package/dist/server/flow-surfaces/executor.d.ts +13 -0
- package/dist/server/flow-surfaces/executor.js +97 -0
- package/dist/server/flow-surfaces/field-semantics.d.ts +15 -0
- package/dist/server/flow-surfaces/field-semantics.js +80 -0
- package/dist/server/{flow-models/http-error-adapter.d.ts → flow-surfaces/index.d.ts} +3 -2
- package/dist/server/flow-surfaces/index.js +352 -0
- package/dist/server/flow-surfaces/locator.d.ts +28 -0
- package/dist/server/flow-surfaces/locator.js +238 -0
- package/dist/server/flow-surfaces/placement.d.ts +33 -0
- package/dist/server/flow-surfaces/placement.js +192 -0
- package/dist/server/flow-surfaces/route-sync.d.ts +47 -0
- package/dist/server/flow-surfaces/route-sync.js +392 -0
- package/dist/server/flow-surfaces/service.d.ts +530 -0
- package/dist/server/flow-surfaces/service.js +7736 -0
- package/dist/server/flow-surfaces/support-matrix.d.ts +28 -0
- package/dist/server/flow-surfaces/support-matrix.js +246 -0
- package/dist/server/flow-surfaces/surface-context.d.ts +51 -0
- package/dist/server/flow-surfaces/surface-context.js +356 -0
- package/dist/server/flow-surfaces/types.d.ts +192 -0
- package/dist/server/{flow-schema-contributions/actions/aclCheck.js → flow-surfaces/types.js} +2 -24
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +6 -4
- package/dist/server/plugin.d.ts +0 -3
- package/dist/server/plugin.js +7 -36
- package/dist/server/repository.d.ts +9 -67
- package/dist/server/repository.js +106 -422
- package/dist/server/server.d.ts +0 -7
- package/dist/server/server.js +53 -23
- package/dist/server/variables/resolve.d.ts +21 -0
- package/dist/server/variables/resolve.js +79 -0
- package/dist/swagger/flow-surfaces.d.ts +3186 -0
- package/dist/swagger/flow-surfaces.js +4320 -0
- package/dist/swagger/index.d.ts +2837 -810
- package/dist/swagger/index.js +14 -696
- package/package.json +2 -4
- package/dist/node_modules/ajv/.runkit_example.js +0 -23
- package/dist/node_modules/ajv/LICENSE +0 -22
- package/dist/node_modules/ajv/dist/2019.d.ts +0 -19
- package/dist/node_modules/ajv/dist/2019.js +0 -61
- package/dist/node_modules/ajv/dist/2020.d.ts +0 -19
- package/dist/node_modules/ajv/dist/2020.js +0 -55
- package/dist/node_modules/ajv/dist/ajv.d.ts +0 -18
- package/dist/node_modules/ajv/dist/ajv.js +0 -7
- package/dist/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
- package/dist/node_modules/ajv/dist/compile/codegen/code.js +0 -156
- package/dist/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
- package/dist/node_modules/ajv/dist/compile/codegen/index.js +0 -697
- package/dist/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
- package/dist/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
- package/dist/node_modules/ajv/dist/compile/errors.d.ts +0 -13
- package/dist/node_modules/ajv/dist/compile/errors.js +0 -123
- package/dist/node_modules/ajv/dist/compile/index.d.ts +0 -80
- package/dist/node_modules/ajv/dist/compile/index.js +0 -242
- package/dist/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
- package/dist/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
- package/dist/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
- package/dist/node_modules/ajv/dist/compile/jtd/serialize.js +0 -236
- package/dist/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
- package/dist/node_modules/ajv/dist/compile/jtd/types.js +0 -14
- package/dist/node_modules/ajv/dist/compile/names.d.ts +0 -20
- package/dist/node_modules/ajv/dist/compile/names.js +0 -28
- package/dist/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
- package/dist/node_modules/ajv/dist/compile/ref_error.js +0 -12
- package/dist/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
- package/dist/node_modules/ajv/dist/compile/resolve.js +0 -155
- package/dist/node_modules/ajv/dist/compile/rules.d.ts +0 -28
- package/dist/node_modules/ajv/dist/compile/rules.js +0 -26
- package/dist/node_modules/ajv/dist/compile/util.d.ts +0 -40
- package/dist/node_modules/ajv/dist/compile/util.js +0 -178
- package/dist/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
- package/dist/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
- package/dist/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
- package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
- package/dist/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
- package/dist/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
- package/dist/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
- package/dist/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
- package/dist/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
- package/dist/node_modules/ajv/dist/compile/validate/index.js +0 -520
- package/dist/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
- package/dist/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
- package/dist/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
- package/dist/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
- package/dist/node_modules/ajv/dist/core.d.ts +0 -174
- package/dist/node_modules/ajv/dist/core.js +0 -618
- package/dist/node_modules/ajv/dist/jtd.d.ts +0 -47
- package/dist/node_modules/ajv/dist/jtd.js +0 -72
- package/dist/node_modules/ajv/dist/refs/data.json +0 -13
- package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
- package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
- package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
- package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
- package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
- package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
- package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
- package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
- package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
- package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
- package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
- package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
- package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
- package/dist/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
- package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
- package/dist/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
- package/dist/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
- package/dist/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
- package/dist/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
- package/dist/node_modules/ajv/dist/runtime/equal.js +0 -7
- package/dist/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
- package/dist/node_modules/ajv/dist/runtime/parseJson.js +0 -185
- package/dist/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
- package/dist/node_modules/ajv/dist/runtime/quote.js +0 -30
- package/dist/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
- package/dist/node_modules/ajv/dist/runtime/re2.js +0 -6
- package/dist/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
- package/dist/node_modules/ajv/dist/runtime/timestamp.js +0 -42
- package/dist/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
- package/dist/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
- package/dist/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
- package/dist/node_modules/ajv/dist/runtime/uri.js +0 -6
- package/dist/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
- package/dist/node_modules/ajv/dist/runtime/validation_error.js +0 -11
- package/dist/node_modules/ajv/dist/standalone/index.d.ts +0 -6
- package/dist/node_modules/ajv/dist/standalone/index.js +0 -90
- package/dist/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
- package/dist/node_modules/ajv/dist/standalone/instance.js +0 -35
- package/dist/node_modules/ajv/dist/types/index.d.ts +0 -183
- package/dist/node_modules/ajv/dist/types/index.js +0 -3
- package/dist/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
- package/dist/node_modules/ajv/dist/types/json-schema.js +0 -3
- package/dist/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
- package/dist/node_modules/ajv/dist/types/jtd-schema.js +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
- package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
- package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
- package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
- package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
- package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
- package/dist/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
- package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
- package/dist/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
- package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
- package/dist/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
- package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
- package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
- package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
- package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
- package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
- package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
- package/dist/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
- package/dist/node_modules/ajv/dist/vocabularies/code.js +0 -131
- package/dist/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
- package/dist/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
- package/dist/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
- package/dist/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
- package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
- package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
- package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
- package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
- package/dist/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
- package/dist/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
- package/dist/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
- package/dist/node_modules/ajv/dist/vocabularies/errors.js +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
- package/dist/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
- package/dist/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
- package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
- package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
- package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
- package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
- package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
- package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
- package/dist/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
- package/dist/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
- package/dist/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
- package/dist/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
- package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
- package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
- package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
- package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
- package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
- package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
- package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
- package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
- package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
- package/dist/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
- package/dist/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
- package/dist/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
- package/dist/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
- package/dist/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
- package/dist/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
- package/dist/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/next.js +0 -8
- package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
- package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
- package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
- package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
- package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
- package/dist/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
- package/dist/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
- package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
- package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
- package/dist/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
- package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
- package/dist/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
- package/dist/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
- package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
- package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
- package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
- package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -33
- package/dist/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
- package/dist/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
- package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
- package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/dist/node_modules/ajv/lib/2019.ts +0 -81
- package/dist/node_modules/ajv/lib/2020.ts +0 -75
- package/dist/node_modules/ajv/lib/ajv.ts +0 -70
- package/dist/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
- package/dist/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
- package/dist/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
- package/dist/node_modules/ajv/lib/compile/errors.ts +0 -184
- package/dist/node_modules/ajv/lib/compile/index.ts +0 -324
- package/dist/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
- package/dist/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
- package/dist/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
- package/dist/node_modules/ajv/lib/compile/names.ts +0 -27
- package/dist/node_modules/ajv/lib/compile/ref_error.ts +0 -13
- package/dist/node_modules/ajv/lib/compile/resolve.ts +0 -149
- package/dist/node_modules/ajv/lib/compile/rules.ts +0 -50
- package/dist/node_modules/ajv/lib/compile/util.ts +0 -213
- package/dist/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
- package/dist/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
- package/dist/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
- package/dist/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
- package/dist/node_modules/ajv/lib/compile/validate/index.ts +0 -582
- package/dist/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
- package/dist/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
- package/dist/node_modules/ajv/lib/core.ts +0 -892
- package/dist/node_modules/ajv/lib/jtd.ts +0 -132
- package/dist/node_modules/ajv/lib/refs/data.json +0 -13
- package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
- package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
- package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
- package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
- package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
- package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
- package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
- package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
- package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
- package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
- package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
- package/dist/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
- package/dist/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
- package/dist/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
- package/dist/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
- package/dist/node_modules/ajv/lib/runtime/equal.ts +0 -7
- package/dist/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
- package/dist/node_modules/ajv/lib/runtime/quote.ts +0 -31
- package/dist/node_modules/ajv/lib/runtime/re2.ts +0 -6
- package/dist/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
- package/dist/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
- package/dist/node_modules/ajv/lib/runtime/uri.ts +0 -6
- package/dist/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
- package/dist/node_modules/ajv/lib/standalone/index.ts +0 -100
- package/dist/node_modules/ajv/lib/standalone/instance.ts +0 -36
- package/dist/node_modules/ajv/lib/types/index.ts +0 -244
- package/dist/node_modules/ajv/lib/types/json-schema.ts +0 -187
- package/dist/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
- package/dist/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
- package/dist/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
- package/dist/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
- package/dist/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
- package/dist/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
- package/dist/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
- package/dist/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
- package/dist/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
- package/dist/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
- package/dist/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
- package/dist/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
- package/dist/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
- package/dist/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
- package/dist/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
- package/dist/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
- package/dist/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
- package/dist/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
- package/dist/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
- package/dist/node_modules/ajv/lib/vocabularies/code.ts +0 -168
- package/dist/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
- package/dist/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
- package/dist/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
- package/dist/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
- package/dist/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
- package/dist/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
- package/dist/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
- package/dist/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
- package/dist/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
- package/dist/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
- package/dist/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
- package/dist/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
- package/dist/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
- package/dist/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
- package/dist/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
- package/dist/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
- package/dist/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
- package/dist/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
- package/dist/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
- package/dist/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
- package/dist/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
- package/dist/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
- package/dist/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
- package/dist/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
- package/dist/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
- package/dist/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
- package/dist/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
- package/dist/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
- package/dist/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
- package/dist/node_modules/ajv/lib/vocabularies/next.ts +0 -8
- package/dist/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
- package/dist/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
- package/dist/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
- package/dist/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
- package/dist/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
- package/dist/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
- package/dist/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
- package/dist/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
- package/dist/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
- package/dist/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
- package/dist/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
- package/dist/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
- package/dist/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
- package/dist/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
- package/dist/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
- package/dist/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
- package/dist/node_modules/ajv/package.json +0 -1
- package/dist/server/flow-models/action-handlers.d.ts +0 -26
- package/dist/server/flow-models/action-handlers.js +0 -209
- package/dist/server/flow-models/http-error-adapter.js +0 -58
- package/dist/server/flow-models/mutate-executor.d.ts +0 -17
- package/dist/server/flow-models/mutate-executor.js +0 -309
- package/dist/server/flow-models/repository-internals/duplicate-helpers.d.ts +0 -12
- package/dist/server/flow-models/repository-internals/duplicate-helpers.js +0 -121
- package/dist/server/flow-models/repository-internals/ensure-lock.d.ts +0 -15
- package/dist/server/flow-models/repository-internals/ensure-lock.js +0 -117
- package/dist/server/flow-models/repository-internals/errors.d.ts +0 -21
- package/dist/server/flow-models/repository-internals/errors.js +0 -78
- package/dist/server/flow-models/schema-contribution-collector.d.ts +0 -27
- package/dist/server/flow-models/schema-contribution-collector.js +0 -217
- package/dist/server/flow-models/validation-facade.d.ts +0 -29
- package/dist/server/flow-models/validation-facade.js +0 -181
- package/dist/server/flow-schema-contributions/actions/aclCheck.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/aclCheckRefresh.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/aclCheckRefresh.js +0 -46
- package/dist/server/flow-schema-contributions/actions/actionLinkageRules.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/actionLinkageRules.js +0 -48
- package/dist/server/flow-schema-contributions/actions/confirm.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/confirm.js +0 -73
- package/dist/server/flow-schema-contributions/actions/customVariable.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/customVariable.js +0 -76
- package/dist/server/flow-schema-contributions/actions/dataScope.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/dataScope.js +0 -79
- package/dist/server/flow-schema-contributions/actions/detailsFieldLinkageRules.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/detailsFieldLinkageRules.js +0 -62
- package/dist/server/flow-schema-contributions/actions/fieldLinkageRules.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/fieldLinkageRules.js +0 -62
- package/dist/server/flow-schema-contributions/actions/filterFormDefaultValues.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/filterFormDefaultValues.js +0 -80
- package/dist/server/flow-schema-contributions/actions/formAssignRules.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/formAssignRules.js +0 -62
- package/dist/server/flow-schema-contributions/actions/index.d.ts +0 -31
- package/dist/server/flow-schema-contributions/actions/index.js +0 -117
- package/dist/server/flow-schema-contributions/actions/layout.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/layout.js +0 -68
- package/dist/server/flow-schema-contributions/actions/linkageRulesRefresh.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/linkageRulesRefresh.js +0 -50
- package/dist/server/flow-schema-contributions/actions/navigateToURL.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/navigateToURL.js +0 -82
- package/dist/server/flow-schema-contributions/actions/openView.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/openView.js +0 -68
- package/dist/server/flow-schema-contributions/actions/refreshTargetBlocks.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/refreshTargetBlocks.js +0 -56
- package/dist/server/flow-schema-contributions/actions/runjs.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/runjs.js +0 -55
- package/dist/server/flow-schema-contributions/actions/setTargetDataScope.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/setTargetDataScope.js +0 -59
- package/dist/server/flow-schema-contributions/actions/showMessage.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/showMessage.js +0 -69
- package/dist/server/flow-schema-contributions/actions/showNotification.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/showNotification.js +0 -76
- package/dist/server/flow-schema-contributions/actions/sortingRule.d.ts +0 -10
- package/dist/server/flow-schema-contributions/actions/sortingRule.js +0 -67
- package/dist/server/flow-schema-contributions/field-models.d.ts +0 -12
- package/dist/server/flow-schema-contributions/field-models.js +0 -693
- package/dist/server/flow-schema-contributions/index.d.ts +0 -13
- package/dist/server/flow-schema-contributions/index.js +0 -64
- package/dist/server/flow-schema-contributions/models/ActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/ActionModel.js +0 -202
- package/dist/server/flow-schema-contributions/models/AddChildActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/AddChildActionModel.js +0 -47
- package/dist/server/flow-schema-contributions/models/AddNewActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/AddNewActionModel.js +0 -93
- package/dist/server/flow-schema-contributions/models/AssignFormGridModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/AssignFormGridModel.js +0 -82
- package/dist/server/flow-schema-contributions/models/AssignFormItemModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/AssignFormItemModel.js +0 -80
- package/dist/server/flow-schema-contributions/models/AssignFormModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/AssignFormModel.js +0 -122
- package/dist/server/flow-schema-contributions/models/BasePageTabModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/BasePageTabModel.js +0 -71
- package/dist/server/flow-schema-contributions/models/BlockGridModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/BlockGridModel.js +0 -81
- package/dist/server/flow-schema-contributions/models/BulkDeleteActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/BulkDeleteActionModel.js +0 -47
- package/dist/server/flow-schema-contributions/models/ChildPageModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/ChildPageModel.js +0 -106
- package/dist/server/flow-schema-contributions/models/ChildPageTabModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/ChildPageTabModel.js +0 -114
- package/dist/server/flow-schema-contributions/models/CreateFormModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/CreateFormModel.js +0 -54
- package/dist/server/flow-schema-contributions/models/DeleteActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/DeleteActionModel.js +0 -47
- package/dist/server/flow-schema-contributions/models/DetailsBlockModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/DetailsBlockModel.js +0 -179
- package/dist/server/flow-schema-contributions/models/DetailsGridModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/DetailsGridModel.js +0 -82
- package/dist/server/flow-schema-contributions/models/DetailsItemModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/DetailsItemModel.js +0 -77
- package/dist/server/flow-schema-contributions/models/EditActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/EditActionModel.js +0 -93
- package/dist/server/flow-schema-contributions/models/EditFormModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/EditFormModel.js +0 -103
- package/dist/server/flow-schema-contributions/models/ExpandCollapseActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/ExpandCollapseActionModel.js +0 -47
- package/dist/server/flow-schema-contributions/models/FilterActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FilterActionModel.js +0 -57
- package/dist/server/flow-schema-contributions/models/FilterFormBlockModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FilterFormBlockModel.js +0 -155
- package/dist/server/flow-schema-contributions/models/FilterFormCollapseActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FilterFormCollapseActionModel.js +0 -85
- package/dist/server/flow-schema-contributions/models/FilterFormCustomFieldModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FilterFormCustomFieldModel.js +0 -89
- package/dist/server/flow-schema-contributions/models/FilterFormGridModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FilterFormGridModel.js +0 -82
- package/dist/server/flow-schema-contributions/models/FilterFormItemModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FilterFormItemModel.js +0 -77
- package/dist/server/flow-schema-contributions/models/FilterFormJSActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FilterFormJSActionModel.js +0 -108
- package/dist/server/flow-schema-contributions/models/FilterFormResetActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FilterFormResetActionModel.js +0 -87
- package/dist/server/flow-schema-contributions/models/FilterFormSubmitActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FilterFormSubmitActionModel.js +0 -87
- package/dist/server/flow-schema-contributions/models/FormAssociationItemModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FormAssociationItemModel.js +0 -78
- package/dist/server/flow-schema-contributions/models/FormBlockModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FormBlockModel.js +0 -45
- package/dist/server/flow-schema-contributions/models/FormGridModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FormGridModel.js +0 -67
- package/dist/server/flow-schema-contributions/models/FormItemModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FormItemModel.js +0 -77
- package/dist/server/flow-schema-contributions/models/FormSubmitActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/FormSubmitActionModel.js +0 -87
- package/dist/server/flow-schema-contributions/models/JSActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/JSActionModel.js +0 -65
- package/dist/server/flow-schema-contributions/models/JSBlockModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/JSBlockModel.js +0 -90
- package/dist/server/flow-schema-contributions/models/JSCollectionActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/JSCollectionActionModel.js +0 -47
- package/dist/server/flow-schema-contributions/models/JSColumnModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/JSColumnModel.js +0 -100
- package/dist/server/flow-schema-contributions/models/JSFormActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/JSFormActionModel.js +0 -47
- package/dist/server/flow-schema-contributions/models/JSItemModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/JSItemModel.js +0 -87
- package/dist/server/flow-schema-contributions/models/JSRecordActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/JSRecordActionModel.js +0 -47
- package/dist/server/flow-schema-contributions/models/LinkActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/LinkActionModel.js +0 -47
- package/dist/server/flow-schema-contributions/models/PageModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/PageModel.js +0 -159
- package/dist/server/flow-schema-contributions/models/PageTabModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/PageTabModel.js +0 -69
- package/dist/server/flow-schema-contributions/models/PopupActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/PopupActionModel.js +0 -92
- package/dist/server/flow-schema-contributions/models/PopupCollectionActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/PopupCollectionActionModel.js +0 -119
- package/dist/server/flow-schema-contributions/models/RefreshActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/RefreshActionModel.js +0 -47
- package/dist/server/flow-schema-contributions/models/RootPageModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/RootPageModel.js +0 -124
- package/dist/server/flow-schema-contributions/models/RootPageTabModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/RootPageTabModel.js +0 -69
- package/dist/server/flow-schema-contributions/models/RouteModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/RouteModel.js +0 -121
- package/dist/server/flow-schema-contributions/models/TableActionsColumnModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/TableActionsColumnModel.js +0 -93
- package/dist/server/flow-schema-contributions/models/TableBlockModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/TableBlockModel.js +0 -254
- package/dist/server/flow-schema-contributions/models/TableColumnModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/TableColumnModel.js +0 -77
- package/dist/server/flow-schema-contributions/models/TableCustomColumnModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/TableCustomColumnModel.js +0 -66
- package/dist/server/flow-schema-contributions/models/UpdateRecordActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/UpdateRecordActionModel.js +0 -173
- package/dist/server/flow-schema-contributions/models/ViewActionModel.d.ts +0 -10
- package/dist/server/flow-schema-contributions/models/ViewActionModel.js +0 -123
- package/dist/server/flow-schema-contributions/models/index.d.ts +0 -66
- package/dist/server/flow-schema-contributions/models/index.js +0 -257
- package/dist/server/flow-schema-contributions/shared.d.ts +0 -501
- package/dist/server/flow-schema-contributions/shared.js +0 -1649
- package/dist/server/flow-schema-service.d.ts +0 -87
- package/dist/server/flow-schema-service.js +0 -963
|
@@ -1,693 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
var __defProp = Object.defineProperty;
|
|
11
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
-
var __export = (target, all) => {
|
|
15
|
-
for (var name in all)
|
|
16
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
17
|
-
};
|
|
18
|
-
var __copyProps = (to, from, except, desc) => {
|
|
19
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
20
|
-
for (let key of __getOwnPropNames(from))
|
|
21
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
22
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
23
|
-
}
|
|
24
|
-
return to;
|
|
25
|
-
};
|
|
26
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
27
|
-
var field_models_exports = {};
|
|
28
|
-
__export(field_models_exports, {
|
|
29
|
-
coreFieldBindingContextContributions: () => coreFieldBindingContextContributions,
|
|
30
|
-
coreFieldBindingContributions: () => coreFieldBindingContributions,
|
|
31
|
-
coreFieldModelContributions: () => coreFieldModelContributions
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(field_models_exports);
|
|
34
|
-
var import_shared = require("./shared");
|
|
35
|
-
function toTitle(use) {
|
|
36
|
-
return use.replace(/Model$/, "").replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/\bJson\b/g, "JSON").replace(/\bUrl\b/g, "URL").trim();
|
|
37
|
-
}
|
|
38
|
-
function createFieldContribution(use, options = {}) {
|
|
39
|
-
return {
|
|
40
|
-
...(0, import_shared.createFieldModelSchemaContribution)({
|
|
41
|
-
use,
|
|
42
|
-
title: toTitle(use)
|
|
43
|
-
}),
|
|
44
|
-
...options,
|
|
45
|
-
use,
|
|
46
|
-
title: options.title || toTitle(use)
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function createJsFieldContribution(use) {
|
|
50
|
-
const baseSchema = (0, import_shared.createFieldModelStepParamsSchema)();
|
|
51
|
-
const skeleton = (0, import_shared.createFieldModelSkeleton)(use);
|
|
52
|
-
return createFieldContribution(use, {
|
|
53
|
-
title: use === "JSEditableFieldModel" ? "JS editable field" : "JS field",
|
|
54
|
-
stepParamsSchema: {
|
|
55
|
-
type: "object",
|
|
56
|
-
properties: {
|
|
57
|
-
...baseSchema.properties || {},
|
|
58
|
-
jsSettings: import_shared.runJsActionSettingsStepParamsSchema
|
|
59
|
-
},
|
|
60
|
-
additionalProperties: true
|
|
61
|
-
},
|
|
62
|
-
skeleton: {
|
|
63
|
-
...skeleton,
|
|
64
|
-
stepParams: {
|
|
65
|
-
...skeleton.stepParams || {},
|
|
66
|
-
jsSettings: {
|
|
67
|
-
runJs: {
|
|
68
|
-
version: "v2",
|
|
69
|
-
code: ""
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
function createAssociationDisplayFieldSkeleton(use, options = {}) {
|
|
77
|
-
const dataSourceKey = options.dataSourceKey || "main";
|
|
78
|
-
const sourceCollectionName = options.sourceCollectionName || "users";
|
|
79
|
-
const sourceFieldPath = options.sourceFieldPath || "roles";
|
|
80
|
-
const targetCollectionName = options.targetCollectionName || "roles";
|
|
81
|
-
const targetFieldPath = options.targetFieldPath || "title";
|
|
82
|
-
return {
|
|
83
|
-
...(0, import_shared.createFieldModelSkeleton)(use, {
|
|
84
|
-
dataSourceKey,
|
|
85
|
-
collectionName: sourceCollectionName,
|
|
86
|
-
fieldPath: sourceFieldPath
|
|
87
|
-
}),
|
|
88
|
-
subModels: {
|
|
89
|
-
field: (0, import_shared.createFieldModelSkeleton)("DisplayTextFieldModel", {
|
|
90
|
-
dataSourceKey,
|
|
91
|
-
collectionName: targetCollectionName,
|
|
92
|
-
fieldPath: targetFieldPath
|
|
93
|
-
})
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
function createRecordPickerFieldContribution() {
|
|
98
|
-
const skeleton = createAssociationDisplayFieldSkeleton("RecordPickerFieldModel");
|
|
99
|
-
return createFieldContribution("RecordPickerFieldModel", {
|
|
100
|
-
subModelSlots: {
|
|
101
|
-
field: (0, import_shared.createRuntimeFieldModelSlotSchema)("display-field", "Selected record label renderer."),
|
|
102
|
-
"grid-block": {
|
|
103
|
-
type: "object",
|
|
104
|
-
use: "BlockGridModel",
|
|
105
|
-
description: "Popup selector content grid."
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
skeleton: {
|
|
109
|
-
...skeleton,
|
|
110
|
-
subModels: {
|
|
111
|
-
...skeleton.subModels,
|
|
112
|
-
"grid-block": (0, import_shared.createPopupBlockGrid)({
|
|
113
|
-
prefix: "record-picker-popup"
|
|
114
|
-
})
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
function createRecordSelectFieldContribution() {
|
|
120
|
-
return createFieldContribution("RecordSelectFieldModel", {
|
|
121
|
-
subModelSlots: {
|
|
122
|
-
field: (0, import_shared.createRuntimeFieldModelSlotSchema)("display-field", "Selected option label renderer.")
|
|
123
|
-
},
|
|
124
|
-
skeleton: createAssociationDisplayFieldSkeleton("RecordSelectFieldModel")
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
function createSubTableColumnContribution() {
|
|
128
|
-
const dataSourceKey = "main";
|
|
129
|
-
const collectionName = "users";
|
|
130
|
-
const fieldPath = "roles.title";
|
|
131
|
-
return createFieldContribution("SubTableColumnModel", {
|
|
132
|
-
subModelSlots: {
|
|
133
|
-
field: (0, import_shared.createRuntimeFieldModelSlotSchema)("editable-field", "Inline sub-table column editor field.")
|
|
134
|
-
},
|
|
135
|
-
skeleton: {
|
|
136
|
-
uid: "todo-sub-table-column-model",
|
|
137
|
-
use: "SubTableColumnModel",
|
|
138
|
-
stepParams: {
|
|
139
|
-
fieldSettings: {
|
|
140
|
-
init: {
|
|
141
|
-
dataSourceKey,
|
|
142
|
-
collectionName,
|
|
143
|
-
fieldPath
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
subModels: {
|
|
148
|
-
field: (0, import_shared.createFieldModelSkeleton)("DisplayTextFieldModel", {
|
|
149
|
-
dataSourceKey,
|
|
150
|
-
collectionName,
|
|
151
|
-
fieldPath
|
|
152
|
-
})
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
function createSubTableFieldContribution() {
|
|
158
|
-
return createFieldContribution("SubTableFieldModel", {
|
|
159
|
-
subModelSlots: {
|
|
160
|
-
columns: {
|
|
161
|
-
type: "array",
|
|
162
|
-
uses: ["SubTableColumnModel"],
|
|
163
|
-
description: "Inline editable sub-table columns."
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
skeleton: {
|
|
167
|
-
...(0, import_shared.createFieldModelSkeleton)("SubTableFieldModel", {
|
|
168
|
-
dataSourceKey: "main",
|
|
169
|
-
collectionName: "users",
|
|
170
|
-
fieldPath: "roles"
|
|
171
|
-
}),
|
|
172
|
-
subModels: {
|
|
173
|
-
columns: [
|
|
174
|
-
{
|
|
175
|
-
uid: "todo-sub-table-column-model",
|
|
176
|
-
use: "SubTableColumnModel",
|
|
177
|
-
stepParams: {
|
|
178
|
-
fieldSettings: {
|
|
179
|
-
init: {
|
|
180
|
-
dataSourceKey: "main",
|
|
181
|
-
collectionName: "users",
|
|
182
|
-
fieldPath: "roles.title"
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
subModels: {
|
|
187
|
-
field: (0, import_shared.createFieldModelSkeleton)("DisplayTextFieldModel", {
|
|
188
|
-
dataSourceKey: "main",
|
|
189
|
-
collectionName: "users",
|
|
190
|
-
fieldPath: "roles.title"
|
|
191
|
-
})
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
]
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
function createSubFormFieldContribution(use) {
|
|
200
|
-
return createFieldContribution(use, {
|
|
201
|
-
subModelSlots: {
|
|
202
|
-
grid: {
|
|
203
|
-
type: "object",
|
|
204
|
-
use: "FormGridModel",
|
|
205
|
-
description: "Nested form grid."
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
skeleton: {
|
|
209
|
-
...(0, import_shared.createFieldModelSkeleton)(use, {
|
|
210
|
-
dataSourceKey: "main",
|
|
211
|
-
collectionName: "users",
|
|
212
|
-
fieldPath: use === "SubFormFieldModel" ? "profile" : "roles"
|
|
213
|
-
}),
|
|
214
|
-
subModels: {
|
|
215
|
-
grid: {
|
|
216
|
-
uid: `todo-${use.replace(/Model$/, "").replace(/[A-Z]/g, (m, i) => `${i ? "-" : ""}${m.toLowerCase()}`)}-grid`,
|
|
217
|
-
use: "FormGridModel"
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
function associationBinding(context, use, interfaces, options = {}) {
|
|
224
|
-
return {
|
|
225
|
-
context,
|
|
226
|
-
use,
|
|
227
|
-
interfaces,
|
|
228
|
-
conditions: {
|
|
229
|
-
association: true,
|
|
230
|
-
...options.conditions || {}
|
|
231
|
-
},
|
|
232
|
-
...options
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
const coreFieldBindingContextContributions = [
|
|
236
|
-
{ name: "editable-field" },
|
|
237
|
-
{ name: "display-field" },
|
|
238
|
-
{ name: "filter-field" },
|
|
239
|
-
{ name: "form-item-field", inherits: ["editable-field"] },
|
|
240
|
-
{ name: "assign-form-item-field", inherits: ["form-item-field"] },
|
|
241
|
-
{ name: "table-column-field", inherits: ["display-field"] },
|
|
242
|
-
{ name: "details-item-field", inherits: ["display-field"] },
|
|
243
|
-
{ name: "form-association-item-field", inherits: ["display-field"] },
|
|
244
|
-
{ name: "filter-form-item-field", inherits: ["filter-field"] }
|
|
245
|
-
];
|
|
246
|
-
const coreFieldModelContributionEntries = [
|
|
247
|
-
"InputFieldModel",
|
|
248
|
-
"NumberFieldModel",
|
|
249
|
-
"PercentFieldModel",
|
|
250
|
-
"PasswordFieldModel",
|
|
251
|
-
"CollectionSelectorFieldModel",
|
|
252
|
-
"DateOnlyFieldModel",
|
|
253
|
-
"DateTimeNoTzFieldModel",
|
|
254
|
-
"DateTimeTzFieldModel",
|
|
255
|
-
"TimeFieldModel",
|
|
256
|
-
"CheckboxFieldModel",
|
|
257
|
-
"CheckboxGroupFieldModel",
|
|
258
|
-
"RadioGroupFieldModel",
|
|
259
|
-
"SelectFieldModel",
|
|
260
|
-
"TextareaFieldModel",
|
|
261
|
-
"JsonFieldModel",
|
|
262
|
-
"RichTextFieldModel",
|
|
263
|
-
"ColorFieldModel",
|
|
264
|
-
"IconFieldModel",
|
|
265
|
-
createJsFieldContribution("JSFieldModel"),
|
|
266
|
-
createJsFieldContribution("JSEditableFieldModel"),
|
|
267
|
-
createRecordSelectFieldContribution(),
|
|
268
|
-
createRecordPickerFieldContribution(),
|
|
269
|
-
"CascadeSelectFieldModel",
|
|
270
|
-
"CascadeSelectListFieldModel",
|
|
271
|
-
"PopupSubTableFieldModel",
|
|
272
|
-
createSubFormFieldContribution("SubFormFieldModel"),
|
|
273
|
-
createSubFormFieldContribution("SubFormListFieldModel"),
|
|
274
|
-
createSubTableFieldContribution(),
|
|
275
|
-
createSubTableColumnContribution(),
|
|
276
|
-
"DisplayTextFieldModel",
|
|
277
|
-
"DisplayNumberFieldModel",
|
|
278
|
-
"DisplayDateTimeFieldModel",
|
|
279
|
-
"DisplayTimeFieldModel",
|
|
280
|
-
"DisplayColorFieldModel",
|
|
281
|
-
"DisplayEnumFieldModel",
|
|
282
|
-
"DisplayPasswordFieldModel",
|
|
283
|
-
"DisplayCheckboxFieldModel",
|
|
284
|
-
"DisplayJSONFieldModel",
|
|
285
|
-
"DisplayHtmlFieldModel",
|
|
286
|
-
"DisplayIconFieldModel",
|
|
287
|
-
"DisplayPercentFieldModel",
|
|
288
|
-
"DisplayURLFieldModel",
|
|
289
|
-
"DisplaySubItemFieldModel",
|
|
290
|
-
"DisplaySubListFieldModel",
|
|
291
|
-
"DisplaySubTableFieldModel",
|
|
292
|
-
"FilterFormRecordSelectFieldModel",
|
|
293
|
-
"DateTimeFilterFieldModel",
|
|
294
|
-
"DateOnlyFilterFieldModel",
|
|
295
|
-
"DateTimeNoTzFilterFieldModel",
|
|
296
|
-
"DateTimeTzFilterFieldModel"
|
|
297
|
-
];
|
|
298
|
-
const coreFieldModelContributions = coreFieldModelContributionEntries.map(
|
|
299
|
-
(contribution) => typeof contribution === "string" ? createFieldContribution(contribution) : contribution
|
|
300
|
-
);
|
|
301
|
-
const coreFieldBindingContributions = [
|
|
302
|
-
{
|
|
303
|
-
context: "editable-field",
|
|
304
|
-
use: "InputFieldModel",
|
|
305
|
-
interfaces: ["input", "email", "phone", "uuid", "url", "nanoid"],
|
|
306
|
-
isDefault: true
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
context: "editable-field",
|
|
310
|
-
use: "NumberFieldModel",
|
|
311
|
-
interfaces: ["number", "integer", "id", "snowflakeId"],
|
|
312
|
-
isDefault: true
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
context: "editable-field",
|
|
316
|
-
use: "PercentFieldModel",
|
|
317
|
-
interfaces: ["percent"],
|
|
318
|
-
isDefault: true
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
context: "editable-field",
|
|
322
|
-
use: "PasswordFieldModel",
|
|
323
|
-
interfaces: ["password"],
|
|
324
|
-
isDefault: true
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
context: "editable-field",
|
|
328
|
-
use: "CollectionSelectorFieldModel",
|
|
329
|
-
interfaces: ["collection", "tableoid"],
|
|
330
|
-
isDefault: true
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
context: "editable-field",
|
|
334
|
-
use: "DateOnlyFieldModel",
|
|
335
|
-
interfaces: ["date"],
|
|
336
|
-
isDefault: true
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
context: "editable-field",
|
|
340
|
-
use: "DateTimeNoTzFieldModel",
|
|
341
|
-
interfaces: ["datetimeNoTz"],
|
|
342
|
-
isDefault: true
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
context: "editable-field",
|
|
346
|
-
use: "DateTimeTzFieldModel",
|
|
347
|
-
interfaces: ["createdAt", "datetime", "updatedAt", "unixTimestamp"],
|
|
348
|
-
isDefault: true
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
context: "editable-field",
|
|
352
|
-
use: "TimeFieldModel",
|
|
353
|
-
interfaces: ["time"],
|
|
354
|
-
isDefault: true
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
context: "editable-field",
|
|
358
|
-
use: "CheckboxFieldModel",
|
|
359
|
-
interfaces: ["checkbox"],
|
|
360
|
-
isDefault: true
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
context: "editable-field",
|
|
364
|
-
use: "CheckboxGroupFieldModel",
|
|
365
|
-
interfaces: ["checkboxGroup"],
|
|
366
|
-
isDefault: true
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
context: "editable-field",
|
|
370
|
-
use: "RadioGroupFieldModel",
|
|
371
|
-
interfaces: ["radioGroup"],
|
|
372
|
-
isDefault: true
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
context: "editable-field",
|
|
376
|
-
use: "SelectFieldModel",
|
|
377
|
-
interfaces: ["select", "multipleSelect"],
|
|
378
|
-
isDefault: true,
|
|
379
|
-
defaultProps: {
|
|
380
|
-
allowClear: true
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
context: "editable-field",
|
|
385
|
-
use: "SelectFieldModel",
|
|
386
|
-
interfaces: ["radioGroup"]
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
context: "editable-field",
|
|
390
|
-
use: "SelectFieldModel",
|
|
391
|
-
interfaces: ["checkboxGroup"],
|
|
392
|
-
isDefault: true,
|
|
393
|
-
defaultProps: {
|
|
394
|
-
allowClear: true,
|
|
395
|
-
mode: "tags"
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
context: "editable-field",
|
|
400
|
-
use: "TextareaFieldModel",
|
|
401
|
-
interfaces: ["textarea"],
|
|
402
|
-
isDefault: true,
|
|
403
|
-
defaultProps: {
|
|
404
|
-
autoSize: {
|
|
405
|
-
minRows: 3
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
context: "editable-field",
|
|
411
|
-
use: "JsonFieldModel",
|
|
412
|
-
interfaces: ["json"],
|
|
413
|
-
isDefault: true
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
context: "editable-field",
|
|
417
|
-
use: "RichTextFieldModel",
|
|
418
|
-
interfaces: ["richText"],
|
|
419
|
-
isDefault: true
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
context: "editable-field",
|
|
423
|
-
use: "ColorFieldModel",
|
|
424
|
-
interfaces: ["color"],
|
|
425
|
-
isDefault: true
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
context: "editable-field",
|
|
429
|
-
use: "IconFieldModel",
|
|
430
|
-
interfaces: ["icon"],
|
|
431
|
-
isDefault: true
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
context: "editable-field",
|
|
435
|
-
use: "JSEditableFieldModel",
|
|
436
|
-
interfaces: ["*"]
|
|
437
|
-
},
|
|
438
|
-
associationBinding(
|
|
439
|
-
"editable-field",
|
|
440
|
-
"RecordSelectFieldModel",
|
|
441
|
-
["m2m", "m2o", "o2o", "o2m", "oho", "obo", "updatedBy", "createdBy", "mbm"],
|
|
442
|
-
{
|
|
443
|
-
isDefault: true,
|
|
444
|
-
order: 1
|
|
445
|
-
}
|
|
446
|
-
),
|
|
447
|
-
associationBinding(
|
|
448
|
-
"editable-field",
|
|
449
|
-
"RecordPickerFieldModel",
|
|
450
|
-
["m2m", "m2o", "o2o", "o2m", "oho", "obo", "updatedBy", "createdBy", "mbm"],
|
|
451
|
-
{
|
|
452
|
-
order: 20
|
|
453
|
-
}
|
|
454
|
-
),
|
|
455
|
-
associationBinding("editable-field", "CascadeSelectFieldModel", ["m2o", "o2o", "oho", "obo"], {
|
|
456
|
-
isDefault: true,
|
|
457
|
-
order: 60,
|
|
458
|
-
conditions: {
|
|
459
|
-
targetCollectionTemplateIn: ["tree"]
|
|
460
|
-
}
|
|
461
|
-
}),
|
|
462
|
-
associationBinding("editable-field", "CascadeSelectListFieldModel", ["m2m", "o2m", "mbm"], {
|
|
463
|
-
isDefault: true,
|
|
464
|
-
order: 60,
|
|
465
|
-
conditions: {
|
|
466
|
-
targetCollectionTemplateIn: ["tree"]
|
|
467
|
-
}
|
|
468
|
-
}),
|
|
469
|
-
associationBinding("editable-field", "PopupSubTableFieldModel", ["m2m", "o2m", "mbm"], {
|
|
470
|
-
order: 300,
|
|
471
|
-
conditions: {
|
|
472
|
-
targetCollectionTemplateNotIn: ["file"]
|
|
473
|
-
}
|
|
474
|
-
}),
|
|
475
|
-
associationBinding("form-item-field", "SubFormFieldModel", ["m2o", "o2o", "oho", "obo", "updatedBy", "createdBy"], {
|
|
476
|
-
order: 100,
|
|
477
|
-
conditions: {
|
|
478
|
-
targetCollectionTemplateNotIn: ["file"]
|
|
479
|
-
}
|
|
480
|
-
}),
|
|
481
|
-
associationBinding("form-item-field", "SubFormListFieldModel", ["m2m", "o2m", "mbm"], {
|
|
482
|
-
order: 100,
|
|
483
|
-
conditions: {
|
|
484
|
-
targetCollectionTemplateNotIn: ["file"]
|
|
485
|
-
}
|
|
486
|
-
}),
|
|
487
|
-
associationBinding("form-item-field", "SubTableFieldModel", ["m2m", "o2m", "mbm"], {
|
|
488
|
-
order: 200,
|
|
489
|
-
conditions: {
|
|
490
|
-
targetCollectionTemplateNotIn: ["file"]
|
|
491
|
-
}
|
|
492
|
-
}),
|
|
493
|
-
{
|
|
494
|
-
context: "display-field",
|
|
495
|
-
use: "DisplayTextFieldModel",
|
|
496
|
-
interfaces: ["input", "email", "phone", "uuid", "textarea", "nanoid"],
|
|
497
|
-
isDefault: true
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
context: "display-field",
|
|
501
|
-
use: "DisplayNumberFieldModel",
|
|
502
|
-
interfaces: ["number", "integer", "id", "snowflakeId"],
|
|
503
|
-
isDefault: true
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
context: "display-field",
|
|
507
|
-
use: "DisplayDateTimeFieldModel",
|
|
508
|
-
interfaces: ["date", "datetimeNoTz", "createdAt", "datetime", "updatedAt", "unixTimestamp"],
|
|
509
|
-
isDefault: true
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
context: "display-field",
|
|
513
|
-
use: "DisplayTimeFieldModel",
|
|
514
|
-
interfaces: ["time"],
|
|
515
|
-
isDefault: true
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
context: "display-field",
|
|
519
|
-
use: "DisplayColorFieldModel",
|
|
520
|
-
interfaces: ["color"],
|
|
521
|
-
isDefault: true
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
context: "display-field",
|
|
525
|
-
use: "DisplayEnumFieldModel",
|
|
526
|
-
interfaces: ["select", "multipleSelect", "radioGroup", "checkboxGroup", "collection", "tableoid"],
|
|
527
|
-
isDefault: true
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
context: "display-field",
|
|
531
|
-
use: "DisplayPasswordFieldModel",
|
|
532
|
-
interfaces: ["password"],
|
|
533
|
-
isDefault: true
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
context: "display-field",
|
|
537
|
-
use: "DisplayCheckboxFieldModel",
|
|
538
|
-
interfaces: ["checkbox"],
|
|
539
|
-
isDefault: true
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
context: "display-field",
|
|
543
|
-
use: "DisplayJSONFieldModel",
|
|
544
|
-
interfaces: ["json"],
|
|
545
|
-
isDefault: true
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
context: "display-field",
|
|
549
|
-
use: "DisplayHtmlFieldModel",
|
|
550
|
-
interfaces: ["richText"],
|
|
551
|
-
isDefault: true
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
context: "display-field",
|
|
555
|
-
use: "DisplayIconFieldModel",
|
|
556
|
-
interfaces: ["icon"],
|
|
557
|
-
isDefault: true
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
context: "display-field",
|
|
561
|
-
use: "DisplayPercentFieldModel",
|
|
562
|
-
interfaces: ["percent"],
|
|
563
|
-
isDefault: true
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
context: "display-field",
|
|
567
|
-
use: "DisplayURLFieldModel",
|
|
568
|
-
interfaces: ["url"],
|
|
569
|
-
isDefault: true
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
context: "display-field",
|
|
573
|
-
use: "JSFieldModel",
|
|
574
|
-
interfaces: ["*"]
|
|
575
|
-
},
|
|
576
|
-
associationBinding("details-item-field", "DisplaySubItemFieldModel", [
|
|
577
|
-
"m2o",
|
|
578
|
-
"o2o",
|
|
579
|
-
"oho",
|
|
580
|
-
"obo",
|
|
581
|
-
"updatedBy",
|
|
582
|
-
"createdBy"
|
|
583
|
-
]),
|
|
584
|
-
associationBinding("details-item-field", "DisplaySubListFieldModel", ["m2m", "o2m", "mbm"]),
|
|
585
|
-
associationBinding("details-item-field", "DisplaySubTableFieldModel", ["m2m", "o2m", "mbm"]),
|
|
586
|
-
{
|
|
587
|
-
context: "filter-field",
|
|
588
|
-
use: "InputFieldModel",
|
|
589
|
-
interfaces: [
|
|
590
|
-
"input",
|
|
591
|
-
"email",
|
|
592
|
-
"phone",
|
|
593
|
-
"uuid",
|
|
594
|
-
"url",
|
|
595
|
-
"nanoid",
|
|
596
|
-
"textarea",
|
|
597
|
-
"markdown",
|
|
598
|
-
"vditor",
|
|
599
|
-
"richText",
|
|
600
|
-
"password",
|
|
601
|
-
"color"
|
|
602
|
-
],
|
|
603
|
-
isDefault: true
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
context: "filter-field",
|
|
607
|
-
use: "NumberFieldModel",
|
|
608
|
-
interfaces: ["number", "integer", "id", "snowflakeId"],
|
|
609
|
-
isDefault: true
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
context: "filter-field",
|
|
613
|
-
use: "PercentFieldModel",
|
|
614
|
-
interfaces: ["percent"],
|
|
615
|
-
isDefault: true
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
context: "filter-field",
|
|
619
|
-
use: "TimeFieldModel",
|
|
620
|
-
interfaces: ["time"],
|
|
621
|
-
isDefault: true
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
context: "filter-field",
|
|
625
|
-
use: "SelectFieldModel",
|
|
626
|
-
interfaces: ["select", "multipleSelect", "radioGroup"],
|
|
627
|
-
isDefault: true,
|
|
628
|
-
defaultProps: {
|
|
629
|
-
allowClear: true
|
|
630
|
-
}
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
context: "filter-field",
|
|
634
|
-
use: "SelectFieldModel",
|
|
635
|
-
interfaces: ["checkboxGroup"],
|
|
636
|
-
isDefault: true,
|
|
637
|
-
defaultProps: {
|
|
638
|
-
allowClear: true,
|
|
639
|
-
mode: "tags"
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
context: "filter-field",
|
|
644
|
-
use: "SelectFieldModel",
|
|
645
|
-
interfaces: ["checkbox"],
|
|
646
|
-
isDefault: true,
|
|
647
|
-
defaultProps: {
|
|
648
|
-
allowClear: true,
|
|
649
|
-
multiple: false,
|
|
650
|
-
options: [
|
|
651
|
-
{ label: '{{t("Yes")}}', value: true },
|
|
652
|
-
{ label: '{{t("No")}}', value: false }
|
|
653
|
-
]
|
|
654
|
-
}
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
context: "filter-field",
|
|
658
|
-
use: "DateOnlyFilterFieldModel",
|
|
659
|
-
interfaces: ["date"],
|
|
660
|
-
isDefault: true
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
context: "filter-field",
|
|
664
|
-
use: "DateTimeNoTzFilterFieldModel",
|
|
665
|
-
interfaces: ["datetimeNoTz"],
|
|
666
|
-
isDefault: true
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
context: "filter-field",
|
|
670
|
-
use: "DateTimeTzFilterFieldModel",
|
|
671
|
-
interfaces: ["createdAt", "datetime", "updatedAt", "unixTimestamp"],
|
|
672
|
-
isDefault: true
|
|
673
|
-
},
|
|
674
|
-
associationBinding(
|
|
675
|
-
"filter-field",
|
|
676
|
-
"FilterFormRecordSelectFieldModel",
|
|
677
|
-
["m2m", "m2o", "o2o", "o2m", "oho", "obo", "updatedBy", "createdBy", "mbm"],
|
|
678
|
-
{
|
|
679
|
-
isDefault: true,
|
|
680
|
-
defaultProps: {
|
|
681
|
-
allowMultiple: true,
|
|
682
|
-
multiple: true,
|
|
683
|
-
quickCreate: "none"
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
)
|
|
687
|
-
];
|
|
688
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
689
|
-
0 && (module.exports = {
|
|
690
|
-
coreFieldBindingContextContributions,
|
|
691
|
-
coreFieldBindingContributions,
|
|
692
|
-
coreFieldModelContributions
|
|
693
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
import type { FlowSchemaContribution } from '@nocobase/flow-engine';
|
|
10
|
-
export * from './actions';
|
|
11
|
-
export * from './field-models';
|
|
12
|
-
export * from './models';
|
|
13
|
-
export declare const flowSchemaContribution: FlowSchemaContribution;
|