ngx-sfc-common 0.0.32 → 0.0.34

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.
@@ -2,11 +2,11 @@ import { EventEmitter } from '@angular/core';
2
2
  import { ITagModel } from './tag.model';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TagComponent {
5
- remove: boolean;
6
5
  model: ITagModel;
7
6
  removeAction: EventEmitter<ITagModel>;
7
+ disabled: boolean;
8
8
  private _onClick;
9
9
  onRemove(): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "sfc-tag", never, { "remove": "remove"; "model": "model"; }, { "removeAction": "remove"; }, never, never, false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "sfc-tag", never, { "model": "model"; "disabled": "disabled"; }, { "removeAction": "remove"; }, never, never, false, never>;
12
12
  }
@@ -6,6 +6,6 @@ export interface ITagModel {
6
6
  args?: any;
7
7
  icon?: IconDefinition | empty;
8
8
  imageSrc?: string | empty;
9
- remove?: boolean;
9
+ allowRemove?: boolean;
10
10
  click?: (model: ITagModel) => void | empty;
11
11
  }
@@ -118,4 +118,9 @@ export declare function findChangedPropertyPath(previous: any, current: any, par
118
118
  * @returns Key of property that was changed
119
119
  */
120
120
  export declare function findChangedPropertyKey(previous: any, current: any): string | empty;
121
+ /**
122
+ * Clone object without any reference
123
+ * @param value Object to clone
124
+ * @returns Cloned object
125
+ */
121
126
  export declare function deepClone(value: any): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-sfc-common",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "Angular common(shared) library for SFC project",
5
5
  "keywords": [
6
6
  "Street Football Club",
@@ -46,4 +46,4 @@ $color-blue-3: #4a89dc !default;
46
46
  $color-magenta-0: #ac92ec !default;
47
47
  $color-magenta-1: #967adc !default;
48
48
  $color-pink-0: #ec87c0 !default;
49
- $color-pink-1: #d770ad !default;
49
+ $color-pink-1: #d770ad !default;