ngx-techlify-core 14.11.0 → 14.11.2

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,13 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ColumnSelectorComponent implements OnInit {
5
+ availableColumns: string[];
6
+ label: string;
7
+ updated: EventEmitter<string[]>;
8
+ columnSelector: FormControl;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColumnSelectorComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColumnSelectorComponent, "app-column-selector", never, { "availableColumns": "availableColumns"; "label": "label"; }, { "updated": "updated"; }, never, never, false>;
13
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./column-selector/column-selector.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/form-field";
5
+ import * as i4 from "@angular/material/core";
6
+ import * as i5 from "@angular/material/select";
7
+ import * as i6 from "@angular/forms";
8
+ export declare class ColumnSelectorModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColumnSelectorModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ColumnSelectorModule, [typeof i1.ColumnSelectorComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatOptionModule, typeof i5.MatSelectModule, typeof i6.ReactiveFormsModule], [typeof i1.ColumnSelectorComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<ColumnSelectorModule>;
12
+ }
@@ -0,0 +1,2 @@
1
+ export * from './column-selector.module';
2
+ export * from './column-selector/column-selector.component';
@@ -0,0 +1,2 @@
1
+ export * from './number-input-button.module';
2
+ export * from './number-input-button/number-input-button.component';
@@ -0,0 +1,32 @@
1
+ import { ControlValueAccessor, UntypedFormControl } from '@angular/forms';
2
+ import { MatFormFieldAppearance } from '@angular/material/form-field';
3
+ import { ElementRef, OnInit } from '@angular/core';
4
+ import * as i0 from "@angular/core";
5
+ export interface NumberInputOption {
6
+ type: string;
7
+ title: string;
8
+ value: any;
9
+ hint: string;
10
+ }
11
+ export declare const DEFAULT_SELECTED_VALUE = 1;
12
+ export declare class NumberInputButtonComponent implements OnInit, ControlValueAccessor {
13
+ label: string;
14
+ appearance?: MatFormFieldAppearance;
15
+ showLabel: boolean;
16
+ customInput: ElementRef;
17
+ showCustomInput: boolean;
18
+ options: NumberInputOption[];
19
+ selectedOption: UntypedFormControl;
20
+ customValue: UntypedFormControl;
21
+ touched: boolean;
22
+ disabled: boolean;
23
+ onChange: (value: any) => void;
24
+ onTouched: () => void;
25
+ ngOnInit(): void;
26
+ writeValue(obj: string): void;
27
+ registerOnChange(fn: any): void;
28
+ registerOnTouched(fn: any): void;
29
+ setDisabledState?(isDisabled: boolean): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputButtonComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputButtonComponent, "app-number-input-button", never, { "label": "label"; "appearance": "appearance"; "showLabel": "showLabel"; }, {}, never, never, false>;
32
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./number-input-button/number-input-button.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../material.module";
5
+ import * as i4 from "@angular/forms";
6
+ export declare class NumberInputButtonModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputButtonModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NumberInputButtonModule, [typeof i1.NumberInputButtonComponent], [typeof i2.CommonModule, typeof i3.MaterialModule, typeof i4.ReactiveFormsModule], [typeof i1.NumberInputButtonComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<NumberInputButtonModule>;
10
+ }
@@ -1,12 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./searchable-selector.component";
3
- import * as i2 from "./mat-select-infinite-scroll.directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "@angular/flex-layout";
7
- import * as i6 from "../material.module";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/flex-layout";
6
+ import * as i5 from "../material.module";
7
+ import * as i6 from "ng-mat-select-infinite-scroll";
8
8
  export declare class SearchableSelectorModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchableSelectorModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<SearchableSelectorModule, [typeof i1.SearchableSelectorComponent, typeof i2.MatSelectInfiniteScrollDirective], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.FlexLayoutModule, typeof i6.MaterialModule], [typeof i1.SearchableSelectorComponent, typeof i2.MatSelectInfiniteScrollDirective]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SearchableSelectorModule, [typeof i1.SearchableSelectorComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FlexLayoutModule, typeof i5.MaterialModule, typeof i6.MatSelectInfiniteScrollModule], [typeof i1.SearchableSelectorComponent]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<SearchableSelectorModule>;
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-techlify-core",
3
- "version": "14.11.0",
3
+ "version": "14.11.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=14",
6
6
  "@angular/core": ">=14",
@@ -13,6 +13,7 @@
13
13
  "@angular/material": ">=14",
14
14
  "@angular/cdk": ">=14",
15
15
  "rxjs": ">=6.6.0",
16
+ "ng-mat-select-infinite-scroll": "^4.0.0",
16
17
  "zone.js": ">=0.11"
17
18
  },
18
19
  "dependencies": {
package/public-api.d.ts CHANGED
@@ -122,3 +122,5 @@ export * from './lib/restrictors';
122
122
  export * from './lib/techlify-company-switcher';
123
123
  export * from './lib/file-dragdrop-uploader/file-dragdrop-uploader/file-dragdrop-uploader.component';
124
124
  export * from './lib/file-dragdrop-uploader/file-dragdrop-uploader.module';
125
+ export * from './lib/number-input-button';
126
+ export * from './lib/column-selector';