@huanban/rulego-editor-vue 1.1.6 → 1.3.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.
@@ -40,10 +40,10 @@ export interface WorkflowInfoPanelProps {
40
40
  declare var __VLS_1: {
41
41
  workflow: WorkflowItem;
42
42
  defaultPanel: null;
43
- }, __VLS_3: {
43
+ }, __VLS_13: {
44
44
  workflow: WorkflowItem;
45
45
  defaultPanel: null;
46
- }, __VLS_19: {
46
+ }, __VLS_29: {
47
47
  workflow: WorkflowItem;
48
48
  apiBase: any;
49
49
  defaultPanel: null;
@@ -51,9 +51,9 @@ declare var __VLS_1: {
51
51
  type __VLS_Slots = {} & {
52
52
  baseInfo?: (props: typeof __VLS_1) => any;
53
53
  } & {
54
- varsSecrets?: (props: typeof __VLS_3) => any;
54
+ varsSecrets?: (props: typeof __VLS_13) => any;
55
55
  } & {
56
- integration?: (props: typeof __VLS_19) => any;
56
+ integration?: (props: typeof __VLS_29) => any;
57
57
  };
58
58
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<WorkflowInfoPanelProps>, {
59
59
  theme: string;
@@ -14,6 +14,8 @@ export interface WorkflowListProps {
14
14
  showSearch?: boolean;
15
15
  showCreate?: boolean;
16
16
  showRefresh?: boolean;
17
+ disabled?: boolean;
18
+ disabledMessage?: string;
17
19
  locale?: string;
18
20
  messages?: LocaleMessages;
19
21
  t?: EditorTranslate;
@@ -24,7 +26,7 @@ export interface WorkflowListProps {
24
26
  onError?: (error: Error) => void;
25
27
  onCreateSuccess?: (chainId: string) => void;
26
28
  }
27
- declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {
29
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {
28
30
  workflow: {
29
31
  id: string;
30
32
  name: string;
@@ -38,7 +40,7 @@ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __V
38
40
  deployed: boolean;
39
41
  };
40
42
  index: number;
41
- }, __VLS_19: {}, __VLS_21: {
43
+ }, __VLS_21: {}, __VLS_23: {
42
44
  workflow: {
43
45
  id: string;
44
46
  name: string;
@@ -51,7 +53,7 @@ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __V
51
53
  updateTime: string;
52
54
  deployed: boolean;
53
55
  };
54
- }, __VLS_23: {}, __VLS_25: {}, __VLS_27: {}, __VLS_29: {}, __VLS_31: {}, __VLS_33: {}, __VLS_35: {}, __VLS_37: {
56
+ }, __VLS_25: {}, __VLS_27: {}, __VLS_29: {}, __VLS_31: {}, __VLS_33: {}, __VLS_35: {}, __VLS_37: {}, __VLS_39: {
55
57
  submit: (data?: Record<string, unknown>) => Promise<void>;
56
58
  close: () => void;
57
59
  };
@@ -66,33 +68,35 @@ type __VLS_Slots = {} & {
66
68
  } & {
67
69
  'icon-add'?: (props: typeof __VLS_9) => any;
68
70
  } & {
69
- empty?: (props: typeof __VLS_11) => any;
71
+ 'icon-workflow'?: (props: typeof __VLS_11) => any;
70
72
  } & {
71
- 'icon-workflow'?: (props: typeof __VLS_13) => any;
73
+ empty?: (props: typeof __VLS_13) => any;
72
74
  } & {
73
- 'icon-add'?: (props: typeof __VLS_15) => any;
75
+ 'icon-workflow'?: (props: typeof __VLS_15) => any;
74
76
  } & {
75
- row?: (props: typeof __VLS_17) => any;
77
+ 'icon-add'?: (props: typeof __VLS_17) => any;
76
78
  } & {
77
- 'icon-workflow'?: (props: typeof __VLS_19) => any;
79
+ row?: (props: typeof __VLS_19) => any;
78
80
  } & {
79
- actions?: (props: typeof __VLS_21) => any;
81
+ 'icon-workflow'?: (props: typeof __VLS_21) => any;
80
82
  } & {
81
- 'icon-design'?: (props: typeof __VLS_23) => any;
83
+ actions?: (props: typeof __VLS_23) => any;
82
84
  } & {
83
- 'icon-info'?: (props: typeof __VLS_25) => any;
85
+ 'icon-design'?: (props: typeof __VLS_25) => any;
84
86
  } & {
85
- 'icon-stop'?: (props: typeof __VLS_27) => any;
87
+ 'icon-info'?: (props: typeof __VLS_27) => any;
86
88
  } & {
87
- 'icon-start'?: (props: typeof __VLS_29) => any;
89
+ 'icon-stop'?: (props: typeof __VLS_29) => any;
88
90
  } & {
89
- 'icon-copy'?: (props: typeof __VLS_31) => any;
91
+ 'icon-start'?: (props: typeof __VLS_31) => any;
90
92
  } & {
91
- 'icon-delete'?: (props: typeof __VLS_33) => any;
93
+ 'icon-copy'?: (props: typeof __VLS_33) => any;
92
94
  } & {
93
- 'icon-logs'?: (props: typeof __VLS_35) => any;
95
+ 'icon-delete'?: (props: typeof __VLS_35) => any;
94
96
  } & {
95
- 'create-form'?: (props: typeof __VLS_37) => any;
97
+ 'icon-logs'?: (props: typeof __VLS_37) => any;
98
+ } & {
99
+ 'create-form'?: (props: typeof __VLS_39) => any;
96
100
  };
97
101
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<WorkflowListProps>, {
98
102
  pageSize: number;
@@ -102,6 +106,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
102
106
  showSearch: boolean;
103
107
  showCreate: boolean;
104
108
  showRefresh: boolean;
109
+ disabled: boolean;
110
+ disabledMessage: string;
105
111
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<WorkflowListProps>, {
106
112
  pageSize: number;
107
113
  layout: string;
@@ -110,14 +116,18 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
110
116
  showSearch: boolean;
111
117
  showCreate: boolean;
112
118
  showRefresh: boolean;
119
+ disabled: boolean;
120
+ disabledMessage: string;
113
121
  }>>> & Readonly<{}>, {
114
122
  theme: WorkflowTheme;
115
123
  className: string;
124
+ disabled: boolean;
116
125
  pageSize: number;
117
126
  layout: "grid" | "list";
118
127
  showSearch: boolean;
119
128
  showCreate: boolean;
120
129
  showRefresh: boolean;
130
+ disabledMessage: string;
121
131
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
122
132
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
123
133
  declare const _default: typeof __VLS_export;