| @@ -0,0 +1,33 | |||
|  | 1 | # dojo-typings | |
|  | 2 | ||
|  | 3 | This project is forked from the original `dojo-typings` package to | |
|  | 4 | improve it with more tight and customizable type definitions. | |
|  | 5 | ||
|  | 6 | The primary aims are | |
|  | 7 | ||
|  | 8 | * Parametrize collections with items type. | |
|  | 9 | * Distinguish sync and async methods in stores. | |
|  | 10 | * Parametrize widget typings with event and attribute maps. | |
|  | 11 | ||
|  | 12 | ## Changes | |
|  | 13 | ||
|  | 14 | ### 1.0.1 | |
|  | 15 | ||
|  | 16 | Maintenance release | |
|  | 17 | ||
|  | 18 | * `NodeList-fx` added overloads to all methods to distinguish returned values | |
|  | 19 | of different types (`Animation | this`). | |
|  | 20 | * Added missing signatures to `NodeList` constructor | |
|  | 21 | * Improved `dijit.form._FormWidgetMixin` | |
|  | 22 | * Added module declarations `dijit/form/_FormWidgetMixin`, | |
|  | 23 | `dijit/form/_FormValueMixin`, `dijit/_HasDropDown` | |
|  | 24 | ||
|  | 25 | ### 1.0.0 | |
|  | 26 | ||
|  | 27 | Initial release | |
|  | 28 | ||
|  | 29 | * Parametrized `dojo/Stateful`, `diji/_WidgetBase` | |
|  | 30 | * split `dojo.store.api.Store` in two `SyncStore` and `AsyncStore` interfaces | |
|  | 31 | * `dojo/store/Memory` implements `SyncStore` and can be used synchronously, | |
|  | 32 | * `dojo/store/Rest` implements `AsyncStore` and all its methods are | |
|  | 33 | returning explicit promises. | |
| @@ -0,0 +1,8 | |||
|  | 1 | import "dojo/NodeList-fx"; | |
|  | 2 | ||
|  | 3 | declare const nl: dojo.NodeList<Node>; | |
|  | 4 | ||
|  | 5 | const anim: dojo._base.Animation = nl.fadeIn(); | |
|  | 6 | const anim2: dojo._base.Animation = nl.fadeIn({duration: 500}); | |
|  | 7 | const nl2: typeof nl = nl.fadeOut({auto: true, onEnd: () => {}}); | |
|  | 8 | const other = nl.fadeOut({auto: false}); No newline at end of file | |
| @@ -1,1889 +1,1868 | |||
|  | 1 | 1 | declare namespace dijit { | 
|  | 2 | 2 | |
|  | 3 | 3 |  | 
|  | 4 | 4 | |
|  | 5 | 5 |  | 
|  | 6 | 6 | |
|  | 7 | 7 |  | 
|  | 8 | 8 |  | 
|  | 9 | 9 | } | 
|  | 10 | 10 | |
|  | 11 | 11 |  | 
|  | 12 | 12 | /** | 
|  | 13 | 13 |  | 
|  | 14 | 14 |  | 
|  | 15 | 15 |  | 
|  | 16 | 16 |  | 
|  | 17 | 17 | */ | 
|  | 18 | 18 |  | 
|  | 19 | 19 | } | 
|  | 20 | 20 | |
|  | 21 | 21 |  | 
|  | 22 | 22 | /** | 
|  | 23 | 23 |  | 
|  | 24 | 24 |  | 
|  | 25 | 25 |  | 
|  | 26 | 26 |  | 
|  | 27 | 27 |  | 
|  | 28 | 28 | */ | 
|  | 29 | 29 |  | 
|  | 30 | 30 | } | 
|  | 31 | 31 | |
|  | 32 | 32 |  | 
|  | 33 | 33 | /** | 
|  | 34 | 34 |  | 
|  | 35 | 35 |  | 
|  | 36 | 36 |  | 
|  | 37 | 37 |  | 
|  | 38 | 38 | */ | 
|  | 39 | 39 |  | 
|  | 40 | 40 | } | 
|  | 41 | 41 | |
|  | 42 | 42 |  | 
|  | 43 | 43 |  | 
|  | 44 | 44 | } | 
|  | 45 | 45 | |
|  | 46 | 46 |  | 
|  | 47 | 47 | |
|  | 48 | 48 |  | 
|  | 49 | 49 |  | 
|  | 50 | 50 | /** | 
|  | 51 | 51 |  | 
|  | 52 | 52 |  | 
|  | 53 | 53 | */ | 
|  | 54 | 54 | item: T; | 
|  | 55 | 55 | |
|  | 56 | 56 | /** | 
|  | 57 | 57 |  | 
|  | 58 | 58 |  | 
|  | 59 | 59 |  | 
|  | 60 | 60 | */ | 
|  | 61 | 61 |  | 
|  | 62 | 62 | |
|  | 63 | 63 | /** | 
|  | 64 | 64 |  | 
|  | 65 | 65 | */ | 
|  | 66 | 66 |  | 
|  | 67 | 67 |  | 
|  | 68 | 68 |  | 
|  | 69 | 69 | |
|  | 70 | 70 | /** | 
|  | 71 | 71 |  | 
|  | 72 | 72 |  | 
|  | 73 | 73 |  | 
|  | 74 | 74 | */ | 
|  | 75 | 75 |  | 
|  | 76 | 76 | |
|  | 77 | 77 | /** | 
|  | 78 | 78 |  | 
|  | 79 | 79 |  | 
|  | 80 | 80 | */ | 
|  | 81 | 81 |  | 
|  | 82 | 82 | |
|  | 83 | 83 | /** | 
|  | 84 | 84 |  | 
|  | 85 | 85 | */ | 
|  | 86 | 86 |  | 
|  | 87 | 87 | |
|  | 88 | 88 | /** | 
|  | 89 | 89 |  | 
|  | 90 | 90 | */ | 
|  | 91 | 91 |  | 
|  | 92 | 92 | |
|  | 93 | 93 |  | 
|  | 94 | 94 |  | 
|  | 95 | 95 | |
|  | 96 | 96 | /** | 
|  | 97 | 97 |  | 
|  | 98 | 98 | */ | 
|  | 99 | 99 |  | 
|  | 100 | 100 | |
|  | 101 | 101 | /** | 
|  | 102 | 102 |  | 
|  | 103 | 103 |  | 
|  | 104 | 104 | */ | 
|  | 105 | 105 |  | 
|  | 106 | 106 | |
|  | 107 | 107 | /** | 
|  | 108 | 108 |  | 
|  | 109 | 109 |  | 
|  | 110 | 110 |  | 
|  | 111 | 111 | */ | 
|  | 112 | 112 |  | 
|  | 113 | 113 | |
|  | 114 | 114 |  | 
|  | 115 | 115 |  | 
|  | 116 | 116 | |
|  | 117 | 117 | /** | 
|  | 118 | 118 |  | 
|  | 119 | 119 |  | 
|  | 120 | 120 |  | 
|  | 121 | 121 | */ | 
|  | 122 | 122 |  | 
|  | 123 | 123 |  | 
|  | 124 | 124 |  | 
|  | 125 | 125 | |
|  | 126 | 126 |  | 
|  | 127 | 127 |  | 
|  | 128 | 128 |  | 
|  | 129 | 129 |  | 
|  | 130 | 130 |  | 
|  | 131 | 131 | } | 
|  | 132 | 132 | |
|  | 133 | 133 |  | 
|  | 134 | 134 | |
|  | 135 | 135 |  | 
|  | 136 | 136 | /** | 
|  | 137 | 137 |  | 
|  | 138 | 138 | */ | 
|  | 139 | 139 |  | 
|  | 140 | 140 | |
|  | 141 | 141 | /** | 
|  | 142 | 142 |  | 
|  | 143 | 143 | */ | 
|  | 144 | 144 |  | 
|  | 145 | 145 |  | 
|  | 146 | 146 | |
|  | 147 | 147 | /** | 
|  | 148 | 148 |  | 
|  | 149 | 149 |  | 
|  | 150 | 150 | */ | 
|  | 151 | 151 |  | 
|  | 152 | 152 |  | 
|  | 153 | 153 | } | 
|  | 154 | 154 | |
|  | 155 | 155 |  | 
|  | 156 | 156 | |
|  | 157 | 157 |  | 
|  | 158 | 158 | /** | 
|  | 159 | 159 |  | 
|  | 160 | 160 |  | 
|  | 161 | 161 | */ | 
|  | 162 | 162 |  | 
|  | 163 | 163 | |
|  | 164 | 164 | /** | 
|  | 165 | 165 |  | 
|  | 166 | 166 |  | 
|  | 167 | 167 | */ | 
|  | 168 | 168 |  | 
|  | 169 | 169 | |
|  | 170 | 170 | /** | 
|  | 171 | 171 |  | 
|  | 172 | 172 |  | 
|  | 173 | 173 |  | 
|  | 174 | 174 | */ | 
|  | 175 | 175 |  | 
|  | 176 | 176 | |
|  | 177 | 177 |  | 
|  | 178 | 178 | } | 
|  | 179 | 179 | |
|  | 180 | 180 |  | 
|  | 181 | 181 | |
|  | 182 | 182 |  | 
|  | 183 | 183 |  | 
|  | 184 | 184 |  | 
|  | 185 | 185 | |
|  | 186 | 186 | /** | 
|  | 187 | 187 |  | 
|  | 188 | 188 | */ | 
|  | 189 | 189 |  | 
|  | 190 | 190 | |
|  | 191 | 191 | /** | 
|  | 192 | 192 |  | 
|  | 193 | 193 | */ | 
|  | 194 | 194 |  | 
|  | 195 | 195 | |
|  | 196 | 196 | /** | 
|  | 197 | 197 |  | 
|  | 198 | 198 | */ | 
|  | 199 | 199 |  | 
|  | 200 | 200 | |
|  | 201 | 201 | /** | 
|  | 202 | 202 |  | 
|  | 203 | 203 | */ | 
|  | 204 | 204 |  | 
|  | 205 | 205 | |
|  | 206 | 206 | /** | 
|  | 207 | 207 |  | 
|  | 208 | 208 | */ | 
|  | 209 | 209 |  | 
|  | 210 | 210 | |
|  | 211 | 211 | /** | 
|  | 212 | 212 |  | 
|  | 213 | 213 |  | 
|  | 214 | 214 | */ | 
|  | 215 | 215 |  | 
|  | 216 | 216 | |
|  | 217 | 217 |  | 
|  | 218 | 218 |  | 
|  | 219 | 219 | } | 
|  | 220 | 220 | |
|  | 221 | 221 |  | 
|  | 222 | 222 |  | 
|  | 223 | 223 | } | 
|  | 224 | 224 | |
|  | 225 | 225 |  | 
|  | 226 | 226 | |
|  | 227 | 227 |  | 
|  | 228 | 228 | /** | 
|  | 229 | 229 |  | 
|  | 230 | 230 | */ | 
|  | 231 | 231 |  | 
|  | 232 | 232 | |
|  | 233 | 233 |  | 
|  | 234 | 234 | |
|  | 235 | 235 | /** | 
|  | 236 | 236 |  | 
|  | 237 | 237 | */ | 
|  | 238 | 238 |  | 
|  | 239 | 239 | |
|  | 240 | 240 | /** | 
|  | 241 | 241 |  | 
|  | 242 | 242 | */ | 
|  | 243 | 243 |  | 
|  | 244 | 244 | |
|  | 245 | 245 | /** | 
|  | 246 | 246 |  | 
|  | 247 | 247 | */ | 
|  | 248 | 248 |  | 
|  | 249 | 249 | |
|  | 250 | 250 | /** | 
|  | 251 | 251 |  | 
|  | 252 | 252 | */ | 
|  | 253 | 253 |  | 
|  | 254 | 254 | |
|  | 255 | 255 | /** | 
|  | 256 | 256 |  | 
|  | 257 | 257 | */ | 
|  | 258 | 258 |  | 
|  | 259 | 259 | |
|  | 260 | 260 | /** | 
|  | 261 | 261 |  | 
|  | 262 | 262 | */ | 
|  | 263 | 263 |  | 
|  | 264 | 264 | |
|  | 265 | 265 | /** | 
|  | 266 | 266 |  | 
|  | 267 | 267 | */ | 
|  | 268 | 268 |  | 
|  | 269 | 269 | |
|  | 270 | 270 |  | 
|  | 271 | 271 |  | 
|  | 272 | 272 |  | 
|  | 273 | 273 | |
|  | 274 | 274 |  | 
|  | 275 | 275 |  | 
|  | 276 | 276 |  | 
|  | 277 | 277 | } | 
|  | 278 | 278 | |
|  | 279 | 279 |  | 
|  | 280 | 280 | |
|  | 281 | 281 |  | 
|  | 282 | 282 | |
|  | 283 | 283 |  | 
|  | 284 | 284 |  | 
|  | 285 | 285 | |
|  | 286 | 286 | /** | 
|  | 287 | 287 |  | 
|  | 288 | 288 | */ | 
|  | 289 | 289 |  | 
|  | 290 | 290 |  | 
|  | 291 | 291 | |
|  | 292 | 292 | /** | 
|  | 293 | 293 |  | 
|  | 294 | 294 |  | 
|  | 295 | 295 |  | 
|  | 296 | 296 |  | 
|  | 297 | 297 | */ | 
|  | 298 | 298 |  | 
|  | 299 | 299 | |
|  | 300 | 300 | /** | 
|  | 301 | 301 |  | 
|  | 302 | 302 | */ | 
|  | 303 | 303 |  | 
|  | 304 | 304 | |
|  | 305 | 305 |  | 
|  | 306 | 306 | |
|  | 307 | 307 | /** | 
|  | 308 | 308 |  | 
|  | 309 | 309 |  | 
|  | 310 | 310 | */ | 
|  | 311 | 311 |  | 
|  | 312 | 312 | |
|  | 313 | 313 |  | 
|  | 314 | 314 |  | 
|  | 315 | 315 |  | 
|  | 316 | 316 | |
|  | 317 | 317 | /** | 
|  | 318 | 318 |  | 
|  | 319 | 319 | */ | 
|  | 320 | 320 |  | 
|  | 321 | 321 | |
|  | 322 | 322 | /** | 
|  | 323 | 323 |  | 
|  | 324 | 324 | */ | 
|  | 325 | 325 |  | 
|  | 326 | 326 | |
|  | 327 | 327 |  | 
|  | 328 | 328 | |
|  | 329 | 329 | /** | 
|  | 330 | 330 |  | 
|  | 331 | 331 | */ | 
|  | 332 | 332 |  | 
|  | 333 | 333 | |
|  | 334 | 334 | /** | 
|  | 335 | 335 |  | 
|  | 336 | 336 |  | 
|  | 337 | 337 | */ | 
|  | 338 | 338 |  | 
|  | 339 | 339 | |
|  | 340 | 340 |  | 
|  | 341 | 341 | |
|  | 342 | 342 | /** | 
|  | 343 | 343 |  | 
|  | 344 | 344 |  | 
|  | 345 | 345 | */ | 
|  | 346 | 346 |  | 
|  | 347 | 347 | |
|  | 348 | 348 | /** | 
|  | 349 | 349 |  | 
|  | 350 | 350 |  | 
|  | 351 | 351 |  | 
|  | 352 | 352 | */ | 
|  | 353 | 353 |  | 
|  | 354 | 354 |  | 
|  | 355 | 355 |  | 
|  | 356 | 356 | |
|  | 357 | 357 |  | 
|  | 358 | 358 | |
|  | 359 | 359 | /** | 
|  | 360 | 360 |  | 
|  | 361 | 361 | */ | 
|  | 362 | 362 |  | 
|  | 363 | 363 | |
|  | 364 | 364 |  | 
|  | 365 | 365 |  | 
|  | 366 | 366 | |
|  | 367 | 367 |  | 
|  | 368 | 368 |  | 
|  | 369 | 369 |  | 
|  | 370 | 370 |  | 
|  | 371 | 371 |  | 
|  | 372 | 372 |  | 
|  | 373 | 373 | } | 
|  | 374 | 374 | |
|  | 375 | 375 |  | 
|  | 376 | 376 | |
|  | 377 | 377 |  | 
|  | 378 | 378 | |
|  | 379 | 379 |  | 
|  | 380 | 380 |  | 
|  | 381 | 381 |  | 
|  | 382 | 382 |  | 
|  | 383 | 383 | } | 
|  | 384 | 384 | |
|  | 385 | 385 |  | 
|  | 386 | 386 | |
|  | 387 | 387 |  | 
|  | 388 | 388 |  | 
|  | 389 | 389 | } | 
|  | 390 | 390 | |
|  | 391 | 391 |  | 
|  | 392 | 392 | |
|  | 393 | 393 | /** | 
|  | 394 | 394 |  | 
|  | 395 | 395 |  | 
|  | 396 | 396 |  | 
|  | 397 | 397 | */ | 
|  | 398 | 398 |  | 
|  | 399 | 399 | |
|  | 400 | 400 | /** | 
|  | 401 | 401 |  | 
|  | 402 | 402 | */ | 
|  | 403 | 403 |  | 
|  | 404 | 404 | |
|  | 405 | 405 |  | 
|  | 406 | 406 | |
|  | 407 | 407 | /** | 
|  | 408 | 408 |  | 
|  | 409 | 409 |  | 
|  | 410 | 410 | * | 
|  | 411 | 411 |  | 
|  | 412 | 412 |  | 
|  | 413 | 413 | */ | 
|  | 414 | 414 |  | 
|  | 415 | 415 | |
|  | 416 | 416 |  | 
|  | 417 | 417 |  | 
|  | 418 | 418 | |
|  | 419 | 419 | /** | 
|  | 420 | 420 |  | 
|  | 421 | 421 |  | 
|  | 422 | 422 | */ | 
|  | 423 | 423 |  | 
|  | 424 | 424 | |
|  | 425 | 425 | /** | 
|  | 426 | 426 |  | 
|  | 427 | 427 |  | 
|  | 428 | 428 |  | 
|  | 429 | 429 | * | 
|  | 430 | 430 |  | 
|  | 431 | 431 | */ | 
|  | 432 | 432 |  | 
|  | 433 | 433 | |
|  | 434 | 434 | /** | 
|  | 435 | 435 |  | 
|  | 436 | 436 | */ | 
|  | 437 | 437 |  | 
|  | 438 | 438 | |
|  | 439 | 439 | /** | 
|  | 440 | 440 |  | 
|  | 441 | 441 | */ | 
|  | 442 | 442 |  | 
|  | 443 | 443 | |
|  | 444 | 444 | /** | 
|  | 445 | 445 |  | 
|  | 446 | 446 |  | 
|  | 447 | 447 |  | 
|  | 448 | 448 | */ | 
|  | 449 | 449 |  | 
|  | 450 | 450 | |
|  | 451 | 451 | /** | 
|  | 452 | 452 |  | 
|  | 453 | 453 | */ | 
|  | 454 | 454 |  | 
|  | 455 | 455 | |
|  | 456 | 456 |  | 
|  | 457 | 457 |  | 
|  | 458 | 458 | } | 
|  | 459 | 459 | |
|  | 460 | 460 |  | 
|  | 461 | 461 | |
|  | 462 | 462 |  | 
|  | 463 | 463 | |
|  | 464 | 464 |  | 
|  | 465 | 465 |  | 
|  | 466 | 466 |  | 
|  | 467 | 467 |  | 
|  | 468 | 468 |  | 
|  | 469 | 469 | } | 
|  | 470 | 470 | |
|  | 471 | 471 |  | 
|  | 472 | 472 | /** | 
|  | 473 | 473 |  | 
|  | 474 | 474 | */ | 
|  | 475 | 475 |  | 
|  | 476 | 476 | |
|  | 477 | 477 | /** | 
|  | 478 | 478 |  | 
|  | 479 | 479 |  | 
|  | 480 | 480 | */ | 
|  | 481 | 481 |  | 
|  | 482 | 482 | |
|  | 483 | 483 | /** | 
|  | 484 | 484 |  | 
|  | 485 | 485 |  | 
|  | 486 | 486 |  | 
|  | 487 | 487 | */ | 
|  | 488 | 488 |  | 
|  | 489 | 489 | |
|  | 490 | 490 | /** | 
|  | 491 | 491 |  | 
|  | 492 | 492 | */ | 
|  | 493 | 493 | query: Q; | 
|  | 494 | 494 | |
|  | 495 | 495 | /** | 
|  | 496 | 496 |  | 
|  | 497 | 497 | */ | 
|  | 498 | 498 |  | 
|  | 499 | 499 | |
|  | 500 | 500 | /** | 
|  | 501 | 501 |  | 
|  | 502 | 502 |  | 
|  | 503 | 503 |  | 
|  | 504 | 504 | */ | 
|  | 505 | 505 |  | 
|  | 506 | 506 | |
|  | 507 | 507 | /** | 
|  | 508 | 508 |  | 
|  | 509 | 509 |  | 
|  | 510 | 510 | */ | 
|  | 511 | 511 |  | 
|  | 512 | 512 | |
|  | 513 | 513 | /** | 
|  | 514 | 514 |  | 
|  | 515 | 515 |  | 
|  | 516 | 516 | */ | 
|  | 517 | 517 |  | 
|  | 518 | 518 | |
|  | 519 | 519 | /** | 
|  | 520 | 520 |  | 
|  | 521 | 521 |  | 
|  | 522 | 522 |  | 
|  | 523 | 523 |  | 
|  | 524 | 524 | */ | 
|  | 525 | 525 |  | 
|  | 526 | 526 | |
|  | 527 | 527 | /** | 
|  | 528 | 528 |  | 
|  | 529 | 529 |  | 
|  | 530 | 530 |  | 
|  | 531 | 531 | */ | 
|  | 532 | 532 |  | 
|  | 533 | 533 | |
|  | 534 | 534 | /** | 
|  | 535 | 535 |  | 
|  | 536 | 536 | */ | 
|  | 537 | 537 |  | 
|  | 538 | 538 |  | 
|  | 539 | 539 |  | 
|  | 540 | 540 |  | 
|  | 541 | 541 |  | 
|  | 542 | 542 | |
|  | 543 | 543 | /** | 
|  | 544 | 544 |  | 
|  | 545 | 545 |  | 
|  | 546 | 546 |  | 
|  | 547 | 547 |  | 
|  | 548 | 548 | */ | 
|  | 549 | 549 |  | 
|  | 550 | 550 | |
|  | 551 | 551 | /** | 
|  | 552 | 552 |  | 
|  | 553 | 553 |  | 
|  | 554 | 554 |  | 
|  | 555 | 555 |  | 
|  | 556 | 556 |  | 
|  | 557 | 557 |  | 
|  | 558 | 558 |  | 
|  | 559 | 559 | */ | 
|  | 560 | 560 |  | 
|  | 561 | 561 | |
|  | 562 | 562 | /** | 
|  | 563 | 563 |  | 
|  | 564 | 564 |  | 
|  | 565 | 565 |  | 
|  | 566 | 566 |  | 
|  | 567 | 567 | */ | 
|  | 568 | 568 |  | 
|  | 569 | 569 | |
|  | 570 | 570 | /** | 
|  | 571 | 571 |  | 
|  | 572 | 572 | */ | 
|  | 573 | 573 |  | 
|  | 574 | 574 | query: Q; | 
|  | 575 | 575 |  | 
|  | 576 | 576 |  | 
|  | 577 | 577 |  | 
|  | 578 | 578 | |
|  | 579 | 579 | /** | 
|  | 580 | 580 |  | 
|  | 581 | 581 |  | 
|  | 582 | 582 |  | 
|  | 583 | 583 |  | 
|  | 584 | 584 | */ | 
|  | 585 | 585 |  | 
|  | 586 | 586 | query: Q; | 
|  | 587 | 587 |  | 
|  | 588 | 588 |  | 
|  | 589 | 589 |  | 
|  | 590 | 590 | |
|  | 591 | 591 | /** | 
|  | 592 | 592 |  | 
|  | 593 | 593 |  | 
|  | 594 | 594 | */ | 
|  | 595 | 595 |  | 
|  | 596 | 596 | |
|  | 597 | 597 | /** | 
|  | 598 | 598 |  | 
|  | 599 | 599 | */ | 
|  | 600 | 600 |  | 
|  | 601 | 601 | |
|  | 602 | 602 | /** | 
|  | 603 | 603 |  | 
|  | 604 | 604 |  | 
|  | 605 | 605 | */ | 
|  | 606 | 606 |  | 
|  | 607 | 607 | |
|  | 608 | 608 |  | 
|  | 609 | 609 | |
|  | 610 | 610 | /** | 
|  | 611 | 611 |  | 
|  | 612 | 612 |  | 
|  | 613 | 613 |  | 
|  | 614 | 614 | */ | 
|  | 615 | 615 |  | 
|  | 616 | 616 | |
|  | 617 | 617 | /** | 
|  | 618 | 618 |  | 
|  | 619 | 619 |  | 
|  | 620 | 620 | */ | 
|  | 621 | 621 |  | 
|  | 622 | 622 | |
|  | 623 | 623 |  | 
|  | 624 | 624 | |
|  | 625 | 625 | /** | 
|  | 626 | 626 |  | 
|  | 627 | 627 | */ | 
|  | 628 | 628 |  | 
|  | 629 | 629 | |
|  | 630 | 630 | /** | 
|  | 631 | 631 |  | 
|  | 632 | 632 |  | 
|  | 633 | 633 |  | 
|  | 634 | 634 |  | 
|  | 635 | 635 | */ | 
|  | 636 | 636 |  | 
|  | 637 | 637 | |
|  | 638 | 638 | /** | 
|  | 639 | 639 |  | 
|  | 640 | 640 |  | 
|  | 641 | 641 | */ | 
|  | 642 | 642 |  | 
|  | 643 | 643 | |
|  | 644 | 644 | /** | 
|  | 645 | 645 |  | 
|  | 646 | 646 |  | 
|  | 647 | 647 |  | 
|  | 648 | 648 | */ | 
|  | 649 | 649 |  | 
|  | 650 | 650 | |
|  | 651 | 651 | /** | 
|  | 652 | 652 |  | 
|  | 653 | 653 | */ | 
|  | 654 | 654 |  | 
|  | 655 | 655 | |
|  | 656 | 656 | /** | 
|  | 657 | 657 |  | 
|  | 658 | 658 |  | 
|  | 659 | 659 | */ | 
|  | 660 | 660 |  | 
|  | 661 | 661 | |
|  | 662 | 662 | /** | 
|  | 663 | 663 |  | 
|  | 664 | 664 |  | 
|  | 665 | 665 | */ | 
|  | 666 | 666 |  | 
|  | 667 | 667 | |
|  | 668 | 668 | /** | 
|  | 669 | 669 |  | 
|  | 670 | 670 |  | 
|  | 671 | 671 |  | 
|  | 672 | 672 | */ | 
|  | 673 | 673 |  | 
|  | 674 | 674 | } | 
|  | 675 | 675 | |
|  | 676 | 676 |  | 
|  | 677 | 677 | |
|  | 678 | 678 |  | 
|  | 679 | 679 | |
|  | 680 | 680 | /** | 
|  | 681 | 681 |  | 
|  | 682 | 682 |  | 
|  | 683 | 683 |  | 
|  | 684 | 684 | */ | 
|  | 685 | 685 |  | 
|  | 686 | 686 | |
|  | 687 | 687 |  | 
|  | 688 | 688 | |
|  | 689 | 689 | /** | 
|  | 690 | 690 |  | 
|  | 691 | 691 | */ | 
|  | 692 | 692 |  | 
|  | 693 | 693 | |
|  | 694 | 694 | /** | 
|  | 695 | 695 |  | 
|  | 696 | 696 | */ | 
|  | 697 | 697 |  | 
|  | 698 | 698 | |
|  | 699 | 699 |  | 
|  | 700 | 700 | } | 
|  | 701 | 701 | |
|  | 702 | 702 |  | 
|  | 703 | 703 | |
|  | 704 | 704 |  | 
|  | 705 | 705 | /** | 
|  | 706 | 706 |  | 
|  | 707 | 707 | */ | 
|  | 708 | 708 |  | 
|  | 709 | 709 | |
|  | 710 | 710 |  | 
|  | 711 | 711 |  | 
|  | 712 | 712 | } | 
|  | 713 | 713 | |
|  | 714 | 714 |  | 
|  | 715 | 715 | |
|  | 716 | 716 |  | 
|  | 717 | 717 | |
|  | 718 | 718 |  | 
|  | 719 | 719 |  | 
|  | 720 | 720 |  | 
|  | 721 | 721 |  | 
|  | 722 | 722 | |
|  | 723 | 723 |  | 
|  | 724 | 724 |  | 
|  | 725 | 725 |  | 
|  | 726 | 726 | } | 
|  | 727 | 727 | |
|  | 728 | 728 |  | 
|  | 729 | 729 | |
|  | 730 | 730 |  | 
|  | 731 | 731 | |
|  | 732 | /** | |
|  | 733 | * Mixin for widgets corresponding to native HTML elements such as `<checkbox>` or `<button>`, | |
|  | 734 | * which can be children of a `<form>` node or a `dijit/form/Form` widget. | |
|  | 735 | * | |
|  | 736 | * Represents a single HTML element. | |
|  | 737 | * All these widgets should have these attributes just like native HTML input elements. | |
|  | 738 | * You can set them during widget construction or afterwards, via `dijit/_WidgetBase.set()`. | |
|  | 739 | * | |
|  | 740 | * They also share some common methods. | |
|  | 741 | */ | |
|  | 732 | 742 |  | 
|  | 733 | 743 | /** | 
|  | 734 | 744 |  | 
|  | 735 | 745 | */ | 
|  | 736 | 746 |  | 
|  | 737 | 747 | |
|  | 738 | /** | |
|  | 739 |  | |
|  | 740 | */ | |
|  | 748 | ||
|  | 749 | /** Corresponds to the native HTML `<input>` element's attribute. */ | |
|  | 741 | 750 |  | 
|  | 742 | 751 | |
|  | 743 | /** | |
|  | 744 | * Corresponds to the native HTML `<input>` element's attribute. | |
|  | 745 | */ | |
|  | 752 | /** Corresponds to the native HTML `<input>` element's attribute. */ | |
|  | 746 | 753 | value: any; | 
|  | 747 | 754 | |
|  | 748 | /** | |
|  | 749 | * Corresponds to the native HTML `<input>` element's attribute. | |
|  | 750 | */ | |
|  | 755 | /** Corresponds to the native HTML `<input>` element's attribute. */ | |
|  | 751 | 756 |  | 
|  | 752 | 757 | |
|  | 753 | /** | |
|  | 754 | * Apply aria-label in markup to the widget's focusNode | |
|  | 755 | */ | |
|  | 756 | 'aria-label': string; | |
|  | 758 | /** Apply aria-label in markup to the widget's focusNode */ | |
|  | 759 | "aria-label": "focusNode"; | |
|  | 757 | 760 | |
|  | 758 | /** | |
|  | 759 | * Order fields are traversed when user hits the tab key | |
|  | 760 | */ | |
|  | 761 | /** Order fields are traversed when user hits the tab key */ | |
|  | 761 | 762 |  | 
|  | 762 | 763 | |
|  | 763 | /** | |
|  | 764 | * Should this widget respond to user input? | |
|  | 764 | /** Should this widget respond to user input? | |
|  | 765 | 765 |  | 
|  | 766 | 766 | */ | 
|  | 767 | 767 |  | 
|  | 768 | 768 | |
|  | 769 | /** | |
|  | 770 | * Fires onChange for each value change or only on demand | |
|  | 771 | */ | |
|  | 769 | /** Fires onChange for each value change or only on demand */ | |
|  | 772 | 770 |  | 
|  | 773 | 771 | |
|  | 774 | /** | |
|  | 775 | * On focus, should this widget scroll into view? | |
|  | 776 | */ | |
|  | 772 | /** On focus, should this widget scroll into view? */ | |
|  | 777 | 773 |  | 
|  | 778 | 774 | |
|  | 779 | /** | |
|  | 780 | * Tells if this widget is focusable or not. Used internally by dijit. | |
|  | 775 | _setDisabledAttr(value: boolean): void; | |
|  | 776 | ||
|  | 777 | _onFocus(by: string): void; | |
|  | 778 | ||
|  | 779 | /** Tells if this widget is focusable or not. Used internally by dijit. | |
|  | 780 | * @protected | |
|  | 781 | 781 | */ | 
|  | 782 | 782 |  | 
|  | 783 | 783 | |
|  | 784 | /** | |
|  | 785 | * Put focus on this widget | |
|  | 786 | */ | |
|  | 784 | /** Put focus on this widget */ | |
|  | 787 | 785 |  | 
|  | 788 | 786 | |
|  | 789 | /** | |
|  | 790 | * Compare 2 values (as returned by get('value') for this widget). | |
|  | 787 | /** Compare 2 values (as returned by get('value') for this widget). | |
|  | 788 | * @protected | |
|  | 791 | 789 | */ | 
|  | 792 | 790 |  | 
|  | 793 | 791 | |
|  | 794 | /** | |
|  | 795 | * Callback when this widget's value is changed. | |
|  | 796 | */ | |
|  | 797 | onChange(value: string): void; | |
|  | 792 | onChange(newValue: any): void; | |
|  | 798 | 793 | |
|  | 799 | 794 | /** | 
|  | 800 | * Overrides _Widget.create() | |
|  | 795 | * Hook so set('value', value) works. | |
|  | 796 | * | |
|  | 797 | * Sets the value of the widget. | |
|  | 798 | * If the value has changed, then fire onChange event, unless priorityChange | |
|  | 799 | * is specified as null (or false?) | |
|  | 800 | * | |
|  | 801 | * @param value | |
|  | 802 | * @param priorityChange | |
|  | 801 | 803 | */ | 
|  | 802 | create(params?: any, srcNodeRef?: HTMLElement): void; | |
|  | 804 | _setValueAttr(value: any, priorityChange?: boolean); | |
|  | 803 | 805 | |
|  | 804 | destroy(preserveDom?: boolean): void; | |
|  | 805 | ||
|  | 806 | // set(name: 'disabled', value: boolean): this; | |
|  | 807 | // set(name: string, value: any): this; | |
|  | 808 | // set(values: Object): this; | |
|  | 806 | /** | |
|  | 807 | * Called when the value of the widget has changed. Saves the new value in this.value, | |
|  | 808 | * and calls onChange() if appropriate. See _FormWidget._handleOnChange() for details. | |
|  | 809 | * | |
|  | 810 | * @param newValue | |
|  | 811 | * @param priorityChange | |
|  | 812 | */ | |
|  | 813 | _handleOnChange(newValue: any, priorityChange?: boolean); | |
|  | 809 | 814 | } | 
|  | 810 | 815 | |
|  | 811 | 816 |  | 
|  | 812 | 817 | |
|  | 813 | 818 |  | 
|  | 814 | 819 | /** | 
|  | 815 | 820 |  | 
|  | 816 | 821 | */ | 
|  | 817 | 822 |  | 
|  | 818 | 823 | |
|  | 819 | 824 | /** | 
|  | 820 | 825 |  | 
|  | 821 | 826 | */ | 
|  | 822 | 827 |  | 
|  | 823 | 828 | |
|  | 824 | 829 | /** | 
|  | 825 | 830 |  | 
|  | 826 | 831 | */ | 
|  | 827 | 832 |  | 
|  | 828 | 833 | |
|  | 829 | 834 | /** | 
|  | 830 | 835 |  | 
|  | 831 | 836 |  | 
|  | 832 | 837 | */ | 
|  | 833 | 838 |  | 
|  | 834 | 839 | |
|  | 835 | 840 | /** | 
|  | 836 | 841 |  | 
|  | 837 | 842 |  | 
|  | 838 | 843 |  | 
|  | 839 | 844 | */ | 
|  | 840 | 845 |  | 
|  | 841 | 846 | |
|  | 842 | 847 |  | 
|  | 843 | 848 |  | 
|  | 844 | 849 |  | 
|  | 845 | 850 | } | 
|  | 846 | 851 | |
|  | 847 | 852 |  | 
|  | 848 | 853 | |
|  | 849 | 854 |  | 
|  | 850 | 855 |  | 
|  | 851 | 856 | } | 
|  | 852 | 857 | |
|  | 853 | 858 |  | 
|  | 854 | 859 | |
|  | 855 | 860 |  | 
|  | 856 | 861 | /** | 
|  | 857 | 862 |  | 
|  | 858 | 863 |  | 
|  | 859 | 864 | */ | 
|  | 860 | 865 |  | 
|  | 861 | 866 | } | 
|  | 862 | 867 | |
|  | 863 | 868 |  | 
|  | 864 | 869 | |
|  | 865 | 870 |  | 
|  | 866 | 871 | /** | 
|  | 867 | 872 |  | 
|  | 868 | 873 |  | 
|  | 869 | 874 | */ | 
|  | 870 | 875 |  | 
|  | 871 | 876 | |
|  | 872 | 877 | /** | 
|  | 873 | 878 |  | 
|  | 874 | 879 |  | 
|  | 875 | 880 | */ | 
|  | 876 | 881 |  | 
|  | 877 | 882 | |
|  | 878 | 883 | /** | 
|  | 879 | 884 |  | 
|  | 880 | 885 |  | 
|  | 881 | 886 |  | 
|  | 882 | 887 |  | 
|  | 883 | 888 |  | 
|  | 884 | 889 | */ | 
|  | 885 | 890 |  | 
|  | 886 | 891 | |
|  | 887 | 892 | /** | 
|  | 888 | 893 |  | 
|  | 889 | 894 |  | 
|  | 890 | 895 | */ | 
|  | 891 | 896 | query: Q; | 
|  | 892 | 897 | |
|  | 893 | 898 | /** | 
|  | 894 | 899 |  | 
|  | 895 | 900 | */ | 
|  | 896 | 901 |  | 
|  | 897 | 902 | |
|  | 898 | 903 | /** | 
|  | 899 | 904 |  | 
|  | 900 | 905 |  | 
|  | 901 | 906 | */ | 
|  | 902 | 907 |  | 
|  | 903 | 908 | |
|  | 904 | 909 | /** | 
|  | 905 | 910 |  | 
|  | 906 | 911 |  | 
|  | 907 | 912 | */ | 
|  | 908 | 913 |  | 
|  | 909 | 914 | |
|  | 910 | 915 | /** | 
|  | 911 | 916 |  | 
|  | 912 | 917 |  | 
|  | 913 | 918 |  | 
|  | 914 | 919 | * etc. | 
|  | 915 | 920 |  | 
|  | 916 | 921 |  | 
|  | 917 | 922 |  | 
|  | 918 | 923 | */ | 
|  | 919 | 924 |  | 
|  | 920 | 925 | |
|  | 921 | 926 | /** | 
|  | 922 | 927 |  | 
|  | 923 | 928 | */ | 
|  | 924 | 929 |  | 
|  | 925 | 930 | |
|  | 926 | 931 | /** | 
|  | 927 | 932 |  | 
|  | 928 | 933 | */ | 
|  | 929 | 934 |  | 
|  | 930 | 935 | |
|  | 931 | 936 |  | 
|  | 932 | 937 | |
|  | 933 | 938 | /** | 
|  | 934 | 939 |  | 
|  | 935 | 940 | */ | 
|  | 936 | 941 |  | 
|  | 937 | 942 | |
|  | 938 | 943 | /** | 
|  | 939 | 944 |  | 
|  | 940 | 945 | */ | 
|  | 941 | 946 |  | 
|  | 942 | 947 | |
|  | 943 | 948 |  | 
|  | 944 | 949 | |
|  | 945 | 950 | /** | 
|  | 946 | 951 |  | 
|  | 947 | 952 |  | 
|  | 948 | 953 | */ | 
|  | 949 | 954 |  | 
|  | 950 | 955 | |
|  | 951 | 956 |  | 
|  | 952 | 957 | |
|  | 953 | 958 |  | 
|  | 954 | 959 |  | 
|  | 955 | 960 |  | 
|  | 956 | 961 | } | 
|  | 957 | 962 | |
|  | 958 | 963 |  | 
|  | 959 | 964 | |
|  | 960 | 965 |  | 
|  | 961 | 966 |  | 
|  | 962 | 967 | } | 
|  | 963 | 968 | |
|  | 964 | 969 |  | 
|  | 965 | 970 | /** | 
|  | 966 | 971 |  | 
|  | 967 | 972 | */ | 
|  | 968 | 973 |  | 
|  | 969 | 974 | |
|  | 970 | 975 | /** | 
|  | 971 | 976 |  | 
|  | 972 | 977 | */ | 
|  | 973 | 978 |  | 
|  | 974 | 979 | |
|  | 975 | 980 | /** | 
|  | 976 | 981 |  | 
|  | 977 | 982 |  | 
|  | 978 | 983 |  | 
|  | 979 | 984 | */ | 
|  | 980 | 985 |  | 
|  | 981 | 986 | |
|  | 982 | 987 | /** | 
|  | 983 | 988 |  | 
|  | 984 | 989 | */ | 
|  | 985 | 990 |  | 
|  | 986 | 991 | |
|  | 987 | 992 | /** | 
|  | 988 | 993 |  | 
|  | 989 | 994 | */ | 
|  | 990 | 995 |  | 
|  | 991 | 996 | |
|  | 992 | 997 |  | 
|  | 993 | 998 |  | 
|  | 994 | 999 |  | 
|  | 995 | 1000 | |
|  | 996 | 1001 | /** | 
|  | 997 | 1002 |  | 
|  | 998 | 1003 |  | 
|  | 999 | 1004 | */ | 
|  | 1000 | 1005 |  | 
|  | 1001 | 1006 | |
|  | 1002 | 1007 |  | 
|  | 1003 | 1008 | } | 
|  | 1004 | 1009 | |
|  | 1005 | 1010 |  | 
|  | 1006 | 1011 | |
|  | 1007 | 1012 |  | 
|  | 1008 | 1013 | |
|  | 1009 | 1014 |  | 
|  | 1010 | 1015 | /** | 
|  | 1011 | 1016 |  | 
|  | 1012 | 1017 | */ | 
|  | 1013 | 1018 |  | 
|  | 1014 | 1019 | |
|  | 1015 | 1020 | /** | 
|  | 1016 | 1021 |  | 
|  | 1017 | 1022 | */ | 
|  | 1018 | 1023 |  | 
|  | 1019 | 1024 | |
|  | 1020 | 1025 | /** | 
|  | 1021 | 1026 |  | 
|  | 1022 | 1027 | */ | 
|  | 1023 | 1028 |  | 
|  | 1024 | 1029 | |
|  | 1025 | 1030 | /** | 
|  | 1026 | 1031 |  | 
|  | 1027 | 1032 | */ | 
|  | 1028 | 1033 |  | 
|  | 1029 | 1034 | |
|  | 1030 | 1035 | /** | 
|  | 1031 | 1036 |  | 
|  | 1032 | 1037 | */ | 
|  | 1033 | 1038 |  | 
|  | 1034 | 1039 | |
|  | 1035 | 1040 | /** | 
|  | 1036 | 1041 |  | 
|  | 1037 | 1042 | */ | 
|  | 1038 | 1043 |  | 
|  | 1039 | 1044 | |
|  | 1040 | 1045 | /** | 
|  | 1041 | 1046 |  | 
|  | 1042 | 1047 |  | 
|  | 1043 | 1048 | */ | 
|  | 1044 | 1049 |  | 
|  | 1045 | 1050 | |
|  | 1046 | 1051 | /** | 
|  | 1047 | 1052 |  | 
|  | 1048 | 1053 |  | 
|  | 1049 | 1054 |  | 
|  | 1050 | 1055 | * | 
|  | 1051 | 1056 |  | 
|  | 1052 | 1057 |  | 
|  | 1053 | 1058 |  | 
|  | 1054 | 1059 | */ | 
|  | 1055 | 1060 |  | 
|  | 1056 | 1061 | |
|  | 1057 | 1062 | /** | 
|  | 1058 | 1063 |  | 
|  | 1059 | 1064 | */ | 
|  | 1060 | 1065 |  | 
|  | 1061 | 1066 | |
|  | 1062 | 1067 | /** | 
|  | 1063 | 1068 |  | 
|  | 1064 | 1069 | */ | 
|  | 1065 | 1070 |  | 
|  | 1066 | 1071 | |
|  | 1067 | 1072 | /** | 
|  | 1068 | 1073 |  | 
|  | 1069 | 1074 |  | 
|  | 1070 | 1075 |  | 
|  | 1071 | 1076 |  | 
|  | 1072 | 1077 | */ | 
|  | 1073 | 1078 |  | 
|  | 1074 | 1079 | |
|  | 1075 | 1080 |  | 
|  | 1076 | 1081 | |
|  | 1077 | 1082 | /** | 
|  | 1078 | 1083 |  | 
|  | 1079 | 1084 | */ | 
|  | 1080 | 1085 |  | 
|  | 1081 | 1086 | |
|  | 1082 | 1087 | /** | 
|  | 1083 | 1088 |  | 
|  | 1084 | 1089 |  | 
|  | 1085 | 1090 | */ | 
|  | 1086 | 1091 |  | 
|  | 1087 | 1092 |  | 
|  | 1088 | 1093 | |
|  | 1089 | 1094 |  | 
|  | 1090 | 1095 | |
|  | 1091 | 1096 |  | 
|  | 1092 | 1097 | } | 
|  | 1093 | 1098 | |
|  | 1094 | 1099 |  | 
|  | 1095 | 1100 | |
|  | 1096 | 1101 |  | 
|  | 1097 | 1102 | /** | 
|  | 1098 | 1103 |  | 
|  | 1099 | 1104 |  | 
|  | 1100 | 1105 |  | 
|  | 1101 | 1106 |  | 
|  | 1102 | 1107 | */ | 
|  | 1103 | 1108 |  | 
|  | 1104 | 1109 | |
|  | 1105 | 1110 |  | 
|  | 1106 | 1111 | |
|  | 1107 | 1112 | /** | 
|  | 1108 | 1113 |  | 
|  | 1109 | 1114 | */ | 
|  | 1110 | 1115 |  | 
|  | 1111 | 1116 | |
|  | 1112 | 1117 |  | 
|  | 1113 | 1118 | } | 
|  | 1114 | 1119 | |
|  | 1115 | 1120 |  | 
|  | 1116 | 1121 | |
|  | 1117 | 1122 |  | 
|  | 1118 | 1123 | /** | 
|  | 1119 | 1124 |  | 
|  | 1120 | 1125 |  | 
|  | 1121 | 1126 |  | 
|  | 1122 | 1127 |  | 
|  | 1123 | 1128 | */ | 
|  | 1124 | 1129 |  | 
|  | 1125 | 1130 | |
|  | 1126 | 1131 | /** | 
|  | 1127 | 1132 |  | 
|  | 1128 | 1133 | */ | 
|  | 1129 | 1134 |  | 
|  | 1130 | 1135 | |
|  | 1131 | 1136 |  | 
|  | 1132 | 1137 |  | 
|  | 1133 | 1138 |  | 
|  | 1134 | 1139 |  | 
|  | 1135 | 1140 |  | 
|  | 1136 | 1141 | |
|  | 1137 | 1142 |  | 
|  | 1138 | 1143 | |
|  | 1139 | 1144 |  | 
|  | 1140 | 1145 |  | 
|  | 1141 | 1146 |  | 
|  | 1142 | 1147 |  | 
|  | 1143 | 1148 |  | 
|  | 1144 | 1149 |  | 
|  | 1145 | 1150 | } | 
|  | 1146 | 1151 | |
|  | 1147 | 1152 |  | 
|  | 1148 | 1153 | |
|  | 1149 | 1154 |  | 
|  | 1150 | 1155 | |
|  | 1151 | 1156 |  | 
|  | 1152 | 1157 |  | 
|  | 1153 | 1158 |  | 
|  | 1154 | 1159 |  | 
|  | 1155 | 1160 |  | 
|  | 1156 | 1161 | |
|  | 1157 | 1162 |  | 
|  | 1158 | 1163 |  | 
|  | 1159 | 1164 |  | 
|  | 1160 | 1165 | } | 
|  | 1161 | 1166 | |
|  | 1162 | 1167 |  | 
|  | 1163 | 1168 | |
|  | 1164 | 1169 |  | 
|  | 1165 | 1170 | |
|  | 1166 | 1171 |  | 
|  | 1167 | 1172 |  | 
|  | 1168 | 1173 |  | 
|  | 1169 | 1174 | } | 
|  | 1170 | 1175 | |
|  | 1171 | 1176 |  | 
|  | 1172 | 1177 |  | 
|  | 1173 | 1178 | } | 
|  | 1174 | 1179 | |
|  | 1175 | 1180 |  | 
|  | 1176 | 1181 | |
|  | 1177 | 1182 |  | 
|  | 1178 | 1183 | |
|  | 1179 | 1184 | /** | 
|  | 1180 | 1185 |  | 
|  | 1181 | 1186 |  | 
|  | 1182 | 1187 | */ | 
|  | 1183 | 1188 |  | 
|  | 1184 | 1189 | |
|  | 1185 | 1190 | /** | 
|  | 1186 | 1191 |  | 
|  | 1187 | 1192 |  | 
|  | 1188 | 1193 | */ | 
|  | 1189 | 1194 |  | 
|  | 1190 | 1195 | |
|  | 1191 | 1196 |  | 
|  | 1192 | 1197 |  | 
|  | 1193 | 1198 | |
|  | 1194 | 1199 | /** | 
|  | 1195 | 1200 |  | 
|  | 1196 | 1201 | * | 
|  | 1197 | 1202 |  | 
|  | 1198 | 1203 |  | 
|  | 1199 | 1204 | */ | 
|  | 1200 | 1205 |  | 
|  | 1201 | 1206 | |
|  | 1202 | 1207 |  | 
|  | 1203 | 1208 |  | 
|  | 1204 | 1209 |  | 
|  | 1205 | 1210 | } | 
|  | 1206 | 1211 | |
|  | 1207 | 1212 |  | 
|  | 1208 | 1213 | |
|  | 1209 | 1214 |  | 
|  | 1210 | 1215 | |
|  | 1211 | 1216 |  | 
|  | 1212 | 1217 | } | 
|  | 1213 | 1218 | |
|  | 1214 | 1219 |  | 
|  | 1215 | 1220 | /** | 
|  | 1216 | 1221 |  | 
|  | 1217 | 1222 | */ | 
|  | 1218 | 1223 |  | 
|  | 1219 | 1224 | |
|  | 1220 | 1225 | /** | 
|  | 1221 | 1226 |  | 
|  | 1222 | 1227 |  | 
|  | 1223 | 1228 |  | 
|  | 1224 | 1229 | */ | 
|  | 1225 | 1230 |  | 
|  | 1226 | 1231 | |
|  | 1227 | 1232 |  | 
|  | 1228 | 1233 | |
|  | 1229 | 1234 |  | 
|  | 1230 | 1235 |  | 
|  | 1231 | 1236 |  | 
|  | 1232 | 1237 | |
|  | 1233 | 1238 | /** | 
|  | 1234 | 1239 |  | 
|  | 1235 | 1240 | */ | 
|  | 1236 | 1241 |  | 
|  | 1237 | 1242 | } | 
|  | 1238 | 1243 | |
|  | 1239 | 1244 |  | 
|  | 1240 | 1245 | |
|  | 1241 | 1246 |  | 
|  | 1242 | 1247 | |
|  | 1243 | 1248 |  | 
|  | 1244 | 1249 | /** | 
|  | 1245 | 1250 |  | 
|  | 1246 | 1251 |  | 
|  | 1247 | 1252 | */ | 
|  | 1248 | 1253 |  | 
|  | 1249 | 1254 | } | 
|  | 1250 | 1255 | |
|  | 1251 | 1256 |  | 
|  | 1252 | 1257 |  | 
|  | 1253 | 1258 | } | 
|  | 1254 | 1259 | |
|  | 1255 | 1260 |  | 
|  | 1256 | 1261 | |
|  | 1257 | 1262 |  | 
|  | 1258 | 1263 |  | 
|  | 1259 | 1264 |  | 
|  | 1260 | 1265 |  | 
|  | 1261 | 1266 |  | 
|  | 1262 | 1267 | |
|  | 1263 | 1268 | /** | 
|  | 1264 | 1269 |  | 
|  | 1265 | 1270 | */ | 
|  | 1266 | 1271 |  | 
|  | 1267 | 1272 | } | 
|  | 1268 | 1273 | |
|  | 1269 | 1274 |  | 
|  | 1270 | 1275 | |
|  | 1271 | 1276 |  | 
|  | 1272 | 1277 | |
|  | 1273 | 1278 |  | 
|  | 1274 | 1279 |  | 
|  | 1275 | 1280 |  | 
|  | 1276 | 1281 | |
|  | 1277 | 1282 | /** | 
|  | 1278 | 1283 |  | 
|  | 1279 | 1284 |  | 
|  | 1280 | 1285 |  | 
|  | 1281 | 1286 | */ | 
|  | 1282 | 1287 |  | 
|  | 1283 | 1288 |  | 
|  | 1284 | 1289 | |
|  | 1285 | 1290 | /** | 
|  | 1286 | 1291 |  | 
|  | 1287 | 1292 |  | 
|  | 1288 | 1293 | */ | 
|  | 1289 | 1294 |  | 
|  | 1290 | 1295 | |
|  | 1291 | 1296 | /** | 
|  | 1292 | 1297 |  | 
|  | 1293 | 1298 |  | 
|  | 1294 | 1299 |  | 
|  | 1295 | 1300 | */ | 
|  | 1296 | 1301 |  | 
|  | 1297 | 1302 | |
|  | 1298 | 1303 | /** | 
|  | 1299 | 1304 |  | 
|  | 1300 | 1305 |  | 
|  | 1301 | 1306 | */ | 
|  | 1302 | 1307 |  | 
|  | 1303 | 1308 | } | 
|  | 1304 | 1309 | |
|  | 1305 | 1310 |  | 
|  | 1306 | 1311 |  | 
|  | 1307 | 1312 | } | 
|  | 1308 | 1313 | |
|  | 1309 | 1314 |  | 
|  | 1310 | 1315 | |
|  | 1311 | 1316 |  | 
|  | 1312 | 1317 | /** | 
|  | 1313 | 1318 |  | 
|  | 1314 | 1319 | */ | 
|  | 1315 | 1320 |  | 
|  | 1316 | 1321 | |
|  | 1317 | 1322 |  | 
|  | 1318 | 1323 |  | 
|  | 1319 | 1324 |  | 
|  | 1320 | 1325 |  | 
|  | 1321 | 1326 | |
|  | 1322 | 1327 | /** | 
|  | 1323 | 1328 |  | 
|  | 1324 | 1329 | */ | 
|  | 1325 | 1330 |  | 
|  | 1326 | 1331 | |
|  | 1327 | 1332 |  | 
|  | 1328 | 1333 |  | 
|  | 1329 | 1334 | |
|  | 1330 | 1335 |  | 
|  | 1331 | 1336 |  | 
|  | 1332 | 1337 |  | 
|  | 1333 | 1338 |  | 
|  | 1334 | 1339 | } | 
|  | 1335 | 1340 | |
|  | 1336 | 1341 |  | 
|  | 1337 | 1342 |  | 
|  | 1338 | 1343 | } | 
|  | 1339 | 1344 | |
|  | 1340 | 1345 |  | 
|  | 1341 | 1346 | |
|  | 1342 | 1347 |  | 
|  | 1343 | 1348 |  | 
|  | 1344 | 1349 |  | 
|  | 1345 | 1350 |  | 
|  | 1346 | 1351 |  | 
|  | 1347 | 1352 |  | 
|  | 1348 | 1353 |  | 
|  | 1349 | 1354 |  | 
|  | 1350 | 1355 |  | 
|  | 1351 | 1356 | |
|  | 1352 | 1357 | /** | 
|  | 1353 | 1358 |  | 
|  | 1354 | 1359 | */ | 
|  | 1355 | 1360 |  | 
|  | 1356 | 1361 | |
|  | 1357 | 1362 | /** | 
|  | 1358 | 1363 |  | 
|  | 1359 | 1364 | */ | 
|  | 1360 | 1365 |  | 
|  | 1361 | 1366 | |
|  | 1362 | 1367 | /** | 
|  | 1363 | 1368 |  | 
|  | 1364 | 1369 |  | 
|  | 1365 | 1370 | */ | 
|  | 1366 | 1371 |  | 
|  | 1367 | 1372 | |
|  | 1368 | 1373 | /** | 
|  | 1369 | 1374 |  | 
|  | 1370 | 1375 |  | 
|  | 1371 | 1376 |  | 
|  | 1372 | 1377 |  | 
|  | 1373 | 1378 | */ | 
|  | 1374 | 1379 |  | 
|  | 1375 | 1380 | |
|  | 1376 | 1381 | /** | 
|  | 1377 | 1382 |  | 
|  | 1378 | 1383 | */ | 
|  | 1379 | 1384 |  | 
|  | 1380 | 1385 | |
|  | 1381 | 1386 | /** | 
|  | 1382 | 1387 |  | 
|  | 1383 | 1388 | */ | 
|  | 1384 | 1389 |  | 
|  | 1385 | 1390 | } | 
|  | 1386 | 1391 | |
|  | 1387 | 1392 |  | 
|  | 1388 | 1393 | |
|  | 1389 | 1394 |  | 
|  | 1390 | 1395 | |
|  | 1391 | 1396 | /** | 
|  | 1392 | 1397 |  | 
|  | 1393 | 1398 | */ | 
|  | 1394 | 1399 |  | 
|  | 1395 | 1400 | /** | 
|  | 1396 | 1401 |  | 
|  | 1397 | 1402 | */ | 
|  | 1398 | 1403 |  | 
|  | 1399 | 1404 | |
|  | 1400 | 1405 | /** | 
|  | 1401 | 1406 |  | 
|  | 1402 | 1407 | */ | 
|  | 1403 | 1408 |  | 
|  | 1404 | 1409 | |
|  | 1405 | 1410 | /** | 
|  | 1406 | 1411 |  | 
|  | 1407 | 1412 | */ | 
|  | 1408 | 1413 |  | 
|  | 1409 | 1414 | |
|  | 1410 | 1415 |  | 
|  | 1411 | 1416 |  | 
|  | 1412 | 1417 |  | 
|  | 1413 | 1418 | |
|  | 1414 | 1419 |  | 
|  | 1415 | 1420 | |
|  | 1416 | 1421 | /** | 
|  | 1417 | 1422 |  | 
|  | 1418 | 1423 | */ | 
|  | 1419 | 1424 |  | 
|  | 1420 | 1425 | } | 
|  | 1421 | 1426 | |
|  | 1422 | 1427 |  | 
|  | 1423 | 1428 | |
|  | 1424 | 1429 |  | 
|  | 1425 | 1430 | |
|  | 1426 | 1431 | /** | 
|  | 1427 | 1432 |  | 
|  | 1428 | 1433 | */ | 
|  | 1429 | 1434 |  | 
|  | 1430 | 1435 | /** | 
|  | 1431 | 1436 |  | 
|  | 1432 | 1437 | */ | 
|  | 1433 | 1438 |  | 
|  | 1434 | 1439 | |
|  | 1435 | 1440 | /** | 
|  | 1436 | 1441 |  | 
|  | 1437 | 1442 |  | 
|  | 1438 | 1443 | */ | 
|  | 1439 | 1444 |  | 
|  | 1440 | 1445 | |
|  | 1441 | 1446 | /** | 
|  | 1442 | 1447 |  | 
|  | 1443 | 1448 | */ | 
|  | 1444 | 1449 |  | 
|  | 1445 | 1450 | |
|  | 1446 | 1451 | /** | 
|  | 1447 | 1452 |  | 
|  | 1448 | 1453 | */ | 
|  | 1449 | 1454 |  | 
|  | 1450 | 1455 | |
|  | 1451 | 1456 | /** | 
|  | 1452 | 1457 |  | 
|  | 1453 | 1458 | */ | 
|  | 1454 | 1459 |  | 
|  | 1455 | 1460 | |
|  | 1456 | 1461 | /** | 
|  | 1457 | 1462 |  | 
|  | 1458 | 1463 | */ | 
|  | 1459 | 1464 |  | 
|  | 1460 | 1465 | |
|  | 1461 | 1466 | /** | 
|  | 1462 | 1467 |  | 
|  | 1463 | 1468 | */ | 
|  | 1464 | 1469 |  | 
|  | 1465 | 1470 | |
|  | 1466 | 1471 |  | 
|  | 1467 | 1472 | |
|  | 1468 | 1473 | /** | 
|  | 1469 | 1474 |  | 
|  | 1470 | 1475 | */ | 
|  | 1471 | 1476 |  | 
|  | 1472 | 1477 | |
|  | 1473 | 1478 | /** | 
|  | 1474 | 1479 |  | 
|  | 1475 | 1480 |  | 
|  | 1476 | 1481 | */ | 
|  | 1477 | 1482 |  | 
|  | 1478 | 1483 | } | 
|  | 1479 | 1484 | |
|  | 1480 | 1485 |  | 
|  | 1481 | 1486 | |
|  | 1482 | 1487 |  | 
|  | 1483 | 1488 | |
|  | 1484 | 1489 |  | 
|  | 1485 | 1490 | |
|  | 1486 | 1491 | /** | 
|  | 1487 | 1492 |  | 
|  | 1488 | 1493 | */ | 
|  | 1489 | 1494 |  | 
|  | 1490 | 1495 | /** | 
|  | 1491 | 1496 |  | 
|  | 1492 | 1497 | */ | 
|  | 1493 | 1498 |  | 
|  | 1494 | 1499 | |
|  | 1495 | 1500 | /** | 
|  | 1496 | 1501 |  | 
|  | 1497 | 1502 | */ | 
|  | 1498 | 1503 |  | 
|  | 1499 | 1504 | |
|  | 1500 | 1505 | /** | 
|  | 1501 | 1506 |  | 
|  | 1502 | 1507 | */ | 
|  | 1503 | 1508 |  | 
|  | 1504 | 1509 | |
|  | 1505 | 1510 | /** | 
|  | 1506 | 1511 |  | 
|  | 1507 | 1512 |  | 
|  | 1508 | 1513 | * | 
|  | 1509 | 1514 |  | 
|  | 1510 | 1515 | * | 
|  | 1511 | 1516 |  | 
|  | 1512 | 1517 | */ | 
|  | 1513 | 1518 |  | 
|  | 1514 | 1519 | |
|  | 1515 | 1520 | /** | 
|  | 1516 | 1521 |  | 
|  | 1517 | 1522 |  | 
|  | 1518 | 1523 | */ | 
|  | 1519 | 1524 |  | 
|  | 1520 | 1525 | |
|  | 1521 | 1526 | /** | 
|  | 1522 | 1527 |  | 
|  | 1523 | 1528 | */ | 
|  | 1524 | 1529 |  | 
|  | 1525 | 1530 | |
|  | 1526 | 1531 | /** | 
|  | 1527 | 1532 |  | 
|  | 1528 | 1533 | */ | 
|  | 1529 | 1534 |  | 
|  | 1530 | 1535 | |
|  | 1531 | 1536 |  | 
|  | 1532 | 1537 |  | 
|  | 1533 | 1538 |  | 
|  | 1534 | 1539 |  | 
|  | 1535 | 1540 |  | 
|  | 1536 | 1541 | |
|  | 1537 | 1542 |  | 
|  | 1538 | 1543 |  | 
|  | 1539 | 1544 |  | 
|  | 1540 | 1545 | |
|  | 1541 | 1546 | /** | 
|  | 1542 | 1547 |  | 
|  | 1543 | 1548 | */ | 
|  | 1544 | 1549 |  | 
|  | 1545 | 1550 | |
|  | 1546 | 1551 |  | 
|  | 1547 | 1552 | |
|  | 1548 | 1553 |  | 
|  | 1549 | 1554 | |
|  | 1550 | 1555 |  | 
|  | 1551 | 1556 | |
|  | 1552 | 1557 |  | 
|  | 1553 | 1558 | |
|  | 1554 | 1559 |  | 
|  | 1555 | 1560 |  | 
|  | 1556 | 1561 |  | 
|  | 1557 | 1562 | |
|  | 1558 | 1563 |  | 
|  | 1559 | 1564 |  | 
|  | 1560 | 1565 | |
|  | 1561 | 1566 |  | 
|  | 1562 | 1567 | |
|  | 1563 | 1568 |  | 
|  | 1564 | 1569 | } | 
|  | 1565 | 1570 | |
|  | 1566 | 1571 |  | 
|  | 1567 | 1572 | /** | 
|  | 1568 | 1573 |  | 
|  | 1569 | 1574 | */ | 
|  | 1570 | 1575 |  | 
|  | 1571 | 1576 | } | 
|  | 1572 | 1577 | |
|  | 1573 | 1578 |  | 
|  | 1574 | 1579 | |
|  | 1575 | 1580 |  | 
|  | 1576 | 1581 |  | 
|  | 1577 | 1582 |  | 
|  | 1578 | 1583 |  | 
|  | 1579 | 1584 |  | 
|  | 1580 | 1585 |  | 
|  | 1581 | 1586 |  | 
|  | 1582 | 1587 | } | 
|  | 1583 | 1588 | |
|  | 1584 | 1589 |  | 
|  | 1585 | 1590 |  | 
|  | 1586 | 1591 | } | 
|  | 1587 | 1592 | |
|  | 1588 | 1593 |  | 
|  | 1589 | 1594 | |
|  | 1590 | 1595 |  | 
|  | 1591 | 1596 |  | 
|  | 1592 | 1597 |  | 
|  | 1593 | 1598 |  | 
|  | 1594 | 1599 | |
|  | 1595 | 1600 |  | 
|  | 1596 | 1601 |  | 
|  | 1597 | 1602 |  | 
|  | 1598 | 1603 |  | 
|  | 1599 | 1604 |  | 
|  | 1600 | 1605 |  | 
|  | 1601 | 1606 | } | 
|  | 1602 | 1607 | |
|  | 1603 | 1608 |  | 
|  | 1604 | 1609 | |
|  | 1605 | 1610 |  | 
|  | 1606 | 1611 | |
|  | 1607 | 1612 |  | 
|  | 1608 | 1613 | |
|  | 1609 | 1614 |  | 
|  | 1610 | 1615 |  | 
|  | 1611 | 1616 |  | 
|  | 1612 | 1617 |  | 
|  | 1613 | 1618 |  | 
|  | 1614 | 1619 |  | 
|  | 1615 | 1620 |  | 
|  | 1616 | 1621 |  | 
|  | 1617 | 1622 |  | 
|  | 1618 | 1623 |  | 
|  | 1619 | 1624 |  | 
|  | 1620 | 1625 |  | 
|  | 1621 | 1626 |  | 
|  | 1622 | 1627 |  | 
|  | 1623 | 1628 |  | 
|  | 1624 | 1629 | } | 
|  | 1625 | 1630 | |
|  | 1626 | 1631 |  | 
|  | 1627 | 1632 | |
|  | 1628 | 1633 |  | 
|  | 1629 | 1634 |  | 
|  | 1630 | 1635 |  | 
|  | 1631 | 1636 |  | 
|  | 1632 | 1637 |  | 
|  | 1633 | 1638 |  | 
|  | 1634 | 1639 |  | 
|  | 1635 | 1640 | } | 
|  | 1636 | 1641 | |
|  | 1637 | 1642 |  | 
|  | 1638 | 1643 |  | 
|  | 1639 | 1644 | } | 
|  | 1640 | 1645 | |
|  | 1641 | 1646 |  | 
|  | 1642 | 1647 | |
|  | 1643 | 1648 |  | 
|  | 1644 | 1649 |  | 
|  | 1645 | 1650 | } | 
|  | 1646 | 1651 | |
|  | 1647 | 1652 |  | 
|  | 1648 | 1653 | |
|  | 1649 | 1654 |  | 
|  | 1650 | 1655 | |
|  | 1651 | 1656 |  | 
|  | 1652 | 1657 |  | 
|  | 1653 | 1658 |  | 
|  | 1654 | 1659 | } | 
|  | 1655 | 1660 | |
|  | 1656 | 1661 |  | 
|  | 1657 | 1662 | /** | 
|  | 1658 | 1663 |  | 
|  | 1659 | 1664 | */ | 
|  | 1660 | 1665 |  | 
|  | 1661 | 1666 | |
|  | 1662 | 1667 | /** | 
|  | 1663 | 1668 |  | 
|  | 1664 | 1669 | */ | 
|  | 1665 | 1670 |  | 
|  | 1666 | 1671 | |
|  | 1667 | 1672 | /** | 
|  | 1668 | 1673 |  | 
|  | 1669 | 1674 | */ | 
|  | 1670 | 1675 |  | 
|  | 1671 | 1676 | |
|  | 1672 | 1677 | /** | 
|  | 1673 | 1678 |  | 
|  | 1674 | 1679 |  | 
|  | 1675 | 1680 | */ | 
|  | 1676 | 1681 |  | 
|  | 1677 | 1682 | |
|  | 1678 | 1683 |  | 
|  | 1679 | 1684 |  | 
|  | 1680 | 1685 |  | 
|  | 1681 | 1686 | } | 
|  | 1682 | 1687 | |
|  | 1683 | 1688 |  | 
|  | 1684 | 1689 | |
|  | 1685 | 1690 |  | 
|  | 1686 | 1691 | |
|  | 1687 | 1692 |  | 
|  | 1688 | 1693 |  | 
|  | 1689 | 1694 | |
|  | 1690 | 1695 | /** | 
|  | 1691 | 1696 |  | 
|  | 1692 | 1697 | */ | 
|  | 1693 | 1698 |  | 
|  | 1694 | 1699 | |
|  | 1695 | 1700 | /** | 
|  | 1696 | 1701 |  | 
|  | 1697 | 1702 | */ | 
|  | 1698 | 1703 |  | 
|  | 1699 | 1704 | |
|  | 1700 | 1705 | /** | 
|  | 1701 | 1706 |  | 
|  | 1702 | 1707 | */ | 
|  | 1703 | 1708 |  | 
|  | 1704 | 1709 | |
|  | 1705 | 1710 | /** | 
|  | 1706 | 1711 |  | 
|  | 1707 | 1712 | */ | 
|  | 1708 | 1713 |  | 
|  | 1709 | 1714 | |
|  | 1710 | 1715 | /** | 
|  | 1711 | 1716 |  | 
|  | 1712 | 1717 | */ | 
|  | 1713 | 1718 |  | 
|  | 1714 | 1719 | |
|  | 1715 | 1720 | /** | 
|  | 1716 | 1721 |  | 
|  | 1717 | 1722 | */ | 
|  | 1718 | 1723 |  | 
|  | 1719 | 1724 |  | 
|  | 1720 | 1725 | |
|  | 1721 | 1726 | /** | 
|  | 1722 | 1727 |  | 
|  | 1723 | 1728 | */ | 
|  | 1724 | 1729 |  | 
|  | 1725 | 1730 | |
|  | 1726 | 1731 |  | 
|  | 1727 | 1732 |  | 
|  | 1728 | 1733 |  | 
|  | 1729 | 1734 | |
|  | 1730 | 1735 | /** | 
|  | 1731 | 1736 |  | 
|  | 1732 | 1737 |  | 
|  | 1733 | 1738 | */ | 
|  | 1734 | 1739 |  | 
|  | 1735 | 1740 |  | 
|  | 1736 | 1741 | |
|  | 1737 | 1742 | /** | 
|  | 1738 | 1743 |  | 
|  | 1739 | 1744 |  | 
|  | 1740 | 1745 | */ | 
|  | 1741 | 1746 |  | 
|  | 1742 | 1747 | |
|  | 1743 | 1748 | /** | 
|  | 1744 | 1749 |  | 
|  | 1745 | 1750 |  | 
|  | 1746 | 1751 | */ | 
|  | 1747 | 1752 |  | 
|  | 1748 | 1753 |  | 
|  | 1749 | 1754 | |
|  | 1750 | 1755 | /** | 
|  | 1751 | 1756 |  | 
|  | 1752 | 1757 | */ | 
|  | 1753 | 1758 |  | 
|  | 1754 | 1759 | |
|  | 1755 | 1760 | /** | 
|  | 1756 | 1761 |  | 
|  | 1757 | 1762 | */ | 
|  | 1758 | 1763 |  | 
|  | 1759 | 1764 |  | 
|  | 1760 | 1765 | |
|  | 1761 | 1766 | /** | 
|  | 1762 | 1767 |  | 
|  | 1763 | 1768 |  | 
|  | 1764 | 1769 | */ | 
|  | 1765 | 1770 |  | 
|  | 1766 | 1771 | |
|  | 1767 | 1772 | /** | 
|  | 1768 | 1773 |  | 
|  | 1769 | 1774 |  | 
|  | 1770 | 1775 |  | 
|  | 1771 | 1776 |  | 
|  | 1772 | 1777 |  | 
|  | 1773 | 1778 |  | 
|  | 1774 | 1779 |  | 
|  | 1775 | 1780 | */ | 
|  | 1776 | 1781 |  | 
|  | 1777 | 1782 | } | 
|  | 1778 | 1783 | |
|  | 1779 | 1784 |  | 
|  | 1780 | 1785 | |
|  | 1781 | 1786 |  | 
|  | 1782 | 1787 | |
|  | 1783 | 1788 |  | 
|  | 1784 | 1789 |  | 
|  | 1785 | 1790 |  | 
|  | 1786 | 1791 |  | 
|  | 1787 | 1792 |  | 
|  | 1788 | 1793 |  | 
|  | 1789 | 1794 |  | 
|  | 1790 | 1795 |  | 
|  | 1791 | 1796 | } | 
|  | 1792 | 1797 | |
|  | 1793 | 1798 |  | 
|  | 1794 | 1799 |  | 
|  | 1795 | 1800 | } | 
|  | 1796 | 1801 | |
|  | 1797 | 1802 |  | 
|  | 1798 | 1803 | |
|  | 1799 | 1804 |  | 
|  | 1800 | 1805 |  | 
|  | 1801 | 1806 |  | 
|  | 1802 | 1807 |  | 
|  | 1803 | 1808 | } | 
|  | 1804 | 1809 | |
|  | 1805 | 1810 |  | 
|  | 1806 | 1811 | |
|  | 1807 | 1812 |  | 
|  | 1808 | 1813 | |
|  | 1809 | 1814 |  | 
|  | 1810 | // set(name: 'displayedValue', value: string): this; | |
|  | 1811 | // set(name: 'disabled', value: boolean): this; | |
|  | 1812 | // set(name: 'value', value: string): this; | |
|  | 1813 | // set(name: string, value: any): this; | |
|  | 1814 | // set(values: Object): this; | |
|  | 1815 | 1815 |  | 
|  | 1816 | // get(name: 'displayedValue'): string; | |
|  | 1817 | // get(name: 'value'): string; | |
|  | 1818 | // get(name: string): any; | |
|  | 1819 | 1816 | } | 
|  | 1820 | 1817 | |
|  | 1821 | 1818 |  | 
|  | 1822 | 1819 | |
|  | 1823 | 1820 |  | 
|  | 1824 | 1821 | |
|  | 1825 | 1822 |  | 
|  | 1826 | 1823 |  | 
|  | 1827 | 1824 | |
|  | 1828 | 1825 |  | 
|  | 1829 | ||
|  | 1830 | // set(name: 'checked', value: boolean): this; | |
|  | 1831 | // set(name: string, value: any): this; | |
|  | 1832 | // set(values: Object): this; | |
|  | 1833 | 1826 | } | 
|  | 1834 | 1827 | |
|  | 1835 | 1828 |  | 
|  | 1836 | 1829 | |
|  | 1837 | 1830 |  | 
|  | 1838 | 1831 | |
|  | 1839 | 1832 |  | 
|  | 1840 | 1833 |  | 
|  | 1841 | 1834 | } | 
|  | 1842 | 1835 | |
|  | 1843 | 1836 |  | 
|  | 1844 | 1837 |  | 
|  | 1845 | 1838 |  | 
|  | 1846 | 1839 |  | 
|  | 1847 | 1840 |  | 
|  | 1848 | 1841 |  | 
|  | 1849 | 1842 |  | 
|  | 1850 | 1843 |  | 
|  | 1851 | 1844 |  | 
|  | 1852 | 1845 |  | 
|  | 1853 | 1846 |  | 
|  | 1854 | 1847 |  | 
|  | 1855 | 1848 |  | 
|  | 1856 | 1849 |  | 
|  | 1857 | 1850 |  | 
|  | 1858 | 1851 |  | 
|  | 1859 | 1852 |  | 
|  | 1860 | 1853 |  | 
|  | 1861 | 1854 |  | 
|  | 1862 | 1855 | |
|  | 1863 | 1856 |  | 
|  | 1864 | 1857 |  | 
|  | 1865 | 1858 | |
|  | 1866 | 1859 |  | 
|  | 1867 | 1860 | |
|  | 1868 | 1861 |  | 
|  | 1869 | ||
|  | 1870 | // set(name: 'constraints', value: Constraints): this; | |
|  | 1871 | // set(name: 'disabled', value: boolean): this; | |
|  | 1872 | // set(name: 'message', value: string): this; | |
|  | 1873 | // set(name: 'pattern', value: string | ConstraintsToRegExpString<C>): this; | |
|  | 1874 | // set(name: 'regExp', value: string): this; | |
|  | 1875 | // set(name: 'regExpGen', value: Constraints): this; | |
|  | 1876 | // set(name: 'required', value: boolean): this; | |
|  | 1877 | // set(name: 'value', value: string): this; | |
|  | 1878 | // set(name: string, value: any): this; | |
|  | 1879 | // set(values: Object): this; | |
|  | 1880 | ||
|  | 1881 | // get(name: 'pattern'): string | ConstraintsToRegExpString<C>; | |
|  | 1882 | // get(name: string): any; | |
|  | 1883 | 1862 | } | 
|  | 1884 | 1863 | |
|  | 1885 | 1864 |  | 
|  | 1886 | 1865 |  | 
|  | 1887 | 1866 | } | 
|  | 1888 | 1867 | } | 
|  | 1889 | 1868 | } | 
| @@ -1,487 +1,506 | |||
|  | 1 | 1 | /// <reference path="index.d.ts" /> | 
|  | 2 | 2 | |
|  | 3 | 3 | declare module 'dijit/_Widget' { | 
|  | 4 | 4 | type _Widget = dijit._Widget; | 
|  | 5 | 5 | const _Widget: dijit._WidgetBaseConstructor<_Widget>; | 
|  | 6 | 6 | export = _Widget; | 
|  | 7 | 7 | } | 
|  | 8 | 8 | |
|  | 9 | 9 | declare module 'dijit/_WidgetBase' { | 
|  | 10 | 10 | type _WidgetBase<E extends { [k in keyof E]: Event } = {}> = dijit._WidgetBase<E & GlobalEventHandlersEventMap>; | 
|  | 11 | 11 | |
|  | 12 | 12 | // individual _WidgetBase constructor to keep type parameters | 
|  | 13 | 13 | interface _WidgetBaseConstructor { | 
|  | 14 | 14 | new <A = {}, E extends { [k in keyof E]: Event } = {}>(params?: Partial<_WidgetBase<E> & A>, srcNodeRef?: dojo.NodeOrString): _WidgetBase<E> & dojo._base.DeclareCreatedObject; | 
|  | 15 | 15 | prototype: _WidgetBase<any>; | 
|  | 16 | 16 | } | 
|  | 17 | 17 | const _WidgetBase: _WidgetBaseConstructor; | 
|  | 18 | 18 | export = _WidgetBase; | 
|  | 19 | 19 | } | 
|  | 20 | 20 | |
|  | 21 | 21 | declare module 'dijit/_AttachMixin' { | 
|  | 22 | 22 | type _AttachMixin = dijit._AttachMixin; | 
|  | 23 | 23 | const _AttachMixin: dijit._AttachMixinConstructor; | 
|  | 24 | 24 | export = _AttachMixin; | 
|  | 25 | 25 | } | 
|  | 26 | 26 | |
|  | 27 | 27 | declare module 'dijit/_CssStateMixin' { | 
|  | 28 | 28 | type _CssStateMixin = dijit._CssStateMixin; | 
|  | 29 | 29 | const _CssStateMixin: dijit._CssStateMixinConstructor; | 
|  | 30 | 30 | export = _CssStateMixin; | 
|  | 31 | 31 | } | 
|  | 32 | 32 | |
|  | 33 | 33 | declare module 'dijit/_Contained' { | 
|  | 34 | 34 | type _Contained = dijit._Contained; | 
|  | 35 | 35 | const _Contained: dijit._ContainedConstructor; | 
|  | 36 | 36 | export = _Contained; | 
|  | 37 | 37 | } | 
|  | 38 | 38 | |
|  | 39 | 39 | declare module 'dijit/_Container' { | 
|  | 40 | 40 | type _Container = dijit._Container; | 
|  | 41 | 41 | const _Container: dijit._ContainerConstructor; | 
|  | 42 | 42 | export = _Container; | 
|  | 43 | 43 | } | 
|  | 44 | 44 | |
|  | 45 | 45 | declare module 'dijit/_KeyNavContainer' { | 
|  | 46 | 46 | type _KeyNavContainer = dijit._KeyNavContainer; | 
|  | 47 | 47 | const _KeyNavContainer: dijit._KeyNavContainerConstructor; | 
|  | 48 | 48 | export = _KeyNavContainer; | 
|  | 49 | 49 | } | 
|  | 50 | 50 | |
|  | 51 | 51 | declare module 'dijit/_KeyNavMixin' { | 
|  | 52 | 52 | type _KeyNavMixin = dijit._KeyNavMixin; | 
|  | 53 | 53 | const _KeyNavMixin: dijit._KeyNavMixinConstructor; | 
|  | 54 | 54 | export = _KeyNavMixin; | 
|  | 55 | 55 | } | 
|  | 56 | 56 | |
|  | 57 | 57 | declare module 'dijit/_MenuBase' { | 
|  | 58 | 58 | type _MenuBase = dijit._MenuBase; | 
|  | 59 | 59 | const _MenuBase: dijit._MenuBaseConstructor; | 
|  | 60 | 60 | export = _MenuBase; | 
|  | 61 | 61 | } | 
|  | 62 | 62 | |
|  | 63 | 63 | declare module 'dijit/_TemplatedMixin' { | 
|  | 64 | 64 | type _TemplatedMixin = dijit._TemplatedMixin; | 
|  | 65 | 65 | const _TemplatedMixin: dijit._TemplatedMixinConstructor; | 
|  | 66 | 66 | export = _TemplatedMixin; | 
|  | 67 | 67 | } | 
|  | 68 | 68 | |
|  | 69 | 69 | declare module 'dijit/_WidgetsInTemplateMixin' { | 
|  | 70 | 70 | type _WidgetsInTemplateMixin = dijit._WidgetsInTemplateMixin; | 
|  | 71 | 71 | const _WidgetsInTemplateMixin: dijit._WidgetsInTemplateMixinConstructor; | 
|  | 72 | 72 | export = _WidgetsInTemplateMixin; | 
|  | 73 | 73 | } | 
|  | 74 | 74 | |
|  | 75 | 75 | declare module 'dijit/ConfirmDialog' { | 
|  | 76 | 76 | type ConfirmDialog = dijit.ConfirmDialog; | 
|  | 77 | 77 | const ConfirmDialog: dijit.ConfirmDialogConstructor; | 
|  | 78 | 78 | export = ConfirmDialog; | 
|  | 79 | 79 | } | 
|  | 80 | 80 | |
|  | 81 | 81 | declare module 'dijit/Calendar' { | 
|  | 82 | 82 | type Calendar = dijit.Calendar; | 
|  | 83 | 83 | const Calendar: dijit.CalendarConstructor; | 
|  | 84 | 84 | export = Calendar; | 
|  | 85 | 85 | } | 
|  | 86 | 86 | |
|  | 87 | 87 | declare module 'dijit/CalendarLite' { | 
|  | 88 | 88 | type CalendarLite = dijit.CalendarLite; | 
|  | 89 | 89 | const CalendarLite: dijit.CalendarLiteConstructor; | 
|  | 90 | 90 | export = CalendarLite; | 
|  | 91 | 91 | } | 
|  | 92 | 92 | |
|  | 93 | 93 | declare module 'dijit/Destroyable' { | 
|  | 94 | 94 | type Destroyable = dijit.Destroyable; | 
|  | 95 | 95 | const Destroyable: dijit.DestroyableConstructor; | 
|  | 96 | 96 | export = Destroyable; | 
|  | 97 | 97 | } | 
|  | 98 | 98 | |
|  | 99 | 99 | declare module 'dijit/Dialog' { | 
|  | 100 | 100 | type Dialog = dijit.Dialog; | 
|  | 101 | 101 | const Dialog: dijit.DialogConstructor; | 
|  | 102 | 102 | export = Dialog; | 
|  | 103 | 103 | } | 
|  | 104 | 104 | |
|  | 105 | declare module "dijit/_HasDropDown" { | |
|  | 106 | type _HasDropDown<T extends dijit._WidgetBase = dijit._WidgetBase> = dijit._HasDropDown<T>; | |
|  | 107 | const _HasDropDown: dijit._WidgetBaseConstructor<_HasDropDown>; | |
|  | 108 | ||
|  | 109 | export = _HasDropDown; | |
|  | 110 | } | |
|  | 111 | ||
|  | 105 | 112 | declare module 'dijit/DropDownMenu' { | 
|  | 106 | 113 | type DropDownMenu = dijit.DropDownMenu; | 
|  | 107 | 114 | const DropDownMenu: dijit.DropDownMenuConstructor; | 
|  | 108 | 115 | export = DropDownMenu; | 
|  | 109 | 116 | } | 
|  | 110 | 117 | |
|  | 111 | 118 | declare module 'dijit/Fieldset' { | 
|  | 112 | 119 | type Fieldset = dijit.Fieldset; | 
|  | 113 | 120 | const Fieldset: dijit.FieldsetConstructor; | 
|  | 114 | 121 | export = Fieldset; | 
|  | 115 | 122 | } | 
|  | 116 | 123 | |
|  | 117 | 124 | declare module 'dijit/Menu' { | 
|  | 118 | 125 | type Menu = dijit.Menu; | 
|  | 119 | 126 | const Menu: dijit.MenuConstructor; | 
|  | 120 | 127 | export = Menu; | 
|  | 121 | 128 | } | 
|  | 122 | 129 | |
|  | 123 | 130 | declare module 'dijit/MenuBar' { | 
|  | 124 | 131 | type MenuBar = dijit.MenuBar; | 
|  | 125 | 132 | const MenuBar: dijit.MenuBarConstructor; | 
|  | 126 | 133 | export = MenuBar; | 
|  | 127 | 134 | } | 
|  | 128 | 135 | |
|  | 129 | 136 | declare module 'dijit/MenuBarItem' { | 
|  | 130 | 137 | type MenuBarItem = dijit.MenuBarItem; | 
|  | 131 | 138 | const MenuBarItem: dijit.MenuBarItemConstructor; | 
|  | 132 | 139 | export = MenuBarItem; | 
|  | 133 | 140 | } | 
|  | 134 | 141 | |
|  | 135 | 142 | declare module 'dijit/MenuItem' { | 
|  | 136 | 143 | type MenuItem = dijit.MenuItem; | 
|  | 137 | 144 | const MenuItem: dijit.MenuItemConstructor; | 
|  | 138 | 145 | export = MenuItem; | 
|  | 139 | 146 | } | 
|  | 140 | 147 | |
|  | 141 | 148 | declare module 'dijit/MenuSeparator' { | 
|  | 142 | 149 | type MenuSeparator = dijit.MenuSeparator; | 
|  | 143 | 150 | const MenuSeparator: dijit.MenuSeparatorConstructor; | 
|  | 144 | 151 | export = MenuSeparator; | 
|  | 145 | 152 | } | 
|  | 146 | 153 | |
|  | 147 | 154 | declare module 'dijit/place' { | 
|  | 148 | 155 | const place: dijit.Place; | 
|  | 149 | 156 | export = place; | 
|  | 150 | 157 | } | 
|  | 151 | 158 | |
|  | 152 | 159 | declare module 'dijit/popup' { | 
|  | 153 | 160 | const popup: dijit.PopupManager; | 
|  | 154 | 161 | export = popup; | 
|  | 155 | 162 | } | 
|  | 156 | 163 | |
|  | 157 | 164 | declare module 'dijit/PopupMenuBarItem' { | 
|  | 158 | 165 | type PopupMenuBarItem = dijit.PopupMenuBarItem; | 
|  | 159 | 166 | const PopupMenuBarItem: dijit.PopupMenuBarItemConstructor; | 
|  | 160 | 167 | export = PopupMenuBarItem; | 
|  | 161 | 168 | } | 
|  | 162 | 169 | |
|  | 163 | 170 | declare module 'dijit/PopupMenuItem' { | 
|  | 164 | 171 | type PopupMenuItem = dijit.PopupMenuItem; | 
|  | 165 | 172 | const PopupMenuItem: dijit.PopupMenuItemConstructor; | 
|  | 166 | 173 | export = PopupMenuItem; | 
|  | 167 | 174 | } | 
|  | 168 | 175 | |
|  | 169 | 176 | declare module 'dijit/registry' { | 
|  | 170 | 177 | const registry: dijit.Registry; | 
|  | 171 | 178 | export = registry; | 
|  | 172 | 179 | } | 
|  | 173 | 180 | |
|  | 174 | 181 | declare module 'dijit/TitlePane' { | 
|  | 175 | 182 | type TitlePane = dijit.TitlePane; | 
|  | 176 | 183 | const TitlePane: dijit.TitlePaneConstructor; | 
|  | 177 | 184 | export = TitlePane; | 
|  | 178 | 185 | } | 
|  | 179 | 186 | |
|  | 180 | 187 | declare module 'dijit/Toolbar' { | 
|  | 181 | 188 | type Toolbar = dijit.Toolbar; | 
|  | 182 | 189 | const Toolbar: dijit.ToolbarConstructor; | 
|  | 183 | 190 | export = Toolbar; | 
|  | 184 | 191 | } | 
|  | 185 | 192 | |
|  | 186 | 193 | declare module 'dijit/ToolbarSeparator' { | 
|  | 187 | 194 | type ToolbarSeparator = dijit.ToolbarSeparator; | 
|  | 188 | 195 | const ToolbarSeparator: dijit.ToolbarSeparatorConstructor; | 
|  | 189 | 196 | export = ToolbarSeparator; | 
|  | 190 | 197 | } | 
|  | 191 | 198 | |
|  | 192 | 199 | declare module 'dijit/Tooltip' { | 
|  | 193 | 200 | type Tooltip = dijit.Tooltip; | 
|  | 194 | 201 | const Tooltip: dijit.TooltipConstructor; | 
|  | 195 | 202 | export = Tooltip; | 
|  | 196 | 203 | } | 
|  | 197 | 204 | |
|  | 198 | 205 | declare module 'dijit/TooltipDialog' { | 
|  | 199 | 206 | type TooltipDialog = dijit.TooltipDialog; | 
|  | 200 | 207 | const TooltipDialog: dijit.TooltipDialogConstructor; | 
|  | 201 | 208 | export = TooltipDialog; | 
|  | 202 | 209 | } | 
|  | 203 | 210 | |
|  | 204 | 211 | declare module 'dijit/_base/focus' { | 
|  | 205 | 212 | const focus: dijit._base.Focus; | 
|  | 206 | 213 | export = focus; | 
|  | 207 | 214 | } | 
|  | 208 | 215 | |
|  | 209 | 216 | declare module 'dijit/_base/manager' { | 
|  | 210 | 217 | const manager: dijit._base.Manager; | 
|  | 211 | 218 | export = manager; | 
|  | 212 | 219 | } | 
|  | 213 | 220 | |
|  | 214 | 221 | declare module 'dijit/_base/place' { | 
|  | 215 | 222 | const place: dijit._base.Place; | 
|  | 216 | 223 | export = place; | 
|  | 217 | 224 | } | 
|  | 218 | 225 | |
|  | 219 | 226 | declare module 'dijit/_base/popup' { | 
|  | 220 | 227 | const popup: dijit._base.Popup; | 
|  | 221 | 228 | export = popup; | 
|  | 222 | 229 | } | 
|  | 223 | 230 | |
|  | 224 | 231 | declare module 'dijit/_base/scroll' { | 
|  | 225 | 232 | const scroll: dijit._base.Scroll; | 
|  | 226 | 233 | export = scroll; | 
|  | 227 | 234 | } | 
|  | 228 | 235 | |
|  | 229 | 236 | declare module 'dijit/_base/sniff' { | 
|  | 230 | 237 | const sniff: dijit._base.Sniff; | 
|  | 231 | 238 | export = sniff; | 
|  | 232 | 239 | } | 
|  | 233 | 240 | |
|  | 234 | 241 | declare module 'dijit/_base/typematic' { | 
|  | 235 | 242 | const typematic: dijit._base.Typematic; | 
|  | 236 | 243 | export = typematic; | 
|  | 237 | 244 | } | 
|  | 238 | 245 | |
|  | 239 | 246 | declare module 'dijit/_base/wai' { | 
|  | 240 | 247 | const wai: dijit._base.Wai; | 
|  | 241 | 248 | export = wai; | 
|  | 242 | 249 | } | 
|  | 243 | 250 | |
|  | 244 | 251 | declare module 'dijit/_base/window' { | 
|  | 245 | 252 | const window: dijit._base.Window; | 
|  | 246 | 253 | export = window; | 
|  | 247 | 254 | } | 
|  | 248 | 255 | |
|  | 249 | 256 | declare module 'dijit/form/_FormMixin' { | 
|  | 250 | 257 | type _FormMixin = dijit.form._FormMixin; | 
|  | 251 | 258 | const _FormMixin: dijit.form._FormMixinConstructor; | 
|  | 252 | 259 | export = _FormMixin; | 
|  | 253 | 260 | } | 
|  | 254 | 261 | |
|  | 262 | declare module "dijit/form/_FormWidgetMixin" { | |
|  | 263 | type _FormWidgetMixin = dijit.form._FormWidgetMixin; | |
|  | 264 | const _FormWidgetMixin: dijit._WidgetBaseConstructor<_FormWidgetMixin>; | |
|  | 265 | export = _FormWidgetMixin; | |
|  | 266 | } | |
|  | 267 | ||
|  | 268 | declare module "dijit/form/_FormValueMixin" { | |
|  | 269 | type _FormValueMixin = dijit.form._FormValueMixin; | |
|  | 270 | const _FormValueMixin: dijit._WidgetBaseConstructor<_FormValueMixin>; | |
|  | 271 | export = _FormValueMixin; | |
|  | 272 | } | |
|  | 273 | ||
|  | 255 | 274 | declare module 'dijit/form/_FormValueWidget' { | 
|  | 256 | 275 | type _FormValueWidget = dijit.form._FormValueWidget; | 
|  | 257 | 276 | const _FormValueWidget: dijit.form._FormValueWidgetConstructor; | 
|  | 258 | 277 | export = _FormValueWidget; | 
|  | 259 | 278 | } | 
|  | 260 | 279 | |
|  | 261 | 280 | declare module 'dijit/form/_FormWidget' { | 
|  | 262 | 281 | type _FormWidget = dijit.form._FormWidget; | 
|  | 263 | 282 | const _FormWidget: dijit.form._FormWidgetConstructor; | 
|  | 264 | 283 | export = _FormWidget; | 
|  | 265 | 284 | } | 
|  | 266 | 285 | |
|  | 267 | 286 | declare module 'dijit/form/Button' { | 
|  | 268 | 287 | type Button = dijit.form.Button; | 
|  | 269 | 288 | const Button: dijit.form.ButtonConstructor; | 
|  | 270 | 289 | export = Button; | 
|  | 271 | 290 | } | 
|  | 272 | 291 | |
|  | 273 | 292 | declare module 'dijit/form/CheckBox' { | 
|  | 274 | 293 | type CheckBox = dijit.form.CheckBox; | 
|  | 275 | 294 | const CheckBox: dijit.form.CheckBoxConstructor; | 
|  | 276 | 295 | export = CheckBox; | 
|  | 277 | 296 | } | 
|  | 278 | 297 | |
|  | 279 | 298 | declare module 'dijit/form/ComboBox' { | 
|  | 280 | 299 | type ComboBox = dijit.form.TextBox; | 
|  | 281 | 300 | const ComboBox: dijit.form.ComboBoxConstructor; | 
|  | 282 | 301 | export = ComboBox; | 
|  | 283 | 302 | } | 
|  | 284 | 303 | |
|  | 285 | 304 | declare module 'dijit/form/ComboBoxMixin' { | 
|  | 286 | 305 | type ComboBoxMixin<T = any, U extends dojo.store.api.BaseQueryType = dojo.store.api.BaseQueryType, V = any> = dijit.form.ComboBoxMixin<T, U, V>; | 
|  | 287 | 306 | const ComboBoxMixin: dijit.form.ComboBoxConstructor; | 
|  | 288 | 307 | export = ComboBoxMixin; | 
|  | 289 | 308 | } | 
|  | 290 | 309 | |
|  | 291 | 310 | declare module 'dijit/form/CurrencyTextBox' { | 
|  | 292 | 311 | type CurrencyTextBox = dijit.form.CurrencyTextBox; | 
|  | 293 | 312 | const CurrencyTextBox: dijit.form.CurrencyTextBoxConstructor; | 
|  | 294 | 313 | export = CurrencyTextBox; | 
|  | 295 | 314 | } | 
|  | 296 | 315 | |
|  | 297 | 316 | declare module 'dijit/form/DataList' { | 
|  | 298 | 317 | type DataList<T> = dijit.form.DataList<T>; | 
|  | 299 | 318 | const DataList: dijit.form.DataListConstructor; | 
|  | 300 | 319 | export = DataList; | 
|  | 301 | 320 | } | 
|  | 302 | 321 | |
|  | 303 | 322 | declare module 'dijit/form/DateTextBox' { | 
|  | 304 | 323 | type DateTextBox = dijit.form.DateTextBox; | 
|  | 305 | 324 | const DateTextBox: dijit.form.DateTextBoxConstructor; | 
|  | 306 | 325 | export = DateTextBox; | 
|  | 307 | 326 | } | 
|  | 308 | 327 | |
|  | 309 | 328 | declare module 'dijit/form/DropDownButton' { | 
|  | 310 | 329 | type DropDownButton<T extends dijit._WidgetBase> = dijit.form.DropDownButton<T>; | 
|  | 311 | 330 | const DropDownButton: dijit.form.DropDownButtonConstructor; | 
|  | 312 | 331 | export = DropDownButton; | 
|  | 313 | 332 | } | 
|  | 314 | 333 | |
|  | 315 | 334 | declare module 'dijit/form/FilteringSelect' { | 
|  | 316 | 335 | type FilteringSelect<C extends dijit.form.Constraints = dijit.form.Constraints, T extends Object = any, Q extends dojo.store.api.BaseQueryType = dojo.store.api.BaseQueryType, O extends dojo.store.api.QueryOptions = dojo.store.api.QueryOptions> = dijit.form.FilteringSelect<C, T, Q, O>; | 
|  | 317 | 336 | const FilteringSelect: dijit.form.FilteringSelectConstructor; | 
|  | 318 | 337 | export = FilteringSelect; | 
|  | 319 | 338 | } | 
|  | 320 | 339 | |
|  | 321 | 340 | declare module 'dijit/form/Form' { | 
|  | 322 | 341 | type Form = dijit.form.Form; | 
|  | 323 | 342 | const Form: dijit.form.FormConstructor; | 
|  | 324 | 343 | export = Form; | 
|  | 325 | 344 | } | 
|  | 326 | 345 | |
|  | 327 | 346 | declare module 'dijit/form/HorizontalRule' { | 
|  | 328 | 347 | type HorizontalRule = dijit.form.HorizontalRule; | 
|  | 329 | 348 | const HorizontalRule: dijit.form.HorizontalRuleConstructor; | 
|  | 330 | 349 | export = HorizontalRule; | 
|  | 331 | 350 | } | 
|  | 332 | 351 | |
|  | 333 | 352 | declare module 'dijit/form/HorizontalRuleLabels' { | 
|  | 334 | 353 | type HorizontalRuleLabels = dijit.form.HorizontalRuleLabels; | 
|  | 335 | 354 | const HorizontalRuleLabels: dijit.form.HorizontalRuleLabelsConstructor; | 
|  | 336 | 355 | export = HorizontalRuleLabels; | 
|  | 337 | 356 | } | 
|  | 338 | 357 | |
|  | 339 | 358 | declare module 'dijit/form/HorizontalSlider' { | 
|  | 340 | 359 | type HorizontalSlider = dijit.form.HorizontalSlider; | 
|  | 341 | 360 | const HorizontalSlider: dijit.form.HorizontalSliderConstructor; | 
|  | 342 | 361 | export = HorizontalSlider; | 
|  | 343 | 362 | } | 
|  | 344 | 363 | |
|  | 345 | 364 | declare module 'dijit/form/MappedTextBox' { | 
|  | 346 | 365 | type MappedTextBox<C extends dijit.form.Constraints = dijit.form.Constraints> = dijit.form.MappedTextBox<C>; | 
|  | 347 | 366 | const MappedTextBox: dijit.form.MappedTextBoxConstructor; | 
|  | 348 | 367 | export = MappedTextBox; | 
|  | 349 | 368 | } | 
|  | 350 | 369 | |
|  | 351 | 370 | declare module 'dijit/form/NumberSpinner' { | 
|  | 352 | 371 | type NumberSpinner = dijit.form.NumberSpinner; | 
|  | 353 | 372 | const NumberSpinner: dijit.form.NumberSpinnerConstructor; | 
|  | 354 | 373 | export = NumberSpinner; | 
|  | 355 | 374 | } | 
|  | 356 | 375 | |
|  | 357 | 376 | declare module 'dijit/form/NumberTextBox' { | 
|  | 358 | 377 | type NumberTextBox = dijit.form.NumberTextBox; | 
|  | 359 | 378 | const NumberTextBox: dijit.form.NumberTextBoxConstructor; | 
|  | 360 | 379 | export = NumberTextBox; | 
|  | 361 | 380 | } | 
|  | 362 | 381 | |
|  | 363 | 382 | declare module 'dijit/form/RadioButton' { | 
|  | 364 | 383 | type RadioButton = dijit.form.RadioButton; | 
|  | 365 | 384 | const RadioButton: dijit.form.RadioButtonConstructor; | 
|  | 366 | 385 | export = RadioButton; | 
|  | 367 | 386 | } | 
|  | 368 | 387 | |
|  | 369 | 388 | declare module 'dijit/form/RangeBoundTextBox' { | 
|  | 370 | 389 | type RangeBoundTextBox = dijit.form.RangeBoundTextBox; | 
|  | 371 | 390 | const RangeBoundTextBox: dijit.form.RangeBoundTextBoxConstructor; | 
|  | 372 | 391 | export = RangeBoundTextBox; | 
|  | 373 | 392 | } | 
|  | 374 | 393 | |
|  | 375 | 394 | declare module 'dijit/form/Select' { | 
|  | 376 | 395 | type Select<T, Q extends dojo.store.api.BaseQueryType = dojo.store.api.BaseQueryType, O = any, U extends dijit._WidgetBase = dijit._WidgetBase> = dijit.form.Select<T, Q, O, U>; | 
|  | 377 | 396 | const Select: dijit.form.SelectConstructor; | 
|  | 378 | 397 | export = Select; | 
|  | 379 | 398 | } | 
|  | 380 | 399 | |
|  | 381 | 400 | declare module 'dijit/form/SimpleTextarea' { | 
|  | 382 | 401 | type SimpleTextarea = dijit.form.SimpleTextarea; | 
|  | 383 | 402 | const SimpleTextarea: dijit.form.SimpleTextareaConstructor; | 
|  | 384 | 403 | export = SimpleTextarea; | 
|  | 385 | 404 | } | 
|  | 386 | 405 | |
|  | 387 | 406 | declare module 'dijit/form/Textarea' { | 
|  | 388 | 407 | type Textarea = dijit.form.Textarea; | 
|  | 389 | 408 | const Textarea: dijit.form.TextareaConstructor; | 
|  | 390 | 409 | export = Textarea; | 
|  | 391 | 410 | } | 
|  | 392 | 411 | |
|  | 393 | 412 | declare module 'dijit/form/TextBox' { | 
|  | 394 | 413 | type TextBox = dijit.form.TextBox; | 
|  | 395 | 414 | const TextBox: dijit.form.TextBoxConstructor; | 
|  | 396 | 415 | export = TextBox; | 
|  | 397 | 416 | } | 
|  | 398 | 417 | |
|  | 399 | 418 | declare module 'dijit/form/ToggleButton' { | 
|  | 400 | 419 | type ToggleButton = dijit.form.ToggleButton; | 
|  | 401 | 420 | const ToggleButton: dijit.form.ToggleButtonConstructor; | 
|  | 402 | 421 | export = ToggleButton; | 
|  | 403 | 422 | } | 
|  | 404 | 423 | |
|  | 405 | 424 | declare module 'dijit/form/ValidationTextBox' { | 
|  | 406 | 425 | type ValidationTextBox<C extends dijit.form.Constraints = dijit.form.Constraints> = dijit.form.ValidationTextBox<C>; | 
|  | 407 | 426 | const ValidationTextBox: dijit.form.ValidationTextBoxConstructor; | 
|  | 408 | 427 | export = ValidationTextBox; | 
|  | 409 | 428 | } | 
|  | 410 | 429 | |
|  | 411 | 430 | declare module 'dijit/layout/_LayoutWidget' { | 
|  | 412 | 431 | type _LayoutWidget = dijit.layout._LayoutWidget; | 
|  | 413 | 432 | const _LayoutWidget: dijit.layout._LayoutWidgetConstructor; | 
|  | 414 | 433 | export = _LayoutWidget; | 
|  | 415 | 434 | } | 
|  | 416 | 435 | |
|  | 417 | 436 | declare module 'dijit/layout/AccordionContainer' { | 
|  | 418 | 437 | type AccordionContainer = dijit.layout.AccordionContainer; | 
|  | 419 | 438 | const AccordionContainer: dijit.layout.AccordionContainerConstructor; | 
|  | 420 | 439 | export = AccordionContainer; | 
|  | 421 | 440 | } | 
|  | 422 | 441 | |
|  | 423 | 442 | declare module 'dijit/layout/AccordionPane' { | 
|  | 424 | 443 | type AccordionPane = dijit.layout.AccordionPane; | 
|  | 425 | 444 | const AccordionPane: dijit.layout.AccordionPaneConstructor; | 
|  | 426 | 445 | export = AccordionPane; | 
|  | 427 | 446 | } | 
|  | 428 | 447 | |
|  | 429 | 448 | declare module 'dijit/layout/ContentPane' { | 
|  | 430 | 449 | type ContentPane = dijit.layout.ContentPane; | 
|  | 431 | 450 | const ContentPane: dijit.layout.ContentPaneConstructor; | 
|  | 432 | 451 | export = ContentPane; | 
|  | 433 | 452 | } | 
|  | 434 | 453 | |
|  | 435 | 454 | declare module 'dijit/layout/_ContentPaneResizeMixin' { | 
|  | 436 | 455 | type _ContentPaneResizeMixin = dijit.layout._ContentPaneResizeMixin; | 
|  | 437 | 456 | const _ContentPaneResizeMixin: dijit.layout._ContentPaneResizeMixinConstructor; | 
|  | 438 | 457 | export = _ContentPaneResizeMixin; | 
|  | 439 | 458 | } | 
|  | 440 | 459 | |
|  | 441 | 460 | declare module 'dijit/layout/BorderContainer' { | 
|  | 442 | 461 | type BorderContainer = dijit.layout.BorderContainer; | 
|  | 443 | 462 | const BorderContainer: dijit.layout.BorderContainerConstructor; | 
|  | 444 | 463 | export = BorderContainer; | 
|  | 445 | 464 | } | 
|  | 446 | 465 | |
|  | 447 | 466 | declare module 'dijit/layout/LayoutContainer' { | 
|  | 448 | 467 | type LayoutContainer = dijit.layout.LayoutContainer; | 
|  | 449 | 468 | const LayoutContainer: dijit.layout.LayoutContainerConstructor; | 
|  | 450 | 469 | export = LayoutContainer; | 
|  | 451 | 470 | } | 
|  | 452 | 471 | |
|  | 453 | 472 | declare module 'dijit/layout/LinkPane' { | 
|  | 454 | 473 | type LinkPane = dijit.layout.LinkPane; | 
|  | 455 | 474 | const LinkPane: dijit.layout.LinkPaneConstructor; | 
|  | 456 | 475 | export = LinkPane; | 
|  | 457 | 476 | } | 
|  | 458 | 477 | |
|  | 459 | 478 | declare module 'dijit/layout/ScrollingTabController' { | 
|  | 460 | 479 | type ScrollingTabController = dijit.layout.ScrollingTabController; | 
|  | 461 | 480 | const ScrollingTabController: dijit.layout.ScrollingTabControllerConstructor; | 
|  | 462 | 481 | export = ScrollingTabController; | 
|  | 463 | 482 | } | 
|  | 464 | 483 | |
|  | 465 | 484 | declare module 'dijit/layout/StackContainer' { | 
|  | 466 | 485 | type StackContainer = dijit.layout.StackContainer; | 
|  | 467 | 486 | const StackContainer: dijit.layout.StackContainerConstructor; | 
|  | 468 | 487 | export = StackContainer; | 
|  | 469 | 488 | } | 
|  | 470 | 489 | |
|  | 471 | 490 | declare module 'dijit/layout/StackController' { | 
|  | 472 | 491 | type StackController = dijit.layout.StackController; | 
|  | 473 | 492 | const StackController: dijit.layout.StackControllerConstructor; | 
|  | 474 | 493 | export = StackController; | 
|  | 475 | 494 | } | 
|  | 476 | 495 | |
|  | 477 | 496 | declare module 'dijit/layout/TabContainer' { | 
|  | 478 | 497 | type TabContainer = dijit.layout.TabContainer; | 
|  | 479 | 498 | const TabContainer: dijit.layout.TabContainerConstructor; | 
|  | 480 | 499 | export = TabContainer; | 
|  | 481 | 500 | } | 
|  | 482 | 501 | |
|  | 483 | 502 | declare module 'dijit/layout/TabController' { | 
|  | 484 | 503 | type TabController = dijit.layout.TabController; | 
|  | 485 | 504 | const TabController: dijit.layout.TabControllerConstructor; | 
|  | 486 | 505 | export = TabController; | 
|  | 487 | 506 | } | 
| @@ -1,58 +1,70 | |||
|  | 1 | 1 | /// <reference path="dojo.d.ts" /> | 
|  | 2 | 2 | /// <reference path="_base.d.ts" /> | 
|  | 3 | 3 | /// <reference path="fx.d.ts" /> | 
|  | 4 | 4 | |
|  | 5 | 5 | declare namespace dojo { | 
|  | 6 | 6 | |
|  | 7 |  | |
|  | 8 | auto?: boolean; | |
|  | 7 | interface NodeListAnimationArgs extends Omit<_base.AnimationArguments, "node"> { | |
|  | 8 | auto?: false; | |
|  | 9 | } | |
|  | 10 | ||
|  | 11 | interface NodeListAutoAnimationArgs extends Omit<_base.AnimationArguments, "node"> { | |
|  | 12 | auto: true; | |
|  | 9 | 13 | } | 
|  | 10 | 14 | |
|  | 11 | 15 |  | 
|  | 12 | _anim(obj: any, method: string, args?: NodeListAnimationArgs): _base.Animation | this; | |
|  | 16 | ||
|  | 17 | _anim(obj: any, method: string, args?: NodeListAnimationArgs): _base.Animation; | |
|  | 18 | _anim(obj: any, method: string, args: NodeListAutoAnimationArgs): this; | |
|  | 13 | 19 | |
|  | 14 | 20 | /** | 
|  | 15 | 21 |  | 
|  | 16 | 22 | */ | 
|  | 17 |  | |
|  | 23 | wipeIn(args?: NodeListAnimationArgs): _base.Animation; | |
|  | 24 | wipeIn(args: NodeListAutoAnimationArgs): this; | |
|  | 18 | 25 | |
|  | 19 | 26 | /** | 
|  | 20 | 27 |  | 
|  | 21 | 28 | */ | 
|  | 22 |  | |
|  | 29 | wipeOut(args?: NodeListAnimationArgs): _base.Animation; | |
|  | 30 | wipeOut(args: NodeListAutoAnimationArgs): this; | |
|  | 23 | 31 | |
|  | 24 | 32 | /** | 
|  | 25 | 33 |  | 
|  | 26 | 34 | */ | 
|  | 27 |  | |
|  | 35 | slideTo(args?: NodeListAnimationArgs): _base.Animation; | |
|  | 36 | slideTo(args: NodeListAutoAnimationArgs): this; | |
|  | 28 | 37 | |
|  | 29 | 38 | /** | 
|  | 30 | 39 |  | 
|  | 31 | 40 | */ | 
|  | 32 |  | |
|  | 41 | fadeIn(args?: NodeListAnimationArgs): _base.Animation; | |
|  | 42 | fadeIn(args: NodeListAutoAnimationArgs): this; | |
|  | 33 | 43 | |
|  | 34 | 44 | /** | 
|  | 35 | 45 |  | 
|  | 36 | 46 | */ | 
|  | 37 |  | |
|  | 47 | fadeOut(args?: NodeListAnimationArgs): _base.Animation; | |
|  | 48 | fadeOut(args: NodeListAutoAnimationArgs): this; | |
|  | 38 | 49 | |
|  | 39 | 50 | /** | 
|  | 40 | 51 |  | 
|  | 41 | 52 |  | 
|  | 42 | 53 | */ | 
|  | 43 |  | |
|  | 54 | animateProperty(args?: NodeListAnimationArgs): _base.Animation; | |
|  | 55 | animateProperty(args: NodeListAutoAnimationArgs): this; | |
|  | 44 | 56 | |
|  | 45 | 57 | /** | 
|  | 46 | 58 |  | 
|  | 47 | 59 |  | 
|  | 48 | 60 |  | 
|  | 49 | 61 | */ | 
|  | 50 | 62 |  | 
|  | 51 | 63 | } | 
|  | 52 | 64 | } | 
|  | 53 | 65 | |
|  | 54 | 66 | declare module 'dojo/NodeList-fx' { | 
|  | 55 | 67 |  | 
|  | 56 | 68 |  | 
|  | 57 | 69 |  | 
|  | 58 | 70 | } | 
| @@ -1,2101 +1,2104 | |||
|  | 1 | 1 | /// <reference path="index.d.ts" /> | 
|  | 2 | 2 | /// <reference path="../doh/doh.d.ts" /> | 
|  | 3 | 3 | |
|  | 4 | 4 | declare namespace dojo { | 
|  | 5 | 5 | /* general implied types */ | 
|  | 6 | 6 | |
|  | 7 | 7 | type NodeOrString = Node | string; | 
|  | 8 | 8 | type ElementOrString = Element | string; | 
|  | 9 | 9 | type NodeFragmentOrString = NodeOrString | DocumentFragment; | 
|  | 10 | 10 | |
|  | 11 | 11 | interface GenericConstructor<T> { | 
|  | 12 | 12 | new (...args: any[]): T; | 
|  | 13 | 13 | prototype: T; | 
|  | 14 | 14 | } | 
|  | 15 | 15 | |
|  | 16 | 16 | interface GenericObject { | 
|  | 17 | 17 | [id: string]: any; | 
|  | 18 | 18 | } | 
|  | 19 | 19 | |
|  | 20 | 20 | interface GenericFunction<T> { | 
|  | 21 | 21 | (...args: any[]): T; | 
|  | 22 | 22 | } | 
|  | 23 | 23 | |
|  | 24 | 24 | interface Handle { | 
|  | 25 | 25 | remove(): void; | 
|  | 26 | 26 | } | 
|  | 27 | 27 | |
|  | 28 | 28 | interface EventListener { | 
|  | 29 | 29 | (evt: any): void; | 
|  | 30 | 30 | } | 
|  | 31 | 31 | |
|  | 32 | 32 | interface BuildProfile { | 
|  | 33 | 33 | resourceTags: { [tag: string]: (filename: string, mid?: string) => boolean; }; | 
|  | 34 | 34 | } | 
|  | 35 | 35 | |
|  | 36 | 36 | interface Package { | 
|  | 37 | 37 | location?: string; | 
|  | 38 | 38 | main?: string; | 
|  | 39 | 39 | name?: string; | 
|  | 40 | 40 | } | 
|  | 41 | 41 | |
|  | 42 | 42 | export interface ModuleMap extends ModuleMapItem { | 
|  | 43 | 43 | [ sourceMid: string ]: ModuleMapReplacement; | 
|  | 44 | 44 | } | 
|  | 45 | 45 | |
|  | 46 | 46 | export interface ModuleMapItem { | 
|  | 47 | 47 | [ mid: string ]: /* ModuleMapReplacement | ModuleMap */ any; | 
|  | 48 | 48 | } | 
|  | 49 | 49 | |
|  | 50 | 50 | export interface ModuleMapReplacement extends ModuleMapItem { | 
|  | 51 | 51 | [ findMid: string ]: /* replaceMid */ string; | 
|  | 52 | 52 | } | 
|  | 53 | 53 | |
|  | 54 | 54 | /* dojo/AdapterRegistry */ | 
|  | 55 | 55 | |
|  | 56 | 56 | interface AdapterRegistry { | 
|  | 57 | 57 | /** | 
|  | 58 | 58 | * register a check function to determine if the wrap function or | 
|  | 59 | 59 | * object gets selected | 
|  | 60 | 60 | */ | 
|  | 61 | 61 | register(name: string, check: (...args: any[]) => boolean, wrap: Function, directReturn?: boolean, override?: boolean): void; | 
|  | 62 | 62 | |
|  | 63 | 63 | /** | 
|  | 64 | 64 | * Find an adapter for the given arguments. If no suitable adapter | 
|  | 65 | 65 | * is found, throws an exception. match() accepts any number of | 
|  | 66 | 66 | * arguments, all of which are passed to all matching functions | 
|  | 67 | 67 | * from the registered pairs. | 
|  | 68 | 68 | */ | 
|  | 69 | 69 | match(...args: any[]): any; | 
|  | 70 | 70 | |
|  | 71 | 71 | /** | 
|  | 72 | 72 | * Remove a named adapter from the registry | 
|  | 73 | 73 | */ | 
|  | 74 | 74 | unregister(name: string): boolean; | 
|  | 75 | 75 | } | 
|  | 76 | 76 | |
|  | 77 | 77 | interface AdapterRegistryConstructor { | 
|  | 78 | 78 | new (returnWrappers?: boolean): AdapterRegistry; | 
|  | 79 | 79 | prototype: AdapterRegistry; | 
|  | 80 | 80 | } | 
|  | 81 | 81 | |
|  | 82 | 82 | /* dojo/aspect */ | 
|  | 83 | 83 | |
|  | 84 | 84 | interface AfterAdvice<T> { | 
|  | 85 | 85 | (result: T, ...args: any[]): T; | 
|  | 86 | 86 | } | 
|  | 87 | 87 | |
|  | 88 | 88 | interface AroundAdvice<T> { | 
|  | 89 | 89 | (origFn: GenericFunction<T>): (...args: any[]) => T; | 
|  | 90 | 90 | } | 
|  | 91 | 91 | |
|  | 92 | 92 | interface BeforeAdvice { | 
|  | 93 | 93 | (...args: any[]): any[] | void; | 
|  | 94 | 94 | } | 
|  | 95 | 95 | |
|  | 96 | 96 | interface Aspect { | 
|  | 97 | 97 | /** | 
|  | 98 | 98 | * The "before" export of the aspect module is a function that can be used to attach | 
|  | 99 | 99 | * "before" advice to a method. This function will be executed before the original attach | 
|  | 100 | 100 | * is executed. This function will be called with the arguments used to call the mattach | 
|  | 101 | 101 | * This function may optionally return an array as the new arguments to use tattach | 
|  | 102 | 102 | * the original method (or the previous, next-to-execute before advice, if one exattach | 
|  | 103 | 103 | * If the before method doesn't return anything (returns undefined) the original argattach | 
|  | 104 | 104 | * will be presattach | 
|  | 105 | 105 | * If there are multiple "before" advisors, they are executed in the reverse order they were registered. | 
|  | 106 | 106 | */ | 
|  | 107 | 107 | before<T>(target: GenericObject, methodName: string, advice: BeforeAdvice | Function): Handle; | 
|  | 108 | 108 | |
|  | 109 | 109 | /** | 
|  | 110 | 110 | * The "around" export of the aspect module is a function that can be used to attach | 
|  | 111 | 111 | * "around" advice to a method. The advisor function is immediately executeattach | 
|  | 112 | 112 | * the around() is called, is passed a single argument that is a function that attach | 
|  | 113 | 113 | * called to continue execution of the original method (or the next around advattach | 
|  | 114 | 114 | * The advisor function should return a function, and this function will be called whattach | 
|  | 115 | 115 | * the method is called. It will be called with the arguments used to call the mattach | 
|  | 116 | 116 | * Whatever this function returns will be returned as the result of the method call (unless after advise changes it). | 
|  | 117 | 117 | */ | 
|  | 118 | 118 | around<T>(target: GenericObject, methodName: string, advice: AroundAdvice<T> | Function): Handle; | 
|  | 119 | 119 | |
|  | 120 | 120 | /** | 
|  | 121 | 121 | * The "after" export of the aspect module is a function that can be used to attach | 
|  | 122 | 122 | * "after" advice to a method. This function will be executed after the original method | 
|  | 123 | 123 | * is executed. By default the function will be called with a single argument, the return | 
|  | 124 | 124 | * value of the original method, or the the return value of the last executed advice (if a previous one exists). | 
|  | 125 | 125 | * The fourth (optional) argument can be set to true to so the function receives the original | 
|  | 126 | 126 | * arguments (from when the original method was called) rather than the return value. | 
|  | 127 | 127 | * If there are multiple "after" advisors, they are executed in the order they were registered. | 
|  | 128 | 128 | */ | 
|  | 129 | 129 | after<T>(target: GenericObject, methodName: string, advice: AfterAdvice<T> | Function, receiveArguments?: boolean): Handle; | 
|  | 130 | 130 | } | 
|  | 131 | 131 | |
|  | 132 | 132 | /* dojo/back */ | 
|  | 133 | 133 | |
|  | 134 | 134 | interface BackArgs { | 
|  | 135 | 135 | back?: GenericFunction<void>; | 
|  | 136 | 136 | forward?: GenericFunction<void>; | 
|  | 137 | 137 | changeUrl?: boolean | string; | 
|  | 138 | 138 | } | 
|  | 139 | 139 | |
|  | 140 | 140 | interface Back { | 
|  | 141 | 141 | getHash(): string; | 
|  | 142 | 142 | setHash(h: string): void; | 
|  | 143 | 143 | |
|  | 144 | 144 | /** | 
|  | 145 | 145 | * private method. Do not call this directly. | 
|  | 146 | 146 | */ | 
|  | 147 | 147 | goBack(): void; | 
|  | 148 | 148 | |
|  | 149 | 149 | /** | 
|  | 150 | 150 | * private method. Do not call this directly. | 
|  | 151 | 151 | */ | 
|  | 152 | 152 | goForward(): void; | 
|  | 153 | 153 | |
|  | 154 | 154 | /** | 
|  | 155 | 155 | * Initializes the undo stack. This must be called from a <script> | 
|  | 156 | 156 | * block that lives inside the `<body>` tag to prevent bugs on IE. | 
|  | 157 | 157 | * Only call this method before the page's DOM is finished loading. Otherwise | 
|  | 158 | 158 | * it will not work. Be careful with xdomain loading or djConfig.debugAtAllCosts scenarios, | 
|  | 159 | 159 | * in order for this method to work, dojo/back will need to be part of a build layer. | 
|  | 160 | 160 | */ | 
|  | 161 | 161 | init(): void; | 
|  | 162 | 162 | |
|  | 163 | 163 | /** | 
|  | 164 | 164 | * Sets the state object and back callback for the very first page | 
|  | 165 | 165 | * that is loaded. | 
|  | 166 | 166 | * It is recommended that you call this method as part of an event | 
|  | 167 | 167 | * listener that is registered via dojo/ready. | 
|  | 168 | 168 | */ | 
|  | 169 | 169 | setInitialState(args: BackArgs): void; | 
|  | 170 | 170 | |
|  | 171 | 171 | /** | 
|  | 172 | 172 | * adds a state object (args) to the history list. | 
|  | 173 | 173 | */ | 
|  | 174 | 174 | addToHistory(args: BackArgs): void; | 
|  | 175 | 175 | |
|  | 176 | 176 | /** | 
|  | 177 | 177 | * private method. Do not call this directly. | 
|  | 178 | 178 | */ | 
|  | 179 | 179 | _iframeLoaded(evt: Event, ifrLoc: Location): void; | 
|  | 180 | 180 | } | 
|  | 181 | 181 | |
|  | 182 | 182 | /* dojo/behavior */ | 
|  | 183 | 183 | |
|  | 184 | 184 | interface Behavior { | 
|  | 185 | 185 | _behaviors: { [selector: string]: any }; | 
|  | 186 | 186 | |
|  | 187 | 187 | /** | 
|  | 188 | 188 | * Add the specified behavior to the list of behaviors, ignoring existing | 
|  | 189 | 189 | * matches. | 
|  | 190 | 190 | */ | 
|  | 191 | 191 | add(behaviorObject: { [selector: string]: any }): void; | 
|  | 192 | 192 | |
|  | 193 | 193 | /** | 
|  | 194 | 194 | * Applies all currently registered behaviors to the document. | 
|  | 195 | 195 | */ | 
|  | 196 | 196 | apply(): void; | 
|  | 197 | 197 | } | 
|  | 198 | 198 | |
|  | 199 | 199 | /* dojo/cookie */ | 
|  | 200 | 200 | |
|  | 201 | 201 | interface CookieProps { | 
|  | 202 | 202 | expires?: Date | string | number; | 
|  | 203 | 203 | path?: string; | 
|  | 204 | 204 | domain?: string; | 
|  | 205 | 205 | secure?: boolean; | 
|  | 206 | 206 | } | 
|  | 207 | 207 | |
|  | 208 | 208 | interface Cookie { | 
|  | 209 | 209 | /* Get or set a cookie. */ | 
|  | 210 | 210 | (name: string, value?: string, props?: CookieProps): string; | 
|  | 211 | 211 | |
|  | 212 | 212 | /** | 
|  | 213 | 213 | * Use to determine if the current browser supports cookies or not. | 
|  | 214 | 214 | */ | 
|  | 215 | 215 | isSupported(): boolean; | 
|  | 216 | 216 | } | 
|  | 217 | 217 | |
|  | 218 | 218 | /* dojo/currency */ | 
|  | 219 | 219 | |
|  | 220 | 220 | interface CurrencyFormatOptions extends NumberFormatOptions { | 
|  | 221 | 221 | |
|  | 222 | 222 | /** | 
|  | 223 | 223 | * Should not be set. Value is assumed to be "currency". | 
|  | 224 | 224 | */ | 
|  | 225 | 225 | type?: string; | 
|  | 226 | 226 | |
|  | 227 | 227 | /** | 
|  | 228 | 228 | * localized currency symbol. The default will be looked up in table of supported currencies in `dojo.cldr` | 
|  | 229 | 229 | * A [ISO4217](http://en.wikipedia.org/wiki/ISO_4217) currency code will be used if not found. | 
|  | 230 | 230 | */ | 
|  | 231 | 231 | symbol?: string; | 
|  | 232 | 232 | |
|  | 233 | 233 | /** | 
|  | 234 | 234 | * an [ISO4217](http://en.wikipedia.org/wiki/ISO_4217) currency code, a three letter sequence like "USD". | 
|  | 235 | 235 | * For use with dojo.currency only. | 
|  | 236 | 236 | */ | 
|  | 237 | 237 | currency?: string; | 
|  | 238 | 238 | |
|  | 239 | 239 | /** | 
|  | 240 | 240 | * number of decimal places to show. Default is defined based on which currency is used. | 
|  | 241 | 241 | */ | 
|  | 242 | 242 | places?: number; | 
|  | 243 | 243 | } | 
|  | 244 | 244 | |
|  | 245 | 245 | interface CurrencyParseOptions extends NumberParseOptions { | 
|  | 246 | 246 | |
|  | 247 | 247 | /** | 
|  | 248 | 248 | * Should not be set. Value is assumed to be "currency". | 
|  | 249 | 249 | */ | 
|  | 250 | 250 | type?: string; | 
|  | 251 | 251 | |
|  | 252 | 252 | /** | 
|  | 253 | 253 | * localized currency symbol. The default will be looked up in table of supported currencies in `dojo.cldr` | 
|  | 254 | 254 | * A [ISO4217](http://en.wikipedia.org/wiki/ISO_4217) currency code will be used if not found. | 
|  | 255 | 255 | */ | 
|  | 256 | 256 | symbol?: string; | 
|  | 257 | 257 | |
|  | 258 | 258 | /** | 
|  | 259 | 259 | * an [ISO4217](http://en.wikipedia.org/wiki/ISO_4217) currency code, a three letter sequence like "USD". | 
|  | 260 | 260 | * For use with dojo.currency only. | 
|  | 261 | 261 | */ | 
|  | 262 | 262 | currency?: string; | 
|  | 263 | 263 | |
|  | 264 | 264 | /** | 
|  | 265 | 265 | * number of decimal places to show. Default is defined based on which currency is used. | 
|  | 266 | 266 | */ | 
|  | 267 | 267 | places?: number; | 
|  | 268 | 268 | |
|  | 269 | 269 | /** | 
|  | 270 | 270 | * Whether to include the fractional portion, where the number of decimal places are implied by the currency | 
|  | 271 | 271 | * or explicit 'places' parameter. The value [true,false] makes the fractional portion optional. | 
|  | 272 | 272 | * By default for currencies, it the fractional portion is optional. | 
|  | 273 | 273 | */ | 
|  | 274 | 274 | fractional?: boolean | [boolean, boolean]; | 
|  | 275 | 275 | } | 
|  | 276 | 276 | |
|  | 277 | 277 | interface Currency { | 
|  | 278 | 278 | _mixInDefaults(options: NumberFormatOptions): CurrencyFormatOptions; | 
|  | 279 | 279 | |
|  | 280 | 280 | /** | 
|  | 281 | 281 | * Format a Number as a currency, using locale-specific settings | 
|  | 282 | 282 | */ | 
|  | 283 | 283 | format(value: number, options?: CurrencyFormatOptions): string; | 
|  | 284 | 284 | |
|  | 285 | 285 | /** | 
|  | 286 | 286 | * Builds the regular needed to parse a currency value | 
|  | 287 | 287 | */ | 
|  | 288 | 288 | regexp(options?: NumberRegexpOptions): string; | 
|  | 289 | 289 | |
|  | 290 | 290 | /** | 
|  | 291 | 291 | * Convert a properly formatted currency string to a primitive Number, | 
|  | 292 | 292 | * using locale-specific settings. | 
|  | 293 | 293 | */ | 
|  | 294 | 294 | parse(expression: string, options?: CurrencyParseOptions): number; | 
|  | 295 | 295 | } | 
|  | 296 | 296 | |
|  | 297 | 297 | /* dojo/debounce */ | 
|  | 298 | 298 | |
|  | 299 | 299 | interface Debounce { | 
|  | 300 | 300 | /** | 
|  | 301 | 301 | * Create a function that will only execute after `wait` milliseconds | 
|  | 302 | 302 | */ | 
|  | 303 | 303 | <T extends Function>(cb: T, wait: number): T; | 
|  | 304 | 304 | <T extends Function>(cb: Function, wait: number, ...args: any[]): T; | 
|  | 305 | 305 | } | 
|  | 306 | 306 | |
|  | 307 | 307 | /* dojo/Deferred */ | 
|  | 308 | 308 | |
|  | 309 | 309 | interface Deferred<T> { | 
|  | 310 | 310 | |
|  | 311 | 311 | /** | 
|  | 312 | 312 | * The public promise object that clients can add callbacks to. | 
|  | 313 | 313 | */ | 
|  | 314 | 314 | promise: promise.Promise<T>; | 
|  | 315 | 315 | |
|  | 316 | 316 | /** | 
|  | 317 | 317 | * Checks whether the deferred has been resolved. | 
|  | 318 | 318 | */ | 
|  | 319 | 319 | isResolved(): boolean; | 
|  | 320 | 320 | |
|  | 321 | 321 | /** | 
|  | 322 | 322 | * Checks whether the deferred has been rejected. | 
|  | 323 | 323 | */ | 
|  | 324 | 324 | isRejected(): boolean; | 
|  | 325 | 325 | |
|  | 326 | 326 | /** | 
|  | 327 | 327 | * Checks whether the deferred has been resolved or rejected. | 
|  | 328 | 328 | */ | 
|  | 329 | 329 | isFulfilled(): boolean; | 
|  | 330 | 330 | |
|  | 331 | 331 | /** | 
|  | 332 | 332 | * Checks whether the deferred has been canceled. | 
|  | 333 | 333 | */ | 
|  | 334 | 334 | isCanceled(): boolean; | 
|  | 335 | 335 | |
|  | 336 | 336 | /** | 
|  | 337 | 337 | * Emit a progress update on the deferred. | 
|  | 338 | 338 | */ | 
|  | 339 | 339 | progress(update: any, strict?: boolean): promise.Promise<T>; | 
|  | 340 | 340 | |
|  | 341 | 341 | /** | 
|  | 342 | 342 | * Resolve the deferred. | 
|  | 343 | 343 | */ | 
|  | 344 | 344 | resolve(value?: T, strict?: boolean): promise.Promise<T>; | 
|  | 345 | 345 | |
|  | 346 | 346 | /** | 
|  | 347 | 347 | * Reject the deferred. | 
|  | 348 | 348 | */ | 
|  | 349 | 349 | reject(error?: any, strict?: boolean): promise.Promise<T>; | 
|  | 350 | 350 | |
|  | 351 | 351 | /** | 
|  | 352 | 352 | * Add new callbacks to the deferred. | 
|  | 353 | 353 | */ | 
|  | 354 | 354 | then<U>(callback?: promise.PromiseCallback<T, U>, errback?: promise.PromiseErrback<U>, progback?: promise.PromiseProgback): promise.Promise<U>; | 
|  | 355 | 355 | |
|  | 356 | 356 | /** | 
|  | 357 | 357 | * Inform the deferred it may cancel its asynchronous operation. | 
|  | 358 | 358 | */ | 
|  | 359 | 359 | cancel(reason?: any, strict?: boolean): any; | 
|  | 360 | 360 | |
|  | 361 | 361 | /** | 
|  | 362 | 362 | * Returns `[object Deferred]`. | 
|  | 363 | 363 | */ | 
|  | 364 | 364 | toString(): string; | 
|  | 365 | 365 | } | 
|  | 366 | 366 | |
|  | 367 | 367 | interface DeferredConstructor { | 
|  | 368 | 368 | /** | 
|  | 369 | 369 | * Creates a new deferred. This API is preferred over | 
|  | 370 | 370 | * `dojo/_base/Deferred`. | 
|  | 371 | 371 | */ | 
|  | 372 | 372 | new <T>(canceller?: (reason: any) => void): Deferred<T>; | 
|  | 373 | 373 | prototype: Deferred<any>; | 
|  | 374 | 374 | } | 
|  | 375 | 375 | |
|  | 376 | 376 | /* dojo/DeferredList */ | 
|  | 377 | 377 | |
|  | 378 | 378 | interface DeferredList<T> extends Deferred<T[]> { | 
|  | 379 | 379 | /** | 
|  | 380 | 380 | * Gathers the results of the deferreds for packaging | 
|  | 381 | 381 | * as the parameters to the Deferred Lists' callback | 
|  | 382 | 382 | */ | 
|  | 383 | 383 | gatherResults<T>(deferredList: DeferredList<any>): DeferredList<T>; | 
|  | 384 | 384 | } | 
|  | 385 | 385 | |
|  | 386 | 386 | interface DeferredListConstructor { | 
|  | 387 | 387 | /** | 
|  | 388 | 388 | * Deprecated, use dojo/promise/all instead. | 
|  | 389 | 389 | * Provides event handling for a group of Deferred objects. | 
|  | 390 | 390 | */ | 
|  | 391 | 391 | new <T>(list: T[], fireOnOneCallback?: boolean, fireOnOneErrback?: boolean, consumeErrors?: boolean, canceller?: (reason: any) => void): DeferredList<T>; | 
|  | 392 | 392 | prototype: DeferredList<any>; | 
|  | 393 | 393 | } | 
|  | 394 | 394 | |
|  | 395 | 395 | /* dojo/dojo */ | 
|  | 396 | 396 | |
|  | 397 | 397 | interface RequireTrace { | 
|  | 398 | 398 | (group: string, args: any[]): void; | 
|  | 399 | 399 | on: boolean | number; | 
|  | 400 | 400 | group: GenericObject; | 
|  | 401 | 401 | set(group: string | GenericObject, value: any): void; | 
|  | 402 | 402 | } | 
|  | 403 | 403 | |
|  | 404 | 404 | interface Require { | 
|  | 405 | 405 | (config: GenericObject, dependencies: string[], callback?: GenericFunction<void>): Require; | 
|  | 406 | 406 | (dependencies: string[], callback: GenericFunction<void>): Require; | 
|  | 407 | 407 | async: number| boolean; | 
|  | 408 | 408 | has: dojo.Has; | 
|  | 409 | 409 | isXdurl(url: string): boolean; | 
|  | 410 | 410 | initSyncLoader(dojoRequirePlugin: any, checkDojoRequirePlugin: any, transformToAmd: any): GenericObject; | 
|  | 411 | 411 | getXhr(): XMLHttpRequest | ActiveXObject; | 
|  | 412 | 412 | getText(url: string, async?: boolean, onLoad?: (responseText: string, async?: boolean) => void): string; | 
|  | 413 | 413 | eval(text: string, hint?: string): any; | 
|  | 414 | 414 | signal(type: string, args: any[]): void; | 
|  | 415 | 415 | on(type: string, listener: (...args: any[]) => void): Handle; | 
|  | 416 | 416 | map: { [id: string]: any }; | 
|  | 417 | 417 | waitms?: number; | 
|  | 418 | 418 | legacyMode: boolean; | 
|  | 419 | 419 | rawConfig: dojo._base.Config; | 
|  | 420 | 420 | baseUrl: string; | 
|  | 421 | 421 | combo?: { | 
|  | 422 | 422 | add: () => void; | 
|  | 423 | 423 | done(callback: (mids: string[], url?: string) => void, req: Require): void; | 
|  | 424 | 424 | plugins?: GenericObject; | 
|  | 425 | 425 | }; | 
|  | 426 | 426 | idle(): boolean; | 
|  | 427 | 427 | toAbsMid(mid: string, referenceModule?: string): string; | 
|  | 428 | 428 | toUrl(name: string, referenceModule?: string): string; | 
|  | 429 | 429 | undef(moduleId: string, referenceModule?: string): void; | 
|  | 430 | 430 | pageLoaded: number | boolean; | 
|  | 431 | 431 | injectUrl(url: string, callback?: () => void, owner?: HTMLScriptElement): HTMLScriptElement; | 
|  | 432 | 432 | log(...args: any[]): void; | 
|  | 433 | 433 | trace: RequireTrace; | 
|  | 434 | 434 | boot?: [string[], Function] | number; | 
|  | 435 | 435 | } | 
|  | 436 | 436 | |
|  | 437 | 437 | interface Define { | 
|  | 438 | 438 | (mid: string, dependencies?: string[], factory?: any): void; | 
|  | 439 | 439 | (dependencies: string[], factory?: any): void; | 
|  | 440 | 440 | amd: string; | 
|  | 441 | 441 | } | 
|  | 442 | 442 | |
|  | 443 | 443 | /* dojo/dom */ | 
|  | 444 | 444 | |
|  | 445 | 445 | interface Dom { | 
|  | 446 | 446 | /** | 
|  | 447 | 447 | * Returns DOM node with matching `id` attribute or falsy value (ex: null or undefined) | 
|  | 448 | 448 | * if not found. Internally if `id` is not a string then `id` returned. | 
|  | 449 | 449 | */ | 
|  | 450 | 450 | byId<E extends Element>(id: string | E, doc?: Document): E; | 
|  | 451 | 451 | |
|  | 452 | 452 | /** | 
|  | 453 | 453 | * Returns true if node is a descendant of ancestor | 
|  | 454 | 454 | */ | 
|  | 455 | 455 | isDescendant(node: NodeOrString, ancestor: NodeOrString): boolean; | 
|  | 456 | 456 | |
|  | 457 | 457 | /** | 
|  | 458 | 458 | * Enable or disable selection on a node | 
|  | 459 | 459 | */ | 
|  | 460 | 460 | setSelectable(node: ElementOrString, selectable?: boolean): void; | 
|  | 461 | 461 | } | 
|  | 462 | 462 | |
|  | 463 | 463 | /* dojo/dom-attr */ | 
|  | 464 | 464 | |
|  | 465 | 465 | interface DomAttr { | 
|  | 466 | 466 | /** | 
|  | 467 | 467 | * Returns true if the requested attribute is specified on the | 
|  | 468 | 468 | * given element, and false otherwise. | 
|  | 469 | 469 | */ | 
|  | 470 | 470 | has(node: NodeOrString, name: string): boolean; | 
|  | 471 | 471 | |
|  | 472 | 472 | /** | 
|  | 473 | 473 | * Gets an attribute on an HTML element. | 
|  | 474 | 474 | * Because sometimes this uses node.getAttribute, it should be a string, | 
|  | 475 | 475 | * but it can also get any other attribute on a node, therefore it is unsafe | 
|  | 476 | 476 | * to type just a string. | 
|  | 477 | 477 | */ | 
|  | 478 | 478 | get(node: ElementOrString, name: string): any; | 
|  | 479 | 479 | |
|  | 480 | 480 | /** | 
|  | 481 | 481 | * Sets an attribute on an HTML element. | 
|  | 482 | 482 | */ | 
|  | 483 | 483 | set(node: ElementOrString, name: string, value: any): Element; | 
|  | 484 | 484 | set(node: ElementOrString, map: GenericObject): Element; | 
|  | 485 | 485 | |
|  | 486 | 486 | /** | 
|  | 487 | 487 | * Removes an attribute from an HTML element. | 
|  | 488 | 488 | */ | 
|  | 489 | 489 | remove(node: NodeOrString, name: string): void; | 
|  | 490 | 490 | |
|  | 491 | 491 | /** | 
|  | 492 | 492 | * Returns an effective value of a property or an attribute. | 
|  | 493 | 493 | */ | 
|  | 494 | 494 | getNodeProp(node: NodeOrString, name: string): any; | 
|  | 495 | 495 | } | 
|  | 496 | 496 | |
|  | 497 | 497 | /* dojo/dom-class */ | 
|  | 498 | 498 | |
|  | 499 | 499 | interface DomClass { | 
|  | 500 | 500 | |
|  | 501 | 501 | /** | 
|  | 502 | 502 | * Returns whether or not the specified classes are a portion of the | 
|  | 503 | 503 | * class list currently applied to the node. | 
|  | 504 | 504 | */ | 
|  | 505 | 505 | contains(node: NodeOrString, classStr: string): boolean; | 
|  | 506 | 506 | |
|  | 507 | 507 | /** | 
|  | 508 | 508 | * Adds the specified classes to the end of the class list on the | 
|  | 509 | 509 | * passed node. Will not re-apply duplicate classes. | 
|  | 510 | 510 | */ | 
|  | 511 | 511 | add(node: NodeOrString, classStr: string | string[]): void; | 
|  | 512 | 512 | |
|  | 513 | 513 | /** | 
|  | 514 | 514 | * Removes the specified classes from node. No `contains()` | 
|  | 515 | 515 | * check is required. | 
|  | 516 | 516 | */ | 
|  | 517 | 517 | remove(node: NodeOrString, classStr?: string | string[]): void; | 
|  | 518 | 518 | |
|  | 519 | 519 | /** | 
|  | 520 | 520 | * Replaces one or more classes on a node if not present. | 
|  | 521 | 521 | * Operates more quickly than calling dojo.removeClass and dojo.addClass | 
|  | 522 | 522 | */ | 
|  | 523 | 523 | replace(node: NodeOrString, addClassStr: string | string[], removeClassStr?: string | string[]): void; | 
|  | 524 | 524 | |
|  | 525 | 525 | /** | 
|  | 526 | 526 | * Adds a class to node if not present, or removes if present. | 
|  | 527 | 527 | * Pass a boolean condition if you want to explicitly add or remove. | 
|  | 528 | 528 | * Returns the condition that was specified directly or indirectly. | 
|  | 529 | 529 | */ | 
|  | 530 | 530 | toggle(node: NodeOrString, classStr: string | string[], condition?: boolean): boolean; | 
|  | 531 | 531 | } | 
|  | 532 | 532 | |
|  | 533 | 533 | /* dojo/dom-construct */ | 
|  | 534 | 534 | |
|  | 535 | 535 | /* TODO implement for TS 1.8 */ | 
|  | 536 | 536 | /* type PosString = 'first' | 'after' | 'before' | 'last' | 'replace' | 'only'; */ | 
|  | 537 | 537 | |
|  | 538 | 538 | interface DomConstruct { | 
|  | 539 | 539 | |
|  | 540 | 540 | /** | 
|  | 541 | 541 | * instantiates an HTML fragment returning the corresponding DOM. | 
|  | 542 | 542 | */ | 
|  | 543 | 543 | toDom(frag: string, doc?: Document): DocumentFragment | Node; | 
|  | 544 | 544 | |
|  | 545 | 545 | /** | 
|  | 546 | 546 | * Attempt to insert node into the DOM, choosing from various positioning options. | 
|  | 547 | 547 | * Returns the first argument resolved to a DOM node. | 
|  | 548 | 548 | */ | 
|  | 549 | 549 | place(node: NodeFragmentOrString, refNode: NodeOrString, position?: string /* PosString */ | number): HTMLElement; | 
|  | 550 | 550 | |
|  | 551 | 551 | /** | 
|  | 552 | 552 | * Create an element, allowing for optional attribute decoration | 
|  | 553 | 553 | * and placement. | 
|  | 554 | 554 | */ | 
|  | 555 | 555 | create(tag: NodeOrString, attrs?: GenericObject, refNode?: NodeOrString, pos?: string /* PosString */ | number): HTMLElement; | 
|  | 556 | 556 | |
|  | 557 | 557 | /** | 
|  | 558 | 558 | * safely removes all children of the node. | 
|  | 559 | 559 | */ | 
|  | 560 | 560 | empty(node: NodeOrString): void; | 
|  | 561 | 561 | |
|  | 562 | 562 | /** | 
|  | 563 | 563 | * Removes a node from its parent, clobbering it and all of its | 
|  | 564 | 564 | * children. | 
|  | 565 | 565 | */ | 
|  | 566 | 566 | destroy(node: NodeOrString): void; | 
|  | 567 | 567 | } | 
|  | 568 | 568 | |
|  | 569 | 569 | /* dojo/dom-form */ | 
|  | 570 | 570 | |
|  | 571 | 571 | interface DomForm { | 
|  | 572 | 572 | /** | 
|  | 573 | 573 | * Serialize a form field to a JavaScript object. | 
|  | 574 | 574 | */ | 
|  | 575 | 575 | fieldToObject(inputNode: NodeOrString): GenericObject; | 
|  | 576 | 576 | |
|  | 577 | 577 | /** | 
|  | 578 | 578 | * Serialize a form node to a JavaScript object. | 
|  | 579 | 579 | */ | 
|  | 580 | 580 | toObject(fromNode: HTMLFormElement | string): GenericObject; | 
|  | 581 | 581 | |
|  | 582 | 582 | /** | 
|  | 583 | 583 | * Returns a URL-encoded string representing the form passed as either a | 
|  | 584 | 584 | * node or string ID identifying the form to serialize | 
|  | 585 | 585 | */ | 
|  | 586 | 586 | toQuery(fromNode: HTMLFormElement | string): string; | 
|  | 587 | 587 | |
|  | 588 | 588 | /** | 
|  | 589 | 589 | * Create a serialized JSON string from a form node or string | 
|  | 590 | 590 | * ID identifying the form to serialize | 
|  | 591 | 591 | */ | 
|  | 592 | 592 | toJson(formNode: HTMLFormElement | string, prettyPrint?: boolean): string; | 
|  | 593 | 593 | } | 
|  | 594 | 594 | |
|  | 595 | 595 | /* dojo/dom-geometry */ | 
|  | 596 | 596 | |
|  | 597 | 597 | interface DomGeometryWidthHeight { | 
|  | 598 | 598 | w?: number; | 
|  | 599 | 599 | h?: number; | 
|  | 600 | 600 | } | 
|  | 601 | 601 | |
|  | 602 | 602 | interface DomGeometryBox extends DomGeometryWidthHeight { | 
|  | 603 | 603 | l?: number; | 
|  | 604 | 604 | t?: number; | 
|  | 605 | 605 | } | 
|  | 606 | 606 | |
|  | 607 | 607 | interface DomGeometryBoxExtents extends DomGeometryBox { | 
|  | 608 | 608 | r?: number; | 
|  | 609 | 609 | b?: number; | 
|  | 610 | 610 | } | 
|  | 611 | 611 | |
|  | 612 | 612 | interface Point { | 
|  | 613 | 613 | x: number; | 
|  | 614 | 614 | y: number; | 
|  | 615 | 615 | } | 
|  | 616 | 616 | |
|  | 617 | 617 | interface DomGeometryXYBox extends DomGeometryWidthHeight, Point { | 
|  | 618 | 618 | } | 
|  | 619 | 619 | |
|  | 620 | 620 | interface DomGeometry { | 
|  | 621 | 621 | boxModel: string; /* TODO: string literal 'border-box' | 'content-box' */ | 
|  | 622 | 622 | |
|  | 623 | 623 | /** | 
|  | 624 | 624 | * Returns object with special values specifically useful for node | 
|  | 625 | 625 | * fitting. | 
|  | 626 | 626 | */ | 
|  | 627 | 627 | getPadExtents(node: Element, computedStyle?: DomComputedStyle): DomGeometryBoxExtents; | 
|  | 628 | 628 | |
|  | 629 | 629 | /** | 
|  | 630 | 630 | * returns an object with properties useful for noting the border | 
|  | 631 | 631 | * dimensions. | 
|  | 632 | 632 | */ | 
|  | 633 | 633 | getBorderExtents(node: Element, computedStyle?: DomComputedStyle): DomGeometryBoxExtents; | 
|  | 634 | 634 | |
|  | 635 | 635 | /** | 
|  | 636 | 636 | * Returns object with properties useful for box fitting with | 
|  | 637 | 637 | * regards to padding. | 
|  | 638 | 638 | */ | 
|  | 639 | 639 | getPadBorderExtents(node: Element, computedStyle?: DomComputedStyle): DomGeometryBoxExtents; | 
|  | 640 | 640 | |
|  | 641 | 641 | /** | 
|  | 642 | 642 | * returns object with properties useful for box fitting with | 
|  | 643 | 643 | * regards to box margins (i.e., the outer-box). | 
|  | 644 | 644 | * - l/t = marginLeft, marginTop, respectively | 
|  | 645 | 645 | * - w = total width, margin inclusive | 
|  | 646 | 646 | * - h = total height, margin inclusive | 
|  | 647 | 647 | * The w/h are used for calculating boxes. | 
|  | 648 | 648 | * Normally application code will not need to invoke this | 
|  | 649 | 649 | * directly, and will use the ...box... functions instead. | 
|  | 650 | 650 | */ | 
|  | 651 | 651 | getMarginExtents(node: Element, computedStyle?: DomComputedStyle): DomGeometryBoxExtents; | 
|  | 652 | 652 | |
|  | 653 | 653 | /** | 
|  | 654 | 654 | * returns an object that encodes the width, height, left and top | 
|  | 655 | 655 | * positions of the node's margin box. | 
|  | 656 | 656 | */ | 
|  | 657 | 657 | getMarginBox(node: Element, computedStyle?: DomComputedStyle): DomGeometryBox; | 
|  | 658 | 658 | |
|  | 659 | 659 | /** | 
|  | 660 | 660 | * Returns an object that encodes the width, height, left and top | 
|  | 661 | 661 | * positions of the node's content box, irrespective of the | 
|  | 662 | 662 | * current box model. | 
|  | 663 | 663 | */ | 
|  | 664 | 664 | getContentBox(node: Element, computedStyle?: DomComputedStyle): DomGeometryBox; | 
|  | 665 | 665 | |
|  | 666 | 666 | /** | 
|  | 667 | 667 | * Sets the size of the node's contents, irrespective of margins, | 
|  | 668 | 668 | * padding, or borders. | 
|  | 669 | 669 | */ | 
|  | 670 | 670 | setContentSize(node: Element, box: DomGeometryWidthHeight, computedStyle?: DomComputedStyle): void; | 
|  | 671 | 671 | |
|  | 672 | 672 | /** | 
|  | 673 | 673 | * sets the size of the node's margin box and placement | 
|  | 674 | 674 | * (left/top), irrespective of box model. Think of it as a | 
|  | 675 | 675 | * passthrough to setBox that handles box-model vagaries for | 
|  | 676 | 676 | * you. | 
|  | 677 | 677 | */ | 
|  | 678 | 678 | setMarginBox(node: Element, box: DomGeometryBox, computedStyle?: DomComputedStyle): void; | 
|  | 679 | 679 | |
|  | 680 | 680 | /** | 
|  | 681 | 681 | * Returns true if the current language is left-to-right, and false otherwise. | 
|  | 682 | 682 | */ | 
|  | 683 | 683 | isBodyLtr(doc?: Document): boolean; | 
|  | 684 | 684 | |
|  | 685 | 685 | /** | 
|  | 686 | 686 | * Returns an object with {node, x, y} with corresponding offsets. | 
|  | 687 | 687 | */ | 
|  | 688 | 688 | docScroll(doc?: Document): Point; | 
|  | 689 | 689 | |
|  | 690 | 690 | /** | 
|  | 691 | 691 | * Deprecated method previously used for IE6-IE7. Now, just returns `{x:0, y:0}`. | 
|  | 692 | 692 | */ | 
|  | 693 | 693 | getIeDocumentElementOffset(doc: Document): Point; | 
|  | 694 | 694 | |
|  | 695 | 695 | /** | 
|  | 696 | 696 | * In RTL direction, scrollLeft should be a negative value, but IE | 
|  | 697 | 697 | * returns a positive one. All codes using documentElement.scrollLeft | 
|  | 698 | 698 | * must call this function to fix this error, otherwise the position | 
|  | 699 | 699 | * will offset to right when there is a horizontal scrollbar. | 
|  | 700 | 700 | */ | 
|  | 701 | 701 | fixIeBiDiScrollLeft(scrollLeft: number, doc?: Document): number; | 
|  | 702 | 702 | |
|  | 703 | 703 | /** | 
|  | 704 | 704 | * Gets the position and size of the passed element relative to | 
|  | 705 | 705 | * the viewport (if includeScroll==false), or relative to the | 
|  | 706 | 706 | * document root (if includeScroll==true). | 
|  | 707 | 707 | */ | 
|  | 708 | 708 | position(node: Element, includeScroll?: boolean): DomGeometryXYBox; | 
|  | 709 | 709 | |
|  | 710 | 710 | /** | 
|  | 711 | 711 | * returns an object that encodes the width and height of | 
|  | 712 | 712 | * the node's margin box | 
|  | 713 | 713 | */ | 
|  | 714 | 714 | getMarginSize(node: Element, computedStyle?: DomComputedStyle): DomGeometryWidthHeight; | 
|  | 715 | 715 | |
|  | 716 | 716 | /** | 
|  | 717 | 717 | * Normalizes the geometry of a DOM event, normalizing the pageX, pageY, | 
|  | 718 | 718 | * offsetX, offsetY, layerX, and layerX properties | 
|  | 719 | 719 | */ | 
|  | 720 | 720 | normalizeEvent(event: Event): void; | 
|  | 721 | 721 | } | 
|  | 722 | 722 | |
|  | 723 | 723 | /* dojo/dom-prop */ | 
|  | 724 | 724 | |
|  | 725 | 725 | interface DomProp { | 
|  | 726 | 726 | /** | 
|  | 727 | 727 | * Gets a property on an HTML element. | 
|  | 728 | 728 | */ | 
|  | 729 | 729 | get(node: ElementOrString, name: string): any; | 
|  | 730 | 730 | |
|  | 731 | 731 | /** | 
|  | 732 | 732 | * Sets a property on an HTML element. | 
|  | 733 | 733 | */ | 
|  | 734 | 734 | set(node: ElementOrString, name: string | GenericObject, value?: any): Element; | 
|  | 735 | 735 | } | 
|  | 736 | 736 | |
|  | 737 | 737 | /* dojo/dom-style */ | 
|  | 738 | 738 | |
|  | 739 | 739 | // TODO move over the most common properties from CSSStyleDeclaration | 
|  | 740 | 740 | interface DomComputedStyle { | 
|  | 741 | 741 | position?: string; | 
|  | 742 | 742 | width?: string; | 
|  | 743 | 743 | height?: string; | 
|  | 744 | 744 | [id: string]: any; | 
|  | 745 | 745 | } | 
|  | 746 | 746 | |
|  | 747 | 747 | interface DomStyle { | 
|  | 748 | 748 | /** | 
|  | 749 | 749 | * Returns a "computed style" object. | 
|  | 750 | 750 | */ | 
|  | 751 | 751 | getComputedStyle(node: Node): DomComputedStyle; | 
|  | 752 | 752 | |
|  | 753 | 753 | /** | 
|  | 754 | 754 | * Accesses styles on a node. | 
|  | 755 | 755 | */ | 
|  | 756 | 756 | get(node: ElementOrString): DomComputedStyle; | 
|  | 757 | 757 | get(node: ElementOrString, name: string): string | number; | 
|  | 758 | 758 | |
|  | 759 | 759 | /** | 
|  | 760 | 760 | * Sets styles on a node. | 
|  | 761 | 761 | */ | 
|  | 762 | 762 | set(node: ElementOrString, name: DomComputedStyle): DomComputedStyle; | 
|  | 763 | 763 | set(node: ElementOrString, name: string, value: string | number): DomComputedStyle; | 
|  | 764 | 764 | |
|  | 765 | 765 | /** | 
|  | 766 | 766 | * converts style value to pixels on IE or return a numeric value. | 
|  | 767 | 767 | */ | 
|  | 768 | 768 | toPixelValue(element: Element, value: string): number; | 
|  | 769 | 769 | } | 
|  | 770 | 770 | |
|  | 771 | 771 | /* dojo/domReady */ | 
|  | 772 | 772 | |
|  | 773 | 773 | interface DomReady { | 
|  | 774 | 774 | /** | 
|  | 775 | 775 | * Plugin to delay require()/define() callback from firing until the DOM has finished | 
|  | 776 | 776 | */ | 
|  | 777 | 777 | (callback: Function): void; | 
|  | 778 | 778 | |
|  | 779 | 779 | load(id: string, parentRequire: Function, loaded: Function): void; /* TODO: Align with loader api */ | 
|  | 780 | 780 | _Q: Function[]; | 
|  | 781 | 781 | _onEmpty(): void; | 
|  | 782 | 782 | } | 
|  | 783 | 783 | |
|  | 784 | 784 | /* dojo/Evented */ | 
|  | 785 | 785 | |
|  | 786 | 786 | interface Evented { | 
|  | 787 | 787 | on(type: string | ExtensionEvent, listener: EventListener | Function): Handle; | 
|  | 788 | 788 | emit(type: string | ExtensionEvent, ...events: any[]): boolean; | 
|  | 789 | 789 | } | 
|  | 790 | 790 | |
|  | 791 | 791 | interface EventedConstructor extends _base.DeclareConstructor<Evented> { | 
|  | 792 | 792 | new (params?: Object): Evented; | 
|  | 793 | 793 | } | 
|  | 794 | 794 | |
|  | 795 | 795 | /* dojo/fx */ | 
|  | 796 | 796 | |
|  | 797 | 797 | /* dojo/fx augments the dojo/_base/fx, therefore it is typed in fx.d.ts and not referenced from | 
|  | 798 | 798 | index.d.ts or module.d.ts and is self contained typings for dojo/fx and dojo/fx/* */ | 
|  | 799 | 799 | |
|  | 800 | 800 | /* dojo/gears */ | 
|  | 801 | 801 | |
|  | 802 | 802 | /* This is long-ago deprecated by Google, so just doing a minimal typing */ | 
|  | 803 | 803 | |
|  | 804 | 804 | interface Gears { | 
|  | 805 | 805 | _gearsObject(): any; | 
|  | 806 | 806 | available: boolean; | 
|  | 807 | 807 | } | 
|  | 808 | 808 | |
|  | 809 | 809 | /* dojo/has */ | 
|  | 810 | 810 | |
|  | 811 | 811 | interface HasCache { | 
|  | 812 | 812 | [feature: string]: any; | 
|  | 813 | 813 | } | 
|  | 814 | 814 | |
|  | 815 | 815 | interface HasTestFunction { | 
|  | 816 | 816 | /* TypeScript has no way of referring to the global scope see Microsoft/TypeScript#983 */ | 
|  | 817 | 817 | (global?: any, doc?: Document, element?: Element): any; | 
|  | 818 | 818 | } | 
|  | 819 | 819 | |
|  | 820 | 820 | interface Has { | 
|  | 821 | 821 | /** | 
|  | 822 | 822 | * Return the current value of the named feature. | 
|  | 823 | 823 | * @param {string | number} name The name (if a string) or identifier (if an integer) of the feature to test. | 
|  | 824 | 824 | */ | 
|  | 825 | 825 | (name: string | number): any; | 
|  | 826 | 826 | (name: 'host-browser'): boolean; | 
|  | 827 | 827 | (name: 'host-node'): any; | 
|  | 828 | 828 | (name: 'host-rhino'): boolean; | 
|  | 829 | 829 | (name: 'dom'): boolean; | 
|  | 830 | 830 | (name: 'dojo-dom-ready-api'): 1; | 
|  | 831 | 831 | (name: 'dojo-sniff'): 1; | 
|  | 832 | 832 | // if host-browser is true | 
|  | 833 | 833 | (name: 'dom-addeventlistener'): void | boolean; | 
|  | 834 | 834 | (name: 'touch'): void | boolean; | 
|  | 835 | 835 | (name: 'touch-events'): void | boolean; | 
|  | 836 | 836 | (name: 'pointer-events'): void | boolean; | 
|  | 837 | 837 | (name: 'MSPointer'): void | boolean; | 
|  | 838 | 838 | (name: 'device-width'): void | number; | 
|  | 839 | 839 | (name: 'dom-attributes-explicit'): void | boolean; | 
|  | 840 | 840 | (name: 'dom-attributes-specified-flag'): void | boolean; | 
|  | 841 | 841 | // dojo/_base/browser | 
|  | 842 | 842 | (name: 'config-selectorEngine'): string; | 
|  | 843 | 843 | |
|  | 844 | 844 | cache: HasCache; | 
|  | 845 | 845 | |
|  | 846 | 846 | /** | 
|  | 847 | 847 | * Register a new feature test for some named feature. | 
|  | 848 | 848 | */ | 
|  | 849 | 849 | add(name: string | number, test: HasTestFunction, now?: boolean, force?: boolean): any; | 
|  | 850 | 850 | add<T extends (Object | string | number | boolean | null | void)>(name: string | number, test: T, now?: boolean, force?: boolean): any; | 
|  | 851 | 851 | |
|  | 852 | 852 | /** | 
|  | 853 | 853 | * Deletes the contents of the element passed to test functions. | 
|  | 854 | 854 | */ | 
|  | 855 | 855 | clearElement(element: HTMLElement): HTMLElement; | 
|  | 856 | 856 | |
|  | 857 | 857 | /** | 
|  | 858 | 858 | * Resolves id into a module id based on possibly-nested tenary expression that branches on has feature test value(s). | 
|  | 859 | 859 | */ | 
|  | 860 | 860 | normalize(id: string, toAbsMid: Function): string; /* TODO: Align with loader api */ | 
|  | 861 | 861 | |
|  | 862 | 862 | /** | 
|  | 863 | 863 | * Conditional loading of AMD modules based on a has feature test value. | 
|  | 864 | 864 | */ | 
|  | 865 | 865 | load(id: string, parentRequire: Function, loaded: Function): void; /* TODO: Align with loader api */ | 
|  | 866 | 866 | } | 
|  | 867 | 867 | |
|  | 868 | 868 | /* dojo/hash */ | 
|  | 869 | 869 | |
|  | 870 | 870 | interface Hash { | 
|  | 871 | 871 | (hash?: string, replace?: boolean): string; | 
|  | 872 | 872 | } | 
|  | 873 | 873 | |
|  | 874 | 874 | /* dojo/hccss */ | 
|  | 875 | 875 | |
|  | 876 | 876 | /* this only does has.add and re-exports the has interface */ | 
|  | 877 | 877 | interface Has { | 
|  | 878 | 878 | (name: 'highcontrast'): void | boolean; | 
|  | 879 | 879 | } | 
|  | 880 | 880 | |
|  | 881 | 881 | /* dojo/html */ | 
|  | 882 | 882 | |
|  | 883 | 883 | type ContentSetterContent = string | Node | ArrayLike<Node>; | 
|  | 884 | 884 | |
|  | 885 | 885 | interface ContentSetterParams { | 
|  | 886 | 886 | node?: NodeOrString; | 
|  | 887 | 887 | content?: ContentSetterContent; | 
|  | 888 | 888 | id?: string; | 
|  | 889 | 889 | cleanContent?: boolean; | 
|  | 890 | 890 | extractContent?: boolean; | 
|  | 891 | 891 | parseContent?: boolean; | 
|  | 892 | 892 | parserScope?: boolean; | 
|  | 893 | 893 | startup?: boolean; | 
|  | 894 | 894 | onBegin?: Function; | 
|  | 895 | 895 | onEnd?: Function; | 
|  | 896 | 896 | tearDown?: Function; | 
|  | 897 | 897 | onContentError?: Function; | 
|  | 898 | 898 | onExecError?: Function; | 
|  | 899 | 899 | } | 
|  | 900 | 900 | |
|  | 901 | 901 | interface ContentSetter { | 
|  | 902 | 902 | |
|  | 903 | 903 | /** | 
|  | 904 | 904 | * An node which will be the parent element that we set content into | 
|  | 905 | 905 | */ | 
|  | 906 | 906 | node: NodeOrString; | 
|  | 907 | 907 | |
|  | 908 | 908 | /** | 
|  | 909 | 909 | * The content to be placed in the node. Can be an HTML string, a node reference, or a enumerable list of nodes | 
|  | 910 | 910 | */ | 
|  | 911 | 911 | content: ContentSetterContent; | 
|  | 912 | 912 | |
|  | 913 | 913 | /** | 
|  | 914 | 914 | * Usually only used internally, and auto-generated with each instance | 
|  | 915 | 915 | */ | 
|  | 916 | 916 | id: string; | 
|  | 917 | 917 | |
|  | 918 | 918 | /** | 
|  | 919 | 919 | * Should the content be treated as a full html document, | 
|  | 920 | 920 | * and the real content stripped of <html>, <body> wrapper before injection | 
|  | 921 | 921 | */ | 
|  | 922 | 922 | cleanContent: boolean; | 
|  | 923 | 923 | |
|  | 924 | 924 | /** | 
|  | 925 | 925 | * Should the content be treated as a full html document, | 
|  | 926 | 926 | * and the real content stripped of `<html> <body>` wrapper before injection | 
|  | 927 | 927 | */ | 
|  | 928 | 928 | extractContent: boolean; | 
|  | 929 | 929 | |
|  | 930 | 930 | /** | 
|  | 931 | 931 | * Should the node by passed to the parser after the new content is set | 
|  | 932 | 932 | */ | 
|  | 933 | 933 | parseContent: boolean; | 
|  | 934 | 934 | |
|  | 935 | 935 | /** | 
|  | 936 | 936 | * Flag passed to parser. Root for attribute names to search for. If scopeName is dojo, | 
|  | 937 | 937 | * will search for data-dojo-type (or dojoType). For backwards compatibility | 
|  | 938 | 938 | * reasons defaults to dojo._scopeName (which is "dojo" except when | 
|  | 939 | 939 | * multi-version support is used, when it will be something like dojo16, dojo20, etc.) | 
|  | 940 | 940 | */ | 
|  | 941 | 941 | parserScope: string; | 
|  | 942 | 942 | |
|  | 943 | 943 | /** | 
|  | 944 | 944 | * Start the child widgets after parsing them. Only obeyed if parseContent is true. | 
|  | 945 | 945 | */ | 
|  | 946 | 946 | startup: boolean; | 
|  | 947 | 947 | |
|  | 948 | 948 | /** | 
|  | 949 | 949 | * front-end to the set-content sequence | 
|  | 950 | 950 | */ | 
|  | 951 | 951 | set(cont?: ContentSetterContent, params?: ContentSetterParams): promise.Promise<Node> | Node; | 
|  | 952 | 952 | |
|  | 953 | 953 | /** | 
|  | 954 | 954 | * sets the content on the node | 
|  | 955 | 955 | */ | 
|  | 956 | 956 | setContent(): void; | 
|  | 957 | 957 | |
|  | 958 | 958 | /** | 
|  | 959 | 959 | * cleanly empty out existing content | 
|  | 960 | 960 | */ | 
|  | 961 | 961 | empty(): void; | 
|  | 962 | 962 | |
|  | 963 | 963 | /** | 
|  | 964 | 964 | * Called after instantiation, but before set(); | 
|  | 965 | 965 | * It allows modification of any of the object properties - | 
|  | 966 | 966 | * including the node and content provided - before the set operation actually takes place | 
|  | 967 | 967 | */ | 
|  | 968 | 968 | onBegin(): Node; | 
|  | 969 | 969 | |
|  | 970 | 970 | /** | 
|  | 971 | 971 | * Called after set(), when the new content has been pushed into the node | 
|  | 972 | 972 | * It provides an opportunity for post-processing before handing back the node to the caller | 
|  | 973 | 973 | * This default implementation checks a parseContent flag to optionally run the dojo parser over the new content | 
|  | 974 | 974 | */ | 
|  | 975 | 975 | onEnd(): Node; | 
|  | 976 | 976 | |
|  | 977 | 977 | /** | 
|  | 978 | 978 | * manually reset the Setter instance if its being re-used for example for another set() | 
|  | 979 | 979 | */ | 
|  | 980 | 980 | tearDown(): void; | 
|  | 981 | 981 | |
|  | 982 | 982 | onContentError(): string; | 
|  | 983 | 983 | onExecError(): string; | 
|  | 984 | 984 | _mixin(params: ContentSetterParams): void; | 
|  | 985 | 985 | parseDeferred: Deferred<any[]>; | 
|  | 986 | 986 | |
|  | 987 | 987 | /** | 
|  | 988 | 988 | * runs the dojo parser over the node contents, storing any results in this.parseResults | 
|  | 989 | 989 | */ | 
|  | 990 | 990 | _parse(): void; | 
|  | 991 | 991 | |
|  | 992 | 992 | /** | 
|  | 993 | 993 | * shows user the string that is returned by on[type]Error | 
|  | 994 | 994 | * override/implement on[type]Error and return your own string to customize | 
|  | 995 | 995 | */ | 
|  | 996 | 996 | _onError(type: string, err: Error, consoleText?: string): void; | 
|  | 997 | 997 | } | 
|  | 998 | 998 | |
|  | 999 | 999 | interface ContentSetterConstructor extends _base.DeclareConstructor<ContentSetter> { | 
|  | 1000 | 1000 | new (params?: ContentSetterParams, node?: NodeOrString): ContentSetter; | 
|  | 1001 | 1001 | } | 
|  | 1002 | 1002 | |
|  | 1003 | 1003 | interface Html { | 
|  | 1004 | 1004 | /** | 
|  | 1005 | 1005 | * removes !DOCTYPE and title elements from the html string. | 
|  | 1006 | 1006 | * | 
|  | 1007 | 1007 | * khtml is picky about dom faults, you can't attach a style or `<title>` node as child of body | 
|  | 1008 | 1008 | * must go into head, so we need to cut out those tags | 
|  | 1009 | 1009 | */ | 
|  | 1010 | 1010 | _secureForInnerHtml(cont: string): string; | 
|  | 1011 | 1011 | |
|  | 1012 | 1012 | /** | 
|  | 1013 | 1013 | * Deprecated, should use dojo/dom-constuct.empty() directly, remove in 2.0. | 
|  | 1014 | 1014 | */ | 
|  | 1015 | 1015 | _emptyNode(node: NodeOrString): void; | 
|  | 1016 | 1016 | |
|  | 1017 | 1017 | /** | 
|  | 1018 | 1018 | * inserts the given content into the given node | 
|  | 1019 | 1019 | */ | 
|  | 1020 | 1020 | _setNodeContent<T extends Node>(node: Node, cont: string | Node | ArrayLike<T>): Node; | 
|  | 1021 | 1021 | |
|  | 1022 | 1022 | _ContentSetter: ContentSetterConstructor; | 
|  | 1023 | 1023 | |
|  | 1024 | 1024 | /** | 
|  | 1025 | 1025 | * inserts (replaces) the given content into the given node. dojo/dom-construct.place(cont, node, "only") | 
|  | 1026 | 1026 | * may be a better choice for simple HTML insertion. | 
|  | 1027 | 1027 | */ | 
|  | 1028 | 1028 | set(node: Node, cont?: ContentSetterContent, params?: ContentSetterParams): promise.Promise<Node> | Node; | 
|  | 1029 | 1029 | } | 
|  | 1030 | 1030 | |
|  | 1031 | 1031 | /* dojo/i18n */ | 
|  | 1032 | 1032 | |
|  | 1033 | 1033 | interface I18n { | 
|  | 1034 | 1034 | getLocalization(moduleName: string, bundleName: string, locale?: string): any; | 
|  | 1035 | 1035 | |
|  | 1036 | 1036 | dynamic: boolean; | 
|  | 1037 | 1037 | |
|  | 1038 | 1038 | /** | 
|  | 1039 | 1039 | * Resolves id into a module id based on possibly-nested tenary expression that branches on has feature test value(s). | 
|  | 1040 | 1040 | */ | 
|  | 1041 | 1041 | normalize(id: string, toAbsMid: Function): string; /* TODO: Align with loader api */ | 
|  | 1042 | 1042 | |
|  | 1043 | 1043 | normalizeLocale(locale?: string): string; | 
|  | 1044 | 1044 | |
|  | 1045 | 1045 | /** | 
|  | 1046 | 1046 | * Conditional loading of AMD modules based on a has feature test value. | 
|  | 1047 | 1047 | */ | 
|  | 1048 | 1048 | load(id: string, parentRequire: Function, loaded: Function): void; /* TODO: Align with loader api */ | 
|  | 1049 | 1049 | |
|  | 1050 | 1050 | cache: { [bundle: string]: any }; | 
|  | 1051 | 1051 | |
|  | 1052 | 1052 | getL10nName(moduleName: string, bundleName: string, locale?: string): string; | 
|  | 1053 | 1053 | } | 
|  | 1054 | 1054 | |
|  | 1055 | 1055 | /* dojo/io-query */ | 
|  | 1056 | 1056 | |
|  | 1057 | 1057 | interface IoQuery { | 
|  | 1058 | 1058 | /** | 
|  | 1059 | 1059 | * takes a name/value mapping object and returns a string representing | 
|  | 1060 | 1060 | * a URL-encoded version of that object. | 
|  | 1061 | 1061 | */ | 
|  | 1062 | 1062 | objectToQuery(map: GenericObject): string; | 
|  | 1063 | 1063 | |
|  | 1064 | 1064 | /** | 
|  | 1065 | 1065 | * Create an object representing a de-serialized query section of a | 
|  | 1066 | 1066 | * URL. Query keys with multiple values are returned in an array. | 
|  | 1067 | 1067 | */ | 
|  | 1068 | 1068 | queryToObject(str: string): GenericObject; | 
|  | 1069 | 1069 | } | 
|  | 1070 | 1070 | |
|  | 1071 | 1071 | /* dojo/json */ | 
|  | 1072 | 1072 | |
|  | 1073 | 1073 | interface Json { | 
|  | 1074 | 1074 | |
|  | 1075 | 1075 | /** | 
|  | 1076 | 1076 | * Parses a [JSON](http://json.org) string to return a JavaScript object. | 
|  | 1077 | 1077 | */ | 
|  | 1078 | 1078 | parse(str: string, strict?: boolean): any; | 
|  | 1079 | 1079 | |
|  | 1080 | 1080 | /** | 
|  | 1081 | 1081 | * Returns a [JSON](http://json.org) serialization of an object. | 
|  | 1082 | 1082 | */ | 
|  | 1083 | 1083 | stringify(value: any, replacer?: (key: string, value: any) => any| any[], space?: string | number): string; | 
|  | 1084 | 1084 | } | 
|  | 1085 | 1085 | |
|  | 1086 | 1086 | /* dojo/keys */ | 
|  | 1087 | 1087 | |
|  | 1088 | 1088 | interface Keys { | 
|  | 1089 | 1089 | BACKSPACE: number; | 
|  | 1090 | 1090 | TAB: number; | 
|  | 1091 | 1091 | CLEAR: number; | 
|  | 1092 | 1092 | ENTER: number; | 
|  | 1093 | 1093 | SHIFT: number; | 
|  | 1094 | 1094 | CTRL: number; | 
|  | 1095 | 1095 | ALT: number; | 
|  | 1096 | 1096 | META: number; | 
|  | 1097 | 1097 | PAUSE: number; | 
|  | 1098 | 1098 | CAPS_LOCK: number; | 
|  | 1099 | 1099 | ESCAPE: number; | 
|  | 1100 | 1100 | SPACE: number; | 
|  | 1101 | 1101 | PAGE_UP: number; | 
|  | 1102 | 1102 | PAGE_DOWN: number; | 
|  | 1103 | 1103 | END: number; | 
|  | 1104 | 1104 | HOME: number; | 
|  | 1105 | 1105 | LEFT_ARROW: number; | 
|  | 1106 | 1106 | UP_ARROW: number; | 
|  | 1107 | 1107 | RIGHT_ARROW: number; | 
|  | 1108 | 1108 | DOWN_ARROW: number; | 
|  | 1109 | 1109 | INSERT: number; | 
|  | 1110 | 1110 | DELETE: number; | 
|  | 1111 | 1111 | HELP: number; | 
|  | 1112 | 1112 | LEFT_WINDOW: number; | 
|  | 1113 | 1113 | RIGHT_WINDOW: number; | 
|  | 1114 | 1114 | SELECT: number; | 
|  | 1115 | 1115 | NUMPAD_0: number; | 
|  | 1116 | 1116 | NUMPAD_1: number; | 
|  | 1117 | 1117 | NUMPAD_2: number; | 
|  | 1118 | 1118 | NUMPAD_3: number; | 
|  | 1119 | 1119 | NUMPAD_4: number; | 
|  | 1120 | 1120 | NUMPAD_5: number; | 
|  | 1121 | 1121 | NUMPAD_6: number; | 
|  | 1122 | 1122 | NUMPAD_7: number; | 
|  | 1123 | 1123 | NUMPAD_8: number; | 
|  | 1124 | 1124 | NUMPAD_9: number; | 
|  | 1125 | 1125 | NUMPAD_MULTIPLY: number; | 
|  | 1126 | 1126 | NUMPAD_PLUS: number; | 
|  | 1127 | 1127 | NUMPAD_ENTER: number; | 
|  | 1128 | 1128 | NUMPAD_MINUS: number; | 
|  | 1129 | 1129 | NUMPAD_PERIOD: number; | 
|  | 1130 | 1130 | NUMPAD_DIVIDE: number; | 
|  | 1131 | 1131 | F1: number; | 
|  | 1132 | 1132 | F2: number; | 
|  | 1133 | 1133 | F3: number; | 
|  | 1134 | 1134 | F4: number; | 
|  | 1135 | 1135 | F5: number; | 
|  | 1136 | 1136 | F6: number; | 
|  | 1137 | 1137 | F7: number; | 
|  | 1138 | 1138 | F8: number; | 
|  | 1139 | 1139 | F9: number; | 
|  | 1140 | 1140 | F10: number; | 
|  | 1141 | 1141 | F11: number; | 
|  | 1142 | 1142 | F12: number; | 
|  | 1143 | 1143 | F13: number; | 
|  | 1144 | 1144 | F14: number; | 
|  | 1145 | 1145 | F15: number; | 
|  | 1146 | 1146 | NUM_LOCK: number; | 
|  | 1147 | 1147 | SCROLL_LOCK: number; | 
|  | 1148 | 1148 | UP_DPAD: number; | 
|  | 1149 | 1149 | DOWN_DPAD: number; | 
|  | 1150 | 1150 | LEFT_DPAD: number; | 
|  | 1151 | 1151 | RIGHT_DPAD: number; | 
|  | 1152 | 1152 | copyKey: number; | 
|  | 1153 | 1153 | } | 
|  | 1154 | 1154 | |
|  | 1155 | 1155 | /* dojo/loadInit */ | 
|  | 1156 | 1156 | |
|  | 1157 | 1157 | interface LoadInit { | 
|  | 1158 | 1158 | dynamic: number; | 
|  | 1159 | 1159 | |
|  | 1160 | 1160 | /** | 
|  | 1161 | 1161 | * Resolves id into a module id based on possibly-nested tenary expression that branches on has feature test value(s). | 
|  | 1162 | 1162 | */ | 
|  | 1163 | 1163 | normalize(id: string, toAbsMid: Function): string; /* TODO: Align with loader api */ | 
|  | 1164 | 1164 | |
|  | 1165 | 1165 | /** | 
|  | 1166 | 1166 | * Conditional loading of AMD modules based on a has feature test value. | 
|  | 1167 | 1167 | */ | 
|  | 1168 | 1168 | load(id: string, parentRequire: Function, loaded: Function): void; /* TODO: Align with loader api */ | 
|  | 1169 | 1169 | } | 
|  | 1170 | 1170 | |
|  | 1171 | 1171 | /* dojo/mouse */ | 
|  | 1172 | 1172 | |
|  | 1173 | 1173 | interface Mouse { | 
|  | 1174 | 1174 | _eventHandler(type: string, selectHandler?: (evt: MouseEvent, listener: EventListener) => void): MouseEvent; | 
|  | 1175 | 1175 | |
|  | 1176 | 1176 | /** | 
|  | 1177 | 1177 | * This is an extension event for the mouseenter that IE provides, emulating the | 
|  | 1178 | 1178 | * behavior on other browsers. | 
|  | 1179 | 1179 | */ | 
|  | 1180 | 1180 | enter: MouseEvent; | 
|  | 1181 | 1181 | |
|  | 1182 | 1182 | /** | 
|  | 1183 | 1183 | * This is an extension event for the mouseleave that IE provides, emulating the | 
|  | 1184 | 1184 | * behavior on other browsers. | 
|  | 1185 | 1185 | */ | 
|  | 1186 | 1186 | leave: MouseEvent; | 
|  | 1187 | 1187 | |
|  | 1188 | 1188 | /** | 
|  | 1189 | 1189 | * This is an extension event for the mousewheel that non-Mozilla browsers provide, | 
|  | 1190 | 1190 | * emulating the behavior on Mozilla based browsers. | 
|  | 1191 | 1191 | */ | 
|  | 1192 | 1192 | wheel: string | ExtensionEvent; | 
|  | 1193 | 1193 | |
|  | 1194 | 1194 | /** | 
|  | 1195 | 1195 | * Test an event object (from a mousedown event) to see if the left button was pressed. | 
|  | 1196 | 1196 | */ | 
|  | 1197 | 1197 | isLeft(e: MouseEvent): boolean; | 
|  | 1198 | 1198 | |
|  | 1199 | 1199 | /** | 
|  | 1200 | 1200 | * Test an event object (from a mousedown event) to see if the middle button was pressed. | 
|  | 1201 | 1201 | */ | 
|  | 1202 | 1202 | isMiddle(e: MouseEvent): boolean; | 
|  | 1203 | 1203 | |
|  | 1204 | 1204 | /** | 
|  | 1205 | 1205 | * Test an event object (from a mousedown event) to see if the right button was pressed. | 
|  | 1206 | 1206 | */ | 
|  | 1207 | 1207 | isRight(e: MouseEvent): boolean; | 
|  | 1208 | 1208 | } | 
|  | 1209 | 1209 | |
|  | 1210 | 1210 | /* dojo/node */ | 
|  | 1211 | 1211 | |
|  | 1212 | 1212 | /* should only be used for re-exporting CommonJS modules */ | 
|  | 1213 | 1213 | |
|  | 1214 | 1214 | /* dojo/NodeList */ | 
|  | 1215 | 1215 | |
|  | 1216 | 1216 | /* Just proxies dojo/query::NodeList */ | 
|  | 1217 | 1217 | |
|  | 1218 | 1218 | /* dojo/NodeList-* are included as seperate .d.ts files */ | 
|  | 1219 | 1219 | |
|  | 1220 | 1220 | /* dojo/number */ | 
|  | 1221 | 1221 | |
|  | 1222 | 1222 | interface NumberFormatOptions { | 
|  | 1223 | 1223 | |
|  | 1224 | 1224 | /** | 
|  | 1225 | 1225 | * override [formatting pattern](http://www.unicode.org/reports/tr35/#Number_Format_Patterns) | 
|  | 1226 | 1226 | * with this string. Default value is based on locale. Overriding this property will defeat | 
|  | 1227 | 1227 | * localization. Literal characters in patterns are not supported. | 
|  | 1228 | 1228 | */ | 
|  | 1229 | 1229 | pattern?: string; | 
|  | 1230 | 1230 | |
|  | 1231 | 1231 | /** | 
|  | 1232 | 1232 | * choose a format type based on the locale from the following: | 
|  | 1233 | 1233 | * decimal, scientific (not yet supported), percent, currency. decimal by default. | 
|  | 1234 | 1234 | */ | 
|  | 1235 | 1235 | type?: string; | 
|  | 1236 | 1236 | |
|  | 1237 | 1237 | /** | 
|  | 1238 | 1238 | * fixed number of decimal places to show. This overrides any | 
|  | 1239 | 1239 | * information in the provided pattern. | 
|  | 1240 | 1240 | */ | 
|  | 1241 | 1241 | places?: number; | 
|  | 1242 | 1242 | |
|  | 1243 | 1243 | /** | 
|  | 1244 | 1244 | * 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1 | 
|  | 1245 | 1245 | * means do not round. | 
|  | 1246 | 1246 | */ | 
|  | 1247 | 1247 | round?: number; | 
|  | 1248 | 1248 | |
|  | 1249 | 1249 | /** | 
|  | 1250 | 1250 | * override the locale used to determine formatting rules | 
|  | 1251 | 1251 | */ | 
|  | 1252 | 1252 | locale?: string; | 
|  | 1253 | 1253 | |
|  | 1254 | 1254 | /** | 
|  | 1255 | 1255 | * If false, show no decimal places, overriding places and pattern settings. | 
|  | 1256 | 1256 | */ | 
|  | 1257 | 1257 | fractional?: boolean | [ boolean, boolean ]; | 
|  | 1258 | 1258 | } | 
|  | 1259 | 1259 | |
|  | 1260 | 1260 | interface NumberFormatAbsoluteOptions { | 
|  | 1261 | 1261 | /** | 
|  | 1262 | 1262 | * the decimal separator | 
|  | 1263 | 1263 | */ | 
|  | 1264 | 1264 | decimal?: string; | 
|  | 1265 | 1265 | |
|  | 1266 | 1266 | /** | 
|  | 1267 | 1267 | * the group separator | 
|  | 1268 | 1268 | */ | 
|  | 1269 | 1269 | group?: string; | 
|  | 1270 | 1270 | |
|  | 1271 | 1271 | /** | 
|  | 1272 | 1272 | * number of decimal places. the range "n,m" will format to m places. | 
|  | 1273 | 1273 | */ | 
|  | 1274 | 1274 | places?: number | string; | 
|  | 1275 | 1275 | |
|  | 1276 | 1276 | /** | 
|  | 1277 | 1277 | * 5 rounds to nearest .5; 0 rounds to nearest whole (default). -1 | 
|  | 1278 | 1278 | * means don't round. | 
|  | 1279 | 1279 | */ | 
|  | 1280 | 1280 | round?: number; | 
|  | 1281 | 1281 | } | 
|  | 1282 | 1282 | |
|  | 1283 | 1283 | interface NumberRegexpOptions { | 
|  | 1284 | 1284 | |
|  | 1285 | 1285 | /** | 
|  | 1286 | 1286 | * override [formatting pattern](http://www.unicode.org/reports/tr35/#Number_Format_Patterns) | 
|  | 1287 | 1287 | * with this string. Default value is based on locale. Overriding this property will defeat | 
|  | 1288 | 1288 | * localization. | 
|  | 1289 | 1289 | */ | 
|  | 1290 | 1290 | pattern?: string; | 
|  | 1291 | 1291 | |
|  | 1292 | 1292 | /** | 
|  | 1293 | 1293 | * choose a format type based on the locale from the following: | 
|  | 1294 | 1294 | * decimal, scientific (not yet supported), percent, currency. decimal by default. | 
|  | 1295 | 1295 | */ | 
|  | 1296 | 1296 | type?: string; | 
|  | 1297 | 1297 | |
|  | 1298 | 1298 | /** | 
|  | 1299 | 1299 | * override the locale used to determine formatting rules | 
|  | 1300 | 1300 | */ | 
|  | 1301 | 1301 | locacle?: string; | 
|  | 1302 | 1302 | |
|  | 1303 | 1303 | /** | 
|  | 1304 | 1304 | * strict parsing, false by default. Strict parsing requires input as produced by the format() method. | 
|  | 1305 | 1305 | * Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators | 
|  | 1306 | 1306 | */ | 
|  | 1307 | 1307 | strict?: boolean; | 
|  | 1308 | 1308 | |
|  | 1309 | 1309 | /** | 
|  | 1310 | 1310 | * number of decimal places to accept: Infinity, a positive number, or | 
|  | 1311 | 1311 | * a range "n,m". Defined by pattern or Infinity if pattern not provided. | 
|  | 1312 | 1312 | */ | 
|  | 1313 | 1313 | places?: number | string; | 
|  | 1314 | 1314 | } | 
|  | 1315 | 1315 | |
|  | 1316 | 1316 | interface NumberParseOptions { | 
|  | 1317 | 1317 | |
|  | 1318 | 1318 | /** | 
|  | 1319 | 1319 | * override [formatting pattern](http://www.unicode.org/reports/tr35/#Number_Format_Patterns) | 
|  | 1320 | 1320 | * with this string. Default value is based on locale. Overriding this property will defeat | 
|  | 1321 | 1321 | * localization. Literal characters in patterns are not supported. | 
|  | 1322 | 1322 | */ | 
|  | 1323 | 1323 | pattern?: string; | 
|  | 1324 | 1324 | |
|  | 1325 | 1325 | /** | 
|  | 1326 | 1326 | * choose a format type based on the locale from the following: | 
|  | 1327 | 1327 | * decimal, scientific (not yet supported), percent, currency. decimal by default. | 
|  | 1328 | 1328 | */ | 
|  | 1329 | 1329 | type?: string; | 
|  | 1330 | 1330 | |
|  | 1331 | 1331 | /** | 
|  | 1332 | 1332 | * override the locale used to determine formatting rules | 
|  | 1333 | 1333 | */ | 
|  | 1334 | 1334 | locale?: string; | 
|  | 1335 | 1335 | |
|  | 1336 | 1336 | /** | 
|  | 1337 | 1337 | * strict parsing, false by default. Strict parsing requires input as produced by the format() method. | 
|  | 1338 | 1338 | * Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators | 
|  | 1339 | 1339 | */ | 
|  | 1340 | 1340 | strict?: boolean; | 
|  | 1341 | 1341 | |
|  | 1342 | 1342 | /** | 
|  | 1343 | 1343 | * Whether to include the fractional portion, where the number of decimal places are implied by pattern | 
|  | 1344 | 1344 | * or explicit 'places' parameter. The value [true,false] makes the fractional portion optional. | 
|  | 1345 | 1345 | */ | 
|  | 1346 | 1346 | fractional?: boolean | [boolean, boolean]; | 
|  | 1347 | 1347 | } | 
|  | 1348 | 1348 | |
|  | 1349 | 1349 | interface RealNumberRegexpFlags { | 
|  | 1350 | 1350 | |
|  | 1351 | 1351 | /** | 
|  | 1352 | 1352 | * The integer number of decimal places or a range given as "n,m". If | 
|  | 1353 | 1353 | * not given, the decimal part is optional and the number of places is | 
|  | 1354 | 1354 | * unlimited. | 
|  | 1355 | 1355 | */ | 
|  | 1356 | 1356 | places?: number; | 
|  | 1357 | 1357 | |
|  | 1358 | 1358 | /** | 
|  | 1359 | 1359 | * A string for the character used as the decimal point. Default | 
|  | 1360 | 1360 | * is ".". | 
|  | 1361 | 1361 | */ | 
|  | 1362 | 1362 | decimal?: string; | 
|  | 1363 | 1363 | |
|  | 1364 | 1364 | /** | 
|  | 1365 | 1365 | * Whether decimal places are used. Can be true, false, or [true, | 
|  | 1366 | 1366 | * false]. Default is [true, false] which means optional. | 
|  | 1367 | 1367 | */ | 
|  | 1368 | 1368 | fractional?: boolean | [boolean, boolean]; | 
|  | 1369 | 1369 | |
|  | 1370 | 1370 | /** | 
|  | 1371 | 1371 | * Express in exponential notation. Can be true, false, or [true, | 
|  | 1372 | 1372 | * false]. Default is [true, false], (i.e. will match if the | 
|  | 1373 | 1373 | * exponential part is present are not). | 
|  | 1374 | 1374 | */ | 
|  | 1375 | 1375 | exponent?: boolean | [boolean, boolean]; | 
|  | 1376 | 1376 | |
|  | 1377 | 1377 | /** | 
|  | 1378 | 1378 | * The leading plus-or-minus sign on the exponent. Can be true, | 
|  | 1379 | 1379 | * false, or [true, false]. Default is [true, false], (i.e. will | 
|  | 1380 | 1380 | * match if it is signed or unsigned). flags in regexp.integer can be | 
|  | 1381 | 1381 | * applied. | 
|  | 1382 | 1382 | */ | 
|  | 1383 | 1383 | eSigned?: boolean | [boolean, boolean]; | 
|  | 1384 | 1384 | } | 
|  | 1385 | 1385 | |
|  | 1386 | 1386 | interface IntegerRegexpFlags { | 
|  | 1387 | 1387 | |
|  | 1388 | 1388 | /** | 
|  | 1389 | 1389 | * The leading plus-or-minus sign. Can be true, false, or `[true,false]`. | 
|  | 1390 | 1390 | * Default is `[true, false]`, (i.e. will match if it is signed | 
|  | 1391 | 1391 | * or unsigned). | 
|  | 1392 | 1392 | */ | 
|  | 1393 | 1393 | signed?: boolean; | 
|  | 1394 | 1394 | |
|  | 1395 | 1395 | /** | 
|  | 1396 | 1396 | * The character used as the thousands separator. Default is no | 
|  | 1397 | 1397 | * separator. For more than one symbol use an array, e.g. `[",", ""]`, | 
|  | 1398 | 1398 | * makes ',' optional. | 
|  | 1399 | 1399 | */ | 
|  | 1400 | 1400 | separator?: string; | 
|  | 1401 | 1401 | |
|  | 1402 | 1402 | /** | 
|  | 1403 | 1403 | * group size between separators | 
|  | 1404 | 1404 | */ | 
|  | 1405 | 1405 | groupSize?: number; | 
|  | 1406 | 1406 | |
|  | 1407 | 1407 | /** | 
|  | 1408 | 1408 | * second grouping, where separators 2..n have a different interval than the first separator (for India) | 
|  | 1409 | 1409 | */ | 
|  | 1410 | 1410 | groupSize2?: number; | 
|  | 1411 | 1411 | } | 
|  | 1412 | 1412 | |
|  | 1413 | 1413 | interface Number { | 
|  | 1414 | 1414 | /** | 
|  | 1415 | 1415 | * Format a Number as a String, using locale-specific settings | 
|  | 1416 | 1416 | */ | 
|  | 1417 | 1417 | format(value: number, options?: NumberFormatOptions): string; | 
|  | 1418 | 1418 | |
|  | 1419 | 1419 | /** | 
|  | 1420 | 1420 | * not precise, but good enough | 
|  | 1421 | 1421 | */ | 
|  | 1422 | 1422 | _numberPatternRE: RegExp; | 
|  | 1423 | 1423 | |
|  | 1424 | 1424 | /** | 
|  | 1425 | 1425 | * Apply pattern to format value as a string using options. Gives no | 
|  | 1426 | 1426 | * consideration to local customs. | 
|  | 1427 | 1427 | */ | 
|  | 1428 | 1428 | _applyPattern(value: number, pattern: string, options?: NumberFormatOptions): string; | 
|  | 1429 | 1429 | |
|  | 1430 | 1430 | /** | 
|  | 1431 | 1431 | * Rounds to the nearest value with the given number of decimal places, away from zero | 
|  | 1432 | 1432 | */ | 
|  | 1433 | 1433 | round(value: number, places?: number, increment?: number): number; | 
|  | 1434 | 1434 | |
|  | 1435 | 1435 | /** | 
|  | 1436 | 1436 | * Apply numeric pattern to absolute value using options. Gives no | 
|  | 1437 | 1437 | * consideration to local customs. | 
|  | 1438 | 1438 | */ | 
|  | 1439 | 1439 | _formatAbsolute(value: number, pattern: string, options?: NumberFormatAbsoluteOptions): string; | 
|  | 1440 | 1440 | |
|  | 1441 | 1441 | /** | 
|  | 1442 | 1442 | * Builds the regular needed to parse a number | 
|  | 1443 | 1443 | */ | 
|  | 1444 | 1444 | regexp(options?: NumberRegexpOptions): string; | 
|  | 1445 | 1445 | |
|  | 1446 | 1446 | _parseInfo(options?: any): { regexp: string, group: string, decimal: string, factor: number }; | 
|  | 1447 | 1447 | |
|  | 1448 | 1448 | /** | 
|  | 1449 | 1449 | * Convert a properly formatted string to a primitive Number, using | 
|  | 1450 | 1450 | * locale-specific settings. | 
|  | 1451 | 1451 | */ | 
|  | 1452 | 1452 | parse(expression: string, options?: NumberParseOptions): number; | 
|  | 1453 | 1453 | |
|  | 1454 | 1454 | /** | 
|  | 1455 | 1455 | * Builds a regular expression to match a real number in exponential | 
|  | 1456 | 1456 | * notation | 
|  | 1457 | 1457 | */ | 
|  | 1458 | 1458 | _realNumberRegexp(flags: RealNumberRegexpFlags): string; | 
|  | 1459 | 1459 | |
|  | 1460 | 1460 | /** | 
|  | 1461 | 1461 | * Builds a regular expression that matches an integer | 
|  | 1462 | 1462 | */ | 
|  | 1463 | 1463 | _integerRegexp(flags: IntegerRegexpFlags): string; | 
|  | 1464 | 1464 | } | 
|  | 1465 | 1465 | |
|  | 1466 | 1466 | /* dojo/on */ | 
|  | 1467 | 1467 | |
|  | 1468 | 1468 | interface ExtensionEvent { | 
|  | 1469 | 1469 | (target: Element | GenericObject, listener: EventListener): Handle; | 
|  | 1470 | 1470 | } | 
|  | 1471 | 1471 | |
|  | 1472 | 1472 | interface PauseHandle extends Handle { | 
|  | 1473 | 1473 | pause(): void; | 
|  | 1474 | 1474 | resume(): void; | 
|  | 1475 | 1475 | } | 
|  | 1476 | 1476 | |
|  | 1477 | 1477 | interface MatchesTarget { | 
|  | 1478 | 1478 | matches(node: Element, selector: string, context?: any): any[]; | 
|  | 1479 | 1479 | [id: string]: any; | 
|  | 1480 | 1480 | } | 
|  | 1481 | 1481 | |
|  | 1482 | 1482 | interface On { | 
|  | 1483 | 1483 | /** | 
|  | 1484 | 1484 | * A function that provides core event listening functionality. With this function | 
|  | 1485 | 1485 | * you can provide a target, event type, and listener to be notified of | 
|  | 1486 | 1486 | * future matching events that are fired. | 
|  | 1487 | 1487 | */ | 
|  | 1488 | 1488 | (target: Element | GenericObject, type: string | ExtensionEvent, listener: EventListener | Function, dontFix?: boolean): Handle; | 
|  | 1489 | 1489 | |
|  | 1490 | 1490 | /** | 
|  | 1491 | 1491 | * This function acts the same as on(), but with pausable functionality. The | 
|  | 1492 | 1492 | * returned signal object has pause() and resume() functions. Calling the | 
|  | 1493 | 1493 | * pause() method will cause the listener to not be called for future events. | 
|  | 1494 | 1494 | */ | 
|  | 1495 | 1495 | pausable(target: Element | GenericObject, type: string | ExtensionEvent, listener: EventListener | Function, dontFix?: boolean): PauseHandle; | 
|  | 1496 | 1496 | |
|  | 1497 | 1497 | /** | 
|  | 1498 | 1498 | * This function acts the same as on(), but will only call the listener once. The | 
|  | 1499 | 1499 | * listener will be called for the first | 
|  | 1500 | 1500 | * event that takes place and then listener will automatically be removed. | 
|  | 1501 | 1501 | */ | 
|  | 1502 | 1502 | once(target: Element | GenericObject, type: string | ExtensionEvent, listener: EventListener | Function, dontFix?: boolean): Handle; | 
|  | 1503 | 1503 | |
|  | 1504 | 1504 | parse(target: Element | GenericObject, type: string | ExtensionEvent, listener: EventListener | Function, dontFix: boolean, matchesTarget: Element | GenericObject): Handle; | 
|  | 1505 | 1505 | |
|  | 1506 | 1506 | /** | 
|  | 1507 | 1507 | * Check if a node match the current selector within the constraint of a context | 
|  | 1508 | 1508 | */ | 
|  | 1509 | 1509 | matches(node: Element, selector: string, context: Element, children: boolean, matchesTarget?: MatchesTarget): Element | boolean; | 
|  | 1510 | 1510 | |
|  | 1511 | 1511 | /** | 
|  | 1512 | 1512 | * Creates a new extension event with event delegation. This is based on | 
|  | 1513 | 1513 | * the provided event type (can be extension event) that | 
|  | 1514 | 1514 | * only calls the listener when the CSS selector matches the target of the event. | 
|  | 1515 | 1515 | * | 
|  | 1516 | 1516 | * The application must require() an appropriate level of dojo/query to handle the selector. | 
|  | 1517 | 1517 | */ | 
|  | 1518 | 1518 | selector(selector: string, type: string | ExtensionEvent, children?: boolean): ExtensionEvent; | 
|  | 1519 | 1519 | |
|  | 1520 | 1520 | /** | 
|  | 1521 | 1521 | * Fires an event on the target object. | 
|  | 1522 | 1522 | */ | 
|  | 1523 | 1523 | emit(target: Element | GenericObject, type: string | ExtensionEvent, event?: any): boolean; | 
|  | 1524 | 1524 | |
|  | 1525 | 1525 | /** | 
|  | 1526 | 1526 | * normalizes properties on the event object including event | 
|  | 1527 | 1527 | * bubbling methods, keystroke normalization, and x/y positions | 
|  | 1528 | 1528 | */ | 
|  | 1529 | 1529 | _fixEvent(evt: any, sender: any): any; | 
|  | 1530 | 1530 | } | 
|  | 1531 | 1531 | |
|  | 1532 | 1532 | /* dojo/parser */ | 
|  | 1533 | 1533 | |
|  | 1534 | 1534 | interface ParserOptions { } | 
|  | 1535 | 1535 | |
|  | 1536 | 1536 | interface ParserObjects { | 
|  | 1537 | 1537 | ctor?: GenericConstructor<any>; | 
|  | 1538 | 1538 | types?: string[]; | 
|  | 1539 | 1539 | node: Node; | 
|  | 1540 | 1540 | scripts?: HTMLScriptElement[]; | 
|  | 1541 | 1541 | inherited?: { [prop: string]: any; }; | 
|  | 1542 | 1542 | } | 
|  | 1543 | 1543 | |
|  | 1544 | 1544 | interface InstancesArray extends Array<any>, promise.Promise<any> {} | 
|  | 1545 | 1545 | |
|  | 1546 | 1546 | interface Parser { | 
|  | 1547 | 1547 | /** | 
|  | 1548 | 1548 | * Clear cached data. Used mainly for benchmarking. | 
|  | 1549 | 1549 | */ | 
|  | 1550 | 1550 | _clearCache(): void; | 
|  | 1551 | 1551 | |
|  | 1552 | 1552 | /** | 
|  | 1553 | 1553 | * Convert a `<script type="dojo/method" args="a, b, c"> ... </script>` | 
|  | 1554 | 1554 | * into a function | 
|  | 1555 | 1555 | */ | 
|  | 1556 | 1556 | _functionFromScript(node: HTMLScriptElement, attrData: string): Function; | 
|  | 1557 | 1557 | |
|  | 1558 | 1558 | /** | 
|  | 1559 | 1559 | * Takes array of nodes, and turns them into class instances and | 
|  | 1560 | 1560 | * potentially calls a startup method to allow them to connect with | 
|  | 1561 | 1561 | * any children. | 
|  | 1562 | 1562 | */ | 
|  | 1563 | 1563 | instantiate(nodes: Node[], mixin?: Object, options?: ParserOptions): any[]; | 
|  | 1564 | 1564 | |
|  | 1565 | 1565 | /** | 
|  | 1566 | 1566 | * Takes array of objects representing nodes, and turns them into class instances and | 
|  | 1567 | 1567 | * potentially calls a startup method to allow them to connect with | 
|  | 1568 | 1568 | * any children. | 
|  | 1569 | 1569 | */ | 
|  | 1570 | 1570 | _instantiate(nodes: ParserObjects[], mixin?: Object, options?: ParserOptions, returnPromise?: boolean): any[] | promise.Promise<any[]>; | 
|  | 1571 | 1571 | |
|  | 1572 | 1572 | /** | 
|  | 1573 | 1573 | * Calls new ctor(params, node), where params is the hash of parameters specified on the node, | 
|  | 1574 | 1574 | * excluding data-dojo-type and data-dojo-mixins. Does not call startup(). | 
|  | 1575 | 1575 | */ | 
|  | 1576 | 1576 | construct<T>( | 
|  | 1577 | 1577 | ctor: GenericConstructor<T>, | 
|  | 1578 | 1578 | node: Node, mixin?: Object, | 
|  | 1579 | 1579 | options?: ParserOptions, | 
|  | 1580 | 1580 | scripts?: HTMLScriptElement[], | 
|  | 1581 | 1581 | inherited?: { [prop: string]: any; } | 
|  | 1582 | 1582 | ): promise.Promise<T> | T; | 
|  | 1583 | 1583 | |
|  | 1584 | 1584 | /** | 
|  | 1585 | 1585 | * Scan a DOM tree and return an array of objects representing the DOMNodes | 
|  | 1586 | 1586 | * that need to be turned into widgets. | 
|  | 1587 | 1587 | */ | 
|  | 1588 | 1588 | scan(root?: Node, options?: ParserOptions): promise.Promise<ParserObjects[]>; | 
|  | 1589 | 1589 | |
|  | 1590 | 1590 | /** | 
|  | 1591 | 1591 | * Helper for _scanAMD(). Takes a `<script type=dojo/require>bar: "acme/bar", ...</script>` node, | 
|  | 1592 | 1592 | * calls require() to load the specified modules and (asynchronously) assign them to the specified global | 
|  | 1593 | 1593 | * variables, and returns a Promise for when that operation completes. | 
|  | 1594 | 1594 | * | 
|  | 1595 | 1595 | * In the example above, it is effectively doing a require(["acme/bar", ...], function(a){ bar = a; }). | 
|  | 1596 | 1596 | */ | 
|  | 1597 | 1597 | _require(script: HTMLScriptElement, options: ParserOptions): promise.Promise<any>; | 
|  | 1598 | 1598 | |
|  | 1599 | 1599 | /** | 
|  | 1600 | 1600 | * Scans the DOM for any declarative requires and returns their values. | 
|  | 1601 | 1601 | */ | 
|  | 1602 | 1602 | _scanAmd(root?: Node, options?: ParserOptions): promise.Promise<boolean>; | 
|  | 1603 | 1603 | |
|  | 1604 | 1604 | /** | 
|  | 1605 | 1605 | * Scan the DOM for class instances, and instantiate them. | 
|  | 1606 | 1606 | */ | 
|  | 1607 | 1607 | parse(rootNode?: Node, options?: ParserOptions): InstancesArray; | 
|  | 1608 | 1608 | } | 
|  | 1609 | 1609 | |
|  | 1610 | 1610 | /* dojo/query */ | 
|  | 1611 | 1611 | |
|  | 1612 | 1612 | interface NodeListFilterCallback<T extends Node> { | 
|  | 1613 | 1613 | (item: T, idx: number, nodeList: this): boolean; | 
|  | 1614 | 1614 | } | 
|  | 1615 | 1615 | |
|  | 1616 | 1616 | type NodeListFilter<T extends Node> = string | NodeListFilterCallback<T>; | 
|  | 1617 | 1617 | |
|  | 1618 | 1618 | interface NodeList<T extends Node> extends ArrayLike<T> { | 
|  | 1619 | 1619 | /** | 
|  | 1620 | 1620 | * decorate an array to make it look like a `dojo/NodeList`. | 
|  | 1621 | 1621 | */ | 
|  | 1622 | 1622 | _wrap<U extends Node, V extends Node>(a: U[], parent?: NodeList<V>, NodeListCtor?: NodeListConstructor): NodeList<U>; | 
|  | 1623 | 1623 | |
|  | 1624 | 1624 | _NodeListCtor: NodeListConstructor; | 
|  | 1625 | 1625 | toString(): string; | 
|  | 1626 | 1626 | |
|  | 1627 | 1627 | /** | 
|  | 1628 | 1628 | * private function to hold to a parent NodeList. end() to return the parent NodeList. | 
|  | 1629 | 1629 | */ | 
|  | 1630 | 1630 | _stash(parent: Node): this; | 
|  | 1631 | 1631 | |
|  | 1632 | 1632 | /** | 
|  | 1633 | 1633 | * Listen for events on the nodes in the NodeList. | 
|  | 1634 | 1634 | */ | 
|  | 1635 | 1635 | on(eventName: string, listener: EventListener): Handle[]; | 
|  | 1636 | 1636 | |
|  | 1637 | 1637 | /** | 
|  | 1638 | 1638 | * Ends use of the current `NodeList` by returning the previous NodeList | 
|  | 1639 | 1639 | * that generated the current NodeList. | 
|  | 1640 | 1640 | */ | 
|  | 1641 | 1641 | end<U extends Node>(): NodeList<U>; | 
|  | 1642 | 1642 | |
|  | 1643 | 1643 | /** | 
|  | 1644 | 1644 | * Returns a new NodeList, maintaining this one in place | 
|  | 1645 | 1645 | */ | 
|  | 1646 | 1646 | slice(begin: number, end?: number): this; | 
|  | 1647 | 1647 | |
|  | 1648 | 1648 | /** | 
|  | 1649 | 1649 | * Returns a new NodeList, manipulating this NodeList based on | 
|  | 1650 | 1650 | * the arguments passed, potentially splicing in new elements | 
|  | 1651 | 1651 | * at an offset, optionally deleting elements | 
|  | 1652 | 1652 | */ | 
|  | 1653 | 1653 | splice(index: number, howmany?: number, ...items: T[]): this; | 
|  | 1654 | 1654 | |
|  | 1655 | 1655 | /** | 
|  | 1656 | 1656 | * see `dojo/_base/array.indexOf()`. The primary difference is that the acted-on | 
|  | 1657 | 1657 | * array is implicitly this NodeList | 
|  | 1658 | 1658 | */ | 
|  | 1659 | 1659 | indexOf(value: T, fromIndex?: number, findLast?: boolean): number; | 
|  | 1660 | 1660 | |
|  | 1661 | 1661 | /** | 
|  | 1662 | 1662 | * see `dojo/_base/array.lastIndexOf()`. The primary difference is that the | 
|  | 1663 | 1663 | * acted-on array is implicitly this NodeList | 
|  | 1664 | 1664 | */ | 
|  | 1665 | 1665 | lastIndexOf(value: T, fromIndex?: number): number; | 
|  | 1666 | 1666 | |
|  | 1667 | 1667 | /** | 
|  | 1668 | 1668 | * see `dojo/_base/array.every()` and the [Array.every | 
|  | 1669 | 1669 | * docs](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/every). | 
|  | 1670 | 1670 | * Takes the same structure of arguments and returns as | 
|  | 1671 | 1671 | * dojo/_base/array.every() with the caveat that the passed array is | 
|  | 1672 | 1672 | * implicitly this NodeList | 
|  | 1673 | 1673 | */ | 
|  | 1674 | 1674 | every(callback: (item: T, idx: number, nodeList: this) => boolean | string, thisObj?: Object): boolean; | 
|  | 1675 | 1675 | |
|  | 1676 | 1676 | /** | 
|  | 1677 | 1677 | * Takes the same structure of arguments and returns as | 
|  | 1678 | 1678 | * `dojo/_base/array.some()` with the caveat that the passed array as | 
|  | 1679 | 1679 | * implicitly this NodeList. See `dojo/_base/array.some()` and Mozillaas | 
|  | 1680 | 1680 | * [Array.soas | 
|  | 1681 | 1681 | * documentation](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/some). | 
|  | 1682 | 1682 | */ | 
|  | 1683 | 1683 | some(callback: (item: T, idx: number, nodeList: this) => boolean | string, thisObj?: Object): boolean; | 
|  | 1684 | 1684 | |
|  | 1685 | 1685 | /** | 
|  | 1686 | 1686 | * Returns a new NodeList comprised of items in this NodeList | 
|  | 1687 | 1687 | * as well as items passed in as parameters | 
|  | 1688 | 1688 | */ | 
|  | 1689 | 1689 | concat(...items: T[]): this; | 
|  | 1690 | 1690 | |
|  | 1691 | 1691 | /** | 
|  | 1692 | 1692 | * see `dojo/_base/array.map()`. The primary difference is that the acted-on | 
|  | 1693 | 1693 | * array is implicitly this NodeList and the return is a | 
|  | 1694 | 1694 | * NodeList (a subclass of Array) | 
|  | 1695 | 1695 | */ | 
|  | 1696 | 1696 | map<U extends Node>(func: (item: T, idx: number, nodeList: this) => U, obj?: Object): NodeList<U>; | 
|  | 1697 | 1697 | |
|  | 1698 | 1698 | /** | 
|  | 1699 | 1699 | * see `dojo/_base/array.forEach()`. The primary difference is that the acted-on | 
|  | 1700 | 1700 | * array is implicitly this NodeList. If you want the option to break out | 
|  | 1701 | 1701 | * of the forEach loop, use every() or some() instead. | 
|  | 1702 | 1702 | */ | 
|  | 1703 | 1703 | forEach(callback: (item: T, idx: number, nodeList: this) => void, thisObj?: Object): this; | 
|  | 1704 | 1704 | |
|  | 1705 | 1705 | /** | 
|  | 1706 | 1706 | * "masks" the built-in javascript filter() method (supported | 
|  | 1707 | 1707 | * in Dojo via `dojo/_base/array.filter`) to support passing a simple | 
|  | 1708 | 1708 | * string filter in addition to supporting filtering function | 
|  | 1709 | 1709 | * objects. | 
|  | 1710 | 1710 | */ | 
|  | 1711 | 1711 | filter<U extends Node>(filter: NodeListFilter<T>, thisObj?: Object): NodeList<U>; | 
|  | 1712 | 1712 | |
|  | 1713 | 1713 | /** | 
|  | 1714 | 1714 | * Create a new instance of a specified class, using the | 
|  | 1715 | 1715 | * specified properties and each node in the NodeList as a | 
|  | 1716 | 1716 | * srcNodeRef. | 
|  | 1717 | 1717 | */ | 
|  | 1718 | 1718 | instantiate(declaredClass: string | GenericConstructor<any>, properties?: Object): this; | 
|  | 1719 | 1719 | |
|  | 1720 | 1720 | /** | 
|  | 1721 | 1721 | * Returns a new NodeList comprised of items in this NodeList | 
|  | 1722 | 1722 | * at the given index or indices. | 
|  | 1723 | 1723 | */ | 
|  | 1724 | 1724 | at(...indices: number[]): this; | 
|  | 1725 | 1725 | |
|  | 1726 | 1726 | } | 
|  | 1727 | 1727 | |
|  | 1728 | 1728 | interface NodeListConstructor { | 
|  | 1729 | new <T extends Node>(array: number | Array<T>): NodeList<T>; | |
|  | 1729 | new <T extends Node>(array: number | Array<T> | NodeListOf<T>): NodeList<T>; | |
|  | 1730 | 1730 | new <T extends Node>(...args: T[]): NodeList<T>; | 
|  | 1731 | <T extends Node>(array: number | Array<T>): NodeList<T>; | |
|  | 1731 | <T extends Node>(array: number | Array<T> | NodeListOf<T>): NodeList<T>; | |
|  | 1732 | 1732 | <T extends Node>(...args: T[]): NodeList<T>; | 
|  | 1733 | 1733 | |
|  | 1734 | 1734 | prototype: NodeList<any>; | 
|  | 1735 | 1735 | |
|  | 1736 | 1736 | /** | 
|  | 1737 | 1737 | * decorate an array to make it look like a `dojo/NodeList`. | 
|  | 1738 | 1738 | */ | 
|  | 1739 | 1739 | _wrap<U extends Node, V extends Node>(a: U[], parent?: NodeList<V>, NodeListCtor?: NodeListConstructor): NodeList<U>; | 
|  | 1740 | 1740 | |
|  | 1741 | 1741 | /** | 
|  | 1742 | 1742 | * adapts a single node function to be used in the map-type | 
|  | 1743 | 1743 | * actions. The return is a new array of values, as via `dojo/_base/array.map` | 
|  | 1744 | 1744 | */ | 
|  | 1745 | 1745 | _adaptAsMap<T extends Node, U extends Node>(f: (node: T) => U, o?: Object): NodeList<U>; | 
|  | 1746 | 1746 | |
|  | 1747 | 1747 | /** | 
|  | 1748 | 1748 | * adapts a single node function to be used in the forEach-type | 
|  | 1749 | 1749 | * actions. The initial object is returned from the specialized | 
|  | 1750 | 1750 | * function. | 
|  | 1751 | 1751 | */ | 
|  | 1752 | 1752 | _adaptAsForEach<T extends Node>(f: (node: T) => void, o?: Object): this; | 
|  | 1753 | 1753 | |
|  | 1754 | 1754 | /** | 
|  | 1755 | 1755 | * adapts a single node function to be used in the filter-type actions | 
|  | 1756 | 1756 | */ | 
|  | 1757 | 1757 | _adaptAsFilter<T extends Node>(f: (node: T) => boolean, o?: Object): this; | 
|  | 1758 | 1758 | |
|  | 1759 | 1759 | /** | 
|  | 1760 | 1760 | * adapts a single node function to be used in the map-type | 
|  | 1761 | 1761 | * actions, behaves like forEach() or map() depending on arguments | 
|  | 1762 | 1762 | */ | 
|  | 1763 | 1763 | _adaptWithCondition<T extends Node, U extends Node>(f: (node: T) => U | void, g: (...args: any[]) => boolean, o?: Object): NodeList<U> | this; | 
|  | 1764 | 1764 | } | 
|  | 1765 | 1765 | |
|  | 1766 | 1766 | interface Query { | 
|  | 1767 | 1767 | /** | 
|  | 1768 | 1768 | * Returns nodes which match the given CSS selector, searching the | 
|  | 1769 | 1769 | * entire document by default but optionally taking a node to scope | 
|  | 1770 | 1770 | * the search by. Returns an instance of NodeList. | 
|  | 1771 | 1771 | */ | 
|  | 1772 | 1772 | <T extends Node>(query: string, root?: NodeOrString): NodeList<T>; | 
|  | 1773 | <T extends Node>(root: Node): NodeList<T>; | |
|  | 1774 | ||
|  | 1775 | NodeList: NodeListConstructor; | |
|  | 1773 | 1776 | |
|  | 1774 | 1777 | /** | 
|  | 1775 | 1778 | * Test to see if a node matches a selector | 
|  | 1776 | 1779 | */ | 
|  | 1777 | 1780 | matches(node: Node, selector: string, root?: NodeOrString): boolean; | 
|  | 1778 | 1781 | |
|  | 1779 | 1782 | /** | 
|  | 1780 | 1783 | * Filters an array of nodes. Note that this does not guarantee to return a NodeList, just an array. | 
|  | 1781 | 1784 | */ | 
|  | 1782 | 1785 | filter<T extends Node>(nodes: NodeList<T> | T[], select: string, root?: NodeOrString): T[] | NodeList<T>; | 
|  | 1783 | 1786 | |
|  | 1784 | 1787 | /** | 
|  | 1785 | 1788 | * can be used as AMD plugin to conditionally load new query engine | 
|  | 1786 | 1789 | */ | 
|  | 1787 | 1790 | load(id: string, parentRequire: Function, loaded: Function): void; /* TODO: Align with loader api */ | 
|  | 1788 | 1791 | } | 
|  | 1789 | 1792 | |
|  | 1790 | 1793 | /* dojo/ready */ | 
|  | 1791 | 1794 | |
|  | 1792 | 1795 | interface Ready { | 
|  | 1793 | 1796 | /** | 
|  | 1794 | 1797 | * Add a function to execute on DOM content loaded and all requested modules have arrived and been evaluated. | 
|  | 1795 | 1798 | * In most cases, the `domReady` plug-in should suffice and this method should not be needed. | 
|  | 1796 | 1799 | * | 
|  | 1797 | 1800 | * When called in a non-browser environment, just checks that all requested modules have arrived and been | 
|  | 1798 | 1801 | * evaluated. | 
|  | 1799 | 1802 | */ | 
|  | 1800 | 1803 | (callback: Function): void; | 
|  | 1801 | 1804 | (context: Object, callback: Function | string): void; | 
|  | 1802 | 1805 | (priority: number, callback: Function): void; | 
|  | 1803 | 1806 | (priority: number, context: Object, callback: Function | string): void; | 
|  | 1804 | 1807 | } | 
|  | 1805 | 1808 | |
|  | 1806 | 1809 | /* dojo/regexp */ | 
|  | 1807 | 1810 | |
|  | 1808 | 1811 | interface RegExpModule { | 
|  | 1809 | 1812 | /** | 
|  | 1810 | 1813 | * Adds escape sequences for special characters in regular expressions | 
|  | 1811 | 1814 | */ | 
|  | 1812 | 1815 | escapeString(str: string, except?: string): string; | 
|  | 1813 | 1816 | |
|  | 1814 | 1817 | /** | 
|  | 1815 | 1818 | * Builds a regular expression that groups subexpressions | 
|  | 1816 | 1819 | */ | 
|  | 1817 | 1820 | buildGroupRE(arr: any[] | Object, re: (item: any) => string, nonCapture?: boolean): string; | 
|  | 1818 | 1821 | |
|  | 1819 | 1822 | /** | 
|  | 1820 | 1823 | * adds group match to expression | 
|  | 1821 | 1824 | */ | 
|  | 1822 | 1825 | group(expression: string, nonCapture?: boolean): string; | 
|  | 1823 | 1826 | } | 
|  | 1824 | 1827 | |
|  | 1825 | 1828 | /* dojo/request */ | 
|  | 1826 | 1829 | |
|  | 1827 | 1830 | /* This is contained in request.d.ts */ | 
|  | 1828 | 1831 | |
|  | 1829 | 1832 | /* dojo/require */ | 
|  | 1830 | 1833 | |
|  | 1831 | 1834 | interface RequirePlugin { | 
|  | 1832 | 1835 | dynamic: number; | 
|  | 1833 | 1836 | normalize(id: string): string; | 
|  | 1834 | 1837 | load(mid: string, require: any, loaded: (...modules: any[]) => void): void; | 
|  | 1835 | 1838 | } | 
|  | 1836 | 1839 | |
|  | 1837 | 1840 | /* dojo/robot */ | 
|  | 1838 | 1841 | |
|  | 1839 | 1842 | interface Robot extends doh.Robot { | 
|  | 1840 | 1843 | _resolveNode(n: NodeOrString | (() => Node)): Node; | 
|  | 1841 | 1844 | _scrollIntoView(n: Node): void; | 
|  | 1842 | 1845 | _position(n: Node): DomGeometryBoxExtents; | 
|  | 1843 | 1846 | _getWindowChain(n: Node): Window[]; | 
|  | 1844 | 1847 | |
|  | 1845 | 1848 | /** | 
|  | 1846 | 1849 | * Scroll the passed node into view, if it is not. | 
|  | 1847 | 1850 | */ | 
|  | 1848 | 1851 | scrollIntoView(node: NodeOrString | (() => Node), delay?: number): void; | 
|  | 1849 | 1852 | |
|  | 1850 | 1853 | /** | 
|  | 1851 | 1854 | * Moves the mouse over the specified node at the specified relative x,y offset. | 
|  | 1852 | 1855 | */ | 
|  | 1853 | 1856 | mouseMoveAt( | 
|  | 1854 | 1857 | node: NodeOrString | (() => Node), | 
|  | 1855 | 1858 | delay?: number, | 
|  | 1856 | 1859 | duration?: number, | 
|  | 1857 | 1860 | offsetX?: number, | 
|  | 1858 | 1861 | offsetY?: number | 
|  | 1859 | 1862 | ): void; | 
|  | 1860 | 1863 | } | 
|  | 1861 | 1864 | |
|  | 1862 | 1865 | /* dojo/robotx */ | 
|  | 1863 | 1866 | |
|  | 1864 | 1867 | interface RobotX extends Robot { | 
|  | 1865 | 1868 | /** | 
|  | 1866 | 1869 | * Called every time a new page is loaded into the iframe, to setup variables | 
|  | 1867 | 1870 | * Point dojo.global, dojo.publish, etc. to refer to iframe. | 
|  | 1868 | 1871 | * Remove for 2.0? | 
|  | 1869 | 1872 | */ | 
|  | 1870 | 1873 | _updateDocument(): void; | 
|  | 1871 | 1874 | |
|  | 1872 | 1875 | /** | 
|  | 1873 | 1876 | * Opens the application at the specified URL for testing, redirecting dojo to point to the application | 
|  | 1874 | 1877 | * environment instead of the test environment. | 
|  | 1875 | 1878 | */ | 
|  | 1876 | 1879 | initRobot(url: string): void; | 
|  | 1877 | 1880 | |
|  | 1878 | 1881 | /** | 
|  | 1879 | 1882 | * Notifies DOH that the doh.robot is about to make a page change in the application it is driving, | 
|  | 1880 | 1883 | * returning a doh.Deferred object the user should return in their runTest function as part of a DOH test. | 
|  | 1881 | 1884 | */ | 
|  | 1882 | 1885 | waitForPageToLoad(submitActions: () => void): any; | 
|  | 1883 | 1886 | } | 
|  | 1884 | 1887 | |
|  | 1885 | 1888 | /* dojo/router */ | 
|  | 1886 | 1889 | |
|  | 1887 | 1890 | /* Module just exports instance of dojo.router.BaseRouter */ | 
|  | 1888 | 1891 | |
|  | 1889 | 1892 | /* dojo/sniff */ | 
|  | 1890 | 1893 | |
|  | 1891 | 1894 | interface Has { | 
|  | 1892 | 1895 | (name: 'air'): boolean; | 
|  | 1893 | 1896 | (name: 'wp'): void | number; | 
|  | 1894 | 1897 | (name: 'msapp'): void | number; | 
|  | 1895 | 1898 | (name: 'khtml'): void | number; | 
|  | 1896 | 1899 | (name: 'edge'): void | number; | 
|  | 1897 | 1900 | (name: 'opr'): void | number; | 
|  | 1898 | 1901 | (name: 'webkit'): void | number; | 
|  | 1899 | 1902 | (name: 'chrome'): void | number; | 
|  | 1900 | 1903 | (name: 'android'): void | number; | 
|  | 1901 | 1904 | (name: 'safari'): void | number; | 
|  | 1902 | 1905 | (name: 'mac'): boolean; | 
|  | 1903 | 1906 | (name: 'quirks'): boolean; | 
|  | 1904 | 1907 | (name: 'iphone'): void | number; | 
|  | 1905 | 1908 | (name: 'ipod'): void | number; | 
|  | 1906 | 1909 | (name: 'ipad'): void | number; | 
|  | 1907 | 1910 | (name: 'ios'): void | number; | 
|  | 1908 | 1911 | (name: 'bb'): void | number | boolean; | 
|  | 1909 | 1912 | (name: 'trident'): void | number; | 
|  | 1910 | 1913 | (name: 'svg'): boolean; | 
|  | 1911 | 1914 | (name: 'opera'): void | number; | 
|  | 1912 | 1915 | (name: 'mozilla'): void | number; | 
|  | 1913 | 1916 | (name: 'ff'): void | number; | 
|  | 1914 | 1917 | (name: 'ie'): void | number; | 
|  | 1915 | 1918 | (name: 'wii'): boolean | any; | 
|  | 1916 | 1919 | } | 
|  | 1917 | 1920 | |
|  | 1918 | 1921 | /* Just rexports has after adding features */ | 
|  | 1919 | 1922 | |
|  | 1920 | 1923 | /* dojo/Stateful */ | 
|  | 1921 | 1924 | |
|  | 1922 | 1925 | interface WatchHandle extends Handle { | 
|  | 1923 | 1926 | unwatch(): void; | 
|  | 1924 | 1927 | } | 
|  | 1925 | 1928 | |
|  | 1926 | 1929 | interface Stateful<T = any> { | 
|  | 1927 | 1930 | /** | 
|  | 1928 | 1931 | * Used across all instances a hash to cache attribute names and their getter | 
|  | 1929 | 1932 | * and setter names. | 
|  | 1930 | 1933 | */ | 
|  | 1931 | 1934 | _attrPairNames: { [attr: string]: string }; | 
|  | 1932 | 1935 | |
|  | 1933 | 1936 | /** | 
|  | 1934 | 1937 | * Helper function for get() and set(). | 
|  | 1935 | 1938 | * Caches attribute name values so we don't do the string ops every time. | 
|  | 1936 | 1939 | */ | 
|  | 1937 | 1940 | _getAttrNames(name: string): string; | 
|  | 1938 | 1941 | |
|  | 1939 | 1942 | /** | 
|  | 1940 | 1943 | * Automatic setting of params during construction | 
|  | 1941 | 1944 | */ | 
|  | 1942 | 1945 | postscript(params?: Object): void; | 
|  | 1943 | 1946 | |
|  | 1944 | 1947 | /** | 
|  | 1945 | 1948 | * Get a property on a Stateful instance. | 
|  | 1946 | 1949 | */ | 
|  | 1947 | 1950 | get<K extends keyof T & string>(name: K): T[K]; | 
|  | 1948 | 1951 | |
|  | 1949 | 1952 | /** | 
|  | 1950 | 1953 | * Set a property on a Stateful instance | 
|  | 1951 | 1954 | */ | 
|  | 1952 | 1955 | set<K extends keyof T & string>(name: K, value: T[K]): this; | 
|  | 1953 | 1956 | set<K extends { [p in keyof T]: T[p] extends any[] ? p : never; }[keyof T & string] >(name: K, ...values: T[K]): this; | 
|  | 1954 | 1957 | set(values: Partial<T>): this; | 
|  | 1955 | 1958 | |
|  | 1956 | 1959 | /** | 
|  | 1957 | 1960 | * Internal helper for directly changing an attribute value. | 
|  | 1958 | 1961 | */ | 
|  | 1959 | 1962 | _changeAttrValue(name: string, value: any): this; | 
|  | 1960 | 1963 | |
|  | 1961 | 1964 | /** | 
|  | 1962 | 1965 | * Watches a property for changes | 
|  | 1963 | 1966 | */ | 
|  | 1964 | 1967 | watch(callback:(prop: keyof any, oldValue: any, newValue: any) => void): WatchHandle; | 
|  | 1965 | 1968 | watch<K extends keyof T>(name: K, callback: (prop: K, oldValue: T[K], newValue: T[K]) => void): WatchHandle; | 
|  | 1966 | 1969 | } | 
|  | 1967 | 1970 | |
|  | 1968 | 1971 | interface StatefulConstructor extends _base.DeclareConstructor<Stateful> { | 
|  | 1969 | 1972 | new <T>(params?: Partial<T>): Stateful<T>; | 
|  | 1970 | 1973 | } | 
|  | 1971 | 1974 | |
|  | 1972 | 1975 | /* dojo/string */ | 
|  | 1973 | 1976 | |
|  | 1974 | 1977 | interface String { | 
|  | 1975 | 1978 | |
|  | 1976 | 1979 | /** | 
|  | 1977 | 1980 | * Efficiently escape a string for insertion into HTML (innerHTML or attributes), replacing &, <, >, ", ', and / characters. | 
|  | 1978 | 1981 | */ | 
|  | 1979 | 1982 | escape(str: string): string; | 
|  | 1980 | 1983 | |
|  | 1981 | 1984 | /** | 
|  | 1982 | 1985 | * Efficiently replicate a string `n` times. | 
|  | 1983 | 1986 | */ | 
|  | 1984 | 1987 | rep(str: string, num: number): string; | 
|  | 1985 | 1988 | |
|  | 1986 | 1989 | /** | 
|  | 1987 | 1990 | * Pad a string to guarantee that it is at least `size` length by | 
|  | 1988 | 1991 | * filling with the character `ch` at either the start or end of the | 
|  | 1989 | 1992 | * string. Pads at the start, by default. | 
|  | 1990 | 1993 | */ | 
|  | 1991 | 1994 | pad(text: string, size: number, ch?: string, end?: boolean): string; | 
|  | 1992 | 1995 | |
|  | 1993 | 1996 | /** | 
|  | 1994 | 1997 | * Performs parameterized substitutions on a string. Throws an | 
|  | 1995 | 1998 | * exception if any parameter is unmatched. | 
|  | 1996 | 1999 | */ | 
|  | 1997 | 2000 | substitute(template: string, map: Object | any[], transform?: (value: any, key: string) => any, thisObject?: Object): string; | 
|  | 1998 | 2001 | |
|  | 1999 | 2002 | /** | 
|  | 2000 | 2003 | * Trims whitespace from both sides of the string | 
|  | 2001 | 2004 | */ | 
|  | 2002 | 2005 | trim(str: string): string; | 
|  | 2003 | 2006 | } | 
|  | 2004 | 2007 | |
|  | 2005 | 2008 | /* dojo/text */ | 
|  | 2006 | 2009 | |
|  | 2007 | 2010 | /** | 
|  | 2008 | 2011 | * A getter and setter for storing the string content associated with the | 
|  | 2009 | 2012 | * module and url arguments. | 
|  | 2010 | 2013 | */ | 
|  | 2011 | 2014 | interface Cache { | 
|  | 2012 | 2015 | (module: string | GenericObject, url: string, value?: string | { value: string, sanitize?: boolean }): string; | 
|  | 2013 | 2016 | } | 
|  | 2014 | 2017 | |
|  | 2015 | 2018 | interface Text { | 
|  | 2016 | 2019 | /** | 
|  | 2017 | 2020 | * the dojo/text caches it's own resources because of dojo.cache | 
|  | 2018 | 2021 | */ | 
|  | 2019 | 2022 | dynamic: boolean; | 
|  | 2020 | 2023 | |
|  | 2021 | 2024 | normalize(id: string, toAbsMid: Function): string; /* TODO: Align with loader api */ | 
|  | 2022 | 2025 | |
|  | 2023 | 2026 | load(id: string, parentRequire: Function, loaded: Function): void; /* TODO: Align with loader api */ | 
|  | 2024 | 2027 | } | 
|  | 2025 | 2028 | |
|  | 2026 | 2029 | /* dojo/throttle */ | 
|  | 2027 | 2030 | |
|  | 2028 | 2031 | interface Throttle { | 
|  | 2029 | 2032 | <T extends Function>(cb: T, wait: number): T; | 
|  | 2030 | 2033 | } | 
|  | 2031 | 2034 | |
|  | 2032 | 2035 | /* dojo/topic */ | 
|  | 2033 | 2036 | |
|  | 2034 | 2037 | interface Topic { | 
|  | 2035 | 2038 | /** | 
|  | 2036 | 2039 | * Publishes a message to a topic on the pub/sub hub. All arguments after | 
|  | 2037 | 2040 | * the first will be passed to the subscribers, so any number of arguments | 
|  | 2038 | 2041 | * can be provided (not just event). | 
|  | 2039 | 2042 | */ | 
|  | 2040 | 2043 | publish(topic: string | ExtensionEvent, ...event: any[]): boolean; | 
|  | 2041 | 2044 | |
|  | 2042 | 2045 | /** | 
|  | 2043 | 2046 | * Subscribes to a topic on the pub/sub hub | 
|  | 2044 | 2047 | */ | 
|  | 2045 | 2048 | subscribe(topic: string | ExtensionEvent, listener: EventListener | Function): Handle; | 
|  | 2046 | 2049 | } | 
|  | 2047 | 2050 | |
|  | 2048 | 2051 | /* dojo/touch */ | 
|  | 2049 | 2052 | |
|  | 2050 | 2053 | interface Touch { | 
|  | 2051 | 2054 | press: ExtensionEvent; | 
|  | 2052 | 2055 | move: ExtensionEvent; | 
|  | 2053 | 2056 | release: ExtensionEvent; | 
|  | 2054 | 2057 | cancel: ExtensionEvent; | 
|  | 2055 | 2058 | over: ExtensionEvent; | 
|  | 2056 | 2059 | out: ExtensionEvent; | 
|  | 2057 | 2060 | enter: ExtensionEvent; | 
|  | 2058 | 2061 | leave: ExtensionEvent; | 
|  | 2059 | 2062 | } | 
|  | 2060 | 2063 | |
|  | 2061 | 2064 | /* dojo/uacss */ | 
|  | 2062 | 2065 | |
|  | 2063 | 2066 | /* rexports has after adding classes to dom */ | 
|  | 2064 | 2067 | |
|  | 2065 | 2068 | /* dojo/when */ | 
|  | 2066 | 2069 | |
|  | 2067 | 2070 | interface When { | 
|  | 2068 | 2071 | /** | 
|  | 2069 | 2072 | * Transparently applies callbacks to values and/or promises. | 
|  | 2070 | 2073 | */ | 
|  | 2071 | 2074 | <T>(value: T | dojo.promise.Promise<T>): dojo.promise.Promise<T>; | 
|  | 2072 | 2075 | <T>(value: T | dojo.promise.Promise<T>, | 
|  | 2073 | 2076 | callback?: dojo.promise.PromiseCallback<T, T>, | 
|  | 2074 | 2077 | errback?: dojo.promise.PromiseErrback<T>, | 
|  | 2075 | 2078 | progress?: dojo.promise.PromiseProgback): T | dojo.promise.Promise<T>; | 
|  | 2076 | 2079 | <T, U>(value: T | dojo.promise.Promise<T>, | 
|  | 2077 | 2080 | callback?: dojo.promise.PromiseCallback<T, U>, | 
|  | 2078 | 2081 | errback?: dojo.promise.PromiseErrback<U>, | 
|  | 2079 | 2082 | progress?: dojo.promise.PromiseProgback): U | dojo.promise.Promise<U>; | 
|  | 2080 | 2083 | } | 
|  | 2081 | 2084 | |
|  | 2082 | 2085 | /* dojo/window */ | 
|  | 2083 | 2086 | |
|  | 2084 | 2087 | interface WindowModule { | 
|  | 2085 | 2088 | |
|  | 2086 | 2089 | /** | 
|  | 2087 | 2090 | * Returns the dimensions and scroll position of the viewable area of a browser window | 
|  | 2088 | 2091 | */ | 
|  | 2089 | 2092 | getBox(doc?: Document): DomGeometryBox; | 
|  | 2090 | 2093 | |
|  | 2091 | 2094 | /** | 
|  | 2092 | 2095 | * Get window object associated with document doc. | 
|  | 2093 | 2096 | */ | 
|  | 2094 | 2097 | get(doc?: Document): Window; | 
|  | 2095 | 2098 | |
|  | 2096 | 2099 | /** | 
|  | 2097 | 2100 | * Scroll the passed node into view using minimal movement, if it is not already. | 
|  | 2098 | 2101 | */ | 
|  | 2099 | 2102 | scrollIntoView(node: Element, pos?: DomGeometryXYBox): void; | 
|  | 2100 | 2103 | } | 
|  | 2101 | 2104 | } | 
| @@ -1,23 +1,24 | |||
|  | 1 | 1 | { | 
|  | 2 | 2 | "extends": "../tsconfig", | 
|  | 3 | 3 | "compilerOptions": { | 
|  | 4 | 4 | "baseUrl": ".", | 
|  | 5 | 5 | "rootDir": "ts", | 
|  | 6 | 6 | "rootDirs": [ | 
|  | 7 | 7 | "ts", | 
|  | 8 | 8 | "typings", | 
|  | 9 | 9 | "../main/ts" | 
|  | 10 | 10 | ], | 
|  | 11 | 11 | "types": [ | 
|  | 12 | 12 | "requirejs", | 
|  | 13 | "../main/typings" | |
|  | 13 | "../main/typings", | |
|  | 14 | "../main/typings/dojo/NodeList-fx" | |
|  | 14 | 15 | ], | 
|  | 15 | 16 | "module": "ESNext", | 
|  | 16 | 17 | "target": "ESNext" | 
|  | 17 | 18 | }, | 
|  | 18 | 19 | "include": [ | 
|  | 19 | 20 | "typings/**/*.ts", | 
|  | 20 | 21 | "ts/**/*.ts", | 
|  | 21 | 22 | "ts/**/*.tsx" | 
|  | 22 | 23 | ] | 
|  | 23 | 24 | } No newline at end of file | 
        
        General Comments 0
    
    
  
  
                      You need to be logged in to leave comments.
                      Login now
                    
                