@cc-component/cc-ex-component 1.4.6 → 1.4.7

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.
@@ -450,10 +450,10 @@ export class ${className} extends ViewModel(${this.baseWindowName}) {${sx.text}\
450
450
  const typeMap: Record<string, string> = {
451
451
  'Label': '"文本"',
452
452
  'RichText': '"文本RichText"',
453
- 'Sprite': `{ bundle: '"resources", path: "sprite" }`,
453
+ 'Sprite': `{ bundle: "resources", path: "sprite" }`,
454
454
  'Button': 'true', // Button 通常绑定激活状态(true/false)
455
455
  'ProgressBar': '0', // 进度条应为 number (0~1)
456
- 'sp.Skeleton': `{ bundle: '"resources", path: "spine" }`,
456
+ 'sp.Skeleton': `{ bundle: "resources", path: "spine" }`,
457
457
  'Slider': '0',
458
458
  'Toggle': 'true',
459
459
  'EditBox': '"文本EditBox"',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-component/cc-ex-component",
3
- "version": "1.4.6",
3
+ "version": "1.4.7",
4
4
  "engine": ">=3.8.6",
5
5
  "description": "系统组件添加常用扩展方法",
6
6
  "main": "index.ts",