From f574e200b9f9db8a158460d328bbc64fc4dd1832 Mon Sep 17 00:00:00 2001 From: Guyi Date: Wed, 13 May 2020 18:31:35 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-4058=20refactor:=20fineui=E4=B8=AD?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=A7=E4=BB=B6=E7=9A=84=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../abstract.treevaluechooser.d.ts | 20 +++++++++++++++++++ .../abstract.treevaluechooser.list.d.ts | 3 +++ 2 files changed, 23 insertions(+) create mode 100644 dist/lib/component/treevaluechooser/abstract.treevaluechooser.d.ts create mode 100644 dist/lib/component/treevaluechooser/abstract.treevaluechooser.list.d.ts diff --git a/dist/lib/component/treevaluechooser/abstract.treevaluechooser.d.ts b/dist/lib/component/treevaluechooser/abstract.treevaluechooser.d.ts new file mode 100644 index 0000000000..aa478c9cb2 --- /dev/null +++ b/dist/lib/component/treevaluechooser/abstract.treevaluechooser.d.ts @@ -0,0 +1,20 @@ +import { _Widget } from "../../core/widget"; +export interface _AbstractTreeValueChooser extends _Widget { + _valueFormatter: (v: string) => string; + _initData: (items: any[]) => void; + _itemsCreator: (options: any, callback: Function) => void; + _reqDisplayTreeNode: (options: any, callback: Function) => void; + _reqSelectedTreeNode: (options: any, callback: Function) => void; + _reqAdjustTreeNode: (options: any, callback: Function) => void; + _reqInitTreeNode: (options: any, callback: Function) => void; + _reqTreeNode: (options: any, callback: Function) => void; + _getAddedValueNode: (parentValues: any[], selectedValues: any) => any[]; + _getNode: (selectedValues: any, parentValues: any[]) => any; + _deleteNode: (selectedValues: any, values: any[]) => void; + _buildTree: (jo: any, values: any) => void; + _isMatch: (parentValues: any, value: any, keyword: any) => boolean; + _getTreeNode: (parentValues: any, v: any) => any; + _getChildren: (parentValues: any) => any; + _getAllChildren: (parentValues: any) => any; + _getChildCount: (parentValues: any) => number; +} diff --git a/dist/lib/component/treevaluechooser/abstract.treevaluechooser.list.d.ts b/dist/lib/component/treevaluechooser/abstract.treevaluechooser.list.d.ts new file mode 100644 index 0000000000..ff04ff549f --- /dev/null +++ b/dist/lib/component/treevaluechooser/abstract.treevaluechooser.list.d.ts @@ -0,0 +1,3 @@ +import { _AbstractTreeValueChooser } from "./abstract.treevaluechooser"; +export interface _AbstractListTreeValueChooser extends _AbstractTreeValueChooser { +}