@naniteninja/dashboard-components-lib 2.0.3 → 2.0.5

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/index.d.ts CHANGED
@@ -1,10 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { TemplateRef, OnInit, AfterViewInit, ElementRef, EventEmitter, ChangeDetectorRef, PipeTransform, ModuleWithProviders, OnDestroy, OnChanges, SimpleChanges, InjectionToken } from '@angular/core';
3
3
  import * as i6 from '@naniteninja/ionic-lib';
4
- import { LibMenuItem, LocationModel, SelectOption, ImageModel, PopupModalService, BaseComponent, FormFieldType as FormFieldType$1, EmojiPickerConfig, InputFieldComponent, Profile, GridColumn } from '@naniteninja/ionic-lib';
4
+ import { LibMenuItem, LocationModel, SelectOption, ImageModel, PopupModalService, BaseComponent, FormFieldType as FormFieldType$1, EmojiPickerConfig, InputFieldComponent, Profile } from '@naniteninja/ionic-lib';
5
5
  import { Observable, BehaviorSubject } from 'rxjs';
6
6
  import * as i2 from '@angular/common';
7
- import { CurrencyPipe } from '@angular/common';
8
7
  import * as i3 from '@ionic/angular';
9
8
  import * as i5 from '@ngx-translate/core';
10
9
  import { TranslateService } from '@ngx-translate/core';
@@ -19,7 +18,6 @@ import * as i10 from 'ngx-infinite-scroll';
19
18
  import { INodeData } from '@naniteninja/trait-visual';
20
19
  import * as d3 from 'd3';
21
20
  import { SwiperOptions } from 'swiper/types';
22
- import moment from 'moment';
23
21
 
