@lingxiteam/theme-utils 0.2.15 → 0.2.16

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.
@@ -116,61 +116,40 @@ export declare const Tabs: {
116
116
  props: {
117
117
  name: string;
118
118
  basicStatus: number;
119
- type: string;
120
- animated: boolean;
121
- defaultActiveKey: string;
122
- tabBarGutter: string;
123
- tabPosition: string;
124
- size: string;
125
- className: string;
119
+ content: string;
120
+ textType: string;
121
+ showHtml: boolean;
122
+ type?: undefined;
123
+ animated?: undefined;
124
+ defaultActiveKey?: undefined;
125
+ tabBarGutter?: undefined;
126
+ tabPosition?: undefined;
127
+ size?: undefined;
126
128
  };
127
129
  style: {
128
- width: string;
129
- margin: string;
130
+ textAlign: string;
131
+ fontSize: number;
132
+ lineHeight: string;
133
+ color: string;
134
+ backgroundColor: string;
130
135
  padding: string;
136
+ margin: string;
137
+ width?: undefined;
131
138
  };
132
139
  isContainer: boolean;
133
140
  isBusiObjContainer: boolean;
134
141
  cmdgroup: string[];
135
142
  platform: string;
136
143
  icon: string;
144
+ isInlineBlock: boolean;
145
+ setEvents: never[];
137
146
  description: string;
138
147
  image: string;
139
148
  groupsName: string;
140
- onlyChildren: string[];
141
- setEvents: never[];
142
149
  isLabelDropBoxChild: boolean;
143
- components: {
144
- id: string;
145
- label: string;
146
- compName: string;
147
- type: string;
148
- compType: number;
149
- compLib: string;
150
- props: {
151
- name: string;
152
- basicStatus: number;
153
- tab: string;
154
- key: string;
155
- };
156
- style: {
157
- minHeight: number;
158
- };
159
- isContainer: boolean;
160
- isBusiObjContainer: boolean;
161
- cmdgroup: string[];
162
- platform: string;
163
- icon: string;
164
- description: string;
165
- image: string;
166
- groupsName: string;
167
- onlyRoot: string[];
168
- setEvents: never[];
169
- isLabelDropBoxChild: boolean;
170
- components: never[];
171
- path: string[];
172
- }[];
150
+ components: never[];
173
151
  path: string[];
152
+ onlyChildren?: undefined;
174
153
  } | {
175
154
  id: string;
176
155
  label: string;
@@ -187,12 +166,19 @@ export declare const Tabs: {
187
166
  tabBarGutter: string;
188
167
  tabPosition: string;
189
168
  size: string;
190
- className?: undefined;
169
+ content?: undefined;
170
+ textType?: undefined;
171
+ showHtml?: undefined;
191
172
  };
192
173
  style: {
193
174
  width: string;
194
175
  margin: string;
195
176
  padding: string;
177
+ textAlign?: undefined;
178
+ fontSize?: undefined;
179
+ lineHeight?: undefined;
180
+ color?: undefined;
181
+ backgroundColor?: undefined;
196
182
  };
197
183
  isContainer: boolean;
198
184
  isBusiObjContainer: boolean;
@@ -219,7 +205,7 @@ export declare const Tabs: {
219
205
  key: string;
220
206
  };
221
207
  style: {
222
- minHeight: number;
208
+ height: number;
223
209
  };
224
210
  isContainer: boolean;
225
211
  isBusiObjContainer: boolean;
@@ -236,5 +222,6 @@ export declare const Tabs: {
236
222
  path: string[];
237
223
  }[];
238
224
  path: string[];
225
+ isInlineBlock?: undefined;
239
226
  })[];
240
227
  };
