mxrb 0.1.5 → 0.1.7
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.
- checksums.yaml +4 -4
- data/README.de-DE.md +4 -1
- data/README.md +11 -3
- data/README.pt-BR.md +5 -2
- data/bin/mxrb +509 -358
- data/docker/java-actions/Dockerfile +44 -0
- data/docker/java-actions/src/com/mendix/core/Core.java +491 -0
- data/docker/java-actions/src/com/mendix/core/CoreException.java +11 -0
- data/docker/java-actions/src/com/mendix/core/CoreRuntimeException.java +10 -0
- data/docker/java-actions/src/com/mendix/core/actionmanagement/MicroflowCallBuilder.java +19 -0
- data/docker/java-actions/src/com/mendix/core/conf/Configuration.java +60 -0
- data/docker/java-actions/src/com/mendix/core/conf/RuntimeVersion.java +38 -0
- data/docker/java-actions/src/com/mendix/core/internal/ICore.java +5 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixAutoNumber.java +10 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixBinary.java +48 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixBoolean.java +10 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixDateTime.java +15 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixDecimal.java +10 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixEnum.java +18 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixHashString.java +10 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixInteger.java +10 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixLong.java +10 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixObjectMember.java +73 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixObjectReference.java +20 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixObjectReferenceSet.java +22 -0
- data/docker/java-actions/src/com/mendix/core/objectmanagement/member/MendixString.java +10 -0
- data/docker/java-actions/src/com/mendix/datastorage/DataStorage.java +5 -0
- data/docker/java-actions/src/com/mendix/datastorage/XPathBasicQuery.java +29 -0
- data/docker/java-actions/src/com/mendix/datastorage/XPathQuery.java +41 -0
- data/docker/java-actions/src/com/mendix/externalinterface/connector/RequestHandler.java +38 -0
- data/docker/java-actions/src/com/mendix/http/Http.java +5 -0
- data/docker/java-actions/src/com/mendix/integration/Integration.java +5 -0
- data/docker/java-actions/src/com/mendix/integration/WebserviceException.java +24 -0
- data/docker/java-actions/src/com/mendix/logging/ILogNode.java +35 -0
- data/docker/java-actions/src/com/mendix/logging/LogLevel.java +4 -0
- data/docker/java-actions/src/com/mendix/logging/LogMessage.java +18 -0
- data/docker/java-actions/src/com/mendix/logging/LogSubscriber.java +22 -0
- data/docker/java-actions/src/com/mendix/m2ee/api/IMxRuntimeRequest.java +20 -0
- data/docker/java-actions/src/com/mendix/m2ee/api/IMxRuntimeResponse.java +50 -0
- data/docker/java-actions/src/com/mendix/metrics/Counter.java +7 -0
- data/docker/java-actions/src/com/mendix/metrics/Gauge.java +7 -0
- data/docker/java-actions/src/com/mendix/metrics/Metric.java +17 -0
- data/docker/java-actions/src/com/mendix/metrics/Metrics.java +75 -0
- data/docker/java-actions/src/com/mendix/metrics/Timer.java +10 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/MendixException.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/MendixRuntimeException.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/data/IDataColumnSchema.java +7 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/data/IDataRow.java +14 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/data/IDataTable.java +11 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/data/IDataTableSchema.java +13 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/requests/IParameterMap.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/requests/IRetrievalSchema.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/requests/ISortExpression.java +7 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/requests/types/IGetRequest.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/requests/types/IOQLTextGetRequest.java +5 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/connectionbus/requests/types/ITextGetRequest.java +12 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IContext.java +28 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IDataType.java +20 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IEntityProxy.java +27 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IFeedback.java +10 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/ILanguage.java +11 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IMendixIdentifier.java +8 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IMendixObject.java +65 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IMendixObjectMember.java +20 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/ISession.java +16 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/IUser.java +11 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/UserAction.java +25 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/meta/IMetaAssociation.java +15 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/meta/IMetaEnumValue.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/meta/IMetaEnumeration.java +9 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/meta/IMetaObject.java +39 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/meta/IMetaObjectMember.java +6 -0
- data/docker/java-actions/src/com/mendix/systemwideinterfaces/core/meta/IMetaPrimitive.java +19 -0
- data/docker/java-actions/src/com/mendix/thirdparty/org/json/JSONArray.java +249 -0
- data/docker/java-actions/src/com/mendix/thirdparty/org/json/JSONException.java +14 -0
- data/docker/java-actions/src/com/mendix/thirdparty/org/json/JSONObject.java +279 -0
- data/docker/java-actions/src/com/mendix/thirdparty/org/json/JSONValues.java +273 -0
- data/docker/java-actions/src/com/mendix/utils/ListUtils.java +27 -0
- data/docker/java-actions/src/com/mendix/webui/CustomJavaAction.java +11 -0
- data/docker/java-actions/src/com/mendix/webui/FeedbackHelper.java +30 -0
- data/docker/java-actions/src/javax/servlet/http/Cookie.java +69 -0
- data/docker/java-actions/src/javax/servlet/http/HttpServletRequest.java +21 -0
- data/docker/java-actions/src/javax/servlet/http/HttpServletResponse.java +27 -0
- data/docker/java-actions/src/mxrb/sidecar/Aggregate.java +70 -0
- data/docker/java-actions/src/mxrb/sidecar/Background.java +84 -0
- data/docker/java-actions/src/mxrb/sidecar/Bridge.java +306 -0
- data/docker/java-actions/src/mxrb/sidecar/Build.java +131 -0
- data/docker/java-actions/src/mxrb/sidecar/Captions.java +52 -0
- data/docker/java-actions/src/mxrb/sidecar/Handlers.java +27 -0
- data/docker/java-actions/src/mxrb/sidecar/Invoker.java +110 -0
- data/docker/java-actions/src/mxrb/sidecar/Json.java +234 -0
- data/docker/java-actions/src/mxrb/sidecar/Metadata.java +119 -0
- data/docker/java-actions/src/mxrb/sidecar/MxContext.java +100 -0
- data/docker/java-actions/src/mxrb/sidecar/MxDataTable.java +172 -0
- data/docker/java-actions/src/mxrb/sidecar/MxDataType.java +100 -0
- data/docker/java-actions/src/mxrb/sidecar/MxIdentifier.java +47 -0
- data/docker/java-actions/src/mxrb/sidecar/MxLogNode.java +50 -0
- data/docker/java-actions/src/mxrb/sidecar/MxMetaAssociation.java +62 -0
- data/docker/java-actions/src/mxrb/sidecar/MxMetaEnumeration.java +64 -0
- data/docker/java-actions/src/mxrb/sidecar/MxMetaObject.java +234 -0
- data/docker/java-actions/src/mxrb/sidecar/MxMetaPrimitive.java +88 -0
- data/docker/java-actions/src/mxrb/sidecar/MxMicroflowCall.java +36 -0
- data/docker/java-actions/src/mxrb/sidecar/MxObject.java +258 -0
- data/docker/java-actions/src/mxrb/sidecar/MxOqlRequest.java +101 -0
- data/docker/java-actions/src/mxrb/sidecar/MxRuntimeRequest.java +182 -0
- data/docker/java-actions/src/mxrb/sidecar/MxRuntimeResponse.java +122 -0
- data/docker/java-actions/src/mxrb/sidecar/MxSession.java +91 -0
- data/docker/java-actions/src/mxrb/sidecar/MxXPathQuery.java +127 -0
- data/docker/java-actions/src/mxrb/sidecar/RubyException.java +17 -0
- data/docker/java-actions/src/mxrb/sidecar/Server.java +56 -0
- data/docs/agent-relay/20260901-083127.md +15 -0
- data/docs/agent-relay/20260901-091655.md +16 -0
- data/docs/agent-relay/20260901-094201.md +16 -0
- data/docs/agent-relay/20260901-140415.md +28 -0
- data/docs/de-DE/README.md +2 -0
- data/docs/de-DE/architectural-standard.md +19 -0
- data/docs/de-DE/certificacao-ruby-typescript.md +40 -0
- data/docs/de-DE/cobertura-ruby-nativa.md +265 -0
- data/docs/de-DE/compiler.md +22 -7
- data/docs/de-DE/demanda-projeto-ruby-typescript-convencional.md +37 -0
- data/docs/de-DE/design-system.md +59 -2
- data/docs/de-DE/entity-dsl.md +12 -0
- data/docs/de-DE/method-oriented-flows.md +66 -0
- data/docs/de-DE/portabilidade-ruby-typescript.md +1050 -0
- data/docs/de-DE/project-structure.md +34 -10
- data/docs/de-DE/ruby-first-roadmap.md +286 -0
- data/docs/de-DE/runtime-ruby.md +329 -6
- data/docs/de-DE/scaffolds.md +8 -4
- data/docs/de-DE/studio-backend.md +352 -0
- data/docs/de-DE/validation-matrix.md +235 -19
- data/docs/de-DE/vetclinic-acceptance.md +4 -3
- data/docs/de-DE/windows-studio-pro.md +88 -0
- data/docs/de-DE/writing.md +3 -1
- data/docs/en-US/README.md +2 -0
- data/docs/en-US/architectural-patterns.md +2 -3
- data/docs/en-US/architectural-standard.md +21 -1
- data/docs/en-US/certificacao-ruby-typescript.md +40 -0
- data/docs/en-US/cobertura-ruby-nativa.md +381 -0
- data/docs/en-US/compiler.md +33 -6
- data/docs/en-US/conventions.md +1 -2
- data/docs/en-US/demanda-projeto-ruby-typescript-convencional.md +36 -0
- data/docs/en-US/design-system.md +55 -1
- data/docs/en-US/entity-dsl.md +12 -0
- data/docs/en-US/method-oriented-flows.md +62 -0
- data/docs/en-US/portabilidade-ruby-typescript.md +1050 -0
- data/docs/en-US/project-structure.md +31 -8
- data/docs/en-US/ruby-first-roadmap.md +271 -2
- data/docs/en-US/runtime-ruby.md +313 -7
- data/docs/en-US/scaffolds.md +7 -4
- data/docs/en-US/studio-backend.md +342 -0
- data/docs/en-US/validation-matrix.md +173 -48
- data/docs/en-US/vetclinic-acceptance.md +4 -2
- data/docs/en-US/windows-studio-pro.md +84 -0
- data/docs/en-US/writing.md +8 -3
- data/docs/guides/benchmark-budget.pt-BR.md +99 -0
- data/docs/guides/certificacao-edicoes.pt-BR.md +116 -0
- data/docs/guides/teste-manual-vetclinic-ruby.pt-BR.md +480 -0
- data/docs/planning/backlog.pt-BR.md +101 -0
- data/docs/planning/ruby-editability.pt-BR.md +277 -0
- data/docs/pt-BR/README.md +4 -0
- data/docs/pt-BR/architectural-standard.md +21 -1
- data/docs/pt-BR/certificacao-ruby-typescript.md +116 -0
- data/docs/pt-BR/cobertura-ruby-nativa.md +408 -0
- data/docs/pt-BR/compiler.md +38 -7
- data/docs/pt-BR/demanda-projeto-ruby-typescript-convencional.md +41 -0
- data/docs/pt-BR/design-system.md +58 -2
- data/docs/pt-BR/entity-dsl.md +12 -0
- data/docs/pt-BR/method-oriented-flows.md +158 -0
- data/docs/pt-BR/oql-sql.md +11 -1
- data/docs/pt-BR/portabilidade-ruby-typescript.md +1311 -0
- data/docs/pt-BR/project-structure.md +46 -8
- data/docs/pt-BR/ruby-first-roadmap.md +390 -2
- data/docs/pt-BR/runtime-ruby.md +321 -11
- data/docs/pt-BR/scaffolds.md +17 -4
- data/docs/pt-BR/studio-backend.md +363 -0
- data/docs/pt-BR/validation-matrix.md +211 -21
- data/docs/pt-BR/vetclinic-acceptance.md +4 -5
- data/docs/pt-BR/windows-studio-pro.md +85 -0
- data/docs/pt-BR/writing.md +4 -0
- data/docs/reviews/ruby-code-review-2026-09-05.pt-BR.md +385 -0
- data/examples/modbus_application.rb +105 -0
- data/examples/modbus_tcp_simulator.rb +137 -0
- data/examples/sudoku_evaluation.rb +5 -5
- data/examples/sudoku_functional_test.rb +12 -12
- data/lib/mxrb/architecture/graph.rb +2 -2
- data/lib/mxrb/architecture/validator.rb +5 -3
- data/lib/mxrb/benchmark_fixture.rb +19 -0
- data/lib/mxrb/caption.rb +107 -0
- data/lib/mxrb/cli/help.rb +47 -8
- data/lib/mxrb/compare.rb +236 -74
- data/lib/mxrb/compiler/activity_caption.rb +168 -0
- data/lib/mxrb/compiler/artifact_document_compiler.rb +2 -1
- data/lib/mxrb/compiler/attribute_type_index.rb +57 -0
- data/lib/mxrb/compiler/client_model_materializer.rb +3 -4
- data/lib/mxrb/compiler/code_action_document_compiler.rb +4 -1
- data/lib/mxrb/compiler/compatibility_analyzer.rb +53 -0
- data/lib/mxrb/compiler/constants_materializer.rb +7 -1
- data/lib/mxrb/compiler/data_grid_bundle_compiler.rb +14 -12
- data/lib/mxrb/compiler/database_connector_action_compiler.rb +2 -2
- data/lib/mxrb/compiler/deployment_materializer.rb +3 -2
- data/lib/mxrb/compiler/deployment_metadata.rb +7 -1
- data/lib/mxrb/compiler/domain_document_compiler.rb +26 -2
- data/lib/mxrb/compiler/domain_model_materializer.rb +30 -6
- data/lib/mxrb/compiler/domain_security_compiler.rb +9 -12
- data/lib/mxrb/compiler/java_proxy_generator.rb +34 -2
- data/lib/mxrb/compiler/languages.rb +30 -0
- data/lib/mxrb/compiler/legacy_data_grid_compiler.rb +19 -3
- data/lib/mxrb/compiler/legacy_page_builder.rb +96 -20
- data/lib/mxrb/compiler/mapping_materializer.rb +94 -0
- data/lib/mxrb/compiler/microflow_document_compiler.rb +5 -19
- data/lib/mxrb/compiler/microflow_materializer.rb +12 -1
- data/lib/mxrb/compiler/microflow_node_compiler.rb +257 -20
- data/lib/mxrb/compiler/model_values.rb +26 -0
- data/lib/mxrb/compiler/navigation_document_compiler.rb +73 -66
- data/lib/mxrb/compiler/navigation_grid_compiler.rb +112 -0
- data/lib/mxrb/compiler/page_bundle_builder.rb +17 -1
- data/lib/mxrb/compiler/page_bundle_compiler.rb +783 -147
- data/lib/mxrb/compiler/page_document_compiler.rb +17 -23
- data/lib/mxrb/compiler/published_rest_materializer.rb +117 -0
- data/lib/mxrb/compiler/published_rest_open_api.rb +131 -0
- data/lib/mxrb/compiler/runtime_nodes.rb +68 -0
- data/lib/mxrb/compiler/schemas/forms-11.12.1.json +19781 -0
- data/lib/mxrb/compiler/schemas/languages-10.24.0.73019.json +658 -0
- data/lib/mxrb/compiler/schemas/languages-11.12.1.json +670 -0
- data/lib/mxrb/compiler/schemas/runtime-10.24.0.73019.json +442 -0
- data/lib/mxrb/compiler/schemas/runtime-11.json +176 -0
- data/lib/mxrb/compiler/security_materializer.rb +13 -6
- data/lib/mxrb/compiler/settings_document_compiler.rb +14 -2
- data/lib/mxrb/compiler/settings_materializer.rb +2 -1
- data/lib/mxrb/compiler/source_model.rb +8 -10
- data/lib/mxrb/compiler/synchronized_entities.rb +76 -0
- data/lib/mxrb/compiler/url_segment_compiler.rb +82 -0
- data/lib/mxrb/compiler/user_role_resolver.rb +33 -0
- data/lib/mxrb/compiler/web_list_data_source.rb +6 -2
- data/lib/mxrb/compiler/web_shell_materializer.rb +14 -0
- data/lib/mxrb/compiler/web_widget_inventory.rb +72 -0
- data/lib/mxrb/converter.rb +125 -0
- data/lib/mxrb/dsl/artifact_documents.rb +56 -0
- data/lib/mxrb/dsl/asset_documents.rb +94 -0
- data/lib/mxrb/dsl/builder.rb +102 -1630
- data/lib/mxrb/dsl/code_actions.rb +201 -0
- data/lib/mxrb/dsl/data_view_builder.rb +162 -0
- data/lib/mxrb/dsl/document_builders.rb +185 -0
- data/lib/mxrb/dsl/entity_builder.rb +188 -0
- data/lib/mxrb/dsl/flow_body_dsl.rb +538 -0
- data/lib/mxrb/dsl/flow_builders.rb +362 -0
- data/lib/mxrb/dsl/flow_page_builder.rb +58 -0
- data/lib/mxrb/dsl/flow_program.rb +101 -0
- data/lib/mxrb/dsl/flow_rest_builder.rb +40 -0
- data/lib/mxrb/dsl/flow_text_builder.rb +55 -0
- data/lib/mxrb/dsl/integration_documents.rb +1634 -0
- data/lib/mxrb/dsl/layout_builders.rb +373 -0
- data/lib/mxrb/dsl/module_builder.rb +408 -0
- data/lib/mxrb/dsl/navigation_builders.rb +264 -0
- data/lib/mxrb/dsl/page_builder.rb +219 -0
- data/lib/mxrb/dsl/presentation_documents.rb +161 -0
- data/lib/mxrb/dsl/project_documents.rb +60 -0
- data/lib/mxrb/dsl/security_builder.rb +215 -0
- data/lib/mxrb/dsl/widget_builders.rb +251 -0
- data/lib/mxrb/dsl/widget_design.rb +61 -0
- data/lib/mxrb/dsl/widget_dsl.rb +553 -0
- data/lib/mxrb/dsl/widget_event_arguments.rb +52 -0
- data/lib/mxrb/dsl/workflows.rb +520 -0
- data/lib/mxrb/errors.rb +3 -0
- data/lib/mxrb/evaluation.rb +9 -8
- data/lib/mxrb/exporter/code_action_declarations.rb +133 -0
- data/lib/mxrb/exporter/data_sources.rb +144 -0
- data/lib/mxrb/exporter/domain_document_declarations.rb +222 -0
- data/lib/mxrb/exporter/flow_action_sources.rb +545 -0
- data/lib/mxrb/exporter/flow_linearization.rb +649 -0
- data/lib/mxrb/exporter/integration_declarations.rb +763 -0
- data/lib/mxrb/exporter/method_flow_source.rb +208 -0
- data/lib/mxrb/exporter/model_sources.rb +381 -0
- data/lib/mxrb/exporter/page_sources.rb +756 -0
- data/lib/mxrb/exporter/presentation_declarations.rb +161 -0
- data/lib/mxrb/exporter/project_sources.rb +306 -0
- data/lib/mxrb/exporter/rest_declarations.rb +509 -0
- data/lib/mxrb/exporter/workflow_declarations.rb +652 -0
- data/lib/mxrb/exporter.rb +677 -1491
- data/lib/mxrb/forms/catalog.rb +175 -0
- data/lib/mxrb/forms/certification.rb +115 -0
- data/lib/mxrb/forms/coverage.rb +130 -0
- data/lib/mxrb/forms/input_presentation.rb +55 -0
- data/lib/mxrb/forms/mpr_codec.rb +821 -0
- data/lib/mxrb/forms/node.rb +213 -0
- data/lib/mxrb/forms/source_emitter.rb +296 -0
- data/lib/mxrb/forms/storage_naming.rb +120 -0
- data/lib/mxrb/forms/values.rb +226 -0
- data/lib/mxrb/frontend/migrator.rb +2 -0
- data/lib/mxrb/functional.rb +47 -43
- data/lib/mxrb/github/annotator.rb +31 -27
- data/lib/mxrb/http/server.rb +10 -2
- data/lib/mxrb/integrity/validator.rb +70 -22
- data/lib/mxrb/io/bson_codec.rb +61 -35
- data/lib/mxrb/io/mpr_file.rb +638 -105
- data/lib/mxrb/io/mxunit_codec.rb +3 -3
- data/lib/mxrb/marketplace.rb +77 -73
- data/lib/mxrb/modbus/client.rb +162 -0
- data/lib/mxrb/modbus/rtu_transport.rb +150 -0
- data/lib/mxrb/modbus/stream_io.rb +43 -0
- data/lib/mxrb/modbus/tcp_transport.rb +47 -0
- data/lib/mxrb/modbus.rb +32 -0
- data/lib/mxrb/model/association.rb +28 -28
- data/lib/mxrb/model/attribute.rb +51 -35
- data/lib/mxrb/model/domain_model.rb +33 -16
- data/lib/mxrb/model/entity.rb +80 -70
- data/lib/mxrb/model/menu.rb +54 -13
- data/lib/mxrb/model/microflow.rb +48 -46
- data/lib/mxrb/model/module.rb +85 -42
- data/lib/mxrb/model/navigation.rb +232 -9
- data/lib/mxrb/model/page.rb +1137 -247
- data/lib/mxrb/model/project.rb +61 -15
- data/lib/mxrb/model/unit.rb +10 -9
- data/lib/mxrb/native_fragment_store.rb +184 -0
- data/lib/mxrb/official_marketplace/content_api.rb +13 -1
- data/lib/mxrb/official_marketplace/dependency_resolver.rb +6 -1
- data/lib/mxrb/official_marketplace/widget_package_installer.rb +2 -1
- data/lib/mxrb/oql/server.rb +8 -8
- data/lib/mxrb/pluggable/catalog.rb +179 -0
- data/lib/mxrb/pluggable/mpr_codec.rb +765 -0
- data/lib/mxrb/pluggable/node.rb +347 -0
- data/lib/mxrb/pluggable/schema_dsl.rb +179 -0
- data/lib/mxrb/pluggable/schema_source_emitter.rb +134 -0
- data/lib/mxrb/project_lifecycle.rb +5 -2
- data/lib/mxrb/protocols/entry.rb +29 -0
- data/lib/mxrb/protocols/registry.rb +59 -0
- data/lib/mxrb/protocols.rb +84 -70
- data/lib/mxrb/public_source_audit.rb +201 -0
- data/lib/mxrb/ruby_app/access_rule_builder.rb +27 -0
- data/lib/mxrb/ruby_app/application/offline_synchronization.rb +138 -0
- data/lib/mxrb/ruby_app/application/record_access.rb +402 -0
- data/lib/mxrb/ruby_app/application/request_handlers.rb +45 -0
- data/lib/mxrb/ruby_app/application/schema_security.rb +193 -0
- data/lib/mxrb/ruby_app/application/service_invocation.rb +261 -0
- data/lib/mxrb/ruby_app/application/session_access.rb +97 -0
- data/lib/mxrb/ruby_app/application/value_serialization.rb +148 -0
- data/lib/mxrb/ruby_app/application.rb +201 -0
- data/lib/mxrb/ruby_app/async_invocations.rb +97 -0
- data/lib/mxrb/ruby_app/compilation.rb +64 -0
- data/lib/mxrb/ruby_app/constant.rb +99 -0
- data/lib/mxrb/ruby_app/controller.rb +112 -0
- data/lib/mxrb/ruby_app/dataset.rb +87 -0
- data/lib/mxrb/ruby_app/design_classes.rb +177 -0
- data/lib/mxrb/ruby_app/design_declarations.rb +193 -0
- data/lib/mxrb/ruby_app/domain_rule_builders.rb +123 -0
- data/lib/mxrb/ruby_app/enumeration.rb +91 -0
- data/lib/mxrb/ruby_app/exporter/data_widget_sources.rb +614 -0
- data/lib/mxrb/ruby_app/exporter/document_exports.rb +216 -0
- data/lib/mxrb/ruby_app/exporter/domain_behaviors.rb +67 -0
- data/lib/mxrb/ruby_app/exporter/domain_manifests.rb +283 -0
- data/lib/mxrb/ruby_app/exporter/frontend_pages.rb +161 -0
- data/lib/mxrb/ruby_app/exporter/frontend_types.rb +500 -0
- data/lib/mxrb/ruby_app/exporter/model_sources.rb +376 -0
- data/lib/mxrb/ruby_app/exporter/module_exports.rb +211 -0
- data/lib/mxrb/ruby_app/exporter/nanoflow_typescript.rb +590 -0
- data/lib/mxrb/ruby_app/exporter/project_files.rb +398 -0
- data/lib/mxrb/ruby_app/exporter/support_files.rb +357 -0
- data/lib/mxrb/ruby_app/exporter/widget_manifests.rb +134 -0
- data/lib/mxrb/ruby_app/exporter/widget_sources.rb +510 -0
- data/lib/mxrb/ruby_app/exporter.rb +398 -2320
- data/lib/mxrb/ruby_app/file_content.rb +133 -0
- data/lib/mxrb/ruby_app/flow_metadata.rb +72 -0
- data/lib/mxrb/ruby_app/frontend_package.rb +54 -0
- data/lib/mxrb/ruby_app/frontend_template/package-lock.json +4790 -0
- data/lib/mxrb/ruby_app/frontend_template/src/app/App.tsx +5 -0
- data/lib/mxrb/ruby_app/frontend_template/src/app/router.tsx +18 -0
- data/lib/mxrb/ruby_app/frontend_template/src/components/auth/LoginForm.test.tsx +18 -0
- data/lib/mxrb/ruby_app/frontend_template/src/components/auth/LoginForm.tsx +80 -0
- data/lib/mxrb/ruby_app/frontend_template/src/components/feedback/AppFeedback.tsx +31 -0
- data/lib/mxrb/ruby_app/frontend_template/src/components/navigation/AppNavigation.tsx +45 -0
- data/lib/mxrb/ruby_app/frontend_template/src/core/errors.ts +3 -0
- data/lib/mxrb/ruby_app/frontend_template/src/features/README.md +4 -0
- data/lib/mxrb/ruby_app/frontend_template/src/features/routes.tsx +9 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/ApplicationRuntime.test.tsx +174 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/ApplicationRuntime.tsx +959 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/AsyncInvocation.test.ts +61 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/AsyncInvocation.ts +47 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/ClientActions.test.tsx +234 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/ClientEvents.test.tsx +174 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/CreateActions.test.tsx +114 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/OfflineStartup.test.tsx +154 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/PageDataSource.ts +26 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/PageEdits.test.ts +85 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/PageEdits.ts +132 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/PageVariables.test.tsx +107 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/PageVariables.tsx +272 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/PopupRuntime.test.tsx +226 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/StartupAuthentication.test.tsx +101 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/api.ts +35 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/calendar.test.ts +93 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/calendar.ts +134 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/captions.test.tsx +201 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/captions.ts +235 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/clientFunctions.test.ts +195 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/clientFunctions.ts +182 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/clientServices.ts +24 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/commonsStorage.test.ts +77 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/commonsStorage.ts +44 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/BoundField.test.tsx +339 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/BoundField.tsx +442 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/CoreWidgets.test.tsx +306 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/DataGrid.test.tsx +417 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/DataGrid.tsx +944 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/FieldPolicy.test.ts +96 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/FieldPolicy.tsx +106 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/FileWidget.tsx +152 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/GridIcon.tsx +92 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/LanguageSelector.test.tsx +109 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/LanguageSelector.tsx +130 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceChart.test.tsx +580 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceChart.tsx +576 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceControls.test.tsx +192 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceControls.tsx +193 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceDataWidgets.test.tsx +194 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceGridFilter.test.tsx +213 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceGridFilter.tsx +95 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceInteractive.test.tsx +202 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceInteractive.tsx +246 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceLegacy.test.tsx +171 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceLegacy.tsx +189 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceMenus.tsx +114 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplacePlotly.test.tsx +96 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplacePlotly.tsx +162 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceSelection.test.tsx +170 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceSelection.tsx +204 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceTimeline.tsx +116 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/MarketplaceTreeNode.tsx +91 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeDataGrid.tsx +336 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeDataWidgets.test.tsx +233 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeDataWidgets.tsx +288 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeLayout.test.tsx +100 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeLayout.tsx +111 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeScrollContainer.tsx +206 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeSignature.tsx +104 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeWidgets.test.tsx +855 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/NativeWidgets.tsx +1142 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/PageOutlet.test.tsx +74 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/PageOutlet.tsx +63 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/PageTitleContext.ts +7 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/Popup.tsx +181 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/PresentationWidgets.test.tsx +490 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/PresentationWidgets.tsx +566 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/ReferenceSetCombobox.tsx +183 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/SelectionScope.tsx +28 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/TabControl.tsx +88 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/VariableScope.ts +8 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/WidgetRenderer.test.tsx +574 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/WidgetRenderer.tsx +1076 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/autofocus.test.ts +79 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/autofocus.ts +58 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/components/marketplaceData.ts +126 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/contracts.ts +53 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/dateFormatting.ts +297 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/dateParsing.test.ts +189 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/decimal.test.ts +75 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/decimal.ts +132 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/decimalParsing.test.ts +44 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/decimalParsing.ts +123 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/expression.test.ts +139 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/expression.ts +391 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/expressionClient.test.ts +163 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackCapture.test.ts +75 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackCapture.ts +51 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackCaptureWidget.test.tsx +136 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackCaptureWidget.tsx +79 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackFiles.test.ts +92 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackFiles.ts +84 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackMetadata.test.ts +142 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackMetadata.ts +49 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackStorage.test.ts +110 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/feedbackStorage.ts +93 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/LegacyWidgetHost.tsx +218 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/amd.ts +104 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/dojo.ts +474 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/legacy.test.tsx +518 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/mx.ts +722 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/mxGlobal.ts +13 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/nativeUnavailable.ts +20 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/legacy/session.ts +26 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/listSource.test.tsx +299 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/listSource.ts +177 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/marketplace.tsx +326 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/marketplaceWidgets.json +203 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/marketplaceWidgets.test.tsx +38 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/mendixFilters.test.ts +66 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/mendixFilters.ts +101 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nanoflow.ts +594 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nanoflowCommons.test.ts +89 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nanoflowCommons.ts +57 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nanoflowData.test.ts +199 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nanoflowLists.test.ts +34 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nanoflowOffline.test.ts +130 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nativeMobileActions.test.ts +310 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nativeMobileActions.ts +493 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/nativeOnlyJavaScriptActions.test.ts +12 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/objectRestore.test.ts +164 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/objectRestore.ts +123 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/objectStorage.test.ts +179 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/objectStorage.ts +94 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/offlineStore.test.ts +147 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/offlineStore.ts +226 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/plotly.test.ts +55 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/plotly.ts +94 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/pluggableHost.test.tsx +231 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/pluggableHost.tsx +461 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/projectJavaScriptActions.test.ts +158 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/projectJavaScriptActions.ts +91 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/qrCode.test.ts +79 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/qrCode.ts +309 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/schemaLookup.ts +46 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/sort.test.ts +114 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/synchronize.test.ts +167 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/synchronize.ts +156 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/useActionExecution.tsx +100 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/useWidgetEvent.ts +132 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/value.test.ts +89 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/value.ts +319 -0
- data/lib/mxrb/ruby_app/frontend_template/src/generated/bridge/widgetContract.test.ts +32 -0
- data/lib/mxrb/ruby_app/frontend_template/src/layouts/AppLayout.tsx +19 -0
- data/lib/mxrb/ruby_app/frontend_template/src/main.tsx +16 -0
- data/lib/mxrb/ruby_app/frontend_template/src/plotly.d.ts +4 -0
- data/lib/mxrb/ruby_app/frontend_template/src/styles/index.css +1281 -0
- data/lib/mxrb/ruby_app/frontend_template/src/test/setup.ts +1 -0
- data/lib/mxrb/ruby_app/frontend_template/tsconfig.json +23 -0
- data/lib/mxrb/ruby_app/frontend_template/vitest.config.ts +10 -0
- data/lib/mxrb/ruby_app/java_actions_package.rb +118 -0
- data/lib/mxrb/ruby_app/known_community_commons_actions.rb +316 -0
- data/lib/mxrb/ruby_app/known_encryption_actions.rb +162 -0
- data/lib/mxrb/ruby_app/known_feedback_widget.rb +43 -0
- data/lib/mxrb/ruby_app/known_java_actions.rb +66 -0
- data/lib/mxrb/ruby_app/known_javascript_actions.rb +173 -0
- data/lib/mxrb/ruby_app/known_mx_model_reflection_actions.rb +353 -0
- data/lib/mxrb/ruby_app/known_oql_actions.rb +43 -0
- data/lib/mxrb/ruby_app/known_oql_module_actions.rb +101 -0
- data/lib/mxrb/ruby_app/known_startup_actions.rb +115 -0
- data/lib/mxrb/ruby_app/legacy_service_source_migration.rb +142 -0
- data/lib/mxrb/ruby_app/legacy_widget_source_migration.rb +64 -0
- data/lib/mxrb/ruby_app/manifest.rb +41 -0
- data/lib/mxrb/ruby_app/member_identity.rb +135 -0
- data/lib/mxrb/ruby_app/metamodel.rb +197 -0
- data/lib/mxrb/ruby_app/module_security.rb +51 -0
- data/lib/mxrb/ruby_app/native_bridge.rb +96 -0
- data/lib/mxrb/ruby_app/native_edit_patch.rb +69 -0
- data/lib/mxrb/ruby_app/page.rb +321 -0
- data/lib/mxrb/ruby_app/page_data_sources.rb +184 -0
- data/lib/mxrb/ruby_app/page_design_identity.rb +182 -0
- data/lib/mxrb/ruby_app/page_edit_bindings.rb +168 -0
- data/lib/mxrb/ruby_app/page_edit_contracts.rb +144 -0
- data/lib/mxrb/ruby_app/page_edit_properties.rb +93 -0
- data/lib/mxrb/ruby_app/page_edit_texts.rb +104 -0
- data/lib/mxrb/ruby_app/page_edit_translations.rb +67 -0
- data/lib/mxrb/ruby_app/page_edits.rb +662 -0
- data/lib/mxrb/ruby_app/page_widget_renames.rb +40 -0
- data/lib/mxrb/ruby_app/pluggable_context.rb +149 -0
- data/lib/mxrb/ruby_app/pluggable_properties.rb +715 -0
- data/lib/mxrb/ruby_app/pluggable_schemas.rb +28 -0
- data/lib/mxrb/ruby_app/portability_report.rb +127 -0
- data/lib/mxrb/ruby_app/presentation.rb +137 -0
- data/lib/mxrb/ruby_app/presentation_contracts.rb +132 -0
- data/lib/mxrb/ruby_app/presentation_edits.rb +179 -0
- data/lib/mxrb/ruby_app/presentation_exporter.rb +201 -0
- data/lib/mxrb/ruby_app/presentation_projection.rb +62 -0
- data/lib/mxrb/ruby_app/presentation_references.rb +53 -0
- data/lib/mxrb/ruby_app/preset.rb +37 -1
- data/lib/mxrb/ruby_app/project_javascript_actions.rb +78 -0
- data/lib/mxrb/ruby_app/project_security.rb +200 -0
- data/lib/mxrb/ruby_app/project_widget_bundle.rb +74 -0
- data/lib/mxrb/ruby_app/rack_adapter.rb +73 -0
- data/lib/mxrb/ruby_app/record.rb +388 -0
- data/lib/mxrb/ruby_app/record_identity.rb +209 -0
- data/lib/mxrb/ruby_app/record_inheritance.rb +65 -0
- data/lib/mxrb/ruby_app/record_validation.rb +175 -0
- data/lib/mxrb/ruby_app/registry.rb +149 -0
- data/lib/mxrb/ruby_app/regular_expression.rb +58 -0
- data/lib/mxrb/ruby_app/runtime_catalog.rb +106 -0
- data/lib/mxrb/ruby_app/runtime_project.rb +163 -0
- data/lib/mxrb/ruby_app/schedule_builder.rb +134 -0
- data/lib/mxrb/ruby_app/scheduled_event.rb +59 -0
- data/lib/mxrb/ruby_app/security_builders.rb +97 -0
- data/lib/mxrb/ruby_app/security_identity.rb +182 -0
- data/lib/mxrb/ruby_app/server.rb +436 -0
- data/lib/mxrb/ruby_app/service.rb +114 -0
- data/lib/mxrb/ruby_app/session_manager.rb +79 -16
- data/lib/mxrb/ruby_app/sidecar_services.rb +92 -0
- data/lib/mxrb/ruby_app/source_identity.rb +401 -0
- data/lib/mxrb/ruby_app/source_reloader.rb +38 -0
- data/lib/mxrb/ruby_app/supervisor.rb +139 -0
- data/lib/mxrb/ruby_app/synchronizer/document_synchronization.rb +281 -0
- data/lib/mxrb/ruby_app/synchronizer/entity_synchronization.rb +239 -0
- data/lib/mxrb/ruby_app/synchronizer.rb +127 -0
- data/lib/mxrb/ruby_app/thumbnail.rb +54 -0
- data/lib/mxrb/ruby_app/widget_styles.rb +73 -0
- data/lib/mxrb/ruby_app/widget_support.rb +76 -0
- data/lib/mxrb/ruby_app.rb +101 -1307
- data/lib/mxrb/runtime/access_control.rb +54 -101
- data/lib/mxrb/runtime/calendar_functions.rb +142 -0
- data/lib/mxrb/runtime/calendar_ranges.rb +93 -0
- data/lib/mxrb/runtime/client_drafts.rb +167 -0
- data/lib/mxrb/runtime/clipboard.rb +9 -2
- data/lib/mxrb/runtime/constants.rb +66 -0
- data/lib/mxrb/runtime/database_workspace.rb +282 -43
- data/lib/mxrb/runtime/date_formatting.rb +120 -0
- data/lib/mxrb/runtime/date_parse_fields.rb +144 -0
- data/lib/mxrb/runtime/date_parse_matchers.rb +39 -0
- data/lib/mxrb/runtime/date_parsing.rb +102 -0
- data/lib/mxrb/runtime/decimal_formatting.rb +56 -0
- data/lib/mxrb/runtime/decimal_parsing.rb +134 -0
- data/lib/mxrb/runtime/decimal_values.rb +121 -0
- data/lib/mxrb/runtime/docker_executor.rb +15 -14
- data/lib/mxrb/runtime/docker_workspace.rb +8 -8
- data/lib/mxrb/runtime/enumerations.rb +135 -0
- data/lib/mxrb/runtime/executor.rb +25 -25
- data/lib/mxrb/runtime/expression_functions.rb +83 -0
- data/lib/mxrb/runtime/import_mapping.rb +191 -0
- data/lib/mxrb/runtime/java_action_context.rb +224 -0
- data/lib/mxrb/runtime/java_http_exchange.rb +33 -0
- data/lib/mxrb/runtime/java_regex.rb +244 -0
- data/lib/mxrb/runtime/java_sidecar.rb +449 -0
- data/lib/mxrb/runtime/languages.rb +85 -0
- data/lib/mxrb/runtime/lifecycle.rb +21 -0
- data/lib/mxrb/runtime/native.rb +977 -155
- data/lib/mxrb/runtime/oql_case_grammar.rb +56 -0
- data/lib/mxrb/runtime/oql_datasets.rb +96 -0
- data/lib/mxrb/runtime/oql_expression_grammar.rb +128 -0
- data/lib/mxrb/runtime/oql_function_grammar.rb +114 -0
- data/lib/mxrb/runtime/oql_join_sources.rb +125 -0
- data/lib/mxrb/runtime/oql_membership.rb +35 -0
- data/lib/mxrb/runtime/oql_module_query.rb +88 -0
- data/lib/mxrb/runtime/oql_nesting.rb +51 -0
- data/lib/mxrb/runtime/oql_parameters.rb +40 -0
- data/lib/mxrb/runtime/oql_predicate.rb +322 -0
- data/lib/mxrb/runtime/oql_projection_view.rb +90 -0
- data/lib/mxrb/runtime/oql_query_shape.rb +34 -0
- data/lib/mxrb/runtime/oql_relational_query.rb +137 -0
- data/lib/mxrb/runtime/oql_relational_view.rb +100 -0
- data/lib/mxrb/runtime/oql_relations.rb +185 -0
- data/lib/mxrb/runtime/oql_scalar.rb +121 -0
- data/lib/mxrb/runtime/oql_selection.rb +127 -0
- data/lib/mxrb/runtime/oql_selection_terms.rb +50 -0
- data/lib/mxrb/runtime/oql_subquery.rb +40 -0
- data/lib/mxrb/runtime/oql_subquery_grammar.rb +68 -0
- data/lib/mxrb/runtime/oql_table.rb +117 -0
- data/lib/mxrb/runtime/oql_table_query.rb +116 -0
- data/lib/mxrb/runtime/oql_union.rb +31 -0
- data/lib/mxrb/runtime/oql_view_query.rb +62 -0
- data/lib/mxrb/runtime/oql_views.rb +107 -0
- data/lib/mxrb/runtime/password_policy.rb +59 -0
- data/lib/mxrb/runtime/scheduler.rb +61 -10
- data/lib/mxrb/runtime/schema_migrator.rb +133 -19
- data/lib/mxrb/runtime/sort_order.rb +51 -0
- data/lib/mxrb/runtime/sort_path.rb +44 -0
- data/lib/mxrb/runtime/sqlite_store.rb +352 -39
- data/lib/mxrb/runtime/string_functions.rb +42 -0
- data/lib/mxrb/runtime/system_domain.rb +140 -0
- data/lib/mxrb/runtime/system_metamodel.rb +48 -0
- data/lib/mxrb/runtime/system_metamodel_10.24.0.json +5111 -0
- data/lib/mxrb/runtime/system_metamodel_11.12.1.json +5790 -0
- data/lib/mxrb/runtime/system_sign_in.rb +53 -0
- data/lib/mxrb/runtime/time_zones.rb +85 -0
- data/lib/mxrb/runtime/toolchain.rb +16 -16
- data/lib/mxrb/runtime/xpath.rb +414 -0
- data/lib/mxrb/runtime/xpath_dates.rb +101 -0
- data/lib/mxrb/runtime/xpath_functions.rb +82 -0
- data/lib/mxrb/scaffold/cli.rb +14 -13
- data/lib/mxrb/scaffold/generator.rb +29 -7
- data/lib/mxrb/scaffold/help.rb +4 -0
- data/lib/mxrb/scaffold/recipes.rb +43 -4
- data/lib/mxrb/scaffold/templates.rb +101 -19
- data/lib/mxrb/schema/tables.rb +13 -13
- data/lib/mxrb/semantic/analyzer.rb +11 -10
- data/lib/mxrb/semantic/batch_plan.rb +8 -8
- data/lib/mxrb/semantic/domain_mutator.rb +149 -85
- data/lib/mxrb/semantic/extractor.rb +74 -75
- data/lib/mxrb/semantic/index.rb +86 -88
- data/lib/mxrb/semantic/inliner.rb +60 -60
- data/lib/mxrb/semantic/mover.rb +7 -7
- data/lib/mxrb/semantic/remover.rb +1 -1
- data/lib/mxrb/semantic/renamer.rb +23 -22
- data/lib/mxrb/settings/model.rb +330 -0
- data/lib/mxrb/settings/mpr_codec.rb +157 -0
- data/lib/mxrb/settings/source_emitter.rb +105 -0
- data/lib/mxrb/settings/value_contracts.rb +141 -0
- data/lib/mxrb/stored_fields.rb +86 -0
- data/lib/mxrb/studio/artifacts.rb +67 -0
- data/lib/mxrb/studio/backend.rb +36 -0
- data/lib/mxrb/studio/catalog.rb +249 -0
- data/lib/mxrb/studio/data_connections.rb +77 -0
- data/lib/mxrb/studio/data_explorer.rb +288 -0
- data/lib/mxrb/studio/documents.rb +260 -0
- data/lib/mxrb/studio/files.rb +321 -0
- data/lib/mxrb/studio/history.rb +181 -0
- data/lib/mxrb/studio/isolated.rb +123 -0
- data/lib/mxrb/studio/model_operations.rb +304 -0
- data/lib/mxrb/studio/parity.json +1019 -0
- data/lib/mxrb/studio/parity.rb +75 -0
- data/lib/mxrb/studio/preview_comparison.rb +106 -0
- data/lib/mxrb/studio/preview_sandbox.rb +142 -0
- data/lib/mxrb/studio/preview_sources.rb +80 -0
- data/lib/mxrb/studio/preview_worker.rb +23 -0
- data/lib/mxrb/studio/protocol.rb +116 -0
- data/lib/mxrb/studio/request_context.rb +141 -0
- data/lib/mxrb/studio/ruby_document.rb +252 -0
- data/lib/mxrb/studio/ruby_document_aggregates.rb +167 -0
- data/lib/mxrb/studio/ruby_project.rb +214 -0
- data/lib/mxrb/studio/server.rb +145 -0
- data/lib/mxrb/studio/service.rb +525 -0
- data/lib/mxrb/studio/snapshot.rb +163 -0
- data/lib/mxrb/studio/structure.rb +381 -0
- data/lib/mxrb/studio/sync.rb +1070 -0
- data/lib/mxrb/studio/sync_preview.rb +108 -0
- data/lib/mxrb/studio/task_configurations.rb +118 -0
- data/lib/mxrb/studio/text_merge.rb +185 -0
- data/lib/mxrb/studio/write_lock.rb +87 -0
- data/lib/mxrb/studio.rb +4 -0
- data/lib/mxrb/studio_compatibility/loss_audit.rb +136 -0
- data/lib/mxrb/studio_compatibility.rb +401 -0
- data/lib/mxrb/studio_schema_catalog.rb +375 -0
- data/lib/mxrb/system_texts.rb +322 -0
- data/lib/mxrb/version.rb +1 -1
- data/lib/mxrb/web_ui/assets/chunk-2GNONHZU.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-2P46CC5S.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-2SHOE7BM.js +200 -0
- data/lib/mxrb/web_ui/assets/chunk-32QEQT5X.js +1 -0
- data/lib/mxrb/web_ui/assets/{chunk-5VM5RSS4-ZNzvKenW.js → chunk-34FZNJLO.js} +2 -2
- data/lib/mxrb/web_ui/assets/chunk-35N2E2ST.js +88 -0
- data/lib/mxrb/web_ui/assets/chunk-3EBRCLBH.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-3F3S4FN6.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-3PZDNKEG.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-3UGOMMAO.js +3 -0
- data/lib/mxrb/web_ui/assets/chunk-4NYRXXLN.js +106 -0
- data/lib/mxrb/web_ui/assets/chunk-4R2TVXEB.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-4SGPCOHB.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-5BHXSKDK.js +292 -0
- data/lib/mxrb/web_ui/assets/chunk-5EVG4O6T.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-5G5NQYC6.js +34 -0
- data/lib/mxrb/web_ui/assets/chunk-5HFJOAW4.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-5TNNO4YZ.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-63IIJIEV.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-66OX7QNZ.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-6B4DUFPC.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-6HSV3Q4G.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-6KV64GIT.js +98 -0
- data/lib/mxrb/web_ui/assets/chunk-6ZPGWQKV.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-72H3YDZV.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-77A6STIF.js +66 -0
- data/lib/mxrb/web_ui/assets/chunk-7B4ZTT6G.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-7E4ON25K.js +7 -0
- data/lib/mxrb/web_ui/assets/chunk-7GXBVQXL.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-7ONEZDBB.js +291 -0
- data/lib/mxrb/web_ui/assets/chunk-7UWVQTN5.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-AFDXKSZJ.js +2 -0
- data/lib/mxrb/web_ui/assets/chunk-BUBLNEPX.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-CBAMBU3T.js +30 -0
- data/lib/mxrb/web_ui/assets/chunk-CYCQ4VLZ.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-CYUZI6LQ.js +213 -0
- data/lib/mxrb/web_ui/assets/chunk-D246GO7Q.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-DHQUYWHD.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-E2RCGYXT.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-E5A22KZX.js +70 -0
- data/lib/mxrb/web_ui/assets/chunk-E64VJRVG.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-EBM2OVIK.js +120 -0
- data/lib/mxrb/web_ui/assets/chunk-ELCFKSFF.js +41 -0
- data/lib/mxrb/web_ui/assets/chunk-EQTVJ2VI.js +36 -0
- data/lib/mxrb/web_ui/assets/chunk-FAGUL7T6.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-FHZHQJRK.js +38 -0
- data/lib/mxrb/web_ui/assets/chunk-FUKAUTTF.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-GMUATS3X.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-GVPVJSW7.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-H3FJWUNC.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-H4QZ3SLG.js +257 -0
- data/lib/mxrb/web_ui/assets/chunk-H57W7YI5.js +62 -0
- data/lib/mxrb/web_ui/assets/chunk-H6EH3XA3.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-HB5VHJFM.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-HCKYS7KE.js +139 -0
- data/lib/mxrb/web_ui/assets/chunk-HQBVNVYC.js +39 -0
- data/lib/mxrb/web_ui/assets/chunk-HSA6P35M.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-HUYRUGAK.js +135 -0
- data/lib/mxrb/web_ui/assets/chunk-I5PKQWBH.js +140 -0
- data/lib/mxrb/web_ui/assets/chunk-ID2OERHW.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-IDAIL53S.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-IWZI7GPK.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-IXXNJOS3.js +24 -0
- data/lib/mxrb/web_ui/assets/chunk-K5MIAU7K.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-K6CUQC6N.js +136 -0
- data/lib/mxrb/web_ui/assets/chunk-KE3NT6QN.js +0 -0
- data/lib/mxrb/web_ui/assets/chunk-KI74YC4J.js +72 -0
- data/lib/mxrb/web_ui/assets/chunk-KOJL4E5L.js +370 -0
- data/lib/mxrb/web_ui/assets/chunk-KPUKEWCZ.js +169 -0
- data/lib/mxrb/web_ui/assets/chunk-LEZ2D244.js +2 -0
- data/lib/mxrb/web_ui/assets/chunk-LJWZZILO.js +8 -0
- data/lib/mxrb/web_ui/assets/chunk-LOYCYQTD.js +24 -0
- data/lib/mxrb/web_ui/assets/chunk-M2T56PG5.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-NI5QL3P3.js +2 -0
- data/lib/mxrb/web_ui/assets/chunk-NM5LBQV6.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-NNFAPT7B.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-NTAWMNDE.js +7 -0
- data/lib/mxrb/web_ui/assets/chunk-NUGW2EXC.js +27 -0
- data/lib/mxrb/web_ui/assets/chunk-OKEQR3I2.js +99 -0
- data/lib/mxrb/web_ui/assets/chunk-OUPEVUDM.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-OZ3S3DQH.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-PBU4ZVTM.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-PQQBOQJI.js +217 -0
- data/lib/mxrb/web_ui/assets/chunk-Q63GKT34.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-QJHVSIW7.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-QMUNJBVF.js +2 -0
- data/lib/mxrb/web_ui/assets/chunk-RKTVQ6NQ.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-RQ6DNNSS.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-RVFML3W7.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-S5TKGUWG.js +3 -0
- data/lib/mxrb/web_ui/assets/chunk-SBICTFKY.js +2 -0
- data/lib/mxrb/web_ui/assets/chunk-SOO7HOBB.js +89 -0
- data/lib/mxrb/web_ui/assets/chunk-SQ2BDVUY.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-T5KDILTJ.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-TJ2A3WRV.js +14 -0
- data/lib/mxrb/web_ui/assets/chunk-UITAI6UC.js +78 -0
- data/lib/mxrb/web_ui/assets/chunk-UL26XZ4V.js +10 -0
- data/lib/mxrb/web_ui/assets/chunk-URTGGQPX.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-UZTYCEEY.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-VFXGN725.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-VJRJYCFG.js +84 -0
- data/lib/mxrb/web_ui/assets/chunk-W6DARM7I.js +1 -0
- data/lib/mxrb/web_ui/assets/chunk-WLRR7NCQ.js +40 -0
- data/lib/mxrb/web_ui/assets/chunk-XIMEPMUW.js +32 -0
- data/lib/mxrb/web_ui/assets/chunk-XRM2LTMZ.js +4 -0
- data/lib/mxrb/web_ui/assets/chunk-Y5TK5PAP.js +62 -0
- data/lib/mxrb/web_ui/assets/chunk-ZH3OWPCF.js +339 -0
- data/lib/mxrb/web_ui/assets/chunk-ZIHGYIEK.js +1 -0
- data/lib/mxrb/web_ui/assets/domain-STH3BZOK.js +1 -0
- data/lib/mxrb/web_ui/assets/domain-VYBHNQGI.css +1 -0
- data/lib/mxrb/web_ui/assets/modeler-S2X4PVYN.js +1 -0
- data/lib/mxrb/web_ui/assets/modeler-SWHOK6BD.css +1 -0
- data/lib/mxrb/web_ui/assets/studio/studio-3F773TXK.css +1 -0
- data/lib/mxrb/web_ui/assets/studio/studio-DSAUONWT.js +68 -0
- data/lib/mxrb/web_ui/assets/uml-6G73GOJ4.css +1 -0
- data/lib/mxrb/web_ui/assets/uml-ENRAUICA.js +18 -0
- data/lib/mxrb/web_ui/domain.html +1 -3
- data/lib/mxrb/web_ui/modeler.html +1 -4
- data/lib/mxrb/web_ui/studio.html +5 -0
- data/lib/mxrb/web_ui/uml.html +1 -19
- data/lib/mxrb/widget_certification.rb +1 -8
- data/lib/mxrb/widget_development.rb +57 -0
- data/lib/mxrb/widget_package.rb +18 -12
- data/lib/mxrb/writer/data_sources.rb +149 -0
- data/lib/mxrb/writer/page_overlay.rb +542 -0
- data/lib/mxrb/writer.rb +6143 -1598
- data/lib/mxrb.rb +198 -158
- data/marketplace/modules/shared-kernel/module.rb +1 -1
- metadata +729 -108
- data/lib/mxrb/web_ui/assets/abnfDiagram-N423BO3Z-C4JD3cEC.js +0 -1
- data/lib/mxrb/web_ui/assets/arc-3Z53kgFp.js +0 -1
- data/lib/mxrb/web_ui/assets/architecture-TIHT7OUA-BStBTLea.js +0 -1
- data/lib/mxrb/web_ui/assets/architectureDiagram-T3A2C74G-DBwqnM4J.js +0 -36
- data/lib/mxrb/web_ui/assets/array-BifhSqXX.js +0 -1
- data/lib/mxrb/web_ui/assets/blockDiagram-VBNYF7ZC-DLtuHt-j.js +0 -132
- data/lib/mxrb/web_ui/assets/c4Diagram-5PPSVZJV-ConSk_pe.js +0 -10
- data/lib/mxrb/web_ui/assets/channel-BhPvD7Dt.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-2GRJ4B5K-D2HpWsf_.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-2Q5K7J3B-C1jixKkw.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-4I5QYGJK-CiIdNwaF.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-5RXB4S5H-Bu_AaEkE.js +0 -231
- data/lib/mxrb/web_ui/assets/chunk-6Q2QTUOP-wQkNmt_X.js +0 -88
- data/lib/mxrb/web_ui/assets/chunk-7BUUIJ7U-Bb538aSH.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-GF5L2VYU-G8MmiBzU.js +0 -206
- data/lib/mxrb/web_ui/assets/chunk-I66GZJ75-CulcrLPh.js +0 -127
- data/lib/mxrb/web_ui/assets/chunk-JQJVKLGR-ukjzcdlL.js +0 -156
- data/lib/mxrb/web_ui/assets/chunk-JWPE2WC7-DVXcaiue.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-KBJHAD2P-Wm35lYov.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-KEIR6QF5-BICK3FdT.js +0 -161
- data/lib/mxrb/web_ui/assets/chunk-NSK5VX7P-D2nYrCY4.js +0 -2
- data/lib/mxrb/web_ui/assets/chunk-QR6OTTB3-BrdIzg4Q.js +0 -62
- data/lib/mxrb/web_ui/assets/chunk-RYQCIY6F-CCfZMcW6.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-UBXNYLIW-BPEVYsFK.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-W5SLKNZC-2E6OPhA4.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-WRU74C26-CBIvOyWp.js +0 -70
- data/lib/mxrb/web_ui/assets/chunk-XXDRQBXY-pH58XAyl.js +0 -1
- data/lib/mxrb/web_ui/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +0 -1
- data/lib/mxrb/web_ui/assets/classDiagram-JCYQIIEL-xiqo4D89.js +0 -1
- data/lib/mxrb/web_ui/assets/classDiagram-v2-OCEON4UE-xiqo4D89.js +0 -1
- data/lib/mxrb/web_ui/assets/cose-bilkent-JH36ORCC-t_flPpii.js +0 -1
- data/lib/mxrb/web_ui/assets/cynefin-VYW2F7L2-BIqktTEv.js +0 -1
- data/lib/mxrb/web_ui/assets/cynefinDiagram-MW4NZA55-C2d--lut.js +0 -62
- data/lib/mxrb/web_ui/assets/cytoscape.esm-B-NFISlW.js +0 -321
- data/lib/mxrb/web_ui/assets/dagre-Buvkdvvj.js +0 -1
- data/lib/mxrb/web_ui/assets/dagre-VZM6K2ZE-CSz2_tb5.js +0 -4
- data/lib/mxrb/web_ui/assets/defaultLocale-BFoDCU3G.js +0 -1
- data/lib/mxrb/web_ui/assets/diagram-7IWD3JNH-DCt7u7V_.js +0 -30
- data/lib/mxrb/web_ui/assets/diagram-B4RE2ZJO-DqZBqkMu.js +0 -3
- data/lib/mxrb/web_ui/assets/diagram-LBJQPF4R-ClIYbIsI.js +0 -24
- data/lib/mxrb/web_ui/assets/diagram-Q27KOJAE-DFxhvthJ.js +0 -24
- data/lib/mxrb/web_ui/assets/diagram-UB23O5K3-BSUTXptv.js +0 -41
- data/lib/mxrb/web_ui/assets/dist-D2qOEbeJ.js +0 -1
- data/lib/mxrb/web_ui/assets/domain-mGOZ1KCG.css +0 -1
- data/lib/mxrb/web_ui/assets/domain-qsjXhy4v.js +0 -1
- data/lib/mxrb/web_ui/assets/ebnfDiagram-BXEA7PRR-B5reICEi.js +0 -1
- data/lib/mxrb/web_ui/assets/erDiagram-JOGREHBK-Co5Mxn2p.js +0 -85
- data/lib/mxrb/web_ui/assets/eventmodeling-45OFAUF4-C1ylhSks.js +0 -1
- data/lib/mxrb/web_ui/assets/flowDiagram-UKHOOZJN-CHXaJIaS.js +0 -1
- data/lib/mxrb/web_ui/assets/ganttDiagram-PKOTCBZU-DPPPaWaz.js +0 -292
- data/lib/mxrb/web_ui/assets/gitGraph-TEB2WS4Q-qS77ywA9.js +0 -1
- data/lib/mxrb/web_ui/assets/gitGraphDiagram-DS77QQ5N-DpAv6-BT.js +0 -106
- data/lib/mxrb/web_ui/assets/graphlib-DS17s2tU.js +0 -1
- data/lib/mxrb/web_ui/assets/info-DKCQHKI2-C9VD1Y4e.js +0 -1
- data/lib/mxrb/web_ui/assets/infoDiagram-6WML65LV-Bk1kbcCy.js +0 -2
- data/lib/mxrb/web_ui/assets/init-C-OQMol4.js +0 -1
- data/lib/mxrb/web_ui/assets/ishikawaDiagram-WSZJBQD7-0gcISBFR.js +0 -70
- data/lib/mxrb/web_ui/assets/journeyDiagram-NVQOT4AX-Dt0RQnlh.js +0 -139
- data/lib/mxrb/web_ui/assets/jsx-runtime-DV0a5kSb.js +0 -9
- data/lib/mxrb/web_ui/assets/kanban-definition-27J2QSJJ-DIPQM7w9.js +0 -89
- data/lib/mxrb/web_ui/assets/katex-CXMH3UgJ.js +0 -257
- data/lib/mxrb/web_ui/assets/line-C0rYD-tL.js +0 -1
- data/lib/mxrb/web_ui/assets/linear-BPPxWorj.js +0 -1
- data/lib/mxrb/web_ui/assets/map-BaFkSB1l.js +0 -1
- data/lib/mxrb/web_ui/assets/mermaid-parser.core-B_UPzTxa.js +0 -7
- data/lib/mxrb/web_ui/assets/mindmap-definition-FAOFIHXS-CdJRSMuk.js +0 -96
- data/lib/mxrb/web_ui/assets/modeler-BNqHthwk.css +0 -1
- data/lib/mxrb/web_ui/assets/modeler-CQmqflbg.js +0 -1
- data/lib/mxrb/web_ui/assets/ordinal-BDEzSJ7C.js +0 -1
- data/lib/mxrb/web_ui/assets/packet-7NZHBO7P-CwQ4NSBs.js +0 -1
- data/lib/mxrb/web_ui/assets/path-fybaL0A-.js +0 -1
- data/lib/mxrb/web_ui/assets/pegDiagram-VL7TDLO6-D40S7ppx.js +0 -1
- data/lib/mxrb/web_ui/assets/pie-RZYD4A2V-CJroHMKh.js +0 -1
- data/lib/mxrb/web_ui/assets/pieDiagram-7S7Q4E2Y-QB54__BV.js +0 -39
- data/lib/mxrb/web_ui/assets/quadrantDiagram-CIZ2JOQS-DBhDS6ag.js +0 -7
- data/lib/mxrb/web_ui/assets/radar-I7S5WNFK-DdIUwd2d.js +0 -1
- data/lib/mxrb/web_ui/assets/railroad-3IZDKUUU-B1Lw6Xyq.js +0 -1
- data/lib/mxrb/web_ui/assets/railroad-abnf-AHOZXSZD-CQgQoeak.js +0 -1
- data/lib/mxrb/web_ui/assets/railroad-ebnf-EBAXGLYW-D7qEQ2x8.js +0 -1
- data/lib/mxrb/web_ui/assets/railroad-peg-LSFZ7HO6-C005Vxbb.js +0 -1
- data/lib/mxrb/web_ui/assets/railroadDiagram-AXF67PYL-BBP2qk7M.js +0 -1
- data/lib/mxrb/web_ui/assets/requirementDiagram-LRYGKXZP-D2cLsAoI.js +0 -84
- data/lib/mxrb/web_ui/assets/rough.esm-Dy-Kn_BL.js +0 -1
- data/lib/mxrb/web_ui/assets/sankeyDiagram-W5VNT64P-Bpi3FiP2.js +0 -40
- data/lib/mxrb/web_ui/assets/sequenceDiagram-SI44F4Z6-DCRcDlVe.js +0 -162
- data/lib/mxrb/web_ui/assets/sizeCapture-X5ZJPWSS-B0uUizjq.js +0 -1
- data/lib/mxrb/web_ui/assets/src-CvxfUak2.js +0 -1
- data/lib/mxrb/web_ui/assets/stateDiagram-OKZ733FA-C2GCEoxl.js +0 -1
- data/lib/mxrb/web_ui/assets/stateDiagram-v2-UEYNNEHI-D2gWgedh.js +0 -1
- data/lib/mxrb/web_ui/assets/swimlanes-SLNWSIFB-CRI9irEW.js +0 -2
- data/lib/mxrb/web_ui/assets/swimlanesDiagram-ULZ7WXOC-C5Wb_-hZ.js +0 -8
- data/lib/mxrb/web_ui/assets/theme-_mxc7BdY.css +0 -1
- data/lib/mxrb/web_ui/assets/timeline-definition-Z64GVDOM-B1-mNg-h.js +0 -120
- data/lib/mxrb/web_ui/assets/treeView-QDETBFTQ-7CTvIwKq.js +0 -1
- data/lib/mxrb/web_ui/assets/treemap-6X3UGDF4-CtL22pq5.js +0 -1
- data/lib/mxrb/web_ui/assets/uml-C3KAFGTq.js +0 -51
- data/lib/mxrb/web_ui/assets/uml-Dn-qd01X.css +0 -1
- data/lib/mxrb/web_ui/assets/vennDiagram-T6HMQDX7-BzVnUEAy.js +0 -34
- data/lib/mxrb/web_ui/assets/wardley-OPB4EBWU-JNi-QNag.js +0 -1
- data/lib/mxrb/web_ui/assets/wardleyDiagram-T6FBY63Y-BUwmAQ-B.js +0 -78
- data/lib/mxrb/web_ui/assets/xychartDiagram-ELKLHX3M-DEQS8sKp.js +0 -7
|
@@ -0,0 +1,1050 @@
|
|
|
1
|
+
# Real portability between Ruby, TypeScript, and Mendix
|
|
2
|
+
|
|
3
|
+
## Editing exported pages
|
|
4
|
+
|
|
5
|
+
A page exported to `app/pages/*.rb` is a leaner projection of its Mendix document,
|
|
6
|
+
so compilation applies your edits to the document instead of rebuilding it. The
|
|
7
|
+
export keeps each page's source in `.mxrb/page_baselines/`. A page that still
|
|
8
|
+
matches its baseline leaves the document untouched. Otherwise compilation
|
|
9
|
+
evaluates both versions and applies only the differences:
|
|
10
|
+
|
|
11
|
+
- the title, and the class and style of the page or of a widget;
|
|
12
|
+
- a widget's caption, in the translations that read the old text. Other languages
|
|
13
|
+
keep theirs, so review them after changing a caption;
|
|
14
|
+
- removing a widget, and reordering widgets that share a parent.
|
|
15
|
+
|
|
16
|
+
Any other change fails the compilation and names the page and the field: adding a
|
|
17
|
+
widget, moving one to another parent, roles, the data source, other widget options
|
|
18
|
+
such as grid columns, and removing or renaming the page. Comments and formatting
|
|
19
|
+
change nothing.
|
|
20
|
+
|
|
21
|
+
The React frontend reads the same Ruby. A project without baselines, exported
|
|
22
|
+
before this existed, keeps its documents unchanged until it is exported again, and
|
|
23
|
+
`.mxrb/preserve_native_pages` turns this off for a project that keeps runtime-only
|
|
24
|
+
pages. A project linked to Studio Pro synchronizes through `project.rb`, whose page declarations
|
|
25
|
+
are the source of the document.
|
|
26
|
+
|
|
27
|
+
Layouts and snippets in `app/presentation/` follow the same rules, with baselines
|
|
28
|
+
in `.mxrb/presentation_baselines/`. Changing a snippet's parameters or variables
|
|
29
|
+
fails the compilation, as does editing a menu, image or icon, or adding or removing
|
|
30
|
+
a declaration.
|
|
31
|
+
|
|
32
|
+
## Native mobile pages, widgets and actions
|
|
33
|
+
|
|
34
|
+
A page on a native layout (`Forms$NativeLayoutContent`) exports as a
|
|
35
|
+
`native_layout` presentation widget with its `layout_type`, `show_bottom_bar`
|
|
36
|
+
and `sidebar` and the regions `content`, `header` (the right header placeholder)
|
|
37
|
+
and `sidebar`; the page content fills its placeholder at request time like any
|
|
38
|
+
layout. The browser renders such a page in a phone shell (`.mxrb-phone-shell`):
|
|
39
|
+
a phone-wide column with the page title and the header widgets on top, the
|
|
40
|
+
content, the sidebar when the layout has one and, when the layout shows it, the
|
|
41
|
+
bottom bar of the native navigation profile (`navigation.profiles[].bottom_bar`,
|
|
42
|
+
captions, glyph or collection icons, the open page marked). The web navigation
|
|
43
|
+
stays off these pages.
|
|
44
|
+
|
|
45
|
+
The pluggable widgets of Native Mobile Resources render through web adapters
|
|
46
|
+
driven by their own properties (`NativeWidgets.tsx`, `NativeDataWidgets.tsx`,
|
|
47
|
+
`NativeSignature.tsx`): accordion, activity indicator, animation (CSS keyframes
|
|
48
|
+
by family, with the after-animation action on the animation's timing), app
|
|
49
|
+
events (load, unload, resume, online and offline with their timeouts, once or
|
|
50
|
+
interval timer), background gradient and image, badge, bottom sheet (modal with
|
|
51
|
+
basic items or custom content from the trigger attribute, or expanding through
|
|
52
|
+
its small, large and fullscreen contents), carousel, floating action button with
|
|
53
|
+
secondary buttons, gallery (content per object, columns, pagination, pull down,
|
|
54
|
+
empty placeholder and the gallery text filter with its operators), image (static,
|
|
55
|
+
dynamic, URL or icon), intro screen (slides, indicators, button patterns, active
|
|
56
|
+
slide attribute), list view swipe (pointer drag or arrow keys reveal buttons or
|
|
57
|
+
run the swipe action), pie and doughnut, bar, column and line charts through the
|
|
58
|
+
chart adapter, popup menu, QR code (an encoder in `qrCode.ts`, byte mode, level
|
|
59
|
+
L, versions 1 to 10, verified against qrencode and zbar), radio buttons from the
|
|
60
|
+
enumeration, repeater, signature pad (pointer strokes saved as PNG into the
|
|
61
|
+
image object), video player and web view (iframe, messages to the page). Three
|
|
62
|
+
stay approximate and say so in the portability report: maps list their static
|
|
63
|
+
and dynamic markers with their place, action or OpenStreetMap link; the
|
|
64
|
+
notifications widget receives only the notifications the application itself
|
|
65
|
+
displays or schedules; the feedback widget keeps its form in the browser.
|
|
66
|
+
|
|
67
|
+
The JavaScript actions of Native Mobile Resources, verified by source digest
|
|
68
|
+
like the Nanoflow Commons ones, register browser adapters
|
|
69
|
+
(`nativeMobileActions.ts`) instead of their React Native source: clipboard,
|
|
70
|
+
vibration, connection, device info, keyboard, status bar colour, app badge,
|
|
71
|
+
in-app browser, file download, picture library, sound, biometrics (a browser
|
|
72
|
+
confirmation; support through the platform authenticator), picture taking (file
|
|
73
|
+
input, scaled by quality, stored through the file API), notifications
|
|
74
|
+
(displayed, scheduled and cancelled with the Notification API and delivered to
|
|
75
|
+
the Notifications widget), generic and notification permissions, and URL
|
|
76
|
+
parsing into an object. Push tokens and deep links without a callable handler
|
|
77
|
+
reject with a clear error. An action whose source imports a React Native
|
|
78
|
+
package and has no verified adapter now fails the export
|
|
79
|
+
(`JavaScript actions target React Native and have no web adapter: …`) instead
|
|
80
|
+
of shipping a nanoflow that breaks in the browser.
|
|
81
|
+
|
|
82
|
+
Validated on the Native Mobile Resources test project: export, portability
|
|
83
|
+
report, the Ruby application gate, 440 frontend tests and the native pages in
|
|
84
|
+
Chromium.
|
|
85
|
+
|
|
86
|
+
## OQL predicates: `LIKE`, `IN`, `DISTINCT` and `HAVING`
|
|
87
|
+
|
|
88
|
+
Views and tabular queries accept `LIKE`/`NOT LIKE` with `%` and `_`, and
|
|
89
|
+
`IN`/`NOT IN` with literal lists. As in Mendix 11.12.1, strings compare without
|
|
90
|
+
regard to case in `=`, `!=`, `<`, `<=`, `>`, `>=`, `LIKE`, `IN`, `GROUP BY`,
|
|
91
|
+
`DISTINCT`, `MIN`, `MAX` and `ORDER BY`. `NOT IN` with `NULL` in its list
|
|
92
|
+
returns no rows; `LIKE NULL` behaves as `LIKE ''`; the empty string and `NULL`
|
|
93
|
+
remain distinct values and groups. `SELECT DISTINCT` and `HAVING` over
|
|
94
|
+
aggregates, grouped columns, `AND`, `OR`, `NOT` and `IS NULL` work; `HAVING`
|
|
95
|
+
requires `GROUP BY`. The first stored row represents a group or distinct value
|
|
96
|
+
that differs only by case.
|
|
97
|
+
|
|
98
|
+
Mendix rejects `ESCAPE`, `BETWEEN`, `<>`, `HAVING` without `GROUP BY` and
|
|
99
|
+
columns inside `IN`; MXRB rejects them as well. Functions, `CAST`, `CASE` and
|
|
100
|
+
arithmetic are described under OQL expressions. Case folding uses Ruby's
|
|
101
|
+
`downcase`; non-ASCII collations are not certified.
|
|
102
|
+
|
|
103
|
+
All 37 queries ran on the official Mendix 11.12.1 MxBuild and Runtime installed
|
|
104
|
+
on Linux through `script/oql_native_oracle`, without the Windows VM. Two native
|
|
105
|
+
runs agreed, and matched Ruby for views, interpreted microflows and the exported
|
|
106
|
+
application with MPR access prohibited.
|
|
107
|
+
[Evidence](../evidence/oql-predicates-2026-10-09.json).
|
|
108
|
+
|
|
109
|
+
## Nanoflow data actions
|
|
110
|
+
|
|
111
|
+
Nanoflows exported to TypeScript execute database `Retrieve` (XPath, sorting, first
|
|
112
|
+
object, `limit`/`offset`) and association retrieves, `Commit`, `Delete`, `Rollback`,
|
|
113
|
+
list operations (`Head`, `Tail`, `Union`, `Intersect`, `Subtract`, `Contains`, `Sort`,
|
|
114
|
+
`Find`/`Filter` by attribute or expression), `Aggregate` and loops (`for each`,
|
|
115
|
+
`while`, `break`, `continue`). Database retrieves run on the Ruby server, which applies
|
|
116
|
+
XPath, ordering and access rules; XPath variables (`$minimum`, `$object`) travel in
|
|
117
|
+
`xpath_variables`, with read-authorized objects. As in the Mendix 11.12.1 client, list
|
|
118
|
+
`Sort` places empty values last in both directions, the average of an empty list is
|
|
119
|
+
empty and its sum is 0. Log messages now substitute `{1}`. Previously 49 of the 183
|
|
120
|
+
nanoflows in the corpus of real projects used one of these actions and failed.
|
|
121
|
+
|
|
122
|
+
`script/client_native_oracle` runs the same fixture in the official client (Linux
|
|
123
|
+
MxBuild and Runtime, headless Chromium) and in the exported Ruby app: all 15 cases
|
|
124
|
+
match. [Evidence](../evidence/nanoflow-data-actions-2026-10-09.json).
|
|
125
|
+
|
|
126
|
+
## Nanoflow expressions
|
|
127
|
+
|
|
128
|
+
The Mendix client evaluates nanoflow expressions in JavaScript, not Java, and the
|
|
129
|
+
exported TypeScript evaluator follows those semantics, as measured on the 11.12.1
|
|
130
|
+
client: `trim` removes every Unicode blank (including NBSP), `toLowerCase('İ')` gives
|
|
131
|
+
`i̇`, `substring(text, start, length)` never fails out of range, `find`/`findLast` are
|
|
132
|
+
`indexOf`/`lastIndexOf`, `replaceAll`/`replaceFirst`/`isMatch` use JavaScript regular
|
|
133
|
+
expressions (`(?i)` is invalid, `isMatch` must match the whole text) with literal
|
|
134
|
+
replacements (`$1` is not interpreted), `urlEncode` is `encodeURIComponent` and
|
|
135
|
+
`urlDecode` reads `+` as a space. Empty arguments read as `''`, `'a' + empty` is `'a'`
|
|
136
|
+
and concatenated numbers become text. The evaluator also handles `getCaption`/`getKey`
|
|
137
|
+
(translated by the page language), the `[%CurrentDateTime%]` token and the
|
|
138
|
+
`[%BeginOf…%]`/`[%EndOf…%]` tokens for minute, hour, day, month and year (the end is
|
|
139
|
+
the next period's start minus 1 ms, in the session time zone or UTC),
|
|
140
|
+
`$obj/Module.Assoc/Module.Entity/Attribute` paths over the associated objects the
|
|
141
|
+
server sends, and object equality by identity. No unsupported function or syntax
|
|
142
|
+
remains in the 1,146 nanoflow expressions of the corpus of real projects. The 27 cases of
|
|
143
|
+
`spec/fixtures/native_nanoflow_expressions` match between the official client and the
|
|
144
|
+
Ruby app. [Evidence](../evidence/nanoflow-expressions-2026-10-09.json).
|
|
145
|
+
|
|
146
|
+
## Nanoflow date and number functions
|
|
147
|
+
|
|
148
|
+
The Mendix client formats and parses nanoflow dates with the date-fns library, and the
|
|
149
|
+
exported frontend uses the same library with the pattern conversion of the 11.12.1
|
|
150
|
+
client: Java letters without an equivalent (`W`, `F`, `z`, `Z`, `X`) become literal
|
|
151
|
+
text, `E`/`EE` and `S`/`SS` widen to `EEE` and `SSS`, `u` is the ISO day of week and any
|
|
152
|
+
other unknown Latin letter is an error. `formatDateTime[UTC]` without a pattern,
|
|
153
|
+
`formatDate[UTC]` and `formatTime[UTC]` use the short style of the session language (in
|
|
154
|
+
English `3/5/24, 2:07 PM`, with a narrow space before AM/PM) and `toString` of a date uses
|
|
155
|
+
the same style with a four-digit year. `parseDateTime[UTC]` is strict (it rejects
|
|
156
|
+
February 30, suffixes and out-of-range hours), tries the two-digit year first and does not
|
|
157
|
+
limit the year to 1800–9999. Month and day names, AM/PM, eras and week rules come from the
|
|
158
|
+
session language.
|
|
159
|
+
|
|
160
|
+
`parseInteger`, `min`/`max` (numbers or dates), `pow`, `sqrt`, `random`,
|
|
161
|
+
`millisecondsBetween` … `weeksBetween` (absolute, decimal), `calendarMonthsBetween`,
|
|
162
|
+
`calendarYearsBetween` and the tokens `[%BeginOf/EndOfCurrentWeek%]`,
|
|
163
|
+
`[%BeginOf/EndOfYesterday%]` and `[%BeginOf/EndOfTomorrow%]` (with UTC variants, whose week
|
|
164
|
+
always starts on Sunday) follow the client's big.js: quotients, roots and distances keep
|
|
165
|
+
20 decimal places with the project rounding, and numbers from 1e21 or below 1e-6 print in
|
|
166
|
+
exponential notation. `formatDecimal` and `trimToWeeks` do not exist in nanoflows. The 42
|
|
167
|
+
cases of `spec/fixtures/native_nanoflow_functions` (9 expected errors), measured with the
|
|
168
|
+
browser in America/New_York, match between the official client and the Ruby app. Other
|
|
169
|
+
languages use the browser's names and were not certified in the official client.
|
|
170
|
+
[Evidence](../evidence/nanoflow-functions-2026-10-10.json).
|
|
171
|
+
|
|
172
|
+
## Microflow expression functions
|
|
173
|
+
|
|
174
|
+
Unlike XPath and OQL, text comparisons in expressions (`=`, `<`) and `contains`,
|
|
175
|
+
`startsWith` and `endsWith` are case-sensitive, as in Mendix 11.12.1. `replaceAll`,
|
|
176
|
+
`replaceFirst` and `isMatch` use Java regular expressions; `isMatch` requires the
|
|
177
|
+
whole text and replacement text is literal (`$1` is not a group). `pow` computes
|
|
178
|
+
with doubles, `sqrt` with 38 significant digits, `max`/`min` keep the type,
|
|
179
|
+
`parseInteger` rejects blanks and fractions, and `formatDecimal` follows Java's
|
|
180
|
+
`DecimalFormat`, rounding half up (`'#,##0.00'`, `%`, `E0`, prefixes). Text plus a
|
|
181
|
+
number uses the `toString` form (`'x' + 1.0` is `x1`) and an empty value joins as no
|
|
182
|
+
text; text with a boolean is refused (MxBuild refuses the literal `empty`).
|
|
183
|
+
`$latestError` exists empty outside an error handler, a member of an empty object is
|
|
184
|
+
empty, and an empty log parameter shows as `null` (`spec/fixtures/native_empty_objects`). Message and log parameters keep `\` and `$`. Paths such as
|
|
185
|
+
`$Order/M.Order_Customer/M.Customer/Name` follow references from either side and are
|
|
186
|
+
empty once a reference on the way is empty; crossing a reference set fails. `''` is not
|
|
187
|
+
`empty`, and a String attribute without a default value starts `empty`
|
|
188
|
+
(`spec/fixtures/native_empty_strings`, measured on the 11.12.1 Runtime). In the backend,
|
|
189
|
+
`@Module.Constant` takes the `MX_<Module>_<Constant>` override from the environment
|
|
190
|
+
(also from `.env` profiles), as a Mendix deployment does; else the default declared in
|
|
191
|
+
Ruby or, for private defaults kept out of the public Ruby, the value in the local
|
|
192
|
+
`.mxrb/mendix` sidecar. Without a value the expression fails naming the variable to set.
|
|
193
|
+
|
|
194
|
+
All 95 cases ran on the official Runtime through `script/oql_native_oracle` and match
|
|
195
|
+
the Ruby interpreter. [Evidence](../evidence/expression-functions-2026-10-09.json).
|
|
196
|
+
|
|
197
|
+
## Microflow date formatting
|
|
198
|
+
|
|
199
|
+
`formatDateTime`, `formatDateTimeUTC`, `formatDate`, `formatTime` and `toString` of
|
|
200
|
+
dates follow Java's `SimpleDateFormat` for `en_US`, as Mendix 11.12.1 does: the
|
|
201
|
+
letters `G y Y M L d D E u a h H k K m s S z Z X w W F`, quoted text and `''`.
|
|
202
|
+
`S` counts milliseconds (`S` → `45`), `Y` and `w` use weeks starting on Sunday and
|
|
203
|
+
`MMMM`/`EEEE` use full names. The forms without a pattern use the JDK 21 short
|
|
204
|
+
formats (`3/10/24, 7:05 AM`), with a narrow no-break space before AM/PM. Local forms
|
|
205
|
+
use the session time zone, which is UTC in system context. Zone names (`z`) are
|
|
206
|
+
accepted only for UTC; unknown letters are rejected. Previously the Ruby runtime
|
|
207
|
+
mapped a few patterns to `strftime` and ignored `SSS`, `h`, `a` and quotes.
|
|
208
|
+
|
|
209
|
+
All 55 cases ran on the official Runtime through `script/oql_native_oracle` and match
|
|
210
|
+
the Ruby interpreter. TypeScript nanoflows, which format on the client, remain
|
|
211
|
+
separate work.
|
|
212
|
+
[Evidence](../evidence/date-formatting-2026-10-09.json).
|
|
213
|
+
|
|
214
|
+
## Microflow date parsing
|
|
215
|
+
|
|
216
|
+
`parseDateTimeUTC` and `parseDateTime` in microflows follow the strict `en_US`
|
|
217
|
+
`SimpleDateFormat`: month and day names in any case (`MMM` also accepts the full
|
|
218
|
+
name), two-digit `yy` within 80 years before and 20 years after today, `h`/`K`/`k`
|
|
219
|
+
with `a`, `D` (day of year), `w` (US week), `G`, and the zones `Z`, `X` and `z`
|
|
220
|
+
(`UTC`, `GMT`, `EST` and UTC's long name). Missing fields default to 1970-01-01; a
|
|
221
|
+
valid prefix is accepted; contradicting weekdays, out-of-range hours, unknown names,
|
|
222
|
+
year 0 and extra blanks before names reject the text. `parseDateTime` reads the wall
|
|
223
|
+
time in the session time zone (UTC in system context).
|
|
224
|
+
|
|
225
|
+
Mendix uses the Julian calendar before 1582-10-15; MXRB rejects those dates
|
|
226
|
+
explicitly instead of shifting them. The remaining 80 cases ran on the official
|
|
227
|
+
Runtime through `script/oql_native_oracle` and match Ruby. TypeScript nanoflows keep
|
|
228
|
+
the numeric subset below. [Evidence](../evidence/date-parsing-2026-10-09.json).
|
|
229
|
+
|
|
230
|
+
## OQL expressions
|
|
231
|
+
|
|
232
|
+
Projections, `WHERE`, `HAVING` and dataset `ORDER BY` accept arithmetic (`+`, `-`,
|
|
233
|
+
`*`, `:` division and `%`), `+` concatenation, simple and searched `CASE`, `CAST` to
|
|
234
|
+
`STRING`, `INTEGER`, `LONG`, `DECIMAL`, `BOOLEAN` and `DATETIME`, and the functions
|
|
235
|
+
`LOWER`, `UPPER`, `LENGTH`, `REPLACE`, `COALESCE`, `ROUND`, `DATEPART` and `DATEDIFF`.
|
|
236
|
+
The semantics were measured on the Mendix 11.12.1 HSQLDB: `/` is a path separator,
|
|
237
|
+
not division; integer division truncates; decimal division truncates at the larger
|
|
238
|
+
operand scale (`3 : 4.0 = 0.7`); `%` truncates its operands; `ROUND` rounds half
|
|
239
|
+
away from zero; concatenation treats `NULL` as `''`, while `UPPER`, `LENGTH` and
|
|
240
|
+
arithmetic propagate `NULL`; `REPLACE` is case-sensitive; casting a decimal to text
|
|
241
|
+
uses eight decimals; dates use UTC, `WEEK` is the ISO week, `WEEKDAY` starts on
|
|
242
|
+
Sunday and `DATEDIFF` counts crossed boundaries.
|
|
243
|
+
|
|
244
|
+
As in Mendix, these fail: an untyped `NULL` literal in arithmetic, `REPLACE` with
|
|
245
|
+
`NULL`, `CAST` to `INTEGER` outside 32 bits, division by zero, text that does not
|
|
246
|
+
convert and unverified date parts. All 78 queries ran on the official MxBuild and
|
|
247
|
+
Runtime through `script/oql_native_oracle` and match Ruby.
|
|
248
|
+
[Evidence](../evidence/oql-expressions-2026-10-09.json).
|
|
249
|
+
|
|
250
|
+
## XPath retrieves
|
|
251
|
+
|
|
252
|
+
As in Mendix 11.12.1, XPath string comparisons (`=`, `!=`, `<`, `>=`) and
|
|
253
|
+
`contains`, `starts-with` and `ends-with` ignore case. Previously the Ruby runtime
|
|
254
|
+
compared case-sensitively, so `[Name = 'NORTH']` missed `North`. The 44 fixture
|
|
255
|
+
cases, covering `empty`, `not()`, booleans, decimals, `and`/`or` precedence, chained
|
|
256
|
+
predicates, `string-length` and the date functions, ran on the official Runtime
|
|
257
|
+
through `script/oql_native_oracle` and match Ruby.
|
|
258
|
+
[Evidence](../evidence/xpath-retrieve-2026-10-09.json).
|
|
259
|
+
|
|
260
|
+
## Retrieve and grid sort order
|
|
261
|
+
|
|
262
|
+
Sorted database retrieves, server-side data grids and page data sources follow
|
|
263
|
+
the Mendix 11.12.1 database order: `NULL` sorts first in both `ASC` and `DESC`;
|
|
264
|
+
the empty string is an ordinary, smallest string; strings compare without regard
|
|
265
|
+
to case and without numeric collation (`a10` before `A9`); `false` sorts before
|
|
266
|
+
`true`. Ties fall through to the next key and finally keep the stored order.
|
|
267
|
+
Previously Ruby sorted `NULL` last in `ASC`, compared case-sensitively and could
|
|
268
|
+
not sort booleans; TypeScript used the browser's numeric collation.
|
|
269
|
+
|
|
270
|
+
All eight fixture orders ran on the official Runtime through
|
|
271
|
+
`script/oql_native_oracle` and match the Ruby interpreter, the server-side grid
|
|
272
|
+
and the frontend `sortRecords`.
|
|
273
|
+
[Evidence](../evidence/retrieve-sort-2026-10-09.json).
|
|
274
|
+
|
|
275
|
+
Sorting through associations (`"Mod.Order_Customer/Mod.Customer/Name"`, one or more
|
|
276
|
+
steps) is read, written back as entity reference steps and evaluated by retrieves,
|
|
277
|
+
list sorts and data grids; objects without the associated object come first in both
|
|
278
|
+
directions, as in the Runtime.
|
|
279
|
+
[Association sort evidence](../evidence/association-sort-2026-10-14.json).
|
|
280
|
+
|
|
281
|
+
The list `Sort` operation sorts in memory with a different rule, also measured on
|
|
282
|
+
the Runtime: `NULL` sorts last in both directions and, among strings that differ
|
|
283
|
+
only by case, lowercase comes first, like a Java collator. Previously the Ruby
|
|
284
|
+
runtime ignored the keys and export dropped them; now
|
|
285
|
+
`list_operation :sort, :list, sort: [[attribute, :ascending]], as: :sorted`
|
|
286
|
+
keeps them through two Ruby → MPR cycles. Punctuation and accents are not
|
|
287
|
+
certified. [Evidence](../evidence/list-sort-2026-10-09.json).
|
|
288
|
+
|
|
289
|
+
## OQL datasets and tabular queries
|
|
290
|
+
|
|
291
|
+
Existing OQL datasets are exported to `app/datasets`, where query text can be
|
|
292
|
+
edited in Ruby and preserved through Ruby → MPR → Ruby. Verified adapters for
|
|
293
|
+
`Hr.RetrieveDatasetOql` and `Hr.RetrieveAdvancedOql` execute named datasets or
|
|
294
|
+
explicit queries against Ruby storage. Registration requires a known Java source
|
|
295
|
+
hash; changed implementations require an explicit adapter.
|
|
296
|
+
|
|
297
|
+
The subset includes relational joins and aggregates, `ORDER BY` on projected
|
|
298
|
+
columns or aliases, `LIMIT`, `OFFSET`, and one derived `FROM` source, nested up to
|
|
299
|
+
16 levels. Ordered subqueries require `LIMIT` or `OFFSET`. `LIMIT 0` leaves the
|
|
300
|
+
result unlimited. Certified ordering puts nulls first in both `ASC` and `DESC`,
|
|
301
|
+
matching Mendix 11.12.1 with HSQLDB; other databases and collations are not
|
|
302
|
+
certified. Equal sort keys have no guaranteed relative order.
|
|
303
|
+
|
|
304
|
+
Actions instantiate distinct uncommitted objects, copy compatible attributes,
|
|
305
|
+
and ignore unknown columns, matching the verified Java implementations. Queries
|
|
306
|
+
read durable values and validate names, types and syntax before reading rows.
|
|
307
|
+
The DSL rejects dataset creation, removal, renaming and metadata changes.
|
|
308
|
+
For these two actions, non-OQL sources, `SELECT *` and joins against derived sources
|
|
309
|
+
remain outside this subset and parameters belong to the OQL module (below); subqueries are described below. Every projection requires an explicit alias.
|
|
310
|
+
|
|
311
|
+
The matrix contains 18 queries executed through both actions, including two real
|
|
312
|
+
queries from `QueryApiBlogPost`. The Ruby browser runs with MPR access prohibited.
|
|
313
|
+
[Evidence](../evidence/oql-datasets-2026-10-08.json).
|
|
314
|
+
|
|
315
|
+
## Relational OQL views
|
|
316
|
+
|
|
317
|
+
Ruby retrieval now supports `INNER`, `LEFT`, `RIGHT` and `FULL` joins over persistent
|
|
318
|
+
entities, through explicit `ON` predicates or an association path (also several hops, for `INNER`
|
|
319
|
+
and `LEFT`).
|
|
320
|
+
`GROUP BY`, `COUNT(*)`, `COUNT(column)`, `SUM`, `AVG`, `MIN` and `MAX` preserve
|
|
321
|
+
duplicates, NULL groups, exact decimals and dates. Joined entity IDs may project
|
|
322
|
+
compatible reference associations. Reads use committed values; group identities
|
|
323
|
+
remain stable across commits. All names, clauses and types are checked before
|
|
324
|
+
reading rows, including empty sources. OQL is never passed to SQLite as SQL.
|
|
325
|
+
|
|
326
|
+
The bounded relational grammar starts with `SELECT` and requires projection
|
|
327
|
+
aliases. Parameters remain unsupported; subqueries, `UNION` and views over views are
|
|
328
|
+
described in the next section;
|
|
329
|
+
`LIKE`, `IN`, `DISTINCT` and `HAVING` are described above. Native view
|
|
330
|
+
queries [do not allow `ORDER BY`](https://docs.mendix.com/refguide/use-view-entities/);
|
|
331
|
+
sorting belongs to their consumer. Date formatting is described under Microflow
|
|
332
|
+
date formatting.
|
|
333
|
+
|
|
334
|
+
All 22 result sets matched original Mendix, Ruby round-trip Mendix, and the Ruby
|
|
335
|
+
browser with MPR access prohibited. Two native builds/runtimes and 197 browser
|
|
336
|
+
steps passed, preserving all input hashes.
|
|
337
|
+
[Evidence](../evidence/oql-relational-views-2026-10-08.json).
|
|
338
|
+
|
|
339
|
+
## OQL subqueries, `UNION` and views over views
|
|
340
|
+
|
|
341
|
+
Views and tabular queries accept `IN (SELECT …)`, `NOT IN (SELECT …)`,
|
|
342
|
+
`EXISTS (SELECT …)`, `NOT EXISTS` and value subqueries in `WHERE`, `HAVING` and
|
|
343
|
+
projections, correlated with the outer query and nested. As in Mendix 11.12.1, a
|
|
344
|
+
value subquery needs an aggregate function as its column or `LIMIT 1`; with
|
|
345
|
+
`GROUP BY` it fails when it yields more than one row. A subquery selects one column
|
|
346
|
+
and may order by source columns when it has `LIMIT`. `NOT IN` with a `NULL`
|
|
347
|
+
candidate selects nothing, and text comparisons ignore case.
|
|
348
|
+
|
|
349
|
+
`UNION` removes duplicates ignoring case and `UNION ALL` keeps them; columns take
|
|
350
|
+
the names of the first part. A view may read another view in `FROM` or in joins,
|
|
351
|
+
also in chains; a view that reads itself is rejected. Mendix rejects `ANY`, `ALL`,
|
|
352
|
+
`BETWEEN` and `SELECT *`, and `Count` is a reserved word.
|
|
353
|
+
|
|
354
|
+
The 30 cases of `spec/fixtures/native_oql_subqueries` match between the official
|
|
355
|
+
Runtime (`script/oql_native_oracle`), the Ruby interpreter and the exported Ruby app
|
|
356
|
+
with MPR access prohibited. [Evidence](../evidence/oql-subqueries-2026-10-10.json).
|
|
357
|
+
|
|
358
|
+
## OQL parameters and the Marketplace OQL module
|
|
359
|
+
|
|
360
|
+
`OQL.ExecuteOQLStatement`, `OQL.CountRowsOQLStatement` and the `OQL.Add…Parameter`
|
|
361
|
+
actions of the Marketplace OQL module have adapters selected by the SHA-256 of each
|
|
362
|
+
action's source and of `oql/implementation/OQL.java`; MXRB does not distribute that
|
|
363
|
+
code. As in the module, parameters live per thread until a statement runs, which
|
|
364
|
+
clears them unless `preserveParameters` is set. The statement is a dataset name or
|
|
365
|
+
OQL with `$Name` text, integer, decimal, boolean, date or object (compared by ID)
|
|
366
|
+
parameters; `amount` and `offset` page after `ORDER BY`. Each column fills the
|
|
367
|
+
attribute of the same name or, for IDs, the owned association `Module.Column`;
|
|
368
|
+
columns without a target are errors. An empty parameter in `=` acts as `IS NULL`,
|
|
369
|
+
like the `NULL` literal; an unset parameter is an error. Enumeration attributes read
|
|
370
|
+
as their keys, also in filters. The audited releases are 4.1.2 and 2.10.0; the latter
|
|
371
|
+
accepts only OQL (no dataset names), also maps the reserved `….ID` and
|
|
372
|
+
`submetaobjectname` columns, looks associations up by their unqualified name only and
|
|
373
|
+
fails with `NullPointerException` instead of `RuntimeException`.
|
|
374
|
+
|
|
375
|
+
Joins accept multi-step association paths (`p/M.A_B/M.B/M.B_C/M.C AS c`) for `INNER`
|
|
376
|
+
and `LEFT`, and ordered comparisons accept dates. The datasets of a private real project,
|
|
377
|
+
including those with parameters, compile and run in Ruby. The 15 cases of
|
|
378
|
+
`spec/fixtures/native_oql_parameters` (module sources copied from
|
|
379
|
+
`MXRB_OQL_MODULE_SOURCE`) match between the official Runtime and the exported Ruby
|
|
380
|
+
app with MPR access prohibited. [Evidence](../evidence/oql-parameters-2026-10-10.json).
|
|
381
|
+
|
|
382
|
+
## Web Feedback capture and annotation
|
|
383
|
+
|
|
384
|
+
`JS_ToggleFeedbackScreenshotWidget` and `JS_ToggleFeedbackAnnotateWidget` have
|
|
385
|
+
adapters selected by the original source hash. Export copies the verified ESM
|
|
386
|
+
bundle from the project's own `SprintrFeedbackWidget.mpk`, together with its
|
|
387
|
+
license; MXRB does not distribute that code. The three recognized bundles keep
|
|
388
|
+
the button, captions, legacy action, target container and capture settings.
|
|
389
|
+
The project must also supply the matching theme.
|
|
390
|
+
|
|
391
|
+
The flow supports drawing, clearing, saving PNG and cancellation. Screenshot
|
|
392
|
+
cancellation returns `uploadCancelled`; annotation cancellation keeps the
|
|
393
|
+
original action's empty return. Concurrent operations are rejected and unmounting
|
|
394
|
+
the last widget releases pending work. Certification uses real DOM capture and
|
|
395
|
+
compares the annotated PNG pixels with MPR access prohibited in the Ruby server.
|
|
396
|
+
The operating system screen picker, capture permissions and mobile/offline
|
|
397
|
+
clients are outside this evidence.
|
|
398
|
+
|
|
399
|
+
The widget's embedded html2canvas rejects some modern CSS colors
|
|
400
|
+
(`color()`/`color-mix()`). Capture tests use the compatible SLA Task App theme;
|
|
401
|
+
they do not certify DOM capture across all themes. Unknown or modified bundles
|
|
402
|
+
are not registered automatically. See the
|
|
403
|
+
[capture evidence](../evidence/feedback-capture-2026-10-08.json).
|
|
404
|
+
|
|
405
|
+
## OQL view filters
|
|
406
|
+
|
|
407
|
+
Single persistent-entity projections accept `WHERE` with `=`, `!=`, `<`, `<=`,
|
|
408
|
+
`>`, `>=`, `AND`, `OR`, `NOT`, parentheses and `IS [NOT] NULL`. Numeric literals
|
|
409
|
+
retain decimal precision; string literals accept doubled quotes. Both
|
|
410
|
+
`FROM ... WHERE ... SELECT` and `SELECT ... FROM ... WHERE` are accepted; keywords
|
|
411
|
+
inside strings are never treated as clauses.
|
|
412
|
+
|
|
413
|
+
Native Mendix 11.12.1 comparisons establish the NULL rules: equality to literal
|
|
414
|
+
`NULL` acts as `IS NULL`; inequality to a non-null literal includes null rows.
|
|
415
|
+
Column-to-column comparisons retain the unknown result. Filters read durable
|
|
416
|
+
values, reflect commits/deletes and validate attributes and types before reading
|
|
417
|
+
even an empty source. OQL text is never executed as SQL. Ordered comparisons
|
|
418
|
+
require numbers, strings or dates; parameters are described with the OQL module.
|
|
419
|
+
Joins and aggregates use the relational grammar described above.
|
|
420
|
+
|
|
421
|
+
The matrix covers 30 filters and 125 browser steps with MPR access prohibited.
|
|
422
|
+
[Evidence](../evidence/oql-view-filters-2026-10-07.json).
|
|
423
|
+
|
|
424
|
+
## System module users
|
|
425
|
+
|
|
426
|
+
The Ruby runtime persists `System.User`, `System.UserRole`, `System.Language` and
|
|
427
|
+
`System.TimeZone`, with `System.UserRoles`, `System.User_Language`,
|
|
428
|
+
`System.User_TimeZone` and `System.grantableRoles`, as declared by the Mendix 11.12.1
|
|
429
|
+
System model. Entities such as `Administration.Account` inherit the attributes of
|
|
430
|
+
`System.User`, and retrieving `System.User` includes the specializations. At startup
|
|
431
|
+
every project user role gets its `System.UserRole` (`ModelGUID` = the role's GUID,
|
|
432
|
+
name and description). As in the portable Runtime, the administrator is not created at
|
|
433
|
+
startup; on deployment `MXRB_ADMIN_PASSWORD` creates or updates the active
|
|
434
|
+
`AdminUserName` (default `MxAdmin`) with that password and only the `AdminUserRole`,
|
|
435
|
+
like M2EE's `create_admin_user`. With the exported Sudoku project, the real Administration
|
|
436
|
+
microflows create an account (`SaveNewAccount`), refuse a change with a wrong old
|
|
437
|
+
password and change the password (`ChangeMyPassword`), and sign-in keeps working. `HashedString` attributes such as `Password` are stored as BCrypt hashes (the
|
|
438
|
+
Mendix default algorithm) and are never sent to the browser.
|
|
439
|
+
|
|
440
|
+
`System.VerifyPassword` ignores the case of the user name and does not consider
|
|
441
|
+
`Active`, `Blocked` or `WebServiceUser`; an empty or wrong password or an unknown user
|
|
442
|
+
gives `false`. In microflows, `length` of a list returns its number of items. The 13
|
|
443
|
+
results of `spec/fixtures/native_system_users` match between the official Runtime and
|
|
444
|
+
the exported Ruby app with MPR access prohibited. Sign-in (`/api/login`) accepts the users of `MXRB_USERS_JSON` and, for other names, the
|
|
445
|
+
persisted `System.User`s, as the Runtime does: the name ignores case; blocked, inactive,
|
|
446
|
+
web service users and users without roles are refused before the password; a wrong or
|
|
447
|
+
empty password counts `FailedLogins` and the third blocks the user (`Blocked`,
|
|
448
|
+
`BlockedSince`) for 5 minutes; success resets the failures and sets `LastLogin`. The
|
|
449
|
+
session holds the user's ID and roles; `$currentUser` and `[%CurrentUser%]` refer to it
|
|
450
|
+
(empty without sign-in). `NanoflowCommons.SignIn` returns 401 without asking the server
|
|
451
|
+
when the name or password is empty, otherwise the sign-in status (0 offline), and
|
|
452
|
+
reloads the app after success, like `mx.login`. Committing a user whose password changed applies the project password
|
|
453
|
+
policy (minimum length, digit, upper and lower case, a symbol from the Runtime's fixed
|
|
454
|
+
set; a space is not a symbol), with the validation error on `Password` and the Mendix
|
|
455
|
+
default texts; changing other attributes does not reapply it. The 11 cases of
|
|
456
|
+
`spec/fixtures/native_password_policy` match. The 21 steps of
|
|
457
|
+
`spec/fixtures/native_system_login`, run by `script/login_native_oracle` (`POST /xas/`),
|
|
458
|
+
match on the official Runtime and in the Ruby app. [Evidence](../evidence/system-users-2026-10-10.json), [login](../evidence/system-sign-in-2026-10-10.json).
|
|
459
|
+
|
|
460
|
+
## Feedback image upload
|
|
461
|
+
|
|
462
|
+
The Feedback module's `JS_UploadAndConvertToFileBlobURL`,
|
|
463
|
+
`JS_RevokeUploadedFileFromMemory` and `JS_Recalculate_MendixModal_Error_PopUp_Zindex`
|
|
464
|
+
have TypeScript adapters selected by the SHA-256 of their source. Upload opens a hidden
|
|
465
|
+
file input and returns the `blob:` URL or the module's texts (`uploadCancelled`,
|
|
466
|
+
`fileTypeNotAccepted`, `fileSizeNotAccepted`, `fileNotConverted`). As in the original,
|
|
467
|
+
each accepted type is a regular expression tested against the MIME type, and the limit
|
|
468
|
+
in MB is the first significant digit of the given value plus 0.1 (`25` allows 2.1 MB).
|
|
469
|
+
Revocation releases the URL or fails without one; the `z-index` fix applies 500 ms later
|
|
470
|
+
and the module's warning selector, missing its dot, still has no effect. A differential
|
|
471
|
+
test ran the original source (with big.js) and the adapter on 294 scenarios with no
|
|
472
|
+
difference. [Evidence](../evidence/feedback-file-actions-2026-10-10.json).
|
|
473
|
+
|
|
474
|
+
## Feedback browser metadata
|
|
475
|
+
|
|
476
|
+
The verified `JS_PopulateFeedbackMetadata` and `JS_isStrictMode` versions used by
|
|
477
|
+
the five corpus projects have Web adapters. Metadata includes the current
|
|
478
|
+
page, first user role, URL, browser and screen dimensions. Nested nanoflows retain
|
|
479
|
+
the calling context, and popups inherit workspace roles. Mutations to record
|
|
480
|
+
parameters are tracked even when the action return is ignored.
|
|
481
|
+
|
|
482
|
+
The strict-mode probe creates and discards a draft. This Web runtime exposes
|
|
483
|
+
creation and returns `false`, including asynchronous failures, matching the
|
|
484
|
+
original action. In the legacy variant, zero dimensions reproduce the native empty-string-to-integer
|
|
485
|
+
assignment failure: previous dimensions remain and an error is logged.
|
|
486
|
+
|
|
487
|
+
The original source hash selects three behaviors: screen dimensions rejecting
|
|
488
|
+
zero (Sudoku and RubyBridgeSandbox), screen dimensions accepting zero (SLA Task
|
|
489
|
+
App), and viewport dimensions using null for zero (MyFirstModule and LearnNow).
|
|
490
|
+
Six native builds and runtimes, 203 frontend tests and 18 browser steps without
|
|
491
|
+
MPR access passed. Screenshot capture/annotation and native or strict-mode clients
|
|
492
|
+
remain outside this certification.
|
|
493
|
+
[Evidence](../evidence/feedback-browser-metadata-2026-10-07.json).
|
|
494
|
+
|
|
495
|
+
## Reading and restoring Feedback objects
|
|
496
|
+
|
|
497
|
+
The verified `JS_GetFeedbackStorageObject` and `GetStorageItemObject` getters
|
|
498
|
+
reuse available objects and refresh stored JSON with their current values.
|
|
499
|
+
Missing objects are recreated with decimals, dates and booleans preserved and a
|
|
500
|
+
new guid written to storage. Entity type arguments reach TypeScript nanoflows.
|
|
501
|
+
|
|
502
|
+
Restoration does not commit the object. Persistent objects receive an owner-bound
|
|
503
|
+
draft capability for subsequent microflow calls and explicit save. Persisted
|
|
504
|
+
objects are looked up again on later reads; current local context values take
|
|
505
|
+
precedence over stale snapshots. Access errors, malformed storage and unknown
|
|
506
|
+
members propagate explicitly.
|
|
507
|
+
|
|
508
|
+
Two native builds and runtimes, 21 browser steps without MPR access, and three
|
|
509
|
+
cases from the unchanged SLA Task App getter nanoflow passed. Restored integers
|
|
510
|
+
must fit the frontend's exact numeric range. Cross-browser synchronization,
|
|
511
|
+
AsyncStorage and offline use are not certified.
|
|
512
|
+
[Evidence](../evidence/feedback-object-restore-2026-10-07.json).
|
|
513
|
+
|
|
514
|
+
## Parsing numeric UTC dates
|
|
515
|
+
|
|
516
|
+
`parseDateTimeUTC(text, pattern[, fallback])` runs in Ruby microflows and
|
|
517
|
+
TypeScript nanoflows without MPR access. It supports numeric year, month, day,
|
|
518
|
+
hour, minute, second and millisecond fields, quoted literals and adjacent fields.
|
|
519
|
+
In nanoflows, the pattern follows Nanoflow date and number functions; microflows
|
|
520
|
+
follow Microflow date parsing. Invalid input uses the optional date/empty fallback
|
|
521
|
+
or raises an error.
|
|
522
|
+
|
|
523
|
+
Twenty cases were checked in both execution paths in Mendix 11.12.1, using the
|
|
524
|
+
source and rebuilt project. Both reject invalid calendar/time components.
|
|
525
|
+
Microflows accept a parsed prefix and support numeric offsets; nanoflows reject
|
|
526
|
+
trailing text and the tested offset patterns. Time-only input uses 1970-01-01 in
|
|
527
|
+
microflows and today's UTC date in nanoflows. These observed differences are
|
|
528
|
+
preserved. Names, two-digit years and local `parseDateTime` apply to microflows
|
|
529
|
+
only.
|
|
530
|
+
|
|
531
|
+
The Ruby suite passed 2,345 examples with 100% line and branch coverage; the
|
|
532
|
+
frontend passed 190 tests and 81 browser steps without MPR access.
|
|
533
|
+
[Evidence](../evidence/parse-datetime-utc-2026-10-07.json).
|
|
534
|
+
|
|
535
|
+
## Writing Feedback objects to storage
|
|
536
|
+
|
|
537
|
+
`JS_SetFeedbackStorageObject` and `SetStorageItemObject` use Web adapters selected
|
|
538
|
+
by source hash. Model parameter names are preserved: `key`/`value` for the first
|
|
539
|
+
action and `Key`/`Value` for the second.
|
|
540
|
+
|
|
541
|
+
The JSON contains `guid`, numeric strings, epoch dates and module-qualified
|
|
542
|
+
references. False, null and empty strings are retained; related objects are
|
|
543
|
+
represented by identifiers. The action uses the current Ruby schema without
|
|
544
|
+
mutating the input object. Incomplete snapshots, members missing from the schema
|
|
545
|
+
and integers already outside the frontend's exact range fail explicitly.
|
|
546
|
+
|
|
547
|
+
Both writers matched Mendix in two builds and two runtimes. Twelve comparisons
|
|
548
|
+
with original JavaScript, two unchanged real nanoflows and 25 browser steps without
|
|
549
|
+
MPR access also passed. Object retrieval/recreation is covered in the section above;
|
|
550
|
+
AsyncStorage and offline synchronization remain unsupported.
|
|
551
|
+
[Evidence](../evidence/feedback-object-storage-2026-10-07.json).
|
|
552
|
+
|
|
553
|
+
## Refreshing page arguments
|
|
554
|
+
|
|
555
|
+
When a change updates the context object, named page arguments referring to that
|
|
556
|
+
same object receive its current state. This keeps data views, conditional classes
|
|
557
|
+
and action arguments synchronized after nanoflows and microflows. Other objects,
|
|
558
|
+
primitive values and empty arguments remain intact.
|
|
559
|
+
|
|
560
|
+
The regression reproduced Sudoku's notes mode: the value changed while the page
|
|
561
|
+
kept displaying its initial snapshot. The real application passed 32 steps without
|
|
562
|
+
MPR access; a 19-step fixture covers repeated toggles and a microflow update.
|
|
563
|
+
[Evidence](../evidence/live-page-parameters-2026-10-07.json).
|
|
564
|
+
|
|
565
|
+
## Legacy Feedback and frontend constants
|
|
566
|
+
|
|
567
|
+
`JS_GetSingleLocalStorageObjectItem`, used by Sudoku and RubyBridgeSandbox,
|
|
568
|
+
has an adapter selected by source SHA-256. It uses the model parameters
|
|
569
|
+
`LocalStorageKey` and `ObjectItemKey` and preserves the `""` fallback for missing
|
|
570
|
+
items, unlike the newer getter's `null` fallback.
|
|
571
|
+
|
|
572
|
+
Frontend expressions resolve `@Module.Constant` from current Ruby definitions
|
|
573
|
+
exposed to the client. Private and excluded constants are omitted from the schema;
|
|
574
|
+
integers, booleans and decimals retain their types. Application loading replaces
|
|
575
|
+
previous registrations; unavailable references fail explicitly.
|
|
576
|
+
|
|
577
|
+
The unchanged exported nanoflows from both real projects passed with missing,
|
|
578
|
+
empty and populated storage. The fixture uses a constant as its storage key and
|
|
579
|
+
checks the same behavior in Ruby and Mendix.
|
|
580
|
+
[Evidence](../evidence/legacy-feedback-2026-10-07.json).
|
|
581
|
+
|
|
582
|
+
## Generating queryable OQL views
|
|
583
|
+
|
|
584
|
+
Declaring `oql_view` preserves the entity persistability flag. New views use
|
|
585
|
+
the persistent default required by Mendix database retrieval; the OQL source
|
|
586
|
+
still prevents physical SQLite table creation. Previously, generation forced
|
|
587
|
+
`Persistable=false`, causing MxBuild to reject retrieve activities. Two builds
|
|
588
|
+
and two runtimes in the Windows VM passed after the fix, with identical source
|
|
589
|
+
and rebuilt results and unchanged hashes.
|
|
590
|
+
[Evidence](../evidence/oql-view-persistence-2026-10-07.json).
|
|
591
|
+
|
|
592
|
+
The Ruby runtime also retrieves simple projections of one persistent entity:
|
|
593
|
+
columns with optional aliases and `ID` projected as a reference association.
|
|
594
|
+
Views read durable values, reflect commits and deletions, and reject writes.
|
|
595
|
+
OQL text is validated and never executed directly as SQL. The filter subset above
|
|
596
|
+
is supported, together with the relational extension above. Chained views still
|
|
597
|
+
fail explicitly.
|
|
598
|
+
Eight outcomes matched Ruby and both Mendix runtimes; 41 browser steps passed
|
|
599
|
+
without MPR access. Model retrieval across eight real projects passed for all
|
|
600
|
+
98 entities, including `MyFirstModule.LocationsView`.
|
|
601
|
+
[Execution evidence](../evidence/oql-view-execution-2026-10-07.json).
|
|
602
|
+
|
|
603
|
+
## Nanoflow Commons storage
|
|
604
|
+
|
|
605
|
+
`GetStorageItemString`, `SetStorageItemString`, `RemoveStorageItem`,
|
|
606
|
+
`StorageItemExists` and `ClearLocalStorage` have Web adapters selected by the
|
|
607
|
+
original source SHA-256. Model parameters are `Key` and `Value`. They preserve
|
|
608
|
+
required key/value errors, missing versus empty stored strings, removal and
|
|
609
|
+
clearing. `ClearLocalStorage` clears the entire current origin, as the original does.
|
|
610
|
+
|
|
611
|
+
Validation: 60 original JavaScript comparisons, 176 frontend tests, 51 Chromium
|
|
612
|
+
steps without MPR access, and two builds/two runtimes in the Windows VM with
|
|
613
|
+
identical Ruby results and unchanged hashes. All 2,326 Ruby examples passed
|
|
614
|
+
with 100% line/branch coverage. Real Sudoku audit and identical rebuild passed.
|
|
615
|
+
[Evidence](../evidence/commons-storage-2026-10-07.json).
|
|
616
|
+
Scope is Web `localStorage`; React Native `AsyncStorage` is not implemented.
|
|
617
|
+
|
|
618
|
+
## Nanoflow Commons actions and lists
|
|
619
|
+
|
|
620
|
+
Export registers `Base64Encode`, `Base64Decode`, `GetGuid`, `GetPlatform` and
|
|
621
|
+
`FindObjectWithGUID` only when implementation hashes match verified sources.
|
|
622
|
+
Base64 uses `js-base64` 3.7.7, the native reference version. Registration keeps
|
|
623
|
+
the model parameter `EntityObject` and the Feedback adapters together. Exported
|
|
624
|
+
nanoflows also create lists and add, remove or clear objects while preserving
|
|
625
|
+
references to the same list.
|
|
626
|
+
|
|
627
|
+
Validation passed 22 comparisons with original JavaScript, 169 frontend tests
|
|
628
|
+
and 13 Chromium steps without MPR access. Two builds and runtimes in the Windows
|
|
629
|
+
VM confirmed identical original/round-trip results without modifying sources.
|
|
630
|
+
The scenario certifies Web; environment detection is not certification of a
|
|
631
|
+
React Native or Cordova application.
|
|
632
|
+
[Evidence](../evidence/nanoflow-commons-2026-10-07.json).
|
|
633
|
+
|
|
634
|
+
## CustomChart with Plotly
|
|
635
|
+
|
|
636
|
+
`CustomChart` loads Plotly 3.0.1 on demand and applies the model's JSON data,
|
|
637
|
+
layout and configuration. Static and attribute traces are concatenated; context
|
|
638
|
+
changes redraw the chart. Dimensions, height limits, legends, axes and the
|
|
639
|
+
mode bar are preserved. Clicking stores the first point's `bbox` in the event
|
|
640
|
+
attribute, dispatches the configured action and clears the attribute. Pending
|
|
641
|
+
actions are guarded and the graph is purged when its component unmounts.
|
|
642
|
+
|
|
643
|
+
Acceptance compares traces, title, scale, size and click behavior before/after
|
|
644
|
+
an update. The frontend passed 160 tests; Chromium passed ten steps without
|
|
645
|
+
MPR access. The full engine adds approximately 1.33 MB gzip when requested.
|
|
646
|
+
The internal playground/editor, its initialization effects on sample data and
|
|
647
|
+
certification of every trace type are outside this contract. Other chart widgets
|
|
648
|
+
retain their previous option scope.
|
|
649
|
+
|
|
650
|
+
The Windows VM passed both builds and runtimes, original and rebuilt, with
|
|
651
|
+
results identical to Ruby and unchanged input hashes.
|
|
652
|
+
[Evidence](../evidence/custom-plotly-2026-10-07.json).
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
## Browser storage actions
|
|
656
|
+
|
|
657
|
+
Three Feedback Module actions receive TypeScript adapters when their original
|
|
658
|
+
source hash matches: reading a value, reading `ShowEmail`, and writing `ImageB64`.
|
|
659
|
+
Registration preserves model parameter names, including case. Invalid JSON,
|
|
660
|
+
missing values and storage failures retain the verified implementation behavior.
|
|
661
|
+
|
|
662
|
+
All 33 comparisons with original JavaScript passed. Ruby Chromium acceptance
|
|
663
|
+
ran ten steps without MPR access, including persistence after navigation. The
|
|
664
|
+
Windows VM certified the original and rebuilt projects with identical results.
|
|
665
|
+
Customized sources, native AsyncStorage and offline synchronization remain
|
|
666
|
+
outside this contract. See the [evidence](../evidence/feedback-storage-2026-10-07.json).
|
|
667
|
+
|
|
668
|
+
## Java adapters selected by verified source
|
|
669
|
+
|
|
670
|
+
Export recognizes two Feedback Module implementations by the Java source's
|
|
671
|
+
SHA-256: `ValidateEmail` and `XSS_Sanitizer`. Only verified versions produce
|
|
672
|
+
explicit registrations in `config/adapters.rb`; absent or modified sources
|
|
673
|
+
still require a project adapter. Runtime execution uses Ruby without an MPR
|
|
674
|
+
or JVM. Registrations remain editable Ruby code.
|
|
675
|
+
|
|
676
|
+
Tests compare 32 inputs with the original Java, including Unicode, empty and
|
|
677
|
+
null values. The legacy `XSS_Sanitizer` preserves its regular-expression
|
|
678
|
+
behavior; it does not replace HTML escaping or an application's sanitization
|
|
679
|
+
policy. Other Java/JavaScript actions and external integrations still require
|
|
680
|
+
their own implementation and acceptance.
|
|
681
|
+
|
|
682
|
+
## Structured captions
|
|
683
|
+
|
|
684
|
+
Captions support translations, fallback text, attribute/expression parameters,
|
|
685
|
+
number/date formatting and references to page, snippet or widget objects. Ruby
|
|
686
|
+
declarations preserve this metadata across roundtrips. The frontend uses the
|
|
687
|
+
selected locale and retains transported Decimal precision beyond the exact
|
|
688
|
+
Number range. Updating a series preserves its context.
|
|
689
|
+
|
|
690
|
+
The chart-captions scenario compares names and values before/after a change in
|
|
691
|
+
the native runtime. Unknown date patterns are rejected explicitly. Advanced
|
|
692
|
+
Plotly visual options remain a separate workstream.
|
|
693
|
+
|
|
694
|
+
## Decimal precision
|
|
695
|
+
|
|
696
|
+
Ruby uses `BigDecimal` and the frontend uses `decimal.js`. Decimal literals,
|
|
697
|
+
arithmetic and comparisons avoid intermediate `Float`/`Number` conversions.
|
|
698
|
+
Division uses the installed 11.12.1 runtime's 38 significant digits. `round`
|
|
699
|
+
honors `HalfUp`/`HalfEven`; export retains the project's `DecimalScale`.
|
|
700
|
+
`floor`, `ceil`, `abs` and `parseDecimal` also use exact values. `parseDecimal`
|
|
701
|
+
accepts a pattern and a default (`parseDecimal(text, '#,##0.00', 0)`) and follows
|
|
702
|
+
Java's en_US `DecimalFormat`: the longest prefix wins, text after the number is
|
|
703
|
+
ignored, `%` and `‰` divide, and the default is returned when nothing parses.
|
|
704
|
+
`random()` is a Decimal.
|
|
705
|
+
|
|
706
|
+
The internal API transports Decimal as `{"__mxrb_decimal":"9007199254740993.12345678"}`.
|
|
707
|
+
TypeScript extensions should use `bridge/decimal` helpers. Fields, page parameters,
|
|
708
|
+
filters, sorting, drafts and nanoflows preserve this value. Chart coordinates
|
|
709
|
+
convert to floating point at the presentation boundary. Long values beyond
|
|
710
|
+
2^53 − 1 travel with the same tag and are edited as text without losing digits.
|
|
711
|
+
|
|
712
|
+
SQLite stores canonical decimal `TEXT`, applies project scale/rounding at commit
|
|
713
|
+
and rejects values outside the native range. Existing `REAL` columns migrate
|
|
714
|
+
without dropping rows; precision lost in older writes cannot be recovered.
|
|
715
|
+
External SQL must use decimal comparisons rather than SQLite's textual ordering.
|
|
716
|
+
API clients must adopt the decimal tag alongside the regenerated frontend.
|
|
717
|
+
Separators of other locales remain outside this contract. In XPath, `div`
|
|
718
|
+
between integers truncates and arithmetic over an empty member is `NULL`, which
|
|
719
|
+
never compares true.
|
|
720
|
+
|
|
721
|
+
[Decimal evidence](../evidence/decimal-runtime-2026-10-06.json) and
|
|
722
|
+
[patterns, random and XPath arithmetic](../evidence/decimal-edges-2026-10-14.json).
|
|
723
|
+
|
|
724
|
+
## Calendar expressions
|
|
725
|
+
|
|
726
|
+
Ruby and TypeScript evaluate date creation, additions/subtractions from milliseconds
|
|
727
|
+
to years, period trimming and millisecond epoch conversion. Calendar operations
|
|
728
|
+
support UTC variants. Ruby uses the security context's IANA time zone; the frontend
|
|
729
|
+
uses the browser zone or an explicit evaluator `timeZone`. Subsequent requests do
|
|
730
|
+
not inherit the previous user's zone. Month/year shifts clamp to the final valid
|
|
731
|
+
day; elapsed hours and smaller units differ from calendar days across DST.
|
|
732
|
+
|
|
733
|
+
Local tests cover New York, Lord Howe and Apia transitions. The native compatibility
|
|
734
|
+
matrix adds 16 UTC cases in both source and round-trip projects; local tests alone
|
|
735
|
+
do not establish native equivalence. Formatting is described under Microflow date
|
|
736
|
+
formatting; parsing localized text remains a separate contract.
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
[Calendar evidence](../evidence/calendar-expressions-2026-10-06.json).
|
|
740
|
+
|
|
741
|
+
Microflows also evaluate `millisecondsBetween` to `weeksBetween` (the distance
|
|
742
|
+
regardless of order: milliseconds as a whole number, larger units as a 38-digit
|
|
743
|
+
decimal), `calendarMonthsBetween`/`calendarYearsBetween` (complete months/years),
|
|
744
|
+
`beginOf`/`endOf` Day, Week, Month and Year, `formatDateUTC`/`formatTimeUTC`, `max`/`min`
|
|
745
|
+
over dates and the `[%BeginOf…%]`/`[%EndOf…%]` tokens. Weeks start on Sunday, also for
|
|
746
|
+
XPath `[%BeginOfCurrentWeek%]`. All 80 cases match the Mendix 11.12.1 Runtime.
|
|
747
|
+
[Calendar function evidence](../evidence/calendar-functions-2026-10-14.json).
|
|
748
|
+
|
|
749
|
+
## Stacking and point actions — October 6, 2026
|
|
750
|
+
|
|
751
|
+
Bar and column charts support `barmode: "stack"`, accumulating category bases
|
|
752
|
+
in series order, including negative and zero values. Axis bounds include bases
|
|
753
|
+
and totals. `staticOnClickAction` and `dynamicOnClickAction` use the page event
|
|
754
|
+
runtime with the point record, confirmation and execution locking. Points
|
|
755
|
+
support click, Enter and Space; the accessible table also exposes the action.
|
|
756
|
+
|
|
757
|
+
For aggregated series, selection uses the point index in the ordered source
|
|
758
|
+
items, matching the certified Mendix Charts package. This is not necessarily
|
|
759
|
+
the first record in the aggregated category. Point updates preserve the page
|
|
760
|
+
context and its fields. The `chart-interactions` scenario covers horizontal and
|
|
761
|
+
vertical stacks, aggregate clicks, negative values and a newly created series.
|
|
762
|
+
|
|
763
|
+
Horizontal bar aggregation remains unsupported: the Charts package groups by the numeric axis and can concatenate labels. The Ruby runtime reports this limitation explicitly. Horizontal certification uses unaggregated points, including repeated categories.
|
|
764
|
+
|
|
765
|
+
## Dynamic chart series — October 6, 2026
|
|
766
|
+
|
|
767
|
+
Line and column charts support dynamic series grouped by the configured
|
|
768
|
+
attribute, with source ordering and independent aggregation per group. Data
|
|
769
|
+
changes update existing points and add new groups. Typed Ruby properties accept
|
|
770
|
+
`caption("Region {1}", parameters: ["$currentObject/App.Point.Region"])`;
|
|
771
|
+
the frontend evaluates each parameter against the series record. Numeric and
|
|
772
|
+
string values with the same spelling remain separate groups.
|
|
773
|
+
|
|
774
|
+
Tests cover simple expression and attribute parameters. Translations, custom
|
|
775
|
+
formatting and references to other page variables are not certified by this
|
|
776
|
+
caption projection. Stacking, point actions and advanced Plotly options remain
|
|
777
|
+
outside this increment. The Windows workflow runs the new `chart-series`
|
|
778
|
+
scenario against both source and rebuilt models.
|
|
779
|
+
|
|
780
|
+
## October 5, 2026 update
|
|
781
|
+
|
|
782
|
+
The runtime catalog discovers new models, DTOs, pages, enumerations and services
|
|
783
|
+
from loaded Ruby files without hand-editing the manifest. Applications marked
|
|
784
|
+
`runtime_model: ruby` run without opening an MPR; legacy exports must be exported
|
|
785
|
+
again to adopt this contract. Deleting or renaming legacy catalog entries still
|
|
786
|
+
requires explicit reconciliation.
|
|
787
|
+
|
|
788
|
+
UI policy now combines module roles and visibility/editability expressions with
|
|
789
|
+
inherited Data View restrictions. Unknown roles cannot grant access. Server
|
|
790
|
+
permissions remain authoritative. XPath includes string/date functions, period
|
|
791
|
+
keywords and session time zones, with calendar month/year boundaries and DST
|
|
792
|
+
tests. This does not establish universal database or native-function parity.
|
|
793
|
+
|
|
794
|
+
Persistent and transient callbacks reach subtypes. Inherited validation rules
|
|
795
|
+
now enforce required values, uniqueness across subtype tables, equality,
|
|
796
|
+
inclusive ranges and UTF-16 length at commits with events. Rejected transactions
|
|
797
|
+
roll back and HTTP returns structured 422 feedback. Regular expressions match as
|
|
798
|
+
Java's `Pattern` does (`Runtime::JavaRegex`): the syntax is rewritten where Java
|
|
799
|
+
and Ruby read the same text differently (`.`, `^`, `$`, `\h`, `\v`, `\Q...\E`,
|
|
800
|
+
`\x{...}` and the ASCII POSIX classes), and a construct with no faithful
|
|
801
|
+
equivalent fails instead of matching otherwise; a registered `regular_expression`
|
|
802
|
+
adapter still decides instead. Unsupported rules fail explicitly.
|
|
803
|
+
A 21-case matrix matched native Runtime: see the
|
|
804
|
+
[parity evidence](../evidence/validation-parity-2026-10-05.json). Equality uses
|
|
805
|
+
`Value` in native storage. Date-only bounds were certified; Runtime 11.12.1
|
|
806
|
+
rejected a bound with time that MxBuild accepted, so that variant is not certified.
|
|
807
|
+
|
|
808
|
+
Edited VetClinic Ruby sources passed service creation, a new model column,
|
|
809
|
+
page projection, persistence after reopening, rollback and deletion with MPR
|
|
810
|
+
access forbidden ([evidence](../evidence/vetclinic-ruby-2026-10-05.json)). Native
|
|
811
|
+
lifecycle callbacks now share the API transaction.
|
|
812
|
+
|
|
813
|
+
[Windows certification](windows-studio-pro.md) passed six local native builds
|
|
814
|
+
and official Runtime CRUD. VetClinic passed themed rendering and native client
|
|
815
|
+
API CRUD. The [report](../evidence/native-2026-10-05.json) distinguishes this from
|
|
816
|
+
complete form, theme, external-widget, custom Java/JS and mobile-layout parity.
|
|
817
|
+
The weekly workflow adds native builds and headless runtime acceptance.
|
|
818
|
+
|
|
819
|
+
## Primary direction: Mendix → Ruby + React/TypeScript
|
|
820
|
+
|
|
821
|
+
The conversion target is an editable Ruby backend and React/TypeScript web
|
|
822
|
+
application without the Mendix runtime. Rebuilding an MPR is a separate contract.
|
|
823
|
+
`runtime_only` does not mean uneditable: custom Ruby and React code can be fully
|
|
824
|
+
editable without a Studio Pro projection. `portability --require-native` audits
|
|
825
|
+
Ruby → Mendix, not completion of Mendix → Ruby.
|
|
826
|
+
|
|
827
|
+
Legacy exports may still read an internal MPR copy. New exports with
|
|
828
|
+
`runtime_model: ruby` build their runtime model from Ruby definitions. Untranslated
|
|
829
|
+
variants, custom actions without adapters, and unsupported widgets remain gaps.
|
|
830
|
+
|
|
831
|
+
Input editability, expression conditions, read-only style, placeholder, password,
|
|
832
|
+
maximum length, ARIA label/required state, tab order, and autocomplete are now
|
|
833
|
+
exported as page Ruby options. Editing `app/pages/**/*.rb` changes the Ruby
|
|
834
|
+
backend's page projection without rebuilding an MPR. Supported options are applied
|
|
835
|
+
by React. Nested Data Views cannot unlock a read-only ancestor; unknown conditions
|
|
836
|
+
stay locked. Module roles are evaluated together with supported expressions;
|
|
837
|
+
other native variants require their own contracts. Backend authorization remains separate.
|
|
838
|
+
|
|
839
|
+
Attribute-value conditions (Boolean or enumeration) are exported as
|
|
840
|
+
`input_condition(attribute:, conditions: [["true", true], ...], source:)` and as
|
|
841
|
+
`editable_when`/`visible_when` with the same pairs, without model identifiers. As
|
|
842
|
+
MxBuild 11.12.1 compiles them, the UI evaluates "the attribute equals one of the
|
|
843
|
+
marked values", with `(empty)` for no value, reading the object of the Data View
|
|
844
|
+
named by `source:`. Unknown sources stay locked. A Ruby export of a copy of a
|
|
845
|
+
private real project now passes the public-source audit and the identical round trip.
|
|
846
|
+
|
|
847
|
+
Data grid 2 exports through the typed `data_grid` call, with the datasource
|
|
848
|
+
`xpath:`, `sort: [sort_by(...)]`, `on_click_trigger: "double"` and a `header`
|
|
849
|
+
block holding the header widgets (`filtersPlaceholder`). Each `column` accepts
|
|
850
|
+
`association_path: [[association, entity], ...]`, `dynamic_text:` with
|
|
851
|
+
`parameters:`, `hidable:`, `width: "auto_fit"|"manual"`, `size:`, `alignment:`
|
|
852
|
+
and a block with the custom content, rendered with the row as its context.
|
|
853
|
+
Filters use `grid_filter(:text, operator: :contains)`; `grid_filter(:drop_down)`
|
|
854
|
+
lists the values of boolean or enumeration attributes and is absent over
|
|
855
|
+
associations. `filter_attributes: [...]` is the grid's filter list (`filterList`): a
|
|
856
|
+
Text filter in the header searches the String attributes of that list, and a row
|
|
857
|
+
shows when any of them matches the chosen operator (`defaultFilter`, a selector when
|
|
858
|
+
`adjustable`) after the `delay`; `valueAttribute` and `onChange` run for each new
|
|
859
|
+
value. A microflow, nanoflow or association source becomes `source:`
|
|
860
|
+
(`microflow_source(...)`, `nanoflow_source(...)` or `association(...)`, as for a Data View)
|
|
861
|
+
on Data grid 2, Gallery and pluggable widgets' `data_source(source: ...)`; the browser
|
|
862
|
+
loads the list once, with its parameter mappings, then filters, sorts and pages it
|
|
863
|
+
locally. The UI writes `grid-template-columns` as the native widget does:
|
|
864
|
+
`autoFill` shares the space by `size`, `autoFit` follows the content and `manual`
|
|
865
|
+
is in pixels. The runtime fills `System.grantableRoles` from the manageable roles
|
|
866
|
+
of the project security, so the XPath of the Administration module's
|
|
867
|
+
Account_Overview lists the accounts whose roles the current user may grant.
|
|
868
|
+
|
|
869
|
+
The client schema includes the System module's entities and associations
|
|
870
|
+
(without the password), and a `reference_selector` over a reference set such as
|
|
871
|
+
`System.UserRoles` becomes a multiple selection of the target objects. A
|
|
872
|
+
microflow button without parameter mappings passes its Data View's object to the
|
|
873
|
+
one unmapped parameter of a compatible entity, as Mendix does, so the Save
|
|
874
|
+
button of the Administration module's New Account popup creates the account. An
|
|
875
|
+
association Data View keeps its widgets and their drafts mounted while it
|
|
876
|
+
reloads the same object.
|
|
877
|
+
|
|
878
|
+
On a page with Save/Cancel, a microflow call carries the edited objects
|
|
879
|
+
(uncommitted), as the Mendix client does; drafts reached again through an
|
|
880
|
+
association keep their token, and the change applies to the same instance the
|
|
881
|
+
microflow commits. After a microflow in a popup, the page beneath reloads. A page
|
|
882
|
+
action without mapped arguments receives the object the event acts on, such as a
|
|
883
|
+
grid row. Labels import their caption and attribute-value visibility
|
|
884
|
+
(`text ..., visibility: input_condition(...)`), and buttons import their icon
|
|
885
|
+
collection image (`button ..., icon: "Atlas_Core.Atlas_Filled.pencil"`); an empty
|
|
886
|
+
caption stays empty.
|
|
887
|
+
Texts rendered as H1–H6 or paragraph (`text ..., render_mode: :h2`) and Link
|
|
888
|
+
buttons (`button ..., render_type: :link`) render as in the Mendix client; the Tab
|
|
889
|
+
Control uses the Atlas tab markup, and Data grid 2 shows booleans as Yes/No.
|
|
890
|
+
`input_condition` accepts `roles:` and `ignore_security:` when the condition also
|
|
891
|
+
restricts module roles; Data grid 2 in snippets uses the same typed call as in
|
|
892
|
+
pages; and excluded nanoflows that refer to removed model elements (Studio Pro
|
|
893
|
+
does not check excluded documents) get an empty body instead of stopping the
|
|
894
|
+
export. Copies of private real projects and Sudoku pass the
|
|
895
|
+
public-source audit and the identical round trip.
|
|
896
|
+
Data grid 2 filters offer the widget's operator selector (Contains, Starts with,
|
|
897
|
+
Greater than, Between, Empty...), and drop-down filters read Select/Yes/No.
|
|
898
|
+
The runtime creates a `System.Language` per project language with the Mendix
|
|
899
|
+
description (`en_US` is "English, United States"), and the Language selector
|
|
900
|
+
widget lists them and switches the page language.
|
|
901
|
+
Layout grids render with the Atlas classes (`mx-layoutgrid`, `row`,
|
|
902
|
+
`col-lg-*`/`col-md-*`/`col-*`, `align-self-*`), so the project theme lays them
|
|
903
|
+
out; a zero-specificity fallback grid covers themes without Atlas.
|
|
904
|
+
Widgets and layout grid rows and columns declare their design properties in
|
|
905
|
+
Ruby, as `design: design_values(Size: "Large", Spacing:
|
|
906
|
+
design_sides("margin-left": "S"))`. A toggle is `true`, an option is its name,
|
|
907
|
+
and spacing lists sides and options. Data views keep their typed
|
|
908
|
+
`design_properties`. The application resolves the current declarations with the
|
|
909
|
+
exported theme's `design-properties.json` files whenever it serves a document
|
|
910
|
+
(`btn-lg`, `spacing-inner-top`, `flex-row`...). Editing, removing or moving a
|
|
911
|
+
declaration changes the served classes. `.mxrb/design_classes.json` keeps only
|
|
912
|
+
the classes of typed native fragments that have no declaration. The sidebar toggle shows its collection icon, Data grid 2 date
|
|
913
|
+
filters have the calendar button, and an image viewer without contents shows the
|
|
914
|
+
default image.
|
|
915
|
+
For a signed-in user, the Language selector stores the chosen language in
|
|
916
|
+
`System.User_Language` (`POST /api/session/language`) and reads it back from
|
|
917
|
+
`/api/session`, as the Mendix client does.
|
|
918
|
+
Reference selectors reload their options only when server data changes, not for
|
|
919
|
+
each edit kept in the browser, and Data grid 2 columns over the same attribute
|
|
920
|
+
(such as an action column) keep their own identity.
|
|
921
|
+
Layout grid rows and columns, which have no names, carry their declaration with
|
|
922
|
+
them, so reordering them in Ruby keeps `cards` and `flex-row` on the right
|
|
923
|
+
elements.
|
|
924
|
+
As MxBuild does in `dist/widgets.css`, the export gathers the own CSS of the
|
|
925
|
+
`.mpk` packages of the pluggable widgets the project uses, with the assets it
|
|
926
|
+
refers to, into `frontend/src/generated/platform/widgets/widgets.css`, loaded
|
|
927
|
+
before the theme (the Language selector arrow and the date filter styles come
|
|
928
|
+
from there). Data grid 2 shows the arrow of the active sort and its date filter
|
|
929
|
+
follows the native markup.
|
|
930
|
+
Dynamic classes are evaluated as expressions (`'sd-pb-' + toString(...)` becomes
|
|
931
|
+
`sd-pb-12`), and an AutoNumber starts at its default value, as in Mendix.
|
|
932
|
+
When a page opens, the focus moves to its first focusable element as the page's
|
|
933
|
+
Autofocus allows (Always; DesktopOnly, except on touch devices; Never), unless
|
|
934
|
+
the user has already focused something. A layout's design property classes go to
|
|
935
|
+
the layout widgets embedded in the page, and the page's to its own, even when
|
|
936
|
+
widget names repeat.
|
|
937
|
+
Data views follow the model's label width: with a `label_width` above 0 their
|
|
938
|
+
fields are horizontal `form-group`s (`control-label col-sm-N` and
|
|
939
|
+
`col-sm-(12-N)`); with 0 the label sits above (`no-columns`). The data view uses
|
|
940
|
+
the native markup (`mx-dataview`, `form-horizontal`/`form-vertical`,
|
|
941
|
+
`mx-dataview-content`, `mx-dataview-controls`), check boxes are
|
|
942
|
+
`form-group mx-checkbox`, and reference set selectors are the multiple-selection
|
|
943
|
+
Combo box. Popups focus their first field once data has loaded, and empty drop
|
|
944
|
+
downs show a blank option.
|
|
945
|
+
|
|
946
|
+
Focus/change/leave actions preserve input focus and wait for writes where needed.
|
|
947
|
+
Server objects are no longer implicitly transient; failed writes, including 404,
|
|
948
|
+
are reported. Named grid selection feeds `listen_to` views. Multi-step association
|
|
949
|
+
sources traverse each link and stop at empty links without unscoped queries.
|
|
950
|
+
|
|
951
|
+
`spec/fixtures/ruby_frontend_editability/project.rb` and
|
|
952
|
+
`spec/fixtures/frontend_browser/ruby_editability_flow.json` test conditional
|
|
953
|
+
editing, selection, and persistence after reload in Ruby/React. Component tests
|
|
954
|
+
cover focus, rejected writes, expression semantics, and association traversal.
|
|
955
|
+
This verifies that slice, not the entire frontend or independence from every baseline.
|
|
956
|
+
|
|
957
|
+
Radio groups support boolean/enumeration choices, captions, horizontal/vertical
|
|
958
|
+
layout, keyboard selection, persistence and group focus/leave events. Inherited
|
|
959
|
+
read-only policies remain enforced. Unknown values are reported without mutation.
|
|
960
|
+
Both bare and qualified enum values are recognized; writes preserve their incoming
|
|
961
|
+
representation, and enum-literal conditions recognize both without conflating
|
|
962
|
+
different qualified types. Exported enumeration values/captions are read from Ruby
|
|
963
|
+
definitions, with a manifest fallback for unloaded legacy definitions. Reload the
|
|
964
|
+
application after editing enumeration source. Applications using `runtime_model: ruby`
|
|
965
|
+
discover loaded declarations and reconcile removals and renames; legacy entries
|
|
966
|
+
need a fresh export. The manifest remains private reconstruction metadata rather
|
|
967
|
+
than a manually maintained runtime catalog.
|
|
968
|
+
|
|
969
|
+
Page-title widgets use the loaded Ruby page title. Tabs show one panel, support
|
|
970
|
+
arrow/Home/End navigation and retain mounted drafts in previously opened panels;
|
|
971
|
+
unopened panels load on demand. The `ruby_frontend_core_widgets` fixture and
|
|
972
|
+
`frontend_browser/ruby_core_widgets_flow.json` scenario test these behaviors,
|
|
973
|
+
enum-based editability and persistence. Unprojected native tab variants remain open.
|
|
974
|
+
|
|
975
|
+
MXRB reports every Ruby application artifact as `native` (materialized as an
|
|
976
|
+
editable MPR document), `preserved_native` (kept losslessly in the Mendix
|
|
977
|
+
sidecar), or `runtime_only` (requires the MXRB runtime).
|
|
978
|
+
|
|
979
|
+
```bash
|
|
980
|
+
bundle exec mxrb portability .
|
|
981
|
+
bundle exec mxrb portability . --json
|
|
982
|
+
bundle exec mxrb portability . --require-native
|
|
983
|
+
```
|
|
984
|
+
|
|
985
|
+
The last command fails when runtime-only code remains. Ruby entities and their
|
|
986
|
+
attribute constraints materialize in the domain model. Supported microflow and
|
|
987
|
+
nanoflow graphs are exported with editable `native` blocks. Pages intended for
|
|
988
|
+
Studio Pro must use `Page.native`; an application-owned React route remains
|
|
989
|
+
React code and is reported honestly. The report also lists the pluggable widgets
|
|
990
|
+
the generated frontend renders only approximately (`[WIDGET APPROXIMATE]`, with
|
|
991
|
+
what is missing) or not at all (`[WIDGET UNSUPPORTED]`), with the pages, snippets
|
|
992
|
+
and layouts that use them. A web widget the bridge does not render itself runs
|
|
993
|
+
its own build instead when the project's `widgets/*.mpk` ships one (`<Name>.mjs`):
|
|
994
|
+
the export copies it under `frontend/src/generated/bridge/vendor/widgets` and a
|
|
995
|
+
generic host gives it the pluggable widget API (`EditableValue`, `ListValue` with
|
|
996
|
+
filtering, sorting and paging, `ActionValue`, `DynamicValue`, linked attributes,
|
|
997
|
+
expressions and widget regions, `Big` numbers, `mendix/filters/builders`); such a
|
|
998
|
+
widget leaves the report. A Dojo widget (`mxui/widget/_WidgetBase`) of the
|
|
999
|
+
project's packages runs the same way through a legacy host: a small AMD loader
|
|
1000
|
+
gives it its own scripts and templates, Dojo, dijit and mxui shims, a `window.mx`
|
|
1001
|
+
answered by the runtime (`mx.data.get`/`action`/`subscribe`, `mx.ui.action`,
|
|
1002
|
+
`mx.session`, `mx.parser`) and `MxObject` over the page's records, so reference
|
|
1003
|
+
sets it changes are saved like any other edit. Entity paths and constraints of
|
|
1004
|
+
these widgets are projected as the client passes them (`Module.Assoc/Module.Entity`
|
|
1005
|
+
and the XPath) and written back unchanged. The project's own JavaScript actions that exported
|
|
1006
|
+
nanoflows call run from their `javascriptsource` too, unless a verified adapter
|
|
1007
|
+
covers them: arguments arrive as the client passes them (`MxObject`, `Big`,
|
|
1008
|
+
`Date`), `mx-global` installs the same `window.mx`, whose refresh, progress,
|
|
1009
|
+
confirmation, message and sign-out calls reach the running application, and
|
|
1010
|
+
changes to objects return to the nanoflow. Actions that import packages missing
|
|
1011
|
+
from their own `node_modules` stay unavailable; actions written for React Native
|
|
1012
|
+
need a verified adapter or fail the export. Otherwise, at runtime an unsupported widget shows a
|
|
1013
|
+
visible placeholder (`role="alert"`, `data-mxrb-unsupported`) instead of rendering
|
|
1014
|
+
empty.
|
|
1015
|
+
Microflow and nanoflow properties are projected as qualified names and
|
|
1016
|
+
translatable strings as `translatable_text([["en_US", "…"], …])`, keeping every
|
|
1017
|
+
language and the stored translation ids when written back; this lets HTML snippets
|
|
1018
|
+
(HTML, or JavaScript run with `this` as the element and `contextObj`), microflow
|
|
1019
|
+
timers, CSV tables and iframe components run in the Ruby application.
|
|
1020
|
+
|
|
1021
|
+
Build React/TypeScript that must run inside Mendix as an official pluggable
|
|
1022
|
+
widget:
|
|
1023
|
+
|
|
1024
|
+
```bash
|
|
1025
|
+
bundle exec mxrb widgets new OrderSummary widgets-src
|
|
1026
|
+
bundle exec mxrb widgets build widgets-src/OrderSummary --project "$PROJECT_ROOT"
|
|
1027
|
+
bundle exec mxrb widgets sync project.rb build/App.mpr
|
|
1028
|
+
```
|
|
1029
|
+
|
|
1030
|
+
The browser scaffold uses an HttpOnly, SameSite session cookie and CSRF tokens,
|
|
1031
|
+
not a bearer token in `localStorage`. Set `MXRB_SECURE_COOKIES=true` under HTTPS.
|
|
1032
|
+
|
|
1033
|
+
For LazyVim, install dependencies and open the project with `nvim .`. Useful
|
|
1034
|
+
bindings include `gd`, `gr`, `K`, `<leader>ca`, `<leader>cr`, `<leader>cf`, and
|
|
1035
|
+
`<leader>xx`.
|
|
1036
|
+
|
|
1037
|
+
Official references:
|
|
1038
|
+
|
|
1039
|
+
- <https://docs.mendix.com/apidocs-mxsdk/apidocs/pluggable-widgets/>
|
|
1040
|
+
- <https://www.npmjs.com/package/@mendix/generator-widget>
|
|
1041
|
+
|
|
1042
|
+
### Reversible editing of exported pages
|
|
1043
|
+
|
|
1044
|
+
Compilation synchronizes attribute bindings, DataView sources, actions and arguments, page parameters and variables, roles, and popup properties. Adding and moving widgets uses recognized native slots. To preserve identity when renaming, call `App::HomePage.rename_widget("Old", to: "New")` after configuration. Layouts and snippets can be created or removed; outstanding references prevent removal. Update callers together with parameter names.
|
|
1045
|
+
|
|
1046
|
+
Secondary translations are explicit in `title_translations`, `caption_translations`, `placeholder_translations`, and `aria_label_translations`; the primary text remains in its original field. Marketplace properties use the embedded schema while preserving the rest of the widget. These are editing contracts, not universal certification: the [editability plan and evidence](../planning/ruby-editability.pt-BR.md) describe limitations and native validation.
|
|
1047
|
+
|
|
1048
|
+
The declaration `App::HomePage.navigation(caption: "Home", home: true)` also works on pages exported with `configure`: it updates the menu item and, when requested, the home page while preserving existing widgets. A second conversion retains these changes.
|
|
1049
|
+
|
|
1050
|
+
New layouts and snippets follow each version's storage contract, including singular `Widget` before Mendix 7.17. Scalar Marketplace properties use their native value field; local actions receive their module name and nested objects retain unedited fields. Public business and Charts fixtures verify actual edits, persistence, an HTTP call and a second conversion in the Ruby and Mendix runtimes. Results and limits are recorded in the [local certification](../evidence/ruby-editability-local-2026-11-28.json).
|