@solidpepper/solidpepper-flipbook 0.1.5 → 0.1.6

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
@@ -77,6 +77,7 @@ declare class AppParamsService {
77
77
  declare class FlipbookService {
78
78
  private http;
79
79
  private appParams;
80
+ activePassword: string;
80
81
  constructor(http: HttpClient, appParams: AppParamsService);
81
82
  getFlipbookInfo(password?: string): Observable<any>;
82
83
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FlipbookService, never>;
@@ -262,6 +263,7 @@ declare class PDFService {
262
263
  declare class ThemeService {
263
264
  isDarkMode: _angular_core.WritableSignal<boolean>;
264
265
  constructor();
266
+ setDarkMode(isDark: boolean): void;
265
267
  toggleTheme(): void;
266
268
  private applyTheme;
267
269
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThemeService, never>;
@@ -297,6 +299,13 @@ declare class AppComponent implements OnInit, OnChanges, OnDestroy {
297
299
  set isDemoAlias(v: any);
298
300
  get isDemo(): boolean;
299
301
  private _isDemo;
302
+ set nightModeInput(v: any);
303
+ set nightModeHyphen(v: any);
304
+ set nightModeLower(v: any);
305
+ set darkModeInput(v: any);
306
+ set darkModeHyphen(v: any);
307
+ get nightMode(): boolean;
308
+ private setNightMode;
300
309
  private initializationCount;
301
310
  exitEditor: EventEmitter<void>;
302
311
  viewerRef: FlipbookViewerComponent;
@@ -347,7 +356,7 @@ declare class AppComponent implements OnInit, OnChanges, OnDestroy {
347
356
  flipEnd(): void;
348
357
  goToPage(page: number): void;
349
358
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppComponent, never>;
350
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AppComponent, "solidpepper-flipbook", never, { "guid": { "alias": "guid"; "required": false; }; "alias": { "alias": "alias"; "required": false; }; "type": { "alias": "type"; "required": false; }; "apiUrl1": { "alias": "apiurl"; "required": false; }; "apiUrl2": { "alias": "api-url"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disableModals": { "alias": "disableModals"; "required": false; }; "interactiveColor": { "alias": "interactiveColor"; "required": false; }; "interactiveColorHyphen": { "alias": "interactive-color"; "required": false; }; "linkColorInput": { "alias": "linkColor"; "required": false; }; "linkColorHyphen": { "alias": "link-color"; "required": false; }; "colorInput": { "alias": "color"; "required": false; }; "isDemo1": { "alias": "isDemo"; "required": false; }; "isDemo2": { "alias": "isdemo"; "required": false; }; "isDemo3": { "alias": "is-demo"; "required": false; }; }, { "exitEditor": "exitEditor"; }, never, never, true, never>;
359
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AppComponent, "solidpepper-flipbook", never, { "guid": { "alias": "guid"; "required": false; }; "alias": { "alias": "alias"; "required": false; }; "type": { "alias": "type"; "required": false; }; "apiUrl1": { "alias": "apiurl"; "required": false; }; "apiUrl2": { "alias": "api-url"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disableModals": { "alias": "disableModals"; "required": false; }; "interactiveColor": { "alias": "interactiveColor"; "required": false; }; "interactiveColorHyphen": { "alias": "interactive-color"; "required": false; }; "linkColorInput": { "alias": "linkColor"; "required": false; }; "linkColorHyphen": { "alias": "link-color"; "required": false; }; "colorInput": { "alias": "color"; "required": false; }; "isDemo1": { "alias": "isDemo"; "required": false; }; "isDemo2": { "alias": "isdemo"; "required": false; }; "isDemo3": { "alias": "is-demo"; "required": false; }; "nightModeInput": { "alias": "nightMode"; "required": false; }; "nightModeHyphen": { "alias": "night-mode"; "required": false; }; "nightModeLower": { "alias": "nightmode"; "required": false; }; "darkModeInput": { "alias": "darkMode"; "required": false; }; "darkModeHyphen": { "alias": "dark-mode"; "required": false; }; }, { "exitEditor": "exitEditor"; }, never, never, true, never>;
351
360
  }
352
361
 
353
362
  export { AppParamsService, AppComponent as FlipbookComponent, FlipbookDataService };
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@solidpepper/solidpepper-flipbook",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Solidpepper - flipbook library",
5
5
  "peerDependencies": {
6
- "@angular/common": "^20.3.12",
7
- "@angular/core": "^20.3.12",
8
- "@angular/platform-browser": "^20.3.12",
9
- "@ngx-translate/core": "^17.0.0",
10
- "rxjs": "^7.8.0",
11
- "page-flip": "^2.0.7",
12
- "pdfjs-dist": "^4.8.69"
6
+ "@angular/common": ">=20.0.0",
7
+ "@angular/core": ">=20.0.0",
8
+ "@angular/platform-browser": ">=20.0.0",
9
+ "@ngx-translate/core": ">=15.0.0",
10
+ "rxjs": ">=7.0.0",
11
+ "page-flip": ">=2.0.7",
12
+ "pdfjs-dist": ">=4.0.0"
13
13
  },
14
14
  "dependencies": {
15
15
  "tslib": "^2.3.0"