@memberjunction/ng-timeline 2.48.0 → 2.50.0

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.
@@ -1,12 +1,3 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
1
  import { Component, Input } from '@angular/core';
11
2
  import { RunView } from '@memberjunction/core';
12
3
  import * as i0 from "@angular/core";
@@ -16,64 +7,80 @@ import * as i2 from "@progress/kendo-angular-layout";
16
7
  *
17
8
  */
18
9
  export class TimelineGroup {
19
- constructor() {
20
- /**
21
- * Specifies if the data will come from a provided array of BaseEntity objects - the EntityObjects array, or alternatively, from this object running its own view against the provided EntityName, optionally with a provided Filter (or without).
22
- */
23
- this.DataSourceType = 'entity';
24
- /**
25
- * The actual data you want displayed in this group. This is an array of BaseEntity objects that will be displayed in the timeline. You can populate this array from a view or any other source.
26
- */
27
- this.EntityObjects = [];
28
- /**
29
- * Use standard or custom icons, if custom is specified, the DisplayIcon property must be set
30
- */
31
- this.DisplayIconMode = 'standard';
32
- /**
33
- * Color mode for items in this group, defaults to auto-selected in which case the color will be determined by the system automatically based on the # of groups
34
- */
35
- this.DisplayColorMode = 'auto';
36
- /**
37
- * When set to field, the SummaryFieldName will be used to display detailed information about the record in the timeline. If set to custom, you need to provide
38
- * a function for the SummaryFunction property. If set to none, no summary will be displayed.
39
- */
40
- this.SummaryMode = 'field';
41
- }
10
+ /**
11
+ * Entity name for the type of records to be displayed in this group
12
+ */
13
+ EntityName;
14
+ /**
15
+ * Specifies if the data will come from a provided array of BaseEntity objects - the EntityObjects array, or alternatively, from this object running its own view against the provided EntityName, optionally with a provided Filter (or without).
16
+ */
17
+ DataSourceType = 'entity';
18
+ /**
19
+ * An optional filter that will be applied to the entity specified to reduce the number of records displayed
20
+ */
21
+ Filter;
22
+ /**
23
+ * The actual data you want displayed in this group. This is an array of BaseEntity objects that will be displayed in the timeline. You can populate this array from a view or any other source.
24
+ */
25
+ EntityObjects = [];
26
+ /**
27
+ * The name of the field in the entity that contains the title of the record that will be displayed in the timeline
28
+ */
29
+ TitleFieldName;
30
+ /**
31
+ * The name of the field in the entity that contains the date that will be used for the ordering in the timeline
32
+ */
33
+ DateFieldName;
34
+ /**
35
+ * Use standard or custom icons, if custom is specified, the DisplayIcon property must be set
36
+ */
37
+ DisplayIconMode = 'standard';
38
+ /**
39
+ * Only used if DisplayIconMode is set to custom, the CSS class name to use from Font Awesome (or any other library that has styles pre-loaded), for the span that will be shown
40
+ */
41
+ DisplayIcon;
42
+ /**
43
+ * Color mode for items in this group, defaults to auto-selected in which case the color will be determined by the system automatically based on the # of groups
44
+ */
45
+ DisplayColorMode = 'auto';
46
+ /**
47
+ * Only used if DisplayColorMode is set to manual, the color to use for the items in this group. Any valid color string that can be set into the element style via CSS is valid here.
48
+ */
49
+ DisplayColor;
50
+ /**
51
+ * When set to field, the SummaryFieldName will be used to display detailed information about the record in the timeline. If set to custom, you need to provide
52
+ * a function for the SummaryFunction property. If set to none, no summary will be displayed.
53
+ */
54
+ SummaryMode = 'field';
55
+ /**
56
+ * When SummaryMode is set to 'custom', this function will be used to generate the summary for the record. The function should take a single parameter, the BaseEntity object and will return a string.
57
+ * The string returned can be plain text or HTML and will be displayed in the timeline.
58
+ */
59
+ SummaryFunction;
42
60
  /**
43
61
  * Creates a new instance of the TimelineGroup class using the information from the RunViewParams provided.
44
62
  * After receiving back the new object, you can set other properties of the new instance as appropriate.
45
63
  * @param params
46
64
  * @returns
47
65
  */
48
- static FromView(params) {
49
- return __awaiter(this, void 0, void 0, function* () {
50
- const group = new TimelineGroup();
51
- const rv = new RunView();
52
- params.ResultType = 'entity_object'; // this might be already set but we want to make sure of it
53
- const result = yield rv.RunView(params);
54
- if (result && result.Success) {
55
- group.EntityName = yield RunView.GetEntityNameFromRunViewParams(params);
56
- group.EntityObjects = result.Results;
57
- }
58
- return group;
59
- });
66
+ static async FromView(params) {
67
+ const group = new TimelineGroup();
68
+ const rv = new RunView();
69
+ params.ResultType = 'entity_object'; // this might be already set but we want to make sure of it
70
+ const result = await rv.RunView(params);
71
+ if (result && result.Success) {
72
+ group.EntityName = await RunView.GetEntityNameFromRunViewParams(params);
73
+ group.EntityObjects = result.Results;
74
+ }
75
+ return group;
60
76
  }
61
77
  }
62
78
  /**
63
79
  * Displays data on a timeline UI so that information can see a chronolgoical display of the provided data.
64
80
  */
65
81
  export class TimelineComponent {
66
- constructor() {
67
- this._groups = [];
68
- this.DisplayOrientation = 'vertical';
69
- this._deferLoadCount = 0;
70
- this._allowLoad = true;
71
- /*
72
- * events is the array of timeline events that gets updated on each call of LoadSingleGroup.
73
- * timelineGroupEvents is the array of total timeline events that will get called used by the timeline component.
74
- */
75
- this.events = [];
76
- }
82
+ _groups = [];
83
+ DisplayOrientation = 'vertical';
77
84
  /**
78
85
  * Provide an array of one or more TimelineGroup objects to display the data in the timeline. Each group will be displayed in a different color and icon.
79
86
  */
@@ -85,6 +92,8 @@ export class TimelineComponent {
85
92
  if (this.AllowLoad)
86
93
  this.Refresh();
87
94
  }
95
+ _deferLoadCount = 0;
96
+ _allowLoad = true;
88
97
  /**
89
98
  * Set this property to false to prevent the timeline from loading the data. This is useful when you want to load the data yourself and then set this property to true to display the data.
90
99
  */
@@ -98,54 +107,53 @@ export class TimelineComponent {
98
107
  this.Refresh();
99
108
  }
100
109
  }
101
- ngAfterViewInit() {
102
- return __awaiter(this, void 0, void 0, function* () {
103
- if (this.AllowLoad)
104
- yield this.Refresh();
105
- });
110
+ /*
111
+ * events is the array of timeline events that gets updated on each call of LoadSingleGroup.
112
+ * timelineGroupEvents is the array of total timeline events that will get called used by the timeline component.
113
+ */
114
+ events = [];
115
+ async ngAfterViewInit() {
116
+ if (this.AllowLoad)
117
+ await this.Refresh();
106
118
  }
107
119
  /**
108
120
  * This method refreshes the timeline with the data from the provided parameters.
109
121
  */
110
- Refresh() {
111
- return __awaiter(this, void 0, void 0, function* () {
112
- this.events.splice(0, this.events.length); // clear out what we have
113
- if (this.Groups && this.Groups.length > 0) {
114
- for (const g of this.Groups) {
115
- yield this.LoadSingleGroup(g);
116
- }
122
+ async Refresh() {
123
+ this.events.splice(0, this.events.length); // clear out what we have
124
+ if (this.Groups && this.Groups.length > 0) {
125
+ for (const g of this.Groups) {
126
+ await this.LoadSingleGroup(g);
117
127
  }
118
- });
128
+ }
119
129
  }
120
130
  /**
121
131
  * This method loads the data for a single group and adds it to the timelineGroupEvents array.
122
132
  * @param group
123
133
  */
124
- LoadSingleGroup(group) {
125
- return __awaiter(this, void 0, void 0, function* () {
126
- // load up the events for the specified group into the events array
127
- let newItems = [];
128
- switch (group.DataSourceType) {
129
- case 'array':
130
- // use the provided array
131
- if (!group.EntityObjects)
132
- throw new Error("No EntityObjects provided for group");
133
- newItems = this.mapEntityObjectsToEvents(group, group.EntityObjects);
134
- break;
135
- case 'entity':
136
- // use run view
137
- const rv = new RunView();
138
- const result = yield rv.RunView({
139
- EntityName: group.EntityName,
140
- ExtraFilter: group.Filter,
141
- ResultType: 'entity_object'
142
- });
143
- if (result && result.Success)
144
- newItems = this.mapEntityObjectsToEvents(group, result.Results);
145
- break;
146
- }
147
- this.events.push(...newItems);
148
- });
134
+ async LoadSingleGroup(group) {
135
+ // load up the events for the specified group into the events array
136
+ let newItems = [];
137
+ switch (group.DataSourceType) {
138
+ case 'array':
139
+ // use the provided array
140
+ if (!group.EntityObjects)
141
+ throw new Error("No EntityObjects provided for group");
142
+ newItems = this.mapEntityObjectsToEvents(group, group.EntityObjects);
143
+ break;
144
+ case 'entity':
145
+ // use run view
146
+ const rv = new RunView();
147
+ const result = await rv.RunView({
148
+ EntityName: group.EntityName,
149
+ ExtraFilter: group.Filter,
150
+ ResultType: 'entity_object'
151
+ });
152
+ if (result && result.Success)
153
+ newItems = this.mapEntityObjectsToEvents(group, result.Results);
154
+ break;
155
+ }
156
+ this.events.push(...newItems);
149
157
  }
150
158
  mapEntityObjectsToEvents(group, entityObjects) {
151
159
  const ret = entityObjects.map(e => {
@@ -169,16 +177,16 @@ export class TimelineComponent {
169
177
  });
170
178
  return ret;
171
179
  }
180
+ static ɵfac = function TimelineComponent_Factory(t) { return new (t || TimelineComponent)(); };
181
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimelineComponent, selectors: [["mj-timeline"]], inputs: { DisplayOrientation: "DisplayOrientation", Groups: "Groups", AllowLoad: "AllowLoad" }, decls: 2, vars: 4, consts: [["mjFillContainer", "", 1, "wrapper"], [3, "events", "orientation", "collapsibleEvents", "alterMode"]], template: function TimelineComponent_Template(rf, ctx) { if (rf & 1) {
182
+ i0.ɵɵelementStart(0, "div", 0);
183
+ i0.ɵɵelement(1, "kendo-timeline", 1);
184
+ i0.ɵɵelementEnd();
185
+ } if (rf & 2) {
186
+ i0.ɵɵadvance();
187
+ i0.ɵɵproperty("events", ctx.events)("orientation", ctx.DisplayOrientation)("collapsibleEvents", true)("alterMode", true);
188
+ } }, dependencies: [i1.FillContainer, i2.TimelineComponent] });
172
189
  }
173
- TimelineComponent.ɵfac = function TimelineComponent_Factory(t) { return new (t || TimelineComponent)(); };
174
- TimelineComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimelineComponent, selectors: [["mj-timeline"]], inputs: { DisplayOrientation: "DisplayOrientation", Groups: "Groups", AllowLoad: "AllowLoad" }, decls: 2, vars: 4, consts: [["mjFillContainer", "", 1, "wrapper"], [3, "events", "orientation", "collapsibleEvents", "alterMode"]], template: function TimelineComponent_Template(rf, ctx) { if (rf & 1) {
175
- i0.ɵɵelementStart(0, "div", 0);
176
- i0.ɵɵelement(1, "kendo-timeline", 1);
177
- i0.ɵɵelementEnd();
178
- } if (rf & 2) {
179
- i0.ɵɵadvance();
180
- i0.ɵɵproperty("events", ctx.events)("orientation", ctx.DisplayOrientation)("collapsibleEvents", true)("alterMode", true);
181
- } }, dependencies: [i1.FillContainer, i2.TimelineComponent] });
182
190
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimelineComponent, [{
183
191
  type: Component,
184
192
  args: [{ selector: 'mj-timeline', template: "<div mjFillContainer class=\"wrapper\"> \n <kendo-timeline\n [events]=\"events\"\n [orientation]=\"DisplayOrientation\"\n [collapsibleEvents]=\"true\"\n [alterMode]=\"true\"\n >\n </kendo-timeline>\n</div> " }]
@@ -1 +1 @@
1
- {"version":3,"file":"timeline.component.js","sourceRoot":"","sources":["../../../src/lib/component/timeline.component.ts","../../../src/lib/component/timeline.component.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAiB,MAAM,eAAe,CAAC;AAEhE,OAAO,EAAc,OAAO,EAAiB,MAAM,sBAAsB,CAAC;;;;AAI1E;;GAEG;AACH,MAAM,OAAO,aAAa;IAA1B;QAKE;;WAEG;QACH,mBAAc,GAAuB,QAAQ,CAAC;QAK9C;;WAEG;QACH,kBAAa,GAAkB,EAAE,CAAC;QASlC;;WAEG;QACH,oBAAe,GAA2B,UAAU,CAAC;QAKrD;;WAEG;QACH,qBAAgB,GAAuB,MAAM,CAAC;QAM9C;;;WAGG;QACH,gBAAW,GAAiC,OAAO,CAAC;IAwBtD,CAAC;IAjBC;;;;;OAKG;IACI,MAAM,CAAO,QAAQ,CAAC,MAAqB;;YAChD,MAAM,KAAK,GAAG,IAAI,aAAa,EAAE,CAAC;YAClC,MAAM,EAAE,GAAG,IAAI,OAAO,EAAE,CAAC;YACzB,MAAM,CAAC,UAAU,GAAG,eAAe,CAAC,CAAC,2DAA2D;YAChG,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../../../src/lib/component/timeline.component.ts","../../../src/lib/component/timeline.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAiB,MAAM,eAAe,CAAC;AAEhE,OAAO,EAAc,OAAO,EAAiB,MAAM,sBAAsB,CAAC;;;;AAI1E;;GAEG;AACH,MAAM,OAAO,aAAa;IACxB;;OAEG;IACH,UAAU,CAAU;IACpB;;OAEG;IACH,cAAc,GAAuB,QAAQ,CAAC;IAC9C;;OAEG;IACH,MAAM,CAAS;IACf;;OAEG;IACH,aAAa,GAAkB,EAAE,CAAC;IAClC;;OAEG;IACH,cAAc,CAAU;IACxB;;OAEG;IACH,aAAa,CAAU;IACvB;;OAEG;IACH,eAAe,GAA2B,UAAU,CAAC;IACrD;;OAEG;IACH,WAAW,CAAU;IACrB;;OAEG;IACH,gBAAgB,GAAuB,MAAM,CAAC;IAC9C;;OAEG;IACH,YAAY,CAAU;IAEtB;;;OAGG;IACH,WAAW,GAAiC,OAAO,CAAC;IACpD;;;OAGG;IACH,eAAe,CAAyC;IAExD;;;;;OAKG;IACI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAqB;QAChD,MAAM,KAAK,GAAG,IAAI,aAAa,EAAE,CAAC;QAClC,MAAM,EAAE,GAAG,IAAI,OAAO,EAAE,CAAC;QACzB,MAAM,CAAC,UAAU,GAAG,eAAe,CAAC,CAAC,2DAA2D;QAChG,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC,OAAO,CAAa,MAAM,CAAC,CAAC;QACpD,IAAI,MAAM,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YAC7B,KAAK,CAAC,UAAU,GAAG,MAAM,OAAO,CAAC,8BAA8B,CAAC,MAAM,CAAC,CAAC;YACxE,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC;QACvC,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAED;;GAEG;AAMH,MAAM,OAAO,iBAAiB;IACpB,OAAO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AAC;gBACjC,OAAO,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;YACxC,CAAC;iBAAM,IAAI,KAAK,CAAC,WAAW,IAAI,QAAQ,EAAE,CAAC;gBACzC,OAAO,GAAG,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YAClE,CAAC;YACD,OAAO;gBACL,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,KAAK;gBACZ,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE;gBAC7B,MAAM,EAAE,EAAE;gBACV,OAAO,EAAE,EAAE;aACZ,CAAC;QACJ,CAAC,CAAC,CAAA;QACF,OAAO,GAAG,CAAC;IACb,CAAC;2EA5GU,iBAAiB;6DAAjB,iBAAiB;YCzF9B,8BAAqC;YACnC,oCAMiB;YACnB,iBAAM;;YANF,cAAiB;YAGjB,AADA,AADA,AADA,mCAAiB,uCACiB,2BACR,mBACR;;;iFDoFT,iBAAiB;cAL7B,SAAS;2BACE,aAAa;gBAOd,kBAAkB;kBAA1B,KAAK;YAKc,MAAM;kBAAzB,KAAK;YAcc,SAAS;kBAA5B,KAAK;;kFAtBK,iBAAiB"}
@@ -11,15 +11,15 @@ import { EntityFormDialogModule } from '@memberjunction/ng-entity-form-dialog';
11
11
  import { TimelineComponent } from './component/timeline.component';
12
12
  import * as i0 from "@angular/core";
13
13
  export class TimelineModule {
14
+ static ɵfac = function TimelineModule_Factory(t) { return new (t || TimelineModule)(); };
15
+ static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TimelineModule });
16
+ static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
17
+ ContainerDirectivesModule,
18
+ ButtonsModule,
19
+ EntityFormDialogModule,
20
+ IndicatorsModule,
21
+ LayoutModule] });
14
22
  }
