@kong-ui-public/core 1.7.4-pr.1430.f58edae3.0 → 1.7.4
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/core.es.js +3 -6
- package/package.json +2 -2
package/dist/core.es.js
CHANGED
|
@@ -1135,11 +1135,9 @@ function Ze(a, e) {
|
|
|
1135
1135
|
function et(a) {
|
|
1136
1136
|
return function(e) {
|
|
1137
1137
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.match(a.matchPattern);
|
|
1138
|
-
if (!r)
|
|
1139
|
-
return null;
|
|
1138
|
+
if (!r) return null;
|
|
1140
1139
|
var n = r[0], i = e.match(a.parsePattern);
|
|
1141
|
-
if (!i)
|
|
1142
|
-
return null;
|
|
1140
|
+
if (!i) return null;
|
|
1143
1141
|
var o = a.valueCallback ? a.valueCallback(i[0]) : i[0];
|
|
1144
1142
|
o = t.valueCallback ? t.valueCallback(o) : o;
|
|
1145
1143
|
var c = e.slice(n.length);
|
|
@@ -1378,8 +1376,7 @@ function _t({ script: a, styles: e, onReady: t }) {
|
|
|
1378
1376
|
return {
|
|
1379
1377
|
importPackage: async () => {
|
|
1380
1378
|
var d, f;
|
|
1381
|
-
if (!a || !a.url || typeof window > "u" || typeof document > "u")
|
|
1382
|
-
return;
|
|
1379
|
+
if (!a || !a.url || typeof window > "u" || typeof document > "u") return;
|
|
1383
1380
|
const u = de(() => !!(e && (e != null && e.urls) && (e != null && e.urls.length) && e.shadowRoot));
|
|
1384
1381
|
if ((!e || !(e != null && e.urls) || !((d = e == null ? void 0 : e.urls) != null && d.length)) && (n.value = !1), e != null && e.urls && ((f = e == null ? void 0 : e.urls) != null && f.length) && !u.value && (await o(e.urls), n.value = !1), (!a.type || a.type === "umd") && !u.value)
|
|
1385
1382
|
return await i();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/core",
|
|
3
|
-
"version": "1.7.4
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/core.umd.js",
|
|
6
6
|
"module": "./dist/core.es.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"axios": "^1.6.8",
|
|
39
39
|
"swrv": "^1.0.4",
|
|
40
|
-
"vue": "^3.4.
|
|
40
|
+
"vue": "^3.4.31"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"date-fns": "^2.30.0"
|