@easy-editor/materials-dashboard-text 0.0.9 → 0.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.
package/dist/meta.esm.js CHANGED
@@ -1,60 +1,27 @@
1
- /* @easy-editor/materials-dashboard-text v0.0.8 (meta, esm) */
2
- import { jsx } from 'react/jsx-runtime';
3
-
4
- const MaterialGroup = {
5
- BASIC: 'basic'};
6
-
7
- const COMPONENT_NAME = 'EasyEditorMaterialsText';
8
- const PACKAGE_NAME = '@easy-editor/materials-dashboard-text';
9
-
10
- const Text = props => {
11
- const {
12
- ref,
13
- text = 'Text',
14
- fontSize = 14,
15
- color = '#ffffff',
16
- fontWeight = 'normal',
17
- textAlign = 'left',
18
- lineHeight = 1.5,
19
- className = '',
20
- style: externalStyle
21
- } = props;
22
- const internalStyle = {
23
- width: '100%',
24
- height: '100%',
25
- fontSize: typeof fontSize === 'number' ? `${fontSize}px` : fontSize,
26
- color,
27
- fontWeight,
28
- textAlign,
29
- lineHeight,
30
- wordBreak: 'break-word',
31
- whiteSpace: 'pre-wrap'
32
- };
33
- const mergedStyle = {
34
- ...internalStyle,
35
- ...externalStyle
36
- };
37
- return /*#__PURE__*/jsx("div", {
38
- className: className,
39
- ref: ref,
40
- style: mergedStyle,
41
- children: text
42
- });
43
- };
44
-
1
+ /* @easy-editor/materials-dashboard-text v0.0.10 (meta, esm) */
45
2
  const configure = {
46
3
  props: [{
47
4
  type: 'group',
48
- title: '功能',
5
+ title: '属性',
49
6
  setter: 'TabSetter',
50
7
  items: [{
51
8
  type: 'group',
52
- key: 'basic',
53
- title: '基本',
54
- items: [{
9
+ key: 'config',
10
+ title: '配置',
11
+ setter: {
12
+ componentName: 'CollapseSetter',
13
+ props: {
14
+ icon: false
15
+ }
16
+ },
17
+ items: [
18
+ {
55
19
  name: 'id',
56
20
  title: 'ID',
57
- setter: 'NodeIdSetter'
21
+ setter: 'NodeIdSetter',
22
+ extraProps: {
23
+ label: false
24
+ }
58
25
  }, {
59
26
  name: 'title',
60
27
  title: '标题',
@@ -89,13 +56,56 @@ const configure = {
89
56
  }
90
57
  }
91
58
  }]
92
- }, {
93
- name: 'text',
94
- title: '文本内容',
95
- setter: 'StringSetter'
59
+ },
60
+ {
61
+ type: 'group',
62
+ title: '内容',
63
+ setter: {
64
+ componentName: 'CollapseSetter',
65
+ props: {
66
+ icon: false
67
+ }
68
+ },
69
+ items: [{
70
+ name: 'content',
71
+ title: '文本内容',
72
+ setter: 'TextAreaSetter',
73
+ extraProps: {
74
+ defaultValue: '文本内容'
75
+ }
76
+ }, {
77
+ name: 'isLink',
78
+ title: '作为链接',
79
+ setter: 'SwitchSetter',
80
+ extraProps: {
81
+ defaultValue: false
82
+ }
83
+ }, {
84
+ name: 'href',
85
+ title: '链接地址',
86
+ setter: 'StringSetter'
87
+ }, {
88
+ name: 'target',
89
+ title: '打开方式',
90
+ setter: {
91
+ componentName: 'SelectSetter',
92
+ props: {
93
+ options: [{
94
+ label: '新窗口',
95
+ value: '_blank'
96
+ }, {
97
+ label: '当前窗口',
98
+ value: '_self'
99
+ }]
100
+ }
101
+ },
102
+ extraProps: {
103
+ defaultValue: '_blank'
104
+ }
105
+ }]
96
106
  }, {
97
107
  type: 'group',
98
- title: '字体样式',
108
+ title: '字体',
99
109
  setter: {
100
110
  componentName: 'CollapseSetter',
101
111
  props: {
@@ -107,14 +117,7 @@ const configure = {
107
117
  title: '字体大小',
108
118
  setter: 'NumberSetter',
109
119
  extraProps: {
110
- defaultValue: 14
111
- }
112
- }, {
113
- name: 'color',
114
- title: '文字颜色',
115
- setter: 'ColorSetter',
116
- extraProps: {
117
- defaultValue: '#000000'
120
+ defaultValue: 16
118
121
  }
119
122
  }, {
120
123
  name: 'fontWeight',
@@ -128,39 +131,19 @@ const configure = {
128
131
  }, {
129
132
  label: '粗体',
130
133
  value: 'bold'
131
- }, {
132
- label: '100',
133
- value: '100'
134
- }, {
135
- label: '200',
136
- value: '200'
137
- }, {
138
- label: '300',
139
- value: '300'
140
- }, {
141
- label: '400',
142
- value: '400'
143
- }, {
144
- label: '500',
145
- value: '500'
146
- }, {
147
- label: '600',
148
- value: '600'
149
- }, {
150
- label: '700',
151
- value: '700'
152
- }, {
153
- label: '800',
154
- value: '800'
155
- }, {
156
- label: '900',
157
- value: '900'
158
134
  }]
159
135
  }
160
136
  },
161
137
  extraProps: {
162
138
  defaultValue: 'normal'
163
139
  }
140
+ }, {
141
+ name: 'color',
142
+ title: '颜色',
143
+ setter: 'ColorSetter',
144
+ extraProps: {
145
+ defaultValue: '#ffffff'
146
+ }
164
147
  }, {
165
148
  name: 'lineHeight',
166
149
  title: '行高',
@@ -168,39 +151,62 @@ const configure = {
168
151
  extraProps: {
169
152
  defaultValue: 1.5
170
153
  }
171
- }, {
154
+ }]
155
+ }, {
156
+ type: 'group',
157
+ title: '对齐',
158
+ setter: {
159
+ componentName: 'CollapseSetter',
160
+ props: {
161
+ icon: false
162
+ }
163
+ },
164
+ items: [{
172
165
  name: 'textAlign',
173
- title: '文本对齐',
166
+ title: '水平对齐',
174
167
  setter: {
175
- componentName: 'RadioGroupSetter',
168
+ componentName: 'SegmentedSetter',
176
169
  props: {
177
170
  options: [{
178
- label: '左对齐',
171
+ label: '',
179
172
  value: 'left'
180
173
  }, {
181
- label: '居中',
174
+ label: '',
182
175
  value: 'center'
183
176
  }, {
184
- label: '右对齐',
177
+ label: '',
185
178
  value: 'right'
186
- }, {
187
- label: '两端对齐',
188
- value: 'justify'
189
179
  }]
190
180
  }
191
181
  },
192
182
  extraProps: {
193
183
  defaultValue: 'left'
194
184
  }
185
+ }, {
186
+ name: 'verticalAlign',
187
+ title: '垂直对齐',
188
+ setter: {
189
+ componentName: 'SegmentedSetter',
190
+ props: {
191
+ options: [{
192
+ label: '上',
193
+ value: 'top'
194
+ }, {
195
+ label: '中',
196
+ value: 'middle'
197
+ }, {
198
+ label: '下',
199
+ value: 'bottom'
200
+ }]
201
+ }
202
+ },
203
+ extraProps: {
204
+ defaultValue: 'middle'
205
+ }
195
206
  }]
196
- }]
197
- }, {
198
- type: 'group',
199
- key: 'advanced',
200
- title: '高级',
201
- items: [{
207
+ }, {
202
208
  type: 'group',
203
- title: '高级设置',
209
+ title: '效果',
204
210
  setter: {
205
211
  componentName: 'CollapseSetter',
206
212
  props: {
@@ -208,38 +214,69 @@ const configure = {
208
214
  }
209
215
  },
210
216
  items: [{
211
- title: '显隐',
217
+ name: 'underline',
218
+ title: '下划线',
212
219
  setter: 'SwitchSetter',
213
220
  extraProps: {
214
- supportVariable: true,
215
- getValue(target) {
216
- return target.getExtraPropValue('condition');
217
- },
218
- setValue(target, value) {
219
- target.setExtraPropValue('condition', value);
220
- }
221
+ defaultValue: false
222
+ }
223
+ }, {
224
+ name: 'glowEnable',
225
+ title: '发光效果',
226
+ setter: 'SwitchSetter',
227
+ extraProps: {
228
+ defaultValue: false
229
+ }
230
+ }, {
231
+ name: 'glowColor',
232
+ title: '发光颜色',
233
+ setter: 'ColorSetter',
234
+ extraProps: {
235
+ defaultValue: '#00d4ff'
221
236
  }
222
237
  }]
223
238
  }]
239
+ }, {
240
+ type: 'group',
241
+ key: 'data',
242
+ title: '数据',
243
+ items: [{
244
+ name: 'dataBinding',
245
+ title: '数据绑定',
246
+ setter: 'DataBindingSetter'
247
+ }]
248
+ }, {
249
+ type: 'group',
250
+ key: 'advanced',
251
+ title: '高级',
252
+ items: [{
253
+ name: 'condition',
254
+ title: '显隐控制',
255
+ setter: 'SwitchSetter',
256
+ extraProps: {
257
+ defaultValue: true,
258
+ supportVariable: true
259
+ }
260
+ }]
224
261
  }]
225
262
  }],
