ngx-sfc-components 0.0.1 → 0.0.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.
- package/README.md +2 -2
- package/esm2020/lib/components/menu/dropdown/dropdown-menu.component.mjs +8 -7
- package/esm2020/lib/components/menu/dropdown/parts/item/dropdown-menu-item.component.mjs +6 -5
- package/esm2020/lib/components/menu/dropdown/parts/item/dropdown-menu-item.model.mjs +1 -1
- package/esm2020/lib/components/menu/navigation/parts/item/navigation-menu-item.component.mjs +5 -4
- package/esm2020/lib/components/menu/navigation/parts/item/navigation-menu-item.model.mjs +1 -1
- package/esm2020/lib/components/menu/side/parts/item/content/side-menu-item-content.component.mjs +9 -7
- package/esm2020/lib/components/menu/side/parts/item/side-menu-item.component.mjs +4 -4
- package/esm2020/lib/components/menu/side/side-menu.model.mjs +1 -1
- package/esm2020/lib/components/notification/parts/content/notification-content.component.mjs +8 -7
- package/esm2020/lib/components/notification/parts/content/notification-content.model.mjs +1 -1
- package/esm2020/lib/components/slider/parts/button/slider-button.component.mjs +7 -5
- package/esm2020/lib/components/slider/slider.component.mjs +8 -6
- package/esm2020/lib/components/table/parts/columns/default/default-table-column.component.mjs +5 -4
- package/esm2020/lib/components/table/parts/columns/selectable/selectable-table-column.component.mjs +2 -2
- package/esm2020/lib/components/table/parts/columns/table-column.model.mjs +1 -1
- package/esm2020/lib/components/table/parts/content/cards/default/default-table-card.component.mjs +2 -2
- package/esm2020/lib/components/table/parts/content/rows/default/default-table-row.component.mjs +1 -1
- package/esm2020/lib/components/table/parts/toggle/columns-toggle.component.mjs +6 -5
- package/esm2020/lib/components/table/parts/toggle/columns-toggle.constants.mjs +4 -3
- package/esm2020/lib/components/table/table.constants.mjs +4 -3
- package/esm2020/lib/components/tabs/models/tab.model.mjs +1 -1
- package/esm2020/lib/components/tabs/parts/labels/tab-label-content-base.component.mjs +1 -1
- package/esm2020/lib/components/tabs/parts/labels/tab-label-icon/tab-label-icon.component.mjs +8 -10
- package/esm2020/lib/components/tabs/parts/labels/tab-label-line/tab-label-line.component.mjs +5 -4
- package/esm2020/lib/components/tags/parts/tag/tag.component.mjs +5 -4
- package/esm2020/lib/components/tags/parts/tag/tag.model.mjs +1 -1
- package/esm2020/lib/components/timeline/parts/item/timeline-item.component.mjs +7 -6
- package/esm2020/lib/components/timeline/parts/item/timeline-item.model.mjs +1 -1
- package/esm2020/lib/ngx-sfc-components.module.mjs +5 -1
- package/fesm2015/ngx-sfc-components.mjs +56 -54
- package/fesm2015/ngx-sfc-components.mjs.map +1 -1
- package/fesm2020/ngx-sfc-components.mjs +56 -54
- package/fesm2020/ngx-sfc-components.mjs.map +1 -1
- package/lib/components/menu/dropdown/dropdown-menu.component.d.ts +2 -1
- package/lib/components/menu/dropdown/parts/item/dropdown-menu-item.model.d.ts +2 -1
- package/lib/components/menu/navigation/parts/item/navigation-menu-item.model.d.ts +2 -1
- package/lib/components/menu/side/parts/item/content/side-menu-item-content.component.d.ts +2 -1
- package/lib/components/menu/side/side-menu.model.d.ts +2 -1
- package/lib/components/notification/parts/content/notification-content.model.d.ts +2 -1
- package/lib/components/slider/parts/button/slider-button.component.d.ts +2 -1
- package/lib/components/slider/slider.component.d.ts +4 -3
- package/lib/components/table/parts/columns/table-column.model.d.ts +2 -1
- package/lib/components/table/parts/toggle/columns-toggle.constants.d.ts +2 -2
- package/lib/components/tabs/models/tab.model.d.ts +2 -1
- package/lib/components/tabs/parts/labels/tab-label-content-base.component.d.ts +2 -1
- package/lib/components/tabs/parts/labels/tab-label-icon/tab-label-icon.component.d.ts +3 -4
- package/lib/components/tags/parts/tag/tag.model.d.ts +2 -1
- package/lib/components/timeline/parts/item/timeline-item.model.d.ts +2 -1
- package/lib/ngx-sfc-components.module.d.ts +3 -2
- package/package.json +6 -3
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterContentInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
2
3
|
import { ClickOutsideEvent, Position, ResizeService } from 'ngx-sfc-common';
|
|
3
4
|
import { IDropdownMenuItemModel } from './parts/item/dropdown-menu-item.model';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
@@ -6,7 +7,7 @@ export declare class DropdownMenuComponent implements OnDestroy, OnInit, AfterCo
|
|
|
6
7
|
private resizeService;
|
|
7
8
|
private window;
|
|
8
9
|
items: IDropdownMenuItemModel[];
|
|
9
|
-
icon?:
|
|
10
|
+
icon?: IconDefinition;
|
|
10
11
|
label?: string;
|
|
11
12
|
hideOnClick: boolean;
|
|
12
13
|
hideOnClickOutside: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { ISideMenuItemModel } from '../../../side-menu.model';
|
|
3
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class SideMenuItemContentComponent {
|
|
5
6
|
private readonly ANGLE_UP_ICON;
|
|
@@ -11,7 +12,7 @@ export declare class SideMenuItemContentComponent {
|
|
|
11
12
|
hasChildren: boolean;
|
|
12
13
|
selectItem: EventEmitter<ISideMenuItemModel>;
|
|
13
14
|
onClick(): void;
|
|
14
|
-
get expandIcon():
|
|
15
|
+
get expandIcon(): IconDefinition;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuItemContentComponent, never>;
|
|
16
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<SideMenuItemContentComponent, "sfc-side-menu-item-content", never, { "item": "item"; "active": "active"; "open": "open"; "openParent": "openParent"; "hasChildren": "hasChildren"; }, { "selectItem": "selectItem"; }, never, never>;
|
|
17
18
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IconDefinition } from "@fortawesome/free-solid-svg-icons";
|
|
1
2
|
export interface ISideMenuModel {
|
|
2
3
|
open: boolean;
|
|
3
4
|
items: ISideMenuItemModel[];
|
|
@@ -5,7 +6,7 @@ export interface ISideMenuModel {
|
|
|
5
6
|
export interface ISideMenuItemModel {
|
|
6
7
|
active: boolean;
|
|
7
8
|
label: string;
|
|
8
|
-
icon
|
|
9
|
+
icon?: IconDefinition;
|
|
9
10
|
type: SideMenuItemType;
|
|
10
11
|
items?: ISideMenuItemModel[];
|
|
11
12
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { IconDefinition } from "@fortawesome/free-solid-svg-icons";
|
|
1
2
|
export interface INotificationContentModel {
|
|
2
3
|
title?: string;
|
|
3
4
|
subTitle?: string;
|
|
4
5
|
showButton?: boolean;
|
|
5
6
|
buttonText?: string;
|
|
6
|
-
icon?:
|
|
7
|
+
icon?: IconDefinition;
|
|
7
8
|
image?: string;
|
|
8
9
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
1
2
|
import { SliderButtonType } from './slider-button-type.enum';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class SliderButtonComponent {
|
|
@@ -5,7 +6,7 @@ export declare class SliderButtonComponent {
|
|
|
5
6
|
private readonly ICON_PREVIOUS;
|
|
6
7
|
type: SliderButtonType;
|
|
7
8
|
active: boolean;
|
|
8
|
-
get icon():
|
|
9
|
+
get icon(): IconDefinition;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliderButtonComponent, never>;
|
|
10
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<SliderButtonComponent, "sfc-slider-button", never, { "type": "type"; "active": "active"; }, {}, never, never>;
|
|
11
12
|
}
|
|
@@ -6,13 +6,14 @@ import { SliderAutomaticService } from './service/automatic/slider-automatic.ser
|
|
|
6
6
|
import { SliderMoveType } from './service/slider/slider-move-type.enum';
|
|
7
7
|
import { SliderService } from './service/slider/slider.service';
|
|
8
8
|
import { SliderType } from './slider-type.enum';
|
|
9
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class SliderComponent implements AfterViewInit, AfterViewChecked {
|
|
11
12
|
sliderService: SliderService;
|
|
12
13
|
private automaticService;
|
|
13
14
|
private changeDetector;
|
|
14
|
-
readonly PAUSE_ICON
|
|
15
|
-
readonly PLAY_ICON
|
|
15
|
+
readonly PAUSE_ICON: IconDefinition;
|
|
16
|
+
readonly PLAY_ICON: IconDefinition;
|
|
16
17
|
SliderButtonType: typeof SliderButtonType;
|
|
17
18
|
SliderMoveType: typeof SliderMoveType;
|
|
18
19
|
items: ISliderItemModel[];
|
|
@@ -29,7 +30,7 @@ export declare class SliderComponent implements AfterViewInit, AfterViewChecked
|
|
|
29
30
|
onEnter(): void;
|
|
30
31
|
onLeave(): void;
|
|
31
32
|
get isAutomatic(): boolean;
|
|
32
|
-
get automaticIcon():
|
|
33
|
+
get automaticIcon(): IconDefinition;
|
|
33
34
|
constructor(sliderService: SliderService, automaticService: SliderAutomaticService, changeDetector: ChangeDetectorRef);
|
|
34
35
|
ngAfterViewInit(): void;
|
|
35
36
|
ngAfterViewChecked(): void;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ISortingModel } from "ngx-sfc-common";
|
|
2
2
|
import { TableColumnType } from "./table-column-type.enum";
|
|
3
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
3
4
|
export interface IDefaultTableColumnModel {
|
|
4
5
|
name: string;
|
|
5
6
|
field: string;
|
|
6
|
-
icon?:
|
|
7
|
+
icon?: IconDefinition;
|
|
7
8
|
sorting?: ISortingModel;
|
|
8
9
|
}
|
|
9
10
|
export interface IDefaultTableColumnInnerModel extends IDefaultTableColumnModel {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare class ColumnsToggleConstants {
|
|
2
2
|
static HIDE: {
|
|
3
3
|
LABEL: string;
|
|
4
|
-
ICON:
|
|
4
|
+
ICON: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
5
5
|
};
|
|
6
6
|
static SHOW: {
|
|
7
7
|
LABEL: string;
|
|
8
|
-
ICON:
|
|
8
|
+
ICON: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
9
9
|
};
|
|
10
10
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { IconDefinition } from "@fortawesome/free-solid-svg-icons";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class TabLabelContentBase {
|
|
3
4
|
label?: string;
|
|
4
|
-
icon?:
|
|
5
|
+
icon?: IconDefinition;
|
|
5
6
|
disabled: boolean;
|
|
6
7
|
selected: boolean;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelContentBase, never>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { TabLabelContentBase } from '../tab-label-content-base.component';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TabLabelIconComponent extends TabLabelContentBase
|
|
5
|
-
|
|
6
|
-
ngOnInit(): void;
|
|
4
|
+
export declare class TabLabelIconComponent extends TabLabelContentBase {
|
|
5
|
+
get tabIcon(): IconDefinition;
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelIconComponent, never>;
|
|
8
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<TabLabelIconComponent, "sfc-tab-label-icon", never, {}, {}, never, never>;
|
|
9
8
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IconDefinition } from "@fortawesome/free-solid-svg-icons";
|
|
1
2
|
import { TimelineItemPosition } from "./timeline-item-position.enum";
|
|
2
3
|
export interface ITimelineItemModel {
|
|
3
4
|
title: string;
|
|
@@ -5,6 +6,6 @@ export interface ITimelineItemModel {
|
|
|
5
6
|
dateTimeLabel?: string;
|
|
6
7
|
description?: string;
|
|
7
8
|
period?: boolean;
|
|
8
|
-
icon?:
|
|
9
|
+
icon?: IconDefinition;
|
|
9
10
|
image?: string;
|
|
10
11
|
}
|
|
@@ -41,9 +41,10 @@ import * as i39 from "./components/carousel/carousel.component";
|
|
|
41
41
|
import * as i40 from "./components/carousel/parts/stage/carousel-stage.component";
|
|
42
42
|
import * as i41 from "./components/carousel/directive/carousel-slide.directive";
|
|
43
43
|
import * as i42 from "@angular/common";
|
|
44
|
-
import * as i43 from "
|
|
44
|
+
import * as i43 from "@fortawesome/angular-fontawesome";
|
|
45
|
+
import * as i44 from "ngx-sfc-common";
|
|
45
46
|
export declare class NgxSfcComponentsModule {
|
|
46
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxSfcComponentsModule, never>;
|
|
47
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSfcComponentsModule, [typeof i1.TabsComponent, typeof i2.TabLabelLineComponent, typeof i3.TabLabelIconComponent, typeof i4.TabLabelLineSliderComponent, typeof i5.TabLabelIconSliderComponent, typeof i6.SideMenuComponent, typeof i7.SideMenuHeaderComponent, typeof i8.SideMenuItemComponent, typeof i9.SideMenuTitleComponent, typeof i10.SideMenuItemContentComponent, typeof i11.DropdownMenuComponent, typeof i12.DropdownMenuItemComponent, typeof i13.NavigationMenuComponent, typeof i14.NavigationMenuItemComponent, typeof i15.StarsComponent, typeof i16.AvatarComponent, typeof i17.AvatarBadgeComponent, typeof i18.ProgressLineComponent, typeof i19.ProgressSemiCircleComponent, typeof i20.ProgressCircleComponent, typeof i21.TagsComponent, typeof i22.TagComponent, typeof i23.SliderComponent, typeof i24.SliderItemComponent, typeof i25.SliderButtonComponent, typeof i26.SliderPaginationComponent, typeof i27.TimelineComponent, typeof i28.TimelineItemComponent, typeof i29.NotificationComponent, typeof i30.NotificationContentComponent, typeof i31.ChartComponent, typeof i32.TableComponent, typeof i33.DefaultTableColumnComponent, typeof i34.SelectableTableColumnComponent, typeof i35.ColumnsToggleComponent, typeof i36.DefaultTableRowComponent, typeof i37.ExpandedTableRowComponent, typeof i38.DefaultTableCardComponent, typeof i39.CarouselComponent, typeof i40.CarouselStageComponent, typeof i41.CarouselSlideDirective], [typeof i42.CommonModule, typeof i43.NgxSfcCommonModule], [typeof i1.TabsComponent, typeof i2.TabLabelLineComponent, typeof i3.TabLabelIconComponent, typeof i4.TabLabelLineSliderComponent, typeof i5.TabLabelIconSliderComponent, typeof i6.SideMenuComponent, typeof i11.DropdownMenuComponent, typeof i13.NavigationMenuComponent, typeof i15.StarsComponent, typeof i16.AvatarComponent, typeof i17.AvatarBadgeComponent, typeof i18.ProgressLineComponent, typeof i19.ProgressSemiCircleComponent, typeof i20.ProgressCircleComponent, typeof i21.TagsComponent, typeof i23.SliderComponent, typeof i27.TimelineComponent, typeof i29.NotificationComponent, typeof i31.ChartComponent, typeof i32.TableComponent, typeof i37.ExpandedTableRowComponent, typeof i39.CarouselComponent, typeof i41.CarouselSlideDirective]>;
|
|
48
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSfcComponentsModule, [typeof i1.TabsComponent, typeof i2.TabLabelLineComponent, typeof i3.TabLabelIconComponent, typeof i4.TabLabelLineSliderComponent, typeof i5.TabLabelIconSliderComponent, typeof i6.SideMenuComponent, typeof i7.SideMenuHeaderComponent, typeof i8.SideMenuItemComponent, typeof i9.SideMenuTitleComponent, typeof i10.SideMenuItemContentComponent, typeof i11.DropdownMenuComponent, typeof i12.DropdownMenuItemComponent, typeof i13.NavigationMenuComponent, typeof i14.NavigationMenuItemComponent, typeof i15.StarsComponent, typeof i16.AvatarComponent, typeof i17.AvatarBadgeComponent, typeof i18.ProgressLineComponent, typeof i19.ProgressSemiCircleComponent, typeof i20.ProgressCircleComponent, typeof i21.TagsComponent, typeof i22.TagComponent, typeof i23.SliderComponent, typeof i24.SliderItemComponent, typeof i25.SliderButtonComponent, typeof i26.SliderPaginationComponent, typeof i27.TimelineComponent, typeof i28.TimelineItemComponent, typeof i29.NotificationComponent, typeof i30.NotificationContentComponent, typeof i31.ChartComponent, typeof i32.TableComponent, typeof i33.DefaultTableColumnComponent, typeof i34.SelectableTableColumnComponent, typeof i35.ColumnsToggleComponent, typeof i36.DefaultTableRowComponent, typeof i37.ExpandedTableRowComponent, typeof i38.DefaultTableCardComponent, typeof i39.CarouselComponent, typeof i40.CarouselStageComponent, typeof i41.CarouselSlideDirective], [typeof i42.CommonModule, typeof i43.FontAwesomeModule, typeof i44.NgxSfcCommonModule], [typeof i1.TabsComponent, typeof i2.TabLabelLineComponent, typeof i3.TabLabelIconComponent, typeof i4.TabLabelLineSliderComponent, typeof i5.TabLabelIconSliderComponent, typeof i6.SideMenuComponent, typeof i11.DropdownMenuComponent, typeof i13.NavigationMenuComponent, typeof i15.StarsComponent, typeof i16.AvatarComponent, typeof i17.AvatarBadgeComponent, typeof i18.ProgressLineComponent, typeof i19.ProgressSemiCircleComponent, typeof i20.ProgressCircleComponent, typeof i21.TagsComponent, typeof i23.SliderComponent, typeof i27.TimelineComponent, typeof i29.NotificationComponent, typeof i31.ChartComponent, typeof i32.TableComponent, typeof i37.ExpandedTableRowComponent, typeof i39.CarouselComponent, typeof i41.CarouselSlideDirective]>;
|
|
48
49
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgxSfcComponentsModule>;
|
|
49
50
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-sfc-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Angular components library for SFC project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Street Football Club",
|
|
@@ -21,8 +21,11 @@
|
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@angular/common": "^13.2.0",
|
|
23
23
|
"@angular/core": "^13.2.0",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
24
|
+
"chart.js": "^3.6.0",
|
|
25
|
+
"@fortawesome/angular-fontawesome": "0.10.2",
|
|
26
|
+
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
|
27
|
+
"@fortawesome/free-solid-svg-icons": "^6.1.1",
|
|
28
|
+
"ngx-sfc-common": "^0.0.4"
|
|
26
29
|
},
|
|
27
30
|
"dependencies": {
|
|
28
31
|
"tslib": "^2.3.0"
|