dotvvm-types 4.1.0-preview06-final → 4.1.0-preview10-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.
- package/package.json +2 -2
- package/{index.d.ts → types/index.d.ts} +15 -15
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dotvvm-types",
|
|
3
|
-
"version": "4.1.0-
|
|
3
|
+
"version": "4.1.0-preview10-final",
|
|
4
4
|
"description": "MVVM framework for ASP.NET",
|
|
5
|
-
"types": "index.d.ts",
|
|
5
|
+
"types": "./types/index.d.ts",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/riganti/dotvvm.git"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference
|
|
1
|
+
/// <reference types="knockout" />
|
|
2
2
|
declare module "shared-classes" {
|
|
3
3
|
export class DotvvmPostbackError {
|
|
4
4
|
reason: DotvvmPostbackErrorReason;
|
|
@@ -231,7 +231,7 @@ declare module "postback/resourceLoader" {
|
|
|
231
231
|
declare module "binding-handlers/textbox-text" {
|
|
232
232
|
const _default: {
|
|
233
233
|
"dotvvm-textbox-text": {
|
|
234
|
-
init(element: HTMLInputElement, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor
|
|
234
|
+
init(element: HTMLInputElement, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor): void;
|
|
235
235
|
update(element: HTMLInputElement, valueAccessor: () => any): void;
|
|
236
236
|
};
|
|
237
237
|
};
|
|
@@ -252,12 +252,12 @@ declare module "binding-handlers/SSR-foreach" {
|
|
|
252
252
|
};
|
|
253
253
|
const _default_2: {
|
|
254
254
|
"dotvvm-SSR-foreach": {
|
|
255
|
-
init(element: Node, valueAccessor: () => any, allBindings?: KnockoutAllBindingsAccessor
|
|
255
|
+
init(element: Node, valueAccessor: () => any, allBindings?: KnockoutAllBindingsAccessor, viewModel?: any, bindingContext?: KnockoutBindingContext): {
|
|
256
256
|
controlsDescendantBindings: boolean;
|
|
257
257
|
};
|
|
258
258
|
};
|
|
259
259
|
"dotvvm-SSR-item": {
|
|
260
|
-
init<T>(element: SeenUpdateElement, valueAccessor: () => T, allBindings?: any, viewModel?: any, bindingContext?: KnockoutBindingContext
|
|
260
|
+
init<T>(element: SeenUpdateElement, valueAccessor: () => T, allBindings?: any, viewModel?: any, bindingContext?: KnockoutBindingContext): {
|
|
261
261
|
controlsDescendantBindings: boolean;
|
|
262
262
|
};
|
|
263
263
|
update(element: SeenUpdateElement): void;
|
|
@@ -297,12 +297,12 @@ declare module "binding-handlers/markup-controls" {
|
|
|
297
297
|
export function wrapControlProperties(valueAccessor: () => any): any;
|
|
298
298
|
const _default_3: {
|
|
299
299
|
'dotvvm-with-control-properties': {
|
|
300
|
-
init: (element: HTMLElement, valueAccessor: () => any, allBindings?: any, viewModel?: any, bindingContext?: KnockoutBindingContext
|
|
300
|
+
init: (element: HTMLElement, valueAccessor: () => any, allBindings?: any, viewModel?: any, bindingContext?: KnockoutBindingContext) => {
|
|
301
301
|
controlsDescendantBindings: boolean;
|
|
302
302
|
};
|
|
303
303
|
};
|
|
304
304
|
'dotvvm-with-view-modules': {
|
|
305
|
-
init: (element: HTMLElement, valueAccessor: () => any, allBindings?: any, viewModel?: any, bindingContext?: KnockoutBindingContext
|
|
305
|
+
init: (element: HTMLElement, valueAccessor: () => any, allBindings?: any, viewModel?: any, bindingContext?: KnockoutBindingContext) => {
|
|
306
306
|
controlsDescendantBindings: boolean;
|
|
307
307
|
} | undefined;
|
|
308
308
|
};
|
|
@@ -329,18 +329,18 @@ declare module "binding-handlers/enable" {
|
|
|
329
329
|
declare module "binding-handlers/checkbox" {
|
|
330
330
|
const _default_6: {
|
|
331
331
|
'dotvvm-checkbox-updateAfterPostback': {
|
|
332
|
-
init(element: HTMLElement, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor
|
|
332
|
+
init(element: HTMLElement, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor): void;
|
|
333
333
|
};
|
|
334
334
|
'dotvvm-checked-pointer': {};
|
|
335
335
|
"dotvvm-CheckState": {
|
|
336
|
-
init: ((element: any, valueAccessor: () => any, allBindingsAccessor
|
|
336
|
+
init: ((element: any, valueAccessor: () => any, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext) => void | {
|
|
337
337
|
controlsDescendantBindings: boolean;
|
|
338
338
|
}) | undefined;
|
|
339
339
|
update(element: any, valueAccessor: () => any): void;
|
|
340
340
|
};
|
|
341
341
|
"dotvvm-checkedItems": {
|
|
342
342
|
after: string[] | undefined;
|
|
343
|
-
init: ((element: any, valueAccessor: () => any, allBindingsAccessor
|
|
343
|
+
init: ((element: any, valueAccessor: () => any, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext) => void | {
|
|
344
344
|
controlsDescendantBindings: boolean;
|
|
345
345
|
}) | undefined;
|
|
346
346
|
options: any;
|
|
@@ -368,7 +368,7 @@ declare module "postback/queue" {
|
|
|
368
368
|
declare module "binding-handlers/update-progress" {
|
|
369
369
|
const _default_7: {
|
|
370
370
|
"dotvvm-UpdateProgress-Visible": {
|
|
371
|
-
init(element: HTMLElement, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor
|
|
371
|
+
init(element: HTMLElement, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor, viewModel?: any, bindingContext?: KnockoutBindingContext): void;
|
|
372
372
|
};
|
|
373
373
|
};
|
|
374
374
|
export default _default_7;
|
|
@@ -386,7 +386,7 @@ declare module "binding-handlers/gridviewdataset" {
|
|
|
386
386
|
declare module "binding-handlers/named-command" {
|
|
387
387
|
const _default_9: {
|
|
388
388
|
'dotvvm-named-command': {
|
|
389
|
-
init: (element: HTMLElement, valueAccessor: () => any, allBindings?: any, viewModel?: any, bindingContext?: KnockoutBindingContext
|
|
389
|
+
init: (element: HTMLElement, valueAccessor: () => any, allBindings?: any, viewModel?: any, bindingContext?: KnockoutBindingContext) => {
|
|
390
390
|
controlsDescendantBindings: boolean;
|
|
391
391
|
};
|
|
392
392
|
};
|
|
@@ -396,7 +396,7 @@ declare module "binding-handlers/named-command" {
|
|
|
396
396
|
declare module "binding-handlers/file-upload" {
|
|
397
397
|
const _default_10: {
|
|
398
398
|
"dotvvm-FileUpload": {
|
|
399
|
-
init: (element: HTMLInputElement, valueAccessor: () => any, allBindings?: any, viewModel?: any, bindingContext?: KnockoutBindingContext
|
|
399
|
+
init: (element: HTMLInputElement, valueAccessor: () => any, allBindings?: any, viewModel?: any, bindingContext?: KnockoutBindingContext) => void;
|
|
400
400
|
};
|
|
401
401
|
};
|
|
402
402
|
export default _default_10;
|
|
@@ -404,7 +404,7 @@ declare module "binding-handlers/file-upload" {
|
|
|
404
404
|
declare module "binding-handlers/js-component" {
|
|
405
405
|
const _default_11: {
|
|
406
406
|
"dotvvm-js-component": {
|
|
407
|
-
init(element: HTMLInputElement, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor
|
|
407
|
+
init(element: HTMLInputElement, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor): void;
|
|
408
408
|
};
|
|
409
409
|
};
|
|
410
410
|
export default _default_11;
|
|
@@ -447,8 +447,8 @@ declare module "DotVVM.Globalize" {
|
|
|
447
447
|
export function parseNumber(value: string): number;
|
|
448
448
|
export function parseDate(value: string, format: string, previousValue?: Date): Date | null;
|
|
449
449
|
export const parseDotvvmDate: typeof serializationParseDate;
|
|
450
|
-
export function bindingDateToString(value:
|
|
451
|
-
export function bindingNumberToString(value:
|
|
450
|
+
export function bindingDateToString(value: GlobalizeFormattable | KnockoutObservable<GlobalizeFormattable>, format?: string): KnockoutComputed<string>;
|
|
451
|
+
export function bindingNumberToString(value: GlobalizeFormattable | KnockoutObservable<GlobalizeFormattable>, format?: string): KnockoutComputed<string>;
|
|
452
452
|
}
|
|
453
453
|
declare var compileConstants: {
|
|
454
454
|
/** If the compiled bundle is for SPA applications */
|