@cloudbase/weda-ui 3.10.1 → 3.10.2

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.
@@ -20,7 +20,6 @@ const data = Type.Object({
20
20
  title: '布局模板',
21
21
  type: 'string',
22
22
  default: 'white',
23
- 'x-runtime-default': 'white',
24
23
  'x-component': 'data-sources-template-selector',
25
24
  'x-component-props': {
26
25
  options: Tuple([
@@ -227,7 +227,7 @@ export const configInfo = {
227
227
  key: Type.Optional(Type.String({ title: '选中菜单key值' })),
228
228
  item: Type.Optional(Object.assign({}, Node, { title: '选中菜单项' })),
229
229
  }, { title: '选中项信息' }),
230
- isNavigate: Type.Boolean({ title: '设置项为跳转类型时是否跳转' }),
230
+ isNavigate: Type.Boolean({ title: '是否跳转菜单链接' }),
231
231
  },
232
232
  },
233
233
  },
@@ -187,7 +187,7 @@ const config = defineConfig({
187
187
  key: Type.Optional(Type.String({ title: '选中菜单key值' })),
188
188
  item: Type.Optional(Object.assign({}, Node, { title: '选中菜单项' })),
189
189
  }, { title: '选中项信息' }),
190
- isNavigate: Type.Boolean({ title: '设置项为跳转类型时是否跳转' }),
190
+ isNavigate: Type.Boolean({ title: '是否跳转菜单链接' }),
191
191
  }),
192
192
  },
193
193
  ],
@@ -161,7 +161,7 @@ const config = defineConfig({
161
161
  default: '',
162
162
  }),
163
163
  isNavigate: Type.Optional(Type.Boolean({
164
- title: '设置项为跳转类型时是否跳转',
164
+ title: '是否跳转菜单链接',
165
165
  default: true,
166
166
  })),
167
167
  }),
@@ -351,6 +351,18 @@ declare const config: {
351
351
  }>;
352
352
  readonly description: "点击表格某一行时触发";
353
353
  readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
