@sitecore/sc-contenthub-blok 1.0.14 → 1.0.17

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.
Files changed (39) hide show
  1. package/dist/Components/BlokBadge/BlokBadge.d.ts +4 -1
  2. package/dist/Components/BlokBadge/BlokBadge.js +2 -2
  3. package/dist/Components/BlokBadge/BlokBadge.js.map +1 -1
  4. package/dist/Components/BlokBadge/BlokBadge.spec.js +48 -2
  5. package/dist/Components/BlokBadge/BlokBadge.spec.js.map +1 -1
  6. package/dist/Components/BlokIcon/BlokIcon.js +5 -0
  7. package/dist/Components/BlokIcon/BlokIcon.js.map +1 -1
  8. package/esm/Components/BlokBadge/BlokBadge.js +2 -2
  9. package/esm/Components/BlokBadge/BlokBadge.js.map +1 -1
  10. package/esm/Components/BlokIcon/BlokIcon.js +5 -0
  11. package/esm/Components/BlokIcon/BlokIcon.js.map +1 -1
  12. package/node_modules/@jridgewell/sourcemap-codec/LICENSE +3 -5
  13. package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +378 -379
  14. package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +6 -1
  15. package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +444 -419
  16. package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +6 -1
  17. package/node_modules/@jridgewell/sourcemap-codec/package.json +35 -47
  18. package/node_modules/@jridgewell/sourcemap-codec/src/scopes.ts +345 -0
  19. package/node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts +111 -0
  20. package/node_modules/@jridgewell/sourcemap-codec/src/strings.ts +65 -0
  21. package/node_modules/@jridgewell/sourcemap-codec/src/vlq.ts +55 -0
  22. package/node_modules/@jridgewell/sourcemap-codec/{dist/types/scopes.d.ts → types/scopes.d.cts} +14 -13
  23. package/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts.map +1 -0
  24. package/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +50 -0
  25. package/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts.map +1 -0
  26. package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts +9 -0
  27. package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts.map +1 -0
  28. package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +9 -0
  29. package/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts.map +1 -0
  30. package/node_modules/@jridgewell/sourcemap-codec/{dist/types/strings.d.ts → types/strings.d.cts} +1 -0
  31. package/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts.map +1 -0
  32. package/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +16 -0
  33. package/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts.map +1 -0
  34. package/node_modules/@jridgewell/sourcemap-codec/{dist/types/vlq.d.ts → types/vlq.d.cts} +2 -1
  35. package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts.map +1 -0
  36. package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +7 -0
  37. package/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts.map +1 -0
  38. package/package.json +12 -12
  39. package/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +0 -8
