ngx-highlight-js
Advanced tools
Comparing version 11.1.0 to 12.0.0-rc.1
@@ -5,6 +5,29 @@ (function (global, factory) { | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ngx-highlight-js'] = {}, global.ng.core, global.ng.common, global.ng.forms)); | ||
}(this, (function (exports, core, common, forms) { 'use strict'; | ||
}(this, (function (exports, i0, common, i1) { 'use strict'; | ||
var HIGHLIGHTJS_CONFIG = new core.InjectionToken('HighlightJs-Config'); | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) return e; | ||
var n = Object.create(null); | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
if (k !== 'default') { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
}); | ||
} | ||
}); | ||
} | ||
n['default'] = e; | ||
return Object.freeze(n); | ||
} | ||
var i0__namespace = /*#__PURE__*/_interopNamespace(i0); | ||
var i1__namespace = /*#__PURE__*/_interopNamespace(i1); | ||
var HIGHLIGHTJS_CONFIG = new i0.InjectionToken('HighlightJs-Config'); | ||
var HighlightJsDirective = /** @class */ (function () { | ||
@@ -97,23 +120,34 @@ function HighlightJsDirective(el, ngModel, doc, cog) { | ||
}()); | ||
HighlightJsDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[highlight-js]', | ||
host: { | ||
'[style.display]': "mode === 'simple' ? 'none' : null", | ||
}, | ||
exportAs: 'highlightJs', | ||
},] } | ||
]; | ||
HighlightJsDirective.ctorParameters = function () { return [ | ||
{ type: core.ElementRef }, | ||
{ type: forms.NgModel, decorators: [{ type: core.Optional }] }, | ||
{ type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] }, | ||
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [HIGHLIGHTJS_CONFIG,] }] } | ||
]; }; | ||
HighlightJsDirective.propDecorators = { | ||
options: [{ type: core.Input }], | ||
lang: [{ type: core.Input }], | ||
code: [{ type: core.Input }], | ||
mode: [{ type: core.Input }] | ||
}; | ||
HighlightJsDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0__namespace, type: HighlightJsDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i1__namespace.NgModel, optional: true }, { token: common.DOCUMENT }, { token: HIGHLIGHTJS_CONFIG, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive }); | ||
HighlightJsDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.2", type: HighlightJsDirective, selector: "[highlight-js]", inputs: { options: "options", lang: "lang", code: "code", mode: "mode" }, host: { properties: { "style.display": "mode === 'simple' ? 'none' : null" } }, exportAs: ["highlightJs"], ngImport: i0__namespace }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0__namespace, type: HighlightJsDirective, decorators: [{ | ||
type: i0.Directive, | ||
args: [{ | ||
selector: '[highlight-js]', | ||
host: { | ||
'[style.display]': "mode === 'simple' ? 'none' : null", | ||
}, | ||
exportAs: 'highlightJs', | ||
}] | ||
}], ctorParameters: function () { | ||
return [{ type: i0__namespace.ElementRef }, { type: i1__namespace.NgModel, decorators: [{ | ||
type: i0.Optional | ||
}] }, { type: undefined, decorators: [{ | ||
type: i0.Inject, | ||
args: [common.DOCUMENT] | ||
}] }, { type: undefined, decorators: [{ | ||
type: i0.Optional | ||
}, { | ||
type: i0.Inject, | ||
args: [HIGHLIGHTJS_CONFIG] | ||
}] }]; | ||
}, propDecorators: { options: [{ | ||
type: i0.Input | ||
}], lang: [{ | ||
type: i0.Input | ||
}], code: [{ | ||
type: i0.Input | ||
}], mode: [{ | ||
type: i0.Input | ||
}] } }); | ||
@@ -125,9 +159,13 @@ var HighlightJsModule = /** @class */ (function () { | ||
}()); | ||
HighlightJsModule.decorators = [ | ||
{ type: core.NgModule, args: [{ | ||
imports: [forms.FormsModule], | ||
declarations: [HighlightJsDirective], | ||
exports: [HighlightJsDirective], | ||
},] } | ||
]; | ||
HighlightJsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0__namespace, type: HighlightJsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule }); | ||
HighlightJsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0__namespace, type: HighlightJsModule, declarations: [HighlightJsDirective], imports: [i1.FormsModule], exports: [HighlightJsDirective] }); | ||
HighlightJsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0__namespace, type: HighlightJsModule, imports: [[i1.FormsModule]] }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0__namespace, type: HighlightJsModule, decorators: [{ | ||
type: i0.NgModule, | ||
args: [{ | ||
imports: [i1.FormsModule], | ||
declarations: [HighlightJsDirective], | ||
exports: [HighlightJsDirective], | ||
}] | ||
}] }); | ||
@@ -134,0 +172,0 @@ /** |
@@ -5,2 +5,2 @@ /** | ||
export * from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWhpZ2hsaWdodC1qcy5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvY2lwY2hrL0Rlc2t0b3Avd29yay9uZ3gtaGlnaGxpZ2h0LWpzL2xpYi8iLCJzb3VyY2VzIjpbIm5neC1oaWdobGlnaHQtanMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWhpZ2hsaWdodC1qcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi9uZ3gtaGlnaGxpZ2h0LWpzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
export { HighlightJsDirective } from './src/highlight-js.directive'; | ||
export * from './src/highlight-js.module'; | ||
export * from './src/highlight-js.config'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvY2lwY2hrL0Rlc2t0b3Avd29yay9uZ3gtaGlnaGxpZ2h0LWpzL2xpYi8iLCJzb3VyY2VzIjpbInB1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDcEUsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgSGlnaGxpZ2h0SnNEaXJlY3RpdmUgfSBmcm9tICcuL3NyYy9oaWdobGlnaHQtanMuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2hpZ2hsaWdodC1qcy5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvaGlnaGxpZ2h0LWpzLmNvbmZpZyc7XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ3BFLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEhpZ2hsaWdodEpzRGlyZWN0aXZlIH0gZnJvbSAnLi9zcmMvaGlnaGxpZ2h0LWpzLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9oaWdobGlnaHQtanMubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2hpZ2hsaWdodC1qcy5jb25maWcnO1xuIl19 |
import { InjectionToken } from '@angular/core'; | ||
export const HIGHLIGHTJS_CONFIG = new InjectionToken('HighlightJs-Config'); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlnaGxpZ2h0LWpzLmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvY2lwY2hrL0Rlc2t0b3Avd29yay9uZ3gtaGlnaGxpZ2h0LWpzL2xpYi8iLCJzb3VyY2VzIjpbInNyYy9oaWdobGlnaHQtanMuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFtQi9DLE1BQU0sQ0FBQyxNQUFNLGtCQUFrQixHQUFHLElBQUksY0FBYyxDQUFvQixvQkFBb0IsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZ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ZUFBZSxDQUFDO0FBbUIvQyxNQUFNLENBQUMsTUFBTSxrQkFBa0IsR0FBRyxJQUFJLGNBQWMsQ0FBb0Isb0JBQW9CLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSGlnaGxpZ2h0SnNDb25maWcge1xuICAvKipcbiAgICogU3BlY2lmeSByZW5kZXJpbmcgbW9kZVxuICAgKiAtIGBkZWZhdWx0YCBXaWxsIHJlbmRlciBlYWNoIGA8cHJlPjxjb2RlPmBcbiAgICogLSBgc2ltcGxlYCBSZW5kZXIgYWxsIGNvbnRlbnQgYWNjb3JkaW5nIHRvIGBsYW5nYCBsYW5ndWFnZVxuICAgKi9cbiAgbW9kZT86ICdkZWZhdWx0JyB8ICdzaW1wbGUnO1xuICAvKipcbiAgICogVXNlcyBsYW5ndWFnZSBkZXRlY3Rpb24gYnkgZGVmYXVsdCBidXQgeW91IGNhbiBzcGVjaWZ5IHRoZSBsYW5ndWFnZVxuICAgKi9cbiAgbGFuZz86IHN0cmluZztcbiAgLyoqXG4gICAqIEVxdWFyIFtjb25maWd1cmUob3B0aW9ucyldKGh0dHA6Ly9oaWdobGlnaHRqcy5yZWFkdGhlZG9jcy5pby9lbi9sYXRlc3QvYXBpLmh0bWwjY29uZmlndXJlLW9wdGlvbnMpXG4gICAqL1xuICBvcHRpb25zPzogYW55O1xufVxuXG5leHBvcnQgY29uc3QgSElHSExJR0hUSlNfQ09ORklHID0gbmV3IEluamVjdGlvblRva2VuPEhpZ2hsaWdodEpzQ29uZmlnPignSGlnaGxpZ2h0SnMtQ29uZmlnJyk7XG4iXX0= |
@@ -1,5 +0,6 @@ | ||
import { Directive, ElementRef, Input, Inject, Optional } from '@angular/core'; | ||
import { Directive, Input, Inject, Optional } from '@angular/core'; | ||
import { DOCUMENT } from '@angular/common'; | ||
import { NgModel } from '@angular/forms'; | ||
import { HIGHLIGHTJS_CONFIG } from './highlight-js.config'; | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "@angular/forms"; | ||
export class HighlightJsDirective { | ||
@@ -90,23 +91,32 @@ constructor(el, ngModel, doc, cog) { | ||
} | ||
HighlightJsDirective.decorators = [ | ||
{ type: Directive, args: [{ | ||
selector: '[highlight-js]', | ||
host: { | ||
'[style.display]': `mode === 'simple' ? 'none' : null`, | ||
}, | ||
exportAs: 'highlightJs', | ||
},] } | ||
]; | ||
HighlightJsDirective.ctorParameters = () => [ | ||
{ type: ElementRef }, | ||
{ type: NgModel, decorators: [{ type: Optional }] }, | ||
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, | ||
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [HIGHLIGHTJS_CONFIG,] }] } | ||
]; | ||
HighlightJsDirective.propDecorators = { | ||
options: [{ type: Input }], | ||
lang: [{ type: Input }], | ||
code: [{ type: Input }], | ||
mode: [{ type: Input }] | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlnaGxpZ2h0LWpzLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvY2lwY2hrL0Rlc2t0b3Avd29yay9uZ3gtaGlnaGxpZ2h0LWpzL2xpYi8iLCJzb3VyY2VzIjpbInNyYy9oaWdobGlnaHQtanMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLEtBQUssRUFBNEIsTUFBTSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDM0MsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXpDLE9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pdCgpO1xuICAgICAgfSk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRoaXMuaW5pdE11dGF0aW9uKCk7XG4gICAgfVxuICB9XG5cbiAgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5kZXN0cm95KCk7XG4gICAgdGhpcy5kZXN0cm95TXV0YXRpb24oKTtcbiAgICBpZiAodGhpcy5tb2RlbFZhbHVlJCkge1xuICAgICAgdGhpcy5tb2RlbFZhbHVlJC51bnN1YnNjcmliZSgpO1xuICAgIH1cbiAgfVxuXG4gIHByaXZhdGUgaW5pdE11dGF0aW9uKCk6IHZvaWQge1xuICAgIGlmICh0eXBlb2YgTXV0YXRpb25PYnNlcnZlciA9PT0gJ3VuZGVmaW5lZCcpIHtcbiAgICAgIHJldHVybjtcbiAgICB9XG4gICAgdGhpcy5vYnNlcnZlciA9IG5ldyBNdXRhdGlvbk9ic2VydmVyKHRoaXMuaW5pdC5iaW5kKHRoaXMpKTtcbiAgICB0aGlzLm9ic2VydmVyLm9ic2VydmUodGhpcy5lbC5uYXRpdmVFbGVtZW50LCB7XG4gICAgICBjaGFyYWN0ZXJEYXRhOiB0cnVlLFxuICAgICAgY2hpbGRMaXN0OiB0cnVlLFxuICAgICAgc3VidHJlZTogdHJ1ZSxcbiAgICB9KTtcbiAgfVxuXG4gIHByaXZhdGUgZGVzdHJveU11dGF0aW9uKCk6IHZvaWQge1xuICAgIGlmICghdGhpcy5vYnNlcnZlcikge1xuICAgICAgcmV0dXJuO1xuICAgIH1cbiAgICB0aGlzLm9ic2VydmVyLmRpc2Nvbm5lY3QoKTtcbiAgfVxufVxuIl19 | ||
HighlightJsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0, type: HighlightJsDirective, deps: [{ token: i0.ElementRef }, { token: i1.NgModel, optional: true }, { token: DOCUMENT }, { token: HIGHLIGHTJS_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); | ||
HighlightJsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.2", type: HighlightJsDirective, selector: "[highlight-js]", inputs: { options: "options", lang: "lang", code: "code", mode: "mode" }, host: { properties: { "style.display": "mode === 'simple' ? 'none' : null" } }, exportAs: ["highlightJs"], ngImport: i0 }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0, type: HighlightJsDirective, decorators: [{ | ||
type: Directive, | ||
args: [{ | ||
selector: '[highlight-js]', | ||
host: { | ||
'[style.display]': `mode === 'simple' ? 'none' : null`, | ||
}, | ||
exportAs: 'highlightJs', | ||
}] | ||
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.NgModel, decorators: [{ | ||
type: Optional | ||
}] }, { type: undefined, decorators: [{ | ||
type: Inject, | ||
args: [DOCUMENT] | ||
}] }, { type: undefined, decorators: [{ | ||
type: Optional | ||
}, { | ||
type: Inject, | ||
args: [HIGHLIGHTJS_CONFIG] | ||
}] }]; }, propDecorators: { options: [{ | ||
type: Input | ||
}], lang: [{ | ||
type: Input | ||
}], code: [{ | ||
type: Input | ||
}], mode: [{ | ||
type: Input | ||
}] } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlnaGxpZ2h0LWpzLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9zcmMvaGlnaGxpZ2h0LWpzLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLEtBQUssRUFBNEIsTUFBTSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFHM0MsT0FBTyxFQUFxQixrQkFBa0IsRUFBRSxNQ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HJlcykgPT4ge1xuICAgICAgICB0aGlzLmNvZGUgPSB0aGlzLmVzY2FwZUhUTUwocmVzKTtcbiAgICAgICAgdGhpcy5pbml0KCk7XG4gICAgICB9KTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5pbml0TXV0YXRpb24oKTtcbiAgICB9XG4gIH1cblxuICBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLmRlc3Ryb3koKTtcbiAgICB0aGlzLmRlc3Ryb3lNdXRhdGlvbigpO1xuICAgIGlmICh0aGlzLm1vZGVsVmFsdWUkKSB7XG4gICAgICB0aGlzLm1vZGVsVmFsdWUkLnVuc3Vic2NyaWJlKCk7XG4gICAgfVxuICB9XG5cbiAgcHJpdmF0ZSBpbml0TXV0YXRpb24oKTogdm9pZCB7XG4gICAgaWYgKHR5cGVvZiBNdXRhdGlvbk9ic2VydmVyID09PSAndW5kZWZpbmVkJykge1xuICAgICAgcmV0dXJuO1xuICAgIH1cbiAgICB0aGlzLm9ic2VydmVyID0gbmV3IE11dGF0aW9uT2JzZXJ2ZXIodGhpcy5pbml0LmJpbmQodGhpcykpO1xuICAgIHRoaXMub2JzZXJ2ZXIub2JzZXJ2ZSh0aGlzLmVsLm5hdGl2ZUVsZW1lbnQsIHtcbiAgICAgIGNoYXJhY3RlckRhdGE6IHRydWUsXG4gICAgICBjaGlsZExpc3Q6IHRydWUsXG4gICAgICBzdWJ0cmVlOiB0cnVlLFxuICAgIH0pO1xuICB9XG5cbiAgcHJpdmF0ZSBkZXN0cm95TXV0YXRpb24oKTogdm9pZCB7XG4gICAgaWYgKCF0aGlzLm9ic2VydmVyKSB7XG4gICAgICByZXR1cm47XG4gICAgfVxuICAgIHRoaXMub2JzZXJ2ZXIuZGlzY29ubmVjdCgpO1xuICB9XG59XG4iXX0= |
import { NgModule } from '@angular/core'; | ||
import { FormsModule } from '@angular/forms'; | ||
import { HighlightJsDirective } from './highlight-js.directive'; | ||
import * as i0 from "@angular/core"; | ||
export class HighlightJsModule { | ||
} | ||
HighlightJsModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [FormsModule], | ||
declarations: [HighlightJsDirective], | ||
exports: [HighlightJsDirective], | ||
},] } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlnaGxpZ2h0LWpzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvY2lwY2hrL0Rlc2t0b3Avd29yay9uZ3gtaGlnaGxpZ2h0LWpzL2xpYi8iLCJzb3VyY2VzIjpbInNyYy9oaWdobGlnaHQtanMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBT2hFLE1BQU0sT0FBTyxpQkFBaUI7OztZQUw3QixRQUFRLFNBQUM7Z0JBQ1IsT0FBTyxFQUFFLENBQUMsV0FBVyxDQUFDO2dCQUN0QixZQUFZLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQztnQkFDcEMsT0FBTyxFQUFFLENBQUMsb0JBQW9CLENBQUM7YUFDaEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgRm9ybXNNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5pbXBvcnQgeyBIaWdobGlnaHRKc0RpcmVjdGl2ZSB9IGZyb20gJy4vaGlnaGxpZ2h0LWpzLmRpcmVjdGl2ZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtGb3Jtc01vZHVsZV0sXG4gIGRlY2xhcmF0aW9uczogW0hpZ2hsaWdodEpzRGlyZWN0aXZlXSxcbiAgZXhwb3J0czogW0hpZ2hsaWdodEpzRGlyZWN0aXZlXSxcbn0pXG5leHBvcnQgY2xhc3MgSGlnaGxpZ2h0SnNNb2R1bGUge31cbiJdfQ== | ||
HighlightJsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0, type: HighlightJsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
HighlightJsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0, type: HighlightJsModule, declarations: [HighlightJsDirective], imports: [FormsModule], exports: [HighlightJsDirective] }); | ||
HighlightJsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0, type: HighlightJsModule, imports: [[FormsModule]] }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0, type: HighlightJsModule, decorators: [{ | ||
type: NgModule, | ||
args: [{ | ||
imports: [FormsModule], | ||
declarations: [HighlightJsDirective], | ||
exports: [HighlightJsDirective], | ||
}] | ||
}] }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlnaGxpZ2h0LWpzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9zcmMvaGlnaGxpZ2h0LWpzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7QUFPaEUsTUFBTSxPQUFPLGlCQUFpQjs7OEdBQWpCLGlCQUFpQjsrR0FBakIsaUJBQWlCLGlCQUhiLG9CQUFvQixhQUR6QixXQUFXLGFBRVgsb0JBQW9COytHQUVuQixpQkFBaUIsWUFKbkIsQ0FBQyxXQUFXLENBQUM7MkZBSVgsaUJBQWlCO2tCQUw3QixRQUFRO21CQUFDO29CQUNSLE9BQU8sRUFBRSxDQUFDLFdBQVcsQ0FBQztvQkFDdEIsWUFBWSxFQUFFLENBQUMsb0JBQW9CLENBQUM7b0JBQ3BDLE9BQU8sRUFBRSxDQUFDLG9CQUFvQixDQUFDO2lCQUNoQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGb3Jtc01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcbmltcG9ydCB7IEhpZ2hsaWdodEpzRGlyZWN0aXZlIH0gZnJvbSAnLi9oaWdobGlnaHQtanMuZGlyZWN0aXZlJztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW0Zvcm1zTW9kdWxlXSxcbiAgZGVjbGFyYXRpb25zOiBbSGlnaGxpZ2h0SnNEaXJlY3RpdmVdLFxuICBleHBvcnRzOiBbSGlnaGxpZ2h0SnNEaXJlY3RpdmVdLFxufSlcbmV4cG9ydCBjbGFzcyBIaWdobGlnaHRKc01vZHVsZSB7fVxuIl19 |
@@ -1,4 +0,6 @@ | ||
import { InjectionToken, Directive, ElementRef, Optional, Inject, Input, NgModule } from '@angular/core'; | ||
import * as i0 from '@angular/core'; | ||
import { InjectionToken, Directive, Optional, Inject, Input, NgModule } from '@angular/core'; | ||
import { DOCUMENT } from '@angular/common'; | ||
import { NgModel, FormsModule } from '@angular/forms'; | ||
import * as i1 from '@angular/forms'; | ||
import { FormsModule } from '@angular/forms'; | ||
@@ -92,33 +94,46 @@ const HIGHLIGHTJS_CONFIG = new InjectionToken('HighlightJs-Config'); | ||
} | ||
HighlightJsDirective.decorators = [ | ||
{ type: Directive, args: [{ | ||
selector: '[highlight-js]', | ||
host: { | ||
'[style.display]': `mode === 'simple' ? 'none' : null`, | ||
}, | ||
exportAs: 'highlightJs', | ||
},] } | ||
]; | ||
HighlightJsDirective.ctorParameters = () => [ | ||
{ type: ElementRef }, | ||
{ type: NgModel, decorators: [{ type: Optional }] }, | ||
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }, | ||
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [HIGHLIGHTJS_CONFIG,] }] } | ||
]; | ||
HighlightJsDirective.propDecorators = { | ||
options: [{ type: Input }], | ||
lang: [{ type: Input }], | ||
code: [{ type: Input }], | ||
mode: [{ type: Input }] | ||
}; | ||
HighlightJsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0, type: HighlightJsDirective, deps: [{ token: i0.ElementRef }, { token: i1.NgModel, optional: true }, { token: DOCUMENT }, { token: HIGHLIGHTJS_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); | ||
HighlightJsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.2", type: HighlightJsDirective, selector: "[highlight-js]", inputs: { options: "options", lang: "lang", code: "code", mode: "mode" }, host: { properties: { "style.display": "mode === 'simple' ? 'none' : null" } }, exportAs: ["highlightJs"], ngImport: i0 }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0, type: HighlightJsDirective, decorators: [{ | ||
type: Directive, | ||
args: [{ | ||
selector: '[highlight-js]', | ||
host: { | ||
'[style.display]': `mode === 'simple' ? 'none' : null`, | ||
}, | ||
exportAs: 'highlightJs', | ||
}] | ||
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.NgModel, decorators: [{ | ||
type: Optional | ||
}] }, { type: undefined, decorators: [{ | ||
type: Inject, | ||
args: [DOCUMENT] | ||
}] }, { type: undefined, decorators: [{ | ||
type: Optional | ||
}, { | ||
type: Inject, | ||
args: [HIGHLIGHTJS_CONFIG] | ||
}] }]; }, propDecorators: { options: [{ | ||
type: Input | ||
}], lang: [{ | ||
type: Input | ||
}], code: [{ | ||
type: Input | ||
}], mode: [{ | ||
type: Input | ||
}] } }); | ||
class HighlightJsModule { | ||
} | ||
HighlightJsModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [FormsModule], | ||
declarations: [HighlightJsDirective], | ||
exports: [HighlightJsDirective], | ||
},] } | ||
]; | ||
HighlightJsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0, type: HighlightJsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
HighlightJsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0, type: HighlightJsModule, declarations: [HighlightJsDirective], imports: [FormsModule], exports: [HighlightJsDirective] }); | ||
HighlightJsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0, type: HighlightJsModule, imports: [[FormsModule]] }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.2", ngImport: i0, type: HighlightJsModule, decorators: [{ | ||
type: NgModule, | ||
args: [{ | ||
imports: [FormsModule], | ||
declarations: [HighlightJsDirective], | ||
exports: [HighlightJsDirective], | ||
}] | ||
}] }); | ||
@@ -125,0 +140,0 @@ /** |
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/// <amd-module name="ngx-highlight-js" /> | ||
export * from './public_api'; |
{ | ||
"name": "ngx-highlight-js", | ||
"version": "11.1.0", | ||
"version": "12.0.0-rc.1", | ||
"description": "Angular for syntax highlighting with highlight.js", | ||
@@ -28,7 +28,6 @@ "keywords": [ | ||
"typings": "ngx-highlight-js.d.ts", | ||
"metadata": "ngx-highlight-js.metadata.json", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"tslib": "^2.0.0" | ||
"tslib": "^2.1.0" | ||
} | ||
} | ||
} |
import { ElementRef, OnDestroy, AfterViewInit } from '@angular/core'; | ||
import { NgModel } from '@angular/forms'; | ||
import { HighlightJsConfig } from './highlight-js.config'; | ||
import * as i0 from "@angular/core"; | ||
export declare class HighlightJsDirective implements AfterViewInit, OnDestroy { | ||
@@ -24,2 +25,4 @@ private el; | ||
private destroyMutation; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightJsDirective, [null, { optional: true; }, null, { optional: true; }]>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<HighlightJsDirective, "[highlight-js]", ["highlightJs"], { "options": "options"; "lang": "lang"; "code": "code"; "mode": "mode"; }, {}, never>; | ||
} |
@@ -0,2 +1,8 @@ | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./highlight-js.directive"; | ||
import * as i2 from "@angular/forms"; | ||
export declare class HighlightJsModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightJsModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<HighlightJsModule, [typeof i1.HighlightJsDirective], [typeof i2.FormsModule], [typeof i1.HighlightJsDirective]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<HighlightJsModule>; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
523
56130
16
Updatedtslib@^2.1.0