@cloudbase/weda-ui 3.21.2 → 3.21.4

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.
@@ -367,6 +367,18 @@ const classes = [
367
367
  CLASSES.item_readonly,
368
368
  CLASSES.input_addon_left,
369
369
  CLASSES.input_addon_right,
370
+ {
371
+ name: '移动端下拉选择列表选项',
372
+ selector: `.wd-select-modal .wd-select-list .wd-select-list-item`,
373
+ description: '设置移动端下拉选择列表选项样式',
374
+ code: `
375
+ .wd-select-modal .wd-select-list .wd-select-list-item{
376
+ color: lightgray ;
377
+ font-size: 16px ;
378
+ height: 50px ;
379
+ }
380
+ `,
381
+ },
370
382
  ];
371
383
  const paramValueType = Type.Object({
372
384
  value: Object.assign({}, FORM_ITEM_DATA._valueInSelectMultiple, {
@@ -353,6 +353,18 @@ const classes = [
353
353
  CLASSES.item_readonly,
354
354
  CLASSES.input_addon_left,
355
355
  CLASSES.input_addon_right,
356
+ {
357
+ name: '移动端下拉选择列表选项',
358
+ selector: `.wd-select-modal .wd-select-list .wd-select-list-item`,
359
+ description: '设置移动端下拉选择列表选项样式',
360
+ code: `
361
+ .wd-select-modal .wd-select-list .wd-select-list-item{
362
+ color: lightgray ;
363
+ font-size: 16px ;
364
+ height: 50px ;
365
+ }
366
+ `,
367
+ },
356
368
  ];
357
369
  // export default
358
370
  const config = defineConfig({
@@ -3,6 +3,10 @@ import { defineConfig, Tuple, Type } from '../type-utils';
3
3
  import { WD_TABLE_PAGE_SIZE, WD_TABLE_SELECT_COLUMN, WD_TABLE_CUSTOM_FORMAT, WD_TABLE_CUSTOM_FORMAT_SINGLE, } from '../../enum';
4
4
  import { genericErrorType } from '../type-utils/error';
5
5
  import { previewOperationHeaderIcon } from '../utils/constants';
6
+ // 非关联关系字段,支持导出
7
+ // 旧关联关系导出字段本身是主列字段
8
+ // 新关联关系不能导出字段本身的,通过下钻@a.b的方式导出模型字段
9
+ // 对于新关联关系字段,仅支持多对一,一对一关联关系的模型字段导出,包含isRelated,表示关联关系模型字段
6
10
  const expressionTemplate = `
7
11
  {{#if (helper_utils '===' $self.attributes.dataSourceType 'expression')}}
8
12
  [attributes]