dotvvm-types 5.0.0-preview01-final → 5.0.0-preview02-final

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +18 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dotvvm-types",
3
- "version": "5.0.0-preview01-final",
3
+ "version": "5.0.0-preview02-final",
4
4
  "description": "MVVM framework for ASP.NET",
5
5
  "types": "./types/index.d.ts",
6
6
  "repository": {
package/types/index.d.ts CHANGED
@@ -195,6 +195,7 @@ declare module "utils/evaluator" {
195
195
  export function findPathToChildObservable(vm: any, child: any, path: string): string | null;
196
196
  export function getDataSourceItems(viewModel: any): Array<KnockoutObservable<any>>;
197
197
  export function wrapObservable(func: () => any, isArray?: boolean): KnockoutComputed<any>;
198
+ export function proxyObservableArrayMethods(wrapper: KnockoutObservable<any>, getObservableArray: () => any): void;
198
199
  export const unwrapComputedProperty: (obs: any) => any;
199
200
  }
200
201
  declare module "validation/error" {
@@ -539,6 +540,19 @@ declare module "binding-handlers/appendable-data-pager" {
539
540
  };
540
541
  export default _default_13;
541
542
  }
543
+ declare module "binding-handlers/timer" {
544
+ type TimerProps = {
545
+ interval: number;
546
+ enabled: KnockoutObservable<boolean>;
547
+ command: () => Promise<DotvvmAfterPostBackEventArgs>;
548
+ };
549
+ const _default_14: {
550
+ "dotvvm-timer": {
551
+ init: (element: HTMLElement, valueAccessor: () => TimerProps) => void;
552
+ };
553
+ };
554
+ export default _default_14;
555
+ }
542
556
  declare module "binding-handlers/all-handlers" {
543
557
  type KnockoutHandlerDictionary = {
544
558
  [name: string]: KnockoutBindingHandler;
@@ -777,8 +791,8 @@ declare module "spa/spa" {
777
791
  export function handleSpaNavigationCore(url: string | null, sender?: HTMLElement, handlePageNavigating?: (url: string) => void): Promise<DotvvmNavigationEventArgs>;
778
792
  }
779
793
  declare module "binding-handlers/register" {
780
- const _default_14: () => void;
781
- export default _default_14;
794
+ const _default_15: () => void;
795
+ export default _default_15;
782
796
  }
783
797
  declare module "postback/staticCommand" {
784
798
  export function resolveRelativeValidationPaths(paths: string[] | null | undefined, context: KnockoutBindingContext | undefined): (string | null)[] | undefined;
@@ -854,7 +868,7 @@ declare module "translations/translations" {
854
868
  import * as dictionary from "translations/dictionaryHelper";
855
869
  import * as string from "translations/stringHelper";
856
870
  import * as dateTime from "translations/dateTimeHelper";
857
- const _default_15: Readonly<{
871
+ const _default_16: Readonly<{
858
872
  array: typeof array;
859
873
  dictionary: typeof dictionary;
860
874
  string: typeof string;
@@ -864,7 +878,7 @@ declare module "translations/translations" {
864
878
  toInt(value: any, type: string): number | null;
865
879
  };
866
880
  }>;
867
- export default _default_15;
881
+ export default _default_16;
868
882
  }
869
883
  declare module "dataset/loader" {
870
884
  type GridViewDataSet = {