@indigina/ui-kit 1.0.128 → 1.0.131

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,24 @@
1
+ import { Predicate } from '@angular/core';
2
+ import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
3
+ import * as i0 from "@angular/core";
4
+ export interface KitNavigationTabsItem {
5
+ title: string;
6
+ link: string | string[];
7
+ icon?: KitSvgIcon;
8
+ iconType?: KitNavigationTabsItemIconType;
9
+ disabled?: Predicate<KitNavigationTabsItem>;
10
+ }
11
+ export declare enum KitNavigationTabsItemIconType {
12
+ FILL = "fill",
13
+ STROKE = "stroke"
14
+ }
15
+ export declare class KitNavigationTabsComponent {
16
+ /**
17
+ * Items which are going to be rendered as tabs navigation items
18
+ */
19
+ items: KitNavigationTabsItem[];
20
+ getRouterLink(item: KitNavigationTabsItem): string | string[] | null;
21
+ getItemIconCssClass(item: KitNavigationTabsItem): KitNavigationTabsItemIconType;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationTabsComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationTabsComponent, "kit-navigation-tabs", never, { "items": "items"; }, {}, never, never>;
24
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kit-navigation-tabs.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/router";
5
+ import * as i4 from "../kit-svg-icon/kit-svg-icon.module";
6
+ export declare class KitNavigationTabsModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationTabsModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KitNavigationTabsModule, [typeof i1.KitNavigationTabsComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.KitSvgIconModule], [typeof i1.KitNavigationTabsComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<KitNavigationTabsModule>;
10
+ }
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class KitRadioButtonComponent<T> implements ControlValueAccessor {
6
6
  items: KitRadioButton<T>[];
7
7
  label: string | null;
8
+ name: string;
8
9
  readonly: boolean;
9
10
  disabled: boolean;
10
11
  changed: EventEmitter<KitRadioButton<T>>;
@@ -17,7 +18,9 @@ export declare class KitRadioButtonComponent<T> implements ControlValueAccessor
17
18
  registerOnTouched(fn: () => void): void;
18
19
  setDisabledState(disabled: boolean): void;
19
20
  onRadioValueChange(item: KitRadioButton<T>): void;
21
+ private buildUniqName;
22
+ private getFirstPartOfUUID;
20
23
  private needToPrevent;
21
24
  static ɵfac: i0.ɵɵFactoryDeclaration<KitRadioButtonComponent<any>, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<KitRadioButtonComponent<any>, "kit-radio-button", never, { "items": "items"; "label": "label"; "readonly": "readonly"; "disabled": "disabled"; }, { "changed": "changed"; }, never, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<KitRadioButtonComponent<any>, "kit-radio-button", never, { "items": "items"; "label": "label"; "name": "name"; "readonly": "readonly"; "disabled": "disabled"; }, { "changed": "changed"; }, never, never>;
23
26
  }
@@ -47,5 +47,9 @@ export declare enum KitSvgIcon {
47
47
  CIRCLE_PLUS = "circle-plus",
48
48
  THREE_CIRCLE_ARROW_LEFT = "three-circle-arrow-left",
49
49
  THREE_CIRCLE_ARROW_RIGHT = "three-circle-arrow-right",
50
- SEND = "send"
50
+ SEND = "send",
51
+ CALENDAR_CHECK = "calendar-check",
52
+ CLIPBOARD_THIN = "clipboard-thin",
53
+ WALLET = "wallet",
54
+ CIRCLE_PULSE = "circle-pulse"
51
55
  }
@@ -0,0 +1 @@
1
+ export declare const buildRandomUUID: () => string;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "components",
8
8
  "shared"
9
9
  ],
10
- "version": "1.0.128",
10
+ "version": "1.0.131",
11
11
  "peerDependencies": {
12
12
  "@angular/common": "13.2.6",
13
13
  "@angular/core": "13.2.6"
package/public-api.d.ts CHANGED
@@ -61,3 +61,6 @@ export { KitQueryParamsService, KitQueryParams, KitQueryParamsName } from './lib
61
61
  export { KitRadioButtonComponent } from './lib/components/kit-radio-button/kit-radio-button.component';
62
62
  export { KitRadioButtonModule } from './lib/components/kit-radio-button/kit-radio-button.module';
63
63
  export { KitRadioButton } from './lib/components/kit-radio-button/kit-radio-button.model';
64
+ export { buildRandomUUID } from './lib/utils/random.util';
65
+ export { KitNavigationTabsComponent, KitNavigationTabsItem, KitNavigationTabsItemIconType, } from 'projects/ui-kit/src/lib/components/kit-navigation-tabs/kit-navigation-tabs.component';
66
+ export { KitNavigationTabsModule } from 'projects/ui-kit/src/lib/components/kit-navigation-tabs/kit-navigation-tabs.module';