likec4 1.27.3 → 1.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__app__/src/main.js +996 -1021
- package/__app__/src/style.css +1 -1
- package/dist/cli/index.mjs +690 -676
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{likec4.sbYSTpRI.mjs → likec4.CYGgfB-B.mjs} +1 -1
- package/dist/shared/likec4.DRjStDbg.mjs +2209 -0
- package/dist/shared/{likec4.QmEWuoHf.d.mts → likec4.DwrogUe0.d.mts} +22 -22
- package/dist/vite-plugin/index.d.mts +1 -1
- package/dist/vite-plugin/index.mjs +1 -1
- package/icons/aws/activate.js +21 -1
- package/icons/aws/alexa-for-business.js +21 -1
- package/icons/aws/amplify.js +21 -1
- package/icons/aws/apache-mxnet-on-aws.js +21 -1
- package/icons/aws/api-gateway.js +21 -1
- package/icons/aws/app-config.js +21 -1
- package/icons/aws/app-flow.js +21 -1
- package/icons/aws/app-mesh.js +21 -1
- package/icons/aws/app-runner.js +21 -1
- package/icons/aws/app-stream.js +21 -1
- package/icons/aws/app-sync.js +21 -1
- package/icons/aws/application-auto-scaling.js +21 -1
- package/icons/aws/application-composer.js +21 -1
- package/icons/aws/application-cost-profiler.js +21 -1
- package/icons/aws/application-discovery-service.js +21 -1
- package/icons/aws/application-migration-service.js +21 -1
- package/icons/aws/artifact.js +21 -1
- package/icons/aws/athena.js +21 -1
- package/icons/aws/audit-manager.js +21 -1
- package/icons/aws/augmented-ai-a2i.js +21 -1
- package/icons/aws/aurora.js +21 -1
- package/icons/aws/auto-scaling.js +21 -1
- package/icons/aws/backint-agent.js +21 -1
- package/icons/aws/backup.js +21 -1
- package/icons/aws/batch.js +21 -1
- package/icons/aws/billing-conductor.js +21 -1
- package/icons/aws/bottlerocket.js +21 -1
- package/icons/aws/braket.js +21 -1
- package/icons/aws/budgets.js +21 -1
- package/icons/aws/certificate-manager.js +21 -1
- package/icons/aws/chatbot.js +21 -1
- package/icons/aws/chime-sdk.js +21 -1
- package/icons/aws/chime-voice-connector.js +21 -1
- package/icons/aws/chime.js +21 -1
- package/icons/aws/clean-rooms.js +21 -1
- package/icons/aws/client-vpn.js +21 -1
- package/icons/aws/cloud-control-api.js +21 -1
- package/icons/aws/cloud-development-kit.js +21 -1
- package/icons/aws/cloud-directory.js +21 -1
- package/icons/aws/cloud-formation.js +21 -1
- package/icons/aws/cloud-front.js +21 -1
- package/icons/aws/cloud-hsm.js +21 -1
- package/icons/aws/cloud-map.js +21 -1
- package/icons/aws/cloud-search.js +21 -1
- package/icons/aws/cloud-shell.js +21 -1
- package/icons/aws/cloud-trail.js +21 -1
- package/icons/aws/cloud-wan.js +21 -1
- package/icons/aws/cloud-watch.js +21 -1
- package/icons/aws/cloud9.js +21 -1
- package/icons/aws/code-artifact.js +21 -1
- package/icons/aws/code-build.js +21 -1
- package/icons/aws/code-catalyst.js +21 -1
- package/icons/aws/code-commit.js +21 -1
- package/icons/aws/code-deploy.js +21 -1
- package/icons/aws/code-guru.js +21 -1
- package/icons/aws/code-pipeline.js +21 -1
- package/icons/aws/code-star.js +21 -1
- package/icons/aws/code-whisperer.js +21 -1
- package/icons/aws/cognito.js +21 -1
- package/icons/aws/command-line-interface.js +21 -1
- package/icons/aws/comprehend-medical.js +21 -1
- package/icons/aws/comprehend.js +21 -1
- package/icons/aws/compute-optimizer.js +21 -1
- package/icons/aws/config.js +21 -1
- package/icons/aws/connect.js +21 -1
- package/icons/aws/console-mobile-application.js +21 -1
- package/icons/aws/control-tower.js +21 -1
- package/icons/aws/corretto.js +21 -1
- package/icons/aws/cost-and-usage-report.js +21 -1
- package/icons/aws/cost-explorer.js +21 -1
- package/icons/aws/data-exchange.js +21 -1
- package/icons/aws/data-pipeline.js +21 -1
- package/icons/aws/data-sync.js +21 -1
- package/icons/aws/data-zone.js +21 -1
- package/icons/aws/database-migration-service.js +21 -1
- package/icons/aws/deep-composer.js +21 -1
- package/icons/aws/deep-learning-amis.js +21 -1
- package/icons/aws/deep-learning-containers.js +21 -1
- package/icons/aws/deep-lens.js +21 -1
- package/icons/aws/deep-racer.js +21 -1
- package/icons/aws/detective.js +21 -1
- package/icons/aws/dev-ops-guru.js +21 -1
- package/icons/aws/device-farm.js +21 -1
- package/icons/aws/direct-connect.js +21 -1
- package/icons/aws/directory-service.js +21 -1
- package/icons/aws/distro-for-open-telemetry.js +21 -1
- package/icons/aws/document-db.js +21 -1
- package/icons/aws/dynamo-db.js +21 -1
- package/icons/aws/ec2-auto-scaling.js +21 -1
- package/icons/aws/ec2-image-builder.js +21 -1
- package/icons/aws/ec2.js +21 -1
- package/icons/aws/ecs-anywhere.js +21 -1
- package/icons/aws/efs.js +21 -1
- package/icons/aws/eks-anywhere.js +21 -1
- package/icons/aws/eks-cloud.js +21 -1
- package/icons/aws/eks-distro.js +21 -1
- package/icons/aws/elasti-cache.js +21 -1
- package/icons/aws/elastic-beanstalk.js +21 -1
- package/icons/aws/elastic-block-store.js +21 -1
- package/icons/aws/elastic-container-registry.js +21 -1
- package/icons/aws/elastic-container-service.js +21 -1
- package/icons/aws/elastic-disaster-recovery.js +21 -1
- package/icons/aws/elastic-fabric-adapter.js +21 -1
- package/icons/aws/elastic-inference.js +21 -1
- package/icons/aws/elastic-kubernetes-service.js +21 -1
- package/icons/aws/elastic-load-balancing.js +21 -1
- package/icons/aws/elastic-transcoder.js +21 -1
- package/icons/aws/elemental-appliances-software.js +21 -1
- package/icons/aws/elemental-conductor.js +21 -1
- package/icons/aws/elemental-delta.js +21 -1
- package/icons/aws/elemental-link.js +21 -1
- package/icons/aws/elemental-live.js +21 -1
- package/icons/aws/elemental-media-connect.js +21 -1
- package/icons/aws/elemental-media-convert.js +21 -1
- package/icons/aws/elemental-media-live.js +21 -1
- package/icons/aws/elemental-media-package.js +21 -1
- package/icons/aws/elemental-media-store.js +21 -1
- package/icons/aws/elemental-media-tailor.js +21 -1
- package/icons/aws/elemental-server.js +21 -1
- package/icons/aws/emr.js +21 -1
- package/icons/aws/event-bridge.js +21 -1
- package/icons/aws/express-workflows.js +21 -1
- package/icons/aws/fargate.js +21 -1
- package/icons/aws/fault-injection-simulator.js +21 -1
- package/icons/aws/file-cache.js +21 -1
- package/icons/aws/fin-space.js +21 -1
- package/icons/aws/firewall-manager.js +21 -1
- package/icons/aws/forecast.js +21 -1
- package/icons/aws/fraud-detector.js +21 -1
- package/icons/aws/free-rtos.js +21 -1
- package/icons/aws/fsx-for-lustre.js +21 -1
- package/icons/aws/fsx-for-net-app-ontap.js +21 -1
- package/icons/aws/fsx-for-open-zfs.js +21 -1
- package/icons/aws/fsx-for-wfs.js +21 -1
- package/icons/aws/fsx.js +21 -1
- package/icons/aws/game-kit.js +21 -1
- package/icons/aws/game-lift.js +21 -1
- package/icons/aws/game-sparks.js +21 -1
- package/icons/aws/genomics-cli.js +21 -1
- package/icons/aws/global-accelerator.js +21 -1
- package/icons/aws/glue-data-brew.js +21 -1
- package/icons/aws/glue-elastic-views.js +21 -1
- package/icons/aws/glue.js +21 -1
- package/icons/aws/ground-station.js +21 -1
- package/icons/aws/guard-duty.js +21 -1
- package/icons/aws/health-lake.js +21 -1
- package/icons/aws/honeycode.js +21 -1
- package/icons/aws/iam-identity-center.js +21 -1
- package/icons/aws/identity-and-access-management.js +21 -1
- package/icons/aws/inspector.js +21 -1
- package/icons/aws/interactive-video-service.js +21 -1
- package/icons/aws/io-t-1-click.js +21 -1
- package/icons/aws/io-t-analytics.js +21 -1
- package/icons/aws/io-t-button.js +21 -1
- package/icons/aws/io-t-core.js +21 -1
- package/icons/aws/io-t-device-defender.js +21 -1
- package/icons/aws/io-t-device-management.js +21 -1
- package/icons/aws/io-t-edu-kit.js +21 -1
- package/icons/aws/io-t-events.js +21 -1
- package/icons/aws/io-t-express-link.js +21 -1
- package/icons/aws/io-t-fleet-wise.js +21 -1
- package/icons/aws/io-t-greengrass.js +21 -1
- package/icons/aws/io-t-robo-runner.js +21 -1
- package/icons/aws/io-t-site-wise.js +21 -1
- package/icons/aws/io-t-things-graph.js +21 -1
- package/icons/aws/io-t-twin-maker.js +37 -1
- package/icons/aws/iq.js +21 -1
- package/icons/aws/kendra.js +21 -1
- package/icons/aws/key-management-service.js +21 -1
- package/icons/aws/keyspaces.js +21 -1
- package/icons/aws/kinesis-data-analytics.js +21 -1
- package/icons/aws/kinesis-data-streams.js +21 -1
- package/icons/aws/kinesis-firehose.js +21 -1
- package/icons/aws/kinesis-video-streams.js +21 -1
- package/icons/aws/kinesis.js +21 -1
- package/icons/aws/lake-formation.js +21 -1
- package/icons/aws/lambda.js +21 -1
- package/icons/aws/launch-wizard.js +21 -1
- package/icons/aws/lex.js +21 -1
- package/icons/aws/license-manager.js +21 -1
- package/icons/aws/lightsail.js +21 -1
- package/icons/aws/local-zones.js +21 -1
- package/icons/aws/location-service.js +21 -1
- package/icons/aws/lookout-for-equipment.js +21 -1
- package/icons/aws/lookout-for-metrics.js +21 -1
- package/icons/aws/lookout-for-vision.js +21 -1
- package/icons/aws/lumberyard.js +21 -1
- package/icons/aws/macie.js +21 -1
- package/icons/aws/mainframe-modernization.js +21 -1
- package/icons/aws/managed-blockchain.js +21 -1
- package/icons/aws/managed-grafana.js +21 -1
- package/icons/aws/managed-service-for-prometheus.js +21 -1
- package/icons/aws/managed-services.js +21 -1
- package/icons/aws/managed-streaming-for-apache-kafka.js +21 -1
- package/icons/aws/managed-workflows-for-apache-airflow.js +21 -1
- package/icons/aws/management-console.js +21 -1
- package/icons/aws/marketplace-dark.js +15 -1
- package/icons/aws/marketplace-light.js +15 -1
- package/icons/aws/memory-db-for-redis.js +21 -1
- package/icons/aws/migration-evaluator.js +21 -1
- package/icons/aws/migration-hub.js +21 -1
- package/icons/aws/monitron.js +21 -1
- package/icons/aws/mq.js +21 -1
- package/icons/aws/neptune.js +21 -1
- package/icons/aws/network-firewall.js +21 -1
- package/icons/aws/neuron.js +21 -1
- package/icons/aws/nice-dcv.js +21 -1
- package/icons/aws/nice-engin-frame.js +21 -1
- package/icons/aws/nimble-studio.js +21 -1
- package/icons/aws/nitro-enclaves.js +21 -1
- package/icons/aws/omics.js +21 -1
- package/icons/aws/open-3d-engine.js +21 -1
- package/icons/aws/open-search-service.js +21 -1
- package/icons/aws/ops-works.js +21 -1
- package/icons/aws/organizations.js +21 -1
- package/icons/aws/outposts-family.js +21 -1
- package/icons/aws/outposts-rack.js +21 -1
- package/icons/aws/outposts-servers.js +21 -1
- package/icons/aws/panorama.js +21 -1
- package/icons/aws/parallel-cluster.js +21 -1
- package/icons/aws/personal-health-dashboard.js +21 -1
- package/icons/aws/personalize.js +21 -1
- package/icons/aws/pinpoint-apis.js +21 -1
- package/icons/aws/pinpoint.js +21 -1
- package/icons/aws/polly.js +21 -1
- package/icons/aws/private-5g.js +21 -1
- package/icons/aws/private-certificate-authority.js +28 -1
- package/icons/aws/private-link.js +21 -1
- package/icons/aws/professional-services.js +21 -1
- package/icons/aws/proton.js +21 -1
- package/icons/aws/quantum-ledger-database.js +21 -1
- package/icons/aws/quick-sight.js +21 -1
- package/icons/aws/rds-on-vmware.js +21 -1
- package/icons/aws/rds.js +21 -1
- package/icons/aws/re-post.js +21 -1
- package/icons/aws/red-hat-open-shift-service-on-aws.js +21 -1
- package/icons/aws/redshift.js +21 -1
- package/icons/aws/rekognition.js +21 -1
- package/icons/aws/reserved-instance-reporting.js +21 -1
- package/icons/aws/resilience-hub.js +21 -1
- package/icons/aws/resource-access-manager.js +21 -1
- package/icons/aws/resource-explorer.js +21 -1
- package/icons/aws/robo-maker.js +21 -1
- package/icons/aws/route-53.js +21 -1
- package/icons/aws/s3-on-outposts.js +21 -1
- package/icons/aws/sage-maker-ground-truth.js +21 -1
- package/icons/aws/sage-maker-studio-lab.js +21 -1
- package/icons/aws/sage-maker.js +21 -1
- package/icons/aws/savings-plans.js +21 -1
- package/icons/aws/secrets-manager.js +21 -1
- package/icons/aws/security-hub.js +21 -1
- package/icons/aws/security-lake.js +21 -1
- package/icons/aws/server-migration-service.js +21 -1
- package/icons/aws/serverless-application-repository.js +21 -1
- package/icons/aws/service-catalog.js +21 -1
- package/icons/aws/service-management-connector.js +28 -1
- package/icons/aws/shield.js +21 -1
- package/icons/aws/signer.js +21 -1
- package/icons/aws/sim-space-weaver.js +21 -1
- package/icons/aws/simple-email-service.js +21 -1
- package/icons/aws/simple-notification-service.js +21 -1
- package/icons/aws/simple-queue-service.js +21 -1
- package/icons/aws/simple-storage-service-glacier.js +21 -1
- package/icons/aws/simple-storage-service.js +21 -1
- package/icons/aws/site-to-site-vpn.js +21 -1
- package/icons/aws/snowball-edge.js +21 -1
- package/icons/aws/snowball.js +21 -1
- package/icons/aws/snowcone.js +21 -1
- package/icons/aws/snowmobile.js +21 -1
- package/icons/aws/step-functions.js +21 -1
- package/icons/aws/storage-gateway.js +21 -1
- package/icons/aws/sumerian.js +21 -1
- package/icons/aws/supply-chain.js +21 -1
- package/icons/aws/support.js +21 -1
- package/icons/aws/systems-manager.js +21 -1
- package/icons/aws/tensor-flow-on-aws.js +21 -1
- package/icons/aws/textract.js +21 -1
- package/icons/aws/thinkbox-deadline.js +21 -1
- package/icons/aws/thinkbox-frost.js +21 -1
- package/icons/aws/thinkbox-krakatoa.js +21 -1
- package/icons/aws/thinkbox-sequoia.js +21 -1
- package/icons/aws/thinkbox-stoke.js +21 -1
- package/icons/aws/thinkbox-xmesh.js +21 -1
- package/icons/aws/timestream.js +21 -1
- package/icons/aws/tools-and-sdks.js +21 -1
- package/icons/aws/torch-serve.js +21 -1
- package/icons/aws/training-certification.js +21 -1
- package/icons/aws/transcribe.js +21 -1
- package/icons/aws/transfer-family.js +21 -1
- package/icons/aws/transit-gateway.js +21 -1
- package/icons/aws/translate.js +21 -1
- package/icons/aws/trusted-advisor.js +21 -1
- package/icons/aws/verified-access.js +21 -1
- package/icons/aws/verified-permissions.js +21 -1
- package/icons/aws/virtual-private-cloud.js +21 -1
- package/icons/aws/vmware-cloud-on-aws.js +21 -1
- package/icons/aws/vpc-lattice.js +21 -1
- package/icons/aws/waf.js +21 -1
- package/icons/aws/wavelength.js +21 -1
- package/icons/aws/well-architected-tool.js +21 -1
- package/icons/aws/wickr.js +21 -1
- package/icons/aws/work-docs-sdk.js +21 -1
- package/icons/aws/work-docs.js +21 -1
- package/icons/aws/work-link.js +21 -1
- package/icons/aws/work-mail.js +21 -1
- package/icons/aws/work-spaces-family.js +21 -1
- package/icons/aws/x-ray.js +21 -1
- package/icons/azure/abs-member.js +32 -1
- package/icons/azure/active-directory-connect-health.js +132 -1
- package/icons/azure/activity-log.js +33 -1
- package/icons/azure/administrative-units.js +102 -1
- package/icons/azure/advisor.js +44 -1
- package/icons/azure/ai-studio.js +105 -1
- package/icons/azure/aks-automatic.js +105 -1
- package/icons/azure/aks-istio.js +96 -1
- package/icons/azure/alerts.js +29 -1
- package/icons/azure/all-resources.js +21 -1
- package/icons/azure/analysis-services.js +67 -1
- package/icons/azure/anomaly-detector.js +44 -1
- package/icons/azure/api-center.js +42 -1
- package/icons/azure/api-connections.js +66 -1
- package/icons/azure/api-management-services.js +51 -1
- package/icons/azure/api-proxy.js +32 -1
- package/icons/azure/app-compliance-automation.js +82 -1
- package/icons/azure/app-configuration.js +56 -1
- package/icons/azure/app-registrations.js +39 -1
- package/icons/azure/app-service-certificates.js +42 -1
- package/icons/azure/app-service-domains.js +23 -1
- package/icons/azure/app-service-environments.js +36 -1
- package/icons/azure/app-service-plans.js +66 -1
- package/icons/azure/app-services.js +104 -1
- package/icons/azure/app-space-component.js +39 -1
- package/icons/azure/app-space.js +37 -1
- package/icons/azure/applens.js +45 -1
- package/icons/azure/application-gateway-containers.js +134 -1
- package/icons/azure/application-gateways.js +92 -1
- package/icons/azure/application-group.js +21 -1
- package/icons/azure/application-insights.js +57 -1
- package/icons/azure/application-security-groups.js +54 -1
- package/icons/azure/aquila.js +95 -1
- package/icons/azure/arc-data-services.js +60 -1
- package/icons/azure/arc-kubernetes.js +139 -1
- package/icons/azure/arc-machines.js +40 -1
- package/icons/azure/arc-postgre-sql.js +73 -1
- package/icons/azure/arc-sql-managed-instance.js +75 -1
- package/icons/azure/arc-sql-server.js +40 -1
- package/icons/azure/atm-multistack.js +59 -1
- package/icons/azure/auto-scale.js +43 -1
- package/icons/azure/automanaged-vm.js +65 -1
- package/icons/azure/automation-accounts.js +62 -1
- package/icons/azure/availability-sets.js +70 -1
- package/icons/azure/avs-vm.js +32 -1
- package/icons/azure/azure-a.js +46 -1
- package/icons/azure/azure-ad-b2c.js +129 -1
- package/icons/azure/azure-api-for-fhir.js +33 -1
- package/icons/azure/azure-applied-ai-services.js +81 -1
- package/icons/azure/azure-arc.js +75 -1
- package/icons/azure/azure-attestation.js +35 -1
- package/icons/azure/azure-backup-center.js +63 -1
- package/icons/azure/azure-blockchain-service.js +51 -1
- package/icons/azure/azure-center-for-sap.js +37 -1
- package/icons/azure/azure-chaos-studio.js +75 -1
- package/icons/azure/azure-cloud-shell.js +39 -1
- package/icons/azure/azure-communication-services.js +63 -1
- package/icons/azure/azure-communications-gateway.js +43 -1
- package/icons/azure/azure-compute-galleries.js +35 -1
- package/icons/azure/azure-cosmos-db.js +47 -1
- package/icons/azure/azure-data-catalog.js +91 -1
- package/icons/azure/azure-data-explorer-clusters.js +126 -1
- package/icons/azure/azure-database-maria-db-server.js +56 -1
- package/icons/azure/azure-database-migration-services.js +83 -1
- package/icons/azure/azure-database-my-sql-server.js +56 -1
- package/icons/azure/azure-database-postgre-sql-server-group.js +65 -1
- package/icons/azure/azure-database-postgre-sql-server.js +57 -1
- package/icons/azure/azure-databox-gateway.js +39 -1
- package/icons/azure/azure-databricks.js +12 -1
- package/icons/azure/azure-deployment-environments.js +65 -1
- package/icons/azure/azure-dev-ops.js +21 -1
- package/icons/azure/azure-dev-tunnels.js +48 -1
- package/icons/azure/azure-edge-hardware-center.js +69 -1
- package/icons/azure/azure-experimentation-studio.js +88 -1
- package/icons/azure/azure-fileshares.js +46 -1
- package/icons/azure/azure-firewall-manager.js +60 -1
- package/icons/azure/azure-firewall-policy.js +37 -1
- package/icons/azure/azure-hcp-cache.js +23 -1
- package/icons/azure/azure-hpc-workbenches.js +112 -1
- package/icons/azure/azure-hybrid-center.js +33 -1
- package/icons/azure/azure-information-protection.js +95 -1
- package/icons/azure/azure-io-t-operations.js +57 -1
- package/icons/azure/azure-lighthouse.js +35 -1
- package/icons/azure/azure-load-testing.js +78 -1
- package/icons/azure/azure-managed-grafana.js +19 -1
- package/icons/azure/azure-maps-accounts.js +16 -1
- package/icons/azure/azure-media-service.js +107 -1
- package/icons/azure/azure-migrate.js +57 -1
- package/icons/azure/azure-monitor-dashboard.js +58 -1
- package/icons/azure/azure-monitor-pipeline.js +101 -1
- package/icons/azure/azure-monitors-for-sap-solutions.js +71 -1
- package/icons/azure/azure-net-app-files.js +36 -1
- package/icons/azure/azure-network-function-manager-functions.js +94 -1
- package/icons/azure/azure-network-function-manager.js +98 -1
- package/icons/azure/azure-object-understanding.js +50 -1
- package/icons/azure/azure-open-ai.js +29 -1
- package/icons/azure/azure-operator-5g-core.js +86 -1
- package/icons/azure/azure-operator-insights.js +42 -1
- package/icons/azure/azure-operator-nexus.js +87 -1
- package/icons/azure/azure-operator-service-manager.js +41 -1
- package/icons/azure/azure-orbital.js +115 -1
- package/icons/azure/azure-programmable-connectivity.js +168 -1
- package/icons/azure/azure-purview-accounts.js +100 -1
- package/icons/azure/azure-quotas.js +54 -1
- package/icons/azure/azure-red-hat-open-shift.js +44 -1
- package/icons/azure/azure-sentinel.js +37 -1
- package/icons/azure/azure-service-bus.js +77 -1
- package/icons/azure/azure-sphere.js +68 -1
- package/icons/azure/azure-spring-apps.js +111 -1
- package/icons/azure/azure-sql-edge.js +157 -1
- package/icons/azure/azure-sql-server-stretch-databases.js +82 -1
- package/icons/azure/azure-sql-vm.js +37 -1
- package/icons/azure/azure-sql.js +27 -1
- package/icons/azure/azure-stack-edge.js +44 -1
- package/icons/azure/azure-stack-hci-sizer.js +90 -1
- package/icons/azure/azure-stack.js +54 -1
- package/icons/azure/azure-storage-mover.js +120 -1
- package/icons/azure/azure-support-center-blue.js +53 -1
- package/icons/azure/azure-sustainability.js +75 -1
- package/icons/azure/azure-synapse-analytics.js +60 -1
- package/icons/azure/azure-token-service.js +46 -1
- package/icons/azure/azure-video-indexer.js +82 -1
- package/icons/azure/azure-virtual-desktop.js +19 -1
- package/icons/azure/azure-vmware-solution.js +57 -1
- package/icons/azure/azure-workbooks.js +78 -1
- package/icons/azure/azurite.js +34 -1
- package/icons/azure/backlog.js +48 -1
- package/icons/azure/backup-vault.js +71 -1
- package/icons/azure/bare-metal-infrastructure.js +63 -1
- package/icons/azure/bastions.js +71 -1
- package/icons/azure/batch-accounts.js +52 -1
- package/icons/azure/batch-ai.js +56 -1
- package/icons/azure/biz-talk.js +39 -1
- package/icons/azure/blob-block.js +17 -1
- package/icons/azure/blob-page.js +43 -1
- package/icons/azure/blockchain-applications.js +43 -1
- package/icons/azure/blueprints.js +56 -1
- package/icons/azure/bonsai.js +63 -1
- package/icons/azure/bot-services.js +43 -1
- package/icons/azure/branch.js +43 -1
- package/icons/azure/browser.js +16 -1
- package/icons/azure/bug.js +26 -1
- package/icons/azure/builds.js +48 -1
- package/icons/azure/business-process-tracking.js +28 -1
- package/icons/azure/cache-redis.js +72 -1
- package/icons/azure/cache.js +113 -1
- package/icons/azure/capacity-reservation-groups.js +47 -1
- package/icons/azure/capacity.js +74 -1
- package/icons/azure/cdn-profiles.js +32 -1
- package/icons/azure/central-service-instance-for-sap.js +55 -1
- package/icons/azure/ceres.js +58 -1
- package/icons/azure/change-analysis.js +93 -1
- package/icons/azure/client-apps.js +21 -1
- package/icons/azure/cloud-services-classic.js +48 -1
- package/icons/azure/cloud-services-extended-support.js +78 -1
- package/icons/azure/cloud-test.js +58 -1
- package/icons/azure/code-optimization.js +146 -1
- package/icons/azure/code.js +94 -1
- package/icons/azure/cognitive-search.js +26 -1
- package/icons/azure/cognitive-services-decisions.js +139 -1
- package/icons/azure/cognitive-services.js +42 -1
- package/icons/azure/collaborative-service.js +91 -1
- package/icons/azure/commit.js +30 -1
- package/icons/azure/community-images.js +68 -1
- package/icons/azure/compliance-center.js +70 -1
- package/icons/azure/compliance.js +35 -1
- package/icons/azure/compute-fleet.js +102 -1
- package/icons/azure/computer-vision.js +35 -1
- package/icons/azure/conditional-access.js +45 -1
- package/icons/azure/confidential-ledgers.js +96 -1
- package/icons/azure/connected-cache.js +99 -1
- package/icons/azure/connected-vehicle-platform.js +111 -1
- package/icons/azure/connections.js +54 -1
- package/icons/azure/consortium.js +63 -1
- package/icons/azure/container-apps-environments.js +66 -1
- package/icons/azure/container-instances.js +37 -1
- package/icons/azure/container-registries.js +68 -1
- package/icons/azure/container-services-deprecated.js +142 -1
- package/icons/azure/content-moderators.js +63 -1
- package/icons/azure/content-safety.js +88 -1
- package/icons/azure/controls-horizontal.js +135 -1
- package/icons/azure/controls.js +33 -1
- package/icons/azure/cost-alerts.js +28 -1
- package/icons/azure/cost-analysis.js +35 -1
- package/icons/azure/cost-budgets.js +30 -1
- package/icons/azure/cost-export.js +36 -1
- package/icons/azure/cost-management-and-billing.js +41 -1
- package/icons/azure/cost-management.js +46 -1
- package/icons/azure/counter.js +33 -1
- package/icons/azure/cubes.js +16 -1
- package/icons/azure/custom-ip-prefix.js +51 -1
- package/icons/azure/custom-vision.js +59 -1
- package/icons/azure/customer-lockbox-for-microsoft-azure.js +64 -1
- package/icons/azure/dashboard-hub.js +94 -1
- package/icons/azure/dashboard.js +42 -1
- package/icons/azure/data-box.js +33 -1
- package/icons/azure/data-collection-rules.js +64 -1
- package/icons/azure/data-factories.js +42 -1
- package/icons/azure/data-lake-analytics.js +43 -1
- package/icons/azure/data-lake-storage-gen1.js +49 -1
- package/icons/azure/data-lake-store-gen1.js +49 -1
- package/icons/azure/data-share-invitations.js +34 -1
- package/icons/azure/data-shares.js +67 -1
- package/icons/azure/database-instance-for-sap.js +80 -1
- package/icons/azure/ddo-s-protection-plans.js +47 -1
- package/icons/azure/dedicated-hsm.js +49 -1
- package/icons/azure/defender-cm-local-manager.js +175 -1
- package/icons/azure/defender-dcs-controller.js +99 -1
- package/icons/azure/defender-distributer-control-system.js +67 -1
- package/icons/azure/defender-engineering-station.js +115 -1
- package/icons/azure/defender-external-management.js +132 -1
- package/icons/azure/defender-freezer-monitor.js +217 -1
- package/icons/azure/defender-historian.js +53 -1
- package/icons/azure/defender-hmi.js +54 -1
- package/icons/azure/defender-industrial-packaging-system.js +97 -1
- package/icons/azure/defender-industrial-printer.js +51 -1
- package/icons/azure/defender-industrial-robot.js +165 -1
- package/icons/azure/defender-industrial-scale-system.js +80 -1
- package/icons/azure/defender-marquee.js +68 -1
- package/icons/azure/defender-meter.js +156 -1
- package/icons/azure/defender-plc.js +66 -1
- package/icons/azure/defender-pneumatic-device.js +72 -1
- package/icons/azure/defender-programable-board.js +126 -1
- package/icons/azure/defender-relay.js +67 -1
- package/icons/azure/defender-robot-controller.js +123 -1
- package/icons/azure/defender-rtu.js +23 -1
- package/icons/azure/defender-sensor.js +55 -1
- package/icons/azure/defender-slot.js +31 -1
- package/icons/azure/defender-web-guiding-system.js +266 -1
- package/icons/azure/detonation.js +41 -1
- package/icons/azure/dev-console.js +30 -1
- package/icons/azure/dev-ops-starter.js +102 -1
- package/icons/azure/dev-test-labs.js +46 -1
- package/icons/azure/device-compliance.js +62 -1
- package/icons/azure/device-configuration.js +66 -1
- package/icons/azure/device-enrollment.js +69 -1
- package/icons/azure/device-provisioning-services.js +54 -1
- package/icons/azure/device-security-apple.js +54 -1
- package/icons/azure/device-security-google.js +54 -1
- package/icons/azure/device-security-windows.js +54 -1
- package/icons/azure/device-update-io-t-hub.js +46 -1
- package/icons/azure/devices.js +29 -1
- package/icons/azure/diagnostics-settings.js +51 -1
- package/icons/azure/digital-twins.js +73 -1
- package/icons/azure/disk-encryption-sets.js +63 -1
- package/icons/azure/disk-pool.js +92 -1
- package/icons/azure/disks-classic.js +74 -1
- package/icons/azure/disks-snapshots.js +71 -1
- package/icons/azure/disks.js +63 -1
- package/icons/azure/dns-multistack.js +49 -1
- package/icons/azure/dns-private-resolver.js +50 -1
- package/icons/azure/dns-security-policy.js +90 -1
- package/icons/azure/dns-zones.js +37 -1
- package/icons/azure/download.js +60 -1
- package/icons/azure/e-books.js +42 -1
- package/icons/azure/edge-management.js +64 -1
- package/icons/azure/education.js +42 -1
- package/icons/azure/elastic-job-agents.js +61 -1
- package/icons/azure/elastic-san.js +65 -1
- package/icons/azure/endpoint-analytics.js +83 -1
- package/icons/azure/enterprise-applications.js +66 -1
- package/icons/azure/entra-connect-health.js +132 -1
- package/icons/azure/entra-connect-sync.js +86 -1
- package/icons/azure/entra-connect.js +123 -1
- package/icons/azure/entra-domain-services.js +105 -1
- package/icons/azure/entra-global-secure-access.js +76 -1
- package/icons/azure/entra-id-protection.js +74 -1
- package/icons/azure/entra-identity-custom-roles.js +62 -1
- package/icons/azure/entra-identity-licenses.js +85 -1
- package/icons/azure/entra-identity-risky-signins.js +28 -1
- package/icons/azure/entra-identity-risky-users.js +28 -1
- package/icons/azure/entra-identity-roles-and-administrators.js +53 -1
- package/icons/azure/entra-internet-access.js +105 -1
- package/icons/azure/entra-managed-identities.js +120 -1
- package/icons/azure/entra-private-access.js +104 -1
- package/icons/azure/entra-privleged-identity-management.js +120 -1
- package/icons/azure/entra-verified-id.js +75 -1
- package/icons/azure/error.js +30 -1
- package/icons/azure/event-grid-domains.js +75 -1
- package/icons/azure/event-grid-subscriptions.js +75 -1
- package/icons/azure/event-grid-topics.js +90 -1
- package/icons/azure/event-hub-clusters.js +77 -1
- package/icons/azure/event-hubs.js +64 -1
- package/icons/azure/exchange-access.js +45 -1
- package/icons/azure/exchange-on-premises-access.js +39 -1
- package/icons/azure/express-route-circuits.js +60 -1
- package/icons/azure/express-route-direct.js +61 -1
- package/icons/azure/express-route-traffic-collector.js +97 -1
- package/icons/azure/extended-security-updates.js +44 -1
- package/icons/azure/extensions.js +28 -1
- package/icons/azure/external-identities.js +42 -1
- package/icons/azure/face-apis.js +19 -1
- package/icons/azure/feature-previews.js +21 -1
- package/icons/azure/fhir-service.js +60 -1
- package/icons/azure/fiji.js +42 -1
- package/icons/azure/file.js +29 -1
- package/icons/azure/files.js +45 -1
- package/icons/azure/firewalls.js +32 -1
- package/icons/azure/folder-blank.js +39 -1
- package/icons/azure/folder-website.js +123 -1
- package/icons/azure/form-recognizers.js +48 -1
- package/icons/azure/free-services.js +43 -1
- package/icons/azure/front-door-and-cdn-profiles.js +37 -1
- package/icons/azure/ftp.js +17 -1
- package/icons/azure/function-apps.js +61 -1
- package/icons/azure/gear.js +37 -1
- package/icons/azure/genomics-accounts.js +68 -1
- package/icons/azure/genomics.js +57 -1
- package/icons/azure/globe-error.js +42 -1
- package/icons/azure/globe-success.js +52 -1
- package/icons/azure/globe-warning.js +53 -1
- package/icons/azure/groups.js +42 -1
- package/icons/azure/guide.js +17 -1
- package/icons/azure/hd-insight-clusters.js +71 -1
- package/icons/azure/hdi-aks-cluster.js +60 -1
- package/icons/azure/heart.js +31 -1
- package/icons/azure/help-and-support.js +55 -1
- package/icons/azure/host-groups.js +48 -1
- package/icons/azure/host-pools.js +19 -1
- package/icons/azure/hosts.js +46 -1
- package/icons/azure/ic-m-troubleshooting.js +60 -1
- package/icons/azure/identity-governance.js +52 -1
- package/icons/azure/identity-multi-factor-authentication.js +117 -1
- package/icons/azure/identity-secure-score.js +55 -1
- package/icons/azure/image-definitions.js +38 -1
- package/icons/azure/image-templates.js +43 -1
- package/icons/azure/image-versions.js +38 -1
- package/icons/azure/image.js +31 -1
- package/icons/azure/images.js +37 -1
- package/icons/azure/immersive-readers.js +82 -1
- package/icons/azure/import-export-jobs.js +25 -1
- package/icons/azure/industrial-io-t.js +97 -1
- package/icons/azure/information.js +21 -1
- package/icons/azure/infrastructure-backup.js +89 -1
- package/icons/azure/input-output.js +97 -1
- package/icons/azure/instance-pools.js +87 -1
- package/icons/azure/integration-accounts.js +52 -1
- package/icons/azure/integration-environments.js +94 -1
- package/icons/azure/integration-service-environments.js +90 -1
- package/icons/azure/internet-analyzer-profiles.js +59 -1
- package/icons/azure/intune-app-protection.js +79 -1
- package/icons/azure/intune-for-education.js +79 -1
- package/icons/azure/intune-trends.js +40 -1
- package/icons/azure/intune.js +46 -1
- package/icons/azure/io-t-central-applications.js +20 -1
- package/icons/azure/io-t-edge.js +25 -1
- package/icons/azure/io-t-hub.js +36 -1
- package/icons/azure/ip-address-manager.js +63 -1
- package/icons/azure/ip-groups.js +45 -1
- package/icons/azure/journey-hub.js +30 -1
- package/icons/azure/key-vaults.js +61 -1
- package/icons/azure/keys.js +97 -1
- package/icons/azure/kubernetes-fleet-manager.js +73 -1
- package/icons/azure/kubernetes-services.js +142 -1
- package/icons/azure/lab-accounts.js +69 -1
- package/icons/azure/lab-services.js +46 -1
- package/icons/azure/language-understanding.js +25 -1
- package/icons/azure/language.js +71 -1
- package/icons/azure/launch-portal.js +36 -1
- package/icons/azure/learn.js +61 -1
- package/icons/azure/load-balancer-hub.js +101 -1
- package/icons/azure/load-balancers.js +28 -1
- package/icons/azure/load-test.js +61 -1
- package/icons/azure/load-testing.js +71 -1
- package/icons/azure/local-network-gateways.js +44 -1
- package/icons/azure/location.js +34 -1
- package/icons/azure/log-analytics-query-pack.js +68 -1
- package/icons/azure/log-analytics-workspaces.js +58 -1
- package/icons/azure/log-streaming.js +57 -1
- package/icons/azure/logic-apps-custom-connector.js +76 -1
- package/icons/azure/logic-apps.js +65 -1
- package/icons/azure/machine-learning-studio-classic-web-services.js +49 -1
- package/icons/azure/machine-learning-studio-web-service-plans.js +84 -1
- package/icons/azure/machine-learning-studio-workspaces.js +55 -1
- package/icons/azure/machine-learning.js +29 -1
- package/icons/azure/machines-azure-arc.js +27 -1
- package/icons/azure/maintenance-configuration.js +62 -1
- package/icons/azure/managed-applications-center.js +55 -1
- package/icons/azure/managed-database.js +79 -1
- package/icons/azure/managed-desktop.js +40 -1
- package/icons/azure/managed-dev-ops-pools.js +59 -1
- package/icons/azure/managed-file-shares.js +59 -1
- package/icons/azure/managed-identities.js +66 -1
- package/icons/azure/managed-instance-apache-cassandra.js +100 -1
- package/icons/azure/managed-service-fabric.js +109 -1
- package/icons/azure/management-groups.js +77 -1
- package/icons/azure/management-portal.js +23 -1
- package/icons/azure/marketplace-management.js +47 -1
- package/icons/azure/marketplace.js +38 -1
- package/icons/azure/med-tech-service.js +87 -1
- package/icons/azure/media-file.js +36 -1
- package/icons/azure/media.js +108 -1
- package/icons/azure/mesh-applications.js +47 -1
- package/icons/azure/metrics-advisor.js +58 -1
- package/icons/azure/metrics.js +34 -1
- package/icons/azure/microsoft-defender-easm.js +69 -1
- package/icons/azure/microsoft-defender-for-cloud.js +61 -1
- package/icons/azure/microsoft-defender-for-io-t.js +54 -1
- package/icons/azure/microsoft-dev-box.js +143 -1
- package/icons/azure/mindaro.js +47 -1
- package/icons/azure/mission-landing-zone.js +48 -1
- package/icons/azure/mobile-engagement.js +46 -1
- package/icons/azure/mobile-networks.js +86 -1
- package/icons/azure/mobile.js +28 -1
- package/icons/azure/modular-data-center.js +83 -1
- package/icons/azure/module.js +25 -1
- package/icons/azure/monitor-health-models.js +110 -1
- package/icons/azure/monitor.js +61 -1
- package/icons/azure/multi-tenancy.js +80 -1
- package/icons/azure/multifactor-authentication.js +84 -1
- package/icons/azure/my-customers.js +42 -1
- package/icons/azure/nat.js +56 -1
- package/icons/azure/network-interfaces.js +52 -1
- package/icons/azure/network-managers.js +55 -1
- package/icons/azure/network-security-groups.js +53 -1
- package/icons/azure/network-security-perimeters.js +113 -1
- package/icons/azure/network-watcher.js +55 -1
- package/icons/azure/notification-hub-namespaces.js +33 -1
- package/icons/azure/notification-hubs.js +22 -1
- package/icons/azure/offers.js +35 -1
- package/icons/azure/on-premises-data-gateways.js +44 -1
- package/icons/azure/open-supply-chain-platform.js +111 -1
- package/icons/azure/operation-log-classic.js +44 -1
- package/icons/azure/oracle-database.js +55 -1
- package/icons/azure/os-images-classic.js +60 -1
- package/icons/azure/osconfig.js +82 -1
- package/icons/azure/outbound-connection.js +24 -1
- package/icons/azure/partner-namespace.js +97 -1
- package/icons/azure/partner-registration.js +117 -1
- package/icons/azure/partner-topic.js +93 -1
- package/icons/azure/peering-service.js +27 -1
- package/icons/azure/peerings.js +44 -1
- package/icons/azure/personalizers.js +99 -1
- package/icons/azure/plans.js +40 -1
- package/icons/azure/policy.js +34 -1
- package/icons/azure/power-bi-embedded.js +69 -1
- package/icons/azure/power-platform.js +163 -1
- package/icons/azure/power-up.js +42 -1
- package/icons/azure/power.js +31 -1
- package/icons/azure/powershell.js +30 -1
- package/icons/azure/preview-features.js +72 -1
- package/icons/azure/private-endpoints.js +80 -1
- package/icons/azure/private-link-service.js +83 -1
- package/icons/azure/private-link-services.js +72 -1
- package/icons/azure/private-link.js +94 -1
- package/icons/azure/process-explorer.js +23 -1
- package/icons/azure/production-ready-database.js +70 -1
- package/icons/azure/proximity-placement-groups.js +71 -1
- package/icons/azure/public-ip-addresses-classic.js +36 -1
- package/icons/azure/public-ip-addresses.js +19 -1
- package/icons/azure/public-ip-prefixes.js +85 -1
- package/icons/azure/qn-a-makers.js +61 -1
- package/icons/azure/quickstart-center.js +76 -1
- package/icons/azure/recent.js +57 -1
- package/icons/azure/recovery-services-vaults.js +67 -1
- package/icons/azure/region-management.js +42 -1
- package/icons/azure/relays.js +45 -1
- package/icons/azure/remote-rendering.js +71 -1
- package/icons/azure/reservations.js +37 -1
- package/icons/azure/reserved-capacity.js +45 -1
- package/icons/azure/reserved-ip-addresses-classic.js +38 -1
- package/icons/azure/resource-explorer.js +33 -1
- package/icons/azure/resource-graph-explorer.js +58 -1
- package/icons/azure/resource-group-list.js +48 -1
- package/icons/azure/resource-groups.js +40 -1
- package/icons/azure/resource-guard.js +46 -1
- package/icons/azure/resource-linked.js +51 -1
- package/icons/azure/resource-management-private-link.js +61 -1
- package/icons/azure/resource-mover.js +20 -1
- package/icons/azure/resources-provider.js +27 -1
- package/icons/azure/restore-points-collections.js +73 -1
- package/icons/azure/restore-points.js +72 -1
- package/icons/azure/route-filters.js +39 -1
- package/icons/azure/route-tables.js +62 -1
- package/icons/azure/rtos.js +64 -1
- package/icons/azure/savings-plans.js +75 -1
- package/icons/azure/scheduler-job-collections.js +73 -1
- package/icons/azure/scheduler.js +75 -1
- package/icons/azure/scvmm-management-servers.js +79 -1
- package/icons/azure/search-grid.js +48 -1
- package/icons/azure/search.js +28 -1
- package/icons/azure/security-baselines.js +55 -1
- package/icons/azure/security.js +22 -1
- package/icons/azure/send-grid-accounts.js +42 -1
- package/icons/azure/server-farm.js +65 -1
- package/icons/azure/serverless-search.js +65 -1
- package/icons/azure/service-catalog-mad.js +65 -1
- package/icons/azure/service-endpoint-policies.js +75 -1
- package/icons/azure/service-fabric-clusters.js +97 -1
- package/icons/azure/service-health.js +45 -1
- package/icons/azure/service-providers.js +71 -1
- package/icons/azure/shared-image-galleries.js +32 -1
- package/icons/azure/signal-r.js +22 -1
- package/icons/azure/software-as-a-service.js +65 -1
- package/icons/azure/software-updates.js +22 -1
- package/icons/azure/solutions.js +58 -1
- package/icons/azure/sonic-dash.js +95 -1
- package/icons/azure/spatial-anchor-accounts.js +88 -1
- package/icons/azure/speech-services.js +43 -1
- package/icons/azure/spot-vm.js +40 -1
- package/icons/azure/spot-vmss.js +77 -1
- package/icons/azure/sql-data-warehouses.js +82 -1
- package/icons/azure/sql-database.js +63 -1
- package/icons/azure/sql-elastic-pools.js +89 -1
- package/icons/azure/sql-managed-instance.js +73 -1
- package/icons/azure/sql-server-registries.js +75 -1
- package/icons/azure/sql-server.js +46 -1
- package/icons/azure/ssd.js +36 -1
- package/icons/azure/ssh-keys.js +42 -1
- package/icons/azure/ssis-lift-and-shift-ir.js +72 -1
- package/icons/azure/stack-hci-premium.js +144 -1
- package/icons/azure/static-apps.js +29 -1
- package/icons/azure/stor-simple-data-managers.js +57 -1
- package/icons/azure/stor-simple-device-managers.js +38 -1
- package/icons/azure/storage-accounts-classic.js +53 -1
- package/icons/azure/storage-accounts.js +35 -1
- package/icons/azure/storage-actions.js +88 -1
- package/icons/azure/storage-azure-files.js +47 -1
- package/icons/azure/storage-container.js +35 -1
- package/icons/azure/storage-explorer.js +38 -1
- package/icons/azure/storage-functions.js +57 -1
- package/icons/azure/storage-queue.js +24 -1
- package/icons/azure/storage-sync-services.js +74 -1
- package/icons/azure/stream-analytics-jobs.js +53 -1
- package/icons/azure/subnet.js +43 -1
- package/icons/azure/subscriptions.js +41 -1
- package/icons/azure/system-topic.js +182 -1
- package/icons/azure/table.js +23 -1
- package/icons/azure/tag.js +28 -1
- package/icons/azure/tags.js +46 -1
- package/icons/azure/targets-management.js +54 -1
- package/icons/azure/template-specs.js +67 -1
- package/icons/azure/templates.js +33 -1
- package/icons/azure/tenant-properties.js +90 -1
- package/icons/azure/tenant-status.js +40 -1
- package/icons/azure/test-base.js +56 -1
- package/icons/azure/tfs-vc-repository.js +97 -1
- package/icons/azure/time-series-data-sets.js +63 -1
- package/icons/azure/time-series-insights-access-policies.js +42 -1
- package/icons/azure/time-series-insights-environments.js +39 -1
- package/icons/azure/time-series-insights-event-sources.js +57 -1
- package/icons/azure/toolbox.js +26 -1
- package/icons/azure/traffic-manager-profiles.js +47 -1
- package/icons/azure/translator-text.js +75 -1
- package/icons/azure/troubleshoot.js +38 -1
- package/icons/azure/universal-print.js +74 -1
- package/icons/azure/update-management-center.js +135 -1
- package/icons/azure/updates.js +47 -1
- package/icons/azure/user-privacy.js +55 -1
- package/icons/azure/user-settings.js +68 -1
- package/icons/azure/user-subscriptions.js +104 -1
- package/icons/azure/users.js +26 -1
- package/icons/azure/verifiable-credentials.js +99 -1
- package/icons/azure/verification-as-a-service.js +84 -1
- package/icons/azure/versions.js +24 -1
- package/icons/azure/video-analyzers.js +42 -1
- package/icons/azure/virtual-clusters.js +99 -1
- package/icons/azure/virtual-enclaves.js +40 -1
- package/icons/azure/virtual-instance-for-sap.js +81 -1
- package/icons/azure/virtual-machine.js +52 -1
- package/icons/azure/virtual-machines-classic.js +53 -1
- package/icons/azure/virtual-network-gateways.js +56 -1
- package/icons/azure/virtual-networks-classic.js +86 -1
- package/icons/azure/virtual-networks.js +86 -1
- package/icons/azure/virtual-router.js +29 -1
- package/icons/azure/virtual-visits-builder.js +81 -1
- package/icons/azure/virtual-wan-hub.js +72 -1
- package/icons/azure/virtual-wans.js +60 -1
- package/icons/azure/vm-app-definitions.js +66 -1
- package/icons/azure/vm-app-versions.js +91 -1
- package/icons/azure/vm-image-version.js +103 -1
- package/icons/azure/vm-images-classic.js +60 -1
- package/icons/azure/vm-scale-sets.js +60 -1
- package/icons/azure/wac-installer.js +121 -1
- package/icons/azure/wac.js +56 -1
- package/icons/azure/web-app-database.js +177 -1
- package/icons/azure/web-application-firewall-policies-waf.js +97 -1
- package/icons/azure/web-jobs.js +119 -1
- package/icons/azure/web-slots.js +30 -1
- package/icons/azure/web-test.js +122 -1
- package/icons/azure/website-power.js +90 -1
- package/icons/azure/website-staging.js +24 -1
- package/icons/azure/windows-notification-services.js +78 -1
- package/icons/azure/windows10-core-services.js +61 -1
- package/icons/azure/workbooks.js +38 -1
- package/icons/azure/worker-container-app.js +91 -1
- package/icons/azure/workflow.js +47 -1
- package/icons/azure/workspace-gateway.js +86 -1
- package/icons/azure/workspaces.js +58 -1
- package/icons/gcp/access-context-manager.js +17 -1
- package/icons/gcp/administration.js +46 -1
- package/icons/gcp/advanced-agent-modeling.js +31 -1
- package/icons/gcp/advanced-solutions-lab.js +84 -1
- package/icons/gcp/agent-assist.js +12 -1
- package/icons/gcp/ai-hub.js +23 -1
- package/icons/gcp/ai-platform-unified.js +40 -1
- package/icons/gcp/ai-platform.js +23 -1
- package/icons/gcp/analytics-hub.js +28 -1
- package/icons/gcp/anthos-config-management.js +28 -1
- package/icons/gcp/anthos-service-mesh.js +13 -1
- package/icons/gcp/anthos.js +11 -1
- package/icons/gcp/api-analytics.js +26 -1
- package/icons/gcp/api-monetization.js +23 -1
- package/icons/gcp/api.js +29 -1
- package/icons/gcp/apigee-api-platform.js +35 -1
- package/icons/gcp/apigee-sense.js +28 -1
- package/icons/gcp/app-engine.js +39 -1
- package/icons/gcp/artifact-registry.js +33 -1
- package/icons/gcp/asset-inventory.js +19 -1
- package/icons/gcp/assured-workloads.js +38 -1
- package/icons/gcp/auto-ml-natural-language.js +9 -1
- package/icons/gcp/auto-ml-tables.js +19 -1
- package/icons/gcp/auto-ml-translation.js +25 -1
- package/icons/gcp/auto-ml-video-intelligence.js +25 -1
- package/icons/gcp/auto-ml-vision.js +18 -1
- package/icons/gcp/auto-ml.js +14 -1
- package/icons/gcp/bare-metal-solutions.js +10 -1
- package/icons/gcp/batch.js +12 -1
- package/icons/gcp/beyondcorp.js +13 -1
- package/icons/gcp/big-query.js +28 -1
- package/icons/gcp/bigtable.js +116 -1
- package/icons/gcp/billing.js +34 -1
- package/icons/gcp/binary-authorization.js +22 -1
- package/icons/gcp/catalog.js +29 -1
- package/icons/gcp/certificate-authority-service.js +33 -1
- package/icons/gcp/certificate-manager.js +24 -1
- package/icons/gcp/cloud-api-gateway.js +13 -1
- package/icons/gcp/cloud-apis.js +18 -1
- package/icons/gcp/cloud-armor.js +27 -1
- package/icons/gcp/cloud-asset-inventory.js +10 -1
- package/icons/gcp/cloud-audit-logs.js +60 -1
- package/icons/gcp/cloud-build.js +19 -1
- package/icons/gcp/cloud-cdn.js +22 -1
- package/icons/gcp/cloud-code.js +16 -1
- package/icons/gcp/cloud-composer.js +19 -1
- package/icons/gcp/cloud-data-fusion.js +15 -1
- package/icons/gcp/cloud-deploy.js +10 -1
- package/icons/gcp/cloud-deployment-manager.js +24 -1
- package/icons/gcp/cloud-dns.js +21 -1
- package/icons/gcp/cloud-domains.js +26 -1
- package/icons/gcp/cloud-ekm.js +13 -1
- package/icons/gcp/cloud-endpoints.js +26 -1
- package/icons/gcp/cloud-external-ip-addresses.js +21 -1
- package/icons/gcp/cloud-firewall-rules.js +15 -1
- package/icons/gcp/cloud-for-marketing.js +13 -1
- package/icons/gcp/cloud-functions.js +45 -1
- package/icons/gcp/cloud-generic.js +13 -1
- package/icons/gcp/cloud-gpu.js +18 -1
- package/icons/gcp/cloud-healthcare-api.js +65 -1
- package/icons/gcp/cloud-healthcare-marketplace.js +10 -1
- package/icons/gcp/cloud-hsm.js +43 -1
- package/icons/gcp/cloud-ids.js +42 -1
- package/icons/gcp/cloud-inference-api.js +27 -1
- package/icons/gcp/cloud-interconnect.js +15 -1
- package/icons/gcp/cloud-jobs-api.js +37 -1
- package/icons/gcp/cloud-load-balancing.js +20 -1
- package/icons/gcp/cloud-logging.js +35 -1
- package/icons/gcp/cloud-media-edge.js +23 -1
- package/icons/gcp/cloud-monitoring.js +26 -1
- package/icons/gcp/cloud-nat.js +31 -1
- package/icons/gcp/cloud-natural-language-api.js +40 -1
- package/icons/gcp/cloud-network.js +23 -1
- package/icons/gcp/cloud-ops.js +32 -1
- package/icons/gcp/cloud-optimization-ai-fleet-routing-api.js +34 -1
- package/icons/gcp/cloud-optimization-ai.js +28 -1
- package/icons/gcp/cloud-router.js +13 -1
- package/icons/gcp/cloud-routes.js +18 -1
- package/icons/gcp/cloud-run-for-anthos.js +21 -1
- package/icons/gcp/cloud-run.js +13 -1
- package/icons/gcp/cloud-scheduler.js +49 -1
- package/icons/gcp/cloud-security-scanner.js +21 -1
- package/icons/gcp/cloud-shell.js +16 -1
- package/icons/gcp/cloud-spanner.js +42 -1
- package/icons/gcp/cloud-sql.js +16 -1
- package/icons/gcp/cloud-storage.js +22 -1
- package/icons/gcp/cloud-tasks.js +101 -1
- package/icons/gcp/cloud-test-lab.js +39 -1
- package/icons/gcp/cloud-tpu.js +141 -1
- package/icons/gcp/cloud-translation-api.js +16 -1
- package/icons/gcp/cloud-vision-api.js +40 -1
- package/icons/gcp/cloud-vpn.js +23 -1
- package/icons/gcp/compute-engine.js +23 -1
- package/icons/gcp/configuration-management.js +22 -1
- package/icons/gcp/connectivity-test.js +6 -1
- package/icons/gcp/connectors.js +13 -1
- package/icons/gcp/contact-center-ai.js +6 -1
- package/icons/gcp/container-optimized-os.js +13 -1
- package/icons/gcp/container-registry.js +118 -1
- package/icons/gcp/data-catalog.js +25 -1
- package/icons/gcp/data-labeling.js +31 -1
- package/icons/gcp/data-layers.js +11 -1
- package/icons/gcp/data-loss-prevention-api.js +60 -1
- package/icons/gcp/data-qn-a.js +24 -1
- package/icons/gcp/data-studio.js +28 -1
- package/icons/gcp/data-transfer.js +17 -1
- package/icons/gcp/database-migration-service.js +24 -1
- package/icons/gcp/dataflow.js +50 -1
- package/icons/gcp/datalab.js +13 -1
- package/icons/gcp/dataplex.js +15 -1
- package/icons/gcp/datapol.js +70 -1
- package/icons/gcp/dataprep.js +25 -1
- package/icons/gcp/dataproc-metastore.js +12 -1
- package/icons/gcp/dataproc.js +43 -1
- package/icons/gcp/datashare.js +37 -1
- package/icons/gcp/datastore.js +39 -1
- package/icons/gcp/datastream.js +35 -1
- package/icons/gcp/debugger.js +31 -1
- package/icons/gcp/developer-portal.js +24 -1
- package/icons/gcp/dialogflow-cx.js +28 -1
- package/icons/gcp/dialogflow-insights.js +33 -1
- package/icons/gcp/dialogflow.js +16 -1
- package/icons/gcp/document-ai.js +27 -1
- package/icons/gcp/early-access-center.js +12 -1
- package/icons/gcp/error-reporting.js +42 -1
- package/icons/gcp/eventarc.js +24 -1
- package/icons/gcp/filestore.js +22 -1
- package/icons/gcp/financial-services-marketplace.js +21 -1
- package/icons/gcp/firestore.js +30 -1
- package/icons/gcp/fleet-engine.js +10 -1
- package/icons/gcp/free-trial.js +36 -1
- package/icons/gcp/game-servers.js +32 -1
- package/icons/gcp/gce-systems-management.js +13 -1
- package/icons/gcp/genomics.js +23 -1
- package/icons/gcp/gke-on-prem.js +31 -1
- package/icons/gcp/google-cloud-marketplace.js +29 -1
- package/icons/gcp/google-kubernetes-engine.js +23 -1
- package/icons/gcp/google-maps-platform.js +47 -1
- package/icons/gcp/healthcare-nlp-api.js +13 -1
- package/icons/gcp/home.js +25 -1
- package/icons/gcp/identity-and-access-management.js +23 -1
- package/icons/gcp/identity-aware-proxy.js +32 -1
- package/icons/gcp/identity-platform.js +26 -1
- package/icons/gcp/iot-core.js +23 -1
- package/icons/gcp/iot-edge.js +86 -1
- package/icons/gcp/key-access-justifications.js +46 -1
- package/icons/gcp/key-management-service.js +23 -1
- package/icons/gcp/kuberun.js +26 -1
- package/icons/gcp/launcher.js +35 -1
- package/icons/gcp/local-ssd.js +13 -1
- package/icons/gcp/looker.js +46 -1
- package/icons/gcp/managed-service-for-microsoft-active-directory.js +59 -1
- package/icons/gcp/media-translation-api.js +28 -1
- package/icons/gcp/memorystore.js +26 -1
- package/icons/gcp/migrate-for-anthos.js +13 -1
- package/icons/gcp/migrate-for-compute-engine.js +13 -1
- package/icons/gcp/my-cloud.js +21 -1
- package/icons/gcp/network-connectivity-center.js +84 -1
- package/icons/gcp/network-intelligence-center.js +13 -1
- package/icons/gcp/network-security.js +38 -1
- package/icons/gcp/network-tiers.js +53 -1
- package/icons/gcp/network-topology.js +13 -1
- package/icons/gcp/onboarding.js +25 -1
- package/icons/gcp/os-configuration-management.js +13 -1
- package/icons/gcp/os-inventory-management.js +15 -1
- package/icons/gcp/os-patch-management.js +13 -1
- package/icons/gcp/partner-interconnect.js +21 -1
- package/icons/gcp/partner-portal.js +35 -1
- package/icons/gcp/performance-dashboard.js +13 -1
- package/icons/gcp/permissions.js +35 -1
- package/icons/gcp/persistent-disk.js +10 -1
- package/icons/gcp/phishing-protection.js +48 -1
- package/icons/gcp/policy-analyzer.js +13 -1
- package/icons/gcp/premium-network-tier.js +19 -1
- package/icons/gcp/private-connectivity.js +18 -1
- package/icons/gcp/private-service-connect.js +27 -1
- package/icons/gcp/producer-portal.js +21 -1
- package/icons/gcp/profiler.js +29 -1
- package/icons/gcp/project.js +28 -1
- package/icons/gcp/pub-sub.js +41 -1
- package/icons/gcp/quantum-engine.js +27 -1
- package/icons/gcp/quotas.js +42 -1
- package/icons/gcp/real-world-insights.js +19 -1
- package/icons/gcp/recommendations-ai.js +56 -1
- package/icons/gcp/release-notes.js +12 -1
- package/icons/gcp/retail-api.js +22 -1
- package/icons/gcp/risk-manager.js +12 -1
- package/icons/gcp/runtime-config.js +35 -1
- package/icons/gcp/secret-manager.js +13 -1
- package/icons/gcp/security-command-center.js +18 -1
- package/icons/gcp/security-health-advisor.js +61 -1
- package/icons/gcp/security-key-enforcement.js +21 -1
- package/icons/gcp/security.js +27 -1
- package/icons/gcp/service-discovery.js +36 -1
- package/icons/gcp/speech-to-text.js +93 -1
- package/icons/gcp/stackdriver.js +10 -1
- package/icons/gcp/standard-network-tier.js +13 -1
- package/icons/gcp/stream-suite.js +16 -1
- package/icons/gcp/support.js +29 -1
- package/icons/gcp/tensorflow-enterprise.js +13 -1
- package/icons/gcp/text-to-speech.js +24 -1
- package/icons/gcp/tools-for-powershell.js +29 -1
- package/icons/gcp/trace.js +17 -1
- package/icons/gcp/traffic-director.js +44 -1
- package/icons/gcp/transfer-appliance.js +32 -1
- package/icons/gcp/transfer.js +13 -1
- package/icons/gcp/user-preferences.js +35 -1
- package/icons/gcp/vertex-ai.js +48 -1
- package/icons/gcp/video-intelligence-api.js +15 -1
- package/icons/gcp/virtual-private-cloud.js +25 -1
- package/icons/gcp/visual-inspection.js +24 -1
- package/icons/gcp/vmware-engine.js +13 -1
- package/icons/gcp/web-risk.js +55 -1
- package/icons/gcp/web-security-scanner.js +27 -1
- package/icons/gcp/workflows.js +82 -1
- package/icons/gcp/workload-identity-pool.js +24 -1
- package/icons/tech/aarch64.js +48 -1
- package/icons/tech/adobe-illustrator.js +14 -1
- package/icons/tech/adobe-photoshop.js +14 -1
- package/icons/tech/adobe-premiere-pro.js +16 -1
- package/icons/tech/adobe-xd.js +12 -1
- package/icons/tech/adonis-js.js +14 -1
- package/icons/tech/after-effects.js +16 -1
- package/icons/tech/airflow.js +64 -1
- package/icons/tech/akka.js +21 -1
- package/icons/tech/algolia.js +12 -1
- package/icons/tech/alpine-js.js +17 -1
- package/icons/tech/amazon-web-services.js +21 -1
- package/icons/tech/anaconda.js +12 -1
- package/icons/tech/android-studio.js +44 -1
- package/icons/tech/android.js +35 -1
- package/icons/tech/angular-js.js +24 -1
- package/icons/tech/angular.js +37 -1
- package/icons/tech/ansible.js +15 -1
- package/icons/tech/ant-design.js +112 -1
- package/icons/tech/apache.js +222 -1
- package/icons/tech/apl.js +21 -1
- package/icons/tech/appcelerator.js +12 -1
- package/icons/tech/apple-safari.js +39 -1
- package/icons/tech/apple.js +6 -1
- package/icons/tech/appwrite.js +21 -1
- package/icons/tech/arch-linux.js +29 -1
- package/icons/tech/arduino.js +9 -1
- package/icons/tech/argo-cd.js +134 -1
- package/icons/tech/astro.js +62 -1
- package/icons/tech/atom.js +14 -1
- package/icons/tech/autodesk-maya.js +144 -1
- package/icons/tech/autodesk-shot-grid.js +15 -1
- package/icons/tech/awk.js +34 -1
- package/icons/tech/azios.js +12 -1
- package/icons/tech/azure-devops.js +33 -1
- package/icons/tech/azure-sql-database.js +95 -1
- package/icons/tech/azure.js +55 -1
- package/icons/tech/babel.js +15 -1
- package/icons/tech/backbone-js.js +16 -1
- package/icons/tech/ballerina.js +12 -1
- package/icons/tech/bamboo.js +62 -1
- package/icons/tech/bash.js +22 -1
- package/icons/tech/behance.js +19 -1
- package/icons/tech/bitbucket.js +37 -1
- package/icons/tech/blender.js +21 -1
- package/icons/tech/bootstrap.js +78 -1
- package/icons/tech/bower.js +123 -1
- package/icons/tech/browserstack.js +77 -1
- package/icons/tech/bulma.js +6 -1
- package/icons/tech/bun.js +68 -1
- package/icons/tech/c.js +28 -1
- package/icons/tech/cairo-graphics.js +21 -1
- package/icons/tech/cake-php.js +12 -1
- package/icons/tech/canva.js +9 -1
- package/icons/tech/capacitor.js +25 -1
- package/icons/tech/cassandra.js +101 -1
- package/icons/tech/cent-os.js +22 -1
- package/icons/tech/chrome.js +156 -1
- package/icons/tech/circle-ci.js +12 -1
- package/icons/tech/clarity.js +35 -1
- package/icons/tech/clion.js +98 -1
- package/icons/tech/clojure-script.js +39 -1
- package/icons/tech/clojure.js +42 -1
- package/icons/tech/cloudflare-workers.js +196 -1
- package/icons/tech/cloudflare.js +22 -1
- package/icons/tech/cmake.js +11 -1
- package/icons/tech/code-igniter.js +12 -1
- package/icons/tech/code-pen.js +12 -1
- package/icons/tech/codeac.js +12 -1
- package/icons/tech/codecov.js +12 -1
- package/icons/tech/coffee-script.js +12 -1
- package/icons/tech/composer.js +59 -1
- package/icons/tech/confluence.js +57 -1
- package/icons/tech/consul.js +12 -1
- package/icons/tech/contao.js +15 -1
- package/icons/tech/corejs.js +6 -1
- package/icons/tech/cosmosdb.js +52 -1
- package/icons/tech/couchdb.js +12 -1
- package/icons/tech/cplusplus.js +35 -1
- package/icons/tech/crystal.js +12 -1
- package/icons/tech/csharp.js +28 -1
- package/icons/tech/css3.js +25 -1
- package/icons/tech/cucumber.js +12 -1
- package/icons/tech/cypress.js +34 -1
- package/icons/tech/d3js.js +145 -1
- package/icons/tech/dart.js +24 -1
- package/icons/tech/data-grip.js +109 -1
- package/icons/tech/data-spell.js +102 -1
- package/icons/tech/dbeaver.js +56 -1
- package/icons/tech/debian.js +12 -1
- package/icons/tech/deno.js +6 -1
- package/icons/tech/devicon.js +25 -1
- package/icons/tech/digital-ocean.js +9 -1
- package/icons/tech/discord-js.js +56 -1
- package/icons/tech/django-rest.js +35 -1
- package/icons/tech/django.js +9 -1
- package/icons/tech/docker.js +133 -1
- package/icons/tech/doctrine.js +21 -1
- package/icons/tech/dropwizard.js +70 -1
- package/icons/tech/drupal.js +56 -1
- package/icons/tech/eclipse-ceylon.js +44 -1
- package/icons/tech/eclipse-ide.js +99 -1
- package/icons/tech/eclipse-vert-x.js +29 -1
- package/icons/tech/elasticbeats.js +22 -1
- package/icons/tech/elasticsearch.js +28 -1
- package/icons/tech/electron.js +11 -1
- package/icons/tech/eleventy-11ty.js +15 -1
- package/icons/tech/elixir.js +211 -1
- package/icons/tech/elm.js +19 -1
- package/icons/tech/embedded-c.js +42 -1
- package/icons/tech/ember-js.js +16 -1
- package/icons/tech/envoy.js +28 -1
- package/icons/tech/erlang.js +12 -1
- package/icons/tech/eslint.js +21 -1
- package/icons/tech/express.js +6 -1
- package/icons/tech/facebook.js +15 -1
- package/icons/tech/fast-api.js +12 -1
- package/icons/tech/fastify.js +15 -1
- package/icons/tech/fauna.js +12 -1
- package/icons/tech/feathers.js +6 -1
- package/icons/tech/fedora.js +53 -1
- package/icons/tech/figma.js +24 -1
- package/icons/tech/file-zilla.js +29 -1
- package/icons/tech/firebase.js +12 -1
- package/icons/tech/firefox.js +1405 -1
- package/icons/tech/flask.js +12 -1
- package/icons/tech/flutter.js +16 -1
- package/icons/tech/fortran.js +15 -1
- package/icons/tech/foundation.js +240 -1
- package/icons/tech/fsharp.js +10 -1
- package/icons/tech/gatling.js +12 -1
- package/icons/tech/gatsby.js +12 -1
- package/icons/tech/gazebo.js +23 -1
- package/icons/tech/gcc.js +44 -1
- package/icons/tech/gentoo.js +14 -1
- package/icons/tech/ghost.js +27 -1
- package/icons/tech/gimp.js +382 -1
- package/icons/tech/git.js +12 -1
- package/icons/tech/gitbook.js +13 -1
- package/icons/tech/github-actions.js +21 -1
- package/icons/tech/github-codespaces.js +85 -1
- package/icons/tech/github.js +16 -1
- package/icons/tech/gitlab.js +35 -1
- package/icons/tech/gitpod.js +32 -1
- package/icons/tech/gitter.js +6 -1
- package/icons/tech/gnu-emacs.js +15 -1
- package/icons/tech/go-land.js +88 -1
- package/icons/tech/go.js +294 -1
- package/icons/tech/godot-engine.js +56 -1
- package/icons/tech/google-cloud.js +29 -1
- package/icons/tech/google.js +42 -1
- package/icons/tech/gradle.js +12 -1
- package/icons/tech/grafana.js +30 -1
- package/icons/tech/grails.js +21 -1
- package/icons/tech/graphql.js +15 -1
- package/icons/tech/groovy.js +715 -1
- package/icons/tech/grunt-js.js +260 -1
- package/icons/tech/gulp-js.js +14 -1
- package/icons/tech/hadoop.js +36 -1
- package/icons/tech/handlebars.js +9 -1
- package/icons/tech/hardhat.js +98 -1
- package/icons/tech/harvester.js +10 -1
- package/icons/tech/hashicorp-vault.js +12 -1
- package/icons/tech/haskell.js +10 -1
- package/icons/tech/haxe.js +17 -1
- package/icons/tech/helm.js +12 -1
- package/icons/tech/heroku.js +12 -1
- package/icons/tech/hibernate.js +15 -1
- package/icons/tech/homebrew.js +36 -1
- package/icons/tech/html5.js +23 -1
- package/icons/tech/hugo.js +22 -1
- package/icons/tech/ibm-spss-statistics.js +21 -1
- package/icons/tech/ie10.js +12 -1
- package/icons/tech/ifttt.js +6 -1
- package/icons/tech/influxdb.js +14 -1
- package/icons/tech/inkscape.js +573 -1
- package/icons/tech/insomnia.js +44 -1
- package/icons/tech/intellij-idea.js +92 -1
- package/icons/tech/ionic.js +9 -1
- package/icons/tech/jaeger.js +102 -1
- package/icons/tech/jamstack.js +12 -1
- package/icons/tech/jasmine.js +10 -1
- package/icons/tech/java.js +42 -1
- package/icons/tech/javascript.js +15 -1
- package/icons/tech/jeet.js +163 -1
- package/icons/tech/jekyll.js +232 -1
- package/icons/tech/jenkins.js +126 -1
- package/icons/tech/jest.js +12 -1
- package/icons/tech/jetbrains.js +118 -1
- package/icons/tech/jira-align.js +57 -1
- package/icons/tech/jira.js +62 -1
- package/icons/tech/jquery.js +12 -1
- package/icons/tech/json.js +57 -1
- package/icons/tech/jule.js +12 -1
- package/icons/tech/julia.js +49 -1
- package/icons/tech/junit.js +30 -1
- package/icons/tech/jupyter.js +35 -1
- package/icons/tech/k3os.js +6 -1
- package/icons/tech/k3s.js +12 -1
- package/icons/tech/kafka.js +12 -1
- package/icons/tech/kaggle.js +12 -1
- package/icons/tech/karate.js +15 -1
- package/icons/tech/karma.js +21 -1
- package/icons/tech/keras.js +15 -1
- package/icons/tech/kibana.js +10 -1
- package/icons/tech/knex-js.js +12 -1
- package/icons/tech/knockout.js +13 -1
- package/icons/tech/kotlin.js +25 -1
- package/icons/tech/krakenjs.js +14 -1
- package/icons/tech/ktor.js +48 -1
- package/icons/tech/kubernetes.js +10 -1
- package/icons/tech/labview.js +69 -1
- package/icons/tech/laravel.js +15 -1
- package/icons/tech/latex.js +12 -1
- package/icons/tech/less-js.js +14 -1
- package/icons/tech/linkedin.js +21 -1
- package/icons/tech/linux.js +5267 -1
- package/icons/tech/liquibase.js +12 -1
- package/icons/tech/livewire.js +79 -1
- package/icons/tech/llvm.js +36 -1
- package/icons/tech/logstash.js +10 -1
- package/icons/tech/lua.js +28 -1
- package/icons/tech/lumen.js +12 -1
- package/icons/tech/magento.js +12 -1
- package/icons/tech/markdown.js +44 -1
- package/icons/tech/material-ui.js +11 -1
- package/icons/tech/materialize.js +21 -1
- package/icons/tech/matlab.js +73 -1
- package/icons/tech/matplotlib.js +182 -1
- package/icons/tech/maven.js +620 -1
- package/icons/tech/meteor-js.js +12 -1
- package/icons/tech/microsoft-sql-server.js +6 -1
- package/icons/tech/minitab.js +45 -1
- package/icons/tech/mob-x.js +57 -1
- package/icons/tech/mocha.js +21 -1
- package/icons/tech/modx.js +18 -1
- package/icons/tech/moleculer.js +12 -1
- package/icons/tech/mongodb.js +135 -1
- package/icons/tech/mongoose-js.js +29 -1
- package/icons/tech/moodle.js +145 -1
- package/icons/tech/ms-dos.js +78 -1
- package/icons/tech/mysql.js +12 -1
- package/icons/tech/nano.js +12 -1
- package/icons/tech/nerog.js +136 -1
- package/icons/tech/nestjs.js +12 -1
- package/icons/tech/net-core.js +9 -1
- package/icons/tech/net.js +551 -1
- package/icons/tech/network-x.js +58 -1
- package/icons/tech/new4j.js +21 -1
- package/icons/tech/nextjs.js +6 -1
- package/icons/tech/nginx.js +12 -1
- package/icons/tech/nhibernate.js +21 -1
- package/icons/tech/nim.js +29 -1
- package/icons/tech/nimble.js +84 -1
- package/icons/tech/nix.js +25 -1
- package/icons/tech/nodejs.js +12 -1
- package/icons/tech/nodemon.js +21 -1
- package/icons/tech/nodewebkit.js +42 -1
- package/icons/tech/npm.js +12 -1
- package/icons/tech/nuget.js +12 -1
- package/icons/tech/num-py.js +29 -1
- package/icons/tech/nuxt-js.js +28 -1
- package/icons/tech/objective-c.js +9 -1
- package/icons/tech/ocaml.js +96 -1
- package/icons/tech/oh-my-zsh.js +38 -1
- package/icons/tech/okta.js +21 -1
- package/icons/tech/open-al.js +22 -1
- package/icons/tech/open-api.js +139 -1
- package/icons/tech/open-cl.js +42 -1
- package/icons/tech/open-cv.js +28 -1
- package/icons/tech/open-gl.js +35 -1
- package/icons/tech/open-stack.js +12 -1
- package/icons/tech/open-suse.js +15 -1
- package/icons/tech/open-telemetry.js +21 -1
- package/icons/tech/opera.js +32 -1
- package/icons/tech/oracle.js +12 -1
- package/icons/tech/p5js.js +12 -1
- package/icons/tech/packer.js +15 -1
- package/icons/tech/pandas.js +62 -1
- package/icons/tech/perl.js +21 -1
- package/icons/tech/pf-sense.js +6 -1
- package/icons/tech/phalcon.js +32 -1
- package/icons/tech/phoenix-framework.js +12 -1
- package/icons/tech/photon-engine.js +41 -1
- package/icons/tech/php-storm.js +105 -1
- package/icons/tech/php.js +62 -1
- package/icons/tech/playwrite.js +56 -1
- package/icons/tech/ploty.js +28 -1
- package/icons/tech/podman.js +150 -1
- package/icons/tech/polygon.js +15 -1
- package/icons/tech/portainer.js +12 -1
- package/icons/tech/postcss.js +28 -1
- package/icons/tech/postgresql.js +23 -1
- package/icons/tech/postman.js +28 -1
- package/icons/tech/powershell.js +79 -1
- package/icons/tech/processing.js +201 -1
- package/icons/tech/prometheus.js +12 -1
- package/icons/tech/protractor.js +12 -1
- package/icons/tech/purescript.js +16 -1
- package/icons/tech/putty.js +56 -1
- package/icons/tech/pycharm.js +81 -1
- package/icons/tech/pyscript.js +15 -1
- package/icons/tech/pytest.js +21 -1
- package/icons/tech/python-poetry.js +155 -1
- package/icons/tech/python.js +78 -1
- package/icons/tech/pytorch.js +15 -1
- package/icons/tech/qodana.js +52 -1
- package/icons/tech/qt.js +12 -1
- package/icons/tech/quarkus.js +23 -1
- package/icons/tech/quasar.js +15 -1
- package/icons/tech/qwik.js +37 -1
- package/icons/tech/r.js +57 -1
- package/icons/tech/rabbitmq.js +12 -1
- package/icons/tech/rancher.js +6 -1
- package/icons/tech/raspberrypi.js +28 -1
- package/icons/tech/reach.js +27 -1
- package/icons/tech/react-bootstrap.js +12 -1
- package/icons/tech/react.js +9 -1
- package/icons/tech/realm.js +63 -1
- package/icons/tech/red-cube-s-epic-compiler-thingy-programming-re-ct.js +17 -1
- package/icons/tech/redhat.js +22 -1
- package/icons/tech/redis.js +59 -1
- package/icons/tech/redux.js +12 -1
- package/icons/tech/ren-py.js +547 -1
- package/icons/tech/rider.js +38 -1
- package/icons/tech/robot-operating-system-ros.js +15 -1
- package/icons/tech/rocksdb.js +9 -1
- package/icons/tech/rollup-js.js +155 -1
- package/icons/tech/rspec.js +35 -1
- package/icons/tech/rstudio.js +30 -1
- package/icons/tech/ruby-mine.js +52 -1
- package/icons/tech/ruby-on-rails.js +14 -1
- package/icons/tech/ruby.js +359 -1
- package/icons/tech/rust.js +6 -1
- package/icons/tech/salesforce.js +28 -1
- package/icons/tech/sanity.js +22 -1
- package/icons/tech/sass.js +14 -1
- package/icons/tech/scala.js +21 -1
- package/icons/tech/scalingo.js +29 -1
- package/icons/tech/sdl.js +42 -1
- package/icons/tech/selenium.js +15 -1
- package/icons/tech/sema-software.js +15 -1
- package/icons/tech/sequelize.js +34 -1
- package/icons/tech/shopware.js +9 -1
- package/icons/tech/sketch.js +14 -1
- package/icons/tech/slack.js +35 -1
- package/icons/tech/socket-io.js +45 -1
- package/icons/tech/solid-js.js +121 -1
- package/icons/tech/solidity.js +13 -1
- package/icons/tech/sonarqube.js +12 -1
- package/icons/tech/sourcetree.js +12 -1
- package/icons/tech/spark.js +12 -1
- package/icons/tech/splunk.js +12 -1
- package/icons/tech/spring.js +12 -1
- package/icons/tech/sql-developer.js +43 -1
- package/icons/tech/sqlalchemy.js +21 -1
- package/icons/tech/sqlite.js +45 -1
- package/icons/tech/ssh.js +12 -1
- package/icons/tech/stackoverflow.js +15 -1
- package/icons/tech/stata.js +12 -1
- package/icons/tech/storybook.js +12 -1
- package/icons/tech/streamlit.js +31 -1
- package/icons/tech/stylus.js +9 -1
- package/icons/tech/subversion.js +12 -1
- package/icons/tech/svelte.js +23 -1
- package/icons/tech/swagger.js +21 -1
- package/icons/tech/swift.js +21 -1
- package/icons/tech/symfony.js +12 -1
- package/icons/tech/tailwind-css.js +12 -1
- package/icons/tech/tauri.js +35 -1
- package/icons/tech/tensorflow.js +12 -1
- package/icons/tech/terraform.js +16 -1
- package/icons/tech/tex.js +6 -1
- package/icons/tech/the-algorithms.js +12 -1
- package/icons/tech/three-js.js +139 -1
- package/icons/tech/titanium-sdk.js +12 -1
- package/icons/tech/tomcat.js +26 -1
- package/icons/tech/tortoise-git.js +37 -1
- package/icons/tech/tower.js +369 -1
- package/icons/tech/traefik-mesh.js +12 -1
- package/icons/tech/traefik-proxy.js +12 -1
- package/icons/tech/travis-ci.js +12 -1
- package/icons/tech/trello.js +12 -1
- package/icons/tech/twitter.js +12 -1
- package/icons/tech/typescript.js +16 -1
- package/icons/tech/typo3.js +12 -1
- package/icons/tech/ubuntu.js +12 -1
- package/icons/tech/uml.js +29 -1
- package/icons/tech/unity.js +22 -1
- package/icons/tech/unix.js +12 -1
- package/icons/tech/unreal-engine.js +9 -1
- package/icons/tech/uwsgi.js +38 -1
- package/icons/tech/v8.js +109 -1
- package/icons/tech/vagrant.js +21 -1
- package/icons/tech/vala.js +57 -1
- package/icons/tech/vercel.js +6 -1
- package/icons/tech/veutify.js +11 -1
- package/icons/tech/vim.js +82 -1
- package/icons/tech/visualstudio.js +12 -1
- package/icons/tech/vite.js +6 -1
- package/icons/tech/vitejs.js +56 -1
- package/icons/tech/vscode.js +114 -1
- package/icons/tech/vsphere.js +25 -1
- package/icons/tech/vue-storefront.js +22 -1
- package/icons/tech/vue.js +16 -1
- package/icons/tech/vyper.js +17 -1
- package/icons/tech/webassembly.js +12 -1
- package/icons/tech/webflow.js +12 -1
- package/icons/tech/weblate.js +80 -1
- package/icons/tech/webpack.js +21 -1
- package/icons/tech/webstorm.js +80 -1
- package/icons/tech/windows11.js +12 -1
- package/icons/tech/windows8.js +12 -1
- package/icons/tech/woo-commerce.js +22 -1
- package/icons/tech/wordpress.js +70 -1
- package/icons/tech/xamarin.js +12 -1
- package/icons/tech/xcode.js +623 -1
- package/icons/tech/xml.js +51 -1
- package/icons/tech/yaml.js +16 -1
- package/icons/tech/yarn.js +9 -1
- package/icons/tech/yii-framework.js +35 -1
- package/icons/tech/yuno-host.js +15 -1
- package/icons/tech/zend-framework.js +14 -1
- package/icons/tech/zig.js +28 -1
- package/package.json +42 -38
- package/react/index.d.mts +704 -308
- package/react/index.mjs +25 -25
- package/dist/shared/likec4.CY1x3B5z.mjs +0 -2199
package/react/index.d.mts
CHANGED
|
@@ -21,6 +21,30 @@ type Tag<Token extends PropertyKey, TagMetadata> = TagContainer<{
|
|
|
21
21
|
}>;
|
|
22
22
|
type Tagged<Type, TagName extends PropertyKey, TagMetadata = never> = Type & Tag<TagName, TagMetadata>;
|
|
23
23
|
type TupleToUnion<ArrayType> = ArrayType extends readonly unknown[] ? ArrayType[number] : never;
|
|
24
|
+
type NonEmptyArray<T> = [
|
|
25
|
+
T,
|
|
26
|
+
...T[]
|
|
27
|
+
];
|
|
28
|
+
type Point = readonly [
|
|
29
|
+
x: number,
|
|
30
|
+
y: number
|
|
31
|
+
];
|
|
32
|
+
interface XYPoint {
|
|
33
|
+
x: number;
|
|
34
|
+
y: number;
|
|
35
|
+
}
|
|
36
|
+
type AllNever<Expressions> = UnionToIntersection<{
|
|
37
|
+
[Name in keyof Expressions]: {
|
|
38
|
+
-readonly [Key in keyof Expressions[Name]]?: never;
|
|
39
|
+
};
|
|
40
|
+
}[keyof Expressions]>;
|
|
41
|
+
type ExclusiveUnion<Expressions> = Expressions extends object ? {
|
|
42
|
+
[Name in keyof Expressions]: Simplify<Omit<AllNever<Expressions>, keyof Expressions[Name]> & Expressions[Name]>;
|
|
43
|
+
}[keyof Expressions] : Expressions;
|
|
44
|
+
type ProjectId = Tagged<string, "ProjectID">;
|
|
45
|
+
type IconUrl = Tagged<string, "IconUrl"> | "none";
|
|
46
|
+
type Fqn<Id extends string = string> = Tagged<Id, "Fqn">;
|
|
47
|
+
type Tag$1<Tags extends string = string> = Tagged<Tags, "Tag">;
|
|
24
48
|
declare const ThemeColors: readonly [
|
|
25
49
|
"amber",
|
|
26
50
|
"blue",
|
|
@@ -56,28 +80,6 @@ interface ThemeColorValues {
|
|
|
56
80
|
elements: ElementThemeColorValues;
|
|
57
81
|
relationships: RelationshipThemeColorValues;
|
|
58
82
|
}
|
|
59
|
-
type NonEmptyArray<T> = [
|
|
60
|
-
T,
|
|
61
|
-
...T[]
|
|
62
|
-
];
|
|
63
|
-
type IconUrl = Tagged<string, "IconUrl"> | "none";
|
|
64
|
-
type Point = readonly [
|
|
65
|
-
x: number,
|
|
66
|
-
y: number
|
|
67
|
-
];
|
|
68
|
-
interface XYPoint {
|
|
69
|
-
x: number;
|
|
70
|
-
y: number;
|
|
71
|
-
}
|
|
72
|
-
type AllNever<Expressions> = UnionToIntersection<{
|
|
73
|
-
[Name in keyof Expressions]: {
|
|
74
|
-
-readonly [Key in keyof Expressions[Name]]?: never;
|
|
75
|
-
};
|
|
76
|
-
}[keyof Expressions]>;
|
|
77
|
-
type ExclusiveUnion<Expressions> = Expressions extends object ? {
|
|
78
|
-
[Name in keyof Expressions]: Simplify<Omit<AllNever<Expressions>, keyof Expressions[Name]> & Expressions[Name]>;
|
|
79
|
-
}[keyof Expressions] : Expressions;
|
|
80
|
-
type Fqn<Id extends string = string> = Tagged<Id, "Fqn">;
|
|
81
83
|
declare const BorderStyles: readonly [
|
|
82
84
|
"solid",
|
|
83
85
|
"dashed",
|
|
@@ -121,7 +123,6 @@ interface ElementStyle {
|
|
|
121
123
|
readonly padding?: SpacingSize;
|
|
122
124
|
readonly textSize?: TextSize;
|
|
123
125
|
}
|
|
124
|
-
type Tag$1<Tags extends string = string> = Tagged<Tags, "Tag">;
|
|
125
126
|
interface Link {
|
|
126
127
|
readonly title?: string;
|
|
127
128
|
readonly url: string;
|
|
@@ -163,109 +164,6 @@ type OrOperator<Tag, Kind> = Omit<AllNever$1, "or"> & {
|
|
|
163
164
|
or: NonEmptyArray<WhereOperator<Tag, Kind>>;
|
|
164
165
|
};
|
|
165
166
|
type WhereOperator<Tag, Kind> = TagEqual<Tag> | KindEqual<Kind> | ParticipantOperator<Tag, Kind> | NotOperator<Tag, Kind> | AndOperator<Tag, Kind> | OrOperator<Tag, Kind>;
|
|
166
|
-
interface BaseExpr {
|
|
167
|
-
where?: never;
|
|
168
|
-
element?: never;
|
|
169
|
-
custom?: never;
|
|
170
|
-
expanded?: never;
|
|
171
|
-
elementKind?: never;
|
|
172
|
-
elementTag?: never;
|
|
173
|
-
isEqual?: never;
|
|
174
|
-
isChildren?: never;
|
|
175
|
-
isDescendants?: never;
|
|
176
|
-
wildcard?: never;
|
|
177
|
-
source?: never;
|
|
178
|
-
target?: never;
|
|
179
|
-
inout?: never;
|
|
180
|
-
incoming?: never;
|
|
181
|
-
outgoing?: never;
|
|
182
|
-
customRelation?: never;
|
|
183
|
-
}
|
|
184
|
-
interface ElementRefExpr extends Omit<BaseExpr, "element" | "isChildren" | "isDescendants"> {
|
|
185
|
-
element: Fqn;
|
|
186
|
-
isChildren?: boolean;
|
|
187
|
-
isDescendants?: boolean;
|
|
188
|
-
}
|
|
189
|
-
interface ExpandedElementExpr extends Omit<BaseExpr, "expanded"> {
|
|
190
|
-
expanded: Fqn;
|
|
191
|
-
}
|
|
192
|
-
interface CustomElementExpr extends Omit<BaseExpr, "custom"> {
|
|
193
|
-
custom: {
|
|
194
|
-
expr: ElementExpression | ElementWhereExpr;
|
|
195
|
-
title?: string;
|
|
196
|
-
description?: string;
|
|
197
|
-
technology?: string;
|
|
198
|
-
notation?: string;
|
|
199
|
-
shape?: ElementShape;
|
|
200
|
-
color?: Color;
|
|
201
|
-
icon?: IconUrl;
|
|
202
|
-
border?: BorderStyle;
|
|
203
|
-
opacity?: number;
|
|
204
|
-
navigateTo?: ViewId;
|
|
205
|
-
multiple?: boolean;
|
|
206
|
-
size?: ShapeSize;
|
|
207
|
-
padding?: ShapeSize;
|
|
208
|
-
textSize?: ShapeSize;
|
|
209
|
-
};
|
|
210
|
-
}
|
|
211
|
-
interface WildcardExpr extends Omit<BaseExpr, "wildcard"> {
|
|
212
|
-
wildcard: true;
|
|
213
|
-
}
|
|
214
|
-
interface ElementKindExpr extends Omit<BaseExpr, "elementKind" | "isEqual"> {
|
|
215
|
-
elementKind: ElementKind;
|
|
216
|
-
isEqual: boolean;
|
|
217
|
-
}
|
|
218
|
-
interface ElementTagExpr extends Omit<BaseExpr, "elementTag" | "isEqual"> {
|
|
219
|
-
elementTag: Tag$1;
|
|
220
|
-
isEqual: boolean;
|
|
221
|
-
}
|
|
222
|
-
type NonWilcard = ElementRefExpr | ElementKindExpr | ElementTagExpr | ExpandedElementExpr;
|
|
223
|
-
type ElementExpression = NonWilcard | WildcardExpr;
|
|
224
|
-
interface ElementWhereExpr extends Omit<BaseExpr, "where"> {
|
|
225
|
-
where: {
|
|
226
|
-
expr: ElementExpression;
|
|
227
|
-
condition: WhereOperator<string, string>;
|
|
228
|
-
};
|
|
229
|
-
}
|
|
230
|
-
type ElementPredicateExpression = ElementExpression | ElementWhereExpr | CustomElementExpr;
|
|
231
|
-
interface DirectRelationExpr extends Omit<BaseExpr, "source" | "target"> {
|
|
232
|
-
source: ElementExpression;
|
|
233
|
-
target: ElementExpression;
|
|
234
|
-
isBidirectional?: boolean;
|
|
235
|
-
}
|
|
236
|
-
interface InOutExpr extends Omit<BaseExpr, "inout"> {
|
|
237
|
-
inout: ElementExpression;
|
|
238
|
-
}
|
|
239
|
-
interface IncomingExpr extends Omit<BaseExpr, "incoming"> {
|
|
240
|
-
incoming: ElementExpression;
|
|
241
|
-
}
|
|
242
|
-
interface OutgoingExpr extends Omit<BaseExpr, "outgoing"> {
|
|
243
|
-
outgoing: ElementExpression;
|
|
244
|
-
}
|
|
245
|
-
type RelationExpression = DirectRelationExpr | InOutExpr | IncomingExpr | OutgoingExpr;
|
|
246
|
-
interface RelationWhereExpr extends Omit<BaseExpr, "where"> {
|
|
247
|
-
where: {
|
|
248
|
-
expr: RelationExpression;
|
|
249
|
-
condition: WhereOperator<string, string>;
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
interface CustomRelationExpr extends Omit<BaseExpr, "customRelation"> {
|
|
253
|
-
customRelation: {
|
|
254
|
-
relation: RelationExpression | RelationWhereExpr;
|
|
255
|
-
title?: string;
|
|
256
|
-
description?: string;
|
|
257
|
-
technology?: string;
|
|
258
|
-
notation?: string;
|
|
259
|
-
navigateTo?: ViewId;
|
|
260
|
-
notes?: string;
|
|
261
|
-
color?: Color;
|
|
262
|
-
line?: RelationshipLineType;
|
|
263
|
-
head?: RelationshipArrowType;
|
|
264
|
-
tail?: RelationshipArrowType;
|
|
265
|
-
};
|
|
266
|
-
}
|
|
267
|
-
type RelationPredicateExpression = RelationExpression | RelationWhereExpr | CustomRelationExpr;
|
|
268
|
-
type Expression = ElementPredicateExpression | RelationPredicateExpression;
|
|
269
167
|
declare namespace FqnRef {
|
|
270
168
|
/**
|
|
271
169
|
* Represents a reference to an instance within a deployment.
|
|
@@ -300,85 +198,410 @@ declare namespace FqnRef {
|
|
|
300
198
|
model: F;
|
|
301
199
|
};
|
|
302
200
|
const isModelRef: (ref: FqnRef) => ref is ModelRef;
|
|
201
|
+
/**
|
|
202
|
+
* Reference to imported logical model element
|
|
203
|
+
*/
|
|
204
|
+
type ImportRef<F = Fqn> = {
|
|
205
|
+
project: ProjectId;
|
|
206
|
+
model: F;
|
|
207
|
+
};
|
|
208
|
+
const isImportRef: (ref: FqnRef) => ref is ImportRef;
|
|
303
209
|
const toDeploymentRef: (ref: FqnRef) => DeploymentRef;
|
|
210
|
+
const toModelFqn: (ref: FqnRef) => Fqn;
|
|
304
211
|
}
|
|
305
212
|
type FqnRef<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
306
213
|
InsideInstanceRef: FqnRef.InsideInstanceRef<D, M>;
|
|
307
214
|
DeploymentRef: FqnRef.DeploymentRef<D>;
|
|
308
215
|
ModelRef: FqnRef.ModelRef<M>;
|
|
216
|
+
ImportRef: FqnRef.ImportRef<M>;
|
|
309
217
|
}>;
|
|
310
218
|
declare namespace FqnExpr {
|
|
311
219
|
type Wildcard = {
|
|
312
220
|
wildcard: true;
|
|
313
221
|
};
|
|
314
|
-
const isWildcard: (expr: ExpressionV2) => expr is Wildcard;
|
|
222
|
+
const isWildcard: (expr: ExpressionV2) => expr is FqnExpr.Wildcard;
|
|
315
223
|
type ModelRef<M = Fqn> = {
|
|
316
|
-
ref: FqnRef.ModelRef<M>;
|
|
224
|
+
ref: FqnRef.ModelRef<M> | FqnRef.ImportRef<M>;
|
|
317
225
|
selector?: PredicateSelector;
|
|
318
226
|
};
|
|
319
|
-
const isModelRef: (ref: ExpressionV2) => ref is ModelRef;
|
|
227
|
+
const isModelRef: (ref: ExpressionV2) => ref is FqnExpr.ModelRef;
|
|
320
228
|
type DeploymentRef<D = Fqn, M = Fqn> = {
|
|
321
229
|
ref: FqnRef.DeploymentRef<D> | FqnRef.InsideInstanceRef<D, M>;
|
|
322
230
|
selector?: PredicateSelector;
|
|
323
231
|
};
|
|
324
232
|
const isDeploymentRef: (ref: ExpressionV2) => ref is FqnExpr.DeploymentRef;
|
|
233
|
+
type ElementKindExpr = {
|
|
234
|
+
elementKind: ElementKind;
|
|
235
|
+
isEqual: boolean;
|
|
236
|
+
};
|
|
237
|
+
function isElementKindExpr(expr: ExpressionV2): expr is ElementKindExpr;
|
|
238
|
+
type ElementTagExpr = {
|
|
239
|
+
elementTag: Tag$1;
|
|
240
|
+
isEqual: boolean;
|
|
241
|
+
};
|
|
242
|
+
function isElementTagExpr(expr: ExpressionV2): expr is ElementTagExpr;
|
|
325
243
|
type NonWildcard<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
326
244
|
ModelRef: ModelRef<M>;
|
|
327
245
|
DeploymentRef: DeploymentRef<D, M>;
|
|
246
|
+
ElementKind: ElementKindExpr;
|
|
247
|
+
ElementTag: ElementTagExpr;
|
|
328
248
|
}>;
|
|
249
|
+
type Where<D = Fqn, M = Fqn> = {
|
|
250
|
+
where: {
|
|
251
|
+
expr: ExclusiveUnion<{
|
|
252
|
+
Wildcard: Wildcard;
|
|
253
|
+
ModelRef: ModelRef<M>;
|
|
254
|
+
DeploymentRef: DeploymentRef<D, M>;
|
|
255
|
+
ElementKind: ElementKindExpr;
|
|
256
|
+
ElementTag: ElementTagExpr;
|
|
257
|
+
}>;
|
|
258
|
+
condition: WhereOperator<string, string>;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
const isWhere: (expr: ExpressionV2) => expr is FqnExpr.Where;
|
|
262
|
+
type Custom<D = Fqn, M = Fqn> = {
|
|
263
|
+
custom: {
|
|
264
|
+
expr: OrWhere<D, M>;
|
|
265
|
+
title?: string;
|
|
266
|
+
description?: string;
|
|
267
|
+
technology?: string;
|
|
268
|
+
notation?: string;
|
|
269
|
+
shape?: ElementShape;
|
|
270
|
+
color?: Color;
|
|
271
|
+
icon?: IconUrl;
|
|
272
|
+
border?: BorderStyle;
|
|
273
|
+
opacity?: number;
|
|
274
|
+
navigateTo?: ViewId;
|
|
275
|
+
multiple?: boolean;
|
|
276
|
+
size?: ShapeSize;
|
|
277
|
+
padding?: ShapeSize;
|
|
278
|
+
textSize?: ShapeSize;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
const isCustom: (expr: ExpressionV2) => expr is Custom;
|
|
282
|
+
const is: (expr: ExpressionV2) => expr is FqnExpr;
|
|
283
|
+
type OrWhere<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
284
|
+
Wildcard: FqnExpr.Wildcard;
|
|
285
|
+
ModelRef: FqnExpr.ModelRef<M>;
|
|
286
|
+
DeploymentRef: FqnExpr.DeploymentRef<D, M>;
|
|
287
|
+
ElementKind: ElementKindExpr;
|
|
288
|
+
ElementTag: ElementTagExpr;
|
|
289
|
+
Where: FqnExpr.Where<D, M>;
|
|
290
|
+
}>;
|
|
291
|
+
type Any<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
292
|
+
Wildcard: Wildcard;
|
|
293
|
+
ModelRef: ModelRef<M>;
|
|
294
|
+
DeploymentRef: DeploymentRef<D, M>;
|
|
295
|
+
ElementKind: ElementKindExpr;
|
|
296
|
+
ElementTag: ElementTagExpr;
|
|
297
|
+
Where: Where<D, M>;
|
|
298
|
+
Custom: Custom<D, M>;
|
|
299
|
+
}>;
|
|
300
|
+
const unwrap: (expr: FqnExpr) => Wildcard | ModelRef | DeploymentRef | ElementKindExpr | ElementTagExpr;
|
|
329
301
|
}
|
|
330
302
|
type FqnExpr<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
331
303
|
Wildcard: FqnExpr.Wildcard;
|
|
332
304
|
ModelRef: FqnExpr.ModelRef<M>;
|
|
333
305
|
DeploymentRef: FqnExpr.DeploymentRef<D, M>;
|
|
306
|
+
ElementKind: FqnExpr.ElementKindExpr;
|
|
307
|
+
ElementTag: FqnExpr.ElementTagExpr;
|
|
334
308
|
}>;
|
|
335
309
|
declare namespace RelationExpr {
|
|
310
|
+
type Endpoint<D = Fqn, M = Fqn> = FqnExpr.Where<D, M>["where"]["expr"];
|
|
336
311
|
type Direct<D = Fqn, M = Fqn> = {
|
|
337
|
-
source:
|
|
338
|
-
target:
|
|
312
|
+
source: Endpoint<D, M>;
|
|
313
|
+
target: Endpoint<D, M>;
|
|
339
314
|
isBidirectional?: boolean;
|
|
340
315
|
};
|
|
341
|
-
const isDirect: (expr: ExpressionV2) => expr is Direct;
|
|
316
|
+
const isDirect: (expr: ExpressionV2) => expr is RelationExpr.Direct;
|
|
342
317
|
type Incoming<D = Fqn, M = Fqn> = {
|
|
343
|
-
incoming:
|
|
318
|
+
incoming: Endpoint<D, M>;
|
|
344
319
|
};
|
|
345
|
-
const isIncoming: (expr: ExpressionV2) => expr is Incoming;
|
|
320
|
+
const isIncoming: (expr: ExpressionV2) => expr is RelationExpr.Incoming;
|
|
346
321
|
type Outgoing<D = Fqn, M = Fqn> = {
|
|
347
|
-
outgoing:
|
|
322
|
+
outgoing: Endpoint<D, M>;
|
|
348
323
|
};
|
|
349
|
-
const isOutgoing: (expr: ExpressionV2) => expr is Outgoing;
|
|
324
|
+
const isOutgoing: (expr: ExpressionV2) => expr is RelationExpr.Outgoing;
|
|
350
325
|
type InOut<D = Fqn, M = Fqn> = {
|
|
351
|
-
inout:
|
|
326
|
+
inout: Endpoint<D, M>;
|
|
352
327
|
};
|
|
353
|
-
const isInOut: (expr: ExpressionV2) => expr is InOut;
|
|
328
|
+
const isInOut: (expr: ExpressionV2) => expr is RelationExpr.InOut;
|
|
354
329
|
type Where<D = Fqn, M = Fqn> = {
|
|
355
330
|
where: {
|
|
356
|
-
expr:
|
|
331
|
+
expr: ExclusiveUnion<{
|
|
332
|
+
Direct: RelationExpr.Direct<D, M>;
|
|
333
|
+
Incoming: RelationExpr.Incoming<D, M>;
|
|
334
|
+
Outgoing: RelationExpr.Outgoing<D, M>;
|
|
335
|
+
InOut: RelationExpr.InOut<D, M>;
|
|
336
|
+
}>;
|
|
357
337
|
condition: WhereOperator<string, string>;
|
|
358
338
|
};
|
|
359
339
|
};
|
|
360
|
-
const isWhere: (expr: ExpressionV2) => expr is Where;
|
|
340
|
+
const isWhere: (expr: ExpressionV2) => expr is RelationExpr.Where;
|
|
341
|
+
type Custom<D = Fqn, M = Fqn> = {
|
|
342
|
+
customRelation: {
|
|
343
|
+
expr: OrWhere<D, M>;
|
|
344
|
+
title?: string;
|
|
345
|
+
description?: string;
|
|
346
|
+
technology?: string;
|
|
347
|
+
notation?: string;
|
|
348
|
+
navigateTo?: ViewId;
|
|
349
|
+
notes?: string;
|
|
350
|
+
color?: Color;
|
|
351
|
+
line?: RelationshipLineType;
|
|
352
|
+
head?: RelationshipArrowType;
|
|
353
|
+
tail?: RelationshipArrowType;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
const isCustom: (expr: ExpressionV2) => expr is Custom;
|
|
357
|
+
const is: (expr: ExpressionV2) => expr is RelationExpr;
|
|
358
|
+
type OrWhere<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
359
|
+
Direct: Direct<D, M>;
|
|
360
|
+
Incoming: Incoming<D, M>;
|
|
361
|
+
Outgoing: Outgoing<D, M>;
|
|
362
|
+
InOut: InOut<D, M>;
|
|
363
|
+
Where: Where<D, M>;
|
|
364
|
+
}>;
|
|
365
|
+
type Any<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
366
|
+
Direct: Direct<D, M>;
|
|
367
|
+
Incoming: Incoming<D, M>;
|
|
368
|
+
Outgoing: Outgoing<D, M>;
|
|
369
|
+
InOut: InOut<D, M>;
|
|
370
|
+
Where: Where<D, M>;
|
|
371
|
+
Custom: Custom<D, M>;
|
|
372
|
+
}>;
|
|
373
|
+
const unwrap: (expr: RelationExpr) => Direct | Incoming | Outgoing | InOut;
|
|
361
374
|
}
|
|
362
375
|
type RelationExpr<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
363
376
|
Direct: RelationExpr.Direct<D, M>;
|
|
364
377
|
Incoming: RelationExpr.Incoming<D, M>;
|
|
365
378
|
Outgoing: RelationExpr.Outgoing<D, M>;
|
|
366
379
|
InOut: RelationExpr.InOut<D, M>;
|
|
367
|
-
Where: RelationExpr.Where<D, M>;
|
|
368
380
|
}>;
|
|
369
381
|
type ExpressionV2<D = Fqn, M = Fqn> = ExclusiveUnion<{
|
|
370
382
|
Wildcard: FqnExpr.Wildcard;
|
|
371
383
|
ModelRef: FqnExpr.ModelRef<M>;
|
|
372
384
|
DeploymentRef: FqnExpr.DeploymentRef<D, M>;
|
|
385
|
+
ElementKind: FqnExpr.ElementKindExpr;
|
|
386
|
+
ElementTag: FqnExpr.ElementTagExpr;
|
|
387
|
+
Custom: FqnExpr.Custom<D, M>;
|
|
373
388
|
Direct: RelationExpr.Direct<D, M>;
|
|
374
389
|
Incoming: RelationExpr.Incoming<D, M>;
|
|
375
390
|
Outgoing: RelationExpr.Outgoing<D, M>;
|
|
376
391
|
InOut: RelationExpr.InOut<D, M>;
|
|
377
|
-
|
|
392
|
+
Where: ExpressionV2.Where<D, M>;
|
|
393
|
+
CustomRelation: RelationExpr.Custom<D, M>;
|
|
378
394
|
}>;
|
|
379
395
|
declare namespace ExpressionV2 {
|
|
380
|
-
|
|
381
|
-
const
|
|
396
|
+
type Where<D = Fqn, M = Fqn> = FqnExpr.Where<D, M> | RelationExpr.Where<D, M>;
|
|
397
|
+
const isWhere: (expr: ExpressionV2) => expr is ExpressionV2.Where;
|
|
398
|
+
const isRelationWhere: (expr: ExpressionV2) => expr is RelationExpr.Where;
|
|
399
|
+
const isFqnExprWhere: (expr: ExpressionV2) => expr is FqnExpr.Where;
|
|
400
|
+
const isFqnExpr: (expr: ExpressionV2) => expr is FqnExpr.Any;
|
|
401
|
+
const isRelation: (expr: ExpressionV2) => expr is RelationExpr.Any;
|
|
402
|
+
}
|
|
403
|
+
declare namespace ModelLayer {
|
|
404
|
+
namespace FqnRef {
|
|
405
|
+
/**
|
|
406
|
+
* Reference to logical model element
|
|
407
|
+
*/
|
|
408
|
+
type ModelRef<F = Fqn> = {
|
|
409
|
+
model: F;
|
|
410
|
+
};
|
|
411
|
+
const isModelRef: (ref: FqnRef) => ref is ModelRef;
|
|
412
|
+
/**
|
|
413
|
+
* Reference to imported logical model element
|
|
414
|
+
*/
|
|
415
|
+
type ImportRef<F = Fqn> = {
|
|
416
|
+
project: ProjectId;
|
|
417
|
+
model: F;
|
|
418
|
+
};
|
|
419
|
+
const isImportRef: (ref: FqnRef) => ref is ImportRef;
|
|
420
|
+
const toFqn: (ref: FqnRef) => Fqn;
|
|
421
|
+
}
|
|
422
|
+
type FqnRef<M = Fqn> = ExclusiveUnion<{
|
|
423
|
+
ModelRef: FqnRef.ModelRef<M>;
|
|
424
|
+
ImportRef: FqnRef.ImportRef<M>;
|
|
425
|
+
}>;
|
|
426
|
+
namespace FqnExpr {
|
|
427
|
+
type Wildcard = {
|
|
428
|
+
wildcard: true;
|
|
429
|
+
};
|
|
430
|
+
const isWildcard: (expr: Expression) => expr is FqnExpr.Wildcard;
|
|
431
|
+
type ModelRef<M = Fqn> = {
|
|
432
|
+
ref: FqnRef.ModelRef<M> | FqnRef.ImportRef<M>;
|
|
433
|
+
selector?: PredicateSelector;
|
|
434
|
+
};
|
|
435
|
+
const isModelRef: (ref: Expression) => ref is FqnExpr.ModelRef;
|
|
436
|
+
type ElementKindExpr = {
|
|
437
|
+
elementKind: ElementKind;
|
|
438
|
+
isEqual: boolean;
|
|
439
|
+
};
|
|
440
|
+
function isElementKindExpr(expr: Expression): expr is ElementKindExpr;
|
|
441
|
+
type ElementTagExpr = {
|
|
442
|
+
elementTag: Tag$1;
|
|
443
|
+
isEqual: boolean;
|
|
444
|
+
};
|
|
445
|
+
function isElementTagExpr(expr: Expression): expr is ElementTagExpr;
|
|
446
|
+
type NonWildcard<M = Fqn> = ExclusiveUnion<{
|
|
447
|
+
ModelRef: ModelRef<M>;
|
|
448
|
+
ElementKind: ElementKindExpr;
|
|
449
|
+
ElementTag: ElementTagExpr;
|
|
450
|
+
}>;
|
|
451
|
+
type Where<M = Fqn> = {
|
|
452
|
+
where: {
|
|
453
|
+
expr: ExclusiveUnion<{
|
|
454
|
+
Wildcard: Wildcard;
|
|
455
|
+
ModelRef: ModelRef<M>;
|
|
456
|
+
ElementKind: ElementKindExpr;
|
|
457
|
+
ElementTag: ElementTagExpr;
|
|
458
|
+
}>;
|
|
459
|
+
condition: WhereOperator<string, string>;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
const isWhere: (expr: Expression) => expr is FqnExpr.Where;
|
|
463
|
+
type Custom<M = Fqn> = {
|
|
464
|
+
custom: {
|
|
465
|
+
expr: FqnExprOrWhere<M>;
|
|
466
|
+
title?: string;
|
|
467
|
+
description?: string;
|
|
468
|
+
technology?: string;
|
|
469
|
+
notation?: string;
|
|
470
|
+
shape?: ElementShape;
|
|
471
|
+
color?: Color;
|
|
472
|
+
icon?: IconUrl;
|
|
473
|
+
border?: BorderStyle;
|
|
474
|
+
opacity?: number;
|
|
475
|
+
navigateTo?: ViewId;
|
|
476
|
+
multiple?: boolean;
|
|
477
|
+
size?: ShapeSize;
|
|
478
|
+
padding?: ShapeSize;
|
|
479
|
+
textSize?: ShapeSize;
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
const isCustom: (expr: Expression) => expr is FqnExpr.Custom;
|
|
483
|
+
const is: (expr: Expression) => expr is FqnExpr;
|
|
484
|
+
}
|
|
485
|
+
type FqnExpr<M = Fqn> = ExclusiveUnion<{
|
|
486
|
+
Wildcard: FqnExpr.Wildcard;
|
|
487
|
+
ModelRef: FqnExpr.ModelRef<M>;
|
|
488
|
+
ElementKind: FqnExpr.ElementKindExpr;
|
|
489
|
+
ElementTag: FqnExpr.ElementTagExpr;
|
|
490
|
+
}>;
|
|
491
|
+
type FqnExprOrWhere<M = Fqn> = ExclusiveUnion<{
|
|
492
|
+
Wildcard: FqnExpr.Wildcard;
|
|
493
|
+
ModelRef: FqnExpr.ModelRef<M>;
|
|
494
|
+
ElementKind: FqnExpr.ElementKindExpr;
|
|
495
|
+
ElementTag: FqnExpr.ElementTagExpr;
|
|
496
|
+
Where: FqnExpr.Where<M>;
|
|
497
|
+
}>;
|
|
498
|
+
type AnyFqnExpr<M = Fqn> = ExclusiveUnion<{
|
|
499
|
+
Wildcard: FqnExpr.Wildcard;
|
|
500
|
+
ModelRef: FqnExpr.ModelRef<M>;
|
|
501
|
+
ElementKind: FqnExpr.ElementKindExpr;
|
|
502
|
+
ElementTag: FqnExpr.ElementTagExpr;
|
|
503
|
+
Where: FqnExpr.Where<M>;
|
|
504
|
+
Custom: FqnExpr.Custom<M>;
|
|
505
|
+
}>;
|
|
506
|
+
function isAnyFqnExpr(expr: Expression): expr is AnyFqnExpr;
|
|
507
|
+
namespace RelationExpr {
|
|
508
|
+
type Direct<M = Fqn> = {
|
|
509
|
+
source: FqnExpr<M>;
|
|
510
|
+
target: FqnExpr<M>;
|
|
511
|
+
isBidirectional?: boolean;
|
|
512
|
+
};
|
|
513
|
+
const isDirect: (expr: Expression) => expr is RelationExpr.Direct;
|
|
514
|
+
type Incoming<M = Fqn> = {
|
|
515
|
+
incoming: FqnExpr<M>;
|
|
516
|
+
};
|
|
517
|
+
const isIncoming: (expr: Expression) => expr is RelationExpr.Incoming;
|
|
518
|
+
type Outgoing<M = Fqn> = {
|
|
519
|
+
outgoing: FqnExpr<M>;
|
|
520
|
+
};
|
|
521
|
+
const isOutgoing: (expr: Expression) => expr is RelationExpr.Outgoing;
|
|
522
|
+
type InOut<M = Fqn> = {
|
|
523
|
+
inout: FqnExpr<M>;
|
|
524
|
+
};
|
|
525
|
+
const isInOut: (expr: Expression) => expr is RelationExpr.InOut;
|
|
526
|
+
type Where<M = Fqn> = {
|
|
527
|
+
where: {
|
|
528
|
+
expr: ExclusiveUnion<{
|
|
529
|
+
Direct: RelationExpr.Direct<M>;
|
|
530
|
+
Incoming: RelationExpr.Incoming<M>;
|
|
531
|
+
Outgoing: RelationExpr.Outgoing<M>;
|
|
532
|
+
InOut: RelationExpr.InOut<M>;
|
|
533
|
+
}>;
|
|
534
|
+
condition: WhereOperator<string, string>;
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
const isWhere: (expr: Expression) => expr is RelationExpr.Where;
|
|
538
|
+
type Custom<M = Fqn> = {
|
|
539
|
+
customRelation: {
|
|
540
|
+
expr: RelationExprOrWhere<M>;
|
|
541
|
+
title?: string;
|
|
542
|
+
description?: string;
|
|
543
|
+
technology?: string;
|
|
544
|
+
notation?: string;
|
|
545
|
+
navigateTo?: ViewId;
|
|
546
|
+
notes?: string;
|
|
547
|
+
color?: Color;
|
|
548
|
+
line?: RelationshipLineType;
|
|
549
|
+
head?: RelationshipArrowType;
|
|
550
|
+
tail?: RelationshipArrowType;
|
|
551
|
+
};
|
|
552
|
+
};
|
|
553
|
+
const isCustom: (expr: Expression) => expr is Custom;
|
|
554
|
+
const is: (expr: Expression) => expr is RelationExpr;
|
|
555
|
+
}
|
|
556
|
+
type RelationExpr<M = Fqn> = ExclusiveUnion<{
|
|
557
|
+
Direct: RelationExpr.Direct<M>;
|
|
558
|
+
Incoming: RelationExpr.Incoming<M>;
|
|
559
|
+
Outgoing: RelationExpr.Outgoing<M>;
|
|
560
|
+
InOut: RelationExpr.InOut<M>;
|
|
561
|
+
}>;
|
|
562
|
+
type RelationExprOrWhere<M = Fqn> = ExclusiveUnion<{
|
|
563
|
+
Direct: RelationExpr.Direct<M>;
|
|
564
|
+
Incoming: RelationExpr.Incoming<M>;
|
|
565
|
+
Outgoing: RelationExpr.Outgoing<M>;
|
|
566
|
+
InOut: RelationExpr.InOut<M>;
|
|
567
|
+
Where: RelationExpr.Where<M>;
|
|
568
|
+
}>;
|
|
569
|
+
type AnyRelationExpr<M = Fqn> = ExclusiveUnion<{
|
|
570
|
+
Direct: RelationExpr.Direct<M>;
|
|
571
|
+
Incoming: RelationExpr.Incoming<M>;
|
|
572
|
+
Outgoing: RelationExpr.Outgoing<M>;
|
|
573
|
+
InOut: RelationExpr.InOut<M>;
|
|
574
|
+
Where: RelationExpr.Where<M>;
|
|
575
|
+
CustomRelation: RelationExpr.Custom<M>;
|
|
576
|
+
}>;
|
|
577
|
+
function isAnyRelationExpr(expr: Expression): expr is AnyRelationExpr;
|
|
578
|
+
/**
|
|
579
|
+
* Represents a version 2 expression which can be one of several types.
|
|
580
|
+
*
|
|
581
|
+
* @template M - The type for the model FQN, defaults to `Fqn`.
|
|
582
|
+
*/
|
|
583
|
+
type Expression<M = Fqn> = ExclusiveUnion<{
|
|
584
|
+
Wildcard: FqnExpr.Wildcard;
|
|
585
|
+
ModelRef: FqnExpr.ModelRef<M>;
|
|
586
|
+
ElementKind: FqnExpr.ElementKindExpr;
|
|
587
|
+
ElementTag: FqnExpr.ElementTagExpr;
|
|
588
|
+
Custom: FqnExpr.Custom<M>;
|
|
589
|
+
Direct: RelationExpr.Direct<M>;
|
|
590
|
+
Incoming: RelationExpr.Incoming<M>;
|
|
591
|
+
Outgoing: RelationExpr.Outgoing<M>;
|
|
592
|
+
InOut: RelationExpr.InOut<M>;
|
|
593
|
+
CustomRelation: RelationExpr.Custom<M>;
|
|
594
|
+
Where: Expression.Where<M>;
|
|
595
|
+
}>;
|
|
596
|
+
function isExpression(expr: any): expr is Expression;
|
|
597
|
+
namespace Expression {
|
|
598
|
+
type Where<M = Fqn> = FqnExpr.Where<M> | RelationExpr.Where<M>;
|
|
599
|
+
const isWhere: (expr: Expression) => expr is Expression.Where;
|
|
600
|
+
const isCustomFqnExpr: (expr: Expression) => expr is FqnExpr.Custom;
|
|
601
|
+
const isCustomRelationExpr: (expr: Expression) => expr is RelationExpr.Custom;
|
|
602
|
+
const isFqnExpr: (expr: Expression) => expr is FqnExpr;
|
|
603
|
+
const isRelation: (expr: Expression) => expr is RelationExpr;
|
|
604
|
+
}
|
|
382
605
|
}
|
|
383
606
|
type GlobalPredicateId = Tagged<string, "GlobalPredicateId">;
|
|
384
607
|
type GlobalStyleID = Tagged<string, "GlobalStyleID">;
|
|
@@ -390,17 +613,17 @@ type ElementNotation = {
|
|
|
390
613
|
};
|
|
391
614
|
type ViewId<Id extends string = string> = Tagged<Id, "ViewID">;
|
|
392
615
|
type ViewRulePredicate = {
|
|
393
|
-
include: Expression[];
|
|
616
|
+
include: ModelLayer.Expression[];
|
|
394
617
|
exclude?: never;
|
|
395
618
|
} | {
|
|
396
619
|
include?: never;
|
|
397
|
-
exclude: Expression[];
|
|
620
|
+
exclude: ModelLayer.Expression[];
|
|
398
621
|
};
|
|
399
622
|
interface ViewRuleGlobalPredicateRef {
|
|
400
623
|
predicateId: GlobalPredicateId;
|
|
401
624
|
}
|
|
402
625
|
interface ViewRuleStyle {
|
|
403
|
-
targets:
|
|
626
|
+
targets: ModelLayer.FqnExpr[];
|
|
404
627
|
notation?: string;
|
|
405
628
|
style: ElementStyle & {
|
|
406
629
|
color?: Color;
|
|
@@ -488,7 +711,7 @@ interface DynamicViewParallelSteps {
|
|
|
488
711
|
}
|
|
489
712
|
type DynamicViewStepOrParallel = DynamicViewStep | DynamicViewParallelSteps;
|
|
490
713
|
type DynamicViewIncludeRule = {
|
|
491
|
-
include:
|
|
714
|
+
include: ModelLayer.AnyFqnExpr[];
|
|
492
715
|
};
|
|
493
716
|
type DynamicViewRule = DynamicViewIncludeRule | ViewRuleGlobalPredicateRef | ViewRuleStyle | ViewRuleGlobalStyle | ViewRuleAutoLayout;
|
|
494
717
|
interface DynamicView<ViewIDs extends string = string, Tags extends string = string> extends BasicView<"dynamic", ViewIDs, Tags> {
|
|
@@ -804,52 +1027,62 @@ type CoordinateExtent = [
|
|
|
804
1027
|
];
|
|
805
1028
|
type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
|
|
806
1029
|
type NodeBase<NodeData extends Record<string, unknown> = Record<string, unknown>, NodeType extends string = string> = {
|
|
807
|
-
/** Unique id of a node */
|
|
1030
|
+
/** Unique id of a node. */
|
|
808
1031
|
id: string;
|
|
809
1032
|
/**
|
|
810
|
-
* Position of a node on the pane
|
|
1033
|
+
* Position of a node on the pane.
|
|
811
1034
|
* @example { x: 0, y: 0 }
|
|
812
1035
|
*/
|
|
813
1036
|
position: XYPosition;
|
|
814
|
-
/** Arbitrary data passed to a node */
|
|
1037
|
+
/** Arbitrary data passed to a node. */
|
|
815
1038
|
data: NodeData;
|
|
816
|
-
/** Type of node defined in nodeTypes */
|
|
1039
|
+
/** Type of node defined in `nodeTypes`. */
|
|
817
1040
|
type?: NodeType;
|
|
818
1041
|
/**
|
|
819
|
-
* Only relevant for default, source, target nodeType.
|
|
1042
|
+
* Only relevant for default, source, target nodeType. Controls source position.
|
|
820
1043
|
* @example 'right', 'left', 'top', 'bottom'
|
|
821
1044
|
*/
|
|
822
1045
|
sourcePosition?: Position;
|
|
823
1046
|
/**
|
|
824
|
-
* Only relevant for default, source, target nodeType.
|
|
1047
|
+
* Only relevant for default, source, target nodeType. Controls target position.
|
|
825
1048
|
* @example 'right', 'left', 'top', 'bottom'
|
|
826
1049
|
*/
|
|
827
1050
|
targetPosition?: Position;
|
|
1051
|
+
/** Whether or not the node should be visible on the canvas. */
|
|
828
1052
|
hidden?: boolean;
|
|
829
1053
|
selected?: boolean;
|
|
830
|
-
/**
|
|
1054
|
+
/** Whether or not the node is currently being dragged. */
|
|
831
1055
|
dragging?: boolean;
|
|
1056
|
+
/** Whether or not the node is able to be dragged. */
|
|
832
1057
|
draggable?: boolean;
|
|
833
1058
|
selectable?: boolean;
|
|
834
1059
|
connectable?: boolean;
|
|
835
1060
|
deletable?: boolean;
|
|
1061
|
+
/**
|
|
1062
|
+
* A class name that can be applied to elements inside the node that allows those elements to act
|
|
1063
|
+
* as drag handles, letting the user drag the node by clicking and dragging on those elements.
|
|
1064
|
+
*/
|
|
836
1065
|
dragHandle?: string;
|
|
837
1066
|
width?: number;
|
|
838
1067
|
height?: number;
|
|
839
1068
|
initialWidth?: number;
|
|
840
1069
|
initialHeight?: number;
|
|
841
|
-
/** Parent node id, used for creating sub-flows */
|
|
1070
|
+
/** Parent node id, used for creating sub-flows. */
|
|
842
1071
|
parentId?: string;
|
|
843
1072
|
zIndex?: number;
|
|
844
1073
|
/**
|
|
845
|
-
* Boundary a node can be moved in
|
|
1074
|
+
* Boundary a node can be moved in.
|
|
846
1075
|
* @example 'parent' or [[0, 0], [100, 100]]
|
|
847
1076
|
*/
|
|
848
1077
|
extent?: "parent" | CoordinateExtent;
|
|
1078
|
+
/**
|
|
1079
|
+
* When `true`, the parent node will automatically expand if this node is dragged to the edge of
|
|
1080
|
+
* the parent node's bounds.
|
|
1081
|
+
*/
|
|
849
1082
|
expandParent?: boolean;
|
|
850
1083
|
ariaLabel?: string;
|
|
851
1084
|
/**
|
|
852
|
-
* Origin of the node relative to
|
|
1085
|
+
* Origin of the node relative to its position.
|
|
853
1086
|
* @example
|
|
854
1087
|
* [0.5, 0.5] // centers the node
|
|
855
1088
|
* [0, 0] // top left
|
|
@@ -862,7 +1095,7 @@ type NodeBase<NodeData extends Record<string, unknown> = Record<string, unknown>
|
|
|
862
1095
|
height?: number;
|
|
863
1096
|
};
|
|
864
1097
|
};
|
|
865
|
-
type InternalNodeBase<NodeType extends NodeBase = NodeBase> = NodeType & {
|
|
1098
|
+
type InternalNodeBase<NodeType extends NodeBase = NodeBase> = Omit<NodeType, "measured"> & {
|
|
866
1099
|
measured: {
|
|
867
1100
|
width?: number;
|
|
868
1101
|
height?: number;
|
|
@@ -880,11 +1113,11 @@ type InternalNodeBase<NodeType extends NodeBase = NodeBase> = NodeType & {
|
|
|
880
1113
|
};
|
|
881
1114
|
};
|
|
882
1115
|
type NodeProps<NodeType extends NodeBase> = Pick<NodeType, "id" | "data" | "width" | "height" | "sourcePosition" | "targetPosition" | "dragHandle" | "parentId"> & Required<Pick<NodeType, "type" | "dragging" | "zIndex" | "selectable" | "deletable" | "selected" | "draggable">> & {
|
|
883
|
-
/**
|
|
1116
|
+
/** Whether a node is connectable or not. */
|
|
884
1117
|
isConnectable: boolean;
|
|
885
|
-
/**
|
|
1118
|
+
/** Position absolute x value. */
|
|
886
1119
|
positionAbsoluteX: number;
|
|
887
|
-
/**
|
|
1120
|
+
/** Position absolute y value. */
|
|
888
1121
|
positionAbsoluteY: number;
|
|
889
1122
|
};
|
|
890
1123
|
type NodeHandleBounds = {
|
|
@@ -922,9 +1155,13 @@ type SetViewport = (viewport: Viewport, options?: ViewportHelperFunctionOptions)
|
|
|
922
1155
|
type SetCenter = (x: number, y: number, options?: SetCenterOptions) => Promise<boolean>;
|
|
923
1156
|
type FitBounds = (bounds: Rect, options?: FitBoundsOptions) => Promise<boolean>;
|
|
924
1157
|
type Connection = {
|
|
1158
|
+
/** The id of the node this connection originates from. */
|
|
925
1159
|
source: string;
|
|
1160
|
+
/** The id of the node this connection terminates at. */
|
|
926
1161
|
target: string;
|
|
1162
|
+
/** When not `null`, the id of the handle on the source node that this connection originates from. */
|
|
927
1163
|
sourceHandle: string | null;
|
|
1164
|
+
/** When not `null`, the id of the handle on the target node that this connection terminates at. */
|
|
928
1165
|
targetHandle: string | null;
|
|
929
1166
|
};
|
|
930
1167
|
type HandleConnection = Connection & {
|
|
@@ -1012,15 +1249,28 @@ type NoConnection = {
|
|
|
1012
1249
|
toNode: null;
|
|
1013
1250
|
};
|
|
1014
1251
|
type ConnectionInProgress<NodeType extends InternalNodeBase = InternalNodeBase> = {
|
|
1252
|
+
/** Indicates whether a connection is currently in progress. */
|
|
1015
1253
|
inProgress: true;
|
|
1254
|
+
/**
|
|
1255
|
+
* If an ongoing connection is above a handle or inside the connection radius, this will be `true`
|
|
1256
|
+
* or `false`, otherwise `null`.
|
|
1257
|
+
*/
|
|
1016
1258
|
isValid: boolean | null;
|
|
1259
|
+
/** Returns the xy start position or `null` if no connection is in progress. */
|
|
1017
1260
|
from: XYPosition;
|
|
1261
|
+
/** Returns the start handle or `null` if no connection is in progress. */
|
|
1018
1262
|
fromHandle: Handle;
|
|
1263
|
+
/** Returns the side (called position) of the start handle or `null` if no connection is in progress. */
|
|
1019
1264
|
fromPosition: Position;
|
|
1265
|
+
/** Returns the start node or `null` if no connection is in progress. */
|
|
1020
1266
|
fromNode: NodeType;
|
|
1267
|
+
/** Returns the xy end position or `null` if no connection is in progress. */
|
|
1021
1268
|
to: XYPosition;
|
|
1269
|
+
/** Returns the end handle or `null` if no connection is in progress. */
|
|
1022
1270
|
toHandle: Handle | null;
|
|
1271
|
+
/** Returns the side (called position) of the end handle or `null` if no connection is in progress. */
|
|
1023
1272
|
toPosition: Position;
|
|
1273
|
+
/** Returns the end node or `null` if no connection is in progress. */
|
|
1024
1274
|
toNode: NodeType | null;
|
|
1025
1275
|
};
|
|
1026
1276
|
type ConnectionState<NodeType extends InternalNodeBase = InternalNodeBase> = ConnectionInProgress<NodeType> | NoConnection;
|
|
@@ -1035,44 +1285,41 @@ type OnBeforeDeleteBase<NodeType extends NodeBase = NodeBase, EdgeType extends E
|
|
|
1035
1285
|
edges: EdgeType[];
|
|
1036
1286
|
}>;
|
|
1037
1287
|
type EdgeBase<EdgeData extends Record<string, unknown> = Record<string, unknown>, EdgeType extends string | undefined = string | undefined> = {
|
|
1038
|
-
/** Unique id of an edge */
|
|
1288
|
+
/** Unique id of an edge. */
|
|
1039
1289
|
id: string;
|
|
1040
|
-
/** Type of
|
|
1290
|
+
/** Type of edge defined in `edgeTypes`. */
|
|
1041
1291
|
type?: EdgeType;
|
|
1042
|
-
/** Id of source node */
|
|
1292
|
+
/** Id of source node. */
|
|
1043
1293
|
source: string;
|
|
1044
|
-
/** Id of target node */
|
|
1294
|
+
/** Id of target node. */
|
|
1045
1295
|
target: string;
|
|
1046
|
-
/**
|
|
1047
|
-
* Id of source handle
|
|
1048
|
-
* only needed if there are multiple handles per node
|
|
1049
|
-
*/
|
|
1296
|
+
/** Id of source handle, only needed if there are multiple handles per node. */
|
|
1050
1297
|
sourceHandle?: string | null;
|
|
1051
|
-
/**
|
|
1052
|
-
* Id of target handle
|
|
1053
|
-
* only needed if there are multiple handles per node
|
|
1054
|
-
*/
|
|
1298
|
+
/** Id of target handle, only needed if there are multiple handles per node. */
|
|
1055
1299
|
targetHandle?: string | null;
|
|
1056
1300
|
animated?: boolean;
|
|
1057
1301
|
hidden?: boolean;
|
|
1058
1302
|
deletable?: boolean;
|
|
1059
1303
|
selectable?: boolean;
|
|
1060
|
-
/** Arbitrary data passed to an edge */
|
|
1304
|
+
/** Arbitrary data passed to an edge. */
|
|
1061
1305
|
data?: EdgeData;
|
|
1062
1306
|
selected?: boolean;
|
|
1063
1307
|
/**
|
|
1064
|
-
* Set the marker on the beginning of an edge
|
|
1308
|
+
* Set the marker on the beginning of an edge.
|
|
1065
1309
|
* @example 'arrow', 'arrowclosed' or custom marker
|
|
1066
1310
|
*/
|
|
1067
1311
|
markerStart?: EdgeMarkerType;
|
|
1068
1312
|
/**
|
|
1069
|
-
* Set the marker on the end of an edge
|
|
1313
|
+
* Set the marker on the end of an edge.
|
|
1070
1314
|
* @example 'arrow', 'arrowclosed' or custom marker
|
|
1071
1315
|
*/
|
|
1072
1316
|
markerEnd?: EdgeMarkerType;
|
|
1073
1317
|
zIndex?: number;
|
|
1074
1318
|
ariaLabel?: string;
|
|
1075
|
-
/**
|
|
1319
|
+
/**
|
|
1320
|
+
* ReactFlow renders an invisible path around each edge to make them easier to click or tap on.
|
|
1321
|
+
* This property sets the width of that invisible path.
|
|
1322
|
+
*/
|
|
1076
1323
|
interactionWidth?: number;
|
|
1077
1324
|
};
|
|
1078
1325
|
type DefaultEdgeOptionsBase<EdgeType extends EdgeBase> = Omit<EdgeType, "id" | "source" | "target" | "sourceHandle" | "targetHandle" | "selected">;
|
|
@@ -1143,14 +1390,15 @@ type ViewportHelperFunctions = {
|
|
|
1143
1390
|
*/
|
|
1144
1391
|
zoomOut: ZoomInOut;
|
|
1145
1392
|
/**
|
|
1146
|
-
*
|
|
1393
|
+
* Zoom the viewport to a given zoom level. Passing in a `duration` will animate the viewport to
|
|
1394
|
+
* the new zoom level.
|
|
1147
1395
|
*
|
|
1148
1396
|
* @param zoomLevel - the zoom level to set
|
|
1149
1397
|
* @param options.duration - optional duration. If set, a transition will be applied
|
|
1150
1398
|
*/
|
|
1151
1399
|
zoomTo: ZoomTo;
|
|
1152
1400
|
/**
|
|
1153
|
-
*
|
|
1401
|
+
* Get the current zoom level of the viewport.
|
|
1154
1402
|
*
|
|
1155
1403
|
* @returns current zoom as a number
|
|
1156
1404
|
*/
|
|
@@ -1169,7 +1417,8 @@ type ViewportHelperFunctions = {
|
|
|
1169
1417
|
*/
|
|
1170
1418
|
getViewport: GetViewport;
|
|
1171
1419
|
/**
|
|
1172
|
-
*
|
|
1420
|
+
* Center the viewport on a given position. Passing in a `duration` will animate the viewport to
|
|
1421
|
+
* the new position.
|
|
1173
1422
|
*
|
|
1174
1423
|
* @param x - x position
|
|
1175
1424
|
* @param y - y position
|
|
@@ -1177,14 +1426,17 @@ type ViewportHelperFunctions = {
|
|
|
1177
1426
|
*/
|
|
1178
1427
|
setCenter: SetCenter;
|
|
1179
1428
|
/**
|
|
1180
|
-
*
|
|
1429
|
+
* A low-level utility function to fit the viewport to a given rectangle. By passing in a
|
|
1430
|
+
* `duration`, the viewport will animate from its current position to the new position. The
|
|
1431
|
+
* `padding` option can be used to add space around the bounds.
|
|
1181
1432
|
*
|
|
1182
1433
|
* @param bounds - the bounds ({ x: number, y: number, width: number, height: number }) to fit the view to
|
|
1183
1434
|
* @param options.padding - optional padding
|
|
1184
1435
|
*/
|
|
1185
1436
|
fitBounds: FitBounds;
|
|
1186
1437
|
/**
|
|
1187
|
-
*
|
|
1438
|
+
* With this function you can translate a screen pixel position to a flow position. It is useful
|
|
1439
|
+
* for implementing drag and drop from a sidebar for example.
|
|
1188
1440
|
*
|
|
1189
1441
|
* @param clientPosition - the screen / client position. When you are working with events you can use event.clientX and event.clientY
|
|
1190
1442
|
* @param options.snapToGrid - if true, the converted position will be snapped to the grid
|
|
@@ -1197,7 +1449,7 @@ type ViewportHelperFunctions = {
|
|
|
1197
1449
|
snapToGrid: boolean;
|
|
1198
1450
|
}) => XYPosition;
|
|
1199
1451
|
/**
|
|
1200
|
-
*
|
|
1452
|
+
* Translate a position inside the flow's canvas to a screen pixel position.
|
|
1201
1453
|
*
|
|
1202
1454
|
* @param flowPosition - the screen / client position. When you are working with events you can use event.clientX and event.clientY
|
|
1203
1455
|
* @returns position as { x: number, y: number }
|
|
@@ -1241,6 +1493,11 @@ type EdgeLabelOptions = {
|
|
|
1241
1493
|
type Edge<EdgeData extends Record<string, unknown> = Record<string, unknown>, EdgeType extends string | undefined = string | undefined> = EdgeBase<EdgeData, EdgeType> & EdgeLabelOptions & {
|
|
1242
1494
|
style?: CSSProperties;
|
|
1243
1495
|
className?: string;
|
|
1496
|
+
/**
|
|
1497
|
+
* Determines whether the edge can be updated by dragging the source or target to a new node.
|
|
1498
|
+
* This property will override the default set by the `edgesReconnectable` prop on the
|
|
1499
|
+
* `<ReactFlow />` component.
|
|
1500
|
+
*/
|
|
1244
1501
|
reconnectable?: boolean | HandleType;
|
|
1245
1502
|
focusable?: boolean;
|
|
1246
1503
|
};
|
|
@@ -1258,7 +1515,9 @@ type OnReconnect<EdgeType extends Edge = Edge> = (oldEdge: EdgeType, newConnecti
|
|
|
1258
1515
|
type ConnectionLineComponentProps<NodeType extends Node$1 = Node$1> = {
|
|
1259
1516
|
connectionLineStyle?: CSSProperties;
|
|
1260
1517
|
connectionLineType: ConnectionLineType;
|
|
1518
|
+
/** The node the connection line originates from. */
|
|
1261
1519
|
fromNode: InternalNode<NodeType>;
|
|
1520
|
+
/** The handle on the `fromNode` that the connection line originates from. */
|
|
1262
1521
|
fromHandle: Handle;
|
|
1263
1522
|
fromX: number;
|
|
1264
1523
|
fromY: number;
|
|
@@ -1266,6 +1525,10 @@ type ConnectionLineComponentProps<NodeType extends Node$1 = Node$1> = {
|
|
|
1266
1525
|
toY: number;
|
|
1267
1526
|
fromPosition: Position;
|
|
1268
1527
|
toPosition: Position;
|
|
1528
|
+
/**
|
|
1529
|
+
* If there is an `isValidConnection` callback, this prop will be set to `"valid"` or `"invalid"`
|
|
1530
|
+
* based on the return value of that callback. Otherwise, it will be `null`.
|
|
1531
|
+
*/
|
|
1269
1532
|
connectionStatus: "valid" | "invalid" | null;
|
|
1270
1533
|
toNode: InternalNode<NodeType> | null;
|
|
1271
1534
|
toHandle: Handle | null;
|
|
@@ -1274,6 +1537,7 @@ type ConnectionLineComponent<NodeType extends Node$1 = Node$1> = ComponentType<C
|
|
|
1274
1537
|
interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge = Edge> extends Omit<HTMLAttributes<HTMLDivElement>, "onError"> {
|
|
1275
1538
|
/**
|
|
1276
1539
|
* An array of nodes to render in a controlled flow.
|
|
1540
|
+
* @default []
|
|
1277
1541
|
* @example
|
|
1278
1542
|
* const nodes = [
|
|
1279
1543
|
* {
|
|
@@ -1287,6 +1551,7 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1287
1551
|
nodes?: NodeType[];
|
|
1288
1552
|
/**
|
|
1289
1553
|
* An array of edges to render in a controlled flow.
|
|
1554
|
+
* @default []
|
|
1290
1555
|
* @example
|
|
1291
1556
|
* const edges = [
|
|
1292
1557
|
* {
|
|
@@ -1322,51 +1587,66 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1322
1587
|
* }
|
|
1323
1588
|
*/
|
|
1324
1589
|
defaultEdgeOptions?: DefaultEdgeOptions;
|
|
1325
|
-
/** This event handler is called when a user clicks on a node */
|
|
1590
|
+
/** This event handler is called when a user clicks on a node. */
|
|
1326
1591
|
onNodeClick?: NodeMouseHandler<NodeType>;
|
|
1327
|
-
/** This event handler is called when a user double
|
|
1592
|
+
/** This event handler is called when a user double-clicks on a node. */
|
|
1328
1593
|
onNodeDoubleClick?: NodeMouseHandler<NodeType>;
|
|
1329
|
-
/** This event handler is called when mouse of a user enters a node */
|
|
1594
|
+
/** This event handler is called when mouse of a user enters a node. */
|
|
1330
1595
|
onNodeMouseEnter?: NodeMouseHandler<NodeType>;
|
|
1331
|
-
/** This event handler is called when mouse of a user moves over a node */
|
|
1596
|
+
/** This event handler is called when mouse of a user moves over a node. */
|
|
1332
1597
|
onNodeMouseMove?: NodeMouseHandler<NodeType>;
|
|
1333
|
-
/** This event handler is called when mouse of a user leaves a node */
|
|
1598
|
+
/** This event handler is called when mouse of a user leaves a node. */
|
|
1334
1599
|
onNodeMouseLeave?: NodeMouseHandler<NodeType>;
|
|
1335
|
-
/** This event handler is called when a user right
|
|
1600
|
+
/** This event handler is called when a user right-clicks on a node. */
|
|
1336
1601
|
onNodeContextMenu?: NodeMouseHandler<NodeType>;
|
|
1337
|
-
/** This event handler is called when a user starts to drag a node */
|
|
1602
|
+
/** This event handler is called when a user starts to drag a node. */
|
|
1338
1603
|
onNodeDragStart?: OnNodeDrag<NodeType>;
|
|
1339
|
-
/** This event handler is called when a user drags a node */
|
|
1604
|
+
/** This event handler is called when a user drags a node. */
|
|
1340
1605
|
onNodeDrag?: OnNodeDrag<NodeType>;
|
|
1341
|
-
/** This event handler is called when a user stops dragging a node */
|
|
1606
|
+
/** This event handler is called when a user stops dragging a node. */
|
|
1342
1607
|
onNodeDragStop?: OnNodeDrag<NodeType>;
|
|
1343
|
-
/** This event handler is called when a user clicks on an edge */
|
|
1608
|
+
/** This event handler is called when a user clicks on an edge. */
|
|
1344
1609
|
onEdgeClick?: (event: ReactMouseEvent, edge: EdgeType) => void;
|
|
1345
|
-
/** This event handler is called when a user right
|
|
1610
|
+
/** This event handler is called when a user right-clicks on an edge. */
|
|
1346
1611
|
onEdgeContextMenu?: EdgeMouseHandler<EdgeType>;
|
|
1347
|
-
/** This event handler is called when mouse of a user enters an edge */
|
|
1612
|
+
/** This event handler is called when mouse of a user enters an edge. */
|
|
1348
1613
|
onEdgeMouseEnter?: EdgeMouseHandler<EdgeType>;
|
|
1349
|
-
/** This event handler is called when mouse of a user moves over an edge */
|
|
1614
|
+
/** This event handler is called when mouse of a user moves over an edge. */
|
|
1350
1615
|
onEdgeMouseMove?: EdgeMouseHandler<EdgeType>;
|
|
1351
|
-
/** This event handler is called when mouse of a user leaves an edge */
|
|
1616
|
+
/** This event handler is called when mouse of a user leaves an edge. */
|
|
1352
1617
|
onEdgeMouseLeave?: EdgeMouseHandler<EdgeType>;
|
|
1353
|
-
/** This event handler is called when a user double
|
|
1618
|
+
/** This event handler is called when a user double-clicks on an edge. */
|
|
1354
1619
|
onEdgeDoubleClick?: EdgeMouseHandler<EdgeType>;
|
|
1620
|
+
/**
|
|
1621
|
+
* This handler is called when the source or target of a reconnectable edge is dragged from the
|
|
1622
|
+
* current node. It will fire even if the edge's source or target do not end up changing.
|
|
1623
|
+
*
|
|
1624
|
+
* You can use the `reconnectEdge` utility to convert the connection to a new edge.
|
|
1625
|
+
*/
|
|
1355
1626
|
onReconnect?: OnReconnect<EdgeType>;
|
|
1627
|
+
/**
|
|
1628
|
+
* This event fires when the user begins dragging the source or target of an editable edge.
|
|
1629
|
+
*/
|
|
1356
1630
|
onReconnectStart?: (event: ReactMouseEvent, edge: EdgeType, handleType: HandleType) => void;
|
|
1631
|
+
/**
|
|
1632
|
+
* This event fires when the user releases the source or target of an editable edge. It is called
|
|
1633
|
+
* even if an edge update does not occur.
|
|
1634
|
+
*
|
|
1635
|
+
*/
|
|
1357
1636
|
onReconnectEnd?: (event: MouseEvent | TouchEvent, edge: EdgeType, handleType: HandleType) => void;
|
|
1358
1637
|
/**
|
|
1359
|
-
*
|
|
1638
|
+
* Use this event handler to add interactivity to a controlled flow.
|
|
1639
|
+
* It is called on node drag, select, and move.
|
|
1360
1640
|
* @example // Use NodesState hook to create edges and get onNodesChange handler
|
|
1361
1641
|
* import ReactFlow, { useNodesState } from '@xyflow/react';
|
|
1362
|
-
* const [
|
|
1642
|
+
* const [nodes, setNodes, onNodesChange] = useNodesState(initialNodes);
|
|
1363
1643
|
*
|
|
1364
1644
|
* return (<ReactFlow onNodeChange={onNodeChange} {...rest} />)
|
|
1365
|
-
* @example // Use helper function to update
|
|
1645
|
+
* @example // Use helper function to update node
|
|
1366
1646
|
* import ReactFlow, { applyNodeChanges } from '@xyflow/react';
|
|
1367
1647
|
*
|
|
1368
1648
|
* const onNodeChange = useCallback(
|
|
1369
|
-
* (changes) => setNode((
|
|
1649
|
+
* (changes) => setNode((nds) => applyNodeChanges(changes, nds)),
|
|
1370
1650
|
* [],
|
|
1371
1651
|
* );
|
|
1372
1652
|
*
|
|
@@ -1374,7 +1654,8 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1374
1654
|
*/
|
|
1375
1655
|
onNodesChange?: OnNodesChange<NodeType>;
|
|
1376
1656
|
/**
|
|
1377
|
-
*
|
|
1657
|
+
* Use this event handler to add interactivity to a controlled flow. It is called on edge select
|
|
1658
|
+
* and remove.
|
|
1378
1659
|
* @example // Use EdgesState hook to create edges and get onEdgesChange handler
|
|
1379
1660
|
* import ReactFlow, { useEdgesState } from '@xyflow/react';
|
|
1380
1661
|
* const [edges, setEdges, onEdgesChange] = useEdgesState(initialEdges);
|
|
@@ -1391,25 +1672,28 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1391
1672
|
* return (<ReactFlow onEdgesChange={onEdgesChange} {...rest} />)
|
|
1392
1673
|
*/
|
|
1393
1674
|
onEdgesChange?: OnEdgesChange<EdgeType>;
|
|
1394
|
-
/** This event handler gets called when a
|
|
1675
|
+
/** This event handler gets called when a node is deleted. */
|
|
1395
1676
|
onNodesDelete?: OnNodesDelete<NodeType>;
|
|
1396
|
-
/** This event handler gets called when
|
|
1677
|
+
/** This event handler gets called when an edge is deleted. */
|
|
1397
1678
|
onEdgesDelete?: OnEdgesDelete<EdgeType>;
|
|
1398
|
-
/** This event handler gets called when a
|
|
1679
|
+
/** This event handler gets called when a node or edge is deleted. */
|
|
1399
1680
|
onDelete?: OnDelete<NodeType, EdgeType>;
|
|
1400
|
-
/** This event handler gets called when a user starts to drag a selection box */
|
|
1681
|
+
/** This event handler gets called when a user starts to drag a selection box. */
|
|
1401
1682
|
onSelectionDragStart?: SelectionDragHandler<NodeType>;
|
|
1402
|
-
/** This event handler gets called when a user drags a selection box */
|
|
1683
|
+
/** This event handler gets called when a user drags a selection box. */
|
|
1403
1684
|
onSelectionDrag?: SelectionDragHandler<NodeType>;
|
|
1404
|
-
/** This event handler gets called when a user stops dragging a selection box */
|
|
1685
|
+
/** This event handler gets called when a user stops dragging a selection box. */
|
|
1405
1686
|
onSelectionDragStop?: SelectionDragHandler<NodeType>;
|
|
1406
1687
|
onSelectionStart?: (event: ReactMouseEvent) => void;
|
|
1407
1688
|
onSelectionEnd?: (event: ReactMouseEvent) => void;
|
|
1689
|
+
/**
|
|
1690
|
+
* This event handler is called when a user right-clicks on a node selection.
|
|
1691
|
+
*/
|
|
1408
1692
|
onSelectionContextMenu?: (event: ReactMouseEvent, nodes: NodeType[]) => void;
|
|
1409
1693
|
/**
|
|
1410
1694
|
* When a connection line is completed and two nodes are connected by the user, this event fires with the new connection.
|
|
1411
1695
|
*
|
|
1412
|
-
* You can use the addEdge utility to convert the connection to a complete edge.
|
|
1696
|
+
* You can use the `addEdge` utility to convert the connection to a complete edge.
|
|
1413
1697
|
* @example // Use helper function to update edges onConnect
|
|
1414
1698
|
* import ReactFlow, { addEdge } from '@xyflow/react';
|
|
1415
1699
|
*
|
|
@@ -1421,50 +1705,70 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1421
1705
|
* return (<ReactFlow onConnect={onConnect} {...rest} />)
|
|
1422
1706
|
*/
|
|
1423
1707
|
onConnect?: OnConnect;
|
|
1424
|
-
/** This event handler gets called when a user starts to drag a connection line */
|
|
1708
|
+
/** This event handler gets called when a user starts to drag a connection line. */
|
|
1425
1709
|
onConnectStart?: OnConnectStart;
|
|
1426
|
-
/**
|
|
1710
|
+
/**
|
|
1711
|
+
* This callback will fire regardless of whether a valid connection could be made or not. You can
|
|
1712
|
+
* use the second `connectionState` parameter to have different behavior when a connection was
|
|
1713
|
+
* unsuccessful.
|
|
1714
|
+
*/
|
|
1427
1715
|
onConnectEnd?: OnConnectEnd;
|
|
1428
1716
|
onClickConnectStart?: OnConnectStart;
|
|
1429
1717
|
onClickConnectEnd?: OnConnectEnd;
|
|
1430
|
-
/**
|
|
1718
|
+
/**
|
|
1719
|
+
* The `onInit` callback is called when the viewport is initialized. At this point you can use the
|
|
1720
|
+
* instance to call methods like `fitView` or `zoomTo`.
|
|
1721
|
+
*/
|
|
1431
1722
|
onInit?: OnInit<NodeType, EdgeType>;
|
|
1432
1723
|
/** This event handler is called while the user is either panning or zooming the viewport. */
|
|
1433
1724
|
onMove?: OnMove;
|
|
1434
|
-
/** This event handler
|
|
1725
|
+
/** This event handler is called when the user begins to pan or zoom the viewport. */
|
|
1435
1726
|
onMoveStart?: OnMoveStart;
|
|
1436
|
-
/**
|
|
1727
|
+
/**
|
|
1728
|
+
* This event handler is called when panning or zooming viewport movement stops.
|
|
1729
|
+
* If the movement is not user-initiated, the event parameter will be `null`.
|
|
1730
|
+
*/
|
|
1437
1731
|
onMoveEnd?: OnMoveEnd;
|
|
1438
|
-
/** This event handler gets called when a user changes group of selected elements in the flow */
|
|
1732
|
+
/** This event handler gets called when a user changes group of selected elements in the flow. */
|
|
1439
1733
|
onSelectionChange?: OnSelectionChangeFunc<NodeType, EdgeType>;
|
|
1440
|
-
/** This event handler gets called when user scroll inside the pane */
|
|
1734
|
+
/** This event handler gets called when user scroll inside the pane. */
|
|
1441
1735
|
onPaneScroll?: (event?: WheelEvent) => void;
|
|
1442
|
-
/** This event handler gets called when user clicks inside the pane */
|
|
1736
|
+
/** This event handler gets called when user clicks inside the pane. */
|
|
1443
1737
|
onPaneClick?: (event: ReactMouseEvent) => void;
|
|
1444
|
-
/** This event handler gets called when user right clicks inside the pane */
|
|
1738
|
+
/** This event handler gets called when user right clicks inside the pane. */
|
|
1445
1739
|
onPaneContextMenu?: (event: ReactMouseEvent | MouseEvent) => void;
|
|
1446
|
-
/** This event handler gets called when mouse enters the pane */
|
|
1740
|
+
/** This event handler gets called when mouse enters the pane. */
|
|
1447
1741
|
onPaneMouseEnter?: (event: ReactMouseEvent) => void;
|
|
1448
|
-
/** This event handler gets called when mouse moves over the pane */
|
|
1742
|
+
/** This event handler gets called when mouse moves over the pane. */
|
|
1449
1743
|
onPaneMouseMove?: (event: ReactMouseEvent) => void;
|
|
1450
|
-
/** This event handler gets called when mouse leaves the pane */
|
|
1744
|
+
/** This event handler gets called when mouse leaves the pane. */
|
|
1451
1745
|
onPaneMouseLeave?: (event: ReactMouseEvent) => void;
|
|
1452
1746
|
/**
|
|
1453
|
-
* Distance that the mouse can move between mousedown/up that will trigger a click
|
|
1747
|
+
* Distance that the mouse can move between mousedown/up that will trigger a click.
|
|
1454
1748
|
* @default 0
|
|
1455
1749
|
*/
|
|
1456
1750
|
paneClickDistance?: number;
|
|
1457
1751
|
/**
|
|
1458
|
-
* Distance that the mouse can move between mousedown/up that will trigger a click
|
|
1752
|
+
* Distance that the mouse can move between mousedown/up that will trigger a click.
|
|
1459
1753
|
* @default 0
|
|
1460
1754
|
*/
|
|
1461
1755
|
nodeClickDistance?: number;
|
|
1462
|
-
/**
|
|
1756
|
+
/**
|
|
1757
|
+
* This handler is called before nodes or edges are deleted, allowing the deletion to be aborted
|
|
1758
|
+
* by returning `false` or modified by returning updated nodes and edges.
|
|
1759
|
+
*/
|
|
1463
1760
|
onBeforeDelete?: OnBeforeDelete<NodeType, EdgeType>;
|
|
1464
1761
|
/**
|
|
1465
1762
|
* Custom node types to be available in a flow.
|
|
1466
1763
|
*
|
|
1467
|
-
* React Flow matches a node's type to a component in the nodeTypes object.
|
|
1764
|
+
* React Flow matches a node's type to a component in the `nodeTypes` object.
|
|
1765
|
+
* @TODO check if @default is correct
|
|
1766
|
+
* @default {
|
|
1767
|
+
* input: InputNode,
|
|
1768
|
+
* default: DefaultNode,
|
|
1769
|
+
* output: OutputNode,
|
|
1770
|
+
* group: GroupNode
|
|
1771
|
+
* }
|
|
1468
1772
|
* @example
|
|
1469
1773
|
* import CustomNode from './CustomNode';
|
|
1470
1774
|
*
|
|
@@ -1474,7 +1778,15 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1474
1778
|
/**
|
|
1475
1779
|
* Custom edge types to be available in a flow.
|
|
1476
1780
|
*
|
|
1477
|
-
* React Flow matches an edge's type to a component in the edgeTypes object.
|
|
1781
|
+
* React Flow matches an edge's type to a component in the `edgeTypes` object.
|
|
1782
|
+
* @TODO check if @default is correct
|
|
1783
|
+
* @default {
|
|
1784
|
+
* default: BezierEdge,
|
|
1785
|
+
* straight: StraightEdge,
|
|
1786
|
+
* step: StepEdge,
|
|
1787
|
+
* smoothstep: SmoothStepEdge,
|
|
1788
|
+
* simplebezier: SimpleBezier
|
|
1789
|
+
* }
|
|
1478
1790
|
* @example
|
|
1479
1791
|
* import CustomEdge from './CustomEdge';
|
|
1480
1792
|
*
|
|
@@ -1485,91 +1797,110 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1485
1797
|
* The type of edge path to use for connection lines.
|
|
1486
1798
|
*
|
|
1487
1799
|
* Although created edges can be of any type, React Flow needs to know what type of path to render for the connection line before the edge is created!
|
|
1800
|
+
* @default ConnectionLineType.Bezier
|
|
1488
1801
|
*/
|
|
1489
1802
|
connectionLineType?: ConnectionLineType;
|
|
1490
|
-
/** Styles to be applied to the connection line */
|
|
1803
|
+
/** Styles to be applied to the connection line. */
|
|
1491
1804
|
connectionLineStyle?: CSSProperties;
|
|
1492
|
-
/** React Component to be used as a connection line */
|
|
1805
|
+
/** React Component to be used as a connection line. */
|
|
1493
1806
|
connectionLineComponent?: ConnectionLineComponent<NodeType>;
|
|
1494
|
-
/** Styles to be applied to the container of the connection line */
|
|
1807
|
+
/** Styles to be applied to the container of the connection line. */
|
|
1495
1808
|
connectionLineContainerStyle?: CSSProperties;
|
|
1496
1809
|
/**
|
|
1497
|
-
*
|
|
1498
|
-
*
|
|
1499
|
-
*
|
|
1810
|
+
* A loose connection mode will allow you to connect handles with differing types, including
|
|
1811
|
+
* source-to-source connections. However, it does not support target-to-target connections. Strict
|
|
1812
|
+
* mode allows only connections between source handles and target handles.
|
|
1500
1813
|
* @default 'strict'
|
|
1501
1814
|
*/
|
|
1502
1815
|
connectionMode?: ConnectionMode;
|
|
1503
1816
|
/**
|
|
1504
|
-
*
|
|
1817
|
+
* If set, pressing the key or chord will delete any selected nodes and edges. Passing an array
|
|
1818
|
+
* represents multiple keys that can be pressed.
|
|
1819
|
+
*
|
|
1820
|
+
* For example, `["Delete", "Backspace"]` will delete selected elements when either key is pressed.
|
|
1505
1821
|
* @default 'Backspace'
|
|
1506
1822
|
*/
|
|
1507
1823
|
deleteKeyCode?: KeyCode | null;
|
|
1508
1824
|
/**
|
|
1509
|
-
* If
|
|
1825
|
+
* If set, holding this key will let you click and drag to draw a selection box around multiple
|
|
1826
|
+
* nodes and edges. Passing an array represents multiple keys that can be pressed.
|
|
1510
1827
|
*
|
|
1511
|
-
*
|
|
1512
|
-
*
|
|
1828
|
+
* For example, `["Shift", "Meta"]` will allow you to draw a selection box when either key is
|
|
1829
|
+
* pressed.
|
|
1830
|
+
* @default 'Shift'
|
|
1513
1831
|
*/
|
|
1514
1832
|
selectionKeyCode?: KeyCode | null;
|
|
1515
|
-
/**
|
|
1833
|
+
/**
|
|
1834
|
+
* Select multiple elements with a selection box, without pressing down `selectionKey`.
|
|
1835
|
+
* @default false
|
|
1836
|
+
*/
|
|
1516
1837
|
selectionOnDrag?: boolean;
|
|
1517
1838
|
/**
|
|
1518
|
-
* When set to "partial"
|
|
1839
|
+
* When set to `"partial"`, when the user creates a selection box by click and dragging nodes that
|
|
1840
|
+
* are only partially in the box are still selected.
|
|
1519
1841
|
* @default 'full'
|
|
1520
1842
|
*/
|
|
1521
1843
|
selectionMode?: SelectionMode$1;
|
|
1522
1844
|
/**
|
|
1523
|
-
* If a key is set, you can pan the viewport while that key is held down even if panOnScroll
|
|
1845
|
+
* If a key is set, you can pan the viewport while that key is held down even if `panOnScroll`
|
|
1846
|
+
* is set to `false`.
|
|
1524
1847
|
*
|
|
1525
|
-
* By setting this prop to null you can disable this functionality.
|
|
1848
|
+
* By setting this prop to `null` you can disable this functionality.
|
|
1526
1849
|
* @default 'Space'
|
|
1527
1850
|
*/
|
|
1528
1851
|
panActivationKeyCode?: KeyCode | null;
|
|
1529
1852
|
/**
|
|
1530
1853
|
* Pressing down this key you can select multiple elements by clicking.
|
|
1531
|
-
* @default
|
|
1854
|
+
* @default "Meta" for macOS, "Control" for other systems
|
|
1532
1855
|
*/
|
|
1533
1856
|
multiSelectionKeyCode?: KeyCode | null;
|
|
1534
1857
|
/**
|
|
1535
|
-
* If a key is set, you can zoom the viewport while that key is held down even if panOnScroll
|
|
1858
|
+
* If a key is set, you can zoom the viewport while that key is held down even if `panOnScroll`
|
|
1859
|
+
* is set to `false`.
|
|
1536
1860
|
*
|
|
1537
|
-
* By setting this prop to null you can disable this functionality.
|
|
1538
|
-
* @default
|
|
1861
|
+
* By setting this prop to `null` you can disable this functionality.
|
|
1862
|
+
* @default "Meta" for macOS, "Control" for other systems
|
|
1539
1863
|
*
|
|
1540
1864
|
*/
|
|
1541
1865
|
zoomActivationKeyCode?: KeyCode | null;
|
|
1542
|
-
/**
|
|
1866
|
+
/** When enabled, nodes will snap to the grid when dragged. */
|
|
1543
1867
|
snapToGrid?: boolean;
|
|
1544
1868
|
/**
|
|
1545
|
-
*
|
|
1869
|
+
* If `snapToGrid` is enabled, this prop configures the grid that nodes will snap to.
|
|
1546
1870
|
* @example [20, 20]
|
|
1547
1871
|
*/
|
|
1548
1872
|
snapGrid?: SnapGrid;
|
|
1549
1873
|
/**
|
|
1550
|
-
* You can enable this optimisation to instruct
|
|
1874
|
+
* You can enable this optimisation to instruct React Flow to only render nodes and edges that would be visible in the viewport.
|
|
1551
1875
|
*
|
|
1552
1876
|
* This might improve performance when you have a large number of nodes and edges but also adds an overhead.
|
|
1553
1877
|
* @default false
|
|
1554
1878
|
*/
|
|
1555
1879
|
onlyRenderVisibleElements?: boolean;
|
|
1556
1880
|
/**
|
|
1557
|
-
* Controls
|
|
1881
|
+
* Controls whether all nodes should be draggable or not. Individual nodes can override this
|
|
1882
|
+
* setting by setting their `draggable` prop. If you want to use the mouse handlers on
|
|
1883
|
+
* non-draggable nodes, you need to add the `"nopan"` class to those nodes.
|
|
1558
1884
|
* @default true
|
|
1559
1885
|
*/
|
|
1560
1886
|
nodesDraggable?: boolean;
|
|
1561
1887
|
/**
|
|
1562
|
-
* Controls
|
|
1888
|
+
* Controls whether all nodes should be connectable or not. Individual nodes can override this
|
|
1889
|
+
* setting by setting their `connectable` prop.
|
|
1563
1890
|
* @default true
|
|
1564
1891
|
*/
|
|
1565
1892
|
nodesConnectable?: boolean;
|
|
1566
1893
|
/**
|
|
1567
|
-
*
|
|
1894
|
+
* When `true`, focus between nodes can be cycled with the `Tab` key and selected with the `Enter`
|
|
1895
|
+
* key. This option can be overridden by individual nodes by setting their `focusable` prop.
|
|
1568
1896
|
* @default true
|
|
1569
1897
|
*/
|
|
1570
1898
|
nodesFocusable?: boolean;
|
|
1571
1899
|
/**
|
|
1572
|
-
*
|
|
1900
|
+
* The origin of the node to use when placing it in the flow or looking up its `x` and `y`
|
|
1901
|
+
* position. An origin of `[0, 0]` means that a node's top left corner will be placed at the `x`
|
|
1902
|
+
* and `y` position.
|
|
1903
|
+
* @default [0, 0]
|
|
1573
1904
|
* @example
|
|
1574
1905
|
* [0, 0] // default, top left
|
|
1575
1906
|
* [0.5, 0.5] // center
|
|
@@ -1577,49 +1908,57 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1577
1908
|
*/
|
|
1578
1909
|
nodeOrigin?: NodeOrigin;
|
|
1579
1910
|
/**
|
|
1580
|
-
*
|
|
1911
|
+
* When `true`, focus between edges can be cycled with the `Tab` key and selected with the `Enter`
|
|
1912
|
+
* key. This option can be overridden by individual edges by setting their `focusable` prop.
|
|
1581
1913
|
* @default true
|
|
1582
1914
|
*/
|
|
1583
1915
|
edgesFocusable?: boolean;
|
|
1584
1916
|
/**
|
|
1585
|
-
*
|
|
1917
|
+
* Whether edges can be updated once they are created. When both this prop is `true` and an
|
|
1918
|
+
* `onReconnect` handler is provided, the user can drag an existing edge to a new source or
|
|
1919
|
+
* target. Individual edges can override this value with their reconnectable property.
|
|
1586
1920
|
* @default true
|
|
1587
1921
|
*/
|
|
1588
1922
|
edgesReconnectable?: boolean;
|
|
1589
1923
|
/**
|
|
1590
|
-
*
|
|
1924
|
+
* When `true`, elements (nodes and edges) can be selected by clicking on them. This option can be
|
|
1925
|
+
* overridden by individual elements by setting their `selectable` prop.
|
|
1591
1926
|
* @default true
|
|
1592
1927
|
*/
|
|
1593
1928
|
elementsSelectable?: boolean;
|
|
1594
1929
|
/**
|
|
1595
|
-
* If true
|
|
1930
|
+
* If `true`, nodes get selected on drag.
|
|
1596
1931
|
* @default true
|
|
1597
1932
|
*/
|
|
1598
1933
|
selectNodesOnDrag?: boolean;
|
|
1599
1934
|
/**
|
|
1600
|
-
*
|
|
1935
|
+
* Enabling this prop allows users to pan the viewport by clicking and dragging.
|
|
1601
1936
|
*
|
|
1602
1937
|
* You can also set this prop to an array of numbers to limit which mouse buttons can activate panning.
|
|
1938
|
+
* @default true
|
|
1603
1939
|
* @example [0, 2] // allows panning with the left and right mouse buttons
|
|
1604
1940
|
* [0, 1, 2, 3, 4] // allows panning with all mouse buttons
|
|
1605
1941
|
*/
|
|
1606
1942
|
panOnDrag?: boolean | number[];
|
|
1607
1943
|
/**
|
|
1608
|
-
* Minimum zoom level
|
|
1944
|
+
* Minimum zoom level.
|
|
1609
1945
|
* @default 0.5
|
|
1610
1946
|
*/
|
|
1611
1947
|
minZoom?: number;
|
|
1612
1948
|
/**
|
|
1613
|
-
* Maximum zoom level
|
|
1949
|
+
* Maximum zoom level.
|
|
1614
1950
|
* @default 2
|
|
1615
1951
|
*/
|
|
1616
1952
|
maxZoom?: number;
|
|
1617
|
-
/**
|
|
1953
|
+
/**
|
|
1954
|
+
* When you pass a `viewport` prop, it's controlled, and you also need to pass `onViewportChange`
|
|
1955
|
+
* to handle internal changes.
|
|
1956
|
+
*/
|
|
1618
1957
|
viewport?: Viewport;
|
|
1619
1958
|
/**
|
|
1620
|
-
* Sets the initial position and zoom of the viewport.
|
|
1621
|
-
*
|
|
1622
|
-
*
|
|
1959
|
+
* Sets the initial position and zoom of the viewport. If a default viewport is provided but
|
|
1960
|
+
* `fitView` is enabled, the default viewport will be ignored.
|
|
1961
|
+
* @default { x: 0, y: 0, zoom: 1 }
|
|
1623
1962
|
* @example
|
|
1624
1963
|
* const initialViewport = {
|
|
1625
1964
|
* zoom: 0.5,
|
|
@@ -1628,13 +1967,14 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1628
1967
|
*/
|
|
1629
1968
|
defaultViewport?: Viewport;
|
|
1630
1969
|
/**
|
|
1631
|
-
*
|
|
1970
|
+
* Used when working with a controlled viewport for updating the user viewport state.
|
|
1632
1971
|
*/
|
|
1633
1972
|
onViewportChange?: (viewport: Viewport) => void;
|
|
1634
1973
|
/**
|
|
1635
|
-
* By default the viewport extends infinitely. You can use this prop to set a boundary.
|
|
1974
|
+
* By default, the viewport extends infinitely. You can use this prop to set a boundary.
|
|
1636
1975
|
*
|
|
1637
1976
|
* The first pair of coordinates is the top left boundary and the second pair is the bottom right.
|
|
1977
|
+
* @default [[-∞, -∞], [+∞, +∞]]
|
|
1638
1978
|
* @example [[-1000, -10000], [1000, 1000]]
|
|
1639
1979
|
*/
|
|
1640
1980
|
translateExtent?: CoordinateExtent;
|
|
@@ -1644,51 +1984,86 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1644
1984
|
*/
|
|
1645
1985
|
preventScrolling?: boolean;
|
|
1646
1986
|
/**
|
|
1647
|
-
* By default nodes can be placed on an infinite flow. You can use this prop to set a boundary.
|
|
1987
|
+
* By default, nodes can be placed on an infinite flow. You can use this prop to set a boundary.
|
|
1648
1988
|
*
|
|
1649
1989
|
* The first pair of coordinates is the top left boundary and the second pair is the bottom right.
|
|
1650
1990
|
* @example [[-1000, -10000], [1000, 1000]]
|
|
1651
1991
|
*/
|
|
1652
1992
|
nodeExtent?: CoordinateExtent;
|
|
1653
1993
|
/**
|
|
1654
|
-
* Color of edge markers
|
|
1655
|
-
* @
|
|
1994
|
+
* Color of edge markers.
|
|
1995
|
+
* @default '#b1b1b7'
|
|
1656
1996
|
*/
|
|
1657
1997
|
defaultMarkerColor?: string;
|
|
1658
|
-
/**
|
|
1998
|
+
/**
|
|
1999
|
+
* Controls if the viewport should zoom by scrolling inside the container.
|
|
2000
|
+
* @default true
|
|
2001
|
+
*/
|
|
1659
2002
|
zoomOnScroll?: boolean;
|
|
1660
|
-
/**
|
|
2003
|
+
/**
|
|
2004
|
+
* Controls if the viewport should zoom by pinching on a touch screen.
|
|
2005
|
+
* @default true
|
|
2006
|
+
*/
|
|
1661
2007
|
zoomOnPinch?: boolean;
|
|
1662
2008
|
/**
|
|
1663
|
-
* Controls if the viewport should pan by scrolling inside the container
|
|
2009
|
+
* Controls if the viewport should pan by scrolling inside the container.
|
|
1664
2010
|
*
|
|
1665
|
-
* Can be limited to a specific direction with panOnScrollMode
|
|
2011
|
+
* Can be limited to a specific direction with `panOnScrollMode`.
|
|
2012
|
+
* @default false
|
|
1666
2013
|
*/
|
|
1667
2014
|
panOnScroll?: boolean;
|
|
1668
2015
|
/**
|
|
1669
2016
|
* Controls how fast viewport should be panned on scroll.
|
|
1670
2017
|
*
|
|
1671
|
-
* Use
|
|
2018
|
+
* Use together with `panOnScroll` prop.
|
|
2019
|
+
* @default 0.5
|
|
1672
2020
|
*/
|
|
1673
2021
|
panOnScrollSpeed?: number;
|
|
1674
2022
|
/**
|
|
1675
|
-
* This prop is used to limit the direction of panning when panOnScroll is enabled.
|
|
2023
|
+
* This prop is used to limit the direction of panning when `panOnScroll` is enabled.
|
|
1676
2024
|
*
|
|
1677
|
-
* The "free" option allows panning in any direction.
|
|
2025
|
+
* The `"free"` option allows panning in any direction.
|
|
1678
2026
|
* @default "free"
|
|
1679
2027
|
* @example "horizontal" | "vertical"
|
|
1680
2028
|
*/
|
|
1681
2029
|
panOnScrollMode?: PanOnScrollMode;
|
|
1682
|
-
/**
|
|
2030
|
+
/**
|
|
2031
|
+
* Controls if the viewport should zoom by double-clicking somewhere on the flow.
|
|
2032
|
+
* @default true
|
|
2033
|
+
*/
|
|
1683
2034
|
zoomOnDoubleClick?: boolean;
|
|
2035
|
+
/**
|
|
2036
|
+
* The radius around an edge connection that can trigger an edge reconnection.
|
|
2037
|
+
* @default 10
|
|
2038
|
+
*/
|
|
1684
2039
|
reconnectRadius?: number;
|
|
2040
|
+
/**
|
|
2041
|
+
* If a node is draggable, clicking and dragging that node will move it around the canvas. Adding
|
|
2042
|
+
* the `"nodrag"` class prevents this behavior and this prop allows you to change the name of that
|
|
2043
|
+
* class.
|
|
2044
|
+
* @default "nodrag"
|
|
2045
|
+
*/
|
|
1685
2046
|
noDragClassName?: string;
|
|
2047
|
+
/**
|
|
2048
|
+
* Typically, scrolling the mouse wheel when the mouse is over the canvas will zoom the viewport.
|
|
2049
|
+
* Adding the `"nowheel"` class to an element n the canvas will prevent this behavior and this prop
|
|
2050
|
+
* allows you to change the name of that class.
|
|
2051
|
+
* @default "nowheel"
|
|
2052
|
+
*/
|
|
1686
2053
|
noWheelClassName?: string;
|
|
2054
|
+
/**
|
|
2055
|
+
* If an element in the canvas does not stop mouse events from propagating, clicking and dragging
|
|
2056
|
+
* that element will pan the viewport. Adding the `"nopan"` class prevents this behavior and this
|
|
2057
|
+
* prop allows you to change the name of that class.
|
|
2058
|
+
* @default "nopan"
|
|
2059
|
+
*/
|
|
1687
2060
|
noPanClassName?: string;
|
|
1688
|
-
/**
|
|
2061
|
+
/** When `true`, the flow will be zoomed and panned to fit all the nodes initially provided. */
|
|
1689
2062
|
fitView?: boolean;
|
|
1690
2063
|
/**
|
|
1691
|
-
*
|
|
2064
|
+
* When you typically call `fitView` on a `ReactFlowInstance`, you can provide an object of
|
|
2065
|
+
* options to customize its behavior. This prop lets you do the same for the initial `fitView`
|
|
2066
|
+
* call.
|
|
1692
2067
|
* @example
|
|
1693
2068
|
* const fitViewOptions = {
|
|
1694
2069
|
* padding: 0.1,
|
|
@@ -1701,15 +2076,18 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1701
2076
|
*/
|
|
1702
2077
|
fitViewOptions?: FitViewOptions;
|
|
1703
2078
|
/**
|
|
1704
|
-
*The connectOnClick option lets you click or tap on a source handle to start a connection
|
|
2079
|
+
* The `connectOnClick` option lets you click or tap on a source handle to start a connection
|
|
1705
2080
|
* and then click on a target handle to complete the connection.
|
|
1706
2081
|
*
|
|
1707
|
-
* If you set this option to false
|
|
2082
|
+
* If you set this option to `false`, users will need to drag the connection line to the target
|
|
1708
2083
|
* handle to create a connection.
|
|
2084
|
+
* @default true
|
|
1709
2085
|
*/
|
|
1710
2086
|
connectOnClick?: boolean;
|
|
1711
2087
|
/**
|
|
1712
|
-
*
|
|
2088
|
+
* By default, React Flow will render a small attribution in the bottom right corner of the flow.
|
|
2089
|
+
*
|
|
2090
|
+
* You can use this prop to change its position in case you want to place something else there.
|
|
1713
2091
|
* @default 'bottom-right'
|
|
1714
2092
|
* @example 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'
|
|
1715
2093
|
*/
|
|
@@ -1729,21 +2107,23 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1729
2107
|
elevateNodesOnSelect?: boolean;
|
|
1730
2108
|
/**
|
|
1731
2109
|
* Enabling this option will raise the z-index of edges when they are selected.
|
|
1732
|
-
* @default true
|
|
1733
2110
|
*/
|
|
1734
2111
|
elevateEdgesOnSelect?: boolean;
|
|
1735
2112
|
/**
|
|
1736
|
-
*
|
|
2113
|
+
* You can use this prop to disable keyboard accessibility features such as selecting nodes or
|
|
2114
|
+
* moving selected nodes with the arrow keys.
|
|
1737
2115
|
* @default false
|
|
1738
2116
|
*/
|
|
1739
2117
|
disableKeyboardA11y?: boolean;
|
|
1740
2118
|
/**
|
|
1741
|
-
*
|
|
2119
|
+
* When `true`, the viewport will pan automatically when the cursor moves to the edge of the
|
|
2120
|
+
* viewport while dragging a node.
|
|
1742
2121
|
* @default true
|
|
1743
2122
|
*/
|
|
1744
2123
|
autoPanOnNodeDrag?: boolean;
|
|
1745
2124
|
/**
|
|
1746
|
-
*
|
|
2125
|
+
* When `true`, the viewport will pan automatically when the cursor moves to the edge of the
|
|
2126
|
+
* viewport while creating a connection.
|
|
1747
2127
|
* @default true
|
|
1748
2128
|
*/
|
|
1749
2129
|
autoPanOnConnect?: boolean;
|
|
@@ -1753,12 +2133,12 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1753
2133
|
*/
|
|
1754
2134
|
autoPanSpeed?: number;
|
|
1755
2135
|
/**
|
|
1756
|
-
*
|
|
1757
|
-
* @default
|
|
2136
|
+
* The radius around a handle where you drop a connection line to create a new edge.
|
|
2137
|
+
* @default 20
|
|
1758
2138
|
*/
|
|
1759
2139
|
connectionRadius?: number;
|
|
1760
2140
|
/**
|
|
1761
|
-
*
|
|
2141
|
+
* Occasionally something may happen that causes React Flow to throw an error.
|
|
1762
2142
|
*
|
|
1763
2143
|
* Instead of exploding your application, we log a message to the console and then call this event handler.
|
|
1764
2144
|
* You might use it for additional logging or to show a message to the user.
|
|
@@ -1767,32 +2147,33 @@ interface ReactFlowProps<NodeType extends Node$1 = Node$1, EdgeType extends Edge
|
|
|
1767
2147
|
/**
|
|
1768
2148
|
* This callback can be used to validate a new connection
|
|
1769
2149
|
*
|
|
1770
|
-
* If you return false
|
|
1771
|
-
* If you have custom connection logic its preferred to use this callback over the
|
|
1772
|
-
*
|
|
2150
|
+
* If you return `false`, the edge will not be added to your flow.
|
|
2151
|
+
* If you have custom connection logic its preferred to use this callback over the
|
|
2152
|
+
* `isValidConnection` prop on the handle component for performance reasons.
|
|
1773
2153
|
*/
|
|
1774
2154
|
isValidConnection?: IsValidConnection<EdgeType>;
|
|
1775
2155
|
/**
|
|
1776
|
-
* With a threshold greater than zero you can
|
|
2156
|
+
* With a threshold greater than zero you can delay node drag events.
|
|
1777
2157
|
*
|
|
1778
2158
|
* If threshold equals 1, you need to drag the node 1 pixel before a drag event is fired.
|
|
2159
|
+
*
|
|
2160
|
+
* 1 is the default value, so clicks don't trigger drag events.
|
|
1779
2161
|
* @default 1
|
|
1780
2162
|
*/
|
|
1781
2163
|
nodeDragThreshold?: number;
|
|
1782
|
-
/** Sets a fixed width for the flow */
|
|
2164
|
+
/** Sets a fixed width for the flow. */
|
|
1783
2165
|
width?: number;
|
|
1784
|
-
/** Sets a fixed height for the flow */
|
|
2166
|
+
/** Sets a fixed height for the flow. */
|
|
1785
2167
|
height?: number;
|
|
1786
2168
|
/**
|
|
1787
|
-
* Controls color scheme used for styling the flow
|
|
1788
|
-
* @default '
|
|
2169
|
+
* Controls color scheme used for styling the flow.
|
|
2170
|
+
* @default 'light'
|
|
1789
2171
|
* @example 'system' | 'light' | 'dark'
|
|
1790
2172
|
*/
|
|
1791
2173
|
colorMode?: ColorMode;
|
|
1792
2174
|
/**
|
|
1793
|
-
* If set true
|
|
1794
|
-
*
|
|
1795
|
-
* @default undefined
|
|
2175
|
+
* If set `true`, some debug information will be logged to the console like which events are fired.
|
|
2176
|
+
* @default false
|
|
1796
2177
|
*/
|
|
1797
2178
|
debug?: boolean;
|
|
1798
2179
|
}
|
|
@@ -1817,13 +2198,17 @@ type GeneralHelpers<NodeType extends Node$1 = Node$1, EdgeType extends Edge = Ed
|
|
|
1817
2198
|
*/
|
|
1818
2199
|
getNodes: () => NodeType[];
|
|
1819
2200
|
/**
|
|
1820
|
-
*
|
|
2201
|
+
* Set your nodes array to something else by either overwriting it with a new array or by passing
|
|
2202
|
+
* in a function to update the existing array. If using a function, it is important to make sure a
|
|
2203
|
+
* new array is returned instead of mutating the existing array. Calling this function will
|
|
2204
|
+
* trigger the `onNodesChange` handler in a controlled flow.
|
|
1821
2205
|
*
|
|
1822
2206
|
* @param payload - the nodes to set or a function that receives the current nodes and returns the new nodes
|
|
1823
2207
|
*/
|
|
1824
2208
|
setNodes: (payload: NodeType[] | ((nodes: NodeType[]) => NodeType[])) => void;
|
|
1825
2209
|
/**
|
|
1826
|
-
*
|
|
2210
|
+
* Add one or many nodes to your existing nodes array. Calling this function will trigger the
|
|
2211
|
+
* `onNodesChange` handler in a controlled flow.
|
|
1827
2212
|
*
|
|
1828
2213
|
* @param payload - the nodes to add
|
|
1829
2214
|
*/
|
|
@@ -1849,13 +2234,17 @@ type GeneralHelpers<NodeType extends Node$1 = Node$1, EdgeType extends Edge = Ed
|
|
|
1849
2234
|
*/
|
|
1850
2235
|
getEdges: () => EdgeType[];
|
|
1851
2236
|
/**
|
|
1852
|
-
*
|
|
2237
|
+
* Set your edges array to something else by either overwriting it with a new array or by passing
|
|
2238
|
+
* in a function to update the existing array. If using a function, it is important to make sure a
|
|
2239
|
+
* new array is returned instead of mutating the existing array. Calling this function will
|
|
2240
|
+
* trigger the `onEdgesChange` handler in a controlled flow.
|
|
1853
2241
|
*
|
|
1854
2242
|
* @param payload - the edges to set or a function that receives the current edges and returns the new edges
|
|
1855
2243
|
*/
|
|
1856
2244
|
setEdges: (payload: EdgeType[] | ((edges: EdgeType[]) => EdgeType[])) => void;
|
|
1857
2245
|
/**
|
|
1858
|
-
*
|
|
2246
|
+
* Add one or many edges to your existing edges array. Calling this function will trigger the
|
|
2247
|
+
* `onEdgesChange` handler in a controlled flow.
|
|
1859
2248
|
*
|
|
1860
2249
|
* @param payload - the edges to add
|
|
1861
2250
|
*/
|
|
@@ -1886,7 +2275,8 @@ type GeneralHelpers<NodeType extends Node$1 = Node$1, EdgeType extends Edge = Ed
|
|
|
1886
2275
|
deletedEdges: Edge[];
|
|
1887
2276
|
}>;
|
|
1888
2277
|
/**
|
|
1889
|
-
*
|
|
2278
|
+
* Find all the nodes currently intersecting with a given node or rectangle. The `partially`
|
|
2279
|
+
* parameter can be set to `true` to include nodes that are only partially intersecting.
|
|
1890
2280
|
*
|
|
1891
2281
|
* @param node - the node or rect to check for intersections
|
|
1892
2282
|
* @param partially - if true, the node is considered to be intersecting if it partially overlaps with the passed node or rect
|
|
@@ -1898,7 +2288,8 @@ type GeneralHelpers<NodeType extends Node$1 = Node$1, EdgeType extends Edge = Ed
|
|
|
1898
2288
|
id: Node$1["id"];
|
|
1899
2289
|
} | Rect, partially?: boolean, nodes?: NodeType[]) => NodeType[];
|
|
1900
2290
|
/**
|
|
1901
|
-
*
|
|
2291
|
+
* Determine if a given node or rectangle is intersecting with another rectangle. The `partially`
|
|
2292
|
+
* parameter can be set to true return `true` even if the node is only partially intersecting.
|
|
1902
2293
|
*
|
|
1903
2294
|
* @param node - the node or rect to check for intersections
|
|
1904
2295
|
* @param area - the rect to check for intersections
|
|
@@ -1970,7 +2361,8 @@ type GeneralHelpers<NodeType extends Node$1 = Node$1, EdgeType extends Edge = Ed
|
|
|
1970
2361
|
*/
|
|
1971
2362
|
getNodesBounds: (nodes: (NodeType | InternalNode | string)[]) => Rect;
|
|
1972
2363
|
/**
|
|
1973
|
-
*
|
|
2364
|
+
* Get all the connections of a handle belonging to a specific node. The type parameter be either
|
|
2365
|
+
* `'source'` or `'target'`.
|
|
1974
2366
|
* @deprecated
|
|
1975
2367
|
* @param type - handle type 'source' or 'target'
|
|
1976
2368
|
* @param id - the handle id (this is only needed if you have multiple handles of the same type, meaning you have to provide a unique id for each handle)
|
|
@@ -1996,7 +2388,11 @@ type GeneralHelpers<NodeType extends Node$1 = Node$1, EdgeType extends Edge = Ed
|
|
|
1996
2388
|
}) => NodeConnection[];
|
|
1997
2389
|
fitView: FitView<NodeType>;
|
|
1998
2390
|
};
|
|
1999
|
-
type ReactFlowInstance<NodeType extends Node$1 = Node$1, EdgeType extends Edge = Edge> = GeneralHelpers<NodeType, EdgeType> &
|
|
2391
|
+
type ReactFlowInstance<NodeType extends Node$1 = Node$1, EdgeType extends Edge = Edge> = GeneralHelpers<NodeType, EdgeType> & ViewportHelperFunctions & {
|
|
2392
|
+
/**
|
|
2393
|
+
* React Flow needs to mount the viewport to the DOM and initialize its zoom and pan behavior.
|
|
2394
|
+
* This property tells you when viewport is initialized.
|
|
2395
|
+
*/
|
|
2000
2396
|
viewportInitialized: boolean;
|
|
2001
2397
|
};
|
|
2002
2398
|
type ControlsCustomLayoutProps = {
|