ReplaceOptions.d.ts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /**
  2. * @type {ReplaceOption[]}
  3. */
  4. export const START_EVENT: ReplaceOption[];
  5. /**
  6. * @type {ReplaceOption[]}
  7. */
  8. export const START_EVENT_SUB_PROCESS: ReplaceOption[];
  9. /**
  10. * @type {ReplaceOption[]}
  11. */
  12. export const INTERMEDIATE_EVENT: ReplaceOption[];
  13. /**
  14. * @type {ReplaceOption[]}
  15. */
  16. export const END_EVENT: ReplaceOption[];
  17. /**
  18. * @type {ReplaceOption[]}
  19. */
  20. export const GATEWAY: ReplaceOption[];
  21. /**
  22. * @type {ReplaceOption[]}
  23. */
  24. export const SUBPROCESS_EXPANDED: ReplaceOption[];
  25. /**
  26. * @type {ReplaceOption[]}
  27. */
  28. export const TRANSACTION: ReplaceOption[];
  29. /**
  30. * @type {ReplaceOption[]}
  31. */
  32. export const EVENT_SUB_PROCESS: ReplaceOption[];
  33. /**
  34. * @type {ReplaceOption[]}
  35. */
  36. export const TASK: ReplaceOption[];
  37. /**
  38. * @type {ReplaceOption[]}
  39. */
  40. export const DATA_OBJECT_REFERENCE: ReplaceOption[];
  41. /**
  42. * @type {ReplaceOption[]}
  43. */
  44. export const DATA_STORE_REFERENCE: ReplaceOption[];
  45. /**
  46. * @type {ReplaceOption[]}
  47. */
  48. export const BOUNDARY_EVENT: ReplaceOption[];
  49. /**
  50. * @type {ReplaceOption[]}
  51. */
  52. export const EVENT_SUB_PROCESS_START_EVENT: ReplaceOption[];
  53. /**
  54. * @type {ReplaceOption[]}
  55. */
  56. export const SEQUENCE_FLOW: ReplaceOption[];
  57. /**
  58. * @type {ReplaceOption[]}
  59. */
  60. export const PARTICIPANT: ReplaceOption[];
  61. export type LabelGetter = () => string;
  62. export type ReplaceOption = {
  63. label: string | LabelGetter;
  64. actionName: string;
  65. className: string;
  66. target?: {
  67. type: string;
  68. isExpanded?: boolean;
  69. isInterrupting?: boolean;
  70. triggeredByEvent?: boolean;
  71. cancelActivity?: boolean;
  72. eventDefinitionType?: string;
  73. eventDefinitionAttrs?: Record<string, any>;
  74. };
  75. };