@@ -146,9 +146,453 @@ export var Tabs = {
146
146
  followThemes: {
147
147
  '@primary-color': ['activeFColor', 'activeBgColor']
148
148
  },
149
- tpl: ".ued-tabs-wrap {\n .pcfactory-tabs {\n border-radius: borderRadius !important;\n }\n .ued-tabs-tabpane-content{\n background-color: bodyColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-nav-wrap{\n background: headBgColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab .pcfactory-tabs-tab-btn{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .pcfactory-tabs-top .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n .pcfactory-tabs-left .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .pcfactory-tabs-bottom .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-right .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n border-bottom-right-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab-active:hover{\n background: activeBgColor;\n\n }\n .pcfactory-tabs-top .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs-left .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n }\n .pcfactory-tabs-bottom .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-right .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-card.pcfactory-tabs-top > .pcfactory-tabs-nav .pcfactory-tabs-tab, .pcfactory-tabs-card.pcfactory-tabs-top > div > .pcfactory-tabs-nav .pcfactory-tabs-tab{\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: 0;\n border-top-right-radius: activeRadius;\n border-bottom-right-radius: 0;\n }\n .pcfactory-tabs-tab.pcfactory-tabs-tab-active .pcfactory-tabs-tab-btn{\n color: activeTextColor;\n font-weight: activeFontWeight;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab{\n margin-right: marginValue;\n padding: paddingValue;\n }\n .pcfactory-tabs.pcfactory-tabs-card .pcfactory-tabs-tab {\n margin-right: marginValue;\n background: #fff;\n border: 1px solid #f0f0f0;\n transform: translateY(1px);\n}\n .pcfactory-tabs-top > .pcfactory-tabs-nav::before, .pcfactory-tabs-bottom > .pcfactory-tabs-nav::before, .pcfactory-tabs-top > div > .pcfactory-tabs-nav::before, .pcfactory-tabs-bottom > div > .pcfactory-tabs-nav::before{\n border-bottom: 2px solid activeFColor;\n z-index: 1;\n}\n .pcfactory-tabs.pcfactory-tabs-card .pcfactory-tabs-tab-active{\n background: activeBgColor;\n }\n }\n ",
149
+ tpl: ".ued-tabs-wrap {\n .pcfactory-tabs-card.pcfactory-tabs-bottom .pcfactory-tabs-tab.pcfactory-tabs-tab-active {\n border-top: 1px solid activeBgColor !important;\n background-color: activeBgColor !important;\n }\n .pcfactory-tabs {\n border-radius: borderRadius !important;\n }\n .ued-tabs-tabpane-content{\n background-color: bodyColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-nav-wrap{\n background: headBgColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab .pcfactory-tabs-tab-btn{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .pcfactory-tabs-top .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n .pcfactory-tabs-left .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .pcfactory-tabs-bottom .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-right .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n border-bottom-right-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab-active:hover{\n background: activeBgColor !important;\n }\n .pcfactory-tabs-top .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs-left .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n }\n .pcfactory-tabs-bottom .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-right .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-card.pcfactory-tabs-bottom .pcfactory-tabs-tab{\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n}\n.pcfactory-tabs-card.pcfactory-tabs-left .pcfactory-tabs-tab{\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n}\n.pcfactory-tabs-card.pcfactory-tabs-right .pcfactory-tabs-tab{\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n}\n.pcfactory-tabs-card.pcfactory-tabs-top .pcfactory-tabs-tab{\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n}\n.pcfactory-tabs-card .pcfactory-tabs-nav .pcfactory-tabs-tab .pcfactory-tabs-tab-btn:hover{\n color: activeBgColor;\n}\n .pcfactory-tabs-tab.pcfactory-tabs-tab-active .pcfactory-tabs-tab-btn{\n color: activeTextColor;\n font-weight: activeFontWeight;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab{\n margin-right: marginValue;\n padding: paddingValue;\n }\n .pcfactory-tabs.pcfactory-tabs-card .pcfactory-tabs-tab {\n margin-right: marginValue;\n background: #fff;\n border: 1px solid #f0f0f0;\n transform: translateY(1px);\n}\n .pcfactory-tabs-top > .pcfactory-tabs-nav::before, .pcfactory-tabs-bottom > .pcfactory-tabs-nav::before, .pcfactory-tabs-top > div > .pcfactory-tabs-nav::before, .pcfactory-tabs-bottom > div > .pcfactory-tabs-nav::before{\n border-bottom: 2px solid activeFColor;\n z-index: 1;\n}\n .pcfactory-tabs.pcfactory-tabs-card .pcfactory-tabs-tab-active{\n background: activeBgColor !important;\n }\n }\n ",
150
150
  components: [{
151
- id: 'Tabs_479998',
151
+ id: 'Text_1726476',
152
+ label: '文本',
153
+ compName: 'Text',
154
+ type: 'Text',
155
+ compType: 1,
156
+ compLib: 'custom',
157
+ props: {
158
+ name: '基础式',
159
+ basicStatus: 1,
160
+ content: '基础式',
161
+ textType: 'h1',
162
+ showHtml: false
163
+ },
164
+ style: {
165
+ textAlign: 'left',
166
+ fontSize: 32,
167
+ lineHeight: '24px',
168
+ color: '#1c242e',
169
+ backgroundColor: 'rgba(255, 255, 255,0)',
170
+ padding: '0px 0px 0px 0px',
171
+ margin: '24px 24px 24px 24px'
172
+ },
173
+ isContainer: false,
174
+ isBusiObjContainer: false,
175
+ cmdgroup: ['basic'],
176
+ platform: 'pc',
177
+ icon: 'Text',
178
+ isInlineBlock: true,
179
+ setEvents: [],
180
+ description: '',
181
+ image: '',
182
+ groupsName: '通用',
183
+ isLabelDropBoxChild: false,
184
+ components: [],
185
+ path: ['057343', 'View_057343_1']
186
+ }, {
187
+ id: 'Tabs_5075684',
188
+ label: '标签页',
189
+ compName: 'Tabs',
190
+ type: 'Tabs',
191
+ compType: 0,
192
+ compLib: 'comm',
193
+ props: {
194
+ name: '标签页',
195
+ basicStatus: 1,
196
+ type: 'line',
197
+ animated: false,
198
+ defaultActiveKey: '1',
199
+ tabBarGutter: '4px',
200
+ tabPosition: 'top',
201
+ size: 'default'
202
+ },
203
+ style: {
204
+ width: '100%',
205
+ margin: '0 0 16px 0',
206
+ padding: '20px 20px 20px 20px'
207
+ },
208
+ isContainer: true,
209
+ isBusiObjContainer: false,
210
+ cmdgroup: ['basic'],
211
+ platform: 'pc',
212
+ icon: 'Tabs',
213
+ description: '',
214
+ image: '',
215
+ groupsName: '容器',
216
+ onlyChildren: ['TabPane'],
217
+ setEvents: [],
218
+ isLabelDropBoxChild: false,
219
+ components: [{
220
+ id: 'TabPane_526344',
221
+ label: '标签子面板',
222
+ compName: 'TabPane',
223
+ type: 'TabPane',
224
+ compType: 0,
225
+ compLib: 'comm',
226
+ props: {
227
+ name: '标签子面板',
228
+ basicStatus: 1,
229
+ tab: '标题1',
230
+ key: '1'
231
+ },
232
+ style: {
233
+ height: 80
234
+ },
235
+ isContainer: true,
236
+ isBusiObjContainer: false,
237
+ cmdgroup: ['basic'],
238
+ platform: 'pc',
239
+ icon: 'TabPane',
240
+ description: '',
241
+ image: '',
242
+ groupsName: '容器',
243
+ onlyRoot: ['Tabs'],
244
+ setEvents: [],
245
+ isLabelDropBoxChild: false,
246
+ components: [],
247
+ path: ['057343', 'View_057343_1', 'Tabs_5075684']
248
+ }, {
249
+ id: 'TabPane_696377',
250
+ label: '标签子面板',
251
+ compName: 'TabPane',
252
+ type: 'TabPane',
253
+ compType: 0,
254
+ compLib: 'comm',
255
+ props: {
256
+ name: '标签子面板',
257
+ basicStatus: 1,
258
+ tab: '标题2',
259
+ key: '2'
260
+ },
261
+ style: {
262
+ height: 80
263
+ },
264
+ isContainer: true,
265
+ isBusiObjContainer: false,
266
+ cmdgroup: ['basic'],
267
+ platform: 'pc',
268
+ icon: 'TabPane',
269
+ description: '',
270
+ image: '',
271
+ groupsName: '容器',
272
+ onlyRoot: ['Tabs'],
273
+ setEvents: [],
274
+ isLabelDropBoxChild: false,
275
+ components: [],
276
+ path: ['057343', 'View_057343_1', 'Tabs_5075684']
277
+ }],
278
+ path: ['057343', 'View_057343_1']
279
+ }, {
280
+ id: 'Tabs_803186',
281
+ label: '标签页',
282
+ compName: 'Tabs',
283
+ type: 'Tabs',
284
+ compType: 0,
285
+ compLib: 'comm',
286
+ props: {
287
+ name: '标签页',
288
+ basicStatus: 1,
289
+ type: 'line',
290
+ animated: false,
291
+ defaultActiveKey: '1',
292
+ tabBarGutter: '4px',
293
+ tabPosition: 'bottom',
294
+ size: 'default'
295
+ },
296
+ style: {
297
+ width: '100%',
298
+ margin: '0 0 16px 0',
299
+ padding: '20px 20px 20px 20px'
300
+ },
301
+ isContainer: true,
302
+ isBusiObjContainer: false,
303
+ cmdgroup: ['basic'],
304
+ platform: 'pc',
305
+ icon: 'Tabs',
306
+ description: '',
307
+ image: '',
308
+ groupsName: '容器',
309
+ onlyChildren: ['TabPane'],
310
+ setEvents: [],
311
+ isLabelDropBoxChild: false,
312
+ components: [{
313
+ id: 'TabPane_3542895',
314
+ label: '标签子面板',
315
+ compName: 'TabPane',
316
+ type: 'TabPane',
317
+ compType: 0,
318
+ compLib: 'comm',
319
+ props: {
320
+ name: '标签子面板',
321
+ basicStatus: 1,
322
+ tab: '标题1',
323
+ key: '1'
324
+ },
325
+ style: {
326
+ height: 80
327
+ },
328
+ isContainer: true,
329
+ isBusiObjContainer: false,
330
+ cmdgroup: ['basic'],
331
+ platform: 'pc',
332
+ icon: 'TabPane',
333
+ description: '',
334
+ image: '',
335
+ groupsName: '容器',
336
+ onlyRoot: ['Tabs'],
337
+ setEvents: [],
338
+ isLabelDropBoxChild: false,
339
+ components: [],
340
+ path: ['057343', 'View_057343_1', 'Tabs_803186']
341
+ }, {
342
+ id: 'TabPane_682926',
343
+ label: '标签子面板',
344
+ compName: 'TabPane',
345
+ type: 'TabPane',
346
+ compType: 0,
347
+ compLib: 'comm',
348
+ props: {
349
+ name: '标签子面板',
350
+ basicStatus: 1,
351
+ tab: '标题2',
352
+ key: '2'
353
+ },
354
+ style: {
355
+ height: 80
356
+ },
357
+ isContainer: true,
358
+ isBusiObjContainer: false,
359
+ cmdgroup: ['basic'],
360
+ platform: 'pc',
361
+ icon: 'TabPane',
362
+ description: '',
363
+ image: '',
364
+ groupsName: '容器',
365
+ onlyRoot: ['Tabs'],
366
+ setEvents: [],
367
+ isLabelDropBoxChild: false,
368
+ components: [],
369
+ path: ['057343', 'View_057343_1', 'Tabs_803186']
370
+ }],
371
+ path: ['057343', 'View_057343_1']
372
+ }, {
373
+ id: 'Tabs_35703',
374
+ label: '标签页',
375
+ compName: 'Tabs',
376
+ type: 'Tabs',
377
+ compType: 0,
378
+ compLib: 'comm',
379
+ props: {
380
+ name: '标签页',
381
+ basicStatus: 1,
382
+ type: 'line',
383
+ animated: false,
384
+ defaultActiveKey: '1',
385
+ tabBarGutter: '4px',
386
+ tabPosition: 'left',
387
+ size: 'default'
388
+ },
389
+ style: {
390
+ width: '100%',
391
+ margin: '0 0 16px 0',
392
+ padding: '20px 20px 20px 20px'
393
+ },
394
+ isContainer: true,
395
+ isBusiObjContainer: false,
396
+ cmdgroup: ['basic'],
397
+ platform: 'pc',
398
+ icon: 'Tabs',
399
+ description: '',
400
+ image: '',
401
+ groupsName: '容器',
402
+ onlyChildren: ['TabPane'],
403
+ setEvents: [],
404
+ isLabelDropBoxChild: false,
405
+ components: [{
406
+ id: 'TabPane_083081',
407
+ label: '标签子面板',
408
+ compName: 'TabPane',
409
+ type: 'TabPane',
410
+ compType: 0,
411
+ compLib: 'comm',
412
+ props: {
413
+ name: '标签子面板',
414
+ basicStatus: 1,
415
+ tab: '标题1',
416
+ key: '1'
417
+ },
418
+ style: {
419
+ height: 80
420
+ },
421
+ isContainer: true,
422
+ isBusiObjContainer: false,
423
+ cmdgroup: ['basic'],
424
+ platform: 'pc',
425
+ icon: 'TabPane',
426
+ description: '',
427
+ image: '',
428
+ groupsName: '容器',
429
+ onlyRoot: ['Tabs'],
430
+ setEvents: [],
431
+ isLabelDropBoxChild: false,
432
+ components: [],
433
+ path: ['057343', 'View_057343_1', 'Tabs_35703']
434
+ }, {
435
+ id: 'TabPane_5671683',
436
+ label: '标签子面板',
437
+ compName: 'TabPane',
438
+ type: 'TabPane',
439
+ compType: 0,
440
+ compLib: 'comm',
441
+ props: {
442
+ name: '标签子面板',
443
+ basicStatus: 1,
444
+ tab: '标题2',
445
+ key: '2'
446
+ },
447
+ style: {
448
+ height: 80
449
+ },
450
+ isContainer: true,
451
+ isBusiObjContainer: false,
452
+ cmdgroup: ['basic'],
453
+ platform: 'pc',
454
+ icon: 'TabPane',
455
+ description: '',
456
+ image: '',
457
+ groupsName: '容器',
458
+ onlyRoot: ['Tabs'],
459
+ setEvents: [],
460
+ isLabelDropBoxChild: false,
461
+ components: [],
462
+ path: ['057343', 'View_057343_1', 'Tabs_35703']
463
+ }],
464
+ path: ['057343', 'View_057343_1']
465
+ }, {
466
+ id: 'Tabs_758167',
467
+ label: '标签页',
468
+ compName: 'Tabs',
469
+ type: 'Tabs',
470
+ compType: 0,
471
+ compLib: 'comm',
472
+ props: {
473
+ name: '标签页',
474
+ basicStatus: 1,
475
+ type: 'line',
476
+ animated: false,
477
+ defaultActiveKey: '1',
478
+ tabBarGutter: '4px',
479
+ tabPosition: 'right',
480
+ size: 'default'
481
+ },
482
+ style: {
483
+ width: '100%',
484
+ margin: '0 0 16px 0',
485
+ padding: '20px 20px 20px 20px'
486
+ },
487
+ isContainer: true,
488
+ isBusiObjContainer: false,
489
+ cmdgroup: ['basic'],
490
+ platform: 'pc',
491
+ icon: 'Tabs',
492
+ description: '',
493
+ image: '',
494
+ groupsName: '容器',
495
+ onlyChildren: ['TabPane'],
496
+ setEvents: [],
497
+ isLabelDropBoxChild: false,
498
+ components: [{
499
+ id: 'TabPane_85666',
500
+ label: '标签子面板',
501
+ compName: 'TabPane',
502
+ type: 'TabPane',
503
+ compType: 0,
504
+ compLib: 'comm',
505
+ props: {
506
+ name: '标签子面板',
507
+ basicStatus: 1,
508
+ tab: '标题1',
509
+ key: '1'
510
+ },
511
+ style: {
512
+ height: 80
513
+ },
514
+ isContainer: true,
515
+ isBusiObjContainer: false,
516
+ cmdgroup: ['basic'],
517
+ platform: 'pc',
518
+ icon: 'TabPane',
519
+ description: '',
520
+ image: '',
521
+ groupsName: '容器',
522
+ onlyRoot: ['Tabs'],
523
+ setEvents: [],
524
+ isLabelDropBoxChild: false,
525
+ components: [],
526
+ path: ['057343', 'View_057343_1', 'Tabs_758167']
527
+ }, {
528
+ id: 'TabPane_576443',
529
+ label: '标签子面板',
530
+ compName: 'TabPane',
531
+ type: 'TabPane',
532
+ compType: 0,
533
+ compLib: 'comm',
534
+ props: {
535
+ name: '标签子面板',
536
+ basicStatus: 1,
537
+ tab: '标题2',
538
+ key: '2'
539
+ },
540
+ style: {
541
+ height: 80
542
+ },
543
+ isContainer: true,
544
+ isBusiObjContainer: false,
545
+ cmdgroup: ['basic'],
546
+ platform: 'pc',
547
+ icon: 'TabPane',
548
+ description: '',
549
+ image: '',
550
+ groupsName: '容器',
551
+ onlyRoot: ['Tabs'],
552
+ setEvents: [],
553
+ isLabelDropBoxChild: false,
554
+ components: [],
555
+ path: ['057343', 'View_057343_1', 'Tabs_758167']
556
+ }],
557
+ path: ['057343', 'View_057343_1']
558
+ }, {
559
+ id: 'Text_1726476',
560
+ label: '文本',
561
+ compName: 'Text',
562
+ type: 'Text',
563
+ compType: 1,
564
+ compLib: 'custom',
565
+ props: {
566
+ name: '卡片式',
567
+ basicStatus: 1,
568
+ content: '卡片式',
569
+ textType: 'h1',
570
+ showHtml: false
571
+ },
572
+ style: {
573
+ textAlign: 'left',
574
+ fontSize: 32,
575
+ lineHeight: '24px',
576
+ color: '#1c242e',
577
+ backgroundColor: 'rgba(255, 255, 255,0)',
578
+ padding: '0px 0px 0px 0px',
579
+ margin: '24px 24px 24px 24px'
580
+ },
581
+ isContainer: false,
582
+ isBusiObjContainer: false,
583
+ cmdgroup: ['basic'],
584
+ platform: 'pc',
585
+ icon: 'Text',
586
+ isInlineBlock: true,
587
+ setEvents: [],
588
+ description: '',
589
+ image: '',
590
+ groupsName: '通用',
591
+ isLabelDropBoxChild: false,
592
+ components: [],
593
+ path: ['057343', 'View_057343_1']
594
+ }, {
595
+ id: 'Tabs_5075684',
152
596
  label: '标签页',
153
597
  compName: 'Tabs',
154
598
  type: 'Tabs',
@@ -157,13 +601,12 @@ export var Tabs = {
157
601
  props: {
158
602
  name: '标签页',
159
603
  basicStatus: 1,
160
- type: 'line',
604
+ type: 'card',
161
605
  animated: false,
162
606
  defaultActiveKey: '1',
163
607
  tabBarGutter: '4px',
164
608
  tabPosition: 'top',
165
- size: 'default',
166
- className: 'fdddd'
609
+ size: 'default'
167
610
  },
168
611
  style: {
169
612
  width: '100%',
@@ -182,7 +625,7 @@ export var Tabs = {
182
625
  setEvents: [],
183
626
  isLabelDropBoxChild: false,
184
627
  components: [{
185
- id: 'TabPane_323243',
628
+ id: 'TabPane_526344',
186
629
  label: '标签子面板',
187
630
  compName: 'TabPane',
188
631
  type: 'TabPane',
@@ -195,7 +638,7 @@ export var Tabs = {
195
638
  key: '1'
196
639
  },
197
640
  style: {
198
- minHeight: 40
641
+ height: 80
199
642
  },
200
643
  isContainer: true,
201
644
  isBusiObjContainer: false,
@@ -209,9 +652,9 @@ export var Tabs = {
209
652
  setEvents: [],
210
653
  isLabelDropBoxChild: false,
211
654
  components: [],
212
- path: ['508679', 'View_508679_1', 'Tabs_479998']
655
+ path: ['057343', 'View_057343_1', 'Tabs_5075684']
213
656
  }, {
214
- id: 'TabPane_317096',
657
+ id: 'TabPane_696377',
215
658
  label: '标签子面板',
216
659
  compName: 'TabPane',
217
660
  type: 'TabPane',
@@ -224,7 +667,7 @@ export var Tabs = {
224
667
  key: '2'
225
668
  },
226
669
  style: {
227
- minHeight: 40
670
+ height: 80
228
671
  },
229
672
  isContainer: true,
230
673
  isBusiObjContainer: false,
@@ -238,11 +681,11 @@ export var Tabs = {
238
681
  setEvents: [],
239
682
  isLabelDropBoxChild: false,
240
683
  components: [],
241
- path: ['508679', 'View_508679_1', 'Tabs_479998']
684
+ path: ['057343', 'View_057343_1', 'Tabs_5075684']
242
685
  }],
243
- path: ['508679', 'View_508679_1']
686
+ path: ['057343', 'View_057343_1']
244
687
  }, {
245
- id: 'Tabs_63242',
688
+ id: 'Tabs_803186',
246
689
  label: '标签页',
247
690
  compName: 'Tabs',
248
691
  type: 'Tabs',
@@ -255,7 +698,193 @@ export var Tabs = {
255
698
  animated: false,
256
699
  defaultActiveKey: '1',
257
700
  tabBarGutter: '4px',
258
- tabPosition: 'top',
701
+ tabPosition: 'bottom',
702
+ size: 'default'
703
+ },
704
+ style: {
705
+ width: '100%',
706
+ margin: '0 0 16px 0',
707
+ padding: '20px 20px 20px 20px'
708
+ },
709
+ isContainer: true,
710
+ isBusiObjContainer: false,
711
+ cmdgroup: ['basic'],
712
+ platform: 'pc',
713
+ icon: 'Tabs',
714
+ description: '',
715
+ image: '',
716
+ groupsName: '容器',
717
+ onlyChildren: ['TabPane'],
718
+ setEvents: [],
719
+ isLabelDropBoxChild: false,
720
+ components: [{
721
+ id: 'TabPane_3542895',
722
+ label: '标签子面板',
723
+ compName: 'TabPane',
724
+ type: 'TabPane',
725
+ compType: 0,
726
+ compLib: 'comm',
727
+ props: {
728
+ name: '标签子面板',
729
+ basicStatus: 1,
730
+ tab: '标题1',
731
+ key: '1'
732
+ },
733
+ style: {
734
+ height: 80
735
+ },
736
+ isContainer: true,
737
+ isBusiObjContainer: false,
738
+ cmdgroup: ['basic'],
739
+ platform: 'pc',
740
+ icon: 'TabPane',
741
+ description: '',
742
+ image: '',
743
+ groupsName: '容器',
744
+ onlyRoot: ['Tabs'],
745
+ setEvents: [],
746
+ isLabelDropBoxChild: false,
747
+ components: [],
748
+ path: ['057343', 'View_057343_1', 'Tabs_803186']
749
+ }, {
750
+ id: 'TabPane_682926',
751
+ label: '标签子面板',
752
+ compName: 'TabPane',
753
+ type: 'TabPane',
754
+ compType: 0,
755
+ compLib: 'comm',
756
+ props: {
757
+ name: '标签子面板',
758
+ basicStatus: 1,
759
+ tab: '标题2',
760
+ key: '2'
761
+ },
762
+ style: {
763
+ height: 80
764
+ },
765
+ isContainer: true,
766
+ isBusiObjContainer: false,
767
+ cmdgroup: ['basic'],
768
+ platform: 'pc',
769
+ icon: 'TabPane',
770
+ description: '',
771
+ image: '',
772
+ groupsName: '容器',
773
+ onlyRoot: ['Tabs'],
774
+ setEvents: [],
775
+ isLabelDropBoxChild: false,
776
+ components: [],
777
+ path: ['057343', 'View_057343_1', 'Tabs_803186']
778
+ }],
779
+ path: ['057343', 'View_057343_1']
780
+ }, {
781
+ id: 'Tabs_35703',
782
+ label: '标签页',
783
+ compName: 'Tabs',
784
+ type: 'Tabs',
785
+ compType: 0,
786
+ compLib: 'comm',
787
+ props: {
788
+ name: '标签页',
789
+ basicStatus: 1,
790
+ type: 'card',
791
+ animated: false,
792
+ defaultActiveKey: '1',
793
+ tabBarGutter: '4px',
794
+ tabPosition: 'left',
795
+ size: 'default'
796
+ },
797
+ style: {
798
+ width: '100%',
799
+ margin: '0 0 16px 0',
800
+ padding: '20px 20px 20px 20px'
801
+ },
802
+ isContainer: true,
803
+ isBusiObjContainer: false,
804
+ cmdgroup: ['basic'],
805
+ platform: 'pc',
806
+ icon: 'Tabs',
807
+ description: '',
808
+ image: '',
809
+ groupsName: '容器',
810
+ onlyChildren: ['TabPane'],
811
+ setEvents: [],
812
+ isLabelDropBoxChild: false,
813
+ components: [{
814
+ id: 'TabPane_083081',
815
+ label: '标签子面板',
816
+ compName: 'TabPane',
817
+ type: 'TabPane',
818
+ compType: 0,
819
+ compLib: 'comm',
820
+ props: {
821
+ name: '标签子面板',
822
+ basicStatus: 1,
823
+ tab: '标题1',
824
+ key: '1'
825
+ },
826
+ style: {
827
+ height: 80
828
+ },
829
+ isContainer: true,
830
+ isBusiObjContainer: false,
831
+ cmdgroup: ['basic'],
832
+ platform: 'pc',
833
+ icon: 'TabPane',
834
+ description: '',
835
+ image: '',
836
+ groupsName: '容器',
837
+ onlyRoot: ['Tabs'],
838
+ setEvents: [],
839
+ isLabelDropBoxChild: false,
840
+ components: [],
841
+ path: ['057343', 'View_057343_1', 'Tabs_35703']
842
+ }, {
843
+ id: 'TabPane_5671683',
844
+ label: '标签子面板',
845
+ compName: 'TabPane',
846
+ type: 'TabPane',
847
+ compType: 0,
848
+ compLib: 'comm',
849
+ props: {
850
+ name: '标签子面板',
851
+ basicStatus: 1,
852
+ tab: '标题2',
853
+ key: '2'
854
+ },
855
+ style: {
856
+ height: 80
857
+ },
858
+ isContainer: true,
859
+ isBusiObjContainer: false,
860
+ cmdgroup: ['basic'],
861
+ platform: 'pc',
862
+ icon: 'TabPane',
863
+ description: '',
864
+ image: '',
865
+ groupsName: '容器',
866
+ onlyRoot: ['Tabs'],
867
+ setEvents: [],
868
+ isLabelDropBoxChild: false,
869
+ components: [],
870
+ path: ['057343', 'View_057343_1', 'Tabs_35703']
871
+ }],
872
+ path: ['057343', 'View_057343_1']
873
+ }, {
874
+ id: 'Tabs_758167',
875
+ label: '标签页',
876
+ compName: 'Tabs',
877
+ type: 'Tabs',
878
+ compType: 0,
879
+ compLib: 'comm',
880
+ props: {
881
+ name: '标签页',
882
+ basicStatus: 1,
883
+ type: 'card',
884
+ animated: false,
885
+ defaultActiveKey: '1',
886
+ tabBarGutter: '4px',
887
+ tabPosition: 'right',
259
888
  size: 'default'
260
889
  },
261
890
  style: {
@@ -275,7 +904,7 @@ export var Tabs = {
275
904
  setEvents: [],
276
905
  isLabelDropBoxChild: false,
277
906
  components: [{
278
- id: 'TabPane_7248805',
907
+ id: 'TabPane_85666',
279
908
  label: '标签子面板',
280
909
  compName: 'TabPane',
281
910
  type: 'TabPane',
@@ -283,12 +912,12 @@ export var Tabs = {
283
912
  compLib: 'comm',
284
913
  props: {
285
914
  name: '标签子面板',
286
- basicStatus: 0,
915
+ basicStatus: 1,
287
916
  tab: '标题1',
288
917
  key: '1'
289
918
  },
290
919
  style: {
291
- minHeight: 40
920
+ height: 80
292
921
  },
293
922
  isContainer: true,
294
923
  isBusiObjContainer: false,
@@ -302,9 +931,9 @@ export var Tabs = {
302
931
  setEvents: [],
303
932
  isLabelDropBoxChild: false,
304
933
  components: [],
305
- path: ['192366', 'View_192366_1', 'Tabs_63242']
934
+ path: ['057343', 'View_057343_1', 'Tabs_758167']
306
935
  }, {
307
- id: 'TabPane_888938',
936
+ id: 'TabPane_576443',
308
937
  label: '标签子面板',
309
938
  compName: 'TabPane',
310
939
  type: 'TabPane',
@@ -317,7 +946,7 @@ export var Tabs = {
317
946
  key: '2'
318
947
  },
319
948
  style: {
320
- minHeight: 40
949
+ height: 80
321
950
  },
322
951
  isContainer: true,
323
952
  isBusiObjContainer: false,
@@ -331,8 +960,8 @@ export var Tabs = {
331
960
  setEvents: [],
332
961
  isLabelDropBoxChild: false,
333
962
  components: [],
334
- path: ['192366', 'View_192366_1', 'Tabs_63242']
963
+ path: ['057343', 'View_057343_1', 'Tabs_758167']
335
964
  }],
336
- path: ['192366', 'View_192366_1']
965
+ path: ['057343', 'View_057343_1']
337
966
  }]
338
967
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/theme-utils",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",