@eturnity/eturnity_reusable_components 8.40.8--EPDM-16195.1 → 8.40.8--EPDM-16195.2
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/main.es12.js +2 -2
- package/dist/main.es13.js +5 -5
- package/dist/main.es14.js +2 -2
- package/dist/main.es15.js +257 -62
- package/dist/main.es17.js +22 -257
- package/dist/main.es18.js +1051 -19
- package/dist/main.es19.js +215 -1044
- package/dist/main.es20.js +68 -196
- package/dist/main.es21.js +73 -72
- package/dist/main.es22.js +168 -74
- package/dist/main.es23.js +2 -194
- package/dist/main.es24.js +541 -2
- package/dist/main.es25.js +15 -532
- package/dist/main.es26.js +61 -21
- package/dist/main.es384.js +1 -1
- package/dist/main.es387.js +1 -1
- package/dist/main.es5.js +1 -1
- package/dist/main.es6.js +2 -2
- package/dist/main.es743.js +21 -60
- package/dist/main.es744.js +60 -21
- package/dist/main.es9.js +1 -1
- package/package.json +1 -1
- package/src/components/infoText/templates/iconTextContent.vue +21 -7
- package/src/components/pageTitle/index.vue +21 -6
package/dist/main.es743.js
CHANGED
|
@@ -1,64 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
let supported;
|
|
2
|
+
let perf;
|
|
3
|
+
function isPerformanceSupported() {
|
|
4
|
+
var _a;
|
|
5
|
+
if (supported !== void 0) {
|
|
6
|
+
return supported;
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
+
if (typeof window !== "undefined" && window.performance) {
|
|
9
|
+
supported = true;
|
|
10
|
+
perf = window.performance;
|
|
11
|
+
} else if (typeof globalThis !== "undefined" && ((_a = globalThis.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
|
|
12
|
+
supported = true;
|
|
13
|
+
perf = globalThis.perf_hooks.performance;
|
|
14
|
+
} else {
|
|
15
|
+
supported = false;
|
|
16
|
+
}
|
|
17
|
+
return supported;
|
|
18
|
+
}
|
|
19
|
+
function now() {
|
|
20
|
+
return isPerformanceSupported() ? perf.now() : Date.now();
|
|
8
21
|
}
|
|
9
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
10
|
-
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
11
|
-
const NOOP = () => {
|
|
12
|
-
};
|
|
13
|
-
const extend = Object.assign;
|
|
14
|
-
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
15
|
-
const hasOwn = (val, key) => hasOwnProperty.call(val, key);
|
|
16
|
-
const isArray = Array.isArray;
|
|
17
|
-
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
18
|
-
const isFunction = (val) => typeof val === "function";
|
|
19
|
-
const isString = (val) => typeof val === "string";
|
|
20
|
-
const isSymbol = (val) => typeof val === "symbol";
|
|
21
|
-
const isObject = (val) => val !== null && typeof val === "object";
|
|
22
|
-
const objectToString = Object.prototype.toString;
|
|
23
|
-
const toTypeString = (value) => objectToString.call(value);
|
|
24
|
-
const toRawType = (value) => {
|
|
25
|
-
return toTypeString(value).slice(8, -1);
|
|
26
|
-
};
|
|
27
|
-
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
28
|
-
const cacheStringFunction = (fn) => {
|
|
29
|
-
const cache = /* @__PURE__ */ Object.create(null);
|
|
30
|
-
return (str) => {
|
|
31
|
-
const hit = cache[str];
|
|
32
|
-
return hit || (cache[str] = fn(str));
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
const capitalize = cacheStringFunction(
|
|
36
|
-
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
37
|
-
);
|
|
38
|
-
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
39
|
-
const def = (obj, key, value) => {
|
|
40
|
-
Object.defineProperty(obj, key, {
|
|
41
|
-
configurable: true,
|
|
42
|
-
enumerable: false,
|
|
43
|
-
value
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
22
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
def,
|
|
50
|
-
extend,
|
|
51
|
-
hasChanged,
|
|
52
|
-
hasOwn,
|
|
53
|
-
isArray,
|
|
54
|
-
isFunction,
|
|
55
|
-
isIntegerKey,
|
|
56
|
-
isMap,
|
|
57
|
-
isObject,
|
|
58
|
-
isString,
|
|
59
|
-
isSymbol,
|
|
60
|
-
makeMap,
|
|
61
|
-
objectToString,
|
|
62
|
-
toRawType,
|
|
63
|
-
toTypeString
|
|
23
|
+
isPerformanceSupported,
|
|
24
|
+
now
|
|
64
25
|
};
|
package/dist/main.es744.js
CHANGED
|
@@ -1,25 +1,64 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return supported;
|
|
1
|
+
function makeMap(str, expectsLowerCase) {
|
|
2
|
+
const map = /* @__PURE__ */ Object.create(null);
|
|
3
|
+
const list = str.split(",");
|
|
4
|
+
for (let i = 0; i < list.length; i++) {
|
|
5
|
+
map[list[i]] = true;
|
|
7
6
|
}
|
|
8
|
-
|
|
9
|
-
supported = true;
|
|
10
|
-
perf = window.performance;
|
|
11
|
-
} else if (typeof globalThis !== "undefined" && ((_a = globalThis.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
|
|
12
|
-
supported = true;
|
|
13
|
-
perf = globalThis.perf_hooks.performance;
|
|
14
|
-
} else {
|
|
15
|
-
supported = false;
|
|
16
|
-
}
|
|
17
|
-
return supported;
|
|
18
|
-
}
|
|
19
|
-
function now() {
|
|
20
|
-
return isPerformanceSupported() ? perf.now() : Date.now();
|
|
7
|
+
return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
|
|
21
8
|
}
|
|
9
|
+
!!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
10
|
+
!!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
|
|
11
|
+
const NOOP = () => {
|
|
12
|
+
};
|
|
13
|
+
const extend = Object.assign;
|
|
14
|
+
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
15
|
+
const hasOwn = (val, key) => hasOwnProperty.call(val, key);
|
|
16
|
+
const isArray = Array.isArray;
|
|
17
|
+
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
18
|
+
const isFunction = (val) => typeof val === "function";
|
|
19
|
+
const isString = (val) => typeof val === "string";
|
|
20
|
+
const isSymbol = (val) => typeof val === "symbol";
|
|
21
|
+
const isObject = (val) => val !== null && typeof val === "object";
|
|
22
|
+
const objectToString = Object.prototype.toString;
|
|
23
|
+
const toTypeString = (value) => objectToString.call(value);
|
|
24
|
+
const toRawType = (value) => {
|
|
25
|
+
return toTypeString(value).slice(8, -1);
|
|
26
|
+
};
|
|
27
|
+
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
28
|
+
const cacheStringFunction = (fn) => {
|
|
29
|
+
const cache = /* @__PURE__ */ Object.create(null);
|
|
30
|
+
return (str) => {
|
|
31
|
+
const hit = cache[str];
|
|
32
|
+
return hit || (cache[str] = fn(str));
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
const capitalize = cacheStringFunction(
|
|
36
|
+
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
37
|
+
);
|
|
38
|
+
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
39
|
+
const def = (obj, key, value) => {
|
|
40
|
+
Object.defineProperty(obj, key, {
|
|
41
|
+
configurable: true,
|
|
42
|
+
enumerable: false,
|
|
43
|
+
value
|
|
44
|
+
});
|
|
45
|
+
};
|
|
22
46
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
47
|
+
NOOP,
|
|
48
|
+
capitalize,
|
|
49
|
+
def,
|
|
50
|
+
extend,
|
|
51
|
+
hasChanged,
|
|
52
|
+
hasOwn,
|
|
53
|
+
isArray,
|
|
54
|
+
isFunction,
|
|
55
|
+
isIntegerKey,
|
|
56
|
+
isMap,
|
|
57
|
+
isObject,
|
|
58
|
+
isString,
|
|
59
|
+
isSymbol,
|
|
60
|
+
makeMap,
|
|
61
|
+
objectToString,
|
|
62
|
+
toRawType,
|
|
63
|
+
toTypeString
|
|
25
64
|
};
|
package/dist/main.es9.js
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<Container data-test-id="iconTextContent_container">
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
<IconWrapper :icon-padding="iconPadding">
|
|
4
|
+
<RCIcon
|
|
5
|
+
:color="iconColor"
|
|
6
|
+
data-test-id="iconTextContent_icon"
|
|
7
|
+
:name="iconName"
|
|
8
|
+
:size="iconSize"
|
|
9
|
+
/>
|
|
10
|
+
</IconWrapper>
|
|
9
11
|
<TextWrapper
|
|
10
12
|
data-test-id="iconTextContent_text"
|
|
11
13
|
:font-color="fontColor"
|
|
@@ -64,12 +66,19 @@
|
|
|
64
66
|
vertical-align: middle;
|
|
65
67
|
`
|
|
66
68
|
|
|
69
|
+
const IconWrapper = styled('div', {
|
|
70
|
+
iconPadding: String,
|
|
71
|
+
})`
|
|
72
|
+
padding: ${(props) => props.iconPadding};
|
|
73
|
+
`
|
|
74
|
+
|
|
67
75
|
export default {
|
|
68
76
|
name: 'IconTextContent',
|
|
69
77
|
components: {
|
|
70
78
|
Container,
|
|
71
79
|
TextWrapper,
|
|
72
80
|
RCIcon,
|
|
81
|
+
IconWrapper,
|
|
73
82
|
},
|
|
74
83
|
props: {
|
|
75
84
|
iconName: {
|
|
@@ -83,13 +92,18 @@
|
|
|
83
92
|
iconSize: {
|
|
84
93
|
type: String,
|
|
85
94
|
required: false,
|
|
86
|
-
default: '
|
|
95
|
+
default: '16px',
|
|
87
96
|
},
|
|
88
97
|
iconColor: {
|
|
89
98
|
type: String,
|
|
90
99
|
required: false,
|
|
91
100
|
default: '',
|
|
92
101
|
},
|
|
102
|
+
iconPadding: {
|
|
103
|
+
type: String,
|
|
104
|
+
required: false,
|
|
105
|
+
default: '3px',
|
|
106
|
+
},
|
|
93
107
|
fontSize: {
|
|
94
108
|
type: String,
|
|
95
109
|
required: false,
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<TitleWrap
|
|
2
|
+
<TitleWrap
|
|
3
|
+
data-test-id="page_wrapper"
|
|
4
|
+
:has-info-text="!!infoText"
|
|
5
|
+
:no-margin="noMargin"
|
|
6
|
+
>
|
|
3
7
|
<TitleText
|
|
4
8
|
:color="color"
|
|
5
9
|
data-test-id="page_title_text"
|
|
@@ -31,21 +35,27 @@
|
|
|
31
35
|
import styled from 'vue3-styled-components'
|
|
32
36
|
import InfoText from '../infoText'
|
|
33
37
|
|
|
34
|
-
const wrapAttrs = { hasInfoText: Boolean }
|
|
38
|
+
const wrapAttrs = { hasInfoText: Boolean, noMargin: Boolean }
|
|
35
39
|
const TitleWrap = styled('div', wrapAttrs)`
|
|
36
40
|
display: grid;
|
|
37
41
|
align-items: center;
|
|
38
42
|
grid-gap: 12px;
|
|
39
43
|
grid-template-columns: ${(props) =>
|
|
40
44
|
props.hasInfoText ? 'auto auto 1fr' : '1fr'};
|
|
41
|
-
margin-bottom: 20px;
|
|
45
|
+
margin-bottom: ${(props) => (props.noMargin ? '0px' : '20px')};
|
|
42
46
|
`
|
|
43
47
|
|
|
44
48
|
const titleAttrs = { color: String, fontSize: String, uppercase: Boolean }
|
|
45
49
|
const TitleText = styled('span', titleAttrs)`
|
|
46
50
|
color: ${(props) => (props.color ? props.color : props.theme.colors.black)};
|
|
47
|
-
font-weight:
|
|
48
|
-
|
|
51
|
+
font-weight: 500;
|
|
52
|
+
line-height: 130%;
|
|
53
|
+
font-size: ${(props) =>
|
|
54
|
+
props.fontSize === 'large'
|
|
55
|
+
? '24px'
|
|
56
|
+
: props.fontSize === 'small'
|
|
57
|
+
? '18px'
|
|
58
|
+
: '20px'};
|
|
49
59
|
`
|
|
50
60
|
|
|
51
61
|
export default {
|
|
@@ -68,7 +78,7 @@
|
|
|
68
78
|
fontSize: {
|
|
69
79
|
required: false,
|
|
70
80
|
type: String,
|
|
71
|
-
default: '',
|
|
81
|
+
default: 'medium',
|
|
72
82
|
},
|
|
73
83
|
uppercase: {
|
|
74
84
|
required: false,
|
|
@@ -85,6 +95,11 @@
|
|
|
85
95
|
type: String,
|
|
86
96
|
default: 'center',
|
|
87
97
|
},
|
|
98
|
+
noMargin: {
|
|
99
|
+
required: false,
|
|
100
|
+
type: Boolean,
|
|
101
|
+
default: false,
|
|
102
|
+
},
|
|
88
103
|
},
|
|
89
104
|
}
|
|
90
105
|
</script>
|