diff --git a/app/src/main/resources/sql/h2/create_all_tables_ddl_v1.h2.sql b/app/src/main/resources/sql/h2/create_all_tables_ddl_v1.h2.sql index 62c528e0..ee023852 100644 --- a/app/src/main/resources/sql/h2/create_all_tables_ddl_v1.h2.sql +++ b/app/src/main/resources/sql/h2/create_all_tables_ddl_v1.h2.sql @@ -1,590 +1,645 @@ -drop table if exists t_platform; - -create table t_platform ( - id int not null auto_increment comment '主键id', - name varchar(255) not null comment '名称', - published tinyint(1) comment '是否发布:1是,0否', - last_build_info longtext comment '最后构建信息', - description varchar(2000) comment '描述', - latest_version varchar(255) comment '当前历史记录表最新版本', - latest_history_id int comment '当前历史记录表id', - material_history_id int comment '关联物料包历史id', - image_url varchar(255) comment '设计器截图地址', - sort_plugins longtext comment '插件集合', - sort_toolbar longtext comment '工具集合', - is_default tinyint(1) comment '是否默认编辑器:1是,0否', - prettier_opts longtext comment '设计预留字段', - set_default_by varchar(60) comment '设置默认编辑器的人', - app_extend_config longtext comment '应用扩展配置', - data_hash varchar(255) comment '设计器数据hash,验证数据一致性', - business_category_id int comment '业务类型', - theme_id int comment '生态扩展使用,关联主题', - platform_url varchar(255) comment '设计器静态资源托管地址url', - vscode_url varchar(255) comment '设计预留字段', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - last_updated_by varchar(60) not null comment '最后修改人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_platform (tenant_id, name) - ) comment = '设计器表'; - -drop table if exists t_platform_history; - -create table t_platform_history ( - id int not null auto_increment comment '主键id', - ref_id int not null comment '关联主表id', - version varchar(255) not null comment '版本', - name varchar(255) not null comment '名称', - publish_url varchar(255) not null comment '设计器静态资源托管地址', - description varchar(2000) comment '描述', - vscode_url varchar(255) comment '设计预留字段', - material_history_id int not null comment '关联物料包历史id', - sub_count int not null comment '设计预留字段', - material_pkg_name varchar(255) comment '物料包名称', - material_version varchar(255) comment '物料包版本', - image_url varchar(255) comment '封面图地址', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - last_updated_by varchar(60) not null comment '最后修改人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_platform_history (ref_id, version) - ) comment = '设计器历史表'; - -drop table if exists t_app; - -create table t_app ( - id int not null auto_increment comment '主键id', - name varchar(255) not null comment '应用名称', - platform_id int not null comment '关联设计器id', - platform_history_id int not null comment '关联设计器历史版本id', - publish_url varchar(255) comment '应用静态资源托管地址', - editor_url varchar(255) comment '设计器地址', - visit_url varchar(255) comment '访问地址', - image_url varchar(255) comment '封面图地址', - assets_url varchar(255) comment '应用资源地址', - state int comment '应用状态,1可用,0不可用', - published tinyint(1) comment '是否发布:1是,0否', - home_page_id int comment '主页id,关联page表的id', - app_website varchar(255) comment '设计预留字段', - css longtext comment '设计预留字段', - config longtext comment '设计预留字段', - constants longtext comment '设计预留字段', - data_handler longtext comment '数据源的拦截器', - latest varchar(255) comment '应用最新历史记录id', - git_group varchar(255) comment 'git仓库分组', - project_name varchar(255) comment 'git仓库名称', - branch varchar(255) comment '默认提交分支', - is_demo tinyint(1) comment '是否是demo应用', - is_default tinyint(1) comment '是否是默认应用', - template_type varchar(255) comment '应用模板类型', - set_template_time timestamp comment '设置模板时间', - description varchar(2000) comment '描述', - set_template_by varchar(60) comment '设置模板人id', - set_default_by varchar(60) comment '设置为默认应用人id', - framework varchar(255) comment '应用框架', - global_state longtext comment '应用全局状态', - default_lang varchar(255) comment '默认语言', - extend_config longtext comment '应用扩展config', - data_hash varchar(255) comment '应用内容哈希值', - can_associate tinyint(1) comment '设计预留字段', - data_source_global longtext comment '数据源全局配置', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - last_updated_by varchar(60) not null comment '最后修改人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_app (tenant_id, platform_id, name) - ) comment = '应用表'; - -drop table if exists t_app_extension; - -create table t_app_extension ( - id int not null auto_increment comment '主键id', - name varchar(255) not null comment '名称', - type varchar(255) not null comment '类型:npm, function', - content longtext not null comment '内容', - app_id int not null comment '关联appid', - category varchar(255) not null comment '分类:utils,bridge', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - last_updated_by varchar(60) not null comment '最后修改人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_app_extension (app_id, name) - ) comment = '应用扩展表'; - -drop table if exists t_block_group; - -create table t_block_group ( - id int not null auto_increment comment '主键id', - name varchar(255) not null comment '分组名称', - description varchar(2000) comment '描述', - app_id int not null comment '关联app id', - platform_id int not null comment '设计器id', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_block_group (tenant_id, platform_id, name) - ) comment = '区块分组表,设计器内共享'; - -drop table if exists t_business_category; - -create table t_business_category ( - id int not null auto_increment comment '主键id', - code varchar(255) not null comment '编码', - name varchar(255) not null comment '名称', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_business_category (tenant_id, code) - ) comment = '业务类型表,全局'; - - - -drop table if exists t_block; - -create table t_block ( - id int not null auto_increment comment '主键id', - label varchar(255) not null comment '区块编码', - name varchar(255) comment '技术栈', - framework varchar(255) comment '技术栈', - content longtext comment '区块内容', - assets longtext comment '构建资源', - last_build_info longtext comment '最新一次构建信息', - description varchar(2000) comment '描述', - tags longtext comment '标签', - latest_version varchar(255) comment '当前历史记录表最新版本', - latest_history_id int comment '当前历史记录表id', - screenshot longtext comment '截屏', - path varchar(255) comment '区块路径', - occupier_by varchar(60) comment '当前检出者id', - is_official tinyint(1) comment '是否是官方', - public int comment '公开状态:0,1,2', - is_default tinyint(1) comment '是否是默认', - tiny_reserved tinyint(1) comment '是否是tiny自有', - npm_name varchar(255) comment 'npm包名', - i18n longtext NULL COMMENT '国际化', - platform_id int not null comment '设计器id', - app_id int not null comment '创建区块时所在appid', - content_blocks longtext comment '设计预留字段', - block_group_id int comment '区块分组id', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_block (platform_id, label, framework) - ) comment = '区块表'; - -drop table if exists t_block_history; - -create table t_block_history ( - id int not null auto_increment comment '主键id', - ref_id int not null comment '关联主表id', - version varchar(255) not null comment '版本', - message varchar(255) comment '历史记录描述消息', - label varchar(255) not null comment '显示标签', - name varchar(255) comment '名称', - framework varchar(255) comment '技术栈', - content longtext comment '区块内容', - assets longtext comment '构建资源', - build_info longtext comment '构建信息', - screenshot longtext comment '截屏', - path varchar(255) comment '区块路径', - description varchar(2000) comment '描述', - tags longtext comment '标签', - is_official tinyint(1) comment '是否是官方', - public int comment '公开状态:0,1,2', - is_default tinyint(1) comment '是否是默认', - tiny_reserved tinyint(1) comment '是否是tiny自有', - mode varchar(255) comment '模式:vscode', - platform_id int not null comment '设计器id', - app_id int not null comment '创建区块时所在appid', - npm_name varchar(255) comment 'npm包名', - i18n longtext NULL COMMENT '国际化', - content_blocks longtext comment '设计预留字段', - block_group_id int comment '区块分组id', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_block_history (app_id, ref_id, version) - ) comment = '区块历史表'; - -drop table if exists t_material; - -create table t_material ( - id int not null auto_increment comment '主键id', - name varchar(255) not null comment '名称', - npm_name varchar(255) comment 'npm包名', - framework varchar(255) not null comment '技术栈', - assets_url longtext comment '资源地址', - image_url varchar(255) comment '封面图地址', - published tinyint(1) comment '是否发布:1是,0否', - latest_version varchar(255) comment '当前历史记录表最新版本', - latest_history_id int comment '当前历史记录表id', - public int comment '公开状态:0,1,2', - last_build_info longtext comment '最新一次构建信息', - description varchar(2000) comment '描述', - is_official tinyint(1) comment '是否是官方', - is_default tinyint(1) comment '是否是默认', - tiny_reserved tinyint(1) comment '是否是tiny自有', - component_library_id int comment '设计预留字段', - material_category_id int comment '物料包业务类型', - material_size int comment '物料包大小', - tgz_url varchar(255) comment '物料包存储地址', - unzip_tgz_root_path_url longtext comment '物料包存储根路径', - unzip_tgz_files longtext comment '物料包存储文件', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_material (tenant_id, name, framework) - ) comment = '物料包表'; - -drop table if exists t_material_history; - -create table t_material_history ( - id int not null auto_increment comment '主键id', - ref_id int not null comment '关联主表id', - version varchar(255) not null comment '版本', - content longtext comment '物料内容', - name varchar(255) not null comment '名称', - npm_name varchar(255) comment 'npm包名', - framework varchar(255) comment '技术栈', - assets_url longtext comment '资源地址', - image_url varchar(255) comment '封面图地址', - build_info longtext comment '构建信息', - description varchar(2000) comment '描述', - material_size int comment '物料包大小', - tgz_url varchar(255) comment '物料包存储地址', - unzip_tgz_root_path_url longtext comment '物料包存储根路径', - unzip_tgz_files longtext comment '物料包存储文件', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_material_history (tenant_id, ref_id, version) - ) comment = '物料包历史表'; - -drop table if exists t_page; - -create table t_page ( - id int not null auto_increment comment '主键id', - name varchar(255) not null comment '名称', - app_id int not null comment '关联appid', - route varchar(255) not null comment '访问路径', - page_content longtext comment '页面内容', - is_body tinyint(1) comment '根元素是否是body', - parent_id int not null comment '父文件夹id', - `group` varchar(255) comment '分组', - depth int comment '页面/文件夹深度,更改层级时服务端校验用(校验可有可无)', - is_page tinyint(1) not null comment '是否为页面:分为页面和文件夹', - occupier_by varchar(60) comment '当前检出者id', - is_default tinyint(1) not null comment '是否是默认页面', - content_blocks longtext comment '设计预留字段', - latest_version varchar(255) comment '当前历史记录表最新版本', - latest_history_id int comment '当前历史记录表id', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_page (app_id, name) - ) comment = '页面表'; - -drop table if exists t_page_history; - -create table t_page_history ( - id int not null auto_increment comment '主键id', - ref_id int not null comment '关联主表id', - version varchar(255) not null comment '版本', - name varchar(255) not null comment '名称', - app_id int not null comment '关联appid', - route varchar(255) not null comment '访问路径', - page_content longtext comment '页面内容', - is_body tinyint(1) comment '根元素是否是body', - parent_id int not null comment '父文件夹id', - "group" varchar(255) comment '分组', - depth int comment '页面/文件夹深度,更改层级时服务端校验用(校验可有可无)', - is_page tinyint(1) not null comment '是否为页面:分为页面和文件夹', - is_default tinyint(1) not null comment '是否是默认页面', - message varchar(255) comment '历史记录消息描述', - is_home tinyint(1) not null default 0 comment '是否首页', - content_blocks longtext comment '设计预留字段', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - is_published tinyint(1) not null comment '是否发布', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id) - ) comment = '页面历史表'; - -drop table if exists t_page_template; - -create table t_page_template ( - id int not null auto_increment comment '主键id', - name varchar(255) not null comment '名称', - page_content longtext comment '模板页面内容,存储页面内容、数据等', - framework varchar(255) not null comment '技术栈', - published tinyint(1) comment '是否发布:1是,0否', - public tinyint(1) comment '公开状态:0,1,2', - type varchar(255) not null comment '模板类型', - status varchar(255) not null comment '模板状态', - is_preset tinyint(1) comment '设计预留字段', - image_url varchar(255) comment '封面图地址', - description varchar(2000) comment '描述', - platform_id int not null comment '设计器id', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id) - ) comment = '页面模板表'; - -drop table if exists t_component; - -create table t_component ( - id int not null auto_increment comment '主键id', - version varchar(255) not null comment '版本', - name varchar(255) not null comment '中文名称', - name_en varchar(255) not null comment '英文名称', - icon varchar(255) comment '图标', - description varchar(2000) comment '描述', - doc_url varchar(255) comment '文档链接', - screenshot varchar(255) comment '缩略图', - tags varchar(255) comment '标签', - keywords varchar(255) comment '关键字', - dev_mode varchar(255) not null comment '研发模式', - npm longtext not null comment 'npm对象属性', - "group" varchar(255) comment '分组', - category varchar(255) comment '分类', - priority int comment '排序', - snippets longtext comment 'schema片段', - schema_fragment longtext comment 'schema片段', - configure longtext comment '配置信息', - public int comment '公开状态:0,1,2', - framework varchar(255) not null comment '技术栈', - is_official tinyint(1) comment '是否是官方', - is_default tinyint(1) comment '是否是默认', - tiny_reserved tinyint(1) comment '是否是tiny自有', - component_metadata longtext comment '属性信息', - library_id int comment '设计预留字段', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_component (tenant_id, name, version) - ) comment = '组件表'; - -drop table if exists r_material_category; - -create table r_material_category ( - id int not null auto_increment comment '主键id', - material_id int not null comment '物料包id', - category_id int not null comment '业务分类id', - primary key (id) - ) comment = '物料包业务分类关系表'; - -drop table if exists r_material_history_block; - -create table r_material_history_block ( - id int not null auto_increment comment '主键id', - material_history_id int not null comment '物料包历史id', - block_history_id int not null comment '区块历史id', - primary key (id) - ) comment = '物料包历史区块关系表'; - -drop table if exists r_material_history_component; - -create table r_material_history_component ( - id int not null auto_increment comment '主键id', - material_history_id int not null comment '物料包历史id', - component_id int not null comment '组件id', - primary key (id) - ) comment = '物料包历史组件关系表'; - -drop table if exists r_material_component; - -create table r_material_component ( - id int not null auto_increment comment '主键id', - material_id int not null comment '物料包id', - component_id int not null comment '组件id', - primary key (id) - ) comment = '物料包组件编辑态关系表'; - -drop table if exists r_material_block; - -create table r_material_block ( - id int not null auto_increment comment '主键id', - material_id int not null comment '物料包id', - block_id int not null comment '区块id', - primary key (id) - ) comment = '物料包区块编辑态关系表'; - -drop table if exists t_i18n_entry; - -create table t_i18n_entry ( - id int not null auto_increment comment '主键id', - "key" varchar(255) not null comment '国际化词条key', - content varchar(3000) not null comment '词条内容', - host_id int not null comment '关联的hostid: appid或blockid', - host_type varchar(255) not null comment 'app或者block', - lang_id int comment '关联语言id', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_i18n_entity (tenant_id, "key", lang_id) - ) comment = '国际化语言配置表'; - -drop table if exists t_i18n_lang; - -create table t_i18n_lang ( - id int not null auto_increment comment '主键id', - lang varchar(255) not null comment '语言代码', - label varchar(255) not null comment '语言', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_18n_lang (lang) - ) comment = '国际化语言表,全局'; - -drop table if exists t_datasource; - -create table t_datasource ( - id int not null auto_increment comment '主键id', - name varchar(255) not null comment '数据源名称', - data longtext comment '数据源内容', - tpl int comment '设计预留字段', - platform_id int comment '关联设计器id', - description varchar(2000) comment '描述', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_datasource (tenant_id, platform_id, name) - ) comment = '数据源表'; - -drop table if exists t_task_record; - -create table t_task_record ( - id int not null auto_increment comment '主键id', - team_id int comment '团队id, 默认0', - task_type int comment '任务类型: 1 assets_build / 2 app_build / 3 platform_build / 4 vscode_plugin_build/5 block_build', - build_id int comment '构建资源id', - task_name varchar(255) comment '构建任务名称', - task_status int comment '任务状态:0 init / 1 running / 2 stopped / 3 finished', - task_result longtext comment '当前执行进度结果信息', - progress varchar(255) comment '当前进行的子任务名', - ratio int comment '无用字段', - progress_percent int comment '构建进度百分比数', - indicator longtext comment '构建指标', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id) - ) comment = '构建任务表'; - -drop table if exists t_tenant; - -create table t_tenant ( - id int not null auto_increment comment '主键id', - org_code varchar(255) comment '组织唯一代码', - name_cn varchar(255) not null comment '组织中文名', - name_en varchar(255) comment '组织英文名', - description varchar(2000) comment '组织描述', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_tenant (name_cn) - ) comment = '租户表'; - -drop table if exists t_user; - -create table t_user ( - id int not null auto_increment comment '主键id', - username varchar(255) not null comment '用户名', - email varchar(255) not null comment '邮箱', - role varchar(255) comment '用户角色', - enable tinyint(1) comment '账号是否可用', - is_admin tinyint(1) comment '是否管理员', - is_public tinyint(1) comment '是否公共账号', - tenant_id varchar(60) not null comment '租户id', - renter_id varchar(60) comment '业务租户id', - site_id varchar(60) comment '站点id,设计预留字段', - created_by varchar(60) not null comment '创建人', - created_time timestamp not null default current_timestamp comment '创建时间', - last_updated_by varchar(60) not null comment '最后修改人', - last_updated_time timestamp not null default current_timestamp comment '更新时间', - primary key (id), - unique index u_idx_user (username) - ) comment = '用户表'; \ No newline at end of file +drop table if exists `t_platform`; + +create table `t_platform` +( + `id` int not null auto_increment comment '主键id', + `name` varchar(255) not null comment '名称', + `published` tinyint(1) comment '是否发布:1是,0否', + `last_build_info` longtext comment '最后构建信息', + `description` varchar(2000) comment '描述', + `latest_version` varchar(255) comment '当前历史记录表最新版本', + `latest_history_id` int comment '当前历史记录表id', + `material_history_id` int comment '关联物料包历史id', + `image_url` varchar(255) comment '设计器截图地址', + `sort_plugins` longtext comment '插件集合', + `sort_toolbar` longtext comment '工具集合', + `is_default` tinyint(1) comment '是否默认编辑器:1是,0否', + `prettier_opts` longtext comment '设计预留字段', + `set_default_by` varchar(60) comment '设置默认编辑器的人', + `app_extend_config` longtext comment '应用扩展配置', + `data_hash` varchar(255) comment '设计器数据hash,验证数据一致性', + `business_category_id` int comment '业务类型', + `theme_id` int comment '生态扩展使用,关联主题', + `platform_url` varchar(255) comment '设计器静态资源托管地址url', + `vscode_url` varchar(255) comment '设计预留字段', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `last_updated_by` varchar(60) not null comment '最后修改人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_platform` (`tenant_id`, `name`) using btree +) engine = innodb comment = '设计器表'; + +drop table if exists `t_platform_history`; + +create table `t_platform_history` +( + `id` int not null auto_increment comment '主键id', + `ref_id` int not null comment '关联主表id', + `version` varchar(255) not null comment '版本', + `name` varchar(255) not null comment '名称', + `publish_url` varchar(255) not null comment '设计器静态资源托管地址', + `description` varchar(2000) comment '描述', + `vscode_url` varchar(255) comment '设计预留字段', + `material_history_id` int not null comment '关联物料包历史id', + `sub_count` int not null comment '设计预留字段', + `material_pkg_name` varchar(255) comment '物料包名称', + `material_version` varchar(255) comment '物料包版本', + `image_url` varchar(255) comment '封面图地址', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `last_updated_by` varchar(60) not null comment '最后修改人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_platform_history` (`ref_id`, `version`) using btree +) engine = innodb comment = '设计器历史表'; + +drop table if exists `t_app`; + +create table `t_app` +( + `id` int not null auto_increment comment '主键id', + `name` varchar(255) not null comment '应用名称', + `platform_id` int not null comment '关联设计器id', + `platform_history_id` int comment '关联设计器历史版本id', + `publish_url` varchar(255) comment '应用静态资源托管地址', + `editor_url` varchar(255) comment '设计器地址', + `visit_url` varchar(255) comment '访问地址', + `image_url` varchar(255) comment '封面图地址', + `assets_url` varchar(255) comment '应用资源地址', + `state` int comment '应用状态,1可用,0不可用', + `published` tinyint(1) comment '是否发布:1是,0否', + `home_page_id` int comment '主页id,关联page表的id', + `app_website` varchar(255) comment '设计预留字段', + `css` longtext comment '设计预留字段', + `config` longtext comment '设计预留字段', + `constants` longtext comment '设计预留字段', + `data_handler` longtext comment '数据源的拦截器', + `latest` varchar(255) comment '应用最新历史记录id', + `git_group` varchar(255) comment 'git仓库分组', + `project_name` varchar(255) comment 'git仓库名称', + `branch` varchar(255) comment '默认提交分支', + `is_demo` tinyint(1) comment '是否是demo应用', + `is_default` tinyint(1) comment '是否是默认应用', + `template_type` varchar(255) comment '应用模板类型', + `set_template_time` timestamp comment '设置模板时间', + `description` varchar(2000) comment '描述', + `set_template_by` varchar(60) comment '设置模板人id', + `set_default_by` varchar(60) comment '设置为默认应用人id', + `framework` varchar(255) comment '应用框架', + `global_state` longtext comment '应用全局状态', + `default_lang` varchar(255) comment '默认语言', + `extend_config` longtext comment '应用扩展config', + `data_hash` varchar(255) comment '应用内容哈希值', + `can_associate` tinyint(1) comment '设计预留字段', + `data_source_global` longtext comment '数据源全局配置', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `last_updated_by` varchar(60) not null comment '最后修改人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_app` (`tenant_id`, `platform_id`, `name`) using btree +) engine = innodb comment = '应用表'; + +drop table if exists `t_app_extension`; + +create table `t_app_extension` +( + `id` int not null auto_increment comment '主键id', + `name` varchar(255) not null comment '名称', + `type` varchar(255) not null comment '类型:npm, function', + `content` longtext not null comment '内容', + `app_id` int not null comment '关联appid', + `category` varchar(255) not null comment '分类:utils,bridge', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `last_updated_by` varchar(60) not null comment '最后修改人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_app_extension` (`app_id`, `name`) using btree +) engine = innodb comment = '应用扩展表'; + +drop table if exists `t_block_group`; + +create table `t_block_group` +( + `id` int not null auto_increment comment '主键id', + `name` varchar(255) not null comment '分组名称', + `description` varchar(2000) comment '描述', + `app_id` int not null comment '关联app id', + `platform_id` int not null comment '设计器id', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_block_group` (`tenant_id`, `platform_id`, `name`) using btree +) engine = innodb comment = '区块分组表,设计器内共享'; + +drop table if exists `t_business_category`; + +create table `t_business_category` +( + `id` int not null auto_increment comment '主键id', + `code` varchar(255) not null comment '编码', + `name` varchar(255) not null comment '名称', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_business_category` (`tenant_id`, `code`) using btree +) engine = innodb comment = '业务类型表,全局'; + + + +drop table if exists `t_block`; + +create table `t_block` +( + `id` int not null auto_increment comment '主键id', + `label` varchar(255) not null comment '区块编码', + `name` varchar(255) comment '名称', + `framework` varchar(255) comment '技术栈', + `content` longtext comment '区块内容', + `assets` longtext comment '构建资源', + `last_build_info` longtext comment '最新一次构建信息', + `description` varchar(2000) comment '描述', + `tags` longtext comment '标签', + `latest_version` varchar(255) comment '当前历史记录表最新版本', + `latest_history_id` int comment '当前历史记录表id', + `screenshot` longtext comment '截屏', + `path` varchar(255) comment '区块路径', + `occupier_by` varchar(60) comment '当前检出者id', + `is_official` tinyint(1) comment '是否是官方', + `public` int comment '公开状态:0,1,2', + `is_default` tinyint(1) comment '是否是默认', + `tiny_reserved` tinyint(1) comment '是否是tiny自有', + `npm_name` varchar(255) comment 'npm包名', + `i18n` longtext NULL COMMENT '国际化', + `platform_id` int not null comment '设计器id', + `app_id` int not null comment '创建区块时所在appid', + `content_blocks` longtext comment '设计预留字段', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_block` (`platform_id`, `label`, `framework`) using btree +) engine = innodb comment = '区块表'; + +drop table if exists `t_block_history`; + +create table `t_block_history` +( + `id` int not null auto_increment comment '主键id', + `ref_id` int not null comment '关联主表id', + `version` varchar(255) not null comment '版本', + `message` varchar(255) comment '历史记录描述消息', + `label` varchar(255) not null comment '显示标签', + `name` varchar(255) comment '名称', + `framework` varchar(255) comment '技术栈', + `content` longtext comment '区块内容', + `assets` longtext comment '构建资源', + `build_info` longtext comment '构建信息', + `screenshot` longtext comment '截屏', + `path` varchar(255) comment '区块路径', + `description` varchar(2000) comment '描述', + `tags` longtext comment '标签', + `is_official` tinyint(1) comment '是否是官方', + `public` int comment '公开状态:0,1,2', + `is_default` tinyint(1) comment '是否是默认', + `tiny_reserved` tinyint(1) comment '是否是tiny自有', + `mode` varchar(255) comment '模式:vscode', + `platform_id` int not null comment '设计器id', + `app_id` int not null comment '创建区块时所在appid', + `npm_name` varchar(255) comment 'npm包名', + `i18n` longtext NULL COMMENT '国际化', + `content_blocks` longtext comment '设计预留字段', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_block_history` (`app_id`, `ref_id`, `version`) using btree +) engine = innodb comment = '区块历史表'; + +drop table if exists `t_material`; + +create table `t_material` +( + `id` int not null auto_increment comment '主键id', + `name` varchar(255) not null comment '名称', + `npm_name` varchar(255) comment 'npm包名', + `framework` varchar(255) not null comment '技术栈', + `assets_url` longtext comment '资源地址', + `image_url` varchar(255) comment '封面图地址', + `published` tinyint(1) comment '是否发布:1是,0否', + `latest_version` varchar(255) comment '当前历史记录表最新版本', + `latest_history_id` int comment '当前历史记录表id', + `public` int comment '公开状态:0,1,2', + `last_build_info` longtext comment '最新一次构建信息', + `description` varchar(2000) comment '描述', + `is_official` tinyint(1) comment '是否是官方', + `is_default` tinyint(1) comment '是否是默认', + `tiny_reserved` tinyint(1) comment '是否是tiny自有', + `component_library_id` int comment '设计预留字段', + `material_category_id` int comment '物料包业务类型', + `material_size` int comment '物料包大小', + `tgz_url` varchar(255) comment '物料包存储地址', + `unzip_tgz_root_path_url` longtext comment '物料包存储根路径', + `unzip_tgz_files` longtext comment '物料包存储文件', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_material` (`tenant_id`, `name`, `framework`) using btree +) engine = innodb comment = '物料包表'; + +drop table if exists `t_material_history`; + +create table `t_material_history` +( + `id` int not null auto_increment comment '主键id', + `ref_id` int not null comment '关联主表id', + `version` varchar(255) not null comment '版本', + `content` longtext comment '物料内容', + `name` varchar(255) not null comment '名称', + `npm_name` varchar(255) comment 'npm包名', + `framework` varchar(255) comment '技术栈', + `assets_url` longtext comment '资源地址', + `image_url` varchar(255) comment '封面图地址', + `build_info` longtext comment '构建信息', + `description` varchar(2000) comment '描述', + `material_size` int comment '物料包大小', + `tgz_url` varchar(255) comment '物料包存储地址', + `unzip_tgz_root_path_url` longtext comment '物料包存储根路径', + `unzip_tgz_files` longtext comment '物料包存储文件', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_material_history` (`tenant_id`, `ref_id`, `version`) using btree +) engine = innodb comment = '物料包历史表'; + +drop table if exists `t_page`; + +create table `t_page` +( + `id` int not null auto_increment comment '主键id', + `name` varchar(255) not null comment '名称', + `app_id` int not null comment '关联appid', + `route` varchar(255) not null comment '访问路径', + `page_content` longtext comment '页面内容', + `is_body` tinyint(1) comment '根元素是否是body', + `parent_id` int not null comment '父文件夹id', + `group` varchar(255) comment '分组', + `depth` int comment '页面/文件夹深度,更改层级时服务端校验用(校验可有可无)', + `is_page` tinyint(1) not null comment '是否为页面:分为页面和文件夹', + `occupier_by` varchar(60) comment '当前检出者id', + `is_default` tinyint(1) not null comment '是否是默认页面', + `content_blocks` longtext comment '设计预留字段', + `latest_version` varchar(255) comment '当前历史记录表最新版本', + `latest_history_id` int comment '当前历史记录表id', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_page` (`app_id`,`parent_id`,`route`,`is_page`,`tenant_id`, `name`) using btree +) engine = innodb comment = '页面表'; + +drop table if exists `t_page_history`; + +create table `t_page_history` +( + `id` int not null auto_increment comment '主键id', + `ref_id` int not null comment '关联主表id', + `version` varchar(255) comment '版本', + `name` varchar(255) not null comment '名称', + `app_id` int not null comment '关联appid', + `route` varchar(255) not null comment '访问路径', + `page_content` longtext comment '页面内容', + `is_body` tinyint(1) comment '根元素是否是body', + `parent_id` int not null comment '父文件夹id', + `group` varchar(255) comment '分组', + `depth` int comment '页面/文件夹深度,更改层级时服务端校验用(校验可有可无)', + `is_page` tinyint(1) not null comment '是否为页面:分为页面和文件夹', + `is_default` tinyint(1) not null comment '是否是默认页面', + `message` varchar(255) comment '历史记录消息描述', + `is_home` tinyint(1) not null default 0 comment '是否首页', + `content_blocks` longtext comment '设计预留字段', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `is_published` tinyint(1) not null comment '是否发布', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree +) engine = innodb comment = '页面历史表'; + +drop table if exists `t_page_template`; + +create table `t_page_template` +( + `id` int not null auto_increment comment '主键id', + `name` varchar(255) not null comment '名称', + `page_content` longtext comment '模板页面内容,存储页面内容、数据等', + `framework` varchar(255) not null comment '技术栈', + `published` tinyint(1) comment '是否发布:1是,0否', + `public` tinyint(1) comment '公开状态:0,1,2', + `type` varchar(255) not null comment '模板类型', + `status` varchar(255) not null comment '模板状态', + `is_preset` tinyint(1) comment '设计预留字段', + `image_url` longtext comment '封面图地址', + `description` varchar(2000) comment '描述', + `platform_id` int not null comment '设计器id', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree +) engine = innodb comment = '页面模板表'; + +drop table if exists `t_component`; + +create table `t_component` +( + `id` int not null auto_increment comment '主键id', + `version` varchar(255) not null comment '版本', + `name` varchar(255) not null comment '中文名称', + `name_en` varchar(255) not null comment '英文名称', + `icon` varchar(255) comment '图标', + `description` varchar(2000) comment '描述', + `doc_url` varchar(255) comment '文档链接', + `screenshot` varchar(255) comment '缩略图', + `tags` varchar(255) comment '标签', + `keywords` varchar(255) comment '关键字', + `dev_mode` varchar(255) not null comment '研发模式', + `npm` longtext not null comment 'npm对象属性', + `group` varchar(255) comment '分组', + `category` varchar(255) comment '分类', + `priority` int comment '排序', + `snippets` longtext comment 'schema片段', + `schema_fragment` longtext comment 'schema片段', + `configure` longtext comment '配置信息', + `public` int comment '公开状态:0,1,2', + `framework` varchar(255) not null comment '技术栈', + `is_official` tinyint(1) comment '是否是官方', + `is_default` tinyint(1) comment '是否是默认', + `tiny_reserved` tinyint(1) comment '是否是tiny自有', + `component_metadata` longtext comment '属性信息', + `library_id` int comment '设计预留字段', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_component` (`tenant_id`, `name_en`, `version`) using btree +) engine = innodb comment = '组件表'; + +drop table if exists `r_material_category`; + +create table `r_material_category` +( + `id` int not null auto_increment comment '主键id', + `material_id` int not null comment '物料包id', + `category_id` int not null comment '业务分类id', + primary key (`id`) using btree +) engine = innodb comment = '物料包业务分类关系表'; + +drop table if exists `r_material_history_block`; + +create table `r_material_history_block` +( + `id` int not null auto_increment comment '主键id', + `material_history_id` int not null comment '物料包历史id', + `block_history_id` int not null comment '区块历史id', + primary key (`id`) using btree +) engine = innodb comment = '物料包历史区块关系表'; + +drop table if exists `r_material_history_component`; + +create table `r_material_history_component` +( + `id` int not null auto_increment comment '主键id', + `material_history_id` int not null comment '物料包历史id', + `component_id` int not null comment '组件id', + primary key (`id`) using btree +) engine = innodb comment = '物料包历史组件关系表'; + +drop table if exists `r_material_component`; + +create table `r_material_component` +( + `id` int not null auto_increment comment '主键id', + `material_id` int not null comment '物料包id', + `component_id` int not null comment '组件id', + primary key (`id`) using btree +) engine = innodb comment = '物料包组件编辑态关系表'; + +drop table if exists `r_material_block`; + +create table `r_material_block` +( + `id` int not null auto_increment comment '主键id', + `material_id` int not null comment '物料包id', + `block_id` int not null comment '区块id', + primary key (`id`) using btree +) engine = innodb comment = '物料包区块编辑态关系表'; + +drop table if exists `t_i18n_entry`; + +create table `t_i18n_entry` +( + `id` int not null auto_increment comment '主键id', + `key` varchar(255) not null comment '国际化词条key', + `content` varchar(3000) not null comment '词条内容', + `host_id` int not null comment '关联的hostid: appid或blockid', + `host_type` varchar(255) not null comment 'app或者block', + `lang_id` int comment '关联语言id', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_i18n_entity` (`key`, `host_id`, `host_type`,`lang_id`) using btree +) engine = innodb comment = '国际化语言配置表'; + +drop table if exists `t_i18n_lang`; + +create table `t_i18n_lang` +( + `id` int not null auto_increment comment '主键id', + `lang` varchar(255) not null comment '语言代码', + `label` varchar(255) not null comment '语言', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_18n_lang` (`lang`) using btree +) engine = innodb comment = '国际化语言表,全局'; + +drop table if exists `t_datasource`; + +create table `t_datasource` +( + `id` int not null auto_increment comment '主键id', + `name` varchar(255) not null comment '数据源名称', + `data` longtext comment '数据源内容', + `tpl` int comment '设计预留字段', + `app_id` int comment '关联appId', + `platform_id` int comment '关联设计器id', + `description` varchar(2000) comment '描述', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_datasource` (`tenant_id`, `platform_id`, `name`) using btree +) engine = innodb comment = '数据源表'; + +drop table if exists `t_task_record`; + +create table `t_task_record` +( + `id` int not null auto_increment comment '主键id', + `team_id` int comment '团队id, 默认0', + `task_type` int comment '任务类型: 1 assets_build / 2 app_build / 3 platform_build / 4 vscode_plugin_build/5 block_build', + `build_id` int comment '构建资源id', + `task_name` varchar(255) comment '构建任务名称', + `task_status` int comment '任务状态:0 init / 1 running / 2 stopped / 3 finished', + `task_result` longtext comment '当前执行进度结果信息', + `progress` varchar(255) comment '当前进行的子任务名', + `ratio` int comment '无用字段', + `progress_percent` int comment '构建进度百分比数', + `indicator` longtext comment '构建指标', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree +) engine = innodb comment = '构建任务表'; + +drop table if exists `t_tenant`; + +create table `t_tenant` +( + `id` int not null auto_increment comment '主键id', + `org_code` varchar(255) comment '组织唯一代码', + `name_cn` varchar(255) not null comment '组织中文名', + `name_en` varchar(255) comment '组织英文名', + `description` varchar(2000) comment '组织描述', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_tenant` (`name_cn`) using btree +) engine = innodb comment = '租户表'; + +drop table if exists `t_user`; + +create table `t_user` +( + `id` int not null auto_increment comment '主键id', + `username` varchar(255) not null comment '用户名', + `email` varchar(255) not null comment '邮箱', + `role` varchar(255) comment '用户角色', + `enable` tinyint(1) comment '账号是否可用', + `is_admin` tinyint(1) comment '是否管理员', + `is_public` tinyint(1) comment '是否公共账号', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_user` (`username`) using btree +) engine = innodb comment = '用户表'; + +drop table if exists `t_block_carriers_relation`; + +create table `t_block_carriers_relation` +( + `id` int not null auto_increment comment '主键id', + `block_id` int not null comment '区块id', + `host_id` int not null comment '类型id', + `host_type` varchar(60) comment '类型:blockGroup,materialHistory', + `version` varchar(60) not null comment '区块当前使用版本', + `tenant_id` varchar(60) not null comment '租户id', + `renter_id` varchar(60) comment '业务租户id', + `site_id` varchar(60) comment '站点id,设计预留字段', + `created_by` varchar(60) not null comment '创建人', + `created_time` timestamp not null default current_timestamp comment '创建时间', + `last_updated_by` varchar(60) not null comment '最后修改人', + `last_updated_time` timestamp not null default current_timestamp comment '更新时间', + primary key (`id`) using btree, + unique index `u_idx_block_carriers_relation` (`host_id`, `host_type`, `block_id`) using btree +) engine = innodb comment = '区块分组与区块历史版本'; + +drop table if exists `r_block_group_block`; + +create table `r_block_group_block` +( + `id` int not null auto_increment comment '主键id', + `block_id` int not null comment '区块id', + `block_group_id` int not null comment '区块分组id', + primary key (`id`) using btree, + unique index `u_idx_block_group_block` (block_id, block_group_id) using btree +) engine = innodb comment = '区块分组和区块关系表'; \ No newline at end of file diff --git a/app/src/main/resources/sql/h2/init_data_for_test.sql b/app/src/main/resources/sql/h2/init_data_for_test.sql index c61e98d4..2d854322 100644 --- a/app/src/main/resources/sql/h2/init_data_for_test.sql +++ b/app/src/main/resources/sql/h2/init_data_for_test.sql @@ -1,112 +1,178 @@ -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (7, '0.1.16', '{"zh_CN":"表单"}', 'TinyForm', 'form', '由按钮、输入框、选择器、单选框、多选框等控件组成,用以收集、校验、提交数据', '', 'formscreenshot', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Form","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '表单组件', 2, '[{"icon":"form","name":{"zh_CN":"表单"},"schema":{"props":{"labelWidth":"80px","labelPosition":"top"},"children":[{"componentName":"Template","props":{"slot":"default"},"children":[{"props":{"label":"人员"},"children":[{"props":{"modelValue":"","placeholder":"请输入"},"componentName":"TinyInput"}],"componentName":"TinyFormItem"},{"props":{"label":"密码"},"children":[{"props":{"type":"password","modelValue":"","placeholder":"请输入"},"componentName":"TinyInput"}],"componentName":"TinyFormItem"},{"props":{"label":""},"children":[{"props":{"text":"提交","type":"primary","style":"margin-right: 10px"},"componentName":"TinyButton"},{"props":{"text":"重置","type":"primary"},"componentName":"TinyButton"}],"componentName":"TinyFormItem"}]}],"componentName":"TinyForm"},"screenshot":"","snippetName":"tiny-form"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"disabled","label":{"text":{"zh_CN":"是否禁用"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"label-width","label":{"text":{"zh_CN":"标签宽度"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"表单中标签占位宽度,默认为 80px"},"labelPosition":"left"},{"property":"inline","label":{"text":{"zh_CN":"行内布局"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"行内布局模式,默认为 false"}},{"property":"label-align","label":{"text":{"zh_CN":"必填标识是否占位"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"必填标识 * 是否占位"},"labelPosition":"left"},{"property":"label-suffix","label":{"text":{"zh_CN":"标签后缀"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"表单中标签后缀"}},{"property":"label-position","label":{"text":{"zh_CN":"标签位置"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"right","value":"right"},{"label":"left ","value":"left "},{"label":"top","value":"top"}]}},"description":{"zh_CN":"表单中标签的布局位置"}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}}]},{"name":"1","label":{"zh_CN":"校验属性"},"content":[{"property":"model","label":{"text":{"zh_CN":"表单校验对象"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"表单数据对象"},"labelPosition":"left"},{"property":"rules","label":{"text":{"zh_CN":"校验规则"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"表单验证规则"}}],"description":{"zh_CN":""}}],"events":{"onValidate":{"label":{"zh_CN":"表单项被校验后触发"},"description":{"zh_CN":"表单项被校验后触发"},"type":"event","functionInfo":{"params":[{"name":"function","type":"Function","defaultValue":"(valid) => {}","description":{"zh_CN":"校验回调函数"}}],"returns":{}},"defaultValue":""},"onInput":{"label":{"zh_CN":"输入值改变时触发"},"description":{"zh_CN":"在 Input 输入值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"string","defaultValue":"","description":{"zh_CN":"输入框输入的值"}}],"returns":{}},"defaultValue":""},"onBlur":{"label":{"zh_CN":"失去焦点时触发"},"description":{"zh_CN":"在 Input 失去焦点时触发"},"type":"event","functionInfo":{"params":[{"name":"event","type":"Object","defaultValue":"","description":{"zh_CN":"原生 event"}}],"returns":{}},"defaultValue":""},"onFocus":{"label":{"zh_CN":"获取焦点时触发"},"description":{"zh_CN":"在 Input 获取焦点时触发"},"type":"event","functionInfo":{"params":[{"name":"event","type":"Object","defaultValue":"","description":{"zh_CN":"原生 event"}}],"returns":{}},"defaultValue":""},"onClear":{"label":{"zh_CN":"点击清空按钮时触发"},"description":{"zh_CN":"点击清空按钮时触发"},"type":"event","functionInfo":{"params":[],"returns":{}},"defaultValue":""}},"slots":{"default":{"label":{"zh_CN":"default"},"description":{"zh_CN":"默认插槽"}},"label":{"label":{"zh_CN":"label"},"description":{"zh_CN":"标签文本插槽"}}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"TinyFormItem","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["label-width","","disabled"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-05-09 02:50:45', '2023-12-20 02:02:57', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":"pc,mobile","title":null,"_RID":"row_12"}],"slots":[{"slotName":"default","description":"默认插槽","_RID":"row_2"},{"slotName":"label","description":"标签文本插槽","_RID":"row_1"}]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (8, '0.1.16', '{"zh_CN":"表单项"}', 'TinyFormItem', 'formitem', 'Form 组件下的 FormItem 配置', '', 'https://res.hc-cdn.com/kei-front-end/1.0.39/nodata.f623b3778e480ddebbbc.png', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"FormItem","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '表单组件', 3, '[{}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"label","label":{"text":{"zh_CN":"标签文本"}},"required":true,"readOnly":false,"disabled":false,"defaultValue":"标签","cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"标签文本"},"labelPosition":"left"},{"property":"prop","label":{"text":{"zh_CN":"校验字段"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"表单域 model 字段,在使用 validate、resetFields 方法的情况下,该属性是必填的"}},{"property":"required","label":{"text":{"zh_CN":"必填"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否必填"},"labelPosition":"left"},{"property":"validateIcon","label":{"text":{"zh_CN":"validateIcon"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}}]}],"events":{}}', '{"loop":true,"condition":true,"styles":true,"isContainer":true,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"TinyForm","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":[""]},"contextMenu":{"actions":["remove","insert","copy","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":["label"],"framework":"Vue"}', 1, '2022-05-09 03:09:44', '2023-11-08 08:20:53', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"validateIcon","type":"object","defaultValue":null,"enumerateValue":null,"title":"校验提示图标","_RID":"row_1"},{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":"pc,mobile","title":null,"_RID":"row_8"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (9, '0.1.16', '{"zh_CN":"按钮"}', 'TinyButton', 'button', '常用的操作按钮,提供包括默认按钮、图标按钮、图片按钮、下拉按钮等类型', '', 'https://res.hc-cdn.com/kei-front-end/1.0.39/nodata.f623b3778e480ddebbbc.png', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Button","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '表单组件', 2, '[{"name":{"zh_CN":"按钮"},"icon":"button","screenshot":"","snippetName":"TinyButton","schema":{"componentName":"TinyButton","props":{"text":"按钮文案"}}},{"name":{"zh_CN":"按钮组"},"icon":"buttons","snippetName":"TinyButtons","screenshot":"","schema":{"componentName":"div","props":{},"children":[{"componentName":"TinyButton","props":{"text":"提交","type":"primary","style":{"margin":"0 5px 0 5px"}}},{"componentName":"TinyButton","props":{"text":"重置","style":{"margin":"0 5px 0 5px"}}},{"componentName":"TinyButton","props":{"text":"取消"}}]},"configure":{"isContainer":true}}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"text","type":"string","defaultValue":"按钮文案","label":{"text":{"zh_CN":"按钮文字"}},"cols":12,"rules":[],"hidden":false,"required":true,"readOnly":false,"disabled":false,"widget":{"component":"MetaBindI18n","props":{}},"description":{"zh_CN":""},"device":[]},{"property":"disabled","label":{"text":{"zh_CN":"禁用"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否被禁用"},"labelPosition":"left"},{"property":"type","label":{"text":{"zh_CN":"类型"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"primary","value":"primary"},{"label":"success","value":"success"},{"label":"info","value":"info"},{"label":"warning","value":"warning"},{"label":"danger","value":"danger"},{"label":"text","value":"text"}]}},"description":{"zh_CN":"设置不同的主题样式"},"labelPosition":"left"},{"property":"size","label":{"text":{"zh_CN":"size"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"large","value":"large"},{"label":"medium","value":"medium"},{"label":"small","value":"small"},{"label":"mini","value":"mini"}],"modelValue":""}},"description":{"zh_CN":""},"device":[]},{"property":"key","label":{"text":{"zh_CN":"key"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}}]},{"name":"1","label":{"zh_CN":"其他"},"content":[{"property":"icon","label":{"text":{"zh_CN":"icon"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaSelectIcon","props":{}},"description":{"zh_CN":""}},{"property":"round","label":{"text":{"zh_CN":"圆角"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否圆角按钮"},"labelPosition":"left"},{"property":"plain","label":{"text":{"zh_CN":"朴素按钮"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否为朴素按钮"},"labelPosition":"left"},{"property":"reset-time","label":{"text":{"zh_CN":"禁用时间"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{}},"description":{"zh_CN":"设置禁用时间,防止重复提交,单位毫秒"}},{"property":"circle","label":{"text":{"zh_CN":"圆角"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否圆形按钮"},"labelPosition":"left"},{"property":"autofocus","label":{"text":{"zh_CN":"聚焦"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否默认聚焦"},"labelPosition":"left"},{"property":"loading","label":{"text":{"zh_CN":"加载中"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否展示位加载中样式"},"labelPosition":"left"}],"description":{"zh_CN":""}}],"events":{"onClick":{"label":{"zh_CN":"点击事件"},"description":{"zh_CN":"按钮被点击时触发的回调函数"},"type":"event","functionInfo":{"params":[],"returns":{}},"defaultValue":""}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":true,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["text","key","size"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"framework":"Vue"}', 1, '2022-05-09 03:14:26', '2023-12-25 09:52:51', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"size","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_1"},{"property":"key","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_1"},{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_1"},{"property":"icon","type":"object","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_1"},{"property":"icon","type":"object","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_1"},{"property":"size","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_1"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (19, '0.1.16', '{"zh_CN":"开关"}', 'TinySwitch', 'switch', '开关开关开关开关开关', '', 'https://res.hc-cdn.com/kei-front-end/1.0.39/nodata.f623b3778e480ddebbbc.png', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Switch","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '表单组件', 5, '[{"icon": "switch", "name": {"zh_CN": "开关"}, "schema": {"props": {"modelValue": ""}, "componentName": "TinySwitch"}, "screenshot": "", "snippetName": "TinySwitch"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"disabled","label":{"text":{"zh_CN":"禁用"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否被禁用"},"labelPosition":"left"},{"property":"modelValue","label":{"text":{"zh_CN":"绑定值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"双向绑定的开关状态值"}},{"property":"true-value","label":{"text":{"zh_CN":"打开时的值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"设置打开时的值(Boolean / String / Number)"},"labelPosition":"left"},{"property":"false-value","label":{"text":{"zh_CN":"关闭时的值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"设置关闭时的值(Boolean / String / Number)"},"labelPosition":"left"},{"property":"mini","label":{"text":{"zh_CN":"迷你尺寸"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否显示为 mini 模式"},"labelPosition":"left"},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}}]}],"events":{"onChange":{"label":{"zh_CN":"点击事件"},"description":{"zh_CN":"按钮被点击时触发的回调函数"},"type":"event","functionInfo":{"params":[],"returns":{}},"defaultValue":""},"onUpdate:modelValue":{"label":{"zh_CN":"双向绑定的值改变时触发"},"description":{"zh_CN":"开关的状态值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"string","defaultValue":"","description":{"zh_CN":"双向绑定的开关状态值"}}],"returns":{}},"defaultValue":""}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["disabled","mini"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-05-12 08:13:59', '2023-03-06 07:02:29', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":"pc,mobile","title":null,"_RID":"row_3"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (20, '0.1.16', '{"zh_CN":"单选"}', 'TinyRadio', 'radio', '用于配置不同场景的选项,在一组备选项中进行单选', '', 'https://res.hc-cdn.com/kei-front-end/1.0.39/nodata.f623b3778e480ddebbbc.png', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Radio","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '表单组件', 5, '[{"icon": "radio", "name": {"zh_CN": "单选"}, "schema": {"props": {"text": "单选文本", "label": "1"}, "componentName": "TinyRadio"}, "screenshot": "", "snippetName": "TinyRadio"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"text","label":{"text":{"zh_CN":"文本"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":""}},{"property":"label","label":{"text":{"zh_CN":"单选框的值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"props":{}},"description":{"zh_CN":""}},{"property":"modelValue","label":{"text":{"zh_CN":"绑定值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"双向绑定的当前选中值"}},{"property":"disabled","label":{"text":{"zh_CN":"禁用"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}}]},{"label":{"zh_CN":"其他"},"description":{"zh_CN":""},"content":[{"property":"border","label":{"text":{"zh_CN":"显示边框"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"size","label":{"text":{"zh_CN":"单选框的尺寸"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":""}},{"property":"name","label":{"text":{"zh_CN":"原生 name 属性"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":""}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}}]}],"events":{"onChange":{"label":{"zh_CN":"值变化事件"},"description":{"zh_CN":"绑定值变化时触发的事件"}},"onUpdate:modelValue":{"label":{"zh_CN":"双向绑定的值改变时触发"},"description":{"zh_CN":"当前选中的值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"string","defaultValue":"","description":{"zh_CN":"双向绑定的当前选中值"}}],"returns":{}},"defaultValue":""}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["text","size"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-05-16 02:38:18', '2023-03-06 07:05:11', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":"pc,mobile","title":null,"_RID":"row_13"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (23, '0.1.16', '{"zh_CN":"布局行"}', 'TinyRow', 'row', '定义 Layout 的行配置信息', '', 'rowscreenshot', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Row","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '布局组件', 2, '[{"name":{"zh_CN":"Row"},"icon":"row","screenshot":"","snippetName":"TinyRow","schema":{"componentName":"TinyRow","props":{},"children":[{"componentName":"TinyCol","props":{"span":3,"style":"height:100%;"},"children":[{"componentName":"div","props":{"style":"height: 100%;"}}]},{"componentName":"TinyCol","props":{"span":3,"style":"height:100%;"},"children":[{"componentName":"div","props":{"style":"height: 100%;"}}]},{"componentName":"TinyCol","props":{"span":3,"style":"height:100%;"},"children":[{"componentName":"div","props":{"style":"height: 100%;"}}]},{"componentName":"TinyCol","props":{"span":3,"style":"height:100%;"},"children":[{"componentName":"div","props":{"style":"height: 100%;"}}]}]}}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"layout","label":{"text":{"zh_CN":"layout"}},"cols":12,"widget":{"component":"MetaLayoutGrid","props":{}},"description":{"zh_CN":"layout"},"labelPosition":"none"},{"property":"align","label":{"text":{"zh_CN":"align"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"top","value":"top"},{"label":"middle","value":"middle"},{"label":"bottom","value":"bottom"}]}},"description":{"zh_CN":""}},{"property":"flex","label":{"text":{"zh_CN":"flex"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"gutter","label":{"text":{"zh_CN":"gutter"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":""}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}}]}],"events":[]}', '{"loop":true,"condition":true,"styles":true,"isContainer":true,"isModal":false,"nestingRule":{"childWhitelist":"TinyCol","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["flex","align"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-05-19 02:02:47', '2023-02-16 03:53:28', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":"pc,mobile","title":null,"_RID":"row_44"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (24, '0.1.16', '{"zh_CN":"提示框"}', 'TinyPopover', 'popover', 'Popover可通过对一个触发源操作触发弹出框,支持自定义弹出内容,延迟触发和渐变动画', '', 'null', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Popover","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '提示组件', 7, '[{"name":{"zh_CN":"提示框"},"icon":"popover","screenshot":"","snippetName":"TinyPopover","schema":{"componentName":"TinyPopover","props":{"width":200,"title":"弹框标题","trigger":"manual","modelValue":true},"children":[{"componentName":"Template","props":{"slot":"reference"},"children":[{"componentName":"div","props":{"placeholder":"触发源"}}]},{"componentName":"Template","props":{"slot":"default"},"children":[{"componentName":"div","props":{"placeholder":"提示内容"}}]}]}}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"modelValue","label":{"text":{"zh_CN":"绑定值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"双向绑定,手动控制是否可见的状态值"},"labelPosition":"left"},{"property":"placement","label":{"text":{"zh_CN":"位置"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"top","value":"top"},{"label":"top-start","value":"top-start"},{"label":"top-end","value":"top-end"},{"label":"bottom","value":"bottom"},{"label":"bottom-start","value":"bottom-start"},{"label":"bottom-end","value":"bottom-end"},{"label":"left","value":"left"},{"label":"left-start","value":"left-start"},{"label":"left-end","value":"left-end"},{"label":"right","value":"right"},{"label":"right-start","value":"right-start"},{"label":"right-end","value":"right-end"}]}},"description":{"zh_CN":""},"labelPosition":"left"},{"property":"trigger","label":{"text":{"zh_CN":"触发方式"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"click","value":"click"},{"label":"focus","value":"focus"},{"label":"hover","value":"hover"},{"label":"manual","value":"manual"}]}},"description":{"zh_CN":"触发方式,该属性的可选值为 click / focus / hover / manual,该属性的默认值为 click"}},{"property":"popper-class","label":{"text":{"zh_CN":"自定义类"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"为 popper 添加类名"},"labelPosition":"left"},{"property":"visible-arrow","label":{"text":{"zh_CN":"显示箭头"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否显示 Tooltip 箭头"}},{"property":"append-to-body","label":{"text":{"zh_CN":"添加到body上"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"Popover弹窗是否添加到body上"}},{"property":"arrow-offset","label":{"text":{"zh_CN":"箭头的位置偏移"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{}},"description":{"zh_CN":"箭头的位置偏移,该属性的默认值为 0"}},{"property":"close-delay","label":{"text":{"zh_CN":"隐藏延迟"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{}},"description":{"zh_CN":"触发方式为 hover 时的隐藏延迟,单位为毫秒"}},{"property":"content","label":{"text":{"zh_CN":"显示的内容"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"显示的内容,也可以通过 slot 传入 DOM"}},{"property":"disabled","label":{"text":{"zh_CN":"禁用"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"Popover 是否可用"}},{"property":"offset","label":{"text":{"zh_CN":"位置偏移量"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{}},"description":{"zh_CN":"出现位置的偏移量"}},{"property":"open-delay","label":{"text":{"zh_CN":"显示延迟"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{}},"description":{"zh_CN":"触发方式为 hover 时的显示延迟,单位为毫秒"}},{"property":"popper-options","label":{"text":{"zh_CN":"popper.js的参数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"popper.js 的参数"}},{"property":"title","label":{"text":{"zh_CN":"标题"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"标题"}},{"property":"transform-origin","label":{"text":{"zh_CN":"旋转中心点"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"组件的旋转中心点,组件的旋转中心点"}},{"property":"transition","label":{"text":{"zh_CN":"定义渐变动画"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"该属性的默认值为 fade-in-linear"}},{"property":"width","label":{"text":{"zh_CN":"宽度"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{}},"description":{"zh_CN":"宽度"}}]}],"events":{"onHide":{"label":{"zh_CN":"hide"},"description":{"zh_CN":"隐藏时触发"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onShow":{"label":{"zh_CN":"show"},"description":{"zh_CN":"显示时触发"},"type":"event","functionInfo":{"params":[null],"returns":{}}}},"slots":[]}', '{"loop":true,"condition":true,"styles":true,"isContainer":true,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["placement","trigger"]},"contextMenu":{"actions":["createBlock","copy"],"disable":["copy","remove"]},"slots":["reference"],"isPopper":true,"framework":"Vue"}', 1, '2022-05-19 02:17:18', '2023-05-09 03:47:40', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[{"eventName":"hide","label":"hide","params":null,"defaultValue":null,"description":"隐藏时触发","_RID":"row_2"},{"eventName":"show","label":"show","params":null,"defaultValue":null,"description":"显示时触发","_RID":"row_1"}],"attrs":[],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (25, '0.1.16', '{"zh_CN":"文字提示框"}', 'TinyTooltip', 'tooltip', '动态显示提示信息,一般通过鼠标事件进行响应;提供 warning、error、info、success 四种类型显示不同类别的信', '', 'null', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Tooltip","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '提示组件', 11, '[{"name":{"zh_CN":"文字提示框"},"icon":"tooltip","screenshot":"","snippetName":"TinyTooltip","schema":{"componentName":"TinyTooltip","props":{"content":"Top Left 提示文字","placement":"top-start","manual":true,"modelValue":true},"children":[{"componentName":"span","children":[{"componentName":"div","props":{"placeholder":"触发源"}}]},{"componentName":"Template","props":{"slot":"content"},"children":[{"componentName":"span","children":[{"componentName":"div","props":{"placeholder":"触发源"}}]}]}]}}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":20,"text":{"zh_CN":"显示更多"}},"content":[{"property":"placement","label":{"text":{"zh_CN":"提示位置"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"top","value":"top"},{"label":"top-start","value":"top-start"},{"label":"top-end","value":"top-end"},{"label":"bottom","value":"bottom"},{"label":"bottom-start","value":"bottom-start"},{"label":"bottom-end","value":"bottom-end"},{"label":"left","value":"left"},{"label":"left-start","value":"left-start"},{"label":"left-end","value":"left-end"},{"label":"right","value":"right"},{"label":"right-start","value":"right-start"},{"label":"right-end","value":"right-end"}]}},"description":{"zh_CN":"Tooltip 的出现位置"},"labelPosition":"left"},{"property":"content","label":{"text":{"zh_CN":"内容"}},"required":true,"readOnly":false,"disabled":false,"defaultValue":"提示信息","cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"显示的内容,也可以通过 slot#content 传入 DOM"}},{"property":"tabindex","label":{"text":{"zh_CN":"tabindex"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"number","widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":"配置该元素,配置的属性会自动添加到该组件的触发原上"}},{"property":"hide-after","label":{"text":{"zh_CN":"hide-after"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"number","widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":"Tooltip 出现后自动隐藏延时,单位毫秒,为 0 则不会自动隐藏"}},{"property":"enterable","label":{"text":{"zh_CN":"enterable"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"boolean","widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"鼠标是否可进入到 tooltip 中"}},{"property":"modelValue","label":{"text":{"zh_CN":"是否可见"}},"defaultValue":true,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"状态是否可见"}},{"property":"popper-class","label":{"text":{"zh_CN":"popper-class"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":""}},{"property":"manual","label":{"text":{"zh_CN":"手动控制"}},"defaultValue":true,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"手动控制模式,设置为 true 后,mouseenter 和 mouseleave 事件将不会生效"}},{"property":"visible-arrow","label":{"text":{"zh_CN":"visible-arrow"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"boolean","widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否显示 Tooltip 箭头,popper.js 的参数"}},{"property":"open-delay","label":{"text":{"zh_CN":"open-delay"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":"延迟出现,单位毫秒"}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"}]}},"description":{"zh_CN":""}},{"property":"popper-options","label":{"text":{"zh_CN":"popper-options"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"object","widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"popper.js 的参数;该属性的可选值为 参考 popper.js 文档"}},{"property":"effect","label":{"text":{"zh_CN":"effect"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"默认提供的主题;该属性的可选值为 dark/light"}},{"property":"visible","label":{"text":{"zh_CN":"visible"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"提示的智能出现的模式;该属性的可选值为 auto/always"}},{"property":"transition","label":{"text":{"zh_CN":"transition"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"该属性的默认值为 tiny-fade-in-linea,r定义渐变动画"}},{"property":"append-to-body","label":{"text":{"zh_CN":"append-to-body"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"disabled","label":{"text":{"zh_CN":"disabled"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"offset","label":{"text":{"zh_CN":"offset"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":"出现位置的偏移量"}}]}],"events":{}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["text","","size"]},"contextMenu":{"actions":["createBlock","copy","remove","insert","updateAttr","bindEevent"],"disable":[]},"slots":["content"],"isPopper":true,"framework":"Vue"}', 1, '2022-05-19 02:22:59', '2023-05-13 08:55:35', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_22"},{"property":"effect","type":"string","defaultValue":null,"enumerateValue":null,"title":"\\t默认提供的主题;该属性的可选值为 dark/light","_RID":"row_21"},{"property":"visible-arrow","type":"boolean","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_22"},{"property":"visible","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_23"},{"property":"tabindex","type":"number","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_24"},{"property":"hide-after","type":"number","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_25"},{"property":"enterable","type":"boolean","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_26"},{"property":"popper-class","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_27"},{"property":"open-delay","type":"number","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_28"},{"property":"popper-options","type":"object","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_29"},{"property":"transition","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_30"},{"property":"offset","type":"number","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_31"},{"property":"disabled","type":"boolean","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_32"},{"property":"append-to-body","type":"boolean","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_33"}],"slots":[{"slotName":"content","description":"\\t内容","_RID":"row_20"},{"slotName":"default","description":"认插槽","_RID":"row_19"}]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (27, '0.1.16', '{"zh_CN":"树"}', 'TinyTree', 'tree', '可进行展示有父子层级的数据,支持选择,异步加载等功能。但不推荐用它来展示菜单,展示菜单推荐使用树菜单', '', 'null', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Tree","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '数据组件', 12, '[{"name":{"zh_CN":"树"},"icon":"tree","screenshot":"","snippetName":"TinyTree","schema":{"componentName":"TinyTree","props":{"data":[{"label":"一级 1","children":[{"label":"二级 1-1","children":[{"label":"三级 1-1-1"}]}]},{"label":"一级 2","children":[{"label":"二级 2-1","children":[{"label":"三级 2-1-1"}]},{"label":"二级 2-2","children":[{"label":"三级 2-2-1"}]}]}]}}}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"show-checkbox","label":{"text":{"zh_CN":"多选"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"设置接口是否可以多选"},"labelPosition":"left"},{"property":"data","label":{"text":{"zh_CN":"数据源"}},"required":true,"readOnly":false,"disabled":false,"defaultValue":[{"label":"一级 1","children":[{"label":"二级 1-1"}]}],"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"可配置静态数据源和动态数据源"}},{"property":"node-key","label":{"text":{"zh_CN":"唯一标识"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"节点唯一标识属性名称"},"labelPosition":"left"},{"property":"icon-trigger-click-node","label":{"text":{"zh_CN":"触发NodeClick 事件"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"点击图标展开节点时是否触发 node-click 事件"},"labelPosition":"left"},{"property":"expand-icon","label":{"text":{"zh_CN":"展开图标"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"节点展开图标"},"labelPosition":"left"},{"property":"shrink-icon","label":{"text":{"zh_CN":"收缩图标"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"节点收缩的图标"},"labelPosition":"left"}]},{"name":"1","label":{"zh_CN":"其他"},"content":[{"property":"check-on-click-node","label":{"text":{"zh_CN":"点击节点选中"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否在点击节点的时候选中节点,默认值为 false,即只有在点击复选框时才会选中节点"},"labelPosition":"left"},{"property":"filter-node-method","label":{"text":{"zh_CN":"筛选函数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"节点筛选函数"},"labelPosition":"left"}],"description":{"zh_CN":""}}],"events":{"onCheck":{"label":{"zh_CN":"勾选节点后的事件"},"description":{"zh_CN":"勾选节点后的事件"},"type":"event","functionInfo":{"params":[{"name":"data","type":"object","defaultValue":"","description":{"zh_CN":"当前选中节点信息"}},{"name":"currentNode","type":"object","defaultValue":"","description":{"zh_CN":"树组件目前的选中状态信息,包含 checkedNodes、checkedKeys、halfCheckedNodes、halfCheckedKeys 四个属性"}}],"returns":{}},"defaultValue":""},"onNodeClick":{"label":{"zh_CN":"点击节点后的事件"},"description":{"zh_CN":"点击节点后的事件"},"type":"event","functionInfo":{"params":[{"name":"data","type":"Object","defaultValue":"","description":{"zh_CN":"当前选中节点信息"}},{"name":"node","type":"Object","defaultValue":"","description":{"zh_CN":"树组件目前的选中状态信息,包含 checkedNodes、checkedKeys、halfCheckedNodes、halfCheckedKeys 四个属性"}},{"name":"vm","type":"Object","defaultValue":"","description":{"zh_CN":"树组件实例"}}],"returns":{}},"defaultValue":""}}}', '{"loop":false,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["show-checkbox"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"framework":"Vue"}', 1, '2022-05-19 02:31:12', '2022-06-30 10:55:59', 1, 'Vue', 1, 1, 1, 1, 1, NULL, 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (28, '0.1.16', '{"zh_CN":"弹出编辑"}', 'TinyPopeditor', 'popeditor', '该组件只能在弹出的面板中选择数据,不能手动输入数据;弹出面板中显示为 Tree 组件或者 Grid 组件', '', 'null', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Popeditor","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '表单组件', 2, '[{"icon": "popeditor", "name": {"zh_CN": "弹出编辑"}, "schema": {"props": {"gridOp": {"data": [{"id": "1", "city": "福州", "name": "GFD科技有限公司GFD科技有限公司GFD科技有限公司GFD科技有限公司GFD科技有限公司GFD科技有限公司GFD科技有限公司", "province": "福建"}, {"id": "2", "city": "深圳", "name": "WWW科技有限公司", "province": "广东"}, {"id": "3", "city": "中山", "name": "RFV有限责任公司", "province": "广东"}, {"id": "4", "city": "龙岩", "name": "TGB科技有限公司", "province": "福建"}, {"id": "5", "city": "韶关", "name": "YHN科技有限公司", "province": "广东"}, {"id": "6", "city": "黄冈", "name": "WSX科技有限公司", "province": "武汉"}], "columns": [{"field": "id", "title": "ID", "width": 40}, {"field": "name", "title": "名称", "showOverflow": "tooltip"}, {"field": "province", "title": "省份", "width": 80}, {"field": "city", "title": "城市", "width": 80}]}, "modelValue": "", "placeholder": "请选择"}, "componentName": "TinyPopeditor"}, "screenshot": "", "snippetName": "TinyPopeditor"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"modelValue","label":{"text":{"zh_CN":"绑定值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"双向绑定值"},"labelPosition":"left"},{"property":"placeholder","label":{"text":{"zh_CN":"占位文本"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"输入框占位文本"},"labelPosition":"left"},{"property":"show-clear-btn","label":{"text":{"zh_CN":"清除按钮"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否显示清除按钮"},"labelPosition":"left"},{"property":"disabled","label":{"text":{"zh_CN":"是否禁用"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}}]},{"name":"1","label":{"zh_CN":"其他"},"content":[{"property":"width","label":{"text":{"zh_CN":"宽度"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":"设置弹出面板的宽度(单位像素)"},"labelPosition":"left"},{"property":"conditions","label":{"text":{"zh_CN":"过滤条件"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"当弹出面板配置的是表格时,设置弹出面板中的过滤条件"},"labelPosition":"left"},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}},{"property":"grid-op","label":{"text":{"zh_CN":"表格配置"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"设置弹出面板中表格组件的配置信息"},"labelPosition":"left"},{"property":"pager-op","label":{"text":{"zh_CN":"分页配置"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"设置弹出编辑框中分页配置"},"labelPosition":"left"},{"property":"multi","label":{"text":{"zh_CN":"多选"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"设置弹出面板中的数据是否可多选"},"labelPosition":"left"},{"property":"show-pager","label":{"text":{"zh_CN":"启用分页"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"当 popseletor 为 grid 时才能生效,配置为 true 后还需配置 pagerOp 属性"}}],"description":{"zh_CN":""}}],"events":{"onChange":{"label":{"zh_CN":"选中值改变时触发"},"description":{"zh_CN":"在 Input 值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"string","defaultValue":"","description":{"zh_CN":"当前选中项的值"}},{"name":"value","type":"Object","defaultValue":"","description":{"zh_CN":"当前选中对象"}}],"returns":{}},"defaultValue":""},"onUpdate:modelValue":{"label":{"zh_CN":"双向绑定的值改变时触发"},"description":{"zh_CN":"当前选中的值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"string","defaultValue":"","description":{"zh_CN":"双向绑定的当前选中值"}}],"returns":{}},"defaultValue":""},"onClose":{"label":{"zh_CN":"弹框关闭时触发的事件"},"description":{"zh_CN":"弹框关闭时触发的事件"},"type":"event","functionInfo":{"params":[],"returns":{}},"defaultValue":""},"onPageChange":{"label":{"zh_CN":"分页切换事件"},"description":{"zh_CN":"表格模式下分页切换事件"},"type":"event","functionInfo":{"params":[{"name":"value","type":"String","defaultValue":"","description":{"zh_CN":"当前页码数"}}],"returns":{}},"defaultValue":""}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["placeholder","show-clear-btn"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-05-19 02:34:37', '2023-03-10 06:22:27', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_11"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (29, '0.1.16', '{"zh_CN":"分页"}', 'TinyPager', 'pager', '当数据量过多时,使用分页分解数据,常用于 Grid 和 Repeater 组件', '', 'null', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Pager","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '数据组件', 1, '[{"name":{"zh_CN":"分页"},"icon":"pager","screenshot":"","snippetName":"TinyPager","schema":{"componentName":"TinyPager","props":{"layout":"total, sizes, prev, pager, next","total":100,"pageSize":10,"currentPage":1}}}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":10,"text":{"zh_CN":"显示更多"}},"content":[{"property":"currentPage","label":{"text":{"zh_CN":"当前页数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":"当前页数,支持 .sync 修饰符"},"labelPosition":"left"},{"property":"pageSize","label":{"text":{"zh_CN":"每页条数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":"每页显示条目个数"},"labelPosition":"left"},{"property":"pageSizes","label":{"text":{"zh_CN":"可选每页条数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"设置可选择的每页显示条数"}},{"property":"total","label":{"text":{"zh_CN":"总条数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":"数据总条数"},"labelPosition":"left"},{"property":"layout","label":{"text":{"zh_CN":"布局"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{"value":"total,sizes,prev, pager, next"}},"description":{"zh_CN":"组件布局,子组件名用逗号分隔"},"labelPosition":"left"},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"}]}},"description":{"zh_CN":""}}]}],"events":{"onCurrent-change":{"label":{"zh_CN":"切换页码触发事件"},"description":{"zh_CN":"\\tcurrentPage 改变时会触发;arg1: 新的当前页的值"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onSize-change":{"label":{"zh_CN":"分页事件"},"description":{"zh_CN":"设置分页跳转后的事件;pageSize 改变时会触发;arg1: pageSize 新的当前值"},"type":"event","functionInfo":{"params":[null],"returns":{}}}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["text","","size"]},"contextMenu":{"actions":[],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-05-19 02:36:23', '2023-03-10 06:45:28', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[{"eventName":"current-change","label":"切换页码触发事件","params":null,"defaultValue":null,"description":"\\tcurrentPage 改变时会触发;arg1: 新的当前页的值","_RID":"row_1"},{"eventName":"size-change","label":"分页事件","params":null,"defaultValue":null,"description":"设置分页跳转后的事件;pageSize 改变时会触发;arg1: pageSize 新的当前值","_RID":"row_2"}],"attrs":[{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_19"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (30, '0.1.16', '{"zh_CN":"布局列"}', 'TinyCol', 'col', '列配置信息', '', 'colscreenshot', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Col","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '布局组件', 20, '[{"name":{"zh_CN":"Col"},"icon":"col","screenshot":"","snippetName":"TinyCol","schema":{"componentName":"TinyCol","props":{"span":12,"style":{"height":"30px","border":"1px solid #ccc"}}}}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"span","label":{"text":{"zh_CN":"栅格列格数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"整行","value":12},{"label":"6格","value":6},{"label":"4格","value":4},{"label":"3格","value":3},{"label":"1格","value":1}]}},"description":{"zh_CN":"当一行分为12格时,一列可占位多少格"}},{"property":"move","label":{"text":{"zh_CN":"栅格左右移动格数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{"min":-12,"max":12}},"description":{"zh_CN":"栅格左右移动格数(正数向右,负数向左)"}},{"property":"no","label":{"text":{"zh_CN":"排序编号"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{"max":12}},"description":{"zh_CN":"排序编号(row中启用order生效)"}},{"property":"offset","label":{"text":{"zh_CN":"间隔格数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{"min":0,"max":12}},"description":{"zh_CN":"栅格左侧的间隔格数"}},{"property":"xs","label":{"text":{"zh_CN":"超小屏格数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{"min":1,"max":12}},"description":{"zh_CN":"<768px 响应式栅格数"}},{"property":"sm","label":{"text":{"zh_CN":"小屏格数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{"min":1,"max":12}},"description":{"zh_CN":"≥768px 响应式栅格数"}},{"property":"md","label":{"text":{"zh_CN":"中屏格数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{"min":1,"max":12}},"description":{"zh_CN":"≥992px 响应式栅格数"}},{"property":"lg","label":{"text":{"zh_CN":"大屏格数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{"min":1,"max":12}},"description":{"zh_CN":"≥1200px 响应式栅格数"}},{"property":"xl","label":{"text":{"zh_CN":"超大屏格数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{"min":1,"max":12}},"description":{"zh_CN":"≥1920px 响应式栅格数"}}]}],"events":{}}', '{"loop":true,"condition":true,"styles":true,"isContainer":true,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"TinyRow","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["span"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"framework":"Vue"}', 1, '2022-05-19 02:40:08', '2022-07-15 02:22:42', 1, 'Vue', 1, 1, 1, 1, 1, NULL, 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (32, '0.1.16', '{"zh_CN":"下拉框"}', 'TinySelect', 'select', 'Select 选择器是一种通过点击弹出下拉列表展示数据并进行选择的 UI 组件', '', 'selectScreenshot', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Select","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '表单组件', 2, '[{"icon": "select", "name": {"zh_CN": "下拉框"}, "schema": {"props": {"options": [{"label": "黄金糕", "value": "1"}, {"label": "双皮奶", "value": "2"}], "modelValue": "", "placeholder": "请选择"}, "componentName": "TinySelect"}, "screenshot": "", "snippetName": "TinySelect"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":10,"text":{"zh_CN":"显示更多"}},"content":[{"property":"modelValue","label":{"text":{"zh_CN":"绑定值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"双向绑定的当前选中值"},"labelPosition":"left"},{"property":"placeholder","label":{"text":{"zh_CN":"占位文本"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"输入框占位文本"},"labelPosition":"left"},{"property":"clearable","label":{"text":{"zh_CN":"清除按钮"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否显示清除按钮"},"labelPosition":"left"},{"property":"searchable","label":{"text":{"zh_CN":"下拉面板可搜索"}},"required":false,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"下拉面板是否可搜索"},"labelPosition":"left"},{"property":"disabled","label":{"text":{"zh_CN":"是否禁用"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"options","label":{"text":{"zh_CN":"下拉数据"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{"language":"json"}},"description":{"zh_CN":"配置 Select 下拉数据项"},"labelPosition":"left"},{"property":"multiple","label":{"text":{"zh_CN":"多选"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否允许输入框输入或选择多个项"},"labelPosition":"left"}]},{"name":"1","label":{"zh_CN":"其他"},"content":[{"property":"multiple-limit","label":{"text":{"zh_CN":"最大可选值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":"多选时用户最多可以选择的项目数,为 0 则不限制"},"labelPosition":"left"},{"property":"popper-class","label":{"text":{"zh_CN":"下拉框的类名"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"设置下拉框自定义的类名"},"labelPosition":"left"},{"property":"collapse-tags","label":{"text":{"zh_CN":"多选展示"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"多选时是否将选中值按文字的形式展示"},"labelPosition":"left"},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"}]}},"description":{"zh_CN":""}}],"description":{"zh_CN":""}}],"events":{"onChange":{"label":{"zh_CN":"值改变时触发"},"description":{"zh_CN":"在下拉框值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"string","defaultValue":"","description":{"zh_CN":"下拉框选中项的值"}}],"returns":{}},"defaultValue":""},"onUpdate:modelValue":{"label":{"zh_CN":"双向绑定的值改变时触发"},"description":{"zh_CN":"当前选中的值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"string","defaultValue":"","description":{"zh_CN":"双向绑定的当前选中值"}}],"returns":{}},"defaultValue":""},"onBlur":{"label":{"zh_CN":"失去焦点时触发"},"description":{"zh_CN":"在 Input 失去焦点时触发"},"type":"event","functionInfo":{"params":[{"name":"event","type":"Object","defaultValue":"","description":{"zh_CN":"原生 event"}}],"returns":{}},"defaultValue":""},"onFocus":{"label":{"zh_CN":"获取焦点时触发"},"description":{"zh_CN":"在 Input 获取焦点时触发"},"type":"event","functionInfo":{"params":[{"name":"event","type":"Object","defaultValue":"","description":{"zh_CN":"原生 event"}}],"returns":{}},"defaultValue":""},"onClear":{"label":{"zh_CN":"点击清空按钮时触发"},"description":{"zh_CN":"点击清空按钮时触发"},"type":"event","functionInfo":{"params":[],"returns":{}},"defaultValue":""},"onRemoveTag":{"label":{"zh_CN":"多选模式下移除tag时触发"},"description":{"zh_CN":"多选模式下移除tag时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"Object","defaultValue":"","description":{"zh_CN":"被移除Tag对应数据项的值字段"}}],"returns":{}},"defaultValue":""}}}', '{"loop":false,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["multiple","","options"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-05-19 02:44:05', '2023-03-06 07:08:49', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"searchable","type":"boolean","defaultValue":"false","enumerateValue":null,"title":"是否可搜索","_RID":"row_1"},{"property":"tiny_mode","type":"string","defaultValue":"","enumerateValue":null,"title":null,"_RID":"row_1"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (33, '0.1.13', '{"zh_CN":"搜索框"}', 'TinySearch', 'search', '指定条件对象进行搜索数据', '', 'searchscreenshot', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Search","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '表单组件', 2, '[{"name":{"zh_CN":"搜索框"},"icon":"search","screenshot":"","snippetName":"TinySearch","schema":{"componentName":"TinySearch","props":{"modelValue":"","placeholder":"输入关键词"}}}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"modelValue","label":{"text":{"zh_CN":"默认值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"双向绑定的搜索值"},"labelPosition":"left"},{"property":"disabled","label":{"text":{"zh_CN":"禁用"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否被禁用"},"labelPosition":"left"},{"property":"placeholder","label":{"text":{"zh_CN":"占位文本 "}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"输入框内的提示占位文本"},"labelPosition":"left"},{"property":"clearable","label":{"text":{"zh_CN":"清空按钮"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"设置显示清空图标按钮"},"labelPosition":"left"}]},{"name":"1","label":{"zh_CN":"其他配置"},"content":[{"property":"mini","label":{"text":{"zh_CN":"迷你尺寸"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"迷你模式,配置为true时,搜索默认显示为一个带图标的圆形按钮,点击后展开"},"labelPosition":"left"},{"property":"transparent","label":{"text":{"zh_CN":"透明模式"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"配置为true时,边框变为透明且收缩后半透明显示,一般用在带有背景的场景,默认 false"},"labelPosition":"left"},{"property":"isEnterSearch","label":{"text":{"zh_CN":"isEnterSearch"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}},{"property":"button-text","label":{"text":{"zh_CN":"button-text"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"自定义搜索框按钮的文本内容"}}],"description":{"zh_CN":""}}],"events":{"onSearch":{"label":{"zh_CN":"搜索的回调"},"description":{"zh_CN":"在展开状态点击搜索按钮时触发的回调函数;arg1:{Object 搜索类型},arg2:{String 当前input框中值}"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onMouseout":{"label":{"zh_CN":"鼠标离开"},"description":{"zh_CN":"鼠标离开时候触发该时间"},"type":"event","functionInfo":{"params":[null],"returns":{}}}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["clearable","","mini"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","createBlock","bindEevent"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-05-19 02:47:45', '2023-02-16 03:13:14', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[{"eventName":"search","label":"搜索的回调","params":null,"defaultValue":null,"description":"在展开状态点击搜索按钮时触发的回调函数;arg1:{Object 搜索类型},arg2:{String 当前input框中值}","_RID":"row_1"},{"eventName":"mouseout","label":"鼠标离开","params":null,"defaultValue":null,"description":"鼠标离开时候触发该时间","_RID":"row_2"}],"attrs":[{"property":"isEnterSearch","type":"boolean","defaultValue":"false","enumerateValue":null,"title":"是否在按下键盘Enter键的时候触发search事件","_RID":"row_1"},{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_1"},{"property":"button-text","type":"string","defaultValue":"搜索","enumerateValue":null,"title":null,"_RID":"row_2"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (36, '0.1.16', '{"zh_CN":"复选框"}', 'TinyCheckbox', 'checkbox', '用于配置不同场景的选项,提供用户可在一组选项中进行多选', '', 'http://image.huawei.com/tiny-lts/v1/images/7848d4163c2d20a0c65c4f42335d216a_298x187.png', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Checkbox","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '表单组件', 12, '[{"icon": "checkbox", "name": {"zh_CN": "复选框"}, "schema": {"props": {"text": "复选框文案"}, "componentName": "TinyCheckbox"}, "screenshot": "", "snippetName": "TinyCheckbox"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"modelValue","label":{"text":{"zh_CN":"绑定值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"双向绑定的是否选中的状态值"},"labelPosition":"left"},{"property":"disabled","label":{"text":{"zh_CN":"是否禁用"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"checked","label":{"text":{"zh_CN":"勾选"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"当前是否勾选"},"labelPosition":"left"},{"property":"text","label":{"text":{"zh_CN":"文本"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"复选框的文本"},"labelPosition":"left"},{"property":"indeterminate","label":{"text":{"zh_CN":"indeterminate"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}}},{"property":"label","label":{"text":{"zh_CN":"label"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}}},{"property":"name","label":{"text":{"zh_CN":"name"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}}},{"property":"value","label":{"text":{"zh_CN":"value"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}}}]},{"name":"1","label":{"zh_CN":"其他"},"content":[{"property":"border","label":{"text":{"zh_CN":"边框"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否显示边框"}},{"property":"false-label","label":{"text":{"zh_CN":"未选中的值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"没有选中时的值"}},{"property":"true-label","label":{"text":{"zh_CN":"选择时的值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"选中时的值"}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}}],"description":{"zh_CN":""}}],"events":{"onUpdate:modelValue":{"label":{"zh_CN":" update:modelValue"},"description":{"zh_CN":"modelValue双向绑定"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onChange":{"label":{"zh_CN":null},"description":{"zh_CN":"当绑定值变化时触发的事件,该事件可获取更新后的值"},"type":"event","functionInfo":{"params":[null],"returns":{}}}},"slots":{"default":{"label":{"zh_CN":"default"},"description":{"zh_CN":"Checkbox的内容"}}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["border","","disabled"]},"contextMenu":{"actions":["remove","copy","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-05-19 02:50:44', '2023-04-28 08:54:25', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[{"eventName":"update:modelValue","label":" update:modelValue","params":null,"defaultValue":null,"description":"modelValue双向绑定","_RID":"row_2"},{"eventName":"change","label":null,"params":null,"defaultValue":null,"description":"当绑定值变化时触发的事件,该事件可获取更新后的值","_RID":"row_10"}],"attrs":[{"property":"checked","type":"boolean","defaultValue":"false","enumerateValue":null,"title":"当前是否勾选","_RID":"row_2"},{"property":"disabled","type":"boolean","defaultValue":"false","enumerateValue":null,"title":"是否禁用","_RID":"row_3"},{"property":"false-label","type":"string","defaultValue":null,"enumerateValue":null,"title":"没有选中时的值","_RID":"row_4"},{"property":"indeterminate","type":"boolean","defaultValue":"false","enumerateValue":null,"title":"设置 indeterminate 状态,只负责样式控制","_RID":"row_5"},{"property":"label","type":"string","defaultValue":null,"enumerateValue":null,"title":"选中状态的值","_RID":"row_6"},{"property":"name","type":"string","defaultValue":null,"enumerateValue":null,"title":"原生 name 属性","_RID":"row_7"},{"property":"true-label","type":"string","defaultValue":null,"enumerateValue":null,"title":"选中时的值","_RID":"row_8"},{"property":"value","type":"boolean","defaultValue":null,"enumerateValue":null,"title":"绑定值","_RID":"row_9"},{"property":"value","type":"boolean","defaultValue":null,"enumerateValue":null,"title":"绑定值","_RID":"row_9"},{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":"pc,mobile","title":null,"_RID":"row_11"}],"slots":[{"slotName":"default","description":"Checkbox的内容","_RID":"row_13"}]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (37, '0.1.16', '{"zh_CN":"对话框"}', 'TinyDialogBox', 'dialogbox', '模态对话框,在浮层中显示,引导用户进行相关操作。', '', 'dialogboxshot', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"DialogBox","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '容器组件', 2, '[{"icon":"dialogbox","name":{"zh_CN":"对话框"},"schema":{"props":{"title":"dialogBox title","visible":true},"children":[{"componentName":"Template","props":{"slot":"default"},"children":[]}],"componentName":"TinyDialogBox"},"screenshot":"","snippetName":"TinyDialogBox"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"title","label":{"text":{"zh_CN":"标题"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"弹出框标题"},"labelPosition":"left"},{"property":"visible","label":{"text":{"zh_CN":"显示与隐藏"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"控制弹出框显示与关闭"},"labelPosition":"left"},{"property":"width","label":{"text":{"zh_CN":"宽度"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"弹出框的宽度"},"labelPosition":"left"},{"property":"is-form-reset","label":{"text":{"zh_CN":"is-form-reset"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"boolean","widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"关闭弹窗,默认重置表单数据"}},{"property":"show-header","label":{"text":{"zh_CN":"show-header"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"boolean","widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否显示弹窗头部 header,默认值为 true 。"}},{"property":"modal","label":{"text":{"zh_CN":"modal"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"boolean","widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否启用遮罩层"}},{"property":"draggable","label":{"text":{"zh_CN":"可拖拽"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否开启弹窗的拖拽功能,默认值为 false 。"}},{"property":"center","label":{"text":{"zh_CN":"居中"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"弹出框的头部与底部内容会自动居中"},"labelPosition":"left"},{"property":"dialog-class","label":{"text":{"zh_CN":"自定义类"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"自定义配置弹窗类名"},"labelPosition":"left"},{"property":"append-to-body","label":{"text":{"zh_CN":"插入到 Body "}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"DialogBox 本身是否插入到 body 上,嵌套的 Dialog 必须指定该属性并赋值为 true"},"labelPosition":"left"},{"property":"show-close","label":{"text":{"zh_CN":"show-close"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{"modelValue":true}},"description":{"zh_CN":""}},{"property":"close-on-click-modal","label":{"text":{"zh_CN":"close-on-click-modal"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{"modelValue":true}},"description":{"zh_CN":"是否可以通过点击遮罩层关闭弹窗,默认为 true ,可以在标签上设置:modal-closable=\\"false\\"不能通过点击遮罩层关闭弹窗。"}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}}]}],"events":{"onDrag-end":{"label":{"zh_CN":null},"description":{"zh_CN":"Dialog 拖拽结束事件;arg:event(包含弹窗的位置等信息)"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onDrag-move":{"label":{"zh_CN":null},"description":{"zh_CN":"Dialog 拖拽移动事件;arg:event(包含弹窗的位置等信息)"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onDrag-start":{"label":{"zh_CN":null},"description":{"zh_CN":"Dialog 拖拽开始事件;arg:event(包含弹窗的位置等信息)"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onClosed":{"label":{"zh_CN":null},"description":{"zh_CN":"\\tDialog 关闭动画结束时的回调;无arguments"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onOpened":{"label":{"zh_CN":null},"description":{"zh_CN":"Dialog 打开动画结束时的回调;无arguments"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onOpen":{"label":{"zh_CN":null},"description":{"zh_CN":"Dialog 打开的回调;Dialog 打开的回调;无arguments"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onClose":{"label":{"zh_CN":"关闭弹窗时触发"},"description":{"zh_CN":"Dialog 关闭的回调;无arguments"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onUpdate:visible":{"label":{"zh_CN":"双向绑定的状态改变时触发"},"description":{"zh_CN":"显示或隐藏的状态值,发生改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"boolean","defaultValue":"","description":{"zh_CN":"双向绑定的显示或隐藏的状态值"}}],"returns":{}},"defaultValue":""}},"slots":{"title":{"label":{"zh_CN":"title"},"description":{"zh_CN":"Dialog 标题区的内容"}},"default":{"label":{"zh_CN":"default"},"description":{"zh_CN":"Dialog 的内容"}},"footer":{"label":{"zh_CN":"footer"},"description":{"zh_CN":"\\tDialog 按钮操作区的内容"}}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":".tiny-dialog-box","shortcuts":{"properties":["visible","","width"]},"contextMenu":{"actions":["remove","insert","copy","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-05-19 02:55:58', '2023-12-20 02:04:44', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[{"eventName":"drag-end","label":null,"params":null,"defaultValue":null,"description":"Dialog 拖拽结束事件;arg:event(包含弹窗的位置等信息)","_RID":"row_14"},{"eventName":"drag-move","label":null,"params":null,"defaultValue":null,"description":"Dialog 拖拽移动事件;arg:event(包含弹窗的位置等信息)","_RID":"row_13"},{"eventName":"drag-start","label":null,"params":null,"defaultValue":null,"description":"Dialog 拖拽开始事件;arg:event(包含弹窗的位置等信息)","_RID":"row_12"},{"eventName":"closed","label":null,"params":null,"defaultValue":null,"description":"\\tDialog 关闭动画结束时的回调;无arguments","_RID":"row_11"},{"eventName":"opened","label":null,"params":null,"defaultValue":null,"description":"Dialog 打开动画结束时的回调;无arguments","_RID":"row_10"},{"eventName":"open","label":null,"params":null,"defaultValue":null,"description":"Dialog 打开的回调;Dialog 打开的回调;无arguments","_RID":"row_9"},{"eventName":"close","label":null,"params":null,"defaultValue":null,"description":"\\tDialog 关闭的回调;Dialog 关闭的回调;无arguments","_RID":"row_8"}],"attrs":[{"property":"close-on-click-modal","type":"boolean","defaultValue":"true","enumerateValue":null,"title":"是否可以通过点击遮罩层关闭弹窗,默认为 true ,可以在标签上设置:modal-closable=\\"false\\"不能通过点击遮罩层关闭弹窗。","_RID":"row_1"},{"property":"show-close","type":"boolean","defaultValue":"true","enumerateValue":null,"title":"是否显示关闭按钮","_RID":"row_1"},{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":"pc,mobile","title":null,"_RID":"row_16"},{"property":"modal","type":"boolean","defaultValue":null,"enumerateValue":null,"title":"是否启用遮罩层","_RID":"row_15"},{"property":"modal","type":"boolean","defaultValue":null,"enumerateValue":null,"title":"是否启用遮罩层","_RID":"row_15"},{"property":"is-form-reset","type":"boolean","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_16"},{"property":"close-on-click-modal","type":"boolean","defaultValue":null,"enumerateValue":null,"title":"\\t是否可以通过点击遮罩层关闭弹窗,默认为 true ,可以在标签上设置:modal-closable=\\"false\\"不能通过点击遮罩层关闭弹窗。","_RID":"row_17"},{"property":"show-header","type":"boolean","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_18"}],"slots":[{"slotName":"title","description":"Dialog 标题区的内容","_RID":"row_7"},{"slotName":"default","description":"Dialog 的内容","_RID":"row_6"},{"slotName":"footer","description":"\\tDialog 按钮操作区的内容","_RID":"row_2"}]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (38, '0.1.16', '{"zh_CN":"标签页"}', 'TinyTabs', 'tabs', '分隔内容上有关联但属于不同类别的数据集合', '', 'tabsscreenshot', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Tabs","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '容器组件', 5, '[{"icon":"tabs","name":{"zh_CN":"标签页"},"group":true,"schema":{"props":{"modelValue":"first"},"children":[{"props":{"name":"first","title":"标签页1"},"children":[{"componentName":"div"}],"componentName":"TinyTabItem"},{"props":{"name":"second","title":"标签页2"},"children":[{"componentName":"div"}],"componentName":"TinyTabItem"}],"componentName":"TinyTabs"},"screenshot":"","snippetName":"TinyTabs"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"showEditIcon","label":{"text":{"zh_CN":"显示编辑ICON "}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否显示标题后编辑 ICON"},"labelPosition":"left","device":[]},{"property":"modelValue","label":{"text":{"zh_CN":"绑定值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"双向绑定,当前选中选项卡的 name"},"labelPosition":"left"},{"property":"with-add","label":{"text":{"zh_CN":"可新增"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"标签是否可增加"},"labelPosition":"left"},{"property":"with-close","label":{"text":{"zh_CN":"可关闭"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"标签是否可关闭"},"labelPosition":"left"},{"property":"tab-style","label":{"text":{"zh_CN":"标签页样式"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"card","value":"card"},{"label":"border-card","value":"border-card"}]}},"description":{"zh_CN":"标签页样式"},"labelPosition":"left"},{"property":"active-color","label":{"text":{"zh_CN":"active-color"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":""}},{"property":"tabs","label":{"text":{"zh_CN":"tabs"}},"required":false,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"array","widget":{"component":"MetaContainer","props":{}},"description":{"zh_CN":""}},{"property":"swipeable","label":{"text":{"zh_CN":"swipeable"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}}]}],"events":{"onClick":{"label":{"zh_CN":"点击页签时触发事件"},"description":{"zh_CN":"在 Input 值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"component","type":"Object","defaultValue":"","description":{"zh_CN":"当前点击的页签对象"}},{"name":"event","type":"Object","defaultValue":"","description":{"zh_CN":"原生 event"}}],"returns":{}},"defaultValue":""},"onUpdate:modelValue":{"label":{"zh_CN":"双向绑定的值改变时触发"},"description":{"zh_CN":"当前选中的选项卡改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"string","defaultValue":"","description":{"zh_CN":"双向绑定的当前选中选项卡的 name 值"}}],"returns":{}},"defaultValue":""},"onEdit":{"label":{"zh_CN":"点击新增按钮或关闭按钮或者编辑按钮后触发"},"description":{"zh_CN":"点击新增按钮或关闭按钮或者编辑按钮后触发"},"type":"event","functionInfo":{"params":[{"name":"tab","type":"Object","defaultValue":"","description":{"zh_CN":"当前操作的页签对象"}},{"name":"type","type":"String","defaultValue":"","description":{"zh_CN":"当前操作的类型(remove || add || edit)"}}],"returns":{}},"defaultValue":""},"onClose":{"label":{"zh_CN":"关闭页签时触发"},"description":{"zh_CN":"关闭页签时触发"},"type":"event","functionInfo":{"params":[{"name":"name","type":"String","defaultValue":"","description":{"zh_CN":"页签名称"}}],"returns":{}},"defaultValue":""}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":["TinyTabItem"],"parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["tab-style","","size"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"clickCapture":false,"framework":"Vue"}', 1, '2022-05-19 02:58:09', '2023-11-16 09:19:35', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"tabs","type":"array","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_1"},{"property":"swipeable","type":"boolean","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_1"},{"property":"active-color","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_2"},{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_1"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (39, '0.1.16', '{"zh_CN":"标签页签项"}', 'TinyTabItem', 'tabitem', 'tab页签', '', 'tabshot', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"TabItem","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '容器组件', 20, '[{"icon":"tabitem","name":{"zh_CN":"标签页签项"},"schema":{"props":{},"componentName":"TinyTabItem"},"screenshot":"","snippetName":"TinyTabItem"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"name","label":{"text":{"zh_CN":"唯一表示"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"唯一表示"}},{"property":"title","label":{"text":{"zh_CN":"标题"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"标题"}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}}]}],"events":{}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"TinyTabs","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["name","title"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-05-19 03:00:11', '2023-11-08 08:22:36', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":"pc,mobile","title":null,"_RID":"row_1"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (40, '0.1.16', '{"zh_CN":"折叠面板"}', 'TinyCollapse', 'collapse', '内容区可指定动态页面或自定义 html 等,支持展开收起操作', '', 'Collapseshot', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Collapse","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '容器组件', 3, '[{"icon":"collapse","name":{"zh_CN":"折叠面板"},"schema":{"props":{"modelValue":"collapse1"},"children":[{"props":{"name":"collapse1","title":"折叠项1"},"children":[{"componentName":"div"}],"componentName":"TinyCollapseItem"},{"props":{"name":"collapse2","title":"折叠项2"},"children":[{"componentName":"div"}],"componentName":"TinyCollapseItem"},{"props":{"name":"collapse3","title":"折叠项3"},"children":[{"componentName":"div"}],"componentName":"TinyCollapseItem"}],"componentName":"TinyCollapse"},"screenshot":"","snippetName":"TinyCollapse"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"accordion","label":{"text":{"zh_CN":"accordion"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaSwitch","props":{}}},{"property":"modelValue","label":{"text":{"zh_CN":"当前激活的面板"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"当前激活的面板"},"labelPosition":"left"},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}}]}],"events":{"onChange":{"label":{"zh_CN":"激活面板改变时触发"},"description":{"zh_CN":"当前激活面板改变时触发(如果是手风琴模式,参数 activeNames 类型为string,否则为array)"},"type":"event","functionInfo":{"params":[{"name":"data","type":"string","defaultValue":"","description":{"zh_CN":"当前激活面板的值"}}],"returns":{}},"defaultValue":""}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"TinyCollapseItem","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":[""]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"framework":"Vue"}', 1, '2022-05-19 03:04:54', '2023-11-08 08:22:28', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":"pc,mobile","title":null,"_RID":"row_1"},{"property":"modelValue","type":"object","defaultValue":null,"enumerateValue":null,"title":"当前激活的面板(如果是手风琴模式,绑定值类型需要为String,否则为array)","_RID":"row_2"},{"property":"accordion","type":"boolean","defaultValue":"false","enumerateValue":null,"title":"是否手风琴模式","_RID":"row_3"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (41, '0.1.16', '{"zh_CN":"折叠面板项"}', 'TinyCollapseItem', 'collapseitem', '内容区可指定动态页面或自定义 html 等,支持展开收起操作', '', 'collapseitem', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"CollapseItem","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '容器组件', 2, '[{"name":{"zh_CN":"折叠面板项"},"icon":"collapseitem","screenshot":"null","snippetName":"TinyCollapseItem","schema":{}}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"name","label":{"text":{"zh_CN":"唯一标志符"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"唯一标志符;String | Number"},"labelPosition":"left"},{"property":"title","label":{"text":{"zh_CN":"面板标题"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"面板标题"},"labelPosition":"left"}]}],"events":{},"slots":{"title":{"label":{"zh_CN":"title"},"description":{"zh_CN":"头部标题插槽"}}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"TinyCollapse","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["disabled","","name"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"framework":"Vue"}', 1, '2022-05-19 03:06:43', '2023-05-30 10:34:51', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[],"slots":[{"slotName":"title","description":"头部标题插槽","_RID":"row_2"}]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (48, '0.1.17', '{"zh_CN":"复选框按钮"}', 'TinyCheckboxButton', 'checkboxbutton', '用于配置不同场景的选项,提供用户可在一组选项中进行多选', '', 'screenshot', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"CheckboxButton","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '表单组件', 2, '[]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"modelValue","label":{"text":{"zh_CN":"绑定值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"双向绑定的是否选中的状态值"},"labelPosition":"left"},{"property":"disabled","label":{"text":{"zh_CN":"是否禁用"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"checked","label":{"text":{"zh_CN":"勾选"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"当前是否勾选"},"labelPosition":"left"},{"property":"text","label":{"text":{"zh_CN":"文本"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"按钮文本"},"labelPosition":"left"}]}],"events":{"onChange":{"label":{"zh_CN":"勾选值改变后将触发"},"description":{"zh_CN":"勾选值改变后将触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"boolean","defaultValue":"","description":{"zh_CN":"选中项的值"}}],"returns":{}},"defaultValue":""},"onUpdate:modelValue":{"label":{"zh_CN":"双向绑定的值改变时触发"},"description":{"zh_CN":"是否选中的状态值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"boolean","defaultValue":"","description":{"zh_CN":"双向绑定的是否选中的状态值"}}],"returns":{}},"defaultValue":""}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":[""]},"contextMenu":{"actions":["remove","copy","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-06-17 06:42:16', '2022-06-27 08:31:33', 1, 'Vue', 1, 1, 1, 1, 1, NULL, 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (49, '0.1.17', '{"zh_CN":"复选框按钮组"}', 'TinyCheckboxGroup', 'checkboxgroup', '用于配置不同场景的选项,提供用户可在一组选项中进行多选', '', 'screenshot', '', '复选框按钮组', 'proCode', '{"package":"@opentiny/vue","exportName":"CheckboxGroup","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '表单组件', 2, '[{"icon": "checkboxs", "name": {"zh_CN": "复选框组"}, "schema": {"props": {"type": "checkbox", "options": [{"text": "复选框1", "label": "name1"}, {"text": "复选框2", "label": "name2"}, {"text": "复选框3", "label": "name3"}], "modelValue": ["name1", "name2"]}, "componentName": "TinyCheckboxGroup"}, "screenshot": "", "snippetName": "TinyCheckboxGroup"}, {"icon": "checkboxgroup", "name": {"zh_CN": "复选框拖拽按钮组"}, "schema": {"props": {"modelValue": []}, "children": [{"children": [{"componentName": "div"}], "componentName": "TinyCheckboxButton"}], "componentName": "TinyCheckboxGroup"}, "screenshot": "", "snippetName": "TinyCheckboxbuttonGroup"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"modelValue","label":{"text":{"zh_CN":"绑定值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{"dataType":"Array"}},"description":{"zh_CN":"双向绑定选中的选项值"},"labelPosition":"left"},{"property":"disabled","label":{"text":{"zh_CN":"是否禁用"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"options","label":{"text":{"zh_CN":"数据列表"}},"defaultValue":[{"label":"标签2"},{"label":"标签2"}],"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"checkbox组件列表"}},{"property":"type","label":{"text":{"zh_CN":"类型"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"button","value":"button"},{"label":"checkbox","value":"checkbox"}]}},"description":{"zh_CN":"checkbox组件类型(button/checkbox),该属性的默认值为 checkbox,配合 options 属性一起使用"},"labelPosition":"left"},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}}]}],"events":{"onChange":{"label":{"zh_CN":"勾选值改变后将触发"},"description":{"zh_CN":"勾选值改变后将触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"array","defaultValue":"","description":{"zh_CN":"选中项的值"}}],"returns":{}},"defaultValue":""},"onUpdate:modelValue":{"label":{"zh_CN":"双向绑定的值改变时触发"},"description":{"zh_CN":"双向绑定选中的选项值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"array","defaultValue":"","description":{"zh_CN":"双向绑定的选中选项值"}}],"returns":{}},"defaultValue":""}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["text","size"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-06-18 03:09:20', '2023-03-06 07:08:09', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":"pc,mobile","title":null,"_RID":"row_45"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (51, '0.1.16', '{"zh_CN":"走马灯"}', 'TinyCarousel', 'carousel', '常用于一组图片或卡片轮播,当内容空间不足时,可以用走马灯的形式进行收纳,进行轮播展现。', '', 'screenshoot', 'tiny-carousel', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Carousel","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '容器组件', 2, '[{"icon": "carousel", "name": {"zh_CN": "走马灯"}, "schema": {"props": {"height": "180px"}, "children": [{"children": [{"props": {"style": "margin:10px 0 0 30px"}, "componentName": "div"}], "componentName": "TinyCarouselItem"}, {"children": [{"props": {"style": "margin:10px 0 0 30px"}, "componentName": "div"}], "componentName": "TinyCarouselItem"}], "componentName": "TinyCarousel"}, "screenshot": "", "snippetName": "tiny-carousel"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":12,"text":{"zh_CN":"显示更多"}},"content":[{"property":"arrow","label":{"text":{"zh_CN":"切换箭头的显示时机"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"总是显示","value":"always"},{"label":"鼠标悬停时显示","value":"hover"},{"label":"从不显示","value":"never"}]}},"description":{"zh_CN":""}},{"property":"autoplay","label":{"text":{"zh_CN":"是否自动切换"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"height","label":{"text":{"zh_CN":"走马灯的高度"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":""}},{"property":"indicator-position","label":{"text":{"zh_CN":"指示器的位置"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"outside","value":"outside"},{"label":"none","value":"none"}]}},"description":{"zh_CN":""}},{"property":"initial-index","label":{"text":{"zh_CN":"初始状态激活的幻灯片的索引,从 0 开始 "}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":""}},{"property":"interval","label":{"text":{"zh_CN":"自动切换的时间间隔,单位为毫秒"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":""}},{"property":"loop","label":{"text":{"zh_CN":"是否循环显示"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"show-title","label":{"text":{"zh_CN":"是否显示标题"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":""}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}},{"property":"trigger","label":{"text":{"zh_CN":"指示器的触发方式,默认为 hover"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"点击","value":"click"},{"label":"悬停","value":"hover"}]}},"description":{"zh_CN":""}},{"property":"type","label":{"text":{"zh_CN":"走马灯的类型"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"水平","value":"horizontal"},{"label":"垂直","value":"vertical"},{"label":"卡片","value":"card"}]}},"description":{"zh_CN":""}}]}],"events":{}}', '{"loop":true,"condition":true,"styles":true,"isContainer":true,"isModal":false,"nestingRule":{"childWhitelist":"TinyCarouselItem","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["arrow"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":["default"],"framework":"Vue"}', 1, '2022-06-23 12:01:18', '2023-03-10 06:29:29', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_15"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (52, '0.1.16', '{"zh_CN":"走马灯子项"}', 'TinyCarouselItem', 'carouselitem', '常用于一组图片或卡片轮播,当内容空间不足时,可以用走马灯的形式进行收纳,进行轮播展现。', '', 'screenshoot', 'tiny-carousel-item', '', 'proCode', '{"package":"@opentiny/vue","exportName":"CarouselItem","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '容器组件', 2, '[]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"name","label":{"text":{"zh_CN":"幻灯片的名字,可用作 setActiveItem 的参数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":""}},{"property":"title","label":{"text":{"zh_CN":"幻灯片的标题"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":""}}]}],"events":{}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":[""]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-06-23 12:05:38', '2022-06-27 06:51:25', 1, 'Vue', 1, 1, 1, 1, 1, NULL, 1); - -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (31, '0.1.16', '{"zh_CN":"表格"}', 'TinyGrid', 'grid', '提供了非常强大数据表格功能,可以展示数据列表,可以对数据列表进行选择、编辑等', NULL, 'null', NULL, NULL, 'proCode', '{"package":"@opentiny/vue","exportName":"Grid","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '数据组件', 2, '[{"icon": "grid", "name": {"zh_CN": "表格"}, "schema": {"props": {"data": [{"id": "1", "city": "福州", "name": "GFD科技有限公司", "boole": false, "employees": 800, "created_date": "2014-04-30 00:56:00"}, {"id": "2", "city": "深圳", "name": "WWW科技有限公司", "boole": true, "employees": 300, "created_date": "2016-07-08 12:36:22"}], "columns": [{"type": "index", "width": 60}, {"type": "selection", "width": 60}, {"field": "employees", "title": "员工数"}, {"field": "created_date", "title": "创建日期"}, {"field": "city", "title": "城市"}], "editConfig": {"mode": "cell", "trigger": "click", "showStatus": true}}, "componentName": "TinyGrid"}, "screenshot": "", "snippetName": "tinyGrid"}]', '{"properties":[{"label":{"zh_CN":"基础属性"},"description":{"zh_CN":"基础属性"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"data","label":{"text":{"zh_CN":"表格数据"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{"language":"json"}},"onChange":"this.delProp(''fetchData'')","description":{"zh_CN":"设置表格的数据"}},{"property":"columns","label":{"text":{"zh_CN":"表格列"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"properties":[{"label":{"zh_CN":"默认分组"},"content":[{"property":"title","type":"string","defaultValue":"","label":{"text":{"zh_CN":"列标题"}},"widget":{"component":"MetaBindI18n","props":{}}},{"property":"field","type":"string","defaultValue":"","label":{"text":{"zh_CN":"列键值"}},"widget":{"component":"MetaInput","props":{}}},{"property":"sortable","type":"boolean","defaultValue":true,"label":{"text":{"zh_CN":"是否排序"}},"widget":{"component":"MetaSwitch","props":{}}},{"property":"width","type":"string","defaultValue":"","label":{"text":{"zh_CN":"列宽"}},"widget":{"component":"MetaNumber","props":{}}},{"property":"formatText","type":"string","defaultValue":"","label":{"text":{"zh_CN":"内置渲染器"}},"widget":{"component":"MetaSelect","props":{"options":[{"label":"整数","value":"integer"},{"label":"小数","value":"number"},{"label":"金额","value":"money"},{"label":"百分比","value":"rate"},{"label":"布尔","value":"boole"},{"label":"年月日","value":"date"},{"label":"年月日时分","value":"dateTime"},{"label":"时间","value":"time"},{"label":"省略","value":"ellipsis"}]}}},{"property":"renderer","type":"object","defaultValue":"","label":{"text":{"zh_CN":"渲染函数"}},"widget":{"component":"MetaCodeEditor","props":{"dataType":"JSFunction"}}},{"property":"slots","type":"object","defaultValue":"","label":{"text":{"zh_CN":"插槽"}},"labelPosition":"none","widget":{"component":"MetaJsSlot","props":{"slots":["header","default"]}}},{"property":"type","label":{"text":{"zh_CN":"列类型"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"索引列","value":"index"},{"label":"单选列","value":"radio"},{"label":"多选列","value":"selection"},{"label":"展开列","value":"expand"}],"clearable":true}},"description":{"zh_CN":"设置内置列的类型,该属性的可选值为 index(序号)/ selection(复选框)/ radio(单选框)/ expand(展开行)"},"labelPosition":"left"},{"property":"editor","label":{"text":{"zh_CN":"编辑配置"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{"language":"json"}},"description":{"zh_CN":"单元格编辑渲染配置项,也可以是函数 Function(h, params)"},"labelPosition":"left"},{"property":"filter","label":{"text":{"zh_CN":"筛选配置"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"设置表格列的筛选配置信息。默认值为 false 不配置筛选信息"}},{"property":"showOverflow","label":{"text":{"zh_CN":"内容超出部分省略号配置"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"只显示省略号","value":"ellipsis"},{"label":"显示为原生 title","value":"title"},{"label":"显示为 tooltip 提示","value":"tooltip"}],"clearable":true}},"description":{"zh_CN":"设置内置列的内容超出部分显示省略号配置,该属性的可选值为 ellipsis(只显示省略号)/ title(显示为原生 title)/ tooltip(显示为 tooltip 提示)"},"labelPosition":"left"}]}],"widget":{"component":"MetaArrayItem","props":{"type":"object","textField":"title","language":"json","buttonText":"编辑列配置","title":"编辑列配置","expand":true}},"description":{"zh_CN":"表格列的配置信息"},"labelPosition":"left"},{"property":"fetchData","label":{"text":{"zh_CN":"服务端数据"}},"required":true,"readOnly":false,"disabled":false,"onChange":"this.delProp(''data'')","cols":12,"widget":{"component":"MetaCodeEditor","props":{"name":"fetchData"}},"description":{"zh_CN":"服务端数据查询方法"}},{"property":"pager","label":{"text":{"zh_CN":"分页配置"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"defaultValue":{"attrs":{"currentPage":1}},"widget":{"component":"MetaCodeEditor","props":{"name":"pager"}},"description":{"zh_CN":"分页配置"}},{"property":"resizable","label":{"text":{"zh_CN":"调整列宽"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否允许调整列宽"},"labelPosition":"left"},{"property":"row-id","label":{"text":{"zh_CN":"行数据唯一标识的字段名"}},"required":false,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{"placeholder":"比如:id"}},"description":{"zh_CN":"行数据唯一标识的字段名"},"labelPosition":"left"},{"property":"select-config","label":{"text":{"zh_CN":"复选框配置"}},"required":false,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{"dataType":"JSExpression"}},"description":{"zh_CN":"表格行数据复选框配置项"},"labelPosition":"left"},{"property":"edit-rules","label":{"text":{"zh_CN":"校验规则"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"表格校验规则配置项"},"labelPosition":"left"},{"property":"edit-config","label":{"text":{"zh_CN":"编辑配置项"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"表格编辑配置项"}},{"property":"expand-config","label":{"text":{"zh_CN":"复选框配置项"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"复选框配置项"},"labelPosition":"left"},{"property":"sortable","label":{"text":{"zh_CN":"可排序"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否允许列数据排序。默认为 true 可排序"},"labelPosition":"left"},{"property":"highlight-current-row","label":{"text":{"zh_CN":"highlight-current-row"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}}}]},{"label":{"zh_CN":"其他属性"},"description":{"zh_CN":"其他属性"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"auto-resize","label":{"text":{"zh_CN":"父元素响应式监听"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"父元素响应式监听(对于父元素可能存在动态变化的场景可能会用到)"},"labelPosition":"left"},{"property":"border","label":{"text":{"zh_CN":"边框"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否带有纵向边框"},"labelPosition":"left"},{"property":"seq-serial","label":{"text":{"zh_CN":"行号连续"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"设置行序号是否连续,开启分页时有效,该属性的默认值为 false"},"labelPosition":"left"},{"property":"drop-config","label":{"text":{"zh_CN":"drop-config"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaInput","props":{}}},{"property":"highlight-hover-row","label":{"text":{"zh_CN":"hover 高亮"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"鼠标移到行是否要高亮显示"},"labelPosition":"left"},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"}]}},"description":{"zh_CN":""}},{"property":"row-class-name","label":{"text":{"zh_CN":"hover 高亮"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"给行附加 className,也可以是函数 Function({seq, row, rowIndex, $rowIndex})"},"labelPosition":"left"},{"property":"max-height","label":{"text":{"zh_CN":"最大高度"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"设置表格内容区域(不含表格头部,底部)的最大高度。"},"labelPosition":"left"},{"property":"row-span","label":{"text":{"zh_CN":"行合并"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaCodeEditor","props":{}},"description":{"zh_CN":"设置行合并,该属性仅适用于普通表格,不可与 tree-config 同时使用"},"labelPosition":"left"}]}],"events":{"onRow-drop-move":{"label":{"zh_CN":"行拖拽移动时"},"description":{"zh_CN":null},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onRow-drop-start":{"label":{"zh_CN":"行拖拽开始"},"description":{"zh_CN":"行拖拽开始"},"type":"event","functionInfo":{"params":[""],"returns":{}}},"onRow-drop-end":{"label":{"zh_CN":"行拖拽结束"},"description":{"zh_CN":"行拖拽结束"},"type":"event","functionInfo":{"params":[""],"returns":{}}},"onSelect-change":{"label":{"zh_CN":"当手动勾选并且值发生改变时触发的事件"},"description":{"zh_CN":"只对 type=selection 有效,当手动勾选并且值发生改变时触发的事件;"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onSelect-all":{"label":{"zh_CN":"全选时触发的事件"},"description":{"zh_CN":"只对 type=selection 有效,当手动勾选全选时触发的事件"},"type":"event","functionInfo":{"params":[null],"returns":{}}},"onCurrent-change":{"label":{"zh_CN":"行选中事件"},"description":{"zh_CN":"行选中事件"},"type":"event","functionInfo":{"params":["e"],"returns":{}}}}}', '{"loop":false,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["columns","","resizable"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue","invalidity":[""]}', 1, '2022-05-19 10:41:29', '2023-03-16 02:01:43', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[{"eventName":"row-drop-move","label":"行拖拽移动时","params":null,"defaultValue":null,"description":null,"_RID":"row_4"},{"eventName":"row-drop-start","label":"行拖拽开始","params":"","defaultValue":null,"description":"行拖拽开始","_RID":"row_3"},{"eventName":"row-drop-end","label":"行拖拽结束","params":"","defaultValue":null,"description":"行拖拽结束","_RID":"row_2"},{"eventName":"select-change","label":"当手动勾选并且值发生改变时触发的事件","params":null,"defaultValue":null,"description":"只对 type=selection 有效,当手动勾选并且值发生改变时触发的事件;","_RID":"row_2"},{"eventName":"select-all","label":"全选时触发的事件","params":null,"defaultValue":null,"description":"只对 type=selection 有效,当手动勾选全选时触发的事件","_RID":"row_1"},{"eventName":"current-change","label":"行选中事件","params":"e","defaultValue":null,"description":"行选中事件","_RID":"row_4"}],"attrs":[{"property":"highlight-current-row","type":"boolean","defaultValue":"false","enumerateValue":null,"title":"是否需要高亮当前行","_RID":"row_3"},{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_18"},{"property":"drop-config","type":"object","defaultValue":"{}","enumerateValue":null,"title":"拖拽配置","_RID":"row_1"},{"property":"drop-config","type":"object","defaultValue":"{}","enumerateValue":null,"title":"拖拽配置","_RID":"row_1"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (10, '0.1.16', '{"zh_CN":"输入框"}', 'TinyInput', 'input', '通过鼠标或键盘输入字符', '', 'input-screeshot', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"Button","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '表单组件', 3, '[{"icon": "input", "name": {"zh_CN": "输入框"}, "schema": {"props": {"modelValue": "", "placeholder": "请输入"}, "componentName": "TinyInput"}, "screenshot": "", "snippetName": "TinyInput"}]', '{"properties":[{"name":"0","label":{"zh_CN":"基础信息"},"content":[{"property":"key","label":{"text":{"zh_CN":"key"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaInput","props":{}}},{"property":"tiny_mode","label":{"text":{"zh_CN":"tiny_mode"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"pc","value":"pc"},{"label":"mobile","value":"mobile"}]}},"description":{"zh_CN":""}},{"property":"modelValue","label":{"text":{"zh_CN":"绑定值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaBindI18n","props":{}},"description":{"zh_CN":"双向绑定值"}},{"property":"type","label":{"text":{"zh_CN":"类型"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"textarea","value":"textarea"},{"label":"text","value":"text"},{"label":"password","value":"password"}]}},"description":{"zh_CN":"设置input框的type属性"}},{"property":"rows","label":{"text":{"zh_CN":"行数"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumber","props":{}},"description":{"zh_CN":"输入框行数,只对 type=''textarea'' 有效"}},{"property":"placeholder","label":{"text":{"zh_CN":"占位文本"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaBindI18n","props":{}},"description":{"zh_CN":"输入框占位文本"}},{"property":"clearable","label":{"text":{"zh_CN":"清除按钮"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否显示清除按钮"}},{"property":"disabled","label":{"text":{"zh_CN":"是否禁用"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"是否禁用"}},{"property":"size","label":{"text":{"zh_CN":"尺寸"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSelect","props":{"options":[{"label":"medium","value":"medium"},{"label":"small","value":"small"},{"label":"mini","value":"mini"}]}},"description":{"zh_CN":"输入框尺寸。该属性的可选值为 medium / small / mini"}},{"property":"maxlength","label":{"text":{"zh_CN":"最大长度"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":"最大长度"}},{"property":"autofocus","label":{"text":{"zh_CN":"聚焦"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"自动获取焦点"}}],"description":{"zh_CN":""}}],"events":{"onChange":{"label":{"zh_CN":"值改变时触发"},"description":{"zh_CN":"在 Input 值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"string","defaultValue":"","description":{"zh_CN":"输入框改变后的值"}}],"returns":{}},"defaultValue":""},"onInput":{"label":{"zh_CN":"输入值改变时触发"},"description":{"zh_CN":"在 Input 输入值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"string","defaultValue":"","description":{"zh_CN":"输入框输入的值"}}],"returns":{}},"defaultValue":""},"onUpdate:modelValue":{"label":{"zh_CN":"双向绑定的值改变时触发"},"description":{"zh_CN":"在 Input 输入值改变时触发"},"type":"event","functionInfo":{"params":[{"name":"value","type":"string","defaultValue":"","description":{"zh_CN":"双向绑定的值"}}],"returns":{}},"defaultValue":""},"onBlur":{"label":{"zh_CN":"失去焦点时触发"},"description":{"zh_CN":"在 Input 失去焦点时触发"},"type":"event","functionInfo":{"params":[{"name":"event","type":"Object","defaultValue":"","description":{"zh_CN":"原生 event"}}],"returns":{}},"defaultValue":""},"onFocus":{"label":{"zh_CN":"获取焦点时触发"},"description":{"zh_CN":"在 Input 获取焦点时触发"},"type":"event","functionInfo":{"params":[{"name":"event","type":"Object","defaultValue":"","description":{"zh_CN":"原生 event"}}],"returns":{}},"defaultValue":""},"onClear":{"label":{"zh_CN":"点击清空按钮时触发"},"description":{"zh_CN":"点击清空按钮时触发"},"type":"event","functionInfo":{"params":[],"returns":{}},"defaultValue":""}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["value","disabled"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"slots":[],"framework":"Vue"}', 1, '2022-05-11 07:22:02', '2023-03-06 06:44:18', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[],"attrs":[{"property":"key","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_1"},{"property":"tiny_mode","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_2"},{"property":"modelValue","type":"string","defaultValue":null,"enumerateValue":null,"title":"","_RID":"row_1"},{"property":"type","type":"array","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_2"},{"property":"rows","type":"number","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_3"},{"property":"placeholder","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_4"},{"property":"clearable","type":"boolean","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_5"},{"property":"disabled","type":"boolean","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_6"},{"property":"size","type":"array","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_7"},{"property":"maxlength","type":"number","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_8"},{"property":"autofocus","type":"boolean","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_9"}],"slots":[]}', 1); -INSERT INTO t_component (id, version, name, name_en, icon, description, doc_url, screenshot, tags, keywords, dev_mode, npm, "group", category, priority, snippets, schema_fragment, configure, last_updated_by, created_time, last_updated_time, public, framework, created_by, is_official, is_default, tiny_reserved, tenant_id, component_metadata, site_id) VALUES (26, '0.1.16', '{"zh_CN":"时间线"}', 'TinyTimeLine', 'timeline', '时间线', '', 'null', '', '', 'proCode', '{"package":"@opentiny/vue","exportName":"TimeLine","version":"3.11.2","destructuring":true,"script":"https://unpkg.com/@opentiny/vue@3.11/runtime/tiny-vue.mjs","css":""}', 'component', '数据组件', 3, '[{"icon":"timeline","name":{"zh_CN":"时间线"},"schema":{"props":{"data":[{"name":"已下单"},{"name":"运输中"},{"name":"已签收"}],"active":"2"},"componentName":"TinyTimeLine"},"screenshot":"","snippetName":"TinyTimeLine"}]', '{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[{"property":"type","label":{"text":{"zh_CN":"type"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"normal、timeline"}},{"property":"vertical","type":"Boolean","defaultValue":{"type":"i18n","zh_CN":"布局","en_US":"layout","key":""},"label":{"text":{"zh_CN":"竖向布局"}},"cols":12,"rules":[],"hidden":false,"required":true,"readOnly":false,"disabled":false,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"竖向时间线"}},{"property":"reverse","type":"Boolean","defaultValue":{"type":"i18n","zh_CN":"布局","en_US":"layout","key":""},"label":{"text":{"zh_CN":"竖向逆向"}},"cols":12,"rules":[],"hidden":false,"required":true,"readOnly":false,"disabled":false,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"竖向时数字的顺序,从上到下还是从下到上"}},{"property":"horizontal","type":"Boolean","defaultValue":{"type":"i18n","zh_CN":"布局","en_US":"layout","key":""},"label":{"text":{"zh_CN":"水平布局"}},"cols":12,"rules":[],"hidden":false,"required":true,"readOnly":false,"disabled":false,"widget":{"component":"MetaSwitch","props":{}},"description":{"zh_CN":"节点和文字横向布局"}},{"property":"active","label":{"text":{"zh_CN":"选中值"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":"步骤条的选中步骤值"},"labelPosition":"left"},{"property":"data","label":{"text":{"zh_CN":"数据"}},"required":true,"readOnly":false,"disabled":false,"defaultValue":[{"name":"配置基本信息","status":"ready"},{"name":"配置报价","status":"wait"},{"name":"完成报价","status":"wait"}],"cols":12,"widget":{"component":"MetaCodeEditor","props":{"language":"json"}},"description":{"zh_CN":"时间线步骤条数据"},"labelPosition":"left","device":[]},{"property":"status-field","label":{"text":{"zh_CN":"status-field"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"设置数据状态对应的字段名,默认为 ''status''"}},{"property":"name-field","label":{"text":{"zh_CN":"name-field"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"设置节点信息中名称对应的字段名,默认为 ''name''"}},{"property":"count-field","label":{"text":{"zh_CN":"count-field"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaInput","props":{}},"description":{"zh_CN":"设置高级向导里徽标计数对应的字段名,默认为 ''count''"}},{"property":"space","label":{"text":{"zh_CN":"space"}},"required":true,"readOnly":false,"disabled":false,"cols":12,"labelPosition":"left","type":"string","widget":{"component":"MetaNumeric","props":{}},"description":{"zh_CN":"设置步骤条的宽度。"}}]}],"events":{"onClick":{"label":{"zh_CN":"Click"},"description":{"zh_CN":"节点的点击事件,参数(index:节点索引, node:节点数据信息)"},"type":"event","functionInfo":{"params":[null],"returns":{}}}}}', '{"loop":true,"condition":true,"styles":true,"isContainer":false,"isModal":false,"nestingRule":{"childWhitelist":"","parentWhitelist":"","descendantBlacklist":"","ancestorWhitelist":""},"isNullNode":false,"isLayout":false,"rootSelector":"","shortcuts":{"properties":["horizontal","","active"]},"contextMenu":{"actions":["copy","remove","insert","updateAttr","bindEevent","createBlock"],"disable":[]},"framework":"Vue"}', 1, '2022-05-19 02:26:32', '2023-11-15 06:32:24', 1, 'Vue', 1, 1, 1, 1, 1, '{"events":[{"eventName":"click","label":"Click","params":null,"defaultValue":null,"description":"节点的点击事件,参数(index:节点索引, node:节点数据信息)","_RID":"row_16"}],"attrs":[{"property":null,"type":null,"defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_3"},{"property":"type","type":"string","defaultValue":null,"enumerateValue":null,"title":null,"_RID":"row_10"},{"property":"space","type":"number","defaultValue":null,"enumerateValue":null,"title":"设置步骤条的宽度。","_RID":"row_11"},{"property":"count-field","type":"string","defaultValue":null,"enumerateValue":null,"title":"\\t设置高级向导里徽标计数对应的字段名,默认为 ''count''","_RID":"row_12"},{"property":"name-field","type":"string","defaultValue":null,"enumerateValue":null,"title":"设置节点信息中名称对应的字段名,默认为 ''name''","_RID":"row_13"},{"property":"status-field","type":"string","defaultValue":null,"enumerateValue":null,"title":"设置数据状态对应的字段名,默认为 ''status''","_RID":"row_14"}],"slots":[{"slotName":"item","description":"步骤条数据项插槽","_RID":"row_15"}]}', 1); - - -INSERT INTO t_block_history (id, ref_id, message, version, label, name, framework, content, assets, build_info, screenshot, path, description, tags, is_official, public, is_default, tiny_reserved, mode, platform_id, app_id, npm_name, i18n, content_blocks, created_by, last_updated_by, created_time, last_updated_time, tenant_id, site_id) VALUES (1, 1, '2.0.7', '2.0.7', 'BlockTest1a', 'BlockTest1a', 'Vue', '{"state":{},"methods":{},"componentName":"Block","fileName":"BlockTest1a","css":"","props":{},"children":[{"componentName":"TinyGrid","props":{"editConfig":{"trigger":"click","mode":"cell","showStatus":true},"columns":[{"type":"index","width":60},{"type":"selection","width":60},{"field":"employees","title":"员工数"},{"field":"created_date","title":"创建日期"},{"field":"city","title":"城市"}],"data":[{"id":"1","name":"GFD科技有限公司","city":"福州","employees":800,"created_date":"2014-04-30 00:56:00","boole":false},{"id":"2","name":"WWW科技有限公司","city":"深圳","employees":300,"created_date":"2016-07-08 12:36:22","boole":true}]},"id":"9f544d43"},{"componentName":"div","props":{},"id":"c3be6334"},{"componentName":"TinyForm","props":{"labelWidth":"80px","labelPosition":"top"},"children":[{"componentName":"TinyFormItem","props":{"label":"人员"},"children":[{"componentName":"TinyInput","props":{"placeholder":"请输入","modelValue":""},"id":"6a365365"}],"id":"22464422"},{"componentName":"TinyFormItem","props":{"label":"密码"},"children":[{"componentName":"TinyInput","props":{"placeholder":"请输入","modelValue":"","type":"password"},"id":"55297132"}],"id":"c42655f5"},{"componentName":"TinyFormItem","props":{"label":""},"children":[{"componentName":"TinyButton","props":{"text":"提交","type":"primary","style":"margin-right: 10px"},"id":"521663e5"},{"componentName":"TinyButton","props":{"text":"重置","type":"primary"},"id":"33153f15"}],"id":"31541a46"}],"id":"35a24114"},{"componentName":"TinyCarousel","props":{"height":"180px"},"children":[{"componentName":"TinyCarouselItem","children":[{"componentName":"div","props":{"style":"margin:10px 0 0 30px"},"id":"92546616"}],"id":"1b2d445c","props":{"title":"选项卡","name":""}},{"componentName":"TinyCarouselItem","children":[{"componentName":"div","props":{"style":"margin:10px 0 0 30px"},"id":"3a145148"}],"id":"36631533","props":{"title":"选项卡","name":""}}],"id":"52426c25"}],"schema":{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[]}],"events":{},"slots":{}},"dataSource":{},"dependencies":{"scripts":[{"package":"@opentiny/vue","version":"","components":{"TinyGrid":"Grid","TinyForm":"Form","TinyFormItem":"FormItem","TinyInput":"Input","TinyButton":"Button","TinyCarousel":"Carousel","TinyCarouselItem":"CarouselItem"}}],"styles":[]}}', '{"material":[],"scripts":["https://npm.onmicrosoft.cn/@opentiny-assets/tinyengine-alpha-block-blocktest1a-993@2.0.7/js\\\\web-component.umd.js","https://npm.onmicrosoft.cn/@opentiny-assets/tinyengine-alpha-block-blocktest1a-993@2.0.7/js\\\\web-component.es.js"],"styles":[]}', NULL, NULL, '我的分组', '区块', '[]', 0, 1, 0, 0, NULL, 1, 1, '@opentiny-assets/tinyengine-alpha-block-blocktest1a-993', '{"en_US":{"lowcode.c257d5e8":"search","lowcode.61c8ac8c":"dsdsa","lowcode.f53187a0":"test","lowcode.97ad00dd":"createMaterial","lowcode.61dcef52":"sadasda","lowcode.45f4c42a":"gfdgfd","lowcode.c6f5a652":"fsdafds"},"zh_CN":{"lowcode.c257d5e8":"查询","lowcode.61c8ac8c":"地方","lowcode.f53187a0":"测试","lowcode.97ad00dd":"创建物料资产包","lowcode.61dcef52":"terterere","lowcode.45f4c42a":"gdfgdf","lowcode.c6f5a652":"fsdaf"}}', NULL, '1', '1', '2024-10-16 19:19:54', '2024-10-16 19:19:54', '1', '1'); - -INSERT INTO t_block_group (id, name, app_id, platform_id, description, created_by, last_updated_by, created_time, last_updated_time, tenant_id, site_id) VALUES (1, '我的分组', 1, 1, '区块分组', '1', '1', '2024-10-16 19:15:53', '2024-10-16 19:15:53', '1', '1'); - -INSERT INTO t_material_history (id, ref_id, version, content, name, npm_name, framework, assets_url, image_url, description, material_size, tgz_url, unzip_tgz_root_path_url, unzip_tgz_files, created_by, last_updated_by, created_time, last_updated_time, tenant_id, site_id) VALUES (1, 1, '1.0.8', '{}', 'materialstwo', '@opentiny/lowcode-alpha-material-materialstwo-1505', 'Vue', '{"material":[""],"scripts":["",""],"styles":[]}', NULL, '1.0.8', NULL, NULL, NULL, NULL, '1', '1', '2024-10-16 19:28:53', '2024-10-16 19:28:53', '1', '1'); - -INSERT INTO t_tenant (id, name_cn, name_en, description, created_by, last_updated_by, created_time, last_updated_time) VALUES (1, 'public', '公共租户', 'Default tenant for new user to explore.', '1', '1', '2024-10-16 19:31:28', '2024-10-16 19:31:28'); - -INSERT INTO r_material_history_block (id, material_history_id, block_history_id) VALUES (1, 1, 1); - -INSERT INTO r_material_component (id, material_id, component_id) VALUES (1, 1, 7); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (2, 1, 8); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (3, 1, 9); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (4, 1, 10); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (5, 1, 19); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (6, 1, 20); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (7, 1, 22); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (8, 1, 23); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (9, 1, 24); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (10, 1, 25); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (11, 1, 26); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (12, 1, 27); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (13, 1, 28); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (14, 1, 29); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (15, 1, 30); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (16, 1, 31); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (17, 1, 32); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (18, 1, 33); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (19, 1, 36); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (20, 1, 37); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (21, 1, 38); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (22, 1, 39); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (23, 1, 40); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (24, 1, 41); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (25, 1, 48); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (26, 1, 49); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (27, 1, 51); -INSERT INTO r_material_component (id, material_id, component_id) VALUES (28, 1, 52); - - -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (1, 1, 7); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (2, 1, 8); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (3, 1, 9); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (4, 1, 10); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (5, 1, 19); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (6, 1, 20); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (7, 1, 22); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (8, 1, 23); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (9, 1, 24); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (10, 1, 25); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (11, 1, 26); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (12, 1, 27); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (13, 1, 28); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (14, 1, 29); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (15, 1, 30); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (16, 1, 31); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (17, 1, 32); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (18, 1, 33); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (19, 1, 36); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (20, 1, 37); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (21, 1, 38); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (22, 1, 39); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (23, 1, 40); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (24, 1, 41); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (25, 1, 48); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (26, 1, 49); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (27, 1, 51); -INSERT INTO r_material_history_component (id, material_history_id, component_id) VALUES (28, 1, 52); - -INSERT INTO r_material_block (id, material_id, block_id) VALUES (1, 1, 1); - -INSERT INTO t_app (id, name, app_website, platform_id, platform_history_id, publish_url, editor_url, visit_url, image_url, assets_url, state, published, home_page_id, css, config, constants, data_handler, description, latest, git_group, project_name, branch, is_demo, is_default, template_type, set_template_time, set_template_by, set_default_by, framework, global_state, default_lang, extend_config, data_hash, can_associate, data_source_global, created_by, last_updated_by, created_time, last_updated_time, tenant_id, site_id) VALUES (1, 'portal-app', NULL, 1, '1', NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, '{}', NULL, '{"type":"JSFunction","value":"function dataHanlder(res){\\n return res;\\n}"}', 'demo应用', '22', NULL, NULL, 'develop', NULL, NULL, 'serviceDevelop', '2023-11-19 18:14:37', '1', '1', 'Vue', '[{"id":"test2","state":{"name1":"xxx1"},"getters":{"count":{"type":"JSFunction","value":"function count() {}"}},"actions":{"actions":{"type":"JSFunction","value":"function actions() {}"}}},{"id":"test3","state":{"name1":"xxx"},"getters":{"count":{"type":"JSFunction","value":"function count() {}"}},"actions":{"actions":{"type":"JSFunction","value":"function actions() {}"}}},{"id":"test4","state":{"region":"","scenario":"all","productId":"","planId":"","addEvs":false,"addHss":false,"addCbr":false,"period":{"value":1,"unit":"month"},"amount":1},"getters":{},"actions":{}},{"id":"test1","state":{"name1":"xxx"},"getters":{"count":{"type":"JSFunction","value":"function count() {}"}},"actions":{"actions":{"type":"JSFunction","value":"function actions() {}"}}}]', NULL, '{"business":{"serviceName":"","endpointName":"cce","endpointId":"ee","serviceId":"ee","router":"ee"},"env":{"alpha":{"regions":[{"name":"","baseUrl":"","isDefault":false}],"isDefault":true}},"type":"console"}', '8b0eba6ad055532a586f9f669108fabb', '1', '{"dataHandler":{"type":"JSFunction","value":"function dataHanlder(res){\\n return res;\\n}"}}', '1', '1', '2024-10-16 23:27:10', '2024-10-16 23:27:10', '1', '1'); - -INSERT INTO t_block (id, label, name, framework, content, assets, last_build_info, description, tags, latest_version, latest_history_id, screenshot, path, occupier_by, is_official, public, is_default, tiny_reserved, npm_name, i18n, platform_id, app_id, content_blocks, block_group_id, created_by, last_updated_by, created_time, last_updated_time, tenant_id, site_id) VALUES (1, 'BlockTest1a', 'BlockTest1a', 'Vue', '{"state":{},"methods":{},"componentName":"Block","fileName":"BlockTest1a","css":"","props":{},"children":[{"componentName":"TinyGrid","props":{"editConfig":{"trigger":"click","mode":"cell","showStatus":true},"columns":[{"type":"index","width":60},{"type":"selection","width":60},{"field":"employees","title":"员工数"},{"field":"created_date","title":"创建日期"},{"field":"city","title":"城市"}],"data":[{"id":"1","name":"GFD科技有限公司","city":"福州","employees":800,"created_date":"2014-04-30 00:56:00","boole":false},{"id":"2","name":"WWW科技有限公司","city":"深圳","employees":300,"created_date":"2016-07-08 12:36:22","boole":true}]},"id":"9f544d43"},{"componentName":"div","props":{},"id":"c3be6334"},{"componentName":"TinyForm","props":{"labelWidth":"80px","labelPosition":"top"},"children":[{"componentName":"TinyFormItem","props":{"label":"人员"},"children":[{"componentName":"TinyInput","props":{"placeholder":"请输入","modelValue":""},"id":"6a365365"}],"id":"22464422"},{"componentName":"TinyFormItem","props":{"label":"密码"},"children":[{"componentName":"TinyInput","props":{"placeholder":"请输入","modelValue":"","type":"password"},"id":"55297132"}],"id":"c42655f5"},{"componentName":"TinyFormItem","props":{"label":""},"children":[{"componentName":"TinyButton","props":{"text":"提交","type":"primary","style":"margin-right: 10px"},"id":"521663e5"},{"componentName":"TinyButton","props":{"text":"重置","type":"primary"},"id":"33153f15"}],"id":"31541a46"}],"id":"35a24114"},{"componentName":"TinyCarousel","props":{"height":"180px"},"children":[{"componentName":"TinyCarouselItem","children":[{"componentName":"div","props":{"style":"margin:10px 0 0 30px"},"id":"92546616"}],"id":"1b2d445c","props":{"title":"选项卡","name":""}},{"componentName":"TinyCarouselItem","children":[{"componentName":"div","props":{"style":"margin:10px 0 0 30px"},"id":"3a145148"}],"id":"36631533","props":{"title":"选项卡","name":""}}],"id":"52426c25"}],"schema":{"properties":[{"label":{"zh_CN":"基础信息"},"description":{"zh_CN":"基础信息"},"collapse":{"number":6,"text":{"zh_CN":"显示更多"}},"content":[]}],"events":{},"slots":{}},"dataSource":{},"dependencies":{"scripts":[{"package":"@opentiny/vue","version":"","components":{"TinyGrid":"Grid","TinyForm":"Form","TinyFormItem":"FormItem","TinyInput":"Input","TinyButton":"Button","TinyCarousel":"Carousel","TinyCarouselItem":"CarouselItem"}}],"styles":[]}}', '{"material":[],"scripts":["https://npm.onmicrosoft.cn/@opentiny-assets/tinyengine-alpha-block-blocktest1a-993@2.0.7/js\\\\web-component.umd.js","https://npm.onmicrosoft.cn/@opentiny-assets/tinyengine-alpha-block-blocktest1a-993@2.0.7/js\\\\web-component.es.js"],"styles":[]}', '{"result":true,"versions":["@opentiny/tiny-engine-block-build@1.0.2"],"endTime":"2024/3/19 20:22:03","message":"2.0.7","filesPath":{"material":[],"scripts":["https://npm.onmicrosoft.cn/@opentiny-assets/tinyengine-alpha-block-blocktest1a-993@2.0.7/js\\\\web-component.umd.js","https://npm.onmicrosoft.cn/@opentiny-assets/tinyengine-alpha-block-blocktest1a-993@2.0.7/js\\\\web-component.es.js"],"styles":[]},"taskId":184}', '区块', '[]', '2.0.7', 1, NULL, '我的分组', NULL, 0, 1, 0, 0, '@opentiny-assets/tinyengine-alpha-block-blocktest1a-993', '', 1, 1, NULL, '1', '1', '2024-10-16 23:52:11', '2024-10-16 23:52:11', '1', '1'); - -INSERT INTO t_material (id, name, npm_name, framework, assets_url, image_url, published, latest_version, latest_history_id, public, last_build_info, description, is_official, is_default, tiny_reserved, component_library_id, material_category_id, material_size, tgz_url, unzip_tgz_root_path_url, unzip_tgz_files, created_by, last_updated_by, created_time, last_updated_time, tenant_id, site_id) VALUES (1, 'materialstwo', '@opentiny/lowcode-alpha-material-materialstwo-1505', 'Vue', NULL, NULL, NULL, '1.0.8', 1, 1, '{"version": "1.0.8"}', '物料包', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '2024-10-16 23:37:14', '2024-10-16 23:37:14', '1', '1'); - -INSERT INTO `t_page` (`id`, `name`, `app_id`, `route`, `page_content`, `is_body`, `parent_id`, `group`, `depth`, `is_page`, `occupier_by`, `is_default`, `content_blocks`, `latest_version`, `latest_history_id`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`, `tenant_id`, `site_id`) VALUES (1, 'createVm', 1, 'createVm', '{\"state\":{\"dataDisk\":[1,2,3]},\"methods\":{},\"componentName\":\"Page\",\"css\":\"body {\\r\\n background-color:#eef0f5 ;\\r\\n margin-bottom: 80px;\\r\\n}\",\"props\":{},\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"padding-bottom: 10px; padding-top: 10px;\"},\"id\":\"2b2cabf0\",\"children\":[{\"componentName\":\"TinyTimeLine\",\"props\":{\"active\":\"2\",\"data\":[{\"name\":\"基础配置\"},{\"name\":\"网络配置\"},{\"name\":\"高级配置\"},{\"name\":\"确认配置\"}],\"horizontal\":true,\"style\":\"border-radius: 0px;\"},\"id\":\"dd764b17\"}]},{\"componentName\":\"div\",\"props\":{\"style\":\"border-width: 1px; border-style: solid; border-radius: 4px; border-color: #fff; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px; background-color: #fff; margin-bottom: 10px;\"},\"id\":\"30c94cc8\",\"children\":[{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\",\"inline\":false,\"label-position\":\"left \",\"label-width\":\"150px\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"计费模式\"},\"children\":[{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"包年/包月\",\"value\":\"1\"},{\"text\":\"按需计费\",\"value\":\"2\"}],\"modelValue\":\"1\"},\"id\":\"a8d84361\"}],\"id\":\"9f39f3e7\"},{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"区域\"},\"children\":[{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"乌兰察布二零一\",\"value\":\"1\"}],\"modelValue\":\"1\",\"style\":\"border-radius: 0px; margin-right: 10px;\"},\"id\":\"c97ccd99\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"温馨提示:页面左上角切换区域\",\"style\":\"background-color: [object Event]; color: #8a8e99; font-size: 12px;\"},\"id\":\"20923497\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"不同区域的云服务产品之间内网互不相通;请就近选择靠近您业务的区域,可减少网络时延,提高访问速度\",\"style\":\"display: block; color: #8a8e99; border-radius: 0px; font-size: 12px;\"},\"id\":\"54780a26\"}],\"id\":\"4966384d\"},{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"可用区\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"可用区1\",\"value\":\"1\"},{\"text\":\"可用区2\",\"value\":\"2\"},{\"text\":\"可用区3\",\"value\":\"3\"}],\"modelValue\":\"1\"},\"id\":\"6184481b\"}],\"id\":\"690837bf\"}],\"id\":\"b6a425d4\"}]},{\"componentName\":\"div\",\"props\":{\"style\":\"border-width: 1px; border-style: solid; border-radius: 4px; border-color: #fff; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px; background-color: #fff; margin-bottom: 10px;\"},\"children\":[{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\",\"inline\":false,\"label-position\":\"left \",\"label-width\":\"150px\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"CPU架构\"},\"children\":[{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"x86计算\",\"value\":\"1\"},{\"text\":\"鲲鹏计算\",\"value\":\"2\"}],\"modelValue\":\"1\"},\"id\":\"7d33ced7\"}],\"id\":\"05ed5a79\"},{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"区域\"},\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex; justify-content: flex-start; align-items: center;\"},\"id\":\"606edf78\",\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex; align-items: center; margin-right: 10px;\"},\"id\":\"f3f98246\",\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"vCPUs\",\"style\":\"width: 80px;\"},\"id\":\"c287437e\"},{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}]},\"id\":\"4c43286b\"}]},{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex; align-items: center; margin-right: 10px;\"},\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"内存\",\"style\":\"width: 80px; border-radius: 0px;\"},\"id\":\"38b8fa1f\"},{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}]},\"id\":\"cd33328e\"}],\"id\":\"2b2c678f\"},{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex; align-items: center;\"},\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"规格名称\",\"style\":\"width: 80px;\"},\"id\":\"d3eb6352\"},{\"componentName\":\"TinySearch\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"输入关键词\"},\"id\":\"21cb9282\"}],\"id\":\"b8e0f35c\"}]},{\"componentName\":\"div\",\"props\":{\"style\":\"border-radius: 0px;\"},\"id\":\"5000c83e\",\"children\":[{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"通用计算型\",\"value\":\"1\"},{\"text\":\"通用计算增强型\",\"value\":\"2\"},{\"text\":\"内存优化型\",\"value\":\"3\"},{\"text\":\"内存优化型\",\"value\":\"4\"},{\"text\":\"磁盘增强型\",\"value\":\"5\"},{\"text\":\"超高I/O型\",\"value\":\"6\"},{\"text\":\"GPU加速型\",\"value\":\"7\"}],\"modelValue\":\"1\",\"style\":\"border-radius: 0px; margin-top: 12px;\"},\"id\":\"b8724703\"},{\"componentName\":\"TinyGrid\",\"props\":{\"editConfig\":{\"trigger\":\"click\",\"mode\":\"cell\",\"showStatus\":true},\"columns\":[{\"type\":\"radio\",\"width\":60},{\"field\":\"employees\",\"title\":\"规格名称\"},{\"field\":\"created_date\",\"title\":\"vCPUs | 内存(GiB)\",\"sortable\":true},{\"field\":\"city\",\"title\":\"CPU\",\"sortable\":true},{\"title\":\"基准 / 最大带宽\\t\",\"sortable\":true},{\"title\":\"内网收发包\",\"sortable\":true}],\"data\":[{\"id\":\"1\",\"name\":\"GFD科技有限公司\",\"city\":\"福州\",\"employees\":800,\"created_date\":\"2014-04-30 00:56:00\",\"boole\":false},{\"id\":\"2\",\"name\":\"WWW科技有限公司\",\"city\":\"深圳\",\"employees\":300,\"created_date\":\"2016-07-08 12:36:22\",\"boole\":true}],\"style\":\"margin-top: 12px; border-radius: 0px;\",\"auto-resize\":true},\"id\":\"77701c25\"},{\"componentName\":\"div\",\"props\":{\"style\":\"margin-top: 12px; border-radius: 0px;\"},\"id\":\"3339838b\",\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"当前规格\",\"style\":\"width: 150px; display: inline-block;\"},\"id\":\"203b012b\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"通用计算型 | Si2.large.2 | 2vCPUs | 4 GiB\",\"style\":\"font-weight: 700;\"},\"id\":\"87723f52\"}]}]}],\"id\":\"657fb2fc\"}],\"id\":\"d19b15cf\"}],\"id\":\"9991228b\"},{\"componentName\":\"div\",\"props\":{\"style\":\"border-width: 1px; border-style: solid; border-radius: 4px; border-color: #fff; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px; background-color: #fff; margin-bottom: 10px;\"},\"children\":[{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\",\"inline\":false,\"label-position\":\"left \",\"label-width\":\"150px\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"镜像\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"公共镜像\",\"value\":\"1\"},{\"text\":\"私有镜像\",\"value\":\"2\"},{\"text\":\"共享镜像\",\"value\":\"3\"}],\"modelValue\":\"1\"},\"id\":\"922b14cb\"},{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex; margin-top: 12px; border-radius: 0px;\"},\"id\":\"6b679524\",\"children\":[{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}],\"style\":\"width: 170px; margin-right: 10px;\"},\"id\":\"4851fff7\"},{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}],\"style\":\"width: 340px;\"},\"id\":\"a7183eb7\"}]},{\"componentName\":\"div\",\"props\":{\"style\":\"margin-top: 12px;\"},\"id\":\"57aee314\",\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"请注意操作系统的语言类型。\",\"style\":\"color: #e37d29;\"},\"id\":\"56d36c27\"}]}],\"id\":\"e3b02436\"}],\"id\":\"59aebf2b\"}],\"id\":\"87ff7b99\"},{\"componentName\":\"div\",\"props\":{\"style\":\"border-width: 1px; border-style: solid; border-radius: 4px; border-color: #fff; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px; background-color: #fff; margin-bottom: 10px;\"},\"children\":[{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\",\"inline\":false,\"label-position\":\"left \",\"label-width\":\"150px\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"系统盘\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex;\"},\"id\":\"cddba5b8\",\"children\":[{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}],\"style\":\"width: 200px; margin-right: 10px;\"},\"id\":\"a97fbe15\"},{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\",\"style\":\"width: 120px; margin-right: 10px;\"},\"id\":\"1cde4c0f\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"GiB \\nIOPS上限240,IOPS突发上限5,000\",\"style\":\"color: #575d6c; font-size: 12px;\"},\"id\":\"2815d82d\"}]}],\"id\":\"50239a3a\"}],\"id\":\"e8582986\"},{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\",\"inline\":false,\"label-position\":\"left \",\"label-width\":\"150px\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"数据盘\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"margin-top: 12px; display: flex;\"},\"id\":\"728c9825\",\"children\":[{\"componentName\":\"Icon\",\"props\":{\"style\":\"margin-right: 10px; width: 16px; height: 16px;\",\"name\":\"IconPanelMini\"},\"id\":\"fded6930\"},{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}],\"style\":\"width: 200px; margin-right: 10px;\"},\"id\":\"62734e3f\"},{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\",\"style\":\"width: 120px; margin-right: 10px;\"},\"id\":\"667c7926\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"GiB \\nIOPS上限600,IOPS突发上限5,000\",\"style\":\"color: #575d6c; font-size: 12px; margin-right: 10px;\"},\"id\":\"e7bc36d6\"},{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\",\"style\":\"width: 120px;\"},\"id\":\"1bd56dc0\"}],\"loop\":{\"type\":\"JSExpression\",\"value\":\"this.state.dataDisk\"}},{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex; margin-top: 12px; border-radius: 0px;\"},\"children\":[{\"componentName\":\"Icon\",\"props\":{\"name\":\"IconPlus\",\"style\":\"width: 16px; height: 16px; margin-right: 10px;\"},\"id\":\"65c89f2b\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"增加一块数据盘\",\"style\":\"font-size: 12px; border-radius: 0px; margin-right: 10px;\"},\"id\":\"cb344071\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"您还可以挂载 21 块磁盘(云硬盘)\",\"style\":\"color: #8a8e99; font-size: 12px;\"},\"id\":\"80eea996\"}],\"id\":\"e9e530ab\"}],\"id\":\"078e03ef\"}],\"id\":\"ccef886e\"}],\"id\":\"0fb7bd74\"},{\"componentName\":\"div\",\"props\":{\"style\":\"border-width: 1px; border-style: solid; border-color: #ffffff; padding-top: 10px; padding-left: 10px; padding-right: 10px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px; background-color: #fff; position: fixed; inset: auto 0% 0% 0%; height: 80px; line-height: 80px; border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\",\"inline\":false,\"label-position\":\"left \",\"label-width\":\"150px\",\"style\":\"border-radius: 0px;\"},\"children\":[],\"id\":\"21ed4475\"},{\"componentName\":\"TinyRow\",\"props\":{\"style\":\"border-radius: 0px; height: 100%;\"},\"children\":[{\"componentName\":\"TinyCol\",\"props\":{\"span\":\"8\"},\"id\":\"b9d051a5\",\"children\":[{\"componentName\":\"TinyRow\",\"props\":{\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyCol\",\"props\":{\"span\":\"5\",\"style\":\"display: flex;\"},\"id\":\"02352776\",\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"购买量\",\"style\":\"margin-right: 10px;\"},\"id\":\"0cd9ed5c\"},{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\",\"style\":\"width: 120px; margin-right: 10px;\"},\"id\":\"2f9cf442\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"台\"},\"id\":\"facd4481\"}]},{\"componentName\":\"TinyCol\",\"props\":{\"span\":\"7\"},\"id\":\"82b6c659\",\"children\":[{\"componentName\":\"div\",\"props\":{},\"id\":\"9cd65874\",\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"配置费用\",\"style\":\"font-size: 12px;\"},\"id\":\"b5a0a0da\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"¥1.5776\",\"style\":\"padding-left: 10px; padding-right: 10px; color: #de504e;\"},\"id\":\"d9464214\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"/小时\",\"style\":\"font-size: 12px;\"},\"id\":\"af7cc5e6\"}]},{\"componentName\":\"div\",\"props\":{},\"id\":\"89063830\",\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"参考价格,具体扣费请以账单为准。\",\"style\":\"font-size: 12px; border-radius: 0px;\"},\"id\":\"d8995fbc\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"了解计费详情\",\"style\":\"font-size: 12px; color: #344899;\"},\"id\":\"b383c3e2\"}]}]}],\"id\":\"94fc0e43\"}]},{\"componentName\":\"TinyCol\",\"props\":{\"span\":\"4\",\"style\":\"display: flex; flex-direction: row-reverse; border-radius: 0px; height: 100%; justify-content: flex-start; align-items: center;\"},\"id\":\"10b73009\",\"children\":[{\"componentName\":\"TinyButton\",\"props\":{\"text\":\"下一步: 网络配置\",\"type\":\"danger\",\"style\":\"max-width: unset;\"},\"id\":\"0b584011\"}]}],\"id\":\"d414a473\"}],\"id\":\"e8ec029b\"}],\"fileName\":\"createVM\"}', 0, 0, 'staticPages', 0, 1, '1', 0, NULL, NULL, NULL, '1', '1', '2024-10-16 23:31:48', '2024-10-16 23:31:48', '1', '2024-10-16 23:31:48'); - -INSERT INTO t_user (id, username, email, enable, created_by, last_updated_by, created_time, last_updated_time, tenant_id, site_id, is_admin, is_public) VALUES (1, '开发者', 'developer@lowcode.com', 1, '1', '1', '2024-10-16 23:28:41', '2024-10-16 23:28:41', '1', '1', 1, NULL); -INSERT INTO t_i18n_lang (id, lang, label, created_by, last_updated_by, created_time, last_updated_time) VALUES (1, 'zh_CN', '简体中文', '1', '1', '2024-10-17 00:01:36', '2024-10-17 00:01:36'); -INSERT INTO t_i18n_lang (id, lang, label, created_by, last_updated_by, created_time, last_updated_time) VALUES (2, 'en_US', '美式英文', '1', '1', '2024-10-17 00:02:03', '2024-10-17 00:02:03'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (73, '2.4.2', '{\"zh_CN\":\"输入框\"}', 'ElInput', 'input', '通过鼠标或键盘输入字符', '', '', '', '', 'proCode', '{\"package\":\"element-plus\",\"version\":\"2.4.2\",\"script\":\"https://unpkg.com/element-plus@2.4.2/dist/index.full.mjs\",\"css\":\"https://unpkg.com/element-plus@2.4.2/dist/index.css\",\"dependencies\":null,\"exportName\":\"ElInput\"}', '表单组件', 'element-plus', NULL, '[{\"name\":{\"zh_CN\":\"输入框\"},\"icon\":\"input\",\"screenshot\":\"\",\"snippetName\":\"ElInput\",\"schema\":{}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"isPopper\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"type\",\"size\"]},\"contextMenu\":{\"actions\":[\"copy\",\"remove\",\"insert\",\"updateAttr\",\"bindEevent\",\"createBlock\"],\"disable\":[]},\"invalidity\":[\"\"],\"clickCapture\":true,\"framework\":\"Vue\"}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (74, '2.4.2', '{\"zh_CN\":\"按钮\"}', 'ElButton', 'button', '常用的操作按钮', '', '', '', '', 'proCode', '{\"package\":\"element-plus\",\"version\":\"2.4.2\",\"script\":\"https://unpkg.com/element-plus@2.4.2/dist/index.full.mjs\",\"css\":\"https://unpkg.com/element-plus@2.4.2/dist/index.css\",\"dependencies\":null,\"exportName\":\"ElButton\"}', '基础组件', 'element-plus', NULL, '[{\"name\":{\"zh_CN\":\"按钮\"},\"icon\":\"button\",\"screenshot\":\"\",\"snippetName\":\"ElButton\",\"schema\":{\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"按钮文本\"}}]}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"isPopper\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"type\",\"size\"]},\"contextMenu\":{\"actions\":[\"copy\",\"remove\",\"insert\",\"updateAttr\",\"bindEevent\",\"createBlock\"],\"disable\":[]},\"invalidity\":[\"\"],\"clickCapture\":true,\"framework\":\"Vue\"}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (75, '2.4.2', '{\"zh_CN\":\"表单\"}', 'ElForm', 'form', '表单包含 输入框, 单选框, 下拉选择, 多选框 等用户输入的组件。 使用表单,您可以收集、验证和提交数据。', '', '', '', '', 'proCode', '{\"package\":\"element-plus\",\"version\":\"2.4.2\",\"script\":\"https://unpkg.com/element-plus@2.4.2/dist/index.full.mjs\",\"css\":\"https://unpkg.com/element-plus@2.4.2/dist/index.css\",\"dependencies\":null,\"exportName\":\"ElForm\"}', '表单组件', 'element-plus', NULL, '[{\"name\":{\"zh_CN\":\"表单\"},\"icon\":\"form\",\"screenshot\":\"\",\"snippetName\":\"ElForm\",\"schema\":{\"children\":[{\"componentName\":\"ElFormItem\",\"props\":{\"label\":\"账号\",\"prop\":\"account\"},\"children\":[{\"componentName\":\"ElInput\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请输入账号\"}}]},{\"componentName\":\"ElFormItem\",\"props\":{\"label\":\"密码\",\"prop\":\"password\"},\"children\":[{\"componentName\":\"ElInput\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请输入密码\",\"type\":\"password\"}}]},{\"componentName\":\"ElFormItem\",\"props\":{},\"children\":[{\"componentName\":\"ElButton\",\"props\":{\"type\":\"primary\",\"style\":\"margin-right: 10px\"},\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"提交\"}}]},{\"componentName\":\"ElButton\",\"props\":{\"type\":\"primary\"},\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"重置\"}}]}]}]}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"isPopper\":false,\"nestingRule\":{\"childWhitelist\":[\"ElFormItem\"],\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"inline\",\"label-width\"]},\"contextMenu\":{\"actions\":[\"copy\",\"remove\",\"insert\",\"updateAttr\",\"bindEevent\",\"createBlock\"],\"disable\":[]},\"invalidity\":[\"\"],\"clickCapture\":true,\"framework\":\"Vue\"}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (76, '2.4.2', '{\"zh_CN\":\"表单子项\"}', 'ElFormItem', 'formItem', '表单包含 输入框, 单选框, 下拉选择, 多选框 等用户输入的组件。 使用表单,您可以收集、验证和提交数据。', '', '', '', '', 'proCode', '{\"package\":\"element-plus\",\"version\":\"2.4.2\",\"script\":\"https://unpkg.com/element-plus@2.4.2/dist/index.full.mjs\",\"css\":\"https://unpkg.com/element-plus@2.4.2/dist/index.css\",\"dependencies\":null,\"exportName\":\"ElFormItem\"}', '表单组件', 'element-plus', NULL, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"isPopper\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"inline\",\"label-width\"]},\"contextMenu\":{\"actions\":[\"copy\",\"remove\",\"insert\",\"updateAttr\",\"bindEevent\",\"createBlock\"],\"disable\":[]},\"invalidity\":[\"\"],\"clickCapture\":true,\"framework\":\"Vue\"}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (77, '2.4.2', '{\"zh_CN\":\"表单\"}', 'ElTable', 'table', '用于展示多条结构类似的数据, 可对数据进行排序、筛选、对比或其他自定义操作', '', '', '', '', 'proCode', '{\"package\":\"element-plus\",\"version\":\"2.4.2\",\"script\":\"https://unpkg.com/element-plus@2.4.2/dist/index.full.mjs\",\"css\":\"https://unpkg.com/element-plus@2.4.2/dist/index.css\",\"dependencies\":null,\"exportName\":\"ElTable\"}', '数据展示', 'element-plus', NULL, '[{\"name\":{\"zh_CN\":\"表格\"},\"icon\":\"grid\",\"screenshot\":\"\",\"snippetName\":\"ElTable\",\"schema\":{\"props\":{\"data\":[{\"date\":\"2016-05-03\",\"name\":\"Tom\",\"address\":\"No. 189, Grove St, Los Angeles\"},{\"date\":\"2016-05-02\",\"name\":\"Tom\",\"address\":\"No. 189, Grove St, Los Angeles\"},{\"date\":\"2016-05-04\",\"name\":\"Tom\",\"address\":\"No. 189, Grove St, Los Angeles\"},{\"date\":\"2016-05-01\",\"name\":\"Tom\",\"address\":\"No. 189, Grove St, Los Angeles\"}],\"columns\":[{\"type\":\"index\"},{\"label\":\"Date\",\"prop\":\"date\"},{\"label\":\"Name\",\"prop\":\"name\"},{\"label\":\"Address\",\"prop\":\"address\"}]}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"isPopper\":false,\"nestingRule\":{\"childWhitelist\":[\"ElTableColumn\"],\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"inline\",\"label-width\"]},\"contextMenu\":{\"actions\":[\"copy\",\"remove\",\"insert\",\"updateAttr\",\"bindEevent\",\"createBlock\"],\"disable\":[]},\"invalidity\":[\"\"],\"clickCapture\":true,\"framework\":\"Vue\"}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (78, '2.4.2', '{\"zh_CN\":\"表单\"}', 'ElTableColumn', 'table', '用于展示多条结构类似的数据, 可对数据进行排序、筛选、对比或其他自定义操作', '', '', '', '', 'proCode', '{\"package\":\"element-plus\",\"version\":\"2.4.2\",\"script\":\"https://unpkg.com/element-plus@2.4.2/dist/index.full.mjs\",\"css\":\"https://unpkg.com/element-plus@2.4.2/dist/index.css\",\"dependencies\":null,\"exportName\":\"ElTableColumn\"}', '表单组件', 'element-plus', NULL, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"isPopper\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"inline\",\"label-width\"]},\"contextMenu\":{\"actions\":[\"copy\",\"remove\",\"insert\",\"updateAttr\",\"bindEevent\",\"createBlock\"],\"disable\":[]},\"invalidity\":[\"\"],\"clickCapture\":true,\"framework\":\"Vue\"}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (79, '2.4.2', '{\"zh_CN\":\"走马灯子项\"}', 'TinyCarouselItem', 'carouselitem', '常用于一组图片或卡片轮播,当内容空间不足时,可以用走马灯的形式进行收纳,进行轮播展现。', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"CarouselItem\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', '容器组件', 2, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":[],\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"disabled\",\"size\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (80, '2.4.2', '{\"zh_CN\":\"走马灯\"}', 'TinyCarousel', 'carousel', '常用于一组图片或卡片轮播,当内容空间不足时,可以用走马灯的形式进行收纳,进行轮播展现。', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Carousel\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', '容器组件', 2, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"clickCapture\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":[\"TinyCarouselItem\"],\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"disabled\",\"size\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (81, '2.4.2', '{\"zh_CN\":\"提示框\"}', 'a', 'link', '链接', '', '', '', '', 'proCode', '{}', 'component', 'basic', 7, '[{\"name\":{\"zh_CN\":\"链接\"},\"icon\":\"link\",\"screenshot\":\"\",\"snippetName\":\"a\",\"schema\":{\"componentName\":\"a\",\"children\":\"链接\"}}]', NULL, '{\"loop\":true,\"condition\":true,\"slots\":[],\"styles\":true,\"isContainer\":true,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[]},\"contextMenu\":{\"actions\":[],\"disable\":[]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (82, '2.4.2', '{\"zh_CN\":\"标题\"}', '[h1, h2, h3, h4, h5, h6]', 'h16', '标题', '', '', '', '', 'proCode', '{}', 'component', 'html', 20, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":[],\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"disabled\",\"size\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (83, '2.4.2', '{\"zh_CN\":\"段落\"}', 'p', 'paragraph', '段落', '', '', '', '', 'proCode', '{}', 'component', 'basic', 30, '[{\"name\":{\"zh_CN\":\"段落\"},\"icon\":\"paragraph\",\"screenshot\":\"\",\"snippetName\":\"p\",\"schema\":{\"componentName\":\"p\",\"children\":\"TinyEngine 前端可视化设计器致力于通过友好的用户交互提升业务应用的开发效率。\"}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":[],\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[]},\"contextMenu\":{\"actions\":[],\"disable\":[]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (84, '2.4.2', '{\"zh_CN\":\"输入框\"}', 'input', 'input', '输入框', '', '', '', '', 'proCode', '{}', 'component', 'html', 40, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":[],\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"disabled\",\"size\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (85, '2.4.2', '{\"zh_CN\":\"视频\"}', 'video', 'video', '视频', '', '', '', '', 'proCode', '{}', 'component', 'basic', 50, '[{\"name\":{\"zh_CN\":\"视频\"},\"icon\":\"video\",\"screenshot\":\"\",\"snippetName\":\"video\",\"schema\":{\"componentName\":\"video\",\"props\":{\"src\":\"img/webNova.jpg\",\"width\":\"200\",\"height\":\"100\",\"style\":\"border:1px solid #ccc\"}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":[],\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[]},\"contextMenu\":{\"actions\":[],\"disable\":[]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (86, '2.4.2', '{\"zh_CN\":\"Img\"}', 'Img', 'Image', '图片', NULL, '', '', '', 'proCode', '{}', 'component', 'html', 60, NULL, NULL, NULL, 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (87, '2.4.2', '{\"zh_CN\":\"Button\"}', 'button', 'button', '按钮', NULL, '', '', '', 'proCode', '{}', 'component', 'html', 70, NULL, NULL, '{\"isContainer\":true}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (88, '2.4.2', '{\"zh_CN\":\"表格\"}', 'table', 'table', '表格', NULL, '', '', '', 'proCode', '{}', 'component', 'html', 80, NULL, NULL, NULL, 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (89, '2.4.2', '{\"zh_CN\":\"表格单元格\"}', 'td', 'td', '表格单元格', NULL, '', '', '', 'proCode', '{}', 'component', 'html', 90, NULL, NULL, NULL, 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:18', '1', '2024-12-09 22:56:18'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (90, '2.4.2', '{\"zh_CN\":\"表单\"}', 'form', 'form', '表单', NULL, '', '', '', 'proCode', '{}', 'component', 'html', 100, NULL, NULL, '{\"isContainer\":true}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (91, '2.4.2', '{\"zh_CN\":\"表单标签\"}', 'label', 'label', '表单标签', NULL, '', '', '', 'proCode', '{}', 'component', 'html', 110, NULL, NULL, NULL, 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (92, '2.4.2', '{\"zh_CN\":\"按钮组\"}', 'TinyButtonGroup', 'buttonGroup', '以按钮组的方式出现,常用于多项类似操作', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"ButtonGroup\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'basic', 2, '[{\"name\":{\"zh_CN\":\"互斥按钮组\"},\"icon\":\"buttons\",\"screenshot\":\"\",\"snippetName\":\"TinyButtonGroup\",\"schema\":{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"Button1\",\"value\":\"1\"},{\"text\":\"Button2\",\"value\":\"2\"},{\"text\":\"Button3\",\"value\":\"3\"}],\"modelValue\":\"1\"}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":[],\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"disabled\",\"size\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (93, '2.4.2', '{\"zh_CN\":\"row\"}', 'TinyRow', 'row', '定义 Layout 的行配置信息', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Row\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', NULL, 5, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":[],\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"label-width\",\"disabled\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (94, '2.4.2', '{\"zh_CN\":\"表单\"}', 'TinyForm', 'form', '由按钮、输入框、选择器、单选框、多选框等控件组成,用以收集、校验、提交数据', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Form\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', NULL, 5, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":[],\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"label-width\",\"disabled\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (95, '2.4.2', '{\"zh_CN\":\"表单项\"}', 'TinyFormItem', 'formitem', '由按钮、输入框、选择器、单选框、多选框等控件组成,用以收集、校验、提交数据', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"FormItem\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', NULL, 12, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":[\"TinyForm\"],\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"label\",\"rules\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (96, '2.4.2', '{\"zh_CN\":\"col\"}', 'TinyCol', 'col', '列配置信息', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Col\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', NULL, 2, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"label\",\"rules\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (97, '2.4.2', '{\"zh_CN\":\"按钮\"}', 'TinyButton', 'button', '常用的操作按钮,提供包括默认按钮、图标按钮、图片按钮、下拉按钮等类型', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Button\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'basic', 2, '[{\"name\":{\"zh_CN\":\"按钮\"},\"icon\":\"button\",\"screenshot\":\"\",\"snippetName\":\"TinyButton\",\"schema\":{\"componentName\":\"TinyButton\",\"props\":{\"text\":\"按钮文案\"}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"text\",\"size\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (98, '2.4.2', '{\"zh_CN\":\"输入框\"}', 'TinyInput', 'input', '通过鼠标或键盘输入字符', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Input\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'form', 1, '[{\"name\":{\"zh_CN\":\"输入框\"},\"icon\":\"input\",\"screenshot\":\"\",\"snippetName\":\"TinyInput\",\"schema\":{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\"}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"value\",\"disabled\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (99, '2.4.2', '{\"zh_CN\":\"单选\"}', 'TinyRadio', 'radio', '用于配置不同场景的选项,在一组备选项中进行单选', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Radio\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'form', 3, '[{\"name\":{\"zh_CN\":\"单选\"},\"icon\":\"radio\",\"screenshot\":\"\",\"snippetName\":\"TinyRadio\",\"schema\":{\"componentName\":\"TinyRadio\",\"props\":{\"label\":\"1\",\"text\":\"单选文本\"}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"visible\",\"width\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (100, '2.4.2', '{\"zh_CN\":\"下拉框\"}', 'TinySelect', 'select', 'Select 选择器是一种通过点击弹出下拉列表展示数据并进行选择的 UI 组件', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Select\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'form', 8, '[{\"name\":{\"zh_CN\":\"下拉框\"},\"icon\":\"select\",\"screenshot\":\"\",\"snippetName\":\"TinySelect\",\"schema\":{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}]}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"multiple\",\"options\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (101, '2.4.2', '{\"zh_CN\":\"开关\"}', 'TinySwitch', 'switch', 'Switch 在两种状态间切换选择', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Switch\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'form', 9, '[{\"name\":{\"zh_CN\":\"开关\"},\"icon\":\"switch\",\"screenshot\":\"\",\"snippetName\":\"TinySwitch\",\"schema\":{\"componentName\":\"TinySwitch\",\"props\":{\"modelValue\":\"\"}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"disabled\",\"mini\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (102, '2.4.2', '{\"zh_CN\":\"搜索框\"}', 'TinySearch', 'search', '指定条件对象进行搜索数据', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Search\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'basic', 2, '[{\"name\":{\"zh_CN\":\"搜索框\"},\"icon\":\"search\",\"screenshot\":\"\",\"snippetName\":\"TinySearch\",\"schema\":{\"componentName\":\"TinySearch\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"输入关键词\"}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"clearable\",\"mini\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (103, '2.4.2', '{\"zh_CN\":\"复选框\"}', 'TinyCheckbox', 'checkbox', '用于配置不同场景的选项,提供用户可在一组选项中进行多选', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Checkbox\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'form', 4, '[{\"name\":{\"zh_CN\":\"复选框\"},\"icon\":\"checkbox\",\"screenshot\":\"\",\"snippetName\":\"TinyCheckbox\",\"schema\":{\"componentName\":\"TinyCheckbox\",\"props\":{\"text\":\"复选框文案\"}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"border\",\"disabled\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (104, '2.4.2', '{\"zh_CN\":\"复选按钮\"}', 'TinyCheckboxButton', 'checkboxbutton', '用于配置不同场景的选项,提供用户可在一组选项中进行多选', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"CheckboxButton\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', NULL, 1, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"text\",\"size\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (105, '2.4.2', '{\"zh_CN\":\"复选按钮组\"}', 'TinyCheckboxGroup', 'checkboxgroup', '用于配置不同场景的选项,提供用户可在一组选项中进行多选', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"CheckboxGroup\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'form', 2, '[{\"name\":{\"zh_CN\":\"复选框组\"},\"icon\":\"checkboxs\",\"screenshot\":\"\",\"snippetName\":\"TinyCheckboxGroup\",\"schema\":{\"componentName\":\"TinyCheckboxGroup\",\"props\":{\"modelValue\":[\"name1\",\"name2\"],\"type\":\"checkbox\",\"options\":[{\"text\":\"复选框1\",\"label\":\"name1\"},{\"text\":\"复选框2\",\"label\":\"name2\"},{\"text\":\"复选框3\",\"label\":\"name3\"}]}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"disabled\",\"type\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (106, '2.4.2', '{\"zh_CN\":\"对话框\"}', 'TinyDialogBox', 'dialogbox', '模态对话框,在浮层中显示,引导用户进行相关操作。', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"DialogBox\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'data-display', 4, '[{\"name\":{\"zh_CN\":\"对话框\"},\"icon\":\"dialogbox\",\"screenshot\":\"\",\"snippetName\":\"TinyDialogBox\",\"schema\":{\"componentName\":\"TinyDialogBox\",\"props\":{\"visible\":true,\"show-close\":true,\"title\":\"dialogBox title\"},\"children\":[{\"componentName\":\"div\"}]}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":true,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\".tiny-dialog-box\",\"shortcuts\":{\"properties\":[\"visible\",\"width\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (107, '2.4.2', '{\"zh_CN\":\"标签页\"}', 'TinyTabs', 'tabs', '分隔内容上有关联但属于不同类别的数据集合', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Tabs\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'navigation', 10, '[{\"name\":{\"zh_CN\":\"标签页\"},\"icon\":\"tabs\",\"screenshot\":\"\",\"snippetName\":\"TinyTabs\",\"schema\":{\"componentName\":\"TinyTabs\",\"props\":{\"modelValue\":\"first\"},\"children\":[{\"componentName\":\"TinyTabItem\",\"props\":{\"title\":\"标签页1\",\"name\":\"first\"},\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"margin:10px 0 0 30px\"}}]},{\"componentName\":\"TinyTabItem\",\"props\":{\"title\":\"标签页2\",\"name\":\"second\"},\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"margin:10px 0 0 30px\"}}]}]}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"clickCapture\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":[\"TinyTabItem\"],\"parentWhitelist\":[],\"descendantBlacklist\":[],\"ancestorWhitelist\":[]},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"size\",\"tab-style\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (108, '2.4.2', '{\"zh_CN\":\"tab页签\"}', 'TinyTabItem', 'tabitem', 'tab 标签页', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"TabItem\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', NULL, 2, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":[\"TinyTab\"],\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"name\",\"title\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (109, '2.4.2', '{\"zh_CN\":\"面包屑\"}', 'TinyBreadcrumb', 'breadcrumb', '告诉访问者他们目前在网站中的位置以及如何返回', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Select\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'navigation', 1, '[{\"name\":{\"zh_CN\":\"面包屑\"},\"icon\":\"breadcrumb\",\"screenshot\":\"\",\"snippetName\":\"TinyBreadcrumb\",\"schema\":{\"componentName\":\"TinyBreadcrumb\",\"props\":{\"options\":[{\"to\":\"{ path: \'/\' }\",\"label\":\"首页\"},{\"to\":\"{ path: \'/breadcrumb\' }\",\"label\":\"产品\"},{\"replace\":\"true\",\"label\":\"软件\"}]}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"clickCapture\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":[\"TinyBreadcrumbItem\"],\"parentWhitelist\":[],\"descendantBlacklist\":[],\"ancestorWhitelist\":[]},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"separator\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (110, '2.4.2', '{\"zh_CN\":\"面包屑项\"}', 'TinyBreadcrumbItem', 'breadcrumb', '', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"BreadcrumbItem\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', NULL, 1, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":[\"TinyBreadcrumb\"],\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"to\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (111, '2.4.2', '{\"zh_CN\":\"折叠面板\"}', 'TinyCollapse', 'collapse', '内容区可指定动态页面或自定义 html 等,支持展开收起操作', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Collapse\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'data-display', 3, '[{\"name\":{\"zh_CN\":\"折叠面板\"},\"icon\":\"collapse\",\"screenshot\":\"\",\"snippetName\":\"TinyCollapse\",\"schema\":{\"componentName\":\"TinyCollapse\",\"props\":{\"modelValue\":\"collapse1\"},\"children\":[{\"componentName\":\"TinyCollapseItem\",\"props\":{\"name\":\"collapse1\",\"title\":\"折叠项1\"},\"children\":[{\"componentName\":\"div\"}]},{\"componentName\":\"TinyCollapseItem\",\"props\":{\"name\":\"collapse2\",\"title\":\"折叠项2\"},\"children\":[{\"componentName\":\"div\"}]},{\"componentName\":\"TinyCollapseItem\",\"props\":{\"name\":\"collapse3\",\"title\":\"折叠项3\"},\"children\":[{\"componentName\":\"div\"}]}]}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"label-width\",\"disabled\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (112, '2.4.2', '{\"zh_CN\":\"折叠面板项\"}', 'TinyCollapseItem', 'collapseitem', '内容区可指定动态页面或自定义 html 等,支持展开收起操作', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"CollapseItem\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', NULL, 2, NULL, NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"label-width\",\"disabled\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (113, '2.4.2', '{\"zh_CN\":\"表格\"}', 'TinyGrid', 'grid', '提供了非常强大数据表格功能,可以展示数据列表,可以对数据列表进行选择、编辑等', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Grid\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'table', 2, '[{\"name\":{\"zh_CN\":\"表格\"},\"icon\":\"grid\",\"screenshot\":\"\",\"snippetName\":\"tinyGrid\",\"schema\":{\"componentName\":\"TinyGrid\",\"props\":{\"editConfig\":{\"trigger\":\"click\",\"mode\":\"cell\",\"showStatus\":true},\"columns\":[{\"type\":\"index\",\"width\":60},{\"type\":\"selection\",\"width\":60},{\"field\":\"employees\",\"title\":\"员工数\"},{\"field\":\"created_date\",\"title\":\"创建日期\"},{\"field\":\"city\",\"title\":\"城市\"}],\"data\":[{\"id\":\"1\",\"name\":\"GFD科技有限公司\",\"city\":\"福州\",\"employees\":800,\"created_date\":\"2014-04-30 00:56:00\",\"boole\":false},{\"id\":\"2\",\"name\":\"WWW科技有限公司\",\"city\":\"深圳\",\"employees\":300,\"created_date\":\"2016-07-08 12:36:22\",\"boole\":true}]}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"sortable\",\"columns\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (114, '2.4.2', '{\"zh_CN\":\"分页\"}', 'TinyPager', 'pager', '当数据量过多时,使用分页分解数据,常用于 Grid 和 Repeater 组件', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Pager\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'table', 1, '[{\"name\":{\"zh_CN\":\"分页\"},\"icon\":\"pager\",\"screenshot\":\"\",\"snippetName\":\"TinyPager\",\"schema\":{\"componentName\":\"TinyPager\",\"props\":{\"layout\":\"total, sizes, prev, pager, next\",\"total\":100,\"pageSize\":10,\"currentPage\":1}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"currentPage\",\"total\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (115, '2.4.2', '{\"zh_CN\":\"弹出编辑\"}', 'TinyPopeditor', 'popEditor', '该组件只能在弹出的面板中选择数据,不能手动输入数据;弹出面板中显示为 Tree 组件或者 Grid 组件', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"PopEditor\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'data-display', 6, '[{\"name\":{\"zh_CN\":\"弹出编辑\"},\"icon\":\"popeditor\",\"screenshot\":\"\",\"snippetName\":\"TinyPopeditor\",\"schema\":{\"componentName\":\"TinyPopeditor\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"gridOp\":{\"columns\":[{\"field\":\"id\",\"title\":\"ID\",\"width\":40},{\"field\":\"name\",\"title\":\"名称\",\"showOverflow\":\"tooltip\"},{\"field\":\"province\",\"title\":\"省份\",\"width\":80},{\"field\":\"city\",\"title\":\"城市\",\"width\":80}],\"data\":[{\"id\":\"1\",\"name\":\"GFD科技有限公司GFD科技有限公司GFD科技有限公司GFD科技有限公司GFD科技有限公司GFD科技有限公司GFD科技有限公司\",\"city\":\"福州\",\"province\":\"福建\"},{\"id\":\"2\",\"name\":\"WWW科技有限公司\",\"city\":\"深圳\",\"province\":\"广东\"},{\"id\":\"3\",\"name\":\"RFV有限责任公司\",\"city\":\"中山\",\"province\":\"广东\"},{\"id\":\"4\",\"name\":\"TGB科技有限公司\",\"city\":\"龙岩\",\"province\":\"福建\"},{\"id\":\"5\",\"name\":\"YHN科技有限公司\",\"city\":\"韶关\",\"province\":\"广东\"},{\"id\":\"6\",\"name\":\"WSX科技有限公司\",\"city\":\"黄冈\",\"province\":\"武汉\"}]}}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"modelValue\",\"disabled\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (116, '2.4.2', '{\"zh_CN\":\"树\"}', 'TinyTree', 'tree', '可进行展示有父子层级的数据,支持选择,异步加载等功能。但不推荐用它来展示菜单,展示菜单推荐使用树菜单', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Tree\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'data-display', 12, '[{\"name\":{\"zh_CN\":\"树\"},\"icon\":\"tree\",\"screenshot\":\"\",\"snippetName\":\"TinyTree\",\"schema\":{\"componentName\":\"TinyTree\",\"props\":{\"data\":[{\"label\":\"一级 1\",\"children\":[{\"label\":\"二级 1-1\",\"children\":[{\"label\":\"三级 1-1-1\"}]}]},{\"label\":\"一级 2\",\"children\":[{\"label\":\"二级 2-1\",\"children\":[{\"label\":\"三级 2-1-1\"}]},{\"label\":\"二级 2-2\",\"children\":[{\"label\":\"三级 2-2-1\"}]}]}]}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"data\",\"show-checkbox\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (117, '2.4.2', '{\"zh_CN\":\"时间线\"}', 'TinyTimeLine', 'timeline', 'TimeLine 时间线', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"TimeLine\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'navigation', 3, '[{\"name\":{\"zh_CN\":\"时间线\"},\"icon\":\"timeline\",\"screenshot\":\"\",\"snippetName\":\"TinyTimeLine\",\"schema\":{\"componentName\":\"TinyTimeLine\",\"props\":{\"active\":\"2\",\"data\":[{\"name\":\"已下单\"},{\"name\":\"运输中\"},{\"name\":\"已签收\"}]}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":false,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"active\",\"data\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (118, '2.4.2', '{\"zh_CN\":\"文字提示框\"}', 'TinyTooltip', 'tooltip', '动态显示提示信息,一般通过鼠标事件进行响应;提供 warning、error、info、success 四种类型显示不同类别的信', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Tooltip\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'data-display', 11, '[{\"name\":{\"zh_CN\":\"文字提示框\"},\"icon\":\"tooltip\",\"screenshot\":\"\",\"snippetName\":\"TinyTooltip\",\"schema\":{\"componentName\":\"TinyTooltip\",\"props\":{\"content\":\"Top Left 提示文字\",\"placement\":\"top-start\",\"manual\":true,\"modelValue\":true},\"children\":[{\"componentName\":\"span\",\"children\":[{\"componentName\":\"div\",\"props\":{}}]},{\"componentName\":\"Template\",\"props\":{\"slot\":\"content\"},\"children\":[{\"componentName\":\"span\",\"children\":[{\"componentName\":\"div\",\"props\":{\"placeholder\":\"提示内容\"}}]}]}]}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"isPopper\":true,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"disabled\",\"content\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (119, '2.4.2', '{\"zh_CN\":\"提示框\"}', 'TinyPopover', 'popover', 'Popover可通过对一个触发源操作触发弹出框,支持自定义弹出内容,延迟触发和渐变动画', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Popover\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'data-display', 7, '[{\"name\":{\"zh_CN\":\"提示框\"},\"icon\":\"popover\",\"screenshot\":\"\",\"snippetName\":\"TinyPopover\",\"schema\":{\"componentName\":\"TinyPopover\",\"props\":{\"width\":200,\"title\":\"弹框标题\",\"trigger\":\"manual\",\"modelValue\":true},\"children\":[{\"componentName\":\"Template\",\"props\":{\"slot\":\"reference\"},\"children\":[{\"componentName\":\"div\",\"props\":{\"placeholder\":\"触发源\"}}]},{\"componentName\":\"Template\",\"props\":{\"slot\":\"default\"},\"children\":[{\"componentName\":\"div\",\"props\":{\"placeholder\":\"提示内容\"}}]}]}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"isPopper\":true,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"visible\",\"width\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (120, '2.4.2', '{\"zh_CN\":\"日期选择\"}', 'TinyDatePicker', 'datepick', '用于输入或选择日期', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"DatePicker\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'form', 1, '[{\"name\":{\"zh_CN\":\"日期选择\"},\"icon\":\"datepick\",\"screenshot\":\"\",\"snippetName\":\"TinyDatePicker\",\"schema\":{\"componentName\":\"TinyDatePicker\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\"}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"value\",\"disabled\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); +INSERT INTO `t_component` (`id`, `version`, `name`, `name_en`, `icon`, `description`, `doc_url`, `screenshot`, `tags`, `keywords`, `dev_mode`, `npm`, `group`, `category`, `priority`, `snippets`, `schema_fragment`, `configure`, `public`, `framework`, `is_official`, `is_default`, `tiny_reserved`, `component_metadata`, `library_id`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `created_time`, `last_updated_by`, `last_updated_time`) VALUES (121, '2.4.2', '{\"zh_CN\":\"数字输入框\"}', 'TinyNumeric', 'numeric', '通过鼠标或键盘输入字符', '', '', '', '', 'proCode', '{\"package\":\"@opentiny/vue\",\"exportName\":\"Numeric\",\"version\":\"3.14.0\",\"destructuring\":true,\"script\":\"https://unpkg.com/@opentiny/vue@~3.14/runtime/tiny-vue.mjs\",\"css\":\"https://unpkg.com/@opentiny/vue-theme@~3.14/index.css\"}', 'component', 'form', 1, '[{\"name\":{\"zh_CN\":\"数字输入框\"},\"icon\":\"numeric\",\"screenshot\":\"\",\"snippetName\":\"TinyNumeric\",\"schema\":{\"componentName\":\"TinyNumeric\",\"props\":{\"allow-empty\":true,\"placeholder\":\"请输入\",\"controlsPosition\":\"right\",\"step\":1}}}]', NULL, '{\"loop\":true,\"condition\":true,\"styles\":true,\"isContainer\":true,\"isModal\":false,\"nestingRule\":{\"childWhitelist\":\"\",\"parentWhitelist\":\"\",\"descendantBlacklist\":\"\",\"ancestorWhitelist\":\"\"},\"isNullNode\":false,\"isLayout\":false,\"rootSelector\":\"\",\"shortcuts\":{\"properties\":[\"value\",\"disabled\"]},\"contextMenu\":{\"actions\":[\"create symbol\"],\"disable\":[\"copy\",\"remove\"]}}', 1, 'Vue', 1, 1, 0, NULL, NULL, '1', '1', '1', '1', '2024-12-09 22:56:19', '1', '2024-12-09 22:56:19'); + + +INSERT INTO `t_block_history` (`id`, `ref_id`, `message`, `version`, `label`, `name`, `framework`, `content`, `assets`, `build_info`, `screenshot`, `path`, `description`, `tags`, `is_official`, `public`, `is_default`, `tiny_reserved`, `mode`, `platform_id`, `app_id`, `npm_name`, `i18n`, `content_blocks`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`, `tenant_id`, `site_id`) VALUES (1, 1, '2.0.7', '2.0.7', 'BlockTest1a', 'BlockTest1a', 'Vue', '{\"state\":{},\"methods\":{},\"componentName\":\"Block\",\"fileName\":\"BlockTest1a\",\"css\":\"\",\"props\":{},\"children\":[{\"componentName\":\"TinyGrid\",\"props\":{\"editConfig\":{\"trigger\":\"click\",\"mode\":\"cell\",\"showStatus\":true},\"columns\":[{\"type\":\"index\",\"width\":60},{\"type\":\"selection\",\"width\":60},{\"field\":\"employees\",\"title\":\"员工数\"},{\"field\":\"created_date\",\"title\":\"创建日期\"},{\"field\":\"city\",\"title\":\"城市\"}],\"data\":[{\"id\":\"1\",\"name\":\"GFD科技有限公司\",\"city\":\"福州\",\"employees\":800,\"created_date\":\"2014-04-30 00:56:00\",\"boole\":false},{\"id\":\"2\",\"name\":\"WWW科技有限公司\",\"city\":\"深圳\",\"employees\":300,\"created_date\":\"2016-07-08 12:36:22\",\"boole\":true}]},\"id\":\"9f544d43\"},{\"componentName\":\"div\",\"props\":{},\"id\":\"c3be6334\"},{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\"},\"children\":[{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"人员\"},\"children\":[{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\"},\"id\":\"6a365365\"}],\"id\":\"22464422\"},{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"密码\"},\"children\":[{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\",\"type\":\"password\"},\"id\":\"55297132\"}],\"id\":\"c42655f5\"},{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"\"},\"children\":[{\"componentName\":\"TinyButton\",\"props\":{\"text\":\"提交\",\"type\":\"primary\",\"style\":\"margin-right: 10px\"},\"id\":\"521663e5\"},{\"componentName\":\"TinyButton\",\"props\":{\"text\":\"重置\",\"type\":\"primary\"},\"id\":\"33153f15\"}],\"id\":\"31541a46\"}],\"id\":\"35a24114\"},{\"componentName\":\"TinyCarousel\",\"props\":{\"height\":\"180px\"},\"children\":[{\"componentName\":\"TinyCarouselItem\",\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"margin:10px 0 0 30px\"},\"id\":\"92546616\"}],\"id\":\"1b2d445c\",\"props\":{\"title\":\"选项卡\",\"name\":\"\"}},{\"componentName\":\"TinyCarouselItem\",\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"margin:10px 0 0 30px\"},\"id\":\"3a145148\"}],\"id\":\"36631533\",\"props\":{\"title\":\"选项卡\",\"name\":\"\"}}],\"id\":\"52426c25\"}],\"schema\":{\"properties\":[{\"label\":{\"zh_CN\":\"基础信息\"},\"description\":{\"zh_CN\":\"基础信息\"},\"collapse\":{\"number\":6,\"text\":{\"zh_CN\":\"显示更多\"}},\"content\":[]}],\"events\":{},\"slots\":{}},\"dataSource\":{},\"dependencies\":{\"scripts\":[{\"package\":\"@opentiny/vue\",\"version\":\"\",\"components\":{\"TinyGrid\":\"Grid\",\"TinyForm\":\"Form\",\"TinyFormItem\":\"FormItem\",\"TinyInput\":\"Input\",\"TinyButton\":\"Button\",\"TinyCarousel\":\"Carousel\",\"TinyCarouselItem\":\"CarouselItem\"}}],\"styles\":[]}}', '{\"material\":[],\"scripts\":[\"https://npm.onmicrosoft.cn/@opentiny-assets/tinyengine-alpha-block-blocktest1a-993@2.0.7/js\\\\web-component.umd.js\",\"https://npm.onmicrosoft.cn/@opentiny-assets/tinyengine-alpha-block-blocktest1a-993@2.0.7/js\\\\web-component.es.js\"],\"styles\":[]}', NULL, NULL, '我的分组', '区块', '[]', 0, 1, 0, 0, NULL, 1, 1, '@opentiny-assets/tinyengine-alpha-block-blocktest1a-993', '{\"en_US\":{\"lowcode.c257d5e8\":\"search\",\"lowcode.61c8ac8c\":\"dsdsa\",\"lowcode.f53187a0\":\"test\",\"lowcode.97ad00dd\":\"createMaterial\",\"lowcode.61dcef52\":\"sadasda\",\"lowcode.45f4c42a\":\"gfdgfd\",\"lowcode.c6f5a652\":\"fsdafds\"},\"zh_CN\":{\"lowcode.c257d5e8\":\"查询\",\"lowcode.61c8ac8c\":\"地方\",\"lowcode.f53187a0\":\"测试\",\"lowcode.97ad00dd\":\"创建物料资产包\",\"lowcode.61dcef52\":\"terterere\",\"lowcode.45f4c42a\":\"gdfgdf\",\"lowcode.c6f5a652\":\"fsdaf\"}}', NULL, '1', '1', '2024-10-16 19:19:54', '2024-10-16 19:19:54', '1', '1'); + +INSERT INTO `t_block_group` (`id`, `name`, `app_id`, `platform_id`, `description`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`, `tenant_id`, `site_id`) VALUES (1, '我的分组', 1, 1, '区块分组', '1', '1', '2024-10-16 19:15:53', '2024-10-16 19:15:53', '1', '1'); + +INSERT INTO `t_material_history` (`id`, `ref_id`, `version`, `content`, `name`, `npm_name`, `framework`, `assets_url`, `image_url`, `description`, `material_size`, `tgz_url`, `unzip_tgz_root_path_url`, `unzip_tgz_files`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`, `tenant_id`, `site_id`) VALUES (1, 1, '1.0.8', '{}', 'materialstwo', '@opentiny/lowcode-alpha-material-materialstwo-1505', 'Vue', '{\"material\":[\"\"],\"scripts\":[\"\",\"\"],\"styles\":[]}', NULL, '1.0.8', NULL, NULL, NULL, NULL, '1', '1', '2024-10-16 19:28:53', '2024-10-16 19:28:53', '1', '1'); + +INSERT INTO `t_tenant` (`id`, `name_cn`, `name_en`, `description`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`) VALUES (1, 'public', '公共租户', 'Default tenant for new user to explore.', '1', '1', '2024-10-16 19:31:28', '2024-10-16 19:31:28'); + +INSERT INTO `r_material_history_block` (`id`, `material_history_id`, `block_history_id`) VALUES (1, 1, 1); + +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (44, 1, 73); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (45, 1, 74); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (46, 1, 75); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (47, 1, 76); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (48, 1, 77); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (49, 1, 78); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (50, 1, 79); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (51, 1, 80); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (52, 1, 81); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (53, 1, 82); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (54, 1, 83); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (55, 1, 84); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (56, 1, 85); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (57, 1, 86); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (58, 1, 87); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (59, 1, 88); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (60, 1, 89); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (61, 1, 90); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (62, 1, 91); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (63, 1, 92); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (64, 1, 93); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (65, 1, 94); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (66, 1, 95); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (67, 1, 96); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (68, 1, 97); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (69, 1, 98); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (70, 1, 99); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (71, 1, 100); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (72, 1, 101); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (73, 1, 102); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (74, 1, 103); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (75, 1, 104); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (76, 1, 105); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (77, 1, 106); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (78, 1, 107); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (79, 1, 108); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (80, 1, 109); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (81, 1, 110); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (82, 1, 111); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (83, 1, 112); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (84, 1, 113); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (85, 1, 114); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (86, 1, 115); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (87, 1, 116); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (88, 1, 117); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (89, 1, 118); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (90, 1, 119); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (91, 1, 120); +INSERT INTO `r_material_history_component` (`id`, `material_history_id`, `component_id`) VALUES (92, 1, 121); + +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (45, 1, 73); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (46, 1, 74); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (47, 1, 75); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (48, 1, 76); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (49, 1, 77); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (50, 1, 78); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (51, 1, 79); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (52, 1, 80); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (53, 1, 81); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (54, 1, 82); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (55, 1, 83); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (56, 1, 84); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (57, 1, 85); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (58, 1, 86); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (59, 1, 87); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (60, 1, 88); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (61, 1, 89); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (62, 1, 90); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (63, 1, 91); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (64, 1, 92); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (65, 1, 93); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (66, 1, 94); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (67, 1, 95); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (68, 1, 96); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (69, 1, 97); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (70, 1, 98); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (71, 1, 99); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (72, 1, 100); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (73, 1, 101); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (74, 1, 102); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (75, 1, 103); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (76, 1, 104); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (77, 1, 105); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (78, 1, 106); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (79, 1, 107); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (80, 1, 108); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (81, 1, 109); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (82, 1, 110); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (83, 1, 111); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (84, 1, 112); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (85, 1, 113); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (86, 1, 114); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (87, 1, 115); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (88, 1, 116); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (89, 1, 117); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (90, 1, 118); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (91, 1, 119); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (92, 1, 120); +INSERT INTO `r_material_component` (`id`, `material_id`, `component_id`) VALUES (93, 1, 121); + + + +INSERT INTO `r_material_block` (`id`, `material_id`, `block_id`) VALUES (1, 1, 1); + +INSERT INTO `t_app` (`id`, `name`, `app_website`, `platform_id`, `platform_history_id`, `publish_url`, `editor_url`, `visit_url`, `image_url`, `assets_url`, `state`, `published`, `home_page_id`, `css`, `config`, `constants`, `data_handler`, `description`, `latest`, `git_group`, `project_name`, `branch`, `is_demo`, `is_default`, `template_type`, `set_template_time`, `set_template_by`, `set_default_by`, `framework`, `global_state`, `default_lang`, `extend_config`, `data_hash`, `can_associate`, `data_source_global`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`, `tenant_id`, `site_id`) VALUES (1, 'portal-app', NULL, 1, '1', NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, '{}', NULL, '{\"type\":\"JSFunction\",\"value\":\"function dataHanlder(res){\\n return res;\\n}\"}', 'demo应用', '22', NULL, NULL, 'develop', NULL, NULL, 'serviceDevelop', '2023-11-19 18:14:37', '1', '1', 'Vue', '[{\"id\":\"test2\",\"state\":{\"name1\":\"xxx1\"},\"getters\":{\"count\":{\"type\":\"JSFunction\",\"value\":\"function count() {}\"}},\"actions\":{\"actions\":{\"type\":\"JSFunction\",\"value\":\"function actions() {}\"}}},{\"id\":\"test3\",\"state\":{\"name1\":\"xxx\"},\"getters\":{\"count\":{\"type\":\"JSFunction\",\"value\":\"function count() {}\"}},\"actions\":{\"actions\":{\"type\":\"JSFunction\",\"value\":\"function actions() {}\"}}},{\"id\":\"test4\",\"state\":{\"region\":\"\",\"scenario\":\"all\",\"productId\":\"\",\"planId\":\"\",\"addEvs\":false,\"addHss\":false,\"addCbr\":false,\"period\":{\"value\":1,\"unit\":\"month\"},\"amount\":1},\"getters\":{},\"actions\":{}},{\"id\":\"test1\",\"state\":{\"name1\":\"xxx\"},\"getters\":{\"count\":{\"type\":\"JSFunction\",\"value\":\"function count() {}\"}},\"actions\":{\"actions\":{\"type\":\"JSFunction\",\"value\":\"function actions() {}\"}}}]', NULL, '{\"business\":{\"serviceName\":\"\",\"endpointName\":\"cce\",\"endpointId\":\"ee\",\"serviceId\":\"ee\",\"router\":\"ee\"},\"env\":{\"alpha\":{\"regions\":[{\"name\":\"\",\"baseUrl\":\"\",\"isDefault\":false}],\"isDefault\":true}},\"type\":\"console\"}', '8b0eba6ad055532a586f9f669108fabb', '1', '{\"dataHandler\":{\"type\":\"JSFunction\",\"value\":\"function dataHanlder(res){\\n return res;\\n}\"}}', '1', '1', '2024-10-16 23:27:10', '2024-10-16 23:27:10', '1', '1'); + +INSERT INTO `t_block` (`id`, `label`, `name`, `framework`, `content`, `assets`, `last_build_info`, `description`, `tags`, `latest_version`, `latest_history_id`, `screenshot`, `path`, `occupier_by`, `is_official`, `public`, `is_default`, `tiny_reserved`, `npm_name`, `i18n`, `platform_id`, `app_id`, `content_blocks`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`, `tenant_id`, `site_id`) VALUES (1, 'BlockTest1a', 'BlockTest1a', 'Vue', '{\"state\":{},\"methods\":{},\"componentName\":\"Block\",\"fileName\":\"BlockTest1a\",\"css\":\"\",\"props\":{},\"children\":[{\"componentName\":\"TinyGrid\",\"props\":{\"editConfig\":{\"trigger\":\"click\",\"mode\":\"cell\",\"showStatus\":true},\"columns\":[{\"type\":\"index\",\"width\":60},{\"type\":\"selection\",\"width\":60},{\"field\":\"employees\",\"title\":\"员工数\"},{\"field\":\"created_date\",\"title\":\"创建日期\"},{\"field\":\"city\",\"title\":\"城市\"}],\"data\":[{\"id\":\"1\",\"name\":\"GFD科技有限公司\",\"city\":\"福州\",\"employees\":800,\"created_date\":\"2014-04-30 00:56:00\",\"boole\":false},{\"id\":\"2\",\"name\":\"WWW科技有限公司\",\"city\":\"深圳\",\"employees\":300,\"created_date\":\"2016-07-08 12:36:22\",\"boole\":true}]},\"id\":\"9f544d43\"},{\"componentName\":\"div\",\"props\":{},\"id\":\"c3be6334\"},{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\"},\"children\":[{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"人员\"},\"children\":[{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\"},\"id\":\"6a365365\"}],\"id\":\"22464422\"},{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"密码\"},\"children\":[{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\",\"type\":\"password\"},\"id\":\"55297132\"}],\"id\":\"c42655f5\"},{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"\"},\"children\":[{\"componentName\":\"TinyButton\",\"props\":{\"text\":\"提交\",\"type\":\"primary\",\"style\":\"margin-right: 10px\"},\"id\":\"521663e5\"},{\"componentName\":\"TinyButton\",\"props\":{\"text\":\"重置\",\"type\":\"primary\"},\"id\":\"33153f15\"}],\"id\":\"31541a46\"}],\"id\":\"35a24114\"},{\"componentName\":\"TinyCarousel\",\"props\":{\"height\":\"180px\"},\"children\":[{\"componentName\":\"TinyCarouselItem\",\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"margin:10px 0 0 30px\"},\"id\":\"92546616\"}],\"id\":\"1b2d445c\",\"props\":{\"title\":\"选项卡\",\"name\":\"\"}},{\"componentName\":\"TinyCarouselItem\",\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"margin:10px 0 0 30px\"},\"id\":\"3a145148\"}],\"id\":\"36631533\",\"props\":{\"title\":\"选项卡\",\"name\":\"\"}}],\"id\":\"52426c25\"}],\"schema\":{\"properties\":[{\"label\":{\"zh_CN\":\"基础信息\"},\"description\":{\"zh_CN\":\"基础信息\"},\"collapse\":{\"number\":6,\"text\":{\"zh_CN\":\"显示更多\"}},\"content\":[]}],\"events\":{},\"slots\":{}},\"dataSource\":{},\"dependencies\":{\"scripts\":[{\"package\":\"@opentiny/vue\",\"version\":\"\",\"components\":{\"TinyGrid\":\"Grid\",\"TinyForm\":\"Form\",\"TinyFormItem\":\"FormItem\",\"TinyInput\":\"Input\",\"TinyButton\":\"Button\",\"TinyCarousel\":\"Carousel\",\"TinyCarouselItem\":\"CarouselItem\"}}],\"styles\":[]}}', '{\"material\":[],\"scripts\":[\"https://npm.onmicrosoft.cn/@opentiny-assets/tinyengine-alpha-block-blocktest1a-993@2.0.7/js\\\\web-component.umd.js\",\"https://npm.onmicrosoft.cn/@opentiny-assets/tinyengine-alpha-block-blocktest1a-993@2.0.7/js\\\\web-component.es.js\"],\"styles\":[]}', '{\"result\":true,\"versions\":[\"@opentiny/tiny-engine-block-build@1.0.2\"],\"endTime\":\"2024/3/19 20:22:03\",\"message\":\"2.0.7\",\"filesPath\":{\"material\":[],\"scripts\":[\"https://npm.onmicrosoft.cn/@opentiny-assets/tinyengine-alpha-block-blocktest1a-993@2.0.7/js\\\\web-component.umd.js\",\"https://npm.onmicrosoft.cn/@opentiny-assets/tinyengine-alpha-block-blocktest1a-993@2.0.7/js\\\\web-component.es.js\"],\"styles\":[]},\"taskId\":184}', '区块', '[]', '2.0.7', 1, NULL, '我的分组', '1', 0, 1, 0, 0, '@opentiny-assets/tinyengine-alpha-block-blocktest1a-993', '', 1, 1, NULL, '1', '1', '2024-10-16 23:52:11', '2024-10-16 23:52:11', '1', '1'); + +INSERT INTO `t_material` (`id`, `name`, `npm_name`, `framework`, `assets_url`, `image_url`, `published`, `latest_version`, `latest_history_id`, `public`, `last_build_info`, `description`, `is_official`, `is_default`, `tiny_reserved`, `component_library_id`, `material_category_id`, `material_size`, `tgz_url`, `unzip_tgz_root_path_url`, `unzip_tgz_files`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`, `tenant_id`, `site_id`) VALUES (1, 'materialstwo', '@opentiny/lowcode-alpha-material-materialstwo-1505', 'Vue', NULL, NULL, NULL, '1.0.8', 1, 1, '{\"version\": \"1.0.8\"}', '物料包', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '2024-10-16 23:37:14', '2024-10-16 23:37:14', '1', '1'); + +INSERT INTO `t_page` (`id`, `name`, `app_id`, `route`, `page_content`, `is_body`, `parent_id`, `group`, `depth`, `is_page`, `occupier_by`, `is_default`, `content_blocks`, `latest_version`, `latest_history_id`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`, `tenant_id`, `site_id`) VALUES (1, 'createVm', 1, 'createVm', '{\"state\":{\"dataDisk\":[1,2,3]},\"methods\":{},\"componentName\":\"Page\",\"css\":\"body {\\r\\n background-color:#eef0f5 ;\\r\\n margin-bottom: 80px;\\r\\n}\",\"props\":{},\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"padding-bottom: 10px; padding-top: 10px;\"},\"id\":\"2b2cabf0\",\"children\":[{\"componentName\":\"TinyTimeLine\",\"props\":{\"active\":\"2\",\"data\":[{\"name\":\"基础配置\"},{\"name\":\"网络配置\"},{\"name\":\"高级配置\"},{\"name\":\"确认配置\"}],\"horizontal\":true,\"style\":\"border-radius: 0px;\"},\"id\":\"dd764b17\"}]},{\"componentName\":\"div\",\"props\":{\"style\":\"border-width: 1px; border-style: solid; border-radius: 4px; border-color: #fff; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px; background-color: #fff; margin-bottom: 10px;\"},\"id\":\"30c94cc8\",\"children\":[{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\",\"inline\":false,\"label-position\":\"left \",\"label-width\":\"150px\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"计费模式\"},\"children\":[{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"包年/包月\",\"value\":\"1\"},{\"text\":\"按需计费\",\"value\":\"2\"}],\"modelValue\":\"1\"},\"id\":\"a8d84361\"}],\"id\":\"9f39f3e7\"},{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"区域\"},\"children\":[{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"乌兰察布二零一\",\"value\":\"1\"}],\"modelValue\":\"1\",\"style\":\"border-radius: 0px; margin-right: 10px;\"},\"id\":\"c97ccd99\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"温馨提示:页面左上角切换区域\",\"style\":\"background-color: [object Event]; color: #8a8e99; font-size: 12px;\"},\"id\":\"20923497\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"不同区域的云服务产品之间内网互不相通;请就近选择靠近您业务的区域,可减少网络时延,提高访问速度\",\"style\":\"display: block; color: #8a8e99; border-radius: 0px; font-size: 12px;\"},\"id\":\"54780a26\"}],\"id\":\"4966384d\"},{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"可用区\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"可用区1\",\"value\":\"1\"},{\"text\":\"可用区2\",\"value\":\"2\"},{\"text\":\"可用区3\",\"value\":\"3\"}],\"modelValue\":\"1\"},\"id\":\"6184481b\"}],\"id\":\"690837bf\"}],\"id\":\"b6a425d4\"}]},{\"componentName\":\"div\",\"props\":{\"style\":\"border-width: 1px; border-style: solid; border-radius: 4px; border-color: #fff; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px; background-color: #fff; margin-bottom: 10px;\"},\"children\":[{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\",\"inline\":false,\"label-position\":\"left \",\"label-width\":\"150px\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"CPU架构\"},\"children\":[{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"x86计算\",\"value\":\"1\"},{\"text\":\"鲲鹏计算\",\"value\":\"2\"}],\"modelValue\":\"1\"},\"id\":\"7d33ced7\"}],\"id\":\"05ed5a79\"},{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"区域\"},\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex; justify-content: flex-start; align-items: center;\"},\"id\":\"606edf78\",\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex; align-items: center; margin-right: 10px;\"},\"id\":\"f3f98246\",\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"vCPUs\",\"style\":\"width: 80px;\"},\"id\":\"c287437e\"},{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}]},\"id\":\"4c43286b\"}]},{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex; align-items: center; margin-right: 10px;\"},\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"内存\",\"style\":\"width: 80px; border-radius: 0px;\"},\"id\":\"38b8fa1f\"},{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}]},\"id\":\"cd33328e\"}],\"id\":\"2b2c678f\"},{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex; align-items: center;\"},\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"规格名称\",\"style\":\"width: 80px;\"},\"id\":\"d3eb6352\"},{\"componentName\":\"TinySearch\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"输入关键词\"},\"id\":\"21cb9282\"}],\"id\":\"b8e0f35c\"}]},{\"componentName\":\"div\",\"props\":{\"style\":\"border-radius: 0px;\"},\"id\":\"5000c83e\",\"children\":[{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"通用计算型\",\"value\":\"1\"},{\"text\":\"通用计算增强型\",\"value\":\"2\"},{\"text\":\"内存优化型\",\"value\":\"3\"},{\"text\":\"内存优化型\",\"value\":\"4\"},{\"text\":\"磁盘增强型\",\"value\":\"5\"},{\"text\":\"超高I/O型\",\"value\":\"6\"},{\"text\":\"GPU加速型\",\"value\":\"7\"}],\"modelValue\":\"1\",\"style\":\"border-radius: 0px; margin-top: 12px;\"},\"id\":\"b8724703\"},{\"componentName\":\"TinyGrid\",\"props\":{\"editConfig\":{\"trigger\":\"click\",\"mode\":\"cell\",\"showStatus\":true},\"columns\":[{\"type\":\"radio\",\"width\":60},{\"field\":\"employees\",\"title\":\"规格名称\"},{\"field\":\"created_date\",\"title\":\"vCPUs | 内存(GiB)\",\"sortable\":true},{\"field\":\"city\",\"title\":\"CPU\",\"sortable\":true},{\"title\":\"基准 / 最大带宽\\t\",\"sortable\":true},{\"title\":\"内网收发包\",\"sortable\":true}],\"data\":[{\"id\":\"1\",\"name\":\"GFD科技有限公司\",\"city\":\"福州\",\"employees\":800,\"created_date\":\"2014-04-30 00:56:00\",\"boole\":false},{\"id\":\"2\",\"name\":\"WWW科技有限公司\",\"city\":\"深圳\",\"employees\":300,\"created_date\":\"2016-07-08 12:36:22\",\"boole\":true}],\"style\":\"margin-top: 12px; border-radius: 0px;\",\"auto-resize\":true},\"id\":\"77701c25\"},{\"componentName\":\"div\",\"props\":{\"style\":\"margin-top: 12px; border-radius: 0px;\"},\"id\":\"3339838b\",\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"当前规格\",\"style\":\"width: 150px; display: inline-block;\"},\"id\":\"203b012b\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"通用计算型 | Si2.large.2 | 2vCPUs | 4 GiB\",\"style\":\"font-weight: 700;\"},\"id\":\"87723f52\"}]}]}],\"id\":\"657fb2fc\"}],\"id\":\"d19b15cf\"}],\"id\":\"9991228b\"},{\"componentName\":\"div\",\"props\":{\"style\":\"border-width: 1px; border-style: solid; border-radius: 4px; border-color: #fff; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px; background-color: #fff; margin-bottom: 10px;\"},\"children\":[{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\",\"inline\":false,\"label-position\":\"left \",\"label-width\":\"150px\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"镜像\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyButtonGroup\",\"props\":{\"data\":[{\"text\":\"公共镜像\",\"value\":\"1\"},{\"text\":\"私有镜像\",\"value\":\"2\"},{\"text\":\"共享镜像\",\"value\":\"3\"}],\"modelValue\":\"1\"},\"id\":\"922b14cb\"},{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex; margin-top: 12px; border-radius: 0px;\"},\"id\":\"6b679524\",\"children\":[{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}],\"style\":\"width: 170px; margin-right: 10px;\"},\"id\":\"4851fff7\"},{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}],\"style\":\"width: 340px;\"},\"id\":\"a7183eb7\"}]},{\"componentName\":\"div\",\"props\":{\"style\":\"margin-top: 12px;\"},\"id\":\"57aee314\",\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"请注意操作系统的语言类型。\",\"style\":\"color: #e37d29;\"},\"id\":\"56d36c27\"}]}],\"id\":\"e3b02436\"}],\"id\":\"59aebf2b\"}],\"id\":\"87ff7b99\"},{\"componentName\":\"div\",\"props\":{\"style\":\"border-width: 1px; border-style: solid; border-radius: 4px; border-color: #fff; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px; background-color: #fff; margin-bottom: 10px;\"},\"children\":[{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\",\"inline\":false,\"label-position\":\"left \",\"label-width\":\"150px\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"系统盘\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex;\"},\"id\":\"cddba5b8\",\"children\":[{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}],\"style\":\"width: 200px; margin-right: 10px;\"},\"id\":\"a97fbe15\"},{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\",\"style\":\"width: 120px; margin-right: 10px;\"},\"id\":\"1cde4c0f\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"GiB \\nIOPS上限240,IOPS突发上限5,000\",\"style\":\"color: #575d6c; font-size: 12px;\"},\"id\":\"2815d82d\"}]}],\"id\":\"50239a3a\"}],\"id\":\"e8582986\"},{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\",\"inline\":false,\"label-position\":\"left \",\"label-width\":\"150px\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyFormItem\",\"props\":{\"label\":\"数据盘\",\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"div\",\"props\":{\"style\":\"margin-top: 12px; display: flex;\"},\"id\":\"728c9825\",\"children\":[{\"componentName\":\"Icon\",\"props\":{\"style\":\"margin-right: 10px; width: 16px; height: 16px;\",\"name\":\"IconPanelMini\"},\"id\":\"fded6930\"},{\"componentName\":\"TinySelect\",\"props\":{\"modelValue\":\"\",\"placeholder\":\"请选择\",\"options\":[{\"value\":\"1\",\"label\":\"黄金糕\"},{\"value\":\"2\",\"label\":\"双皮奶\"}],\"style\":\"width: 200px; margin-right: 10px;\"},\"id\":\"62734e3f\"},{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\",\"style\":\"width: 120px; margin-right: 10px;\"},\"id\":\"667c7926\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"GiB \\nIOPS上限600,IOPS突发上限5,000\",\"style\":\"color: #575d6c; font-size: 12px; margin-right: 10px;\"},\"id\":\"e7bc36d6\"},{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\",\"style\":\"width: 120px;\"},\"id\":\"1bd56dc0\"}],\"loop\":{\"type\":\"JSExpression\",\"value\":\"this.state.dataDisk\"}},{\"componentName\":\"div\",\"props\":{\"style\":\"display: flex; margin-top: 12px; border-radius: 0px;\"},\"children\":[{\"componentName\":\"Icon\",\"props\":{\"name\":\"IconPlus\",\"style\":\"width: 16px; height: 16px; margin-right: 10px;\"},\"id\":\"65c89f2b\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"增加一块数据盘\",\"style\":\"font-size: 12px; border-radius: 0px; margin-right: 10px;\"},\"id\":\"cb344071\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"您还可以挂载 21 块磁盘(云硬盘)\",\"style\":\"color: #8a8e99; font-size: 12px;\"},\"id\":\"80eea996\"}],\"id\":\"e9e530ab\"}],\"id\":\"078e03ef\"}],\"id\":\"ccef886e\"}],\"id\":\"0fb7bd74\"},{\"componentName\":\"div\",\"props\":{\"style\":\"border-width: 1px; border-style: solid; border-color: #ffffff; padding-top: 10px; padding-left: 10px; padding-right: 10px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px; background-color: #fff; position: fixed; inset: auto 0% 0% 0%; height: 80px; line-height: 80px; border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyForm\",\"props\":{\"labelWidth\":\"80px\",\"labelPosition\":\"top\",\"inline\":false,\"label-position\":\"left \",\"label-width\":\"150px\",\"style\":\"border-radius: 0px;\"},\"children\":[],\"id\":\"21ed4475\"},{\"componentName\":\"TinyRow\",\"props\":{\"style\":\"border-radius: 0px; height: 100%;\"},\"children\":[{\"componentName\":\"TinyCol\",\"props\":{\"span\":\"8\"},\"id\":\"b9d051a5\",\"children\":[{\"componentName\":\"TinyRow\",\"props\":{\"style\":\"border-radius: 0px;\"},\"children\":[{\"componentName\":\"TinyCol\",\"props\":{\"span\":\"5\",\"style\":\"display: flex;\"},\"id\":\"02352776\",\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"购买量\",\"style\":\"margin-right: 10px;\"},\"id\":\"0cd9ed5c\"},{\"componentName\":\"TinyInput\",\"props\":{\"placeholder\":\"请输入\",\"modelValue\":\"\",\"style\":\"width: 120px; margin-right: 10px;\"},\"id\":\"2f9cf442\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"台\"},\"id\":\"facd4481\"}]},{\"componentName\":\"TinyCol\",\"props\":{\"span\":\"7\"},\"id\":\"82b6c659\",\"children\":[{\"componentName\":\"div\",\"props\":{},\"id\":\"9cd65874\",\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"配置费用\",\"style\":\"font-size: 12px;\"},\"id\":\"b5a0a0da\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"¥1.5776\",\"style\":\"padding-left: 10px; padding-right: 10px; color: #de504e;\"},\"id\":\"d9464214\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"/小时\",\"style\":\"font-size: 12px;\"},\"id\":\"af7cc5e6\"}]},{\"componentName\":\"div\",\"props\":{},\"id\":\"89063830\",\"children\":[{\"componentName\":\"Text\",\"props\":{\"text\":\"参考价格,具体扣费请以账单为准。\",\"style\":\"font-size: 12px; border-radius: 0px;\"},\"id\":\"d8995fbc\"},{\"componentName\":\"Text\",\"props\":{\"text\":\"了解计费详情\",\"style\":\"font-size: 12px; color: #344899;\"},\"id\":\"b383c3e2\"}]}]}],\"id\":\"94fc0e43\"}]},{\"componentName\":\"TinyCol\",\"props\":{\"span\":\"4\",\"style\":\"display: flex; flex-direction: row-reverse; border-radius: 0px; height: 100%; justify-content: flex-start; align-items: center;\"},\"id\":\"10b73009\",\"children\":[{\"componentName\":\"TinyButton\",\"props\":{\"text\":\"下一步: 网络配置\",\"type\":\"danger\",\"style\":\"max-width: unset;\"},\"id\":\"0b584011\"}]}],\"id\":\"d414a473\"}],\"id\":\"e8ec029b\"}],\"fileName\":\"createVM\"}', 0, 0, 'staticPages', 0, 1, '1', 0, NULL, NULL, NULL, '1', '1', '2024-10-16 23:31:48', '2024-10-16 23:31:48', '1', '1'); + +INSERT INTO `t_user` (`id`, `username`, `email`, `enable`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`, `tenant_id`, `site_id`, `is_admin`, `is_public`) VALUES (1, '开发者', 'developer@lowcode.com', NULL, '1', '1', '2024-10-16 23:28:41', '2024-10-16 23:28:41', '1', '1', 1, NULL); +INSERT INTO `t_i18n_lang` (`id`, `lang`, `label`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`) VALUES (1, 'zh_CN', '简体中文', '1', '1', '2024-10-17 00:01:36', '2024-10-17 00:01:36'); +INSERT INTO `t_i18n_lang` (`id`, `lang`, `label`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`) VALUES (2, 'en_US', '美式英文', '1', '1', '2024-10-17 00:02:03', '2024-10-17 00:02:03'); +INSERT INTO `t_platform` (`id`, `name`, `published`, `last_build_info`, `description`, `latest_version`, `latest_history_id`, `material_history_id`, `image_url`, `sort_plugins`, `sort_toolbar`, `is_default`, `prettier_opts`, `set_default_by`, `app_extend_config`, `data_hash`, `business_category_id`, `theme_id`, `platform_url`, `vscode_url`, `tenant_id`, `site_id`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`) VALUES (1, 'default', 1, NULL, '专用设计器', '1.0.0', 1, 1, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '1', '1', '2024-11-14 22:17:39', '2024-11-14 22:17:39'); +INSERT INTO `t_platform_history` (`id`, `ref_id`, `version`, `name`, `publish_url`, `description`, `vscode_url`, `material_history_id`, `sub_count`, `material_pkg_name`, `material_version`, `image_url`, `tenant_id`, `renter_id`, `site_id`, `created_by`, `last_updated_by`, `created_time`, `last_updated_time`) VALUES (1, 1, '1.0.0', 'default', 'http://tinyengine.com', '默认设计器', NULL, 1, 1, '@opentiny/lowcode-alpha-material-materialstwo-1505', '1.0.8', NULL, '1', NULL, '1', '1', '1', '2024-11-14 22:20:25', '2024-11-14 22:20:25');