index
int64
0
0
repo_id
stringlengths
16
181
file_path
stringlengths
28
270
content
stringlengths
1
11.6M
__index_level_0__
int64
0
10k
0
petrpan-code/arco-design/arco-design/site/docs
petrpan-code/arco-design/arco-design/site/docs/pro/mock.en-US.md
````` Arco Pro # Mock Data Intercept ajax and return simulated data ````` *Auto translate by google.* ## Solution Parallel development of front and back ends means that the front end needs to be developed without interface data. In this case, if the function of simulating data requests can be provided, our data re...
6,100
0
petrpan-code/arco-design/arco-design/site/docs
petrpan-code/arco-design/arco-design/site/docs/pro/mock.zh-CN.md
````` Arco Pro # 模拟数据 拦截 ajax 并返回模拟的数据 ````` ## 解决方案 前后端并行开发意味着前端需要在没有接口数据的情况下进行开发,在这种情况下如果能提供模拟数据请求的功能,我们的数据请求代码就能正常书写,pro 采用了 Mock.js 来实现这个功能。 Mock.js 会拦截 ajax 请求,如果有匹配的 mock 规则,就不会将 ajax 发出去,而是返回 mock 的数据。Mock.js 有着丰富的模拟数据生成方法,建议先读一下文档,文档写的很清晰易懂 [MockJs 文档](http://mockjs.com/). ```js import Mock from 'mockjs';...
6,101
0
petrpan-code/arco-design/arco-design/site/docs
petrpan-code/arco-design/arco-design/site/docs/pro/permission.en-US.md
````` Arco Pro # Permission Control Permission control is a very common basic function in middle and background scenarios. In `v2.1.0`, the permission control function is integrated into Arco Design Pro ````` *Auto translate by google.* ## Applicable scene The common front-end permission control in the middle and b...
6,102
0
petrpan-code/arco-design/arco-design/site/docs
petrpan-code/arco-design/arco-design/site/docs/pro/permission.zh-CN.md
````` Arco Pro # 权限控制 权限控制是中后台场景非常常见的基础功能,在 `v2.1.0` 将权限控制功能集成至 Arco Design Pro ````` ## 适用场景 中后台常见的前端权限控制大概可概括为以下场景: 1. 菜单权限控制,针对**某个菜单/页面**进行权限管理,有则能看到此页面,否则将展示无权限。 2. **针对某页面中的某触发器**进行权限管理,例如对列表页的某一条数据进行删除操作。有权限情况下则展示删除按钮。 3. **针对某页面、某对象的某触发器**进行权限管理,例如列表页且内容体裁为图文的数据的删除操作。在有权限情况下对这条数据展示删除按钮。 Arco Design Pro 在...
6,103
0
petrpan-code/arco-design/arco-design/site/docs
petrpan-code/arco-design/arco-design/site/docs/pro/routes-and-menu.en-US.md
````` Arco Pro # Routing and menu Route and menu generation. ````` *Auto translate by google.* Routing is usually tied to the menu. In order to reduce the amount of maintenance, we directly generate the menu through the routing table. ## Routing First of all, you need to understand the routing table configuration...
6,104
0
petrpan-code/arco-design/arco-design/site/docs
petrpan-code/arco-design/arco-design/site/docs/pro/routes-and-menu.zh-CN.md
````` Arco Pro # 路由与菜单 路由和菜单的生成。 ````` 路由通常都和菜单绑定在一起,为了减少维护的量,我们直接通过路由表生成了菜单。 ## 路由 首先,需要先了解一下路由表的配置 ```js // src/routes.ts export const routes = [ { name: 'menu.dashboard', // 菜单名,locale['menu.dashboard'] key: 'dashboard', // 菜单项 key,也是菜单 path children: [ ...
6,105
0
petrpan-code/arco-design/arco-design/site/docs
petrpan-code/arco-design/arco-design/site/docs/pro/start.en-US.md
````` Arco Pro # Quick start Please follow the steps below to create Arco Design Pro ````` *Auto translate by google.* ## Environment Before starting development, please make sure that `node`, `git` and `arco cli >= 1.24.0` are installed in the local environment. Among them, `arco cli` is a tool for installing pr...
6,106
0
petrpan-code/arco-design/arco-design/site/docs
petrpan-code/arco-design/arco-design/site/docs/pro/start.zh-CN.md
````` Arco Pro # 快速开始 请跟随以下步骤创建 Arco Design Pro ````` ## 环境 开始开发之前,请确认本地环境中安装好了 `node`, `git` 和 `arco cli >= 1.24.0`。 其中 `arco cli` 是安装项目模版的工具,请运行以下命令安装: ``` npm i -g arco-cli ``` ## 技术栈 本项目的技术栈为 `React` + `ES2015+` + `TypeScript` + `bizcharts` 和 `Arco Design`,提前学习和了解这些知识将帮助你更好地上手我们的项目。 同时实现多架构创新方式,支持输出多种架构的 `...
6,107
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/docs_spec/introduce.en-US.md
````` ArcoDesign # Introduction Upgraded from Byte Design, a comprehensive enterprise-level product design system. ````` ## How does ArcoDesign come into being **ArcoDesign** is short for a set of design system. - The objective of ArcoDesign is to solve the experience problems occurred when using a product with ...
6,108
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/docs_spec/introduce.zh-CN.md
````` ArcoDesign # 介绍 基于 Byte Design 升级而来,能力全面的企业级产品设计系统。 ````` ## ArcoDesign 的诞生 **ArcoDesign** 是一套设计系统的简称。 - ArcoDesign 的目标, 即通过通用的设计系统去解决产品中的体验问题, 并为产品设计提供指导原则解决业务问题,同时它能够促进设计部门和研发部门之间协作, 成为开发者之间沟通的语言。 - ArcoDesign 主要服务于字节跳动旗下中后台产品的体验设计和技术实现,主要由UED设计和开发同学共同构建及维护。 ## 设计语言 - 务实的浪漫主义 <img src="https://p1-arco.by...
6,109
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/docs_spec/philosophy.en-US.md
````` ArcoDesign # Design Philosophy Design philosophy is equivalent to the rhetoric in the entire language system. ````` Pragmatic romanticism is the description of design language, and it also represents the working mode that ArcoDesign is trying to establish. Romanticism and pragmatism is not contradictory but c...
6,110
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/docs_spec/philosophy.zh-CN.md
````` ArcoDesign # 设计原则 设计原则相当于整个语言体系中的修辞手法。 ````` 务实的浪漫主义是对设计语言的形容,它也代表着ArcoDesign试图建立的工作模式。 浪漫与务实并非矛盾对立, 它们相辅相成,引导设计方向。通过对务实与浪漫的定义得出设计语言的价值观, 这贯穿着整个设计系统。 清晰与一致的价值观意味着务实的方向, 清晰的效率提升是务实的基础, 品牌的一致性是务实的目的。 韵律与开放的价值观意味着浪漫的方向, 推敲设计的韵律是Bytedancer的浪漫, 包容开放的体系才能浪漫地解决问题。 设计原则相当于整个语言体系中的修辞手法, 在实际的词语组成中给我们提供模式化的思考结构。它让整个语言...
6,111
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/docs_spec/style-guideline.en-US.md
````` ArcoDesign # Style Guideline In-depth design details from all style aspects. ````` ## Color Color has a very important influence on the visual communication of products and the carrying of multi-dimensional information. Good products should clearly and accurately convey effective information and brand sense i...
6,112
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/docs_spec/style-guideline.zh-CN.md
````` ArcoDesign # 样式指南 从形色质构字全方面深入页面细节。 ````` ## 色彩 色彩对产品的视觉传达和多维度信息的承载有着很重要的影响,好的产品在色彩配置上应当清晰,准确的传达有效信息和品牌感。按照颜色类型和功能的不同,arco将色彩分为主色、中性色、功能色和遮罩色。 ### 主色 主色是一个产品的代表颜色,一般与品牌色相关联。常用于主要按钮和文字、重点操作状态、高亮提醒、空状态等。arco的默认主色为#165DFF,同时根据使用场景的不同,基于主色衍生出了点击态、悬浮态等不同状态下的颜色。 ![](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd...
6,113
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/docs_spec/values-of-arcodesign.en-US.md
````` ArcoDesign # Design Values Arco Design is based on the design values of clear, consistent, rhythmic and open, trying to establish a pragmatic and romantic working style. ````` ## Clear > **Clear direction improves efficiency** The improvement of efficiency is the basis of pragmatism. In the design, reduce th...
6,114
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/docs_spec/values-of-arcodesign.zh-CN.md
````` ArcoDesign # 设计价值观 Arco Design 基于「清晰」、「一致」、「韵律」和「开放」的设计价值观,试图建立务实而浪漫的工作方式。 ````` ## 清晰 > **清晰的指向亦是效率的提升** 效率的提升是务实的基础。设计中减少不确定的因素, 减少用户判断次数,明确信息层级导向,让用户操作的目的性更明确。 清晰的设计体系使得产品操作直观,流程一步到位;信息传达清晰且表意明确使用户在极短时间内快速理解进而作出判断。 ## 一致 > **一致的设计产生品牌信赖感** 品牌的一致性是务实的目的。样式规范、操作流程、呈现高度一致, 这样统一的设计标准, 能够体现出产品的品牌感与信赖感。 一致...
6,115
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/alert.en-US.md
````` Component / Feedback # Alert Display warning information to the user. the Alert is used to display the information that needs attention. ````` *Auto translate by google.* ## Basic attributes ### Component definition Display information that needs attention, suitable for brief warning prompts. ### Component...
6,116
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/alert.zh-CN.md
````` 组件 / 反馈 # 警告提示 Alert 向用户显示警告的信息时,通过警告提示,展现需要关注的信息。 ````` ## 基本属性 ### 组件定义 展现需要关注的信息,适用于简短的警告提示。 ### 组件构成 1. **图标(可选)** :可以在警告提示的文字前添加图标,用以明示当前信息状态; 2. **提示文字(必选)** :提示的内容,建议不要超过1行; 3. **辅助性文字(可选)** :当内容比较长时,可通过辅助性文字进行补充提示; 4. **链接(可选)** :可以在警告提示的文字后添加链接; 5. **叉号(可选)** :点击后关闭警告提示; ![](https://p1-arco.bytei...
6,117
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/avatar.en-US.md
````` Component / Data Display # Avatar Used as an avatar, it can be displayed in the form of pictures, icons or characters. ````` *Auto translate by google.* ## Basic attributes ### Component definition Used to represent users or things, and support the display of pictures, icons or characters. ### Component co...
6,118
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/avatar.zh-CN.md
````` 组件 / 数据展示 # 头像 Avatar 用作头像显示,可以为图片、图标或字符形式展示。 ````` ## 基本属性 ### 组件定义 用来代表用户或事物,支持图片、图标或字符展示。 ### 组件构成 | 构成元素 | 说明 | | -------- | ---------------------------------------------------- | | 头像图片(必选) | 支持三种类型组成图片:图片、ICON 以及字符,其中 ICON 和字符型可以自定义图标颜色及背景色 | |...
6,119
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/badge.en-US.md
````` Component / Data Display # Badge Badge normally appears in the upper right corner of the icon or text to prompt important information. ````` ## Basic Properties ### Definition It usually appears in the upper right corner of the icon, avatar, and copy, and is used to display the number of messages that need t...
6,120
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/badge.zh-CN.md
````` 组件 / 数据展示 # 徽标数 Badge 一般出现在图标或文字的右上角。提供及时、重要的信息提示。 ````` ## 基本属性 ### 组件定义 一般出现在图标或文字的右上角。提供及时、重要的信息提示。 ### 构成 | 构成元素 | 说明 | | :--------- | :--------------------------------------------------- | | 1.背景容器 | 用来承载内容的容器。 | | 2.内容 ...
6,121
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/breadcrumb.en-US.md
````` Component / Navigation # Breadcrumb Used to display the location of the current page and quickly return to the history page. ````` ## Basic Properties ### Definition Breadcrumbs are auxiliary navigation components that help user locate their current position and allow them to return upwards. ### Anatomy ...
6,122
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/breadcrumb.zh-CN.md
````` 组件 / 导航 # 面包屑 Breadcrumb 面包屑是辅助导航模式,用于识别页面在层次结构内的位置,并根据需要向上返回。 ````` ## 基本属性 ### 组件定义 面包屑是辅助导航组件,帮助用户定位当前位置,允许用户向上返回。 ### 组件构成 面包屑组件由文字标签、分隔符组成。 | 构成元素 | 说明 | | :------ | :---- | | 1. 文字标签 | 用以表示页面名称。文字标签可替换为图标。 | | 2. 分隔符 | 用以分隔每级页面,默认分隔符为(/)。可以将面包屑的默认分隔符替换为其他具有分隔或指示作用的元素,如:向右箭头(>)、实心圆点(·)等 | ![1.2 面...
6,123
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/cascader.en-US.md
````` Component / Data Entry # Cascader Display options in a multi-level cascading dropdown component. ````` *Auto translate by google.* ## Basic attributes ### Component definition Cascading selection means that when the number of Select options in the selector is large, the options are separated by multi-level ...
6,124
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/cascader.zh-CN.md
````` 组件 / 数据输入 # 级联选择 Cascader 指在选择器选项数量较多时,采用多级分类的方式将选项进行分隔。 ````` ## 基本属性 ### 组件定义 级联选择是指在选择器Select 选项数量较大时,采用多级分类的方式将选项进行分隔,便于用户选择。 ### 组件构成 | 构成元素 | 说明 | | ---------- | ------------------------------------- | | 1.选择器(必有) | 可以只支持选择,或者可以支持直接搜索选项并选择 | | 2...
6,125
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/checkbox.en-US.md
````` Component / Data Entry # Checkbox In a set of data, the user can select one or more data through the Checkbox. ````` *Auto translate by google.* ## Basic attributes ### Component definition When there are multiple options to choose from in the list, and the options are not mutually exclusive, check box comp...
6,126
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/checkbox.zh-CN.md
````` 组件 / 数据输入 # 复选框 Checkbox 在一组数据中,用户可通过复选框选择一个或多个数据。 ````` ## 基本属性 ### 组件定义 当列表中有多个选项可供选择,且选项之间不互斥,可使用复选框组件。 ### 组件构成 复选框组件由复选框和复选框标签构成。 | **构成** | **说明** | | ------- | -------------- | | 1、复选框 | 展示当前的状态 | | 2、复选框标签 | 描述想要选择或取消选择的信息 | ![](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/89...
6,127
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/comment.en-US.md
````` Component / Data Display # Comment Display a comment. ````` *Auto translate by google.* ## Basic attributes ### Component definition Feedback, evaluation and discussion of content. ### Component composition | Components | Description | | ---------- | --------------------------- | | 1. Avatar (required) | ...
6,128
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/comment.zh-CN.md
````` 组件 / 数据展示 # 评论 Comment 展示评论信息 ````` ## 基本属性 ### 组件定义 对内容的反馈、评价和讨论。 ### 组件构成 | 构成元素 | 说明 | | ---------- | --------------------------- | | 1.头像(必有) | 可以是系统默认头像,也可以是用户自定义头像。 | | 2.作者名(必有) | 一般为用户自定义的账号。 | | 3.时间(必有) | 显示评论发表时间。 | | 4.评论...
6,129
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/config-provider.en-US.md
````` Component / Other # ConfigProvider Configure in the outermost layer of the application to set global params. ````` *Auto translate by google.* ## Basic attributes ### Component definition Provide a unified global configuration for components, set once, and take effect globally. ### Component type Global c...
6,130
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/config-provider.zh-CN.md
````` 组件 / 其他 # 全局配置 ConfigProvider 在应用的最外层进行配置,一次设置,全局生效。一般用于设置国际化语言等功能。 ````` ## 基本属性 ### 组件定义 为组件提供统一的全局化配置,一次设置,全局生效。 ### 组件类型 全局配置可通过不同类型的组件去实现,常用的组件类型有:开关、标签页、筛选框等。 | 类型 | 说明 | | ------- | -------------- | | 1、开关形式 | 用于两个配置选项之间来回切换 | | 2、标签页形式 | 有多个配置选项时使用 | | 3、筛选框形式 | 有多个配置选项时使用 ...
6,131
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/descriptions.en-US.md
````` Component / Data Display # Descriptions Generally used to display information on the detail page. ````` *Auto translate by google.* ## Basic attributes ### Component definition Display multiple read-only fields in groups, which are generally used to display information on the detail page. ### Component com...
6,132
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/descriptions.zh-CN.md
````` 组件 / 数据展示 # 描述列表 Descriptions 一般用于详情页的信息展示。 ````` ## 基本属性 ### 组件定义 成组展示多个只读字段,一般用于详情页的信息展示。 ### 组件构成 | 构成元素 | 说明 | | -------- | ------------- | | 1、标题(可选) | 概括描述列表的信息内容 | | 2、内容(必选) | 内容文字可展示为一行或多行 | | 3、边框(可选) | 描述列表可带边框和背景颜色 | ![](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/ed7cd3c3...
6,133
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/drawer.en-US.md
````` Component / Feedback # Drawer A floating layer that slides in from the edge of the screen. ````` *Auto translate by google.* ## Basic attributes ### Component definition The drawer is a drawer-like panel that slides out from one side of the screen, which covers part of the screen content when called out. #...
6,134
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/drawer.zh-CN.md
````` 组件 / 反馈 # 抽屉 Drawer 触发命令后,从屏幕一侧滑出的抽屉式的面板。 ````` ## 基本属性 ### 组件定义 抽屉是从屏幕一侧滑出的抽屉式的面板,唤出时会覆盖住部分屏幕内容。 ### 组件构成 1. **标题(必有)** :纯文字标题; 2. **正文((必有)** :可包含文字描述、表单、表格、步骤条、通知; 3. **行动按钮(可选)** :一般为两个按钮(一般是“确定、取消”); 4. **叉号(可选)** :点击可关闭弹窗; 5. **黑色蒙层(可选)** :黑色蒙层覆盖全页面,蒙层下方的页面内容不响应滚动和点击; ![](https://p1-arco.byteimg.com...
6,135
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/dropdown.en-US.md
````` Component / Navigation # Dropdown When there are too many commands, the alternative commands can be stored in the floating container that expands downward. ````` *Auto translate by google.* ## Basic attributes ### Component definition Collapse alternative commands or menus into a floating container that exp...
6,136
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/dropdown.zh-CN.md
````` 组件 / 导航 # 下拉菜单 Dropdown 页面上的命令过多时,可将备选命令收纳到向下展开的浮层容器中。 ````` ## 基本属性 ### 组件定义 将备选命令或菜单折叠到向下展开的浮层容器中。 ### 组件构成 1. **菜单项(必有):** 菜单项是为了传达用户当前选择的内容或操作。 2. **下拉项(可选):** 展示其他菜单项。 3. **搜索(可选):** 搜索允许用户快捷查找备选菜单项。 ![](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/cbc72a54138443b7aebe8060fc95f7f2~tplv-uwbnlip3yd-...
6,137
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/empty.en-US.md
````` Component / Data Display # Empty Refers to a state in which the current scene has no corresponding data content. ````` *Auto translate by google.* ## Basic attributes ### Component definition Refers to a state in which the current scene has no corresponding data content. ### Component composition The empt...
6,138
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/empty.zh-CN.md
````` 组件 / 数据展示 # 空状态 Empty 指当前场景没有对应的数据内容,呈现出的一种状态。 ````` ## 基本属性 ### 组件定义 指当前场景没有对应的数据内容,呈现出的一种状态。 ### 组件构成 空状态由自定义图标或自定义插图、文字、按钮或文字链组成 1. **自定义图标/自定义插图(可选)** :符合当前场景的图片或图标。 2. **文字(可选)** :对当前状态的一个简单说明介绍,也可用于指导用户行为。 3. **按钮/文字链(可选)** :对改变当前状态的的一个引导性操作。 ![](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/8610...
6,139
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/grid.en-US.md
````` Component / Layout # Grid Grid can effectively ensure the consistency and logic of the page, strengthen teamwork and unity. ````` *Auto translate by google.* ## Basic attributes ### Component definition Grid can effectively ensure the consistency and logic of the page, strengthen teamwork and unity. ### Co...
6,140
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/grid.zh-CN.md
````` 组件 / 布局 # 栅格 Grid 栅格可以有效的保证页面的一致性、逻辑性、加强团队协作和统一。 ````` ## 基本属性 ### 组件定义 栅格可以有效的保证页面的一致性、逻辑性、加强团队协作和统一。 ### 组件构成 1. **页面宽度W** :指页面的的整体宽度,由W代表。 2. **栅格个数A** :指整体页面有多少个栅格。 3. **水槽个数B**:指栅格之间的间距有多少个。 4. **栅格宽度C**:指每一个栅格的宽度(Column) 5. **水槽宽度G** :指每个水槽的宽度(Gutter) 6. **边距**:指第一个栅格距离页面边框的距离(Margin) ![](https://p1...
6,141
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/input.en-US.md
````` Component / Data Entry # Input The basic form components have been expanded on the basis of native controls and can be used in combination. ````` *Auto translate by google.* ## Basic attributes ### Component definition When the cursor is in the input box, the basic form component that allows the user to ent...
6,142
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/input.zh-CN.md
````` 组件 / 数据输入 # 输入框 Input 基本表单组件,并在原生控件基础上进行了功能扩展,可以组合使用。 ````` ## 基本属性 ### 组件定义 当光标位于输入框时,允许用户输入或编辑文本内容的基本表单组件。可与输入框,搜索框,下拉框,日期选择器等灵活组合使用。 ### 组件构成 1. **容器(必有)** :承载文本内容的容器,通过包裹文本并与文本在颜色上形成对比来提高输入区域的可发现性。容器边缘的颜色和粗细变化用于指示当前输入框的状态(如:激活、报错、成功); 2. **标签文字(建议有)** :容器顶部或左侧的简短说明文字,用于说明需要输入的内容,尽量不超过6个汉字。建议标签文字始终展示,仅当...
6,143
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/layout.en-US.md
````` Component / Layout # Layout The basic layout framework which is often nested with components to build the overall layout of the page. ````` *Auto translate by google.* ## Basic attributes ### Component definition The basic layout framework of the page is often nested with components to form the overall layo...
6,144
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/layout.zh-CN.md
````` 组件 / 布局 # 布局 Layout 页面的基础布局框架,常与组件嵌套使用,构建页面整体布局。 ````` ## 基本属性 ### 组件定义 页面的基础布局框架,常与组件嵌套使用,构成页面整体布局。 ### 组件构成 1. **顶部导航** **(可选)** :可嵌套组件和元素,常与搭配使用的有logo/标签/输入框/按钮/头像等。 2. **侧边栏(可选)** :可嵌套组件和元素,常与搭配使用的有树选择器/输入框等。 3. **内容部分(必选)** :可嵌套组件和元素,常与搭配使用有卡片 / 折叠面板 / 空状态 / 列表 / 数值显示 / 标签页等。 4. **页面底部(可选)** :可嵌套组件和元素...
6,145
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/link.en-US.md
````` Component / General # Link Basic style of link. ````` ## Basic Properties ### Component definition A link is a text with navigation properties, which jumps to a certain page when clicked. ### Component composition The link component consists of text labels and icons. | Constituent elements | Description ...
6,146
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/link.zh-CN.md
````` 组件 / 通用 # 链接 Link 链接的基本样式。 ````` ## 基本属性 ### 组件定义 链接是具有导航属性的文本,点击后跳转到某个页面。 ### 组件构成 链接组件由文本标签和图标构成。 | 构成元素 | 说明 | | :------------- | :----------------------------- | | 1.图标(可选) | 使用图标可传达更多含义。 | | 2.文本标签 | 简洁清晰准确的传达链接的内容。 | ![1.2 链接构成](https://p1-arco.byteimg.com/...
6,147
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/list.en-US.md
````` Component / Data Display # List The most basic list display, which can carry text/pictures/paragraphs, and is often used in the data display page. ````` *Auto translate by google.* ## Basic attributes ### Component definition A list is a group of text or graphics, which can contain icon buttons or text butt...
6,148
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/list.zh-CN.md
````` 组件 / 数据展示 # 列表 List 最基础的列表展示,可承载文字、列表、图片、段落,常用于后台数据展示页面。 ````` ## 基本属性 ### 组件定义 列表是一组文本或图文,其中可以包含图标按钮或文字按钮,用来聚合同类型的内容。 ### 组件构成 1. **图片元素(可选)** :如图标/图片,帮助用户更容易定位到需要找到的信息; 2. **正文内容(必选)** :主要内容,文字可展示为一行或多行; 3. **行动按钮(可选)** :图标按钮或文字按钮,对本行列表内容进行操作; ![](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/0bd187d4...
6,149
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/menu.en-US.md
````` Component / Navigation # Menu A component to organize, arrange, and display a list of options. ````` ## Basic Properties ### Component Definition Menus are the main form of navigation in the system, and users can access target functions through menus. ### Component Composition The menu consists of 1. text ...
6,150
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/menu.zh-CN.md
````` 组件 / 导航 # 菜单 Menu 收纳、排列并展示一系列选项的列表。 ````` ## 基本属性 ### 组件定义 菜单是系统主要的导航形式,用户可以通过菜单访问目标功能。 ### 组件构成 菜单由 1.文本标签、2.图标(可选)组成。 | 构成元素 | 说明 | | :---- | :---- | | 文本标签 | 文本标签是菜单的主要元素,表明了菜单项链接的功能模块 | | 图标 | 图标可辅助说明文本标签,图形化的表达形式可以提高用户识别菜单项的效率 | ![组件构成](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/b07890ee2f3965f...
6,151
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/message.en-US.md
````` Component / Feedback # Message Lightweight global feedback triggered by user actions. ````` *Auto translate by google.* ## Basic attributes ### Component definition Lightweight global feedback triggered by user actions. ### Component composition | Components | Description | | -------- | ------------------...
6,152
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/message.zh-CN.md
````` 组件 / 反馈 # 全局提示 Message 由用户的操作触发的轻量级全局反馈。 ````` ## 基本属性 ### 组件定义 由用户的操作触发的轻量级全局反馈。 ### 组件构成 | 构成元素 | 说明 | | -------- | ------------------------ | | 1、文本(必选) | 提供成功、警告和错误等反馈信息,允许增加文字链接 | | 2、图标(可选) | 可提供成功、警告和错误等图标,与文本搭配使用 | | 3、按钮(可选) | 根据业务需要,选择是否有关闭按钮 | ![](https://p1-...
6,153
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/modal.en-US.md
````` Component / Feedback # Modal Open a floating layer on the current page to carry related operations. ````` *Auto translate by google.* ## Basic attributes ### Component definition The dialog box is used for key information entry or information confirmation. When the dialog box is called out, the user's curre...
6,154
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/modal.zh-CN.md
````` 组件 / 反馈 # 对话框 Modal 在当前页面打开一个浮层,承载相关操作。 ````` ## 基本属性 ### 组件定义 对话框用于关键信息录入或信息确认,唤出对话框时会中断用户当前的任务流程,所以请谨慎使用对话框以避免对用户过度干扰。 对话框通常用于快捷且不需要频繁操作的任务,例如“重命名”。 ### 组件构成 1. **标题(必有)** :可以是纯文字,也可以在文字前带有icon来明示状态; 2. **正文(可选)** :可包含文字描述、表单、表格、步骤条、通知; 3. **行动按钮(可选)** :通知类弹窗一般只包含两个按钮,确认或信息录入弹窗一般为两个按钮(一般是“确定、取消”); 4. **...
6,155
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/notification.en-US.md
````` Component / Feedback # Notification Display a notification message globally. ````` *Auto translate by google.* ## Basic attributes ### Component definition Used to feed back important warning prompts and notification messages to users. ### Component composition 1. **Title (required)**: Deliver core inform...
6,156
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/notification.zh-CN.md
````` 组件 / 反馈 # 通知提醒框 Notification 全局展示通知提醒,将信息及时有效的传达给用户。 ````` ## 基本属性 ### 组件定义 用于向用户反馈重要的警告提示和通知消息。 ### 组件构成 1. **标题(必有)** :传递核心信息,为用户提供通知的快速概览或直接结果。 2. **通知文本(可选)** :用于描述额外的细节或可操作的步骤,通知的正文中可包含[链接](/docs/spec/Link),这些链接可定向到后续步骤中。 3. **行动按钮(可选)** :允许用户处理通知或将他们导航到包含更多详细信息的页面。 4. **关闭按钮(可选)** :关闭通知提醒框。 5. **图标(可...
6,157
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/popconfirm.en-US.md
````` Component / Data Feedback # Popconfirm A simple confirmation box of an action. ````` *Auto translate by google.* ## Basic attributes ### Component definition Click the trigger and a bubble confirmation box will pop up. ### Component composition It is composed of 1. flip-flop and 2. floating layer. | **Co...
6,158
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/popconfirm.zh-CN.md
````` 组件 / 反馈 # 气泡确认框 Popconfirm 点击元素,弹出气泡式的确认框。 ````` ## 基本属性 ### 组件定义 点击触发器,弹出气泡式的确认框。 ### 组件构成 由 1. 触发器和 2.浮层 构成。 | **构成** | **说明** | | ------ | ----------------------------- | | 触发器 | 点击触发器将唤起气泡确认框,触发器一般为按钮或链接 | | 浮层 | 浮层为确认框容器,其中包含了提示性文字和需要用户确认的操作 | ![](https://p1-arco.by...
6,159
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/popover.en-US.md
````` Component / Data Display # Popover A floating card popped by hovering, focusing, or clicking on a element. ````` *Auto translate by google.* ## Basic attributes ### Component definition When the mouse hovers, focus, or click on a component, a bubble-like card floating layer will pop up. You can operate on t...
6,160
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/popover.zh-CN.md
````` 组件 / 数据展示 # 气泡卡片 Popover 鼠标悬停、聚焦或点击在某个组件时,弹出的气泡式的卡片浮层。可以对卡片上的元素进行操作。 ````` ## 基本属性 ### 组件定义 鼠标悬停、聚焦或点击在某个组件时,弹出的气泡式的卡片浮层。可以对卡片上的元素进行操作。 ### 组件构成 气泡卡片组件由背景、内容组成。 **1、背景** **(必选)** :气泡卡片的背景。 **2、内容** **(必选)** :气泡卡片的内容(如标题、段落、链接、按钮等)。 ![](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/e1092cb7e7a44b608db7...
6,161
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/progress.en-US.md
````` Component / Feedback # Progress Give users feedback on the current running tasks, which is mostly used in scenes that run for a period of time, effectively reducing the anxiety of users in waiting. ````` *Auto translate by google.* ## Basic attributes ### Component definition Give users feedback on the runn...
6,162
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/progress.zh-CN.md
````` 组件 / 反馈 # 进度条 Progress 给予用户当前系统执行中任务运行状态的反馈,多用于运行一段时间的场景,有效减轻用户在等待中产生的焦虑感。 ````` ## 基本属性 ### 组件定义 给予用户当前系统执行中任务运行状态的反馈,多用于运行一段时间的场景,有效减轻用户在等待中产生的焦虑感。 ### 组件构成 1. **当前进度(必有)** :实时展示已完成的进度,颜色与总进程颜色形成强烈对比来展示当前进度情况。 2. **总进度(必有)** :表示需要完成的总进度,建议颜色不带有色彩倾向。 3. **进度描述(建议有)** :对当前进度的简短说明,可以是百分数、图标或者其他自定义字段。 ![](h...
6,163
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/radio.en-US.md
````` Component / Data Entry # Radio In a set of related and mutually exclusive data, the user can only select one option. ````` *Auto translate by google.* ## Basic attributes ### Component definition Choose an option from a set of mutually exclusive options. ### Component composition The radio button componen...
6,164
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/radio.zh-CN.md
````` 组件 / 数据输入 # 单选框 Radio 在一组相关且互斥数据中,用户仅能选择一个选项。 ````` ## 基本属性 ### 组件定义 从一组互斥的选项中选择一个选项。 ### 组件构成 单选框组件由一组可点击的选项按钮组成,选项按钮中的文本标签位于单选按钮右侧。 1. **标题文本(可选):** 描述选项组或提供选择指南。 2. **单选按钮(必有):** 按钮通常为一个圆圈,代表数据输入、任务设置。默认情况下会选择一个选项,指示当前状态。 3. **选项文本标签(必有):** 描述要选择或取消选择的信息,除描述之外,还可以作为操作热区,当用户点击标签,对应的单选框就会被选中。 ![](https:...
6,165
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/select.en-US.md
````` Component / Data Entry # Select When users need to select one or more from a group of similar data, they can use Select to click and select the corresponding item. ````` *Auto translate by google.* ## Basic attributes ### Component definition Used to select one or more values ​​in a set of options, often us...
6,166
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/select.zh-CN.md
````` 组件 / 数据输入 # 选择器 Select 当用户需要从一组同类数据中选择一个或多个时,可以使用下拉选择器,点击后选择对应项。 ````` ## 基本属性 ### 组件定义 用于在一组选项中选择一个或多个值,常用于表单填写和数据筛选。 ### 组件构成 由 1.文本标签、 2.选择框、3.下拉面板、4.星号 组成。 | **构成** | **说明** | | ------ | -------------------------------------------------------- | | 文本标签...
6,167
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/skeleton.en-US.md
````` Component / Feedback # Skeleton Use gray blocks to occupy the loading data. ````` *Auto translate by google.* ## Basic attributes ### Component definition Before the data is completely loaded, a simple page layout is shown to the user through a placeholder graphic. ### Component composition The skeleton s...
6,168
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/skeleton.zh-CN.md
````` 组件 / 反馈 # 骨架屏 Skeleton 将加载中的数据用灰色占位。 ````` ## 基本属性 ### 组件定义 在数据完整加载之前,通过占位图形给用户展示简单的页面布局。 ### 组件构成 骨架屏一般由灰色或中性色调的3种占位图形组合构成,包括条形、圆形和方形。 1. **条形占位图:** 用于表示中英文或数字,存在多个尺寸。 2. **圆形占位图:** 用于表示头像、logo、圆形icon等。 3. **方形占位图:** 用于表示按钮、方形icon、图片等,尺寸不限。 ![](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/b709f4b46dc...
6,169
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/space.en-US.md
````` component / Layout # Space Set the spacing between components. ````` *Auto translate by google.* ## Basic attributes ### Component definition Set the spacing between components; reasonable spacing can make the page have a clear and practical layout. ![](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/d48df...
6,170
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/space.zh-CN.md
````` 组件 / 布局 # 间距 Space 设置组件之间的间距。 ````` ## 基本属性 ### 组件定义 设置组件之间的间距;合理的间距能使页面有清晰、实用的布局。 ![](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/d48dfae008f047a689bd7f2b41d8b109~tplv-uwbnlip3yd-image.image) ### 组件类型 | 类型 | 说明 | | ---- | ---------------- | | 水平间距 | 相邻组件的水平间距。 | | 垂直间距 | 相邻组件的垂直...
6,171
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/table.en-US.md
````` Component / Data Display # Table Used for data collection, display, analysis, and processing. ````` *Auto translate by google.* ## Basic attributes ### Component definition A table is a structured display of information in the form of rows and columns; it is convenient for users to view and analyze data. #...
6,172
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/table.zh-CN.md
````` 组件 / 数据展示 # 表格 Table 用于数据收集展示、分析整理、操作处理。 ````` ## 基本属性 ### 组件定义 表格是用行列的形式,结构化展示信息的组件;方便用户查看、分析数据。 ### 组件构成 1. **表头 (必有**):说明这一列的信息类别,也可以在表头放置一些排序、筛选等操作按钮。 2. **单元格(必有)** :表格的主体由多个单元格组成,单元格内支持文字、图标、按钮、标签、单选框、复选框等元素。 3. **行列分割线(非必有**):从视觉上分隔信息。 ![](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/578da9d60e3...
6,173
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/tabs.en-US.md
````` Component / Data Display # Tabs Organize content in the same view, and view content one view at a time. You can switch tabs to view other content. ````` *Auto translate by google.* ## Basic attributes ### Component definition A tab page is a single-selection component that organizes similar content in the s...
6,174
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/tabs.zh-CN.md
````` 组件 / 数据展示 # 标签页 Tabs 将内容组织同一视图中,一次可查看一个视图内容。查看其他内容可切换选项卡查看。 ````` ## 基本属性 ### 组件定义 标签页是将相似的内容组织在同一视图中的单选组件,通过标签让用户在层级相同的不同子任务,视图、模式之间切换,具有全局导航的作用。 ### 组件构成 1. **标签(必有)** :简短的文字描述(必要时可附带图标),用于总结相应视图中的内容,同时作为切换视图的按钮,建议每个标签不超过4个汉字,一次展示不超过7个标签; 2. **内容区域(必有)** :展示选中标签对应的内容,内容形式不限,区域大小根据内容量和页面布局而定; 3. **滑动按钮(可选...
6,175
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/tooltip.en-US.md
````` Component / Data Display # Tooltip A simple text popup tip. ````` *Auto translate by google.* ## Basic attributes ### Component definition When the mouse is hovered or the keyboard is focused on a UI element (such as a button, icon, etc.), a simple text prompt pops up around the element to display the auxil...
6,176
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/tooltip.zh-CN.md
````` 组件 / 数据展示 # 文字气泡 Tooltip 鼠标悬停、聚焦或点击在某个组件时,弹出的文字提示。 ````` ## 基本属性 ### 组件定义 鼠标悬停或键盘聚焦在一个UI元素(如按钮、图标等)上时,在元素周围弹出的简单文字提示,用于展示该元素的辅助信息。 ### 组件构成 1. **气泡框(必有)** :承载文字的容器,让文字能够更清晰的展示。建议带箭头,箭头指向目标元素。 2. **文字(必有)** :简单的描述性文字,作为目标元素的辅助信息。建议不超过4行,每行文字不超过20个汉字。 ![](https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/0252...
6,177
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/transfer.en-US.md
````` Component / Data Entry # Transfer A two-column multi-select component that moves elements from one column to another in real time. ````` *Auto translate by google.* ## Basic attributes ### Component definition The two-column multi-selection component is divided into candidate area and selected area, allowin...
6,178
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/transfer.zh-CN.md
````` 组件 / 数据输入 # 数据穿梭框 Transfer 两栏布局的多选组件,将元素从一栏即时移到另一栏。 ````` ## 基本属性 ### 组件定义 两栏布局的多选组件,分为候选区和已选区,让用户以直观的方式将数据从一栏即时移到另一栏,完成选择或移除数据的交互行为。 ### 组件构成 1. **待选框(必有)** :位于组件左侧的容器,用于承载待选的数据列表; 2. **选中框(必有)** :位于组件右侧的容器,用于承载已选的数据列表 3. **数据列表(必有)** :位于待选框和选中框内的数据内容,内容形式根据不同场景可以为多选、树选择和表格; 4. **选择按钮(必有)** :位于待选框和选中框中间的按...
6,179
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/typography.en-US.md
````` Component / General # Typography Used to display titles, paragraphs, and text content. ````` *Auto translate by google.* ## Basic attributes ### Component definition It is used to display the basic format of headings, paragraphs, and text content to express hierarchical structure and brand image. ### Compo...
6,180
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/typography.zh-CN.md
````` 组件 / 通用 # 排版 Typography 用于展示标题、段落、文本内容。 ````` ## 基本属性 ### 组件定义 用于展示标题、段落、文本内容的基本格式,表达层次结构和品牌形象。 ### 组件构成 | 构成元素 | 说明 | | ---------- | --------------------------- | | 1、标题(可选) | 标题用于显示内容层次结构,对于改善用户的阅读体验很重要 | | 2、文本(必选) | 有不同样式的文本以及超链接组件 | | 3、段落(可选) | 可形成文本段落...
6,181
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/upload.en-US.md
````` Component / Data Entry # Upload Upload file by selecting or dragging. ````` *Auto translate by google.* ## Basic attributes ### Component definition Users can transfer files or submit corresponding content. ### Component composition | Components | Description | | ----------- | ----------------------------...
6,182
0
petrpan-code/arco-design/arco-design/site/docs_spec
petrpan-code/arco-design/arco-design/site/docs_spec/components/upload.zh-CN.md
````` 组件 / 数据输入 # 上传 Upload 用户可传输文件或提交相应的内容。 ````` ## 基本属性 ### 组件定义 用户可传输文件或提交相应的内容。 ### 组件构成 | 构成元素 | 说明 | | ----------- | ----------------------------- | | 1、上传触发器(必选) | 点击上传触发器打开本地文件夹,用以选择要上传的文件或文件夹 | | 2、上传内容(必选) | 上传后的展示形式有文本、图片列表、图片墙、自定义样式等 | | 3、删除按钮(可选) | 用于删除上传过程中或者...
6,183
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/public/index.ejs
<!DOCTYPE html> <html lang="<%= lang %>"> <head> <meta charset="UTF-8" /> <link rel="shortcut icon" type="image/x-icon" href="https://unpkg.byted-static.com/latest/byted/arco-config/assets/favicon.ico" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <m...
6,184
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/src/App.js
import React, { useContext, useEffect, useRef } from 'react'; import { Route, Switch, useHistory } from 'react-router-dom'; import Navbar from '@arco-materials/site-navbar-new'; import { PageDurationTracker, teaLog, ModuleDurationTracker, Module, } from '@arco-materials/site-utils'; import AOS from 'aos'; impor...
6,185
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/src/context.js
import { createContext } from 'react'; export const GlobalContext = createContext({}); export const GlobalNoticeContext = createContext({});
6,186
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/src/declaration.d.ts
declare module '*.svg' { const ReactComponent: any; export default ReactComponent; } declare module '*.png' { const src: any; export default src; } declare module '*.jpg' { const src: any; export default src; } declare module '*.less' { const classes: { [className: string]: string }; export defaul...
6,187
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/src/getRoutes.js
import routes from './r'; import lazyLoad from './utils/lazyload'; import { toPascalCase } from './utils/case'; function isArray(obj) { return Object.prototype.toString.call(obj) === '[object Array]'; } function getRoutes(lang = 'zh', t) { const suffix = lang === 'zh-CN' ? '.zh-CN' : '.en-US'; const newRoutes ...
6,188
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/src/index-en.js
import React, { useState, useEffect } from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter } from 'react-router-dom'; import axios from 'axios'; import Navbar from '@arco-materials/site-navbar-new'; import { ConfigProvider } from '@arco-design/web-react'; import enUS from '@arco-design/web-react/es/lo...
6,189
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/src/index.js
import React, { useEffect, useState } from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter } from 'react-router-dom'; import axios from 'axios'; import Navbar from '@arco-materials/site-navbar-new'; import { ConfigProvider } from '@arco-design/web-react'; import zhCN from '@arco-design/web-react/es/lo...
6,190
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/src/page.js
import React, { useState, useEffect, useCallback, useContext, useMemo } from 'react'; import { BackTop, Button } from '@arco-design/web-react'; import { IconUp, IconLeft } from '@arco-design/web-react/icon'; import Footer from '@arco-materials/site-footer'; import { useHistory } from 'react-router-dom'; import getRoute...
6,191
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/src/r.js
export default [ { name: 'development-guide', module: 'react', type: 'docs', dir: '../docs', map: { dark: './pages/dark', palette: './pages/palette', changelog: './pages/changelog/v2', overview: './pages/overview', }, children: [ 'start', 'dark', '...
6,192
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/src/routes.js
import lazyLoad from './utils/lazyload'; const DarkMode = lazyLoad(() => import('./pages/dark')); const Palette = lazyLoad(() => import('./pages/palette')); const Version = lazyLoad(() => import('./pages/changelog/v2')); const Icon = lazyLoad(() => import('./pages/icon')); const OverView = lazyLoad(() => import('./pag...
6,193
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/src/serviceWorker.js
import { clientsClaim } from 'workbox-core'; import { precacheAndRoute, createHandlerBoundToURL } from 'workbox-precaching'; import { registerRoute } from 'workbox-routing'; clientsClaim(); const manifest = self.__WB_MANIFEST; const _manifest = manifest.map((item) => { const { revision, url } = item; // html won...
6,194
0
petrpan-code/arco-design/arco-design/site
petrpan-code/arco-design/arco-design/site/src/serviceWorkerRegistration.js
import React from 'react'; import { Notification, Button } from '@arco-design/web-react'; let refreshing; function invokeServiceWorkerUpdateFlow(config, registration) { const id = 'notification'; // there is a new service worker available, show the notification Notification.info({ id, closable: true, ...
6,195
0
petrpan-code/arco-design/arco-design/site/src
petrpan-code/arco-design/arco-design/site/src/assets/arco-logo.svg
<?xml version="1.0" encoding="UTF-8"?> <svg width="143px" height="24px" viewBox="0 0 143 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>编组 6备份</title> <g id="页面1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="画板" transform...
6,196
0
petrpan-code/arco-design/arco-design/site/src/assets
petrpan-code/arco-design/arco-design/site/src/assets/logo/logo_ArcoPro.svg
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M8 21.0001C15.5834 21.0001 21 14.977 21 7.80908L16 7.80908C16 12.4034 12.6368 15.9981 8 15.9981L8 21.0001Z" fill="#16D2AC"/> <path d="M3 3H8V16.0052H3V3Z" fill="#165DFF"/> <pa...
6,197
0
petrpan-code/arco-design/arco-design/site/src/assets
petrpan-code/arco-design/arco-design/site/src/assets/logo/logo_DesignLab.svg
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM12 16.2632C14.3545 16.2632 16.2632 14.3545 16.2632 12C16.2632...
6,198
0
petrpan-code/arco-design/arco-design/site/src/assets
petrpan-code/arco-design/arco-design/site/src/assets/logo/logo_IconBox.svg
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M3 16H21V21H3V16Z" fill="#175EFF"/> <path d="M8 12V21H3V12H8Z" fill="#175EFF"/> <path d="M21 12V21H16V12H21Z" fill="#175EFF"/> <path d="M8.77112 5.91203L14.428 11.3386L11.6569 14L6 8.5734L8.77112 5.91203Z" fill="#16...
6,199