Переглянути джерело

银河平台V2.0 - designer

luoyifan 2 роки тому
батько
коміт
db38c0b25f

+ 16 - 0
dist/controls/GridColumnCustom.d.ts

@@ -0,0 +1,16 @@
+export default class GridColumnCustom extends Scope {
+    commit(): void;
+    grid1Buttonclick(): void;
+    conditionButtonclick(): void;
+    addField(): void;
+    removeField(): void;
+    calcField(): void;
+    moveUp(): void;
+    moveDown(): void;
+    addCondition(): void;
+    removeCondition(): void;
+    calcCondition(): void;
+    moveUpCondition(): void;
+    moveDownCondition(): void;
+}
+import { Scope } from "../Scope";

+ 4 - 0
dist/controls/GridColumnCustom.model.d.ts

@@ -0,0 +1,4 @@
+declare namespace _default {
+    export const data: {};
+}
+export default _default;

+ 529 - 0
dist/controls/GridColumnCustom.view.d.ts

@@ -0,0 +1,529 @@
+declare namespace _default {
+    export const title: string;
+    export const layout: string;
+    export const width: number;
+    export const height: number;
+    export const fbar: {
+        xtype: string;
+        text: string;
+        iconCls: string;
+        listeners: {
+            click: string;
+        };
+    }[];
+    export const items: {
+        region: string;
+        xtype: string;
+        items: ({
+            title: string;
+            reference: string;
+            layout: {
+                type: string;
+                pack: string;
+                align: string;
+            };
+            defaults: {
+                border: boolean;
+                anchor: string;
+                margin: string;
+            };
+            scrollable: boolean;
+            items: ({
+                xtype: string;
+                items: ({
+                    fieldLabel: string;
+                    bind: {
+                        value: string;
+                    };
+                    xtype: string;
+                    flex: number;
+                } | {
+                    fieldLabel: string;
+                    bind: {
+                        value: string;
+                    };
+                    xtype: string;
+                    flex?: undefined;
+                })[];
+                layout?: undefined;
+                defaults?: undefined;
+            } | {
+                xtype: string;
+                items: ({
+                    fieldLabel: string;
+                    bind: {
+                        value: string;
+                    };
+                    xtype: string;
+                    dict?: undefined;
+                } | {
+                    fieldLabel: string;
+                    bind: {
+                        value: string;
+                    };
+                    xtype: string;
+                    dict: string;
+                })[];
+                layout?: undefined;
+                defaults?: undefined;
+            } | {
+                layout: string;
+                defaults: {
+                    margin: string;
+                };
+                items: ({
+                    boxLabel: string;
+                    margin: string;
+                    xtype: string;
+                    bind: {
+                        value: string;
+                    };
+                } | {
+                    boxLabel: string;
+                    xtype: string;
+                    bind: {
+                        value: string;
+                    };
+                    margin?: undefined;
+                })[];
+                xtype?: undefined;
+            } | {
+                xtype: string;
+                items: ({
+                    fieldLabel: string;
+                    labelWidth: number;
+                    bind: {
+                        value: string;
+                    };
+                    xtype: string;
+                } | {
+                    fieldLabel: string;
+                    bind: {
+                        value: string;
+                    };
+                    xtype: string;
+                    labelWidth?: undefined;
+                })[];
+                layout?: undefined;
+                defaults?: undefined;
+            })[];
+            xtype?: undefined;
+            pagination?: undefined;
+            _mode?: undefined;
+            listeners?: undefined;
+            hideFootbar?: undefined;
+            tbar?: undefined;
+            store?: undefined;
+            columns?: undefined;
+            border?: undefined;
+        } | {
+            title: string;
+            reference: string;
+            xtype: string;
+            pagination: boolean;
+            _mode: string;
+            listeners: {
+                buttonclick: string;
+            };
+            hideFootbar: boolean;
+            tbar: (string | {
+                xtype: string;
+                text: string;
+                iconCls: string;
+                listeners: {
+                    click: string;
+                };
+            })[];
+            store: {};
+            columns: ({
+                dataIndex: string;
+                header: string;
+                width: number;
+                editor: {
+                    xtype: string;
+                };
+                hidden?: undefined;
+                dict?: undefined;
+                text?: undefined;
+                xtype?: undefined;
+                resizable?: undefined;
+                sortable?: undefined;
+                menuDisabled?: undefined;
+                checkedValue?: undefined;
+                uncheckedValue?: undefined;
+            } | {
+                dataIndex: string;
+                header: string;
+                width: number;
+                editor: {
+                    xtype: string;
+                };
+                hidden: boolean;
+                dict?: undefined;
+                text?: undefined;
+                xtype?: undefined;
+                resizable?: undefined;
+                sortable?: undefined;
+                menuDisabled?: undefined;
+                checkedValue?: undefined;
+                uncheckedValue?: undefined;
+            } | {
+                dataIndex: string;
+                header: string;
+                width: number;
+                editor: {
+                    xtype: string;
+                };
+                dict: string;
+                hidden?: undefined;
+                text?: undefined;
+                xtype?: undefined;
+                resizable?: undefined;
+                sortable?: undefined;
+                menuDisabled?: undefined;
+                checkedValue?: undefined;
+                uncheckedValue?: undefined;
+            } | {
+                dataIndex: string;
+                header: string;
+                editor: {
+                    xtype: string;
+                };
+                width?: undefined;
+                hidden?: undefined;
+                dict?: undefined;
+                text?: undefined;
+                xtype?: undefined;
+                resizable?: undefined;
+                sortable?: undefined;
+                menuDisabled?: undefined;
+                checkedValue?: undefined;
+                uncheckedValue?: undefined;
+            } | {
+                dataIndex: string;
+                text: string;
+                editor: {
+                    xtype: string;
+                };
+                header?: undefined;
+                width?: undefined;
+                hidden?: undefined;
+                dict?: undefined;
+                xtype?: undefined;
+                resizable?: undefined;
+                sortable?: undefined;
+                menuDisabled?: undefined;
+                checkedValue?: undefined;
+                uncheckedValue?: undefined;
+            } | {
+                dataIndex: string;
+                text: string;
+                xtype: string;
+                width: number;
+                resizable: boolean;
+                sortable: boolean;
+                menuDisabled: boolean;
+                checkedValue: boolean;
+                uncheckedValue: boolean;
+                header?: undefined;
+                editor?: undefined;
+                hidden?: undefined;
+                dict?: undefined;
+            } | {
+                dataIndex: string;
+                header: string;
+                width: number;
+                editor: {
+                    xtype: string;
+                };
+                dict: string;
+                hidden: boolean;
+                text?: undefined;
+                xtype?: undefined;
+                resizable?: undefined;
+                sortable?: undefined;
+                menuDisabled?: undefined;
+                checkedValue?: undefined;
+                uncheckedValue?: undefined;
+            } | {
+                dataIndex: string;
+                text: string;
+                xtype: string;
+                width: number;
+                resizable: boolean;
+                sortable: boolean;
+                menuDisabled: boolean;
+                checkedValue: boolean;
+                uncheckedValue: boolean;
+                hidden: boolean;
+                header?: undefined;
+                editor?: undefined;
+                dict?: undefined;
+            } | {
+                dataIndex: string;
+                text: string;
+                xtype: string;
+                width: number;
+                resizable: boolean;
+                sortable: boolean;
+                menuDisabled: boolean;
+                hidden: boolean;
+                header?: undefined;
+                editor?: undefined;
+                dict?: undefined;
+                checkedValue?: undefined;
+                uncheckedValue?: undefined;
+            } | {
+                dataIndex: string;
+                text: string;
+                xtype: string;
+                width: number;
+                resizable: boolean;
+                sortable: boolean;
+                menuDisabled: boolean;
+                header?: undefined;
+                editor?: undefined;
+                hidden?: undefined;
+                dict?: undefined;
+                checkedValue?: undefined;
+                uncheckedValue?: undefined;
+            } | {
+                dataIndex: string;
+                text: string;
+                editor: {
+                    xtype: string;
+                };
+                dict: string;
+                hidden: boolean;
+                header?: undefined;
+                width?: undefined;
+                xtype?: undefined;
+                resizable?: undefined;
+                sortable?: undefined;
+                menuDisabled?: undefined;
+                checkedValue?: undefined;
+                uncheckedValue?: undefined;
+            } | {
+                dataIndex: string;
+                text: string;
+                editor: {
+                    xtype: string;
+                };
+                hidden: boolean;
+                header?: undefined;
+                width?: undefined;
+                dict?: undefined;
+                xtype?: undefined;
+                resizable?: undefined;
+                sortable?: undefined;
+                menuDisabled?: undefined;
+                checkedValue?: undefined;
+                uncheckedValue?: undefined;
+            })[];
+            layout?: undefined;
+            defaults?: undefined;
+            scrollable?: undefined;
+            items?: undefined;
+            border?: undefined;
+        } | {
+            title: string;
+            reference: string;
+            layout: string;
+            border: boolean;
+            items: ({
+                region: string;
+                height: number;
+                border: boolean;
+                split: boolean;
+                xtype: string;
+                reference: string;
+                pagination: boolean;
+                hideFootbar: boolean;
+                _mode: string;
+                listeners: {
+                    buttonclick: string;
+                };
+                store: {};
+                tbar: {
+                    xtype: string;
+                    border: boolean;
+                    items: (string | {
+                        xtype: string;
+                        text: string;
+                        iconCls: string;
+                        listeners: {
+                            click: string;
+                        };
+                    })[];
+                };
+                columns: ({
+                    text: string;
+                    dataIndex: string;
+                    width: number;
+                    sortable: boolean;
+                    menuDisabled: boolean;
+                    editor: {
+                        selectOnFocus: boolean;
+                        xtype?: undefined;
+                        typeAhead?: undefined;
+                        triggerAction?: undefined;
+                        store?: undefined;
+                        minValue?: undefined;
+                        maxValue?: undefined;
+                    };
+                    align?: undefined;
+                    xtype?: undefined;
+                    header?: undefined;
+                } | {
+                    text: string;
+                    dataIndex: string;
+                    width: number;
+                    sortable: boolean;
+                    menuDisabled: boolean;
+                    editor: {
+                        xtype: string;
+                        typeAhead: boolean;
+                        triggerAction: string;
+                        selectOnFocus: boolean;
+                        store: string[][];
+                        minValue?: undefined;
+                        maxValue?: undefined;
+                    };
+                    align?: undefined;
+                    xtype?: undefined;
+                    header?: undefined;
+                } | {
+                    text: string;
+                    dataIndex: string;
+                    align: string;
+                    width: number;
+                    sortable: boolean;
+                    menuDisabled: boolean;
+                    editor: {
+                        xtype: string;
+                        selectOnFocus: boolean;
+                        minValue: number;
+                        maxValue: number;
+                        typeAhead?: undefined;
+                        triggerAction?: undefined;
+                        store?: undefined;
+                    };
+                    xtype?: undefined;
+                    header?: undefined;
+                } | {
+                    xtype: string;
+                    dataIndex: string;
+                    header: string;
+                    width: number;
+                    sortable: boolean;
+                    menuDisabled: boolean;
+                    text?: undefined;
+                    editor?: undefined;
+                    align?: undefined;
+                } | {
+                    text: string;
+                    dataIndex: string;
+                    sortable: boolean;
+                    menuDisabled: boolean;
+                    editor: {
+                        selectOnFocus: boolean;
+                        xtype?: undefined;
+                        typeAhead?: undefined;
+                        triggerAction?: undefined;
+                        store?: undefined;
+                        minValue?: undefined;
+                        maxValue?: undefined;
+                    };
+                    width?: undefined;
+                    align?: undefined;
+                    xtype?: undefined;
+                    header?: undefined;
+                })[];
+                layout?: undefined;
+            } | {
+                region: string;
+                xtype: string;
+                layout: string;
+                reference: string;
+                split: boolean;
+                height?: undefined;
+                border?: undefined;
+                pagination?: undefined;
+                hideFootbar?: undefined;
+                _mode?: undefined;
+                listeners?: undefined;
+                store?: undefined;
+                tbar?: undefined;
+                columns?: undefined;
+            })[];
+            defaults?: undefined;
+            scrollable?: undefined;
+            xtype?: undefined;
+            pagination?: undefined;
+            _mode?: undefined;
+            listeners?: undefined;
+            hideFootbar?: undefined;
+            tbar?: undefined;
+            store?: undefined;
+            columns?: undefined;
+        } | {
+            title: string;
+            layout: {
+                type: string;
+                pack: string;
+                align: string;
+            };
+            defaults: {
+                border: boolean;
+                anchor: string;
+                margin: string;
+            };
+            scrollable: boolean;
+            items: {
+                xtype: string;
+                items: ({
+                    fieldLabel: string;
+                    bind: {
+                        value: string;
+                    };
+                    xtype: string;
+                    flex: number;
+                } | {
+                    fieldLabel: string;
+                    bind: {
+                        value: string;
+                    };
+                    xtype: string;
+                    flex?: undefined;
+                })[];
+            }[];
+            reference?: undefined;
+            xtype?: undefined;
+            pagination?: undefined;
+            _mode?: undefined;
+            listeners?: undefined;
+            hideFootbar?: undefined;
+            tbar?: undefined;
+            store?: undefined;
+            columns?: undefined;
+            border?: undefined;
+        } | {
+            title: string;
+            xtype: string;
+            reference: string;
+            layout?: undefined;
+            defaults?: undefined;
+            scrollable?: undefined;
+            items?: undefined;
+            pagination?: undefined;
+            _mode?: undefined;
+            listeners?: undefined;
+            hideFootbar?: undefined;
+            tbar?: undefined;
+            store?: undefined;
+            columns?: undefined;
+            border?: undefined;
+        })[];
+    }[];
+}
+export default _default;

