ngx-sfc-components 0.0.28 → 0.0.30

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.
Files changed (30) hide show
  1. package/esm2020/lib/components/index.mjs +1 -1
  2. package/esm2020/lib/components/no-export-index.mjs +1 -2
  3. package/esm2020/lib/components/table/parts/columns/table-column-type.enum.mjs +2 -1
  4. package/esm2020/lib/components/table/parts/content/cards/default/default-table-card.component.mjs +2 -2
  5. package/esm2020/lib/components/table/parts/toggle/service/columns-toggle.service.mjs +2 -2
  6. package/esm2020/lib/components/table/table.component.mjs +21 -5
  7. package/esm2020/lib/components/tabs/parts/labels/tab-label-content-base.component.mjs +2 -6
  8. package/esm2020/lib/components/tabs/parts/labels/tab-label-icon/tab-label-icon.component.mjs +5 -4
  9. package/esm2020/lib/components/tabs/parts/labels/tab-label-line/tab-label-line.component.mjs +3 -7
  10. package/esm2020/lib/components/tabs/tabs.component.mjs +5 -1
  11. package/esm2020/lib/components/tags/tags.component.mjs +10 -7
  12. package/esm2020/lib/ngx-sfc-components.module.mjs +2 -4
  13. package/fesm2015/ngx-sfc-components.mjs +69 -67
  14. package/fesm2015/ngx-sfc-components.mjs.map +1 -1
  15. package/fesm2020/ngx-sfc-components.mjs +69 -67
  16. package/fesm2020/ngx-sfc-components.mjs.map +1 -1
  17. package/lib/components/index.d.ts +0 -1
  18. package/lib/components/no-export-index.d.ts +0 -1
  19. package/lib/components/table/parts/columns/table-column-type.enum.d.ts +2 -1
  20. package/lib/components/table/table.component.d.ts +2 -1
  21. package/lib/components/tabs/parts/labels/tab-label-content-base.component.d.ts +0 -1
  22. package/lib/components/tabs/parts/labels/tab-label-line/tab-label-line.component.d.ts +0 -2
  23. package/lib/components/tabs/tabs.component.d.ts +2 -0
  24. package/lib/components/tags/tags.component.d.ts +6 -5
  25. package/lib/ngx-sfc-components.module.d.ts +24 -25
  26. package/package.json +2 -2
  27. package/esm2020/lib/components/tags/parts/tag/tag.component.mjs +0 -19
  28. package/esm2020/lib/components/tags/parts/tag/tag.model.mjs +0 -2
  29. package/lib/components/tags/parts/tag/tag.component.d.ts +0 -7
  30. package/lib/components/tags/parts/tag/tag.model.d.ts +0 -6
@@ -24,7 +24,6 @@ export { ProgressSemiCircleComponent } from './progress/semi-circle/progress-sem
24
24
  export { ProgressCircleComponent } from './progress/circle/progress-circle.component';
25
25
  export { getProgressColorDefaultFunc, getProgressColorDynamicallyFunc } from './progress/progress.utils';
26
26
  export { ProgressColor } from './progress/progress-color.enum';
27
- export { ITagModel } from './tags/parts/tag/tag.model';
28
27
  export { TagsComponent } from './tags/tags.component';
29
28
  export { SliderComponent } from './slider/slider.component';
30
29
  export { SliderType } from './slider/slider-type.enum';
@@ -5,7 +5,6 @@ export { SideMenuTitleComponent } from './menu/side/parts/title/side-menu-title.
5
5
  export { DropdownMenuItemComponent } from './menu/dropdown/parts/item/dropdown-menu-item.component';
6
6
  export { NavigationMenuItemComponent } from './menu/navigation/parts/item/navigation-menu-item.component';
7
7
  export { RouterMenuItemComponent } from './menu/router/parts/item/router-menu-item.component';
8
- export { Tag2Component } from './tags/parts/tag/tag.component';
9
8
  export { SliderItemComponent } from './slider/parts/item/slider-item.component';
10
9
  export { SliderButtonComponent } from './slider/parts/button/slider-button.component';
11
10
  export { SliderPaginationComponent } from './slider/parts/pagination/slider-pagination.component';
