@mescius/wijmo.knockout.input 5.20232.939
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/COMMERCIAL-LICENSE.html +485 -0
- package/README.md +363 -0
- package/es2015-commonjs.js +14 -0
- package/es2015-esm.js +14 -0
- package/es5-esm.js +14 -0
- package/index.d.ts +527 -0
- package/index.js +14 -0
- package/package.json +46 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,527 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* Wijmo Library 5.20232.939
|
|
4
|
+
* https://developer.mescius.com/wijmo
|
|
5
|
+
*
|
|
6
|
+
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
|
|
9
|
+
* us.sales@mescius.com
|
|
10
|
+
* https://developer.mescius.com/wijmo/licensing
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* {@module wijmo.knockout.input}
|
|
15
|
+
* KnockoutJS bindings for wijmo.input module
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare var ___keepComment: any;
|
|
21
|
+
import { WjBinding, WjContext } from '@grapecity/wijmo.knockout.base';
|
|
22
|
+
export declare class WjDropDownBinding extends WjBinding {
|
|
23
|
+
_getControlConstructor(): any;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* KnockoutJS binding for the {@link ComboBox} control.
|
|
27
|
+
*
|
|
28
|
+
* Use the {@link wjComboBox} binding to add {@link ComboBox} controls to your
|
|
29
|
+
* KnockoutJS applications. For example:
|
|
30
|
+
*
|
|
31
|
+
* <pre><p>Here is a ComboBox control:</p>
|
|
32
|
+
* <div data-bind="wjComboBox: {
|
|
33
|
+
* itemsSource: countries,
|
|
34
|
+
* text: theCountry,
|
|
35
|
+
* isEditable: false,
|
|
36
|
+
* placeholder: 'country' }">
|
|
37
|
+
* </div></pre>
|
|
38
|
+
*
|
|
39
|
+
* The <b>wjComboBox</b> binding supports all read-write properties and events of
|
|
40
|
+
* the {@link ComboBox} control. The following properties provide two-way binding mode:
|
|
41
|
+
* <ul>
|
|
42
|
+
* <li><b>isDroppedDown</b></li>
|
|
43
|
+
* <li><b>text</b></li>
|
|
44
|
+
* <li><b>selectedIndex</b></li>
|
|
45
|
+
* <li><b>selectedItem</b></li>
|
|
46
|
+
* <li><b>selectedValue</b></li>
|
|
47
|
+
* </ul>
|
|
48
|
+
*/
|
|
49
|
+
export declare class wjComboBox extends WjDropDownBinding {
|
|
50
|
+
_getControlConstructor(): any;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* KnockoutJS binding for the {@link AutoComplete} control.
|
|
54
|
+
*
|
|
55
|
+
* Use the {@link wjAutoComplete} binding to add {@link AutoComplete} controls to your
|
|
56
|
+
* KnockoutJS applications. For example:
|
|
57
|
+
*
|
|
58
|
+
* <pre><p>Here is an AutoComplete control:</p>
|
|
59
|
+
* <div data-bind="wjAutoComplete: {
|
|
60
|
+
* itemsSource: countries,
|
|
61
|
+
* text: theCountry,
|
|
62
|
+
* isEditable: false,
|
|
63
|
+
* placeholder: 'country' }">
|
|
64
|
+
* </div></pre>
|
|
65
|
+
*
|
|
66
|
+
* The <b>wjAutoComplete</b> binding supports all read-write properties and events of
|
|
67
|
+
* the {@link AutoComplete} control. The following properties provide two-way binding mode:
|
|
68
|
+
* <ul>
|
|
69
|
+
* <li><b>isDroppedDown</b></li>
|
|
70
|
+
* <li><b>text</b></li>
|
|
71
|
+
* <li><b>selectedIndex</b></li>
|
|
72
|
+
* <li><b>selectedItem</b></li>
|
|
73
|
+
* <li><b>selectedValue</b></li>
|
|
74
|
+
* </ul>
|
|
75
|
+
*/
|
|
76
|
+
export declare class wjAutoComplete extends wjComboBox {
|
|
77
|
+
_getControlConstructor(): any;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* KnockoutJS binding for the {@link Calendar} control.
|
|
81
|
+
*
|
|
82
|
+
* Use the {@link wjCalendar} binding to add {@link Calendar} controls to your
|
|
83
|
+
* KnockoutJS applications. For example:
|
|
84
|
+
*
|
|
85
|
+
* <pre><p>Here is a Calendar control:</p>
|
|
86
|
+
* <div
|
|
87
|
+
* data-bind="wjCalendar: { value: theDate }">
|
|
88
|
+
* </div></pre>
|
|
89
|
+
*
|
|
90
|
+
* The <b>wjCalendar</b> binding supports all read-write properties and events of
|
|
91
|
+
* the {@link Calendar} control. The following properties provide two-way binding mode:
|
|
92
|
+
* <ul>
|
|
93
|
+
* <li><b>value</b></li>
|
|
94
|
+
* <li><b>displayMonth</b></li>
|
|
95
|
+
* </ul>
|
|
96
|
+
*/
|
|
97
|
+
export declare class wjCalendar extends WjBinding {
|
|
98
|
+
_getControlConstructor(): any;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* KnockoutJS binding for the {@link ColorPicker} control.
|
|
102
|
+
*
|
|
103
|
+
* Use the {@link wjColorPicker} binding to add {@link ColorPicker} controls to your
|
|
104
|
+
* KnockoutJS applications. For example:
|
|
105
|
+
*
|
|
106
|
+
* <pre><p>Here is a ColorPicker control:</p>
|
|
107
|
+
* <div
|
|
108
|
+
* data-bind="wjColorPicker: { value: theColor }">
|
|
109
|
+
* </div></pre>
|
|
110
|
+
*
|
|
111
|
+
* The <b>wjColorPicker</b> binding supports all read-write properties and events of
|
|
112
|
+
* the {@link ColorPicker} control. The following properties provide two-way binding mode:
|
|
113
|
+
* <ul>
|
|
114
|
+
* <li><b>value</b></li>
|
|
115
|
+
* </ul>
|
|
116
|
+
*/
|
|
117
|
+
export declare class wjColorPicker extends WjBinding {
|
|
118
|
+
_getControlConstructor(): any;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* KnockoutJS binding for the {@link ListBox} control.
|
|
122
|
+
*
|
|
123
|
+
* Use the {@link wjListBox} binding to add {@link ListBox} controls to your
|
|
124
|
+
* KnockoutJS applications. For example:
|
|
125
|
+
*
|
|
126
|
+
* <pre><p>Here is a ListBox control:</p>
|
|
127
|
+
* <div data-bind="wjListBox: {
|
|
128
|
+
* itemsSource: countries,
|
|
129
|
+
* selectedItem: theCountry }">
|
|
130
|
+
* </div></pre>
|
|
131
|
+
*
|
|
132
|
+
* The <b>wjListBox</b> binding supports all read-write properties and events of
|
|
133
|
+
* the {@link ListBox} control. The following properties provide two-way binding mode:
|
|
134
|
+
* <ul>
|
|
135
|
+
* <li><b>selectedIndex</b></li>
|
|
136
|
+
* <li><b>selectedItem</b></li>
|
|
137
|
+
* <li><b>selectedValue</b></li>
|
|
138
|
+
* </ul>
|
|
139
|
+
*/
|
|
140
|
+
export declare class wjListBox extends WjBinding {
|
|
141
|
+
_getControlConstructor(): any;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* KnockoutJS binding for the {@link Menu} control.
|
|
145
|
+
*
|
|
146
|
+
* Use the {@link wjMenu} binding to add {@link Menu} controls to your
|
|
147
|
+
* KnockoutJS applications. For example:
|
|
148
|
+
*
|
|
149
|
+
* <pre><p>Here is a Menu control used as a value picker:</p>
|
|
150
|
+
* <div data-bind="wjMenu: { value: tax, header: 'Tax' }">
|
|
151
|
+
* <span data-bind="wjMenuItem: { value: 0 }">Exempt</span>
|
|
152
|
+
* <span data-bind="wjMenuSeparator: {}"></span>
|
|
153
|
+
* <span data-bind="wjMenuItem: { value: .05 }">5%</span>
|
|
154
|
+
* <span data-bind="wjMenuItem: { value: .1 }">10%</span>
|
|
155
|
+
* <span data-bind="wjMenuItem: { value: .15 }">15%</span>
|
|
156
|
+
* </div></pre>
|
|
157
|
+
*
|
|
158
|
+
* The <b>wjMenu</b> binding may contain the following child bindings: {@link wjMenuItem}, {@link wjMenuSeparator}.
|
|
159
|
+
*
|
|
160
|
+
* The <b>wjMenu</b> binding supports all read-write properties and events of
|
|
161
|
+
* the {@link Menu} control. The following properties provide two-way binding mode:
|
|
162
|
+
* <ul>
|
|
163
|
+
* <li><b>isDroppedDown</b></li>
|
|
164
|
+
* <li><b>text</b></li>
|
|
165
|
+
* <li><b>selectedIndex</b></li>
|
|
166
|
+
* <li><b>selectedItem</b></li>
|
|
167
|
+
* <li><b>selectedValue</b></li>
|
|
168
|
+
* <li><b>value</b></li>
|
|
169
|
+
* </ul>
|
|
170
|
+
*/
|
|
171
|
+
export declare class wjMenu extends wjComboBox {
|
|
172
|
+
_getControlConstructor(): any;
|
|
173
|
+
_createWijmoContext(): WjContext;
|
|
174
|
+
_initialize(): void;
|
|
175
|
+
private _updateControlValue;
|
|
176
|
+
}
|
|
177
|
+
export declare class WjMenuContext extends WjContext {
|
|
178
|
+
_initControl(): void;
|
|
179
|
+
_childrenInitialized(): void;
|
|
180
|
+
_updateHeader(): void;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* KnockoutJS binding for menu items.
|
|
184
|
+
*
|
|
185
|
+
* Use the {@link wjMenuItem} binding to add menu items to a {@link Menu} control.
|
|
186
|
+
* The {@link wjMenuItem} binding must be contained in a {@link wjMenu} binding.
|
|
187
|
+
* For example:
|
|
188
|
+
*
|
|
189
|
+
* <pre><p>Here is a Menu control with four menu items:</p>
|
|
190
|
+
* <div data-bind="wjMenu: { value: tax, header: 'Tax' }">
|
|
191
|
+
* <span data-bind="wjMenuItem: { value: 0 }">Exempt</span>
|
|
192
|
+
* <span data-bind="wjMenuItem: { value: .05 }">5%</span>
|
|
193
|
+
* <span data-bind="wjMenuItem: { value: .1 }">10%</span>
|
|
194
|
+
* <span data-bind="wjMenuItem: { value: .15 }">15%</span>
|
|
195
|
+
* </div></pre>
|
|
196
|
+
*
|
|
197
|
+
* The <b>wjMenuItem</b> binding supports the following attributes:
|
|
198
|
+
*
|
|
199
|
+
* <dl class="dl-horizontal">
|
|
200
|
+
* <dt>cmd</dt> <dd>Function to execute in the controller when the item is clicked.</dd>
|
|
201
|
+
* <dt>cmdParam</dt> <dd>Parameter passed to the <b>cmd</b> function when the item is clicked.</dd>
|
|
202
|
+
* <dt>value</dt> <dd>Value selected when the item is clicked (use either this or <b>cmd</b>).</dd>
|
|
203
|
+
* </dl class="dl-horizontal">
|
|
204
|
+
*/
|
|
205
|
+
export declare class wjMenuItem extends WjBinding {
|
|
206
|
+
_getMetaDataId(): any;
|
|
207
|
+
_createWijmoContext(): WjContext;
|
|
208
|
+
_initialize(): void;
|
|
209
|
+
}
|
|
210
|
+
export declare class WjMenuItemContext extends WjContext {
|
|
211
|
+
_createControl(): any;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* KnockoutJS binding for menu separators.
|
|
215
|
+
*
|
|
216
|
+
* The the {@link wjMenuSeparator} adds a non-selectable separator to a {@link Menu} control, and has no attributes.
|
|
217
|
+
* It must be contained in a {@link wjMenu} binding. For example:
|
|
218
|
+
*
|
|
219
|
+
* <pre><p>Here is a Menu control with four menu items and one separator:</p>
|
|
220
|
+
* <div data-bind="wjMenu: { value: tax, header: 'Tax' }">
|
|
221
|
+
* <span data-bind="wjMenuItem: { value: 0 }">Exempt</span>
|
|
222
|
+
* <span data-bind="wjMenuSeparator: {}"></span>
|
|
223
|
+
* <span data-bind="wjMenuItem: { value: .05 }">5%</span>
|
|
224
|
+
* <span data-bind="wjMenuItem: { value: .1 }">10%</span>
|
|
225
|
+
* <span data-bind="wjMenuItem: { value: .15 }">15%</span>
|
|
226
|
+
* </div></pre>
|
|
227
|
+
*/
|
|
228
|
+
export declare class wjMenuSeparator extends WjBinding {
|
|
229
|
+
_getMetaDataId(): any;
|
|
230
|
+
_initialize(): void;
|
|
231
|
+
_createControl(element: any): any;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* KnockoutJS binding for context menus.
|
|
235
|
+
*
|
|
236
|
+
* Use the {@link wjContextMenu} binding to add context menus to elements
|
|
237
|
+
* on the page. The {@link wjContextMenu} binding is based on the {@link wjMenu};
|
|
238
|
+
* it displays a popup menu when the user performs a context menu
|
|
239
|
+
* request on an element (usually a right-click).
|
|
240
|
+
*
|
|
241
|
+
* The wjContextMenu binding is specified as a parameter added to the
|
|
242
|
+
* element that the context menu applies to. The parameter value is a
|
|
243
|
+
* CSS selector for the element that contains the menu. For example:
|
|
244
|
+
*
|
|
245
|
+
* <pre><!-- paragraph with a context menu -->
|
|
246
|
+
*<p data-bind="wjContextMenu: { id: '#idMenu'}" >
|
|
247
|
+
* This paragraph has a context menu.</p>
|
|
248
|
+
*
|
|
249
|
+
*<!-- define the context menu (hidden and with an id) -->
|
|
250
|
+
* <div id="contextmenu" data-bind="wjMenu: { header: 'File', itemClicked: menuItemClicked}">
|
|
251
|
+
* <span data-bind="wjMenuItem: {}">New</span>
|
|
252
|
+
* <span data-bind="wjMenuItem: {}">open an existing file or folder</span>
|
|
253
|
+
* <span data-bind="wjMenuItem: {}">save the current file</span>
|
|
254
|
+
* <span data-bind="wjMenuSeparator: {}"></span>
|
|
255
|
+
* <span data-bind="wjMenuItem: {}">exit the application</span>
|
|
256
|
+
* </div></pre>
|
|
257
|
+
*/
|
|
258
|
+
export declare class wjContextMenu extends WjBinding {
|
|
259
|
+
_getMetaDataId(): any;
|
|
260
|
+
_createControl(element: any): any;
|
|
261
|
+
_createWijmoContext(): WjContext;
|
|
262
|
+
}
|
|
263
|
+
export declare class WjContextMenuContext extends WjContext {
|
|
264
|
+
_initControl(): void;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* KnockoutJS binding for the {@link InputDate} control.
|
|
268
|
+
*
|
|
269
|
+
* Use the {@link wjInputDate} binding to add {@link InputDate} controls to your
|
|
270
|
+
* KnockoutJS applications. For example:
|
|
271
|
+
*
|
|
272
|
+
* <pre><p>Here is an InputDate control:</p>
|
|
273
|
+
* <div data-bind="wjInputDate: {
|
|
274
|
+
* value: theDate,
|
|
275
|
+
* format: 'M/d/yyyy' }">
|
|
276
|
+
* </div></pre>
|
|
277
|
+
*
|
|
278
|
+
* The <b>wjInputDate</b> binding supports all read-write properties and events of
|
|
279
|
+
* the {@link InputDate} control. The following properties provide two-way binding mode:
|
|
280
|
+
* <ul>
|
|
281
|
+
* <li><b>isDroppedDown</b></li>
|
|
282
|
+
* <li><b>text</b></li>
|
|
283
|
+
* <li><b>value</b></li>
|
|
284
|
+
* </ul>
|
|
285
|
+
*/
|
|
286
|
+
export declare class wjInputDate extends WjDropDownBinding {
|
|
287
|
+
_getControlConstructor(): any;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* KnockoutJS binding for the {@link InputDateTime} control.
|
|
291
|
+
*
|
|
292
|
+
* Use the {@link wjInputDateTime} binding to add {@link InputDateTime} controls to your
|
|
293
|
+
* KnockoutJS applications.
|
|
294
|
+
*
|
|
295
|
+
* The <b>wjInputDateTime</b> binding supports all read-write properties and events of
|
|
296
|
+
* the {@link InputDateTime} control.
|
|
297
|
+
*/
|
|
298
|
+
export declare class wjInputDateTime extends WjBinding {
|
|
299
|
+
_getControlConstructor(): any;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* KnockoutJS binding for the {@link InputNumber} control.
|
|
303
|
+
*
|
|
304
|
+
* Use the {@link wjInputNumber} binding to add {@link InputNumber} controls to your
|
|
305
|
+
* KnockoutJS applications. For example:
|
|
306
|
+
*
|
|
307
|
+
* <pre><p>Here is an InputNumber control:</p>
|
|
308
|
+
* <div data-bind="wjInputNumber: {
|
|
309
|
+
* value: theNumber,
|
|
310
|
+
* min: 0,
|
|
311
|
+
* max: 10,
|
|
312
|
+
* format: 'n0',
|
|
313
|
+
* placeholder: 'number between zero and ten' }">
|
|
314
|
+
* </div></pre>
|
|
315
|
+
*
|
|
316
|
+
* The <b>wjInputNumber</b> binding supports all read-write properties and events of
|
|
317
|
+
* the {@link InputNumber} control. The following properties provide two-way binding mode:
|
|
318
|
+
* <ul>
|
|
319
|
+
* <li><b>value</b></li>
|
|
320
|
+
* <li><b>text</b></li>
|
|
321
|
+
* </ul>
|
|
322
|
+
*/
|
|
323
|
+
export declare class wjInputNumber extends WjBinding {
|
|
324
|
+
_getControlConstructor(): any;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* KnockoutJS binding for the {@link InputMask} control.
|
|
328
|
+
*
|
|
329
|
+
* Use the {@link wjInputMask} binding to add {@link InputMask} controls to your
|
|
330
|
+
* KnockoutJS applications. For example:
|
|
331
|
+
*
|
|
332
|
+
* <pre><p>Here is an InputMask control:</p>
|
|
333
|
+
* <div data-bind="wjInputMask: {
|
|
334
|
+
* mask: '99/99/99',
|
|
335
|
+
* promptChar: '*' }">
|
|
336
|
+
* </div></pre>
|
|
337
|
+
*
|
|
338
|
+
* The <b>wjInputMask</b> binding supports all read-write properties and events of
|
|
339
|
+
* the {@link InputMask} control. The <b>value</b> property provides two-way binding mode.
|
|
340
|
+
*/
|
|
341
|
+
export declare class wjInputMask extends WjBinding {
|
|
342
|
+
_getControlConstructor(): any;
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* KnockoutJS binding for the {@link InputTime} control.
|
|
346
|
+
*
|
|
347
|
+
* Use the {@link wjInputTime} binding to add {@link InputTime} controls to your
|
|
348
|
+
* KnockoutJS applications. For example:
|
|
349
|
+
*
|
|
350
|
+
* <pre><p>Here is an InputTime control:</p>
|
|
351
|
+
* <div data-bind="wjInputTime: {
|
|
352
|
+
* min: new Date(2014, 8, 1, 9, 0),
|
|
353
|
+
* max: new Date(2014, 8, 1, 17, 0),
|
|
354
|
+
* step: 15,
|
|
355
|
+
* format: 'h:mm tt',
|
|
356
|
+
* value: theDate }">
|
|
357
|
+
* </div></pre>
|
|
358
|
+
*
|
|
359
|
+
* The <b>wjInputTime</b> binding supports all read-write properties and events of
|
|
360
|
+
* the {@link InputTime} control. The following properties provide two-way binding mode:
|
|
361
|
+
* <ul>
|
|
362
|
+
* <li><b>isDroppedDown</b></li>
|
|
363
|
+
* <li><b>text</b></li>
|
|
364
|
+
* <li><b>selectedIndex</b></li>
|
|
365
|
+
* <li><b>selectedItem</b></li>
|
|
366
|
+
* <li><b>selectedValue</b></li>
|
|
367
|
+
* <li><b>value</b></li>
|
|
368
|
+
* </ul>
|
|
369
|
+
*/
|
|
370
|
+
export declare class wjInputTime extends wjComboBox {
|
|
371
|
+
_getControlConstructor(): any;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* KnockoutJS binding for the {@link InputColor} control.
|
|
375
|
+
*
|
|
376
|
+
* Use the {@link wjInputColor} binding to add {@link InputColor} controls to your
|
|
377
|
+
* KnockoutJS applications. For example:
|
|
378
|
+
*
|
|
379
|
+
* <pre><p>Here is a InputColor control:</p>
|
|
380
|
+
* <div
|
|
381
|
+
* data-bind="wjInputColor: { value: theColor }">
|
|
382
|
+
* </div></pre>
|
|
383
|
+
*
|
|
384
|
+
* The <b>wjInputColor</b> binding supports all read-write properties and events of
|
|
385
|
+
* the {@link InputColor} control. The following properties provide two-way binding mode:
|
|
386
|
+
* <ul>
|
|
387
|
+
* <li><b>isDroppedDown</b></li>
|
|
388
|
+
* <li><b>text</b></li>
|
|
389
|
+
* <li><b>value</b></li>
|
|
390
|
+
* </ul>
|
|
391
|
+
*/
|
|
392
|
+
export declare class wjInputColor extends WjDropDownBinding {
|
|
393
|
+
_getControlConstructor(): any;
|
|
394
|
+
}
|
|
395
|
+
export declare class WjCollectionViewBaseBinding extends WjBinding {
|
|
396
|
+
_createControl(element: any): any;
|
|
397
|
+
_createWijmoContext(): WjContext;
|
|
398
|
+
_getTemplate(): string;
|
|
399
|
+
}
|
|
400
|
+
export declare class WjCollectionViewContext extends WjContext {
|
|
401
|
+
private _localVM;
|
|
402
|
+
private _emptyCV;
|
|
403
|
+
init(element: any, valueAccessor: () => any, allBindings: any, viewModel: any, bindingContext: any): any;
|
|
404
|
+
update(element: any, valueAccessor: () => any, allBindings: any, viewModel: any, bindingContext: any): void;
|
|
405
|
+
private _subscribeToCV;
|
|
406
|
+
private _unsubscribeFromCV;
|
|
407
|
+
private _forceBindingsUpdate;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* KnockoutJS binding for an {@link ICollectionView} pager element.
|
|
411
|
+
*
|
|
412
|
+
* Use the {@link wjCollectionViewPager} directive to add an element that allows users to
|
|
413
|
+
* navigate through the pages in a paged {@link ICollectionView}. For example:
|
|
414
|
+
*
|
|
415
|
+
* <pre>Here is a CollectionViewPager:</p>
|
|
416
|
+
* <div
|
|
417
|
+
* data-bind="wjCollectionViewPager: { cv: myCollectionView }">
|
|
418
|
+
* </div></pre>
|
|
419
|
+
*
|
|
420
|
+
* The {@link wjCollectionViewPager} directive has a single attribute:
|
|
421
|
+
*
|
|
422
|
+
* <dl class="dl-horizontal">
|
|
423
|
+
* <dt>cv</dt> <dd>Reference to the paged {@link ICollectionView} object to navigate.</dd>
|
|
424
|
+
* </dl>
|
|
425
|
+
*/
|
|
426
|
+
export declare class wjCollectionViewPager extends WjCollectionViewBaseBinding {
|
|
427
|
+
_getMetaDataId(): any;
|
|
428
|
+
_getTemplate(): string;
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* KnockoutJS binding for an {@link ICollectionView} navigator element.
|
|
432
|
+
*
|
|
433
|
+
* Use the {@link wjCollectionViewNavigator} directive to add an element that allows users to
|
|
434
|
+
* navigate through the items in an {@link ICollectionView}. For example:
|
|
435
|
+
*
|
|
436
|
+
* <pre>Here is a CollectionViewNavigator:</p>
|
|
437
|
+
* <div
|
|
438
|
+
* data-bind="wjCollectionViewNavigator: { cv: myCollectionView }">
|
|
439
|
+
* </div></pre>
|
|
440
|
+
*
|
|
441
|
+
* The {@link wjCollectionViewNavigator} directive has a single attribute:
|
|
442
|
+
*
|
|
443
|
+
* <dl class="dl-horizontal">
|
|
444
|
+
* <dt>cv</dt> <dd>Reference to the {@link ICollectionView} object to navigate.</dd>
|
|
445
|
+
* </dl>
|
|
446
|
+
*/
|
|
447
|
+
export declare class wjCollectionViewNavigator extends WjCollectionViewBaseBinding {
|
|
448
|
+
_getMetaDataId(): any;
|
|
449
|
+
_getTemplate(): string;
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* KnockoutJS binding for the {@link MultiSelect} control.
|
|
453
|
+
*
|
|
454
|
+
* Use the {@link wjMultiSelect} binding to add {@link MultiSelect} controls to your
|
|
455
|
+
* KnockoutJS applications. For example:
|
|
456
|
+
*
|
|
457
|
+
* <pre><p>Here is a MultiSelect control:</p>
|
|
458
|
+
* <div data-bind="MultiSelect: {
|
|
459
|
+
* itemsSource: countries,
|
|
460
|
+
* isEditable: false,
|
|
461
|
+
* headerFormat: '{count} countries selected' }">
|
|
462
|
+
* </div></pre>
|
|
463
|
+
*
|
|
464
|
+
* The <b>wjMultiSelect</b> binding supports all read-write properties and events of
|
|
465
|
+
* the {@link MultiSelect} control. The following properties provide two-way binding mode:
|
|
466
|
+
* <ul>
|
|
467
|
+
* <li><b>isDroppedDown</b></li>
|
|
468
|
+
* <li><b>text</b></li>
|
|
469
|
+
* <li><b>selectedIndex</b></li>
|
|
470
|
+
* <li><b>selectedItem</b></li>
|
|
471
|
+
* <li><b>selectedValue</b></li>
|
|
472
|
+
* </ul>
|
|
473
|
+
*/
|
|
474
|
+
export declare class wjMultiSelect extends wjComboBox {
|
|
475
|
+
_getControlConstructor(): any;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* KnockoutJS binding for the {@link MultiAutoComplete} control.
|
|
479
|
+
*
|
|
480
|
+
* Use the {@link wjMultiAutoComplete} binding to add {@link MultiAutoComplete} controls to your
|
|
481
|
+
* KnockoutJS applications. For example:
|
|
482
|
+
*
|
|
483
|
+
* <pre><p>Here is a MultiAutoComplete control:</p>
|
|
484
|
+
* <div data-bind="MultiAutoComplete: {
|
|
485
|
+
* itemsSource: countries,
|
|
486
|
+
* maxSelectedItems: 4,}">
|
|
487
|
+
* </div></pre>
|
|
488
|
+
*
|
|
489
|
+
* The <b>wjMultiAutoComplete</b> binding supports all read-write properties and events of
|
|
490
|
+
* the {@link MultiAutoComplete} control.
|
|
491
|
+
*/
|
|
492
|
+
export declare class wjMultiAutoComplete extends wjAutoComplete {
|
|
493
|
+
_getControlConstructor(): any;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* KnockoutJS binding for the {@link Popup} control.
|
|
497
|
+
*
|
|
498
|
+
* Use the {@link wjPopup} binding to add {@link Popup} controls to your
|
|
499
|
+
* KnockoutJS applications. For example:
|
|
500
|
+
*
|
|
501
|
+
* <pre><p>Here is a Popup control triggered by a button:</p>
|
|
502
|
+
* <button id="btn2" type="button">
|
|
503
|
+
* Click to show Popup
|
|
504
|
+
* </button>
|
|
505
|
+
* <div class="popover" data-bind="wjPopup: {
|
|
506
|
+
* control: popup,
|
|
507
|
+
* owner: '#btn2',
|
|
508
|
+
* showTrigger: 'Click',
|
|
509
|
+
* hideTrigger: 'Click'}"
|
|
510
|
+
* >
|
|
511
|
+
* <h3>
|
|
512
|
+
* Salutation
|
|
513
|
+
* </h3>
|
|
514
|
+
* <div class="popover-content">
|
|
515
|
+
* Hello {​{firstName}} {​{lastName}}
|
|
516
|
+
* </div>
|
|
517
|
+
* </div></pre>
|
|
518
|
+
*/
|
|
519
|
+
export declare class wjPopup extends WjBinding {
|
|
520
|
+
_getControlConstructor(): any;
|
|
521
|
+
_createWijmoContext(): WjContext;
|
|
522
|
+
_initialize(): void;
|
|
523
|
+
}
|
|
524
|
+
export declare class WjPopupContext extends WjContext {
|
|
525
|
+
_initControl(): void;
|
|
526
|
+
_updateModal(convertedValue: any): void;
|
|
527
|
+
}
|
package/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* Wijmo Library 5.20232.939
|
|
4
|
+
* https://developer.mescius.com/wijmo
|
|
5
|
+
*
|
|
6
|
+
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the End-User License Agreement For MESCIUS Wijmo Software.
|
|
9
|
+
* us.sales@mescius.com
|
|
10
|
+
* https://developer.mescius.com/wijmo/licensing
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,n){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};return function(t,n){extendStatics(t,n);function __(){this.constructor=t}t.prototype=null===n?Object.create(n):(__.prototype=n.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)Object.hasOwnProperty.call(t,e)&&(n[e]=t[e]);n.default=t;return n};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_knockout_base_1=require("@mescius/wijmo.knockout.base"),wijmo_1=require("@mescius/wijmo"),mKo=__importStar(require("knockout")),wjcInput=__importStar(require("@mescius/wijmo.input")),wjKo=mKo,WjDropDownBinding=function(t){__extends(WjDropDownBinding,t);function WjDropDownBinding(){return null!==t&&t.apply(this,arguments)||this}WjDropDownBinding.prototype._getControlConstructor=function(){return wjcInput.DropDown};return WjDropDownBinding}(wijmo_knockout_base_1.WjBinding);exports.WjDropDownBinding=WjDropDownBinding;var wjComboBox=function(t){__extends(wjComboBox,t);function wjComboBox(){return null!==t&&t.apply(this,arguments)||this}wjComboBox.prototype._getControlConstructor=function(){return wjcInput.ComboBox};return wjComboBox}(WjDropDownBinding);exports.wjComboBox=wjComboBox;var wjAutoComplete=function(t){__extends(wjAutoComplete,t);function wjAutoComplete(){return null!==t&&t.apply(this,arguments)||this}wjAutoComplete.prototype._getControlConstructor=function(){return wjcInput.AutoComplete};return wjAutoComplete}(wjComboBox);exports.wjAutoComplete=wjAutoComplete;var wjCalendar=function(t){__extends(wjCalendar,t);function wjCalendar(){return null!==t&&t.apply(this,arguments)||this}wjCalendar.prototype._getControlConstructor=function(){return wjcInput.Calendar};return wjCalendar}(wijmo_knockout_base_1.WjBinding);exports.wjCalendar=wjCalendar;var wjColorPicker=function(t){__extends(wjColorPicker,t);function wjColorPicker(){return null!==t&&t.apply(this,arguments)||this}wjColorPicker.prototype._getControlConstructor=function(){return wjcInput.ColorPicker};return wjColorPicker}(wijmo_knockout_base_1.WjBinding);exports.wjColorPicker=wjColorPicker;var wjListBox=function(t){__extends(wjListBox,t);function wjListBox(){return null!==t&&t.apply(this,arguments)||this}wjListBox.prototype._getControlConstructor=function(){return wjcInput.ListBox};return wjListBox}(wijmo_knockout_base_1.WjBinding);exports.wjListBox=wjListBox;var wjMenu=function(t){__extends(wjMenu,t);function wjMenu(){return null!==t&&t.apply(this,arguments)||this}wjMenu.prototype._getControlConstructor=function(){return wjcInput.Menu};wjMenu.prototype._createWijmoContext=function(){return new WjMenuContext(this)};wjMenu.prototype._initialize=function(){t.prototype._initialize.call(this);wijmo_knockout_base_1.MetaFactory.findProp("value",this._metaData.props).updateControl=this._updateControlValue};wjMenu.prototype._updateControlValue=function(t,n,e,o,i){if(null!=i){e.selectedValue=i;t._updateHeader()}return!0};return wjMenu}(wjComboBox);exports.wjMenu=wjMenu;var WjMenuContext=function(t){__extends(WjMenuContext,t);function WjMenuContext(){return null!==t&&t.apply(this,arguments)||this}WjMenuContext.prototype._initControl=function(){var n=this;t.prototype._initControl.call(this);var e=this.control;e.displayMemberPath="header";e.commandPath="cmd";e.commandParameterPath="cmdParam";e.selectedValuePath="value";e.itemsSource=new wijmo_1.ObservableArray;e.itemClicked.addHandler((function(){n._safeUpdateSrcAttr("value",e.selectedValue);n._updateHeader()}))};WjMenuContext.prototype._childrenInitialized=function(){t.prototype._childrenInitialized.call(this);this.control.selectedIndex=0;this._updateHeader()};WjMenuContext.prototype._updateHeader=function(){var t=this.control,n=this.valueAccessor(),e=wjKo.unwrap(n.header);if(void 0!==wjKo.unwrap(n.value)&&t.selectedItem&&t.displayMemberPath){var o=t.selectedItem[t.displayMemberPath];null!=o&&(e+=": <b>"+o+"</b>")}t.header=e};return WjMenuContext}(wijmo_knockout_base_1.WjContext);exports.WjMenuContext=WjMenuContext;var wjMenuItem=function(t){__extends(wjMenuItem,t);function wjMenuItem(){return null!==t&&t.apply(this,arguments)||this}wjMenuItem.prototype._getMetaDataId=function(){return"MenuItem"};wjMenuItem.prototype._createWijmoContext=function(){return new WjMenuItemContext(this)};wjMenuItem.prototype._initialize=function(){t.prototype._initialize.call(this);var n=this._metaData;n.parentProperty="itemsSource";n.isParentPropertyArray=!0};return wjMenuItem}(wijmo_knockout_base_1.WjBinding);exports.wjMenuItem=wjMenuItem;var WjMenuItemContext=function(t){__extends(WjMenuItemContext,t);function WjMenuItemContext(){return null!==t&&t.apply(this,arguments)||this}WjMenuItemContext.prototype._createControl=function(){return{header:this.element.innerHTML,cmd:null,cmdParam:null,value:null}};return WjMenuItemContext}(wijmo_knockout_base_1.WjContext);exports.WjMenuItemContext=WjMenuItemContext;var wjMenuSeparator=function(t){__extends(wjMenuSeparator,t);function wjMenuSeparator(){return null!==t&&t.apply(this,arguments)||this}wjMenuSeparator.prototype._getMetaDataId=function(){return"MenuSeparator"};wjMenuSeparator.prototype._initialize=function(){t.prototype._initialize.call(this);var n=this._metaData;n.parentProperty="itemsSource";n.isParentPropertyArray=!0};wjMenuSeparator.prototype._createControl=function(t){return{header:'<div class="wj-state-disabled" style="width:100%;height:1px;background-color:lightgray"></div>'}};return wjMenuSeparator}(wijmo_knockout_base_1.WjBinding);exports.wjMenuSeparator=wjMenuSeparator;var wjContextMenu=function(t){__extends(wjContextMenu,t);function wjContextMenu(){return null!==t&&t.apply(this,arguments)||this}wjContextMenu.prototype._getMetaDataId=function(){return"ContextMenu"};wjContextMenu.prototype._createControl=function(t){return null};wjContextMenu.prototype._createWijmoContext=function(){return new WjContextMenuContext(this)};return wjContextMenu}(wijmo_knockout_base_1.WjBinding);exports.wjContextMenu=wjContextMenu;var WjContextMenuContext=function(t){__extends(WjContextMenuContext,t);function WjContextMenuContext(){return null!==t&&t.apply(this,arguments)||this}WjContextMenuContext.prototype._initControl=function(){t.prototype._initControl.call(this);var n=this.valueAccessor(),e=wijmo_1.getElement(n.id);this.element.addEventListener("contextmenu",(function(t){var n=wijmo_1.Control.getControl(e),o=n.dropDown;if(n&&o&&!wijmo_1.closest(t.target,"[disabled]")){t.preventDefault();n.owner=this.element;n.selectedIndex=-1;if(n.onIsDroppedDownChanging(new wijmo_1.CancelEventArgs)){wijmo_1.showPopup(o,t);n.onIsDroppedDownChanged();o.focus()}}}))};return WjContextMenuContext}(wijmo_knockout_base_1.WjContext);exports.WjContextMenuContext=WjContextMenuContext;var wjInputDate=function(t){__extends(wjInputDate,t);function wjInputDate(){return null!==t&&t.apply(this,arguments)||this}wjInputDate.prototype._getControlConstructor=function(){return wjcInput.InputDate};return wjInputDate}(WjDropDownBinding);exports.wjInputDate=wjInputDate;var wjInputDateTime=function(t){__extends(wjInputDateTime,t);function wjInputDateTime(){return null!==t&&t.apply(this,arguments)||this}wjInputDateTime.prototype._getControlConstructor=function(){return wjcInput.InputDateTime};return wjInputDateTime}(wijmo_knockout_base_1.WjBinding);exports.wjInputDateTime=wjInputDateTime;var wjInputNumber=function(t){__extends(wjInputNumber,t);function wjInputNumber(){return null!==t&&t.apply(this,arguments)||this}wjInputNumber.prototype._getControlConstructor=function(){return wjcInput.InputNumber};return wjInputNumber}(wijmo_knockout_base_1.WjBinding);exports.wjInputNumber=wjInputNumber;var wjInputMask=function(t){__extends(wjInputMask,t);function wjInputMask(){return null!==t&&t.apply(this,arguments)||this}wjInputMask.prototype._getControlConstructor=function(){return wjcInput.InputMask};return wjInputMask}(wijmo_knockout_base_1.WjBinding);exports.wjInputMask=wjInputMask;var wjInputTime=function(t){__extends(wjInputTime,t);function wjInputTime(){return null!==t&&t.apply(this,arguments)||this}wjInputTime.prototype._getControlConstructor=function(){return wjcInput.InputTime};return wjInputTime}(wjComboBox);exports.wjInputTime=wjInputTime;var wjInputColor=function(t){__extends(wjInputColor,t);function wjInputColor(){return null!==t&&t.apply(this,arguments)||this}wjInputColor.prototype._getControlConstructor=function(){return wjcInput.InputColor};return wjInputColor}(WjDropDownBinding);exports.wjInputColor=wjInputColor;var WjCollectionViewBaseBinding=function(t){__extends(WjCollectionViewBaseBinding,t);function WjCollectionViewBaseBinding(){return null!==t&&t.apply(this,arguments)||this}WjCollectionViewBaseBinding.prototype._createControl=function(t){return null};WjCollectionViewBaseBinding.prototype._createWijmoContext=function(){return new WjCollectionViewContext(this)};WjCollectionViewBaseBinding.prototype._getTemplate=function(){return""};return WjCollectionViewBaseBinding}(wijmo_knockout_base_1.WjBinding);exports.WjCollectionViewBaseBinding=WjCollectionViewBaseBinding;var WjCollectionViewContext=function(t){__extends(WjCollectionViewContext,t);function WjCollectionViewContext(){var n=null!==t&&t.apply(this,arguments)||this;n._emptyCV=new wijmo_1.CollectionView([]);return n}WjCollectionViewContext.prototype.init=function(t,n,e,o,i){t.innerHTML=this.wjBinding._getTemplate();var r=wjKo.unwrap(n().cv)||this._emptyCV;this._subscribeToCV(r);this._localVM={cv:wjKo.observable(r)};var u=i.createChildContext(this._localVM);wjKo.applyBindingsToDescendants(u,t);return{controlsDescendantBindings:!0}};WjCollectionViewContext.prototype.update=function(t,n,e,o,i){var r=wjKo.unwrap(n().cv)||this._emptyCV,u=wjKo.unwrap(this._localVM.cv);if(r!==u){this._unsubscribeFromCV(u);this._subscribeToCV(r);this._localVM.cv(r)}};WjCollectionViewContext.prototype._subscribeToCV=function(t){if(t){t.collectionChanged.addHandler(this._forceBindingsUpdate,this);t.currentChanged.addHandler(this._forceBindingsUpdate,this);t.pageChanged.addHandler(this._forceBindingsUpdate,this)}};WjCollectionViewContext.prototype._unsubscribeFromCV=function(t){if(t){t.collectionChanged.removeHandler(this._forceBindingsUpdate,this);t.currentChanged.removeHandler(this._forceBindingsUpdate,this);t.pageChanged.removeHandler(this._forceBindingsUpdate,this)}};WjCollectionViewContext.prototype._forceBindingsUpdate=function(t,n){this._localVM.cv.valueHasMutated()};return WjCollectionViewContext}(wijmo_knockout_base_1.WjContext);exports.WjCollectionViewContext=WjCollectionViewContext;var wjCollectionViewPager=function(t){__extends(wjCollectionViewPager,t);function wjCollectionViewPager(){return null!==t&&t.apply(this,arguments)||this}wjCollectionViewPager.prototype._getMetaDataId=function(){return"CollectionViewPager"};wjCollectionViewPager.prototype._getTemplate=function(){return'<div class="wj-control wj-content wj-pager"> <div class="wj-input-group"> <span class="wj-input-group-btn" > <button class="wj-btn wj-btn-default" type="button" data-bind="click: function () { cv().moveToFirstPage() }, disable: cv().pageIndex <= 0"> <span class="wj-glyph-left" style="margin-right: -4px;"></span> <span class="wj-glyph-left"></span> </button> </span> <span class="wj-input-group-btn" > <button class="wj-btn wj-btn-default" type="button" data-bind="click: function () { cv().moveToPreviousPage() }, disable: cv().pageIndex <= 0"> <span class="wj-glyph-left"></span> </button> </span> <input type="text" class="wj-form-control" data-bind=" value: cv().pageIndex + 1 + \' / \' + cv().pageCount " disabled /> <span class="wj-input-group-btn" > <button class="wj-btn wj-btn-default" type="button" data-bind="click: function () { cv().moveToNextPage() }, disable: cv().pageIndex >= cv().pageCount - 1"> <span class="wj-glyph-right"></span> </button> </span> <span class="wj-input-group-btn" > <button class="wj-btn wj-btn-default" type="button" data-bind="click: function () { cv().moveToLastPage() }, disable: cv().pageIndex >= cv().pageCount - 1"> <span class="wj-glyph-right"></span> <span class="wj-glyph-right" style="margin-left: -4px;"></span> </button> </span> </div></div>'};return wjCollectionViewPager}(WjCollectionViewBaseBinding);exports.wjCollectionViewPager=wjCollectionViewPager;var wjCollectionViewNavigator=function(t){__extends(wjCollectionViewNavigator,t);function wjCollectionViewNavigator(){return null!==t&&t.apply(this,arguments)||this}wjCollectionViewNavigator.prototype._getMetaDataId=function(){return"CollectionViewNavigator"};wjCollectionViewNavigator.prototype._getTemplate=function(){return'<div class="wj-control wj-content wj-pager"> <div class="wj-input-group"> <span class="wj-input-group-btn" > <button class="wj-btn wj-btn-default" type="button" data-bind="click: function () { cv().moveCurrentToFirst() }, disable: cv().currentPosition <= 0"> <span class="wj-glyph-left" style="margin-right: -4px;"></span> <span class="wj-glyph-left"></span> </button> </span> <span class="wj-input-group-btn" > <button class="wj-btn wj-btn-default" type="button" data-bind="click: function () { cv().moveCurrentToPrevious() }, disable: cv().currentPosition <= 0"> <span class="wj-glyph-left"></span> </button> </span> <input type="text" class="wj-form-control" data-bind=" value: cv().currentPosition + 1 + \' / \' + cv().itemCount " disabled /> <span class="wj-input-group-btn" > <button class="wj-btn wj-btn-default" type="button" data-bind="click: function () { cv().moveCurrentToNext() }, disable: cv().currentPosition >= cv().itemCount - 1"> <span class="wj-glyph-right"></span> </button> </span> <span class="wj-input-group-btn" > <button class="wj-btn wj-btn-default" type="button" data-bind="click: function () { cv().moveCurrentToLast() }, disable: cv().currentPosition >= cv().itemCount - 1"> <span class="wj-glyph-right"></span> <span class="wj-glyph-right" style="margin-left: -4px;"></span> </button> </span> </div></div>'};return wjCollectionViewNavigator}(WjCollectionViewBaseBinding);exports.wjCollectionViewNavigator=wjCollectionViewNavigator;var wjMultiSelect=function(t){__extends(wjMultiSelect,t);function wjMultiSelect(){return null!==t&&t.apply(this,arguments)||this}wjMultiSelect.prototype._getControlConstructor=function(){return wjcInput.MultiSelect};return wjMultiSelect}(wjComboBox);exports.wjMultiSelect=wjMultiSelect;var wjMultiAutoComplete=function(t){__extends(wjMultiAutoComplete,t);function wjMultiAutoComplete(){return null!==t&&t.apply(this,arguments)||this}wjMultiAutoComplete.prototype._getControlConstructor=function(){return wjcInput.MultiAutoComplete};return wjMultiAutoComplete}(wjAutoComplete);exports.wjMultiAutoComplete=wjMultiAutoComplete;var wjPopup=function(t){__extends(wjPopup,t);function wjPopup(){return null!==t&&t.apply(this,arguments)||this}wjPopup.prototype._getControlConstructor=function(){return wjcInput.Popup};wjPopup.prototype._createWijmoContext=function(){return new WjPopupContext(this)};wjPopup.prototype._initialize=function(){t.prototype._initialize.call(this);wijmo_knockout_base_1.MetaFactory.findProp("owner",this._metaData.props).updateControl=function(t,n,e,o,i){e.owner=i;t._updateModal(i);return!0}};return wjPopup}(wijmo_knockout_base_1.WjBinding);exports.wjPopup=wjPopup;var WjPopupContext=function(t){__extends(WjPopupContext,t);function WjPopupContext(){return null!==t&&t.apply(this,arguments)||this}WjPopupContext.prototype._initControl=function(){t.prototype._initControl.call(this);this.control.removeOnHide=!1};WjPopupContext.prototype._updateModal=function(t){var n=this.valueAccessor(),e=this.control;null==wjKo.unwrap(n.modal)&&(e.modal=!t)};return WjPopupContext}(wijmo_knockout_base_1.WjContext);exports.WjPopupContext=WjPopupContext;wjKo.bindingHandlers.wjComboBox=new wjComboBox;wjKo.bindingHandlers.wjAutoComplete=new wjAutoComplete;wjKo.bindingHandlers.wjCalendar=new wjCalendar;wjKo.bindingHandlers.wjColorPicker=new wjColorPicker;wjKo.bindingHandlers.wjListBox=new wjListBox;wjKo.bindingHandlers.wjMenu=new wjMenu;wjKo.bindingHandlers.wjMenuItem=new wjMenuItem;wjKo.bindingHandlers.wjMenuSeparator=new wjMenuSeparator;wjKo.bindingHandlers.wjContextMenu=new wjContextMenu;wjKo.bindingHandlers.wjInputDate=new wjInputDate;wjKo.bindingHandlers.wjInputDateTime=new wjInputDateTime;wjKo.bindingHandlers.wjInputNumber=new wjInputNumber;wjKo.bindingHandlers.wjInputMask=new wjInputMask;wjKo.bindingHandlers.wjInputTime=new wjInputTime;wjKo.bindingHandlers.wjInputColor=new wjInputColor;wjKo.bindingHandlers.wjCollectionViewNavigator=new wjCollectionViewNavigator;wjKo.bindingHandlers.wjCollectionViewPager=new wjCollectionViewPager;wjKo.bindingHandlers.wjMultiSelect=new wjMultiSelect;wjKo.bindingHandlers.wjMultiAutoComplete=new wjMultiAutoComplete;wjKo.bindingHandlers.wjPopup=new wjPopup;
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mescius/wijmo.knockout.input",
|
|
3
|
+
"version": "5.20232.939",
|
|
4
|
+
"description": "UI library for pure JS, Angular, React, Vue and more...",
|
|
5
|
+
"author": "MESCIUS inc",
|
|
6
|
+
"license": "Commercial",
|
|
7
|
+
"main": "./index.js",
|
|
8
|
+
"types": "./index.d.ts",
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@mescius/wijmo": "5.20232.939",
|
|
11
|
+
"@mescius/wijmo.input": "5.20232.939",
|
|
12
|
+
"@mescius/wijmo.knockout.base": "5.20232.939"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://developer.mescius.com/wijmo",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://developer.mescius.com/forums/wijmo"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"control",
|
|
20
|
+
"component",
|
|
21
|
+
"ui",
|
|
22
|
+
"control library",
|
|
23
|
+
"component library",
|
|
24
|
+
"ui library",
|
|
25
|
+
"control-library",
|
|
26
|
+
"component-library",
|
|
27
|
+
"ui-library",
|
|
28
|
+
"grid",
|
|
29
|
+
"data grid",
|
|
30
|
+
"data-grid",
|
|
31
|
+
"datagrid",
|
|
32
|
+
"angular grid",
|
|
33
|
+
"react grid",
|
|
34
|
+
"vue grid",
|
|
35
|
+
"angular-grid",
|
|
36
|
+
"react-grid",
|
|
37
|
+
"vue-grid"
|
|
38
|
+
],
|
|
39
|
+
"module": "./es5-esm.js",
|
|
40
|
+
"esm5": "./es5-esm.js",
|
|
41
|
+
"wj-esm5": "./es5-esm.js",
|
|
42
|
+
"es2015Cjs": "./es2015-commonjs.js",
|
|
43
|
+
"wj-es2015Cjs": "./es2015-commonjs.js",
|
|
44
|
+
"esm2015": "./es2015-esm.js",
|
|
45
|
+
"wj-esm2015": "./es2015-esm.js"
|
|
46
|
+
}
|