24
22
  interface IAd {
25
23
  id?: string;
@@ -1158,8 +1156,10 @@ declare class ChatSuggestionComponent {
1158
1156
  static ɵcmp: i0.ɵɵComponentDeclaration<ChatSuggestionComponent, "lib-chat-suggestion", never, { "chatSuggestions": { "alias": "chatSuggestions"; "required": false; }; }, { "suggestClicked": "suggestClicked"; }, never, never, true, never>;
1159
1157
  }
1160
1158
 
1161
- interface SelectOptionWithTemplate<T> extends SelectOption<T> {
1162
- addOnTemplateRef?: TemplateRef<HTMLElement>;
1159
+ interface SelectOptionWithTemplate<T> {
1160
+ label: string;
1161
+ value: T;
1162
+ addOnTemplateRef?: any;
1163
1163
  }
1164
1164
 
1165
1165
  declare abstract class AbstractCacheService {
@@ -1815,27 +1815,12 @@ declare class CountNonEmptyFieldsPipe implements PipeTransform {
1815
1815
  static ɵpipe: i0.ɵɵPipeDeclaration<CountNonEmptyFieldsPipe, "countNonEmptyFields", false>;
1816
1816
  }
1817
1817
 
1818
- declare class DateLocalizationPipe implements PipeTransform {
1819
- transform(value: string | moment.Moment, dateFormat: string): string;
1820
- static ɵfac: i0.ɵɵFactoryDeclaration<DateLocalizationPipe, never>;
1821
- static ɵpipe: i0.ɵɵPipeDeclaration<DateLocalizationPipe, "dateLocalization", false>;
1822
- }
1823
-
1824
1818
  declare class GetColorByMatcherPipe implements PipeTransform {
1825
1819
  transform(match: ILibClientMatchOverview, config: IHomeDashboardInputs): IPartialCircleProgressColors;
1826
1820
  static ɵfac: i0.ɵɵFactoryDeclaration<GetColorByMatcherPipe, never>;
1827
1821
  static ɵpipe: i0.ɵɵPipeDeclaration<GetColorByMatcherPipe, "getColorByMatcher", true>;
1828
1822
  }
1829
1823
 
1830
- declare class GetDisplayValuePipe implements PipeTransform {
1831
- private dateLocalizationPipe;
1832
- private currencyPipe;
1833
- constructor(dateLocalizationPipe: DateLocalizationPipe, currencyPipe: CurrencyPipe);
1834
- transform(data: any, column: GridColumn, dateFormat: string, corporateCurrency?: string): string;
1835
- static ɵfac: i0.ɵɵFactoryDeclaration<GetDisplayValuePipe, never>;
1836
- static ɵpipe: i0.ɵɵPipeDeclaration<GetDisplayValuePipe, "getDisplayValue", false>;
1837
- }
1838
-
1839
1824
  declare class GetMultiSelectDisplayTextPipe implements PipeTransform {
1840
1825
  transform(formValue: any[], options: SelectOption<any>[]): string;
1841
1826
  static ɵfac: i0.ɵɵFactoryDeclaration<GetMultiSelectDisplayTextPipe, never>;
@@ -1870,5 +1855,5 @@ declare class ProgressTickerService {
1870
1855
  static ɵprov: i0.ɵɵInjectableDeclaration<ProgressTickerService>;
1871
1856
  }
1872
1857
 
1873
- export { AbstractCacheService, AgendaComponent, AlertPopupComponent, AlertStatusFields, ArraySortPipe, AutoDelegationEventTypes, AutoDelegationEventValue, CONVERSATION_FLAG, COUNTER_FLAG_BASE, CalendarAccountEnum, CalendarAccountIconsEnum, CalendarUtilsService, ChatComponent, ChatMetaPipe, ChatService, ChatSuggestionComponent, CircleProgressComponent, CircleProgressModule, CircleVariable, ClientDashboardTabs, ClientHomeComponent, CommonOperations, CountNonEmptyFieldsPipe, DateLocalizationPipe, EditRecurringEventOptions, EventTypes, GetColorByMatcherPipe, GetDisplayValuePipe, GetMultiSelectDisplayTextPipe, GetProfileWithProgressPipe, HandoffPanelVersion, INNER_CIRCLE_STATE, InitialsPipe, IsStatusIncludedPipe, LibAgendaModule, LibAutoDelegationModalComponent, LibChatComponentModule, LibClientDashboardComponent, LibClientHomeComponent, LibClientMatchOverviewComponent, LibComposeMacherDashComponent, LibDashboardSwipeableTabsComponent, LibEventFormComponent, LibEventFormModule, LibHandoffPanelComponent, LibMessageModalComponent, LibProfileComparisonComponent, LibSchedulerComponent, LibVisualManagerModalComponent, MATCHER_STATUSES, MatcherStatuses, MatcherStatusesComponent, PROGRESS_GAP_MINUTES, ProfileCardComponent, ProfileCardModule, ProgressTickerService, RecurringTypes, RoundPipe, ScheduleDateStatus, SenderTypes, SharedModule, SpiderChartComponent, StatusIconComponent, TICK_PERIOD_SECONDS, VisualManagerModalEventTypes, VisualManagerModalEventValue, circleData, computeInnerState, dashboardMainSwiperDefaultOptions, dashboardThumbsSwiperDefaultOptions, defaultClientDashboardConfig, defaultClientHomeConfig, defaultSpiderConfig, defsF, defsLG, defsRG, demoPolygonColors, innerProgressDefaultColors, innerProgressPinkColors, innerProgressPurpleColors, innerProgressWhiteColors, mainswiperDefaultOptions, progressDefaultColors, progressWhiteColors, recurringOptions, thumbsSwiperDefaultOptions };
1874
- export type { CircleProgressConfig, IAgendaDay, IAgendaEvent, IAttachment, IAutoDelegationData, IAutoDelegationEvent, IAutoDelegationModalData, IAutoDelegationPreferences, ICalendarAccount, ICalendarAccountTheme, IChartData, IChatIdentifier, IChatMeta, IChatSuggestion, ICircleData, IClientDashboardInputs, IConversationFlag, IDashboardMatchRequest, IDashboardMatcherProfile, IDataset, IDateMessages, IDatePrepInfo, IDefsF, IDefsLG, IDefsRG, IEvent, IEventFormOutput, IEventTime, IHandoffPanelInputs, IHomeDashboardInputs, IInnerPartialCircleProgressColors, ILibClientMatchOverview, IMatcherDashboardInputs, IMessage, IPartialCircleProgressColors, IPolygonColor, IPreferenceItem, IProfileAttribute, IProfileComparisonData, IProfileComparisonInputs, IProspectData, IRecurringEvent, IRecurringEventException, IRecurringPattern, IScheduleSlot, ISchedulerAction, ISchedulerEvent, ISchedulerEventSlots, ISchedulerEventSuggestion, ISpiderChartAttribute, ISpiderChartConfig, IVisualManagerModalData, IVisualManagerModalEvent, IVisualManagerModalModalData, ProgressFacts };
1858
+ export { AbstractCacheService, AgendaComponent, AlertPopupComponent, AlertStatusFields, ArraySortPipe, AutoDelegationEventTypes, AutoDelegationEventValue, CONVERSATION_FLAG, COUNTER_FLAG_BASE, CalendarAccountEnum, CalendarAccountIconsEnum, CalendarUtilsService, ChatComponent, ChatMetaPipe, ChatService, ChatSuggestionComponent, CircleProgressComponent, CircleProgressModule, CircleVariable, ClientDashboardTabs, ClientHomeComponent, CommonOperations, CountNonEmptyFieldsPipe, EditRecurringEventOptions, EventTypes, GetColorByMatcherPipe, GetMultiSelectDisplayTextPipe, GetProfileWithProgressPipe, HandoffPanelVersion, INNER_CIRCLE_STATE, InitialsPipe, IsStatusIncludedPipe, LibAgendaModule, LibAutoDelegationModalComponent, LibChatComponentModule, LibClientDashboardComponent, LibClientHomeComponent, LibClientMatchOverviewComponent, LibComposeMacherDashComponent, LibDashboardSwipeableTabsComponent, LibEventFormComponent, LibEventFormModule, LibHandoffPanelComponent, LibMessageModalComponent, LibProfileComparisonComponent, LibSchedulerComponent, LibVisualManagerModalComponent, MATCHER_STATUSES, MatcherStatuses, MatcherStatusesComponent, PROGRESS_GAP_MINUTES, ProfileCardComponent, ProfileCardModule, ProgressTickerService, RecurringTypes, RoundPipe, ScheduleDateStatus, SenderTypes, SharedModule, SpiderChartComponent, StatusIconComponent, TICK_PERIOD_SECONDS, VisualManagerModalEventTypes, VisualManagerModalEventValue, circleData, computeInnerState, dashboardMainSwiperDefaultOptions, dashboardThumbsSwiperDefaultOptions, defaultClientDashboardConfig, defaultClientHomeConfig, defaultSpiderConfig, defsF, defsLG, defsRG, demoPolygonColors, innerProgressDefaultColors, innerProgressPinkColors, innerProgressPurpleColors, innerProgressWhiteColors, mainswiperDefaultOptions, progressDefaultColors, progressWhiteColors, recurringOptions, thumbsSwiperDefaultOptions };
1859
+ export type { CircleProgressConfig, IAgendaDay, IAgendaEvent, IAttachment, IAutoDelegationData, IAutoDelegationEvent, IAutoDelegationModalData, IAutoDelegationPreferences, ICalendarAccount, ICalendarAccountTheme, IChartData, IChatIdentifier, IChatMeta, IChatSuggestion, ICircleData, IClientDashboardInputs, IConversationFlag, IDashboardMatchRequest, IDashboardMatcherProfile, IDataset, IDateMessages, IDatePrepInfo, IDefsF, IDefsLG, IDefsRG, IEvent, IEventFormOutput, IEventTime, IHandoffPanelInputs, IHomeDashboardInputs, IInnerPartialCircleProgressColors, ILibClientMatchOverview, IMatcherDashboardInputs, IMessage, IPartialCircleProgressColors, IPolygonColor, IPreferenceItem, IProfileAttribute, IProfileComparisonData, IProfileComparisonInputs, IProspectData, IRecurringEvent, IRecurringEventException, IRecurringPattern, IScheduleSlot, ISchedulerAction, ISchedulerEvent, ISchedulerEventSlots, ISchedulerEventSuggestion, ISpiderChartAttribute, ISpiderChartConfig, IVisualManagerModalData, IVisualManagerModalEvent, IVisualManagerModalModalData, ProgressFacts, SelectOptionWithTemplate };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naniteninja/dashboard-components-lib",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "author": "naniteninja",
5
5
  "repository": {
6
6
  "type": "git"
@@ -18,8 +18,6 @@
18
18
  "d3": "^7.9.0",
19
19
  "date-fns": "^4.1.0",
20
20
  "emoji-picker-element": "^1.26.3",
21
- "moment": "^2.30.1",
22
- "ngx-image-cropper": "^9.1.5",
23
21
  "ngx-infinite-scroll": "^20.0.0",
24
22
  "primeng": "^20.1.2",
25
23
  "rrule": "^2.8.1",