@eturnity/eturnity_reusable_components 8.26.11-EPDM-16030.0 → 8.26.11
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.es15.js +1 -10
- package/dist/main.es19.js +1 -1
- package/dist/main.es377.js +1 -1
- package/dist/main.es379.js +21 -60
- package/dist/main.es380.js +60 -21
- package/package.json +1 -1
- package/src/components/buttons/mainButton/index.vue +1 -10
package/dist/main.es15.js
CHANGED
@@ -165,10 +165,6 @@ const _sfc_main = {
|
|
165
165
|
type: String,
|
166
166
|
default: "medium",
|
167
167
|
required: false
|
168
|
-
},
|
169
|
-
isFirstLetterCapitalized: {
|
170
|
-
type: Boolean,
|
171
|
-
default: false
|
172
168
|
}
|
173
169
|
},
|
174
170
|
computed: {
|
@@ -178,11 +174,6 @@ const _sfc_main = {
|
|
178
174
|
getIconColor() {
|
179
175
|
return this.isDisabled ? this.theme.mainButton[this.appTheme][this.type][this.variant].disabled.textColor : this.iconColor ? this.iconColor : this.theme.mainButton[this.appTheme][this.type][this.variant].default.textColor;
|
180
176
|
}
|
181
|
-
},
|
182
|
-
methods: {
|
183
|
-
capitalizeFirstLetter(word) {
|
184
|
-
return word.charAt(0).toUpperCase() + word.slice(1);
|
185
|
-
}
|
186
177
|
}
|
187
178
|
};
|
188
179
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
@@ -213,7 +204,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
213
204
|
"hovered-color": $options.getIconColor,
|
214
205
|
name: $props.icon,
|
215
206
|
size: "14px"
|
216
|
-
}, null, 8, ["color", "hovered-color", "name"])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString($props.
|
207
|
+
}, null, 8, ["color", "hovered-color", "name"])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString($props.text), 1)]),
|
217
208
|
_: 1
|
218
209
|
}, 8, ["has-icon"])]),
|
219
210
|
_: 1
|
package/dist/main.es19.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { isSymbol, hasChanged, isObject, NOOP, isArray, extend, toRawType, isFunction, def, hasOwn, isIntegerKey, isMap, makeMap, capitalize } from "./main.
|
1
|
+
import { isSymbol, hasChanged, isObject, NOOP, isArray, extend, toRawType, isFunction, def, hasOwn, isIntegerKey, isMap, makeMap, capitalize } from "./main.es380.js";
|
2
2
|
function warn(msg, ...args) {
|
3
3
|
console.warn(`[Vue warn] ${msg}`, ...args);
|
4
4
|
}
|
package/dist/main.es377.js
CHANGED
package/dist/main.es379.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.es380.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/package.json
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
:name="icon"
|
22
22
|
size="14px"
|
23
23
|
/>
|
24
|
-
{{
|
24
|
+
{{ text }}
|
25
25
|
</LabelComponent>
|
26
26
|
</ButtonContainer>
|
27
27
|
</PageContainer>
|
@@ -231,10 +231,6 @@
|
|
231
231
|
default: 'medium',
|
232
232
|
required: false,
|
233
233
|
},
|
234
|
-
isFirstLetterCapitalized: {
|
235
|
-
type: Boolean,
|
236
|
-
default: false,
|
237
|
-
},
|
238
234
|
},
|
239
235
|
computed: {
|
240
236
|
theme() {
|
@@ -250,10 +246,5 @@
|
|
250
246
|
.default.textColor
|
251
247
|
},
|
252
248
|
},
|
253
|
-
methods: {
|
254
|
-
capitalizeFirstLetter(word) {
|
255
|
-
return word.charAt(0).toUpperCase() + word.slice(1)
|
256
|
-
},
|
257
|
-
},
|
258
249
|
}
|
259
250
|
</script>
|