fix(amis-editor): layout:wrapper-contanier tpl 支持className设置 #7032
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
🤖 Generated by Copilot at e409de2
This pull request improves the code quality, layout, and internationalization of the AMIS editor. It formats and fixes the code of some components and functions, removes unnecessary styles and files, adds translations for new features, and allows customizing the configuration panels. It affects the files
packages/amis-editor/src/renderer/ValidationControl.tsx
,packages/amis-editor-core/scss/_rightPanel.scss
,packages/amis-editor-core/scss/control/_validation-control.scss
,packages/amis-editor-core/src/index.ts
,packages/amis-editor/src/locale/en-US.ts
,packages/amis-editor/src/locale/zh-CN.ts
,packages/amis-editor/src/plugin/Form/ButtonGroupSelect.tsx
,packages/amis-editor/src/renderer/textarea-formula/FormulaPicker.tsx
,packages/amis-editor/src/tpl/layout.tsx
, andpackages/amis-editor/src/util.ts
.🤖 Generated by Copilot at e409de2
Why
How
🤖 Generated by Copilot at e409de2
.config-wrapper-contanier
class to improve the layout of the configuration panels (link)_validation-control.scss
file to_rightPanel.scss
to simplify the scss structure and reduce the bundle size (link)className
parameter to thelayout:wrapper-contanier
schema template to allow custom class names for the container component (link)en-US.ts
with the new entries (link)zh-CN.ts
with the new entries (link)index.ts
to avoid potential syntax errors or compatibility issues (link)ButtonGroupControlPlugin
class inButtonGroupSelect.tsx
(link)renderValidateApiControl
method and add parentheses around the return statement inValidationControl.tsx
(link, link)FormulaEditor
component inFormulaPicker.tsx
(link)schemaToArray
function inutil.ts
(link)