@a2simcode/ui 0.0.22 → 0.0.24

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.
@@ -48,7 +48,8 @@ import { default as JSwitch } from './switch';
48
48
  import { default as JTabs } from './tabs';
49
49
  import { default as JCollapse } from './collapse';
50
50
  import { default as JEditor } from './editor';
51
- export { JButton, JButtons, JInput, JIcon, JRadio, JSelect, JCascaderSelect, JCheckbox, JNumber, JAutoComplete, JLayout, JTable, JDialog, JDialogFull, JDrawer, JLayer, JDynamicLayer, JInputTag, JRate, JSlider, JUpload, JEcharts, JBarcode, JCodeMirror, JCount, JCountUp, JDataPanel, JDivider, JHpanel, JGuid, JInputButton, JInputCode, JInputColor, JTitle, JButtonSelect, JTree, JComp, JForm, JFormItem, JPage, JSliderCaptcha, JMenu, JTablePanel, JInputRows, JLayerForm, JSwitch, JTabs, JCollapse, JEditor, };
51
+ import { default as JWorkflowViewer } from './workflow-viewer';
52
+ export { JButton, JButtons, JInput, JIcon, JRadio, JSelect, JCascaderSelect, JCheckbox, JNumber, JAutoComplete, JLayout, JTable, JDialog, JDialogFull, JDrawer, JLayer, JDynamicLayer, JInputTag, JRate, JSlider, JUpload, JEcharts, JBarcode, JCodeMirror, JCount, JCountUp, JDataPanel, JDivider, JHpanel, JGuid, JInputButton, JInputCode, JInputColor, JTitle, JButtonSelect, JTree, JComp, JForm, JFormItem, JPage, JSliderCaptcha, JMenu, JTablePanel, JInputRows, JLayerForm, JSwitch, JTabs, JCollapse, JEditor, JWorkflowViewer, };
52
53
  export * from '../core';
53
54
  export type { InputProps } from './input/src/input.vue';
54
55
  export type { SelectOption, SelectProps } from './select/src/select.vue';
@@ -82,6 +83,7 @@ export type { EditConfigType } from './input-rows/src/interface';
82
83
  export type { TableColumnConfig, TableAction } from './table/src/table.vue';
83
84
  export type { TabsProps } from './tabs/src/tabs.vue';
84
85
  export type { CollapseProps } from './collapse/src/collapse.vue';
86
+ export type { WorkflowViewerProps } from './workflow-viewer/src/workflow-viewer.vue';
85
87
  declare const _default: {
86
88
  install: (app: App) => void;
87
89
  };
@@ -12,7 +12,9 @@ export declare const JPage: {
12
12
  type: import('vue').PropType<Record<string, any>>;
13
13
  default: () => {};
14
14
  };
15
- }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
15
+ }>> & Readonly<{}>, {
16
+ init: (schema: import('..').PageSchemaConfig[]) => void;
17
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
16
18
  actions: Record<string, any>;
17
19
  noPadding: boolean;
18
20
  schema: import('..').PageSchemaConfig[];
@@ -36,7 +38,9 @@ export declare const JPage: {
36
38
  type: import('vue').PropType<Record<string, any>>;
37
39
  default: () => {};
38
40
  };
39
- }>> & Readonly<{}>, {}, {}, {}, {}, {
41
+ }>> & Readonly<{}>, {
42
+ init: (schema: import('..').PageSchemaConfig[]) => void;
43
+ }, {}, {}, {}, {
40
44
  actions: Record<string, any>;
41
45
  noPadding: boolean;
42
46
  schema: import('..').PageSchemaConfig[];
@@ -57,7 +61,9 @@ export declare const JPage: {
57
61
  type: import('vue').PropType<Record<string, any>>;
58
62
  default: () => {};
59
63
  };
60
- }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
64
+ }>> & Readonly<{}>, {
65
+ init: (schema: import('..').PageSchemaConfig[]) => void;
66
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
61
67
  actions: Record<string, any>;
62
68
  noPadding: boolean;
63
69
  schema: import('..').PageSchemaConfig[];
@@ -22,7 +22,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
22
22
  type: PropType<Record<string, any>>;
23
23
  default: () => {};
24
24
  };
