diff --git a/package.json b/package.json index e3e5d410..8e7c9d43 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "shuimo-ui", "description": "一款粗暴的水墨风UI组件", - "version": "0.2.7", + "version": "0.2.8", "files": [ "dist", "icons", diff --git a/web-types.json b/web-types.json index 0fe8aeee..ecfe5e72 100644 --- a/web-types.json +++ b/web-types.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json", "name": "shuimo-ui", - "version": "0.2.7", + "version": "0.2.8", "contributions": { "html": { "types-syntax": "typescript", @@ -191,6 +191,15 @@ } ] }, + { + "name": "m-delete-icon", + "source": { + "symbol": "MDeleteIcon" + }, + "description": "delete icon component with shuimo-ui style.\n水墨组件的删除图标组件。", + "doc-url": "https://shuimo.janghood.com/icon#delete", + "attributes": [] + }, { "name": "m-dialog", "source": { @@ -413,8 +422,8 @@ "name": "modelValue", "description": "input-number modelValue", "value": { - "type": "number", - "default": "0", + "type": "number|string", + "default": "", "kind": "expression" } }, @@ -435,6 +444,33 @@ "default": "-Infinity", "kind": "expression" } + }, + { + "name": "precision", + "description": "input-number precision", + "value": { + "type": "number", + "default": "0", + "kind": "expression" + } + }, + { + "name": "disabled", + "description": "input-number min", + "value": { + "type": "boolean", + "default": "false", + "kind": "expression" + } + }, + { + "name": "placeholder", + "description": "input-number placeholder", + "value": { + "type": "string", + "default": "", + "kind": "expression" + } } ] }, @@ -478,7 +514,7 @@ "name": "speed", "description": "transform speed", "value": { - "type": "number;", + "type": "number", "default": "1500", "kind": "expression" } @@ -487,7 +523,7 @@ "name": "mask", "description": "with mask or not", "value": { - "type": "boolean;", + "type": "boolean", "default": "false", "kind": "expression" } @@ -496,7 +532,7 @@ "name": "sideLength", "description": "length of loading item's side (px)", "value": { - "type": "number|string;", + "type": "number|string", "default": "50", "kind": "expression" } @@ -592,6 +628,24 @@ "default": "'prev, pager, next, jumper, total'", "kind": "expression" } + }, + { + "name": "foldedMaxPageBtn", + "description": "show pages when folded\n折叠时最多显示页码按钮数", + "value": { + "type": "number", + "default": "5", + "kind": "expression" + } + }, + { + "name": "maxPageBtn", + "description": "the max display pages\n最大显示页数", + "value": { + "type": "number", + "default": "10", + "kind": "expression" + } } ] }, @@ -607,7 +661,7 @@ "name": "placement", "description": "popover display placement", "value": { - "type": "Placement;", + "type": "Placement", "default": "bottom", "kind": "expression" } @@ -625,7 +679,7 @@ "name": "offsetSkid", "description": "Offset in pixels along the trigger element", "value": { - "type": "string;", + "type": "string", "default": "'0'", "kind": "expression" } @@ -634,7 +688,7 @@ "name": "offsetDistance", "description": "Offset in pixels away from the trigger element", "value": { - "type": "string;", + "type": "string", "default": "'0'", "kind": "expression" } @@ -807,7 +861,7 @@ "name": "label", "description": "radio label\n单选框的标签值", "value": { - "type": "string", + "type": "string|number", "default": "", "kind": "expression" } @@ -863,7 +917,7 @@ "name": "modelValue", "description": "select value\n选择框的值", "value": { - "type": "any", + "type": "any|any[]", "default": "", "kind": "expression" } @@ -935,7 +989,25 @@ "name": "toMatch", "description": "modelValue match function\n用于比较参数和modelValue是否相等的方法,常用于modelValue为对象的场景\noption: 列表数据\nvalue: modelValue", "value": { - "type": "(option:any,value:any)=>Boolean", + "type": "(option:any,value:any)=>boolean", + "default": "undefined", + "kind": "expression" + } + }, + { + "name": "multiple", + "description": "multiple choice\n是否为多选", + "value": { + "type": "boolean", + "default": "false", + "kind": "expression" + } + }, + { + "name": "filter", + "description": "defined input box filter query method\n自定义输入框filter查询方法", + "value": { + "type": "(options:any,inputValue:string)=>boolean", "default": "undefined", "kind": "expression" } @@ -1113,7 +1185,7 @@ "name": "placement", "description": "popover display placement", "value": { - "type": "Placement;", + "type": "Placement", "default": "bottom", "kind": "expression" } @@ -1131,7 +1203,7 @@ "name": "offsetSkid", "description": "Offset in pixels along the trigger element", "value": { - "type": "string;", + "type": "string", "default": "'0'", "kind": "expression" } @@ -1140,7 +1212,7 @@ "name": "offsetDistance", "description": "Offset in pixels away from the trigger element", "value": { - "type": "string;", + "type": "string", "default": "'12'", "kind": "expression" } @@ -1185,7 +1257,7 @@ "name": "arrowPadding", "description": "Stop arrow from reaching the edge of the popper", "value": { - "type": "string;", + "type": "string", "default": "'0'", "kind": "expression" } @@ -1243,4 +1315,4 @@ }, "framework": "vue", "default-icon": "./icons/logo.svg" -} +} \ No newline at end of file