@dckj-npm/dc-material 0.1.174 → 0.1.176
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.
- package/build/lowcode/assets-daily.json +13 -13
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +13 -13
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +4 -4
- package/lowcode/teletext-list/meta.ts +133 -99
- package/lowcode_es/meta.js +1 -1
- package/lowcode_es/teletext-list/meta.js +111 -79
- package/lowcode_lib/meta.js +1 -1
- package/lowcode_lib/teletext-list/meta.js +111 -79
- package/package.json +2 -2
|
@@ -122,6 +122,11 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
122
122
|
},
|
|
123
123
|
initialValue: 'left',
|
|
124
124
|
},
|
|
125
|
+
extraProps: {
|
|
126
|
+
setValue: (target, value) => {
|
|
127
|
+
target.getProps().setPropValue('imagePlacement', value)
|
|
128
|
+
},
|
|
129
|
+
},
|
|
125
130
|
},
|
|
126
131
|
{
|
|
127
132
|
name: '数据源绑定',
|
|
@@ -353,7 +358,7 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
353
358
|
setter: {
|
|
354
359
|
componentName: 'NumberSetter',
|
|
355
360
|
isRequired: false,
|
|
356
|
-
initialValue:
|
|
361
|
+
initialValue: 2,
|
|
357
362
|
defaultValue: 2,
|
|
358
363
|
props: {
|
|
359
364
|
min: 2,
|
|
@@ -368,7 +373,12 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
368
373
|
setter: {
|
|
369
374
|
componentName: 'NumberSetter',
|
|
370
375
|
isRequired: false,
|
|
371
|
-
initialValue:
|
|
376
|
+
initialValue: (target) => {
|
|
377
|
+
const isTwoColumns =
|
|
378
|
+
target.getProps().getPropValue('imagePlacement') === 'top' ||
|
|
379
|
+
target.getProps().getPropValue('imagePlacement') === 'bottom'
|
|
380
|
+
return isTwoColumns ? 2 : 1
|
|
381
|
+
},
|
|
372
382
|
defaultValue: (target) => {
|
|
373
383
|
const isTwoColumns =
|
|
374
384
|
target.getProps().getPropValue('imagePlacement') === 'top' ||
|
|
@@ -391,108 +401,132 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
391
401
|
setter: {
|
|
392
402
|
componentName: 'ArraySetter',
|
|
393
403
|
props: {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
},
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
name: 'size',
|
|
408
|
-
title: '图标尺寸',
|
|
409
|
-
setter: {
|
|
410
|
-
componentName: 'SelectSetter',
|
|
404
|
+
itemSetter: {
|
|
405
|
+
componentName: 'ObjectSetter',
|
|
406
|
+
props: {
|
|
407
|
+
config: {
|
|
408
|
+
items: [
|
|
409
|
+
{
|
|
410
|
+
name: 'icon',
|
|
411
|
+
title: '图标',
|
|
412
|
+
setter: 'IconSetter',
|
|
413
|
+
isRequired: true,
|
|
411
414
|
props: {
|
|
412
|
-
|
|
413
|
-
{
|
|
414
|
-
label: 'xxs',
|
|
415
|
-
value: 'xxs',
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
label: 'xs',
|
|
419
|
-
value: 'xs',
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
label: 'small',
|
|
423
|
-
value: 'small',
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
label: 'medium',
|
|
427
|
-
value: 'medium',
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
label: 'large',
|
|
431
|
-
value: 'large',
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
label: 'xl',
|
|
435
|
-
value: 'xl',
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
label: 'xxl',
|
|
439
|
-
value: 'xxl',
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
label: 'xxxl',
|
|
443
|
-
value: 'xxxl',
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
label: 'inherit',
|
|
447
|
-
value: 'inherit',
|
|
448
|
-
},
|
|
449
|
-
],
|
|
415
|
+
hasClear: false,
|
|
450
416
|
},
|
|
451
417
|
},
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
418
|
+
{
|
|
419
|
+
name: 'size',
|
|
420
|
+
title: '图标尺寸',
|
|
421
|
+
setter: {
|
|
422
|
+
componentName: 'SelectSetter',
|
|
423
|
+
props: {
|
|
424
|
+
options: [
|
|
425
|
+
{
|
|
426
|
+
label: 'xxs',
|
|
427
|
+
value: 'xxs',
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
label: 'xs',
|
|
431
|
+
value: 'xs',
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
label: 'small',
|
|
435
|
+
value: 'small',
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
label: 'medium',
|
|
439
|
+
value: 'medium',
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
label: 'large',
|
|
443
|
+
value: 'large',
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
label: 'xl',
|
|
447
|
+
value: 'xl',
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
label: 'xxl',
|
|
451
|
+
value: 'xxl',
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
label: 'xxxl',
|
|
455
|
+
value: 'xxxl',
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
label: 'inherit',
|
|
459
|
+
value: 'inherit',
|
|
460
|
+
},
|
|
461
|
+
],
|
|
462
|
+
},
|
|
482
463
|
},
|
|
464
|
+
defaultValue: 'medium',
|
|
483
465
|
},
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
466
|
+
{
|
|
467
|
+
name: 'position',
|
|
468
|
+
title: '图标位置',
|
|
469
|
+
defaultValue: 'rightTop',
|
|
470
|
+
isRequired: true,
|
|
471
|
+
setter: {
|
|
472
|
+
componentName: 'SelectSetter',
|
|
473
|
+
props: {
|
|
474
|
+
options: [
|
|
475
|
+
{
|
|
476
|
+
label: '左上角',
|
|
477
|
+
value: 'leftTop',
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
label: '左下角',
|
|
481
|
+
value: 'leftBottom',
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
label: '右上角',
|
|
485
|
+
value: 'rightTop',
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
label: '右下角',
|
|
489
|
+
value: 'rightBottom',
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
label: '自定义',
|
|
493
|
+
value: 'customize',
|
|
494
|
+
},
|
|
495
|
+
],
|
|
496
|
+
},
|
|
497
|
+
},
|
|
498
|
+
extraProps: {
|
|
499
|
+
setValue: (target, value) => {
|
|
500
|
+
target.getProps().setPropValue('position', value)
|
|
501
|
+
},
|
|
502
|
+
},
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
name: 'rightOffset',
|
|
506
|
+
title: '右偏移',
|
|
507
|
+
setter: 'NumberSetter',
|
|
508
|
+
defaultValue: 0,
|
|
509
|
+
condition: (target) => {
|
|
510
|
+
return target.getProps().getPropValue('position') === 'customize'
|
|
511
|
+
},
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
name: 'bottomOffset',
|
|
515
|
+
title: '下偏移',
|
|
516
|
+
setter: 'NumberSetter',
|
|
517
|
+
defaultValue: 0,
|
|
518
|
+
condition: (target) => {
|
|
519
|
+
return target.getProps().getPropValue('position') === 'customize'
|
|
520
|
+
},
|
|
521
|
+
},
|
|
522
|
+
],
|
|
523
|
+
},
|
|
524
|
+
},
|
|
525
|
+
initialValue: {
|
|
526
|
+
size: 'medium',
|
|
527
|
+
position: 'rightTop',
|
|
528
|
+
rightOffset: 0,
|
|
529
|
+
bottomOffset: 0,
|
|
496
530
|
},
|
|
497
531
|
},
|
|
498
532
|
},
|
package/lowcode_es/meta.js
CHANGED
|
@@ -99,7 +99,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
99
99
|
packageName = '@dckj-npm/dc-material';
|
|
100
100
|
}
|
|
101
101
|
if (version === void 0) {
|
|
102
|
-
version = '0.1.
|
|
102
|
+
version = '0.1.176';
|
|
103
103
|
}
|
|
104
104
|
if (basicLibraryVersion === void 0) {
|
|
105
105
|
basicLibraryVersion = {
|
|
@@ -98,6 +98,11 @@ var TeletextListMeta = {
|
|
|
98
98
|
}]
|
|
99
99
|
},
|
|
100
100
|
initialValue: 'left'
|
|
101
|
+
},
|
|
102
|
+
extraProps: {
|
|
103
|
+
setValue: function setValue(target, value) {
|
|
104
|
+
target.getProps().setPropValue('imagePlacement', value);
|
|
105
|
+
}
|
|
101
106
|
}
|
|
102
107
|
}, {
|
|
103
108
|
name: '数据源绑定',
|
|
@@ -311,7 +316,7 @@ var TeletextListMeta = {
|
|
|
311
316
|
setter: {
|
|
312
317
|
componentName: 'NumberSetter',
|
|
313
318
|
isRequired: false,
|
|
314
|
-
initialValue:
|
|
319
|
+
initialValue: 2,
|
|
315
320
|
defaultValue: 2,
|
|
316
321
|
props: {
|
|
317
322
|
min: 2,
|
|
@@ -325,7 +330,10 @@ var TeletextListMeta = {
|
|
|
325
330
|
setter: {
|
|
326
331
|
componentName: 'NumberSetter',
|
|
327
332
|
isRequired: false,
|
|
328
|
-
initialValue:
|
|
333
|
+
initialValue: function initialValue(target) {
|
|
334
|
+
var isTwoColumns = target.getProps().getPropValue('imagePlacement') === 'top' || target.getProps().getPropValue('imagePlacement') === 'bottom';
|
|
335
|
+
return isTwoColumns ? 2 : 1;
|
|
336
|
+
},
|
|
329
337
|
defaultValue: function defaultValue(target) {
|
|
330
338
|
var isTwoColumns = target.getProps().getPropValue('imagePlacement') === 'top' || target.getProps().getPropValue('imagePlacement') === 'bottom';
|
|
331
339
|
return isTwoColumns ? 2 : 1;
|
|
@@ -345,86 +353,110 @@ var TeletextListMeta = {
|
|
|
345
353
|
setter: {
|
|
346
354
|
componentName: 'ArraySetter',
|
|
347
355
|
props: {
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
}
|
|
358
|
-
}, {
|
|
359
|
-
name: 'size',
|
|
360
|
-
title: '图标尺寸',
|
|
361
|
-
setter: {
|
|
362
|
-
componentName: 'SelectSetter',
|
|
356
|
+
itemSetter: {
|
|
357
|
+
componentName: 'ObjectSetter',
|
|
358
|
+
props: {
|
|
359
|
+
config: {
|
|
360
|
+
items: [{
|
|
361
|
+
name: 'icon',
|
|
362
|
+
title: '图标',
|
|
363
|
+
setter: 'IconSetter',
|
|
364
|
+
isRequired: true,
|
|
363
365
|
props: {
|
|
364
|
-
|
|
365
|
-
label: 'xxs',
|
|
366
|
-
value: 'xxs'
|
|
367
|
-
}, {
|
|
368
|
-
label: 'xs',
|
|
369
|
-
value: 'xs'
|
|
370
|
-
}, {
|
|
371
|
-
label: 'small',
|
|
372
|
-
value: 'small'
|
|
373
|
-
}, {
|
|
374
|
-
label: 'medium',
|
|
375
|
-
value: 'medium'
|
|
376
|
-
}, {
|
|
377
|
-
label: 'large',
|
|
378
|
-
value: 'large'
|
|
379
|
-
}, {
|
|
380
|
-
label: 'xl',
|
|
381
|
-
value: 'xl'
|
|
382
|
-
}, {
|
|
383
|
-
label: 'xxl',
|
|
384
|
-
value: 'xxl'
|
|
385
|
-
}, {
|
|
386
|
-
label: 'xxxl',
|
|
387
|
-
value: 'xxxl'
|
|
388
|
-
}, {
|
|
389
|
-
label: 'inherit',
|
|
390
|
-
value: 'inherit'
|
|
391
|
-
}]
|
|
366
|
+
hasClear: false
|
|
392
367
|
}
|
|
393
|
-
},
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
368
|
+
}, {
|
|
369
|
+
name: 'size',
|
|
370
|
+
title: '图标尺寸',
|
|
371
|
+
setter: {
|
|
372
|
+
componentName: 'SelectSetter',
|
|
373
|
+
props: {
|
|
374
|
+
options: [{
|
|
375
|
+
label: 'xxs',
|
|
376
|
+
value: 'xxs'
|
|
377
|
+
}, {
|
|
378
|
+
label: 'xs',
|
|
379
|
+
value: 'xs'
|
|
380
|
+
}, {
|
|
381
|
+
label: 'small',
|
|
382
|
+
value: 'small'
|
|
383
|
+
}, {
|
|
384
|
+
label: 'medium',
|
|
385
|
+
value: 'medium'
|
|
386
|
+
}, {
|
|
387
|
+
label: 'large',
|
|
388
|
+
value: 'large'
|
|
389
|
+
}, {
|
|
390
|
+
label: 'xl',
|
|
391
|
+
value: 'xl'
|
|
392
|
+
}, {
|
|
393
|
+
label: 'xxl',
|
|
394
|
+
value: 'xxl'
|
|
395
|
+
}, {
|
|
396
|
+
label: 'xxxl',
|
|
397
|
+
value: 'xxxl'
|
|
398
|
+
}, {
|
|
399
|
+
label: 'inherit',
|
|
400
|
+
value: 'inherit'
|
|
401
|
+
}]
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
defaultValue: 'medium'
|
|
405
|
+
}, {
|
|
406
|
+
name: 'position',
|
|
407
|
+
title: '图标位置',
|
|
408
|
+
defaultValue: 'rightTop',
|
|
409
|
+
isRequired: true,
|
|
410
|
+
setter: {
|
|
411
|
+
componentName: 'SelectSetter',
|
|
412
|
+
props: {
|
|
413
|
+
options: [{
|
|
414
|
+
label: '左上角',
|
|
415
|
+
value: 'leftTop'
|
|
416
|
+
}, {
|
|
417
|
+
label: '左下角',
|
|
418
|
+
value: 'leftBottom'
|
|
419
|
+
}, {
|
|
420
|
+
label: '右上角',
|
|
421
|
+
value: 'rightTop'
|
|
422
|
+
}, {
|
|
423
|
+
label: '右下角',
|
|
424
|
+
value: 'rightBottom'
|
|
425
|
+
}, {
|
|
426
|
+
label: '自定义',
|
|
427
|
+
value: 'customize'
|
|
428
|
+
}]
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
extraProps: {
|
|
432
|
+
setValue: function setValue(target, value) {
|
|
433
|
+
target.getProps().setPropValue('position', value);
|
|
434
|
+
}
|
|
417
435
|
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
436
|
+
}, {
|
|
437
|
+
name: 'rightOffset',
|
|
438
|
+
title: '右偏移',
|
|
439
|
+
setter: 'NumberSetter',
|
|
440
|
+
defaultValue: 0,
|
|
441
|
+
condition: function condition(target) {
|
|
442
|
+
return target.getProps().getPropValue('position') === 'customize';
|
|
443
|
+
}
|
|
444
|
+
}, {
|
|
445
|
+
name: 'bottomOffset',
|
|
446
|
+
title: '下偏移',
|
|
447
|
+
setter: 'NumberSetter',
|
|
448
|
+
defaultValue: 0,
|
|
449
|
+
condition: function condition(target) {
|
|
450
|
+
return target.getProps().getPropValue('position') === 'customize';
|
|
451
|
+
}
|
|
452
|
+
}]
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
initialValue: {
|
|
456
|
+
size: 'medium',
|
|
457
|
+
position: 'rightTop',
|
|
458
|
+
rightOffset: 0,
|
|
459
|
+
bottomOffset: 0
|
|
428
460
|
}
|
|
429
461
|
}
|
|
430
462
|
}
|
package/lowcode_lib/meta.js
CHANGED
|
@@ -104,7 +104,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
104
104
|
packageName = '@dckj-npm/dc-material';
|
|
105
105
|
}
|
|
106
106
|
if (version === void 0) {
|
|
107
|
-
version = '0.1.
|
|
107
|
+
version = '0.1.176';
|
|
108
108
|
}
|
|
109
109
|
if (basicLibraryVersion === void 0) {
|
|
110
110
|
basicLibraryVersion = {
|