@@ -0,0 +1,65 @@
1
+ const bufLength = 1024 * 16;
2
+
3
+ // Provide a fallback for older environments.
4
+ const td =
5
+ typeof TextDecoder !== 'undefined'
6
+ ? /* #__PURE__ */ new TextDecoder()
7
+ : typeof Buffer !== 'undefined'
8
+ ? {
9
+ decode(buf: Uint8Array): string {
10
+ const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
11
+ return out.toString();
12
+ },
13
+ }
14
+ : {
15
+ decode(buf: Uint8Array): string {
16
+ let out = '';
17
+ for (let i = 0; i < buf.length; i++) {
18
+ out += String.fromCharCode(buf[i]);
19
+ }
20
+ return out;
21
+ },
22
+ };
23
+
24
+ export class StringWriter {
25
+ pos = 0;
26
+ private out = '';
27
+ private buffer = new Uint8Array(bufLength);
28
+
29
+ write(v: number): void {
30
+ const { buffer } = this;
31
+ buffer[this.pos++] = v;
32
+ if (this.pos === bufLength) {
33
+ this.out += td.decode(buffer);
34
+ this.pos = 0;
35
+ }
36
+ }
37
+
38
+ flush(): string {
39
+ const { buffer, out, pos } = this;
40
+ return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
41
+ }
42
+ }
43
+
44
+ export class StringReader {
45
+ pos = 0;
46
+ declare private buffer: string;
47
+
48
+ constructor(buffer: string) {
49
+ this.buffer = buffer;
50
+ }
51
+
52
+ next(): number {
53
+ return this.buffer.charCodeAt(this.pos++);
54
+ }
55
+
56
+ peek(): number {
57
+ return this.buffer.charCodeAt(this.pos);
58
+ }
59
+
60
+ indexOf(char: string): number {
61
+ const { buffer, pos } = this;
62
+ const idx = buffer.indexOf(char, pos);
63
+ return idx === -1 ? buffer.length : idx;
64
+ }
65
+ }
@@ -0,0 +1,55 @@
1
+ import type { StringReader, StringWriter } from './strings';
2
+
3
+ export const comma = ','.charCodeAt(0);
4
+ export const semicolon = ';'.charCodeAt(0);
5
+
6
+ const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
7
+ const intToChar = new Uint8Array(64); // 64 possible chars.
8
+ const charToInt = new Uint8Array(128); // z is 122 in ASCII
9
+
10
+ for (let i = 0; i < chars.length; i++) {
11
+ const c = chars.charCodeAt(i);
12
+ intToChar[i] = c;
13
+ charToInt[c] = i;
14
+ }
15
+
16
+ export function decodeInteger(reader: StringReader, relative: number): number {
17
+ let value = 0;
18
+ let shift = 0;
19
+ let integer = 0;
20
+
21
+ do {
22
+ const c = reader.next();
23
+ integer = charToInt[c];
24
+ value |= (integer & 31) << shift;
25
+ shift += 5;
26
+ } while (integer & 32);
27
+
28
+ const shouldNegate = value & 1;
29
+ value >>>= 1;
30
+
31
+ if (shouldNegate) {
32
+ value = -0x80000000 | -value;
33
+ }
34
+
35
+ return relative + value;
36
+ }
37
+
38
+ export function encodeInteger(builder: StringWriter, num: number, relative: number): number {
39
+ let delta = num - relative;
40
+
41
+ delta = delta < 0 ? (-delta << 1) | 1 : delta << 1;
42
+ do {
43
+ let clamped = delta & 0b011111;
44
+ delta >>>= 5;
45
+ if (delta > 0) clamped |= 0b100000;
46
+ builder.write(intToChar[clamped]);
47
+ } while (delta > 0);
48
+
49
+ return num;
50
+ }
51
+
52
+ export function hasMoreVlq(reader: StringReader, max: number) {
53
+ if (reader.pos >= max) return false;
54
+ return reader.peek() !== comma;
55
+ }
@@ -1,12 +1,12 @@
1
- declare type Line = number;
2
- declare type Column = number;
3
- declare type Kind = number;
4
- declare type Name = number;
5
- declare type Var = number;
6
- declare type SourcesIndex = number;
7
- declare type ScopesIndex = number;
8
- declare type Mix<A, B, O> = (A & O) | (B & O);
9
- export declare type OriginalScope = Mix<[
1
+ type Line = number;
2
+ type Column = number;
3
+ type Kind = number;
4
+ type Name = number;
5
+ type Var = number;
6
+ type SourcesIndex = number;
7
+ type ScopesIndex = number;
8
+ type Mix<A, B, O> = (A & O) | (B & O);
9
+ export type OriginalScope = Mix<[
10
10
  Line,
11
11
  Column,
12
12
  Line,
@@ -22,7 +22,7 @@ export declare type OriginalScope = Mix<[
22
22
  ], {
23
23
  vars: Var[];
24
24
  }>;
25
- export declare type GeneratedRange = Mix<[
25
+ export type GeneratedRange = Mix<[
26
26
  Line,
27
27
  Column,
28
28
  Line,
@@ -39,11 +39,12 @@ export declare type GeneratedRange = Mix<[
39
39
  bindings: Binding[];
40
40
  isScope: boolean;
41
41
  }>;
42
- export declare type CallSite = [SourcesIndex, Line, Column];
43
- declare type Binding = BindingExpressionRange[];
44
- export declare type BindingExpressionRange = [Name] | [Name, Line, Column];
42
+ export type CallSite = [SourcesIndex, Line, Column];
43
+ type Binding = BindingExpressionRange[];
44
+ export type BindingExpressionRange = [Name] | [Name, Line, Column];
45
45
  export declare function decodeOriginalScopes(input: string): OriginalScope[];
46
46
  export declare function encodeOriginalScopes(scopes: OriginalScope[]): string;
47
47
  export declare function decodeGeneratedRanges(input: string): GeneratedRange[];
48
48
  export declare function encodeGeneratedRanges(ranges: GeneratedRange[]): string;
49
49
  export {};
50
+ //# sourceMappingURL=scopes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scopes.d.ts","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":"AAKA,KAAK,IAAI,GAAG,MAAM,CAAC;AACnB,KAAK,MAAM,GAAG,MAAM,CAAC;AACrB,KAAK,IAAI,GAAG,MAAM,CAAC;AACnB,KAAK,IAAI,GAAG,MAAM,CAAC;AACnB,KAAK,GAAG,GAAG,MAAM,CAAC;AAClB,KAAK,YAAY,GAAG,MAAM,CAAC;AAC3B,KAAK,WAAW,GAAG,MAAM,CAAC;AAE1B,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAEtC,MAAM,MAAM,aAAa,GAAG,GAAG,CAC7B;IAAC,IAAI;IAAE,MAAM;IAAE,IAAI;IAAE,MAAM;IAAE,IAAI;CAAC,EAClC;IAAC,IAAI;IAAE,MAAM;IAAE,IAAI;IAAE,MAAM;IAAE,IAAI;IAAE,IAAI;CAAC,EACxC;IAAE,IAAI,EAAE,GAAG,EAAE,CAAA;CAAE,CAChB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,GAAG,CAC9B;IAAC,IAAI;IAAE,MAAM;IAAE,IAAI;IAAE,MAAM;CAAC,EAC5B;IAAC,IAAI;IAAE,MAAM;IAAE,IAAI;IAAE,MAAM;IAAE,YAAY;IAAE,WAAW;CAAC,EACvD;IACE,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CAClB,CACF,CAAC;AACF,MAAM,MAAM,QAAQ,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;AACpD,KAAK,OAAO,GAAG,sBAAsB,EAAE,CAAC;AACxC,MAAM,MAAM,sBAAsB,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;AAEnE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,aAAa,EAAE,CAyCnE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAQpE;AA2CD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc,EAAE,CAoGrE;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,CAUtE"}
@@ -0,0 +1,50 @@
1
+ type Line = number;
2
+ type Column = number;
3
+ type Kind = number;
4
+ type Name = number;
5
+ type Var = number;
6
+ type SourcesIndex = number;
7
+ type ScopesIndex = number;
8
+ type Mix<A, B, O> = (A & O) | (B & O);
9
+ export type OriginalScope = Mix<[
10
+ Line,
11
+ Column,
12
+ Line,
13
+ Column,
14
+ Kind
15
+ ], [
16
+ Line,
17
+ Column,
18
+ Line,
19
+ Column,
20
+ Kind,
21
+ Name
22
+ ], {
23
+ vars: Var[];
24
+ }>;
25
+ export type GeneratedRange = Mix<[
26
+ Line,
27
+ Column,
28
+ Line,
29
+ Column
30
+ ], [
31
+ Line,
32
+ Column,
33
+ Line,
34
+ Column,
35
+ SourcesIndex,
36
+ ScopesIndex
37
+ ], {
38
+ callsite: CallSite | null;
39
+ bindings: Binding[];
40
+ isScope: boolean;
41
+ }>;
42
+ export type CallSite = [SourcesIndex, Line, Column];
43
+ type Binding = BindingExpressionRange[];
44
+ export type BindingExpressionRange = [Name] | [Name, Line, Column];
45
+ export declare function decodeOriginalScopes(input: string): OriginalScope[];
46
+ export declare function encodeOriginalScopes(scopes: OriginalScope[]): string;
47
+ export declare function decodeGeneratedRanges(input: string): GeneratedRange[];
48
+ export declare function encodeGeneratedRanges(ranges: GeneratedRange[]): string;
49
+ export {};
50
+ //# sourceMappingURL=scopes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scopes.d.ts","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":"AAKA,KAAK,IAAI,GAAG,MAAM,CAAC;AACnB,KAAK,MAAM,GAAG,MAAM,CAAC;AACrB,KAAK,IAAI,GAAG,MAAM,CAAC;AACnB,KAAK,IAAI,GAAG,MAAM,CAAC;AACnB,KAAK,GAAG,GAAG,MAAM,CAAC;AAClB,KAAK,YAAY,GAAG,MAAM,CAAC;AAC3B,KAAK,WAAW,GAAG,MAAM,CAAC;AAE1B,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAEtC,MAAM,MAAM,aAAa,GAAG,GAAG,CAC7B;IAAC,IAAI;IAAE,MAAM;IAAE,IAAI;IAAE,MAAM;IAAE,IAAI;CAAC,EAClC;IAAC,IAAI;IAAE,MAAM;IAAE,IAAI;IAAE,MAAM;IAAE,IAAI;IAAE,IAAI;CAAC,EACxC;IAAE,IAAI,EAAE,GAAG,EAAE,CAAA;CAAE,CAChB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,GAAG,CAC9B;IAAC,IAAI;IAAE,MAAM;IAAE,IAAI;IAAE,MAAM;CAAC,EAC5B;IAAC,IAAI;IAAE,MAAM;IAAE,IAAI;IAAE,MAAM;IAAE,YAAY;IAAE,WAAW;CAAC,EACvD;IACE,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CAClB,CACF,CAAC;AACF,MAAM,MAAM,QAAQ,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;AACpD,KAAK,OAAO,GAAG,sBAAsB,EAAE,CAAC;AACxC,MAAM,MAAM,sBAAsB,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;AAEnE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,aAAa,EAAE,CAyCnE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAQpE;AA2CD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc,EAAE,CAoGrE;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,CAUtE"}
@@ -0,0 +1,9 @@
1
+ export { decodeOriginalScopes, encodeOriginalScopes, decodeGeneratedRanges, encodeGeneratedRanges, } from './scopes.cts';
2
+ export type { OriginalScope, GeneratedRange, CallSite, BindingExpressionRange } from './scopes.cts';
3
+ export type SourceMapSegment = [number] | [number, number, number, number] | [number, number, number, number, number];
4
+ export type SourceMapLine = SourceMapSegment[];
5
+ export type SourceMapMappings = SourceMapLine[];
6
+ export declare function decode(mappings: string): SourceMapMappings;
7
+ export declare function encode(decoded: SourceMapMappings): string;
8
+ export declare function encode(decoded: Readonly<SourceMapMappings>): string;
9
+ //# sourceMappingURL=sourcemap-codec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourcemap-codec.d.ts","sourceRoot":"","sources":["../src/sourcemap-codec.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEhG,MAAM,MAAM,gBAAgB,GACxB,CAAC,MAAM,CAAC,GACR,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAChC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAC7C,MAAM,MAAM,aAAa,GAAG,gBAAgB,EAAE,CAAC;AAC/C,MAAM,MAAM,iBAAiB,GAAG,aAAa,EAAE,CAAC;AAEhD,wBAAgB,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,iBAAiB,CAiD1D;AAUD,wBAAgB,MAAM,CAAC,OAAO,EAAE,iBAAiB,GAAG,MAAM,CAAC;AAC3D,wBAAgB,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,iBAAiB,CAAC,GAAG,MAAM,CAAC"}
@@ -0,0 +1,9 @@
1
+ export { decodeOriginalScopes, encodeOriginalScopes, decodeGeneratedRanges, encodeGeneratedRanges, } from './scopes.mts';
2
+ export type { OriginalScope, GeneratedRange, CallSite, BindingExpressionRange } from './scopes.mts';
3
+ export type SourceMapSegment = [number] | [number, number, number, number] | [number, number, number, number, number];
4
+ export type SourceMapLine = SourceMapSegment[];
5
+ export type SourceMapMappings = SourceMapLine[];
6
+ export declare function decode(mappings: string): SourceMapMappings;
7
+ export declare function encode(decoded: SourceMapMappings): string;
8
+ export declare function encode(decoded: Readonly<SourceMapMappings>): string;
9
+ //# sourceMappingURL=sourcemap-codec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourcemap-codec.d.ts","sourceRoot":"","sources":["../src/sourcemap-codec.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEhG,MAAM,MAAM,gBAAgB,GACxB,CAAC,MAAM,CAAC,GACR,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAChC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAC7C,MAAM,MAAM,aAAa,GAAG,gBAAgB,EAAE,CAAC;AAC/C,MAAM,MAAM,iBAAiB,GAAG,aAAa,EAAE,CAAC;AAEhD,wBAAgB,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,iBAAiB,CAiD1D;AAUD,wBAAgB,MAAM,CAAC,OAAO,EAAE,iBAAiB,GAAG,MAAM,CAAC;AAC3D,wBAAgB,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,iBAAiB,CAAC,GAAG,MAAM,CAAC"}
@@ -13,3 +13,4 @@ export declare class StringReader {
13
13
  peek(): number;
14
14
  indexOf(char: string): number;
15
15
  }
16
+ //# sourceMappingURL=strings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../src/strings.ts"],"names":[],"mappings":"AAuBA,qBAAa,YAAY;IACvB,GAAG,SAAK;IACR,OAAO,CAAC,GAAG,CAAM;IACjB,OAAO,CAAC,MAAM,CAA6B;IAE3C,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI;IAStB,KAAK,IAAI,MAAM;CAIhB;AAED,qBAAa,YAAY;IACvB,GAAG,SAAK;IACR,QAAgB,MAAM,CAAS;gBAEnB,MAAM,EAAE,MAAM;IAI1B,IAAI,IAAI,MAAM;IAId,IAAI,IAAI,MAAM;IAId,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;CAK9B"}
@@ -0,0 +1,16 @@
1
+ export declare class StringWriter {
2
+ pos: number;
3
+ private out;
4
+ private buffer;
5
+ write(v: number): void;
6
+ flush(): string;
7
+ }
8
+ export declare class StringReader {
9
+ pos: number;
10
+ private buffer;
11
+ constructor(buffer: string);
12
+ next(): number;
13
+ peek(): number;
14
+ indexOf(char: string): number;
15
+ }
16
+ //# sourceMappingURL=strings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../src/strings.ts"],"names":[],"mappings":"AAuBA,qBAAa,YAAY;IACvB,GAAG,SAAK;IACR,OAAO,CAAC,GAAG,CAAM;IACjB,OAAO,CAAC,MAAM,CAA6B;IAE3C,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI;IAStB,KAAK,IAAI,MAAM;CAIhB;AAED,qBAAa,YAAY;IACvB,GAAG,SAAK;IACR,QAAgB,MAAM,CAAS;gBAEnB,MAAM,EAAE,MAAM;IAI1B,IAAI,IAAI,MAAM;IAId,IAAI,IAAI,MAAM;IAId,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;CAK9B"}
@@ -1,6 +1,7 @@
1
- import type { StringReader, StringWriter } from './strings';
1
+ import type { StringReader, StringWriter } from './strings.cts';
2
2
  export declare const comma: number;
3
3
  export declare const semicolon: number;
4
4
  export declare function decodeInteger(reader: StringReader, relative: number): number;
5
5
  export declare function encodeInteger(builder: StringWriter, num: number, relative: number): number;
6
6
  export declare function hasMoreVlq(reader: StringReader, max: number): boolean;
7
+ //# sourceMappingURL=vlq.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vlq.d.ts","sourceRoot":"","sources":["../src/vlq.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE5D,eAAO,MAAM,KAAK,QAAoB,CAAC;AACvC,eAAO,MAAM,SAAS,QAAoB,CAAC;AAY3C,wBAAgB,aAAa,CAAC,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAoB5E;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAY1F;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,WAG3D"}
@@ -0,0 +1,7 @@
1
+ import type { StringReader, StringWriter } from './strings.mts';
2
+ export declare const comma: number;
3
+ export declare const semicolon: number;
4
+ export declare function decodeInteger(reader: StringReader, relative: number): number;
5
+ export declare function encodeInteger(builder: StringWriter, num: number, relative: number): number;
6
+ export declare function hasMoreVlq(reader: StringReader, max: number): boolean;
7
+ //# sourceMappingURL=vlq.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vlq.d.ts","sourceRoot":"","sources":["../src/vlq.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE5D,eAAO,MAAM,KAAK,QAAoB,CAAC;AACvC,eAAO,MAAM,SAAS,QAAoB,CAAC;AAY3C,wBAAgB,aAAa,CAAC,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAoB5E;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAY1F;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,WAG3D"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sitecore/sc-contenthub-blok",
3
3
  "private": false,
4
- "version": "1.0.14",
4
+ "version": "1.0.17",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "main": "dist/index.js",
@@ -32,16 +32,16 @@
32
32
  "@babel/preset-react": "^7.26.3",
33
33
  "@babel/preset-typescript": "^7.26.0",
34
34
  "@emotion/babel-plugin": "^11.13.5",
35
- "@storybook/addon-essentials": "^8.5.0",
36
- "@storybook/addon-interactions": "^8.5.0",
37
- "@storybook/addon-onboarding": "^8.5.0",
35
+ "@storybook/addon-essentials": "8.6.15",
36
+ "@storybook/addon-interactions": "8.6.15",
37
+ "@storybook/addon-onboarding": "8.6.15",
38
38
  "@storybook/addon-webpack5-compiler-swc": "^1.0.5",
39
- "@storybook/blocks": "^8.5.0",
40
- "@storybook/manager-api": "^8.5.0",
41
- "@storybook/react": "^8.5.0",
42
- "@storybook/react-webpack5": "^8.5.0",
43
- "@storybook/test": "^8.5.0",
44
- "@storybook/theming": "^8.5.0",
39
+ "@storybook/blocks": "8.6.15",
40
+ "@storybook/manager-api": "8.6.15",
41
+ "@storybook/react": "8.6.15",
42
+ "@storybook/react-webpack5": "8.6.15",
43
+ "@storybook/test": "8.6.15",
44
+ "@storybook/theming": "8.6.15",
45
45
  "@testing-library/dom": "^10.4.0",
46
46
  "@testing-library/jest-dom": "^6.5.0",
47
47
  "@testing-library/react": "^16.3.0",
@@ -65,11 +65,11 @@
65
65
  "eslint-plugin-unused-imports": "^4.1.4",
66
66
  "globals": "^15.11.0",
67
67
  "jest": "^30.0.4",
68
- "jest-environment-jsdom": "^29.7.0",
68
+ "jest-environment-jsdom": "^30.2.0",
69
69
  "jest-junit": "^16.0.0",
70
70
  "prettier": "3.3.3",
71
71
  "rimraf": "^6.0.1",
72
- "storybook": "^8.5.0",
72
+ "storybook": "^8.6.15",
73
73
  "storybook-addon-rtl": "^1.1.0",
74
74
  "ts-essentials": "^10.0.2",
75
75
  "ts-jest": "^29.4.0",
@@ -1,8 +0,0 @@
1
- export { decodeOriginalScopes, encodeOriginalScopes, decodeGeneratedRanges, encodeGeneratedRanges, } from './scopes';
2
- export type { OriginalScope, GeneratedRange, CallSite, BindingExpressionRange } from './scopes';
3
- export declare type SourceMapSegment = [number] | [number, number, number, number] | [number, number, number, number, number];
4
- export declare type SourceMapLine = SourceMapSegment[];
5
- export declare type SourceMapMappings = SourceMapLine[];
6
- export declare function decode(mappings: string): SourceMapMappings;
7
- export declare function encode(decoded: SourceMapMappings): string;
8
- export declare function encode(decoded: Readonly<SourceMapMappings>): string;