@tolle_/tolle-ui 0.0.1-beta → 0.0.3-beta
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/esm2022/lib/data-table.component.mjs +4 -4
- package/esm2022/lib/date-range-picker.component.mjs +2 -2
- package/esm2022/lib/multi-select.component.mjs +3 -3
- package/esm2022/lib/pagination.component.mjs +5 -4
- package/esm2022/lib/range-calendar.component.mjs +1 -1
- package/esm2022/lib/select-item.component.mjs +2 -2
- package/esm2022/lib/theme.service.mjs +82 -0
- package/esm2022/lib/tolle-config.mjs +8 -4
- package/fesm2022/tolle_-tolle-ui.mjs +148 -74
- package/fesm2022/tolle_-tolle-ui.mjs.map +1 -1
- package/lib/data-table.component.d.ts +1 -1
- package/lib/date-range-picker.component.d.ts +1 -1
- package/lib/range-calendar.component.d.ts +1 -1
- package/lib/select-item.component.d.ts +1 -1
- package/lib/theme.service.d.ts +19 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit, OnChanges, SimpleChanges, TemplateRef, QueryList } from '@angular/core';
|
|
2
2
|
import { cn } from './utils/cn';
|
|
3
|
-
import { TolleCellDirective } from '
|
|
3
|
+
import { TolleCellDirective } from './tolle-cell.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export interface TableColumn {
|
|
6
6
|
key: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { cn } from './utils/cn';
|
|
4
|
-
import { DateRange } from '
|
|
4
|
+
import { DateRange } from './types/date-range';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class DateRangePickerComponent implements ControlValueAccessor {
|
|
7
7
|
private cdr;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { cn } from './utils/cn';
|
|
4
|
-
import { DateRange } from '
|
|
4
|
+
import { DateRange } from './types/date-range';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class RangeCalendarComponent implements OnInit, ControlValueAccessor {
|
|
7
7
|
class: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { cn } from './utils/cn';
|
|
3
|
-
import { SelectService } from '
|
|
3
|
+
import { SelectService } from './select.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SelectItemComponent {
|
|
6
6
|
private selectService;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { RendererFactory2 } from '@angular/core';
|
|
2
|
+
import { TolleConfig } from './tolle-config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ThemeService {
|
|
5
|
+
private document;
|
|
6
|
+
private platformId;
|
|
7
|
+
private config;
|
|
8
|
+
private renderer;
|
|
9
|
+
private isDarkSubject;
|
|
10
|
+
isDark$: import("rxjs").Observable<boolean>;
|
|
11
|
+
constructor(document: Document, platformId: Object, config: TolleConfig, rendererFactory: RendererFactory2);
|
|
12
|
+
private initializeTheme;
|
|
13
|
+
private applyBrandConfig;
|
|
14
|
+
toggleTheme(): void;
|
|
15
|
+
private enableDarkMode;
|
|
16
|
+
private disableDarkMode;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, [null, null, { optional: true; }, null]>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
19
|
+
}
|