diff --git a/package.json b/package.json
index 8bb5200..c2a4c74 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,6 @@
"mitt": "^3.0.1",
"mockjs": "^1.1.0",
"monaco-editor": "0.36.0",
- "mqtt": "^4.3.7",
"nprogress": "^0.2.0",
"pinia": "^2.1.7",
"socket.io-client": "^4.7.2",
diff --git a/src/modules/base/components/avatar/index.tsx b/src/modules/base/components/avatar/index.tsx
index 1aaaa46..7547e12 100644
--- a/src/modules/base/components/avatar/index.tsx
+++ b/src/modules/base/components/avatar/index.tsx
@@ -11,7 +11,10 @@ export default defineComponent({
type: null,
default: UserFilled
},
- size: [String, Number] as PropType<"large" | "default" | "small" | number>,
+ size: {
+ type: [String, Number] as PropType<"large" | "default" | "small" | number>,
+ default: 40
+ },
shape: {
type: String as PropType<"circle" | "square">,
default: "square"
@@ -24,19 +27,26 @@ export default defineComponent({
setup(props) {
return () => {
+ const height = props.size + "px";
+
return (
-
+ >
+
+
);
};
}
diff --git a/src/modules/base/components/image/index.vue b/src/modules/base/components/image/index.vue
index b87f4e0..be7f51a 100644
--- a/src/modules/base/components/image/index.vue
+++ b/src/modules/base/components/image/index.vue
@@ -2,7 +2,6 @@
@@ -50,10 +49,6 @@ export default defineComponent({
fit: {
type: String as PropType<"" | "contain" | "cover" | "none" | "fill" | "scale-down">,
default: "cover"
- },
- justify: {
- type: String,
- default: "center"
}
},
diff --git a/src/modules/cloud/components/func-logs.vue b/src/modules/cloud/components/func-logs.vue
deleted file mode 100644
index defbd2f..0000000
--- a/src/modules/cloud/components/func-logs.vue
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/cloud/config.ts b/src/modules/cloud/config.ts
deleted file mode 100644
index 98bd2c6..0000000
--- a/src/modules/cloud/config.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import type { ModuleConfig } from "/@/cool";
-import { CodeDeclare } from "./dict";
-import { addDeclare } from "/@/plugins/editor-monaco";
-
-export default (): ModuleConfig => {
- return {
- views: [
- {
- path: "/cloud/func/dev",
- meta: {
- label: "云函数开发"
- },
- component: () => import("./views/func/dev.vue")
- }
- ],
-
- onLoad() {
- addDeclare(CodeDeclare);
- }
- };
-};
diff --git a/src/modules/cloud/dict/code.ts b/src/modules/cloud/dict/code.ts
deleted file mode 100644
index f541146..0000000
--- a/src/modules/cloud/dict/code.ts
+++ /dev/null
@@ -1,807 +0,0 @@
-export const CodeSnippets = {
- db: `import { BaseEntity } from '@cool-midway/core';
-import { Column, Entity } from 'typeorm';
-
-/**
- * 描述
- */
-@Entity('xxx_xxx')
-export class xxxEntity extends BaseEntity {
- @Column({ comment: 'xxx' })
- xxx: string;
-}`,
- func: `import { CloudCrud } from '@cool-midway/cloud';
-
-/**
- * 描述
- */
-export class Xxx extends CloudCrud {
- async main() {
- this.setCurdOption({
- entity: 'xxx',
- api: ['add', 'delete', 'update', 'info', 'list', 'page']
- });
- }
-}`,
- req: `{
- "method": "xxx",
- "params": {
-
- }
-}`
-};
-
-export const CodeDeclare = `
-declare module 'typeorm' {
- export declare function Entity(options?: EntityOptions): ClassDecorator;
- export declare function Entity(name?: string, options?: EntityOptions): ClassDecorator;
-
- export interface EntityOptions {
- /**
- * Table name.
- * If not specified then naming strategy will generate table name from entity name.
- */
- name?: string;
- /**
- * Specifies a default order by used for queries from this table when no explicit order by is specified.
- */
- orderBy?: OrderByCondition | ((object: any) => OrderByCondition | any);
- /**
- * Table's database engine type (like "InnoDB", "MyISAM", etc).
- * It is used only during table creation.
- * If you update this value and table is already created, it will not change table's engine type.
- * Note that not all databases support this option.
- */
- engine?: string;
- /**
- * Database name. Used in Mysql and Sql Server.
- */
- database?: string;
- /**
- * Schema name. Used in Postgres and Sql Server.
- */
- schema?: string;
- /**
- * Indicates if schema synchronization is enabled or disabled for this entity.
- * If it will be set to false then schema sync will and migrations ignore this entity.
- * By default schema synchronization is enabled for all entities.
- */
- synchronize?: boolean;
- /**
- * If set to 'true' this option disables Sqlite's default behaviour of secretly creating
- * an integer primary key column named 'rowid' on table creation.
- * @see https://www.sqlite.org/withoutrowid.html.
- */
- withoutRowid?: boolean;
- }
-
- export declare function Column(options: ColumnOptions): PropertyDecorator;
-
- /**
- * Describes all column's options.
- */
- export interface ColumnOptions extends ColumnCommonOptions {
- /**
- * Column type. Must be one of the value from the ColumnTypes class.
- */
- type?: ColumnType;
- /**
- * Column name in the database.
- */
- name?: string;
- /**
- * Column type's length. Used only on some column types.
- * For example type = "string" and length = "100" means that ORM will create a column with type varchar(100).
- */
- length?: string | number;
- /**
- * Column type's display width. Used only on some column types in MySQL.
- * For example, INT(4) specifies an INT with a display width of four digits.
- */
- width?: number;
- /**
- * Indicates if column's value can be set to NULL.
- * Default value is "false".
- */
- nullable?: boolean;
- /**
- * Indicates if column value is not updated by "save" operation.
- * It means you'll be able to write this value only when you first time insert the object.
- * Default value is "false".
- *
- * @deprecated Please use the \`update\` option instead. Careful, it takes
- * the opposite value to readonly.
- *
- */
- readonly?: boolean;
- /**
- * Indicates if column value is updated by "save" operation.
- * If false, you'll be able to write this value only when you first time insert the object.
- * Default value is "true".
- */
- update?: boolean;
- /**
- * Indicates if column is always selected by QueryBuilder and find operations.
- * Default value is "true".
- */
- select?: boolean;
- /**
- * Indicates if column is inserted by default.
- * Default value is "true".
- */
- insert?: boolean;
- /**
- * Default database value.
- */
- default?: any;
- /**
- * ON UPDATE trigger. Works only for MySQL.
- */
- onUpdate?: string;
- /**
- * Indicates if this column is a primary key.
- * Same can be achieved when @PrimaryColumn decorator is used.
- */
- primary?: boolean;
- /**
- * Specifies if column's value must be unique or not.
- */
- unique?: boolean;
- /**
- * Column comment. Not supported by all database types.
- */
- comment?: string;
- /**
- * The precision for a decimal (exact numeric) column (applies only for decimal column), which is the maximum
- * number of digits that are stored for the values.
- */
- precision?: number | null;
- /**
- * The scale for a decimal (exact numeric) column (applies only for decimal column), which represents the number
- * of digits to the right of the decimal point and must not be greater than precision.
- */
- scale?: number;
- /**
- * Puts ZEROFILL attribute on to numeric column. Works only for MySQL.
- * If you specify ZEROFILL for a numeric column, MySQL automatically adds the UNSIGNED attribute to this column
- */
- zerofill?: boolean;
- /**
- * Puts UNSIGNED attribute on to numeric column. Works only for MySQL.
- */
- unsigned?: boolean;
- /**
- * Defines a column character set.
- * Not supported by all database types.
- */
- charset?: string;
- /**
- * Defines a column collation.
- */
- collation?: string;
- /**
- * Array of possible enumerated values.
- */
- enum?: (string | number)[] | Object;
- /**
- * Exact name of enum
- */
- enumName?: string;
- /**
- * If this column is primary key then this specifies the name for it.
- */
- primaryKeyConstraintName?: string;
- /**
- * If this column is foreign key then this specifies the name for it.
- */
- foreignKeyConstraintName?: string;
- /**
- * Generated column expression.
- */
- asExpression?: string;
- /**
- * Generated column type.
- */
- generatedType?: "VIRTUAL" | "STORED";
- /**
- * Identity column type. Supports only in Postgres 10+.
- */
- generatedIdentity?: "ALWAYS" | "BY DEFAULT";
- /**
- * Return type of HSTORE column.
- * Returns value as string or as object.
- */
- hstoreType?: "object" | "string";
- /**
- * Indicates if this column is an array.
- * Can be simply set to true or array length can be specified.
- * Supported only by postgres.
- */
- array?: boolean;
- /**
- * Specifies a value transformer that is to be used to (un)marshal
- * this column when reading or writing to the database.
- */
- transformer?: ValueTransformer | ValueTransformer[];
- /**
- * Spatial Feature Type (Geometry, Point, Polygon, etc.)
- */
- spatialFeatureType?: string;
- /**
- * SRID (Spatial Reference ID (EPSG code))
- */
- srid?: number;
- }
-
- export declare function Index(options?: IndexOptions): ClassDecorator & PropertyDecorator;
- export interface IndexOptions {
- /**
- * Indicates if this composite index must be unique or not.
- */
- unique?: boolean;
- /**
- * The SPATIAL modifier indexes the entire column and does not allow indexed columns to contain NULL values.
- * Works only in MySQL and PostgreSQL.
- */
- spatial?: boolean;
- /**
- * The FULLTEXT modifier indexes the entire column and does not allow prefixing.
- * Works only in MySQL.
- */
- fulltext?: boolean;
- /**
- * NULL_FILTERED indexes are particularly useful for indexing sparse columns, where most rows contain a NULL value.
- * In these cases, the NULL_FILTERED index can be considerably smaller and more efficient to maintain than
- * a normal index that includes NULL values.
- *
- * Works only in Spanner.
- */
- nullFiltered?: boolean;
- /**
- * Fulltext parser.
- * Works only in MySQL.
- */
- parser?: string;
- /**
- * Index filter condition.
- */
- where?: string;
- /**
- * If true, the index only references documents with the specified field.
- * These indexes use less space but behave differently in some situations (particularly sorts).
- * This option is only supported for mongodb database.
- */
- sparse?: boolean;
- /**
- * Builds the index in the background so that building an index an does not block other database activities.
- * This option is only supported for mongodb database.
- */
- background?: boolean;
- /**
- * Specifies a time to live, in seconds.
- * This option is only supported for mongodb database.
- */
- expireAfterSeconds?: number;
- }
-}
-
-declare module '@cool-midway/core' {
- export declare abstract class BaseEntity extends CoolBaseEntity {
- id: number;
- createTime: Date;
- updateTime: Date;
- }
-}
-
-declare module '@cool-midway/cloud' {
- export type ApiTypes = "add" | "delete" | "update" | "page" | "info" | "list";
- // Crud配置
-
- export interface CurdOption {
- // 路由前缀,不配置默认是按Controller下的文件夹路径
- prefix?: string;
- // curd api接口
- api: ApiTypes[];
- // 分页查询配置
- pageQueryOp?: QueryOp | Function;
- // 非分页查询配置
- listQueryOp?: QueryOp | Function;
- // 插入参数
- insertParam?: Function;
- // 操作之前
- before?: Function;
- // info 忽略返回属性
- infoIgnoreProperty?: string[];
- // 实体
- entity: any;
- // 服务
- service?: any;
- // api标签
- urlTag?: {
- name: "ignoreToken" | string;
- url: ApiTypes[];
- };
- }
- export interface JoinOp {
- // 实体
- entity: any;
- // 别名
- alias: string;
- // 关联条件
- condition: string;
- // 关联类型
- type?: "innerJoin" | "leftJoin";
- }
-
- // 字段匹配
- export interface FieldEq {
- // 字段
- column: string;
- // 请求参数
- requestParam: string;
- }
- // 查询配置
- export interface QueryOp {
- // 需要模糊查询的字段
- keyWordLikeFields?: string[];
- // 查询条件
- where?: Function;
- // 查询字段
- select?: string[];
- // 字段相等
- fieldEq?: string[] | FieldEq[];
- // 添加排序条件
- addOrderBy?: {};
- // 关联配置
- join?: JoinOp[];
- // 其他条件
- extend?: Function;
- }
-
- // Controller 配置
- export interface ControllerOption {
- // crud配置 如果是字符串则为路由前缀,不配置默认是按Controller下的文件夹路径
- curdOption?: CurdOption & string;
- // 路由配置
- routerOptions?: {
- // 是否敏感
- sensitive?: boolean;
- // 路由中间件
- middleware?: MiddlewareParamArray;
- // 别名
- alias?: string[];
- // 描述
- description?: string;
- // 标签名称
- tagName?: string;
- };
- }
-
- /**
- * 模块配置
- */
- export interface ModuleConfig {
- /** 名称 */
- name: string;
- /** 描述 */
- description: string;
- /** 模块中间件 */
- middlewares?: MiddlewareParamArray;
- /** 全局中间件 */
- globalMiddlewares?: MiddlewareParamArray;
- /** 模块加载顺序,默认为0,值越大越优先加载 */
- order?: number;
- }
- export interface CoolConfig {
- /** 是否自动导入数据库 */
- initDB?: boolean;
- /** crud配置 */
- crud?: {
- /** 软删除 */
- softDelete: boolean;
- /** 分页查询每页条数 */
- pageSize: number;
- };
- /** elasticsearch配置 */
- es?: {
- nodes: string[];
- };
- /** pay */
- pay?: {
- /** 微信支付 */
- wx?: CoolWxPayConfig;
- /** 支付宝支付 */
- ali?: CoolAliPayConfig;
- };
- /** rpc */
- rpc?: CoolRpcConfig;
- /** redis */
- redis?: RedisConfig | RedisConfig[];
- /** 文件上传 */
- file?: {
- /** 上传模式 */
- mode: MODETYPE;
- /** 本地上传 文件地址前缀 */
- domain?: string;
- /** oss */
- oss?: OSSConfig;
- /** cos */
- cos?: COSConfig;
- /** qiniu */
- qiniu?: QINIUConfig;
- };
- /** IOT 配置 */
- iot: CoolIotConfig;
- }
- export interface CoolRpcConfig {
- /** 服务名称 */
- name: string;
- /** redis */
- redis: RedisConfig & RedisConfig[] & unknown;
- }
- export interface RedisConfig {
- /** host */
- host: string;
- /** password */
- password: string;
- /** port */
- port: number;
- /** db */
- db: number;
- }
- export declare enum MODETYPE {
- /** 本地 */
- LOCAL = "local",
- /** 云存储 */
- CLOUD = "cloud",
- /** 其他 */
- OTHER = "other"
- }
- export declare enum CLOUDTYPE {
- /** 阿里云存储 */
- OSS = "oss",
- /** 腾讯云存储 */
- COS = "cos",
- /** 七牛云存储 */
- QINIU = "qiniu"
- }
- /**
- * 上传模式
- */
- export interface Mode {
- /** 模式 */
- mode: MODETYPE;
- /** 类型 */
- type: string;
- }
- /**
- * 模块配置
- */
- export interface CoolFileConfig {
- /** 上传模式 */
- mode: MODETYPE;
- /** 阿里云oss 配置 */
- oss: OSSConfig;
- /** 腾讯云 cos配置 */
- cos: COSConfig;
- /** 七牛云 配置 */
- qiniu: QINIUConfig;
- /** 文件前缀 */
- domain: string;
- }
- /**
- * OSS 配置
- */
- export interface OSSConfig {
- /** 阿里云accessKeyId */
- accessKeyId: string;
- /** 阿里云accessKeySecret */
- accessKeySecret: string;
- /** 阿里云oss的bucket */
- bucket: string;
- /** 阿里云oss的endpoint */
- endpoint: string;
- /** 阿里云oss的timeout */
- timeout: string;
- /** 签名失效时间,毫秒 */
- expAfter?: number;
- /** 文件最大的 size */
- maxSize?: number;
- }
- /**
- * COS 配置
- */
- export interface COSConfig {
- /** 腾讯云accessKeyId */
- accessKeyId: string;
- /** 腾讯云accessKeySecret */
- accessKeySecret: string;
- /** 腾讯云cos的bucket */
- bucket: string;
- /** 腾讯云cos的区域 */
- region: string;
- /** 腾讯云cos的公网访问地址 */
- publicDomain: string;
- /** 上传持续时间 */
- durationSeconds?: number;
- /** 允许操作(上传)的对象前缀 */
- allowPrefix?: string;
- /** 密钥的权限列表 */
- allowActions?: string[];
- }
- export interface QINIUConfig {
- /** 七牛云accessKeyId */
- accessKeyId: string;
- /** 七牛云accessKeySecret */
- accessKeySecret: string;
- /** 七牛云cos的bucket */
- bucket: string;
- /** 七牛云cos的区域 */
- region: string;
- /** 七牛云cos的公网访问地址 */
- publicDomain: string;
- /** 上传地址 */
- uploadUrl?: string;
- /** 上传fileKey */
- fileKey?: string;
- }
- /**
- * 微信支付配置
- */
- export interface CoolWxPayConfig {
- /** 直连商户申请的公众号或移动应用appid。 */
- appid: string;
- /** 商户号 */
- mchid: string;
- /** 可选参数 证书序列号 */
- serial_no?: string;
- /** 回调链接 */
- notify_url: string;
- /** 公钥 */
- publicKey: Buffer;
- /** 私钥 */
- privateKey: Buffer;
- /** 可选参数 认证类型,目前为WECHATPAY2-SHA256-RSA2048 */
- authType?: string;
- /** 可选参数 User-Agent */
- userAgent?: string;
- /** 可选参数 APIv3密钥 */
- key?: string;
- }
- /**
- * 支付宝支付配置
- */
- export interface CoolAliPayConfig {
- /** 支付回调地址 */
- notifyUrl: string;
- /** 应用ID */
- appId: string;
- /**
- * 应用私钥字符串
- * RSA签名验签工具:https://docs.open.alipay.com/291/106097)
- * 密钥格式一栏请选择 “PKCS1(非JAVA适用)”
- */
- privateKey: string;
- /** 签名类型 */
- signType?: "RSA2" | "RSA";
- /** 支付宝公钥(需要对返回值做验签时候必填) */
- alipayPublicKey?: string;
- /** 网关 */
- gateway?: string;
- /** 网关超时时间(单位毫秒,默认 5s) */
- timeout?: number;
- /** 是否把网关返回的下划线 key 转换为驼峰写法 */
- camelcase?: boolean;
- /** 编码(只支持 utf-8) */
- charset?: "utf-8";
- /** api版本 */
- version?: "1.0";
- urllib?: any;
- /** 指定private key类型, 默认: PKCS1, PKCS8: PRIVATE KEY, PKCS1: RSA PRIVATE KEY */
- keyType?: "PKCS1" | "PKCS8";
- /** 应用公钥证书文件路径 */
- appCertPath?: string;
- /** 应用公钥证书文件内容 */
- appCertContent?: string | Buffer;
- /** 应用公钥证书sn */
- appCertSn?: string;
- /** 支付宝根证书文件路径 */
- alipayRootCertPath?: string;
- /** 支付宝根证书文件内容 */
- alipayRootCertContent?: string | Buffer;
- /** 支付宝根证书sn */
- alipayRootCertSn?: string;
- /** 支付宝公钥证书文件路径 */
- alipayPublicCertPath?: string;
- /** 支付宝公钥证书文件内容 */
- alipayPublicCertContent?: string | Buffer;
- /** 支付宝公钥证书sn */
- alipayCertSn?: string;
- /** AES密钥,调用AES加解密相关接口时需要 */
- encryptKey?: string;
- /** 服务器地址 */
- wsServiceUrl?: string;
- }
- /**
- * IOT配置
- */
- export interface CoolIotConfig {
- /** MQTT服务端口 */
- port: number;
- /** MQTT Websocket服务端口 */
- wsPort: number;
- /** redis 配置 mqtt cluster下必须要配置 */
- redis?: {
- /** host */
- host: string;
- /** port */
- port: number;
- /** password */
- password: string;
- /** db */
- db: number;
- };
- /** 发布消息配置 */
- publish?: PublishPacket;
- /** 认证 */
- auth?: {
- /** 用户 */
- username: string;
- /** 密码 */
- password: string;
- };
- /** 服务配置 */
- serve?: AedesOptions;
- }
-
- export declare abstract class CloudCrud {
- ctx: any;
- curdOption: CurdOption;
- coolCloudDb: CoolCloudDb;
- coolConfig: CoolConfig;
- entity: Repository
;
- app: IMidwayApplication;
- req: CloudReq;
- coolEventManager: CoolEventManager;
- protected sqlParams: any;
- setCurdOption(curdOption: CurdOption): void;
- /**
- * 设置实体
- * @param entityModel
- */
- setEntity(): Promise;
- abstract main(req: CloudReq): Promise;
- init(req: CloudReq): Promise;
- /**
- * 参数安全性检查
- * @param params
- */
- paramSafetyCheck(params: any): Promise;
- /**
- * 非分页查询
- * @param query 查询条件
- * @param option 查询配置
- */
- list(query: any): Promise;
- /**
- * 执行SQL并获得分页数据
- * @param sql 执行的sql语句
- * @param query 分页查询条件
- * @param autoSort 是否自动排序
- */
- sqlRenderPage(sql: any, query: any, autoSort?: boolean): Promise<{
- list: any;
- pagination: {
- page: number;
- size: number;
- total: number;
- };
- }>;
- /**
- * 分页查询
- * @param connectionName 连接名
- */
- page(query: any): Promise<{
- list: any;
- pagination: {
- page: number;
- size: number;
- total: number;
- };
- }>;
- /**
- * 获得查询个数的SQL
- * @param sql
- */
- getCountSql(sql: any): string;
- /**
- * 操作entity获得分页数据,不用写sql
- * @param find QueryBuilder
- * @param query
- * @param autoSort
- * @param connectionName
- */
- entityRenderPage(find: SelectQueryBuilder, query: any, autoSort?: boolean): Promise<{
- list: any[];
- pagination: {
- page: number;
- size: number;
- total: number;
- };
- }>;
- /**
- * 检查排序
- * @param sort 排序
- * @returns
- */
- private checkSort;
- /**
- * 原生查询
- * @param sql
- * @param params
- */
- nativeQuery(sql: any, params?: any): Promise;
- /**
- * 获得ORM管理
- * @param connectionName 连接名称
- */
- getOrmManager(): import("../db/source").CoolDataSource;
- private before;
- /**
- * 插入参数值
- * @param curdOption 配置
- */
- private insertParam;
- /**
- * 新增|修改|删除 之后的操作
- * @param data 对应数据
- */
- modifyAfter(data: any, type: 'delete' | 'update' | 'add'): Promise;
- /**
- * 新增|修改|删除 之前的操作
- * @param data 对应数据
- */
- modifyBefore(data: any, type: 'delete' | 'update' | 'add'): Promise;
- /**
- * 新增
- * @param param
- * @returns
- */
- add(param: any): Promise<{
- id: any;
- }>;
- /**
- * 新增|修改
- * @param param 数据
- */
- addOrUpdate(param: any | any[]): Promise;
- /**
- * 删除
- * @param ids 删除的ID集合 如:[1,2,3] 或者 1,2,3
- */
- delete(ids: any): Promise;
- /**
- * 软删除
- * @param ids 删除的ID数组
- * @param entity 实体
- */
- softDelete(ids: string[], entity?: Repository, userId?: string): Promise;
- /**
- * 修改
- * @param param 数据
- */
- update(param: any): Promise;
- /**
- * 获得单个ID
- * @param id ID
- */
- info(id: any): Promise;
- /**
- * 构建查询配置
- * @param query 前端查询
- * @param option
- */
- private getOptionFind;
- }
-}
-`;
diff --git a/src/modules/cloud/dict/index.ts b/src/modules/cloud/dict/index.ts
deleted file mode 100644
index c68dd88..0000000
--- a/src/modules/cloud/dict/index.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-export const Status = [
- {
- label: "启用",
- value: 1,
- type: "success"
- },
- {
- label: "禁用",
- value: 0,
- type: "danger"
- }
-];
-
-export const LogType = [
- {
- label: "成功",
- value: 1,
- type: "success"
- },
- {
- label: "失败",
- value: 0,
- type: "danger"
- }
-];
-
-export * from "./code";
diff --git a/src/modules/cloud/views/db.vue b/src/modules/cloud/views/db.vue
deleted file mode 100644
index 9ef51b5..0000000
--- a/src/modules/cloud/views/db.vue
+++ /dev/null
@@ -1,302 +0,0 @@
-
-
-
- {{ item.name }} - {{ item.tableName }} - {{ item.className }}
-
-
-
-
- 刷新
- 添加
- 清空
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/cloud/views/func/dev.vue b/src/modules/cloud/views/func/dev.vue
deleted file mode 100644
index 17ad86b..0000000
--- a/src/modules/cloud/views/func/dev.vue
+++ /dev/null
@@ -1,382 +0,0 @@
-
-
-
-
-
-
-
-
云函数({{ info.name }})
-
-
-
-
- 刷新
-
-
-
-
- 保存(S)
-
-
-
-
-
-
- {
- onCodeChange('devCode', val);
- }
- "
- @keydown="onCodeKeydown"
- />
-
-
-
-
-
-
-
- 调用参数
-
- 运行(B)
-
-
-
- {
- onCodeChange('devReq', val);
- }
- "
- />
-
-
-
-
-
-
-
- 执行日志
-
- 查看全部
-
-
-
-
-
-
-
- 执行方法:{{ debug.log.request?.method }}
-
-
-
- 执行时间:2023-02-16 01:23:00
-
-
-
- 执行状态:
- 成功
- 失败
-
- 耗时:
- {{ debug.log.time }}ms
-
-
- 执行结果:
-
-
-
-
- {{ debug.log.error }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/cloud/views/func/info.vue b/src/modules/cloud/views/func/info.vue
deleted file mode 100644
index 826d1c0..0000000
--- a/src/modules/cloud/views/func/info.vue
+++ /dev/null
@@ -1,154 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/design/components/config.vue b/src/modules/design/components/config.vue
deleted file mode 100644
index 2f83339..0000000
--- a/src/modules/design/components/config.vue
+++ /dev/null
@@ -1,195 +0,0 @@
-
-
-
- {{ t }}
- 删除
-
-
-
-
-
-
- {{ tips }}
-
-
-
-
-
-
- 必填
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/design/components/demo.vue b/src/modules/design/components/demo.vue
deleted file mode 100644
index 7cf149d..0000000
--- a/src/modules/design/components/demo.vue
+++ /dev/null
@@ -1,969 +0,0 @@
-
-
-
-
-
{{ group.label }}
-
-
-
-
-
-
{{ item.label }}
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/design/components/demo/checkbox.vue b/src/modules/design/components/demo/checkbox.vue
deleted file mode 100644
index 065e109..0000000
--- a/src/modules/design/components/demo/checkbox.vue
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
- {{ text }} {{ tips }}
-
-
-
-
-
-
diff --git a/src/modules/design/components/demo/group.vue b/src/modules/design/components/demo/group.vue
deleted file mode 100644
index 7d255a0..0000000
--- a/src/modules/design/components/demo/group.vue
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
{{ label }}
-
-
-
- 可拖入多个组件(不包含组合组件)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/design/components/demo/item.vue b/src/modules/design/components/demo/item.vue
deleted file mode 100644
index ca60416..0000000
--- a/src/modules/design/components/demo/item.vue
+++ /dev/null
@@ -1,172 +0,0 @@
-
-
-
{{ label }}
-
-
-
-
-
-
-
- 上传附件
-
-
-
-
-
-
-
-
- {{ placeholder }}
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/design/components/demo/num-range.vue b/src/modules/design/components/demo/num-range.vue
deleted file mode 100644
index 336c2ba..0000000
--- a/src/modules/design/components/demo/num-range.vue
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
- 至
-
-
-
-
-
-
-
diff --git a/src/modules/design/components/demo/select.vue b/src/modules/design/components/demo/select.vue
deleted file mode 100644
index dc987c4..0000000
--- a/src/modules/design/components/demo/select.vue
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/modules/design/components/demo/time-range.vue b/src/modules/design/components/demo/time-range.vue
deleted file mode 100644
index 67b8a93..0000000
--- a/src/modules/design/components/demo/time-range.vue
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/design/components/index.vue b/src/modules/design/components/index.vue
deleted file mode 100644
index 8f530da..0000000
--- a/src/modules/design/components/index.vue
+++ /dev/null
@@ -1,440 +0,0 @@
-
-
-
-
-
-
-
-
设计页
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 点击或者拖动组件添加
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/modules/design/config.ts b/src/modules/design/config.ts
deleted file mode 100644
index e8a67d3..0000000
--- a/src/modules/design/config.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import type { ModuleConfig } from "/@/cool";
-
-export default (): ModuleConfig => {
- return {
- components: Object.values(import.meta.glob("./components/demo/*"))
- };
-};
diff --git a/src/modules/design/hooks/index.ts b/src/modules/design/hooks/index.ts
deleted file mode 100644
index 3d13ca3..0000000
--- a/src/modules/design/hooks/index.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { inject } from "vue";
-import { Dp } from "../types";
-
-export function useDp() {
- const dp = inject("dp") as Dp.Provide;
-
- return { dp };
-}
diff --git a/src/modules/design/static/icon/address.png b/src/modules/design/static/icon/address.png
deleted file mode 100644
index fff0af8..0000000
Binary files a/src/modules/design/static/icon/address.png and /dev/null differ
diff --git a/src/modules/design/static/icon/amount.png b/src/modules/design/static/icon/amount.png
deleted file mode 100644
index 019f1c5..0000000
Binary files a/src/modules/design/static/icon/amount.png and /dev/null differ
diff --git a/src/modules/design/static/icon/buka.png b/src/modules/design/static/icon/buka.png
deleted file mode 100644
index d08799e..0000000
Binary files a/src/modules/design/static/icon/buka.png and /dev/null differ
diff --git a/src/modules/design/static/icon/checkbox.png b/src/modules/design/static/icon/checkbox.png
deleted file mode 100644
index b88c31a..0000000
Binary files a/src/modules/design/static/icon/checkbox.png and /dev/null differ
diff --git a/src/modules/design/static/icon/chuchai.png b/src/modules/design/static/icon/chuchai.png
deleted file mode 100644
index 7e28b22..0000000
Binary files a/src/modules/design/static/icon/chuchai.png and /dev/null differ
diff --git a/src/modules/design/static/icon/file.png b/src/modules/design/static/icon/file.png
deleted file mode 100644
index 350016d..0000000
Binary files a/src/modules/design/static/icon/file.png and /dev/null differ
diff --git a/src/modules/design/static/icon/group.png b/src/modules/design/static/icon/group.png
deleted file mode 100644
index 9db76a6..0000000
Binary files a/src/modules/design/static/icon/group.png and /dev/null differ
diff --git a/src/modules/design/static/icon/jiaban.png b/src/modules/design/static/icon/jiaban.png
deleted file mode 100644
index aec7273..0000000
Binary files a/src/modules/design/static/icon/jiaban.png and /dev/null differ
diff --git a/src/modules/design/static/icon/number.png b/src/modules/design/static/icon/number.png
deleted file mode 100644
index ed303bf..0000000
Binary files a/src/modules/design/static/icon/number.png and /dev/null differ
diff --git a/src/modules/design/static/icon/pic.png b/src/modules/design/static/icon/pic.png
deleted file mode 100644
index 3a357e9..0000000
Binary files a/src/modules/design/static/icon/pic.png and /dev/null differ
diff --git a/src/modules/design/static/icon/qingjia.png b/src/modules/design/static/icon/qingjia.png
deleted file mode 100644
index 9cc6dd2..0000000
Binary files a/src/modules/design/static/icon/qingjia.png and /dev/null differ
diff --git a/src/modules/design/static/icon/radio.png b/src/modules/design/static/icon/radio.png
deleted file mode 100644
index ffe6821..0000000
Binary files a/src/modules/design/static/icon/radio.png and /dev/null differ
diff --git a/src/modules/design/static/icon/text.png b/src/modules/design/static/icon/text.png
deleted file mode 100644
index 8ec4720..0000000
Binary files a/src/modules/design/static/icon/text.png and /dev/null differ
diff --git a/src/modules/design/static/icon/textarea.png b/src/modules/design/static/icon/textarea.png
deleted file mode 100644
index 29c6f53..0000000
Binary files a/src/modules/design/static/icon/textarea.png and /dev/null differ
diff --git a/src/modules/design/static/icon/tiaoban.png b/src/modules/design/static/icon/tiaoban.png
deleted file mode 100644
index 2bee11b..0000000
Binary files a/src/modules/design/static/icon/tiaoban.png and /dev/null differ
diff --git a/src/modules/design/static/icon/time-range.png b/src/modules/design/static/icon/time-range.png
deleted file mode 100644
index cdbefb2..0000000
Binary files a/src/modules/design/static/icon/time-range.png and /dev/null differ
diff --git a/src/modules/design/static/icon/time.png b/src/modules/design/static/icon/time.png
deleted file mode 100644
index 5cde064..0000000
Binary files a/src/modules/design/static/icon/time.png and /dev/null differ
diff --git a/src/modules/design/static/icon/waichu.png b/src/modules/design/static/icon/waichu.png
deleted file mode 100644
index 238ea91..0000000
Binary files a/src/modules/design/static/icon/waichu.png and /dev/null differ
diff --git a/src/modules/design/types/index.d.ts b/src/modules/design/types/index.d.ts
deleted file mode 100644
index b3b7e14..0000000
--- a/src/modules/design/types/index.d.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-export declare namespace Dp {
- interface DemoItem {
- label: string;
- name?: string;
- required?: boolean;
- getType?: "auto";
- component?: {
- name?: string;
- props?: {
- children?: any[];
- [key: string]: any;
- };
- };
- config?: {
- defs?: string[];
- tips?: string;
- disabled?: boolean;
- items?: ClForm.Item[];
- [key: string]: any;
- };
- group?: DemoItem[];
- [key: string]: any;
- }
-
- interface Provide {
- form: {
- [key: string]: any;
- };
- get(prop: string): any;
- getGroup(id: string): any;
- getData(): any[];
- toDet(item: any): void;
- setActive(id: string): void;
- add(data: any): void;
- remove(index: number): void;
- removeBy(options: { id?: string; index?: number }): void;
- clear(): boolean;
- hasTemp(): boolean;
- clearConfig(id?: string): void;
- saveDraft(): void;
- scrollToBottom(): void;
- }
-}
diff --git a/src/modules/design/views/page.vue b/src/modules/design/views/page.vue
deleted file mode 100644
index 2aa54d8..0000000
--- a/src/modules/design/views/page.vue
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/modules/iot/hooks/index.ts b/src/modules/iot/hooks/index.ts
deleted file mode 100644
index 1e1a253..0000000
--- a/src/modules/iot/hooks/index.ts
+++ /dev/null
@@ -1,60 +0,0 @@
-import mqtt from "mqtt/dist/mqtt.min";
-import { useCool } from "/@/cool";
-
-let client: mqtt.MqttClient;
-
-export function useMqtt() {
- const { mitt } = useCool();
-
- function send(id: string, text: string) {
- client?.publish(id, text);
- }
-
- function subscribe(id: string) {
- console.log("[iot] mqtt subscribe", id);
-
- client?.subscribe(`${id}@admin`, function (err: string) {
- if (err) {
- console.error(err);
- }
- });
- }
-
- function connect() {
- // 断开
- disconnect();
-
- // 连接
- client = mqtt.connect("ws://127.0.0.1:8083");
-
- if (client) {
- client.on("connect", function () {
- console.log("[iot] mqtt connect");
- });
-
- client.on("message", function (topic: string, message: string) {
- mitt.emit("iot.message", {
- id: topic.split("@")[0],
- message: message.toString()
- });
- });
-
- client.on("error", function (err: string) {
- console.error(err);
- client?.reconnect();
- });
- }
- }
-
- function disconnect() {
- client?.end();
- }
-
- return {
- client,
- connect,
- disconnect,
- subscribe,
- send
- };
-}
diff --git a/src/modules/iot/static/icon/device.png b/src/modules/iot/static/icon/device.png
deleted file mode 100644
index ffe09ee..0000000
Binary files a/src/modules/iot/static/icon/device.png and /dev/null differ
diff --git a/src/modules/iot/views/device.vue b/src/modules/iot/views/device.vue
deleted file mode 100644
index 43338f7..0000000
--- a/src/modules/iot/views/device.vue
+++ /dev/null
@@ -1,474 +0,0 @@
-
-
-
-
-
-
-
-
-
-
{{ item.name }}
-
- {{ item.uniqueId }}
-
-
-
-
- {{ item.status ? "在线" : "离线" }}
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
{
- onContextMenu(e, item);
- }
- "
- >
-
-
- {{ item.data }}
-
-
-
-
- {{ dayjs(item.createTime).format("YYYY-MM-DD HH:mm:ss") }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/yarn.lock b/yarn.lock
index 7675913..998e5d6 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1366,11 +1366,6 @@ balanced-match@^1.0.0:
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
-base64-js@^1.3.1:
- version "1.5.1"
- resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
- integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
-
before-after-hook@^2.2.0:
version "2.2.3"
resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.3.tgz#c51e809c81a4e354084422b9b26bad88249c517c"
@@ -1381,15 +1376,6 @@ binary-extensions@^2.0.0:
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
-bl@^4.0.2:
- version "4.1.0"
- resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a"
- integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==
- dependencies:
- buffer "^5.5.0"
- inherits "^2.0.4"
- readable-stream "^3.4.0"
-
boolbase@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
@@ -1432,14 +1418,6 @@ buffer-from@^1.0.0:
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
-buffer@^5.5.0:
- version "5.7.1"
- resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0"
- integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==
- dependencies:
- base64-js "^1.3.1"
- ieee754 "^1.1.13"
-
call-bind@^1.0.2, call-bind@^1.0.5, call-bind@^1.0.6, call-bind@^1.0.7:
version "1.0.7"
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9"
@@ -1571,14 +1549,6 @@ commander@^9:
resolved "https://registry.yarnpkg.com/commander/-/commander-9.5.0.tgz#bc08d1eb5cedf7ccb797a96199d41c7bc3e60d30"
integrity sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==
-commist@^1.0.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/commist/-/commist-1.1.0.tgz#17811ec6978f6c15ee4de80c45c9beb77cee35d5"
- integrity sha512-rraC8NXWOEjhADbZe9QBNzLAN5Q3fsTPQtBV+fEVj6xKIgDgNiEVE6ZNfHpZOqfQ21YUzfVNUXLOEZquYvQPPg==
- dependencies:
- leven "^2.1.0"
- minimist "^1.1.0"
-
compute-scroll-into-view@^1.0.20:
version "1.0.20"
resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz#1768b5522d1172754f5d0c9b02de3af6be506a43"
@@ -1589,16 +1559,6 @@ concat-map@0.0.1:
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
-concat-stream@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-2.0.0.tgz#414cf5af790a48c60ab9be4527d56d5e41133cb1"
- integrity sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==
- dependencies:
- buffer-from "^1.0.0"
- inherits "^2.0.3"
- readable-stream "^3.0.2"
- typedarray "^0.0.6"
-
convert-source-map@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a"
@@ -1646,7 +1606,7 @@ dayjs@^1.11.10, dayjs@^1.11.3:
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.10.tgz#68acea85317a6e164457d6d6947564029a6a16a0"
integrity sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==
-debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4, debug@~4.3.1, debug@~4.3.2:
+debug@^4.1.0, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4, debug@~4.3.1, debug@~4.3.2:
version "4.3.4"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
@@ -1712,16 +1672,6 @@ dom7@^3.0.0:
dependencies:
ssr-window "^3.0.0-alpha.1"
-duplexify@^4.1.1:
- version "4.1.2"
- resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-4.1.2.tgz#18b4f8d28289132fa0b9573c898d9f903f81c7b0"
- integrity sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==
- dependencies:
- end-of-stream "^1.4.1"
- inherits "^2.0.3"
- readable-stream "^3.1.1"
- stream-shift "^1.0.0"
-
eastasianwidth@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb"
@@ -1771,13 +1721,6 @@ emoji-regex@^9.2.2:
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72"
integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==
-end-of-stream@^1.1.0, end-of-stream@^1.4.1:
- version "1.4.4"
- resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
- integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==
- dependencies:
- once "^1.4.0"
-
engine.io-client@~6.5.2:
version "6.5.3"
resolved "https://registry.yarnpkg.com/engine.io-client/-/engine.io-client-6.5.3.tgz#4cf6fa24845029b238f83c628916d9149c399bc5"
@@ -2312,7 +2255,7 @@ glob@^10.3.10:
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
path-scurry "^1.10.1"
-glob@^7.0.0, glob@^7.1.3, glob@^7.1.6:
+glob@^7.0.0, glob@^7.1.3:
version "7.2.3"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
@@ -2418,14 +2361,6 @@ hasown@^2.0.0, hasown@^2.0.1:
dependencies:
function-bind "^1.1.2"
-help-me@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/help-me/-/help-me-3.0.0.tgz#9803c81b5f346ad2bce2c6a0ba01b82257d319e8"
- integrity sha512-hx73jClhyk910sidBB7ERlnhMlFsJJIBqSVMFDwPN8o2v9nmp5KgLq1Xz1Bf1fCMMZ6mPrX159iG0VLy/fPMtQ==
- dependencies:
- glob "^7.1.6"
- readable-stream "^3.6.0"
-
html-tags@^3.3.1:
version "3.3.1"
resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.3.1.tgz#a04026a18c882e4bba8a01a3d39cfe465d40b5ce"
@@ -2443,11 +2378,6 @@ i18next@^20.4.0:
dependencies:
"@babel/runtime" "^7.12.0"
-ieee754@^1.1.13:
- version "1.2.1"
- resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
- integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
-
ignore@^5.2.0, ignore@^5.2.4:
version "5.3.1"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef"
@@ -2484,7 +2414,7 @@ inflight@^1.0.4:
once "^1.3.0"
wrappy "1"
-inherits@2, inherits@^2.0.3, inherits@^2.0.4:
+inherits@2:
version "2.0.4"
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
@@ -2680,11 +2610,6 @@ jackspeak@^2.3.5:
optionalDependencies:
"@pkgjs/parseargs" "^0.11.0"
-js-sdsl@4.3.0:
- version "4.3.0"
- resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.3.0.tgz#aeefe32a451f7af88425b11fdb5f58c90ae1d711"
- integrity sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==
-
js-tokens@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
@@ -2738,11 +2663,6 @@ keyv@^4.5.3:
dependencies:
json-buffer "3.0.1"
-leven@^2.1.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580"
- integrity sha512-nvVPLpIHUxCUoRLrFqTgSxXJ614d8AgQoWl7zPe/2VadE8+1dpU3LBhowRuBAcuwruWtOdD8oYC9jDNJjXDPyA==
-
levn@^0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade"
@@ -2902,11 +2822,6 @@ minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
dependencies:
brace-expansion "^1.1.7"
-minimist@^1.1.0, minimist@^1.2.5:
- version "1.2.8"
- resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
- integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
-
"minipass@^5.0.0 || ^6.0.2 || ^7.0.0":
version "7.0.4"
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c"
@@ -2933,38 +2848,6 @@ monaco-editor@0.36.0:
pin-github-action "^1.8.0"
shelljs "^0.8.5"
-mqtt-packet@^6.8.0:
- version "6.10.0"
- resolved "https://registry.yarnpkg.com/mqtt-packet/-/mqtt-packet-6.10.0.tgz#c8b507832c4152e3e511c0efa104ae4a64cd418f"
- integrity sha512-ja8+mFKIHdB1Tpl6vac+sktqy3gA8t9Mduom1BA75cI+R9AHnZOiaBQwpGiWnaVJLDGRdNhQmFaAqd7tkKSMGA==
- dependencies:
- bl "^4.0.2"
- debug "^4.1.1"
- process-nextick-args "^2.0.1"
-
-mqtt@^4.3.7:
- version "4.3.8"
- resolved "https://registry.yarnpkg.com/mqtt/-/mqtt-4.3.8.tgz#b8cc9a6eb5e4e0cb6eea699f24cd70dd7b228f1d"
- integrity sha512-2xT75uYa0kiPEF/PE0VPdavmEkoBzMT/UL9moid0rAvlCtV48qBwxD62m7Ld/4j8tSkIO1E/iqRl/S72SEOhOw==
- dependencies:
- commist "^1.0.0"
- concat-stream "^2.0.0"
- debug "^4.1.1"
- duplexify "^4.1.1"
- help-me "^3.0.0"
- inherits "^2.0.3"
- lru-cache "^6.0.0"
- minimist "^1.2.5"
- mqtt-packet "^6.8.0"
- number-allocator "^1.0.9"
- pump "^3.0.0"
- readable-stream "^3.6.0"
- reinterval "^1.1.0"
- rfdc "^1.3.0"
- split2 "^3.1.0"
- ws "^7.5.5"
- xtend "^4.0.2"
-
ms@2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
@@ -3024,14 +2907,6 @@ nth-check@^2.1.1:
dependencies:
boolbase "^1.0.0"
-number-allocator@^1.0.9:
- version "1.0.14"
- resolved "https://registry.yarnpkg.com/number-allocator/-/number-allocator-1.0.14.tgz#1f2e32855498a7740dcc8c78bed54592d930ee4d"
- integrity sha512-OrL44UTVAvkKdOdRQZIJpLkAdjXGTRda052sN4sO77bKEzYYqWKMBjQvrJFzqygI99gL6Z4u2xctPW1tB8ErvA==
- dependencies:
- debug "^4.3.1"
- js-sdsl "4.3.0"
-
object-inspect@^1.13.1:
version "1.13.1"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2"
@@ -3052,7 +2927,7 @@ object.assign@^4.1.5:
has-symbols "^1.0.3"
object-keys "^1.1.1"
-once@^1.3.0, once@^1.3.1, once@^1.4.0:
+once@^1.3.0, once@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==
@@ -3212,24 +3087,11 @@ prismjs@^1.23.0:
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.29.0.tgz#f113555a8fa9b57c35e637bba27509dcf802dd12"
integrity sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==
-process-nextick-args@^2.0.1:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
- integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==
-
proxy-from-env@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
-pump@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"
- integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==
- dependencies:
- end-of-stream "^1.1.0"
- once "^1.3.1"
-
punycode@^2.1.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5"
@@ -3240,15 +3102,6 @@ queue-microtask@^1.2.2:
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==
-readable-stream@^3.0.0, readable-stream@^3.0.2, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0:
- version "3.6.2"
- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967"
- integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==
- dependencies:
- inherits "^2.0.3"
- string_decoder "^1.1.1"
- util-deprecate "^1.0.1"
-
readdirp@~3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"
@@ -3278,11 +3131,6 @@ regexp.prototype.flags@^1.5.2:
es-errors "^1.3.0"
set-function-name "^2.0.1"
-reinterval@^1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/reinterval/-/reinterval-1.1.0.tgz#3361ecfa3ca6c18283380dd0bb9546f390f5ece7"
- integrity sha512-QIRet3SYrGp0HUHO88jVskiG6seqUGC5iAG7AwI/BV4ypGcuqk9Du6YQBUOUqm9c8pw1eyLoIaONifRua1lsEQ==
-
require-directory@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
@@ -3312,11 +3160,6 @@ reusify@^1.0.4:
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
-rfdc@^1.3.0:
- version "1.3.1"
- resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.1.tgz#2b6d4df52dffe8bb346992a10ea9451f24373a8f"
- integrity sha512-r5a3l5HzYlIC68TpmYKlxWjmOP6wiPJ1vWv2HeLhNsRZMrCkxeqxiHlQ21oXmQ4F3SiryXBHhAD7JZqvOJjFmg==
-
rimraf@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
@@ -3373,11 +3216,6 @@ safe-array-concat@^1.1.0:
has-symbols "^1.0.3"
isarray "^2.0.5"
-safe-buffer@~5.2.0:
- version "5.2.1"
- resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
- integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
-
safe-regex-test@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.3.tgz#a5b4c0f06e0ab50ea2c395c14d8371232924c377"
@@ -3545,13 +3383,6 @@ source-map@^0.7.4:
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656"
integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==
-split2@^3.1.0:
- version "3.2.2"
- resolved "https://registry.yarnpkg.com/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f"
- integrity sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==
- dependencies:
- readable-stream "^3.0.0"
-
ssf@~0.11.2:
version "0.11.2"
resolved "https://registry.yarnpkg.com/ssf/-/ssf-0.11.2.tgz#0b99698b237548d088fc43cdf2b70c1a7512c06c"
@@ -3569,12 +3400,8 @@ store@^2.0.12:
resolved "https://registry.yarnpkg.com/store/-/store-2.0.12.tgz#8c534e2a0b831f72b75fc5f1119857c44ef5d593"
integrity sha512-eO9xlzDpXLiMr9W1nQ3Nfp9EzZieIQc10zPPMP5jsVV7bLOziSFFBP0XoDXACEIFtdI+rIz0NwWVA/QVJ8zJtw==
-stream-shift@^1.0.0:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.3.tgz#85b8fab4d71010fc3ba8772e8046cc49b8a3864b"
- integrity sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==
-
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
+ name string-width-cjs
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -3619,13 +3446,6 @@ string.prototype.trimstart@^1.0.7:
define-properties "^1.2.0"
es-abstract "^1.22.1"
-string_decoder@^1.1.1:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
- integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
- dependencies:
- safe-buffer "~5.2.0"
-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
@@ -3795,11 +3615,6 @@ typed-array-length@^1.0.4:
is-typed-array "^1.1.13"
possible-typed-array-names "^1.0.0"
-typedarray@^0.0.6:
- version "0.0.6"
- resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
- integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==
-
typescript@^5.2.2:
version "5.3.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"
@@ -3845,7 +3660,7 @@ uri-js@^4.2.2:
dependencies:
punycode "^2.1.0"
-util-deprecate@^1.0.1, util-deprecate@^1.0.2:
+util-deprecate@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==
@@ -3984,6 +3799,7 @@ word@~0.3.0:
integrity sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
+ name wrap-ansi-cjs
version "7.0.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -4006,11 +3822,6 @@ wrappy@1:
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==
-ws@^7.5.5:
- version "7.5.9"
- resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591"
- integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==
-
ws@~8.11.0:
version "8.11.0"
resolved "https://registry.yarnpkg.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143"
@@ -4039,11 +3850,6 @@ xmlhttprequest-ssl@~2.0.0:
resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz#91360c86b914e67f44dce769180027c0da618c67"
integrity sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==
-xtend@^4.0.2:
- version "4.0.2"
- resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"
- integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==
-
y18n@^5.0.5:
version "5.0.8"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"