wireless-desc-converter 1.0.10 → 1.0.11

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.
@@ -486,7 +486,6 @@ function buildTextModule(params) {
486
486
  { id: 'images', type: 'multiComplex', values: imageValues },
487
487
  singleCheckField('enable', 'true'),
488
488
  singleCheckField('countHeight', 'false'),
489
- inputField('id', groupId),
490
489
  { id: 'textStyle', type: 'complex', value: { props: textStyleProps } }
491
490
  // sample(示意图)不传:官方文档确认为可选字段,缺省不报错
492
491
  ]
@@ -534,7 +533,6 @@ function buildImageModule(params) {
534
533
  singleCheckField('enable', 'true'),
535
534
  singleCheckField('countHeight', 'true'),
536
535
  { id: 'hot_area', type: 'multiComplex', values: hotAreaValues },
537
- inputField('id', groupId),
538
536
  { id: 'sample', type: 'multiComplex', values: sampleValues }
539
537
  ]
540
538
  }
@@ -552,7 +550,6 @@ function buildRichTextModule(params) {
552
550
  props: [
553
551
  singleCheckField('enable', 'false'),
554
552
  singleCheckField('countHeight', 'false'),
555
- inputField('id', groupId),
556
553
  { id: 'html', type: 'complex', value: {
557
554
  props: [inputField('text', params.html || ''), inputField('width', ''), inputField('height', '')]
558
555
  }},
@@ -484,7 +484,6 @@ function buildTextModule(params) {
484
484
  { id: 'images', type: 'multiComplex', values: imageValues },
485
485
  singleCheckField('enable', 'true'),
486
486
  singleCheckField('countHeight', 'false'),
487
- inputField('id', groupId),
488
487
  { id: 'textStyle', type: 'complex', value: { props: textStyleProps } }
489
488
  // sample(示意图)不传:官方文档确认为可选字段,缺省不报错
490
489
  ]
@@ -532,7 +531,6 @@ function buildImageModule(params) {
532
531
  singleCheckField('enable', 'true'),
533
532
  singleCheckField('countHeight', 'true'),
534
533
  { id: 'hot_area', type: 'multiComplex', values: hotAreaValues },
535
- inputField('id', groupId),
536
534
  { id: 'sample', type: 'multiComplex', values: sampleValues }
537
535
  ]
538
536
  }
@@ -550,7 +548,6 @@ function buildRichTextModule(params) {
550
548
  props: [
551
549
  singleCheckField('enable', 'false'),
552
550
  singleCheckField('countHeight', 'false'),
553
- inputField('id', groupId),
554
551
  { id: 'html', type: 'complex', value: {
555
552
  props: [inputField('text', params.html || ''), inputField('width', ''), inputField('height', '')]
556
553
  }},
@@ -490,7 +490,6 @@
490
490
  { id: 'images', type: 'multiComplex', values: imageValues },
491
491
  singleCheckField('enable', 'true'),
492
492
  singleCheckField('countHeight', 'false'),
493
- inputField('id', groupId),
494
493
  { id: 'textStyle', type: 'complex', value: { props: textStyleProps } }
495
494
  // sample(示意图)不传:官方文档确认为可选字段,缺省不报错
496
495
  ]
@@ -538,7 +537,6 @@
538
537
  singleCheckField('enable', 'true'),
539
538
  singleCheckField('countHeight', 'true'),
540
539
  { id: 'hot_area', type: 'multiComplex', values: hotAreaValues },
541
- inputField('id', groupId),
542
540
  { id: 'sample', type: 'multiComplex', values: sampleValues }
543
541
  ]
544
542
  }
@@ -556,7 +554,6 @@
556
554
  props: [
557
555
  singleCheckField('enable', 'false'),
558
556
  singleCheckField('countHeight', 'false'),
559
- inputField('id', groupId),
560
557
  { id: 'html', type: 'complex', value: {
561
558
  props: [inputField('text', params.html || ''), inputField('width', ''), inputField('height', '')]
562
559
  }},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wireless-desc-converter",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "淘宝新版图文编辑器 wirelessDesc 适配工具 - HTML 富文本转换为结构化 JSON",
5
5
  "type": "module",
6
6
  "main": "dist/wireless-desc-converter.umd.js",
package/src/index.js CHANGED
@@ -484,7 +484,6 @@ function buildTextModule(params) {
484
484
  { id: 'images', type: 'multiComplex', values: imageValues },
485
485
  singleCheckField('enable', 'true'),
486
486
  singleCheckField('countHeight', 'false'),
487
- inputField('id', groupId),
488
487
  { id: 'textStyle', type: 'complex', value: { props: textStyleProps } }
489
488
  // sample(示意图)不传:官方文档确认为可选字段,缺省不报错
490
489
  ]
@@ -532,7 +531,6 @@ function buildImageModule(params) {
532
531
  singleCheckField('enable', 'true'),
533
532
  singleCheckField('countHeight', 'true'),
534
533
  { id: 'hot_area', type: 'multiComplex', values: hotAreaValues },
535
- inputField('id', groupId),
536
534
  { id: 'sample', type: 'multiComplex', values: sampleValues }
537
535
  ]
538
536
  }
@@ -550,7 +548,6 @@ function buildRichTextModule(params) {
550
548
  props: [
551
549
  singleCheckField('enable', 'false'),
552
550
  singleCheckField('countHeight', 'false'),
553
- inputField('id', groupId),
554
551
  { id: 'html', type: 'complex', value: {
555
552
  props: [inputField('text', params.html || ''), inputField('width', ''), inputField('height', '')]
556
553
  }},