@edm-sdui/sdui 1.0.65 → 1.0.66
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/edm-sdui-sdui-1.0.66.tgz +0 -0
- package/esm2022/lib/components/uicomponent/image/image.component.mjs +8 -1
- package/esm2022/lib/components/uicomponent/image/ranking-svg.mjs +22 -22
- package/esm2022/lib/core/uitheme/enums/uiasset.mjs +12 -12
- package/fesm2022/edm-sdui-sdui.mjs +38 -32
- package/fesm2022/edm-sdui-sdui.mjs.map +1 -1
- package/lib/components/uicomponent/image/image.component.d.ts.map +1 -1
- package/lib/components/uicomponent/image/ranking-svg.d.ts +1 -2
- package/lib/components/uicomponent/image/ranking-svg.d.ts.map +1 -1
- package/lib/core/uitheme/enums/uiasset.d.ts +11 -11
- package/lib/core/uitheme/enums/uiasset.d.ts.map +1 -1
- package/package.json +1 -1
- package/edm-sdui-sdui-1.0.65.tgz +0 -0
|
@@ -862,6 +862,7 @@ var UIAsset;
|
|
|
862
862
|
UIAsset["IC_EMAIL"] = "ic_email";
|
|
863
863
|
UIAsset["IC_EMPTY_CLASS"] = "ic_empty_class";
|
|
864
864
|
UIAsset["IC_EMPTY_MAIN"] = "ic_empty_main";
|
|
865
|
+
UIAsset["IC_EXPLORER_EMPTY"] = "ic_explorer_empty";
|
|
865
866
|
UIAsset["IC_ERROR"] = "ic_error";
|
|
866
867
|
UIAsset["IC_ERROR_CHALLENGE"] = "ic_error_challenge";
|
|
867
868
|
UIAsset["IC_FILE"] = "ic_file";
|
|
@@ -988,16 +989,6 @@ var UIAsset;
|
|
|
988
989
|
UIAsset["IMG_CHECKOUT_RIGHT"] = "img_checkout_right";
|
|
989
990
|
UIAsset["IMG_CLASS_FILE"] = "img_class_file";
|
|
990
991
|
UIAsset["IMG_COMUNIDADE"] = "img_comunidade";
|
|
991
|
-
UIAsset["IMG_EXPLORER_RANKING_N_01"] = "img_explorer_ranking_n_01";
|
|
992
|
-
UIAsset["IMG_EXPLORER_RANKING_N_02"] = "img_explorer_ranking_n_02";
|
|
993
|
-
UIAsset["IMG_EXPLORER_RANKING_N_03"] = "img_explorer_ranking_n_03";
|
|
994
|
-
UIAsset["IMG_EXPLORER_RANKING_N_04"] = "img_explorer_ranking_n_04";
|
|
995
|
-
UIAsset["IMG_EXPLORER_RANKING_N_05"] = "img_explorer_ranking_n_05";
|
|
996
|
-
UIAsset["IMG_EXPLORER_RANKING_N_06"] = "img_explorer_ranking_n_06";
|
|
997
|
-
UIAsset["IMG_EXPLORER_RANKING_N_07"] = "img_explorer_ranking_n_07";
|
|
998
|
-
UIAsset["IMG_EXPLORER_RANKING_N_08"] = "img_explorer_ranking_n_08";
|
|
999
|
-
UIAsset["IMG_EXPLORER_RANKING_N_09"] = "img_explorer_ranking_n_09";
|
|
1000
|
-
UIAsset["IMG_EXPLORER_RANKING_N_10"] = "img_explorer_ranking_n_10";
|
|
1001
992
|
UIAsset["IMG_EXPLORER_RANKING_N01"] = "img_explorer_ranking_n01";
|
|
1002
993
|
UIAsset["IMG_EXPLORER_RANKING_N02"] = "img_explorer_ranking_n02";
|
|
1003
994
|
UIAsset["IMG_EXPLORER_RANKING_N03"] = "img_explorer_ranking_n03";
|
|
@@ -1099,7 +1090,16 @@ var UIAsset;
|
|
|
1099
1090
|
UIAsset["BT_NEXT_PROFILE"] = "bt_next_profile";
|
|
1100
1091
|
UIAsset["IC_SUPPORT_PROFILE"] = "ic_support_profile";
|
|
1101
1092
|
UIAsset["BT_BACK_SEC"] = "bt_back_sec";
|
|
1102
|
-
UIAsset["
|
|
1093
|
+
UIAsset["IMG_EXPLORER_RANKING_N_01"] = "img_explorer_ranking_n_01";
|
|
1094
|
+
UIAsset["IMG_EXPLORER_RANKING_N_02"] = "img_explorer_ranking_n_02";
|
|
1095
|
+
UIAsset["IMG_EXPLORER_RANKING_N_03"] = "img_explorer_ranking_n_03";
|
|
1096
|
+
UIAsset["IMG_EXPLORER_RANKING_N_04"] = "img_explorer_ranking_n_04";
|
|
1097
|
+
UIAsset["IMG_EXPLORER_RANKING_N_05"] = "img_explorer_ranking_n_05";
|
|
1098
|
+
UIAsset["IMG_EXPLORER_RANKING_N_06"] = "img_explorer_ranking_n_06";
|
|
1099
|
+
UIAsset["IMG_EXPLORER_RANKING_N_07"] = "img_explorer_ranking_n_07";
|
|
1100
|
+
UIAsset["IMG_EXPLORER_RANKING_N_08"] = "img_explorer_ranking_n_08";
|
|
1101
|
+
UIAsset["IMG_EXPLORER_RANKING_N_09"] = "img_explorer_ranking_n_09";
|
|
1102
|
+
UIAsset["IMG_EXPLORER_RANKING_N_10"] = "img_explorer_ranking_n_10";
|
|
1103
1103
|
})(UIAsset || (UIAsset = {}));
|
|
1104
1104
|
|
|
1105
1105
|
const assetMapping = {
|
|
@@ -2953,11 +2953,11 @@ const ranking01Svg = `<svg width="107" height="63" viewBox="0 0 107 63" xmlns="h
|
|
|
2953
2953
|
<defs>
|
|
2954
2954
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="bxuwy52wia">
|
|
2955
2955
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
2956
|
-
<stop offset="100%"/>
|
|
2956
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
2957
2957
|
</linearGradient>
|
|
2958
2958
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="7cjykfo0jb">
|
|
2959
2959
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
2960
|
-
<stop offset="100%"/>
|
|
2960
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
2961
2961
|
</linearGradient>
|
|
2962
2962
|
</defs>
|
|
2963
2963
|
<g fill="none" fill-rule="evenodd" fill-opacity="0">
|
|
@@ -2970,11 +2970,11 @@ const ranking02Svg = `<svg width="107" height="63" viewBox="0 0 107 63" xmlns="h
|
|
|
2970
2970
|
<defs>
|
|
2971
2971
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="1iabe95o1a">
|
|
2972
2972
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
2973
|
-
<stop offset="100%"/>
|
|
2973
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
2974
2974
|
</linearGradient>
|
|
2975
2975
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="zu5k6zex3b">
|
|
2976
2976
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
2977
|
-
<stop offset="100%"/>
|
|
2977
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
2978
2978
|
</linearGradient>
|
|
2979
2979
|
</defs>
|
|
2980
2980
|
<g fill="none" fill-rule="evenodd" fill-opacity="0">
|
|
@@ -2987,11 +2987,11 @@ const ranking03Svg = `<svg width="107" height="63" viewBox="0 0 107 63" xmlns="h
|
|
|
2987
2987
|
<defs>
|
|
2988
2988
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="adw663z60a">
|
|
2989
2989
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
2990
|
-
<stop offset="100%"/>
|
|
2990
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
2991
2991
|
</linearGradient>
|
|
2992
2992
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="eoewme9myb">
|
|
2993
2993
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
2994
|
-
<stop offset="100%"/>
|
|
2994
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
2995
2995
|
</linearGradient>
|
|
2996
2996
|
</defs>
|
|
2997
2997
|
<g fill="none" fill-rule="evenodd" fill-opacity="0">
|
|
@@ -3004,11 +3004,11 @@ const ranking04Svg = `<svg width="107" height="63" viewBox="0 0 107 63" xmlns="h
|
|
|
3004
3004
|
<defs>
|
|
3005
3005
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="iaej20o3za">
|
|
3006
3006
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3007
|
-
<stop offset="100%"/>
|
|
3007
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3008
3008
|
</linearGradient>
|
|
3009
3009
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="y0ues5gh1b">
|
|
3010
3010
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3011
|
-
<stop offset="100%"/>
|
|
3011
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3012
3012
|
</linearGradient>
|
|
3013
3013
|
</defs>
|
|
3014
3014
|
<g fill="none" fill-rule="evenodd" fill-opacity="0">
|
|
@@ -3021,11 +3021,11 @@ const ranking05Svg = `<svg width="107" height="63" viewBox="0 0 107 63" xmlns="h
|
|
|
3021
3021
|
<defs>
|
|
3022
3022
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="pd5tx4kxpa">
|
|
3023
3023
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3024
|
-
<stop offset="100%"/>
|
|
3024
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3025
3025
|
</linearGradient>
|
|
3026
3026
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="7d9egf60kb">
|
|
3027
3027
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3028
|
-
<stop offset="100%"/>
|
|
3028
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3029
3029
|
</linearGradient>
|
|
3030
3030
|
</defs>
|
|
3031
3031
|
<g fill="none" fill-rule="evenodd" fill-opacity="0">
|
|
@@ -3038,11 +3038,11 @@ const ranking06Svg = `<svg width="107" height="63" viewBox="0 0 107 63" xmlns="h
|
|
|
3038
3038
|
<defs>
|
|
3039
3039
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="jtdwsc2lfa">
|
|
3040
3040
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3041
|
-
<stop offset="100%"/>
|
|
3041
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3042
3042
|
</linearGradient>
|
|
3043
3043
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="t2f8dejyzb">
|
|
3044
3044
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3045
|
-
<stop offset="100%"/>
|
|
3045
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3046
3046
|
</linearGradient>
|
|
3047
3047
|
</defs>
|
|
3048
3048
|
<g fill="none" fill-rule="evenodd" fill-opacity="0">
|
|
@@ -3055,11 +3055,11 @@ const ranking07Svg = `<svg width="107" height="63" viewBox="0 0 107 63" xmlns="h
|
|
|
3055
3055
|
<defs>
|
|
3056
3056
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="90ik8hkr6a">
|
|
3057
3057
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3058
|
-
<stop offset="100%"/>
|
|
3058
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3059
3059
|
</linearGradient>
|
|
3060
3060
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="b59f2rl85b">
|
|
3061
3061
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3062
|
-
<stop offset="100%"/>
|
|
3062
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3063
3063
|
</linearGradient>
|
|
3064
3064
|
</defs>
|
|
3065
3065
|
<g fill="none" fill-rule="evenodd" fill-opacity="0">
|
|
@@ -3072,11 +3072,11 @@ const ranking08Svg = `<svg width="107" height="63" viewBox="0 0 107 63" xmlns="h
|
|
|
3072
3072
|
<defs>
|
|
3073
3073
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="eiecdx4zya">
|
|
3074
3074
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3075
|
-
<stop offset="100%"/>
|
|
3075
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3076
3076
|
</linearGradient>
|
|
3077
3077
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="jnc3o0yl8b">
|
|
3078
3078
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3079
|
-
<stop offset="100%"/>
|
|
3079
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3080
3080
|
</linearGradient>
|
|
3081
3081
|
</defs>
|
|
3082
3082
|
<g fill="none" fill-rule="evenodd" fill-opacity="0">
|
|
@@ -3090,11 +3090,11 @@ const ranking09Svg = `
|
|
|
3090
3090
|
<defs>
|
|
3091
3091
|
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="kcd2m9jpra">
|
|
3092
3092
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3093
|
-
<stop offset="100%"/>
|
|
3093
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3094
3094
|
</linearGradient>
|
|
3095
3095
|
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="6r4p48ksgb">
|
|
3096
3096
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3097
|
-
<stop offset="100%"/>
|
|
3097
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3098
3098
|
</linearGradient>
|
|
3099
3099
|
</defs>
|
|
3100
3100
|
<g fill="none" fill-rule="evenodd">
|
|
@@ -3108,11 +3108,11 @@ const ranking10Svg = `
|
|
|
3108
3108
|
<defs>
|
|
3109
3109
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="uar72pb1oa">
|
|
3110
3110
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3111
|
-
<stop offset="100%"/>
|
|
3111
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3112
3112
|
</linearGradient>
|
|
3113
3113
|
<linearGradient x1="50%" y1="13.611%" x2="50%" y2="94.217%" id="mxz5wlxd3b">
|
|
3114
3114
|
<stop stop-color="var(--bg-explorer-deg-2)" offset="0%"/>
|
|
3115
|
-
<stop offset="100%"/>
|
|
3115
|
+
<stop stop-color="var(--bg-explorer-deg-1)" offset="100%"/>
|
|
3116
3116
|
</linearGradient>
|
|
3117
3117
|
</defs>
|
|
3118
3118
|
<g fill="none" fill-rule="evenodd" fill-opacity="0">
|
|
@@ -3131,7 +3131,7 @@ const rankingSvgMap = {
|
|
|
3131
3131
|
[UIAsset.IMG_EXPLORER_RANKING_N_07]: ranking07Svg,
|
|
3132
3132
|
[UIAsset.IMG_EXPLORER_RANKING_N_08]: ranking08Svg,
|
|
3133
3133
|
[UIAsset.IMG_EXPLORER_RANKING_N_09]: ranking09Svg,
|
|
3134
|
-
[UIAsset.IMG_EXPLORER_RANKING_N_10]: ranking10Svg
|
|
3134
|
+
[UIAsset.IMG_EXPLORER_RANKING_N_10]: ranking10Svg,
|
|
3135
3135
|
};
|
|
3136
3136
|
|
|
3137
3137
|
class ImageComponent {
|
|
@@ -3164,6 +3164,12 @@ class ImageComponent {
|
|
|
3164
3164
|
}
|
|
3165
3165
|
}
|
|
3166
3166
|
if (this.imgElementRef?.nativeElement) {
|
|
3167
|
+
if (element.size) {
|
|
3168
|
+
const height = sizeMappingHeight[element.size];
|
|
3169
|
+
const width = sizeMappingWidth[element.size];
|
|
3170
|
+
this.renderer.setStyle(this.imgElementRef.nativeElement, 'height', height);
|
|
3171
|
+
this.renderer.setStyle(this.imgElementRef.nativeElement, 'width', width);
|
|
3172
|
+
}
|
|
3167
3173
|
if (element.aspect) {
|
|
3168
3174
|
this.renderer.setStyle(this.imgElementRef.nativeElement, 'object-fit', aspectMapping[element.aspect]);
|
|
3169
3175
|
}
|