@gravitee/ui-particles-angular 7.17.3 → 7.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,26 @@
1
+ import { ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { DomSanitizer } from '@angular/platform-browser';
4
+ import { GioPrismJsService } from '../gio-prismjs/gio-prismjs.service';
5
+ import { GioAsciidoctorService } from './gio-asciidoctor.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class GioAsciidoctorComponent implements OnChanges, OnDestroy {
8
+ private readonly gioAsciidoctorService;
9
+ private readonly gioPrismJsService;
10
+ private readonly sanitizer;
11
+ private readonly elementRef;
12
+ private readonly httpClient;
13
+ private readonly appId;
14
+ content?: string;
15
+ src?: string;
16
+ private options;
17
+ private asciidoctor$;
18
+ private unsubscribe$;
19
+ private _uniqueId;
20
+ constructor(gioAsciidoctorService: GioAsciidoctorService, gioPrismJsService: GioPrismJsService, sanitizer: DomSanitizer, elementRef: ElementRef, httpClient: HttpClient, appId: string);
21
+ ngOnChanges(changes: SimpleChanges): void;
22
+ ngOnDestroy(): void;
23
+ private render;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioAsciidoctorComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<GioAsciidoctorComponent, "gio-asciidoctor", never, { "content": "content"; "src": "src"; }, {}, never, never>;
26
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./gio-asciidoctor.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/common/http";
5
+ export declare class GioAsciidoctorModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioAsciidoctorModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GioAsciidoctorModule, [typeof i1.GioAsciidoctorComponent], [typeof i2.CommonModule, typeof i3.HttpClientModule], [typeof i1.GioAsciidoctorComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<GioAsciidoctorModule>;
9
+ }
@@ -0,0 +1,17 @@
1
+ import { Observable } from 'rxjs';
2
+ import { Asciidoctor } from 'asciidoctor';
3
+ import type AsciidoctorProcessor from 'asciidoctor';
4
+ import * as i0 from "@angular/core";
5
+ declare type AsciidoctorProcessor = typeof AsciidoctorProcessor;
6
+ declare global {
7
+ interface Window {
8
+ Asciidoctor: AsciidoctorProcessor;
9
+ }
10
+ }
11
+ export declare class GioAsciidoctorService {
12
+ load(): Observable<Asciidoctor>;
13
+ private loadAsciidoctor;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioAsciidoctorService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<GioAsciidoctorService>;
16
+ }
17
+ export {};
@@ -0,0 +1,14 @@
1
+ import { Observable } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ declare global {
4
+ interface Window {
5
+ Prism: any | undefined;
6
+ }
7
+ }
8
+ export declare class GioPrismJsService {
9
+ loadPrismJs(): Observable<void>;
10
+ private loadPrimeJsCore;
11
+ private loadPrismJsComponent;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioPrismJsService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<GioPrismJsService>;
14
+ }
@@ -1,3 +1,6 @@
1
+ export * from './gio-asciidoctor/gio-asciidoctor.module';
2
+ export * from './gio-asciidoctor/gio-asciidoctor.component';
3
+ export * from './gio-asciidoctor/gio-asciidoctor.service';
1
4
  export * from './gio-save-bar/gio-save-bar.component';
2
5
  export * from './gio-save-bar/gio-save-bar.module';
3
6
  export * from './gio-save-bar/gio-save-bar.harness';
@@ -38,3 +41,4 @@ export * from './gio-monaco-editor/gio-monaco-editor.module';
38
41
  export * from './gio-monaco-editor/gio-monaco-editor.harness';
39
42
  export * from './gio-loader/gio-loader.module';
40
43
  export * from './gio-loader/gio-loader.component';
44
+ export * from './gio-prismjs/gio-prismjs.service';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-particles-angular",
3
- "version": "7.17.3",
3
+ "version": "7.18.0",
4
4
  "description": "Gravitee.io - UI Particles Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,9 @@
22
22
  "@angular/material": "^13.3.0",
23
23
  "@ngx-formly/core": "^6.1.1",
24
24
  "@ngx-formly/material": "^6.1.1",
25
- "ngx-file-helpers": "^7.0.0"
25
+ "asciidoctor": "^2.2.6",
26
+ "ngx-file-helpers": "^7.0.0",
27
+ "prismjs": "^1.29.0"
26
28
  },
27
29
  "peerDependenciesMeta": {
28
30
  "@ngx-formly/core": {
@@ -30,6 +32,12 @@
30
32
  },
31
33
  "@ngx-formly/material": {
32
34
  "optional": true
35
+ },
36
+ "asciidoctor": {
37
+ "optional": true
38
+ },
39
+ "prismjs": {
40
+ "optional": true
33
41
  }
34
42
  },
35
43
  "publishConfig": {