erp-plus 1.0.160 → 1.0.162

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,6 +41,11 @@ declare const __VLS_component: DefineComponent<globalThis.ExtractPropTypes<{
41
41
  type: BooleanConstructor;
42
42
  default: boolean;
43
43
  };
44
+ /** 链接按钮的跳转地址。传了就是浏览器原生跳转,不传则只触发 click(等同行为链接) */
45
+ href: {
46
+ type: StringConstructor;
47
+ default: undefined;
48
+ };
44
49
  /** 方形图标按钮:宽高相等、无内边距;没有文字/自定义图标时默认显示展开箭头 */
45
50
  square: {
46
51
  type: BooleanConstructor;
@@ -144,6 +149,11 @@ declare const __VLS_component: DefineComponent<globalThis.ExtractPropTypes<{
144
149
  type: BooleanConstructor;
145
150
  default: boolean;
146
151
  };
152
+ /** 链接按钮的跳转地址。传了就是浏览器原生跳转,不传则只触发 click(等同行为链接) */
153
+ href: {
154
+ type: StringConstructor;
155
+ default: undefined;
156
+ };
147
157
  /** 方形图标按钮:宽高相等、无内边距;没有文字/自定义图标时默认显示展开箭头 */
148
158
  square: {
149
159
  type: BooleanConstructor;
@@ -230,6 +240,7 @@ declare const __VLS_component: DefineComponent<globalThis.ExtractPropTypes<{
230
240
  dropdownPlacement: DropdownPlacement;
231
241
  square: boolean;
232
242
  expanded: boolean;
243
+ href: string;
233
244
  plain: boolean;
234
245
  bg: boolean;
235
246
  round: boolean;
@@ -7,6 +7,12 @@ export interface DescriptionItem {
7
7
  label: string;
8
8
  /** 字面量模式:显示值;路径模式(传了 data):字段路径(支持 'a.b.c') */
9
9
  value?: string | number;
10
+ /**
11
+ * 数组值拼接开关(opt-in):true 用逗号拼,传字符串用该分隔符(默认 ',')。
12
+ * 默认不拼(数组显示 '-')——防止 ossId 等 id 数组被印成 "101,102";
13
+ * 显式 join 的项(如名称数组 goodsClassNames)按分隔符拼接,元素含非基础类型时降级 '-'
14
+ */
15
+ join?: boolean | string;
10
16
  /** 显示条件;函数形态收到 data */
11
17
  visible?: boolean | ((data: Record<string, any>) => boolean);
12
18
  /** 自定义渲染,签名与老组件一致:render(h, { row }),row = data;优先级最高(首参即 Vue 的 h 函数) */
@@ -304,6 +304,7 @@ declare const __VLS_component: DefineComponent<globalThis.ExtractPropTypes<{
304
304
  disabled: boolean;
305
305
  autofocus: boolean;
306
306
  name: string;
307
+ tabindex: string;
307
308
  modelValue: string | number;
308
309
  placeholder: string;
309
310
  formatter: Function;
@@ -315,7 +316,6 @@ declare const __VLS_component: DefineComponent<globalThis.ExtractPropTypes<{
315
316
  suffixIcon: string | Component;
316
317
  clearable: boolean;
317
318
  clearIcon: string | Record<string, any>;
318
- tabindex: string;
319
319
  inputStyle: Record<string, any>;
320
320
  showPassword: boolean;
321
321
  rows: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erp-plus",
3
- "version": "1.0.160",
3
+ "version": "1.0.162",
4
4
  "author": "zhangxl",
5
5
  "main": "dist/erp-plus.umd.js",
6
6
  "module": "dist/erp-plus.es.js",