@xxmachina/components 19.9.0 → 19.12.0
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/extras/flow/index.d.ts +1 -0
- package/extras/flow/index.d.ts.map +1 -0
- package/features/command/index.d.ts +1 -0
- package/features/command/index.d.ts.map +1 -0
- package/features/query/index.d.ts +1 -0
- package/features/query/index.d.ts.map +1 -0
- package/fesm2022/xxmachina-components-extras-flow.mjs +151 -154
- package/fesm2022/xxmachina-components-extras-flow.mjs.map +1 -1
- package/fesm2022/xxmachina-components-features-command.mjs +43 -47
- package/fesm2022/xxmachina-components-features-command.mjs.map +1 -1
- package/fesm2022/xxmachina-components-features-query.mjs +60 -66
- package/fesm2022/xxmachina-components-features-query.mjs.map +1 -1
- package/fesm2022/xxmachina-components-groups-command-form.mjs +8 -11
- package/fesm2022/xxmachina-components-groups-command-form.mjs.map +1 -1
- package/fesm2022/xxmachina-components-groups-query-form.mjs +85 -89
- package/fesm2022/xxmachina-components-groups-query-form.mjs.map +1 -1
- package/fesm2022/xxmachina-components-molecules-calendar-paginator.mjs +5 -7
- package/fesm2022/xxmachina-components-molecules-calendar-paginator.mjs.map +1 -1
- package/fesm2022/xxmachina-components-molecules-daily-cell.mjs +16 -16
- package/fesm2022/xxmachina-components-molecules-daily-cell.mjs.map +1 -1
- package/fesm2022/xxmachina-components-molecules-weekly-header.mjs +4 -4
- package/fesm2022/xxmachina-components-molecules-weekly-header.mjs.map +1 -1
- package/fesm2022/xxmachina-components-organisms-calendar-section.mjs +15 -16
- package/fesm2022/xxmachina-components-organisms-calendar-section.mjs.map +1 -1
- package/fesm2022/xxmachina-components-organisms-event-input-section.mjs +35 -38
- package/fesm2022/xxmachina-components-organisms-event-input-section.mjs.map +1 -1
- package/fesm2022/xxmachina-components-organisms-terminal-input-section.mjs +17 -17
- package/fesm2022/xxmachina-components-organisms-terminal-input-section.mjs.map +1 -1
- package/fesm2022/xxmachina-components-organisms-video-trimmer-section.mjs +31 -36
- package/fesm2022/xxmachina-components-organisms-video-trimmer-section.mjs.map +1 -1
- package/fesm2022/xxmachina-components-organisms-xterm.mjs +111 -7
- package/fesm2022/xxmachina-components-organisms-xterm.mjs.map +1 -1
- package/fesm2022/xxmachina-components-pages-command.mjs +40 -44
- package/fesm2022/xxmachina-components-pages-command.mjs.map +1 -1
- package/fesm2022/xxmachina-components-pages-query-v2.mjs +67 -70
- package/fesm2022/xxmachina-components-pages-query-v2.mjs.map +1 -1
- package/fesm2022/xxmachina-components-pages-query.mjs +433 -369
- package/fesm2022/xxmachina-components-pages-query.mjs.map +1 -1
- package/fesm2022/xxmachina-components-pages-thread.mjs +28 -31
- package/fesm2022/xxmachina-components-pages-thread.mjs.map +1 -1
- package/fesm2022/xxmachina-components-routes-commands.mjs.map +1 -1
- package/fesm2022/xxmachina-components-routes-pages.mjs.map +1 -1
- package/fesm2022/xxmachina-components-routes-preloading.mjs +2 -2
- package/fesm2022/xxmachina-components-routes-preloading.mjs.map +1 -1
- package/fesm2022/xxmachina-components-routes-queries.mjs.map +1 -1
- package/fesm2022/xxmachina-components-routes-query.mjs.map +1 -1
- package/fesm2022/xxmachina-components-routes-resources-resource.routes-C5KpB3KM.mjs.map +1 -1
- package/fesm2022/xxmachina-components-routes-resources.mjs.map +1 -1
- package/fesm2022/xxmachina-components-routes-transformer.mjs.map +1 -1
- package/fesm2022/xxmachina-components-routes-transformers.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-app.mjs +6 -9
- package/fesm2022/xxmachina-components-services-app.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-assistant.mjs +3 -5
- package/fesm2022/xxmachina-components-services-assistant.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-calendar.mjs +3 -5
- package/fesm2022/xxmachina-components-services-calendar.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-command.mjs +18 -18
- package/fesm2022/xxmachina-components-services-command.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-context.mjs +4 -5
- package/fesm2022/xxmachina-components-services-context.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-contract.mjs +3 -5
- package/fesm2022/xxmachina-components-services-contract.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-debug.mjs +4 -4
- package/fesm2022/xxmachina-components-services-debug.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-forms-query.mjs +3 -5
- package/fesm2022/xxmachina-components-services-forms-query.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-forms-schedule.mjs +3 -5
- package/fesm2022/xxmachina-components-services-forms-schedule.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-forms-variables.mjs +3 -5
- package/fesm2022/xxmachina-components-services-forms-variables.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-graphql.mjs +3 -2
- package/fesm2022/xxmachina-components-services-graphql.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-invoice.mjs +4 -6
- package/fesm2022/xxmachina-components-services-invoice.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-json-schema.mjs +4 -3
- package/fesm2022/xxmachina-components-services-json-schema.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-link.mjs +3 -5
- package/fesm2022/xxmachina-components-services-link.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-message.mjs +11 -13
- package/fesm2022/xxmachina-components-services-message.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-openai.mjs +10 -15
- package/fesm2022/xxmachina-components-services-openai.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-openapi.mjs +4 -6
- package/fesm2022/xxmachina-components-services-openapi.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-order.mjs +3 -5
- package/fesm2022/xxmachina-components-services-order.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-partner.mjs +3 -5
- package/fesm2022/xxmachina-components-services-partner.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-query.mjs +10 -12
- package/fesm2022/xxmachina-components-services-query.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-recording.mjs +16 -16
- package/fesm2022/xxmachina-components-services-recording.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-schedule.mjs +3 -5
- package/fesm2022/xxmachina-components-services-schedule.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-thread.mjs +3 -5
- package/fesm2022/xxmachina-components-services-thread.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-transformer.mjs +3 -5
- package/fesm2022/xxmachina-components-services-transformer.mjs.map +1 -1
- package/fesm2022/xxmachina-components-services-youtube.mjs +2 -2
- package/fesm2022/xxmachina-components-services-youtube.mjs.map +1 -1
- package/fesm2022/xxmachina-components-templates-agent.mjs +30 -25
- package/fesm2022/xxmachina-components-templates-agent.mjs.map +1 -1
- package/fesm2022/xxmachina-components-templates-background.mjs +148 -148
- package/fesm2022/xxmachina-components-templates-background.mjs.map +1 -1
- package/fesm2022/xxmachina-components-templates-invoice-iframe.mjs +6 -8
- package/fesm2022/xxmachina-components-templates-invoice-iframe.mjs.map +1 -1
- package/fesm2022/xxmachina-components-templates-scheduler.mjs +12 -13
- package/fesm2022/xxmachina-components-templates-scheduler.mjs.map +1 -1
- package/fesm2022/xxmachina-components-templates-video.mjs +22 -27
- package/fesm2022/xxmachina-components-templates-video.mjs.map +1 -1
- package/fesm2022/xxmachina-components-validators-query.mjs.map +1 -1
- package/fesm2022/xxmachina-components.mjs +23 -32
- package/fesm2022/xxmachina-components.mjs.map +1 -1
- package/groups/command-form/index.d.ts +1 -0
- package/groups/command-form/index.d.ts.map +1 -0
- package/groups/query-form/index.d.ts +1 -0
- package/groups/query-form/index.d.ts.map +1 -0
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -0
- package/molecules/calendar-paginator/index.d.ts +1 -0
- package/molecules/calendar-paginator/index.d.ts.map +1 -0
- package/molecules/daily-cell/index.d.ts +1 -0
- package/molecules/daily-cell/index.d.ts.map +1 -0
- package/molecules/weekly-header/index.d.ts +1 -0
- package/molecules/weekly-header/index.d.ts.map +1 -0
- package/organisms/calendar-section/index.d.ts +1 -0
- package/organisms/calendar-section/index.d.ts.map +1 -0
- package/organisms/event-input-section/index.d.ts +1 -0
- package/organisms/event-input-section/index.d.ts.map +1 -0
- package/organisms/terminal-input-section/index.d.ts +1 -0
- package/organisms/terminal-input-section/index.d.ts.map +1 -0
- package/organisms/video-trimmer-section/index.d.ts +1 -0
- package/organisms/video-trimmer-section/index.d.ts.map +1 -0
- package/organisms/xterm/index.d.ts +28 -3
- package/organisms/xterm/index.d.ts.map +1 -0
- package/package.json +5 -5
- package/pages/command/index.d.ts +1 -0
- package/pages/command/index.d.ts.map +1 -0
- package/pages/query/index.d.ts +35 -11
- package/pages/query/index.d.ts.map +1 -0
- package/pages/query-v2/index.d.ts +1 -0
- package/pages/query-v2/index.d.ts.map +1 -0
- package/pages/thread/index.d.ts +1 -0
- package/pages/thread/index.d.ts.map +1 -0
- package/routes/commands/index.d.ts +1 -0
- package/routes/commands/index.d.ts.map +1 -0
- package/routes/index.d.ts +1 -0
- package/routes/index.d.ts.map +1 -0
- package/routes/pages/index.d.ts +1 -0
- package/routes/pages/index.d.ts.map +1 -0
- package/routes/preloading/index.d.ts +1 -0
- package/routes/preloading/index.d.ts.map +1 -0
- package/routes/queries/index.d.ts +1 -0
- package/routes/queries/index.d.ts.map +1 -0
- package/routes/query/index.d.ts +1 -0
- package/routes/query/index.d.ts.map +1 -0
- package/routes/resources/index.d.ts +1 -0
- package/routes/resources/index.d.ts.map +1 -0
- package/routes/side/chat/index.d.ts +1 -0
- package/routes/side/chat/index.d.ts.map +1 -0
- package/routes/side/index.d.ts +1 -0
- package/routes/side/index.d.ts.map +1 -0
- package/routes/transformer/index.d.ts +1 -0
- package/routes/transformer/index.d.ts.map +1 -0
- package/routes/transformers/index.d.ts +1 -0
- package/routes/transformers/index.d.ts.map +1 -0
- package/services/app/index.d.ts +1 -0
- package/services/app/index.d.ts.map +1 -0
- package/services/assistant/index.d.ts +1 -0
- package/services/assistant/index.d.ts.map +1 -0
- package/services/calendar/index.d.ts +1 -0
- package/services/calendar/index.d.ts.map +1 -0
- package/services/command/index.d.ts +1 -0
- package/services/command/index.d.ts.map +1 -0
- package/services/context/index.d.ts +1 -0
- package/services/context/index.d.ts.map +1 -0
- package/services/contract/index.d.ts +1 -0
- package/services/contract/index.d.ts.map +1 -0
- package/services/debug/index.d.ts +1 -0
- package/services/debug/index.d.ts.map +1 -0
- package/services/forms/query/index.d.ts +1 -0
- package/services/forms/query/index.d.ts.map +1 -0
- package/services/forms/schedule/index.d.ts +1 -0
- package/services/forms/schedule/index.d.ts.map +1 -0
- package/services/forms/variables/index.d.ts +1 -0
- package/services/forms/variables/index.d.ts.map +1 -0
- package/services/graphql/index.d.ts +1 -0
- package/services/graphql/index.d.ts.map +1 -0
- package/services/invoice/index.d.ts +1 -0
- package/services/invoice/index.d.ts.map +1 -0
- package/services/json-schema/index.d.ts +1 -0
- package/services/json-schema/index.d.ts.map +1 -0
- package/services/link/index.d.ts +1 -0
- package/services/link/index.d.ts.map +1 -0
- package/services/message/index.d.ts +1 -0
- package/services/message/index.d.ts.map +1 -0
- package/services/openai/index.d.ts +1 -0
- package/services/openai/index.d.ts.map +1 -0
- package/services/openapi/index.d.ts +1 -0
- package/services/openapi/index.d.ts.map +1 -0
- package/services/order/index.d.ts +1 -0
- package/services/order/index.d.ts.map +1 -0
- package/services/partner/index.d.ts +1 -0
- package/services/partner/index.d.ts.map +1 -0
- package/services/query/index.d.ts +1 -0
- package/services/query/index.d.ts.map +1 -0
- package/services/recording/index.d.ts +1 -0
- package/services/recording/index.d.ts.map +1 -0
- package/services/schedule/index.d.ts +1 -0
- package/services/schedule/index.d.ts.map +1 -0
- package/services/thread/index.d.ts +1 -0
- package/services/thread/index.d.ts.map +1 -0
- package/services/transformer/index.d.ts +1 -0
- package/services/transformer/index.d.ts.map +1 -0
- package/services/youtube/index.d.ts +1 -0
- package/services/youtube/index.d.ts.map +1 -0
- package/templates/agent/index.d.ts +2 -0
- package/templates/agent/index.d.ts.map +1 -0
- package/templates/background/index.d.ts +1 -0
- package/templates/background/index.d.ts.map +1 -0
- package/templates/invoice-iframe/index.d.ts +1 -0
- package/templates/invoice-iframe/index.d.ts.map +1 -0
- package/templates/scheduler/index.d.ts +1 -0
- package/templates/scheduler/index.d.ts.map +1 -0
- package/templates/video/index.d.ts +1 -0
- package/templates/video/index.d.ts.map +1 -0
- package/validators/query/index.d.ts +1 -0
- package/validators/query/index.d.ts.map +1 -0
package/extras/flow/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/extras/flow/react-flow/react-flow.store.ts","../../../../../../packages/@xxmachina/components/src/lib/extras/flow/react-flow/react-flow.component.ts","../../../../../../packages/@xxmachina/components/src/lib/extras/flow/nodes/group-node.tsx","../../../../../../packages/@xxmachina/components/src/lib/extras/flow/nodes/node.component.ts","../../../../../../packages/@xxmachina/components/src/lib/extras/flow/nodes/node.tsx","../../../../../../packages/@xxmachina/components/src/lib/extras/flow/nodes/template-node.tsx","../../../../../../packages/@xxmachina/components/src/lib/extras/flow/nodes/index.ts","../../../../../../packages/@xxmachina/components/src/lib/extras/flow/flow-node.directive.ts"],"sourcesContent":[null,null,null,null,null,null,null,null],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/features/command/command.feature.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAYA,cAAA,kBAAA;AAEE,2BAAqB,cAAA,CAAA,sBAAA;aAChB,cAAA,CAAA,SAAA;;;;;;;;;;;AAWN;AAED,cAAA,cAAA;;;;;;AAQE,0BAAoB,aAAA,QAAA,cAAA,CAAA,SAAA;;;;;;;;AAA0C;AAC9D,+BAAyB,aAAA,CAAA,MAAA,CAAA,OAAA;;;;;;;;AAAmG;yBACzG,aAAA,CAAA,MAAA;mBACN,aAAA,CAAA,MAAA;qBACE,aAAA,CAAA,MAAA;gCACW,aAAA,QAAA,mBAAA,CAAA,UAAA;oBACZ,aAAA,CAAA,MAAA;0CACsB,aAAA,CAAA,MAAA;AAGpC,4BAAsB,aAAA,CAAA,MAAA;;;AAInB;sBAEa,aAAA,CAAA,MAAA,CAAA,OAAA;mBAgBH,aAAA,QAAA,cAAA,CAAA,SAAA;oCACiB,aAAA,CAAA,MAAA;AAQ9B,2BAAA,OAAA;AAIA,qBAAA,OAAA,cAAA,OAAA;;;AAGD;;;;"}
|
|
@@ -160,3 +160,4 @@ declare class QueryUpdateFeature {
|
|
|
160
160
|
|
|
161
161
|
export { ActionId, GraphqlResolver, QUERY_RESOLVERS, QueryFeature, QueryGraphqlSchemaFeature, QueryGraphqlVariablesFormFeature, QueryUpdateFeature, isQuery, provideQueryResolver };
|
|
162
162
|
export type { QueryResolver, QueryResult };
|
|
163
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@xxmachina/components/src/lib/features/query/actions.ts","../../../../../../packages/@xxmachina/components/src/lib/features/query/resolvers/base/base.resolver.ts","../../../../../../packages/@xxmachina/components/src/lib/features/query/resolvers/graphql/graphql.resolver.ts","../../../../../../packages/@xxmachina/components/src/lib/features/query/query.feature.ts","../../../../../../packages/@xxmachina/components/src/lib/features/query/graphql/schema/schema.feature.ts","../../../../../../packages/@xxmachina/components/src/lib/features/query/graphql/variables-form/variables-form.feature.ts","../../../../../../packages/@xxmachina/components/src/lib/features/query/update/update.feature.ts"],"sourcesContent":[null,null,null,null,null,null,null],"names":["_angular_core","Query"],"mappings":";;;;;;;;;;;;;;AAAA,aAAA,QAAA;AACE;AACA;AACA;AACD;;;ACCC;AACD;;AAGC;;AAEG;AACH,sBAAA,KAAA;AAEA;;AAEG;;AAEJ;AAED,cAAA,eAAA,EAAA,cAAA,CAAA,aAAA;AAEA;;;;;;;;;;AAUG;AACH,iBAAA,oBAAA,WAAA,IAAA,CAAA,aAAA,IAAA,QAAA;;AC3BA;;;AAGG;AACH,iBAAA,OAAA;AAMA,cAAA,eAAA,YAAA,aAAA;AAEE;AAEA,sBAAA,KAAA;;;;AAUD;;ACVD,cAAA,YAAA;AAEE,qCAAA,QAAA;AAEA,6BAAA,QAAA;AASA,oCAAA,QAAA;AAQA,wCAAA,QAAA;;AA4BA,4BAAA,UAAA;AACA,6BAAA,WAAA;AACA,gCAAA,YAAA;AACA,4CAAA,mBAAA;AAEA,kCAAA,aAAA;AACA,mBAAa,cAAA,CAAA,SAAA;;;;;;;;;;;;AAAoC;AAEjD,iCAAA,aAAA;mCAC6B,IAAA,CAAA,UAAA,CAAA,OAAA;;;;;;;;;;;;AAA6C;AAC1E,wBAAkBA,EAAA,CAAA,MAAA,CAAA,OAAA;;;;;;;;;;;;AAA6B;qBAEhC,IAAA,CAAA,UAAA,CAAA,KAAA;oBAIDA,EAAA,CAAA,MAAA,CAAA,KAAA;;sBAGE,IAAA,CAAA,UAAA;AAiChB,qBAAeA,EAAA,CAAA,MAAA,CAAA,MAAA,kBAAA,MAAA;AAAqF;;AAAkB;AAAwB;;AAU9I;AAIA,kCAAA,KAAA,GAAmC,IAAA,CAAA,UAAA;;;AAepC;;AC7ID,cAAA,yBAAA;AAEE,gCAAA,YAAA;AACA,gCAAA,YAAA;AAEA,uCAAiC,IAAA,CAAA,UAAA;4BAQXA,EAAA,CAAA,MAAA;;;AACvB;;ACfD,cAAA,gCAAA;AAEE,gCAAA,YAAA;AACA,6CAAA,oBAAA;AAEA,+CAAyC,IAAA,CAAA,UAAA;AAGzC,wCAAkC,IAAA,CAAA,UAAA,CAAA,MAAA;6BAIXA,EAAA,CAAA,MAAA,CAAA,MAAA;AAEvB,uCAAiC,IAAA,YAAA,cAAA,CAAA,SAAA;4BAIXA,EAAA,QAAA,cAAA,CAAA,SAAA;kCACM,IAAA,YAAA,IAAA,CAAA,UAAA;;;;AAmB7B;;ACrCD,cAAA,kBAAA;AAEE,uCAAA,QAAA;AASA,yCAAmC,iCAAA,CAAA,WAAA,CAAAC,OAAA;AACnC,4BAAA,UAAA;AACA,gCAAA,YAAA;;;;AAoBD;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, output, Directive, Component, inject, EnvironmentInjector, createComponent, Injectable, Input, ElementRef, ViewContainerRef, contentChildren,
|
|
2
|
+
import { input, output, Directive, Component, inject, EnvironmentInjector, createComponent, Injectable, Input, ElementRef, ViewContainerRef, contentChildren, effect, computed, ViewEncapsulation } from '@angular/core';
|
|
3
3
|
import { NgAtomicComponent } from '@ng-atomic/core';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import React__default, { useRef, useEffect, memo } from 'react';
|
|
@@ -30,122 +30,120 @@ const ReactFlowWrapper = React.memo(ReactFlowWrapperComponent, (prevProps, nextP
|
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
class ReactFlowComponentStore {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
}
|
|
147
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: ReactFlowComponentStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
148
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.5", type: ReactFlowComponentStore, isStandalone: true, inputs: { nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: false, transformFunction: null }, edges: { classPropertyName: "edges", publicName: "edges", isSignal: true, isRequired: false, transformFunction: null }, defaultNodes: { classPropertyName: "defaultNodes", publicName: "defaultNodes", isSignal: true, isRequired: false, transformFunction: null }, defaultEdges: { classPropertyName: "defaultEdges", publicName: "defaultEdges", isSignal: true, isRequired: false, transformFunction: null }, defaultEdgeOptions: { classPropertyName: "defaultEdgeOptions", publicName: "defaultEdgeOptions", isSignal: true, isRequired: false, transformFunction: null }, nodeTemplates: { classPropertyName: "nodeTemplates", publicName: "nodeTemplates", isSignal: true, isRequired: false, transformFunction: null }, nodeTypes: { classPropertyName: "nodeTypes", publicName: "nodeTypes", isSignal: true, isRequired: false, transformFunction: null }, edgeTypes: { classPropertyName: "edgeTypes", publicName: "edgeTypes", isSignal: true, isRequired: false, transformFunction: null }, connectionLineType: { classPropertyName: "connectionLineType", publicName: "connectionLineType", isSignal: true, isRequired: false, transformFunction: null }, connectionLineStyle: { classPropertyName: "connectionLineStyle", publicName: "connectionLineStyle", isSignal: true, isRequired: false, transformFunction: null }, connectionLineComponent: { classPropertyName: "connectionLineComponent", publicName: "connectionLineComponent", isSignal: true, isRequired: false, transformFunction: null }, connectionLineContainerStyle: { classPropertyName: "connectionLineContainerStyle", publicName: "connectionLineContainerStyle", isSignal: true, isRequired: false, transformFunction: null }, connectionMode: { classPropertyName: "connectionMode", publicName: "connectionMode", isSignal: true, isRequired: false, transformFunction: null }, deleteKeyCode: { classPropertyName: "deleteKeyCode", publicName: "deleteKeyCode", isSignal: true, isRequired: false, transformFunction: null }, selectionKeyCode: { classPropertyName: "selectionKeyCode", publicName: "selectionKeyCode", isSignal: true, isRequired: false, transformFunction: null }, selectionOnDrag: { classPropertyName: "selectionOnDrag", publicName: "selectionOnDrag", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, panActivationKeyCode: { classPropertyName: "panActivationKeyCode", publicName: "panActivationKeyCode", isSignal: true, isRequired: false, transformFunction: null }, multiSelectionKeyCode: { classPropertyName: "multiSelectionKeyCode", publicName: "multiSelectionKeyCode", isSignal: true, isRequired: false, transformFunction: null }, zoomActivationKeyCode: { classPropertyName: "zoomActivationKeyCode", publicName: "zoomActivationKeyCode", isSignal: true, isRequired: false, transformFunction: null }, snapToGrid: { classPropertyName: "snapToGrid", publicName: "snapToGrid", isSignal: true, isRequired: false, transformFunction: null }, snapGrid: { classPropertyName: "snapGrid", publicName: "snapGrid", isSignal: true, isRequired: false, transformFunction: null }, onlyRenderVisibleElements: { classPropertyName: "onlyRenderVisibleElements", publicName: "onlyRenderVisibleElements", isSignal: true, isRequired: false, transformFunction: null }, nodesDraggable: { classPropertyName: "nodesDraggable", publicName: "nodesDraggable", isSignal: true, isRequired: false, transformFunction: null }, nodesConnectable: { classPropertyName: "nodesConnectable", publicName: "nodesConnectable", isSignal: true, isRequired: false, transformFunction: null }, nodesFocusable: { classPropertyName: "nodesFocusable", publicName: "nodesFocusable", isSignal: true, isRequired: false, transformFunction: null }, nodeOrigin: { classPropertyName: "nodeOrigin", publicName: "nodeOrigin", isSignal: true, isRequired: false, transformFunction: null }, edgesFocusable: { classPropertyName: "edgesFocusable", publicName: "edgesFocusable", isSignal: true, isRequired: false, transformFunction: null }, initNodeOrigin: { classPropertyName: "initNodeOrigin", publicName: "initNodeOrigin", isSignal: true, isRequired: false, transformFunction: null }, elementsSelectable: { classPropertyName: "elementsSelectable", publicName: "elementsSelectable", isSignal: true, isRequired: false, transformFunction: null }, selectNodesOnDrag: { classPropertyName: "selectNodesOnDrag", publicName: "selectNodesOnDrag", isSignal: true, isRequired: false, transformFunction: null }, panOnDrag: { classPropertyName: "panOnDrag", publicName: "panOnDrag", isSignal: true, isRequired: false, transformFunction: null }, minZoom: { classPropertyName: "minZoom", publicName: "minZoom", isSignal: true, isRequired: false, transformFunction: null }, maxZoom: { classPropertyName: "maxZoom", publicName: "maxZoom", isSignal: true, isRequired: false, transformFunction: null }, defaultViewport: { classPropertyName: "defaultViewport", publicName: "defaultViewport", isSignal: true, isRequired: false, transformFunction: null }, translateExtent: { classPropertyName: "translateExtent", publicName: "translateExtent", isSignal: true, isRequired: false, transformFunction: null }, preventScrolling: { classPropertyName: "preventScrolling", publicName: "preventScrolling", isSignal: true, isRequired: false, transformFunction: null }, nodeExtent: { classPropertyName: "nodeExtent", publicName: "nodeExtent", isSignal: true, isRequired: false, transformFunction: null }, defaultMarkerColor: { classPropertyName: "defaultMarkerColor", publicName: "defaultMarkerColor", isSignal: true, isRequired: false, transformFunction: null }, zoomOnScroll: { classPropertyName: "zoomOnScroll", publicName: "zoomOnScroll", isSignal: true, isRequired: false, transformFunction: null }, zoomOnPinch: { classPropertyName: "zoomOnPinch", publicName: "zoomOnPinch", isSignal: true, isRequired: false, transformFunction: null }, panOnScroll: { classPropertyName: "panOnScroll", publicName: "panOnScroll", isSignal: true, isRequired: false, transformFunction: null }, panOnScrollSpeed: { classPropertyName: "panOnScrollSpeed", publicName: "panOnScrollSpeed", isSignal: true, isRequired: false, transformFunction: null }, panOnScrollMode: { classPropertyName: "panOnScrollMode", publicName: "panOnScrollMode", isSignal: true, isRequired: false, transformFunction: null }, zoomOnDoubleClick: { classPropertyName: "zoomOnDoubleClick", publicName: "zoomOnDoubleClick", isSignal: true, isRequired: false, transformFunction: null }, edgeUpdaterRadius: { classPropertyName: "edgeUpdaterRadius", publicName: "edgeUpdaterRadius", isSignal: true, isRequired: false, transformFunction: null }, noDragClassName: { classPropertyName: "noDragClassName", publicName: "noDragClassName", isSignal: true, isRequired: false, transformFunction: null }, noWheelClassName: { classPropertyName: "noWheelClassName", publicName: "noWheelClassName", isSignal: true, isRequired: false, transformFunction: null }, noPanClassName: { classPropertyName: "noPanClassName", publicName: "noPanClassName", isSignal: true, isRequired: false, transformFunction: null }, fitView: { classPropertyName: "fitView", publicName: "fitView", isSignal: true, isRequired: false, transformFunction: null }, fitViewOptions: { classPropertyName: "fitViewOptions", publicName: "fitViewOptions", isSignal: true, isRequired: false, transformFunction: null }, connectOnClick: { classPropertyName: "connectOnClick", publicName: "connectOnClick", isSignal: true, isRequired: false, transformFunction: null }, attributionPosition: { classPropertyName: "attributionPosition", publicName: "attributionPosition", isSignal: true, isRequired: false, transformFunction: null }, proOptions: { classPropertyName: "proOptions", publicName: "proOptions", isSignal: true, isRequired: false, transformFunction: null }, elevateNodesOnSelect: { classPropertyName: "elevateNodesOnSelect", publicName: "elevateNodesOnSelect", isSignal: true, isRequired: false, transformFunction: null }, elevateEdgesOnSelect: { classPropertyName: "elevateEdgesOnSelect", publicName: "elevateEdgesOnSelect", isSignal: true, isRequired: false, transformFunction: null }, disableKeyboardA11y: { classPropertyName: "disableKeyboardA11y", publicName: "disableKeyboardA11y", isSignal: true, isRequired: false, transformFunction: null }, autoPanOnNodeDrag: { classPropertyName: "autoPanOnNodeDrag", publicName: "autoPanOnNodeDrag", isSignal: true, isRequired: false, transformFunction: null }, autoPanOnConnect: { classPropertyName: "autoPanOnConnect", publicName: "autoPanOnConnect", isSignal: true, isRequired: false, transformFunction: null }, connectionRadius: { classPropertyName: "connectionRadius", publicName: "connectionRadius", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onNodeClick: "onNodeClick", onNodeDoubleClick: "onNodeDoubleClick", onNodeMouseEnter: "onNodeMouseEnter", onNodeMouseMove: "onNodeMouseMove", onNodeMouseLeave: "onNodeMouseLeave", onNodeContextMenu: "onNodeContextMenu", onNodeDragStart: "onNodeDragStart", onNodeDrag: "onNodeDrag", onNodeDragStop: "onNodeDragStop", onEdgeClick: "onEdgeClick", onEdgeUpdate: "onEdgeUpdate", onEdgeContextMenu: "onEdgeContextMenu", onEdgeMouseEnter: "onEdgeMouseEnter", onEdgeMouseMove: "onEdgeMouseMove", onEdgeMouseLeave: "onEdgeMouseLeave", onEdgeDoubleClick: "onEdgeDoubleClick", onEdgeUpdateStart: "onEdgeUpdateStart", onEdgeUpdateEnd: "onEdgeUpdateEnd", onNodesChange: "onNodesChange", onEdgesChange: "onEdgesChange", onNodesDelete: "onNodesDelete", onEdgesDelete: "onEdgesDelete", onSelectionDragStart: "onSelectionDragStart", onSelectionDrag: "onSelectionDrag", onSelectionDragStop: "onSelectionDragStop", onSelectionStart: "onSelectionStart", onSelectionEnd: "onSelectionEnd", onSelectionContextMenu: "onSelectionContextMenu", onConnect: "onConnect", onConnectStart: "onConnectStart", onConnectEnd: "onConnectEnd", onClickConnectStart: "onClickConnectStart", onClickConnectEnd: "onClickConnectEnd", onDragOver: "onDragOver", onDrop: "onDrop", onInit: "onInit", onMove: "onMove", onMoveStart: "onMoveStart", onMoveEnd: "onMoveEnd", onSelectionChange: "onSelectionChange", onPaneScroll: "onPaneScroll", onPaneClick: "onPaneClick", onPaneContextMenu: "onPaneContextMenu", onPaneMouseEnter: "onPaneMouseEnter", onPaneMouseMove: "onPaneMouseMove", onPaneMouseLeave: "onPaneMouseLeave", onError: "onError", onNodeResizeEnd: "onNodeResizeEnd" }, ngImport: i0 }); }
|
|
33
|
+
// Signal inputs
|
|
34
|
+
nodes = input();
|
|
35
|
+
edges = input();
|
|
36
|
+
defaultNodes = input();
|
|
37
|
+
defaultEdges = input();
|
|
38
|
+
defaultEdgeOptions = input();
|
|
39
|
+
// Node templates for custom rendering
|
|
40
|
+
nodeTemplates = input();
|
|
41
|
+
// Signal inputs for configuration
|
|
42
|
+
nodeTypes = input();
|
|
43
|
+
edgeTypes = input();
|
|
44
|
+
connectionLineType = input();
|
|
45
|
+
connectionLineStyle = input();
|
|
46
|
+
connectionLineComponent = input();
|
|
47
|
+
connectionLineContainerStyle = input();
|
|
48
|
+
connectionMode = input();
|
|
49
|
+
deleteKeyCode = input();
|
|
50
|
+
selectionKeyCode = input();
|
|
51
|
+
selectionOnDrag = input();
|
|
52
|
+
selectionMode = input();
|
|
53
|
+
panActivationKeyCode = input();
|
|
54
|
+
multiSelectionKeyCode = input();
|
|
55
|
+
zoomActivationKeyCode = input();
|
|
56
|
+
snapToGrid = input();
|
|
57
|
+
snapGrid = input();
|
|
58
|
+
onlyRenderVisibleElements = input();
|
|
59
|
+
nodesDraggable = input();
|
|
60
|
+
nodesConnectable = input();
|
|
61
|
+
nodesFocusable = input();
|
|
62
|
+
nodeOrigin = input();
|
|
63
|
+
edgesFocusable = input();
|
|
64
|
+
initNodeOrigin = input();
|
|
65
|
+
elementsSelectable = input();
|
|
66
|
+
selectNodesOnDrag = input();
|
|
67
|
+
panOnDrag = input();
|
|
68
|
+
minZoom = input();
|
|
69
|
+
maxZoom = input();
|
|
70
|
+
defaultViewport = input();
|
|
71
|
+
translateExtent = input();
|
|
72
|
+
preventScrolling = input();
|
|
73
|
+
nodeExtent = input();
|
|
74
|
+
defaultMarkerColor = input();
|
|
75
|
+
zoomOnScroll = input();
|
|
76
|
+
zoomOnPinch = input();
|
|
77
|
+
panOnScroll = input();
|
|
78
|
+
panOnScrollSpeed = input();
|
|
79
|
+
panOnScrollMode = input();
|
|
80
|
+
zoomOnDoubleClick = input();
|
|
81
|
+
edgeUpdaterRadius = input();
|
|
82
|
+
noDragClassName = input();
|
|
83
|
+
noWheelClassName = input();
|
|
84
|
+
noPanClassName = input();
|
|
85
|
+
fitView = input();
|
|
86
|
+
fitViewOptions = input();
|
|
87
|
+
connectOnClick = input();
|
|
88
|
+
attributionPosition = input();
|
|
89
|
+
proOptions = input();
|
|
90
|
+
elevateNodesOnSelect = input();
|
|
91
|
+
elevateEdgesOnSelect = input();
|
|
92
|
+
disableKeyboardA11y = input();
|
|
93
|
+
autoPanOnNodeDrag = input();
|
|
94
|
+
autoPanOnConnect = input();
|
|
95
|
+
connectionRadius = input();
|
|
96
|
+
// Signal outputs for events
|
|
97
|
+
onNodeClick = output();
|
|
98
|
+
onNodeDoubleClick = output();
|
|
99
|
+
onNodeMouseEnter = output();
|
|
100
|
+
onNodeMouseMove = output();
|
|
101
|
+
onNodeMouseLeave = output();
|
|
102
|
+
onNodeContextMenu = output();
|
|
103
|
+
onNodeDragStart = output();
|
|
104
|
+
onNodeDrag = output();
|
|
105
|
+
onNodeDragStop = output();
|
|
106
|
+
onEdgeClick = output();
|
|
107
|
+
onEdgeUpdate = output();
|
|
108
|
+
onEdgeContextMenu = output();
|
|
109
|
+
onEdgeMouseEnter = output();
|
|
110
|
+
onEdgeMouseMove = output();
|
|
111
|
+
onEdgeMouseLeave = output();
|
|
112
|
+
onEdgeDoubleClick = output();
|
|
113
|
+
onEdgeUpdateStart = output();
|
|
114
|
+
onEdgeUpdateEnd = output();
|
|
115
|
+
onNodesChange = output();
|
|
116
|
+
onEdgesChange = output();
|
|
117
|
+
onNodesDelete = output();
|
|
118
|
+
onEdgesDelete = output();
|
|
119
|
+
onSelectionDragStart = output();
|
|
120
|
+
onSelectionDrag = output();
|
|
121
|
+
onSelectionDragStop = output();
|
|
122
|
+
onSelectionStart = output();
|
|
123
|
+
onSelectionEnd = output();
|
|
124
|
+
onSelectionContextMenu = output();
|
|
125
|
+
onConnect = output();
|
|
126
|
+
onConnectStart = output();
|
|
127
|
+
onConnectEnd = output();
|
|
128
|
+
onClickConnectStart = output();
|
|
129
|
+
onClickConnectEnd = output();
|
|
130
|
+
onDragOver = output();
|
|
131
|
+
onDrop = output();
|
|
132
|
+
onInit = output();
|
|
133
|
+
onMove = output();
|
|
134
|
+
onMoveStart = output();
|
|
135
|
+
onMoveEnd = output();
|
|
136
|
+
onSelectionChange = output();
|
|
137
|
+
onPaneScroll = output();
|
|
138
|
+
onPaneClick = output();
|
|
139
|
+
onPaneContextMenu = output();
|
|
140
|
+
onPaneMouseEnter = output();
|
|
141
|
+
onPaneMouseMove = output();
|
|
142
|
+
onPaneMouseLeave = output();
|
|
143
|
+
onError = output();
|
|
144
|
+
onNodeResizeEnd = output();
|
|
145
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: ReactFlowComponentStore, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
146
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.5", type: ReactFlowComponentStore, isStandalone: true, inputs: { nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: false, transformFunction: null }, edges: { classPropertyName: "edges", publicName: "edges", isSignal: true, isRequired: false, transformFunction: null }, defaultNodes: { classPropertyName: "defaultNodes", publicName: "defaultNodes", isSignal: true, isRequired: false, transformFunction: null }, defaultEdges: { classPropertyName: "defaultEdges", publicName: "defaultEdges", isSignal: true, isRequired: false, transformFunction: null }, defaultEdgeOptions: { classPropertyName: "defaultEdgeOptions", publicName: "defaultEdgeOptions", isSignal: true, isRequired: false, transformFunction: null }, nodeTemplates: { classPropertyName: "nodeTemplates", publicName: "nodeTemplates", isSignal: true, isRequired: false, transformFunction: null }, nodeTypes: { classPropertyName: "nodeTypes", publicName: "nodeTypes", isSignal: true, isRequired: false, transformFunction: null }, edgeTypes: { classPropertyName: "edgeTypes", publicName: "edgeTypes", isSignal: true, isRequired: false, transformFunction: null }, connectionLineType: { classPropertyName: "connectionLineType", publicName: "connectionLineType", isSignal: true, isRequired: false, transformFunction: null }, connectionLineStyle: { classPropertyName: "connectionLineStyle", publicName: "connectionLineStyle", isSignal: true, isRequired: false, transformFunction: null }, connectionLineComponent: { classPropertyName: "connectionLineComponent", publicName: "connectionLineComponent", isSignal: true, isRequired: false, transformFunction: null }, connectionLineContainerStyle: { classPropertyName: "connectionLineContainerStyle", publicName: "connectionLineContainerStyle", isSignal: true, isRequired: false, transformFunction: null }, connectionMode: { classPropertyName: "connectionMode", publicName: "connectionMode", isSignal: true, isRequired: false, transformFunction: null }, deleteKeyCode: { classPropertyName: "deleteKeyCode", publicName: "deleteKeyCode", isSignal: true, isRequired: false, transformFunction: null }, selectionKeyCode: { classPropertyName: "selectionKeyCode", publicName: "selectionKeyCode", isSignal: true, isRequired: false, transformFunction: null }, selectionOnDrag: { classPropertyName: "selectionOnDrag", publicName: "selectionOnDrag", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, panActivationKeyCode: { classPropertyName: "panActivationKeyCode", publicName: "panActivationKeyCode", isSignal: true, isRequired: false, transformFunction: null }, multiSelectionKeyCode: { classPropertyName: "multiSelectionKeyCode", publicName: "multiSelectionKeyCode", isSignal: true, isRequired: false, transformFunction: null }, zoomActivationKeyCode: { classPropertyName: "zoomActivationKeyCode", publicName: "zoomActivationKeyCode", isSignal: true, isRequired: false, transformFunction: null }, snapToGrid: { classPropertyName: "snapToGrid", publicName: "snapToGrid", isSignal: true, isRequired: false, transformFunction: null }, snapGrid: { classPropertyName: "snapGrid", publicName: "snapGrid", isSignal: true, isRequired: false, transformFunction: null }, onlyRenderVisibleElements: { classPropertyName: "onlyRenderVisibleElements", publicName: "onlyRenderVisibleElements", isSignal: true, isRequired: false, transformFunction: null }, nodesDraggable: { classPropertyName: "nodesDraggable", publicName: "nodesDraggable", isSignal: true, isRequired: false, transformFunction: null }, nodesConnectable: { classPropertyName: "nodesConnectable", publicName: "nodesConnectable", isSignal: true, isRequired: false, transformFunction: null }, nodesFocusable: { classPropertyName: "nodesFocusable", publicName: "nodesFocusable", isSignal: true, isRequired: false, transformFunction: null }, nodeOrigin: { classPropertyName: "nodeOrigin", publicName: "nodeOrigin", isSignal: true, isRequired: false, transformFunction: null }, edgesFocusable: { classPropertyName: "edgesFocusable", publicName: "edgesFocusable", isSignal: true, isRequired: false, transformFunction: null }, initNodeOrigin: { classPropertyName: "initNodeOrigin", publicName: "initNodeOrigin", isSignal: true, isRequired: false, transformFunction: null }, elementsSelectable: { classPropertyName: "elementsSelectable", publicName: "elementsSelectable", isSignal: true, isRequired: false, transformFunction: null }, selectNodesOnDrag: { classPropertyName: "selectNodesOnDrag", publicName: "selectNodesOnDrag", isSignal: true, isRequired: false, transformFunction: null }, panOnDrag: { classPropertyName: "panOnDrag", publicName: "panOnDrag", isSignal: true, isRequired: false, transformFunction: null }, minZoom: { classPropertyName: "minZoom", publicName: "minZoom", isSignal: true, isRequired: false, transformFunction: null }, maxZoom: { classPropertyName: "maxZoom", publicName: "maxZoom", isSignal: true, isRequired: false, transformFunction: null }, defaultViewport: { classPropertyName: "defaultViewport", publicName: "defaultViewport", isSignal: true, isRequired: false, transformFunction: null }, translateExtent: { classPropertyName: "translateExtent", publicName: "translateExtent", isSignal: true, isRequired: false, transformFunction: null }, preventScrolling: { classPropertyName: "preventScrolling", publicName: "preventScrolling", isSignal: true, isRequired: false, transformFunction: null }, nodeExtent: { classPropertyName: "nodeExtent", publicName: "nodeExtent", isSignal: true, isRequired: false, transformFunction: null }, defaultMarkerColor: { classPropertyName: "defaultMarkerColor", publicName: "defaultMarkerColor", isSignal: true, isRequired: false, transformFunction: null }, zoomOnScroll: { classPropertyName: "zoomOnScroll", publicName: "zoomOnScroll", isSignal: true, isRequired: false, transformFunction: null }, zoomOnPinch: { classPropertyName: "zoomOnPinch", publicName: "zoomOnPinch", isSignal: true, isRequired: false, transformFunction: null }, panOnScroll: { classPropertyName: "panOnScroll", publicName: "panOnScroll", isSignal: true, isRequired: false, transformFunction: null }, panOnScrollSpeed: { classPropertyName: "panOnScrollSpeed", publicName: "panOnScrollSpeed", isSignal: true, isRequired: false, transformFunction: null }, panOnScrollMode: { classPropertyName: "panOnScrollMode", publicName: "panOnScrollMode", isSignal: true, isRequired: false, transformFunction: null }, zoomOnDoubleClick: { classPropertyName: "zoomOnDoubleClick", publicName: "zoomOnDoubleClick", isSignal: true, isRequired: false, transformFunction: null }, edgeUpdaterRadius: { classPropertyName: "edgeUpdaterRadius", publicName: "edgeUpdaterRadius", isSignal: true, isRequired: false, transformFunction: null }, noDragClassName: { classPropertyName: "noDragClassName", publicName: "noDragClassName", isSignal: true, isRequired: false, transformFunction: null }, noWheelClassName: { classPropertyName: "noWheelClassName", publicName: "noWheelClassName", isSignal: true, isRequired: false, transformFunction: null }, noPanClassName: { classPropertyName: "noPanClassName", publicName: "noPanClassName", isSignal: true, isRequired: false, transformFunction: null }, fitView: { classPropertyName: "fitView", publicName: "fitView", isSignal: true, isRequired: false, transformFunction: null }, fitViewOptions: { classPropertyName: "fitViewOptions", publicName: "fitViewOptions", isSignal: true, isRequired: false, transformFunction: null }, connectOnClick: { classPropertyName: "connectOnClick", publicName: "connectOnClick", isSignal: true, isRequired: false, transformFunction: null }, attributionPosition: { classPropertyName: "attributionPosition", publicName: "attributionPosition", isSignal: true, isRequired: false, transformFunction: null }, proOptions: { classPropertyName: "proOptions", publicName: "proOptions", isSignal: true, isRequired: false, transformFunction: null }, elevateNodesOnSelect: { classPropertyName: "elevateNodesOnSelect", publicName: "elevateNodesOnSelect", isSignal: true, isRequired: false, transformFunction: null }, elevateEdgesOnSelect: { classPropertyName: "elevateEdgesOnSelect", publicName: "elevateEdgesOnSelect", isSignal: true, isRequired: false, transformFunction: null }, disableKeyboardA11y: { classPropertyName: "disableKeyboardA11y", publicName: "disableKeyboardA11y", isSignal: true, isRequired: false, transformFunction: null }, autoPanOnNodeDrag: { classPropertyName: "autoPanOnNodeDrag", publicName: "autoPanOnNodeDrag", isSignal: true, isRequired: false, transformFunction: null }, autoPanOnConnect: { classPropertyName: "autoPanOnConnect", publicName: "autoPanOnConnect", isSignal: true, isRequired: false, transformFunction: null }, connectionRadius: { classPropertyName: "connectionRadius", publicName: "connectionRadius", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onNodeClick: "onNodeClick", onNodeDoubleClick: "onNodeDoubleClick", onNodeMouseEnter: "onNodeMouseEnter", onNodeMouseMove: "onNodeMouseMove", onNodeMouseLeave: "onNodeMouseLeave", onNodeContextMenu: "onNodeContextMenu", onNodeDragStart: "onNodeDragStart", onNodeDrag: "onNodeDrag", onNodeDragStop: "onNodeDragStop", onEdgeClick: "onEdgeClick", onEdgeUpdate: "onEdgeUpdate", onEdgeContextMenu: "onEdgeContextMenu", onEdgeMouseEnter: "onEdgeMouseEnter", onEdgeMouseMove: "onEdgeMouseMove", onEdgeMouseLeave: "onEdgeMouseLeave", onEdgeDoubleClick: "onEdgeDoubleClick", onEdgeUpdateStart: "onEdgeUpdateStart", onEdgeUpdateEnd: "onEdgeUpdateEnd", onNodesChange: "onNodesChange", onEdgesChange: "onEdgesChange", onNodesDelete: "onNodesDelete", onEdgesDelete: "onEdgesDelete", onSelectionDragStart: "onSelectionDragStart", onSelectionDrag: "onSelectionDrag", onSelectionDragStop: "onSelectionDragStop", onSelectionStart: "onSelectionStart", onSelectionEnd: "onSelectionEnd", onSelectionContextMenu: "onSelectionContextMenu", onConnect: "onConnect", onConnectStart: "onConnectStart", onConnectEnd: "onConnectEnd", onClickConnectStart: "onClickConnectStart", onClickConnectEnd: "onClickConnectEnd", onDragOver: "onDragOver", onDrop: "onDrop", onInit: "onInit", onMove: "onMove", onMoveStart: "onMoveStart", onMoveEnd: "onMoveEnd", onSelectionChange: "onSelectionChange", onPaneScroll: "onPaneScroll", onPaneClick: "onPaneClick", onPaneContextMenu: "onPaneContextMenu", onPaneMouseEnter: "onPaneMouseEnter", onPaneMouseMove: "onPaneMouseMove", onPaneMouseLeave: "onPaneMouseLeave", onError: "onError", onNodeResizeEnd: "onNodeResizeEnd" }, ngImport: i0 });
|
|
149
147
|
}
|
|
150
148
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: ReactFlowComponentStore, decorators: [{
|
|
151
149
|
type: Directive,
|
|
@@ -153,11 +151,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImpor
|
|
|
153
151
|
}] });
|
|
154
152
|
|
|
155
153
|
class NodeComponent {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: NodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
160
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.5", type: NodeComponent, isStandalone: true, selector: "machina-task-node", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
154
|
+
data = input();
|
|
155
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: NodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
156
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.5", type: NodeComponent, isStandalone: true, selector: "machina-task-node", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
161
157
|
<div class="task-node" [class]="'status-' + data().status">
|
|
162
158
|
<div class="task-header">
|
|
163
159
|
<span class="status-indicator"></span>
|
|
@@ -165,7 +161,7 @@ class NodeComponent {
|
|
|
165
161
|
</div>
|
|
166
162
|
<div class="task-label">{{ data().label }}</div>
|
|
167
163
|
</div>
|
|
168
|
-
`, isInline: true, styles: [":host .task-node{background:#fff;border:2px solid #ddd;border-radius:8px;padding:10px;min-width:200px;box-shadow:0 2px 4px #0000001a}:host .task-node.status-pending{border-color:#9e9e9e}:host .task-node.status-pending .status-indicator{background:#9e9e9e}:host .task-node.status-in_progress{border-color:#2196f3}:host .task-node.status-in_progress .status-indicator{background:#2196f3}:host .task-node.status-completed{border-color:#4caf50}:host .task-node.status-completed .status-indicator{background:#4caf50}:host .task-node.status-abandoned{border-color:#f44336}:host .task-node.status-abandoned .status-indicator{background:#f44336}:host .task-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}:host .status-indicator{width:8px;height:8px;border-radius:50%;background:#ddd}:host .assignee{font-size:12px;color:#666}:host .task-label{font-size:14px;font-weight:500;color:#333}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
164
|
+
`, isInline: true, styles: [":host .task-node{background:#fff;border:2px solid #ddd;border-radius:8px;padding:10px;min-width:200px;box-shadow:0 2px 4px #0000001a}:host .task-node.status-pending{border-color:#9e9e9e}:host .task-node.status-pending .status-indicator{background:#9e9e9e}:host .task-node.status-in_progress{border-color:#2196f3}:host .task-node.status-in_progress .status-indicator{background:#2196f3}:host .task-node.status-completed{border-color:#4caf50}:host .task-node.status-completed .status-indicator{background:#4caf50}:host .task-node.status-abandoned{border-color:#f44336}:host .task-node.status-abandoned .status-indicator{background:#f44336}:host .task-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}:host .status-indicator{width:8px;height:8px;border-radius:50%;background:#ddd}:host .assignee{font-size:12px;color:#666}:host .task-label{font-size:14px;font-weight:500;color:#333}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
169
165
|
}
|
|
170
166
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: NodeComponent, decorators: [{
|
|
171
167
|
type: Component,
|
|
@@ -186,10 +182,8 @@ function setAngularContext(injector, appRef) {
|
|
|
186
182
|
globalInjector = injector;
|
|
187
183
|
}
|
|
188
184
|
class NodeService {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
this.injector = inject(EnvironmentInjector);
|
|
192
|
-
}
|
|
185
|
+
componentCache = new Map();
|
|
186
|
+
injector = inject(EnvironmentInjector);
|
|
193
187
|
createNodeComponent(hostElement) {
|
|
194
188
|
if (this.componentCache.has(hostElement)) {
|
|
195
189
|
return this.componentCache.get(hostElement);
|
|
@@ -201,8 +195,8 @@ class NodeService {
|
|
|
201
195
|
this.componentCache.set(hostElement, component);
|
|
202
196
|
return component;
|
|
203
197
|
}
|
|
204
|
-
static
|
|
205
|
-
static
|
|
198
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: NodeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
199
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: NodeService, providedIn: 'root' });
|
|
206
200
|
}
|
|
207
201
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: NodeService, decorators: [{
|
|
208
202
|
type: Injectable,
|
|
@@ -275,11 +269,13 @@ const NODE_TYPES = {
|
|
|
275
269
|
};
|
|
276
270
|
|
|
277
271
|
class FlowNodeDirective {
|
|
272
|
+
template;
|
|
273
|
+
type;
|
|
278
274
|
constructor(template) {
|
|
279
275
|
this.template = template;
|
|
280
276
|
}
|
|
281
|
-
static
|
|
282
|
-
static
|
|
277
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: FlowNodeDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
278
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.5", type: FlowNodeDirective, isStandalone: true, selector: "[flowNode]", inputs: { type: ["flowNode", "type"] }, ngImport: i0 });
|
|
283
279
|
}
|
|
284
280
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: FlowNodeDirective, decorators: [{
|
|
285
281
|
type: Directive,
|
|
@@ -293,29 +289,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImpor
|
|
|
293
289
|
}] } });
|
|
294
290
|
|
|
295
291
|
class ReactFlowComponent extends NgAtomicComponent {
|
|
292
|
+
store = inject(ReactFlowComponentStore);
|
|
293
|
+
el = inject((ElementRef));
|
|
294
|
+
vcr = inject(ViewContainerRef);
|
|
295
|
+
_root;
|
|
296
|
+
_nodeTypesCache = {};
|
|
297
|
+
contentNodeTemplates = contentChildren(FlowNodeDirective);
|
|
296
298
|
constructor() {
|
|
297
299
|
super();
|
|
298
|
-
this.store = inject(ReactFlowComponentStore);
|
|
299
|
-
this.el = inject((ElementRef));
|
|
300
|
-
this.vcr = inject(ViewContainerRef);
|
|
301
|
-
this._nodeTypesCache = {};
|
|
302
|
-
this.contentNodeTemplates = contentChildren(FlowNodeDirective);
|
|
303
|
-
this.nodeTypes = computed(() => {
|
|
304
|
-
const templates = this.contentNodeTemplates();
|
|
305
|
-
const nodeTypes = {};
|
|
306
|
-
if (templates) {
|
|
307
|
-
templates.forEach((template) => {
|
|
308
|
-
if (!this._nodeTypesCache[template.type]) {
|
|
309
|
-
// onNodeResizeEndコールバックを渡す
|
|
310
|
-
this._nodeTypesCache[template.type] = createTemplateNodeComponent(template.template, this.vcr, (nodeId, width, height) => {
|
|
311
|
-
this.store.onNodeResizeEnd?.emit({ nodeId, width, height });
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
nodeTypes[template.type] = this._nodeTypesCache[template.type];
|
|
315
|
-
});
|
|
316
|
-
}
|
|
317
|
-
return nodeTypes;
|
|
318
|
-
});
|
|
319
300
|
effect(() => this.render());
|
|
320
301
|
}
|
|
321
302
|
ngOnInit() {
|
|
@@ -324,6 +305,22 @@ class ReactFlowComponent extends NgAtomicComponent {
|
|
|
324
305
|
ngOnDestroy() {
|
|
325
306
|
this._root.unmount();
|
|
326
307
|
}
|
|
308
|
+
nodeTypes = computed(() => {
|
|
309
|
+
const templates = this.contentNodeTemplates();
|
|
310
|
+
const nodeTypes = {};
|
|
311
|
+
if (templates) {
|
|
312
|
+
templates.forEach((template) => {
|
|
313
|
+
if (!this._nodeTypesCache[template.type]) {
|
|
314
|
+
// onNodeResizeEndコールバックを渡す
|
|
315
|
+
this._nodeTypesCache[template.type] = createTemplateNodeComponent(template.template, this.vcr, (nodeId, width, height) => {
|
|
316
|
+
this.store.onNodeResizeEnd?.emit({ nodeId, width, height });
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
nodeTypes[template.type] = this._nodeTypesCache[template.type];
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
return nodeTypes;
|
|
323
|
+
});
|
|
327
324
|
render() {
|
|
328
325
|
this._root.render(React.createElement(ReactFlowWrapper, {
|
|
329
326
|
props: {
|
|
@@ -347,8 +344,8 @@ class ReactFlowComponent extends NgAtomicComponent {
|
|
|
347
344
|
},
|
|
348
345
|
}));
|
|
349
346
|
}
|
|
350
|
-
static
|
|
351
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.0.5", type: ReactFlowComponent, isStandalone: true, selector: "machina-react-flow", queries: [{ propertyName: "contentNodeTemplates", predicate: FlowNodeDirective, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: ReactFlowComponentStore, inputs: ["nodes", "nodes", "edges", "edges", "defaultNodes", "defaultNodes", "defaultEdges", "defaultEdges", "defaultEdgeOptions", "defaultEdgeOptions", "nodeTemplates", "nodeTemplates", "nodeTypes", "nodeTypes", "edgeTypes", "edgeTypes", "connectionLineType", "connectionLineType", "connectionLineStyle", "connectionLineStyle", "connectionLineComponent", "connectionLineComponent", "connectionLineContainerStyle", "connectionLineContainerStyle", "connectionMode", "connectionMode", "deleteKeyCode", "deleteKeyCode", "selectionKeyCode", "selectionKeyCode", "selectionOnDrag", "selectionOnDrag", "selectionMode", "selectionMode", "panActivationKeyCode", "panActivationKeyCode", "multiSelectionKeyCode", "multiSelectionKeyCode", "zoomActivationKeyCode", "zoomActivationKeyCode", "snapToGrid", "snapToGrid", "snapGrid", "snapGrid", "onlyRenderVisibleElements", "onlyRenderVisibleElements", "nodesDraggable", "nodesDraggable", "nodesConnectable", "nodesConnectable", "nodesFocusable", "nodesFocusable", "nodeOrigin", "nodeOrigin", "edgesFocusable", "edgesFocusable", "initNodeOrigin", "initNodeOrigin", "elementsSelectable", "elementsSelectable", "selectNodesOnDrag", "selectNodesOnDrag", "panOnDrag", "panOnDrag", "minZoom", "minZoom", "maxZoom", "maxZoom", "defaultViewport", "defaultViewport", "translateExtent", "translateExtent", "preventScrolling", "preventScrolling", "nodeExtent", "nodeExtent", "defaultMarkerColor", "defaultMarkerColor", "zoomOnScroll", "zoomOnScroll", "zoomOnPinch", "zoomOnPinch", "panOnScroll", "panOnScroll", "panOnScrollSpeed", "panOnScrollSpeed", "panOnScrollMode", "panOnScrollMode", "zoomOnDoubleClick", "zoomOnDoubleClick", "edgeUpdaterRadius", "edgeUpdaterRadius", "noDragClassName", "noDragClassName", "noWheelClassName", "noWheelClassName", "noPanClassName", "noPanClassName", "fitView", "fitView", "fitViewOptions", "fitViewOptions", "connectOnClick", "connectOnClick", "attributionPosition", "attributionPosition", "proOptions", "proOptions", "elevateNodesOnSelect", "elevateNodesOnSelect", "elevateEdgesOnSelect", "elevateEdgesOnSelect", "disableKeyboardA11y", "disableKeyboardA11y", "autoPanOnNodeDrag", "autoPanOnNodeDrag", "autoPanOnConnect", "autoPanOnConnect", "connectionRadius", "connectionRadius"], outputs: ["onNodeClick", "onNodeClick", "onNodeDoubleClick", "onNodeDoubleClick", "onNodeMouseEnter", "onNodeMouseEnter", "onNodeMouseMove", "onNodeMouseMove", "onNodeMouseLeave", "onNodeMouseLeave", "onNodeContextMenu", "onNodeContextMenu", "onNodeDragStart", "onNodeDragStart", "onNodeDrag", "onNodeDrag", "onNodeDragStop", "onNodeDragStop", "onEdgeClick", "onEdgeClick", "onEdgeUpdate", "onEdgeUpdate", "onEdgeContextMenu", "onEdgeContextMenu", "onEdgeMouseEnter", "onEdgeMouseEnter", "onEdgeMouseMove", "onEdgeMouseMove", "onEdgeMouseLeave", "onEdgeMouseLeave", "onEdgeDoubleClick", "onEdgeDoubleClick", "onEdgeUpdateStart", "onEdgeUpdateStart", "onEdgeUpdateEnd", "onEdgeUpdateEnd", "onNodesChange", "onNodesChange", "onEdgesChange", "onEdgesChange", "onNodesDelete", "onNodesDelete", "onEdgesDelete", "onEdgesDelete", "onSelectionDragStart", "onSelectionDragStart", "onSelectionDrag", "onSelectionDrag", "onSelectionDragStop", "onSelectionDragStop", "onSelectionStart", "onSelectionStart", "onSelectionEnd", "onSelectionEnd", "onSelectionContextMenu", "onSelectionContextMenu", "onConnect", "onConnect", "onConnectStart", "onConnectStart", "onConnectEnd", "onConnectEnd", "onClickConnectStart", "onClickConnectStart", "onClickConnectEnd", "onClickConnectEnd", "onDragOver", "onDragOver", "onDrop", "onDrop", "onInit", "onInit", "onMove", "onMove", "onMoveStart", "onMoveStart", "onMoveEnd", "onMoveEnd", "onSelectionChange", "onSelectionChange", "onPaneScroll", "onPaneScroll", "onPaneClick", "onPaneClick", "onPaneContextMenu", "onPaneContextMenu", "onPaneMouseEnter", "onPaneMouseEnter", "onPaneMouseMove", "onPaneMouseMove", "onPaneMouseLeave", "onPaneMouseLeave", "onError", "onError", "onNodeResizeEnd", "onNodeResizeEnd"] }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [".react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}:host{display:block;width:100%;height:100%}:host .react-flow{width:100%;height:100%;background-color:#f8f8f8!important}:host .react-flow .react-flow__renderer{z-index:1}:host .react-flow .react-flow__background{background-color:#f8f8f8!important}:host .react-flow .react-flow__viewport{z-index:2}:host .react-flow .react-flow__nodes{z-index:4}:host .react-flow .react-flow__node{cursor:grab!important;z-index:5!important}:host .react-flow .react-flow__node:active{cursor:grabbing!important}:host .react-flow .react-flow__node.nopan{cursor:grab!important;pointer-events:auto!important}:host .react-flow .react-flow__node-default{background:#4ecdc4!important;border:3px solid #333!important;border-radius:8px!important;padding:15px!important;color:#fff!important;font-weight:700!important;font-size:18px!important;box-shadow:0 4px 8px #0000004d!important;opacity:1!important;min-width:200px!important}:host .react-flow .react-flow__node-default[data-id=\"1\"]{background:#ff6b6b!important}:host .react-flow .react-flow__node-default[data-id=\"2\"]{background:#4ecdc4!important}:host .react-flow .react-flow__handle{background:#555!important;width:12px!important;height:12px!important;border:2px solid #fff!important;opacity:1!important}:host .react-flow .react-flow__handle:hover{background:#1976d2!important}:host .react-flow .react-flow__handle-top{top:-6px!important}:host .react-flow .react-flow__handle-right{right:-6px!important}:host .react-flow .react-flow__handle-bottom{bottom:-6px!important}:host .react-flow .react-flow__handle-left{left:-6px!important}:host .react-flow .react-flow__edge-path{stroke:#000!important;stroke-width:3px!important}:host .react-flow .react-flow__edge.selected .react-flow__edge-path{stroke:#1976d2!important;stroke-width:3}:host .react-flow .react-flow__controls button{background:#fff!important;border:1px solid #333!important;color:#333!important}:host .react-flow .react-flow__controls button:hover{background:#f0f0f0!important}:host .react-flow .react-flow__minimap{background-color:#f8f8f8!important;border:1px solid #333!important}:host .react-flow .react-flow__minimap .react-flow__minimap-mask{fill:#e0e0e0!important}:host .react-flow .react-flow__minimap .react-flow__minimap-node{fill:#333!important}:host .react-flow .react-flow__background pattern{stroke:#e0e0e0!important}:host .react-flow .react-flow__connectionline .react-flow__edge-path{stroke:#1976d2!important;stroke-width:3px!important;stroke-dasharray:5 5!important;animation:dash .5s linear infinite!important}@keyframes dash{to{stroke-dashoffset:-10}}:host .react-flow .react-flow__node-group{background:#f0f0f099!important;border:2px dashed #d1d5db!important;border-radius:16px!important;padding:60px 40px 40px!important;pointer-events:all!important;box-sizing:border-box!important}:host .react-flow .react-flow__node-group.selected{border-color:#3b82f6!important;border-style:solid!important;background:#f0f0f0cc!important}:host .react-flow .react-flow__node-task{background:transparent!important;border:none!important;padding:0!important}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
347
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: ReactFlowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
348
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.0.5", type: ReactFlowComponent, isStandalone: true, selector: "machina-react-flow", queries: [{ propertyName: "contentNodeTemplates", predicate: FlowNodeDirective, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: ReactFlowComponentStore, inputs: ["nodes", "nodes", "edges", "edges", "defaultNodes", "defaultNodes", "defaultEdges", "defaultEdges", "defaultEdgeOptions", "defaultEdgeOptions", "nodeTemplates", "nodeTemplates", "nodeTypes", "nodeTypes", "edgeTypes", "edgeTypes", "connectionLineType", "connectionLineType", "connectionLineStyle", "connectionLineStyle", "connectionLineComponent", "connectionLineComponent", "connectionLineContainerStyle", "connectionLineContainerStyle", "connectionMode", "connectionMode", "deleteKeyCode", "deleteKeyCode", "selectionKeyCode", "selectionKeyCode", "selectionOnDrag", "selectionOnDrag", "selectionMode", "selectionMode", "panActivationKeyCode", "panActivationKeyCode", "multiSelectionKeyCode", "multiSelectionKeyCode", "zoomActivationKeyCode", "zoomActivationKeyCode", "snapToGrid", "snapToGrid", "snapGrid", "snapGrid", "onlyRenderVisibleElements", "onlyRenderVisibleElements", "nodesDraggable", "nodesDraggable", "nodesConnectable", "nodesConnectable", "nodesFocusable", "nodesFocusable", "nodeOrigin", "nodeOrigin", "edgesFocusable", "edgesFocusable", "initNodeOrigin", "initNodeOrigin", "elementsSelectable", "elementsSelectable", "selectNodesOnDrag", "selectNodesOnDrag", "panOnDrag", "panOnDrag", "minZoom", "minZoom", "maxZoom", "maxZoom", "defaultViewport", "defaultViewport", "translateExtent", "translateExtent", "preventScrolling", "preventScrolling", "nodeExtent", "nodeExtent", "defaultMarkerColor", "defaultMarkerColor", "zoomOnScroll", "zoomOnScroll", "zoomOnPinch", "zoomOnPinch", "panOnScroll", "panOnScroll", "panOnScrollSpeed", "panOnScrollSpeed", "panOnScrollMode", "panOnScrollMode", "zoomOnDoubleClick", "zoomOnDoubleClick", "edgeUpdaterRadius", "edgeUpdaterRadius", "noDragClassName", "noDragClassName", "noWheelClassName", "noWheelClassName", "noPanClassName", "noPanClassName", "fitView", "fitView", "fitViewOptions", "fitViewOptions", "connectOnClick", "connectOnClick", "attributionPosition", "attributionPosition", "proOptions", "proOptions", "elevateNodesOnSelect", "elevateNodesOnSelect", "elevateEdgesOnSelect", "elevateEdgesOnSelect", "disableKeyboardA11y", "disableKeyboardA11y", "autoPanOnNodeDrag", "autoPanOnNodeDrag", "autoPanOnConnect", "autoPanOnConnect", "connectionRadius", "connectionRadius"], outputs: ["onNodeClick", "onNodeClick", "onNodeDoubleClick", "onNodeDoubleClick", "onNodeMouseEnter", "onNodeMouseEnter", "onNodeMouseMove", "onNodeMouseMove", "onNodeMouseLeave", "onNodeMouseLeave", "onNodeContextMenu", "onNodeContextMenu", "onNodeDragStart", "onNodeDragStart", "onNodeDrag", "onNodeDrag", "onNodeDragStop", "onNodeDragStop", "onEdgeClick", "onEdgeClick", "onEdgeUpdate", "onEdgeUpdate", "onEdgeContextMenu", "onEdgeContextMenu", "onEdgeMouseEnter", "onEdgeMouseEnter", "onEdgeMouseMove", "onEdgeMouseMove", "onEdgeMouseLeave", "onEdgeMouseLeave", "onEdgeDoubleClick", "onEdgeDoubleClick", "onEdgeUpdateStart", "onEdgeUpdateStart", "onEdgeUpdateEnd", "onEdgeUpdateEnd", "onNodesChange", "onNodesChange", "onEdgesChange", "onEdgesChange", "onNodesDelete", "onNodesDelete", "onEdgesDelete", "onEdgesDelete", "onSelectionDragStart", "onSelectionDragStart", "onSelectionDrag", "onSelectionDrag", "onSelectionDragStop", "onSelectionDragStop", "onSelectionStart", "onSelectionStart", "onSelectionEnd", "onSelectionEnd", "onSelectionContextMenu", "onSelectionContextMenu", "onConnect", "onConnect", "onConnectStart", "onConnectStart", "onConnectEnd", "onConnectEnd", "onClickConnectStart", "onClickConnectStart", "onClickConnectEnd", "onClickConnectEnd", "onDragOver", "onDragOver", "onDrop", "onDrop", "onInit", "onInit", "onMove", "onMove", "onMoveStart", "onMoveStart", "onMoveEnd", "onMoveEnd", "onSelectionChange", "onSelectionChange", "onPaneScroll", "onPaneScroll", "onPaneClick", "onPaneClick", "onPaneContextMenu", "onPaneContextMenu", "onPaneMouseEnter", "onPaneMouseEnter", "onPaneMouseMove", "onPaneMouseMove", "onPaneMouseLeave", "onPaneMouseLeave", "onError", "onError", "onNodeResizeEnd", "onNodeResizeEnd"] }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [".react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}:host{display:block;width:100%;height:100%}:host .react-flow{width:100%;height:100%;background-color:#f8f8f8!important}:host .react-flow .react-flow__renderer{z-index:1}:host .react-flow .react-flow__background{background-color:#f8f8f8!important}:host .react-flow .react-flow__viewport{z-index:2}:host .react-flow .react-flow__nodes{z-index:4}:host .react-flow .react-flow__node{cursor:grab!important;z-index:5!important}:host .react-flow .react-flow__node:active{cursor:grabbing!important}:host .react-flow .react-flow__node.nopan{cursor:grab!important;pointer-events:auto!important}:host .react-flow .react-flow__node-default{background:#4ecdc4!important;border:3px solid #333!important;border-radius:8px!important;padding:15px!important;color:#fff!important;font-weight:700!important;font-size:18px!important;box-shadow:0 4px 8px #0000004d!important;opacity:1!important;min-width:200px!important}:host .react-flow .react-flow__node-default[data-id=\"1\"]{background:#ff6b6b!important}:host .react-flow .react-flow__node-default[data-id=\"2\"]{background:#4ecdc4!important}:host .react-flow .react-flow__handle{background:#555!important;width:12px!important;height:12px!important;border:2px solid #fff!important;opacity:1!important}:host .react-flow .react-flow__handle:hover{background:#1976d2!important}:host .react-flow .react-flow__handle-top{top:-6px!important}:host .react-flow .react-flow__handle-right{right:-6px!important}:host .react-flow .react-flow__handle-bottom{bottom:-6px!important}:host .react-flow .react-flow__handle-left{left:-6px!important}:host .react-flow .react-flow__edge-path{stroke:#000!important;stroke-width:3px!important}:host .react-flow .react-flow__edge.selected .react-flow__edge-path{stroke:#1976d2!important;stroke-width:3}:host .react-flow .react-flow__controls button{background:#fff!important;border:1px solid #333!important;color:#333!important}:host .react-flow .react-flow__controls button:hover{background:#f0f0f0!important}:host .react-flow .react-flow__minimap{background-color:#f8f8f8!important;border:1px solid #333!important}:host .react-flow .react-flow__minimap .react-flow__minimap-mask{fill:#e0e0e0!important}:host .react-flow .react-flow__minimap .react-flow__minimap-node{fill:#333!important}:host .react-flow .react-flow__background pattern{stroke:#e0e0e0!important}:host .react-flow .react-flow__connectionline .react-flow__edge-path{stroke:#1976d2!important;stroke-width:3px!important;stroke-dasharray:5 5!important;animation:dash .5s linear infinite!important}@keyframes dash{to{stroke-dashoffset:-10}}:host .react-flow .react-flow__node-group{background:#f0f0f099!important;border:2px dashed #d1d5db!important;border-radius:16px!important;padding:60px 40px 40px!important;pointer-events:all!important;box-sizing:border-box!important}:host .react-flow .react-flow__node-group.selected{border-color:#3b82f6!important;border-style:solid!important;background:#f0f0f0cc!important}:host .react-flow .react-flow__node-task{background:transparent!important;border:none!important;padding:0!important}\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
352
349
|
}
|
|
353
350
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: ReactFlowComponent, decorators: [{
|
|
354
351
|
type: Component,
|