@ckeditor/ckeditor5-utils 48.3.1 → 48.4.0-alpha.0
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/dom/global.d.ts +1 -1
- package/dist/index-content.css +2 -0
- package/dist/index-content.css.map +1 -0
- package/dist/index-editor.css +2 -0
- package/dist/index-editor.css.map +1 -0
- package/dist/index.css +2 -0
- package/dist/index.css.map +1 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +2 -2
package/dist/dom/global.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface GlobalType {
|
|
|
21
21
|
* import { global } from 'ckeditor5';
|
|
22
22
|
*
|
|
23
23
|
* // This stub will work for any code using global module.
|
|
24
|
-
*
|
|
24
|
+
* vi.spyOn( global, 'window', 'get' ).mockReturnValue( {
|
|
25
25
|
* innerWidth: 10000
|
|
26
26
|
* } );
|
|
27
27
|
*
|
package/dist/index-content.css
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["index-content.css"],"names":[],"mappings":";;;;;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-content.css.map","sourcesContent":["\n\n/*# sourceMappingURL=index-content.css.map */"]}
|
package/dist/index-editor.css
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["index-editor.css"],"names":[],"mappings":";;;;;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-editor.css.map","sourcesContent":["\n\n/*# sourceMappingURL=index-editor.css.map */"]}
|
package/dist/index.css
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["index.css"],"names":[],"mappings":";;;;;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["\n\n/*# sourceMappingURL=index.css.map */"]}
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import { cloneDeepWith, isElement, isFunction, isObject, isPlainObject, isString
|
|
|
17
17
|
* import { global } from 'ckeditor5';
|
|
18
18
|
*
|
|
19
19
|
* // This stub will work for any code using global module.
|
|
20
|
-
*
|
|
20
|
+
* vi.spyOn( global, 'window', 'get' ).mockReturnValue( {
|
|
21
21
|
* innerWidth: 10000
|
|
22
22
|
* } );
|
|
23
23
|
*
|
|
@@ -678,7 +678,7 @@ const HEX_NUMBERS = new Array(256).fill("").map((_, index) => ("0" + index.toStr
|
|
|
678
678
|
* @returns An unique id string.
|
|
679
679
|
*/
|
|
680
680
|
function uid() {
|
|
681
|
-
const [r1, r2, r3, r4] = crypto.getRandomValues(new Uint32Array(4));
|
|
681
|
+
const [r1, r2, r3, r4] = crypto.getRandomValues(/* @__PURE__ */ new Uint32Array(4));
|
|
682
682
|
return "e" + HEX_NUMBERS[r1 >> 0 & 255] + HEX_NUMBERS[r1 >> 8 & 255] + HEX_NUMBERS[r1 >> 16 & 255] + HEX_NUMBERS[r1 >> 24 & 255] + HEX_NUMBERS[r2 >> 0 & 255] + HEX_NUMBERS[r2 >> 8 & 255] + HEX_NUMBERS[r2 >> 16 & 255] + HEX_NUMBERS[r2 >> 24 & 255] + HEX_NUMBERS[r3 >> 0 & 255] + HEX_NUMBERS[r3 >> 8 & 255] + HEX_NUMBERS[r3 >> 16 & 255] + HEX_NUMBERS[r3 >> 24 & 255] + HEX_NUMBERS[r4 >> 0 & 255] + HEX_NUMBERS[r4 >> 8 & 255] + HEX_NUMBERS[r4 >> 16 & 255] + HEX_NUMBERS[r4 >> 24 & 255];
|
|
683
683
|
}
|
|
684
684
|
|
|
@@ -916,7 +916,7 @@ function formatConsoleArguments(errorName, data) {
|
|
|
916
916
|
/**
|
|
917
917
|
* @module utils/version
|
|
918
918
|
*/
|
|
919
|
-
const version = "48.
|
|
919
|
+
const version = "48.4.0-alpha.0";
|
|
920
920
|
const releaseDate = new Date(2026, 5, 2);
|
|
921
921
|
/* v8 ignore next -- @preserve */
|
|
922
922
|
if (globalThis.CKEDITOR_VERSION)
|
|
@@ -1184,7 +1184,7 @@ function EmitterMixin(base) {
|
|
|
1184
1184
|
if (!this[_delegations]) this[_delegations] = /* @__PURE__ */ new Map();
|
|
1185
1185
|
events.forEach((eventName) => {
|
|
1186
1186
|
const destinations = this[_delegations].get(eventName);
|
|
1187
|
-
if (!destinations) this[_delegations].set(eventName, new Map([[emitter, nameOrFunction]]));
|
|
1187
|
+
if (!destinations) this[_delegations].set(eventName, /* @__PURE__ */ new Map([[emitter, nameOrFunction]]));
|
|
1188
1188
|
else destinations.set(emitter, nameOrFunction);
|
|
1189
1189
|
});
|
|
1190
1190
|
} };
|
|
@@ -2523,7 +2523,7 @@ const RECT_PROPERTIES = [
|
|
|
2523
2523
|
"width",
|
|
2524
2524
|
"height"
|
|
2525
2525
|
];
|
|
2526
|
-
const POSITIONING_VALUES = new Set([
|
|
2526
|
+
const POSITIONING_VALUES = /* @__PURE__ */ new Set([
|
|
2527
2527
|
"relative",
|
|
2528
2528
|
"absolute",
|
|
2529
2529
|
"fixed",
|
|
@@ -4821,7 +4821,7 @@ var Collection = class extends CollectionBase {
|
|
|
4821
4821
|
*/
|
|
4822
4822
|
_remove(subject) {
|
|
4823
4823
|
let index, id, item;
|
|
4824
|
-
let itemDoesNotExist
|
|
4824
|
+
let itemDoesNotExist;
|
|
4825
4825
|
const idProperty = this._idProperty;
|
|
4826
4826
|
if (typeof subject == "string") {
|
|
4827
4827
|
id = subject;
|