354
+ }, {
355
+ readonly title: "点击表格列";
356
+ readonly name: "cellClick";
357
+ readonly detail: import("@sinclair/typebox").TObject<{
358
+ record: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
359
+ column: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
360
+ rowKey: import("@sinclair/typebox").TString;
361
+ recordIndex: import("@sinclair/typebox").TNumber;
362
+ columnIndex: import("@sinclair/typebox").TNumber;
363
+ }>;
364
+ readonly description: "点击表格某一行时触发";
365
+ readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
354
366
  }, {
355
367
  readonly title: "选中行改变";
356
368
  readonly name: "rowsSelected";
@@ -1729,6 +1729,39 @@ const config = defineConfig({
1729
1729
  description: '点击表格某一行时触发',
1730
1730
  'x-platforms': ['MOBILEWEB', 'PCWEB'],
1731
1731
  },
1732
+ {
1733
+ title: '点击表格列',
1734
+ name: 'cellClick',
1735
+ detail: Type.Object({
1736
+ record: Type.Array(Type.Object({}), {
1737
+ title: '选中行记录',
1738
+ type: 'array',
1739
+ description: '选中行记录',
1740
+ }),
1741
+ column: Type.Array(Type.Object({}), {
1742
+ title: '选中列表头',
1743
+ type: 'array',
1744
+ description: '选中列表头',
1745
+ }),
1746
+ rowKey: Type.String({
1747
+ title: '选中行记录id',
1748
+ type: 'string',
1749
+ description: '选中行记录id',
1750
+ }),
1751
+ recordIndex: Type.Number({
1752
+ title: '选中行index',
1753
+ type: 'number',
1754
+ description: '选中行index',
1755
+ }),
1756
+ columnIndex: Type.Number({
1757
+ title: '选中列index',
1758
+ type: 'number',
1759
+ description: '选中列index',
1760
+ }),
1761
+ }),
1762
+ description: '点击表格某一行时触发',
1763
+ 'x-platforms': ['MOBILEWEB', 'PCWEB'],
1764
+ },
1732
1765
  {
1733
1766
  title: '选中行改变',
1734
1767
  name: 'rowsSelected',
@@ -12690,6 +12690,18 @@ export declare const components: {
12690
12690
  }>;
12691
12691
  readonly description: "点击表格某一行时触发";
12692
12692
  readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
12693
+ }, {
12694
+ readonly title: "点击表格列";
12695
+ readonly name: "cellClick";
12696
+ readonly detail: import("@sinclair/typebox").TObject<{
12697
+ record: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
12698
+ column: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
12699
+ rowKey: import("@sinclair/typebox").TString;
12700
+ recordIndex: import("@sinclair/typebox").TNumber;
12701
+ columnIndex: import("@sinclair/typebox").TNumber;
12702
+ }>;
12703
+ readonly description: "点击表格某一行时触发";
12704
+ readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
12693
12705
  }, {
12694
12706
  readonly title: "选中行改变";
12695
12707
  readonly name: "rowsSelected";
@@ -32718,6 +32730,18 @@ declare const _default: {
32718
32730
  }>;
32719
32731
  readonly description: "点击表格某一行时触发";
32720
32732
  readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
32733
+ }, {
32734
+ readonly title: "点击表格列";
32735
+ readonly name: "cellClick";
32736
+ readonly detail: import("@sinclair/typebox").TObject<{
32737
+ record: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
32738
+ column: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{}>>;
32739
+ rowKey: import("@sinclair/typebox").TString;
32740
+ recordIndex: import("@sinclair/typebox").TNumber;
32741
+ columnIndex: import("@sinclair/typebox").TNumber;
32742
+ }>;
32743
+ readonly description: "点击表格某一行时触发";
32744
+ readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
32721
32745
  }, {
32722
32746
  readonly title: "选中行改变";
32723
32747
  readonly name: "rowsSelected";
@@ -3243,6 +3243,9 @@ _:-ms-lang(x)::backdrop,
3243
3243
  .wd-table__body tr:hover .wd-text-with-icon .wd-icon {
3244
3244
  visibility: visible;
3245
3245
  }
3246
+ .wd-table__body .wd-tag__text {
3247
+ max-width: 100px;
3248
+ }
3246
3249
 
3247
3250
  .wd-table-scroll-wrap.wd-table--status {
3248
3251
  position: relative;
@@ -4894,6 +4897,9 @@ textarea {
4894
4897
  display: flex;
4895
4898
  align-items: center;
4896
4899
  }
4900
+ .wd-form-input-wrap__content .weui-cell_active:active::after {
4901
+ background-color: unset;
4902
+ }
4897
4903
  .wd-form-input-wrap.wd-input-input-search.template.search-box.color-grey.is-pc-bordered {
4898
4904
  background-color: #f2f2f2;
4899
4905
  border-color: #f2f2f2;
@@ -6173,6 +6179,10 @@ textarea {
6173
6179
  cursor: not-allowed;
6174
6180
  }
6175
6181
 
6182
+ .wd-mp-form-item .wd-form-select_input {
6183
+ cursor: unset;
6184
+ }
6185
+
6176
6186
  .wd-switch {
6177
6187
  --wd-switch-bg-default-checked: var(--wd-color-brand);
6178
6188
  --wd-switch-bg-default-checked-disabled: var(--wd-color-brand-disabled);
@@ -10287,6 +10297,9 @@ page,
10287
10297
  .wd-mp-tabbar .wd-tabbar__item {
10288
10298
  cursor: unset;
10289
10299
  }
10300
+ .wd-mp-tabbar .wd-tabbar__item-icon {
10301
+ display: contents;
10302
+ }
10290
10303
 
10291
10304
  .wd-form-obj-root {
10292
10305
  display: flex;