From 9c5eecf6a54f61c561065de5bc87038aacb391eb Mon Sep 17 00:00:00 2001 From: David Werth Date: Mon, 22 Jul 2024 15:48:22 +0200 Subject: [PATCH] Exported more stuff to the public api --- package.json | 2 +- projects/ngx-kjua/package.json | 2 +- .../src/lib/kjua/{index.d.ts => lib/kjua-options.ts} | 0 projects/ngx-kjua/src/lib/ngx-kjua.component.ts | 6 +++--- projects/ngx-kjua/src/public-api.ts | 2 ++ 5 files changed, 7 insertions(+), 5 deletions(-) rename projects/ngx-kjua/src/lib/kjua/{index.d.ts => lib/kjua-options.ts} (100%) diff --git a/package.json b/package.json index 8f0f414..0a080bb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ngx-kjua-library", "description": "ngx-kjua library builder", - "version": "18.1.2", + "version": "18.1.3", "license": "MIT", "scripts": { "ng": "ng", diff --git a/projects/ngx-kjua/package.json b/projects/ngx-kjua/package.json index 0d12d7c..01525e7 100644 --- a/projects/ngx-kjua/package.json +++ b/projects/ngx-kjua/package.json @@ -1,7 +1,7 @@ { "name": "ngx-kjua", "description": "Angular QR-Code generator component.", - "version": "18.1.2", + "version": "18.1.3", "license": "MIT", "private": false, "repository": { diff --git a/projects/ngx-kjua/src/lib/kjua/index.d.ts b/projects/ngx-kjua/src/lib/kjua/lib/kjua-options.ts similarity index 100% rename from projects/ngx-kjua/src/lib/kjua/index.d.ts rename to projects/ngx-kjua/src/lib/kjua/lib/kjua-options.ts diff --git a/projects/ngx-kjua/src/lib/ngx-kjua.component.ts b/projects/ngx-kjua/src/lib/ngx-kjua.component.ts index e7cfda3..abd0c24 100644 --- a/projects/ngx-kjua/src/lib/ngx-kjua.component.ts +++ b/projects/ngx-kjua/src/lib/ngx-kjua.component.ts @@ -10,9 +10,9 @@ import { SimpleChanges, ViewChild, } from "@angular/core"; -import { kjua } from "./kjua/index"; -import { KjuaOptions } from "./kjua/index.d"; -import { KjuaEcLevel, KjuaMode, KjuaRender } from "./ngx-kjua.interface"; +import {kjua} from "./kjua/index"; +import {KjuaEcLevel, KjuaMode, KjuaRender} from "./ngx-kjua.interface"; +import {KjuaOptions} from "./kjua/lib/kjua-options"; @Component({ standalone: true, diff --git a/projects/ngx-kjua/src/public-api.ts b/projects/ngx-kjua/src/public-api.ts index 8233168..97f5926 100644 --- a/projects/ngx-kjua/src/public-api.ts +++ b/projects/ngx-kjua/src/public-api.ts @@ -5,3 +5,5 @@ export * from "./lib/ngx-kjua.component"; export * from "./lib/ngx-kjua.interface"; export * from "./lib/qr-code.helper"; +export * from "./lib/kjua/"; +export * from "./lib/kjua/lib/kjua-options";