@eui/showcase 19.3.3-snapshot-1754667754469 → 21.0.0-alpha.2
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 +178 -179
- package/fesm2022/eui-showcase.mjs.map +1 -1
- package/index.d.ts +511 -4
- package/index.d.ts.map +1 -1
- package/package.json +10 -10
- package/eui-showcase.d.ts.map +0 -1
- package/lib/components/doc-page/doc-page-dev-guide.component.d.ts +0 -33
- package/lib/components/doc-page/doc-page-dev-guide.component.d.ts.map +0 -1
- package/lib/components/doc-page/doc-page.component.d.ts +0 -108
- package/lib/components/doc-page/doc-page.component.d.ts.map +0 -1
- package/lib/components/doc-page-code/doc-page-code.component.d.ts +0 -9
- package/lib/components/doc-page-code/doc-page-code.component.d.ts.map +0 -1
- package/lib/components/doc-page-code-fab/doc-page-code-fab.component.d.ts +0 -17
- package/lib/components/doc-page-code-fab/doc-page-code-fab.component.d.ts.map +0 -1
- package/lib/components/doc-page-code-modal/doc-page-code-modal.component.d.ts +0 -14
- package/lib/components/doc-page-code-modal/doc-page-code-modal.component.d.ts.map +0 -1
- package/lib/components/doc-page-pattern/doc-page-pattern.component.d.ts +0 -42
- package/lib/components/doc-page-pattern/doc-page-pattern.component.d.ts.map +0 -1
- package/lib/components/doc-page-pattern-sample/doc-page-pattern-sample-refs.component.d.ts +0 -9
- package/lib/components/doc-page-pattern-sample/doc-page-pattern-sample-refs.component.d.ts.map +0 -1
- package/lib/components/doc-page-pattern-sample/doc-page-pattern-sample.component.d.ts +0 -26
- package/lib/components/doc-page-pattern-sample/doc-page-pattern-sample.component.d.ts.map +0 -1
- package/lib/components/doc-page-pattern-simple/doc-page-pattern-simple.component.d.ts +0 -37
- package/lib/components/doc-page-pattern-simple/doc-page-pattern-simple.component.d.ts.map +0 -1
- package/lib/components/doc-sample/doc-sample.component.d.ts +0 -75
- package/lib/components/doc-sample/doc-sample.component.d.ts.map +0 -1
- package/lib/components/doc-sample-api/doc-sample-api.component.d.ts +0 -6
- package/lib/components/doc-sample-api/doc-sample-api.component.d.ts.map +0 -1
- package/lib/components/doc-section/doc-section.component.d.ts +0 -12
- package/lib/components/doc-section/doc-section.component.d.ts.map +0 -1
- package/lib/components/doc-section-code/doc-section-code.component.d.ts +0 -45
- package/lib/components/doc-section-code/doc-section-code.component.d.ts.map +0 -1
- package/lib/components/eui-code-highlighter/eui-code-highlighter.component.d.ts +0 -10
- package/lib/components/eui-code-highlighter/eui-code-highlighter.component.d.ts.map +0 -1
- package/lib/components/index.d.ts +0 -18
- package/lib/components/index.d.ts.map +0 -1
- package/lib/components/lorem-ipsum/lorem-ipsum-sample.component.d.ts +0 -7
- package/lib/components/lorem-ipsum/lorem-ipsum-sample.component.d.ts.map +0 -1
- package/lib/components/playground/playground.component.d.ts +0 -23
- package/lib/components/playground/playground.component.d.ts.map +0 -1
- package/lib/components/playground/stackblitz.files.d.ts +0 -24
- package/lib/components/playground/stackblitz.files.d.ts.map +0 -1
- package/lib/components/playground/stackblitz.service.d.ts +0 -63
- package/lib/components/playground/stackblitz.service.d.ts.map +0 -1
- package/lib/configuration.service.d.ts +0 -44
- package/lib/configuration.service.d.ts.map +0 -1
- package/lib/eui-showcase.module.d.ts +0 -37
- package/lib/eui-showcase.module.d.ts.map +0 -1
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { ProjectDependencies } from '@stackblitz/sdk';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class StackblitzService {
|
|
4
|
-
private http;
|
|
5
|
-
/**
|
|
6
|
-
* extract the name of the component class name and selector name from the typescript content
|
|
7
|
-
*
|
|
8
|
-
* @param contents
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
extractComponentMetadata(contents: string): {
|
|
12
|
-
selector: string;
|
|
13
|
-
className: string;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* extract module class name from the typescript content
|
|
17
|
-
*
|
|
18
|
-
* @param contents
|
|
19
|
-
* @private
|
|
20
|
-
*/
|
|
21
|
-
extractModuleName(contents: string): string;
|
|
22
|
-
/**
|
|
23
|
-
* extract the name of the component class name and selector name from the typescript content
|
|
24
|
-
*
|
|
25
|
-
* @param contents
|
|
26
|
-
* @private
|
|
27
|
-
*/
|
|
28
|
-
extractComponentName(contents: string): string;
|
|
29
|
-
appendVitalNgModules(contents: string): string;
|
|
30
|
-
/**
|
|
31
|
-
* Open a stackblitz project in a new browser TAB with the given html and typescript content
|
|
32
|
-
* @param htmlContent
|
|
33
|
-
* @param typescriptContent
|
|
34
|
-
* @param title
|
|
35
|
-
* @param sampleId
|
|
36
|
-
*/
|
|
37
|
-
openStackBlitz(htmlContent: string, typescriptContent: string, title: string, sampleId: string): void;
|
|
38
|
-
/**
|
|
39
|
-
* Retrieve only the dependencies that stackblitz will need filtered from @eui/deps-base
|
|
40
|
-
*
|
|
41
|
-
* @private
|
|
42
|
-
*/
|
|
43
|
-
getStackblitzDependencies(): Promise<{
|
|
44
|
-
dependencies: ProjectDependencies;
|
|
45
|
-
devDependencies: ProjectDependencies;
|
|
46
|
-
}>;
|
|
47
|
-
/**
|
|
48
|
-
* Retrieve the dependencies from the package.json file of @eui/deps-base for the given version.
|
|
49
|
-
*
|
|
50
|
-
* @param version
|
|
51
|
-
* @private
|
|
52
|
-
*/
|
|
53
|
-
private retrievePackageDependencies;
|
|
54
|
-
/**
|
|
55
|
-
* Retrieve the eUI version used to build the showcase from application app-metadata.json
|
|
56
|
-
*
|
|
57
|
-
* @private
|
|
58
|
-
*/
|
|
59
|
-
private getCurrentShowcaseEuiVersion;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StackblitzService, never>;
|
|
61
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<StackblitzService>;
|
|
62
|
-
}
|
|
63
|
-
//# sourceMappingURL=stackblitz.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stackblitz.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/playground/stackblitz.service.ts"],"names":[],"mappings":"AAAA,OAAY,EAAW,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;;AAMpE,qBACa,iBAAiB;IAC1B,OAAO,CAAC,IAAI,CAAkC;IAE9C;;;;;OAKG;IACH,wBAAwB,CAAC,QAAQ,EAAE,MAAM,GAAG;QACxC,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;KACrB;IAaD;;;;;OAKG;IACH,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAK3C;;;;;OAKG;IACH,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAU9C,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAc9C;;;;;;OAMG;IACI,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;IAiD5G;;;;OAIG;IACI,yBAAyB,IAAI,OAAO,CAAC;QACxC,YAAY,EAAE,mBAAmB,CAAC;QAClC,eAAe,EAAE,mBAAmB,CAAC;KACxC,CAAC;IAsDF;;;;;OAKG;IACH,OAAO,CAAC,2BAA2B;IAMnC;;;;OAIG;IACH,OAAO,CAAC,4BAA4B;yCAzM3B,iBAAiB;6CAAjB,iBAAiB;CA+M7B"}
|
|
@@ -1,44 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/eui-code-highlighter/eui-code-highlighter.component";
|
|
3
|
-
import * as i2 from "./components/doc-page/doc-page.component";
|
|
4
|
-
import * as i3 from "./components/doc-page/doc-page-dev-guide.component";
|
|
5
|
-
import * as i4 from "./components/doc-page-code/doc-page-code.component";
|
|
6
|
-
import * as i5 from "./components/doc-page-code-fab/doc-page-code-fab.component";
|
|
7
|
-
import * as i6 from "./components/doc-page-code-modal/doc-page-code-modal.component";
|
|
8
|
-
import * as i7 from "./components/doc-sample/doc-sample.component";
|
|
9
|
-
import * as i8 from "./components/doc-sample-api/doc-sample-api.component";
|
|
10
|
-
import * as i9 from "./components/doc-section/doc-section.component";
|
|
11
|
-
import * as i10 from "./components/doc-section-code/doc-section-code.component";
|
|
12
|
-
import * as i11 from "./components/lorem-ipsum/lorem-ipsum-sample.component";
|
|
13
|
-
import * as i12 from "./components/playground/playground.component";
|
|
14
|
-
import * as i13 from "./components/doc-page-pattern/doc-page-pattern.component";
|
|
15
|
-
import * as i14 from "./components/doc-page-pattern-simple/doc-page-pattern-simple.component";
|
|
16
|
-
import * as i15 from "./components/doc-page-pattern-sample/doc-page-pattern-sample.component";
|
|
17
|
-
import * as i16 from "./components/doc-page-pattern-sample/doc-page-pattern-sample-refs.component";
|
|
18
|
-
import * as i17 from "@angular/common";
|
|
19
|
-
import * as i18 from "@eui/components/eui-card";
|
|
20
|
-
import * as i19 from "@eui/components/eui-button";
|
|
21
|
-
import * as i20 from "@eui/components/eui-tabs";
|
|
22
|
-
import * as i21 from "@eui/components/eui-page";
|
|
23
|
-
import * as i22 from "@eui/components/eui-chip";
|
|
24
|
-
import * as i23 from "@eui/components/eui-dialog";
|
|
25
|
-
import * as i24 from "@eui/components/eui-alert";
|
|
26
|
-
import * as i25 from "@eui/components/eui-block-content";
|
|
27
|
-
import * as i26 from "@eui/components/eui-badge";
|
|
28
|
-
import * as i27 from "@eui/components/eui-icon";
|
|
29
|
-
import * as i28 from "@eui/components/eui-label";
|
|
30
|
-
import * as i29 from "@eui/components/eui-avatar";
|
|
31
|
-
import * as i30 from "ngx-markdown";
|
|
32
|
-
export declare class EuiShowcaseModule {
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EuiShowcaseModule, never>;
|
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EuiShowcaseModule, [typeof i1.EuiCodeHighlighterDirective, typeof i2.DocPageComponent, typeof i3.DocPageDevGuideComponent, typeof i4.DocPageCodeComponent, typeof i5.DocPageCodeFabComponent, typeof i6.DocPageCodeModalComponent, typeof i2.DocPageOverviewContentDirective, typeof i2.DocPageOverviewDefaultContentDirective, typeof i2.DocPageApiContentDirective, typeof i2.DocPageInteractiveContentDirective, typeof i2.DocPageSamplesContentDirective, typeof i2.DocPageSectionsContentDirective, typeof i2.DocPageAccessibilityContentDirective, typeof i2.DocPageThemingContentDirective, typeof i7.DocSampleComponent, typeof i8.DocSampleApiComponent, typeof i9.DocSectionComponent, typeof i10.DocSectionCodeComponent, typeof i10.DocSectionCodeHtmlTagDirective, typeof i10.DocSectionCodeTsTagDirective, typeof i10.DocSectionCodeServiceTagDirective, typeof i10.DocSectionCodeCssTagDirective, typeof i10.DocSectionCodeDocTagDirective, typeof i10.DocSectionCodeDescriptionTagDirective, typeof i11.LoremIpsumSampleComponent, typeof i12.PlaygroundComponent, typeof i13.DocPagePatternComponent, typeof i13.DocPagePatternDocDirective, typeof i13.DocPagePatternSampleDirective, typeof i14.DocPagePatternSimpleComponent, typeof i14.DocPagePatternSimpleDocDirective, typeof i15.DocPagePatternSampleComponent, typeof i15.DocPagePatternSampleDocDirective, typeof i16.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 i1.EuiCodeHighlighterDirective, typeof i2.DocPageComponent, typeof i3.DocPageDevGuideComponent, typeof i4.DocPageCodeComponent, typeof i5.DocPageCodeFabComponent, typeof i6.DocPageCodeModalComponent, typeof i2.DocPageOverviewContentDirective, typeof i2.DocPageOverviewDefaultContentDirective, typeof i2.DocPageApiContentDirective, typeof i2.DocPageInteractiveContentDirective, typeof i2.DocPageSamplesContentDirective, typeof i2.DocPageSectionsContentDirective, typeof i2.DocPageAccessibilityContentDirective, typeof i2.DocPageThemingContentDirective, typeof i7.DocSampleComponent, typeof i8.DocSampleApiComponent, typeof i9.DocSectionComponent, typeof i10.DocSectionCodeComponent, typeof i10.DocSectionCodeHtmlTagDirective, typeof i10.DocSectionCodeTsTagDirective, typeof i10.DocSectionCodeServiceTagDirective, typeof i10.DocSectionCodeCssTagDirective, typeof i10.DocSectionCodeDocTagDirective, typeof i10.DocSectionCodeDescriptionTagDirective, typeof i11.LoremIpsumSampleComponent, typeof i12.PlaygroundComponent, typeof i13.DocPagePatternComponent, typeof i13.DocPagePatternDocDirective, typeof i13.DocPagePatternSampleDirective, typeof i14.DocPagePatternSimpleComponent, typeof i14.DocPagePatternSimpleDocDirective, typeof i15.DocPagePatternSampleComponent, typeof i15.DocPagePatternSampleDocDirective, typeof i16.DocPagePatternSampleRefsComponent]>;
|
|
35
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EuiShowcaseModule>;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=eui-showcase.module.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eui-showcase.module.d.ts","sourceRoot":"","sources":["../../src/lib/eui-showcase.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FA,qBAuBa,iBAAiB;yCAAjB,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAAG"}
|