@eui/showcase 19.0.0-next.1 → 19.0.0-next.3
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/fesm2022/eui-showcase.mjs +219 -136
- package/fesm2022/eui-showcase.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/lib/components/doc-page/doc-page-dev-guide.component.d.ts.map +1 -1
- package/lib/components/doc-page/doc-page.component.d.ts +2 -0
- package/lib/components/doc-page/doc-page.component.d.ts.map +1 -1
- package/lib/components/doc-page-code/doc-page-code.component.d.ts.map +1 -1
- package/lib/components/doc-page-code-fab/doc-page-code-fab.component.d.ts.map +1 -1
- package/lib/components/doc-page-code-modal/doc-page-code-modal.component.d.ts.map +1 -1
- package/lib/components/doc-page-pattern/doc-page-pattern.component.d.ts.map +1 -1
- package/lib/components/doc-sample/doc-sample.component.d.ts +8 -2
- package/lib/components/doc-sample/doc-sample.component.d.ts.map +1 -1
- package/lib/components/doc-sample-api/doc-sample-api.component.d.ts.map +1 -1
- package/lib/components/doc-section/doc-section.component.d.ts.map +1 -1
- package/lib/components/doc-section-code/doc-section-code.component.d.ts.map +1 -1
- package/lib/components/eui-code-highlighter/eui-code-highlighter.component.d.ts.map +1 -1
- package/lib/components/lorem-ipsum/lorem-ipsum-sample.component.d.ts.map +1 -1
- package/lib/components/playground/playground.component.d.ts.map +1 -1
- package/lib/configuration.service.d.ts +44 -0
- package/lib/configuration.service.d.ts.map +1 -0
- package/package.json +3 -3
package/index.d.ts
CHANGED
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-page-dev-guide.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-page/doc-page-dev-guide.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,EAAE,aAAa,EAAE,SAAS,EAAsB,MAAM,eAAe,CAAC;AACnH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGzD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;;AAE/C,
|
|
1
|
+
{"version":3,"file":"doc-page-dev-guide.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-page/doc-page-dev-guide.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,EAAE,aAAa,EAAE,SAAS,EAAsB,MAAM,eAAe,CAAC;AACnH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGzD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;;AAE/C,qBAOa,wBAAyB,YAAW,SAAS,EAAE,MAAM,EAAE,aAAa;IAazE,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,KAAK;IAfK,QAAQ,SAAkB;IAEvC,cAAc,SAAU;IACxB,YAAY,SAAwB;IAE7C,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAM;IAClE,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,YAAY,CAAe;gBAGvB,eAAe,EAAE,eAAe,EAChC,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,cAAc;IAIjC,QAAQ,IAAI,IAAI;IAuBhB,eAAe,IAAI,IAAI;IAYvB,WAAW,IAAI,IAAI;IAMnB,UAAU,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAIpC,OAAO,CAAC,cAAc;IA6BtB,OAAO,CAAC,iBAAiB;yCA9FhB,wBAAwB;2CAAxB,wBAAwB;CA4GpC"}
|
|
@@ -50,9 +50,11 @@ export declare class DocPageComponent implements OnInit, AfterViewInit {
|
|
|
50
50
|
pageThemingContent: QueryList<DocPageThemingContentDirective>;
|
|
51
51
|
tabsContent: EuiTabsComponent;
|
|
52
52
|
private TABS_DEF;
|
|
53
|
+
private CATEGORIES_DEF;
|
|
53
54
|
constructor(router: Router, route: ActivatedRoute, asService: EuiAppShellService, sanitizer: DomSanitizer, location: Location);
|
|
54
55
|
ngOnInit(): void;
|
|
55
56
|
ngAfterViewInit(): void;
|
|
57
|
+
getCategoryIndex(name: string): number;
|
|
56
58
|
onNavClick(fragmentId: string, tabIndex: number): void;
|
|
57
59
|
onTabSelected(event: {
|
|
58
60
|
tab: EuiTabComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-page.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-page/doc-page.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,aAAa,EAGb,MAAM,EACN,SAAS,EAIZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAC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A;KAAE,GAAG,IAAI;IAQnE,OAAO,CAAC,iBAAiB;IA6BzB,OAAO,CAAC,mBAAmB;IAiC3B,OAAO,CAAC,UAAU;IA+ClB,OAAO,CAAC,gBAAgB;yCA3Wf,gBAAgB;2CAAhB,gBAAgB;CA+X5B;AAGD,qBACa,+BAA+B;yCAA/B,+BAA+B;2CAA/B,+BAA+B;CAAG;AAC/C,qBACa,sCAAsC;yCAAtC,sCAAsC;2CAAtC,sCAAsC;CAAG;AACtD,qBACa,kCAAkC;IAClC,KAAK,SAAuB;IAC5B,QAAQ,SAAwB;yCAFhC,kCAAkC;2CAAlC,kCAAkC;CAG9C;AACD,qBACa,8BAA8B;yCAA9B,8BAA8B;2CAA9B,8BAA8B;CAAG;AAC9C,qBACa,+BAA+B;yCAA/B,+BAA+B;2CAA/B,+BAA+B;CAAG;AAC/C,qBACa,oCAAoC;yCAApC,oCAAoC;2CAApC,oCAAoC;CAAG;AACpD,qBACa,0BAA0B;yCAA1B,0BAA0B;2CAA1B,0BAA0B;CAAG;AAE1C,qBACa,8BAA8B;yCAA9B,8BAA8B;2CAA9B,8BAA8B;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-page-code.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-page-code/doc-page-code.component.ts"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"doc-page-code.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-page-code/doc-page-code.component.ts"],"names":[],"mappings":";AAEA,qBAKa,oBAAoB;IACpB,UAAU,SAAM;IAChB,QAAQ,SAAQ;IAEzB,UAAU,IAAI,IAAI;yCAJT,oBAAoB;2CAApB,oBAAoB;CAShC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-page-code-fab.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-page-code-fab/doc-page-code-fab.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;;AAEhE,
|
|
1
|
+
{"version":3,"file":"doc-page-code-fab.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-page-code-fab/doc-page-code-fab.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;;AAEhE,qBAKa,uBAAuB;IAMb,SAAS,EAAE,kBAAkB;IALvC,UAAU,SAAM;IAChB,QAAQ,SAAqB;IAEjB,MAAM,EAAE,kBAAkB,CAAC;gBAE7B,SAAS,EAAE,kBAAkB;IAEzC,UAAU,IAAI,IAAI;IAIlB,OAAO,IAAI,IAAI;IAIf,UAAU,IAAI,IAAI;yCAhBhB,uBAAuB;2CAAvB,uBAAuB;CAsBnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-page-code-modal.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-page-code-modal/doc-page-code-modal.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;;AAEhE,
|
|
1
|
+
{"version":3,"file":"doc-page-code-modal.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-page-code-modal/doc-page-code-modal.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;;AAEhE,qBAKa,yBAAyB;IAKf,SAAS,EAAE,kBAAkB;IAJvC,KAAK,SAAU;IAEH,MAAM,EAAE,kBAAkB,CAAC;gBAE7B,SAAS,EAAE,kBAAkB;IAEzC,UAAU,IAAI,IAAI;IAIlB,OAAO,IAAI,IAAI;yCAXb,yBAAyB;2CAAzB,yBAAyB;CAcrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-page-pattern.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-page-pattern/doc-page-pattern.component.ts"],"names":[],"mappings":"AACA,OAAO,EAQH,SAAS,EAGZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAgB,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;;AAG3D,qBACa,6BAA6B;yCAA7B,6BAA6B;2CAA7B,6BAA6B;CAAI;AAC9C,qBACa,0BAA0B;yCAA1B,0BAA0B;2CAA1B,0BAA0B;CAAI;AAE3C,
|
|
1
|
+
{"version":3,"file":"doc-page-pattern.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-page-pattern/doc-page-pattern.component.ts"],"names":[],"mappings":"AACA,OAAO,EAQH,SAAS,EAGZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAgB,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;;AAG3D,qBACa,6BAA6B;yCAA7B,6BAA6B;2CAA7B,6BAA6B;CAAI;AAC9C,qBACa,0BAA0B;yCAA1B,0BAA0B;2CAA1B,0BAA0B;CAAI;AAE3C,qBAOa,uBAAuB;IAChC,IACI,UAAU,IAAI,MAAM,CAEvB;IAGD,aAAa,EAAE,SAAS,CAAC,6BAA6B,CAAC,CAAC;IAExD,UAAU,EAAE,SAAS,CAAC,0BAA0B,CAAC,CAAC;IAEzC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,QAAM;IAChB,GAAG,QAAM;IACT,KAAK,QAAM;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IAExB,OAAO,EAAE,eAAe,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,SAAO;IAC3B,gBAAgB,SAAK;IAEG,WAAW;IAQ1C,OAAO,CAAC,SAAS,CAAsC;IAEvD,QAAQ;IAOD,gBAAgB,CAAC,KAAK,EAAE,GAAG;IAO3B,WAAW,CAAC,KAAK,EAAE;QAAE,GAAG,EAAE,eAAe,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;IAI1D,OAAO;yCAtDL,uBAAuB;2CAAvB,uBAAuB;CA6DnC"}
|
|
@@ -6,6 +6,7 @@ import { EuiTabComponent } from '@eui/components/eui-tabs';
|
|
|
6
6
|
import { EuiGrowlService } from '@eui/core';
|
|
7
7
|
import { Router } from '@angular/router';
|
|
8
8
|
import { StackblitzService } from '../playground/stackblitz.service';
|
|
9
|
+
import { Configuration, ConfigurationService } from '../../configuration.service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class DocSampleComponent implements AfterContentInit {
|
|
11
12
|
private sb;
|
|
@@ -15,13 +16,14 @@ export declare class DocSampleComponent implements AfterContentInit {
|
|
|
15
16
|
private growlService;
|
|
16
17
|
private clipboard;
|
|
17
18
|
private router;
|
|
19
|
+
protected conf: ConfigurationService<Configuration>;
|
|
18
20
|
id: string;
|
|
19
21
|
label: string;
|
|
20
22
|
category: any;
|
|
21
23
|
description: any;
|
|
22
24
|
defaultValue: any;
|
|
23
25
|
styleClass: string;
|
|
24
|
-
renderPlayground:
|
|
26
|
+
renderPlayground: any;
|
|
25
27
|
isCodeButtonVisible: boolean;
|
|
26
28
|
isInnerSection: boolean;
|
|
27
29
|
classes: string;
|
|
@@ -31,7 +33,7 @@ export declare class DocSampleComponent implements AfterContentInit {
|
|
|
31
33
|
playground_activated: boolean;
|
|
32
34
|
tsContent: any;
|
|
33
35
|
htmlContent: any;
|
|
34
|
-
constructor(sb: StackblitzService, _http: HttpClient, asService: EuiAppShellService, cd: ChangeDetectorRef, growlService: EuiGrowlService, clipboard: Clipboard, router: Router);
|
|
36
|
+
constructor(sb: StackblitzService, _http: HttpClient, asService: EuiAppShellService, cd: ChangeDetectorRef, growlService: EuiGrowlService, clipboard: Clipboard, router: Router, conf: ConfigurationService<Configuration>);
|
|
35
37
|
ngAfterContentInit(): void;
|
|
36
38
|
copyCurrentUrlToClipboard(id: string): void;
|
|
37
39
|
onToggleCode(): void;
|
|
@@ -57,6 +59,10 @@ export declare class DocSampleComponent implements AfterContentInit {
|
|
|
57
59
|
* open the code sample in stackblitz
|
|
58
60
|
*/
|
|
59
61
|
onStackblitzOpen(): void;
|
|
62
|
+
/**
|
|
63
|
+
* returns whenever playground should render. Input has precedence over Configuration service
|
|
64
|
+
*/
|
|
65
|
+
protected shouldRenderPlayground(): boolean;
|
|
60
66
|
private _getComponent;
|
|
61
67
|
private flatten;
|
|
62
68
|
private loadCodeFiles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-sample.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-sample/doc-sample.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,gBAAgB,EAChB,iBAAiB,EAIpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;;
|
|
1
|
+
{"version":3,"file":"doc-sample.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-sample/doc-sample.component.ts"],"names":[],"mappings":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ACZ,IAAI,EAAE,oBAAoB,CAAC,aAAa,CAAC;IAGvD,kBAAkB,IAAI,IAAI;IAMnB,yBAAyB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAalD,YAAY,IAAI,IAAI;IAiBpB;;;;;;;OAOG;IACH,aAAa,CAAC,QAAQ,EAAE;QAAE,GAAG,EAAE,eAAe,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAItE;;;;OAIG;IACH,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAY/C;;OAEG;IACH,gBAAgB,IAAI,IAAI;IAQxB;;OAEG;IACH,SAAS,CAAC,sBAAsB,IAAI,OAAO;IAM3C,OAAO,CAAC,aAAa;IAOrB,OAAO,CAAC,OAAO;IAiBf,OAAO,CAAC,aAAa;yCA7IZ,kBAAkB;2CAAlB,kBAAkB;+CAwMszkC,OAAQ;kDAAR,OAAQ;6CAAR,OAAQ;CAD51kC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-sample-api.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-sample-api/doc-sample-api.component.ts"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"doc-sample-api.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-sample-api/doc-sample-api.component.ts"],"names":[],"mappings":";AAEA,qBAKa,qBAAqB;yCAArB,qBAAqB;2CAArB,qBAAqB;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-section.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-section/doc-section.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,gBAAgB,EAAkC,MAAM,eAAe,CAAC;;AAEnG,
|
|
1
|
+
{"version":3,"file":"doc-section.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-section/doc-section.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,gBAAgB,EAAkC,MAAM,eAAe,CAAC;;AAEnG,qBAOa,mBAAoB,YAAW,gBAAgB;IAClC,MAAM,SAA8B;IAEjD,EAAE,SAAM;IACR,KAAK,SAAM;IACX,UAAU,SAAM;IAEzB,kBAAkB,IAAI,IAAI;yCAPjB,mBAAmB;2CAAnB,mBAAmB;CAY/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc-section-code.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-section-code/doc-section-code.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAG/C,
|
|
1
|
+
{"version":3,"file":"doc-section-code.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/doc-section-code/doc-section-code.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAG/C,qBAMa,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,UAAS;IACrB,cAAc,UAAS;IAGhC,kBAAkB,EAAE,SAAS,CAAC,qCAAqC,CAAC,CAAC;IAErE,eAAe,EAAE,SAAS,CAAC,8BAA8B,CAAC,CAAC;IAE3D,aAAa,EAAE,SAAS,CAAC,4BAA4B,CAAC,CAAC;IAEvD,kBAAkB,EAAE,SAAS,CAAC,iCAAiC,CAAC,CAAC;IAEjE,cAAc,EAAE,SAAS,CAAC,6BAA6B,CAAC,CAAC;IAEzD,cAAc,EAAE,SAAS,CAAC,6BAA6B,CAAC,CAAC;IAEzD,UAAU,IAAI,IAAI;IAKlB,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,OAAO;yCA1BtB,uBAAuB;2CAAvB,uBAAuB;CA6BnC;AAGD,qBACa,qCAAqC;yCAArC,qCAAqC;2CAArC,qCAAqC;CAAG;AAErD,qBACa,8BAA8B;yCAA9B,8BAA8B;2CAA9B,8BAA8B;CAAG;AAE9C,qBACa,4BAA4B;yCAA5B,4BAA4B;2CAA5B,4BAA4B;CAAG;AAE5C,qBACa,iCAAiC;yCAAjC,iCAAiC;2CAAjC,iCAAiC;CAAG;AAEjD,qBACa,6BAA6B;yCAA7B,6BAA6B;2CAA7B,6BAA6B;CAAG;AAE7C,qBACa,6BAA6B;yCAA7B,6BAA6B;2CAA7B,6BAA6B;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-code-highlighter.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/eui-code-highlighter/eui-code-highlighter.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;;AAErE,
|
|
1
|
+
{"version":3,"file":"eui-code-highlighter.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/eui-code-highlighter/eui-code-highlighter.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;;AAErE,qBAIa,2BAA4B,YAAW,aAAa;IAC1C,EAAE,EAAE,UAAU;gBAAd,EAAE,EAAE,UAAU;IAEjC,eAAe,IAAI,IAAI;yCAHd,2BAA2B;2CAA3B,2BAA2B;CAQvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lorem-ipsum-sample.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/lorem-ipsum/lorem-ipsum-sample.component.ts"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"lorem-ipsum-sample.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/lorem-ipsum/lorem-ipsum-sample.component.ts"],"names":[],"mappings":";AAEA,qBAKa,yBAAyB;IACzB,QAAQ,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAW;yCADjD,yBAAyB;2CAAzB,yBAAyB;CAErC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playground.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/playground/playground.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,SAAS,EAAE,aAAa,EAAa,MAAM,eAAe,CAAC;;AAK1G,
|
|
1
|
+
{"version":3,"file":"playground.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/playground/playground.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,SAAS,EAAE,aAAa,EAAa,MAAM,eAAe,CAAC;;AAK1G,qBAKa,mBAAoB,YAAW,SAAS;IAE1C,KAAK,SAAoB;IAEzB,WAAW,EAAE,MAAM,CAAC;IAEpB,QAAQ,EAAE,MAAM,CAAC;IAEjB,iBAAiB,EAAE,MAAM,CAAC;IAE1B,SAAS,UAAS;IAElB,OAAO,EAAE,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC1C,QAAQ,UAAS;IAExB,OAAO,CAAC,mBAAmB,CAAgC;IAC3D,mDAAmD;IACnD,OAAO,CAAC,kBAAkB,CAAK;IAC/B,OAAO,CAAC,EAAE,CAAgD;IAE1D,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAUzC,OAAO,CAAC,cAAc;yCA9Bb,mBAAmB;2CAAnB,mBAAmB;CAmF/B"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* This interface describes the basis of the configuration structure of the
|
|
5
|
+
* service.
|
|
6
|
+
*/
|
|
7
|
+
export interface Configuration {
|
|
8
|
+
/**
|
|
9
|
+
* default value for all playground
|
|
10
|
+
*/
|
|
11
|
+
renderPlayground: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A service to update and configure the Showcase module state.
|
|
15
|
+
*/
|
|
16
|
+
export declare class ConfigurationService<T extends Configuration> {
|
|
17
|
+
/**
|
|
18
|
+
* A single signal to hold the configuration service state. The state is
|
|
19
|
+
* extensible to user's preferences through generics.
|
|
20
|
+
*
|
|
21
|
+
* Default value for renderPlayground will be true.
|
|
22
|
+
*/
|
|
23
|
+
private state;
|
|
24
|
+
/**
|
|
25
|
+
* Update the state of configuration. Deep merge is not available thus if
|
|
26
|
+
* a deep update needs to happen make sure you carry other parts of the state
|
|
27
|
+
* too.
|
|
28
|
+
* e.g.
|
|
29
|
+
* Given state { rootA, rootB, rootC: { subC_A: {a: 1}, subC_B: {b: 1} } }
|
|
30
|
+
* the update({ rootC: { subC_A: {a: 1, extra: null }}})
|
|
31
|
+
* will result in
|
|
32
|
+
* { rootA, rootB, rootC: { subC_A: {a: 1, extra: null } } }
|
|
33
|
+
*
|
|
34
|
+
* @param partialState
|
|
35
|
+
*/
|
|
36
|
+
update(partialState: Partial<T>): void;
|
|
37
|
+
/**
|
|
38
|
+
* returns the configuration state as a readonly signal
|
|
39
|
+
*/
|
|
40
|
+
get configuration(): Signal<T>;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService<any>, never>;
|
|
42
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService<any>>;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=configuration.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configuration.service.d.ts","sourceRoot":"","sources":["../../src/lib/configuration.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,MAAM,EAA0B,MAAM,eAAe,CAAC;;AAE3E;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;CAC7B;AAED;;GAEG;AACH,qBAGa,oBAAoB,CAAC,CAAC,SAAS,aAAa;IACrD;;;;;OAKG;IACH,OAAO,CAAC,KAAK,CAA8D;IAE3E;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI;IAItC;;OAEG;IACH,IAAI,aAAa,IAAI,MAAM,CAAC,CAAC,CAAC,CAE7B;yCA9BQ,oBAAoB;6CAApB,oBAAoB;CA+BhC"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eui/showcase",
|
|
3
|
-
"version": "19.0.0-next.
|
|
3
|
+
"version": "19.0.0-next.3",
|
|
4
4
|
"tag": "next",
|
|
5
5
|
"description": "eUI showcase components for internal use",
|
|
6
6
|
"author": "ec.europa.eui@gmail.com",
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@eui/core": "19.0.0-next.
|
|
9
|
-
"@eui/components": "19.0.0-next.
|
|
8
|
+
"@eui/core": "19.0.0-next.3",
|
|
9
|
+
"@eui/components": "19.0.0-next.3",
|
|
10
10
|
"@angular/core": "^18.0.0",
|
|
11
11
|
"@angular/common": "^18.0.0",
|
|
12
12
|
"@angular/cdk": "^18.0.0",
|