@daypilot/daypilot-lite-angular 5.4.0 → 5.4.1

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,5 +1,5 @@
1
1
  type GlobalDate = Date;
2
- export declare module DayPilot {
2
+ export declare namespace DayPilot {
3
3
  export class SchedulerPropsAndEvents {
4
4
  backendUrl?: string;
5
5
  beforeCellRenderCaching?: boolean;
@@ -485,6 +485,7 @@ export declare module DayPilot {
485
485
  eventMoveHandling?: "Update" | "CallBack" | "Disabled";
486
486
  eventResizeHandling?: "Update" | "CallBack" | "Disabled";
487
487
  eventRightClickHandling?: "ContextMenu" | "Enabled" | "Disabled";
488
+ eventsLoadMethod?: "GET" | "POST";
488
489
  headerClickHandling?: "Enabled" | "Disabled";
489
490
  headerDateFormat?: string;
490
491
  headerHeight?: number;
@@ -739,6 +740,7 @@ export declare module DayPilot {
739
740
  eventDeleteHandling?: "Update" | "Disabled";
740
741
  eventMoveHandling?: "Update" | "CallBack" | "Notify" | "Disabled";
741
742
  eventResizeHandling?: "Update" | "CallBack" | "Notify" | "Disabled";
743
+ eventsLoadMethod?: "GET" | "POST";
742
744
  headerClickHandling?: "Enabled" | "Disabled" | "CallBack";
743
745
  headerHeight?: number;
744
746
  hideUntilInit?: boolean;
@@ -910,6 +912,7 @@ export declare module DayPilot {
910
912
  readonly end: DayPilot.Date;
911
913
  }
912
914
  export class NavigatorPropsAndEvents {
915
+ autoFocusOnClick?: boolean;
913
916
  cellHeight?: number;
914
917
  cellWidth?: number;
915
918
  command?: string;
@@ -917,8 +920,10 @@ export declare module DayPilot {
917
920
  eventEndSpec?: "DateTime" | "Date";
918
921
  freeHandSelectionEnabled?: boolean;
919
922
  locale?: string;
923
+ month?: number;
920
924
  orientation?: "Vertical" | "Horizontal";
921
925
  rowsPerMonth?: "Auto" | "Six";
926
+ rtl?: boolean;
922
927
  selectionDay?: DayPilot.Date;
923
928
  selectionEnd?: DayPilot.Date;
924
929
  selectionStart?: DayPilot.Date;
@@ -936,6 +941,7 @@ export declare module DayPilot {
936
941
  todayText?: string;
937
942
  weekStarts?: "Auto" | number;
938
943
  weekNumberAlgorithm?: "Auto" | "US" | "ISO8601";
944
+ year?: number;
939
945
  timeRangeSelectedHandling?: "Bind" | "None";
940
946
  visibleRangeChangedHandling?: "Enabled" | "Disabled" | "CallBack";
941
947
  onBeforeCellRender?: EventHandler<NavigatorBeforeCellRenderArgs>;
@@ -948,7 +954,7 @@ export declare module DayPilot {
948
954
  export class NavigatorConfig extends NavigatorPropsAndEvents {
949
955
  events?: EventData[];
950
956
  }
951
- interface NavigatorSelectOptions {
957
+ export interface NavigatorSelectOptions {
952
958
  dontFocus?: boolean;
953
959
  dontNotify?: boolean;
954
960
  }
@@ -969,7 +975,7 @@ export declare module DayPilot {
969
975
  visibleEnd(): DayPilot.Date;
970
976
  visibleStart(): DayPilot.Date;
971
977
  }
972
- interface NavigatorBeforeCellRenderArgs {
978
+ export interface NavigatorBeforeCellRenderArgs {
973
979
  readonly cell: {
974
980
  readonly day: DayPilot.Date;
975
981
  readonly isCurrentMonth: boolean;
@@ -982,7 +988,7 @@ export declare module DayPilot {
982
988
  };
983
989
  };
984
990
  }
985
- interface NavigatorTimeRangeSelectArgs {
991
+ export interface NavigatorTimeRangeSelectArgs {
986
992
  readonly start: DayPilot.Date;
987
993
  readonly end: DayPilot.Date;
988
994
  readonly day: DayPilot.Date;
@@ -990,7 +996,7 @@ export declare module DayPilot {
990
996
  readonly mode: "Day" | "Week" | "Month" | "None" | "FreeHand";
991
997
  preventDefault(): void;
992
998
  }
993
- interface NavigatorTimeRangeSelectedArgs {
999
+ export interface NavigatorTimeRangeSelectedArgs {
994
1000
  readonly start: DayPilot.Date;
995
1001
  readonly end: DayPilot.Date;
996
1002
  readonly day: DayPilot.Date;
@@ -1000,12 +1006,12 @@ export declare module DayPilot {
1000
1006
  export interface NavigatorTodayClickArgs {
1001
1007
  preventDefault(): void;
1002
1008
  }
1003
- interface NavigatorVisibleRangeChangeArgs {
1009
+ export interface NavigatorVisibleRangeChangeArgs {
1004
1010
  readonly start: DayPilot.Date;
1005
1011
  readonly end: DayPilot.Date;
1006
1012
  preventDefault(): void;
1007
1013
  }
1008
- interface NavigatorVisibleRangeChangedArgs {
1014
+ export interface NavigatorVisibleRangeChangedArgs {
1009
1015
  readonly start: DayPilot.Date;
1010
1016
  readonly end: DayPilot.Date;
1011
1017
  }
@@ -1220,9 +1226,9 @@ export declare module DayPilot {
1220
1226
  static parse(input: string, pattern: string, locale?: string | DayPilot.Locale): DayPilot.Date;
1221
1227
  static today(): DayPilot.Date;
1222
1228
  static now(): DayPilot.Date;
1223
- static Cache: DayPilotDateCache;
1229
+ static Cache: DateCache;
1224
1230
  }
1225
- export class DayPilotDateCache {
1231
+ export class DateCache {
1226
1232
  static clear(): void;
1227
1233
  }
1228
1234
  export class Util {
@@ -1235,6 +1241,15 @@ export declare module DayPilot {
1235
1241
  static lighter(color: string, steps?: number): string;
1236
1242
  static contrasting(color: string, light?: string, dark?: string): string;
1237
1243
  }
1244
+ export class Http {
1245
+ static get<T = any>(url: string, params?: Http.RequestParams): Promise<Http.Result<T>>;
1246
+ static post<T = any, B = any>(url: string, data: B, params?: Http.RequestParams): Promise<Http.Result<T>>;
1247
+ static put<T = any, B = any>(url: string, data: B, params?: Http.RequestParams): Promise<Http.Result<T>>;
1248
+ static patch<T = any, B = any>(url: string, data: B, params?: Http.RequestParams): Promise<Http.Result<T>>;
1249
+ static delete<T = any>(url: string, params?: Http.RequestParams): Promise<Http.Result<T>>;
1250
+ }
1251
+ namespace Http {
1252
+ }
1238
1253
  export class Duration {
1239
1254
  ticks: number;
1240
1255
  constructor(ticks: number);
@@ -1264,11 +1279,14 @@ export declare module DayPilot {
1264
1279
  start(newStart: DayPilot.Date): void;
1265
1280
  end(): DayPilot.Date;
1266
1281
  end(newEnd: DayPilot.Date): void;
1282
+ partStart(): DayPilot.Date;
1283
+ partEnd(): DayPilot.Date;
1267
1284
  id(): EventId;
1268
1285
  text(): string;
1269
1286
  text(newText: string): void;
1270
1287
  resource(): ResourceId;
1271
1288
  resource(newResource: ResourceId): void;
1289
+ tag(name: string): any;
1272
1290
  duration(): DayPilot.Duration;
1273
1291
  }
1274
1292
  export class Selection {
@@ -1351,6 +1369,7 @@ export declare module DayPilot {
1351
1369
  autoFocus?: boolean;
1352
1370
  autoStretch?: boolean;
1353
1371
  autoStretchFirstLoadOnly?: boolean;
1372
+ cancelText?: string;
1354
1373
  container?: HTMLElement;
1355
1374
  disposeOnClose?: boolean;
1356
1375
  dragDrop?: boolean;
@@ -1360,7 +1379,9 @@ export declare module DayPilot {
1360
1379
  };
1361
1380
  height?: number;
1362
1381
  left?: number;
1382
+ locale?: string;
1363
1383
  loadingHtml?: string;
1384
+ okText?: string;
1364
1385
  maxHeight?: number;
1365
1386
  scrollWithPage?: boolean;
1366
1387
  theme?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daypilot/daypilot-lite-angular",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "DayPilot Lite for Angular",
5
5
  "homepage": "https://javascript.daypilot.org/",
6
6
  "author": "Annpoint, s.r.o.",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "tslib": "^2.3.0",
35
- "@daypilot/daypilot-lite-javascript": "5.4.0"
35
+ "@daypilot/daypilot-lite-javascript": "5.4.1"
36
36
  },
37
37
  "module": "fesm2022/daypilot-daypilot-lite-angular.mjs",
38
38
  "typings": "index.d.ts",