226
263
  component: {},
227
264
  supports: {},
228
- advanced: {
229
- view: Text
230
- }
265
+ advanced: {}
231
266
  };
232
267
 
268
+ const COMPONENT_NAME = 'EasyEditorMaterialsText';
269
+ const PACKAGE_NAME = '@easy-editor/materials-dashboard-text';
270
+
233
271
  const snippets = [{
234
- title: 'Text',
235
- screenshot: 'https://img.alicdn.com/imgextra/i3/O1CN01n5wpxc1bi862KuXFz_!!6000000003498-55-tps-50-50.svg',
272
+ title: '普通文本',
273
+ screenshot: '',
236
274
  schema: {
237
275
  componentName: COMPONENT_NAME,
238
276
  props: {
239
- text: 'Text Text Text',
240
- fontSize: 14,
241
- color: '#ffffff',
242
- textAlign: 'left'
277
+ content: '这是一段普通文本',
278
+ fontSize: 16,
279
+ color: '#ffffff'
243
280
  },
244
281
  $dashboard: {
245
282
  rect: {
@@ -249,40 +286,91 @@ const snippets = [{
249
286
  }
250
287
  }
251
288
  }, {
252
- title: 'Heading',
253
- screenshot: 'https://img.alicdn.com/imgextra/i3/O1CN01n5wpxc1bi862KuXFz_!!6000000003498-55-tps-50-50.svg',
289
+ title: '标题文本',
290
+ screenshot: '',
254
291
  schema: {
255
292
  componentName: COMPONENT_NAME,
256
293
  props: {
257
- text: 'Heading',
258
- fontSize: 24,
259
- color: '#ffffff',
294
+ content: '标题文本',
295
+ fontSize: 32,
260
296
  fontWeight: 'bold',
297
+ color: '#ffffff',
261
298
  textAlign: 'center'
262
299
  },
263
300
  $dashboard: {
264
301
  rect: {
265
302
  width: 200,
266
- height: 50
303
+ height: 60
304
+ }
305
+ }
306
+ }
307
+ }, {
308
+ title: '发光标题',
309
+ screenshot: '',
310
+ schema: {
311
+ componentName: COMPONENT_NAME,
312
+ props: {
313
+ content: '发光标题',
314
+ fontSize: 36,
315
+ fontWeight: 'bold',
316
+ color: '#00d4ff',
317
+ textAlign: 'center',
318
+ glowEnable: true,
319
+ glowColor: '#00d4ff',
320
+ glowIntensity: 1.5
321
+ },
322
+ $dashboard: {
323
+ rect: {
324
+ width: 240,
325
+ height: 80
326
+ }
327
+ }
328
+ }
329
+ }, {
330
+ title: '链接文本',
331
+ screenshot: '',
332
+ schema: {
333
+ componentName: COMPONENT_NAME,
334
+ props: {
335
+ content: '点击跳转',
336
+ fontSize: 16,
337
+ color: '#00d4ff',
338
+ isLink: true,
339
+ href: 'https://easy-editor-docs.vercel.app/',
340
+ target: '_blank',
341
+ underline: true
342
+ },
343
+ $dashboard: {
344
+ rect: {
345
+ width: 120,
346
+ height: 40
267
347
  }
268
348
  }
269
349
  }
270
350
  }];
271
351
 
352
+ const MaterialGroup = {
353
+ BASIC: 'basic'};
354
+
355
+ var version = "0.0.10";
356
+ var pkg = {
357
+ version: version};
358
+
272
359
  const meta = {
273
360
  componentName: COMPONENT_NAME,
274
- title: 'Text',
361
+ title: '文本',
362
+ category: 'dashboard',
275
363
  group: MaterialGroup.BASIC,
276
364
  devMode: 'proCode',
277
365
  npm: {
278
366
  package: PACKAGE_NAME,
279
- version: 'latest',
367
+ version: pkg.version,
280
368
  globalName: COMPONENT_NAME,
281
369
  componentName: COMPONENT_NAME
282
370
  },
283
- snippets,
284
- configure
371
+ configure,
372
+ snippets
285
373
  };
286
374
 
287
- export { meta as default };
375
+ export { meta };
288
376
  //# sourceMappingURL=meta.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.esm.js","sources":["../../../shared/src/types.ts","../src/constants.ts","../src/component.tsx","../src/configure.ts","../src/snippets.ts","../src/meta.ts"],"sourcesContent":["/**\n * Material Groups\n * 物料分组常量\n */\nexport const MaterialGroup = {\n /** 内置 */\n INNER: 'inner',\n /** 基础 */\n BASIC: 'basic',\n /** 图表 */\n CHART: 'chart',\n /** 数据展示 */\n DATA: 'data',\n /** 交互 */\n INTERACTION: 'interaction',\n} as const\n\n/**\n * Material Group Type\n */\nexport type MaterialGroupType = (typeof MaterialGroup)[keyof typeof MaterialGroup]\n","/**\n * 物料常量配置\n * 统一管理全局变量名等配置,确保 meta.ts 和 rollup.config.js 使用相同的值\n */\n\n/**\n * UMD 全局变量基础名称\n * 用于构建:\n * - 元数据:${GLOBAL_NAME}Meta (例如: EasyEditorMaterialsTextMeta)\n * - 组件:${GLOBAL_NAME}Component (例如: EasyEditorMaterialsTextComponent)\n * - 完整构建:${GLOBAL_NAME} (例如: EasyEditorMaterialsText)\n */\nexport const COMPONENT_NAME = 'EasyEditorMaterialsText'\n\n/**\n * 包名\n */\nexport const PACKAGE_NAME = '@easy-editor/materials-dashboard-text'\n","import type { CSSProperties, Ref } from 'react'\n\ninterface TextProps {\n ref?: Ref<HTMLDivElement>\n text?: string\n fontSize?: number | string\n color?: string\n fontWeight?: string | number\n textAlign?: 'left' | 'center' | 'right' | 'justify'\n lineHeight?: number | string\n className?: string\n style?: CSSProperties\n}\n\nconst Text = (props: TextProps) => {\n const {\n ref,\n text = 'Text',\n fontSize = 14,\n color = '#ffffff',\n fontWeight = 'normal',\n textAlign = 'left',\n lineHeight = 1.5,\n className = '',\n style: externalStyle,\n } = props\n\n const internalStyle: CSSProperties = {\n width: '100%',\n height: '100%',\n fontSize: typeof fontSize === 'number' ? `${fontSize}px` : fontSize,\n color,\n fontWeight,\n textAlign,\n lineHeight,\n wordBreak: 'break-word',\n whiteSpace: 'pre-wrap',\n }\n\n const mergedStyle = { ...internalStyle, ...externalStyle }\n\n return (\n <div className={className} ref={ref} style={mergedStyle}>\n {text}\n </div>\n )\n}\n\nexport default Text\n","import type { Configure } from '@easy-editor/core'\nimport Text from './component'\n\nconst configure: Configure = {\n props: [\n {\n type: 'group',\n title: '功能',\n setter: 'TabSetter',\n items: [\n {\n type: 'group',\n key: 'basic',\n title: '基本',\n items: [\n {\n name: 'id',\n title: 'ID',\n setter: 'NodeIdSetter',\n },\n {\n name: 'title',\n title: '标题',\n setter: 'StringSetter',\n extraProps: {\n getValue(target) {\n return target.getExtraPropValue('title')\n },\n setValue(target, value) {\n target.setExtraPropValue('title', value)\n },\n },\n },\n {\n type: 'group',\n title: '基础属性',\n setter: {\n componentName: 'CollapseSetter',\n props: {\n icon: false,\n },\n },\n items: [\n {\n name: 'rect',\n title: '位置尺寸',\n setter: 'RectSetter',\n extraProps: {\n getValue(target) {\n return target.getExtraPropValue('$dashboard.rect')\n },\n setValue(target, value) {\n target.setExtraPropValue('$dashboard.rect', value)\n },\n },\n },\n ],\n },\n {\n name: 'text',\n title: '文本内容',\n setter: 'StringSetter',\n },\n {\n type: 'group',\n title: '字体样式',\n setter: {\n componentName: 'CollapseSetter',\n props: {\n icon: false,\n },\n },\n items: [\n {\n name: 'fontSize',\n title: '字体大小',\n setter: 'NumberSetter',\n extraProps: {\n defaultValue: 14,\n },\n },\n {\n name: 'color',\n title: '文字颜色',\n setter: 'ColorSetter',\n extraProps: {\n defaultValue: '#000000',\n },\n },\n {\n name: 'fontWeight',\n title: '字体粗细',\n setter: {\n componentName: 'SelectSetter',\n props: {\n options: [\n { label: '正常', value: 'normal' },\n { label: '粗体', value: 'bold' },\n { label: '100', value: '100' },\n { label: '200', value: '200' },\n { label: '300', value: '300' },\n { label: '400', value: '400' },\n { label: '500', value: '500' },\n { label: '600', value: '600' },\n { label: '700', value: '700' },\n { label: '800', value: '800' },\n { label: '900', value: '900' },\n ],\n },\n },\n extraProps: {\n defaultValue: 'normal',\n },\n },\n {\n name: 'lineHeight',\n title: '行高',\n setter: 'NumberSetter',\n extraProps: {\n defaultValue: 1.5,\n },\n },\n {\n name: 'textAlign',\n title: '文本对齐',\n setter: {\n componentName: 'RadioGroupSetter',\n props: {\n options: [\n { label: '左对齐', value: 'left' },\n { label: '居中', value: 'center' },\n { label: '右对齐', value: 'right' },\n { label: '两端对齐', value: 'justify' },\n ],\n },\n },\n extraProps: {\n defaultValue: 'left',\n },\n },\n ],\n },\n ],\n },\n {\n type: 'group',\n key: 'advanced',\n title: '高级',\n items: [\n {\n type: 'group',\n title: '高级设置',\n setter: {\n componentName: 'CollapseSetter',\n props: {\n icon: false,\n },\n },\n items: [\n {\n title: '显隐',\n setter: 'SwitchSetter',\n extraProps: {\n supportVariable: true,\n getValue(target) {\n return target.getExtraPropValue('condition')\n },\n setValue(target, value: boolean) {\n target.setExtraPropValue('condition', value)\n },\n },\n },\n ],\n },\n ],\n },\n ],\n },\n ],\n component: {},\n supports: {},\n advanced: {\n view: Text,\n },\n}\n\nexport default configure\n","import type { Snippet } from '@easy-editor/core'\nimport { COMPONENT_NAME } from './constants'\n\nconst snippets: Snippet[] = [\n {\n title: 'Text',\n screenshot: 'https://img.alicdn.com/imgextra/i3/O1CN01n5wpxc1bi862KuXFz_!!6000000003498-55-tps-50-50.svg',\n schema: {\n componentName: COMPONENT_NAME,\n props: {\n text: 'Text Text Text',\n fontSize: 14,\n color: '#ffffff',\n textAlign: 'left',\n },\n $dashboard: {\n rect: {\n width: 120,\n height: 40,\n },\n },\n },\n },\n {\n title: 'Heading',\n screenshot: 'https://img.alicdn.com/imgextra/i3/O1CN01n5wpxc1bi862KuXFz_!!6000000003498-55-tps-50-50.svg',\n schema: {\n componentName: COMPONENT_NAME,\n props: {\n text: 'Heading',\n fontSize: 24,\n color: '#ffffff',\n fontWeight: 'bold',\n textAlign: 'center',\n },\n $dashboard: {\n rect: {\n width: 200,\n height: 50,\n },\n },\n },\n },\n]\n\nexport default snippets\n","import type { ComponentMetadata } from '@easy-editor/core'\nimport { MaterialGroup } from '@easy-editor/materials-shared'\nimport { COMPONENT_NAME, PACKAGE_NAME } from './constants'\nimport configure from './configure'\nimport snippets from './snippets'\n\nconst meta: ComponentMetadata = {\n componentName: COMPONENT_NAME,\n title: 'Text',\n group: MaterialGroup.BASIC,\n devMode: 'proCode',\n npm: {\n package: PACKAGE_NAME,\n version: 'latest',\n globalName: COMPONENT_NAME,\n componentName: COMPONENT_NAME,\n },\n snippets,\n configure,\n}\n\nexport default meta\n"],"names":["MaterialGroup","INNER","BASIC","COMPONENT_NAME","PACKAGE_NAME","Text","props","ref","text","fontSize","color","fontWeight","textAlign","lineHeight","className","style","externalStyle","internalStyle","width","height","wordBreak","whiteSpace","mergedStyle","_jsx","children","configure","type","title","setter","items","key","name","extraProps","getValue","target","getExtraPropValue","setValue","value","setExtraPropValue","componentName","icon","defaultValue","options","label","supportVariable","component","supports","advanced","view","snippets","screenshot","schema","$dashboard","rect","meta","group","devMode","npm","package","version","globalName"],"mappings":";;;AAIO,MAAMA,aAAa,GAAG;AAE3BC,EAEAC,KAAK,EAAE,O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AE;AACVC,MAAAA,IAAI,EAAE;AACJnC,QAAAA,KAAK,EAAE,GAAG;AACVC,QAAAA,MAAM,EAAE;AACV;AACF;AACF;AACF,CAAC,EACD;AACEQ,EAAAA,KAAK,EAAE,SAAS;AAChBuB,EAAAA,UAAU,EAAE,6FAA6F;AACzGC,EAAAA,MAAM,EAAE;AACNZ,IAAAA,aAAa,EAAEpC,cAAc;AAC7BG,IAAAA,KAAK,EAAE;AACLE,MAAAA,IAAI,EAAE,SAAS;AACfC,MAAAA,QAAQ,EAAE,EAAE;AACZC,MAAAA,KAAK,EAAE,SAAS;AAChBC,MAAAA,UAAU,EAAE,MAAM;AAClBC,MAAAA,SAAS,EAAE;KACZ;AACDwC,IAAAA,UAAU,EAAE;AACVC,MAAAA,IAAI,EAAE;AACJnC,QAAAA,KAAK,EAAE,GAAG;AACVC,QAAAA,MAAM,EAAE;AACV;AACF;AACF;AACF,CAAC,CACF;;ACrCD,MAAMmC,IAAuB,GAAG;AAC9Bf,EAAAA,aAAa,EAAEpC,cAAc;AAC7BwB,EAAAA,KAAK,EAAE,MAAM;EACb4B,KAAK,EAAEvD,aAAa,CAACE,KAAK;AAC1BsD,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,GAAG,EAAE;AACHC,IAAAA,OAAO,EAAEtD,YAAY;AACrBuD,IAAAA,OAAO,EAAE,QAAQ;AACjBC,IAAAA,UAAU,EAAEzD,cAAc;AAC1BoC,IAAAA,aAAa,EAAEpC;GAChB;EACD8C,QAAQ;AACRxB,EAAAA;AACF;;;;"}
1
+ {"version":3,"file":"meta.esm.js","sources":["../src/configure.ts","../src/constants.ts","../src/snippets.ts","../../../../shared/src/index.ts","../src/meta.ts"],"sourcesContent":["/**\n * Text Configure\n * 文本组件配置\n */\n\nimport type { Configure } from '@easy-editor/core'\n\nexport const configure: Configure = {\n props: [\n {\n type: 'group',\n title: '属性',\n setter: 'TabSetter',\n items: [\n {\n type: 'group',\n key: 'config',\n title: '配置',\n setter: {\n componentName: 'CollapseSetter',\n props: {\n icon: false,\n },\n },\n items: [\n // 基础配置\n {\n name: 'id',\n title: 'ID',\n setter: 'NodeIdSetter',\n extraProps: {\n // @ts-expect-error label is not a valid extra prop\n label: false,\n },\n },\n {\n name: 'title',\n title: '标题',\n setter: 'StringSetter',\n extraProps: {\n getValue(target) {\n return target.getExtraPropValue('title')\n },\n setValue(target, value) {\n target.setExtraPropValue('title', value)\n },\n },\n },\n {\n type: 'group',\n title: '基础属性',\n setter: {\n componentName: 'CollapseSetter',\n props: {\n icon: false,\n },\n },\n items: [\n {\n name: 'rect',\n title: '位置尺寸',\n setter: 'RectSetter',\n extraProps: {\n getValue(target) {\n return target.getExtraPropValue('$dashboard.rect')\n },\n setValue(target, value) {\n target.setExtraPropValue('$dashboard.rect', value)\n },\n },\n },\n ],\n },\n // 组件配置\n {\n type: 'group',\n title: '内容',\n setter: {\n componentName: 'CollapseSetter',\n props: {\n icon: false,\n },\n },\n items: [\n {\n name: 'content',\n title: '文本内容',\n setter: 'TextAreaSetter',\n extraProps: {\n defaultValue: '文本内容',\n },\n },\n {\n name: 'isLink',\n title: '作为链接',\n setter: 'SwitchSetter',\n extraProps: {\n defaultValue: false,\n },\n },\n {\n name: 'href',\n title: '链接地址',\n setter: 'StringSetter',\n },\n {\n name: 'target',\n title: '打开方式',\n setter: {\n componentName: 'SelectSetter',\n props: {\n options: [\n { label: '新窗口', value: '_blank' },\n { label: '当前窗口', value: '_self' },\n ],\n },\n },\n extraProps: {\n defaultValue: '_blank',\n },\n },\n ],\n },\n {\n type: 'group',\n title: '字体',\n setter: {\n componentName: 'CollapseSetter',\n props: {\n icon: false,\n },\n },\n items: [\n {\n name: 'fontSize',\n title: '字体大小',\n setter: 'NumberSetter',\n extraProps: {\n defaultValue: 16,\n },\n },\n {\n name: 'fontWeight',\n title: '字体粗细',\n setter: {\n componentName: 'SelectSetter',\n props: {\n options: [\n { label: '正常', value: 'normal' },\n { label: '粗体', value: 'bold' },\n ],\n },\n },\n extraProps: {\n defaultValue: 'normal',\n },\n },\n {\n name: 'color',\n title: '颜色',\n setter: 'ColorSetter',\n extraProps: {\n defaultValue: '#ffffff',\n },\n },\n {\n name: 'lineHeight',\n title: '行高',\n setter: 'NumberSetter',\n extraProps: {\n defaultValue: 1.5,\n },\n },\n ],\n },\n {\n type: 'group',\n title: '对齐',\n setter: {\n componentName: 'CollapseSetter',\n props: {\n icon: false,\n },\n },\n items: [\n {\n name: 'textAlign',\n title: '水平对齐',\n setter: {\n componentName: 'SegmentedSetter',\n props: {\n options: [\n { label: '左', value: 'left' },\n { label: '中', value: 'center' },\n { label: '右', value: 'right' },\n ],\n },\n },\n extraProps: {\n defaultValue: 'left',\n },\n },\n {\n name: 'verticalAlign',\n title: '垂直对齐',\n setter: {\n componentName: 'SegmentedSetter',\n props: {\n options: [\n { label: '上', value: 'top' },\n { label: '中', value: 'middle' },\n { label: '下', value: 'bottom' },\n ],\n },\n },\n extraProps: {\n defaultValue: 'middle',\n },\n },\n ],\n },\n {\n type: 'group',\n title: '效果',\n setter: {\n componentName: 'CollapseSetter',\n props: {\n icon: false,\n },\n },\n items: [\n {\n name: 'underline',\n title: '下划线',\n setter: 'SwitchSetter',\n extraProps: {\n defaultValue: false,\n },\n },\n {\n name: 'glowEnable',\n title: '发光效果',\n setter: 'SwitchSetter',\n extraProps: {\n defaultValue: false,\n },\n },\n {\n name: 'glowColor',\n title: '发光颜色',\n setter: 'ColorSetter',\n extraProps: {\n defaultValue: '#00d4ff',\n },\n },\n ],\n },\n ],\n },\n {\n type: 'group',\n key: 'data',\n title: '数据',\n items: [\n {\n name: 'dataBinding',\n title: '数据绑定',\n setter: 'DataBindingSetter',\n },\n ],\n },\n {\n type: 'group',\n key: 'advanced',\n title: '高级',\n items: [\n {\n name: 'condition',\n title: '显隐控制',\n setter: 'SwitchSetter',\n extraProps: {\n defaultValue: true,\n supportVariable: true,\n },\n },\n ],\n },\n ],\n },\n ],\n component: {},\n supports: {},\n advanced: {},\n}\n","/**\n * 物料常量配置\n * 统一管理全局变量名等配置,确保 meta.ts 和 rollup.config.js 使用相同的值\n */\n\n/**\n * UMD 全局变量基础名称\n * 用于构建:\n * - 元数据:${GLOBAL_NAME}Meta (例如: EasyEditorMaterialsTextMeta)\n * - 组件:${GLOBAL_NAME}Component (例如: EasyEditorMaterialsTextComponent)\n * - 完整构建:${GLOBAL_NAME} (例如: EasyEditorMaterialsText)\n */\nexport const COMPONENT_NAME = 'EasyEditorMaterialsText'\n\n/**\n * 包名\n */\nexport const PACKAGE_NAME = '@easy-editor/materials-dashboard-text'\n","/**\n * Text Snippets\n * 文本组件代码片段\n */\n\nimport type { Snippet } from '@easy-editor/core'\nimport { COMPONENT_NAME } from './constants'\n\nexport const snippets: Snippet[] = [\n {\n title: '普通文本',\n screenshot: '',\n schema: {\n componentName: COMPONENT_NAME,\n props: {\n content: '这是一段普通文本',\n fontSize: 16,\n color: '#ffffff',\n },\n $dashboard: {\n rect: {\n width: 120,\n height: 40,\n },\n },\n },\n },\n {\n title: '标题文本',\n screenshot: '',\n schema: {\n componentName: COMPONENT_NAME,\n props: {\n content: '标题文本',\n fontSize: 32,\n fontWeight: 'bold',\n color: '#ffffff',\n textAlign: 'center',\n },\n $dashboard: {\n rect: {\n width: 200,\n height: 60,\n },\n },\n },\n },\n {\n title: '发光标题',\n screenshot: '',\n schema: {\n componentName: COMPONENT_NAME,\n props: {\n content: '发光标题',\n fontSize: 36,\n fontWeight: 'bold',\n color: '#00d4ff',\n textAlign: 'center',\n glowEnable: true,\n glowColor: '#00d4ff',\n glowIntensity: 1.5,\n },\n $dashboard: {\n rect: {\n width: 240,\n height: 80,\n },\n },\n },\n },\n {\n title: '链接文本',\n screenshot: '',\n schema: {\n componentName: COMPONENT_NAME,\n props: {\n content: '点击跳转',\n fontSize: 16,\n color: '#00d4ff',\n isLink: true,\n href: 'https://easy-editor-docs.vercel.app/',\n target: '_blank',\n underline: true,\n },\n $dashboard: {\n rect: {\n width: 120,\n height: 40,\n },\n },\n },\n },\n]\n","/**\n * Shared types, components and utilities for EasyEditor materials\n * @package @easy-editor/materials-shared\n */\n\n// 物料分组常量\nexport const MaterialGroup = {\n /** 内置 */\n INNER: 'inner',\n /** 基础 */\n BASIC: 'basic',\n /** 图表 */\n CHART: 'chart',\n /** 数据展示 */\n DISPLAY: 'display',\n /** 媒体 */\n MEDIA: 'media',\n /** 交互 */\n INTERACTION: 'interaction',\n /** 地图 */\n MAP: 'map',\n} as const\n\nexport type MaterialGroup = (typeof MaterialGroup)[keyof typeof MaterialGroup]\n\n// 工具函数\nexport { cn } from './lib/utils'\n\nexport * from './types'\n","/**\n * Text Meta\n * 文本组件元数据\n */\n\nimport type { ComponentMetadata } from '@easy-editor/core'\nimport { configure } from './configure'\nimport { snippets } from './snippets'\nimport { COMPONENT_NAME, PACKAGE_NAME } from './constants'\nimport { MaterialGroup } from '@easy-editor/materials-shared'\nimport pkg from '../package.json'\n\nexport const meta: ComponentMetadata = {\n componentName: COMPONENT_NAME,\n title: '文本',\n category: 'dashboard',\n group: MaterialGroup.BASIC,\n devMode: 'proCode',\n npm: {\n package: PACKAGE_NAME,\n version: pkg.version,\n globalName: COMPONENT_NAME,\n componentName: COMPONENT_NAME,\n },\n configure,\n snippets,\n}\n"],"names":["configure","props","type","title","setter","items","key","componentName","icon","name","extraProps","label","getValue","target","getExtraPropValue","setValue","value","setExtraPropValue","defaultValue","options","supportVariable","component","supports","advanced","COMPONENT_NAME","PACKAGE_NAME","snippets","screenshot","schema","content","fontSize","color","$dashboard","rect","width","height","fontWeight","textAlign","glowEnable","glowColor","glowIntensity","isLink","href","underline","MaterialGroup","INNER","BASIC","meta","category","group","devMode","npm","package","version","pkg","globalName"],"mappings":";AAOO,MAAMA,SAAoB,GAAG;AAClCC,EAAAA,KAAK,EAAE,CACL;AACEC,IAAAA,IAAI,EAAE,OAAO;AACbC,IAAAA,KAAK,EAAE,IAAI;AACXC,IAAAA,MAAM,EAAE,WAAW;AACnBC,IAAAA,KAAK,EAAE,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