@notmrabhi/flowforge 0.1.47 → 0.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{SchemaBuilderDrawer-DwpDhvfw.js → SchemaBuilderDrawer-BlL83YY1.js} +2 -2
- package/dist/{SchemaBuilderDrawer-DwpDhvfw.js.map → SchemaBuilderDrawer-BlL83YY1.js.map} +1 -1
- package/dist/{SchemaBuilderDrawer-ZvBnHvoK.js → SchemaBuilderDrawer-CcsuQXAA.js} +2 -2
- package/dist/{SchemaBuilderDrawer-ZvBnHvoK.js.map → SchemaBuilderDrawer-CcsuQXAA.js.map} +1 -1
- package/dist/canvas.cjs +1 -1
- package/dist/canvas.js +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +2 -2
- package/dist/{index-BD74UunS.js → index-Bf1-wgQA.js} +2 -2
- package/dist/{index-BD74UunS.js.map → index-Bf1-wgQA.js.map} +1 -1
- package/dist/{index-B8W6oBhy.js → index-Cp4CA6tn.js} +2 -2
- package/dist/{index-B8W6oBhy.js.map → index-Cp4CA6tn.js.map} +1 -1
- package/dist/{index-DDo516bn.js → index-CvMXmKr6.js} +771 -770
- package/dist/index-CvMXmKr6.js.map +1 -0
- package/dist/{index-3DvBym9i.js → index-le3_BkKg.js} +2 -2
- package/dist/{index-3DvBym9i.js.map → index-le3_BkKg.js.map} +1 -1
- package/dist/{index-Da1aQdfo.js → index-rIRhggmY.js} +2 -2
- package/dist/{index-Da1aQdfo.js.map → index-rIRhggmY.js.map} +1 -1
- package/dist/index-yOtdNWwA.js +10 -0
- package/dist/index-yOtdNWwA.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +44 -0
- package/dist/index.js +132 -96
- package/dist/index.js.map +1 -1
- package/dist/{templateSkeletons-BG1SF0vl.js → templateSkeletons-BSE8YZ80.js} +2 -2
- package/dist/{templateSkeletons-BG1SF0vl.js.map → templateSkeletons-BSE8YZ80.js.map} +1 -1
- package/dist/{templateSkeletons-Bgq5hGIM.js → templateSkeletons-Ct26LDFe.js} +2 -2
- package/dist/{templateSkeletons-Bgq5hGIM.js.map → templateSkeletons-Ct26LDFe.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-CL2SnGNk.js +0 -10
- package/dist/index-CL2SnGNk.js.map +0 -1
- package/dist/index-DDo516bn.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-yOtdNWwA.js"),b=require("./SchemaBuilderDrawer-CcsuQXAA.js");require("react/jsx-runtime");require("react");require("@mui/material");require("react-icons/md");const i=require("./nodeRegistry.cjs"),f=require("./templateRegistry.cjs"),s=require("./templateSkeletons-Ct26LDFe.js"),y=require("./messages-O9Tw_XXR.js"),k=require("./bpmn-CcuE2X_Q.js"),n=require("./GatewayBranchEdge-CMY30xhz.js");class R{constructor(){this.channels=new Map}register(o,t){this.channels.set(o,t)}get(o){return this.channels.get(o)}list(){return Array.from(this.channels.entries()).map(([o,t])=>({key:o,...t}))}has(o){return this.channels.has(o)}}const D=new R;function N(r){const{currentNodeId:o,nodes:t,getParents:d,getOutputSchema:a,nodePath:c,nodeLabel:u,getNodeId:p=l=>l.id}=r,g=t.find(l=>p(l)===o);if(!g)return[];const T=v(g,t,d,p),m=[];for(const l of T){const h=a(l);if(!h||h.length===0)continue;const F=c(l);m.push({label:u?u(l):F,items:h.map(S=>w(S,F))})}return m}function v(r,o,t,d){const a=new Set,c=[],u=[...t(r,o)];for(;u.length>0;){const p=u.shift(),g=d(p);a.has(g)||(a.add(g),c.push(p),u.push(...t(p,o)))}return c}function w(r,o){const t=`${o}.${r.key}`,d=r.description??(r.sample!==void 0&&r.sample!==null?String(r.sample):void 0),a={label:r.label,path:t};return d!==void 0&&(a.description=d),r.children&&r.children.length>0&&(a.children=r.children.map(c=>w(c,t))),a}exports.DynamicFormRenderer=e.DynamicFormRenderer;exports.FF=e.FF;exports.FlowForgeRegistry=e.FlowForgeRegistry;exports.FlowForm=e.FlowForm;exports.FormulaInput=e.FormulaInput;exports.InfiniteSelectField=e.InfiniteSelectField;exports.OptionsResolversProvider=e.OptionsResolversProvider;exports.TablePickerField=e.TablePickerField;exports.VariablePicker=e.VariablePicker;exports.VariablePickerProvider=e.VariablePickerProvider;exports.astHasRefs=e.astHasRefs;exports.astToTokens=e.astToTokens;exports.buildEvaluationPayload=e.buildEvaluationPayload;exports.buildFieldConfig=e.buildFieldConfig;exports.buildFormulaPath=e.buildFormulaPath;exports.buildSelectStyles=e.buildSelectStyles;exports.buildValidationSchema=e.buildValidationSchema;exports.dataSourceRegistry=e.dataSourceRegistry;exports.errorTextStyle=e.errorTextStyle;exports.extractLabel=e.extractLabel;exports.fieldRegistry=e.fieldRegistry;exports.hasFormulaTokens=e.hasFormulaTokens;exports.helperTextStyle=e.helperTextStyle;exports.inputStyle=e.inputStyle;exports.isFormula=e.isFormula;exports.parseToAST=e.parseToAST;exports.serializeAST=e.serializeAST;exports.serializeASTAsConfig=e.serializeASTAsConfig;exports.serializeConditionExpressions=e.serializeConditionExpressions;exports.stripFormulaTokens=e.stripFormulaTokens;exports.tokenize=e.tokenize;exports.unwrapFormula=e.unwrapFormula;exports.useDynamicOptions=e.useDynamicOptions;exports.useOptionsResolvers=e.useOptionsResolvers;exports.useVariablePickerContext=e.useVariablePickerContext;exports.wrapFormula=e.wrapFormula;exports.FIELD_TYPE_OPTIONS=b.FIELD_TYPE_OPTIONS;exports.SchemaBuilder=b.SchemaBuilder;exports.SchemaBuilderDrawer=b.SchemaBuilderDrawer;exports.useFlowForm=b.useFlowForm;exports.NodeTypeRegistry=i.NodeTypeRegistry;exports.baseNodeDefaults=i.baseNodeDefaults;exports.conditionBranchDescriptor=i.conditionBranchDescriptor;exports.defineNode=i.defineNode;exports.endEventDescriptor=i.endEventDescriptor;exports.makeSubWorkflowDescriptor=i.makeSubWorkflowDescriptor;exports.nodeTypeRegistry=i.nodeTypeRegistry;exports.notificationDescriptor=i.notificationDescriptor;exports.restApiDescriptor=i.restApiDescriptor;exports.startEventDescriptor=i.startEventDescriptor;exports.subWorkflowDescriptor=i.subWorkflowDescriptor;exports.webhookTriggerDescriptor=i.webhookTriggerDescriptor;exports.webhookTriggerTemplate=i.webhookTriggerTemplate;exports.TemplateRegistry=f.TemplateRegistry;exports.templateRegistry=f.templateRegistry;exports.FlowForgeCanvas=s.FlowForgeCanvas;exports.FlowForgeHeader=s.FlowForgeHeader;exports.SubWorkflowPreviewDrawer=s.SubWorkflowPreviewDrawer;exports.WorkflowCanvas=s.FlowForgeCanvas;exports.WorkflowExecutionHistory=s.WorkflowExecutionHistory;exports.WorkflowTemplateLibrary=s.WorkflowTemplateLibrary;exports.accessRequestSkeleton=s.accessRequestSkeleton;exports.offboardingSkeleton=s.offboardingSkeleton;exports.userOnboardingSkeleton=s.userOnboardingSkeleton;exports.webhookIntegrationSkeleton=s.webhookIntegrationSkeleton;exports.defaultFlowForgeMessages=y.defaultFlowForgeMessages;exports.loadWorkflowFromBpmn=k.loadWorkflowFromBpmn;exports.saveWorkflowToBpmn=k.saveWorkflowToBpmn;exports.ActionNode=n.ActionNode;exports.ApprovalNode=n.ApprovalNode;exports.EdgeWithPlusLabel=n.EdgeWithPlusLabel;exports.EndNode=n.EndNode;exports.FilterNode=n.FilterNode;exports.RestApiNode=n.RestApiNode;exports.StartNode=n.StartNode;exports.TriggerNode=n.TriggerNode;exports.WebhookTriggerNode=n.WebhookTriggerNode;exports.builtInNodeTypes=n.builtInNodeTypes;exports.buildVariableGroups=N;exports.notificationChannelRegistry=D;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/notificationChannelRegistry/index.ts"],"sourcesContent":["export interface NotificationChannelOption {\n value: string;\n label: string;\n}\n\nexport interface NotificationChannelConfig {\n label: string;\n /** Fetch recipients/channels for this notification channel at runtime */\n fetchRecipients?: () => Promise<NotificationChannelOption[]>;\n}\n\nclass NotificationChannelRegistry {\n private channels = new Map<string, NotificationChannelConfig>();\n\n register(key: string, config: NotificationChannelConfig): void {\n this.channels.set(key, config);\n }\n\n get(key: string): NotificationChannelConfig | undefined {\n return this.channels.get(key);\n }\n\n list(): Array<{ key: string } & NotificationChannelConfig> {\n return Array.from(this.channels.entries()).map(([key, cfg]) => ({ key, ...cfg }));\n }\n\n has(key: string): boolean {\n return this.channels.has(key);\n }\n}\n\nexport const notificationChannelRegistry = new NotificationChannelRegistry();\nexport default NotificationChannelRegistry;\n"],"names":["NotificationChannelRegistry","key","config","cfg","notificationChannelRegistry"],"mappings":"+eAWA,MAAMA,CAA4B,CAAlC,aAAA,CACE,KAAQ,aAAe,GAAuC,CAE9D,SAASC,EAAaC,EAAyC,CAC7D,KAAK,SAAS,IAAID,EAAKC,CAAM,CAC/B,CAEA,IAAID,EAAoD,CACtD,OAAO,KAAK,SAAS,IAAIA,CAAG,CAC9B,CAEA,MAA2D,CACzD,OAAO,MAAM,KAAK,KAAK,SAAS,QAAA,CAAS,EAAE,IAAI,CAAC,CAACA,EAAKE,CAAG,KAAO,CAAE,IAAAF,EAAK,GAAGE,GAAM,CAClF,CAEA,IAAIF,EAAsB,CACxB,OAAO,KAAK,SAAS,IAAIA,CAAG,CAC9B,CACF,CAEO,MAAMG,EAA8B,IAAIJ"}
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/notificationChannelRegistry/index.ts","../src/datapills/buildVariableGroups.ts"],"sourcesContent":["export interface NotificationChannelOption {\n value: string;\n label: string;\n}\n\nexport interface NotificationChannelConfig {\n label: string;\n /** Fetch recipients/channels for this notification channel at runtime */\n fetchRecipients?: () => Promise<NotificationChannelOption[]>;\n}\n\nclass NotificationChannelRegistry {\n private channels = new Map<string, NotificationChannelConfig>();\n\n register(key: string, config: NotificationChannelConfig): void {\n this.channels.set(key, config);\n }\n\n get(key: string): NotificationChannelConfig | undefined {\n return this.channels.get(key);\n }\n\n list(): Array<{ key: string } & NotificationChannelConfig> {\n return Array.from(this.channels.entries()).map(([key, cfg]) => ({ key, ...cfg }));\n }\n\n has(key: string): boolean {\n return this.channels.has(key);\n }\n}\n\nexport const notificationChannelRegistry = new NotificationChannelRegistry();\nexport default NotificationChannelRegistry;\n","/**\n * buildVariableGroups — graph walker that turns upstream nodes' outputSchemas\n * into Smart Values picker groups.\n *\n * Pattern matches Workato's datapill model: every node declares what it\n * outputs; downstream nodes see the union of upstream outputs. The package\n * doesn't know your node-id scheme, your API, or your edge model — pass\n * those in via the four predicates and we do the rest.\n *\n * Usage (IAM-side):\n *\n * const variableGroups = buildVariableGroups({\n * currentNodeId,\n * nodes, // canvas state slots\n * getParents: (node) => upstreamSlotsOf(node, edges),\n * getOutputSchema: (node) => tasksByKey[node.descriptorType]?.outputSchema ?? [],\n * nodePath: (node) => node.id === 'trigger' ? 'endUser' : `data.${index(node)}`,\n * nodeLabel: (node) => node.label,\n * });\n *\n * <FlowForm variableGroups={variableGroups} ... />\n */\n\nimport type { VariableGroup, VariableItem } from '../FlowForm/VariablePicker/VariablePickerContext';\n\nexport interface OutputSchemaItem {\n key: string;\n label: string;\n /** Optional — display only. Lets the picker show a type chip (\"ABC\" / 123). */\n type?: string;\n /** Optional — shown under/beside the label in the picker (Workato-style). */\n sample?: string | number | boolean;\n /** Optional tooltip text (independent of `sample`). */\n description?: string;\n /** Nested fields — renders as an expandable subgroup. */\n children?: OutputSchemaItem[];\n}\n\nexport interface BuildVariableGroupsOptions<TNode> {\n /** Id of the node currently being configured (its outputs are NOT included). */\n currentNodeId: string;\n /** All nodes in the canvas / workflow. */\n nodes: TNode[];\n /** Return the immediate parent node(s) — consumer walks its own edge model. */\n getParents: (node: TNode, nodes: TNode[]) => TNode[];\n /** Return the node's output schema array (empty array if none). */\n getOutputSchema: (node: TNode) => OutputSchemaItem[];\n /** Return the runtime path prefix for this node (e.g. 'endUser', 'data.1'). */\n nodePath: (node: TNode) => string;\n /** Optional — group label shown in the picker. Defaults to `nodePath(node)`. */\n nodeLabel?: (node: TNode) => string;\n /**\n * Optional — function reading a node's id. Defaults to `(n) => (n as any).id`.\n * Override if your node model nests the id (e.g. `n.data.id`).\n */\n getNodeId?: (node: TNode) => string;\n}\n\n/**\n * Walks upstream from `currentNodeId` (excluding it), collects each ancestor's\n * outputSchema, and returns a `VariableGroup[]` ready for `<FlowForm variableGroups>`.\n *\n * - Excludes the current node (a node never references its own outputs).\n * - Deduplicates ancestors via id — diamond graphs don't produce duplicate groups.\n * - Skips ancestors with empty outputSchema (no group rendered for nodes that emit nothing).\n * - Preserves traversal order — the closest parent appears first in the picker.\n */\nexport function buildVariableGroups<TNode>(\n opts: BuildVariableGroupsOptions<TNode>\n): VariableGroup[] {\n const {\n currentNodeId,\n nodes,\n getParents,\n getOutputSchema,\n nodePath,\n nodeLabel,\n getNodeId = (n: TNode) => (n as unknown as { id: string }).id,\n } = opts;\n\n const current = nodes.find((n) => getNodeId(n) === currentNodeId);\n if (!current) return [];\n\n const upstream = collectUpstream(current, nodes, getParents, getNodeId);\n\n const groups: VariableGroup[] = [];\n for (const node of upstream) {\n const schema = getOutputSchema(node);\n if (!schema || schema.length === 0) continue;\n const prefix = nodePath(node);\n groups.push({\n label: nodeLabel ? nodeLabel(node) : prefix,\n items: schema.map((item) => mapToVariableItem(item, prefix)),\n });\n }\n return groups;\n}\n\n// ─── Internals ──────────────────────────────────────────────────────────────\n\nfunction collectUpstream<TNode>(\n start: TNode,\n nodes: TNode[],\n getParents: (node: TNode, nodes: TNode[]) => TNode[],\n getNodeId: (node: TNode) => string\n): TNode[] {\n const seen = new Set<string>();\n const ordered: TNode[] = [];\n // BFS upstream — the closest parent ends up first, mirroring how Workato\n // groups the most recent step at the top of the datapill panel.\n const queue: TNode[] = [...getParents(start, nodes)];\n while (queue.length > 0) {\n const node = queue.shift() as TNode;\n const id = getNodeId(node);\n if (seen.has(id)) continue;\n seen.add(id);\n ordered.push(node);\n queue.push(...getParents(node, nodes));\n }\n return ordered;\n}\n\nfunction mapToVariableItem(\n item: OutputSchemaItem,\n prefix: string\n): VariableItem {\n const path = `${prefix}.${item.key}`;\n // Workato-style: show the sample value under the label when present.\n const description =\n item.description ??\n (item.sample !== undefined && item.sample !== null\n ? String(item.sample)\n : undefined);\n const result: VariableItem = { label: item.label, path };\n if (description !== undefined) result.description = description;\n if (item.children && item.children.length > 0) {\n result.children = item.children.map((c) => mapToVariableItem(c, path));\n }\n return result;\n}\n"],"names":["NotificationChannelRegistry","key","config","cfg","notificationChannelRegistry","buildVariableGroups","opts","currentNodeId","nodes","getParents","getOutputSchema","nodePath","nodeLabel","getNodeId","n","current","upstream","collectUpstream","groups","node","schema","prefix","item","mapToVariableItem","start","seen","ordered","queue","id","path","description","result"],"mappings":"+eAWA,MAAMA,CAA4B,CAAlC,aAAA,CACE,KAAQ,aAAe,GAAuC,CAE9D,SAASC,EAAaC,EAAyC,CAC7D,KAAK,SAAS,IAAID,EAAKC,CAAM,CAC/B,CAEA,IAAID,EAAoD,CACtD,OAAO,KAAK,SAAS,IAAIA,CAAG,CAC9B,CAEA,MAA2D,CACzD,OAAO,MAAM,KAAK,KAAK,SAAS,QAAA,CAAS,EAAE,IAAI,CAAC,CAACA,EAAKE,CAAG,KAAO,CAAE,IAAAF,EAAK,GAAGE,GAAM,CAClF,CAEA,IAAIF,EAAsB,CACxB,OAAO,KAAK,SAAS,IAAIA,CAAG,CAC9B,CACF,CAEO,MAAMG,EAA8B,IAAIJ,ECoCxC,SAASK,EACdC,EACiB,CACjB,KAAM,CACJ,cAAAC,EACA,MAAAC,EACA,WAAAC,EACA,gBAAAC,EACA,SAAAC,EACA,UAAAC,EACA,UAAAC,EAAaC,GAAcA,EAAgC,EAAA,EACzDR,EAEES,EAAUP,EAAM,KAAMM,GAAMD,EAAUC,CAAC,IAAMP,CAAa,EAChE,GAAI,CAACQ,EAAS,MAAO,CAAA,EAErB,MAAMC,EAAWC,EAAgBF,EAASP,EAAOC,EAAYI,CAAS,EAEhEK,EAA0B,CAAA,EAChC,UAAWC,KAAQH,EAAU,CAC3B,MAAMI,EAASV,EAAgBS,CAAI,EACnC,GAAI,CAACC,GAAUA,EAAO,SAAW,EAAG,SACpC,MAAMC,EAASV,EAASQ,CAAI,EAC5BD,EAAO,KAAK,CACV,MAAON,EAAYA,EAAUO,CAAI,EAAIE,EACrC,MAAOD,EAAO,IAAKE,GAASC,EAAkBD,EAAMD,CAAM,CAAC,CAAA,CAC5D,CACH,CACA,OAAOH,CACT,CAIA,SAASD,EACPO,EACAhB,EACAC,EACAI,EACS,CACT,MAAMY,MAAW,IACXC,EAAmB,CAAA,EAGnBC,EAAiB,CAAC,GAAGlB,EAAWe,EAAOhB,CAAK,CAAC,EACnD,KAAOmB,EAAM,OAAS,GAAG,CACvB,MAAMR,EAAOQ,EAAM,MAAA,EACbC,EAAKf,EAAUM,CAAI,EACrBM,EAAK,IAAIG,CAAE,IACfH,EAAK,IAAIG,CAAE,EACXF,EAAQ,KAAKP,CAAI,EACjBQ,EAAM,KAAK,GAAGlB,EAAWU,EAAMX,CAAK,CAAC,EACvC,CACA,OAAOkB,CACT,CAEA,SAASH,EACPD,EACAD,EACc,CACd,MAAMQ,EAAO,GAAGR,CAAM,IAAIC,EAAK,GAAG,GAE5BQ,EACJR,EAAK,cACJA,EAAK,SAAW,QAAaA,EAAK,SAAW,KAC1C,OAAOA,EAAK,MAAM,EAClB,QACAS,EAAuB,CAAE,MAAOT,EAAK,MAAO,KAAAO,CAAA,EAClD,OAAIC,IAAgB,SAAWC,EAAO,YAAcD,GAChDR,EAAK,UAAYA,EAAK,SAAS,OAAS,IAC1CS,EAAO,SAAWT,EAAK,SAAS,IAAK,GAAMC,EAAkB,EAAGM,CAAI,CAAC,GAEhEE,CACT"}
|
package/dist/index.d.ts
CHANGED
|
@@ -133,6 +133,37 @@ export declare function buildSelectStyles(hasError: boolean, isMulti?: boolean):
|
|
|
133
133
|
*/
|
|
134
134
|
export declare function buildValidationSchema(fields: FieldDescriptor[]): Yup.ObjectSchema<any>;
|
|
135
135
|
|
|
136
|
+
/**
|
|
137
|
+
* Walks upstream from `currentNodeId` (excluding it), collects each ancestor's
|
|
138
|
+
* outputSchema, and returns a `VariableGroup[]` ready for `<FlowForm variableGroups>`.
|
|
139
|
+
*
|
|
140
|
+
* - Excludes the current node (a node never references its own outputs).
|
|
141
|
+
* - Deduplicates ancestors via id — diamond graphs don't produce duplicate groups.
|
|
142
|
+
* - Skips ancestors with empty outputSchema (no group rendered for nodes that emit nothing).
|
|
143
|
+
* - Preserves traversal order — the closest parent appears first in the picker.
|
|
144
|
+
*/
|
|
145
|
+
export declare function buildVariableGroups<TNode>(opts: BuildVariableGroupsOptions<TNode>): VariableGroup[];
|
|
146
|
+
|
|
147
|
+
export declare interface BuildVariableGroupsOptions<TNode> {
|
|
148
|
+
/** Id of the node currently being configured (its outputs are NOT included). */
|
|
149
|
+
currentNodeId: string;
|
|
150
|
+
/** All nodes in the canvas / workflow. */
|
|
151
|
+
nodes: TNode[];
|
|
152
|
+
/** Return the immediate parent node(s) — consumer walks its own edge model. */
|
|
153
|
+
getParents: (node: TNode, nodes: TNode[]) => TNode[];
|
|
154
|
+
/** Return the node's output schema array (empty array if none). */
|
|
155
|
+
getOutputSchema: (node: TNode) => OutputSchemaItem[];
|
|
156
|
+
/** Return the runtime path prefix for this node (e.g. 'endUser', 'data.1'). */
|
|
157
|
+
nodePath: (node: TNode) => string;
|
|
158
|
+
/** Optional — group label shown in the picker. Defaults to `nodePath(node)`. */
|
|
159
|
+
nodeLabel?: (node: TNode) => string;
|
|
160
|
+
/**
|
|
161
|
+
* Optional — function reading a node's id. Defaults to `(n) => (n as any).id`.
|
|
162
|
+
* Override if your node model nests the id (e.g. `n.data.id`).
|
|
163
|
+
*/
|
|
164
|
+
getNodeId?: (node: TNode) => string;
|
|
165
|
+
}
|
|
166
|
+
|
|
136
167
|
export declare const builtInNodeTypes: NodeTypes;
|
|
137
168
|
|
|
138
169
|
export declare interface CanvasSlot {
|
|
@@ -1219,6 +1250,19 @@ export declare interface OptionsSource {
|
|
|
1219
1250
|
resolveValueId?: string;
|
|
1220
1251
|
}
|
|
1221
1252
|
|
|
1253
|
+
export declare interface OutputSchemaItem {
|
|
1254
|
+
key: string;
|
|
1255
|
+
label: string;
|
|
1256
|
+
/** Optional — display only. Lets the picker show a type chip ("ABC" / 123). */
|
|
1257
|
+
type?: string;
|
|
1258
|
+
/** Optional — shown under/beside the label in the picker (Workato-style). */
|
|
1259
|
+
sample?: string | number | boolean;
|
|
1260
|
+
/** Optional tooltip text (independent of `sample`). */
|
|
1261
|
+
description?: string;
|
|
1262
|
+
/** Nested fields — renders as an expandable subgroup. */
|
|
1263
|
+
children?: OutputSchemaItem[];
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1222
1266
|
/**
|
|
1223
1267
|
* Parse a raw backend string into an AST node array.
|
|
1224
1268
|
*
|
package/dist/index.js
CHANGED
|
@@ -1,112 +1,148 @@
|
|
|
1
|
-
import { D as
|
|
2
|
-
import { F as
|
|
1
|
+
import { D as N, F as R, a as D, b as P, c as W, I as A, O as E, T as I, V as C, d as O, e as V, f as B, g as z, h as L, i as q, j as H, k as M, E as _, l as $, m as j, n as G, o as U, p as Y, q as J, r as K, s as Q, t as X, u as Z, v as ee, w as se, x as oe, y as re, z as ae, A as te, B as ie, C as ne } from "./index-CvMXmKr6.js";
|
|
2
|
+
import { F as ce, S as de, a as pe, u as ue } from "./SchemaBuilderDrawer-BlL83YY1.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material";
|
|
6
6
|
import "react-icons/md";
|
|
7
|
-
import { NodeTypeRegistry as
|
|
8
|
-
import { TemplateRegistry as
|
|
9
|
-
import { F as
|
|
10
|
-
import { d as
|
|
11
|
-
import { l as
|
|
12
|
-
import { A as
|
|
13
|
-
class
|
|
7
|
+
import { NodeTypeRegistry as he, baseNodeDefaults as me, conditionBranchDescriptor as ge, defineNode as be, endEventDescriptor as Fe, makeSubWorkflowDescriptor as we, nodeTypeRegistry as ke, notificationDescriptor as Se, restApiDescriptor as Te, startEventDescriptor as ye, subWorkflowDescriptor as xe, webhookTriggerDescriptor as ve, webhookTriggerTemplate as Ne } from "./nodeRegistry.js";
|
|
8
|
+
import { TemplateRegistry as De, templateRegistry as Pe } from "./templateRegistry.js";
|
|
9
|
+
import { F as Ae, a as Ee, S as Ie, F as Ce, W as Oe, b as Ve, c as Be, o as ze, u as Le, w as qe } from "./templateSkeletons-BSE8YZ80.js";
|
|
10
|
+
import { d as Me } from "./messages-CO299wPN.js";
|
|
11
|
+
import { l as $e, s as je } from "./bpmn-CtfWDaOY.js";
|
|
12
|
+
import { A as Ue, b as Ye, E as Je, c as Ke, F as Qe, R as Xe, S as Ze, T as es, W as ss, e as os } from "./GatewayBranchEdge-CrgczPYJ.js";
|
|
13
|
+
class g {
|
|
14
14
|
constructor() {
|
|
15
15
|
this.channels = /* @__PURE__ */ new Map();
|
|
16
16
|
}
|
|
17
|
-
register(
|
|
18
|
-
this.channels.set(
|
|
17
|
+
register(s, o) {
|
|
18
|
+
this.channels.set(s, o);
|
|
19
19
|
}
|
|
20
|
-
get(
|
|
21
|
-
return this.channels.get(
|
|
20
|
+
get(s) {
|
|
21
|
+
return this.channels.get(s);
|
|
22
22
|
}
|
|
23
23
|
list() {
|
|
24
|
-
return Array.from(this.channels.entries()).map(([
|
|
24
|
+
return Array.from(this.channels.entries()).map(([s, o]) => ({ key: s, ...o }));
|
|
25
25
|
}
|
|
26
|
-
has(
|
|
27
|
-
return this.channels.has(
|
|
26
|
+
has(s) {
|
|
27
|
+
return this.channels.has(s);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
const
|
|
30
|
+
const T = new g();
|
|
31
|
+
function y(e) {
|
|
32
|
+
const {
|
|
33
|
+
currentNodeId: s,
|
|
34
|
+
nodes: o,
|
|
35
|
+
getParents: t,
|
|
36
|
+
getOutputSchema: r,
|
|
37
|
+
nodePath: i,
|
|
38
|
+
nodeLabel: n,
|
|
39
|
+
getNodeId: l = (a) => a.id
|
|
40
|
+
} = e, c = o.find((a) => l(a) === s);
|
|
41
|
+
if (!c) return [];
|
|
42
|
+
const h = b(c, o, t, l), p = [];
|
|
43
|
+
for (const a of h) {
|
|
44
|
+
const d = r(a);
|
|
45
|
+
if (!d || d.length === 0) continue;
|
|
46
|
+
const u = i(a);
|
|
47
|
+
p.push({
|
|
48
|
+
label: n ? n(a) : u,
|
|
49
|
+
items: d.map((m) => f(m, u))
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
return p;
|
|
53
|
+
}
|
|
54
|
+
function b(e, s, o, t) {
|
|
55
|
+
const r = /* @__PURE__ */ new Set(), i = [], n = [...o(e, s)];
|
|
56
|
+
for (; n.length > 0; ) {
|
|
57
|
+
const l = n.shift(), c = t(l);
|
|
58
|
+
r.has(c) || (r.add(c), i.push(l), n.push(...o(l, s)));
|
|
59
|
+
}
|
|
60
|
+
return i;
|
|
61
|
+
}
|
|
62
|
+
function f(e, s) {
|
|
63
|
+
const o = `${s}.${e.key}`, t = e.description ?? (e.sample !== void 0 && e.sample !== null ? String(e.sample) : void 0), r = { label: e.label, path: o };
|
|
64
|
+
return t !== void 0 && (r.description = t), e.children && e.children.length > 0 && (r.children = e.children.map((i) => f(i, o))), r;
|
|
65
|
+
}
|
|
31
66
|
export {
|
|
32
|
-
|
|
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
|
-
|
|
67
|
+
Ue as ActionNode,
|
|
68
|
+
Ye as ApprovalNode,
|
|
69
|
+
N as DynamicFormRenderer,
|
|
70
|
+
Je as EdgeWithPlusLabel,
|
|
71
|
+
Ke as EndNode,
|
|
72
|
+
R as FF,
|
|
73
|
+
ce as FIELD_TYPE_OPTIONS,
|
|
74
|
+
Qe as FilterNode,
|
|
75
|
+
Ae as FlowForgeCanvas,
|
|
76
|
+
Ee as FlowForgeHeader,
|
|
77
|
+
D as FlowForgeRegistry,
|
|
78
|
+
P as FlowForm,
|
|
79
|
+
W as FormulaInput,
|
|
80
|
+
A as InfiniteSelectField,
|
|
81
|
+
he as NodeTypeRegistry,
|
|
82
|
+
E as OptionsResolversProvider,
|
|
83
|
+
Xe as RestApiNode,
|
|
84
|
+
de as SchemaBuilder,
|
|
85
|
+
pe as SchemaBuilderDrawer,
|
|
86
|
+
Ze as StartNode,
|
|
87
|
+
Ie as SubWorkflowPreviewDrawer,
|
|
88
|
+
I as TablePickerField,
|
|
89
|
+
De as TemplateRegistry,
|
|
90
|
+
es as TriggerNode,
|
|
91
|
+
C as VariablePicker,
|
|
92
|
+
O as VariablePickerProvider,
|
|
93
|
+
ss as WebhookTriggerNode,
|
|
94
|
+
Ce as WorkflowCanvas,
|
|
95
|
+
Oe as WorkflowExecutionHistory,
|
|
96
|
+
Ve as WorkflowTemplateLibrary,
|
|
97
|
+
Be as accessRequestSkeleton,
|
|
98
|
+
V as astHasRefs,
|
|
99
|
+
B as astToTokens,
|
|
100
|
+
me as baseNodeDefaults,
|
|
101
|
+
z as buildEvaluationPayload,
|
|
102
|
+
L as buildFieldConfig,
|
|
103
|
+
q as buildFormulaPath,
|
|
104
|
+
H as buildSelectStyles,
|
|
105
|
+
M as buildValidationSchema,
|
|
106
|
+
y as buildVariableGroups,
|
|
107
|
+
os as builtInNodeTypes,
|
|
108
|
+
ge as conditionBranchDescriptor,
|
|
109
|
+
_ as dataSourceRegistry,
|
|
110
|
+
Me as defaultFlowForgeMessages,
|
|
111
|
+
be as defineNode,
|
|
112
|
+
Fe as endEventDescriptor,
|
|
113
|
+
$ as errorTextStyle,
|
|
114
|
+
j as extractLabel,
|
|
115
|
+
G as fieldRegistry,
|
|
116
|
+
U as hasFormulaTokens,
|
|
117
|
+
Y as helperTextStyle,
|
|
118
|
+
J as inputStyle,
|
|
119
|
+
K as isFormula,
|
|
120
|
+
$e as loadWorkflowFromBpmn,
|
|
121
|
+
we as makeSubWorkflowDescriptor,
|
|
122
|
+
ke as nodeTypeRegistry,
|
|
123
|
+
T as notificationChannelRegistry,
|
|
124
|
+
Se as notificationDescriptor,
|
|
125
|
+
ze as offboardingSkeleton,
|
|
126
|
+
Q as parseToAST,
|
|
127
|
+
Te as restApiDescriptor,
|
|
128
|
+
je as saveWorkflowToBpmn,
|
|
129
|
+
X as serializeAST,
|
|
130
|
+
Z as serializeASTAsConfig,
|
|
131
|
+
ee as serializeConditionExpressions,
|
|
132
|
+
ye as startEventDescriptor,
|
|
133
|
+
se as stripFormulaTokens,
|
|
134
|
+
xe as subWorkflowDescriptor,
|
|
135
|
+
Pe as templateRegistry,
|
|
136
|
+
oe as tokenize,
|
|
137
|
+
re as unwrapFormula,
|
|
138
|
+
ae as useDynamicOptions,
|
|
139
|
+
ue as useFlowForm,
|
|
140
|
+
te as useOptionsResolvers,
|
|
141
|
+
ie as useVariablePickerContext,
|
|
142
|
+
Le as userOnboardingSkeleton,
|
|
143
|
+
qe as webhookIntegrationSkeleton,
|
|
144
|
+
ve as webhookTriggerDescriptor,
|
|
145
|
+
Ne as webhookTriggerTemplate,
|
|
146
|
+
ne as wrapFormula
|
|
111
147
|
};
|
|
112
148
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/notificationChannelRegistry/index.ts"],"sourcesContent":["export interface NotificationChannelOption {\n value: string;\n label: string;\n}\n\nexport interface NotificationChannelConfig {\n label: string;\n /** Fetch recipients/channels for this notification channel at runtime */\n fetchRecipients?: () => Promise<NotificationChannelOption[]>;\n}\n\nclass NotificationChannelRegistry {\n private channels = new Map<string, NotificationChannelConfig>();\n\n register(key: string, config: NotificationChannelConfig): void {\n this.channels.set(key, config);\n }\n\n get(key: string): NotificationChannelConfig | undefined {\n return this.channels.get(key);\n }\n\n list(): Array<{ key: string } & NotificationChannelConfig> {\n return Array.from(this.channels.entries()).map(([key, cfg]) => ({ key, ...cfg }));\n }\n\n has(key: string): boolean {\n return this.channels.has(key);\n }\n}\n\nexport const notificationChannelRegistry = new NotificationChannelRegistry();\nexport default NotificationChannelRegistry;\n"],"names":["NotificationChannelRegistry","key","config","cfg","notificationChannelRegistry"],"mappings":";;;;;;;;;;;;AAWA,MAAMA,EAA4B;AAAA,EAAlC,cAAA;AACE,SAAQ,+BAAe,IAAA;AAAA,EAAuC;AAAA,EAE9D,SAASC,GAAaC,GAAyC;AAC7D,SAAK,SAAS,IAAID,GAAKC,CAAM;AAAA,EAC/B;AAAA,EAEA,IAAID,GAAoD;AACtD,WAAO,KAAK,SAAS,IAAIA,CAAG;AAAA,EAC9B;AAAA,EAEA,OAA2D;AACzD,WAAO,MAAM,KAAK,KAAK,SAAS,QAAA,CAAS,EAAE,IAAI,CAAC,CAACA,GAAKE,CAAG,OAAO,EAAE,KAAAF,GAAK,GAAGE,IAAM;AAAA,EAClF;AAAA,EAEA,IAAIF,GAAsB;AACxB,WAAO,KAAK,SAAS,IAAIA,CAAG;AAAA,EAC9B;AACF;AAEO,MAAMG,IAA8B,IAAIJ,EAAA;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/notificationChannelRegistry/index.ts","../src/datapills/buildVariableGroups.ts"],"sourcesContent":["export interface NotificationChannelOption {\n value: string;\n label: string;\n}\n\nexport interface NotificationChannelConfig {\n label: string;\n /** Fetch recipients/channels for this notification channel at runtime */\n fetchRecipients?: () => Promise<NotificationChannelOption[]>;\n}\n\nclass NotificationChannelRegistry {\n private channels = new Map<string, NotificationChannelConfig>();\n\n register(key: string, config: NotificationChannelConfig): void {\n this.channels.set(key, config);\n }\n\n get(key: string): NotificationChannelConfig | undefined {\n return this.channels.get(key);\n }\n\n list(): Array<{ key: string } & NotificationChannelConfig> {\n return Array.from(this.channels.entries()).map(([key, cfg]) => ({ key, ...cfg }));\n }\n\n has(key: string): boolean {\n return this.channels.has(key);\n }\n}\n\nexport const notificationChannelRegistry = new NotificationChannelRegistry();\nexport default NotificationChannelRegistry;\n","/**\n * buildVariableGroups — graph walker that turns upstream nodes' outputSchemas\n * into Smart Values picker groups.\n *\n * Pattern matches Workato's datapill model: every node declares what it\n * outputs; downstream nodes see the union of upstream outputs. The package\n * doesn't know your node-id scheme, your API, or your edge model — pass\n * those in via the four predicates and we do the rest.\n *\n * Usage (IAM-side):\n *\n * const variableGroups = buildVariableGroups({\n * currentNodeId,\n * nodes, // canvas state slots\n * getParents: (node) => upstreamSlotsOf(node, edges),\n * getOutputSchema: (node) => tasksByKey[node.descriptorType]?.outputSchema ?? [],\n * nodePath: (node) => node.id === 'trigger' ? 'endUser' : `data.${index(node)}`,\n * nodeLabel: (node) => node.label,\n * });\n *\n * <FlowForm variableGroups={variableGroups} ... />\n */\n\nimport type { VariableGroup, VariableItem } from '../FlowForm/VariablePicker/VariablePickerContext';\n\nexport interface OutputSchemaItem {\n key: string;\n label: string;\n /** Optional — display only. Lets the picker show a type chip (\"ABC\" / 123). */\n type?: string;\n /** Optional — shown under/beside the label in the picker (Workato-style). */\n sample?: string | number | boolean;\n /** Optional tooltip text (independent of `sample`). */\n description?: string;\n /** Nested fields — renders as an expandable subgroup. */\n children?: OutputSchemaItem[];\n}\n\nexport interface BuildVariableGroupsOptions<TNode> {\n /** Id of the node currently being configured (its outputs are NOT included). */\n currentNodeId: string;\n /** All nodes in the canvas / workflow. */\n nodes: TNode[];\n /** Return the immediate parent node(s) — consumer walks its own edge model. */\n getParents: (node: TNode, nodes: TNode[]) => TNode[];\n /** Return the node's output schema array (empty array if none). */\n getOutputSchema: (node: TNode) => OutputSchemaItem[];\n /** Return the runtime path prefix for this node (e.g. 'endUser', 'data.1'). */\n nodePath: (node: TNode) => string;\n /** Optional — group label shown in the picker. Defaults to `nodePath(node)`. */\n nodeLabel?: (node: TNode) => string;\n /**\n * Optional — function reading a node's id. Defaults to `(n) => (n as any).id`.\n * Override if your node model nests the id (e.g. `n.data.id`).\n */\n getNodeId?: (node: TNode) => string;\n}\n\n/**\n * Walks upstream from `currentNodeId` (excluding it), collects each ancestor's\n * outputSchema, and returns a `VariableGroup[]` ready for `<FlowForm variableGroups>`.\n *\n * - Excludes the current node (a node never references its own outputs).\n * - Deduplicates ancestors via id — diamond graphs don't produce duplicate groups.\n * - Skips ancestors with empty outputSchema (no group rendered for nodes that emit nothing).\n * - Preserves traversal order — the closest parent appears first in the picker.\n */\nexport function buildVariableGroups<TNode>(\n opts: BuildVariableGroupsOptions<TNode>\n): VariableGroup[] {\n const {\n currentNodeId,\n nodes,\n getParents,\n getOutputSchema,\n nodePath,\n nodeLabel,\n getNodeId = (n: TNode) => (n as unknown as { id: string }).id,\n } = opts;\n\n const current = nodes.find((n) => getNodeId(n) === currentNodeId);\n if (!current) return [];\n\n const upstream = collectUpstream(current, nodes, getParents, getNodeId);\n\n const groups: VariableGroup[] = [];\n for (const node of upstream) {\n const schema = getOutputSchema(node);\n if (!schema || schema.length === 0) continue;\n const prefix = nodePath(node);\n groups.push({\n label: nodeLabel ? nodeLabel(node) : prefix,\n items: schema.map((item) => mapToVariableItem(item, prefix)),\n });\n }\n return groups;\n}\n\n// ─── Internals ──────────────────────────────────────────────────────────────\n\nfunction collectUpstream<TNode>(\n start: TNode,\n nodes: TNode[],\n getParents: (node: TNode, nodes: TNode[]) => TNode[],\n getNodeId: (node: TNode) => string\n): TNode[] {\n const seen = new Set<string>();\n const ordered: TNode[] = [];\n // BFS upstream — the closest parent ends up first, mirroring how Workato\n // groups the most recent step at the top of the datapill panel.\n const queue: TNode[] = [...getParents(start, nodes)];\n while (queue.length > 0) {\n const node = queue.shift() as TNode;\n const id = getNodeId(node);\n if (seen.has(id)) continue;\n seen.add(id);\n ordered.push(node);\n queue.push(...getParents(node, nodes));\n }\n return ordered;\n}\n\nfunction mapToVariableItem(\n item: OutputSchemaItem,\n prefix: string\n): VariableItem {\n const path = `${prefix}.${item.key}`;\n // Workato-style: show the sample value under the label when present.\n const description =\n item.description ??\n (item.sample !== undefined && item.sample !== null\n ? String(item.sample)\n : undefined);\n const result: VariableItem = { label: item.label, path };\n if (description !== undefined) result.description = description;\n if (item.children && item.children.length > 0) {\n result.children = item.children.map((c) => mapToVariableItem(c, path));\n }\n return result;\n}\n"],"names":["NotificationChannelRegistry","key","config","cfg","notificationChannelRegistry","buildVariableGroups","opts","currentNodeId","nodes","getParents","getOutputSchema","nodePath","nodeLabel","getNodeId","n","current","upstream","collectUpstream","groups","node","schema","prefix","item","mapToVariableItem","start","seen","ordered","queue","id","path","description","result","c"],"mappings":";;;;;;;;;;;;AAWA,MAAMA,EAA4B;AAAA,EAAlC,cAAA;AACE,SAAQ,+BAAe,IAAA;AAAA,EAAuC;AAAA,EAE9D,SAASC,GAAaC,GAAyC;AAC7D,SAAK,SAAS,IAAID,GAAKC,CAAM;AAAA,EAC/B;AAAA,EAEA,IAAID,GAAoD;AACtD,WAAO,KAAK,SAAS,IAAIA,CAAG;AAAA,EAC9B;AAAA,EAEA,OAA2D;AACzD,WAAO,MAAM,KAAK,KAAK,SAAS,QAAA,CAAS,EAAE,IAAI,CAAC,CAACA,GAAKE,CAAG,OAAO,EAAE,KAAAF,GAAK,GAAGE,IAAM;AAAA,EAClF;AAAA,EAEA,IAAIF,GAAsB;AACxB,WAAO,KAAK,SAAS,IAAIA,CAAG;AAAA,EAC9B;AACF;AAEO,MAAMG,IAA8B,IAAIJ,EAAA;ACoCxC,SAASK,EACdC,GACiB;AACjB,QAAM;AAAA,IACJ,eAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC,IAAY,CAACC,MAAcA,EAAgC;AAAA,EAAA,IACzDR,GAEES,IAAUP,EAAM,KAAK,CAACM,MAAMD,EAAUC,CAAC,MAAMP,CAAa;AAChE,MAAI,CAACQ,EAAS,QAAO,CAAA;AAErB,QAAMC,IAAWC,EAAgBF,GAASP,GAAOC,GAAYI,CAAS,GAEhEK,IAA0B,CAAA;AAChC,aAAWC,KAAQH,GAAU;AAC3B,UAAMI,IAASV,EAAgBS,CAAI;AACnC,QAAI,CAACC,KAAUA,EAAO,WAAW,EAAG;AACpC,UAAMC,IAASV,EAASQ,CAAI;AAC5B,IAAAD,EAAO,KAAK;AAAA,MACV,OAAON,IAAYA,EAAUO,CAAI,IAAIE;AAAA,MACrC,OAAOD,EAAO,IAAI,CAACE,MAASC,EAAkBD,GAAMD,CAAM,CAAC;AAAA,IAAA,CAC5D;AAAA,EACH;AACA,SAAOH;AACT;AAIA,SAASD,EACPO,GACAhB,GACAC,GACAI,GACS;AACT,QAAMY,wBAAW,IAAA,GACXC,IAAmB,CAAA,GAGnBC,IAAiB,CAAC,GAAGlB,EAAWe,GAAOhB,CAAK,CAAC;AACnD,SAAOmB,EAAM,SAAS,KAAG;AACvB,UAAMR,IAAOQ,EAAM,MAAA,GACbC,IAAKf,EAAUM,CAAI;AACzB,IAAIM,EAAK,IAAIG,CAAE,MACfH,EAAK,IAAIG,CAAE,GACXF,EAAQ,KAAKP,CAAI,GACjBQ,EAAM,KAAK,GAAGlB,EAAWU,GAAMX,CAAK,CAAC;AAAA,EACvC;AACA,SAAOkB;AACT;AAEA,SAASH,EACPD,GACAD,GACc;AACd,QAAMQ,IAAO,GAAGR,CAAM,IAAIC,EAAK,GAAG,IAE5BQ,IACJR,EAAK,gBACJA,EAAK,WAAW,UAAaA,EAAK,WAAW,OAC1C,OAAOA,EAAK,MAAM,IAClB,SACAS,IAAuB,EAAE,OAAOT,EAAK,OAAO,MAAAO,EAAA;AAClD,SAAIC,MAAgB,WAAWC,EAAO,cAAcD,IAChDR,EAAK,YAAYA,EAAK,SAAS,SAAS,MAC1CS,EAAO,WAAWT,EAAK,SAAS,IAAI,CAACU,MAAMT,EAAkBS,GAAGH,CAAI,CAAC,IAEhEE;AACT;"}
|
|
@@ -8,7 +8,7 @@ import er from "react-select";
|
|
|
8
8
|
import { MdClose as tr, MdCalendarToday as nr, MdBolt as rr, MdArrowBack as Kt, MdChevronRight as Ut, MdAddCircleOutline as or, MdApps as ir, MdErrorOutline as sr, MdAccountTree as lr, MdAdd as ar, MdSearch as dr, MdCategory as cr, MdCancel as Ht, MdError as Vt, MdCheckCircle as qt, MdPlayArrow as Xt, MdHourglassEmpty as fr, MdSchedule as Nt, MdPerson as ur, MdExpandLess as hr, MdExpandMore as gr } from "react-icons/md";
|
|
9
9
|
import { GrTrigger as pr } from "react-icons/gr";
|
|
10
10
|
import { BiCollapse as br, BiExpand as yr } from "react-icons/bi";
|
|
11
|
-
import { j as mr, b as wr, O as vr } from "./index-
|
|
11
|
+
import { j as mr, b as wr, O as vr } from "./index-CvMXmKr6.js";
|
|
12
12
|
import { m as Er } from "./messages-CO299wPN.js";
|
|
13
13
|
import { T as kr, E as ee } from "./canvasTokens-CAD6G24b.js";
|
|
14
14
|
var Jt = Object.defineProperty, xr = (e, t, n) => t in e ? Jt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Tr = (e, t) => {
|
|
@@ -3135,4 +3135,4 @@ export {
|
|
|
3135
3135
|
Cs as u,
|
|
3136
3136
|
js as w
|
|
3137
3137
|
};
|
|
3138
|
-
//# sourceMappingURL=templateSkeletons-
|
|
3138
|
+
//# sourceMappingURL=templateSkeletons-BSE8YZ80.js.map
|