@@ -2,5 +2,6 @@ export declare enum TableColumnType {
2
2
  Data = "data",
3
3
  Sequence = "sequence",
4
4
  Selectable = "selectable",
5
- Expanded = "expanded"
5
+ Expanded = "expanded",
6
+ Action = "action"
6
7
  }
@@ -30,6 +30,7 @@ export declare class TableComponent implements OnInit, AfterContentChecked, Afte
30
30
  dataToggle: boolean;
31
31
  showColumns: boolean;
32
32
  columnsToggle: boolean;
33
+ columnsShowOnInit: boolean;
33
34
  pagination: IPaginationModel;
34
35
  sequence: boolean;
35
36
  expanded: boolean;
@@ -97,5 +98,5 @@ export declare class TableComponent implements OnInit, AfterContentChecked, Afte
97
98
  private setColumnSorting;
98
99
  private getItemSelected;
99
100
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
100
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "sfc-table", never, { "position": "position"; "delimeter": "delimeter"; "dataType": "dataType"; "dataToggle": "dataToggle"; "showColumns": "showColumns"; "columnsToggle": "columnsToggle"; "pagination": "pagination"; "sequence": "sequence"; "expanded": "expanded"; "notFoundLabel": "notFoundLabel"; "loadMoreLabel": "loadMoreLabel"; "showTotal": "showTotal"; "totalLabel": "totalLabel"; "paginationCount": "paginationCount"; "paginationLimits": "paginationLimits"; "showLoading": "showLoading"; "columnContent": "columnContent"; "rowContent": "rowContent"; "cardContent": "cardContent"; "data": "data"; "data$": "data$"; "columns": "columns"; "showColumnsLabel": "showColumnsLabel"; "hideColumnsLabel": "hideColumnsLabel"; "resize": "resize"; "loadType": "loadType"; "loader": "loader"; "filter": "filter"; "predicate$": "predicate$"; "selectable": "selectable"; "selectOnClick": "selectOnClick"; "selectMultiple": "selectMultiple"; "dataListLabel": "dataListLabel"; "dataCardsLabel": "dataCardsLabel"; }, { "selected": "selected"; }, ["templates"], never, false, never>;
101
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "sfc-table", never, { "position": "position"; "delimeter": "delimeter"; "dataType": "dataType"; "dataToggle": "dataToggle"; "showColumns": "showColumns"; "columnsToggle": "columnsToggle"; "columnsShowOnInit": "columnsShowOnInit"; "pagination": "pagination"; "sequence": "sequence"; "expanded": "expanded"; "notFoundLabel": "notFoundLabel"; "loadMoreLabel": "loadMoreLabel"; "showTotal": "showTotal"; "totalLabel": "totalLabel"; "paginationCount": "paginationCount"; "paginationLimits": "paginationLimits"; "showLoading": "showLoading"; "columnContent": "columnContent"; "rowContent": "rowContent"; "cardContent": "cardContent"; "data": "data"; "data$": "data$"; "columns": "columns"; "showColumnsLabel": "showColumnsLabel"; "hideColumnsLabel": "hideColumnsLabel"; "resize": "resize"; "loadType": "loadType"; "loader": "loader"; "filter": "filter"; "predicate$": "predicate$"; "selectable": "selectable"; "selectOnClick": "selectOnClick"; "selectMultiple": "selectMultiple"; "dataListLabel": "dataListLabel"; "dataCardsLabel": "dataCardsLabel"; }, { "selected": "selected"; }, ["templates"], never, false, never>;
101
102
  }
@@ -5,7 +5,6 @@ export declare class TabLabelContentBase {
5
5
  icon?: IconDefinition;
6
6
  disabled: boolean;
7
7
  selected: boolean;
8
- get tabIcon(): IconDefinition;
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelContentBase, never>;
10
9
  static ɵdir: i0.ɵɵDirectiveDeclaration<TabLabelContentBase, never, never, { "label": "label"; "icon": "icon"; "disabled": "disabled"; "selected": "selected"; }, {}, never, never, false, never>;
11
10
  }
@@ -1,9 +1,7 @@
1
- import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
2
1
  import { TabLabelContentBase } from '../tab-label-content-base.component';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class TabLabelLineComponent extends TabLabelContentBase {
5
4
  image: string | null;
6
- get tabLineIcon(): IconDefinition | null;
7
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TabLabelLineComponent, never>;
8
6
  static ɵcmp: i0.ɵɵComponentDeclaration<TabLabelLineComponent, "sfc-tab-label-line", never, { "image": "image"; }, {}, never, ["*"], false, never>;
9
7
  }
