@cloudbase/weda-ui 3.9.2 → 3.9.5

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.
@@ -4,12 +4,15 @@
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "dataSource": {
7
- "type": "string",
7
+ "type": "object",
8
8
  "title": "数据源",
9
9
  "x-index": 10,
10
10
  "x-component": "chart-datasource-select",
11
11
  "x-helper-text": "方法的出入参需满足组件要求,[查看文档](https://cloud.tencent.com/document/product/1301/71197#.E7.BB.9F.E8.AE.A1.E5.8D.A1.E7.89.87)",
12
12
  "x-helper-text-color": "#E37318",
13
+ "x-props": {
14
+ "data-hidebind": true
15
+ },
13
16
  "x-component-props": {
14
17
  "postChange": {
15
18
  "addOrUpdateComponentDataBinds": {
@@ -24,7 +24,7 @@ top='8PX'
24
24
  [[template]]
25
25
  component = 'Repeater'
26
26
  [template.attributes]
27
- ':data' = '$w.{{$self.id}}.records'
27
+ ':data' = '$w.{{$self.id}}.records||[]'
28
28
  suffix = '{{$self.id}}'
29
29
  forItem = 'item_{{$self.id}}'
30
30
  forIndex = 'index_{{$self.id}}'
@@ -111,7 +111,7 @@ sizeSelfAdaptive=true
111
111
  [[template]]
112
112
  component = 'Repeater'
113
113
  [template.attributes]
114
- ':data' = '$w.{{$self.id}}.records'
114
+ ':data' = '$w.{{$self.id}}.records||[]'
115
115
  suffix = '{{$self.id}}'
116
116
  forItem = 'item_{{$self.id}}'
117
117
  forIndex = 'index_{{$self.id}}'
@@ -219,7 +219,7 @@ sizeSelfAdaptive=true
219
219
  [[template]]
220
220
  component = 'Repeater'
221
221
  [template.attributes]
222
- ':data' = '$w.{{$self.id}}.records'
222
+ ':data' = '$w.{{$self.id}}.records||[]'
223
223
  suffix = '{{$self.id}}'
224
224
  forItem = 'item_{{$self.id}}'
225
225
  forIndex = 'index_{{$self.id}}'
@@ -358,7 +358,7 @@ gutterX='16px'
358
358
  [[template.items.items]]
359
359
  component = 'Repeater'
360
360
  [template.items.items.attributes]
361
- ':data' = '$w.{{$self.id}}.records'
361
+ ':data' = '$w.{{$self.id}}.records||[]'
362
362
  suffix = '{{$self.id}}'
363
363
  forItem = 'item_{{$self.id}}'
364
364
  forIndex = 'index_{{$self.id}}'
@@ -458,7 +458,7 @@ width='100%'
458
458
  [[template.items]]
459
459
  component = 'Repeater'
460
460
  [template.items.attributes]
461
- ':data' = '$w.{{$self.id}}.records'
461
+ ':data' = '$w.{{$self.id}}.records||[]'
462
462
  suffix = '{{$self.id}}'
463
463
  forItem = 'item_{{$self.id}}'
464
464
  forIndex = 'index_{{$self.id}}'
@@ -611,7 +611,7 @@ sizeSelfAdaptive=true
611
611
  [[template]]
612
612
  component = 'Repeater'
613
613
  [template.attributes]
614
- ':data' = '$w.{{$self.id}}.records'
614
+ ':data' = '$w.{{$self.id}}.records||[]'
615
615
  suffix = '{{$self.id}}'
616
616
  forItem = 'item_{{$self.id}}'
617
617
  forIndex = 'index_{{$self.id}}'
@@ -91,7 +91,8 @@
91
91
  "categoryOrder": 200,
92
92
  "componentOrder": 90,
93
93
  "figureIcon": "../figureIcons/Swiper.svg",
94
- "icon": "../icons/Swiper.svg"
94
+ "icon": "../icons/Swiper.svg",
95
+ "propertyPanelTips": "轮播容器组件在小程序侧使用时,建议给组件设置一个高度,否则按照小程序swiper组件默认高度渲染"
95
96
  },
96
97
  "configMeta": {
97
98
  "docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/grid/Swiper"
@@ -6371,6 +6371,7 @@ export declare const components: {
6371
6371
  componentOrder: number;
6372
6372
  figureIcon: string;
6373
6373
  icon: string;
6374
+ propertyPanelTips: string;
6374
6375
  };
6375
6376
  configMeta: {
6376
6377
  docsUrl: string;
@@ -9790,6 +9791,9 @@ export declare const components: {
9790
9791
  "x-component": string;
9791
9792
  "x-helper-text": string;
9792
9793
  "x-helper-text-color": string;
9794
+ "x-props": {
9795
+ "data-hidebind": boolean;
9796
+ };
9793
9797
  "x-component-props": {
9794
9798
  postChange: {
9795
9799
  addOrUpdateComponentDataBinds: {
@@ -26653,6 +26657,7 @@ declare const _default: {
26653
26657
  componentOrder: number;
26654
26658
  figureIcon: string;
26655
26659
  icon: string;
26660
+ propertyPanelTips: string;
26656
26661
  };
26657
26662
  configMeta: {
26658
26663
  docsUrl: string;
@@ -30072,6 +30077,9 @@ declare const _default: {
30072
30077
  "x-component": string;
30073
30078
  "x-helper-text": string;
30074
30079
  "x-helper-text-color": string;
30080
+ "x-props": {
30081
+ "data-hidebind": boolean;
30082
+ };
30075
30083
  "x-component-props": {
30076
30084
  postChange: {
30077
30085
  addOrUpdateComponentDataBinds: {
@@ -230,6 +230,9 @@ initialContent, placeholder, iconPack, maxSize, cloudPath, visible, }) {
230
230
  return isSizeAccept(file);
231
231
  },
232
232
  },
233
+ PictureTransformPlugin: {
234
+ inline: true,
235
+ },
233
236
  FontFamilyPlugin: {
234
237
  default: 'initial',
235
238
  options: [
@@ -337,7 +337,7 @@ export const WdTable = forwardRef(function TableComp(tableProps, ref) {
337
337
  }
338
338
  // 绑定表达式则直接返回表达式的值
339
339
  if (isExpression) {
340
- if (exprLoading)
340
+ if (exprLoading && !isH5)
341
341
  return [];
342
342
  return Array.isArray(dataSourceData) ? dataSourceData : [];
343
343
  }
@@ -16,8 +16,7 @@ export const convertWhere = (props, supportManyRelated) => {
16
16
  }
17
17
  catch (e) { }
18
18
  const isEmptyObj = (obj) => Object.keys(obj).length === 0;
19
- where = where === null || where === void 0 ? void 0 : where.filter((i) => !isEmptyObj(i));
20
- return Array.isArray(where) ? where : [];
19
+ return Array.isArray(where) ? where === null || where === void 0 ? void 0 : where.filter((i) => !isEmptyObj(i)) : [];
21
20
  };
22
21
  /**
23
22
  * 拼接filter参数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/weda-ui",
3
- "version": "3.9.2",
3
+ "version": "3.9.5",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index",
6
6
  "miniprogram": "mpdist",