+ 1 - 0
dist/controls/ParamComplex.d.ts

@@ -0,0 +1 @@
+export default function _default(): void;

+ 1 - 0
dist/controls/SqlComplex.d.ts

@@ -0,0 +1 @@
+export default function _default(): void;

+ 25 - 0
dist/controls/bpmn.d.ts

@@ -0,0 +1,25 @@
+/**
+ * 属性:
+ *  - autoLoad: true
+ *  - dataSource: ''
+ * 方法:
+ *  - handleZoomBig
+ *  - handleZoomSmall
+ *  - handleZoomReset
+ *  - openDiagram
+ *  - getBpmn
+ *  - getBpmnCanvas
+ *  - getBpmnOverlays
+ *  - getBpmnZoomScroll
+ * 事件:
+ *  - initFinish
+ *  - failed
+ *  - success
+ *  - itemHover
+ *  - itemOut
+ *  - itemClick
+ *  - itemDblclick
+ *  - itemMousedown
+ *  - itemMouseup
+ */
+export default function _default(): void;

+ 1 - 0
dist/controls/clipboard.d.ts

@@ -0,0 +1 @@
+export default function _default(): void;

+ 1 - 0
dist/controls/designer.d.ts

@@ -0,0 +1 @@
+export default function _default(): void;

+ 1 - 0
dist/controls/grid_behavior.d.ts

@@ -0,0 +1 @@
+export function initBehaviorEdit(config: any): void;

+ 1 - 0
dist/controls/grid_code.d.ts

@@ -0,0 +1 @@
+export function initGridCode(grid: any, newConfig: any, buttons: any): void;

+ 5 - 0
dist/controls/grid_dialog.d.ts

@@ -0,0 +1,5 @@
+export function initGridDialog(config: any): void;
+export function showGridRowDetail(grid1: any, isEdit?: boolean): void;
+export class SystemEventFu {
+    showGridRowDetail(): (sender: any) => void;
+}

+ 1 - 0
dist/controls/input/JsonEditor.d.ts

@@ -0,0 +1 @@
+export default function _default(): void;

+ 1 - 0
dist/controls/input/SqlEditor.d.ts

@@ -0,0 +1 @@
+export default function _default(): void;

+ 1 - 0
dist/controls/input/multiplesearch.d.ts

@@ -0,0 +1 @@
+export default function _default(): void;