@@ -5,6 +5,7 @@ import { TabService } from './service/tab.service';
5
5
  import { TabsTemplate } from './tabs-template.enum';
6
6
  import { ITabsViewModel } from './models/tabs-view.model';
7
7
  import { ITabModel } from './models/tab.model';
8
+ import { empty } from 'ngx-sfc-common';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class TabsComponent implements OnInit {
10
11
  private tabService;
@@ -17,6 +18,7 @@ export declare class TabsComponent implements OnInit {
17
18
  templates: QueryList<TemplateReferenceDirective> | undefined;
18
19
  vm$?: Observable<ITabsViewModel>;
19
20
  private tabsSubject?;
21
+ data: any | empty;
20
22
  constructor(tabService: TabService);
21
23
  ngOnInit(): void;
22
24
  selectTab(tab: ITabModel, index: number): void;
@@ -1,9 +1,10 @@
1
- import { ITagModel } from './parts/tag/tag.model';
2
- import { ITagModel as test } from 'ngx-sfc-common';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ITagModel } from 'ngx-sfc-common';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TagsComponent {
5
- tags: ITagModel[];
6
- tags1: test[];
5
+ tags: any[];
6
+ remove: EventEmitter<ITagModel>;
7
+ onRemove(model: ITagModel): void;
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<TagsComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<TagsComponent, "sfc-tags", never, { "tags": "tags"; "tags1": "tags1"; }, {}, never, never, false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<TagsComponent, "sfc-tags", never, { "tags": "tags"; }, { "remove": "remove"; }, never, never, false, never>;
9
10
  }
@@ -22,32 +22,31 @@ import * as i20 from "./components/progress/line/progress-line.component";
22
22
  import * as i21 from "./components/progress/semi-circle/progress-semi-circle.component";
23
23
  import * as i22 from "./components/progress/circle/progress-circle.component";
24
24
  import * as i23 from "./components/tags/tags.component";
25
- import * as i24 from "./components/tags/parts/tag/tag.component";
26
- import * as i25 from "./components/slider/slider.component";
27
- import * as i26 from "./components/slider/parts/item/slider-item.component";
28
- import * as i27 from "./components/slider/parts/button/slider-button.component";
29
- import * as i28 from "./components/slider/parts/pagination/slider-pagination.component";
30
- import * as i29 from "./components/timeline/timeline.component";
31
- import * as i30 from "./components/timeline/parts/item/timeline-item.component";
32
- import * as i31 from "./components/notification/notification.component";
33
- import * as i32 from "./components/notification/parts/content/notification-content.component";
34
- import * as i33 from "./components/chart/chart.component";
35
- import * as i34 from "./components/table/table.component";
36
- import * as i35 from "./components/table/parts/columns/default/default-table-column.component";
37
- import * as i36 from "./components/table/parts/columns/selectable/selectable-table-column.component";
38
- import * as i37 from "./components/table/parts/toggle/columns-toggle.component";
39
- import * as i38 from "./components/table/parts/columns/sorting/sorting-column.component";
40
- import * as i39 from "./components/table/parts/content/rows/default/default-table-row.component";
41
- import * as i40 from "./components/table/parts/content/rows/expanded/expanded-table-row.component";
42
- import * as i41 from "./components/table/parts/content/cards/default/default-table-card.component";
43
- import * as i42 from "./components/carousel/carousel.component";
44
- import * as i43 from "./components/carousel/parts/stage/carousel-stage.component";
45
- import * as i44 from "./components/carousel/directive/carousel-slide.directive";
46
- import * as i45 from "@angular/common";
47
- import * as i46 from "@fortawesome/angular-fontawesome";
48
- import * as i47 from "ngx-sfc-common";
25
+ import * as i24 from "./components/slider/slider.component";
26
+ import * as i25 from "./components/slider/parts/item/slider-item.component";
27
+ import * as i26 from "./components/slider/parts/button/slider-button.component";
28
+ import * as i27 from "./components/slider/parts/pagination/slider-pagination.component";
29
+ import * as i28 from "./components/timeline/timeline.component";
30
+ import * as i29 from "./components/timeline/parts/item/timeline-item.component";
31
+ import * as i30 from "./components/notification/notification.component";
32
+ import * as i31 from "./components/notification/parts/content/notification-content.component";
33
+ import * as i32 from "./components/chart/chart.component";
34
+ import * as i33 from "./components/table/table.component";
35
+ import * as i34 from "./components/table/parts/columns/default/default-table-column.component";
36
+ import * as i35 from "./components/table/parts/columns/selectable/selectable-table-column.component";
37
+ import * as i36 from "./components/table/parts/toggle/columns-toggle.component";
38
+ import * as i37 from "./components/table/parts/columns/sorting/sorting-column.component";
39
+ import * as i38 from "./components/table/parts/content/rows/default/default-table-row.component";
40
+ import * as i39 from "./components/table/parts/content/rows/expanded/expanded-table-row.component";
41
+ import * as i40 from "./components/table/parts/content/cards/default/default-table-card.component";
42
+ import * as i41 from "./components/carousel/carousel.component";
43
+ import * as i42 from "./components/carousel/parts/stage/carousel-stage.component";
44
+ import * as i43 from "./components/carousel/directive/carousel-slide.directive";
45
+ import * as i44 from "@angular/common";
46
+ import * as i45 from "@fortawesome/angular-fontawesome";
47
+ import * as i46 from "ngx-sfc-common";
49
48
  export declare class NgxSfcComponentsModule {
50
49
  static ɵfac: i0.ɵɵFactoryDeclaration<NgxSfcComponentsModule, never>;
51
- 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.RouterMenuComponent, typeof i16.RouterMenuItemComponent, typeof i17.StarsComponent, typeof i18.AvatarComponent, typeof i19.AvatarBadgeComponent, typeof i20.ProgressLineComponent, typeof i21.ProgressSemiCircleComponent, typeof i22.ProgressCircleComponent, typeof i23.TagsComponent, typeof i24.Tag2Component, typeof i25.SliderComponent, typeof i26.SliderItemComponent, typeof i27.SliderButtonComponent, typeof i28.SliderPaginationComponent, typeof i29.TimelineComponent, typeof i30.TimelineItemComponent, typeof i31.NotificationComponent, typeof i32.NotificationContentComponent, typeof i33.ChartComponent, typeof i34.TableComponent, typeof i35.DefaultTableColumnComponent, typeof i36.SelectableTableColumnComponent, typeof i37.ColumnsToggleComponent, typeof i38.SortingColumnComponent, typeof i39.DefaultTableRowComponent, typeof i40.ExpandedTableRowComponent, typeof i41.DefaultTableCardComponent, typeof i42.CarouselComponent, typeof i43.CarouselStageComponent, typeof i44.CarouselSlideDirective], [typeof i45.CommonModule, typeof i46.FontAwesomeModule, typeof i47.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.RouterMenuComponent, typeof i17.StarsComponent, typeof i18.AvatarComponent, typeof i20.ProgressLineComponent, typeof i21.ProgressSemiCircleComponent, typeof i22.ProgressCircleComponent, typeof i23.TagsComponent, typeof i25.SliderComponent, typeof i29.TimelineComponent, typeof i31.NotificationComponent, typeof i33.ChartComponent, typeof i34.TableComponent, typeof i40.ExpandedTableRowComponent, typeof i42.CarouselComponent, typeof i44.CarouselSlideDirective]>;
50
+ 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.RouterMenuComponent, typeof i16.RouterMenuItemComponent, typeof i17.StarsComponent, typeof i18.AvatarComponent, typeof i19.AvatarBadgeComponent, typeof i20.ProgressLineComponent, typeof i21.ProgressSemiCircleComponent, typeof i22.ProgressCircleComponent, typeof i23.TagsComponent, typeof i24.SliderComponent, typeof i25.SliderItemComponent, typeof i26.SliderButtonComponent, typeof i27.SliderPaginationComponent, typeof i28.TimelineComponent, typeof i29.TimelineItemComponent, typeof i30.NotificationComponent, typeof i31.NotificationContentComponent, typeof i32.ChartComponent, typeof i33.TableComponent, typeof i34.DefaultTableColumnComponent, typeof i35.SelectableTableColumnComponent, typeof i36.ColumnsToggleComponent, typeof i37.SortingColumnComponent, typeof i38.DefaultTableRowComponent, typeof i39.ExpandedTableRowComponent, typeof i40.DefaultTableCardComponent, typeof i41.CarouselComponent, typeof i42.CarouselStageComponent, typeof i43.CarouselSlideDirective], [typeof i44.CommonModule, typeof i45.FontAwesomeModule, typeof i46.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.RouterMenuComponent, typeof i17.StarsComponent, typeof i18.AvatarComponent, typeof i20.ProgressLineComponent, typeof i21.ProgressSemiCircleComponent, typeof i22.ProgressCircleComponent, typeof i23.TagsComponent, typeof i24.SliderComponent, typeof i28.TimelineComponent, typeof i30.NotificationComponent, typeof i32.ChartComponent, typeof i33.TableComponent, typeof i39.ExpandedTableRowComponent, typeof i41.CarouselComponent, typeof i43.CarouselSlideDirective]>;
52
51
  static ɵinj: i0.ɵɵInjectorDeclaration<NgxSfcComponentsModule>;
