@eui/showcase 21.0.0-alpha.3 → 21.0.0-alpha.30

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/index.d.ts CHANGED
@@ -1,30 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
- import { AfterViewInit, ElementRef, Signal, AfterContentInit, OnInit, QueryList, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { Signal, OnDestroy, OnInit, AfterViewInit, AfterContentInit, QueryList, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
3
3
  import { SafeResourceUrl, DomSanitizer } from '@angular/platform-browser';
4
- import * as i20 from '@eui/components/eui-tabs';
5
4
  import { EuiTabComponent, EuiTabsComponent } from '@eui/components/eui-tabs';
6
5
  import { EuiAppShellService } from '@eui/core';
7
- import * as i23 from '@eui/components/eui-dialog';
8
6
  import { EuiDialogComponent } from '@eui/components/eui-dialog';
9
- import * as i17 from '@angular/common';
10
- import * as i18 from '@eui/components/eui-card';
11
- import * as i19 from '@eui/components/eui-button';
12
- import * as i21 from '@eui/components/eui-page';
13
- import * as i22 from '@eui/components/eui-chip';
14
- import * as i24 from '@eui/components/eui-alert';
15
- import * as i25 from '@eui/components/eui-block-content';
16
- import * as i26 from '@eui/components/eui-badge';
17
- import * as i27 from '@eui/components/eui-icon';
18
- import * as i28 from '@eui/components/eui-label';
19
- import * as i29 from '@eui/components/eui-avatar';
20
- import * as i30 from 'ngx-markdown';
21
-
22
- declare class EuiCodeHighlighterDirective implements AfterViewInit {
23
- el: ElementRef<any>;
24
- ngAfterViewInit(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<EuiCodeHighlighterDirective, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<EuiCodeHighlighterDirective, "[euiCode]", never, {}, {}, never, never, false, never>;
27
- }
7
+ import { ProjectDependencies } from '@stackblitz/sdk';
28
8
 
29
9
  /**
30
10
  * This interface describes the basis of the configuration structure of the
@@ -68,6 +48,41 @@ declare class ConfigurationService<T extends Configuration> {
68
48
  static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService<any>>;
69
49
  }
70
50
 
51
+ declare class DocPageCodeComponent {
52
+ codeFolder: string;
53
+ showcase: string;
54
+ onOpenCode(): void;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocPageCodeComponent, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocPageCodeComponent, "eui-showcase-doc-page-code", never, { "codeFolder": { "alias": "codeFolder"; "required": false; }; "showcase": { "alias": "showcase"; "required": false; }; }, {}, never, never, true, never>;
57
+ }
58
+
59
+ declare class DocPageDevGuideComponent implements OnDestroy, OnInit, AfterViewInit {
60
+ cssClass: string;
61
+ rootDocsFolder: string;
62
+ showcaseName: string;
63
+ markdown: string;
64
+ isFirst: boolean;
65
+ headers: Array<{
66
+ id: string;
67
+ label: string;
68
+ level: number;
69
+ }>;
70
+ fragmentId: string;
71
+ private subscription;
72
+ private markdownService;
73
+ private http;
74
+ private router;
75
+ private route;
76
+ ngOnInit(): void;
77
+ ngAfterViewInit(): void;
78
+ ngOnDestroy(): void;
79
+ onNavClick(fragmentId: string): void;
80
+ private _loadMdContent;
81
+ private _scrollToFragment;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocPageDevGuideComponent, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocPageDevGuideComponent, "eui-showcase-doc-page-dev-guide", never, { "rootDocsFolder": { "alias": "rootDocsFolder"; "required": false; }; "showcaseName": { "alias": "showcaseName"; "required": false; }; }, {}, never, never, true, never>;
84
+ }
85
+
71
86
  declare class DocSampleComponent implements AfterContentInit {
72
87
  id: string;
73
88
  label: string;
@@ -104,7 +119,7 @@ declare class DocSampleComponent implements AfterContentInit {
104
119
  *
105
120
  * @param selected The selected tab component reference and its index in the tabs array.
106
121
  */
107
- onSelectedTab(selected: {
122
+ onTabActivate(selected: {
108
123
  tab: EuiTabComponent;
109
124
  index: number;
110
125
  }): void;
@@ -126,7 +141,7 @@ declare class DocSampleComponent implements AfterContentInit {
126
141
  private flatten;
127
142
  private loadCodeFiles;
128
143
  static ɵfac: i0.ɵɵFactoryDeclaration<DocSampleComponent, never>;
129
- static ɵcmp: i0.ɵɵComponentDeclaration<DocSampleComponent, "eui-showcase-doc-sample", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "category": { "alias": "category"; "required": false; }; "description": { "alias": "description"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "renderPlayground": { "alias": "renderPlayground"; "required": false; }; "isCodeButtonVisible": { "alias": "isCodeButtonVisible"; "required": false; }; "isInnerSection": { "alias": "isInnerSection"; "required": false; }; }, {}, never, ["*"], false, never>;
144
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocSampleComponent, "eui-showcase-doc-sample", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "category": { "alias": "category"; "required": false; }; "description": { "alias": "description"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "renderPlayground": { "alias": "renderPlayground"; "required": false; }; "isCodeButtonVisible": { "alias": "isCodeButtonVisible"; "required": false; }; "isInnerSection": { "alias": "isInnerSection"; "required": false; }; }, {}, never, ["*"], true, never>;
130
145
  static ngAcceptInputType_renderPlayground: unknown;
131
146
  static ngAcceptInputType_isCodeButtonVisible: unknown;
132
147
  static ngAcceptInputType_isInnerSection: unknown;
@@ -139,7 +154,7 @@ declare class DocSectionComponent implements AfterContentInit {
139
154
  styleClass: string;
140
155
  ngAfterContentInit(): void;
141
156
  static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionComponent, never>;
142
- static ɵcmp: i0.ɵɵComponentDeclaration<DocSectionComponent, "eui-showcase-doc-section", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, {}, never, ["*"], false, never>;
157
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocSectionComponent, "eui-showcase-doc-section", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, {}, never, ["*"], true, never>;
143
158
  }
144
159
 
145
160
  declare class DocPageComponent implements OnInit, AfterViewInit {
@@ -194,7 +209,7 @@ declare class DocPageComponent implements OnInit, AfterViewInit {
194
209
  ngAfterViewInit(): void;
195
210
  getCategoryIndex(name: string): number;
196
211
  onNavClick(fragmentId: string, tabIndex: number): void;
197
- onTabSelected(event: {
212
+ onTabActivate(event: {
198
213
  tab: EuiTabComponent;
199
214
  index: number;
200
215
  }): void;
@@ -203,76 +218,41 @@ declare class DocPageComponent implements OnInit, AfterViewInit {
203
218
  private _getApiUrl;
204
219
  private _camelCaseString;
205
220
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPageComponent, never>;
206
- static ɵcmp: i0.ɵɵComponentDeclaration<DocPageComponent, "eui-showcase-doc-page", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "subLabel": { "alias": "subLabel"; "required": false; }; "isNotReady": { "alias": "isNotReady"; "required": false; }; "isDeprecated": { "alias": "isDeprecated"; "required": false; }; "isLegacy": { "alias": "isLegacy"; "required": false; }; "codeFolder": { "alias": "codeFolder"; "required": false; }; "showcase": { "alias": "showcase"; "required": false; }; "isNavigationVisible": { "alias": "isNavigationVisible"; "required": false; }; "hasApi": { "alias": "hasApi"; "required": false; }; "hasA11y": { "alias": "hasA11y"; "required": false; }; "customApiUrl": { "alias": "customApiUrl"; "required": false; }; }, {}, ["samples", "sections", "pageOverviewContent", "pageOverviewDefaultContent", "pageSamplesContent", "pageSectionsContent", "pageInteractiveContent", "pageAccessibilityContent", "pageApiContent", "pageThemingContent"], ["docPageOverview", "docPageOverviewDefault", "docPageSamples", "docPageAccessibility", "docPageTheming", "docPageInteractive", "docPageSections"], false, never>;
221
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocPageComponent, "eui-showcase-doc-page", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "subLabel": { "alias": "subLabel"; "required": false; }; "isNotReady": { "alias": "isNotReady"; "required": false; }; "isDeprecated": { "alias": "isDeprecated"; "required": false; }; "isLegacy": { "alias": "isLegacy"; "required": false; }; "codeFolder": { "alias": "codeFolder"; "required": false; }; "showcase": { "alias": "showcase"; "required": false; }; "isNavigationVisible": { "alias": "isNavigationVisible"; "required": false; }; "hasApi": { "alias": "hasApi"; "required": false; }; "hasA11y": { "alias": "hasA11y"; "required": false; }; "customApiUrl": { "alias": "customApiUrl"; "required": false; }; }, {}, ["samples", "sections", "pageOverviewContent", "pageOverviewDefaultContent", "pageSamplesContent", "pageSectionsContent", "pageInteractiveContent", "pageAccessibilityContent", "pageApiContent", "pageThemingContent"], ["docPageOverview", "docPageOverviewDefault", "docPageSamples", "docPageAccessibility", "docPageTheming", "docPageInteractive", "docPageSections"], true, never>;
207
222
  }
208
223
  declare class DocPageOverviewContentDirective {
209
224
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPageOverviewContentDirective, never>;
210
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageOverviewContentDirective, "docPageOverview", never, {}, {}, never, never, false, never>;
225
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageOverviewContentDirective, "docPageOverview", never, {}, {}, never, never, true, never>;
211
226
  }
212
227
  declare class DocPageOverviewDefaultContentDirective {
213
228
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPageOverviewDefaultContentDirective, never>;
214
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageOverviewDefaultContentDirective, "docPageOverviewDefault", never, {}, {}, never, never, false, never>;
229
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageOverviewDefaultContentDirective, "docPageOverviewDefault", never, {}, {}, never, never, true, never>;
215
230
  }
216
231
  declare class DocPageInteractiveContentDirective {
217
232
  title: string;
218
233
  subTitle: string;
219
234
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPageInteractiveContentDirective, never>;
220
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageInteractiveContentDirective, "docPageInteractive", never, { "title": { "alias": "title"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; }, {}, never, never, false, never>;
235
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageInteractiveContentDirective, "docPageInteractive", never, { "title": { "alias": "title"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; }, {}, never, never, true, never>;
221
236
  }
222
237
  declare class DocPageSamplesContentDirective {
223
238
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPageSamplesContentDirective, never>;
224
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageSamplesContentDirective, "docPageSamples", never, {}, {}, never, never, false, never>;
239
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageSamplesContentDirective, "docPageSamples", never, {}, {}, never, never, true, never>;
225
240
  }
226
241
  declare class DocPageSectionsContentDirective {
227
242
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPageSectionsContentDirective, never>;
228
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageSectionsContentDirective, "docPageSections", never, {}, {}, never, never, false, never>;
243
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageSectionsContentDirective, "docPageSections", never, {}, {}, never, never, true, never>;
229
244
  }
230
245
  declare class DocPageAccessibilityContentDirective {
231
246
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPageAccessibilityContentDirective, never>;
232
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageAccessibilityContentDirective, "docPageAccessibility", never, {}, {}, never, never, false, never>;
247
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageAccessibilityContentDirective, "docPageAccessibility", never, {}, {}, never, never, true, never>;
233
248
  }
234
249
  declare class DocPageApiContentDirective {
235
250
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPageApiContentDirective, never>;
236
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageApiContentDirective, "docPageApi", never, {}, {}, never, never, false, never>;
251
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageApiContentDirective, "docPageApi", never, {}, {}, never, never, true, never>;
237
252
  }
238
253
  declare class DocPageThemingContentDirective {
239
254
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPageThemingContentDirective, never>;
240
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageThemingContentDirective, "docPageTheming", never, {}, {}, never, never, false, never>;
241
- }
242
-
243
- declare class DocPageDevGuideComponent implements OnDestroy, OnInit, AfterViewInit {
244
- cssClass: string;
245
- rootDocsFolder: string;
246
- showcaseName: string;
247
- markdown: string;
248
- isFirst: boolean;
249
- headers: Array<{
250
- id: string;
251
- label: string;
252
- level: number;
253
- }>;
254
- fragmentId: string;
255
- private subscription;
256
- private markdownService;
257
- private http;
258
- private router;
259
- private route;
260
- ngOnInit(): void;
261
- ngAfterViewInit(): void;
262
- ngOnDestroy(): void;
263
- onNavClick(fragmentId: string): void;
264
- private _loadMdContent;
265
- private _scrollToFragment;
266
- static ɵfac: i0.ɵɵFactoryDeclaration<DocPageDevGuideComponent, never>;
267
- static ɵcmp: i0.ɵɵComponentDeclaration<DocPageDevGuideComponent, "eui-showcase-doc-page-dev-guide", never, { "rootDocsFolder": { "alias": "rootDocsFolder"; "required": false; }; "showcaseName": { "alias": "showcaseName"; "required": false; }; }, {}, never, never, false, never>;
268
- }
269
-
270
- declare class DocPageCodeComponent {
271
- codeFolder: string;
272
- showcase: string;
273
- onOpenCode(): void;
274
- static ɵfac: i0.ɵɵFactoryDeclaration<DocPageCodeComponent, never>;
275
- static ɵcmp: i0.ɵɵComponentDeclaration<DocPageCodeComponent, "eui-showcase-doc-page-code", never, { "codeFolder": { "alias": "codeFolder"; "required": false; }; "showcase": { "alias": "showcase"; "required": false; }; }, {}, never, never, false, never>;
255
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocPageThemingContentDirective, "docPageTheming", never, {}, {}, never, never, true, never>;
276
256
  }
277
257
 
278
258
  declare class DocPageCodeFabComponent {
@@ -285,7 +265,7 @@ declare class DocPageCodeFabComponent {
285
265
  onClose(): void;
286
266
  onOpenCode(): void;
287
267
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPageCodeFabComponent, never>;
288
- static ɵcmp: i0.ɵɵComponentDeclaration<DocPageCodeFabComponent, "eui-showcase-doc-page-code-fab", never, { "codeFolder": { "alias": "codeFolder"; "required": false; }; "showcase": { "alias": "showcase"; "required": false; }; "hasContentDialog": { "alias": "hasContentDialog"; "required": false; }; }, {}, never, ["*"], false, never>;
268
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocPageCodeFabComponent, "eui-showcase-doc-page-code-fab", never, { "codeFolder": { "alias": "codeFolder"; "required": false; }; "showcase": { "alias": "showcase"; "required": false; }; "hasContentDialog": { "alias": "hasContentDialog"; "required": false; }; }, {}, never, ["*"], true, never>;
289
269
  }
290
270
 
291
271
  declare class DocPageCodeModalComponent {
@@ -295,91 +275,16 @@ declare class DocPageCodeModalComponent {
295
275
  toggleCode(): void;
296
276
  onClose(): void;
297
277
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPageCodeModalComponent, never>;
298
- static ɵcmp: i0.ɵɵComponentDeclaration<DocPageCodeModalComponent, "eui-showcase-doc-page-code-modal", never, { "width": { "alias": "width"; "required": false; }; }, {}, never, ["*"], false, never>;
299
- }
300
-
301
- declare class DocSampleApiComponent {
302
- static ɵfac: i0.ɵɵFactoryDeclaration<DocSampleApiComponent, never>;
303
- static ɵcmp: i0.ɵɵComponentDeclaration<DocSampleApiComponent, "eui-showcase-doc-sample-api", never, {}, {}, never, never, false, never>;
304
- }
305
-
306
- declare class DocSectionCodeComponent {
307
- label: string;
308
- content: string;
309
- styleClass: string;
310
- versionLabel: string;
311
- isDeprecated: boolean;
312
- isCodeExpanded: boolean;
313
- sectionDescription: QueryList<DocSectionCodeDescriptionTagDirective>;
314
- sectionCodeHTML: QueryList<DocSectionCodeHtmlTagDirective>;
315
- sectionCodeTS: QueryList<DocSectionCodeTsTagDirective>;
316
- sectionCodeSERVICE: QueryList<DocSectionCodeServiceTagDirective>;
317
- sectionCodeCSS: QueryList<DocSectionCodeCssTagDirective>;
318
- sectionCodeDOC: QueryList<DocSectionCodeDocTagDirective>;
319
- toggleCode(): void;
320
- isDefined(object: any): boolean;
321
- static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeComponent, never>;
322
- static ɵcmp: i0.ɵɵComponentDeclaration<DocSectionCodeComponent, "eui-showcase-doc-section-code", never, { "label": { "alias": "label"; "required": false; }; "content": { "alias": "content"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "versionLabel": { "alias": "versionLabel"; "required": false; }; "isDeprecated": { "alias": "isDeprecated"; "required": false; }; "isCodeExpanded": { "alias": "isCodeExpanded"; "required": false; }; }, {}, ["sectionDescription", "sectionCodeHTML", "sectionCodeTS", "sectionCodeSERVICE", "sectionCodeCSS", "sectionCodeDOC"], ["sectionDescription", "sectionCodeHTML", "sectionCodeTS", "sectionCodeSERVICE", "sectionCodeCSS", "sectionCodeDOC", "*"], false, never>;
323
- }
324
- declare class DocSectionCodeDescriptionTagDirective {
325
- static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeDescriptionTagDirective, never>;
326
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocSectionCodeDescriptionTagDirective, "sectionDescription", never, {}, {}, never, never, false, never>;
327
- }
328
- declare class DocSectionCodeHtmlTagDirective {
329
- static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeHtmlTagDirective, never>;
330
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocSectionCodeHtmlTagDirective, "sectionCodeHTML", never, {}, {}, never, never, false, never>;
331
- }
332
- declare class DocSectionCodeTsTagDirective {
333
- static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeTsTagDirective, never>;
334
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocSectionCodeTsTagDirective, "sectionCodeTS", never, {}, {}, never, never, false, never>;
335
- }
336
- declare class DocSectionCodeServiceTagDirective {
337
- static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeServiceTagDirective, never>;
338
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocSectionCodeServiceTagDirective, "sectionCodeSERVICE", never, {}, {}, never, never, false, never>;
339
- }
340
- declare class DocSectionCodeCssTagDirective {
341
- static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeCssTagDirective, never>;
342
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocSectionCodeCssTagDirective, "sectionCodeCSS", never, {}, {}, never, never, false, never>;
343
- }
344
- declare class DocSectionCodeDocTagDirective {
345
- static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeDocTagDirective, never>;
346
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocSectionCodeDocTagDirective, "sectionCodeDOC", never, {}, {}, never, never, false, never>;
347
- }
348
-
349
- declare class LoremIpsumSampleComponent {
350
- textSize: 'small' | 'medium' | 'large';
351
- static ɵfac: i0.ɵɵFactoryDeclaration<LoremIpsumSampleComponent, never>;
352
- static ɵcmp: i0.ɵɵComponentDeclaration<LoremIpsumSampleComponent, "eui-showcase-doc-lorem-ipsum", never, { "textSize": { "alias": "textSize"; "required": false; }; }, {}, never, never, false, never>;
353
- }
354
-
355
- declare class PlaygroundComponent implements OnChanges {
356
- title: string;
357
- htmlContent: string;
358
- sampleId: string;
359
- typescriptContent: string;
360
- activated: boolean;
361
- modules: [{
362
- name: string;
363
- path: string;
364
- }];
365
- isLoaded: boolean;
366
- private stackblitzElWrapper;
367
- /** instance that holds the stackblitz VM object */
368
- private stackblitzInstance;
369
- private sb;
370
- ngOnChanges(changes: SimpleChanges): void;
371
- private initStackblitz;
372
- static ɵfac: i0.ɵɵFactoryDeclaration<PlaygroundComponent, never>;
373
- static ɵcmp: i0.ɵɵComponentDeclaration<PlaygroundComponent, "eui-playground", never, { "title": { "alias": "title"; "required": false; }; "htmlContent": { "alias": "htmlContent"; "required": false; }; "sampleId": { "alias": "sampleId"; "required": false; }; "typescriptContent": { "alias": "typescriptContent"; "required": false; }; "activated": { "alias": "activated"; "required": false; }; "modules": { "alias": "modules"; "required": false; }; }, {}, never, never, false, never>;
278
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocPageCodeModalComponent, "eui-showcase-doc-page-code-modal", never, { "width": { "alias": "width"; "required": false; }; }, {}, never, ["*"], true, never>;
374
279
  }
375
280
 
376
281
  declare class DocPagePatternSampleDirective {
377
282
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPagePatternSampleDirective, never>;
378
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocPagePatternSampleDirective, "docPagePatternSample", never, {}, {}, never, never, false, never>;
283
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocPagePatternSampleDirective, "docPagePatternSample", never, {}, {}, never, never, true, never>;
379
284
  }
380
285
  declare class DocPagePatternDocDirective {
381
286
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPagePatternDocDirective, never>;
382
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocPagePatternDocDirective, "docPagePatternDoc", never, {}, {}, never, never, false, never>;
287
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocPagePatternDocDirective, "docPagePatternDoc", never, {}, {}, never, never, true, never>;
383
288
  }
384
289
  declare class DocPagePatternComponent {
385
290
  get cssClasses(): string;
@@ -402,18 +307,50 @@ declare class DocPagePatternComponent {
402
307
  private sanitizer;
403
308
  ngOnInit(): void;
404
309
  onNavigateToCode(event: any): void;
405
- onTabSelect(event: {
310
+ onTabActivate(event: {
406
311
  tab: EuiTabComponent;
407
312
  index: number;
408
313
  }): void;
409
314
  gotoTop(): void;
410
315
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPagePatternComponent, never>;
411
- static ɵcmp: i0.ɵɵComponentDeclaration<DocPagePatternComponent, "eui-showcase-doc-page-pattern", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "anatomyImage": { "alias": "anatomyImage"; "required": false; }; "docEntries": { "alias": "docEntries"; "required": false; }; "dos": { "alias": "dos"; "required": false; }; "donts": { "alias": "donts"; "required": false; }; "sourceUrl": { "alias": "sourceUrl"; "required": false; }; "figmaUrl": { "alias": "figmaUrl"; "required": false; }; "figmaEmbedSrc": { "alias": "figmaEmbedSrc"; "required": false; }; }, {}, ["sampleContent", "docContent"], ["docPagePatternDoc", "docPagePatternSample"], false, never>;
316
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocPagePatternComponent, "eui-showcase-doc-page-pattern", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "anatomyImage": { "alias": "anatomyImage"; "required": false; }; "docEntries": { "alias": "docEntries"; "required": false; }; "dos": { "alias": "dos"; "required": false; }; "donts": { "alias": "donts"; "required": false; }; "sourceUrl": { "alias": "sourceUrl"; "required": false; }; "figmaUrl": { "alias": "figmaUrl"; "required": false; }; "figmaEmbedSrc": { "alias": "figmaEmbedSrc"; "required": false; }; }, {}, ["sampleContent", "docContent"], ["docPagePatternDoc", "docPagePatternSample"], true, never>;
317
+ }
318
+
319
+ declare class DocPagePatternSampleRefsComponent {
320
+ string: string;
321
+ docEntries: any[];
322
+ codeFolder: string;
323
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocPagePatternSampleRefsComponent, never>;
324
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocPagePatternSampleRefsComponent, "eui-showcase-doc-pattern-sample-refs", never, { "docEntries": { "alias": "docEntries"; "required": false; }; "codeFolder": { "alias": "codeFolder"; "required": false; }; }, {}, never, never, true, never>;
325
+ }
326
+
327
+ declare class DocPagePatternSampleDocDirective {
328
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocPagePatternSampleDocDirective, never>;
329
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocPagePatternSampleDocDirective, "eui-showcase-doc-pattern-sample-doc", never, {}, {}, never, never, true, never>;
330
+ }
331
+ declare class DocPagePatternSampleComponent {
332
+ get cssClasses(): string;
333
+ label: string;
334
+ docEntries: any[];
335
+ codeFolder: string;
336
+ refsImage: string;
337
+ refsImage2: string;
338
+ figmaLink: string;
339
+ isSmall: boolean;
340
+ isTiny: boolean;
341
+ isMedium: boolean;
342
+ isLarge: boolean;
343
+ isExtraLarge: boolean;
344
+ hasAutoHeight: boolean;
345
+ docContent: QueryList<DocPagePatternSampleDocDirective>;
346
+ openCode(): void;
347
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocPagePatternSampleComponent, never>;
348
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocPagePatternSampleComponent, "eui-showcase-doc-pattern-sample", never, { "label": { "alias": "label"; "required": false; }; "docEntries": { "alias": "docEntries"; "required": false; }; "codeFolder": { "alias": "codeFolder"; "required": false; }; "refsImage": { "alias": "refsImage"; "required": false; }; "refsImage2": { "alias": "refsImage2"; "required": false; }; "figmaLink": { "alias": "figmaLink"; "required": false; }; "isSmall": { "alias": "isSmall"; "required": false; }; "isTiny": { "alias": "isTiny"; "required": false; }; "isMedium": { "alias": "isMedium"; "required": false; }; "isLarge": { "alias": "isLarge"; "required": false; }; "isExtraLarge": { "alias": "isExtraLarge"; "required": false; }; "hasAutoHeight": { "alias": "hasAutoHeight"; "required": false; }; }, {}, ["docContent"], ["eui-showcase-doc-pattern-sample-doc", "*"], true, never>;
412
349
  }
413
350
 
414
351
  declare class DocPagePatternSimpleDocDirective {
415
352
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPagePatternSimpleDocDirective, never>;
416
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocPagePatternSimpleDocDirective, "docPagePatternDoc", never, {}, {}, never, never, false, never>;
353
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocPagePatternSimpleDocDirective, "docPagePatternDoc", never, {}, {}, never, never, true, never>;
417
354
  }
418
355
  declare class DocPagePatternSimpleComponent {
419
356
  get cssClasses(): string;
@@ -441,45 +378,89 @@ declare class DocPagePatternSimpleComponent {
441
378
  }): void;
442
379
  gotoTop(): void;
443
380
  static ɵfac: i0.ɵɵFactoryDeclaration<DocPagePatternSimpleComponent, never>;
444
- static ɵcmp: i0.ɵɵComponentDeclaration<DocPagePatternSimpleComponent, "eui-showcase-doc-page-pattern-simple", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "anatomyImage": { "alias": "anatomyImage"; "required": false; }; "docEntries": { "alias": "docEntries"; "required": false; }; "dos": { "alias": "dos"; "required": false; }; "donts": { "alias": "donts"; "required": false; }; "sourceUrl": { "alias": "sourceUrl"; "required": false; }; "figmaUrl": { "alias": "figmaUrl"; "required": false; }; "figmaEmbedSrc": { "alias": "figmaEmbedSrc"; "required": false; }; }, {}, ["docContent"], ["docPagePatternDoc"], false, never>;
381
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocPagePatternSimpleComponent, "eui-showcase-doc-page-pattern-simple", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "anatomyImage": { "alias": "anatomyImage"; "required": false; }; "docEntries": { "alias": "docEntries"; "required": false; }; "dos": { "alias": "dos"; "required": false; }; "donts": { "alias": "donts"; "required": false; }; "sourceUrl": { "alias": "sourceUrl"; "required": false; }; "figmaUrl": { "alias": "figmaUrl"; "required": false; }; "figmaEmbedSrc": { "alias": "figmaEmbedSrc"; "required": false; }; }, {}, ["docContent"], ["docPagePatternDoc"], true, never>;
445
382
  }
446
383
 
447
- declare class DocPagePatternSampleDocDirective {
448
- static ɵfac: i0.ɵɵFactoryDeclaration<DocPagePatternSampleDocDirective, never>;
449
- static ɵdir: i0.ɵɵDirectiveDeclaration<DocPagePatternSampleDocDirective, "eui-showcase-doc-pattern-sample-doc", never, {}, {}, never, never, false, never>;
384
+ declare class DocSampleApiComponent {
385
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocSampleApiComponent, never>;
386
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocSampleApiComponent, "eui-showcase-doc-sample-api", never, {}, {}, never, never, true, never>;
450
387
  }
451
- declare class DocPagePatternSampleComponent {
452
- get cssClasses(): string;
388
+
389
+ declare class DocSectionCodeComponent {
453
390
  label: string;
454
- docEntries: any[];
455
- codeFolder: string;
456
- refsImage: string;
457
- refsImage2: string;
458
- figmaLink: string;
459
- isSmall: boolean;
460
- isTiny: boolean;
461
- isMedium: boolean;
462
- isLarge: boolean;
463
- isExtraLarge: boolean;
464
- hasAutoHeight: boolean;
465
- docContent: QueryList<DocPagePatternSampleDocDirective>;
466
- openCode(): void;
467
- static ɵfac: i0.ɵɵFactoryDeclaration<DocPagePatternSampleComponent, never>;
468
- static ɵcmp: i0.ɵɵComponentDeclaration<DocPagePatternSampleComponent, "eui-showcase-doc-pattern-sample", never, { "label": { "alias": "label"; "required": false; }; "docEntries": { "alias": "docEntries"; "required": false; }; "codeFolder": { "alias": "codeFolder"; "required": false; }; "refsImage": { "alias": "refsImage"; "required": false; }; "refsImage2": { "alias": "refsImage2"; "required": false; }; "figmaLink": { "alias": "figmaLink"; "required": false; }; "isSmall": { "alias": "isSmall"; "required": false; }; "isTiny": { "alias": "isTiny"; "required": false; }; "isMedium": { "alias": "isMedium"; "required": false; }; "isLarge": { "alias": "isLarge"; "required": false; }; "isExtraLarge": { "alias": "isExtraLarge"; "required": false; }; "hasAutoHeight": { "alias": "hasAutoHeight"; "required": false; }; }, {}, ["docContent"], ["eui-showcase-doc-pattern-sample-doc", "*"], false, never>;
391
+ content: string;
392
+ styleClass: string;
393
+ versionLabel: string;
394
+ isDeprecated: boolean;
395
+ isCodeExpanded: boolean;
396
+ sectionDescription: QueryList<DocSectionCodeDescriptionTagDirective>;
397
+ sectionCodeHTML: QueryList<DocSectionCodeHtmlTagDirective>;
398
+ sectionCodeTS: QueryList<DocSectionCodeTsTagDirective>;
399
+ sectionCodeSERVICE: QueryList<DocSectionCodeServiceTagDirective>;
400
+ sectionCodeCSS: QueryList<DocSectionCodeCssTagDirective>;
401
+ sectionCodeDOC: QueryList<DocSectionCodeDocTagDirective>;
402
+ toggleCode(): void;
403
+ isDefined(object: any): boolean;
404
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeComponent, never>;
405
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocSectionCodeComponent, "eui-showcase-doc-section-code", never, { "label": { "alias": "label"; "required": false; }; "content": { "alias": "content"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "versionLabel": { "alias": "versionLabel"; "required": false; }; "isDeprecated": { "alias": "isDeprecated"; "required": false; }; "isCodeExpanded": { "alias": "isCodeExpanded"; "required": false; }; }, {}, ["sectionDescription", "sectionCodeHTML", "sectionCodeTS", "sectionCodeSERVICE", "sectionCodeCSS", "sectionCodeDOC"], ["sectionDescription", "sectionCodeHTML", "sectionCodeTS", "sectionCodeSERVICE", "sectionCodeCSS", "sectionCodeDOC", "*"], true, never>;
406
+ }
407
+ declare class DocSectionCodeDescriptionTagDirective {
408
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeDescriptionTagDirective, never>;
409
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocSectionCodeDescriptionTagDirective, "sectionDescription", never, {}, {}, never, never, true, never>;
410
+ }
411
+ declare class DocSectionCodeHtmlTagDirective {
412
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeHtmlTagDirective, never>;
413
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocSectionCodeHtmlTagDirective, "sectionCodeHTML", never, {}, {}, never, never, true, never>;
414
+ }
415
+ declare class DocSectionCodeTsTagDirective {
416
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeTsTagDirective, never>;
417
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocSectionCodeTsTagDirective, "sectionCodeTS", never, {}, {}, never, never, true, never>;
418
+ }
419
+ declare class DocSectionCodeServiceTagDirective {
420
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeServiceTagDirective, never>;
421
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocSectionCodeServiceTagDirective, "sectionCodeSERVICE", never, {}, {}, never, never, true, never>;
422
+ }
423
+ declare class DocSectionCodeCssTagDirective {
424
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeCssTagDirective, never>;
425
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocSectionCodeCssTagDirective, "sectionCodeCSS", never, {}, {}, never, never, true, never>;
426
+ }
427
+ declare class DocSectionCodeDocTagDirective {
428
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocSectionCodeDocTagDirective, never>;
429
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DocSectionCodeDocTagDirective, "sectionCodeDOC", never, {}, {}, never, never, true, never>;
469
430
  }
470
431
 
471
- declare class DocPagePatternSampleRefsComponent {
472
- string: string;
473
- docEntries: any[];
474
- codeFolder: string;
475
- static ɵfac: i0.ɵɵFactoryDeclaration<DocPagePatternSampleRefsComponent, never>;
476
- static ɵcmp: i0.ɵɵComponentDeclaration<DocPagePatternSampleRefsComponent, "eui-showcase-doc-pattern-sample-refs", never, { "docEntries": { "alias": "docEntries"; "required": false; }; "codeFolder": { "alias": "codeFolder"; "required": false; }; }, {}, never, never, false, never>;
432
+ declare class EuiCodeHighlighterDirective implements AfterViewInit {
433
+ el: ElementRef<any>;
434
+ ngAfterViewInit(): void;
435
+ static ɵfac: i0.ɵɵFactoryDeclaration<EuiCodeHighlighterDirective, never>;
436
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EuiCodeHighlighterDirective, "[euiCode]", never, {}, {}, never, never, true, never>;
477
437
  }
478
438
 
479
- declare class EuiShowcaseModule {
480
- static ɵfac: i0.ɵɵFactoryDeclaration<EuiShowcaseModule, never>;
481
- static ɵmod: i0.ɵɵNgModuleDeclaration<EuiShowcaseModule, [typeof EuiCodeHighlighterDirective, typeof DocPageComponent, typeof DocPageDevGuideComponent, typeof DocPageCodeComponent, typeof DocPageCodeFabComponent, typeof DocPageCodeModalComponent, typeof DocPageOverviewContentDirective, typeof DocPageOverviewDefaultContentDirective, typeof DocPageApiContentDirective, typeof DocPageInteractiveContentDirective, typeof DocPageSamplesContentDirective, typeof DocPageSectionsContentDirective, typeof DocPageAccessibilityContentDirective, typeof DocPageThemingContentDirective, typeof DocSampleComponent, typeof DocSampleApiComponent, typeof DocSectionComponent, typeof DocSectionCodeComponent, typeof DocSectionCodeHtmlTagDirective, typeof DocSectionCodeTsTagDirective, typeof DocSectionCodeServiceTagDirective, typeof DocSectionCodeCssTagDirective, typeof DocSectionCodeDocTagDirective, typeof DocSectionCodeDescriptionTagDirective, typeof LoremIpsumSampleComponent, typeof PlaygroundComponent, typeof DocPagePatternComponent, typeof DocPagePatternDocDirective, typeof DocPagePatternSampleDirective, typeof DocPagePatternSimpleComponent, typeof DocPagePatternSimpleDocDirective, typeof DocPagePatternSampleComponent, typeof DocPagePatternSampleDocDirective, typeof DocPagePatternSampleRefsComponent], [typeof i17.CommonModule, typeof i18.EuiCardModule, typeof i19.EuiButtonModule, typeof i20.EuiTabsModule, typeof i21.EuiPageModule, typeof i22.EuiChipModule, typeof i23.EuiDialogModule, typeof i24.EuiAlertModule, typeof i25.EuiBlockContentModule, typeof i26.EuiBadgeModule, typeof i27.EuiIconModule, typeof i28.EuiLabelModule, typeof i29.EuiAvatarModule, typeof i30.MarkdownModule], [typeof EuiCodeHighlighterDirective, typeof DocPageComponent, typeof DocPageDevGuideComponent, typeof DocPageCodeComponent, typeof DocPageCodeFabComponent, typeof DocPageCodeModalComponent, typeof DocPageOverviewContentDirective, typeof DocPageOverviewDefaultContentDirective, typeof DocPageApiContentDirective, typeof DocPageInteractiveContentDirective, typeof DocPageSamplesContentDirective, typeof DocPageSectionsContentDirective, typeof DocPageAccessibilityContentDirective, typeof DocPageThemingContentDirective, typeof DocSampleComponent, typeof DocSampleApiComponent, typeof DocSectionComponent, typeof DocSectionCodeComponent, typeof DocSectionCodeHtmlTagDirective, typeof DocSectionCodeTsTagDirective, typeof DocSectionCodeServiceTagDirective, typeof DocSectionCodeCssTagDirective, typeof DocSectionCodeDocTagDirective, typeof DocSectionCodeDescriptionTagDirective, typeof LoremIpsumSampleComponent, typeof PlaygroundComponent, typeof DocPagePatternComponent, typeof DocPagePatternDocDirective, typeof DocPagePatternSampleDirective, typeof DocPagePatternSimpleComponent, typeof DocPagePatternSimpleDocDirective, typeof DocPagePatternSampleComponent, typeof DocPagePatternSampleDocDirective, typeof DocPagePatternSampleRefsComponent]>;
482
- static ɵinj: i0.ɵɵInjectorDeclaration<EuiShowcaseModule>;
439
+ declare class LoremIpsumSampleComponent {
440
+ textSize: 'small' | 'medium' | 'large';
441
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoremIpsumSampleComponent, never>;
442
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoremIpsumSampleComponent, "eui-showcase-doc-lorem-ipsum", never, { "textSize": { "alias": "textSize"; "required": false; }; }, {}, never, never, true, never>;
443
+ }
444
+
445
+ declare class PlaygroundComponent implements OnChanges {
446
+ title: string;
447
+ htmlContent: string;
448
+ sampleId: string;
449
+ typescriptContent: string;
450
+ activated: boolean;
451
+ modules: [{
452
+ name: string;
453
+ path: string;
454
+ }];
455
+ isLoaded: boolean;
456
+ private stackblitzElWrapper;
457
+ /** instance that holds the stackblitz VM object */
458
+ private stackblitzInstance;
459
+ private sb;
460
+ ngOnChanges(changes: SimpleChanges): void;
461
+ private initStackblitz;
462
+ static ɵfac: i0.ɵɵFactoryDeclaration<PlaygroundComponent, never>;
463
+ static ɵcmp: i0.ɵɵComponentDeclaration<PlaygroundComponent, "eui-playground", never, { "title": { "alias": "title"; "required": false; }; "htmlContent": { "alias": "htmlContent"; "required": false; }; "sampleId": { "alias": "sampleId"; "required": false; }; "typescriptContent": { "alias": "typescriptContent"; "required": false; }; "activated": { "alias": "activated"; "required": false; }; "modules": { "alias": "modules"; "required": false; }; }, {}, never, never, true, never>;
483
464
  }
484
465
 
485
466
  declare const polyfillsFile = "import 'zone.js';";
@@ -506,6 +487,69 @@ declare const PACKAGE_JSON: {
506
487
  };
507
488
  declare const tsConfig = "\n/* To learn more about this file see: https://angular.io/config/tsconfig. */\n{\n \"compileOnSave\": false,\n \"compilerOptions\": {\n \"outDir\": \"./out-tsc/app\",\n \"target\": \"ES2022\",\n \"module\": \"ES2022\",\n \"useDefineForClassFields\": false,\n \"lib\": [\"ES2022\", \"dom\"],\n \"declaration\": true,\n \"declarationMap\": true,\n \"inlineSources\": true,\n \"emitDecoratorMetadata\": false,\n \"types\": [],\n \"esModuleInterop\": true,\n \"sourceMap\": true,\n \"experimentalDecorators\": true,\n \"moduleResolution\": \"bundler\",\n \"importHelpers\": true\n },\n \"angularCompilerOptions\": {\n \"compilationMode\": \"partial\",\n \"enableI18nLegacyMessageIdFormat\": false,\n \"strictInputAccessModifiers\": true,\n \"strictMetadataEmit\": true,\n \"strictTemplates\": true,\n \"annotateForClosureCompiler\": true,\n \"skipTemplateCodegen\": true,\n \"fullTemplateTypeCheck\": true\n },\n \"exclude\": [\"src/test.ts\", \"**/*.spec.ts\"],\n \"files\": [\"src/main.ts\"],\n \"include\": [\"src/**/*.d.ts\"]\n}";
508
489
 
509
- export { ConfigurationService, DocPageAccessibilityContentDirective, DocPageApiContentDirective, DocPageCodeComponent, DocPageCodeFabComponent, DocPageCodeModalComponent, DocPageComponent, DocPageDevGuideComponent, DocPageInteractiveContentDirective, DocPageOverviewContentDirective, DocPageOverviewDefaultContentDirective, DocPagePatternComponent, DocPagePatternDocDirective, DocPagePatternSampleComponent, DocPagePatternSampleDirective, DocPagePatternSampleDocDirective, DocPagePatternSampleRefsComponent, DocPagePatternSimpleComponent, DocPagePatternSimpleDocDirective, DocPageSamplesContentDirective, DocPageSectionsContentDirective, DocPageThemingContentDirective, DocSampleApiComponent, DocSampleComponent, DocSectionCodeComponent, DocSectionCodeCssTagDirective, DocSectionCodeDescriptionTagDirective, DocSectionCodeDocTagDirective, DocSectionCodeHtmlTagDirective, DocSectionCodeServiceTagDirective, DocSectionCodeTsTagDirective, DocSectionComponent, EuiCodeHighlighterDirective, EuiShowcaseModule, LoremIpsumSampleComponent, PACKAGE_JSON, PlaygroundComponent, angularJsonFile, indexHtmlFile, mainFile, moduleFile, polyfillsFile, tsConfig };
490
+ declare class StackblitzService {
491
+ private http;
492
+ /**
493
+ * extract the name of the component class name and selector name from the typescript content
494
+ *
495
+ * @param contents
496
+ * @private
497
+ */
498
+ extractComponentMetadata(contents: string): {
499
+ selector: string;
500
+ className: string;
501
+ };
502
+ /**
503
+ * extract module class name from the typescript content
504
+ *
505
+ * @param contents
506
+ * @private
507
+ */
508
+ extractModuleName(contents: string): string;
509
+ /**
510
+ * extract the name of the component class name and selector name from the typescript content
511
+ *
512
+ * @param contents
513
+ * @private
514
+ */
515
+ extractComponentName(contents: string): string;
516
+ appendVitalNgModules(contents: string): string;
517
+ /**
518
+ * Open a stackblitz project in a new browser TAB with the given html and typescript content
519
+ * @param htmlContent
520
+ * @param typescriptContent
521
+ * @param title
522
+ * @param sampleId
523
+ */
524
+ openStackBlitz(htmlContent: string, typescriptContent: string, title: string, sampleId: string): void;
525
+ /**
526
+ * Retrieve only the dependencies that stackblitz will need filtered from @eui/deps-base
527
+ *
528
+ * @private
529
+ */
530
+ getStackblitzDependencies(): Promise<{
531
+ dependencies: ProjectDependencies;
532
+ devDependencies: ProjectDependencies;
533
+ }>;
534
+ /**
535
+ * Retrieve the dependencies from the package.json file of @eui/deps-base for the given version.
536
+ *
537
+ * @param version
538
+ * @private
539
+ */
540
+ private retrievePackageDependencies;
541
+ /**
542
+ * Retrieve the eUI version used to build the showcase from application app-metadata.json
543
+ *
544
+ * @private
545
+ */
546
+ private getCurrentShowcaseEuiVersion;
547
+ static ɵfac: i0.ɵɵFactoryDeclaration<StackblitzService, never>;
548
+ static ɵprov: i0.ɵɵInjectableDeclaration<StackblitzService>;
549
+ }
550
+
551
+ declare const EUI_SHOWCASE: readonly [typeof DocPageAccessibilityContentDirective, typeof DocPageApiContentDirective, typeof DocPageCodeComponent, typeof DocPageComponent, typeof DocPageDevGuideComponent, typeof DocPageInteractiveContentDirective, typeof DocPageOverviewContentDirective, typeof DocPageOverviewDefaultContentDirective, typeof DocPageSamplesContentDirective, typeof DocPageSectionsContentDirective, typeof DocPageThemingContentDirective, typeof DocPageCodeFabComponent, typeof DocPageCodeModalComponent, typeof DocPagePatternComponent, typeof DocPagePatternDocDirective, typeof DocPagePatternSampleDirective, typeof DocPagePatternSampleComponent, typeof DocPagePatternSampleDocDirective, typeof DocPagePatternSampleRefsComponent, typeof DocPagePatternSimpleComponent, typeof DocPagePatternSimpleDocDirective, typeof DocSampleComponent, typeof DocSampleApiComponent, typeof DocSectionComponent, typeof DocSectionCodeComponent, typeof DocSectionCodeCssTagDirective, typeof DocSectionCodeDescriptionTagDirective, typeof DocSectionCodeDocTagDirective, typeof DocSectionCodeHtmlTagDirective, typeof DocSectionCodeServiceTagDirective, typeof DocSectionCodeTsTagDirective, typeof EuiCodeHighlighterDirective, typeof LoremIpsumSampleComponent, typeof PlaygroundComponent];
552
+
553
+ export { ConfigurationService, DocPageAccessibilityContentDirective, DocPageApiContentDirective, DocPageCodeComponent, DocPageCodeFabComponent, DocPageCodeModalComponent, DocPageComponent, DocPageDevGuideComponent, DocPageInteractiveContentDirective, DocPageOverviewContentDirective, DocPageOverviewDefaultContentDirective, DocPagePatternComponent, DocPagePatternDocDirective, DocPagePatternSampleComponent, DocPagePatternSampleDirective, DocPagePatternSampleDocDirective, DocPagePatternSampleRefsComponent, DocPagePatternSimpleComponent, DocPagePatternSimpleDocDirective, DocPageSamplesContentDirective, DocPageSectionsContentDirective, DocPageThemingContentDirective, DocSampleApiComponent, DocSampleComponent, DocSectionCodeComponent, DocSectionCodeCssTagDirective, DocSectionCodeDescriptionTagDirective, DocSectionCodeDocTagDirective, DocSectionCodeHtmlTagDirective, DocSectionCodeServiceTagDirective, DocSectionCodeTsTagDirective, DocSectionComponent, EUI_SHOWCASE, EuiCodeHighlighterDirective, LoremIpsumSampleComponent, PACKAGE_JSON, PlaygroundComponent, StackblitzService, angularJsonFile, indexHtmlFile, mainFile, moduleFile, polyfillsFile, tsConfig };
510
554
  export type { Configuration };
511
555
  //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sources":["../src/lib/components/eui-code-highlighter/eui-code-highlighter.component.ts","../src/lib/configuration.service.ts","../src/lib/components/doc-sample/doc-sample.component.ts","../src/lib/components/doc-section/doc-section.component.ts","../src/lib/components/doc-page/doc-page.component.ts","../src/lib/components/doc-page/doc-page-dev-guide.component.ts","../src/lib/components/doc-page-code/doc-page-code.component.ts","../src/lib/components/doc-page-code-fab/doc-page-code-fab.component.ts","../src/lib/components/doc-page-code-modal/doc-page-code-modal.component.ts","../src/lib/components/doc-sample-api/doc-sample-api.component.ts","../src/lib/components/doc-section-code/doc-section-code.component.ts","../src/lib/components/lorem-ipsum/lorem-ipsum-sample.component.ts","../src/lib/components/playground/playground.component.ts","../src/lib/components/doc-page-pattern/doc-page-pattern.component.ts","../src/lib/components/doc-page-pattern-simple/doc-page-pattern-simple.component.ts","../src/lib/components/doc-page-pattern-sample/doc-page-pattern-sample.component.ts","../src/lib/components/doc-page-pattern-sample/doc-page-pattern-sample-refs.component.ts","../src/lib/eui-showcase.module.ts","../src/lib/components/playground/stackblitz.files.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA;AAKI;AAEA;;;AAKH;;ACZD;;;AAGG;;AAEC;;AAEG;;AAEN;AAED;;AAEG;AACH;AAII;;;;;AAKG;;AAGH;;;;;;;;;;;AAWG;;AAKH;;AAEG;AACH;;;AAGH;;AC5BD;AAQa;AACA;AACA;AACA;AACA;AACA;AAC+B;AACA;AACA;AAElB;AAEtB;AACA;AACA;AACA;AAEA;AACA;;;;;;;;;AAUA;AAMO;AAaP;AAiBA;;;;;;;AAOG;;;;AAC4D;AAI/D;;;;AAIG;AACH;AAYA;;AAEG;AACH;AAQA;;AAEG;;AAOH;AAOA;AAiBA;;;;;;AA0DH;;AC/ND;AAQ0B;AAEb;AACA;AACA;AAET;;;AAKH;;ACWD;AAQ0B;AAEb;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAIA;AAEA;AACA;AAEA;AACA;AAGA;AAEA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;;AAIA;;;;;;;AA0BA;AAcA;AA6FA;;;;;AAW4D;AAQ5D;AA6BA;AAqCA;AAiGA;;;AAoBH;AAGD;;;AAC+C;AAC/C;;;AACsD;AACtD;AAEa;AACA;;;AACZ;AACD;;;AAC8C;AAC9C;;;AAC+C;AAC/C;;;AACoD;AACpD;;;AAC0C;AAE1C;;;AAC8C;;ACvc9C;AAQ0B;AAEb;AACA;;;;;;;AAIkD;;;;;;;AAQ3D;AAyBA;AAYA;AAMA;AAIA;AA6BA;;;AAcH;;ACvHD;AAMa;AACA;AAET;;;AAKH;;ACZD;AAMa;AACA;AACA;;AAIT;AAEO;AAIA;AAIA;;;AAMV;;AC5BD;AAMa;;AAIT;AAEO;AAIA;;;AAGV;;ACrBD;;;AAKqC;;ACJrC;;;;;AAWa;AACA;AAGT;AAEA;AAEA;AAEA;AAEA;AAEA;AAEA;AAKA;;;AAGH;AAGD;;;AACqD;AAErD;;;AAC8C;AAE9C;;;AAC4C;AAE5C;;;AACiD;AAEjD;;;AAC6C;AAE7C;;;AAC6C;;ACvD7C;AAMa;;;AACZ;;ACJD;AAOW;;;;AAQA;AAEA;;;AAAwC;AACxC;;;;;AAOP;AAUA;;;AAqDH;;AC5ED;;;AAC8C;AAC9C;;;AAC2C;AAE3C;;AAcI;AAEA;;;;AAKS;AACA;AACA;;;;;;AAOF;AACA;;;;;;;;AA0B0D;;;;AAWpE;;ACzED;;;AACiD;AAEjD;;AAcI;;;;AAKS;AACA;AACA;;;;;;AAOF;AACA;;;;;;;;AA0B0D;;;;AAWpE;;ACnFD;;;AACiD;AAEjD;;;AAgBa;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AAGT;AAEA;;;AAKH;;ACxCD;AAO0B;AAEb;;;;AAEZ;;ACiFD;;;;AAuBiC;;ACrHjC;AACA;AAmFA;;;;AA8DA;AA0EA;AAKA;;;;;;;;;;;;;;AAcA;;;"}
1
+ {"version":3,"file":"index.d.ts","sources":["../src/lib/configuration.service.ts","../src/lib/components/doc-page/doc-page-code.component.ts","../src/lib/components/doc-page/doc-page-dev-guide.component.ts","../src/lib/components/doc-sample/doc-sample.component.ts","../src/lib/components/doc-section/doc-section.component.ts","../src/lib/components/doc-page/doc-page.component.ts","../src/lib/components/doc-page-code-fab/doc-page-code-fab.component.ts","../src/lib/components/doc-page-code-modal/doc-page-code-modal.component.ts","../src/lib/components/doc-page-pattern/doc-page-pattern.component.ts","../src/lib/components/doc-page-pattern-sample/doc-page-pattern-sample-refs.component.ts","../src/lib/components/doc-page-pattern-sample/doc-page-pattern-sample.component.ts","../src/lib/components/doc-page-pattern-simple/doc-page-pattern-simple.component.ts","../src/lib/components/doc-sample-api/doc-sample-api.component.ts","../src/lib/components/doc-section-code/doc-section-code.component.ts","../src/lib/components/eui-code-highlighter/eui-code-highlighter.component.ts","../src/lib/components/lorem-ipsum/lorem-ipsum-sample.component.ts","../src/lib/components/playground/playground.component.ts","../src/lib/components/playground/stackblitz.files.ts","../src/lib/components/playground/stackblitz.service.ts","../src/lib/components/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;AAEA;;;AAGG;;AAEC;;AAEG;;AAEN;AAED;;AAEG;AACH;AAII;;;;;AAKG;;AAGH;;;;;;;;;;;AAWG;;AAKH;;AAEG;AACH;;;AAGH;;AC9CD;AASa;AACA;AAET;;;AAKH;;ACXD;AAY0B;AAEb;AACA;;;;;;;AAIkD;;;;;;;AAQ3D;AAyBA;AAYA;AAMA;AAIA;AA6BA;;;AAcH;;ACpGD;AAea;AACA;AACA;AACA;AACA;AACA;AAC+B;AACA;AACA;AAElB;AAEtB;AACA;AACA;AACA;AAEA;AACA;;;;;;;;;AAUA;AAMO;AAaP;AAiBA;;;;;;;AAOG;;;;AAC4D;AAI/D;;;;AAIG;AACH;AAYA;;AAEG;AACH;AAQA;;AAEG;;AAOH;AAOA;AAiBA;;;;;;AA0DH;;AC3OD;AAO0B;AAEb;AACA;AACA;AAET;;;AAKH;;ACkBD;AAiB0B;AAEb;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAIA;AAEA;AACA;AAEA;AACA;AAGA;AAEA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;;AAIA;;;;;;;AA0BA;AAcA;AA6FA;;;;;AAW4D;AAQ5D;AA6BA;AAqCA;AAiGA;;;AAoBH;AAGD;;;AAC+C;AAC/C;;;AACsD;AACtD;AAEa;AACA;;;AACZ;AACD;;;AAC8C;AAC9C;;;AAC+C;AAC/C;;;AACoD;AACpD;;;AAC0C;AAE1C;;;AAC8C;;ACtd9C;AAYa;AACA;AACA;;AAIT;AAEO;AAIA;AAIA;;;AAMV;;ACpCD;AAUa;;AAIT;AAEO;AAIA;;;AAGV;;ACND;;;AAC8C;AAC9C;;;AAC2C;AAE3C;;AAsBI;AAEA;;;;AAKS;AACA;AACA;;;;;;AAOF;AACA;;;;;;;;AA0B4D;;;;AAWtE;;ACnGD;AAY0B;AAEb;;;;AAEZ;;ACfD;;;AACiD;AAEjD;;;AAoBa;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AAGT;AAEA;;;AAKH;;AC1BD;;;AACiD;AAEjD;;AAsBI;;;;AAKS;AACA;AACA;;;;;;AAOF;AACA;;;;;;;;AA0B0D;;;;AAWpE;;AClGD;;;AAIqC;;ACCrC;;;;;AAgBa;AACA;AAGT;AAEA;AAEA;AAEA;AAEA;AAEA;AAEA;AAKA;;;AAGH;AAGD;;;AACqD;AAErD;;;AAC8C;AAE9C;;;AAC4C;AAE5C;;;AACiD;AAEjD;;;AAC6C;AAE7C;;;AAC6C;;AChE7C;AAII;AAEA;;;AAKH;;ACVD;AAQa;;;AACZ;;ACND;AASW;;;;AAQA;AAEA;;;AAAwC;AACxC;;;;;AAOP;AAUA;;;AAqDH;;AChGD;AACA;AAmFA;;;;AA8DA;AA0EA;AAKA;;;;;;;;;;;;;;AAcA;;ACzOA;;AAMI;;;;;AAKG;AACH;;;AAGC;AAaD;;;;;AAKG;AACH;AAKA;;;;;AAKG;AACH;AAUA;AAcA;;;;;;AAMG;AACI;AAiDP;;;;AAIG;;;;;AA0DH;;;;;AAKG;AACH;AAMA;;;;AAIG;AACH;;;AAMH;;ACjID;;;"}