@blueking/bkflow-canvas-editor 1.0.3 → 1.1.0-beta.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/README.md +57 -6
- package/dist/advanced.d.ts +14 -2
- package/dist/index.cjs.js +40 -36
- package/dist/index.d.ts +16 -4
- package/dist/index.esm.js +31937 -28607
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -207,13 +207,25 @@ interface Variable {
|
|
|
207
207
|
show_type: 'show' | 'hide';
|
|
208
208
|
source_info: Record<string, string[]>;
|
|
209
209
|
source_tag: string;
|
|
210
|
-
source_type: 'custom' | 'component_inputs' | 'component_outputs' | 'system';
|
|
210
|
+
source_type: 'custom' | 'component_inputs' | 'component_outputs' | 'system' | 'space';
|
|
211
211
|
validation: string;
|
|
212
|
-
value?: string | number | boolean | Record<string, any
|
|
212
|
+
value?: string | number | boolean | Record<string, any> | any[];
|
|
213
213
|
version?: string;
|
|
214
214
|
form_schema?: Record<string, any>;
|
|
215
215
|
pre_render_mako?: boolean;
|
|
216
216
|
plugin_code?: string;
|
|
217
|
+
/**
|
|
218
|
+
* 全局变量改版后新增字段,前端自管。
|
|
219
|
+
* 用于存储「组件配置」区域的扩展字段(如 required、data_type、placeholder、validation_error_msg),
|
|
220
|
+
* 后端原样透传即可。
|
|
221
|
+
*/
|
|
222
|
+
meta?: {
|
|
223
|
+
required?: boolean;
|
|
224
|
+
data_type?: string;
|
|
225
|
+
placeholder?: string;
|
|
226
|
+
validation_error_msg?: string;
|
|
227
|
+
[key: string]: any;
|
|
228
|
+
};
|
|
217
229
|
}
|
|
218
230
|
|
|
219
231
|
interface PipelineTree {
|
|
@@ -761,14 +773,14 @@ type __VLS_Props$5 = {
|
|
|
761
773
|
enableVersion?: boolean;
|
|
762
774
|
flowVersion?: string;
|
|
763
775
|
};
|
|
764
|
-
declare var
|
|
776
|
+
declare var __VLS_72: {
|
|
765
777
|
formData: {
|
|
766
778
|
name: string;
|
|
767
779
|
};
|
|
768
780
|
variablesValue: Record<string, any>;
|
|
769
781
|
};
|
|
770
782
|
type __VLS_Slots$4 = {} & {
|
|
771
|
-
'custom-form-content'?: (props: typeof
|
|
783
|
+
'custom-form-content'?: (props: typeof __VLS_72) => any;
|
|
772
784
|
};
|
|
773
785
|
declare const __VLS_base$4: vue.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
774
786
|
close: (...args: any[]) => void;
|