53
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-sfc-components",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "Angular components library for SFC project",
5
5
  "keywords": [
6
6
  "Street Football Club",
@@ -25,7 +25,7 @@
25
25
  "@fortawesome/angular-fontawesome": "0.10.2",
26
26
  "@fortawesome/fontawesome-svg-core": "^6.1.1",
27
27
  "@fortawesome/free-solid-svg-icons": "^6.1.1",
28
- "ngx-sfc-common": "^0.0.31"
28
+ "ngx-sfc-common": "^0.0.33"
29
29
  },
30
30
  "dependencies": {
31
31
  "tslib": "^2.3.0"
@@ -1,19 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import { CommonConstants } from 'ngx-sfc-common';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "ngx-sfc-common";
6
- export class Tag2Component {
7
- constructor() {
8
- this.model = { label: CommonConstants.EMPTY_STRING };
9
- }
10
- }
11
- Tag2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: Tag2Component, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
- Tag2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: Tag2Component, selector: "sfc-tag2", inputs: { model: "model" }, ngImport: i0, template: "<div class=\"container\">\r\n <a class=\"tag\">\r\n <div class=\"content\">\r\n <sfc-icon *ngIf=\"model.icon || model.imageSrc\" [icon]=\"model.icon\" [imageSrc]=\"model.imageSrc\"></sfc-icon>\r\n <span>{{model.label}}</span>\r\n </div>\r\n </a>\r\n</div>", styles: [":host{display:inline-flex;margin:0 .18em}:host .container{margin-top:.3em;font-size:.8em;-webkit-user-select:none;user-select:none}:host .container .tag{display:inline-flex;border-radius:1em;font-weight:700;color:#545e61;transition:color .5s ease;transition:background-color .5s ease;transition:color .5s ease,background-color .5s ease;border:.125em solid transparent;padding:.3em}:host .container .tag,:host-context(.sfc-default-theme) :host .container .tag{color:#fff}:host-context(.sfc-dark-theme) :host .container .tag{color:#545e61}:host .container .tag,:host-context(.sfc-default-theme) :host .container .tag{background-color:#545e61}:host-context(.sfc-dark-theme) :host .container .tag{background-color:#fff}:host .container .tag .content{display:flex;align-items:center;text-align:center;padding:0 .8em}:host .container .tag .content fa-icon{margin-right:.18em}:host .container:hover .tag{background-color:#ffce54;color:#fff}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "sfc-icon", inputs: ["icon", "imageSrc"] }] });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: Tag2Component, decorators: [{
14
- type: Component,
15
- args: [{ selector: 'sfc-tag2', template: "<div class=\"container\">\r\n <a class=\"tag\">\r\n <div class=\"content\">\r\n <sfc-icon *ngIf=\"model.icon || model.imageSrc\" [icon]=\"model.icon\" [imageSrc]=\"model.imageSrc\"></sfc-icon>\r\n <span>{{model.label}}</span>\r\n </div>\r\n </a>\r\n</div>", styles: [":host{display:inline-flex;margin:0 .18em}:host .container{margin-top:.3em;font-size:.8em;-webkit-user-select:none;user-select:none}:host .container .tag{display:inline-flex;border-radius:1em;font-weight:700;color:#545e61;transition:color .5s ease;transition:background-color .5s ease;transition:color .5s ease,background-color .5s ease;border:.125em solid transparent;padding:.3em}:host .container .tag,:host-context(.sfc-default-theme) :host .container .tag{color:#fff}:host-context(.sfc-dark-theme) :host .container .tag{color:#545e61}:host .container .tag,:host-context(.sfc-default-theme) :host .container .tag{background-color:#545e61}:host-context(.sfc-dark-theme) :host .container .tag{background-color:#fff}:host .container .tag .content{display:flex;align-items:center;text-align:center;padding:0 .8em}:host .container .tag .content fa-icon{margin-right:.18em}:host .container:hover .tag{background-color:#ffce54;color:#fff}\n"] }]
16
- }], propDecorators: { model: [{
17
- type: Input
18
- }] } });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zZmMtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvdGFncy9wYXJ0cy90YWcvdGFnLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zZmMtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvdGFncy9wYXJ0cy90YWcvdGFnLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7OztBQVFqRCxNQUFNLE9BQU8sYUFBYTtJQUwxQjtRQVFFLFVBQUssR0FBYyxFQUFFLEtBQUssRUFBRSxlQUFlLENBQUMsWUFBWSxFQUFFLENBQUM7S0FFNUQ7OzBHQUxZLGFBQWE7OEZBQWIsYUFBYSw0RUNUMUIsMlNBT007MkZERU8sYUFBYTtrQkFMekIsU0FBUzsrQkFDRSxVQUFVOzhCQU9wQixLQUFLO3NCQURKLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IENvbW1vbkNvbnN0YW50cyB9IGZyb20gJ25neC1zZmMtY29tbW9uJztcclxuaW1wb3J0IHsgSVRhZ01vZGVsIH0gZnJvbSAnLi90YWcubW9kZWwnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdzZmMtdGFnMicsXHJcbiAgdGVtcGxhdGVVcmw6ICcuL3RhZy5jb21wb25lbnQuaHRtbCcsXHJcbiAgc3R5bGVVcmxzOiBbJy4vdGFnLmNvbXBvbmVudC5zY3NzJ11cclxufSlcclxuZXhwb3J0IGNsYXNzIFRhZzJDb21wb25lbnQge1xyXG5cclxuICBASW5wdXQoKVxyXG4gIG1vZGVsOiBJVGFnTW9kZWwgPSB7IGxhYmVsOiBDb21tb25Db25zdGFudHMuRU1QVFlfU1RSSU5HIH07XHJcblxyXG59XHJcbiIsIjxkaXYgY2xhc3M9XCJjb250YWluZXJcIj5cclxuICAgIDxhIGNsYXNzPVwidGFnXCI+XHJcbiAgICAgICAgPGRpdiBjbGFzcz1cImNvbnRlbnRcIj5cclxuICAgICAgICAgICAgPHNmYy1pY29uICpuZ0lmPVwibW9kZWwuaWNvbiB8fCBtb2RlbC5pbWFnZVNyY1wiIFtpY29uXT1cIm1vZGVsLmljb25cIiBbaW1hZ2VTcmNdPVwibW9kZWwuaW1hZ2VTcmNcIj48L3NmYy1pY29uPlxyXG4gICAgICAgICAgICA8c3Bhbj57e21vZGVsLmxhYmVsfX08L3NwYW4+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICA8L2E+XHJcbjwvZGl2PiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNmYy1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy90YWdzL3BhcnRzL3RhZy90YWcubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEljb25EZWZpbml0aW9uIH0gZnJvbSBcIkBmb3J0YXdlc29tZS9mcmVlLXNvbGlkLXN2Zy1pY29uc1wiO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJVGFnTW9kZWwge1xyXG4gICAgbGFiZWw6IHN0cmluZztcclxuICAgIGljb24/OiBJY29uRGVmaW5pdGlvbjtcclxuICAgIGltYWdlU3JjPzogc3RyaW5nO1xyXG59Il19
@@ -1,7 +0,0 @@
1
- import { ITagModel } from './tag.model';
2
- import * as i0 from "@angular/core";
3
- export declare class Tag2Component {
4
- model: ITagModel;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<Tag2Component, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<Tag2Component, "sfc-tag2", never, { "model": "model"; }, {}, never, never, false, never>;
7
- }
@@ -1,6 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/free-solid-svg-icons";
2
- export interface ITagModel {
3
- label: string;
4
- icon?: IconDefinition;
5
- imageSrc?: string;
6
- }