@lingxiteam/assets 1.0.11-alpha.1 → 1.0.11-alpha.3

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.
@@ -96,7 +96,20 @@ var pc = {
96
96
  var _component$props6 = component.props,
97
97
  props = _component$props6 === void 0 ? {} : _component$props6;
98
98
  // const { popoverSetting, showPopover } = props;
99
- if (props.iconType) {
99
+ if (props.iconType && !props.icon) {
100
+ var theme = props.theme,
101
+ fontAddress = props.fontAddress,
102
+ isIconFont = props.isIconFont,
103
+ svgContent = props.svgContent,
104
+ iconFile = props.iconFile;
105
+ props.icon = {
106
+ type: props.iconType,
107
+ theme: theme,
108
+ fontAddress: fontAddress,
109
+ isIconFont: isIconFont,
110
+ svgContent: svgContent,
111
+ iconFile: iconFile
112
+ };
100
113
  props.icon.type = props.iconType;
101
114
  delete props.iconType;
102
115
  }
@@ -487,13 +487,13 @@ export declare const pcRootConfig: {
487
487
  label: string;
488
488
  terminal?: undefined;
489
489
  params?: undefined;
490
- showRules?: undefined;
490
+ dependProps?: undefined;
491
491
  } | {
492
492
  value: string;
493
493
  label: string;
494
494
  terminal: string[];
495
495
  params?: undefined;
496
- showRules?: undefined;
496
+ dependProps?: undefined;
497
497
  } | {
498
498
  value: string;
499
499
  label: string;
@@ -503,11 +503,13 @@ export declare const pcRootConfig: {
503
503
  name: string;
504
504
  value: string;
505
505
  }[];
506
- showRules?: undefined;
506
+ dependProps?: undefined;
507
507
  } | {
508
508
  value: string;
509
509
  label: string;
510
- showRules: string[];
510
+ dependProps: {
511
+ pageDynamicFlag: boolean;
512
+ };
511
513
  params: {
512
514
  title: string;
513
515
  name: string;
@@ -891,12 +893,14 @@ export declare const mobileRootConfig: {
891
893
  terminal?: undefined;
892
894
  params?: undefined;
893
895
  showRules?: undefined;
896
+ dependProps?: undefined;
894
897
  } | {
895
898
  value: string;
896
899
  label: string;
897
900
  terminal: string[];
898
901
  params?: undefined;
899
902
  showRules?: undefined;
903
+ dependProps?: undefined;
900
904
  } | {
901
905
  value: string;
902
906
  label: string;
@@ -907,10 +911,14 @@ export declare const mobileRootConfig: {
907
911
  value: string;
908
912
  }[];
909
913
  showRules?: undefined;
914
+ dependProps?: undefined;
910
915
  } | {
911
916
  value: string;
912
917
  label: string;
913
918
  showRules: string[];
919
+ dependProps: {
920
+ pageDynamicFlag: boolean;
921
+ };
914
922
  params: {
915
923
  title: string;
916
924
  name: string;
@@ -24,12 +24,14 @@ declare const _default: {
24
24
  terminal?: undefined;
25
25
  params?: undefined;
26
26
  showRules?: undefined;
27
+ dependProps?: undefined;
27
28
  } | {
28
29
  value: string;
29
30
  label: string;
30
31
  terminal: string[];
31
32
  params?: undefined;
32
33
  showRules?: undefined;
34
+ dependProps?: undefined;
33
35
  } | {
34
36
  value: string;
35
37
  label: string;
@@ -40,10 +42,14 @@ declare const _default: {
40
42
  value: string;
41
43
  }[];
42
44
  showRules?: undefined;
45
+ dependProps?: undefined;
43
46
  } | {
44
47
  value: string;
45
48
  label: string;
46
49
  showRules: string[];
50
+ dependProps: {
51
+ pageDynamicFlag: boolean;
52
+ };
47
53
  params: {
48
54
  title: string;
49
55
  name: string;
@@ -45,6 +45,9 @@ export default {
45
45
  value: 'onPageCacheRefresh',
46
46
  label: '页面缓存刷新',
47
47
  showRules: ['pageDynamicFlag'],
48
+ dependProps: {
49
+ pageDynamicFlag: true
50
+ },
48
51
  params: [{
49
52
  title: '返回页面数据信息',
50
53
  name: 'pageBackData',
@@ -23,13 +23,13 @@ declare const _default: {
23
23
  label: string;
24
24
  terminal?: undefined;
25
25
  params?: undefined;
26
- showRules?: undefined;
26
+ dependProps?: undefined;
27
27
  } | {
28
28
  value: string;
29
29
  label: string;
30
30
  terminal: string[];
31
31
  params?: undefined;
32
- showRules?: undefined;
32
+ dependProps?: undefined;
33
33
  } | {
34
34
  value: string;
35
35
  label: string;
@@ -39,11 +39,13 @@ declare const _default: {
39
39
  name: string;
40
40
  value: string;
41
41
  }[];
42
- showRules?: undefined;
42
+ dependProps?: undefined;
43
43
  } | {
44
44
  value: string;
45
45
  label: string;
46
- showRules: string[];
46
+ dependProps: {
47
+ pageDynamicFlag: boolean;
48
+ };
47
49
  params: {
48
50
  title: string;
49
51
  name: string;
@@ -44,7 +44,9 @@ export default {
44
44
  }, {
45
45
  value: 'onPageCacheRefresh',
46
46
  label: '页面缓存刷新',
47
- showRules: ['pageDynamicFlag'],
47
+ dependProps: {
48
+ pageDynamicFlag: true
49
+ },
48
50
  params: [{
49
51
  title: '返回页面数据信息',
50
52
  name: 'pageBackData',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/assets",
3
- "version": "1.0.11-alpha.1",
3
+ "version": "1.0.11-alpha.3",
4
4
  "description": "灵犀低代码平台移动端 - 工具类",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",