feat: add ModularPanel

This commit is contained in:
pengfei.zhou
2021-05-13 14:50:54 +08:00
committed by osborn
parent edcfb66c5d
commit 300343909a
15 changed files with 179 additions and 54 deletions

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
import { BridgeContext } from "../runtime/global"
import { ClassType } from "../pattern/mvvm"
import { Panel } from "../ui/panel"
import { ClassType } from "../util/types"
export function internalScheme(context: BridgeContext, panelClass: ClassType<Panel>) {
return `_internal_://export?class=${encodeURIComponent(panelClass.name)}&context=${context.id}`