From 875d49cd65218da05befe7feba070170850f8893 Mon Sep 17 00:00:00 2001 From: evstigneevroman_9cd1 Date: Fri, 29 Mar 2024 14:10:03 +0300 Subject: [PATCH] remove Panel component --- compiler/src/pre_define.ts | 1 - compiler/src/process_component_build.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/compiler/src/pre_define.ts b/compiler/src/pre_define.ts index 7a7ceb9f..84374b0b 100644 --- a/compiler/src/pre_define.ts +++ b/compiler/src/pre_define.ts @@ -147,7 +147,6 @@ export const GLOBAL_THIS_REQUIRE_NAPI: string = 'globalThis.requireNapi'; export const COMPONENT_BUTTON: string = 'Button'; export const COMPONENT_WITH_THEME: string = 'WithTheme'; export const COMPONENT_DIVIDER: string = 'Divider'; -export const COMPONENT_PANEL: string = 'Panel'; export const COMPONENT_PROGRESS: string = 'Progress'; export const COMPONENT_QR_CODE: string = 'QRCode'; export const COMPONENT_SCROLL_BAR: string = 'ScrollBar'; diff --git a/compiler/src/process_component_build.ts b/compiler/src/process_component_build.ts index 1e00c33a..470e58e9 100644 --- a/compiler/src/process_component_build.ts +++ b/compiler/src/process_component_build.ts @@ -138,7 +138,6 @@ import { TITLE, COMPONENT_WITH_THEME, COMPONENT_DIVIDER, - COMPONENT_PANEL, COMPONENT_PROGRESS, COMPONENT_QR_CODE, COMPONENT_SCROLL_BAR, @@ -211,7 +210,6 @@ const componentsCreateAndApplyTheme: Set = new Set([ CHECKBOX_GROUP, COMPONENT_BUTTON, COMPONENT_DIVIDER, - COMPONENT_PANEL, COMPONENT_PROGRESS, COMPONENT_QR_CODE, COMPONENT_SCROLL_BAR, -- Gitee