@wizishop/angular-components 14.3.33 → 14.4.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.
@@ -1,22 +1,7 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { OptionItem } from './option-item.dto';
1
+ import { LabelComponent } from '../../common/label/label.component';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class InputWithSelectComponent {
5
- label: string;
6
- text: string;
7
- options: Readonly<OptionItem[]>;
8
- placeholder: string;
9
- id: string;
10
- value: string;
11
- showSelect: boolean;
12
- inputValueChange: EventEmitter<string>;
13
- selectValueChange: EventEmitter<number>;
14
- constructor();
15
- onClickItem(index: number): void;
16
- onToggleSelect(): void;
17
- onCloseSelect(): void;
18
- onChangeInputValue(e: any): void;
19
- private unActiveAll;
4
+ label: LabelComponent;
20
5
  static ɵfac: i0.ɵɵFactoryDeclaration<InputWithSelectComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<InputWithSelectComponent, "wac-input-with-select", never, { "label": "label"; "text": "text"; "options": "options"; "placeholder": "placeholder"; "id": "id"; "value": "value"; }, { "inputValueChange": "inputValueChange"; "selectValueChange": "selectValueChange"; }, never, never, false>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputWithSelectComponent, "wac-input-with-select", never, {}, {}, ["label"], ["wac-label, .wac-label", "input", "wac-select-test", "[text]"], false>;
22
7
  }
@@ -0,0 +1,11 @@
1
+ import { ElementRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class TwoDigitDecimalNumberDirective {
4
+ private el;
5
+ private regex;
6
+ private specialKeys;
7
+ constructor(el: ElementRef);
8
+ onKeyDown(event: KeyboardEvent): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TwoDigitDecimalNumberDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TwoDigitDecimalNumberDirective, "[wacTwoDigitDecimalNumber]", never, {}, {}, never, never, false>;
11
+ }
@@ -8,10 +8,11 @@ import * as i6 from "./keyboard-events/keypress-enter.directive";
8
8
  import * as i7 from "../components/selects/option/select-option.directive";
9
9
  import * as i8 from "../components/selects/select-test/select.directive";
10
10
  import * as i9 from "./keyboard-events/only-numbers.directive";
11
- import * as i10 from "@angular/common";
12
- import * as i11 from "@angular/forms";
11
+ import * as i10 from "./keyboard-events/two-digital-decimal-number.directive";
12
+ import * as i11 from "@angular/common";
13
+ import * as i12 from "@angular/forms";
13
14
  export declare class SharedDirectives {
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectives, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectives, [typeof i1.DebounceKeyupDirective, typeof i2.AbstractDebounceDirective, typeof i3.AutoHideDirective, typeof i4.ZindexToggleDirective, typeof i5.VarDirective, typeof i6.KeypressEnterDirective, typeof i7.SelectOptionDirective, typeof i8.SelectDirective, typeof i9.OnlyNumberDirective], [typeof i10.CommonModule, typeof i11.FormsModule], [typeof i1.DebounceKeyupDirective, typeof i2.AbstractDebounceDirective, typeof i3.AutoHideDirective, typeof i4.ZindexToggleDirective, typeof i5.VarDirective, typeof i6.KeypressEnterDirective, typeof i7.SelectOptionDirective, typeof i8.SelectDirective, typeof i9.OnlyNumberDirective]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectives, [typeof i1.DebounceKeyupDirective, typeof i2.AbstractDebounceDirective, typeof i3.AutoHideDirective, typeof i4.ZindexToggleDirective, typeof i5.VarDirective, typeof i6.KeypressEnterDirective, typeof i7.SelectOptionDirective, typeof i8.SelectDirective, typeof i9.OnlyNumberDirective, typeof i10.TwoDigitDecimalNumberDirective], [typeof i11.CommonModule, typeof i12.FormsModule], [typeof i1.DebounceKeyupDirective, typeof i2.AbstractDebounceDirective, typeof i3.AutoHideDirective, typeof i4.ZindexToggleDirective, typeof i5.VarDirective, typeof i6.KeypressEnterDirective, typeof i7.SelectOptionDirective, typeof i8.SelectDirective, typeof i9.OnlyNumberDirective, typeof i10.TwoDigitDecimalNumberDirective]>;
16
17
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectives>;
17
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "14.3.33",
3
+ "version": "14.4.2",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~14.0.6",
6
6
  "@angular/cdk": "^14.0.5",
package/public-api.d.ts CHANGED
@@ -101,6 +101,7 @@ export * from './lib/pipes/select/select-filters.pipe';
101
101
  export * from './lib/pipes/selected-list/are-all-options-selected.pipe';
102
102
  export * from './lib/pipes/find-option-selected-field.pipe';
103
103
  export * from './lib/directives/keyboard-events/keypress-enter.directive';
104
+ export * from './lib/directives/keyboard-events/two-digital-decimal-number.directive';
104
105
  export * from './lib/components/optional-disable-container/optional-disable-container.component';
105
106
  export * from './lib/components/summary/summary.component';
106
107
  export * from './lib/components/selects/select-test/select.component';