@jooler/inputs 0.0.14 → 0.0.16

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,8 +1,10 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter, OnChanges, OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class ChooseEnumComponent implements OnInit {
3
+ export declare class ChooseEnumComponent implements OnInit, OnChanges {
4
4
  change: EventEmitter<any>;
5
5
  label: string;
6
+ isHidden: boolean;
7
+ isDisabled: boolean;
6
8
  items: any[];
7
9
  enumChoices: any;
8
10
  getValuesArrayFromEnum: Function;
@@ -18,6 +20,7 @@ export declare class ChooseEnumComponent implements OnInit {
18
20
  disable: boolean;
19
21
  colors: string[];
20
22
  constructor();
23
+ ngOnChanges(): void;
21
24
  ngOnInit(): void;
22
25
  writeValue(type: number): void;
23
26
  registerOnChange(fn: any): void;
@@ -37,5 +40,5 @@ export declare class ChooseEnumComponent implements OnInit {
37
40
  fontSize: string;
38
41
  };
39
42
  static ɵfac: i0.ɵɵFactoryDeclaration<ChooseEnumComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<ChooseEnumComponent, "choose-enum", never, { "label": "label"; "items": "items"; "enumChoices": "enumChoices"; "getValuesArrayFromEnum": "getValuesArrayFromEnum"; "isChip": "isChip"; "placeholder": "placeholder"; "width": "width"; "paddingTop": "paddingTop"; "labelTextAlign": "labelTextAlign"; "labelTextFontWeight": "labelTextFontWeight"; "labelTextFontSize": "labelTextFontSize"; "selectedItem": "selectedItem"; "indexesToDisable": "indexesToDisable"; "disable": "disable"; }, { "change": "change"; }, never, never, false>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChooseEnumComponent, "choose-enum", never, { "label": "label"; "isHidden": "isHidden"; "isDisabled": "isDisabled"; "items": "items"; "enumChoices": "enumChoices"; "getValuesArrayFromEnum": "getValuesArrayFromEnum"; "isChip": "isChip"; "placeholder": "placeholder"; "width": "width"; "paddingTop": "paddingTop"; "labelTextAlign": "labelTextAlign"; "labelTextFontWeight": "labelTextFontWeight"; "labelTextFontSize": "labelTextFontSize"; "selectedItem": "selectedItem"; "indexesToDisable": "indexesToDisable"; "disable": "disable"; }, { "change": "change"; }, never, never, false>;
41
44
  }
@@ -12,6 +12,7 @@ export declare class ChooseGeneralItemComponent implements OnInit, ControlValueA
12
12
  placeholder: string;
13
13
  apiPath: string;
14
14
  isMultiple: boolean;
15
+ hideSelectedItem: boolean;
15
16
  objects: LabelAndField[];
16
17
  showLabel: boolean;
17
18
  separator: string;
@@ -44,5 +45,5 @@ export declare class ChooseGeneralItemComponent implements OnInit, ControlValueA
44
45
  fontSize: string;
45
46
  };
46
47
  static ɵfac: i0.ɵɵFactoryDeclaration<ChooseGeneralItemComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<ChooseGeneralItemComponent, "choose-general-item", never, { "items": "items"; "label": "label"; "placeholder": "placeholder"; "apiPath": "apiPath"; "isMultiple": "isMultiple"; "objects": "objects"; "showLabel": "showLabel"; "separator": "separator"; "width": "width"; "fontWeight": "fontWeight"; "fontSize": "fontSize"; "isChip": "isChip"; "isTypeDate": "isTypeDate"; "chipColor": "chipColor"; "chipTextColor": "chipTextColor"; "chipWidth": "chipWidth"; "selectedItemId": "selectedItemId"; "disabled": "disabled"; "dropdownPosition": "dropdownPosition"; }, { "change": "change"; }, never, never, false>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChooseGeneralItemComponent, "choose-general-item", never, { "items": "items"; "label": "label"; "placeholder": "placeholder"; "apiPath": "apiPath"; "isMultiple": "isMultiple"; "hideSelectedItem": "hideSelectedItem"; "objects": "objects"; "showLabel": "showLabel"; "separator": "separator"; "width": "width"; "fontWeight": "fontWeight"; "fontSize": "fontSize"; "isChip": "isChip"; "isTypeDate": "isTypeDate"; "chipColor": "chipColor"; "chipTextColor": "chipTextColor"; "chipWidth": "chipWidth"; "selectedItemId": "selectedItemId"; "disabled": "disabled"; "dropdownPosition": "dropdownPosition"; }, { "change": "change"; }, never, never, false>;
48
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jooler/inputs",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=13.0.0",
6
6
  "@angular/core": ">=13.0.0"
@@ -38,9 +38,9 @@
38
38
  },
39
39
  "repository": {
40
40
  "type": "git",
41
- "url": "git://github.com/HenryHamamji/erp-shared-library.git"
41
+ "url": "git+https://github.com/HenryHamamji/erp-shared-library.git"
42
42
  },
43
- "author": "Beatrice Beshay",
43
+ "author": "silvanaalmohtar",
44
44
  "license": "UNLICENSED",
45
45
  "bugs": {
46
46
  "url": "https://github.com/HenryHamamji/erp-shared-library/issues"