@univerjs/core 0.10.13 → 0.10.14
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/lib/cjs/index.js +1 -1
- package/lib/es/index.js +2 -6
- package/lib/index.js +2 -6
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/es/index.js
CHANGED
|
@@ -15640,7 +15640,7 @@ class _E extends Ve {
|
|
|
15640
15640
|
}
|
|
15641
15641
|
}
|
|
15642
15642
|
var oc = /* @__PURE__ */ ((e) => (e.URL = "URL", e.UUID = "UUID", e.BASE64 = "BASE64", e))(oc || {}), pE = /* @__PURE__ */ ((e) => (e.SUCCUSS = "0", e.ERROR_EXCEED_SIZE = "1", e.ERROR_IMAGE_TYPE = "2", e.ERROR_UPLOAD_COUNT_LIMIT = "3", e.ERROR_IMAGE = "4", e))(pE || {});
|
|
15643
|
-
const El = ht("core.image-io.service"), EE = "0.10.
|
|
15643
|
+
const El = ht("core.image-io.service"), EE = "0.10.14", CE = {
|
|
15644
15644
|
version: EE
|
|
15645
15645
|
};
|
|
15646
15646
|
function RE(e = "", t = Ns.ZH_CN, n = "") {
|
|
@@ -18031,11 +18031,7 @@ class tC extends Ve {
|
|
|
18031
18031
|
}
|
|
18032
18032
|
addPermissionPoint(n) {
|
|
18033
18033
|
const r = n instanceof tt, s = r ? n.getValue() : n;
|
|
18034
|
-
|
|
18035
|
-
return !1;
|
|
18036
|
-
if (this._permissionPointMap.get(s.id))
|
|
18037
|
-
throw new Error(`${s.id} PermissionPoint already exists`);
|
|
18038
|
-
return this._permissionPointMap.set(s.id, r ? n : new tt(s)), this._permissionPointUpdate$.next(s), !0;
|
|
18034
|
+
return s.id ? this._permissionPointMap.get(s.id) ? (console.warn(`${s.id} PermissionPoint already exists`), !1) : (this._permissionPointMap.set(s.id, r ? n : new tt(s)), this._permissionPointUpdate$.next(s), !0) : !1;
|
|
18039
18035
|
}
|
|
18040
18036
|
updatePermissionPoint(n, r) {
|
|
18041
18037
|
const s = this._permissionPointMap.get(n);
|
package/lib/index.js
CHANGED
|
@@ -15640,7 +15640,7 @@ class _E extends Ve {
|
|
|
15640
15640
|
}
|
|
15641
15641
|
}
|
|
15642
15642
|
var oc = /* @__PURE__ */ ((e) => (e.URL = "URL", e.UUID = "UUID", e.BASE64 = "BASE64", e))(oc || {}), pE = /* @__PURE__ */ ((e) => (e.SUCCUSS = "0", e.ERROR_EXCEED_SIZE = "1", e.ERROR_IMAGE_TYPE = "2", e.ERROR_UPLOAD_COUNT_LIMIT = "3", e.ERROR_IMAGE = "4", e))(pE || {});
|
|
15643
|
-
const El = ht("core.image-io.service"), EE = "0.10.
|
|
15643
|
+
const El = ht("core.image-io.service"), EE = "0.10.14", CE = {
|
|
15644
15644
|
version: EE
|
|
15645
15645
|
};
|
|
15646
15646
|
function RE(e = "", t = Ns.ZH_CN, n = "") {
|
|
@@ -18031,11 +18031,7 @@ class tC extends Ve {
|
|
|
18031
18031
|
}
|
|
18032
18032
|
addPermissionPoint(n) {
|
|
18033
18033
|
const r = n instanceof tt, s = r ? n.getValue() : n;
|
|
18034
|
-
|
|
18035
|
-
return !1;
|
|
18036
|
-
if (this._permissionPointMap.get(s.id))
|
|
18037
|
-
throw new Error(`${s.id} PermissionPoint already exists`);
|
|
18038
|
-
return this._permissionPointMap.set(s.id, r ? n : new tt(s)), this._permissionPointUpdate$.next(s), !0;
|
|
18034
|
+
return s.id ? this._permissionPointMap.get(s.id) ? (console.warn(`${s.id} PermissionPoint already exists`), !1) : (this._permissionPointMap.set(s.id, r ? n : new tt(s)), this._permissionPointUpdate$.next(s), !0) : !1;
|
|
18039
18035
|
}
|
|
18040
18036
|
updatePermissionPoint(n, r) {
|
|
18041
18037
|
const s = this._permissionPointMap.get(n);
|