@ibiz-template/web-theme 1.1.28-alpha.3 → 2.0.0

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.
@@ -242,12 +242,9 @@ declare const _default: {
242
242
  actionType: string;
243
243
  buttonStyle: string;
244
244
  buttonType: string;
245
- uiactionId: string;
246
245
  renderMode: string;
247
246
  tooltip: string;
248
- capLanguageRes: {
249
- lanResTag: string;
250
- };
247
+ uiactionTarget: string;
251
248
  caption: string;
252
249
  itemStyle: string;
253
250
  itemType: string;
@@ -286,6 +283,15 @@ declare const _default: {
286
283
  controlType: string;
287
284
  logicName: string;
288
285
  appDataEntityId: string;
286
+ controlLogics: {
287
+ eventNames: string;
288
+ itemName: string;
289
+ logicTag: string;
290
+ logicType: string;
291
+ scriptCode: string;
292
+ triggerType: string;
293
+ id: string;
294
+ }[];
289
295
  controlParam: {};
290
296
  modelId: string;
291
297
  modelType: string;
@@ -295,15 +295,12 @@ var DEMEditView9 = {
295
295
  "actionGroupExtractMode": "ITEM",
296
296
  "panelItems": [
297
297
  {
298
- "actionType": "UIACTION",
298
+ "actionType": "NONE",
299
299
  "buttonStyle": "DEFAULT",
300
300
  "buttonType": "PANELBUTTON",
301
- "uiactionId": "gridview_newaction",
302
301
  "renderMode": "BUTTON",
303
302
  "tooltip": "\u6DFB\u52A0",
304
- "capLanguageRes": {
305
- "lanResTag": "TBB.TEXT.*.NEW"
306
- },
303
+ "uiactionTarget": "NONE",
307
304
  "caption": "\u6DFB\u52A0",
308
305
  "itemStyle": "DEFAULT",
309
306
  "itemType": "BUTTON",
@@ -361,6 +358,17 @@ var DEMEditView9 = {
361
358
  "controlType": "VIEWLAYOUTPANEL",
362
359
  "logicName": "\u5B9E\u4F53\u591A\u8868\u5355\u7F16\u8F91\u89C6\u56FE\uFF08\u90E8\u4EF6\u89C6\u56FE\uFF09\u5E03\u5C40\u9762\u677F(\u9884\u7F6E\u6A21\u578B)",
363
360
  "appDataEntityId": "frontmodel.viewlayoutmodelrepository",
361
+ "controlLogics": [
362
+ {
363
+ "eventNames": "onClick",
364
+ "itemName": "BUTTON_CALLUILOGIC",
365
+ "logicTag": "layoutpanel",
366
+ "logicType": "SCRIPT",
367
+ "scriptCode": 'view.call("New");',
368
+ "triggerType": "CTRLEVENT",
369
+ "id": "logic"
370
+ }
371
+ ],
364
372
  "controlParam": {},
365
373
  "modelId": "8C599AC4-BDB7-450B-B60D-3A9EF2FC4622",
366
374
  "modelType": "PSSYSVIEWLAYOUTPANEL",
@@ -209,7 +209,10 @@ declare const _default: {
209
209
  layout: string;
210
210
  spacingBottom: string;
211
211
  };
212
- showCaption: boolean;
212
+ sysImage: {
213
+ cssClass: string;
214
+ glyph: string;
215
+ };
213
216
  id: string;
214
217
  } | {
215
218
  actionType: string;
@@ -226,7 +229,10 @@ declare const _default: {
226
229
  layout: string;
227
230
  spacingBottom?: undefined;
228
231
  };
229
- showCaption: boolean;
232
+ sysImage: {
233
+ cssClass: string;
234
+ glyph: string;
235
+ };
230
236
  id: string;
231
237
  })[];
232
238
  layout: {
@@ -253,29 +259,7 @@ declare const _default: {
253
259
  width?: undefined;
254
260
  } | {
255
261
  actionGroupExtractMode: string;
256
- panelItems: ({
257
- rawItem: {
258
- caption: string;
259
- halign: string;
260
- renderMode: string;
261
- valign: string;
262
- wrapMode: string;
263
- contentType: string;
264
- predefinedType: string;
265
- id: string;
266
- };
267
- caption: string;
268
- itemStyle: string;
269
- itemType: string;
270
- layoutPos: {
271
- shrink: number;
272
- layout: string;
273
- widthMode: string;
274
- grow?: undefined;
275
- };
276
- showCaption: boolean;
277
- id: string;
278
- } | {
262
+ panelItems: {
279
263
  caption: string;
280
264
  itemStyle: string;
281
265
  itemType: string;
@@ -287,8 +271,7 @@ declare const _default: {
287
271
  };
288
272
  showCaption: boolean;
289
273
  id: string;
290
- rawItem?: undefined;
291
- })[];
274
+ }[];
292
275
  layout: {
293
276
  dir: string;
294
277
  layout: string;
@@ -282,7 +282,10 @@ var DEMPickupView2 = {
282
282
  "layout": "FLEX",
283
283
  "spacingBottom": "OUTERMEDIUM"
284
284
  },
285
- "showCaption": true,
285
+ "sysImage": {
286
+ "cssClass": "fa fa-angle-right",
287
+ "glyph": "xf105@FontAwesome"
288
+ },
286
289
  "id": "button_addselection"
287
290
  },
288
291
  {
@@ -300,7 +303,10 @@ var DEMPickupView2 = {
300
303
  "layout": "FLEX",
301
304
  "spacingBottom": "OUTERMEDIUM"
302
305
  },
303
- "showCaption": true,
306
+ "sysImage": {
307
+ "cssClass": "fa fa-angle-double-right",
308
+ "glyph": "xf101@FontAwesome"
309
+ },
304
310
  "id": "button_addall"
305
311
  },
306
312
  {
@@ -318,7 +324,10 @@ var DEMPickupView2 = {
318
324
  "layout": "FLEX",
319
325
  "spacingBottom": "OUTERMEDIUM"
320
326
  },
321
- "showCaption": true,
327
+ "sysImage": {
328
+ "cssClass": "fa fa-angle-double-left",
329
+ "glyph": "xf100@FontAwesome"
330
+ },
322
331
  "id": "button_removeall"
323
332
  },
324
333
  {
@@ -335,7 +344,10 @@ var DEMPickupView2 = {
335
344
  "shrink": 1,
336
345
  "layout": "FLEX"
337
346
  },
338
- "showCaption": true,
347
+ "sysImage": {
348
+ "cssClass": "fa fa-angle-left",
349
+ "glyph": "xf104@FontAwesome"
350
+ },
339
351
  "id": "button_removeselection"
340
352
  }
341
353
  ],
@@ -359,28 +371,6 @@ var DEMPickupView2 = {
359
371
  {
360
372
  "actionGroupExtractMode": "ITEM",
361
373
  "panelItems": [
362
- {
363
- "rawItem": {
364
- "caption": "\u9009\u4E2D\u6570\u636E",
365
- "halign": "LEFT",
366
- "renderMode": "TEXT",
367
- "valign": "MIDDLE",
368
- "wrapMode": "NOWRAP",
369
- "contentType": "RAW",
370
- "predefinedType": "STATIC_TEXT",
371
- "id": "select_list_title"
372
- },
373
- "caption": "\u6587\u672C",
374
- "itemStyle": "DEFAULT",
375
- "itemType": "RAWITEM",
376
- "layoutPos": {
377
- "shrink": 1,
378
- "layout": "FLEX",
379
- "widthMode": "FULL"
380
- },
381
- "showCaption": true,
382
- "id": "select_list_title"
383
- },
384
374
  {
385
375
  "caption": "\u5217\u8868",
386
376
  "itemStyle": "DEFAULT",
@@ -299,15 +299,12 @@ var DEMEditView9 = {
299
299
  "actionGroupExtractMode": "ITEM",
300
300
  "panelItems": [
301
301
  {
302
- "actionType": "UIACTION",
302
+ "actionType": "NONE",
303
303
  "buttonStyle": "DEFAULT",
304
304
  "buttonType": "PANELBUTTON",
305
- "uiactionId": "gridview_newaction",
306
305
  "renderMode": "BUTTON",
307
306
  "tooltip": "\u6DFB\u52A0",
308
- "capLanguageRes": {
309
- "lanResTag": "TBB.TEXT.*.NEW"
310
- },
307
+ "uiactionTarget": "NONE",
311
308
  "caption": "\u6DFB\u52A0",
312
309
  "itemStyle": "DEFAULT",
313
310
  "itemType": "BUTTON",
@@ -365,6 +362,17 @@ var DEMEditView9 = {
365
362
  "controlType": "VIEWLAYOUTPANEL",
366
363
  "logicName": "\u5B9E\u4F53\u591A\u8868\u5355\u7F16\u8F91\u89C6\u56FE\uFF08\u90E8\u4EF6\u89C6\u56FE\uFF09\u5E03\u5C40\u9762\u677F(\u9884\u7F6E\u6A21\u578B)",
367
364
  "appDataEntityId": "frontmodel.viewlayoutmodelrepository",
365
+ "controlLogics": [
366
+ {
367
+ "eventNames": "onClick",
368
+ "itemName": "BUTTON_CALLUILOGIC",
369
+ "logicTag": "layoutpanel",
370
+ "logicType": "SCRIPT",
371
+ "scriptCode": 'view.call("New");',
372
+ "triggerType": "CTRLEVENT",
373
+ "id": "logic"
374
+ }
375
+ ],
368
376
  "controlParam": {},
369
377
  "modelId": "8C599AC4-BDB7-450B-B60D-3A9EF2FC4622",
370
378
  "modelType": "PSSYSVIEWLAYOUTPANEL",
@@ -286,7 +286,10 @@ var DEMPickupView2 = {
286
286
  "layout": "FLEX",
287
287
  "spacingBottom": "OUTERMEDIUM"
288
288
  },
289
- "showCaption": true,
289
+ "sysImage": {
290
+ "cssClass": "fa fa-angle-right",
291
+ "glyph": "xf105@FontAwesome"
292
+ },
290
293
  "id": "button_addselection"
291
294
  },
292
295
  {
@@ -304,7 +307,10 @@ var DEMPickupView2 = {
304
307
  "layout": "FLEX",
305
308
  "spacingBottom": "OUTERMEDIUM"
306
309
  },
307
- "showCaption": true,
310
+ "sysImage": {
311
+ "cssClass": "fa fa-angle-double-right",
312
+ "glyph": "xf101@FontAwesome"
313
+ },
308
314
  "id": "button_addall"
309
315
  },
310
316
  {
@@ -322,7 +328,10 @@ var DEMPickupView2 = {
322
328
  "layout": "FLEX",
323
329
  "spacingBottom": "OUTERMEDIUM"
324
330
  },
325
- "showCaption": true,
331
+ "sysImage": {
332
+ "cssClass": "fa fa-angle-double-left",
333
+ "glyph": "xf100@FontAwesome"
334
+ },
326
335
  "id": "button_removeall"
327
336
  },
328
337
  {
@@ -339,7 +348,10 @@ var DEMPickupView2 = {
339
348
  "shrink": 1,
340
349
  "layout": "FLEX"
341
350
  },
342
- "showCaption": true,
351
+ "sysImage": {
352
+ "cssClass": "fa fa-angle-left",
353
+ "glyph": "xf104@FontAwesome"
354
+ },
343
355
  "id": "button_removeselection"
344
356
  }
345
357
  ],
@@ -363,28 +375,6 @@ var DEMPickupView2 = {
363
375
  {
364
376
  "actionGroupExtractMode": "ITEM",
365
377
  "panelItems": [
366
- {
367
- "rawItem": {
368
- "caption": "\u9009\u4E2D\u6570\u636E",
369
- "halign": "LEFT",
370
- "renderMode": "TEXT",
371
- "valign": "MIDDLE",
372
- "wrapMode": "NOWRAP",
373
- "contentType": "RAW",
374
- "predefinedType": "STATIC_TEXT",
375
- "id": "select_list_title"
376
- },
377
- "caption": "\u6587\u672C",
378
- "itemStyle": "DEFAULT",
379
- "itemType": "RAWITEM",
380
- "layoutPos": {
381
- "shrink": 1,
382
- "layout": "FLEX",
383
- "widthMode": "FULL"
384
- },
385
- "showCaption": true,
386
- "id": "select_list_title"
387
- },
388
378
  {
389
379
  "caption": "\u5217\u8868",
390
380
  "itemStyle": "DEFAULT",
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@ibiz-template/web-theme",
3
- "version": "1.1.28-alpha.3",
3
+ "version": "2.0.0",
4
+ "description": "web端主题样式库",
4
5
  "type": "module",
5
6
  "main": "lib/index.cjs",
6
7
  "types": "es/index.d.ts",
@@ -31,12 +32,13 @@
31
32
  "publish:beta": "npm run build && npm publish --access public --tag=beta --registry=https://registry.npmjs.org/",
32
33
  "publish:npm": "npm run build && npm publish --access public --registry=https://registry.npmjs.org/"
33
34
  },
34
- "author": "chitanda",
35
+ "author": "iBiz",
35
36
  "license": "MIT",
36
37
  "devDependencies": {
37
38
  "@ibiz-template/theme": "^0.6.0"
38
39
  },
39
40
  "dependencies": {
40
41
  "@ibiz-template/runtime": "^0.6.0"
41
- }
42
+ },
43
+ "gitHead": "e76921a89142e615b3b2d07e87ae075d4921c5f2"
42
44
  }
@@ -294,15 +294,12 @@
294
294
  "actionGroupExtractMode": "ITEM",
295
295
  "panelItems": [
296
296
  {
297
- "actionType": "UIACTION",
297
+ "actionType": "NONE",
298
298
  "buttonStyle": "DEFAULT",
299
299
  "buttonType": "PANELBUTTON",
300
- "uiactionId": "gridview_newaction",
301
300
  "renderMode": "BUTTON",
302
301
  "tooltip": "添加",
303
- "capLanguageRes": {
304
- "lanResTag": "TBB.TEXT.*.NEW"
305
- },
302
+ "uiactionTarget": "NONE",
306
303
  "caption": "添加",
307
304
  "itemStyle": "DEFAULT",
308
305
  "itemType": "BUTTON",
@@ -360,6 +357,17 @@
360
357
  "controlType": "VIEWLAYOUTPANEL",
361
358
  "logicName": "实体多表单编辑视图(部件视图)布局面板(预置模型)",
362
359
  "appDataEntityId": "frontmodel.viewlayoutmodelrepository",
360
+ "controlLogics": [
361
+ {
362
+ "eventNames": "onClick",
363
+ "itemName": "BUTTON_CALLUILOGIC",
364
+ "logicTag": "layoutpanel",
365
+ "logicType": "SCRIPT",
366
+ "scriptCode": "view.call(\"New\");",
367
+ "triggerType": "CTRLEVENT",
368
+ "id": "logic"
369
+ }
370
+ ],
363
371
  "controlParam": {},
364
372
  "modelId": "8C599AC4-BDB7-450B-B60D-3A9EF2FC4622",
365
373
  "modelType": "PSSYSVIEWLAYOUTPANEL",
@@ -281,7 +281,10 @@ export default {
281
281
  "layout": "FLEX",
282
282
  "spacingBottom": "OUTERMEDIUM"
283
283
  },
284
- "showCaption": true,
284
+ "sysImage": {
285
+ "cssClass": "fa fa-angle-right",
286
+ "glyph": "xf105@FontAwesome"
287
+ },
285
288
  "id": "button_addselection"
286
289
  },
287
290
  {
@@ -299,7 +302,10 @@ export default {
299
302
  "layout": "FLEX",
300
303
  "spacingBottom": "OUTERMEDIUM"
301
304
  },
302
- "showCaption": true,
305
+ "sysImage": {
306
+ "cssClass": "fa fa-angle-double-right",
307
+ "glyph": "xf101@FontAwesome"
308
+ },
303
309
  "id": "button_addall"
304
310
  },
305
311
  {
@@ -317,7 +323,10 @@ export default {
317
323
  "layout": "FLEX",
318
324
  "spacingBottom": "OUTERMEDIUM"
319
325
  },
320
- "showCaption": true,
326
+ "sysImage": {
327
+ "cssClass": "fa fa-angle-double-left",
328
+ "glyph": "xf100@FontAwesome"
329
+ },
321
330
  "id": "button_removeall"
322
331
  },
323
332
  {
@@ -334,7 +343,10 @@ export default {
334
343
  "shrink": 1,
335
344
  "layout": "FLEX"
336
345
  },
337
- "showCaption": true,
346
+ "sysImage": {
347
+ "cssClass": "fa fa-angle-left",
348
+ "glyph": "xf104@FontAwesome"
349
+ },
338
350
  "id": "button_removeselection"
339
351
  }
340
352
  ],
@@ -358,28 +370,6 @@ export default {
358
370
  {
359
371
  "actionGroupExtractMode": "ITEM",
360
372
  "panelItems": [
361
- {
362
- "rawItem": {
363
- "caption": "选中数据",
364
- "halign": "LEFT",
365
- "renderMode": "TEXT",
366
- "valign": "MIDDLE",
367
- "wrapMode": "NOWRAP",
368
- "contentType": "RAW",
369
- "predefinedType": "STATIC_TEXT",
370
- "id": "select_list_title"
371
- },
372
- "caption": "文本",
373
- "itemStyle": "DEFAULT",
374
- "itemType": "RAWITEM",
375
- "layoutPos": {
376
- "shrink": 1,
377
- "layout": "FLEX",
378
- "widthMode": "FULL"
379
- },
380
- "showCaption": true,
381
- "id": "select_list_title"
382
- },
383
373
  {
384
374
  "caption": "列表",
385
375
  "itemStyle": "DEFAULT",