15
- TimelineModule.ɵfac = function TimelineModule_Factory(t) { return new (t || TimelineModule)(); };
16
- TimelineModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TimelineModule });
17
- TimelineModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
18
- ContainerDirectivesModule,
19
- ButtonsModule,
20
- EntityFormDialogModule,
21
- IndicatorsModule,
22
- LayoutModule] });
23
23
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimelineModule, [{
24
24
  type: NgModule,
25
25
  args: [{
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,2BAA2B;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D,KAAK;AACL,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAE/E,QAAQ;AACR,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;;AAkBnE,MAAM,OAAO,cAAc;;4EAAd,cAAc;gEAAd,cAAc;oEAXvB,YAAY;QACZ,yBAAyB;QACzB,aAAa;QACb,sBAAsB;QACtB,gBAAgB;QAChB,YAAY;iFAMH,cAAc;cAhB1B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,iBAAiB;iBAClB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,yBAAyB;oBACzB,aAAa;oBACb,sBAAsB;oBACtB,gBAAgB;oBAChB,YAAY;iBACb;gBACD,OAAO,EAAE;oBACP,iBAAiB;iBAClB;aACF;;wFACY,cAAc,mBAdvB,iBAAiB,aAGjB,YAAY;QACZ,yBAAyB;QACzB,aAAa;QACb,sBAAsB;QACtB,gBAAgB;QAChB,YAAY,aAGZ,iBAAiB"}
1
+ {"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,2BAA2B;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D,KAAK;AACL,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAE/E,QAAQ;AACR,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;;AAkBnE,MAAM,OAAO,cAAc;wEAAd,cAAc;4DAAd,cAAc;gEAXvB,YAAY;YACZ,yBAAyB;YACzB,aAAa;YACb,sBAAsB;YACtB,gBAAgB;YAChB,YAAY;;iFAMH,cAAc;cAhB1B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,iBAAiB;iBAClB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,yBAAyB;oBACzB,aAAa;oBACb,sBAAsB;oBACtB,gBAAgB;oBAChB,YAAY;iBACb;gBACD,OAAO,EAAE;oBACP,iBAAiB;iBAClB;aACF;;wFACY,cAAc,mBAdvB,iBAAiB,aAGjB,YAAY;QACZ,yBAAyB;QACzB,aAAa;QACb,sBAAsB;QACtB,gBAAgB;QAChB,YAAY,aAGZ,iBAAiB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-timeline",
3
- "version": "2.48.0",
3
+ "version": "2.50.0",
4
4
  "description": "MemberJunction: Timeline Display UI component",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -25,12 +25,12 @@
25
25
  "@angular/router": "18.0.2"
26
26
  },
27
27
  "dependencies": {
28
- "@memberjunction/core-entities": "2.48.0",
29
- "@memberjunction/global": "2.48.0",
30
- "@memberjunction/core": "2.48.0",
31
- "@memberjunction/ng-container-directives": "2.48.0",
32
- "@memberjunction/ng-entity-form-dialog": "2.48.0",
33
- "@memberjunction/ng-shared": "2.48.0",
28
+ "@memberjunction/core-entities": "2.50.0",
29
+ "@memberjunction/global": "2.50.0",
30
+ "@memberjunction/core": "2.50.0",
31
+ "@memberjunction/ng-container-directives": "2.50.0",
32
+ "@memberjunction/ng-entity-form-dialog": "2.50.0",
33
+ "@memberjunction/ng-shared": "2.50.0",
34
34
  "@progress/kendo-angular-buttons": "16.2.0",
35
35
  "@progress/kendo-angular-layout": "16.2.0",
36
36
  "@progress/kendo-angular-indicators": "16.2.0",