25
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
25
+ }>, {
26
+ init: (schema: PageSchemaConfig[]) => void;
27
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
26
28
  /**
27
29
  * @zh 模版
28
30
  */
@@ -0,0 +1,60 @@
1
+ declare const _JWorkflowViewer: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').WorkflowViewerProps> & Readonly<{
3
+ onElementDblclick?: ((ev: Record<string, any>) => any) | undefined;
4
+ onElementClick?: ((ev: Record<string, any>) => any) | undefined;
5
+ }>, {
6
+ reset: () => void;
7
+ zoom: (radio?: number) => void;
8
+ getData: () => Record<string, any>[];
9
+ setData: (data: Record<string, any>[]) => void;
10
+ updateElemet: (data: Record<string, any>) => void;
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ elementDblclick: (ev: Record<string, any>) => any;
13
+ elementClick: (ev: Record<string, any>) => any;
14
+ }, import('vue').PublicProps, {
15
+ paletteOptions: Record<string, any>;
16
+ lineStroke: string;
17
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
18
+ containerRef: HTMLDivElement;
19
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
20
+ P: {};
21
+ B: {};
22
+ D: {};
23
+ C: {};
24
+ M: {};
25
+ Defaults: {};
26
+ }, Readonly<import('..').WorkflowViewerProps> & Readonly<{
27
+ onElementDblclick?: ((ev: Record<string, any>) => any) | undefined;
28
+ onElementClick?: ((ev: Record<string, any>) => any) | undefined;
29
+ }>, {
30
+ reset: () => void;
31
+ zoom: (radio?: number) => void;
32
+ getData: () => Record<string, any>[];
33
+ setData: (data: Record<string, any>[]) => void;
34
+ updateElemet: (data: Record<string, any>) => void;
35
+ }, {}, {}, {}, {
36
+ paletteOptions: Record<string, any>;
37
+ lineStroke: string;
38
+ }>;
39
+ __isFragment?: never;
40
+ __isTeleport?: never;
41
+ __isSuspense?: never;
42
+ } & import('vue').ComponentOptionsBase<Readonly<import('..').WorkflowViewerProps> & Readonly<{
43
+ onElementDblclick?: ((ev: Record<string, any>) => any) | undefined;
44
+ onElementClick?: ((ev: Record<string, any>) => any) | undefined;
45
+ }>, {
46
+ reset: () => void;
47
+ zoom: (radio?: number) => void;
48
+ getData: () => Record<string, any>[];
49
+ setData: (data: Record<string, any>[]) => void;
50
+ updateElemet: (data: Record<string, any>) => void;
51
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
52
+ elementDblclick: (ev: Record<string, any>) => any;
53
+ elementClick: (ev: Record<string, any>) => any;
54
+ }, string, {
55
+ paletteOptions: Record<string, any>;
56
+ lineStroke: string;
57
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
58
+ install: (app: import('vue').App) => void;
59
+ };
60
+ export default _JWorkflowViewer;
@@ -0,0 +1,2 @@
1
+ export declare const nodeToJson: (nodes: Record<string, any>[]) => Record<string, any>[];
2
+ export declare const importData: (data: Record<string, any>[], diagram: any) => void;
@@ -0,0 +1,25 @@
1
+ export interface WorkflowViewerProps {
2
+ /** 配置 */
3
+ paletteOptions?: Record<string, any>;
4
+ /** 线条颜色 */
5
+ lineStroke?: string;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<WorkflowViewerProps, {
8
+ reset: () => void;
9
+ zoom: (radio?: number) => void;
10
+ getData: () => Record<string, any>[];
11
+ setData: (data: Record<string, any>[]) => void;
12
+ updateElemet: (data: Record<string, any>) => void;
13
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ elementDblclick: (ev: Record<string, any>) => any;
15
+ elementClick: (ev: Record<string, any>) => any;
16
+ }, string, import('vue').PublicProps, Readonly<WorkflowViewerProps> & Readonly<{
17
+ onElementDblclick?: ((ev: Record<string, any>) => any) | undefined;
18
+ onElementClick?: ((ev: Record<string, any>) => any) | undefined;
19
+ }>, {
20
+ paletteOptions: Record<string, any>;
21
+ lineStroke: string;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
23
+ containerRef: HTMLDivElement;
24
+ }, HTMLDivElement>;
25
+ export default _default;