diff --git a/atoms-debug.js b/atoms-debug.js index 1bec0e81..e0433908 100644 --- a/atoms-debug.js +++ b/atoms-debug.js @@ -1797,7 +1797,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 70 - 'Stop.js' */ var e = this.get_errors(); /*Line 71 - 'Stop.js' */ if (e && e.length) { -/*Line 72 - 'Stop.js' */ alert(Atom.mapJoin(e,"label","\n")); +/*Line 72 - 'Stop.js' */ Atom.alert(Atom.mapJoin(e,"label","\n")); /*Line 73 - 'Stop.js' */ return; /*Line 74 - 'Stop.js' */ } /*Line 75 - 'Stop.js' */ this.invokeAction(action); @@ -1806,7 +1806,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 79 - 'Stop.js' */$x.alert = function (msg) { /*Line 80 - 'Stop.js' */ return function () { -/*Line 81 - 'Stop.js' */ alert(msg); +/*Line 81 - 'Stop.js' */ Atom.alert(msg); /*Line 82 - 'Stop.js' */ }; /*Line 83 - 'Stop.js' */}; @@ -2740,10 +2740,10 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 37 - 'Atom.js' */var Atom = { /*Line 39 - 'Atom.js' */ version: { -/*Line 40 - 'Atom.js' */ text: "2.1.103", +/*Line 40 - 'Atom.js' */ text: "2.1.106", /*Line 41 - 'Atom.js' */ major: 2, /*Line 42 - 'Atom.js' */ minor: 1, -/*Line 43 - 'Atom.js' */ build: 103 +/*Line 43 - 'Atom.js' */ build: 106 /*Line 44 - 'Atom.js' */ }, /*Line 46 - 'Atom.js' */ refreshWindowCommand: function () { @@ -4681,450 +4681,456 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 185 - 'AtomPromise.js' */ } /*Line 186 - 'AtomPromise.js' */}; -/*Line 188 - 'AtomPromise.js' */AtomPromise.parseDates = function (obj) { -/*Line 189 - 'AtomPromise.js' */ if (!obj) -/*Line 190 - 'AtomPromise.js' */ return obj; -/*Line 191 - 'AtomPromise.js' */ var type = typeof (obj); -/*Line 192 - 'AtomPromise.js' */ if (type === 'object') { -/*Line 193 - 'AtomPromise.js' */ if (typeof (obj.length) !== 'undefined') { -/*Line 194 - 'AtomPromise.js' */ for (var i = 0; i < obj.length; i++) { -/*Line 195 - 'AtomPromise.js' */ obj[i] = AtomPromise.parseDates(obj[i]); -/*Line 196 - 'AtomPromise.js' */ } -/*Line 197 - 'AtomPromise.js' */ return obj; -/*Line 198 - 'AtomPromise.js' */ } - -/*Line 200 - 'AtomPromise.js' */ for (var k in obj) { -/*Line 201 - 'AtomPromise.js' */ var v = obj[k]; -/*Line 202 - 'AtomPromise.js' */ if (!v) -/*Line 203 - 'AtomPromise.js' */ continue; -/*Line 204 - 'AtomPromise.js' */ obj[k] = AtomPromise.parseDates(v); -/*Line 205 - 'AtomPromise.js' */ } - -/*Line 207 - 'AtomPromise.js' */ } -/*Line 208 - 'AtomPromise.js' */ if (typeof (obj) === 'string' || obj.constructor === String) { -/*Line 209 - 'AtomPromise.js' */ if (/^\/date\(/gi.test(obj) && /\)\/$/gi.test(obj)) { -/*Line 210 - 'AtomPromise.js' */ return AtomDate.parse(obj); -/*Line 211 - 'AtomPromise.js' */ } -/*Line 212 - 'AtomPromise.js' */ } -/*Line 213 - 'AtomPromise.js' */ return obj; -/*Line 214 - 'AtomPromise.js' */}; - -/*Line 216 - 'AtomPromise.js' */AtomPromise.ajax = function (url, query, options, type) { -/*Line 217 - 'AtomPromise.js' */ var p = new AtomPromise(); - -/*Line 219 - 'AtomPromise.js' */ if (!options) { -/*Line 220 - 'AtomPromise.js' */ options = { -/*Line 221 - 'AtomPromise.js' */ type: "GET", -/*Line 222 - 'AtomPromise.js' */ dataType: "text", -/*Line 223 - 'AtomPromise.js' */ data: null -/*Line 224 - 'AtomPromise.js' */ }; -/*Line 225 - 'AtomPromise.js' */ } - -/*Line 227 - 'AtomPromise.js' */ if (AtomConfig.ajax.versionUrl) -/*Line 228 - 'AtomPromise.js' */ { -/*Line 229 - 'AtomPromise.js' */ if (options.versionUrl !== undefined && options.versionUrl) { -/*Line 230 - 'AtomPromise.js' */ query = query || {}; -/*Line 231 - 'AtomPromise.js' */ query[AtomConfig.ajax.versionKey] = AtomConfig.ajax.version; -/*Line 232 - 'AtomPromise.js' */ } -/*Line 233 - 'AtomPromise.js' */ } - - -/*Line 236 - 'AtomPromise.js' */ options.success = p.success; -/*Line 237 - 'AtomPromise.js' */ options.error = p.error; - -/*Line 239 - 'AtomPromise.js' */ // caching is disabled by default... -/*Line 240 - 'AtomPromise.js' */ if (options.cache === undefined) { -/*Line 241 - 'AtomPromise.js' */ options.cache = false; - -/*Line 243 - 'AtomPromise.js' */ } - - -/*Line 246 - 'AtomPromise.js' */ var u = url; - -/*Line 248 - 'AtomPromise.js' */ var dh = AtomConfig.ajax.headers; -/*Line 249 - 'AtomPromise.js' */ if (dh) { -/*Line 250 - 'AtomPromise.js' */ if (!options.headers) { -/*Line 251 - 'AtomPromise.js' */ options.headers = {}; -/*Line 252 - 'AtomPromise.js' */ } -/*Line 253 - 'AtomPromise.js' */ for (var k in dh) { -/*Line 254 - 'AtomPromise.js' */ var v = dh[k]; -/*Line 255 - 'AtomPromise.js' */ options.headers[k] = v; -/*Line 256 - 'AtomPromise.js' */ if (AtomConfig.debug) { -/*Line 257 - 'AtomPromise.js' */ log("Header set: " + k + "=" + v); -/*Line 258 - 'AtomPromise.js' */ } -/*Line 259 - 'AtomPromise.js' */ } -/*Line 260 - 'AtomPromise.js' */ } - - -/*Line 263 - 'AtomPromise.js' */ var sc = AtomConfig.ajax.statusCode; -/*Line 264 - 'AtomPromise.js' */ if (sc) { -/*Line 265 - 'AtomPromise.js' */ var osc = options.statusCode || {}; -/*Line 266 - 'AtomPromise.js' */ for (var k in sc) { -/*Line 267 - 'AtomPromise.js' */ var v = sc[k]; -/*Line 268 - 'AtomPromise.js' */ if (!osc[k]) { -/*Line 269 - 'AtomPromise.js' */ osc[k] = v; -/*Line 270 - 'AtomPromise.js' */ } -/*Line 271 - 'AtomPromise.js' */ } -/*Line 272 - 'AtomPromise.js' */ options.statusCode = osc; -/*Line 273 - 'AtomPromise.js' */ } - -/*Line 275 - 'AtomPromise.js' */ var o = options; - -/*Line 277 - 'AtomPromise.js' */ var data = o.data; - -/*Line 279 - 'AtomPromise.js' */ if (data) { -/*Line 280 - 'AtomPromise.js' */ o.data = AtomBinder.getClone(data); -/*Line 281 - 'AtomPromise.js' */ } -/*Line 282 - 'AtomPromise.js' */ var e = AtomConfig.ajax.jsonPostEncode; -/*Line 283 - 'AtomPromise.js' */ if (e) { -/*Line 284 - 'AtomPromise.js' */ o = e(o); -/*Line 285 - 'AtomPromise.js' */ } else { -/*Line 286 - 'AtomPromise.js' */ o.data = { formModel: JSON.stringify(o.data) }; +/*Line 188 - 'AtomPromise.js' */var reISO = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*))(?:Z|(\+|-)([\d|:]*))?$/; + +/*Line 190 - 'AtomPromise.js' */AtomPromise.parseDates = function (obj) { +/*Line 191 - 'AtomPromise.js' */ if (!obj) +/*Line 192 - 'AtomPromise.js' */ return obj; +/*Line 193 - 'AtomPromise.js' */ var type = typeof (obj); +/*Line 194 - 'AtomPromise.js' */ if (type === 'object') { +/*Line 195 - 'AtomPromise.js' */ if (typeof (obj.length) !== 'undefined') { +/*Line 196 - 'AtomPromise.js' */ for (var i = 0; i < obj.length; i++) { +/*Line 197 - 'AtomPromise.js' */ obj[i] = AtomPromise.parseDates(obj[i]); +/*Line 198 - 'AtomPromise.js' */ } +/*Line 199 - 'AtomPromise.js' */ return obj; +/*Line 200 - 'AtomPromise.js' */ } + +/*Line 202 - 'AtomPromise.js' */ for (var k in obj) { +/*Line 203 - 'AtomPromise.js' */ var v = obj[k]; +/*Line 204 - 'AtomPromise.js' */ if (!v) +/*Line 205 - 'AtomPromise.js' */ continue; +/*Line 206 - 'AtomPromise.js' */ obj[k] = AtomPromise.parseDates(v); +/*Line 207 - 'AtomPromise.js' */ } + +/*Line 209 - 'AtomPromise.js' */ } +/*Line 210 - 'AtomPromise.js' */ if (typeof (obj) === 'string' || obj.constructor === String) { +/*Line 211 - 'AtomPromise.js' */ if (/^\/date\(/gi.test(obj) && /\)\/$/gi.test(obj)) { +/*Line 212 - 'AtomPromise.js' */ return AtomDate.parse(obj); +/*Line 213 - 'AtomPromise.js' */ } + +/*Line 215 - 'AtomPromise.js' */ if (reISO.test(obj)) { +/*Line 216 - 'AtomPromise.js' */ return new Date(obj); +/*Line 217 - 'AtomPromise.js' */ } +/*Line 218 - 'AtomPromise.js' */ } +/*Line 219 - 'AtomPromise.js' */ return obj; +/*Line 220 - 'AtomPromise.js' */}; + +/*Line 222 - 'AtomPromise.js' */AtomPromise.ajax = function (url, query, options, type) { +/*Line 223 - 'AtomPromise.js' */ var p = new AtomPromise(); + +/*Line 225 - 'AtomPromise.js' */ if (!options) { +/*Line 226 - 'AtomPromise.js' */ options = { +/*Line 227 - 'AtomPromise.js' */ type: "GET", +/*Line 228 - 'AtomPromise.js' */ dataType: "text", +/*Line 229 - 'AtomPromise.js' */ data: null +/*Line 230 - 'AtomPromise.js' */ }; +/*Line 231 - 'AtomPromise.js' */ } + +/*Line 233 - 'AtomPromise.js' */ if (AtomConfig.ajax.versionUrl) +/*Line 234 - 'AtomPromise.js' */ { +/*Line 235 - 'AtomPromise.js' */ if (options.versionUrl !== undefined && options.versionUrl) { +/*Line 236 - 'AtomPromise.js' */ query = query || {}; +/*Line 237 - 'AtomPromise.js' */ query[AtomConfig.ajax.versionKey] = AtomConfig.ajax.version; +/*Line 238 - 'AtomPromise.js' */ } +/*Line 239 - 'AtomPromise.js' */ } + + +/*Line 242 - 'AtomPromise.js' */ options.success = p.success; +/*Line 243 - 'AtomPromise.js' */ options.error = p.error; + +/*Line 245 - 'AtomPromise.js' */ // caching is disabled by default... +/*Line 246 - 'AtomPromise.js' */ if (options.cache === undefined) { +/*Line 247 - 'AtomPromise.js' */ options.cache = false; + +/*Line 249 - 'AtomPromise.js' */ } + + +/*Line 252 - 'AtomPromise.js' */ var u = url; + +/*Line 254 - 'AtomPromise.js' */ var dh = AtomConfig.ajax.headers; +/*Line 255 - 'AtomPromise.js' */ if (dh) { +/*Line 256 - 'AtomPromise.js' */ if (!options.headers) { +/*Line 257 - 'AtomPromise.js' */ options.headers = {}; +/*Line 258 - 'AtomPromise.js' */ } +/*Line 259 - 'AtomPromise.js' */ for (var k in dh) { +/*Line 260 - 'AtomPromise.js' */ var v = dh[k]; +/*Line 261 - 'AtomPromise.js' */ options.headers[k] = v; +/*Line 262 - 'AtomPromise.js' */ if (AtomConfig.debug) { +/*Line 263 - 'AtomPromise.js' */ log("Header set: " + k + "=" + v); +/*Line 264 - 'AtomPromise.js' */ } +/*Line 265 - 'AtomPromise.js' */ } +/*Line 266 - 'AtomPromise.js' */ } + + +/*Line 269 - 'AtomPromise.js' */ var sc = AtomConfig.ajax.statusCode; +/*Line 270 - 'AtomPromise.js' */ if (sc) { +/*Line 271 - 'AtomPromise.js' */ var osc = options.statusCode || {}; +/*Line 272 - 'AtomPromise.js' */ for (var k in sc) { +/*Line 273 - 'AtomPromise.js' */ var v = sc[k]; +/*Line 274 - 'AtomPromise.js' */ if (!osc[k]) { +/*Line 275 - 'AtomPromise.js' */ osc[k] = v; +/*Line 276 - 'AtomPromise.js' */ } +/*Line 277 - 'AtomPromise.js' */ } +/*Line 278 - 'AtomPromise.js' */ options.statusCode = osc; +/*Line 279 - 'AtomPromise.js' */ } + +/*Line 281 - 'AtomPromise.js' */ var o = options; + +/*Line 283 - 'AtomPromise.js' */ var data = o.data; + +/*Line 285 - 'AtomPromise.js' */ if (data) { +/*Line 286 - 'AtomPromise.js' */ o.data = AtomBinder.getClone(data); /*Line 287 - 'AtomPromise.js' */ } - -/*Line 289 - 'AtomPromise.js' */ var attachments = o.attachments; -/*Line 290 - 'AtomPromise.js' */ if (attachments && attachments.length) { -/*Line 291 - 'AtomPromise.js' */ var fd = new FormData(); -/*Line 292 - 'AtomPromise.js' */ var ae = new AtomEnumerator(attachments); -/*Line 293 - 'AtomPromise.js' */ while (ae.next()) { -/*Line 294 - 'AtomPromise.js' */ fd.append("file" + ae.currentIndex(), ae.current()); -/*Line 295 - 'AtomPromise.js' */ } -/*Line 296 - 'AtomPromise.js' */ if (data) { -/*Line 297 - 'AtomPromise.js' */ for (var k in data) { -/*Line 298 - 'AtomPromise.js' */ fd.append(k, data[k]); -/*Line 299 - 'AtomPromise.js' */ } -/*Line 300 - 'AtomPromise.js' */ } -/*Line 301 - 'AtomPromise.js' */ o.type = "POST"; -/*Line 302 - 'AtomPromise.js' */ o.xhr = function () { -/*Line 303 - 'AtomPromise.js' */ var myXhr = $.ajaxSettings.xhr(); -/*Line 304 - 'AtomPromise.js' */ if (myXhr.upload) { -/*Line 305 - 'AtomPromise.js' */ myXhr.upload.addEventListener('progress', function (e) { -/*Line 306 - 'AtomPromise.js' */ if (e.lengthComputable) { -/*Line 307 - 'AtomPromise.js' */ var percentComplete = Math.round(e.loaded * 100 / e.total); -/*Line 308 - 'AtomPromise.js' */ AtomBinder.setValue(atomApplication, 'progress', percentComplete); -/*Line 309 - 'AtomPromise.js' */ } -/*Line 310 - 'AtomPromise.js' */ }, false); -/*Line 311 - 'AtomPromise.js' */ } -/*Line 312 - 'AtomPromise.js' */ return myXhr; -/*Line 313 - 'AtomPromise.js' */ }; -/*Line 314 - 'AtomPromise.js' */ o.cache = false; -/*Line 315 - 'AtomPromise.js' */ o.contentType = false; -/*Line 316 - 'AtomPromise.js' */ o.processData = false; -/*Line 317 - 'AtomPromise.js' */ } - -/*Line 319 - 'AtomPromise.js' */ if (query) { -/*Line 320 - 'AtomPromise.js' */ var q = {}; -/*Line 321 - 'AtomPromise.js' */ if (!o.sendRawQueryString) { -/*Line 322 - 'AtomPromise.js' */ for (var k in query) { -/*Line 323 - 'AtomPromise.js' */ var v = query[k]; -/*Line 324 - 'AtomPromise.js' */ if (v && ((typeof v) === "object")) { -/*Line 325 - 'AtomPromise.js' */ v = JSON.stringify(AtomBinder.getClone(v)); -/*Line 326 - 'AtomPromise.js' */ if (v === undefined) -/*Line 327 - 'AtomPromise.js' */ continue; -/*Line 328 - 'AtomPromise.js' */ if (v === null) -/*Line 329 - 'AtomPromise.js' */ continue; -/*Line 330 - 'AtomPromise.js' */ } -/*Line 331 - 'AtomPromise.js' */ q[k] = v; -/*Line 332 - 'AtomPromise.js' */ } -/*Line 333 - 'AtomPromise.js' */ } -/*Line 334 - 'AtomPromise.js' */ u = Atom.url(url, q); -/*Line 335 - 'AtomPromise.js' */ } - -/*Line 337 - 'AtomPromise.js' */ if (url) { -/*Line 338 - 'AtomPromise.js' */ p.onInvoke(function () { -/*Line 339 - 'AtomPromise.js' */ p.handle = $.ajax(u, o); -/*Line 340 - 'AtomPromise.js' */ }); +/*Line 288 - 'AtomPromise.js' */ var e = AtomConfig.ajax.jsonPostEncode; +/*Line 289 - 'AtomPromise.js' */ if (e) { +/*Line 290 - 'AtomPromise.js' */ o = e(o); +/*Line 291 - 'AtomPromise.js' */ } else { +/*Line 292 - 'AtomPromise.js' */ o.data = { formModel: JSON.stringify(o.data) }; +/*Line 293 - 'AtomPromise.js' */ } + +/*Line 295 - 'AtomPromise.js' */ var attachments = o.attachments; +/*Line 296 - 'AtomPromise.js' */ if (attachments && attachments.length) { +/*Line 297 - 'AtomPromise.js' */ var fd = new FormData(); +/*Line 298 - 'AtomPromise.js' */ var ae = new AtomEnumerator(attachments); +/*Line 299 - 'AtomPromise.js' */ while (ae.next()) { +/*Line 300 - 'AtomPromise.js' */ fd.append("file" + ae.currentIndex(), ae.current()); +/*Line 301 - 'AtomPromise.js' */ } +/*Line 302 - 'AtomPromise.js' */ if (data) { +/*Line 303 - 'AtomPromise.js' */ for (var k in data) { +/*Line 304 - 'AtomPromise.js' */ fd.append(k, data[k]); +/*Line 305 - 'AtomPromise.js' */ } +/*Line 306 - 'AtomPromise.js' */ } +/*Line 307 - 'AtomPromise.js' */ o.type = "POST"; +/*Line 308 - 'AtomPromise.js' */ o.xhr = function () { +/*Line 309 - 'AtomPromise.js' */ var myXhr = $.ajaxSettings.xhr(); +/*Line 310 - 'AtomPromise.js' */ if (myXhr.upload) { +/*Line 311 - 'AtomPromise.js' */ myXhr.upload.addEventListener('progress', function (e) { +/*Line 312 - 'AtomPromise.js' */ if (e.lengthComputable) { +/*Line 313 - 'AtomPromise.js' */ var percentComplete = Math.round(e.loaded * 100 / e.total); +/*Line 314 - 'AtomPromise.js' */ AtomBinder.setValue(atomApplication, 'progress', percentComplete); +/*Line 315 - 'AtomPromise.js' */ } +/*Line 316 - 'AtomPromise.js' */ }, false); +/*Line 317 - 'AtomPromise.js' */ } +/*Line 318 - 'AtomPromise.js' */ return myXhr; +/*Line 319 - 'AtomPromise.js' */ }; +/*Line 320 - 'AtomPromise.js' */ o.cache = false; +/*Line 321 - 'AtomPromise.js' */ o.contentType = false; +/*Line 322 - 'AtomPromise.js' */ o.processData = false; +/*Line 323 - 'AtomPromise.js' */ } + +/*Line 325 - 'AtomPromise.js' */ if (query) { +/*Line 326 - 'AtomPromise.js' */ var q = {}; +/*Line 327 - 'AtomPromise.js' */ if (!o.sendRawQueryString) { +/*Line 328 - 'AtomPromise.js' */ for (var k in query) { +/*Line 329 - 'AtomPromise.js' */ var v = query[k]; +/*Line 330 - 'AtomPromise.js' */ if (v && ((typeof v) === "object")) { +/*Line 331 - 'AtomPromise.js' */ v = JSON.stringify(AtomBinder.getClone(v)); +/*Line 332 - 'AtomPromise.js' */ if (v === undefined) +/*Line 333 - 'AtomPromise.js' */ continue; +/*Line 334 - 'AtomPromise.js' */ if (v === null) +/*Line 335 - 'AtomPromise.js' */ continue; +/*Line 336 - 'AtomPromise.js' */ } +/*Line 337 - 'AtomPromise.js' */ q[k] = v; +/*Line 338 - 'AtomPromise.js' */ } +/*Line 339 - 'AtomPromise.js' */ } +/*Line 340 - 'AtomPromise.js' */ u = Atom.url(url, q); /*Line 341 - 'AtomPromise.js' */ } -/*Line 343 - 'AtomPromise.js' */ p.failed(function () { - -/*Line 345 - 'AtomPromise.js' */ var res = p.errors[0].responseText; -/*Line 346 - 'AtomPromise.js' */ if (!res || p.errors[2] !== 'Internal Server Error') { -/*Line 347 - 'AtomPromise.js' */ var m = p.errors[2]; -/*Line 348 - 'AtomPromise.js' */ if (m) -/*Line 349 - 'AtomPromise.js' */ res = m; -/*Line 350 - 'AtomPromise.js' */ } - -/*Line 352 - 'AtomPromise.js' */ p.error = { -/*Line 353 - 'AtomPromise.js' */ msg: res -/*Line 354 - 'AtomPromise.js' */ }; - -/*Line 356 - 'AtomPromise.js' */ if (p._showError) { -/*Line 357 - 'AtomPromise.js' */ if (p.error.msg) Atom.alert(p.error.msg); -/*Line 358 - 'AtomPromise.js' */ } -/*Line 359 - 'AtomPromise.js' */ }); - -/*Line 361 - 'AtomPromise.js' */ p.then(function (p) { -/*Line 362 - 'AtomPromise.js' */ var v = p.value(); -/*Line 363 - 'AtomPromise.js' */ v = AtomPromise.parseDates(v); -/*Line 364 - 'AtomPromise.js' */ if (v && v.items && v.merge) { -/*Line 365 - 'AtomPromise.js' */ v.items.total = v.total; -/*Line 366 - 'AtomPromise.js' */ v = v.items; -/*Line 367 - 'AtomPromise.js' */ p.value(v); -/*Line 368 - 'AtomPromise.js' */ } -/*Line 369 - 'AtomPromise.js' */ }); - -/*Line 371 - 'AtomPromise.js' */ p.showError(true); -/*Line 372 - 'AtomPromise.js' */ p.showProgress(true); - -/*Line 374 - 'AtomPromise.js' */ return p; -/*Line 375 - 'AtomPromise.js' */}; - -/*Line 377 - 'AtomPromise.js' */AtomPromise.get = function (url, query, options) { -/*Line 378 - 'AtomPromise.js' */ options = options || {}; -/*Line 379 - 'AtomPromise.js' */ options.type = options.type || "get"; -/*Line 380 - 'AtomPromise.js' */ options.dataType = options.dataType || "text"; -/*Line 381 - 'AtomPromise.js' */ return AtomPromise.ajax(url, query, options, "get"); -/*Line 382 - 'AtomPromise.js' */}; - -/*Line 384 - 'AtomPromise.js' */AtomPromise.plugins = { -/*Line 385 - 'AtomPromise.js' */}; - -/*Line 387 - 'AtomPromise.js' */AtomPromise.json = function (url, query, options) { -/*Line 388 - 'AtomPromise.js' */ options = options || {}; -/*Line 389 - 'AtomPromise.js' */ options.type = options.type || "get"; -/*Line 390 - 'AtomPromise.js' */ options.dataType = options.dataType || "json"; - -/*Line 392 - 'AtomPromise.js' */ var method = null; - -/*Line 394 - 'AtomPromise.js' */ var i = url.indexOf('://'); -/*Line 395 - 'AtomPromise.js' */ if (i !== -1) { -/*Line 396 - 'AtomPromise.js' */ var plugin = url.substr(0, i); -/*Line 397 - 'AtomPromise.js' */ if (!/http|https/i.test(plugin)) { -/*Line 398 - 'AtomPromise.js' */ url = url.substr(i + 3); -/*Line 399 - 'AtomPromise.js' */ method = AtomPromise.plugins[plugin]; -/*Line 400 - 'AtomPromise.js' */ } -/*Line 401 - 'AtomPromise.js' */ } - -/*Line 403 - 'AtomPromise.js' */ method = method || AtomPromise.ajax; - -/*Line 405 - 'AtomPromise.js' */ return method(url, query, options, "json"); -/*Line 406 - 'AtomPromise.js' */}; - -/*Line 408 - 'AtomPromise.js' */AtomPromise.cache = { -/*Line 409 - 'AtomPromise.js' */}; - -/*Line 411 - 'AtomPromise.js' */AtomPromise.cacheInProgress = { +/*Line 343 - 'AtomPromise.js' */ if (url) { +/*Line 344 - 'AtomPromise.js' */ p.onInvoke(function () { +/*Line 345 - 'AtomPromise.js' */ p.handle = $.ajax(u, o); +/*Line 346 - 'AtomPromise.js' */ }); +/*Line 347 - 'AtomPromise.js' */ } + +/*Line 349 - 'AtomPromise.js' */ p.failed(function () { + +/*Line 351 - 'AtomPromise.js' */ var res = p.errors[0].responseText; +/*Line 352 - 'AtomPromise.js' */ if (!res || p.errors[2] !== 'Internal Server Error') { +/*Line 353 - 'AtomPromise.js' */ var m = p.errors[2]; +/*Line 354 - 'AtomPromise.js' */ if (m) +/*Line 355 - 'AtomPromise.js' */ res = m; +/*Line 356 - 'AtomPromise.js' */ } + +/*Line 358 - 'AtomPromise.js' */ p.error = { +/*Line 359 - 'AtomPromise.js' */ msg: res +/*Line 360 - 'AtomPromise.js' */ }; + +/*Line 362 - 'AtomPromise.js' */ if (p._showError) { +/*Line 363 - 'AtomPromise.js' */ if (p.error.msg) Atom.alert(p.error.msg); +/*Line 364 - 'AtomPromise.js' */ } +/*Line 365 - 'AtomPromise.js' */ }); + +/*Line 367 - 'AtomPromise.js' */ p.then(function (p) { +/*Line 368 - 'AtomPromise.js' */ var v = p.value(); +/*Line 369 - 'AtomPromise.js' */ v = AtomPromise.parseDates(v); +/*Line 370 - 'AtomPromise.js' */ if (v && v.items && v.merge) { +/*Line 371 - 'AtomPromise.js' */ v.items.total = v.total; +/*Line 372 - 'AtomPromise.js' */ v = v.items; +/*Line 373 - 'AtomPromise.js' */ p.value(v); +/*Line 374 - 'AtomPromise.js' */ } +/*Line 375 - 'AtomPromise.js' */ }); + +/*Line 377 - 'AtomPromise.js' */ p.showError(true); +/*Line 378 - 'AtomPromise.js' */ p.showProgress(true); + +/*Line 380 - 'AtomPromise.js' */ return p; +/*Line 381 - 'AtomPromise.js' */}; + +/*Line 383 - 'AtomPromise.js' */AtomPromise.get = function (url, query, options) { +/*Line 384 - 'AtomPromise.js' */ options = options || {}; +/*Line 385 - 'AtomPromise.js' */ options.type = options.type || "get"; +/*Line 386 - 'AtomPromise.js' */ options.dataType = options.dataType || "text"; +/*Line 387 - 'AtomPromise.js' */ return AtomPromise.ajax(url, query, options, "get"); +/*Line 388 - 'AtomPromise.js' */}; + +/*Line 390 - 'AtomPromise.js' */AtomPromise.plugins = { +/*Line 391 - 'AtomPromise.js' */}; + +/*Line 393 - 'AtomPromise.js' */AtomPromise.json = function (url, query, options) { +/*Line 394 - 'AtomPromise.js' */ options = options || {}; +/*Line 395 - 'AtomPromise.js' */ options.type = options.type || "get"; +/*Line 396 - 'AtomPromise.js' */ options.dataType = options.dataType || "json"; + +/*Line 398 - 'AtomPromise.js' */ var method = null; + +/*Line 400 - 'AtomPromise.js' */ var i = url.indexOf('://'); +/*Line 401 - 'AtomPromise.js' */ if (i !== -1) { +/*Line 402 - 'AtomPromise.js' */ var plugin = url.substr(0, i); +/*Line 403 - 'AtomPromise.js' */ if (!/http|https/i.test(plugin)) { +/*Line 404 - 'AtomPromise.js' */ url = url.substr(i + 3); +/*Line 405 - 'AtomPromise.js' */ method = AtomPromise.plugins[plugin]; +/*Line 406 - 'AtomPromise.js' */ } +/*Line 407 - 'AtomPromise.js' */ } + +/*Line 409 - 'AtomPromise.js' */ method = method || AtomPromise.ajax; + +/*Line 411 - 'AtomPromise.js' */ return method(url, query, options, "json"); /*Line 412 - 'AtomPromise.js' */}; -/*Line 414 - 'AtomPromise.js' */AtomPromise.cachedPromise = function (key, p) { -/*Line 415 - 'AtomPromise.js' */ var c = AtomPromise.cache[key]; - -/*Line 417 - 'AtomPromise.js' */ if (!c && window.sessionStorage) { -/*Line 418 - 'AtomPromise.js' */ c = window.sessionStorage["__AP" + key]; -/*Line 419 - 'AtomPromise.js' */ if (c) { -/*Line 420 - 'AtomPromise.js' */ c = JSON.parse(c); -/*Line 421 - 'AtomPromise.js' */ AtomPromise.cache[key] = c; -/*Line 422 - 'AtomPromise.js' */ } -/*Line 423 - 'AtomPromise.js' */ } - -/*Line 425 - 'AtomPromise.js' */ if (c) { -/*Line 426 - 'AtomPromise.js' */ p.onInvoke(function () { -/*Line 427 - 'AtomPromise.js' */ p.pushValue(c); -/*Line 428 - 'AtomPromise.js' */ }); -/*Line 429 - 'AtomPromise.js' */ return p; -/*Line 430 - 'AtomPromise.js' */ } - -/*Line 432 - 'AtomPromise.js' */ p.then(function (p1) { -/*Line 433 - 'AtomPromise.js' */ AtomPromise.cache[key] = p1.value(); -/*Line 434 - 'AtomPromise.js' */ if (window.sessionStorage) { -/*Line 435 - 'AtomPromise.js' */ window.sessionStorage["__AP" + key] = JSON.stringify( p1.value() ); -/*Line 436 - 'AtomPromise.js' */ } -/*Line 437 - 'AtomPromise.js' */ }); - -/*Line 439 - 'AtomPromise.js' */ return p; -/*Line 440 - 'AtomPromise.js' */}; - -/*Line 442 - 'AtomPromise.js' */AtomPromise.cachedJson = function (url, query, options) { - -/*Line 444 - 'AtomPromise.js' */ var vd = new Date(); - -/*Line 446 - 'AtomPromise.js' */ var v = AtomConfig.ajax.version; -/*Line 447 - 'AtomPromise.js' */ var vk = AtomConfig.ajax.versionKey + '=' + v; - -/*Line 449 - 'AtomPromise.js' */ if (url.indexOf('?') === -1) { -/*Line 450 - 'AtomPromise.js' */ vk = '?' + vk; -/*Line 451 - 'AtomPromise.js' */ } else { -/*Line 452 - 'AtomPromise.js' */ if (!/\&$/.test(url)) { -/*Line 453 - 'AtomPromise.js' */ vk = '&' + vk; -/*Line 454 - 'AtomPromise.js' */ } -/*Line 455 - 'AtomPromise.js' */ } -/*Line 456 - 'AtomPromise.js' */ url += vk; - -/*Line 458 - 'AtomPromise.js' */ options = options || {}; -/*Line 459 - 'AtomPromise.js' */ // caching must be true everywhere -/*Line 460 - 'AtomPromise.js' */ options.cache = true; -/*Line 461 - 'AtomPromise.js' */ options.ifModified = true; -/*Line 462 - 'AtomPromise.js' */ options.versionUrl = false; - -/*Line 464 - 'AtomPromise.js' */ var ap = AtomPromise.ajax(url, query, options, "json"); -/*Line 465 - 'AtomPromise.js' */ return AtomPromise.cachedPromise(url, ap); -/*Line 466 - 'AtomPromise.js' */}; - -/*Line 468 - 'AtomPromise.js' */AtomPromise.configCache = {}; - -/*Line 470 - 'AtomPromise.js' */AtomPromise.configLabel = function (url, value, options) { - -/*Line 472 - 'AtomPromise.js' */ if (value === null || value === undefined) -/*Line 473 - 'AtomPromise.js' */ return ""; - -/*Line 475 - 'AtomPromise.js' */ options = options || {}; - -/*Line 477 - 'AtomPromise.js' */ var valuePath = options.valuePath || "value"; -/*Line 478 - 'AtomPromise.js' */ var labelPath = options.labelPath || "label"; -/*Line 479 - 'AtomPromise.js' */ var isNumber = options.isNumber || false; - -/*Line 481 - 'AtomPromise.js' */ if (isNumber) { -/*Line 482 - 'AtomPromise.js' */ if (typeof value !== "number") { -/*Line 483 - 'AtomPromise.js' */ value = parseFloat(value); -/*Line 484 - 'AtomPromise.js' */ } -/*Line 485 - 'AtomPromise.js' */ } - -/*Line 487 - 'AtomPromise.js' */ var p = new AtomPromise(); -/*Line 488 - 'AtomPromise.js' */ p.onInvoke(function () { - -/*Line 490 - 'AtomPromise.js' */ var cf = AtomPromise.configCache[url]; -/*Line 491 - 'AtomPromise.js' */ if (cf) { -/*Line 492 - 'AtomPromise.js' */ cf = cf[value]; -/*Line 493 - 'AtomPromise.js' */ cf = cf ? cf[labelPath] : ""; -/*Line 494 - 'AtomPromise.js' */ p.pushValue(cf); -/*Line 495 - 'AtomPromise.js' */ return; -/*Line 496 - 'AtomPromise.js' */ } - -/*Line 498 - 'AtomPromise.js' */ var ap = AtomPromise.cachedJson(url); - - -/*Line 501 - 'AtomPromise.js' */ ap.then(function (a) { -/*Line 502 - 'AtomPromise.js' */ var v = ""; - -/*Line 504 - 'AtomPromise.js' */ var nv = {}; - -/*Line 506 - 'AtomPromise.js' */ var ae = new AtomEnumerator(a.value()); -/*Line 507 - 'AtomPromise.js' */ while (ae.next()) { -/*Line 508 - 'AtomPromise.js' */ var item = ae.current(); -/*Line 509 - 'AtomPromise.js' */ v = item[valuePath]; -/*Line 510 - 'AtomPromise.js' */ if (isNumber) { -/*Line 511 - 'AtomPromise.js' */ if (typeof v !== "number") { -/*Line 512 - 'AtomPromise.js' */ v = parseFloat(v); -/*Line 513 - 'AtomPromise.js' */ } -/*Line 514 - 'AtomPromise.js' */ } -/*Line 515 - 'AtomPromise.js' */ nv[v] = item; -/*Line 516 - 'AtomPromise.js' */ } -/*Line 517 - 'AtomPromise.js' */ AtomPromise.configCache[url] = nv; -/*Line 518 - 'AtomPromise.js' */ nv = nv[value]; -/*Line 519 - 'AtomPromise.js' */ nv = nv ? nv[labelPath] : ""; -/*Line 520 - 'AtomPromise.js' */ p.pushValue(nv); -/*Line 521 - 'AtomPromise.js' */ }); - -/*Line 523 - 'AtomPromise.js' */ ap.invoke(); -/*Line 524 - 'AtomPromise.js' */ }); - -/*Line 526 - 'AtomPromise.js' */ return p; -/*Line 527 - 'AtomPromise.js' */}; - -/*Line 529 - 'AtomPromise.js' */AtomPromise.prototype.insertItem = function (index, item, arrayPath) { -/*Line 530 - 'AtomPromise.js' */ return this.then(function (p) { -/*Line 531 - 'AtomPromise.js' */ var v = p.value(); -/*Line 532 - 'AtomPromise.js' */ if (v._$_itemInserted) -/*Line 533 - 'AtomPromise.js' */ return; -/*Line 534 - 'AtomPromise.js' */ if (arrayPath) { -/*Line 535 - 'AtomPromise.js' */ v = v[arrayPath]; -/*Line 536 - 'AtomPromise.js' */ } -/*Line 537 - 'AtomPromise.js' */ if (index === -1) { -/*Line 538 - 'AtomPromise.js' */ v.push(item); -/*Line 539 - 'AtomPromise.js' */ } else { -/*Line 540 - 'AtomPromise.js' */ v.splice(index || 0, 0, item); -/*Line 541 - 'AtomPromise.js' */ } -/*Line 542 - 'AtomPromise.js' */ v._$_itemInserted = true; -/*Line 543 - 'AtomPromise.js' */ }); -/*Line 544 - 'AtomPromise.js' */}; - -/*Line 546 - 'AtomPromise.js' */AtomPromise.prototype.toNativePromise = function () { -/*Line 547 - 'AtomPromise.js' */ var self = this; -/*Line 548 - 'AtomPromise.js' */ return new Promise(function (resolve, reject) { -/*Line 549 - 'AtomPromise.js' */ var ap = self; -/*Line 550 - 'AtomPromise.js' */ ap.showProgress(false); -/*Line 551 - 'AtomPromise.js' */ ap.invoke(); -/*Line 552 - 'AtomPromise.js' */ ap.then(function (r) { -/*Line 553 - 'AtomPromise.js' */ resolve(r.value()); -/*Line 554 - 'AtomPromise.js' */ //console.log(r); -/*Line 555 - 'AtomPromise.js' */ }).failed(function (r) { -/*Line 556 - 'AtomPromise.js' */ reject(r); -/*Line 557 - 'AtomPromise.js' */ //console.log(r); -/*Line 558 - 'AtomPromise.js' */ }); -/*Line 559 - 'AtomPromise.js' */ }); -/*Line 560 - 'AtomPromise.js' */}; - - -/*Line 563 - 'AtomPromise.js' *///$setValue = AtomBinder.setValue; -/*Line 564 - 'AtomPromise.js' *///$getValue = AtomBinder.getValue; - - -/*Line 567 - 'AtomPromise.js' *///Object.prototype.setValue = function (key, value) { -/*Line 568 - 'AtomPromise.js' */// -/*Line 569 - 'AtomPromise.js' */// AtomBinder.setValue(this, key, value); -/*Line 570 - 'AtomPromise.js' *///}; - -/*Line 572 - 'AtomPromise.js' *///Object.prototype.getValue = function (key) { -/*Line 573 - 'AtomPromise.js' */// return AtomBinder.getValue(this, key); -/*Line 574 - 'AtomPromise.js' *///}; - -/*Line 576 - 'AtomPromise.js' *///Object.prototype.add_WatchHandler = function(key,handler){ -/*Line 577 - 'AtomPromise.js' */// AtomBinder.add_WatchHandler(this,key,handler); -/*Line 578 - 'AtomPromise.js' *///}; - -/*Line 580 - 'AtomPromise.js' *///Object.prototype.remove_WatchHandler = function(key,handler){ -/*Line 581 - 'AtomPromise.js' */// AtomBinder.remove_WatchHandler(this,key,handler); -/*Line 582 - 'AtomPromise.js' *///}; - -/*Line 584 - 'AtomPromise.js' *///Array.prototype.add = function (item) { -/*Line 585 - 'AtomPromise.js' */// AtomBinder.addItem(this, item); -/*Line 586 - 'AtomPromise.js' *///}; - -/*Line 588 - 'AtomPromise.js' *///Array.prototype.remove = function (item) { -/*Line 589 - 'AtomPromise.js' */// AtomBinder.removeItem(this, item); -/*Line 590 - 'AtomPromise.js' *///}; - -/*Line 592 - 'AtomPromise.js' *///Array.prototype.add_CollectionHandler= function(handler){ -/*Line 593 - 'AtomPromise.js' */// AtomBinder.add_CollectionHandler(this,handler); -/*Line 594 - 'AtomPromise.js' *///}; - -/*Line 596 - 'AtomPromise.js' *///Array.prototype.remove_CollectionHandler= function(handler){ -/*Line 597 - 'AtomPromise.js' */// AtomBinder.remove_CollectionHandler(this,handler); -/*Line 598 - 'AtomPromise.js' *///}; - - -/*Line 601 - 'AtomPromise.js' */var AtomLocalStorage = { - -/*Line 603 - 'AtomPromise.js' */ list: function (storage, query) -/*Line 604 - 'AtomPromise.js' */ { -/*Line 605 - 'AtomPromise.js' */ }, -/*Line 606 - 'AtomPromise.js' */ add: function (storage, query) { -/*Line 607 - 'AtomPromise.js' */ }, -/*Line 608 - 'AtomPromise.js' */ remove: function (storage, query) { -/*Line 609 - 'AtomPromise.js' */ }, -/*Line 610 - 'AtomPromise.js' */ clear: function (storage) { +/*Line 414 - 'AtomPromise.js' */AtomPromise.cache = { +/*Line 415 - 'AtomPromise.js' */}; + +/*Line 417 - 'AtomPromise.js' */AtomPromise.cacheInProgress = { +/*Line 418 - 'AtomPromise.js' */}; + +/*Line 420 - 'AtomPromise.js' */AtomPromise.cachedPromise = function (key, p) { +/*Line 421 - 'AtomPromise.js' */ var c = AtomPromise.cache[key]; + +/*Line 423 - 'AtomPromise.js' */ if (!c && window.sessionStorage) { +/*Line 424 - 'AtomPromise.js' */ c = window.sessionStorage["__AP" + key]; +/*Line 425 - 'AtomPromise.js' */ if (c) { +/*Line 426 - 'AtomPromise.js' */ c = JSON.parse(c); +/*Line 427 - 'AtomPromise.js' */ AtomPromise.cache[key] = c; +/*Line 428 - 'AtomPromise.js' */ } +/*Line 429 - 'AtomPromise.js' */ } + +/*Line 431 - 'AtomPromise.js' */ if (c) { +/*Line 432 - 'AtomPromise.js' */ p.onInvoke(function () { +/*Line 433 - 'AtomPromise.js' */ p.pushValue(c); +/*Line 434 - 'AtomPromise.js' */ }); +/*Line 435 - 'AtomPromise.js' */ return p; +/*Line 436 - 'AtomPromise.js' */ } + +/*Line 438 - 'AtomPromise.js' */ p.then(function (p1) { +/*Line 439 - 'AtomPromise.js' */ AtomPromise.cache[key] = p1.value(); +/*Line 440 - 'AtomPromise.js' */ if (window.sessionStorage) { +/*Line 441 - 'AtomPromise.js' */ window.sessionStorage["__AP" + key] = JSON.stringify( p1.value() ); +/*Line 442 - 'AtomPromise.js' */ } +/*Line 443 - 'AtomPromise.js' */ }); + +/*Line 445 - 'AtomPromise.js' */ return p; +/*Line 446 - 'AtomPromise.js' */}; + +/*Line 448 - 'AtomPromise.js' */AtomPromise.cachedJson = function (url, query, options) { + +/*Line 450 - 'AtomPromise.js' */ var vd = new Date(); + +/*Line 452 - 'AtomPromise.js' */ var v = AtomConfig.ajax.version; +/*Line 453 - 'AtomPromise.js' */ var vk = AtomConfig.ajax.versionKey + '=' + v; + +/*Line 455 - 'AtomPromise.js' */ if (url.indexOf('?') === -1) { +/*Line 456 - 'AtomPromise.js' */ vk = '?' + vk; +/*Line 457 - 'AtomPromise.js' */ } else { +/*Line 458 - 'AtomPromise.js' */ if (!/\&$/.test(url)) { +/*Line 459 - 'AtomPromise.js' */ vk = '&' + vk; +/*Line 460 - 'AtomPromise.js' */ } +/*Line 461 - 'AtomPromise.js' */ } +/*Line 462 - 'AtomPromise.js' */ url += vk; + +/*Line 464 - 'AtomPromise.js' */ options = options || {}; +/*Line 465 - 'AtomPromise.js' */ // caching must be true everywhere +/*Line 466 - 'AtomPromise.js' */ options.cache = true; +/*Line 467 - 'AtomPromise.js' */ options.ifModified = true; +/*Line 468 - 'AtomPromise.js' */ options.versionUrl = false; + +/*Line 470 - 'AtomPromise.js' */ var ap = AtomPromise.ajax(url, query, options, "json"); +/*Line 471 - 'AtomPromise.js' */ return AtomPromise.cachedPromise(url, ap); +/*Line 472 - 'AtomPromise.js' */}; + +/*Line 474 - 'AtomPromise.js' */AtomPromise.configCache = {}; + +/*Line 476 - 'AtomPromise.js' */AtomPromise.configLabel = function (url, value, options) { + +/*Line 478 - 'AtomPromise.js' */ if (value === null || value === undefined) +/*Line 479 - 'AtomPromise.js' */ return ""; + +/*Line 481 - 'AtomPromise.js' */ options = options || {}; + +/*Line 483 - 'AtomPromise.js' */ var valuePath = options.valuePath || "value"; +/*Line 484 - 'AtomPromise.js' */ var labelPath = options.labelPath || "label"; +/*Line 485 - 'AtomPromise.js' */ var isNumber = options.isNumber || false; + +/*Line 487 - 'AtomPromise.js' */ if (isNumber) { +/*Line 488 - 'AtomPromise.js' */ if (typeof value !== "number") { +/*Line 489 - 'AtomPromise.js' */ value = parseFloat(value); +/*Line 490 - 'AtomPromise.js' */ } +/*Line 491 - 'AtomPromise.js' */ } + +/*Line 493 - 'AtomPromise.js' */ var p = new AtomPromise(); +/*Line 494 - 'AtomPromise.js' */ p.onInvoke(function () { + +/*Line 496 - 'AtomPromise.js' */ var cf = AtomPromise.configCache[url]; +/*Line 497 - 'AtomPromise.js' */ if (cf) { +/*Line 498 - 'AtomPromise.js' */ cf = cf[value]; +/*Line 499 - 'AtomPromise.js' */ cf = cf ? cf[labelPath] : ""; +/*Line 500 - 'AtomPromise.js' */ p.pushValue(cf); +/*Line 501 - 'AtomPromise.js' */ return; +/*Line 502 - 'AtomPromise.js' */ } + +/*Line 504 - 'AtomPromise.js' */ var ap = AtomPromise.cachedJson(url); + + +/*Line 507 - 'AtomPromise.js' */ ap.then(function (a) { +/*Line 508 - 'AtomPromise.js' */ var v = ""; + +/*Line 510 - 'AtomPromise.js' */ var nv = {}; + +/*Line 512 - 'AtomPromise.js' */ var ae = new AtomEnumerator(a.value()); +/*Line 513 - 'AtomPromise.js' */ while (ae.next()) { +/*Line 514 - 'AtomPromise.js' */ var item = ae.current(); +/*Line 515 - 'AtomPromise.js' */ v = item[valuePath]; +/*Line 516 - 'AtomPromise.js' */ if (isNumber) { +/*Line 517 - 'AtomPromise.js' */ if (typeof v !== "number") { +/*Line 518 - 'AtomPromise.js' */ v = parseFloat(v); +/*Line 519 - 'AtomPromise.js' */ } +/*Line 520 - 'AtomPromise.js' */ } +/*Line 521 - 'AtomPromise.js' */ nv[v] = item; +/*Line 522 - 'AtomPromise.js' */ } +/*Line 523 - 'AtomPromise.js' */ AtomPromise.configCache[url] = nv; +/*Line 524 - 'AtomPromise.js' */ nv = nv[value]; +/*Line 525 - 'AtomPromise.js' */ nv = nv ? nv[labelPath] : ""; +/*Line 526 - 'AtomPromise.js' */ p.pushValue(nv); +/*Line 527 - 'AtomPromise.js' */ }); + +/*Line 529 - 'AtomPromise.js' */ ap.invoke(); +/*Line 530 - 'AtomPromise.js' */ }); + +/*Line 532 - 'AtomPromise.js' */ return p; +/*Line 533 - 'AtomPromise.js' */}; + +/*Line 535 - 'AtomPromise.js' */AtomPromise.prototype.insertItem = function (index, item, arrayPath) { +/*Line 536 - 'AtomPromise.js' */ return this.then(function (p) { +/*Line 537 - 'AtomPromise.js' */ var v = p.value(); +/*Line 538 - 'AtomPromise.js' */ if (v._$_itemInserted) +/*Line 539 - 'AtomPromise.js' */ return; +/*Line 540 - 'AtomPromise.js' */ if (arrayPath) { +/*Line 541 - 'AtomPromise.js' */ v = v[arrayPath]; +/*Line 542 - 'AtomPromise.js' */ } +/*Line 543 - 'AtomPromise.js' */ if (index === -1) { +/*Line 544 - 'AtomPromise.js' */ v.push(item); +/*Line 545 - 'AtomPromise.js' */ } else { +/*Line 546 - 'AtomPromise.js' */ v.splice(index || 0, 0, item); +/*Line 547 - 'AtomPromise.js' */ } +/*Line 548 - 'AtomPromise.js' */ v._$_itemInserted = true; +/*Line 549 - 'AtomPromise.js' */ }); +/*Line 550 - 'AtomPromise.js' */}; + +/*Line 552 - 'AtomPromise.js' */AtomPromise.prototype.toNativePromise = function () { +/*Line 553 - 'AtomPromise.js' */ var self = this; +/*Line 554 - 'AtomPromise.js' */ return new Promise(function (resolve, reject) { +/*Line 555 - 'AtomPromise.js' */ var ap = self; +/*Line 556 - 'AtomPromise.js' */ ap.showProgress(false); +/*Line 557 - 'AtomPromise.js' */ ap.invoke(); +/*Line 558 - 'AtomPromise.js' */ ap.then(function (r) { +/*Line 559 - 'AtomPromise.js' */ resolve(r.value()); +/*Line 560 - 'AtomPromise.js' */ //console.log(r); +/*Line 561 - 'AtomPromise.js' */ }).failed(function (r) { +/*Line 562 - 'AtomPromise.js' */ reject(r); +/*Line 563 - 'AtomPromise.js' */ //console.log(r); +/*Line 564 - 'AtomPromise.js' */ }); +/*Line 565 - 'AtomPromise.js' */ }); +/*Line 566 - 'AtomPromise.js' */}; + + +/*Line 569 - 'AtomPromise.js' *///$setValue = AtomBinder.setValue; +/*Line 570 - 'AtomPromise.js' *///$getValue = AtomBinder.getValue; + + +/*Line 573 - 'AtomPromise.js' *///Object.prototype.setValue = function (key, value) { +/*Line 574 - 'AtomPromise.js' */// +/*Line 575 - 'AtomPromise.js' */// AtomBinder.setValue(this, key, value); +/*Line 576 - 'AtomPromise.js' *///}; + +/*Line 578 - 'AtomPromise.js' *///Object.prototype.getValue = function (key) { +/*Line 579 - 'AtomPromise.js' */// return AtomBinder.getValue(this, key); +/*Line 580 - 'AtomPromise.js' *///}; + +/*Line 582 - 'AtomPromise.js' *///Object.prototype.add_WatchHandler = function(key,handler){ +/*Line 583 - 'AtomPromise.js' */// AtomBinder.add_WatchHandler(this,key,handler); +/*Line 584 - 'AtomPromise.js' *///}; + +/*Line 586 - 'AtomPromise.js' *///Object.prototype.remove_WatchHandler = function(key,handler){ +/*Line 587 - 'AtomPromise.js' */// AtomBinder.remove_WatchHandler(this,key,handler); +/*Line 588 - 'AtomPromise.js' *///}; + +/*Line 590 - 'AtomPromise.js' *///Array.prototype.add = function (item) { +/*Line 591 - 'AtomPromise.js' */// AtomBinder.addItem(this, item); +/*Line 592 - 'AtomPromise.js' *///}; + +/*Line 594 - 'AtomPromise.js' *///Array.prototype.remove = function (item) { +/*Line 595 - 'AtomPromise.js' */// AtomBinder.removeItem(this, item); +/*Line 596 - 'AtomPromise.js' *///}; + +/*Line 598 - 'AtomPromise.js' *///Array.prototype.add_CollectionHandler= function(handler){ +/*Line 599 - 'AtomPromise.js' */// AtomBinder.add_CollectionHandler(this,handler); +/*Line 600 - 'AtomPromise.js' *///}; + +/*Line 602 - 'AtomPromise.js' *///Array.prototype.remove_CollectionHandler= function(handler){ +/*Line 603 - 'AtomPromise.js' */// AtomBinder.remove_CollectionHandler(this,handler); +/*Line 604 - 'AtomPromise.js' *///}; + + +/*Line 607 - 'AtomPromise.js' */var AtomLocalStorage = { + +/*Line 609 - 'AtomPromise.js' */ list: function (storage, query) +/*Line 610 - 'AtomPromise.js' */ { /*Line 611 - 'AtomPromise.js' */ }, -/*Line 612 - 'AtomPromise.js' */ set: function (storage, query, data) { +/*Line 612 - 'AtomPromise.js' */ add: function (storage, query) { /*Line 613 - 'AtomPromise.js' */ }, -/*Line 614 - 'AtomPromise.js' */ get: function (storage, query) { -/*Line 615 - 'AtomPromise.js' */ } - -/*Line 617 - 'AtomPromise.js' */}; - - -/*Line 620 - 'AtomPromise.js' */AtomPromise.plugins["local-storage"] = function (url, query, options) { -/*Line 621 - 'AtomPromise.js' */ var tokens = url.split('/'); -/*Line 622 - 'AtomPromise.js' */ var storage = tokens[0]; -/*Line 623 - 'AtomPromise.js' */ var method = tokens[1]; -/*Line 624 - 'AtomPromise.js' */ var ap = new AtomPromise(); -/*Line 625 - 'AtomPromise.js' */ ap.onInvoke(function (a) { -/*Line 626 - 'AtomPromise.js' */ var als = AtomLocalStorage; -/*Line 627 - 'AtomPromise.js' */ var r = als[method](storage, query, options.data); -/*Line 628 - 'AtomPromise.js' */ a.pushValue(r); -/*Line 629 - 'AtomPromise.js' */ }); -/*Line 630 - 'AtomPromise.js' */ return ap; -/*Line 631 - 'AtomPromise.js' */}; +/*Line 614 - 'AtomPromise.js' */ remove: function (storage, query) { +/*Line 615 - 'AtomPromise.js' */ }, +/*Line 616 - 'AtomPromise.js' */ clear: function (storage) { +/*Line 617 - 'AtomPromise.js' */ }, +/*Line 618 - 'AtomPromise.js' */ set: function (storage, query, data) { +/*Line 619 - 'AtomPromise.js' */ }, +/*Line 620 - 'AtomPromise.js' */ get: function (storage, query) { +/*Line 621 - 'AtomPromise.js' */ } + +/*Line 623 - 'AtomPromise.js' */}; + + +/*Line 626 - 'AtomPromise.js' */AtomPromise.plugins["local-storage"] = function (url, query, options) { +/*Line 627 - 'AtomPromise.js' */ var tokens = url.split('/'); +/*Line 628 - 'AtomPromise.js' */ var storage = tokens[0]; +/*Line 629 - 'AtomPromise.js' */ var method = tokens[1]; +/*Line 630 - 'AtomPromise.js' */ var ap = new AtomPromise(); +/*Line 631 - 'AtomPromise.js' */ ap.onInvoke(function (a) { +/*Line 632 - 'AtomPromise.js' */ var als = AtomLocalStorage; +/*Line 633 - 'AtomPromise.js' */ var r = als[method](storage, query, options.data); +/*Line 634 - 'AtomPromise.js' */ a.pushValue(r); +/*Line 635 - 'AtomPromise.js' */ }); +/*Line 636 - 'AtomPromise.js' */ return ap; +/*Line 637 - 'AtomPromise.js' */}; /*Line 0 - 'AtomBinding.js' */ /*Line 1 - 'AtomBinding.js' */ @@ -6317,7 +6323,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 399 - 'AtomControl.js' */ try { /*Line 400 - 'AtomControl.js' */ runAction.call(this,action, evt); /*Line 401 - 'AtomControl.js' */ } catch (e) { -/*Line 402 - 'AtomControl.js' */ alert(e); +/*Line 402 - 'AtomControl.js' */ Atom.alert(e); /*Line 403 - 'AtomControl.js' */ if (console.error) { /*Line 404 - 'AtomControl.js' */ console.error(e); /*Line 405 - 'AtomControl.js' */ } @@ -6996,7 +7002,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 1078 - 'AtomControl.js' */ this.set_scope(s); /*Line 1079 - 'AtomControl.js' */ } catch (ex) { /*Line 1080 - 'AtomControl.js' */ log(JSON.stringify(ex)); -/*Line 1081 - 'AtomControl.js' */ alert(JSON.stringify(ex)); +/*Line 1081 - 'AtomControl.js' */ Atom.alert(JSON.stringify(ex)); /*Line 1082 - 'AtomControl.js' */ } /*Line 1084 - 'AtomControl.js' */ } @@ -7034,7 +7040,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 10 - 'AtomItemsControl.js' */ this._onUIChanged = false; /*Line 11 - 'AtomItemsControl.js' */ this._itemsPresenter = null; /*Line 12 - 'AtomItemsControl.js' */ this._itemsPanel = null; -/*Line 13 - 'AtomItemsControl.js' */ this._presenters = ["itemsPresenter"]; +/*Line 13 - 'AtomItemsControl.js' */ this._presenters = ["itemsPresenter", "virtualContainer"]; /*Line 14 - 'AtomItemsControl.js' */ this._childItemType = WebAtoms.AtomControl; /*Line 15 - 'AtomItemsControl.js' */ }, /*Line 16 - 'AtomItemsControl.js' */ properties: { @@ -7169,7 +7175,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 145 - 'AtomItemsControl.js' */ var errors = this.get_errors(); /*Line 146 - 'AtomItemsControl.js' */ if (errors.length) { -/*Line 148 - 'AtomItemsControl.js' */ alert(errors.join("\n")); +/*Line 148 - 'AtomItemsControl.js' */ Atom.alert(errors.join("\n")); /*Line 150 - 'AtomItemsControl.js' */ return false; /*Line 151 - 'AtomItemsControl.js' */ } @@ -7374,7 +7380,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 351 - 'AtomItemsControl.js' */ var scrollTop = Math.floor(index / itemsInBlock); /*Line 352 - 'AtomItemsControl.js' */ vc.scrollTop(scrollTop * vcHeight); - + /*Line 356 - 'AtomItemsControl.js' */ return; @@ -7523,7 +7529,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 499 - 'AtomItemsControl.js' */ overflow: "auto" /*Line 500 - 'AtomItemsControl.js' */ }); -/*Line 502 - 'AtomItemsControl.js' */ this.bindEvent(vc, "scroll","onScroll"); +/*Line 502 - 'AtomItemsControl.js' */ this.bindEvent(vc, "scroll", "onScroll"); /*Line 504 - 'AtomItemsControl.js' */ var $ip = $(ip); /*Line 505 - 'AtomItemsControl.js' */ $ip.css({ @@ -7544,8 +7550,8 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 520 - 'AtomItemsControl.js' */ lc = document.createElement("DIV"); /*Line 521 - 'AtomItemsControl.js' */ } -/*Line 523 - 'AtomItemsControl.js' */ $(fc).addClass("sticky first-child").css({ posiiton:"relative", height: 0, width: "100%", clear: "both" }); -/*Line 524 - 'AtomItemsControl.js' */ $(lc).addClass("sticky last-child").css({ posiiton:"relative", height: 0, width: "100%", clear: "both" }); +/*Line 523 - 'AtomItemsControl.js' */ $(fc).addClass("sticky first-child").css({ posiiton: "relative", height: 0, width: "100%", clear: "both" }); +/*Line 524 - 'AtomItemsControl.js' */ $(lc).addClass("sticky last-child").css({ posiiton: "relative", height: 0, width: "100%", clear: "both" }); /*Line 526 - 'AtomItemsControl.js' */ this._firstChild = fc; /*Line 527 - 'AtomItemsControl.js' */ this._lastChild = lc; @@ -7566,7 +7572,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 542 - 'AtomItemsControl.js' */ }); /*Line 543 - 'AtomItemsControl.js' */ }, -/*Line 545 - 'AtomItemsControl.js' */ resetVirtualContainer: function () { +/*Line 545 - 'AtomItemsControl.js' */ resetVirtulContainer: function () { /*Line 546 - 'AtomItemsControl.js' */ if (this._itemsPresenter) { /*Line 547 - 'AtomItemsControl.js' */ this.disposeChildren(this._itemsPresenter); /*Line 548 - 'AtomItemsControl.js' */ } @@ -7585,7 +7591,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 562 - 'AtomItemsControl.js' */ var items = this.get_dataItems(); /*Line 563 - 'AtomItemsControl.js' */ if (!items.length) { -/*Line 564 - 'AtomItemsControl.js' */ this.resetVirtualContainer(); +/*Line 564 - 'AtomItemsControl.js' */ this.resetVirtulContainer(); /*Line 565 - 'AtomItemsControl.js' */ return; /*Line 566 - 'AtomItemsControl.js' */ } @@ -7607,7 +7613,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 583 - 'AtomItemsControl.js' */ var vcHeight = $vc.innerHeight(); /*Line 584 - 'AtomItemsControl.js' */ var vcScrollHeight = vc.scrollHeight; -/*Line 586 - 'AtomItemsControl.js' */ if ( isNaN(vcHeight) || vcHeight <= 0 || vcScrollHeight <= 0) { +/*Line 586 - 'AtomItemsControl.js' */ if (isNaN(vcHeight) || vcHeight <= 0 || vcScrollHeight <= 0) { /*Line 587 - 'AtomItemsControl.js' */ // leave it.. /*Line 588 - 'AtomItemsControl.js' */ var self = this; /*Line 589 - 'AtomItemsControl.js' */ setTimeout(function () { @@ -7632,7 +7638,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 610 - 'AtomItemsControl.js' */ if (this._training) { -/*Line 611 - 'AtomItemsControl.js' */ if (vcHeight >= itemsHeight/3) { +/*Line 611 - 'AtomItemsControl.js' */ if (vcHeight >= itemsHeight) { /*Line 612 - 'AtomItemsControl.js' */ // lets add item... /*Line 613 - 'AtomItemsControl.js' */ var ce = lc.previousElementSibling; /*Line 614 - 'AtomItemsControl.js' */ var index = 0; @@ -7647,7 +7653,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 623 - 'AtomItemsControl.js' */ var data = ae.current(); /*Line 624 - 'AtomItemsControl.js' */ var elementChild = this.createChildElement(parentScope, null, data, ae); /*Line 625 - 'AtomItemsControl.js' */ //WebAtoms.dispatcher.callLater(function () { -/*Line 626 - 'AtomItemsControl.js' */ ip.insertBefore(elementChild,lc); +/*Line 626 - 'AtomItemsControl.js' */ ip.insertBefore(elementChild, lc); /*Line 627 - 'AtomItemsControl.js' */ //}); /*Line 628 - 'AtomItemsControl.js' */ this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); /*Line 629 - 'AtomItemsControl.js' */ this.postVirtualCollectionChanged(); @@ -7675,444 +7681,478 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 651 - 'AtomItemsControl.js' */ var allRows = Math.ceil(items.length / columns); /*Line 652 - 'AtomItemsControl.js' */ var visibleRows = Math.ceil(totalVisibleItems / columns); -/*Line 654 - 'AtomItemsControl.js' */ //this._visibleBlock = visibleRows * avgHeight; -/*Line 655 - 'AtomItemsControl.js' */ //this._itemsInBlock = totalVisibleItems; -/*Line 656 - 'AtomItemsControl.js' */ this._allRows = allRows; -/*Line 657 - 'AtomItemsControl.js' */ this._columns = columns; +/*Line 654 - 'AtomItemsControl.js' */ console.log({ +/*Line 655 - 'AtomItemsControl.js' */ avgWidth: avgWidth, +/*Line 656 - 'AtomItemsControl.js' */ avgHeight: avgHeight, +/*Line 657 - 'AtomItemsControl.js' */ totalVisibleItems: totalVisibleItems, +/*Line 658 - 'AtomItemsControl.js' */ allRows: allRows, +/*Line 659 - 'AtomItemsControl.js' */ columns: columns +/*Line 660 - 'AtomItemsControl.js' */ }); + +/*Line 662 - 'AtomItemsControl.js' */ //this._visibleBlock = visibleRows * avgHeight; +/*Line 663 - 'AtomItemsControl.js' */ //this._itemsInBlock = totalVisibleItems; +/*Line 664 - 'AtomItemsControl.js' */ this._allRows = allRows; +/*Line 665 - 'AtomItemsControl.js' */ this._columns = columns; + + +/*Line 668 - 'AtomItemsControl.js' */ //this._allRows = allRows; +/*Line 669 - 'AtomItemsControl.js' */ this._visibleRows = visibleRows; +/*Line 670 - 'AtomItemsControl.js' */ this._visibleHeight = visibleRows * avgHeight; + +/*Line 672 - 'AtomItemsControl.js' */ // set height of last child... to increase padding +/*Line 673 - 'AtomItemsControl.js' */ $lc.css({ +/*Line 674 - 'AtomItemsControl.js' */ height: ((allRows - visibleRows + 1) * avgHeight) + "px" +/*Line 675 - 'AtomItemsControl.js' */ }); +/*Line 676 - 'AtomItemsControl.js' */ this._training = false; +/*Line 677 - 'AtomItemsControl.js' */ this._ready = true; +/*Line 678 - 'AtomItemsControl.js' */ this.postVirtualCollectionChanged(); +/*Line 679 - 'AtomItemsControl.js' */ } +/*Line 680 - 'AtomItemsControl.js' */ return; -/*Line 659 - 'AtomItemsControl.js' */ //this._allRows = allRows; -/*Line 660 - 'AtomItemsControl.js' */ //this._visibleRows = visibleRows; +/*Line 682 - 'AtomItemsControl.js' */ } + +/*Line 684 - 'AtomItemsControl.js' */ var self = this; + +/*Line 686 - 'AtomItemsControl.js' */ this.lastScrollTop = vc.scrollTop; + +/*Line 688 - 'AtomItemsControl.js' */ if (this._isChanging) { +/*Line 689 - 'AtomItemsControl.js' */ //setTimeout(function () { +/*Line 690 - 'AtomItemsControl.js' */ // self.onVirtualCollectionChanged(); +/*Line 691 - 'AtomItemsControl.js' */ //}, 100); +/*Line 692 - 'AtomItemsControl.js' */ return; +/*Line 693 - 'AtomItemsControl.js' */ } +/*Line 694 - 'AtomItemsControl.js' */ this._isChanging = true; + +/*Line 696 - 'AtomItemsControl.js' */ var block = Math.floor(this._visibleHeight / avgHeight); +/*Line 697 - 'AtomItemsControl.js' */ var itemsInBlock = this._visibleRows * this._columns; + +/*Line 699 - 'AtomItemsControl.js' */ // lets simply recreate the view... if we are out of the scroll bounds... +/*Line 700 - 'AtomItemsControl.js' */ var index = Math.floor(vc.scrollTop / this._visibleHeight); +/*Line 701 - 'AtomItemsControl.js' */ var itemIndex = index * itemsInBlock; +/*Line 702 - 'AtomItemsControl.js' */ //console.log("First block index is " + index + " item index is " + index * itemsInBlock); + +/*Line 704 - 'AtomItemsControl.js' */ if (itemIndex >= items.length) { +/*Line 705 - 'AtomItemsControl.js' */ this._isChanging = false; +/*Line 706 - 'AtomItemsControl.js' */ return; +/*Line 707 - 'AtomItemsControl.js' */ } + +/*Line 709 - 'AtomItemsControl.js' */ var lastIndex = (Math.max(index, 0) + 3) * itemsInBlock - 1; +/*Line 710 - 'AtomItemsControl.js' */ var firstIndex = Math.max(0, (index) * itemsInBlock); + +/*Line 712 - 'AtomItemsControl.js' */ var ce = fc.nextElementSibling; + +/*Line 714 - 'AtomItemsControl.js' */ var firstItem = fc.nextElementSibling; +/*Line 715 - 'AtomItemsControl.js' */ var lastItem = lc.previousElementSibling; + +/*Line 717 - 'AtomItemsControl.js' */ if (firstItem != lastItem) { +/*Line 718 - 'AtomItemsControl.js' */ var firstVisibleIndex = firstItem.atomControl.get_scope().itemIndex; +/*Line 719 - 'AtomItemsControl.js' */ var lastVisibleIndex = lastItem.atomControl.get_scope().itemIndex; +/*Line 720 - 'AtomItemsControl.js' */ console.log({ +/*Line 721 - 'AtomItemsControl.js' */ firstVisibleIndex: firstVisibleIndex, +/*Line 722 - 'AtomItemsControl.js' */ firstIndex: firstIndex, +/*Line 723 - 'AtomItemsControl.js' */ lastVisibleIndex: lastVisibleIndex, +/*Line 724 - 'AtomItemsControl.js' */ lastIndex: lastIndex +/*Line 725 - 'AtomItemsControl.js' */ }); +/*Line 726 - 'AtomItemsControl.js' */ if (firstIndex >= firstVisibleIndex && lastIndex <= lastVisibleIndex) { +/*Line 727 - 'AtomItemsControl.js' */ console.log("All items are visible..."); +/*Line 728 - 'AtomItemsControl.js' */ this._isChanging = false; +/*Line 729 - 'AtomItemsControl.js' */ return; +/*Line 730 - 'AtomItemsControl.js' */ } +/*Line 731 - 'AtomItemsControl.js' */ } + +/*Line 733 - 'AtomItemsControl.js' */ var remove = []; +/*Line 734 - 'AtomItemsControl.js' */ var cache = {}; + +/*Line 736 - 'AtomItemsControl.js' */ while (ce != lc) { +/*Line 737 - 'AtomItemsControl.js' */ var c = ce; +/*Line 738 - 'AtomItemsControl.js' */ ce = ce.nextElementSibling; +/*Line 739 - 'AtomItemsControl.js' */ var s = c.atomControl.get_scope().itemIndex; +/*Line 740 - 'AtomItemsControl.js' */ cache[s] = c; +/*Line 741 - 'AtomItemsControl.js' */ //c.atomControl.dispose(); +/*Line 742 - 'AtomItemsControl.js' */ //c.remove(); +/*Line 743 - 'AtomItemsControl.js' */ remove.push(c); +/*Line 744 - 'AtomItemsControl.js' */ } + +/*Line 746 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.pause(); + + +/*Line 749 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(items); +/*Line 750 - 'AtomItemsControl.js' */ for (var i = 0; i < firstIndex; i++) { +/*Line 751 - 'AtomItemsControl.js' */ ae.next(); +/*Line 752 - 'AtomItemsControl.js' */ } -/*Line 662 - 'AtomItemsControl.js' */ // set height of last child... to increase padding -/*Line 663 - 'AtomItemsControl.js' */ $lc.css({ -/*Line 664 - 'AtomItemsControl.js' */ height: ((allRows-visibleRows+1) * avgHeight) + "px" -/*Line 665 - 'AtomItemsControl.js' */ }); -/*Line 666 - 'AtomItemsControl.js' */ this._training = false; -/*Line 667 - 'AtomItemsControl.js' */ this._ready = true; -/*Line 668 - 'AtomItemsControl.js' */ this.postVirtualCollectionChanged(); -/*Line 669 - 'AtomItemsControl.js' */ } -/*Line 670 - 'AtomItemsControl.js' */ return; -/*Line 672 - 'AtomItemsControl.js' */ } +/*Line 755 - 'AtomItemsControl.js' */ var after = fc; -/*Line 674 - 'AtomItemsControl.js' */ var self = this; +/*Line 757 - 'AtomItemsControl.js' */ var last = null; -/*Line 676 - 'AtomItemsControl.js' */ if (this._isChanging) { -/*Line 677 - 'AtomItemsControl.js' */ //setTimeout(function () { -/*Line 678 - 'AtomItemsControl.js' */ // self.onVirtualCollectionChanged(); -/*Line 679 - 'AtomItemsControl.js' */ //}, 100); -/*Line 680 - 'AtomItemsControl.js' */ return; -/*Line 681 - 'AtomItemsControl.js' */ } -/*Line 682 - 'AtomItemsControl.js' */ this._isChanging = true; - -/*Line 684 - 'AtomItemsControl.js' */ var block = Math.floor(vcHeight / avgHeight); -/*Line 685 - 'AtomItemsControl.js' */ var itemsInBlock = block * this._columns; - -/*Line 687 - 'AtomItemsControl.js' */ // lets simply recreate the view... if we are out of the scroll bounds... -/*Line 688 - 'AtomItemsControl.js' */ var index = Math.max(0, Math.floor(vc.scrollTop / vcHeight) - 1); -/*Line 689 - 'AtomItemsControl.js' */ var itemIndex = index * itemsInBlock; -/*Line 690 - 'AtomItemsControl.js' */ console.log("First block index is " + index + " item index is " + index * itemsInBlock); - -/*Line 692 - 'AtomItemsControl.js' */ if (itemIndex >= items.length) { -/*Line 693 - 'AtomItemsControl.js' */ this._isChanging = false; -/*Line 694 - 'AtomItemsControl.js' */ return; -/*Line 695 - 'AtomItemsControl.js' */ } - -/*Line 697 - 'AtomItemsControl.js' */ var ce = fc.nextElementSibling; - -/*Line 699 - 'AtomItemsControl.js' */ if (ce != lc) { -/*Line 700 - 'AtomItemsControl.js' */ var scopeIndex = ce.atomControl.get_scope().itemIndex; -/*Line 701 - 'AtomItemsControl.js' */ if (scopeIndex == itemIndex) { -/*Line 702 - 'AtomItemsControl.js' */ console.log("No need to create any item"); -/*Line 703 - 'AtomItemsControl.js' */ this._isChanging = false; -/*Line 704 - 'AtomItemsControl.js' */ return; -/*Line 705 - 'AtomItemsControl.js' */ } -/*Line 706 - 'AtomItemsControl.js' */ } - -/*Line 708 - 'AtomItemsControl.js' */ var remove = []; -/*Line 709 - 'AtomItemsControl.js' */ var cache = {}; - -/*Line 711 - 'AtomItemsControl.js' */ while (ce != lc) { -/*Line 712 - 'AtomItemsControl.js' */ var c = ce; -/*Line 713 - 'AtomItemsControl.js' */ ce = ce.nextElementSibling; -/*Line 714 - 'AtomItemsControl.js' */ var s = c.atomControl.get_scope().itemIndex; -/*Line 715 - 'AtomItemsControl.js' */ cache[s] = c; -/*Line 716 - 'AtomItemsControl.js' */ //c.atomControl.dispose(); -/*Line 717 - 'AtomItemsControl.js' */ //c.remove(); -/*Line 718 - 'AtomItemsControl.js' */ remove.push(c); -/*Line 719 - 'AtomItemsControl.js' */ } - -/*Line 721 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.pause(); - - -/*Line 724 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(items); -/*Line 725 - 'AtomItemsControl.js' */ for (var i = 0; i < itemIndex; i++) { -/*Line 726 - 'AtomItemsControl.js' */ ae.next(); -/*Line 727 - 'AtomItemsControl.js' */ } - - -/*Line 730 - 'AtomItemsControl.js' */ var after = fc; - -/*Line 732 - 'AtomItemsControl.js' */ var last = null; - -/*Line 734 - 'AtomItemsControl.js' */ var add = []; - -/*Line 736 - 'AtomItemsControl.js' */ for (var i = 0; i < itemsInBlock * 3; i++) { -/*Line 737 - 'AtomItemsControl.js' */ if (!ae.next()) -/*Line 738 - 'AtomItemsControl.js' */ break; -/*Line 739 - 'AtomItemsControl.js' */ var index2 = ae.currentIndex(); -/*Line 740 - 'AtomItemsControl.js' */ var data = ae.current(); -/*Line 741 - 'AtomItemsControl.js' */ var elementChild = cache[index2]; -/*Line 742 - 'AtomItemsControl.js' */ if (elementChild && element.atomControl.get_data() == data) { -/*Line 743 - 'AtomItemsControl.js' */ cache[index2] = null; -/*Line 744 - 'AtomItemsControl.js' */ } else { -/*Line 745 - 'AtomItemsControl.js' */ elementChild = this.createChildElement(parentScope, null, data, ae); -/*Line 746 - 'AtomItemsControl.js' */ } -/*Line 747 - 'AtomItemsControl.js' */ elementChild.before = after; -/*Line 748 - 'AtomItemsControl.js' */ add.push(elementChild); -/*Line 749 - 'AtomItemsControl.js' */ after = elementChild; -/*Line 750 - 'AtomItemsControl.js' */ this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); -/*Line 751 - 'AtomItemsControl.js' */ last = index2; -/*Line 752 - 'AtomItemsControl.js' */ } +/*Line 759 - 'AtomItemsControl.js' */ var add = []; +/*Line 761 - 'AtomItemsControl.js' */ for (var i = firstIndex; i <= lastIndex; i++) { +/*Line 762 - 'AtomItemsControl.js' */ if (!ae.next()) +/*Line 763 - 'AtomItemsControl.js' */ break; +/*Line 764 - 'AtomItemsControl.js' */ var index2 = ae.currentIndex(); +/*Line 765 - 'AtomItemsControl.js' */ var data = ae.current(); +/*Line 766 - 'AtomItemsControl.js' */ var elementChild = cache[index2]; +/*Line 767 - 'AtomItemsControl.js' */ if (elementChild && element.atomControl.get_data() == data) { +/*Line 768 - 'AtomItemsControl.js' */ cache[index2] = null; +/*Line 769 - 'AtomItemsControl.js' */ } else { +/*Line 770 - 'AtomItemsControl.js' */ elementChild = this.createChildElement(parentScope, null, data, ae); +/*Line 771 - 'AtomItemsControl.js' */ } +/*Line 772 - 'AtomItemsControl.js' */ elementChild.before = after; +/*Line 773 - 'AtomItemsControl.js' */ add.push(elementChild); +/*Line 774 - 'AtomItemsControl.js' */ after = elementChild; +/*Line 775 - 'AtomItemsControl.js' */ this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); +/*Line 776 - 'AtomItemsControl.js' */ last = index2; +/*Line 777 - 'AtomItemsControl.js' */ } -/*Line 755 - 'AtomItemsControl.js' */ var h = (this._allRows - block * 3) * avgHeight - index * vcHeight; -/*Line 756 - 'AtomItemsControl.js' */ console.log("last child height = " + h); - -/*Line 758 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.callLater(function () { - -/*Line 760 - 'AtomItemsControl.js' */ var oldHeight = $fc.height(); -/*Line 761 - 'AtomItemsControl.js' */ var newHeight = index * vcHeight; - -/*Line 763 - 'AtomItemsControl.js' */ var diff = newHeight - oldHeight; -/*Line 764 - 'AtomItemsControl.js' */ var oldScrollTop = vc.scrollTop; - - - -/*Line 768 - 'AtomItemsControl.js' */ var a = new AtomEnumerator(remove); -/*Line 769 - 'AtomItemsControl.js' */ while (a.next()) { -/*Line 770 - 'AtomItemsControl.js' */ var ec = a.current(); -/*Line 771 - 'AtomItemsControl.js' */ if (!ec.before) { -/*Line 772 - 'AtomItemsControl.js' */ ec.atomControl.dispose(); -/*Line 773 - 'AtomItemsControl.js' */ } -/*Line 774 - 'AtomItemsControl.js' */ ec.remove(); -/*Line 775 - 'AtomItemsControl.js' */ } -/*Line 776 - 'AtomItemsControl.js' */ a = new AtomEnumerator(add); -/*Line 777 - 'AtomItemsControl.js' */ while (a.next()) { -/*Line 778 - 'AtomItemsControl.js' */ var ec = a.current(); -/*Line 779 - 'AtomItemsControl.js' */ ip.insertBefore(ec, ec.before.nextElementSibling); -/*Line 780 - 'AtomItemsControl.js' */ ec.before = null; -/*Line 781 - 'AtomItemsControl.js' */ } -/*Line 783 - 'AtomItemsControl.js' */ $fc.css({ -/*Line 784 - 'AtomItemsControl.js' */ height: newHeight -/*Line 785 - 'AtomItemsControl.js' */ }); +/*Line 780 - 'AtomItemsControl.js' */ var h = (this._allRows - block * 3) * avgHeight - index * this._visibleHeight; +/*Line 781 - 'AtomItemsControl.js' */ console.log("last child height = " + h); -/*Line 787 - 'AtomItemsControl.js' */ //vc.scrollTop = oldScrollTop - diff; +/*Line 783 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.callLater(function () { +/*Line 785 - 'AtomItemsControl.js' */ var oldHeight = $fc.height(); +/*Line 786 - 'AtomItemsControl.js' */ var newHeight = index * self._visibleHeight; -/*Line 790 - 'AtomItemsControl.js' */ $lc.css({ -/*Line 791 - 'AtomItemsControl.js' */ height: h -/*Line 792 - 'AtomItemsControl.js' */ }); +/*Line 788 - 'AtomItemsControl.js' */ var diff = newHeight - oldHeight; +/*Line 789 - 'AtomItemsControl.js' */ var oldScrollTop = vc.scrollTop; -/*Line 795 - 'AtomItemsControl.js' */ console.log("Old: " + oldScrollTop + " Diff: " + diff + " Old Height: " + oldHeight + " Height: " + newHeight); -/*Line 797 - 'AtomItemsControl.js' */ self._isChanging = false; -/*Line 798 - 'AtomItemsControl.js' */ }); -/*Line 799 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.start(); +/*Line 793 - 'AtomItemsControl.js' */ var a = new AtomEnumerator(add); +/*Line 794 - 'AtomItemsControl.js' */ while (a.next()) { +/*Line 795 - 'AtomItemsControl.js' */ var ec = a.current(); +/*Line 796 - 'AtomItemsControl.js' */ ip.insertBefore(ec, ec.before.nextElementSibling); +/*Line 797 - 'AtomItemsControl.js' */ ec.before = null; +/*Line 798 - 'AtomItemsControl.js' */ } + +/*Line 800 - 'AtomItemsControl.js' */ $fc.css({ +/*Line 801 - 'AtomItemsControl.js' */ height: newHeight +/*Line 802 - 'AtomItemsControl.js' */ }); -/*Line 801 - 'AtomItemsControl.js' */ AtomBinder.refreshValue(this, "childAtomControls"); -/*Line 802 - 'AtomItemsControl.js' */ }, +/*Line 804 - 'AtomItemsControl.js' */ a = new AtomEnumerator(remove); +/*Line 805 - 'AtomItemsControl.js' */ while (a.next()) { +/*Line 806 - 'AtomItemsControl.js' */ var ec = a.current(); +/*Line 807 - 'AtomItemsControl.js' */ if (!ec.before) { +/*Line 808 - 'AtomItemsControl.js' */ ec.atomControl.dispose(); +/*Line 809 - 'AtomItemsControl.js' */ } +/*Line 810 - 'AtomItemsControl.js' */ ec.remove(); +/*Line 811 - 'AtomItemsControl.js' */ } -/*Line 804 - 'AtomItemsControl.js' */ onCollectionChanged: function (mode, index, item) { -/*Line 806 - 'AtomItemsControl.js' */ if (/reset|refresh/i.test(mode)) { -/*Line 807 - 'AtomItemsControl.js' */ this._scopes = {}; -/*Line 808 - 'AtomItemsControl.js' */ this._cachedItems = null; -/*Line 809 - 'AtomItemsControl.js' */ } +/*Line 814 - 'AtomItemsControl.js' */ //vc.scrollTop = oldScrollTop - diff; -/*Line 812 - 'AtomItemsControl.js' */ // just reset for now... -/*Line 813 - 'AtomItemsControl.js' */ if (/remove/gi.test(mode)) { -/*Line 814 - 'AtomItemsControl.js' */ // simply delete and remove... -/*Line 815 - 'AtomItemsControl.js' */ var ce = new ChildEnumerator(this._itemsPresenter); -/*Line 816 - 'AtomItemsControl.js' */ while (ce.next()) { -/*Line 817 - 'AtomItemsControl.js' */ var c = ce.current(); -/*Line 818 - 'AtomItemsControl.js' */ if (c.atomControl && c.atomControl.get_data() == item) { -/*Line 819 - 'AtomItemsControl.js' */ c.atomControl.dispose(); -/*Line 820 - 'AtomItemsControl.js' */ $(c).remove(); -/*Line 821 - 'AtomItemsControl.js' */ break; -/*Line 822 - 'AtomItemsControl.js' */ } -/*Line 823 - 'AtomItemsControl.js' */ } -/*Line 824 - 'AtomItemsControl.js' */ this.updateUI(); -/*Line 825 - 'AtomItemsControl.js' */ return; -/*Line 826 - 'AtomItemsControl.js' */ } - -/*Line 828 - 'AtomItemsControl.js' */ if (this._uiVirtualize) { -/*Line 829 - 'AtomItemsControl.js' */ this.onVirtualCollectionChanged(); -/*Line 830 - 'AtomItemsControl.js' */ return; -/*Line 831 - 'AtomItemsControl.js' */ } - -/*Line 833 - 'AtomItemsControl.js' */ var parentScope = this.get_scope(); - -/*Line 835 - 'AtomItemsControl.js' */ var et = this.getTemplate("itemTemplate"); -/*Line 836 - 'AtomItemsControl.js' */ if (et) { -/*Line 837 - 'AtomItemsControl.js' */ et = AtomUI.getAtomType(et); -/*Line 838 - 'AtomItemsControl.js' */ if (et) { -/*Line 839 - 'AtomItemsControl.js' */ this._childItemType = et; -/*Line 840 - 'AtomItemsControl.js' */ } -/*Line 841 - 'AtomItemsControl.js' */ } - -/*Line 843 - 'AtomItemsControl.js' */ if (/add/gi.test(mode)) { -/*Line 844 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.pause(); - -/*Line 846 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(this._items); -/*Line 847 - 'AtomItemsControl.js' */ var ce = new ChildEnumerator(this._itemsPresenter); -/*Line 848 - 'AtomItemsControl.js' */ while (ae.next()) { -/*Line 849 - 'AtomItemsControl.js' */ ce.next(); -/*Line 850 - 'AtomItemsControl.js' */ var c = ce.current(); -/*Line 851 - 'AtomItemsControl.js' */ if (ae.currentIndex() == index) { -/*Line 852 - 'AtomItemsControl.js' */ var ctrl = this.createChildElement(parentScope, this._itemsPresenter, item, ae, c); -/*Line 853 - 'AtomItemsControl.js' */ this.applyItemStyle(ctrl, item, ae.isFirst(), ae.isLast()); -/*Line 854 - 'AtomItemsControl.js' */ break; -/*Line 855 - 'AtomItemsControl.js' */ } -/*Line 856 - 'AtomItemsControl.js' */ if (ae.isLast()) { -/*Line 857 - 'AtomItemsControl.js' */ var ctrl = this.createChildElement(parentScope, this._itemsPresenter, item, ae); -/*Line 858 - 'AtomItemsControl.js' */ this.applyItemStyle(ctrl, item, ae.isFirst(), ae.isLast()); -/*Line 859 - 'AtomItemsControl.js' */ break; -/*Line 860 - 'AtomItemsControl.js' */ } -/*Line 861 - 'AtomItemsControl.js' */ } - -/*Line 863 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.start(); -/*Line 864 - 'AtomItemsControl.js' */ this.updateUI(); -/*Line 865 - 'AtomItemsControl.js' */ return; -/*Line 866 - 'AtomItemsControl.js' */ } - -/*Line 868 - 'AtomItemsControl.js' */ var element = this._itemsPresenter; - -/*Line 870 - 'AtomItemsControl.js' */ var dataItems = this.get_dataItems(); - - -/*Line 873 - 'AtomItemsControl.js' */ //AtomUI.removeAllChildren(element); -/*Line 874 - 'AtomItemsControl.js' */ this.disposeChildren(element); -/*Line 875 - 'AtomItemsControl.js' */ //this._dataElements.length = 0; -/*Line 876 - 'AtomItemsControl.js' */ // rebuild from template... - -/*Line 878 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.pause(); - -/*Line 880 - 'AtomItemsControl.js' */ // implement stock... - - -/*Line 883 - 'AtomItemsControl.js' */ var items = this.get_dataItems(true); - -/*Line 885 - 'AtomItemsControl.js' */ var added = []; - -/*Line 887 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(items); - - -/*Line 890 - 'AtomItemsControl.js' */ this.getTemplate("itemTemplate"); - -/*Line 892 - 'AtomItemsControl.js' */ while (ae.next()) { -/*Line 893 - 'AtomItemsControl.js' */ var data = ae.current(); -/*Line 894 - 'AtomItemsControl.js' */ var elementChild = this.createChildElement(parentScope, element, data, ae); -/*Line 895 - 'AtomItemsControl.js' */ added.push(elementChild); -/*Line 896 - 'AtomItemsControl.js' */ this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); -/*Line 897 - 'AtomItemsControl.js' */ } - - -/*Line 900 - 'AtomItemsControl.js' */ //var ae = new AtomEnumerator(items); -/*Line 901 - 'AtomItemsControl.js' */ //while (ae.next()) { -/*Line 902 - 'AtomItemsControl.js' */ // var data = ae.current(); -/*Line 903 - 'AtomItemsControl.js' */ // var elementChild = this.createChildElement(parentScope, element, data, ae); -/*Line 904 - 'AtomItemsControl.js' */ // this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); -/*Line 905 - 'AtomItemsControl.js' */ //} -/*Line 906 - 'AtomItemsControl.js' */ var self = this; -/*Line 907 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.callLater(function () { -/*Line 908 - 'AtomItemsControl.js' */ var dirty = []; -/*Line 909 - 'AtomItemsControl.js' */ var ce = new ChildEnumerator(element); -/*Line 910 - 'AtomItemsControl.js' */ while (ce.next()) { -/*Line 911 - 'AtomItemsControl.js' */ var item = ce.current(); -/*Line 912 - 'AtomItemsControl.js' */ var f = added.filter(function (fx) { return item == fx; }); -/*Line 913 - 'AtomItemsControl.js' */ if (f.pop() != item) { -/*Line 914 - 'AtomItemsControl.js' */ dirty.push(item); -/*Line 915 - 'AtomItemsControl.js' */ } -/*Line 916 - 'AtomItemsControl.js' */ } -/*Line 917 - 'AtomItemsControl.js' */ ce = new AtomEnumerator(dirty); -/*Line 918 - 'AtomItemsControl.js' */ while (ce.next()) { -/*Line 919 - 'AtomItemsControl.js' */ var item = ce.current(); -/*Line 920 - 'AtomItemsControl.js' */ //self.dispose(item); -/*Line 921 - 'AtomItemsControl.js' */ if (item.atomControl) { -/*Line 922 - 'AtomItemsControl.js' */ item.atomControl.dispose(); -/*Line 923 - 'AtomItemsControl.js' */ } -/*Line 924 - 'AtomItemsControl.js' */ $(item).remove(); -/*Line 925 - 'AtomItemsControl.js' */ } - -/*Line 927 - 'AtomItemsControl.js' */ }); +/*Line 817 - 'AtomItemsControl.js' */ $lc.css({ +/*Line 818 - 'AtomItemsControl.js' */ height: h +/*Line 819 - 'AtomItemsControl.js' */ }); - -/*Line 931 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.start(); - -/*Line 933 - 'AtomItemsControl.js' */ AtomBinder.refreshValue(this, "childAtomControls"); - - -/*Line 936 - 'AtomItemsControl.js' */ }, - -/*Line 938 - 'AtomItemsControl.js' */ set_innerTemplate: function (v) { -/*Line 939 - 'AtomItemsControl.js' */ this._itemsPresenter = this._element; -/*Line 940 - 'AtomItemsControl.js' */ base.set_innerTemplate.apply(this, arguments); -/*Line 941 - 'AtomItemsControl.js' */ this.onCollectionChangedInternal("mode", -1, null); -/*Line 942 - 'AtomItemsControl.js' */ }, - -/*Line 944 - 'AtomItemsControl.js' */ applyItemStyle: function (item, dataItem, first, last) { -/*Line 945 - 'AtomItemsControl.js' */ }, - -/*Line 947 - 'AtomItemsControl.js' */ createChildElement: function (parentScope, parentElement, data, ae, before) { - -/*Line 949 - 'AtomItemsControl.js' */ var elementChild = AtomUI.cloneNode(this._itemTemplate); -/*Line 950 - 'AtomItemsControl.js' */ elementChild._logicalParent = parentElement; -/*Line 951 - 'AtomItemsControl.js' */ elementChild._templateParent = this; -/*Line 952 - 'AtomItemsControl.js' */ elementChild._isDirty = true; - -/*Line 954 - 'AtomItemsControl.js' */ if (parentElement) { -/*Line 955 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.callLater(function () { -/*Line 956 - 'AtomItemsControl.js' */ if (before) { -/*Line 957 - 'AtomItemsControl.js' */ parentElement.insertBefore(elementChild, before); -/*Line 958 - 'AtomItemsControl.js' */ } else { -/*Line 959 - 'AtomItemsControl.js' */ parentElement.appendChild(elementChild); -/*Line 960 - 'AtomItemsControl.js' */ } -/*Line 961 - 'AtomItemsControl.js' */ }); -/*Line 962 - 'AtomItemsControl.js' */ } - -/*Line 964 - 'AtomItemsControl.js' */ var scopes = this._scopes || { -/*Line 965 - 'AtomItemsControl.js' */ }; -/*Line 966 - 'AtomItemsControl.js' */ this._scopes = scopes; - -/*Line 968 - 'AtomItemsControl.js' */ var index = ae ? ae.currentIndex() : -1; -/*Line 969 - 'AtomItemsControl.js' */ var scope = scopes[index] || new AtomScope(this, parentScope, parentScope.__application); -/*Line 970 - 'AtomItemsControl.js' */ scopes[index] = scope; -/*Line 971 - 'AtomItemsControl.js' */ if (ae) { -/*Line 972 - 'AtomItemsControl.js' */ scope.itemIsFirst = ae.isFirst(); -/*Line 973 - 'AtomItemsControl.js' */ scope.itemIsLast = ae.isLast(); -/*Line 974 - 'AtomItemsControl.js' */ scope.itemIndex = index; -/*Line 975 - 'AtomItemsControl.js' */ scope.itemExpanded = false; -/*Line 976 - 'AtomItemsControl.js' */ scope.data = data; -/*Line 977 - 'AtomItemsControl.js' */ scope.get_itemSelected = function () { -/*Line 978 - 'AtomItemsControl.js' */ return scope.owner.isSelected(data); -/*Line 979 - 'AtomItemsControl.js' */ }; -/*Line 980 - 'AtomItemsControl.js' */ scope.set_itemSelected = function (v) { -/*Line 981 - 'AtomItemsControl.js' */ scope.owner.toggleSelection(data, true); -/*Line 982 - 'AtomItemsControl.js' */ }; -/*Line 983 - 'AtomItemsControl.js' */ } - -/*Line 985 - 'AtomItemsControl.js' */ var ac = AtomUI.createControl(elementChild, this._childItemType, data, scope); -/*Line 986 - 'AtomItemsControl.js' */ return elementChild; -/*Line 987 - 'AtomItemsControl.js' */ }, - -/*Line 989 - 'AtomItemsControl.js' */ toggleSelection: function (data) { -/*Line 990 - 'AtomItemsControl.js' */ this._onUIChanged = true; -/*Line 991 - 'AtomItemsControl.js' */ this._value = undefined; -/*Line 992 - 'AtomItemsControl.js' */ if (this._allowMultipleSelection) { -/*Line 993 - 'AtomItemsControl.js' */ if (AtomUI.contains(this._selectedItems, data)) { -/*Line 994 - 'AtomItemsControl.js' */ AtomBinder.removeItem(this._selectedItems, data); -/*Line 995 - 'AtomItemsControl.js' */ } else { -/*Line 996 - 'AtomItemsControl.js' */ AtomBinder.addItem(this._selectedItems, data); -/*Line 997 - 'AtomItemsControl.js' */ } -/*Line 998 - 'AtomItemsControl.js' */ } else { -/*Line 999 - 'AtomItemsControl.js' */ this._selectedItems.length = 1; -/*Line 1000 - 'AtomItemsControl.js' */ this._selectedItems[0] = data; -/*Line 1001 - 'AtomItemsControl.js' */ AtomBinder.refreshItems(this._selectedItems); -/*Line 1002 - 'AtomItemsControl.js' */ } -/*Line 1003 - 'AtomItemsControl.js' */ this._onUIChanged = false; -/*Line 1004 - 'AtomItemsControl.js' */ }, - -/*Line 1006 - 'AtomItemsControl.js' */ onUpdateUI: function () { -/*Line 1007 - 'AtomItemsControl.js' */ base.onUpdateUI.call(this); - -/*Line 1009 - 'AtomItemsControl.js' */ if (this._uiVirtualize) { -/*Line 1010 - 'AtomItemsControl.js' */ this.onVirtualCollectionChanged(); -/*Line 1011 - 'AtomItemsControl.js' */ } - -/*Line 1013 - 'AtomItemsControl.js' */ var ae = new ChildEnumerator(this._itemsPresenter); -/*Line 1014 - 'AtomItemsControl.js' */ while (ae.next()) { -/*Line 1015 - 'AtomItemsControl.js' */ var item = ae.current(); -/*Line 1016 - 'AtomItemsControl.js' */ if (!item.atomControl) -/*Line 1017 - 'AtomItemsControl.js' */ continue; -/*Line 1018 - 'AtomItemsControl.js' */ var dataItem = item.atomControl.get_data(); -/*Line 1019 - 'AtomItemsControl.js' */ AtomBinder.refreshValue(item.atomControl.get_scope(), "itemSelected"); -/*Line 1020 - 'AtomItemsControl.js' */ this.applyItemStyle(item, dataItem, ae.isFirst(), ae.isLast()); -/*Line 1021 - 'AtomItemsControl.js' */ } -/*Line 1022 - 'AtomItemsControl.js' */ }, - -/*Line 1024 - 'AtomItemsControl.js' */ onCreated: function () { - - -/*Line 1027 - 'AtomItemsControl.js' */ if (this._items) { -/*Line 1028 - 'AtomItemsControl.js' */ this.onCollectionChangedInternal("refresh", -1, null); -/*Line 1029 - 'AtomItemsControl.js' */ } - -/*Line 1031 - 'AtomItemsControl.js' */ var caller = this; - -/*Line 1033 - 'AtomItemsControl.js' */ this.dispatcher.callLater(function () { -/*Line 1034 - 'AtomItemsControl.js' */ if (caller._autoScrollToSelection) { -/*Line 1035 - 'AtomItemsControl.js' */ caller.bringSelectionIntoView(); -/*Line 1036 - 'AtomItemsControl.js' */ } -/*Line 1037 - 'AtomItemsControl.js' */ }); - -/*Line 1039 - 'AtomItemsControl.js' */ }, - -/*Line 1041 - 'AtomItemsControl.js' */ dispose: function () { -/*Line 1042 - 'AtomItemsControl.js' */ this.resetVirtualContainer(); -/*Line 1043 - 'AtomItemsControl.js' */ base.dispose.call(this); -/*Line 1044 - 'AtomItemsControl.js' */ this._selectedItems = null; -/*Line 1045 - 'AtomItemsControl.js' */ }, - - -/*Line 1048 - 'AtomItemsControl.js' */ init: function () { - -/*Line 1050 - 'AtomItemsControl.js' */ var element = this.get_element(); - - -/*Line 1053 - 'AtomItemsControl.js' */ // set self as Items Presenter.. -/*Line 1054 - 'AtomItemsControl.js' */ if (!this._itemsPresenter) { -/*Line 1055 - 'AtomItemsControl.js' */ this._itemsPresenter = this._element; -/*Line 1056 - 'AtomItemsControl.js' */ } -/*Line 1057 - 'AtomItemsControl.js' */ else { -/*Line 1058 - 'AtomItemsControl.js' */ //this._layout = WebAtoms.AtomViewBoxLayout.defaultInstnace; -/*Line 1059 - 'AtomItemsControl.js' */ } - -/*Line 1061 - 'AtomItemsControl.js' */ var _this = this; -/*Line 1062 - 'AtomItemsControl.js' */ this.bindEvent(this._selectedItems, "CollectionChanged", function () { -/*Line 1063 - 'AtomItemsControl.js' */ _this.onSelectedItemsChanged.apply(_this, arguments); -/*Line 1064 - 'AtomItemsControl.js' */ }); -/*Line 1065 - 'AtomItemsControl.js' */ base.init.apply(this, arguments); - - -/*Line 1068 - 'AtomItemsControl.js' */ var caller = this; - -/*Line 1070 - 'AtomItemsControl.js' */ this.removeItemCommand = function (scope, sender) { -/*Line 1071 - 'AtomItemsControl.js' */ if (!sender) -/*Line 1072 - 'AtomItemsControl.js' */ return; -/*Line 1073 - 'AtomItemsControl.js' */ var d = sender.get_data(); -/*Line 1074 - 'AtomItemsControl.js' */ AtomBinder.removeItem(caller._items, d); -/*Line 1075 - 'AtomItemsControl.js' */ }; - -/*Line 1077 - 'AtomItemsControl.js' */ this.removeSelectedCommand = function (scope, sender) { -/*Line 1078 - 'AtomItemsControl.js' */ var s = caller.get_selectedItems().slice(0); -/*Line 1079 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(s); -/*Line 1080 - 'AtomItemsControl.js' */ while (ae.next()) { -/*Line 1081 - 'AtomItemsControl.js' */ AtomBinder.removeItem(caller.get_items(), ae.current()); -/*Line 1082 - 'AtomItemsControl.js' */ } -/*Line 1083 - 'AtomItemsControl.js' */ }; - -/*Line 1085 - 'AtomItemsControl.js' */ this.removeAllCommand = function (scope, sender) { -/*Line 1086 - 'AtomItemsControl.js' */ AtomBinder.clear(caller.get_items()); -/*Line 1087 - 'AtomItemsControl.js' */ }; -/*Line 1088 - 'AtomItemsControl.js' */ } -/*Line 1089 - 'AtomItemsControl.js' */ } -/*Line 1090 - 'AtomItemsControl.js' */ }); -/*Line 1091 - 'AtomItemsControl.js' */})(WebAtoms.AtomControl.prototype); +/*Line 822 - 'AtomItemsControl.js' */ console.log("Old: " + oldScrollTop + " Diff: " + diff + " Old Height: " + oldHeight + " Height: " + newHeight); + +/*Line 824 - 'AtomItemsControl.js' */ self._isChanging = false; + +/*Line 826 - 'AtomItemsControl.js' */ }); +/*Line 827 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.start(); + +/*Line 829 - 'AtomItemsControl.js' */ AtomBinder.refreshValue(this, "childAtomControls"); +/*Line 830 - 'AtomItemsControl.js' */ }, + +/*Line 832 - 'AtomItemsControl.js' */ onCollectionChanged: function (mode, index, item) { + +/*Line 834 - 'AtomItemsControl.js' */ if (/reset|refresh/i.test(mode)) { +/*Line 835 - 'AtomItemsControl.js' */ this.resetVirtulContainer(); +/*Line 836 - 'AtomItemsControl.js' */ } + + +/*Line 839 - 'AtomItemsControl.js' */ // just reset for now... +/*Line 840 - 'AtomItemsControl.js' */ if (/remove/gi.test(mode)) { +/*Line 841 - 'AtomItemsControl.js' */ // simply delete and remove... +/*Line 842 - 'AtomItemsControl.js' */ var ce = new ChildEnumerator(this._itemsPresenter); +/*Line 843 - 'AtomItemsControl.js' */ while (ce.next()) { +/*Line 844 - 'AtomItemsControl.js' */ var c = ce.current(); +/*Line 845 - 'AtomItemsControl.js' */ if (c.atomControl && c.atomControl.get_data() == item) { +/*Line 846 - 'AtomItemsControl.js' */ c.atomControl.dispose(); +/*Line 847 - 'AtomItemsControl.js' */ $(c).remove(); +/*Line 848 - 'AtomItemsControl.js' */ break; +/*Line 849 - 'AtomItemsControl.js' */ } +/*Line 850 - 'AtomItemsControl.js' */ } +/*Line 851 - 'AtomItemsControl.js' */ this.updateUI(); +/*Line 852 - 'AtomItemsControl.js' */ return; +/*Line 853 - 'AtomItemsControl.js' */ } + +/*Line 855 - 'AtomItemsControl.js' */ if (this._uiVirtualize) { +/*Line 856 - 'AtomItemsControl.js' */ this.onVirtualCollectionChanged(); +/*Line 857 - 'AtomItemsControl.js' */ return; +/*Line 858 - 'AtomItemsControl.js' */ } + +/*Line 860 - 'AtomItemsControl.js' */ var parentScope = this.get_scope(); + +/*Line 862 - 'AtomItemsControl.js' */ var et = this.getTemplate("itemTemplate"); +/*Line 863 - 'AtomItemsControl.js' */ if (et) { +/*Line 864 - 'AtomItemsControl.js' */ et = AtomUI.getAtomType(et); +/*Line 865 - 'AtomItemsControl.js' */ if (et) { +/*Line 866 - 'AtomItemsControl.js' */ this._childItemType = et; +/*Line 867 - 'AtomItemsControl.js' */ } +/*Line 868 - 'AtomItemsControl.js' */ } + +/*Line 870 - 'AtomItemsControl.js' */ if (/add/gi.test(mode)) { +/*Line 871 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.pause(); + +/*Line 873 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(this._items); +/*Line 874 - 'AtomItemsControl.js' */ var ce = new ChildEnumerator(this._itemsPresenter); +/*Line 875 - 'AtomItemsControl.js' */ while (ae.next()) { +/*Line 876 - 'AtomItemsControl.js' */ ce.next(); +/*Line 877 - 'AtomItemsControl.js' */ var c = ce.current(); +/*Line 878 - 'AtomItemsControl.js' */ if (ae.currentIndex() == index) { +/*Line 879 - 'AtomItemsControl.js' */ var ctrl = this.createChildElement(parentScope, this._itemsPresenter, item, ae, c); +/*Line 880 - 'AtomItemsControl.js' */ this.applyItemStyle(ctrl, item, ae.isFirst(), ae.isLast()); +/*Line 881 - 'AtomItemsControl.js' */ break; +/*Line 882 - 'AtomItemsControl.js' */ } +/*Line 883 - 'AtomItemsControl.js' */ if (ae.isLast()) { +/*Line 884 - 'AtomItemsControl.js' */ var ctrl = this.createChildElement(parentScope, this._itemsPresenter, item, ae); +/*Line 885 - 'AtomItemsControl.js' */ this.applyItemStyle(ctrl, item, ae.isFirst(), ae.isLast()); +/*Line 886 - 'AtomItemsControl.js' */ break; +/*Line 887 - 'AtomItemsControl.js' */ } +/*Line 888 - 'AtomItemsControl.js' */ } + +/*Line 890 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.start(); +/*Line 891 - 'AtomItemsControl.js' */ this.updateUI(); +/*Line 892 - 'AtomItemsControl.js' */ return; +/*Line 893 - 'AtomItemsControl.js' */ } + +/*Line 895 - 'AtomItemsControl.js' */ var element = this._itemsPresenter; + +/*Line 897 - 'AtomItemsControl.js' */ var dataItems = this.get_dataItems(); + + +/*Line 900 - 'AtomItemsControl.js' */ //AtomUI.removeAllChildren(element); +/*Line 901 - 'AtomItemsControl.js' */ this.disposeChildren(element); +/*Line 902 - 'AtomItemsControl.js' */ //this._dataElements.length = 0; +/*Line 903 - 'AtomItemsControl.js' */ // rebuild from template... + +/*Line 905 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.pause(); + +/*Line 907 - 'AtomItemsControl.js' */ // implement stock... + + +/*Line 910 - 'AtomItemsControl.js' */ var items = this.get_dataItems(true); + +/*Line 912 - 'AtomItemsControl.js' */ var added = []; + +/*Line 914 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(items); + + +/*Line 917 - 'AtomItemsControl.js' */ this.getTemplate("itemTemplate"); + +/*Line 919 - 'AtomItemsControl.js' */ while (ae.next()) { +/*Line 920 - 'AtomItemsControl.js' */ var data = ae.current(); +/*Line 921 - 'AtomItemsControl.js' */ var elementChild = this.createChildElement(parentScope, element, data, ae); +/*Line 922 - 'AtomItemsControl.js' */ added.push(elementChild); +/*Line 923 - 'AtomItemsControl.js' */ this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); +/*Line 924 - 'AtomItemsControl.js' */ } + + +/*Line 927 - 'AtomItemsControl.js' */ //var ae = new AtomEnumerator(items); +/*Line 928 - 'AtomItemsControl.js' */ //while (ae.next()) { +/*Line 929 - 'AtomItemsControl.js' */ // var data = ae.current(); +/*Line 930 - 'AtomItemsControl.js' */ // var elementChild = this.createChildElement(parentScope, element, data, ae); +/*Line 931 - 'AtomItemsControl.js' */ // this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); +/*Line 932 - 'AtomItemsControl.js' */ //} +/*Line 933 - 'AtomItemsControl.js' */ var self = this; +/*Line 934 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.callLater(function () { +/*Line 935 - 'AtomItemsControl.js' */ var dirty = []; +/*Line 936 - 'AtomItemsControl.js' */ var ce = new ChildEnumerator(element); +/*Line 937 - 'AtomItemsControl.js' */ while (ce.next()) { +/*Line 938 - 'AtomItemsControl.js' */ var item = ce.current(); +/*Line 939 - 'AtomItemsControl.js' */ var f = added.filter(function (fx) { return item == fx; }); +/*Line 940 - 'AtomItemsControl.js' */ if (f.pop() != item) { +/*Line 941 - 'AtomItemsControl.js' */ dirty.push(item); +/*Line 942 - 'AtomItemsControl.js' */ } +/*Line 943 - 'AtomItemsControl.js' */ } +/*Line 944 - 'AtomItemsControl.js' */ ce = new AtomEnumerator(dirty); +/*Line 945 - 'AtomItemsControl.js' */ while (ce.next()) { +/*Line 946 - 'AtomItemsControl.js' */ var item = ce.current(); +/*Line 947 - 'AtomItemsControl.js' */ //self.dispose(item); +/*Line 948 - 'AtomItemsControl.js' */ if (item.atomControl) { +/*Line 949 - 'AtomItemsControl.js' */ item.atomControl.dispose(); +/*Line 950 - 'AtomItemsControl.js' */ } +/*Line 951 - 'AtomItemsControl.js' */ $(item).remove(); +/*Line 952 - 'AtomItemsControl.js' */ } + +/*Line 954 - 'AtomItemsControl.js' */ }); + + + +/*Line 958 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.start(); + +/*Line 960 - 'AtomItemsControl.js' */ AtomBinder.refreshValue(this, "childAtomControls"); + + +/*Line 963 - 'AtomItemsControl.js' */ }, + +/*Line 965 - 'AtomItemsControl.js' */ set_innerTemplate: function (v) { +/*Line 966 - 'AtomItemsControl.js' */ this._itemsPresenter = this._element; +/*Line 967 - 'AtomItemsControl.js' */ base.set_innerTemplate.apply(this, arguments); +/*Line 968 - 'AtomItemsControl.js' */ this.onCollectionChangedInternal("mode", -1, null); +/*Line 969 - 'AtomItemsControl.js' */ }, + +/*Line 971 - 'AtomItemsControl.js' */ applyItemStyle: function (item, dataItem, first, last) { +/*Line 972 - 'AtomItemsControl.js' */ }, + +/*Line 974 - 'AtomItemsControl.js' */ createChildElement: function (parentScope, parentElement, data, ae, before) { + +/*Line 976 - 'AtomItemsControl.js' */ var elementChild = AtomUI.cloneNode(this._itemTemplate); +/*Line 977 - 'AtomItemsControl.js' */ elementChild._logicalParent = parentElement || this._itemsPresenter; +/*Line 978 - 'AtomItemsControl.js' */ elementChild._templateParent = this; +/*Line 979 - 'AtomItemsControl.js' */ elementChild._isDirty = true; + +/*Line 981 - 'AtomItemsControl.js' */ if (parentElement) { +/*Line 982 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.callLater(function () { +/*Line 983 - 'AtomItemsControl.js' */ if (before) { +/*Line 984 - 'AtomItemsControl.js' */ parentElement.insertBefore(elementChild, before); +/*Line 985 - 'AtomItemsControl.js' */ } else { +/*Line 986 - 'AtomItemsControl.js' */ parentElement.appendChild(elementChild); +/*Line 987 - 'AtomItemsControl.js' */ } +/*Line 988 - 'AtomItemsControl.js' */ }); +/*Line 989 - 'AtomItemsControl.js' */ } + +/*Line 991 - 'AtomItemsControl.js' */ var index = ae ? ae.currentIndex() : -1; +/*Line 992 - 'AtomItemsControl.js' */ var scope = null; + +/*Line 994 - 'AtomItemsControl.js' */ if (this._uiVirtualize) { +/*Line 995 - 'AtomItemsControl.js' */ var scopes = this._scopes || { +/*Line 996 - 'AtomItemsControl.js' */ }; +/*Line 997 - 'AtomItemsControl.js' */ this._scopes = scopes; + +/*Line 999 - 'AtomItemsControl.js' */ scope = scopes[index] || new AtomScope(this, parentScope, parentScope.__application); +/*Line 1000 - 'AtomItemsControl.js' */ scopes[index] = scope; +/*Line 1001 - 'AtomItemsControl.js' */ } else { +/*Line 1002 - 'AtomItemsControl.js' */ scope = new AtomScope(this, parentScope, parentScope.__application); +/*Line 1003 - 'AtomItemsControl.js' */ } + +/*Line 1005 - 'AtomItemsControl.js' */ if (ae) { +/*Line 1006 - 'AtomItemsControl.js' */ scope.itemIsFirst = ae.isFirst(); +/*Line 1007 - 'AtomItemsControl.js' */ scope.itemIsLast = ae.isLast(); +/*Line 1008 - 'AtomItemsControl.js' */ scope.itemIndex = index; +/*Line 1009 - 'AtomItemsControl.js' */ scope.itemExpanded = false; +/*Line 1010 - 'AtomItemsControl.js' */ scope.data = data; +/*Line 1011 - 'AtomItemsControl.js' */ scope.get_itemSelected = function () { +/*Line 1012 - 'AtomItemsControl.js' */ return scope.owner.isSelected(data); +/*Line 1013 - 'AtomItemsControl.js' */ }; +/*Line 1014 - 'AtomItemsControl.js' */ scope.set_itemSelected = function (v) { +/*Line 1015 - 'AtomItemsControl.js' */ scope.owner.toggleSelection(data, true); +/*Line 1016 - 'AtomItemsControl.js' */ }; +/*Line 1017 - 'AtomItemsControl.js' */ } + +/*Line 1019 - 'AtomItemsControl.js' */ var ac = AtomUI.createControl(elementChild, this._childItemType, data, scope); +/*Line 1020 - 'AtomItemsControl.js' */ return elementChild; +/*Line 1021 - 'AtomItemsControl.js' */ }, + +/*Line 1023 - 'AtomItemsControl.js' */ toggleSelection: function (data) { +/*Line 1024 - 'AtomItemsControl.js' */ this._onUIChanged = true; +/*Line 1025 - 'AtomItemsControl.js' */ this._value = undefined; +/*Line 1026 - 'AtomItemsControl.js' */ if (this._allowMultipleSelection) { +/*Line 1027 - 'AtomItemsControl.js' */ if (AtomUI.contains(this._selectedItems, data)) { +/*Line 1028 - 'AtomItemsControl.js' */ AtomBinder.removeItem(this._selectedItems, data); +/*Line 1029 - 'AtomItemsControl.js' */ } else { +/*Line 1030 - 'AtomItemsControl.js' */ AtomBinder.addItem(this._selectedItems, data); +/*Line 1031 - 'AtomItemsControl.js' */ } +/*Line 1032 - 'AtomItemsControl.js' */ } else { +/*Line 1033 - 'AtomItemsControl.js' */ this._selectedItems.length = 1; +/*Line 1034 - 'AtomItemsControl.js' */ this._selectedItems[0] = data; +/*Line 1035 - 'AtomItemsControl.js' */ AtomBinder.refreshItems(this._selectedItems); +/*Line 1036 - 'AtomItemsControl.js' */ } +/*Line 1037 - 'AtomItemsControl.js' */ this._onUIChanged = false; +/*Line 1038 - 'AtomItemsControl.js' */ }, + +/*Line 1040 - 'AtomItemsControl.js' */ onUpdateUI: function () { +/*Line 1041 - 'AtomItemsControl.js' */ base.onUpdateUI.call(this); + +/*Line 1043 - 'AtomItemsControl.js' */ if (this._uiVirtualize) { +/*Line 1044 - 'AtomItemsControl.js' */ this.onVirtualCollectionChanged(); +/*Line 1045 - 'AtomItemsControl.js' */ } + +/*Line 1047 - 'AtomItemsControl.js' */ var ae = new ChildEnumerator(this._itemsPresenter); +/*Line 1048 - 'AtomItemsControl.js' */ while (ae.next()) { +/*Line 1049 - 'AtomItemsControl.js' */ var item = ae.current(); +/*Line 1050 - 'AtomItemsControl.js' */ if (!item.atomControl) +/*Line 1051 - 'AtomItemsControl.js' */ continue; +/*Line 1052 - 'AtomItemsControl.js' */ var dataItem = item.atomControl.get_data(); +/*Line 1053 - 'AtomItemsControl.js' */ AtomBinder.refreshValue(item.atomControl.get_scope(), "itemSelected"); +/*Line 1054 - 'AtomItemsControl.js' */ this.applyItemStyle(item, dataItem, ae.isFirst(), ae.isLast()); +/*Line 1055 - 'AtomItemsControl.js' */ } +/*Line 1056 - 'AtomItemsControl.js' */ }, + +/*Line 1058 - 'AtomItemsControl.js' */ onCreated: function () { + + +/*Line 1061 - 'AtomItemsControl.js' */ if (this._items) { +/*Line 1062 - 'AtomItemsControl.js' */ this.onCollectionChangedInternal("refresh", -1, null); +/*Line 1063 - 'AtomItemsControl.js' */ } + +/*Line 1065 - 'AtomItemsControl.js' */ var caller = this; + +/*Line 1067 - 'AtomItemsControl.js' */ this.dispatcher.callLater(function () { +/*Line 1068 - 'AtomItemsControl.js' */ if (caller._autoScrollToSelection) { +/*Line 1069 - 'AtomItemsControl.js' */ caller.bringSelectionIntoView(); +/*Line 1070 - 'AtomItemsControl.js' */ } +/*Line 1071 - 'AtomItemsControl.js' */ }); + +/*Line 1073 - 'AtomItemsControl.js' */ }, + +/*Line 1075 - 'AtomItemsControl.js' */ dispose: function () { +/*Line 1076 - 'AtomItemsControl.js' */ this.resetVirtulContainer(); +/*Line 1077 - 'AtomItemsControl.js' */ base.dispose.call(this); +/*Line 1078 - 'AtomItemsControl.js' */ //this._selectedItems = null; +/*Line 1079 - 'AtomItemsControl.js' */ }, + + +/*Line 1082 - 'AtomItemsControl.js' */ init: function () { + +/*Line 1084 - 'AtomItemsControl.js' */ var element = this.get_element(); + + +/*Line 1087 - 'AtomItemsControl.js' */ // set self as Items Presenter.. +/*Line 1088 - 'AtomItemsControl.js' */ if (!this._itemsPresenter) { +/*Line 1089 - 'AtomItemsControl.js' */ this._itemsPresenter = this._element; +/*Line 1090 - 'AtomItemsControl.js' */ } +/*Line 1091 - 'AtomItemsControl.js' */ else { +/*Line 1092 - 'AtomItemsControl.js' */ //this._layout = WebAtoms.AtomViewBoxLayout.defaultInstnace; +/*Line 1093 - 'AtomItemsControl.js' */ } + +/*Line 1095 - 'AtomItemsControl.js' */ var _this = this; +/*Line 1096 - 'AtomItemsControl.js' */ this.bindEvent(this._selectedItems, "CollectionChanged", function () { +/*Line 1097 - 'AtomItemsControl.js' */ _this.onSelectedItemsChanged.apply(_this, arguments); +/*Line 1098 - 'AtomItemsControl.js' */ }); +/*Line 1099 - 'AtomItemsControl.js' */ base.init.apply(this, arguments); + + +/*Line 1102 - 'AtomItemsControl.js' */ var caller = this; + +/*Line 1104 - 'AtomItemsControl.js' */ this.removeItemCommand = function (scope, sender) { +/*Line 1105 - 'AtomItemsControl.js' */ if (!sender) +/*Line 1106 - 'AtomItemsControl.js' */ return; +/*Line 1107 - 'AtomItemsControl.js' */ var d = sender.get_data(); +/*Line 1108 - 'AtomItemsControl.js' */ AtomBinder.removeItem(caller._items, d); +/*Line 1109 - 'AtomItemsControl.js' */ }; + +/*Line 1111 - 'AtomItemsControl.js' */ this.removeSelectedCommand = function (scope, sender) { +/*Line 1112 - 'AtomItemsControl.js' */ var s = caller.get_selectedItems().slice(0); +/*Line 1113 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(s); +/*Line 1114 - 'AtomItemsControl.js' */ while (ae.next()) { +/*Line 1115 - 'AtomItemsControl.js' */ AtomBinder.removeItem(caller.get_items(), ae.current()); +/*Line 1116 - 'AtomItemsControl.js' */ } +/*Line 1117 - 'AtomItemsControl.js' */ }; + +/*Line 1119 - 'AtomItemsControl.js' */ this.removeAllCommand = function (scope, sender) { +/*Line 1120 - 'AtomItemsControl.js' */ AtomBinder.clear(caller.get_items()); +/*Line 1121 - 'AtomItemsControl.js' */ }; +/*Line 1122 - 'AtomItemsControl.js' */ } +/*Line 1123 - 'AtomItemsControl.js' */ } +/*Line 1124 - 'AtomItemsControl.js' */ }); +/*Line 1125 - 'AtomItemsControl.js' */})(WebAtoms.AtomControl.prototype); /*Line 0 - 'AtomButton.js' */ /*Line 2 - 'AtomButton.js' */(function (base) { @@ -8139,7 +8179,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 23 - 'AtomButton.js' */ vr.validate(); /*Line 24 - 'AtomButton.js' */ var errors = vr.get_errors(); /*Line 25 - 'AtomButton.js' */ if (errors.length) { -/*Line 26 - 'AtomButton.js' */ alert(Atom.mapJoin(errors, 'label')); +/*Line 26 - 'AtomButton.js' */ Atom.alert(Atom.mapJoin(errors, 'label')); /*Line 27 - 'AtomButton.js' */ return false; /*Line 28 - 'AtomButton.js' */ } /*Line 29 - 'AtomButton.js' */ } @@ -8147,7 +8187,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 31 - 'AtomButton.js' */ var errors = this.get_errors(); /*Line 32 - 'AtomButton.js' */ if (errors.length) { -/*Line 34 - 'AtomButton.js' */ alert(Atom.mapJoin(errors, 'label')); +/*Line 34 - 'AtomButton.js' */ Atom.alert(Atom.mapJoin(errors, 'label')); /*Line 36 - 'AtomButton.js' */ return false; /*Line 37 - 'AtomButton.js' */ } @@ -9170,7 +9210,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 45 - 'AtomPostButton.js' */ vr.validate(); /*Line 46 - 'AtomPostButton.js' */ var errors = vr.get_errors(); /*Line 47 - 'AtomPostButton.js' */ if (errors.length) { -/*Line 48 - 'AtomPostButton.js' */ alert(Atom.mapJoin(errors,'label')); +/*Line 48 - 'AtomPostButton.js' */ Atom.alert(Atom.mapJoin(errors,'label')); /*Line 49 - 'AtomPostButton.js' */ return false; /*Line 50 - 'AtomPostButton.js' */ } /*Line 51 - 'AtomPostButton.js' */ } @@ -9179,7 +9219,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 54 - 'AtomPostButton.js' */ var errors = this.get_errors(); /*Line 55 - 'AtomPostButton.js' */ if (errors.length) { -/*Line 57 - 'AtomPostButton.js' */ alert(Atom.mapJoin(errors, 'label')); +/*Line 57 - 'AtomPostButton.js' */ Atom.alert(Atom.mapJoin(errors, 'label')); /*Line 59 - 'AtomPostButton.js' */ return false; /*Line 60 - 'AtomPostButton.js' */ } @@ -9430,163 +9470,164 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 10 - 'AtomForm.js' */ this._attachments = null; /*Line 11 - 'AtomForm.js' */ }, /*Line 12 - 'AtomForm.js' */ properties: { -/*Line 13 - 'AtomForm.js' */ result: null, -/*Line 14 - 'AtomForm.js' */ errorNext: null, -/*Line 15 - 'AtomForm.js' */ mergeData: null, -/*Line 16 - 'AtomForm.js' */ mergeResult: true, -/*Line 17 - 'AtomForm.js' */ postUrl: null, -/*Line 18 - 'AtomForm.js' */ postData: null, -/*Line 19 - 'AtomForm.js' */ successMessage: null, -/*Line 20 - 'AtomForm.js' */ clearData: false, -/*Line 21 - 'AtomForm.js' */ errorTemplate: null -/*Line 22 - 'AtomForm.js' */ }, -/*Line 23 - 'AtomForm.js' */ methods: { -/*Line 24 - 'AtomForm.js' */ createFormLayout: function () { -/*Line 25 - 'AtomForm.js' */ }, - - -/*Line 28 - 'AtomForm.js' */ preparePostData: function () { - - -/*Line 31 - 'AtomForm.js' */ var element = this.get_element(); -/*Line 32 - 'AtomForm.js' */ var data = this._postData || this.get_data(); - -/*Line 34 - 'AtomForm.js' */ var m = this._mergeData; -/*Line 35 - 'AtomForm.js' */ if (m) { -/*Line 36 - 'AtomForm.js' */ for (var i in m) { -/*Line 37 - 'AtomForm.js' */ data[i] = m[i]; -/*Line 38 - 'AtomForm.js' */ } -/*Line 39 - 'AtomForm.js' */ } - -/*Line 41 - 'AtomForm.js' */ return data; -/*Line 42 - 'AtomForm.js' */ }, - -/*Line 44 - 'AtomForm.js' */ onSubmit: function () { - -/*Line 46 - 'AtomForm.js' */ //if (!this.isValid()) { -/*Line 47 - 'AtomForm.js' */ // return; -/*Line 48 - 'AtomForm.js' */ //} - -/*Line 50 - 'AtomForm.js' */ this.validate(); - -/*Line 52 - 'AtomForm.js' */ var errors = this.get_errors(); -/*Line 53 - 'AtomForm.js' */ if (errors.length) { -/*Line 54 - 'AtomForm.js' */ var labels = document.getElementsByTagName("label"); -/*Line 55 - 'AtomForm.js' */ this.invokeAction({ -/*Line 56 - 'AtomForm.js' */ localWindow: { -/*Line 57 - 'AtomForm.js' */ path: this.getTemplate("errorTemplate"), -/*Line 58 - 'AtomForm.js' */ prop: { -/*Line 59 - 'AtomForm.js' */ data: errors.map(function (i) { -/*Line 60 - 'AtomForm.js' */ var l = Atom.query(labels).firstOrDefault({ control: i.value }); -/*Line 61 - 'AtomForm.js' */ if (l) { -/*Line 62 - 'AtomForm.js' */ i.label = $(l).text() + " (" + i.label + ")"; -/*Line 63 - 'AtomForm.js' */ } -/*Line 64 - 'AtomForm.js' */ return i; -/*Line 65 - 'AtomForm.js' */ }), -/*Line 66 - 'AtomForm.js' */ title: "Form Errors" -/*Line 67 - 'AtomForm.js' */ } -/*Line 68 - 'AtomForm.js' */ } -/*Line 69 - 'AtomForm.js' */ }); -/*Line 70 - 'AtomForm.js' */ return; -/*Line 71 - 'AtomForm.js' */ } - -/*Line 73 - 'AtomForm.js' */ var data = this.preparePostData(); -/*Line 74 - 'AtomForm.js' */ var url = AtomPromise.getUrl(this._postUrl); -/*Line 75 - 'AtomForm.js' */ var p = AtomPromise.json(url, { _tv: Atom.time() }, { type: "POST", data: data }); -/*Line 76 - 'AtomForm.js' */ p.then(this._success); -/*Line 77 - 'AtomForm.js' */ var errorNext = this._errorNext; -/*Line 78 - 'AtomForm.js' */ if (errorNext) { -/*Line 79 - 'AtomForm.js' */ var self = this; -/*Line 80 - 'AtomForm.js' */ p.failed(function (pr) { -/*Line 81 - 'AtomForm.js' */ self.invokeAction(errorNext); -/*Line 82 - 'AtomForm.js' */ }); -/*Line 83 - 'AtomForm.js' */ } -/*Line 84 - 'AtomForm.js' */ p.invoke(); -/*Line 85 - 'AtomForm.js' */ }, - -/*Line 87 - 'AtomForm.js' */ onSuccess: function (p) { - -/*Line 89 - 'AtomForm.js' */ var result = p.value(); - -/*Line 91 - 'AtomForm.js' */ AtomBinder.setValue(this, "result", result); - -/*Line 93 - 'AtomForm.js' */ if (this._mergeResult) { -/*Line 94 - 'AtomForm.js' */ // merge... -/*Line 95 - 'AtomForm.js' */ // AtomBinder.setValue(this, "data", result); -/*Line 96 - 'AtomForm.js' */ var data = this.get_data(); -/*Line 97 - 'AtomForm.js' */ for (var index in result) { -/*Line 98 - 'AtomForm.js' */ AtomBinder.setValue(data, index, result[index]); -/*Line 99 - 'AtomForm.js' */ } -/*Line 100 - 'AtomForm.js' */ } - -/*Line 102 - 'AtomForm.js' */ if (this._clearData) { -/*Line 103 - 'AtomForm.js' */ var data = this.get_data(); -/*Line 104 - 'AtomForm.js' */ for (var index in this._clearData) { -/*Line 105 - 'AtomForm.js' */ AtomBinder.setValue(data, index, result[index]); -/*Line 106 - 'AtomForm.js' */ } -/*Line 107 - 'AtomForm.js' */ } - -/*Line 109 - 'AtomForm.js' */ if (this._successMessage) { -/*Line 110 - 'AtomForm.js' */ Atom.alert(this._successMessage); -/*Line 111 - 'AtomForm.js' */ } - -/*Line 113 - 'AtomForm.js' */ this.invokeAction(this._next); - -/*Line 115 - 'AtomForm.js' */ }, - -/*Line 117 - 'AtomForm.js' */ onKeyUp: function (e) { -/*Line 118 - 'AtomForm.js' */ if (e.target && e.target.nodeName && /textarea/gi.test(e.target.nodeName)) -/*Line 119 - 'AtomForm.js' */ return; -/*Line 120 - 'AtomForm.js' */ if (e.keyCode == 13) { -/*Line 121 - 'AtomForm.js' */ var self = this; -/*Line 122 - 'AtomForm.js' */ // fix for IE 11, IE 11 does not fire Change event on enter -/*Line 123 - 'AtomForm.js' */ if (/input/gi.test(e.target.nodeName)) { -/*Line 124 - 'AtomForm.js' */ $(e.target).change(); -/*Line 125 - 'AtomForm.js' */ } -/*Line 126 - 'AtomForm.js' */ WebAtoms.dispatcher.callLater(function () { -/*Line 127 - 'AtomForm.js' */ self.onSubmit(); -/*Line 128 - 'AtomForm.js' */ }); -/*Line 129 - 'AtomForm.js' */ } -/*Line 130 - 'AtomForm.js' */ }, - -/*Line 132 - 'AtomForm.js' */ init: function () { -/*Line 133 - 'AtomForm.js' */ baseType.init.call(this); - -/*Line 135 - 'AtomForm.js' */ var self = this; -/*Line 136 - 'AtomForm.js' */ this._success = function () { -/*Line 137 - 'AtomForm.js' */ self.onSuccess.apply(self, arguments); -/*Line 138 - 'AtomForm.js' */ }; - -/*Line 140 - 'AtomForm.js' */ this._submit = function () { -/*Line 141 - 'AtomForm.js' */ WebAtoms.dispatcher.callLater(function () { -/*Line 142 - 'AtomForm.js' */ self.onSubmit.apply(self, arguments); -/*Line 143 - 'AtomForm.js' */ }); -/*Line 144 - 'AtomForm.js' */ }; - -/*Line 146 - 'AtomForm.js' */ var element = this.get_element(); - -/*Line 148 - 'AtomForm.js' */ this.submitCommand = this._submit; - -/*Line 150 - 'AtomForm.js' */ if (/form/i.test(this._element.nodeName)) { -/*Line 151 - 'AtomForm.js' */ this.bindEvent(element, "submit", function (e) { -/*Line 152 - 'AtomForm.js' */ if (e) { e.preventDefault(); } -/*Line 153 - 'AtomForm.js' */ self.submitCommand(); -/*Line 154 - 'AtomForm.js' */ return false; -/*Line 155 - 'AtomForm.js' */ }); -/*Line 156 - 'AtomForm.js' */ }else{ -/*Line 157 - 'AtomForm.js' */ this.bindEvent(element, "keyup", "onKeyUp"); - -/*Line 159 - 'AtomForm.js' */ $(element).find("input[type=submit]").bind("click", null, this._submit); -/*Line 160 - 'AtomForm.js' */ $(element).find("button[type=submit]").bind("click", null, this._submit); -/*Line 161 - 'AtomForm.js' */ } - - - -/*Line 165 - 'AtomForm.js' */ } - -/*Line 167 - 'AtomForm.js' */ } -/*Line 168 - 'AtomForm.js' */ }); -/*Line 169 - 'AtomForm.js' */})(WebAtoms.AtomControl.prototype); +/*Line 13 - 'AtomForm.js' */ method: 'POST', +/*Line 14 - 'AtomForm.js' */ result: null, +/*Line 15 - 'AtomForm.js' */ errorNext: null, +/*Line 16 - 'AtomForm.js' */ mergeData: null, +/*Line 17 - 'AtomForm.js' */ mergeResult: true, +/*Line 18 - 'AtomForm.js' */ postUrl: null, +/*Line 19 - 'AtomForm.js' */ postData: null, +/*Line 20 - 'AtomForm.js' */ successMessage: null, +/*Line 21 - 'AtomForm.js' */ clearData: false, +/*Line 22 - 'AtomForm.js' */ errorTemplate: null +/*Line 23 - 'AtomForm.js' */ }, +/*Line 24 - 'AtomForm.js' */ methods: { +/*Line 25 - 'AtomForm.js' */ createFormLayout: function () { +/*Line 26 - 'AtomForm.js' */ }, + + +/*Line 29 - 'AtomForm.js' */ preparePostData: function () { + + +/*Line 32 - 'AtomForm.js' */ var element = this.get_element(); +/*Line 33 - 'AtomForm.js' */ var data = this._postData || this.get_data(); + +/*Line 35 - 'AtomForm.js' */ var m = this._mergeData; +/*Line 36 - 'AtomForm.js' */ if (m) { +/*Line 37 - 'AtomForm.js' */ for (var i in m) { +/*Line 38 - 'AtomForm.js' */ data[i] = m[i]; +/*Line 39 - 'AtomForm.js' */ } +/*Line 40 - 'AtomForm.js' */ } + +/*Line 42 - 'AtomForm.js' */ return data; +/*Line 43 - 'AtomForm.js' */ }, + +/*Line 45 - 'AtomForm.js' */ onSubmit: function () { + +/*Line 47 - 'AtomForm.js' */ //if (!this.isValid()) { +/*Line 48 - 'AtomForm.js' */ // return; +/*Line 49 - 'AtomForm.js' */ //} + +/*Line 51 - 'AtomForm.js' */ this.validate(); + +/*Line 53 - 'AtomForm.js' */ var errors = this.get_errors(); +/*Line 54 - 'AtomForm.js' */ if (errors.length) { +/*Line 55 - 'AtomForm.js' */ var labels = document.getElementsByTagName("label"); +/*Line 56 - 'AtomForm.js' */ this.invokeAction({ +/*Line 57 - 'AtomForm.js' */ localWindow: { +/*Line 58 - 'AtomForm.js' */ path: this.getTemplate("errorTemplate"), +/*Line 59 - 'AtomForm.js' */ prop: { +/*Line 60 - 'AtomForm.js' */ data: errors.map(function (i) { +/*Line 61 - 'AtomForm.js' */ var l = Atom.query(labels).firstOrDefault({ control: i.value }); +/*Line 62 - 'AtomForm.js' */ if (l) { +/*Line 63 - 'AtomForm.js' */ i.label = $(l).text() + " (" + i.label + ")"; +/*Line 64 - 'AtomForm.js' */ } +/*Line 65 - 'AtomForm.js' */ return i; +/*Line 66 - 'AtomForm.js' */ }), +/*Line 67 - 'AtomForm.js' */ title: "Form Errors" +/*Line 68 - 'AtomForm.js' */ } +/*Line 69 - 'AtomForm.js' */ } +/*Line 70 - 'AtomForm.js' */ }); +/*Line 71 - 'AtomForm.js' */ return; +/*Line 72 - 'AtomForm.js' */ } + +/*Line 74 - 'AtomForm.js' */ var data = this.preparePostData(); +/*Line 75 - 'AtomForm.js' */ var url = AtomPromise.getUrl(this._postUrl); +/*Line 76 - 'AtomForm.js' */ var p = AtomPromise.json(url, { _tv: Atom.time() }, { type: this.get_method(), data: data }); +/*Line 77 - 'AtomForm.js' */ p.then(this._success); +/*Line 78 - 'AtomForm.js' */ var errorNext = this._errorNext; +/*Line 79 - 'AtomForm.js' */ if (errorNext) { +/*Line 80 - 'AtomForm.js' */ var self = this; +/*Line 81 - 'AtomForm.js' */ p.failed(function (pr) { +/*Line 82 - 'AtomForm.js' */ self.invokeAction(errorNext); +/*Line 83 - 'AtomForm.js' */ }); +/*Line 84 - 'AtomForm.js' */ } +/*Line 85 - 'AtomForm.js' */ p.invoke(); +/*Line 86 - 'AtomForm.js' */ }, + +/*Line 88 - 'AtomForm.js' */ onSuccess: function (p) { + +/*Line 90 - 'AtomForm.js' */ var result = p.value(); + +/*Line 92 - 'AtomForm.js' */ AtomBinder.setValue(this, "result", result); + +/*Line 94 - 'AtomForm.js' */ if (this._mergeResult) { +/*Line 95 - 'AtomForm.js' */ // merge... +/*Line 96 - 'AtomForm.js' */ // AtomBinder.setValue(this, "data", result); +/*Line 97 - 'AtomForm.js' */ var data = this.get_data(); +/*Line 98 - 'AtomForm.js' */ for (var index in result) { +/*Line 99 - 'AtomForm.js' */ AtomBinder.setValue(data, index, result[index]); +/*Line 100 - 'AtomForm.js' */ } +/*Line 101 - 'AtomForm.js' */ } + +/*Line 103 - 'AtomForm.js' */ if (this._clearData) { +/*Line 104 - 'AtomForm.js' */ var data = this.get_data(); +/*Line 105 - 'AtomForm.js' */ for (var index in this._clearData) { +/*Line 106 - 'AtomForm.js' */ AtomBinder.setValue(data, index, result[index]); +/*Line 107 - 'AtomForm.js' */ } +/*Line 108 - 'AtomForm.js' */ } + +/*Line 110 - 'AtomForm.js' */ if (this._successMessage) { +/*Line 111 - 'AtomForm.js' */ Atom.alert(this._successMessage); +/*Line 112 - 'AtomForm.js' */ } + +/*Line 114 - 'AtomForm.js' */ this.invokeAction(this._next); + +/*Line 116 - 'AtomForm.js' */ }, + +/*Line 118 - 'AtomForm.js' */ onKeyUp: function (e) { +/*Line 119 - 'AtomForm.js' */ if (e.target && e.target.nodeName && /textarea/gi.test(e.target.nodeName)) +/*Line 120 - 'AtomForm.js' */ return; +/*Line 121 - 'AtomForm.js' */ if (e.keyCode == 13) { +/*Line 122 - 'AtomForm.js' */ var self = this; +/*Line 123 - 'AtomForm.js' */ // fix for IE 11, IE 11 does not fire Change event on enter +/*Line 124 - 'AtomForm.js' */ if (/input/gi.test(e.target.nodeName)) { +/*Line 125 - 'AtomForm.js' */ $(e.target).change(); +/*Line 126 - 'AtomForm.js' */ } +/*Line 127 - 'AtomForm.js' */ WebAtoms.dispatcher.callLater(function () { +/*Line 128 - 'AtomForm.js' */ self.onSubmit(); +/*Line 129 - 'AtomForm.js' */ }); +/*Line 130 - 'AtomForm.js' */ } +/*Line 131 - 'AtomForm.js' */ }, + +/*Line 133 - 'AtomForm.js' */ init: function () { +/*Line 134 - 'AtomForm.js' */ baseType.init.call(this); + +/*Line 136 - 'AtomForm.js' */ var self = this; +/*Line 137 - 'AtomForm.js' */ this._success = function () { +/*Line 138 - 'AtomForm.js' */ self.onSuccess.apply(self, arguments); +/*Line 139 - 'AtomForm.js' */ }; + +/*Line 141 - 'AtomForm.js' */ this._submit = function () { +/*Line 142 - 'AtomForm.js' */ WebAtoms.dispatcher.callLater(function () { +/*Line 143 - 'AtomForm.js' */ self.onSubmit.apply(self, arguments); +/*Line 144 - 'AtomForm.js' */ }); +/*Line 145 - 'AtomForm.js' */ }; + +/*Line 147 - 'AtomForm.js' */ var element = this.get_element(); + +/*Line 149 - 'AtomForm.js' */ this.submitCommand = this._submit; + +/*Line 151 - 'AtomForm.js' */ if (/form/i.test(this._element.nodeName)) { +/*Line 152 - 'AtomForm.js' */ this.bindEvent(element, "submit", function (e) { +/*Line 153 - 'AtomForm.js' */ if (e) { e.preventDefault(); } +/*Line 154 - 'AtomForm.js' */ self.submitCommand(); +/*Line 155 - 'AtomForm.js' */ return false; +/*Line 156 - 'AtomForm.js' */ }); +/*Line 157 - 'AtomForm.js' */ }else{ +/*Line 158 - 'AtomForm.js' */ this.bindEvent(element, "keyup", "onKeyUp"); + +/*Line 160 - 'AtomForm.js' */ $(element).find("input[type=submit]").bind("click", null, this._submit); +/*Line 161 - 'AtomForm.js' */ $(element).find("button[type=submit]").bind("click", null, this._submit); +/*Line 162 - 'AtomForm.js' */ } + + + +/*Line 166 - 'AtomForm.js' */ } + +/*Line 168 - 'AtomForm.js' */ } +/*Line 169 - 'AtomForm.js' */ }); +/*Line 170 - 'AtomForm.js' */})(WebAtoms.AtomControl.prototype); /*Line 0 - 'AtomFormLayout.js' */ diff --git a/atoms.js b/atoms.js index 1bec0e81..e0433908 100644 --- a/atoms.js +++ b/atoms.js @@ -1797,7 +1797,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 70 - 'Stop.js' */ var e = this.get_errors(); /*Line 71 - 'Stop.js' */ if (e && e.length) { -/*Line 72 - 'Stop.js' */ alert(Atom.mapJoin(e,"label","\n")); +/*Line 72 - 'Stop.js' */ Atom.alert(Atom.mapJoin(e,"label","\n")); /*Line 73 - 'Stop.js' */ return; /*Line 74 - 'Stop.js' */ } /*Line 75 - 'Stop.js' */ this.invokeAction(action); @@ -1806,7 +1806,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 79 - 'Stop.js' */$x.alert = function (msg) { /*Line 80 - 'Stop.js' */ return function () { -/*Line 81 - 'Stop.js' */ alert(msg); +/*Line 81 - 'Stop.js' */ Atom.alert(msg); /*Line 82 - 'Stop.js' */ }; /*Line 83 - 'Stop.js' */}; @@ -2740,10 +2740,10 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 37 - 'Atom.js' */var Atom = { /*Line 39 - 'Atom.js' */ version: { -/*Line 40 - 'Atom.js' */ text: "2.1.103", +/*Line 40 - 'Atom.js' */ text: "2.1.106", /*Line 41 - 'Atom.js' */ major: 2, /*Line 42 - 'Atom.js' */ minor: 1, -/*Line 43 - 'Atom.js' */ build: 103 +/*Line 43 - 'Atom.js' */ build: 106 /*Line 44 - 'Atom.js' */ }, /*Line 46 - 'Atom.js' */ refreshWindowCommand: function () { @@ -4681,450 +4681,456 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 185 - 'AtomPromise.js' */ } /*Line 186 - 'AtomPromise.js' */}; -/*Line 188 - 'AtomPromise.js' */AtomPromise.parseDates = function (obj) { -/*Line 189 - 'AtomPromise.js' */ if (!obj) -/*Line 190 - 'AtomPromise.js' */ return obj; -/*Line 191 - 'AtomPromise.js' */ var type = typeof (obj); -/*Line 192 - 'AtomPromise.js' */ if (type === 'object') { -/*Line 193 - 'AtomPromise.js' */ if (typeof (obj.length) !== 'undefined') { -/*Line 194 - 'AtomPromise.js' */ for (var i = 0; i < obj.length; i++) { -/*Line 195 - 'AtomPromise.js' */ obj[i] = AtomPromise.parseDates(obj[i]); -/*Line 196 - 'AtomPromise.js' */ } -/*Line 197 - 'AtomPromise.js' */ return obj; -/*Line 198 - 'AtomPromise.js' */ } - -/*Line 200 - 'AtomPromise.js' */ for (var k in obj) { -/*Line 201 - 'AtomPromise.js' */ var v = obj[k]; -/*Line 202 - 'AtomPromise.js' */ if (!v) -/*Line 203 - 'AtomPromise.js' */ continue; -/*Line 204 - 'AtomPromise.js' */ obj[k] = AtomPromise.parseDates(v); -/*Line 205 - 'AtomPromise.js' */ } - -/*Line 207 - 'AtomPromise.js' */ } -/*Line 208 - 'AtomPromise.js' */ if (typeof (obj) === 'string' || obj.constructor === String) { -/*Line 209 - 'AtomPromise.js' */ if (/^\/date\(/gi.test(obj) && /\)\/$/gi.test(obj)) { -/*Line 210 - 'AtomPromise.js' */ return AtomDate.parse(obj); -/*Line 211 - 'AtomPromise.js' */ } -/*Line 212 - 'AtomPromise.js' */ } -/*Line 213 - 'AtomPromise.js' */ return obj; -/*Line 214 - 'AtomPromise.js' */}; - -/*Line 216 - 'AtomPromise.js' */AtomPromise.ajax = function (url, query, options, type) { -/*Line 217 - 'AtomPromise.js' */ var p = new AtomPromise(); - -/*Line 219 - 'AtomPromise.js' */ if (!options) { -/*Line 220 - 'AtomPromise.js' */ options = { -/*Line 221 - 'AtomPromise.js' */ type: "GET", -/*Line 222 - 'AtomPromise.js' */ dataType: "text", -/*Line 223 - 'AtomPromise.js' */ data: null -/*Line 224 - 'AtomPromise.js' */ }; -/*Line 225 - 'AtomPromise.js' */ } - -/*Line 227 - 'AtomPromise.js' */ if (AtomConfig.ajax.versionUrl) -/*Line 228 - 'AtomPromise.js' */ { -/*Line 229 - 'AtomPromise.js' */ if (options.versionUrl !== undefined && options.versionUrl) { -/*Line 230 - 'AtomPromise.js' */ query = query || {}; -/*Line 231 - 'AtomPromise.js' */ query[AtomConfig.ajax.versionKey] = AtomConfig.ajax.version; -/*Line 232 - 'AtomPromise.js' */ } -/*Line 233 - 'AtomPromise.js' */ } - - -/*Line 236 - 'AtomPromise.js' */ options.success = p.success; -/*Line 237 - 'AtomPromise.js' */ options.error = p.error; - -/*Line 239 - 'AtomPromise.js' */ // caching is disabled by default... -/*Line 240 - 'AtomPromise.js' */ if (options.cache === undefined) { -/*Line 241 - 'AtomPromise.js' */ options.cache = false; - -/*Line 243 - 'AtomPromise.js' */ } - - -/*Line 246 - 'AtomPromise.js' */ var u = url; - -/*Line 248 - 'AtomPromise.js' */ var dh = AtomConfig.ajax.headers; -/*Line 249 - 'AtomPromise.js' */ if (dh) { -/*Line 250 - 'AtomPromise.js' */ if (!options.headers) { -/*Line 251 - 'AtomPromise.js' */ options.headers = {}; -/*Line 252 - 'AtomPromise.js' */ } -/*Line 253 - 'AtomPromise.js' */ for (var k in dh) { -/*Line 254 - 'AtomPromise.js' */ var v = dh[k]; -/*Line 255 - 'AtomPromise.js' */ options.headers[k] = v; -/*Line 256 - 'AtomPromise.js' */ if (AtomConfig.debug) { -/*Line 257 - 'AtomPromise.js' */ log("Header set: " + k + "=" + v); -/*Line 258 - 'AtomPromise.js' */ } -/*Line 259 - 'AtomPromise.js' */ } -/*Line 260 - 'AtomPromise.js' */ } - - -/*Line 263 - 'AtomPromise.js' */ var sc = AtomConfig.ajax.statusCode; -/*Line 264 - 'AtomPromise.js' */ if (sc) { -/*Line 265 - 'AtomPromise.js' */ var osc = options.statusCode || {}; -/*Line 266 - 'AtomPromise.js' */ for (var k in sc) { -/*Line 267 - 'AtomPromise.js' */ var v = sc[k]; -/*Line 268 - 'AtomPromise.js' */ if (!osc[k]) { -/*Line 269 - 'AtomPromise.js' */ osc[k] = v; -/*Line 270 - 'AtomPromise.js' */ } -/*Line 271 - 'AtomPromise.js' */ } -/*Line 272 - 'AtomPromise.js' */ options.statusCode = osc; -/*Line 273 - 'AtomPromise.js' */ } - -/*Line 275 - 'AtomPromise.js' */ var o = options; - -/*Line 277 - 'AtomPromise.js' */ var data = o.data; - -/*Line 279 - 'AtomPromise.js' */ if (data) { -/*Line 280 - 'AtomPromise.js' */ o.data = AtomBinder.getClone(data); -/*Line 281 - 'AtomPromise.js' */ } -/*Line 282 - 'AtomPromise.js' */ var e = AtomConfig.ajax.jsonPostEncode; -/*Line 283 - 'AtomPromise.js' */ if (e) { -/*Line 284 - 'AtomPromise.js' */ o = e(o); -/*Line 285 - 'AtomPromise.js' */ } else { -/*Line 286 - 'AtomPromise.js' */ o.data = { formModel: JSON.stringify(o.data) }; +/*Line 188 - 'AtomPromise.js' */var reISO = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*))(?:Z|(\+|-)([\d|:]*))?$/; + +/*Line 190 - 'AtomPromise.js' */AtomPromise.parseDates = function (obj) { +/*Line 191 - 'AtomPromise.js' */ if (!obj) +/*Line 192 - 'AtomPromise.js' */ return obj; +/*Line 193 - 'AtomPromise.js' */ var type = typeof (obj); +/*Line 194 - 'AtomPromise.js' */ if (type === 'object') { +/*Line 195 - 'AtomPromise.js' */ if (typeof (obj.length) !== 'undefined') { +/*Line 196 - 'AtomPromise.js' */ for (var i = 0; i < obj.length; i++) { +/*Line 197 - 'AtomPromise.js' */ obj[i] = AtomPromise.parseDates(obj[i]); +/*Line 198 - 'AtomPromise.js' */ } +/*Line 199 - 'AtomPromise.js' */ return obj; +/*Line 200 - 'AtomPromise.js' */ } + +/*Line 202 - 'AtomPromise.js' */ for (var k in obj) { +/*Line 203 - 'AtomPromise.js' */ var v = obj[k]; +/*Line 204 - 'AtomPromise.js' */ if (!v) +/*Line 205 - 'AtomPromise.js' */ continue; +/*Line 206 - 'AtomPromise.js' */ obj[k] = AtomPromise.parseDates(v); +/*Line 207 - 'AtomPromise.js' */ } + +/*Line 209 - 'AtomPromise.js' */ } +/*Line 210 - 'AtomPromise.js' */ if (typeof (obj) === 'string' || obj.constructor === String) { +/*Line 211 - 'AtomPromise.js' */ if (/^\/date\(/gi.test(obj) && /\)\/$/gi.test(obj)) { +/*Line 212 - 'AtomPromise.js' */ return AtomDate.parse(obj); +/*Line 213 - 'AtomPromise.js' */ } + +/*Line 215 - 'AtomPromise.js' */ if (reISO.test(obj)) { +/*Line 216 - 'AtomPromise.js' */ return new Date(obj); +/*Line 217 - 'AtomPromise.js' */ } +/*Line 218 - 'AtomPromise.js' */ } +/*Line 219 - 'AtomPromise.js' */ return obj; +/*Line 220 - 'AtomPromise.js' */}; + +/*Line 222 - 'AtomPromise.js' */AtomPromise.ajax = function (url, query, options, type) { +/*Line 223 - 'AtomPromise.js' */ var p = new AtomPromise(); + +/*Line 225 - 'AtomPromise.js' */ if (!options) { +/*Line 226 - 'AtomPromise.js' */ options = { +/*Line 227 - 'AtomPromise.js' */ type: "GET", +/*Line 228 - 'AtomPromise.js' */ dataType: "text", +/*Line 229 - 'AtomPromise.js' */ data: null +/*Line 230 - 'AtomPromise.js' */ }; +/*Line 231 - 'AtomPromise.js' */ } + +/*Line 233 - 'AtomPromise.js' */ if (AtomConfig.ajax.versionUrl) +/*Line 234 - 'AtomPromise.js' */ { +/*Line 235 - 'AtomPromise.js' */ if (options.versionUrl !== undefined && options.versionUrl) { +/*Line 236 - 'AtomPromise.js' */ query = query || {}; +/*Line 237 - 'AtomPromise.js' */ query[AtomConfig.ajax.versionKey] = AtomConfig.ajax.version; +/*Line 238 - 'AtomPromise.js' */ } +/*Line 239 - 'AtomPromise.js' */ } + + +/*Line 242 - 'AtomPromise.js' */ options.success = p.success; +/*Line 243 - 'AtomPromise.js' */ options.error = p.error; + +/*Line 245 - 'AtomPromise.js' */ // caching is disabled by default... +/*Line 246 - 'AtomPromise.js' */ if (options.cache === undefined) { +/*Line 247 - 'AtomPromise.js' */ options.cache = false; + +/*Line 249 - 'AtomPromise.js' */ } + + +/*Line 252 - 'AtomPromise.js' */ var u = url; + +/*Line 254 - 'AtomPromise.js' */ var dh = AtomConfig.ajax.headers; +/*Line 255 - 'AtomPromise.js' */ if (dh) { +/*Line 256 - 'AtomPromise.js' */ if (!options.headers) { +/*Line 257 - 'AtomPromise.js' */ options.headers = {}; +/*Line 258 - 'AtomPromise.js' */ } +/*Line 259 - 'AtomPromise.js' */ for (var k in dh) { +/*Line 260 - 'AtomPromise.js' */ var v = dh[k]; +/*Line 261 - 'AtomPromise.js' */ options.headers[k] = v; +/*Line 262 - 'AtomPromise.js' */ if (AtomConfig.debug) { +/*Line 263 - 'AtomPromise.js' */ log("Header set: " + k + "=" + v); +/*Line 264 - 'AtomPromise.js' */ } +/*Line 265 - 'AtomPromise.js' */ } +/*Line 266 - 'AtomPromise.js' */ } + + +/*Line 269 - 'AtomPromise.js' */ var sc = AtomConfig.ajax.statusCode; +/*Line 270 - 'AtomPromise.js' */ if (sc) { +/*Line 271 - 'AtomPromise.js' */ var osc = options.statusCode || {}; +/*Line 272 - 'AtomPromise.js' */ for (var k in sc) { +/*Line 273 - 'AtomPromise.js' */ var v = sc[k]; +/*Line 274 - 'AtomPromise.js' */ if (!osc[k]) { +/*Line 275 - 'AtomPromise.js' */ osc[k] = v; +/*Line 276 - 'AtomPromise.js' */ } +/*Line 277 - 'AtomPromise.js' */ } +/*Line 278 - 'AtomPromise.js' */ options.statusCode = osc; +/*Line 279 - 'AtomPromise.js' */ } + +/*Line 281 - 'AtomPromise.js' */ var o = options; + +/*Line 283 - 'AtomPromise.js' */ var data = o.data; + +/*Line 285 - 'AtomPromise.js' */ if (data) { +/*Line 286 - 'AtomPromise.js' */ o.data = AtomBinder.getClone(data); /*Line 287 - 'AtomPromise.js' */ } - -/*Line 289 - 'AtomPromise.js' */ var attachments = o.attachments; -/*Line 290 - 'AtomPromise.js' */ if (attachments && attachments.length) { -/*Line 291 - 'AtomPromise.js' */ var fd = new FormData(); -/*Line 292 - 'AtomPromise.js' */ var ae = new AtomEnumerator(attachments); -/*Line 293 - 'AtomPromise.js' */ while (ae.next()) { -/*Line 294 - 'AtomPromise.js' */ fd.append("file" + ae.currentIndex(), ae.current()); -/*Line 295 - 'AtomPromise.js' */ } -/*Line 296 - 'AtomPromise.js' */ if (data) { -/*Line 297 - 'AtomPromise.js' */ for (var k in data) { -/*Line 298 - 'AtomPromise.js' */ fd.append(k, data[k]); -/*Line 299 - 'AtomPromise.js' */ } -/*Line 300 - 'AtomPromise.js' */ } -/*Line 301 - 'AtomPromise.js' */ o.type = "POST"; -/*Line 302 - 'AtomPromise.js' */ o.xhr = function () { -/*Line 303 - 'AtomPromise.js' */ var myXhr = $.ajaxSettings.xhr(); -/*Line 304 - 'AtomPromise.js' */ if (myXhr.upload) { -/*Line 305 - 'AtomPromise.js' */ myXhr.upload.addEventListener('progress', function (e) { -/*Line 306 - 'AtomPromise.js' */ if (e.lengthComputable) { -/*Line 307 - 'AtomPromise.js' */ var percentComplete = Math.round(e.loaded * 100 / e.total); -/*Line 308 - 'AtomPromise.js' */ AtomBinder.setValue(atomApplication, 'progress', percentComplete); -/*Line 309 - 'AtomPromise.js' */ } -/*Line 310 - 'AtomPromise.js' */ }, false); -/*Line 311 - 'AtomPromise.js' */ } -/*Line 312 - 'AtomPromise.js' */ return myXhr; -/*Line 313 - 'AtomPromise.js' */ }; -/*Line 314 - 'AtomPromise.js' */ o.cache = false; -/*Line 315 - 'AtomPromise.js' */ o.contentType = false; -/*Line 316 - 'AtomPromise.js' */ o.processData = false; -/*Line 317 - 'AtomPromise.js' */ } - -/*Line 319 - 'AtomPromise.js' */ if (query) { -/*Line 320 - 'AtomPromise.js' */ var q = {}; -/*Line 321 - 'AtomPromise.js' */ if (!o.sendRawQueryString) { -/*Line 322 - 'AtomPromise.js' */ for (var k in query) { -/*Line 323 - 'AtomPromise.js' */ var v = query[k]; -/*Line 324 - 'AtomPromise.js' */ if (v && ((typeof v) === "object")) { -/*Line 325 - 'AtomPromise.js' */ v = JSON.stringify(AtomBinder.getClone(v)); -/*Line 326 - 'AtomPromise.js' */ if (v === undefined) -/*Line 327 - 'AtomPromise.js' */ continue; -/*Line 328 - 'AtomPromise.js' */ if (v === null) -/*Line 329 - 'AtomPromise.js' */ continue; -/*Line 330 - 'AtomPromise.js' */ } -/*Line 331 - 'AtomPromise.js' */ q[k] = v; -/*Line 332 - 'AtomPromise.js' */ } -/*Line 333 - 'AtomPromise.js' */ } -/*Line 334 - 'AtomPromise.js' */ u = Atom.url(url, q); -/*Line 335 - 'AtomPromise.js' */ } - -/*Line 337 - 'AtomPromise.js' */ if (url) { -/*Line 338 - 'AtomPromise.js' */ p.onInvoke(function () { -/*Line 339 - 'AtomPromise.js' */ p.handle = $.ajax(u, o); -/*Line 340 - 'AtomPromise.js' */ }); +/*Line 288 - 'AtomPromise.js' */ var e = AtomConfig.ajax.jsonPostEncode; +/*Line 289 - 'AtomPromise.js' */ if (e) { +/*Line 290 - 'AtomPromise.js' */ o = e(o); +/*Line 291 - 'AtomPromise.js' */ } else { +/*Line 292 - 'AtomPromise.js' */ o.data = { formModel: JSON.stringify(o.data) }; +/*Line 293 - 'AtomPromise.js' */ } + +/*Line 295 - 'AtomPromise.js' */ var attachments = o.attachments; +/*Line 296 - 'AtomPromise.js' */ if (attachments && attachments.length) { +/*Line 297 - 'AtomPromise.js' */ var fd = new FormData(); +/*Line 298 - 'AtomPromise.js' */ var ae = new AtomEnumerator(attachments); +/*Line 299 - 'AtomPromise.js' */ while (ae.next()) { +/*Line 300 - 'AtomPromise.js' */ fd.append("file" + ae.currentIndex(), ae.current()); +/*Line 301 - 'AtomPromise.js' */ } +/*Line 302 - 'AtomPromise.js' */ if (data) { +/*Line 303 - 'AtomPromise.js' */ for (var k in data) { +/*Line 304 - 'AtomPromise.js' */ fd.append(k, data[k]); +/*Line 305 - 'AtomPromise.js' */ } +/*Line 306 - 'AtomPromise.js' */ } +/*Line 307 - 'AtomPromise.js' */ o.type = "POST"; +/*Line 308 - 'AtomPromise.js' */ o.xhr = function () { +/*Line 309 - 'AtomPromise.js' */ var myXhr = $.ajaxSettings.xhr(); +/*Line 310 - 'AtomPromise.js' */ if (myXhr.upload) { +/*Line 311 - 'AtomPromise.js' */ myXhr.upload.addEventListener('progress', function (e) { +/*Line 312 - 'AtomPromise.js' */ if (e.lengthComputable) { +/*Line 313 - 'AtomPromise.js' */ var percentComplete = Math.round(e.loaded * 100 / e.total); +/*Line 314 - 'AtomPromise.js' */ AtomBinder.setValue(atomApplication, 'progress', percentComplete); +/*Line 315 - 'AtomPromise.js' */ } +/*Line 316 - 'AtomPromise.js' */ }, false); +/*Line 317 - 'AtomPromise.js' */ } +/*Line 318 - 'AtomPromise.js' */ return myXhr; +/*Line 319 - 'AtomPromise.js' */ }; +/*Line 320 - 'AtomPromise.js' */ o.cache = false; +/*Line 321 - 'AtomPromise.js' */ o.contentType = false; +/*Line 322 - 'AtomPromise.js' */ o.processData = false; +/*Line 323 - 'AtomPromise.js' */ } + +/*Line 325 - 'AtomPromise.js' */ if (query) { +/*Line 326 - 'AtomPromise.js' */ var q = {}; +/*Line 327 - 'AtomPromise.js' */ if (!o.sendRawQueryString) { +/*Line 328 - 'AtomPromise.js' */ for (var k in query) { +/*Line 329 - 'AtomPromise.js' */ var v = query[k]; +/*Line 330 - 'AtomPromise.js' */ if (v && ((typeof v) === "object")) { +/*Line 331 - 'AtomPromise.js' */ v = JSON.stringify(AtomBinder.getClone(v)); +/*Line 332 - 'AtomPromise.js' */ if (v === undefined) +/*Line 333 - 'AtomPromise.js' */ continue; +/*Line 334 - 'AtomPromise.js' */ if (v === null) +/*Line 335 - 'AtomPromise.js' */ continue; +/*Line 336 - 'AtomPromise.js' */ } +/*Line 337 - 'AtomPromise.js' */ q[k] = v; +/*Line 338 - 'AtomPromise.js' */ } +/*Line 339 - 'AtomPromise.js' */ } +/*Line 340 - 'AtomPromise.js' */ u = Atom.url(url, q); /*Line 341 - 'AtomPromise.js' */ } -/*Line 343 - 'AtomPromise.js' */ p.failed(function () { - -/*Line 345 - 'AtomPromise.js' */ var res = p.errors[0].responseText; -/*Line 346 - 'AtomPromise.js' */ if (!res || p.errors[2] !== 'Internal Server Error') { -/*Line 347 - 'AtomPromise.js' */ var m = p.errors[2]; -/*Line 348 - 'AtomPromise.js' */ if (m) -/*Line 349 - 'AtomPromise.js' */ res = m; -/*Line 350 - 'AtomPromise.js' */ } - -/*Line 352 - 'AtomPromise.js' */ p.error = { -/*Line 353 - 'AtomPromise.js' */ msg: res -/*Line 354 - 'AtomPromise.js' */ }; - -/*Line 356 - 'AtomPromise.js' */ if (p._showError) { -/*Line 357 - 'AtomPromise.js' */ if (p.error.msg) Atom.alert(p.error.msg); -/*Line 358 - 'AtomPromise.js' */ } -/*Line 359 - 'AtomPromise.js' */ }); - -/*Line 361 - 'AtomPromise.js' */ p.then(function (p) { -/*Line 362 - 'AtomPromise.js' */ var v = p.value(); -/*Line 363 - 'AtomPromise.js' */ v = AtomPromise.parseDates(v); -/*Line 364 - 'AtomPromise.js' */ if (v && v.items && v.merge) { -/*Line 365 - 'AtomPromise.js' */ v.items.total = v.total; -/*Line 366 - 'AtomPromise.js' */ v = v.items; -/*Line 367 - 'AtomPromise.js' */ p.value(v); -/*Line 368 - 'AtomPromise.js' */ } -/*Line 369 - 'AtomPromise.js' */ }); - -/*Line 371 - 'AtomPromise.js' */ p.showError(true); -/*Line 372 - 'AtomPromise.js' */ p.showProgress(true); - -/*Line 374 - 'AtomPromise.js' */ return p; -/*Line 375 - 'AtomPromise.js' */}; - -/*Line 377 - 'AtomPromise.js' */AtomPromise.get = function (url, query, options) { -/*Line 378 - 'AtomPromise.js' */ options = options || {}; -/*Line 379 - 'AtomPromise.js' */ options.type = options.type || "get"; -/*Line 380 - 'AtomPromise.js' */ options.dataType = options.dataType || "text"; -/*Line 381 - 'AtomPromise.js' */ return AtomPromise.ajax(url, query, options, "get"); -/*Line 382 - 'AtomPromise.js' */}; - -/*Line 384 - 'AtomPromise.js' */AtomPromise.plugins = { -/*Line 385 - 'AtomPromise.js' */}; - -/*Line 387 - 'AtomPromise.js' */AtomPromise.json = function (url, query, options) { -/*Line 388 - 'AtomPromise.js' */ options = options || {}; -/*Line 389 - 'AtomPromise.js' */ options.type = options.type || "get"; -/*Line 390 - 'AtomPromise.js' */ options.dataType = options.dataType || "json"; - -/*Line 392 - 'AtomPromise.js' */ var method = null; - -/*Line 394 - 'AtomPromise.js' */ var i = url.indexOf('://'); -/*Line 395 - 'AtomPromise.js' */ if (i !== -1) { -/*Line 396 - 'AtomPromise.js' */ var plugin = url.substr(0, i); -/*Line 397 - 'AtomPromise.js' */ if (!/http|https/i.test(plugin)) { -/*Line 398 - 'AtomPromise.js' */ url = url.substr(i + 3); -/*Line 399 - 'AtomPromise.js' */ method = AtomPromise.plugins[plugin]; -/*Line 400 - 'AtomPromise.js' */ } -/*Line 401 - 'AtomPromise.js' */ } - -/*Line 403 - 'AtomPromise.js' */ method = method || AtomPromise.ajax; - -/*Line 405 - 'AtomPromise.js' */ return method(url, query, options, "json"); -/*Line 406 - 'AtomPromise.js' */}; - -/*Line 408 - 'AtomPromise.js' */AtomPromise.cache = { -/*Line 409 - 'AtomPromise.js' */}; - -/*Line 411 - 'AtomPromise.js' */AtomPromise.cacheInProgress = { +/*Line 343 - 'AtomPromise.js' */ if (url) { +/*Line 344 - 'AtomPromise.js' */ p.onInvoke(function () { +/*Line 345 - 'AtomPromise.js' */ p.handle = $.ajax(u, o); +/*Line 346 - 'AtomPromise.js' */ }); +/*Line 347 - 'AtomPromise.js' */ } + +/*Line 349 - 'AtomPromise.js' */ p.failed(function () { + +/*Line 351 - 'AtomPromise.js' */ var res = p.errors[0].responseText; +/*Line 352 - 'AtomPromise.js' */ if (!res || p.errors[2] !== 'Internal Server Error') { +/*Line 353 - 'AtomPromise.js' */ var m = p.errors[2]; +/*Line 354 - 'AtomPromise.js' */ if (m) +/*Line 355 - 'AtomPromise.js' */ res = m; +/*Line 356 - 'AtomPromise.js' */ } + +/*Line 358 - 'AtomPromise.js' */ p.error = { +/*Line 359 - 'AtomPromise.js' */ msg: res +/*Line 360 - 'AtomPromise.js' */ }; + +/*Line 362 - 'AtomPromise.js' */ if (p._showError) { +/*Line 363 - 'AtomPromise.js' */ if (p.error.msg) Atom.alert(p.error.msg); +/*Line 364 - 'AtomPromise.js' */ } +/*Line 365 - 'AtomPromise.js' */ }); + +/*Line 367 - 'AtomPromise.js' */ p.then(function (p) { +/*Line 368 - 'AtomPromise.js' */ var v = p.value(); +/*Line 369 - 'AtomPromise.js' */ v = AtomPromise.parseDates(v); +/*Line 370 - 'AtomPromise.js' */ if (v && v.items && v.merge) { +/*Line 371 - 'AtomPromise.js' */ v.items.total = v.total; +/*Line 372 - 'AtomPromise.js' */ v = v.items; +/*Line 373 - 'AtomPromise.js' */ p.value(v); +/*Line 374 - 'AtomPromise.js' */ } +/*Line 375 - 'AtomPromise.js' */ }); + +/*Line 377 - 'AtomPromise.js' */ p.showError(true); +/*Line 378 - 'AtomPromise.js' */ p.showProgress(true); + +/*Line 380 - 'AtomPromise.js' */ return p; +/*Line 381 - 'AtomPromise.js' */}; + +/*Line 383 - 'AtomPromise.js' */AtomPromise.get = function (url, query, options) { +/*Line 384 - 'AtomPromise.js' */ options = options || {}; +/*Line 385 - 'AtomPromise.js' */ options.type = options.type || "get"; +/*Line 386 - 'AtomPromise.js' */ options.dataType = options.dataType || "text"; +/*Line 387 - 'AtomPromise.js' */ return AtomPromise.ajax(url, query, options, "get"); +/*Line 388 - 'AtomPromise.js' */}; + +/*Line 390 - 'AtomPromise.js' */AtomPromise.plugins = { +/*Line 391 - 'AtomPromise.js' */}; + +/*Line 393 - 'AtomPromise.js' */AtomPromise.json = function (url, query, options) { +/*Line 394 - 'AtomPromise.js' */ options = options || {}; +/*Line 395 - 'AtomPromise.js' */ options.type = options.type || "get"; +/*Line 396 - 'AtomPromise.js' */ options.dataType = options.dataType || "json"; + +/*Line 398 - 'AtomPromise.js' */ var method = null; + +/*Line 400 - 'AtomPromise.js' */ var i = url.indexOf('://'); +/*Line 401 - 'AtomPromise.js' */ if (i !== -1) { +/*Line 402 - 'AtomPromise.js' */ var plugin = url.substr(0, i); +/*Line 403 - 'AtomPromise.js' */ if (!/http|https/i.test(plugin)) { +/*Line 404 - 'AtomPromise.js' */ url = url.substr(i + 3); +/*Line 405 - 'AtomPromise.js' */ method = AtomPromise.plugins[plugin]; +/*Line 406 - 'AtomPromise.js' */ } +/*Line 407 - 'AtomPromise.js' */ } + +/*Line 409 - 'AtomPromise.js' */ method = method || AtomPromise.ajax; + +/*Line 411 - 'AtomPromise.js' */ return method(url, query, options, "json"); /*Line 412 - 'AtomPromise.js' */}; -/*Line 414 - 'AtomPromise.js' */AtomPromise.cachedPromise = function (key, p) { -/*Line 415 - 'AtomPromise.js' */ var c = AtomPromise.cache[key]; - -/*Line 417 - 'AtomPromise.js' */ if (!c && window.sessionStorage) { -/*Line 418 - 'AtomPromise.js' */ c = window.sessionStorage["__AP" + key]; -/*Line 419 - 'AtomPromise.js' */ if (c) { -/*Line 420 - 'AtomPromise.js' */ c = JSON.parse(c); -/*Line 421 - 'AtomPromise.js' */ AtomPromise.cache[key] = c; -/*Line 422 - 'AtomPromise.js' */ } -/*Line 423 - 'AtomPromise.js' */ } - -/*Line 425 - 'AtomPromise.js' */ if (c) { -/*Line 426 - 'AtomPromise.js' */ p.onInvoke(function () { -/*Line 427 - 'AtomPromise.js' */ p.pushValue(c); -/*Line 428 - 'AtomPromise.js' */ }); -/*Line 429 - 'AtomPromise.js' */ return p; -/*Line 430 - 'AtomPromise.js' */ } - -/*Line 432 - 'AtomPromise.js' */ p.then(function (p1) { -/*Line 433 - 'AtomPromise.js' */ AtomPromise.cache[key] = p1.value(); -/*Line 434 - 'AtomPromise.js' */ if (window.sessionStorage) { -/*Line 435 - 'AtomPromise.js' */ window.sessionStorage["__AP" + key] = JSON.stringify( p1.value() ); -/*Line 436 - 'AtomPromise.js' */ } -/*Line 437 - 'AtomPromise.js' */ }); - -/*Line 439 - 'AtomPromise.js' */ return p; -/*Line 440 - 'AtomPromise.js' */}; - -/*Line 442 - 'AtomPromise.js' */AtomPromise.cachedJson = function (url, query, options) { - -/*Line 444 - 'AtomPromise.js' */ var vd = new Date(); - -/*Line 446 - 'AtomPromise.js' */ var v = AtomConfig.ajax.version; -/*Line 447 - 'AtomPromise.js' */ var vk = AtomConfig.ajax.versionKey + '=' + v; - -/*Line 449 - 'AtomPromise.js' */ if (url.indexOf('?') === -1) { -/*Line 450 - 'AtomPromise.js' */ vk = '?' + vk; -/*Line 451 - 'AtomPromise.js' */ } else { -/*Line 452 - 'AtomPromise.js' */ if (!/\&$/.test(url)) { -/*Line 453 - 'AtomPromise.js' */ vk = '&' + vk; -/*Line 454 - 'AtomPromise.js' */ } -/*Line 455 - 'AtomPromise.js' */ } -/*Line 456 - 'AtomPromise.js' */ url += vk; - -/*Line 458 - 'AtomPromise.js' */ options = options || {}; -/*Line 459 - 'AtomPromise.js' */ // caching must be true everywhere -/*Line 460 - 'AtomPromise.js' */ options.cache = true; -/*Line 461 - 'AtomPromise.js' */ options.ifModified = true; -/*Line 462 - 'AtomPromise.js' */ options.versionUrl = false; - -/*Line 464 - 'AtomPromise.js' */ var ap = AtomPromise.ajax(url, query, options, "json"); -/*Line 465 - 'AtomPromise.js' */ return AtomPromise.cachedPromise(url, ap); -/*Line 466 - 'AtomPromise.js' */}; - -/*Line 468 - 'AtomPromise.js' */AtomPromise.configCache = {}; - -/*Line 470 - 'AtomPromise.js' */AtomPromise.configLabel = function (url, value, options) { - -/*Line 472 - 'AtomPromise.js' */ if (value === null || value === undefined) -/*Line 473 - 'AtomPromise.js' */ return ""; - -/*Line 475 - 'AtomPromise.js' */ options = options || {}; - -/*Line 477 - 'AtomPromise.js' */ var valuePath = options.valuePath || "value"; -/*Line 478 - 'AtomPromise.js' */ var labelPath = options.labelPath || "label"; -/*Line 479 - 'AtomPromise.js' */ var isNumber = options.isNumber || false; - -/*Line 481 - 'AtomPromise.js' */ if (isNumber) { -/*Line 482 - 'AtomPromise.js' */ if (typeof value !== "number") { -/*Line 483 - 'AtomPromise.js' */ value = parseFloat(value); -/*Line 484 - 'AtomPromise.js' */ } -/*Line 485 - 'AtomPromise.js' */ } - -/*Line 487 - 'AtomPromise.js' */ var p = new AtomPromise(); -/*Line 488 - 'AtomPromise.js' */ p.onInvoke(function () { - -/*Line 490 - 'AtomPromise.js' */ var cf = AtomPromise.configCache[url]; -/*Line 491 - 'AtomPromise.js' */ if (cf) { -/*Line 492 - 'AtomPromise.js' */ cf = cf[value]; -/*Line 493 - 'AtomPromise.js' */ cf = cf ? cf[labelPath] : ""; -/*Line 494 - 'AtomPromise.js' */ p.pushValue(cf); -/*Line 495 - 'AtomPromise.js' */ return; -/*Line 496 - 'AtomPromise.js' */ } - -/*Line 498 - 'AtomPromise.js' */ var ap = AtomPromise.cachedJson(url); - - -/*Line 501 - 'AtomPromise.js' */ ap.then(function (a) { -/*Line 502 - 'AtomPromise.js' */ var v = ""; - -/*Line 504 - 'AtomPromise.js' */ var nv = {}; - -/*Line 506 - 'AtomPromise.js' */ var ae = new AtomEnumerator(a.value()); -/*Line 507 - 'AtomPromise.js' */ while (ae.next()) { -/*Line 508 - 'AtomPromise.js' */ var item = ae.current(); -/*Line 509 - 'AtomPromise.js' */ v = item[valuePath]; -/*Line 510 - 'AtomPromise.js' */ if (isNumber) { -/*Line 511 - 'AtomPromise.js' */ if (typeof v !== "number") { -/*Line 512 - 'AtomPromise.js' */ v = parseFloat(v); -/*Line 513 - 'AtomPromise.js' */ } -/*Line 514 - 'AtomPromise.js' */ } -/*Line 515 - 'AtomPromise.js' */ nv[v] = item; -/*Line 516 - 'AtomPromise.js' */ } -/*Line 517 - 'AtomPromise.js' */ AtomPromise.configCache[url] = nv; -/*Line 518 - 'AtomPromise.js' */ nv = nv[value]; -/*Line 519 - 'AtomPromise.js' */ nv = nv ? nv[labelPath] : ""; -/*Line 520 - 'AtomPromise.js' */ p.pushValue(nv); -/*Line 521 - 'AtomPromise.js' */ }); - -/*Line 523 - 'AtomPromise.js' */ ap.invoke(); -/*Line 524 - 'AtomPromise.js' */ }); - -/*Line 526 - 'AtomPromise.js' */ return p; -/*Line 527 - 'AtomPromise.js' */}; - -/*Line 529 - 'AtomPromise.js' */AtomPromise.prototype.insertItem = function (index, item, arrayPath) { -/*Line 530 - 'AtomPromise.js' */ return this.then(function (p) { -/*Line 531 - 'AtomPromise.js' */ var v = p.value(); -/*Line 532 - 'AtomPromise.js' */ if (v._$_itemInserted) -/*Line 533 - 'AtomPromise.js' */ return; -/*Line 534 - 'AtomPromise.js' */ if (arrayPath) { -/*Line 535 - 'AtomPromise.js' */ v = v[arrayPath]; -/*Line 536 - 'AtomPromise.js' */ } -/*Line 537 - 'AtomPromise.js' */ if (index === -1) { -/*Line 538 - 'AtomPromise.js' */ v.push(item); -/*Line 539 - 'AtomPromise.js' */ } else { -/*Line 540 - 'AtomPromise.js' */ v.splice(index || 0, 0, item); -/*Line 541 - 'AtomPromise.js' */ } -/*Line 542 - 'AtomPromise.js' */ v._$_itemInserted = true; -/*Line 543 - 'AtomPromise.js' */ }); -/*Line 544 - 'AtomPromise.js' */}; - -/*Line 546 - 'AtomPromise.js' */AtomPromise.prototype.toNativePromise = function () { -/*Line 547 - 'AtomPromise.js' */ var self = this; -/*Line 548 - 'AtomPromise.js' */ return new Promise(function (resolve, reject) { -/*Line 549 - 'AtomPromise.js' */ var ap = self; -/*Line 550 - 'AtomPromise.js' */ ap.showProgress(false); -/*Line 551 - 'AtomPromise.js' */ ap.invoke(); -/*Line 552 - 'AtomPromise.js' */ ap.then(function (r) { -/*Line 553 - 'AtomPromise.js' */ resolve(r.value()); -/*Line 554 - 'AtomPromise.js' */ //console.log(r); -/*Line 555 - 'AtomPromise.js' */ }).failed(function (r) { -/*Line 556 - 'AtomPromise.js' */ reject(r); -/*Line 557 - 'AtomPromise.js' */ //console.log(r); -/*Line 558 - 'AtomPromise.js' */ }); -/*Line 559 - 'AtomPromise.js' */ }); -/*Line 560 - 'AtomPromise.js' */}; - - -/*Line 563 - 'AtomPromise.js' *///$setValue = AtomBinder.setValue; -/*Line 564 - 'AtomPromise.js' *///$getValue = AtomBinder.getValue; - - -/*Line 567 - 'AtomPromise.js' *///Object.prototype.setValue = function (key, value) { -/*Line 568 - 'AtomPromise.js' */// -/*Line 569 - 'AtomPromise.js' */// AtomBinder.setValue(this, key, value); -/*Line 570 - 'AtomPromise.js' *///}; - -/*Line 572 - 'AtomPromise.js' *///Object.prototype.getValue = function (key) { -/*Line 573 - 'AtomPromise.js' */// return AtomBinder.getValue(this, key); -/*Line 574 - 'AtomPromise.js' *///}; - -/*Line 576 - 'AtomPromise.js' *///Object.prototype.add_WatchHandler = function(key,handler){ -/*Line 577 - 'AtomPromise.js' */// AtomBinder.add_WatchHandler(this,key,handler); -/*Line 578 - 'AtomPromise.js' *///}; - -/*Line 580 - 'AtomPromise.js' *///Object.prototype.remove_WatchHandler = function(key,handler){ -/*Line 581 - 'AtomPromise.js' */// AtomBinder.remove_WatchHandler(this,key,handler); -/*Line 582 - 'AtomPromise.js' *///}; - -/*Line 584 - 'AtomPromise.js' *///Array.prototype.add = function (item) { -/*Line 585 - 'AtomPromise.js' */// AtomBinder.addItem(this, item); -/*Line 586 - 'AtomPromise.js' *///}; - -/*Line 588 - 'AtomPromise.js' *///Array.prototype.remove = function (item) { -/*Line 589 - 'AtomPromise.js' */// AtomBinder.removeItem(this, item); -/*Line 590 - 'AtomPromise.js' *///}; - -/*Line 592 - 'AtomPromise.js' *///Array.prototype.add_CollectionHandler= function(handler){ -/*Line 593 - 'AtomPromise.js' */// AtomBinder.add_CollectionHandler(this,handler); -/*Line 594 - 'AtomPromise.js' *///}; - -/*Line 596 - 'AtomPromise.js' *///Array.prototype.remove_CollectionHandler= function(handler){ -/*Line 597 - 'AtomPromise.js' */// AtomBinder.remove_CollectionHandler(this,handler); -/*Line 598 - 'AtomPromise.js' *///}; - - -/*Line 601 - 'AtomPromise.js' */var AtomLocalStorage = { - -/*Line 603 - 'AtomPromise.js' */ list: function (storage, query) -/*Line 604 - 'AtomPromise.js' */ { -/*Line 605 - 'AtomPromise.js' */ }, -/*Line 606 - 'AtomPromise.js' */ add: function (storage, query) { -/*Line 607 - 'AtomPromise.js' */ }, -/*Line 608 - 'AtomPromise.js' */ remove: function (storage, query) { -/*Line 609 - 'AtomPromise.js' */ }, -/*Line 610 - 'AtomPromise.js' */ clear: function (storage) { +/*Line 414 - 'AtomPromise.js' */AtomPromise.cache = { +/*Line 415 - 'AtomPromise.js' */}; + +/*Line 417 - 'AtomPromise.js' */AtomPromise.cacheInProgress = { +/*Line 418 - 'AtomPromise.js' */}; + +/*Line 420 - 'AtomPromise.js' */AtomPromise.cachedPromise = function (key, p) { +/*Line 421 - 'AtomPromise.js' */ var c = AtomPromise.cache[key]; + +/*Line 423 - 'AtomPromise.js' */ if (!c && window.sessionStorage) { +/*Line 424 - 'AtomPromise.js' */ c = window.sessionStorage["__AP" + key]; +/*Line 425 - 'AtomPromise.js' */ if (c) { +/*Line 426 - 'AtomPromise.js' */ c = JSON.parse(c); +/*Line 427 - 'AtomPromise.js' */ AtomPromise.cache[key] = c; +/*Line 428 - 'AtomPromise.js' */ } +/*Line 429 - 'AtomPromise.js' */ } + +/*Line 431 - 'AtomPromise.js' */ if (c) { +/*Line 432 - 'AtomPromise.js' */ p.onInvoke(function () { +/*Line 433 - 'AtomPromise.js' */ p.pushValue(c); +/*Line 434 - 'AtomPromise.js' */ }); +/*Line 435 - 'AtomPromise.js' */ return p; +/*Line 436 - 'AtomPromise.js' */ } + +/*Line 438 - 'AtomPromise.js' */ p.then(function (p1) { +/*Line 439 - 'AtomPromise.js' */ AtomPromise.cache[key] = p1.value(); +/*Line 440 - 'AtomPromise.js' */ if (window.sessionStorage) { +/*Line 441 - 'AtomPromise.js' */ window.sessionStorage["__AP" + key] = JSON.stringify( p1.value() ); +/*Line 442 - 'AtomPromise.js' */ } +/*Line 443 - 'AtomPromise.js' */ }); + +/*Line 445 - 'AtomPromise.js' */ return p; +/*Line 446 - 'AtomPromise.js' */}; + +/*Line 448 - 'AtomPromise.js' */AtomPromise.cachedJson = function (url, query, options) { + +/*Line 450 - 'AtomPromise.js' */ var vd = new Date(); + +/*Line 452 - 'AtomPromise.js' */ var v = AtomConfig.ajax.version; +/*Line 453 - 'AtomPromise.js' */ var vk = AtomConfig.ajax.versionKey + '=' + v; + +/*Line 455 - 'AtomPromise.js' */ if (url.indexOf('?') === -1) { +/*Line 456 - 'AtomPromise.js' */ vk = '?' + vk; +/*Line 457 - 'AtomPromise.js' */ } else { +/*Line 458 - 'AtomPromise.js' */ if (!/\&$/.test(url)) { +/*Line 459 - 'AtomPromise.js' */ vk = '&' + vk; +/*Line 460 - 'AtomPromise.js' */ } +/*Line 461 - 'AtomPromise.js' */ } +/*Line 462 - 'AtomPromise.js' */ url += vk; + +/*Line 464 - 'AtomPromise.js' */ options = options || {}; +/*Line 465 - 'AtomPromise.js' */ // caching must be true everywhere +/*Line 466 - 'AtomPromise.js' */ options.cache = true; +/*Line 467 - 'AtomPromise.js' */ options.ifModified = true; +/*Line 468 - 'AtomPromise.js' */ options.versionUrl = false; + +/*Line 470 - 'AtomPromise.js' */ var ap = AtomPromise.ajax(url, query, options, "json"); +/*Line 471 - 'AtomPromise.js' */ return AtomPromise.cachedPromise(url, ap); +/*Line 472 - 'AtomPromise.js' */}; + +/*Line 474 - 'AtomPromise.js' */AtomPromise.configCache = {}; + +/*Line 476 - 'AtomPromise.js' */AtomPromise.configLabel = function (url, value, options) { + +/*Line 478 - 'AtomPromise.js' */ if (value === null || value === undefined) +/*Line 479 - 'AtomPromise.js' */ return ""; + +/*Line 481 - 'AtomPromise.js' */ options = options || {}; + +/*Line 483 - 'AtomPromise.js' */ var valuePath = options.valuePath || "value"; +/*Line 484 - 'AtomPromise.js' */ var labelPath = options.labelPath || "label"; +/*Line 485 - 'AtomPromise.js' */ var isNumber = options.isNumber || false; + +/*Line 487 - 'AtomPromise.js' */ if (isNumber) { +/*Line 488 - 'AtomPromise.js' */ if (typeof value !== "number") { +/*Line 489 - 'AtomPromise.js' */ value = parseFloat(value); +/*Line 490 - 'AtomPromise.js' */ } +/*Line 491 - 'AtomPromise.js' */ } + +/*Line 493 - 'AtomPromise.js' */ var p = new AtomPromise(); +/*Line 494 - 'AtomPromise.js' */ p.onInvoke(function () { + +/*Line 496 - 'AtomPromise.js' */ var cf = AtomPromise.configCache[url]; +/*Line 497 - 'AtomPromise.js' */ if (cf) { +/*Line 498 - 'AtomPromise.js' */ cf = cf[value]; +/*Line 499 - 'AtomPromise.js' */ cf = cf ? cf[labelPath] : ""; +/*Line 500 - 'AtomPromise.js' */ p.pushValue(cf); +/*Line 501 - 'AtomPromise.js' */ return; +/*Line 502 - 'AtomPromise.js' */ } + +/*Line 504 - 'AtomPromise.js' */ var ap = AtomPromise.cachedJson(url); + + +/*Line 507 - 'AtomPromise.js' */ ap.then(function (a) { +/*Line 508 - 'AtomPromise.js' */ var v = ""; + +/*Line 510 - 'AtomPromise.js' */ var nv = {}; + +/*Line 512 - 'AtomPromise.js' */ var ae = new AtomEnumerator(a.value()); +/*Line 513 - 'AtomPromise.js' */ while (ae.next()) { +/*Line 514 - 'AtomPromise.js' */ var item = ae.current(); +/*Line 515 - 'AtomPromise.js' */ v = item[valuePath]; +/*Line 516 - 'AtomPromise.js' */ if (isNumber) { +/*Line 517 - 'AtomPromise.js' */ if (typeof v !== "number") { +/*Line 518 - 'AtomPromise.js' */ v = parseFloat(v); +/*Line 519 - 'AtomPromise.js' */ } +/*Line 520 - 'AtomPromise.js' */ } +/*Line 521 - 'AtomPromise.js' */ nv[v] = item; +/*Line 522 - 'AtomPromise.js' */ } +/*Line 523 - 'AtomPromise.js' */ AtomPromise.configCache[url] = nv; +/*Line 524 - 'AtomPromise.js' */ nv = nv[value]; +/*Line 525 - 'AtomPromise.js' */ nv = nv ? nv[labelPath] : ""; +/*Line 526 - 'AtomPromise.js' */ p.pushValue(nv); +/*Line 527 - 'AtomPromise.js' */ }); + +/*Line 529 - 'AtomPromise.js' */ ap.invoke(); +/*Line 530 - 'AtomPromise.js' */ }); + +/*Line 532 - 'AtomPromise.js' */ return p; +/*Line 533 - 'AtomPromise.js' */}; + +/*Line 535 - 'AtomPromise.js' */AtomPromise.prototype.insertItem = function (index, item, arrayPath) { +/*Line 536 - 'AtomPromise.js' */ return this.then(function (p) { +/*Line 537 - 'AtomPromise.js' */ var v = p.value(); +/*Line 538 - 'AtomPromise.js' */ if (v._$_itemInserted) +/*Line 539 - 'AtomPromise.js' */ return; +/*Line 540 - 'AtomPromise.js' */ if (arrayPath) { +/*Line 541 - 'AtomPromise.js' */ v = v[arrayPath]; +/*Line 542 - 'AtomPromise.js' */ } +/*Line 543 - 'AtomPromise.js' */ if (index === -1) { +/*Line 544 - 'AtomPromise.js' */ v.push(item); +/*Line 545 - 'AtomPromise.js' */ } else { +/*Line 546 - 'AtomPromise.js' */ v.splice(index || 0, 0, item); +/*Line 547 - 'AtomPromise.js' */ } +/*Line 548 - 'AtomPromise.js' */ v._$_itemInserted = true; +/*Line 549 - 'AtomPromise.js' */ }); +/*Line 550 - 'AtomPromise.js' */}; + +/*Line 552 - 'AtomPromise.js' */AtomPromise.prototype.toNativePromise = function () { +/*Line 553 - 'AtomPromise.js' */ var self = this; +/*Line 554 - 'AtomPromise.js' */ return new Promise(function (resolve, reject) { +/*Line 555 - 'AtomPromise.js' */ var ap = self; +/*Line 556 - 'AtomPromise.js' */ ap.showProgress(false); +/*Line 557 - 'AtomPromise.js' */ ap.invoke(); +/*Line 558 - 'AtomPromise.js' */ ap.then(function (r) { +/*Line 559 - 'AtomPromise.js' */ resolve(r.value()); +/*Line 560 - 'AtomPromise.js' */ //console.log(r); +/*Line 561 - 'AtomPromise.js' */ }).failed(function (r) { +/*Line 562 - 'AtomPromise.js' */ reject(r); +/*Line 563 - 'AtomPromise.js' */ //console.log(r); +/*Line 564 - 'AtomPromise.js' */ }); +/*Line 565 - 'AtomPromise.js' */ }); +/*Line 566 - 'AtomPromise.js' */}; + + +/*Line 569 - 'AtomPromise.js' *///$setValue = AtomBinder.setValue; +/*Line 570 - 'AtomPromise.js' *///$getValue = AtomBinder.getValue; + + +/*Line 573 - 'AtomPromise.js' *///Object.prototype.setValue = function (key, value) { +/*Line 574 - 'AtomPromise.js' */// +/*Line 575 - 'AtomPromise.js' */// AtomBinder.setValue(this, key, value); +/*Line 576 - 'AtomPromise.js' *///}; + +/*Line 578 - 'AtomPromise.js' *///Object.prototype.getValue = function (key) { +/*Line 579 - 'AtomPromise.js' */// return AtomBinder.getValue(this, key); +/*Line 580 - 'AtomPromise.js' *///}; + +/*Line 582 - 'AtomPromise.js' *///Object.prototype.add_WatchHandler = function(key,handler){ +/*Line 583 - 'AtomPromise.js' */// AtomBinder.add_WatchHandler(this,key,handler); +/*Line 584 - 'AtomPromise.js' *///}; + +/*Line 586 - 'AtomPromise.js' *///Object.prototype.remove_WatchHandler = function(key,handler){ +/*Line 587 - 'AtomPromise.js' */// AtomBinder.remove_WatchHandler(this,key,handler); +/*Line 588 - 'AtomPromise.js' *///}; + +/*Line 590 - 'AtomPromise.js' *///Array.prototype.add = function (item) { +/*Line 591 - 'AtomPromise.js' */// AtomBinder.addItem(this, item); +/*Line 592 - 'AtomPromise.js' *///}; + +/*Line 594 - 'AtomPromise.js' *///Array.prototype.remove = function (item) { +/*Line 595 - 'AtomPromise.js' */// AtomBinder.removeItem(this, item); +/*Line 596 - 'AtomPromise.js' *///}; + +/*Line 598 - 'AtomPromise.js' *///Array.prototype.add_CollectionHandler= function(handler){ +/*Line 599 - 'AtomPromise.js' */// AtomBinder.add_CollectionHandler(this,handler); +/*Line 600 - 'AtomPromise.js' *///}; + +/*Line 602 - 'AtomPromise.js' *///Array.prototype.remove_CollectionHandler= function(handler){ +/*Line 603 - 'AtomPromise.js' */// AtomBinder.remove_CollectionHandler(this,handler); +/*Line 604 - 'AtomPromise.js' *///}; + + +/*Line 607 - 'AtomPromise.js' */var AtomLocalStorage = { + +/*Line 609 - 'AtomPromise.js' */ list: function (storage, query) +/*Line 610 - 'AtomPromise.js' */ { /*Line 611 - 'AtomPromise.js' */ }, -/*Line 612 - 'AtomPromise.js' */ set: function (storage, query, data) { +/*Line 612 - 'AtomPromise.js' */ add: function (storage, query) { /*Line 613 - 'AtomPromise.js' */ }, -/*Line 614 - 'AtomPromise.js' */ get: function (storage, query) { -/*Line 615 - 'AtomPromise.js' */ } - -/*Line 617 - 'AtomPromise.js' */}; - - -/*Line 620 - 'AtomPromise.js' */AtomPromise.plugins["local-storage"] = function (url, query, options) { -/*Line 621 - 'AtomPromise.js' */ var tokens = url.split('/'); -/*Line 622 - 'AtomPromise.js' */ var storage = tokens[0]; -/*Line 623 - 'AtomPromise.js' */ var method = tokens[1]; -/*Line 624 - 'AtomPromise.js' */ var ap = new AtomPromise(); -/*Line 625 - 'AtomPromise.js' */ ap.onInvoke(function (a) { -/*Line 626 - 'AtomPromise.js' */ var als = AtomLocalStorage; -/*Line 627 - 'AtomPromise.js' */ var r = als[method](storage, query, options.data); -/*Line 628 - 'AtomPromise.js' */ a.pushValue(r); -/*Line 629 - 'AtomPromise.js' */ }); -/*Line 630 - 'AtomPromise.js' */ return ap; -/*Line 631 - 'AtomPromise.js' */}; +/*Line 614 - 'AtomPromise.js' */ remove: function (storage, query) { +/*Line 615 - 'AtomPromise.js' */ }, +/*Line 616 - 'AtomPromise.js' */ clear: function (storage) { +/*Line 617 - 'AtomPromise.js' */ }, +/*Line 618 - 'AtomPromise.js' */ set: function (storage, query, data) { +/*Line 619 - 'AtomPromise.js' */ }, +/*Line 620 - 'AtomPromise.js' */ get: function (storage, query) { +/*Line 621 - 'AtomPromise.js' */ } + +/*Line 623 - 'AtomPromise.js' */}; + + +/*Line 626 - 'AtomPromise.js' */AtomPromise.plugins["local-storage"] = function (url, query, options) { +/*Line 627 - 'AtomPromise.js' */ var tokens = url.split('/'); +/*Line 628 - 'AtomPromise.js' */ var storage = tokens[0]; +/*Line 629 - 'AtomPromise.js' */ var method = tokens[1]; +/*Line 630 - 'AtomPromise.js' */ var ap = new AtomPromise(); +/*Line 631 - 'AtomPromise.js' */ ap.onInvoke(function (a) { +/*Line 632 - 'AtomPromise.js' */ var als = AtomLocalStorage; +/*Line 633 - 'AtomPromise.js' */ var r = als[method](storage, query, options.data); +/*Line 634 - 'AtomPromise.js' */ a.pushValue(r); +/*Line 635 - 'AtomPromise.js' */ }); +/*Line 636 - 'AtomPromise.js' */ return ap; +/*Line 637 - 'AtomPromise.js' */}; /*Line 0 - 'AtomBinding.js' */ /*Line 1 - 'AtomBinding.js' */ @@ -6317,7 +6323,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 399 - 'AtomControl.js' */ try { /*Line 400 - 'AtomControl.js' */ runAction.call(this,action, evt); /*Line 401 - 'AtomControl.js' */ } catch (e) { -/*Line 402 - 'AtomControl.js' */ alert(e); +/*Line 402 - 'AtomControl.js' */ Atom.alert(e); /*Line 403 - 'AtomControl.js' */ if (console.error) { /*Line 404 - 'AtomControl.js' */ console.error(e); /*Line 405 - 'AtomControl.js' */ } @@ -6996,7 +7002,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 1078 - 'AtomControl.js' */ this.set_scope(s); /*Line 1079 - 'AtomControl.js' */ } catch (ex) { /*Line 1080 - 'AtomControl.js' */ log(JSON.stringify(ex)); -/*Line 1081 - 'AtomControl.js' */ alert(JSON.stringify(ex)); +/*Line 1081 - 'AtomControl.js' */ Atom.alert(JSON.stringify(ex)); /*Line 1082 - 'AtomControl.js' */ } /*Line 1084 - 'AtomControl.js' */ } @@ -7034,7 +7040,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 10 - 'AtomItemsControl.js' */ this._onUIChanged = false; /*Line 11 - 'AtomItemsControl.js' */ this._itemsPresenter = null; /*Line 12 - 'AtomItemsControl.js' */ this._itemsPanel = null; -/*Line 13 - 'AtomItemsControl.js' */ this._presenters = ["itemsPresenter"]; +/*Line 13 - 'AtomItemsControl.js' */ this._presenters = ["itemsPresenter", "virtualContainer"]; /*Line 14 - 'AtomItemsControl.js' */ this._childItemType = WebAtoms.AtomControl; /*Line 15 - 'AtomItemsControl.js' */ }, /*Line 16 - 'AtomItemsControl.js' */ properties: { @@ -7169,7 +7175,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 145 - 'AtomItemsControl.js' */ var errors = this.get_errors(); /*Line 146 - 'AtomItemsControl.js' */ if (errors.length) { -/*Line 148 - 'AtomItemsControl.js' */ alert(errors.join("\n")); +/*Line 148 - 'AtomItemsControl.js' */ Atom.alert(errors.join("\n")); /*Line 150 - 'AtomItemsControl.js' */ return false; /*Line 151 - 'AtomItemsControl.js' */ } @@ -7374,7 +7380,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 351 - 'AtomItemsControl.js' */ var scrollTop = Math.floor(index / itemsInBlock); /*Line 352 - 'AtomItemsControl.js' */ vc.scrollTop(scrollTop * vcHeight); - + /*Line 356 - 'AtomItemsControl.js' */ return; @@ -7523,7 +7529,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 499 - 'AtomItemsControl.js' */ overflow: "auto" /*Line 500 - 'AtomItemsControl.js' */ }); -/*Line 502 - 'AtomItemsControl.js' */ this.bindEvent(vc, "scroll","onScroll"); +/*Line 502 - 'AtomItemsControl.js' */ this.bindEvent(vc, "scroll", "onScroll"); /*Line 504 - 'AtomItemsControl.js' */ var $ip = $(ip); /*Line 505 - 'AtomItemsControl.js' */ $ip.css({ @@ -7544,8 +7550,8 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 520 - 'AtomItemsControl.js' */ lc = document.createElement("DIV"); /*Line 521 - 'AtomItemsControl.js' */ } -/*Line 523 - 'AtomItemsControl.js' */ $(fc).addClass("sticky first-child").css({ posiiton:"relative", height: 0, width: "100%", clear: "both" }); -/*Line 524 - 'AtomItemsControl.js' */ $(lc).addClass("sticky last-child").css({ posiiton:"relative", height: 0, width: "100%", clear: "both" }); +/*Line 523 - 'AtomItemsControl.js' */ $(fc).addClass("sticky first-child").css({ posiiton: "relative", height: 0, width: "100%", clear: "both" }); +/*Line 524 - 'AtomItemsControl.js' */ $(lc).addClass("sticky last-child").css({ posiiton: "relative", height: 0, width: "100%", clear: "both" }); /*Line 526 - 'AtomItemsControl.js' */ this._firstChild = fc; /*Line 527 - 'AtomItemsControl.js' */ this._lastChild = lc; @@ -7566,7 +7572,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 542 - 'AtomItemsControl.js' */ }); /*Line 543 - 'AtomItemsControl.js' */ }, -/*Line 545 - 'AtomItemsControl.js' */ resetVirtualContainer: function () { +/*Line 545 - 'AtomItemsControl.js' */ resetVirtulContainer: function () { /*Line 546 - 'AtomItemsControl.js' */ if (this._itemsPresenter) { /*Line 547 - 'AtomItemsControl.js' */ this.disposeChildren(this._itemsPresenter); /*Line 548 - 'AtomItemsControl.js' */ } @@ -7585,7 +7591,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 562 - 'AtomItemsControl.js' */ var items = this.get_dataItems(); /*Line 563 - 'AtomItemsControl.js' */ if (!items.length) { -/*Line 564 - 'AtomItemsControl.js' */ this.resetVirtualContainer(); +/*Line 564 - 'AtomItemsControl.js' */ this.resetVirtulContainer(); /*Line 565 - 'AtomItemsControl.js' */ return; /*Line 566 - 'AtomItemsControl.js' */ } @@ -7607,7 +7613,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 583 - 'AtomItemsControl.js' */ var vcHeight = $vc.innerHeight(); /*Line 584 - 'AtomItemsControl.js' */ var vcScrollHeight = vc.scrollHeight; -/*Line 586 - 'AtomItemsControl.js' */ if ( isNaN(vcHeight) || vcHeight <= 0 || vcScrollHeight <= 0) { +/*Line 586 - 'AtomItemsControl.js' */ if (isNaN(vcHeight) || vcHeight <= 0 || vcScrollHeight <= 0) { /*Line 587 - 'AtomItemsControl.js' */ // leave it.. /*Line 588 - 'AtomItemsControl.js' */ var self = this; /*Line 589 - 'AtomItemsControl.js' */ setTimeout(function () { @@ -7632,7 +7638,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 610 - 'AtomItemsControl.js' */ if (this._training) { -/*Line 611 - 'AtomItemsControl.js' */ if (vcHeight >= itemsHeight/3) { +/*Line 611 - 'AtomItemsControl.js' */ if (vcHeight >= itemsHeight) { /*Line 612 - 'AtomItemsControl.js' */ // lets add item... /*Line 613 - 'AtomItemsControl.js' */ var ce = lc.previousElementSibling; /*Line 614 - 'AtomItemsControl.js' */ var index = 0; @@ -7647,7 +7653,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 623 - 'AtomItemsControl.js' */ var data = ae.current(); /*Line 624 - 'AtomItemsControl.js' */ var elementChild = this.createChildElement(parentScope, null, data, ae); /*Line 625 - 'AtomItemsControl.js' */ //WebAtoms.dispatcher.callLater(function () { -/*Line 626 - 'AtomItemsControl.js' */ ip.insertBefore(elementChild,lc); +/*Line 626 - 'AtomItemsControl.js' */ ip.insertBefore(elementChild, lc); /*Line 627 - 'AtomItemsControl.js' */ //}); /*Line 628 - 'AtomItemsControl.js' */ this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); /*Line 629 - 'AtomItemsControl.js' */ this.postVirtualCollectionChanged(); @@ -7675,444 +7681,478 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 651 - 'AtomItemsControl.js' */ var allRows = Math.ceil(items.length / columns); /*Line 652 - 'AtomItemsControl.js' */ var visibleRows = Math.ceil(totalVisibleItems / columns); -/*Line 654 - 'AtomItemsControl.js' */ //this._visibleBlock = visibleRows * avgHeight; -/*Line 655 - 'AtomItemsControl.js' */ //this._itemsInBlock = totalVisibleItems; -/*Line 656 - 'AtomItemsControl.js' */ this._allRows = allRows; -/*Line 657 - 'AtomItemsControl.js' */ this._columns = columns; +/*Line 654 - 'AtomItemsControl.js' */ console.log({ +/*Line 655 - 'AtomItemsControl.js' */ avgWidth: avgWidth, +/*Line 656 - 'AtomItemsControl.js' */ avgHeight: avgHeight, +/*Line 657 - 'AtomItemsControl.js' */ totalVisibleItems: totalVisibleItems, +/*Line 658 - 'AtomItemsControl.js' */ allRows: allRows, +/*Line 659 - 'AtomItemsControl.js' */ columns: columns +/*Line 660 - 'AtomItemsControl.js' */ }); + +/*Line 662 - 'AtomItemsControl.js' */ //this._visibleBlock = visibleRows * avgHeight; +/*Line 663 - 'AtomItemsControl.js' */ //this._itemsInBlock = totalVisibleItems; +/*Line 664 - 'AtomItemsControl.js' */ this._allRows = allRows; +/*Line 665 - 'AtomItemsControl.js' */ this._columns = columns; + + +/*Line 668 - 'AtomItemsControl.js' */ //this._allRows = allRows; +/*Line 669 - 'AtomItemsControl.js' */ this._visibleRows = visibleRows; +/*Line 670 - 'AtomItemsControl.js' */ this._visibleHeight = visibleRows * avgHeight; + +/*Line 672 - 'AtomItemsControl.js' */ // set height of last child... to increase padding +/*Line 673 - 'AtomItemsControl.js' */ $lc.css({ +/*Line 674 - 'AtomItemsControl.js' */ height: ((allRows - visibleRows + 1) * avgHeight) + "px" +/*Line 675 - 'AtomItemsControl.js' */ }); +/*Line 676 - 'AtomItemsControl.js' */ this._training = false; +/*Line 677 - 'AtomItemsControl.js' */ this._ready = true; +/*Line 678 - 'AtomItemsControl.js' */ this.postVirtualCollectionChanged(); +/*Line 679 - 'AtomItemsControl.js' */ } +/*Line 680 - 'AtomItemsControl.js' */ return; -/*Line 659 - 'AtomItemsControl.js' */ //this._allRows = allRows; -/*Line 660 - 'AtomItemsControl.js' */ //this._visibleRows = visibleRows; +/*Line 682 - 'AtomItemsControl.js' */ } + +/*Line 684 - 'AtomItemsControl.js' */ var self = this; + +/*Line 686 - 'AtomItemsControl.js' */ this.lastScrollTop = vc.scrollTop; + +/*Line 688 - 'AtomItemsControl.js' */ if (this._isChanging) { +/*Line 689 - 'AtomItemsControl.js' */ //setTimeout(function () { +/*Line 690 - 'AtomItemsControl.js' */ // self.onVirtualCollectionChanged(); +/*Line 691 - 'AtomItemsControl.js' */ //}, 100); +/*Line 692 - 'AtomItemsControl.js' */ return; +/*Line 693 - 'AtomItemsControl.js' */ } +/*Line 694 - 'AtomItemsControl.js' */ this._isChanging = true; + +/*Line 696 - 'AtomItemsControl.js' */ var block = Math.floor(this._visibleHeight / avgHeight); +/*Line 697 - 'AtomItemsControl.js' */ var itemsInBlock = this._visibleRows * this._columns; + +/*Line 699 - 'AtomItemsControl.js' */ // lets simply recreate the view... if we are out of the scroll bounds... +/*Line 700 - 'AtomItemsControl.js' */ var index = Math.floor(vc.scrollTop / this._visibleHeight); +/*Line 701 - 'AtomItemsControl.js' */ var itemIndex = index * itemsInBlock; +/*Line 702 - 'AtomItemsControl.js' */ //console.log("First block index is " + index + " item index is " + index * itemsInBlock); + +/*Line 704 - 'AtomItemsControl.js' */ if (itemIndex >= items.length) { +/*Line 705 - 'AtomItemsControl.js' */ this._isChanging = false; +/*Line 706 - 'AtomItemsControl.js' */ return; +/*Line 707 - 'AtomItemsControl.js' */ } + +/*Line 709 - 'AtomItemsControl.js' */ var lastIndex = (Math.max(index, 0) + 3) * itemsInBlock - 1; +/*Line 710 - 'AtomItemsControl.js' */ var firstIndex = Math.max(0, (index) * itemsInBlock); + +/*Line 712 - 'AtomItemsControl.js' */ var ce = fc.nextElementSibling; + +/*Line 714 - 'AtomItemsControl.js' */ var firstItem = fc.nextElementSibling; +/*Line 715 - 'AtomItemsControl.js' */ var lastItem = lc.previousElementSibling; + +/*Line 717 - 'AtomItemsControl.js' */ if (firstItem != lastItem) { +/*Line 718 - 'AtomItemsControl.js' */ var firstVisibleIndex = firstItem.atomControl.get_scope().itemIndex; +/*Line 719 - 'AtomItemsControl.js' */ var lastVisibleIndex = lastItem.atomControl.get_scope().itemIndex; +/*Line 720 - 'AtomItemsControl.js' */ console.log({ +/*Line 721 - 'AtomItemsControl.js' */ firstVisibleIndex: firstVisibleIndex, +/*Line 722 - 'AtomItemsControl.js' */ firstIndex: firstIndex, +/*Line 723 - 'AtomItemsControl.js' */ lastVisibleIndex: lastVisibleIndex, +/*Line 724 - 'AtomItemsControl.js' */ lastIndex: lastIndex +/*Line 725 - 'AtomItemsControl.js' */ }); +/*Line 726 - 'AtomItemsControl.js' */ if (firstIndex >= firstVisibleIndex && lastIndex <= lastVisibleIndex) { +/*Line 727 - 'AtomItemsControl.js' */ console.log("All items are visible..."); +/*Line 728 - 'AtomItemsControl.js' */ this._isChanging = false; +/*Line 729 - 'AtomItemsControl.js' */ return; +/*Line 730 - 'AtomItemsControl.js' */ } +/*Line 731 - 'AtomItemsControl.js' */ } + +/*Line 733 - 'AtomItemsControl.js' */ var remove = []; +/*Line 734 - 'AtomItemsControl.js' */ var cache = {}; + +/*Line 736 - 'AtomItemsControl.js' */ while (ce != lc) { +/*Line 737 - 'AtomItemsControl.js' */ var c = ce; +/*Line 738 - 'AtomItemsControl.js' */ ce = ce.nextElementSibling; +/*Line 739 - 'AtomItemsControl.js' */ var s = c.atomControl.get_scope().itemIndex; +/*Line 740 - 'AtomItemsControl.js' */ cache[s] = c; +/*Line 741 - 'AtomItemsControl.js' */ //c.atomControl.dispose(); +/*Line 742 - 'AtomItemsControl.js' */ //c.remove(); +/*Line 743 - 'AtomItemsControl.js' */ remove.push(c); +/*Line 744 - 'AtomItemsControl.js' */ } + +/*Line 746 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.pause(); + + +/*Line 749 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(items); +/*Line 750 - 'AtomItemsControl.js' */ for (var i = 0; i < firstIndex; i++) { +/*Line 751 - 'AtomItemsControl.js' */ ae.next(); +/*Line 752 - 'AtomItemsControl.js' */ } -/*Line 662 - 'AtomItemsControl.js' */ // set height of last child... to increase padding -/*Line 663 - 'AtomItemsControl.js' */ $lc.css({ -/*Line 664 - 'AtomItemsControl.js' */ height: ((allRows-visibleRows+1) * avgHeight) + "px" -/*Line 665 - 'AtomItemsControl.js' */ }); -/*Line 666 - 'AtomItemsControl.js' */ this._training = false; -/*Line 667 - 'AtomItemsControl.js' */ this._ready = true; -/*Line 668 - 'AtomItemsControl.js' */ this.postVirtualCollectionChanged(); -/*Line 669 - 'AtomItemsControl.js' */ } -/*Line 670 - 'AtomItemsControl.js' */ return; -/*Line 672 - 'AtomItemsControl.js' */ } +/*Line 755 - 'AtomItemsControl.js' */ var after = fc; -/*Line 674 - 'AtomItemsControl.js' */ var self = this; +/*Line 757 - 'AtomItemsControl.js' */ var last = null; -/*Line 676 - 'AtomItemsControl.js' */ if (this._isChanging) { -/*Line 677 - 'AtomItemsControl.js' */ //setTimeout(function () { -/*Line 678 - 'AtomItemsControl.js' */ // self.onVirtualCollectionChanged(); -/*Line 679 - 'AtomItemsControl.js' */ //}, 100); -/*Line 680 - 'AtomItemsControl.js' */ return; -/*Line 681 - 'AtomItemsControl.js' */ } -/*Line 682 - 'AtomItemsControl.js' */ this._isChanging = true; - -/*Line 684 - 'AtomItemsControl.js' */ var block = Math.floor(vcHeight / avgHeight); -/*Line 685 - 'AtomItemsControl.js' */ var itemsInBlock = block * this._columns; - -/*Line 687 - 'AtomItemsControl.js' */ // lets simply recreate the view... if we are out of the scroll bounds... -/*Line 688 - 'AtomItemsControl.js' */ var index = Math.max(0, Math.floor(vc.scrollTop / vcHeight) - 1); -/*Line 689 - 'AtomItemsControl.js' */ var itemIndex = index * itemsInBlock; -/*Line 690 - 'AtomItemsControl.js' */ console.log("First block index is " + index + " item index is " + index * itemsInBlock); - -/*Line 692 - 'AtomItemsControl.js' */ if (itemIndex >= items.length) { -/*Line 693 - 'AtomItemsControl.js' */ this._isChanging = false; -/*Line 694 - 'AtomItemsControl.js' */ return; -/*Line 695 - 'AtomItemsControl.js' */ } - -/*Line 697 - 'AtomItemsControl.js' */ var ce = fc.nextElementSibling; - -/*Line 699 - 'AtomItemsControl.js' */ if (ce != lc) { -/*Line 700 - 'AtomItemsControl.js' */ var scopeIndex = ce.atomControl.get_scope().itemIndex; -/*Line 701 - 'AtomItemsControl.js' */ if (scopeIndex == itemIndex) { -/*Line 702 - 'AtomItemsControl.js' */ console.log("No need to create any item"); -/*Line 703 - 'AtomItemsControl.js' */ this._isChanging = false; -/*Line 704 - 'AtomItemsControl.js' */ return; -/*Line 705 - 'AtomItemsControl.js' */ } -/*Line 706 - 'AtomItemsControl.js' */ } - -/*Line 708 - 'AtomItemsControl.js' */ var remove = []; -/*Line 709 - 'AtomItemsControl.js' */ var cache = {}; - -/*Line 711 - 'AtomItemsControl.js' */ while (ce != lc) { -/*Line 712 - 'AtomItemsControl.js' */ var c = ce; -/*Line 713 - 'AtomItemsControl.js' */ ce = ce.nextElementSibling; -/*Line 714 - 'AtomItemsControl.js' */ var s = c.atomControl.get_scope().itemIndex; -/*Line 715 - 'AtomItemsControl.js' */ cache[s] = c; -/*Line 716 - 'AtomItemsControl.js' */ //c.atomControl.dispose(); -/*Line 717 - 'AtomItemsControl.js' */ //c.remove(); -/*Line 718 - 'AtomItemsControl.js' */ remove.push(c); -/*Line 719 - 'AtomItemsControl.js' */ } - -/*Line 721 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.pause(); - - -/*Line 724 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(items); -/*Line 725 - 'AtomItemsControl.js' */ for (var i = 0; i < itemIndex; i++) { -/*Line 726 - 'AtomItemsControl.js' */ ae.next(); -/*Line 727 - 'AtomItemsControl.js' */ } - - -/*Line 730 - 'AtomItemsControl.js' */ var after = fc; - -/*Line 732 - 'AtomItemsControl.js' */ var last = null; - -/*Line 734 - 'AtomItemsControl.js' */ var add = []; - -/*Line 736 - 'AtomItemsControl.js' */ for (var i = 0; i < itemsInBlock * 3; i++) { -/*Line 737 - 'AtomItemsControl.js' */ if (!ae.next()) -/*Line 738 - 'AtomItemsControl.js' */ break; -/*Line 739 - 'AtomItemsControl.js' */ var index2 = ae.currentIndex(); -/*Line 740 - 'AtomItemsControl.js' */ var data = ae.current(); -/*Line 741 - 'AtomItemsControl.js' */ var elementChild = cache[index2]; -/*Line 742 - 'AtomItemsControl.js' */ if (elementChild && element.atomControl.get_data() == data) { -/*Line 743 - 'AtomItemsControl.js' */ cache[index2] = null; -/*Line 744 - 'AtomItemsControl.js' */ } else { -/*Line 745 - 'AtomItemsControl.js' */ elementChild = this.createChildElement(parentScope, null, data, ae); -/*Line 746 - 'AtomItemsControl.js' */ } -/*Line 747 - 'AtomItemsControl.js' */ elementChild.before = after; -/*Line 748 - 'AtomItemsControl.js' */ add.push(elementChild); -/*Line 749 - 'AtomItemsControl.js' */ after = elementChild; -/*Line 750 - 'AtomItemsControl.js' */ this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); -/*Line 751 - 'AtomItemsControl.js' */ last = index2; -/*Line 752 - 'AtomItemsControl.js' */ } +/*Line 759 - 'AtomItemsControl.js' */ var add = []; +/*Line 761 - 'AtomItemsControl.js' */ for (var i = firstIndex; i <= lastIndex; i++) { +/*Line 762 - 'AtomItemsControl.js' */ if (!ae.next()) +/*Line 763 - 'AtomItemsControl.js' */ break; +/*Line 764 - 'AtomItemsControl.js' */ var index2 = ae.currentIndex(); +/*Line 765 - 'AtomItemsControl.js' */ var data = ae.current(); +/*Line 766 - 'AtomItemsControl.js' */ var elementChild = cache[index2]; +/*Line 767 - 'AtomItemsControl.js' */ if (elementChild && element.atomControl.get_data() == data) { +/*Line 768 - 'AtomItemsControl.js' */ cache[index2] = null; +/*Line 769 - 'AtomItemsControl.js' */ } else { +/*Line 770 - 'AtomItemsControl.js' */ elementChild = this.createChildElement(parentScope, null, data, ae); +/*Line 771 - 'AtomItemsControl.js' */ } +/*Line 772 - 'AtomItemsControl.js' */ elementChild.before = after; +/*Line 773 - 'AtomItemsControl.js' */ add.push(elementChild); +/*Line 774 - 'AtomItemsControl.js' */ after = elementChild; +/*Line 775 - 'AtomItemsControl.js' */ this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); +/*Line 776 - 'AtomItemsControl.js' */ last = index2; +/*Line 777 - 'AtomItemsControl.js' */ } -/*Line 755 - 'AtomItemsControl.js' */ var h = (this._allRows - block * 3) * avgHeight - index * vcHeight; -/*Line 756 - 'AtomItemsControl.js' */ console.log("last child height = " + h); - -/*Line 758 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.callLater(function () { - -/*Line 760 - 'AtomItemsControl.js' */ var oldHeight = $fc.height(); -/*Line 761 - 'AtomItemsControl.js' */ var newHeight = index * vcHeight; - -/*Line 763 - 'AtomItemsControl.js' */ var diff = newHeight - oldHeight; -/*Line 764 - 'AtomItemsControl.js' */ var oldScrollTop = vc.scrollTop; - - - -/*Line 768 - 'AtomItemsControl.js' */ var a = new AtomEnumerator(remove); -/*Line 769 - 'AtomItemsControl.js' */ while (a.next()) { -/*Line 770 - 'AtomItemsControl.js' */ var ec = a.current(); -/*Line 771 - 'AtomItemsControl.js' */ if (!ec.before) { -/*Line 772 - 'AtomItemsControl.js' */ ec.atomControl.dispose(); -/*Line 773 - 'AtomItemsControl.js' */ } -/*Line 774 - 'AtomItemsControl.js' */ ec.remove(); -/*Line 775 - 'AtomItemsControl.js' */ } -/*Line 776 - 'AtomItemsControl.js' */ a = new AtomEnumerator(add); -/*Line 777 - 'AtomItemsControl.js' */ while (a.next()) { -/*Line 778 - 'AtomItemsControl.js' */ var ec = a.current(); -/*Line 779 - 'AtomItemsControl.js' */ ip.insertBefore(ec, ec.before.nextElementSibling); -/*Line 780 - 'AtomItemsControl.js' */ ec.before = null; -/*Line 781 - 'AtomItemsControl.js' */ } -/*Line 783 - 'AtomItemsControl.js' */ $fc.css({ -/*Line 784 - 'AtomItemsControl.js' */ height: newHeight -/*Line 785 - 'AtomItemsControl.js' */ }); +/*Line 780 - 'AtomItemsControl.js' */ var h = (this._allRows - block * 3) * avgHeight - index * this._visibleHeight; +/*Line 781 - 'AtomItemsControl.js' */ console.log("last child height = " + h); -/*Line 787 - 'AtomItemsControl.js' */ //vc.scrollTop = oldScrollTop - diff; +/*Line 783 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.callLater(function () { +/*Line 785 - 'AtomItemsControl.js' */ var oldHeight = $fc.height(); +/*Line 786 - 'AtomItemsControl.js' */ var newHeight = index * self._visibleHeight; -/*Line 790 - 'AtomItemsControl.js' */ $lc.css({ -/*Line 791 - 'AtomItemsControl.js' */ height: h -/*Line 792 - 'AtomItemsControl.js' */ }); +/*Line 788 - 'AtomItemsControl.js' */ var diff = newHeight - oldHeight; +/*Line 789 - 'AtomItemsControl.js' */ var oldScrollTop = vc.scrollTop; -/*Line 795 - 'AtomItemsControl.js' */ console.log("Old: " + oldScrollTop + " Diff: " + diff + " Old Height: " + oldHeight + " Height: " + newHeight); -/*Line 797 - 'AtomItemsControl.js' */ self._isChanging = false; -/*Line 798 - 'AtomItemsControl.js' */ }); -/*Line 799 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.start(); +/*Line 793 - 'AtomItemsControl.js' */ var a = new AtomEnumerator(add); +/*Line 794 - 'AtomItemsControl.js' */ while (a.next()) { +/*Line 795 - 'AtomItemsControl.js' */ var ec = a.current(); +/*Line 796 - 'AtomItemsControl.js' */ ip.insertBefore(ec, ec.before.nextElementSibling); +/*Line 797 - 'AtomItemsControl.js' */ ec.before = null; +/*Line 798 - 'AtomItemsControl.js' */ } + +/*Line 800 - 'AtomItemsControl.js' */ $fc.css({ +/*Line 801 - 'AtomItemsControl.js' */ height: newHeight +/*Line 802 - 'AtomItemsControl.js' */ }); -/*Line 801 - 'AtomItemsControl.js' */ AtomBinder.refreshValue(this, "childAtomControls"); -/*Line 802 - 'AtomItemsControl.js' */ }, +/*Line 804 - 'AtomItemsControl.js' */ a = new AtomEnumerator(remove); +/*Line 805 - 'AtomItemsControl.js' */ while (a.next()) { +/*Line 806 - 'AtomItemsControl.js' */ var ec = a.current(); +/*Line 807 - 'AtomItemsControl.js' */ if (!ec.before) { +/*Line 808 - 'AtomItemsControl.js' */ ec.atomControl.dispose(); +/*Line 809 - 'AtomItemsControl.js' */ } +/*Line 810 - 'AtomItemsControl.js' */ ec.remove(); +/*Line 811 - 'AtomItemsControl.js' */ } -/*Line 804 - 'AtomItemsControl.js' */ onCollectionChanged: function (mode, index, item) { -/*Line 806 - 'AtomItemsControl.js' */ if (/reset|refresh/i.test(mode)) { -/*Line 807 - 'AtomItemsControl.js' */ this._scopes = {}; -/*Line 808 - 'AtomItemsControl.js' */ this._cachedItems = null; -/*Line 809 - 'AtomItemsControl.js' */ } +/*Line 814 - 'AtomItemsControl.js' */ //vc.scrollTop = oldScrollTop - diff; -/*Line 812 - 'AtomItemsControl.js' */ // just reset for now... -/*Line 813 - 'AtomItemsControl.js' */ if (/remove/gi.test(mode)) { -/*Line 814 - 'AtomItemsControl.js' */ // simply delete and remove... -/*Line 815 - 'AtomItemsControl.js' */ var ce = new ChildEnumerator(this._itemsPresenter); -/*Line 816 - 'AtomItemsControl.js' */ while (ce.next()) { -/*Line 817 - 'AtomItemsControl.js' */ var c = ce.current(); -/*Line 818 - 'AtomItemsControl.js' */ if (c.atomControl && c.atomControl.get_data() == item) { -/*Line 819 - 'AtomItemsControl.js' */ c.atomControl.dispose(); -/*Line 820 - 'AtomItemsControl.js' */ $(c).remove(); -/*Line 821 - 'AtomItemsControl.js' */ break; -/*Line 822 - 'AtomItemsControl.js' */ } -/*Line 823 - 'AtomItemsControl.js' */ } -/*Line 824 - 'AtomItemsControl.js' */ this.updateUI(); -/*Line 825 - 'AtomItemsControl.js' */ return; -/*Line 826 - 'AtomItemsControl.js' */ } - -/*Line 828 - 'AtomItemsControl.js' */ if (this._uiVirtualize) { -/*Line 829 - 'AtomItemsControl.js' */ this.onVirtualCollectionChanged(); -/*Line 830 - 'AtomItemsControl.js' */ return; -/*Line 831 - 'AtomItemsControl.js' */ } - -/*Line 833 - 'AtomItemsControl.js' */ var parentScope = this.get_scope(); - -/*Line 835 - 'AtomItemsControl.js' */ var et = this.getTemplate("itemTemplate"); -/*Line 836 - 'AtomItemsControl.js' */ if (et) { -/*Line 837 - 'AtomItemsControl.js' */ et = AtomUI.getAtomType(et); -/*Line 838 - 'AtomItemsControl.js' */ if (et) { -/*Line 839 - 'AtomItemsControl.js' */ this._childItemType = et; -/*Line 840 - 'AtomItemsControl.js' */ } -/*Line 841 - 'AtomItemsControl.js' */ } - -/*Line 843 - 'AtomItemsControl.js' */ if (/add/gi.test(mode)) { -/*Line 844 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.pause(); - -/*Line 846 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(this._items); -/*Line 847 - 'AtomItemsControl.js' */ var ce = new ChildEnumerator(this._itemsPresenter); -/*Line 848 - 'AtomItemsControl.js' */ while (ae.next()) { -/*Line 849 - 'AtomItemsControl.js' */ ce.next(); -/*Line 850 - 'AtomItemsControl.js' */ var c = ce.current(); -/*Line 851 - 'AtomItemsControl.js' */ if (ae.currentIndex() == index) { -/*Line 852 - 'AtomItemsControl.js' */ var ctrl = this.createChildElement(parentScope, this._itemsPresenter, item, ae, c); -/*Line 853 - 'AtomItemsControl.js' */ this.applyItemStyle(ctrl, item, ae.isFirst(), ae.isLast()); -/*Line 854 - 'AtomItemsControl.js' */ break; -/*Line 855 - 'AtomItemsControl.js' */ } -/*Line 856 - 'AtomItemsControl.js' */ if (ae.isLast()) { -/*Line 857 - 'AtomItemsControl.js' */ var ctrl = this.createChildElement(parentScope, this._itemsPresenter, item, ae); -/*Line 858 - 'AtomItemsControl.js' */ this.applyItemStyle(ctrl, item, ae.isFirst(), ae.isLast()); -/*Line 859 - 'AtomItemsControl.js' */ break; -/*Line 860 - 'AtomItemsControl.js' */ } -/*Line 861 - 'AtomItemsControl.js' */ } - -/*Line 863 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.start(); -/*Line 864 - 'AtomItemsControl.js' */ this.updateUI(); -/*Line 865 - 'AtomItemsControl.js' */ return; -/*Line 866 - 'AtomItemsControl.js' */ } - -/*Line 868 - 'AtomItemsControl.js' */ var element = this._itemsPresenter; - -/*Line 870 - 'AtomItemsControl.js' */ var dataItems = this.get_dataItems(); - - -/*Line 873 - 'AtomItemsControl.js' */ //AtomUI.removeAllChildren(element); -/*Line 874 - 'AtomItemsControl.js' */ this.disposeChildren(element); -/*Line 875 - 'AtomItemsControl.js' */ //this._dataElements.length = 0; -/*Line 876 - 'AtomItemsControl.js' */ // rebuild from template... - -/*Line 878 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.pause(); - -/*Line 880 - 'AtomItemsControl.js' */ // implement stock... - - -/*Line 883 - 'AtomItemsControl.js' */ var items = this.get_dataItems(true); - -/*Line 885 - 'AtomItemsControl.js' */ var added = []; - -/*Line 887 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(items); - - -/*Line 890 - 'AtomItemsControl.js' */ this.getTemplate("itemTemplate"); - -/*Line 892 - 'AtomItemsControl.js' */ while (ae.next()) { -/*Line 893 - 'AtomItemsControl.js' */ var data = ae.current(); -/*Line 894 - 'AtomItemsControl.js' */ var elementChild = this.createChildElement(parentScope, element, data, ae); -/*Line 895 - 'AtomItemsControl.js' */ added.push(elementChild); -/*Line 896 - 'AtomItemsControl.js' */ this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); -/*Line 897 - 'AtomItemsControl.js' */ } - - -/*Line 900 - 'AtomItemsControl.js' */ //var ae = new AtomEnumerator(items); -/*Line 901 - 'AtomItemsControl.js' */ //while (ae.next()) { -/*Line 902 - 'AtomItemsControl.js' */ // var data = ae.current(); -/*Line 903 - 'AtomItemsControl.js' */ // var elementChild = this.createChildElement(parentScope, element, data, ae); -/*Line 904 - 'AtomItemsControl.js' */ // this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); -/*Line 905 - 'AtomItemsControl.js' */ //} -/*Line 906 - 'AtomItemsControl.js' */ var self = this; -/*Line 907 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.callLater(function () { -/*Line 908 - 'AtomItemsControl.js' */ var dirty = []; -/*Line 909 - 'AtomItemsControl.js' */ var ce = new ChildEnumerator(element); -/*Line 910 - 'AtomItemsControl.js' */ while (ce.next()) { -/*Line 911 - 'AtomItemsControl.js' */ var item = ce.current(); -/*Line 912 - 'AtomItemsControl.js' */ var f = added.filter(function (fx) { return item == fx; }); -/*Line 913 - 'AtomItemsControl.js' */ if (f.pop() != item) { -/*Line 914 - 'AtomItemsControl.js' */ dirty.push(item); -/*Line 915 - 'AtomItemsControl.js' */ } -/*Line 916 - 'AtomItemsControl.js' */ } -/*Line 917 - 'AtomItemsControl.js' */ ce = new AtomEnumerator(dirty); -/*Line 918 - 'AtomItemsControl.js' */ while (ce.next()) { -/*Line 919 - 'AtomItemsControl.js' */ var item = ce.current(); -/*Line 920 - 'AtomItemsControl.js' */ //self.dispose(item); -/*Line 921 - 'AtomItemsControl.js' */ if (item.atomControl) { -/*Line 922 - 'AtomItemsControl.js' */ item.atomControl.dispose(); -/*Line 923 - 'AtomItemsControl.js' */ } -/*Line 924 - 'AtomItemsControl.js' */ $(item).remove(); -/*Line 925 - 'AtomItemsControl.js' */ } - -/*Line 927 - 'AtomItemsControl.js' */ }); +/*Line 817 - 'AtomItemsControl.js' */ $lc.css({ +/*Line 818 - 'AtomItemsControl.js' */ height: h +/*Line 819 - 'AtomItemsControl.js' */ }); - -/*Line 931 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.start(); - -/*Line 933 - 'AtomItemsControl.js' */ AtomBinder.refreshValue(this, "childAtomControls"); - - -/*Line 936 - 'AtomItemsControl.js' */ }, - -/*Line 938 - 'AtomItemsControl.js' */ set_innerTemplate: function (v) { -/*Line 939 - 'AtomItemsControl.js' */ this._itemsPresenter = this._element; -/*Line 940 - 'AtomItemsControl.js' */ base.set_innerTemplate.apply(this, arguments); -/*Line 941 - 'AtomItemsControl.js' */ this.onCollectionChangedInternal("mode", -1, null); -/*Line 942 - 'AtomItemsControl.js' */ }, - -/*Line 944 - 'AtomItemsControl.js' */ applyItemStyle: function (item, dataItem, first, last) { -/*Line 945 - 'AtomItemsControl.js' */ }, - -/*Line 947 - 'AtomItemsControl.js' */ createChildElement: function (parentScope, parentElement, data, ae, before) { - -/*Line 949 - 'AtomItemsControl.js' */ var elementChild = AtomUI.cloneNode(this._itemTemplate); -/*Line 950 - 'AtomItemsControl.js' */ elementChild._logicalParent = parentElement; -/*Line 951 - 'AtomItemsControl.js' */ elementChild._templateParent = this; -/*Line 952 - 'AtomItemsControl.js' */ elementChild._isDirty = true; - -/*Line 954 - 'AtomItemsControl.js' */ if (parentElement) { -/*Line 955 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.callLater(function () { -/*Line 956 - 'AtomItemsControl.js' */ if (before) { -/*Line 957 - 'AtomItemsControl.js' */ parentElement.insertBefore(elementChild, before); -/*Line 958 - 'AtomItemsControl.js' */ } else { -/*Line 959 - 'AtomItemsControl.js' */ parentElement.appendChild(elementChild); -/*Line 960 - 'AtomItemsControl.js' */ } -/*Line 961 - 'AtomItemsControl.js' */ }); -/*Line 962 - 'AtomItemsControl.js' */ } - -/*Line 964 - 'AtomItemsControl.js' */ var scopes = this._scopes || { -/*Line 965 - 'AtomItemsControl.js' */ }; -/*Line 966 - 'AtomItemsControl.js' */ this._scopes = scopes; - -/*Line 968 - 'AtomItemsControl.js' */ var index = ae ? ae.currentIndex() : -1; -/*Line 969 - 'AtomItemsControl.js' */ var scope = scopes[index] || new AtomScope(this, parentScope, parentScope.__application); -/*Line 970 - 'AtomItemsControl.js' */ scopes[index] = scope; -/*Line 971 - 'AtomItemsControl.js' */ if (ae) { -/*Line 972 - 'AtomItemsControl.js' */ scope.itemIsFirst = ae.isFirst(); -/*Line 973 - 'AtomItemsControl.js' */ scope.itemIsLast = ae.isLast(); -/*Line 974 - 'AtomItemsControl.js' */ scope.itemIndex = index; -/*Line 975 - 'AtomItemsControl.js' */ scope.itemExpanded = false; -/*Line 976 - 'AtomItemsControl.js' */ scope.data = data; -/*Line 977 - 'AtomItemsControl.js' */ scope.get_itemSelected = function () { -/*Line 978 - 'AtomItemsControl.js' */ return scope.owner.isSelected(data); -/*Line 979 - 'AtomItemsControl.js' */ }; -/*Line 980 - 'AtomItemsControl.js' */ scope.set_itemSelected = function (v) { -/*Line 981 - 'AtomItemsControl.js' */ scope.owner.toggleSelection(data, true); -/*Line 982 - 'AtomItemsControl.js' */ }; -/*Line 983 - 'AtomItemsControl.js' */ } - -/*Line 985 - 'AtomItemsControl.js' */ var ac = AtomUI.createControl(elementChild, this._childItemType, data, scope); -/*Line 986 - 'AtomItemsControl.js' */ return elementChild; -/*Line 987 - 'AtomItemsControl.js' */ }, - -/*Line 989 - 'AtomItemsControl.js' */ toggleSelection: function (data) { -/*Line 990 - 'AtomItemsControl.js' */ this._onUIChanged = true; -/*Line 991 - 'AtomItemsControl.js' */ this._value = undefined; -/*Line 992 - 'AtomItemsControl.js' */ if (this._allowMultipleSelection) { -/*Line 993 - 'AtomItemsControl.js' */ if (AtomUI.contains(this._selectedItems, data)) { -/*Line 994 - 'AtomItemsControl.js' */ AtomBinder.removeItem(this._selectedItems, data); -/*Line 995 - 'AtomItemsControl.js' */ } else { -/*Line 996 - 'AtomItemsControl.js' */ AtomBinder.addItem(this._selectedItems, data); -/*Line 997 - 'AtomItemsControl.js' */ } -/*Line 998 - 'AtomItemsControl.js' */ } else { -/*Line 999 - 'AtomItemsControl.js' */ this._selectedItems.length = 1; -/*Line 1000 - 'AtomItemsControl.js' */ this._selectedItems[0] = data; -/*Line 1001 - 'AtomItemsControl.js' */ AtomBinder.refreshItems(this._selectedItems); -/*Line 1002 - 'AtomItemsControl.js' */ } -/*Line 1003 - 'AtomItemsControl.js' */ this._onUIChanged = false; -/*Line 1004 - 'AtomItemsControl.js' */ }, - -/*Line 1006 - 'AtomItemsControl.js' */ onUpdateUI: function () { -/*Line 1007 - 'AtomItemsControl.js' */ base.onUpdateUI.call(this); - -/*Line 1009 - 'AtomItemsControl.js' */ if (this._uiVirtualize) { -/*Line 1010 - 'AtomItemsControl.js' */ this.onVirtualCollectionChanged(); -/*Line 1011 - 'AtomItemsControl.js' */ } - -/*Line 1013 - 'AtomItemsControl.js' */ var ae = new ChildEnumerator(this._itemsPresenter); -/*Line 1014 - 'AtomItemsControl.js' */ while (ae.next()) { -/*Line 1015 - 'AtomItemsControl.js' */ var item = ae.current(); -/*Line 1016 - 'AtomItemsControl.js' */ if (!item.atomControl) -/*Line 1017 - 'AtomItemsControl.js' */ continue; -/*Line 1018 - 'AtomItemsControl.js' */ var dataItem = item.atomControl.get_data(); -/*Line 1019 - 'AtomItemsControl.js' */ AtomBinder.refreshValue(item.atomControl.get_scope(), "itemSelected"); -/*Line 1020 - 'AtomItemsControl.js' */ this.applyItemStyle(item, dataItem, ae.isFirst(), ae.isLast()); -/*Line 1021 - 'AtomItemsControl.js' */ } -/*Line 1022 - 'AtomItemsControl.js' */ }, - -/*Line 1024 - 'AtomItemsControl.js' */ onCreated: function () { - - -/*Line 1027 - 'AtomItemsControl.js' */ if (this._items) { -/*Line 1028 - 'AtomItemsControl.js' */ this.onCollectionChangedInternal("refresh", -1, null); -/*Line 1029 - 'AtomItemsControl.js' */ } - -/*Line 1031 - 'AtomItemsControl.js' */ var caller = this; - -/*Line 1033 - 'AtomItemsControl.js' */ this.dispatcher.callLater(function () { -/*Line 1034 - 'AtomItemsControl.js' */ if (caller._autoScrollToSelection) { -/*Line 1035 - 'AtomItemsControl.js' */ caller.bringSelectionIntoView(); -/*Line 1036 - 'AtomItemsControl.js' */ } -/*Line 1037 - 'AtomItemsControl.js' */ }); - -/*Line 1039 - 'AtomItemsControl.js' */ }, - -/*Line 1041 - 'AtomItemsControl.js' */ dispose: function () { -/*Line 1042 - 'AtomItemsControl.js' */ this.resetVirtualContainer(); -/*Line 1043 - 'AtomItemsControl.js' */ base.dispose.call(this); -/*Line 1044 - 'AtomItemsControl.js' */ this._selectedItems = null; -/*Line 1045 - 'AtomItemsControl.js' */ }, - - -/*Line 1048 - 'AtomItemsControl.js' */ init: function () { - -/*Line 1050 - 'AtomItemsControl.js' */ var element = this.get_element(); - - -/*Line 1053 - 'AtomItemsControl.js' */ // set self as Items Presenter.. -/*Line 1054 - 'AtomItemsControl.js' */ if (!this._itemsPresenter) { -/*Line 1055 - 'AtomItemsControl.js' */ this._itemsPresenter = this._element; -/*Line 1056 - 'AtomItemsControl.js' */ } -/*Line 1057 - 'AtomItemsControl.js' */ else { -/*Line 1058 - 'AtomItemsControl.js' */ //this._layout = WebAtoms.AtomViewBoxLayout.defaultInstnace; -/*Line 1059 - 'AtomItemsControl.js' */ } - -/*Line 1061 - 'AtomItemsControl.js' */ var _this = this; -/*Line 1062 - 'AtomItemsControl.js' */ this.bindEvent(this._selectedItems, "CollectionChanged", function () { -/*Line 1063 - 'AtomItemsControl.js' */ _this.onSelectedItemsChanged.apply(_this, arguments); -/*Line 1064 - 'AtomItemsControl.js' */ }); -/*Line 1065 - 'AtomItemsControl.js' */ base.init.apply(this, arguments); - - -/*Line 1068 - 'AtomItemsControl.js' */ var caller = this; - -/*Line 1070 - 'AtomItemsControl.js' */ this.removeItemCommand = function (scope, sender) { -/*Line 1071 - 'AtomItemsControl.js' */ if (!sender) -/*Line 1072 - 'AtomItemsControl.js' */ return; -/*Line 1073 - 'AtomItemsControl.js' */ var d = sender.get_data(); -/*Line 1074 - 'AtomItemsControl.js' */ AtomBinder.removeItem(caller._items, d); -/*Line 1075 - 'AtomItemsControl.js' */ }; - -/*Line 1077 - 'AtomItemsControl.js' */ this.removeSelectedCommand = function (scope, sender) { -/*Line 1078 - 'AtomItemsControl.js' */ var s = caller.get_selectedItems().slice(0); -/*Line 1079 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(s); -/*Line 1080 - 'AtomItemsControl.js' */ while (ae.next()) { -/*Line 1081 - 'AtomItemsControl.js' */ AtomBinder.removeItem(caller.get_items(), ae.current()); -/*Line 1082 - 'AtomItemsControl.js' */ } -/*Line 1083 - 'AtomItemsControl.js' */ }; - -/*Line 1085 - 'AtomItemsControl.js' */ this.removeAllCommand = function (scope, sender) { -/*Line 1086 - 'AtomItemsControl.js' */ AtomBinder.clear(caller.get_items()); -/*Line 1087 - 'AtomItemsControl.js' */ }; -/*Line 1088 - 'AtomItemsControl.js' */ } -/*Line 1089 - 'AtomItemsControl.js' */ } -/*Line 1090 - 'AtomItemsControl.js' */ }); -/*Line 1091 - 'AtomItemsControl.js' */})(WebAtoms.AtomControl.prototype); +/*Line 822 - 'AtomItemsControl.js' */ console.log("Old: " + oldScrollTop + " Diff: " + diff + " Old Height: " + oldHeight + " Height: " + newHeight); + +/*Line 824 - 'AtomItemsControl.js' */ self._isChanging = false; + +/*Line 826 - 'AtomItemsControl.js' */ }); +/*Line 827 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.start(); + +/*Line 829 - 'AtomItemsControl.js' */ AtomBinder.refreshValue(this, "childAtomControls"); +/*Line 830 - 'AtomItemsControl.js' */ }, + +/*Line 832 - 'AtomItemsControl.js' */ onCollectionChanged: function (mode, index, item) { + +/*Line 834 - 'AtomItemsControl.js' */ if (/reset|refresh/i.test(mode)) { +/*Line 835 - 'AtomItemsControl.js' */ this.resetVirtulContainer(); +/*Line 836 - 'AtomItemsControl.js' */ } + + +/*Line 839 - 'AtomItemsControl.js' */ // just reset for now... +/*Line 840 - 'AtomItemsControl.js' */ if (/remove/gi.test(mode)) { +/*Line 841 - 'AtomItemsControl.js' */ // simply delete and remove... +/*Line 842 - 'AtomItemsControl.js' */ var ce = new ChildEnumerator(this._itemsPresenter); +/*Line 843 - 'AtomItemsControl.js' */ while (ce.next()) { +/*Line 844 - 'AtomItemsControl.js' */ var c = ce.current(); +/*Line 845 - 'AtomItemsControl.js' */ if (c.atomControl && c.atomControl.get_data() == item) { +/*Line 846 - 'AtomItemsControl.js' */ c.atomControl.dispose(); +/*Line 847 - 'AtomItemsControl.js' */ $(c).remove(); +/*Line 848 - 'AtomItemsControl.js' */ break; +/*Line 849 - 'AtomItemsControl.js' */ } +/*Line 850 - 'AtomItemsControl.js' */ } +/*Line 851 - 'AtomItemsControl.js' */ this.updateUI(); +/*Line 852 - 'AtomItemsControl.js' */ return; +/*Line 853 - 'AtomItemsControl.js' */ } + +/*Line 855 - 'AtomItemsControl.js' */ if (this._uiVirtualize) { +/*Line 856 - 'AtomItemsControl.js' */ this.onVirtualCollectionChanged(); +/*Line 857 - 'AtomItemsControl.js' */ return; +/*Line 858 - 'AtomItemsControl.js' */ } + +/*Line 860 - 'AtomItemsControl.js' */ var parentScope = this.get_scope(); + +/*Line 862 - 'AtomItemsControl.js' */ var et = this.getTemplate("itemTemplate"); +/*Line 863 - 'AtomItemsControl.js' */ if (et) { +/*Line 864 - 'AtomItemsControl.js' */ et = AtomUI.getAtomType(et); +/*Line 865 - 'AtomItemsControl.js' */ if (et) { +/*Line 866 - 'AtomItemsControl.js' */ this._childItemType = et; +/*Line 867 - 'AtomItemsControl.js' */ } +/*Line 868 - 'AtomItemsControl.js' */ } + +/*Line 870 - 'AtomItemsControl.js' */ if (/add/gi.test(mode)) { +/*Line 871 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.pause(); + +/*Line 873 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(this._items); +/*Line 874 - 'AtomItemsControl.js' */ var ce = new ChildEnumerator(this._itemsPresenter); +/*Line 875 - 'AtomItemsControl.js' */ while (ae.next()) { +/*Line 876 - 'AtomItemsControl.js' */ ce.next(); +/*Line 877 - 'AtomItemsControl.js' */ var c = ce.current(); +/*Line 878 - 'AtomItemsControl.js' */ if (ae.currentIndex() == index) { +/*Line 879 - 'AtomItemsControl.js' */ var ctrl = this.createChildElement(parentScope, this._itemsPresenter, item, ae, c); +/*Line 880 - 'AtomItemsControl.js' */ this.applyItemStyle(ctrl, item, ae.isFirst(), ae.isLast()); +/*Line 881 - 'AtomItemsControl.js' */ break; +/*Line 882 - 'AtomItemsControl.js' */ } +/*Line 883 - 'AtomItemsControl.js' */ if (ae.isLast()) { +/*Line 884 - 'AtomItemsControl.js' */ var ctrl = this.createChildElement(parentScope, this._itemsPresenter, item, ae); +/*Line 885 - 'AtomItemsControl.js' */ this.applyItemStyle(ctrl, item, ae.isFirst(), ae.isLast()); +/*Line 886 - 'AtomItemsControl.js' */ break; +/*Line 887 - 'AtomItemsControl.js' */ } +/*Line 888 - 'AtomItemsControl.js' */ } + +/*Line 890 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.start(); +/*Line 891 - 'AtomItemsControl.js' */ this.updateUI(); +/*Line 892 - 'AtomItemsControl.js' */ return; +/*Line 893 - 'AtomItemsControl.js' */ } + +/*Line 895 - 'AtomItemsControl.js' */ var element = this._itemsPresenter; + +/*Line 897 - 'AtomItemsControl.js' */ var dataItems = this.get_dataItems(); + + +/*Line 900 - 'AtomItemsControl.js' */ //AtomUI.removeAllChildren(element); +/*Line 901 - 'AtomItemsControl.js' */ this.disposeChildren(element); +/*Line 902 - 'AtomItemsControl.js' */ //this._dataElements.length = 0; +/*Line 903 - 'AtomItemsControl.js' */ // rebuild from template... + +/*Line 905 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.pause(); + +/*Line 907 - 'AtomItemsControl.js' */ // implement stock... + + +/*Line 910 - 'AtomItemsControl.js' */ var items = this.get_dataItems(true); + +/*Line 912 - 'AtomItemsControl.js' */ var added = []; + +/*Line 914 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(items); + + +/*Line 917 - 'AtomItemsControl.js' */ this.getTemplate("itemTemplate"); + +/*Line 919 - 'AtomItemsControl.js' */ while (ae.next()) { +/*Line 920 - 'AtomItemsControl.js' */ var data = ae.current(); +/*Line 921 - 'AtomItemsControl.js' */ var elementChild = this.createChildElement(parentScope, element, data, ae); +/*Line 922 - 'AtomItemsControl.js' */ added.push(elementChild); +/*Line 923 - 'AtomItemsControl.js' */ this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); +/*Line 924 - 'AtomItemsControl.js' */ } + + +/*Line 927 - 'AtomItemsControl.js' */ //var ae = new AtomEnumerator(items); +/*Line 928 - 'AtomItemsControl.js' */ //while (ae.next()) { +/*Line 929 - 'AtomItemsControl.js' */ // var data = ae.current(); +/*Line 930 - 'AtomItemsControl.js' */ // var elementChild = this.createChildElement(parentScope, element, data, ae); +/*Line 931 - 'AtomItemsControl.js' */ // this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); +/*Line 932 - 'AtomItemsControl.js' */ //} +/*Line 933 - 'AtomItemsControl.js' */ var self = this; +/*Line 934 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.callLater(function () { +/*Line 935 - 'AtomItemsControl.js' */ var dirty = []; +/*Line 936 - 'AtomItemsControl.js' */ var ce = new ChildEnumerator(element); +/*Line 937 - 'AtomItemsControl.js' */ while (ce.next()) { +/*Line 938 - 'AtomItemsControl.js' */ var item = ce.current(); +/*Line 939 - 'AtomItemsControl.js' */ var f = added.filter(function (fx) { return item == fx; }); +/*Line 940 - 'AtomItemsControl.js' */ if (f.pop() != item) { +/*Line 941 - 'AtomItemsControl.js' */ dirty.push(item); +/*Line 942 - 'AtomItemsControl.js' */ } +/*Line 943 - 'AtomItemsControl.js' */ } +/*Line 944 - 'AtomItemsControl.js' */ ce = new AtomEnumerator(dirty); +/*Line 945 - 'AtomItemsControl.js' */ while (ce.next()) { +/*Line 946 - 'AtomItemsControl.js' */ var item = ce.current(); +/*Line 947 - 'AtomItemsControl.js' */ //self.dispose(item); +/*Line 948 - 'AtomItemsControl.js' */ if (item.atomControl) { +/*Line 949 - 'AtomItemsControl.js' */ item.atomControl.dispose(); +/*Line 950 - 'AtomItemsControl.js' */ } +/*Line 951 - 'AtomItemsControl.js' */ $(item).remove(); +/*Line 952 - 'AtomItemsControl.js' */ } + +/*Line 954 - 'AtomItemsControl.js' */ }); + + + +/*Line 958 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.start(); + +/*Line 960 - 'AtomItemsControl.js' */ AtomBinder.refreshValue(this, "childAtomControls"); + + +/*Line 963 - 'AtomItemsControl.js' */ }, + +/*Line 965 - 'AtomItemsControl.js' */ set_innerTemplate: function (v) { +/*Line 966 - 'AtomItemsControl.js' */ this._itemsPresenter = this._element; +/*Line 967 - 'AtomItemsControl.js' */ base.set_innerTemplate.apply(this, arguments); +/*Line 968 - 'AtomItemsControl.js' */ this.onCollectionChangedInternal("mode", -1, null); +/*Line 969 - 'AtomItemsControl.js' */ }, + +/*Line 971 - 'AtomItemsControl.js' */ applyItemStyle: function (item, dataItem, first, last) { +/*Line 972 - 'AtomItemsControl.js' */ }, + +/*Line 974 - 'AtomItemsControl.js' */ createChildElement: function (parentScope, parentElement, data, ae, before) { + +/*Line 976 - 'AtomItemsControl.js' */ var elementChild = AtomUI.cloneNode(this._itemTemplate); +/*Line 977 - 'AtomItemsControl.js' */ elementChild._logicalParent = parentElement || this._itemsPresenter; +/*Line 978 - 'AtomItemsControl.js' */ elementChild._templateParent = this; +/*Line 979 - 'AtomItemsControl.js' */ elementChild._isDirty = true; + +/*Line 981 - 'AtomItemsControl.js' */ if (parentElement) { +/*Line 982 - 'AtomItemsControl.js' */ WebAtoms.dispatcher.callLater(function () { +/*Line 983 - 'AtomItemsControl.js' */ if (before) { +/*Line 984 - 'AtomItemsControl.js' */ parentElement.insertBefore(elementChild, before); +/*Line 985 - 'AtomItemsControl.js' */ } else { +/*Line 986 - 'AtomItemsControl.js' */ parentElement.appendChild(elementChild); +/*Line 987 - 'AtomItemsControl.js' */ } +/*Line 988 - 'AtomItemsControl.js' */ }); +/*Line 989 - 'AtomItemsControl.js' */ } + +/*Line 991 - 'AtomItemsControl.js' */ var index = ae ? ae.currentIndex() : -1; +/*Line 992 - 'AtomItemsControl.js' */ var scope = null; + +/*Line 994 - 'AtomItemsControl.js' */ if (this._uiVirtualize) { +/*Line 995 - 'AtomItemsControl.js' */ var scopes = this._scopes || { +/*Line 996 - 'AtomItemsControl.js' */ }; +/*Line 997 - 'AtomItemsControl.js' */ this._scopes = scopes; + +/*Line 999 - 'AtomItemsControl.js' */ scope = scopes[index] || new AtomScope(this, parentScope, parentScope.__application); +/*Line 1000 - 'AtomItemsControl.js' */ scopes[index] = scope; +/*Line 1001 - 'AtomItemsControl.js' */ } else { +/*Line 1002 - 'AtomItemsControl.js' */ scope = new AtomScope(this, parentScope, parentScope.__application); +/*Line 1003 - 'AtomItemsControl.js' */ } + +/*Line 1005 - 'AtomItemsControl.js' */ if (ae) { +/*Line 1006 - 'AtomItemsControl.js' */ scope.itemIsFirst = ae.isFirst(); +/*Line 1007 - 'AtomItemsControl.js' */ scope.itemIsLast = ae.isLast(); +/*Line 1008 - 'AtomItemsControl.js' */ scope.itemIndex = index; +/*Line 1009 - 'AtomItemsControl.js' */ scope.itemExpanded = false; +/*Line 1010 - 'AtomItemsControl.js' */ scope.data = data; +/*Line 1011 - 'AtomItemsControl.js' */ scope.get_itemSelected = function () { +/*Line 1012 - 'AtomItemsControl.js' */ return scope.owner.isSelected(data); +/*Line 1013 - 'AtomItemsControl.js' */ }; +/*Line 1014 - 'AtomItemsControl.js' */ scope.set_itemSelected = function (v) { +/*Line 1015 - 'AtomItemsControl.js' */ scope.owner.toggleSelection(data, true); +/*Line 1016 - 'AtomItemsControl.js' */ }; +/*Line 1017 - 'AtomItemsControl.js' */ } + +/*Line 1019 - 'AtomItemsControl.js' */ var ac = AtomUI.createControl(elementChild, this._childItemType, data, scope); +/*Line 1020 - 'AtomItemsControl.js' */ return elementChild; +/*Line 1021 - 'AtomItemsControl.js' */ }, + +/*Line 1023 - 'AtomItemsControl.js' */ toggleSelection: function (data) { +/*Line 1024 - 'AtomItemsControl.js' */ this._onUIChanged = true; +/*Line 1025 - 'AtomItemsControl.js' */ this._value = undefined; +/*Line 1026 - 'AtomItemsControl.js' */ if (this._allowMultipleSelection) { +/*Line 1027 - 'AtomItemsControl.js' */ if (AtomUI.contains(this._selectedItems, data)) { +/*Line 1028 - 'AtomItemsControl.js' */ AtomBinder.removeItem(this._selectedItems, data); +/*Line 1029 - 'AtomItemsControl.js' */ } else { +/*Line 1030 - 'AtomItemsControl.js' */ AtomBinder.addItem(this._selectedItems, data); +/*Line 1031 - 'AtomItemsControl.js' */ } +/*Line 1032 - 'AtomItemsControl.js' */ } else { +/*Line 1033 - 'AtomItemsControl.js' */ this._selectedItems.length = 1; +/*Line 1034 - 'AtomItemsControl.js' */ this._selectedItems[0] = data; +/*Line 1035 - 'AtomItemsControl.js' */ AtomBinder.refreshItems(this._selectedItems); +/*Line 1036 - 'AtomItemsControl.js' */ } +/*Line 1037 - 'AtomItemsControl.js' */ this._onUIChanged = false; +/*Line 1038 - 'AtomItemsControl.js' */ }, + +/*Line 1040 - 'AtomItemsControl.js' */ onUpdateUI: function () { +/*Line 1041 - 'AtomItemsControl.js' */ base.onUpdateUI.call(this); + +/*Line 1043 - 'AtomItemsControl.js' */ if (this._uiVirtualize) { +/*Line 1044 - 'AtomItemsControl.js' */ this.onVirtualCollectionChanged(); +/*Line 1045 - 'AtomItemsControl.js' */ } + +/*Line 1047 - 'AtomItemsControl.js' */ var ae = new ChildEnumerator(this._itemsPresenter); +/*Line 1048 - 'AtomItemsControl.js' */ while (ae.next()) { +/*Line 1049 - 'AtomItemsControl.js' */ var item = ae.current(); +/*Line 1050 - 'AtomItemsControl.js' */ if (!item.atomControl) +/*Line 1051 - 'AtomItemsControl.js' */ continue; +/*Line 1052 - 'AtomItemsControl.js' */ var dataItem = item.atomControl.get_data(); +/*Line 1053 - 'AtomItemsControl.js' */ AtomBinder.refreshValue(item.atomControl.get_scope(), "itemSelected"); +/*Line 1054 - 'AtomItemsControl.js' */ this.applyItemStyle(item, dataItem, ae.isFirst(), ae.isLast()); +/*Line 1055 - 'AtomItemsControl.js' */ } +/*Line 1056 - 'AtomItemsControl.js' */ }, + +/*Line 1058 - 'AtomItemsControl.js' */ onCreated: function () { + + +/*Line 1061 - 'AtomItemsControl.js' */ if (this._items) { +/*Line 1062 - 'AtomItemsControl.js' */ this.onCollectionChangedInternal("refresh", -1, null); +/*Line 1063 - 'AtomItemsControl.js' */ } + +/*Line 1065 - 'AtomItemsControl.js' */ var caller = this; + +/*Line 1067 - 'AtomItemsControl.js' */ this.dispatcher.callLater(function () { +/*Line 1068 - 'AtomItemsControl.js' */ if (caller._autoScrollToSelection) { +/*Line 1069 - 'AtomItemsControl.js' */ caller.bringSelectionIntoView(); +/*Line 1070 - 'AtomItemsControl.js' */ } +/*Line 1071 - 'AtomItemsControl.js' */ }); + +/*Line 1073 - 'AtomItemsControl.js' */ }, + +/*Line 1075 - 'AtomItemsControl.js' */ dispose: function () { +/*Line 1076 - 'AtomItemsControl.js' */ this.resetVirtulContainer(); +/*Line 1077 - 'AtomItemsControl.js' */ base.dispose.call(this); +/*Line 1078 - 'AtomItemsControl.js' */ //this._selectedItems = null; +/*Line 1079 - 'AtomItemsControl.js' */ }, + + +/*Line 1082 - 'AtomItemsControl.js' */ init: function () { + +/*Line 1084 - 'AtomItemsControl.js' */ var element = this.get_element(); + + +/*Line 1087 - 'AtomItemsControl.js' */ // set self as Items Presenter.. +/*Line 1088 - 'AtomItemsControl.js' */ if (!this._itemsPresenter) { +/*Line 1089 - 'AtomItemsControl.js' */ this._itemsPresenter = this._element; +/*Line 1090 - 'AtomItemsControl.js' */ } +/*Line 1091 - 'AtomItemsControl.js' */ else { +/*Line 1092 - 'AtomItemsControl.js' */ //this._layout = WebAtoms.AtomViewBoxLayout.defaultInstnace; +/*Line 1093 - 'AtomItemsControl.js' */ } + +/*Line 1095 - 'AtomItemsControl.js' */ var _this = this; +/*Line 1096 - 'AtomItemsControl.js' */ this.bindEvent(this._selectedItems, "CollectionChanged", function () { +/*Line 1097 - 'AtomItemsControl.js' */ _this.onSelectedItemsChanged.apply(_this, arguments); +/*Line 1098 - 'AtomItemsControl.js' */ }); +/*Line 1099 - 'AtomItemsControl.js' */ base.init.apply(this, arguments); + + +/*Line 1102 - 'AtomItemsControl.js' */ var caller = this; + +/*Line 1104 - 'AtomItemsControl.js' */ this.removeItemCommand = function (scope, sender) { +/*Line 1105 - 'AtomItemsControl.js' */ if (!sender) +/*Line 1106 - 'AtomItemsControl.js' */ return; +/*Line 1107 - 'AtomItemsControl.js' */ var d = sender.get_data(); +/*Line 1108 - 'AtomItemsControl.js' */ AtomBinder.removeItem(caller._items, d); +/*Line 1109 - 'AtomItemsControl.js' */ }; + +/*Line 1111 - 'AtomItemsControl.js' */ this.removeSelectedCommand = function (scope, sender) { +/*Line 1112 - 'AtomItemsControl.js' */ var s = caller.get_selectedItems().slice(0); +/*Line 1113 - 'AtomItemsControl.js' */ var ae = new AtomEnumerator(s); +/*Line 1114 - 'AtomItemsControl.js' */ while (ae.next()) { +/*Line 1115 - 'AtomItemsControl.js' */ AtomBinder.removeItem(caller.get_items(), ae.current()); +/*Line 1116 - 'AtomItemsControl.js' */ } +/*Line 1117 - 'AtomItemsControl.js' */ }; + +/*Line 1119 - 'AtomItemsControl.js' */ this.removeAllCommand = function (scope, sender) { +/*Line 1120 - 'AtomItemsControl.js' */ AtomBinder.clear(caller.get_items()); +/*Line 1121 - 'AtomItemsControl.js' */ }; +/*Line 1122 - 'AtomItemsControl.js' */ } +/*Line 1123 - 'AtomItemsControl.js' */ } +/*Line 1124 - 'AtomItemsControl.js' */ }); +/*Line 1125 - 'AtomItemsControl.js' */})(WebAtoms.AtomControl.prototype); /*Line 0 - 'AtomButton.js' */ /*Line 2 - 'AtomButton.js' */(function (base) { @@ -8139,7 +8179,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 23 - 'AtomButton.js' */ vr.validate(); /*Line 24 - 'AtomButton.js' */ var errors = vr.get_errors(); /*Line 25 - 'AtomButton.js' */ if (errors.length) { -/*Line 26 - 'AtomButton.js' */ alert(Atom.mapJoin(errors, 'label')); +/*Line 26 - 'AtomButton.js' */ Atom.alert(Atom.mapJoin(errors, 'label')); /*Line 27 - 'AtomButton.js' */ return false; /*Line 28 - 'AtomButton.js' */ } /*Line 29 - 'AtomButton.js' */ } @@ -8147,7 +8187,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 31 - 'AtomButton.js' */ var errors = this.get_errors(); /*Line 32 - 'AtomButton.js' */ if (errors.length) { -/*Line 34 - 'AtomButton.js' */ alert(Atom.mapJoin(errors, 'label')); +/*Line 34 - 'AtomButton.js' */ Atom.alert(Atom.mapJoin(errors, 'label')); /*Line 36 - 'AtomButton.js' */ return false; /*Line 37 - 'AtomButton.js' */ } @@ -9170,7 +9210,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 45 - 'AtomPostButton.js' */ vr.validate(); /*Line 46 - 'AtomPostButton.js' */ var errors = vr.get_errors(); /*Line 47 - 'AtomPostButton.js' */ if (errors.length) { -/*Line 48 - 'AtomPostButton.js' */ alert(Atom.mapJoin(errors,'label')); +/*Line 48 - 'AtomPostButton.js' */ Atom.alert(Atom.mapJoin(errors,'label')); /*Line 49 - 'AtomPostButton.js' */ return false; /*Line 50 - 'AtomPostButton.js' */ } /*Line 51 - 'AtomPostButton.js' */ } @@ -9179,7 +9219,7 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 54 - 'AtomPostButton.js' */ var errors = this.get_errors(); /*Line 55 - 'AtomPostButton.js' */ if (errors.length) { -/*Line 57 - 'AtomPostButton.js' */ alert(Atom.mapJoin(errors, 'label')); +/*Line 57 - 'AtomPostButton.js' */ Atom.alert(Atom.mapJoin(errors, 'label')); /*Line 59 - 'AtomPostButton.js' */ return false; /*Line 60 - 'AtomPostButton.js' */ } @@ -9430,163 +9470,164 @@ this.setLocalValue('src', Atom.get(this,'templateParent.url'), e); /*Line 10 - 'AtomForm.js' */ this._attachments = null; /*Line 11 - 'AtomForm.js' */ }, /*Line 12 - 'AtomForm.js' */ properties: { -/*Line 13 - 'AtomForm.js' */ result: null, -/*Line 14 - 'AtomForm.js' */ errorNext: null, -/*Line 15 - 'AtomForm.js' */ mergeData: null, -/*Line 16 - 'AtomForm.js' */ mergeResult: true, -/*Line 17 - 'AtomForm.js' */ postUrl: null, -/*Line 18 - 'AtomForm.js' */ postData: null, -/*Line 19 - 'AtomForm.js' */ successMessage: null, -/*Line 20 - 'AtomForm.js' */ clearData: false, -/*Line 21 - 'AtomForm.js' */ errorTemplate: null -/*Line 22 - 'AtomForm.js' */ }, -/*Line 23 - 'AtomForm.js' */ methods: { -/*Line 24 - 'AtomForm.js' */ createFormLayout: function () { -/*Line 25 - 'AtomForm.js' */ }, - - -/*Line 28 - 'AtomForm.js' */ preparePostData: function () { - - -/*Line 31 - 'AtomForm.js' */ var element = this.get_element(); -/*Line 32 - 'AtomForm.js' */ var data = this._postData || this.get_data(); - -/*Line 34 - 'AtomForm.js' */ var m = this._mergeData; -/*Line 35 - 'AtomForm.js' */ if (m) { -/*Line 36 - 'AtomForm.js' */ for (var i in m) { -/*Line 37 - 'AtomForm.js' */ data[i] = m[i]; -/*Line 38 - 'AtomForm.js' */ } -/*Line 39 - 'AtomForm.js' */ } - -/*Line 41 - 'AtomForm.js' */ return data; -/*Line 42 - 'AtomForm.js' */ }, - -/*Line 44 - 'AtomForm.js' */ onSubmit: function () { - -/*Line 46 - 'AtomForm.js' */ //if (!this.isValid()) { -/*Line 47 - 'AtomForm.js' */ // return; -/*Line 48 - 'AtomForm.js' */ //} - -/*Line 50 - 'AtomForm.js' */ this.validate(); - -/*Line 52 - 'AtomForm.js' */ var errors = this.get_errors(); -/*Line 53 - 'AtomForm.js' */ if (errors.length) { -/*Line 54 - 'AtomForm.js' */ var labels = document.getElementsByTagName("label"); -/*Line 55 - 'AtomForm.js' */ this.invokeAction({ -/*Line 56 - 'AtomForm.js' */ localWindow: { -/*Line 57 - 'AtomForm.js' */ path: this.getTemplate("errorTemplate"), -/*Line 58 - 'AtomForm.js' */ prop: { -/*Line 59 - 'AtomForm.js' */ data: errors.map(function (i) { -/*Line 60 - 'AtomForm.js' */ var l = Atom.query(labels).firstOrDefault({ control: i.value }); -/*Line 61 - 'AtomForm.js' */ if (l) { -/*Line 62 - 'AtomForm.js' */ i.label = $(l).text() + " (" + i.label + ")"; -/*Line 63 - 'AtomForm.js' */ } -/*Line 64 - 'AtomForm.js' */ return i; -/*Line 65 - 'AtomForm.js' */ }), -/*Line 66 - 'AtomForm.js' */ title: "Form Errors" -/*Line 67 - 'AtomForm.js' */ } -/*Line 68 - 'AtomForm.js' */ } -/*Line 69 - 'AtomForm.js' */ }); -/*Line 70 - 'AtomForm.js' */ return; -/*Line 71 - 'AtomForm.js' */ } - -/*Line 73 - 'AtomForm.js' */ var data = this.preparePostData(); -/*Line 74 - 'AtomForm.js' */ var url = AtomPromise.getUrl(this._postUrl); -/*Line 75 - 'AtomForm.js' */ var p = AtomPromise.json(url, { _tv: Atom.time() }, { type: "POST", data: data }); -/*Line 76 - 'AtomForm.js' */ p.then(this._success); -/*Line 77 - 'AtomForm.js' */ var errorNext = this._errorNext; -/*Line 78 - 'AtomForm.js' */ if (errorNext) { -/*Line 79 - 'AtomForm.js' */ var self = this; -/*Line 80 - 'AtomForm.js' */ p.failed(function (pr) { -/*Line 81 - 'AtomForm.js' */ self.invokeAction(errorNext); -/*Line 82 - 'AtomForm.js' */ }); -/*Line 83 - 'AtomForm.js' */ } -/*Line 84 - 'AtomForm.js' */ p.invoke(); -/*Line 85 - 'AtomForm.js' */ }, - -/*Line 87 - 'AtomForm.js' */ onSuccess: function (p) { - -/*Line 89 - 'AtomForm.js' */ var result = p.value(); - -/*Line 91 - 'AtomForm.js' */ AtomBinder.setValue(this, "result", result); - -/*Line 93 - 'AtomForm.js' */ if (this._mergeResult) { -/*Line 94 - 'AtomForm.js' */ // merge... -/*Line 95 - 'AtomForm.js' */ // AtomBinder.setValue(this, "data", result); -/*Line 96 - 'AtomForm.js' */ var data = this.get_data(); -/*Line 97 - 'AtomForm.js' */ for (var index in result) { -/*Line 98 - 'AtomForm.js' */ AtomBinder.setValue(data, index, result[index]); -/*Line 99 - 'AtomForm.js' */ } -/*Line 100 - 'AtomForm.js' */ } - -/*Line 102 - 'AtomForm.js' */ if (this._clearData) { -/*Line 103 - 'AtomForm.js' */ var data = this.get_data(); -/*Line 104 - 'AtomForm.js' */ for (var index in this._clearData) { -/*Line 105 - 'AtomForm.js' */ AtomBinder.setValue(data, index, result[index]); -/*Line 106 - 'AtomForm.js' */ } -/*Line 107 - 'AtomForm.js' */ } - -/*Line 109 - 'AtomForm.js' */ if (this._successMessage) { -/*Line 110 - 'AtomForm.js' */ Atom.alert(this._successMessage); -/*Line 111 - 'AtomForm.js' */ } - -/*Line 113 - 'AtomForm.js' */ this.invokeAction(this._next); - -/*Line 115 - 'AtomForm.js' */ }, - -/*Line 117 - 'AtomForm.js' */ onKeyUp: function (e) { -/*Line 118 - 'AtomForm.js' */ if (e.target && e.target.nodeName && /textarea/gi.test(e.target.nodeName)) -/*Line 119 - 'AtomForm.js' */ return; -/*Line 120 - 'AtomForm.js' */ if (e.keyCode == 13) { -/*Line 121 - 'AtomForm.js' */ var self = this; -/*Line 122 - 'AtomForm.js' */ // fix for IE 11, IE 11 does not fire Change event on enter -/*Line 123 - 'AtomForm.js' */ if (/input/gi.test(e.target.nodeName)) { -/*Line 124 - 'AtomForm.js' */ $(e.target).change(); -/*Line 125 - 'AtomForm.js' */ } -/*Line 126 - 'AtomForm.js' */ WebAtoms.dispatcher.callLater(function () { -/*Line 127 - 'AtomForm.js' */ self.onSubmit(); -/*Line 128 - 'AtomForm.js' */ }); -/*Line 129 - 'AtomForm.js' */ } -/*Line 130 - 'AtomForm.js' */ }, - -/*Line 132 - 'AtomForm.js' */ init: function () { -/*Line 133 - 'AtomForm.js' */ baseType.init.call(this); - -/*Line 135 - 'AtomForm.js' */ var self = this; -/*Line 136 - 'AtomForm.js' */ this._success = function () { -/*Line 137 - 'AtomForm.js' */ self.onSuccess.apply(self, arguments); -/*Line 138 - 'AtomForm.js' */ }; - -/*Line 140 - 'AtomForm.js' */ this._submit = function () { -/*Line 141 - 'AtomForm.js' */ WebAtoms.dispatcher.callLater(function () { -/*Line 142 - 'AtomForm.js' */ self.onSubmit.apply(self, arguments); -/*Line 143 - 'AtomForm.js' */ }); -/*Line 144 - 'AtomForm.js' */ }; - -/*Line 146 - 'AtomForm.js' */ var element = this.get_element(); - -/*Line 148 - 'AtomForm.js' */ this.submitCommand = this._submit; - -/*Line 150 - 'AtomForm.js' */ if (/form/i.test(this._element.nodeName)) { -/*Line 151 - 'AtomForm.js' */ this.bindEvent(element, "submit", function (e) { -/*Line 152 - 'AtomForm.js' */ if (e) { e.preventDefault(); } -/*Line 153 - 'AtomForm.js' */ self.submitCommand(); -/*Line 154 - 'AtomForm.js' */ return false; -/*Line 155 - 'AtomForm.js' */ }); -/*Line 156 - 'AtomForm.js' */ }else{ -/*Line 157 - 'AtomForm.js' */ this.bindEvent(element, "keyup", "onKeyUp"); - -/*Line 159 - 'AtomForm.js' */ $(element).find("input[type=submit]").bind("click", null, this._submit); -/*Line 160 - 'AtomForm.js' */ $(element).find("button[type=submit]").bind("click", null, this._submit); -/*Line 161 - 'AtomForm.js' */ } - - - -/*Line 165 - 'AtomForm.js' */ } - -/*Line 167 - 'AtomForm.js' */ } -/*Line 168 - 'AtomForm.js' */ }); -/*Line 169 - 'AtomForm.js' */})(WebAtoms.AtomControl.prototype); +/*Line 13 - 'AtomForm.js' */ method: 'POST', +/*Line 14 - 'AtomForm.js' */ result: null, +/*Line 15 - 'AtomForm.js' */ errorNext: null, +/*Line 16 - 'AtomForm.js' */ mergeData: null, +/*Line 17 - 'AtomForm.js' */ mergeResult: true, +/*Line 18 - 'AtomForm.js' */ postUrl: null, +/*Line 19 - 'AtomForm.js' */ postData: null, +/*Line 20 - 'AtomForm.js' */ successMessage: null, +/*Line 21 - 'AtomForm.js' */ clearData: false, +/*Line 22 - 'AtomForm.js' */ errorTemplate: null +/*Line 23 - 'AtomForm.js' */ }, +/*Line 24 - 'AtomForm.js' */ methods: { +/*Line 25 - 'AtomForm.js' */ createFormLayout: function () { +/*Line 26 - 'AtomForm.js' */ }, + + +/*Line 29 - 'AtomForm.js' */ preparePostData: function () { + + +/*Line 32 - 'AtomForm.js' */ var element = this.get_element(); +/*Line 33 - 'AtomForm.js' */ var data = this._postData || this.get_data(); + +/*Line 35 - 'AtomForm.js' */ var m = this._mergeData; +/*Line 36 - 'AtomForm.js' */ if (m) { +/*Line 37 - 'AtomForm.js' */ for (var i in m) { +/*Line 38 - 'AtomForm.js' */ data[i] = m[i]; +/*Line 39 - 'AtomForm.js' */ } +/*Line 40 - 'AtomForm.js' */ } + +/*Line 42 - 'AtomForm.js' */ return data; +/*Line 43 - 'AtomForm.js' */ }, + +/*Line 45 - 'AtomForm.js' */ onSubmit: function () { + +/*Line 47 - 'AtomForm.js' */ //if (!this.isValid()) { +/*Line 48 - 'AtomForm.js' */ // return; +/*Line 49 - 'AtomForm.js' */ //} + +/*Line 51 - 'AtomForm.js' */ this.validate(); + +/*Line 53 - 'AtomForm.js' */ var errors = this.get_errors(); +/*Line 54 - 'AtomForm.js' */ if (errors.length) { +/*Line 55 - 'AtomForm.js' */ var labels = document.getElementsByTagName("label"); +/*Line 56 - 'AtomForm.js' */ this.invokeAction({ +/*Line 57 - 'AtomForm.js' */ localWindow: { +/*Line 58 - 'AtomForm.js' */ path: this.getTemplate("errorTemplate"), +/*Line 59 - 'AtomForm.js' */ prop: { +/*Line 60 - 'AtomForm.js' */ data: errors.map(function (i) { +/*Line 61 - 'AtomForm.js' */ var l = Atom.query(labels).firstOrDefault({ control: i.value }); +/*Line 62 - 'AtomForm.js' */ if (l) { +/*Line 63 - 'AtomForm.js' */ i.label = $(l).text() + " (" + i.label + ")"; +/*Line 64 - 'AtomForm.js' */ } +/*Line 65 - 'AtomForm.js' */ return i; +/*Line 66 - 'AtomForm.js' */ }), +/*Line 67 - 'AtomForm.js' */ title: "Form Errors" +/*Line 68 - 'AtomForm.js' */ } +/*Line 69 - 'AtomForm.js' */ } +/*Line 70 - 'AtomForm.js' */ }); +/*Line 71 - 'AtomForm.js' */ return; +/*Line 72 - 'AtomForm.js' */ } + +/*Line 74 - 'AtomForm.js' */ var data = this.preparePostData(); +/*Line 75 - 'AtomForm.js' */ var url = AtomPromise.getUrl(this._postUrl); +/*Line 76 - 'AtomForm.js' */ var p = AtomPromise.json(url, { _tv: Atom.time() }, { type: this.get_method(), data: data }); +/*Line 77 - 'AtomForm.js' */ p.then(this._success); +/*Line 78 - 'AtomForm.js' */ var errorNext = this._errorNext; +/*Line 79 - 'AtomForm.js' */ if (errorNext) { +/*Line 80 - 'AtomForm.js' */ var self = this; +/*Line 81 - 'AtomForm.js' */ p.failed(function (pr) { +/*Line 82 - 'AtomForm.js' */ self.invokeAction(errorNext); +/*Line 83 - 'AtomForm.js' */ }); +/*Line 84 - 'AtomForm.js' */ } +/*Line 85 - 'AtomForm.js' */ p.invoke(); +/*Line 86 - 'AtomForm.js' */ }, + +/*Line 88 - 'AtomForm.js' */ onSuccess: function (p) { + +/*Line 90 - 'AtomForm.js' */ var result = p.value(); + +/*Line 92 - 'AtomForm.js' */ AtomBinder.setValue(this, "result", result); + +/*Line 94 - 'AtomForm.js' */ if (this._mergeResult) { +/*Line 95 - 'AtomForm.js' */ // merge... +/*Line 96 - 'AtomForm.js' */ // AtomBinder.setValue(this, "data", result); +/*Line 97 - 'AtomForm.js' */ var data = this.get_data(); +/*Line 98 - 'AtomForm.js' */ for (var index in result) { +/*Line 99 - 'AtomForm.js' */ AtomBinder.setValue(data, index, result[index]); +/*Line 100 - 'AtomForm.js' */ } +/*Line 101 - 'AtomForm.js' */ } + +/*Line 103 - 'AtomForm.js' */ if (this._clearData) { +/*Line 104 - 'AtomForm.js' */ var data = this.get_data(); +/*Line 105 - 'AtomForm.js' */ for (var index in this._clearData) { +/*Line 106 - 'AtomForm.js' */ AtomBinder.setValue(data, index, result[index]); +/*Line 107 - 'AtomForm.js' */ } +/*Line 108 - 'AtomForm.js' */ } + +/*Line 110 - 'AtomForm.js' */ if (this._successMessage) { +/*Line 111 - 'AtomForm.js' */ Atom.alert(this._successMessage); +/*Line 112 - 'AtomForm.js' */ } + +/*Line 114 - 'AtomForm.js' */ this.invokeAction(this._next); + +/*Line 116 - 'AtomForm.js' */ }, + +/*Line 118 - 'AtomForm.js' */ onKeyUp: function (e) { +/*Line 119 - 'AtomForm.js' */ if (e.target && e.target.nodeName && /textarea/gi.test(e.target.nodeName)) +/*Line 120 - 'AtomForm.js' */ return; +/*Line 121 - 'AtomForm.js' */ if (e.keyCode == 13) { +/*Line 122 - 'AtomForm.js' */ var self = this; +/*Line 123 - 'AtomForm.js' */ // fix for IE 11, IE 11 does not fire Change event on enter +/*Line 124 - 'AtomForm.js' */ if (/input/gi.test(e.target.nodeName)) { +/*Line 125 - 'AtomForm.js' */ $(e.target).change(); +/*Line 126 - 'AtomForm.js' */ } +/*Line 127 - 'AtomForm.js' */ WebAtoms.dispatcher.callLater(function () { +/*Line 128 - 'AtomForm.js' */ self.onSubmit(); +/*Line 129 - 'AtomForm.js' */ }); +/*Line 130 - 'AtomForm.js' */ } +/*Line 131 - 'AtomForm.js' */ }, + +/*Line 133 - 'AtomForm.js' */ init: function () { +/*Line 134 - 'AtomForm.js' */ baseType.init.call(this); + +/*Line 136 - 'AtomForm.js' */ var self = this; +/*Line 137 - 'AtomForm.js' */ this._success = function () { +/*Line 138 - 'AtomForm.js' */ self.onSuccess.apply(self, arguments); +/*Line 139 - 'AtomForm.js' */ }; + +/*Line 141 - 'AtomForm.js' */ this._submit = function () { +/*Line 142 - 'AtomForm.js' */ WebAtoms.dispatcher.callLater(function () { +/*Line 143 - 'AtomForm.js' */ self.onSubmit.apply(self, arguments); +/*Line 144 - 'AtomForm.js' */ }); +/*Line 145 - 'AtomForm.js' */ }; + +/*Line 147 - 'AtomForm.js' */ var element = this.get_element(); + +/*Line 149 - 'AtomForm.js' */ this.submitCommand = this._submit; + +/*Line 151 - 'AtomForm.js' */ if (/form/i.test(this._element.nodeName)) { +/*Line 152 - 'AtomForm.js' */ this.bindEvent(element, "submit", function (e) { +/*Line 153 - 'AtomForm.js' */ if (e) { e.preventDefault(); } +/*Line 154 - 'AtomForm.js' */ self.submitCommand(); +/*Line 155 - 'AtomForm.js' */ return false; +/*Line 156 - 'AtomForm.js' */ }); +/*Line 157 - 'AtomForm.js' */ }else{ +/*Line 158 - 'AtomForm.js' */ this.bindEvent(element, "keyup", "onKeyUp"); + +/*Line 160 - 'AtomForm.js' */ $(element).find("input[type=submit]").bind("click", null, this._submit); +/*Line 161 - 'AtomForm.js' */ $(element).find("button[type=submit]").bind("click", null, this._submit); +/*Line 162 - 'AtomForm.js' */ } + + + +/*Line 166 - 'AtomForm.js' */ } + +/*Line 168 - 'AtomForm.js' */ } +/*Line 169 - 'AtomForm.js' */ }); +/*Line 170 - 'AtomForm.js' */})(WebAtoms.AtomControl.prototype); /*Line 0 - 'AtomFormLayout.js' */ diff --git a/atoms.min.js b/atoms.min.js index 0c08fb02..722dbebf 100644 --- a/atoms.min.js +++ b/atoms.min.js @@ -1,2 +1,2 @@ -function mapLibrary(n,t,i){var u=n.indexOf("."),r;return u==-1?(r=t[n],r||(r=i,t[n]=r),r):(r=mapLibrary(n.substr(0,u),t,{}),mapLibrary(n.substr(u+1),r,i))}function createProperty(n,t){return t?function(){return this[n]}:function(t){this[n]=t}}function classCreator(n,t,i,r,u){var o=t?t.constructor:null,s=i||function(){},h=u,e=null,c,f;if(o){e=u?function(){for(var t in h)this["_"+t]=h[t];o.apply(this,arguments);this.__typeName=n;s.apply(this,arguments)}:function(){o.apply(this,arguments);this.__typeName=n;s.apply(this,arguments)};c=o.prototype;for(f in c)r[f]||c.hasOwnProperty(f)&&(r[f]=c[f])}else e=u?function(){this.__typeName=n;for(var t in h)this["_"+t]=h[t];s.apply(this,arguments)}:function(){this.__typeName=n;s.apply(this,arguments)};if(u)for(f in u)r["get_"+f]||(r["get_"+f]=createProperty("_"+f,!0)),r["set_"+f]||(r["set_"+f]=createProperty("_"+f));return e.__typeName=n,o&&(e.__baseType=o),e.prototype=r,e.prototype.constructor=e,r.hasOwnProperty("toString")||(e.prototype.toString=function(){return n}),mapLibrary(/\./.test(n)?n:"WebAtoms."+n,window,e),e}function classCreatorEx(n){return classCreator(n.name,n.base,n.start,n.methods,n.properties)}window.createClass=classCreatorEx;window.classCreatorEx=classCreatorEx,function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof exports=="object"?n(require("jquery")):n(jQuery)}(function(n){var t=navigator.userAgent,u=/iphone/i.test(t),f=/chrome/i.test(t),i=/android/i.test(t),r;n.mask={definitions:{"9":"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},autoclear:!0,dataName:"rawMaskFn",placeholder:"_"};n.fn.extend({caret:function(n,t){var i;if(this.length!==0&&!this.is(":hidden"))return typeof n=="number"?(t=typeof t=="number"?t:n,this.each(function(){this.setSelectionRange?this.setSelectionRange(n,t):this.createTextRange&&(i=this.createTextRange(),i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",n),i.select())})):(this[0].setSelectionRange?(n=this[0].selectionStart,t=this[0].selectionEnd):document.selection&&document.selection.createRange&&(i=document.selection.createRange(),n=0-i.duplicate().moveStart("character",-1e5),t=n+i.text.length),{begin:n,end:t})},unmask:function(){return this.trigger("unmask")},mask:function(t,e){var y,l,o,c,h,a,s,p,v;return!t&&this.length>0?(y=n(this[0]),v=y.data(n.mask.dataName),v?v():undefined):(e=n.extend({autoclear:n.mask.autoclear,placeholder:n.mask.placeholder,completed:null},e),l=n.mask.definitions,o=[],c=s=t.length,h=null,n.each(t.split(""),function(n,t){t=="?"?(s--,c=n):l[t]?(o.push(new RegExp(l[t])),h===null&&(h=o.length-1),n=0&&!o[n]);return n}function it(n,t){var r,i;if(!(n<0)){for(r=n,i=b(t);r0&&!o[n.begin-1];)n.begin--;if(n.begin===0)while(n.beginr.length){g(t+1,s);break}}else y[t]===r.charAt(i)&&i++,t1&&(o=n[0],n=n[1]);setTimeout(function(){f.invokeAction(n)},o);return}if(this.set_merge(i),n=i.confirm,n){s="Are you sure?";n.hasOwnProperty("length")&&(n.length>1?(s=n[0],n=n[1]):n=n[0]);var f=this,h=n,c=t;r.confirm(s,function(){f.invokeAction(h,c)})}if(n=i.alert,n&&r.alert(n),n=i.next,n){this.invokeAction(n,t);return}n=i.control;n&&ft[n].refresh();n=i.window;n&&u.AtomWindow.openNewWindow({url:n,localScope:!1,opener:this,scope:this.get_scope()});n=i.localWindow;n&&u.AtomWindow.openNewWindow({url:n,localScope:!0,opener:this,scope:this.get_scope()})}}function wt(n,t){function i(n){this._handler=n;var i=this;this.invoke=function(){try{i._handler.apply(i,i.args)}catch(n){console&&console.log(n)}finally{i.timeout=0;i.pending=!1}};this.handler=function(){i.pending||(i.pending=!0,i.args=arguments,i.timeout&&clearTimeout(i.timeout),i.timeout=setTimeout(i.invoke,t||500))}}var r=new i(n);return r.handler}var i=n.$,h=n.document,k={jsonML:{}},u={},y,p,d,rt,w,ut,a,e,r,c,ct,lt,et,ot,f,g,nt,tt,t,s,at,ft,vt,it,st,b,yt,ht;n.WebAtoms=u;n.Templates=k;y=k.jsonML;y["WebAtoms.AtomAutoCompleteBox.template"]=[["input",{"data-atom-presenter":"selectionBox",disabled:"disabled",type:"text","data-atom-init":"t1"}],["input",{"data-atom-presenter":"inputBox",type:"text",autocomplete:"off",autocorrect:"off","data-atom-init":"t2"}],["div",{"data-atom-presenter":"itemsPresenter","class":"atom-list-box",style:"position: absolute; z-index: 100;","data-atom-init":"t3"},["div",{"data-atom-template":"itemTemplate",style:"min-width:100px;","data-atom-init":"t4"}]]];y["WebAtoms.AtomCalendar.itemTemplate"]=[["div",{"data-atom-template":"itemTemplate","data-atom-init":"t5"},["span",{"data-atom-init":"t6"}]]];y["WebAtoms.AtomCalendar.template"]=[["section",{"class":"calendar"},["header",{},["button",{"class":"prev","data-atom-init":"t7"}],["select",{"data-atom-type":"AtomComboBox","class":"month","data-atom-init":"t8"}],["select",{"data-atom-type":"AtomComboBox","class":"year","data-atom-init":"t9"}],["button",{"class":"next","data-atom-init":"t10"}]],["ul",{"class":"days"},["li",{"class":"weekend"},"S"],["li",{},"M"],["li",{},"T"],["li",{},"W"],["li",{},"T"],["li",{},"F"],["li",{"class":"weekend"},"S"]],["section",{"class":"day-list","data-atom-presenter":"itemsPresenter"},]]];y["WebAtoms.AtomCheckBoxList.itemTemplate"]=[["div",{"data-atom-template":"itemTemplate"},["input",{type:"checkbox","data-atom-init":"t13"}],["span",{"data-atom-init":"t14"}]]];y["WebAtoms.AtomDataPager.template"]=[["button",{"class":"atom-pager-first-button",style:"float:left","data-atom-init":"t15"},"First"],["span",{style:"text-align:left"},["button",{"class":"atom-pager-prev-button","data-atom-init":"t16"},"Prev"],["span",{},"Goto: Page"],["select",{"data-atom-type":"AtomComboBox","data-atom-init":"t17"},],["button",{"class":"atom-pager-next-button","data-atom-init":"t18"},"Next"]],["button",{"class":"atom-pager-last-button",style:"float:right","data-atom-init":"t19"},"Last"]];y["WebAtoms.AtomDateField.popupTemplate"]=[["div",{"class":"atom-date-popup","data-atom-init":"t20"},["div",{"class":"atom-date-list-box"},["div",{"class":"calendar","data-atom-presenter":"calendarPresenter"},["select",{"data-atom-type":"AtomComboBox","class":"month","data-atom-init":"t22"}],["select",{"data-atom-type":"AtomNumberComboBox","class":"year","data-atom-init":"t23"}],["div",{"class":"days"},["span",{"class":"weekend-header"},"S"],["span",{},"M"],["span",{},"T"],["span",{},"W"],["span",{},"T"],["span",{},"F"],["span",{"class":"weekend-header"},"S"]],["div",{"class":"day-list","data-atom-type":"AtomItemsControl","data-atom-presenter":"itemsPresenter","data-atom-init":"t24"},["div",{"data-atom-template":"itemTemplate","data-atom-init":"t25"},["span",{"data-atom-init":"t26"}]]]]]]];y["WebAtoms.AtomDateField.template"]=[["div",{"class":"date-label","data-atom-init":"t27"}]];y["WebAtoms.AtomDateListBox.template"]=[["div",{"class":"atom-date-list-box"},["div",{"class":"calendar"},["select",{"data-atom-type":"AtomComboBox","class":"month","data-atom-init":"t28"}],["select",{"data-atom-type":"AtomComboBox","class":"year","data-atom-init":"t29"}],["div",{"class":"days"},["span",{"class":"weekend-header"},"S"],["span",{},"M"],["span",{},"T"],["span",{},"W"],["span",{},"T"],["span",{},"F"],["span",{"class":"weekend-header"},"S"]],["div",{"class":"day-list","data-atom-presenter":"itemsPresenter"},["div",{"data-atom-template":"itemTemplate","data-atom-init":"t31"},["span",{"data-atom-init":"t32"}]]]],["div",{"class":"list","data-atom-type":"AtomListBox","data-atom-init":"t33"},["div",{"data-atom-template":"itemTemplate","data-atom-init":"t34"},]]]];y["WebAtoms.AtomItemsControl.itemTemplate"]=[["span",{"data-atom-init":"t35"},"Item"]];y["WebAtoms.AtomLinkBar.itemTemplate"]=[["li",{"data-atom-init":"t36"},["a",{"data-atom-init":"t37"},]]];y["WebAtoms.AtomLinkBar.menuTemplate"]=[["ul",{"class":"menu","data-atom-type":"AtomLinkBar","data-atom-init":"t38"},["li",{"data-atom-template":"itemTemplate"},["a",{"data-atom-init":"t40"}]]]];y["WebAtoms.AtomNavigatorList.detailTemplate"]=[["iframe",{"class":"atom-navigator-list-iframe","data-atom-template":"detailTemplate","data-atom-init":"t41"}]];y["WebAtoms.AtomNavigatorList.template"]=[["div",{"data-atom-type":"AtomViewStack","data-atom-init":"t42"},["div",{"data-atom-type":"AtomDockPanel","data-atom-presenter":"gridPanel"},["div",{"data-atom-dock":"Fill","data-atom-presenter":"gridPresenter","class":"atom-navigator-list-grid"},]],["div",{"data-atom-presenter":"detailView","data-atom-type":"AtomDockPanel","data-atom-init":"t45"},["div",{"data-atom-dock":"Top","data-atom-presenter":"detailHeaderToolbar"},["input",{type:"button",value:"Back",style:"float: left","data-atom-init":"t47"}]]],["div",{"data-atom-presenter":"newView","data-atom-type":"AtomDockPanel","data-atom-init":"t48"},["div",{"data-atom-dock":"Top","data-atom-presenter":"newHeaderToolbar"},["input",{type:"button",value:"Back",style:"float: left","data-atom-init":"t50"}]]]]];y["WebAtoms.AtomRadioButtonList.itemTemplate"]=[["span",{},["input",{type:"radio","data-atom-name":"{$owner.groupName}","data-atom-init":"t51"}],["span",{"data-atom-init":"t52"}]]];y["WebAtoms.AtomSortableColumn.template"]=[["span",{"data-atom-init":"t53"}]];y["WebAtoms.AtomTabControl.template"]=[["div",{"data-atom-type":"AtomDockPanel"},["ul",{"data-atom-dock":"Top","data-atom-type":"AtomToggleButtonBar","data-atom-init":"t55"},["li",{"data-atom-template":"itemTemplate","data-atom-init":"t56"}]],["div",{"data-atom-dock":"Fill","data-atom-type":"AtomViewStack","data-atom-presenter":"itemsPresenter","data-atom-init":"t57"},]]];y["WebAtoms.AtomTimeEditor.template"]=[["span",{},"Hour:"],["input",{type:"number",min:"0",max:"12","data-atom-init":"t58"}],["span",{},"Minute:"],["input",{type:"number",min:"0",max:"59","data-atom-init":"t59"}],["ul",{"data-atom-type":"AtomToggleButtonBar","data-atom-init":"t60"},["li",{"data-atom-template":"itemTemplate","data-atom-init":"t61"}]]];y["WebAtoms.AtomToggleButtonBar.itemTemplate"]=[["li",{"data-atom-init":"t62"},]];y["WebAtoms.AtomWizard.template"]=[["div",{"data-atom-dock":"Fill","data-atom-type":"AtomViewStack","data-atom-presenter":"viewPresenter","data-atom-init":"t63"},],["div",{"data-atom-dock":"Bottom","class":"atom-wizard-command-bar"},["button",{"class":"atom-wizard-back-button","data-atom-init":"t65"},["span",{"data-atom-init":"t66"}]],["button",{"class":"atom-wizard-next-button","data-atom-init":"t67"},["span",{"data-atom-init":"t68"}]]]];y["WebAtoms.AtomYesNoCustom.template"]=[["ul",{"data-atom-type":"AtomYesNoControl","data-atom-presenter":"yesNo","data-atom-init":"t69"}],["input",{style:"vertical-align:top",type:"text","data-atom-presenter":"input","data-atom-init":"t70"}]];y["WebAtoms.AtomApplication.busyTemplate"]=[["div",{style:"position:absolute;left:0px;top:0px;z-index:10000; display:none","data-atom-init":"t71"},["div",{"class":"atom-busy-window",style:"position:absolute","data-atom-init":"t72"},["div",{"class":"atom-busy-image","data-atom-init":"t73"}],["div",{"data-atom-init":"t74"}],["div",{style:"height:3px; background-color:green","data-atom-init":"t75"}]]]];y["WebAtoms.AtomForm.errorTemplate"]=[["section",{"data-atom-type":"AtomItemsControl",style:"overflow:auto","data-atom-init":"t76"},["div",{"data-atom-template":"itemTemplate"},["span",{"data-atom-init":"t78"}]]]];y["WebAtoms.AtomFormGridLayout.fieldTemplate"]=[["table",{"class":"atom-form-grid-row","data-atom-type":"AtomFormField","data-atom-init":"t79"},["tbody",{},["tr",{},["td",{"class":"atom-form-grid-label","data-atom-init":"t80"}],["td",{"class":"atom-form-grid-required","data-atom-init":"t81"},"*"],["td",{"class":"atom-form-grid-content","data-atom-presenter":"contentPresenter","data-atom-init":"t82"},],["td",{"data-atom-init":"t83"},]]]]];y["WebAtoms.AtomFormLayout.fieldTemplate"]=[["tr",{"data-atom-type":"AtomFormField"},["td",{"class":"atom-form-label","data-atom-init":"t85"},["label",{"data-atom-init":"t86"}]],["td",{"class":"atom-form-required","data-atom-init":"t87"},],["td",{"class":"atom-form-content","data-atom-presenter":"contentPresenter"},["span",{style:"background-color:red;color:white; display:inline-block;float:right","data-atom-init":"t89"}]]]];y["WebAtoms.AtomFormVerticalLayout.fieldTemplate"]=[["tr",{"data-atom-type":"AtomFormField"},["td",{},["div",{"class":"atom-field-header"},["span",{"class":"atom-form-label","data-atom-init":"t91"}],["span",{"class":"atom-form-required","data-atom-init":"t92"}]],["div",{"class":"atom-form-content","data-atom-presenter":"contentPresenter","data-atom-init":"t93"}],["div",{"class":"atom-form-error","data-atom-init":"t94"}]]]];y["WebAtoms.AtomWindow.alertTemplate"]=[["div",{"class":"atom-alert","data-atom-dock":"Fill"},["pre",{"data-atom-init":"t96"},],["div",{"class":"buttons","data-atom-init":"t97"},["button",{"class":"ok","data-atom-init":"t98"},"Ok"],["button",{"class":"yes","data-atom-init":"t99"},"Yes"],["button",{"class":"no","data-atom-init":"t100"},"No"]]]];y["WebAtoms.AtomWindow.frameTemplate"]=[["div",{"class":"atom-window-background","data-atom-init":"t101"},["div",{"class":"atom-window","data-atom-presenter":"windowDiv",style:"position:absolute","data-atom-type":"AtomDockPanel","data-atom-init":"t102"},["div",{"class":"atom-window-title","data-atom-dock":"Top","data-atom-presenter":"windowTitleDiv","data-atom-init":"t103"}],["div",{"class":"atom-window-close-button","data-atom-presenter":"windowCloseButton","data-atom-init":"t104"}]]]];y["WebAtoms.AtomWindow.windowTemplate"]=[["iframe",{"class":"atom-window-frame","data-atom-presenter":"iframe","data-atom-init":"t105"},]];u.PageSetup=u.PageSetup||{},function(){this.t1=function(n){this.bind(n,"styleDisplay",[["isPopupOpen"]],0,function(n){return n?"":"none"});this.bind(n,"value",["selectedText"])};this.t2=function(n){this.bind(n,"placeholder",["placeholder"]);this.bind(n,"value",["displayLabel"],!0,null,"keyup")};this.t3=function(n){this.bind(n,"styleLeft",[["offsetLeft"]],0,function(n){return n+2+"px"});this.bind(n,"styleTop",[["offsetTop"]],0,function(n){return n+24+"px"});this.bind(n,"styleDisplay",[["isPopupOpen"]],0,function(n){return n?"block":"none"})};this.t4=function(n){this.setLocalValue("text",r.get(this,"data")[r.get(this,"templateParent.labelPath")],n)};this.t5=function(n){this.bind(n,"class",[["data","isWeekEnd"],["data","isOtherMonth"],["data","isToday"],["scope","itemSelected"]],0,function(n,t,i,r){return{weekend:n,other:t,today:i,selected:r}})};this.t6=function(n){this.bind(n,"text",["data","label"])};this.t7=function(n){this.setLocalValue("eventClick",r.get(this,"prevMonthCommand"),n);b.text(n,"<")};this.t8=function(n){this.setLocalValue("items",c.monthList,n);this.bind(n,"value",["templateParent","month"],!0)};this.t9=function(n){this.bind(n,"items",[["value"],["templateParent","startYear"],["value"],["templateParent","endYear"]],0,function(n,t,i,u){return r.range(n+t,i+u)});this.bind(n,"value",["templateParent","year"],!0)};this.t10=function(n){this.setLocalValue("eventClick",r.get(this,"nextMonthCommand"),n);b.text(n,">")};this.t13=function(n){this.bind(n,"checked",["scope","itemSelected"],!0)};this.t14=function(n){this.setLocalValue("text",r.get(this,"data")[r.get(this,"templateParent.labelPath")],n)};this.t15=function(n){this.bind(n,"isEnabled",[["pages","length"],["currentPage"]],0,function(n,t){return n>1&&t});this.setLocalValue("eventClick",r.get(this,"goFirstCommand"),n)};this.t16=function(n){this.setLocalValue("eventClick",r.get(this,"goPrevCommand"),n);this.bind(n,"isEnabled",["currentPage"])};this.t17=function(n){this.bind(n,"items",["atomParent","pages"]);this.bind(n,"value",["atomParent","currentPage"],!0)};this.t18=function(n){this.setLocalValue("eventClick",r.get(this,"goNextCommand"),n);this.bind(n,"isEnabled",[["currentPage"],["pages","length"]],0,function(n,t){return n1&&t1?(f={path:n,prop:t,next:r},i&&(e=f.prop||{},e.data=i,f.prop=e)):f={prop:f,path:f.path,next:f.next,scope:f.scope},function(){u.AtomWindow.openNewWindow({url:f,scope:this.get_scope(),opener:this})}};p.localWindow=function(n,t,i,r){var f=n;return arguments.length>1&&(f={path:n,prop:t,next:r,scope:i}),function(){u.AtomWindow.openNewWindow({url:f,scope:this.get_scope(),localScope:!0,opener:this})}};p.reveal=function(){return function(){}},function(n){var i=function(n){this.a=n;this.i=-1},t,r,u;i.prototype={next:function(){return this.i++,this.i=":return function(n){return n>=r};case"<":return function(n){return n":return function(n){return n>r};case"between":return function(n){return n>=r[0]&&n<=r[1]};case"equals":return r=t.escapeRegex("^",r,"$","i"),function(n){return n?r.test(n):!r};case"contains":return r=t.escapeRegex("",r,"","i"),function(n){return n?r.test(n):!1};case"startswith":return r=t.escapeRegex("^",r,"","i"),function(n){return n?r.test(n):!r};case"endswith":return r=t.escapeRegex("",r,"$","i"),function(n){return n?r.test(n):!r};case"equals":return r=t.escapeRegex("^",r,"$"),function(n){return n?r.test(n):!r};case"containscs":return r=t.escapeRegex("",r,""),function(n){return n?r.test(n):!1};case"startswithcs":return r=t.escapeRegex("^",r,""),function(n){return n?r.test(n):!r};case"endswithcs":return r=t.escapeRegex("",r,"$"),function(n){return n?r.test(n):!r};case"~":return function(n){return r.test(n)};case"in":return function(n){var t,u;if(!n)return!1;for(t=new i(r);t.next();)if(u=t.current(),u==n)return!0;return!1};case"has":return function(n){var t,u;if(!n)return!1;for(t=new i(n);t.next();)if(u=t.current(),u==r)return!0;return!1};case"any":return u=t.filter(r),function(n){var t,r;if(!n)return!1;for(t=new i(n);t.next();)if(r=t.current(),u(r))return!0;return!1};case"all":return u=t.filter(r),function(n){if(!n)return!1;for(var t=new i(n);t.next();)if(!u(item))return!1;return!0};default:return function(){return!1}}},isString:function(n){return typeof n=="string"||n instanceof String},sort:function(n){if(!t.isString(n))return n;var i=n.split(",");return i=i.map(function(n){var t=n.split(" "),i=t[1]||"asc";return{field:t[0],desc:/desc/i.test(i),cs:/^cs/i.test(i)}}),function(n,r){var e,h;if(n==null||n==undefined)return r==null||r==undefined?0:1;if(r==null||r==undefined)return 1;for(e=0;e=4;this.isFF=!0;break;case"Chrome":this.supportsUpload=this.majorVersion>=6;this.isChrome=!0;break;case"Microsoft Internet Explorer":this.supportsUpload=this.majorVersion>=10;this.isIE=!0;break;case"Safari":this.isSafari=!0;this.isMobile||(this.supportsUpload=this.majorVersion>=5)}this.supportsFlash=!this.isMobile}};n.AtomBrowser=w;w.detect();w.init();ut={ecache:{},becache:{},parse:function(n){var t=this.becache[n];if(t)return t;var u=[],f=[],e=n.replace(/(?:(\$)(window|appScope|scope|data|owner|localScope|templateParent))(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*/gi,function(n){var t="v"+(u.length+1);return n=n.indexOf("$owner.")==0?n.substr(7):n.indexOf("owner.")==0?n.substr(6):n.substr(1),u.push(n.split(".")),f.push(t),t}),i="return "+e+";",o=i;try{i=ut.compile(f,i)}catch(s){r.alert("Error executing \n"+o+"\nOriginal: "+n);throw s;}return t={length:f.length,method:i,path:u,original:e},this.becache[n]=t,t},compile:function(n,t){var r=n.join("-")+":"+t,i=this.ecache[r];return i?i:(n.push("Atom"),n.push("AtomPromise"),n.push("$x"),i=new Function(n,t),this.ecache[r]=i,i)}};n.AtomEvaluator=ut;a=null;w.isIE&&w.majorVersion<9?(a=function(n){this.index=-1;this.nextItem=n.firstChild;this.findNext();this.item=null},a.prototype={findNext:function(){for(var n=this.nextItem;n&&n.nodeType!==1;)n=n.nextSibling;this.nextItem=n;this.index++},isFirst:function(){return this.index===1},isLast:function(){return this.item&&!this.nextItem},next:function(){return(this.item=this.nextItem,!this.item)?!1:(this.nextItem=this.item.nextSibling,this.findNext(),this.item?!0:!1)},current:function(){return this.item}},n.ChildEnumerator=a):(a=function(n){this.nextItem=n.firstElementChild;this.item=null;this.first=!0},a.prototype={isFirst:function(){return!this.item.previousElementSibling},isLast:function(){return this.item&&!this.nextItem},next:function(){return(this.item=this.nextItem,!this.item)?!1:(this.nextItem=this.item.nextElementSibling,this.item?!0:!1)},current:function(){return this.item}},n.ChildEnumerator=a);e=function(){return classCreator("AtomEnumerator",null,function(n){this._array=n;this.i=-1},{next:function(){return this.i=this.i+1,this.i9?t:"0"+t,r+="/"+(i>9?i:"0"+i),r+("/"+u)},toShortDateString:function(n){if(!n)return"";if(n.constructor==String)if(/^\/date\(/gi.test(n))n=n.substr(6),n=new Date(parseInt(n,10));else throw new Error("Invalid date format "+n);return this.m_names[n.getMonth()]+" "+n.getDate()+", "+n.getFullYear()},toDateTimeString:function(n){if(!n)return"";n.constructor==String&&(n=n.substr(6),n=new Date(parseInt(n,10)));var t=c.toShortDateString(n);return t+" - "+c.toTimeString(n)},toTimeString:function(n){var i,r,t;return(n=c.parse(n),!n)?"":(i=n.getHours(),r="AM",i==12?r="PM":i>12&&(i=i-12,r="PM"),t=n.getMinutes(),t<10?t="0"+t:(t=t+"",t.length==1&&(t=t+"0")),i+":"+t+" "+r)},smartDate:function(n){var t,i,r;if(!n)return null;if(t=c.parse(n),i=new Date,i.getFullYear()===t.getFullYear()&&i.getMonth()===t.getMonth()){r=i.getDate()-t.getDate();switch(r){case-1:return"Tomorrow ("+c.toTimeString(t)+")";case 0:return"Today ("+c.toTimeString(t)+")";case 1:return"Yesterday ("+c.toTimeString(t)+")"}}return c.toDateTimeString(t)},smartDateUTC:function(n){return c.smartDate(n)},jsonDate:function(n){var t=c.parse(n);return{Year:t.getFullYear(),Month:t.getMonth()+1,Date:t.getDate(),Hours:t.getHours(),Minutes:t.getMinutes(),Seconds:t.getSeconds(),Offset:c.zoneOffsetMinutes}},toUTC:function(n){if(!n)return"";n=c.parse(n);return new Date(n.getTime()+c.zoneOffset)},parse:function(n){var u;if(!n)return null;if(n.constructor!==String)return n;if(/^\/date\([\-0-9]+\)\//gi.test(n))n=new Date(parseInt(n.substr(6),10));else{if(/^\/dateiso/gi.test(n)){n=n.substr(9);n=n.substr(0,n.length-1);var r=n.split("T"),t=r[0],i=r[1];return t=t.split("-"),i=i.split(":"),u=new Date(t[0],parseInt(t[1])-1,t[2],i[0],i[1],parseFloat(i[2])),new Date(u.getTime()+c.zoneOffset)}n=Date.parse(n)}return n}};n.AtomDate=c;c.monthList=[{label:"January",value:1},{label:"February",value:2},{label:"March",value:3},{label:"April",value:4},{label:"May",value:5},{label:"June",value:6},{label:"July",value:7},{label:"August",value:8},{label:"September",value:9},{label:"October",value:10},{label:"November",value:11},{label:"December",value:12}];ct={toFileSize:function(n){return n?(n.constructor==String&&(n=parseInt(n,10)),n>1073741824)?Math.round(n/1073741824)+" GB":n>1048576?Math.round(n/1048576)+" MB":n>1024?Math.round(n/1024)+" KB":n+" B":""}};n.AtomFileSize=ct;lt={toSmallPhoneString:function(n){var t,i;if(!n)return"";t=n.split(":",6);i=t[2];i="("+(/^\+/.test(i)?"":"+")+t[2]+") ";var r=t[3],u=t[4],f=t[5];return r?i+r:""},toPhoneString:function(n){var i;if(!n)return"";var t=n.split(":",6),e="(+"+t[2]+") ",r=t[3],u=t[4],f=t[5];return r?(i=e+r,u&&(i+=" (ext: "+u+")"),f&&(i+=" ("+f+")"),i):""}};n.AtomPhone=lt;$f.get=r.get;$f.compileSelect=function(n){return n?n.constructor==String?function(t){return r.get(t,n)}:function(t){var f={},i,u;for(i in n)u=n[i],i=JSON.stringify(i),f[i]=u?r.get(t,u):r.get(t,i);return f}:function(n){return n}};et={firstOrDefault:function(n){for(var i=$f(n),t;this.next();)if(t=this.current(),i(t))return t;return null},first:function(n){for(var i=$f(n),t;this.next();)if(t=this.current(),i(t))return t;throw new Error("Item not found in collection");},where:function(n){for(var r=$f(n),i=[],t;this.next();)t=this.current(),r(t)&&i.push(t);return new e(i)},toArray:function(){for(var n=[];this.next();)n.push(this.current());return n},any:function(n){return this.firstOrDefault(n)?!0:!1},select:function(n){for(var r=$f.compileSelect(n),t=[],i;this.next();)i=this.current(),t.push(r(i));return new e(t)},join:function(n){for(var t=[];this.next();)t.push(this.current());return t.join(n)},count:function(n){if(n)return this.where(n).count();for(var t=0;this.next();)t++;return t},sum:function(n){for(var i=0,u=this,t;u.next();)t=u.current(),n&&(t=r.get(t,n)),i+=+(t||0);return i},groupBy:function(n){for(var s=$f.compileSelect(n),u=this,f={},e=[];u.next();){var o=u.current(),i=s(o),t=f[i];t||(t=[],f[i]=t,e.push({key:i,items:t}));t.push(o)}return r.query(e)}};n.AtomQuery=et;for(ot in et)e.prototype[ot]=et[ot];r.query=function(n){return n.length!==undefined?new e(n):n};f={nodeValue:w.isIE&&w.majorVersion<9?"nodeValue":"value",attributeMap:function(n,t){var r,i,u={},o=new e(n.attributes);if(t){while(o.next())r=o.current(),i=r.nodeName,/^data\-/i.test(i)&&(i=i.substr(5)),t.test(i)&&(t.lastIndex=0,u[i]={value:r[f.nodeValue],node:r});return u}while(o.next())r=o.current(),i=r.nodeName,/^data\-/i.test(i)&&(i=i.substr(5)),u[i]={value:r[f.nodeValue],node:r};return u},attr:function(n,t,i){if(i!==undefined)return/^(atom|style)\-/.test(t)&&(t="data-"+t),n.setAttribute(t,i),i;return n.getAttribute("data-"+t)||n.getAttribute(t)},removeAttr:function(n,t){n.removeAttribute(t);n.removeAttribute("data-"+t)},getAtomType:function(n){return f.attr(n,"atom-type")},cloneNode:w.isIE&&w.majorVersion<8?function(t){for(var s=n.document,r=s.createElement(t.nodeName),h=new e(t.attributes),u,c,o,i,l;h.next();){u=h.current();try{if(c=u.nodeName,o=u[f.nodeValue],!o)continue;r.setAttribute(c,o)}catch(a){}}for(i=t.firstChild;i;)i.nodeType==3?(l=s.createTextNode(i.nodeValue),r.appendChild(l)):i.nodeType==1&&r.appendChild(f.cloneNode(i)),i=i.nextSibling;return r}:function(n){return n.cloneNode(!0)},findPresenter:function(n){for(var r=new a(n),t,u,i;r.next();){if(t=r.current(),u=f.attr(t,"atom-presenter"),u)return t;if(i=f.findPresenter(t),i)return i}return null},parseUrl:function(n){for(var i={},o=n.split("&"),r=new e(o);r.next();){var u=r.current().split("="),s=u[0],t=u[1];t&&(t=decodeURIComponent(t));t=f.parseValue(t);i[s]=t}return i},parseValue:function(n){var t;return/^[0-9]+$/.test(n)?(t=parseInt(n,10),isNaN(t)||(n=t),n):/^[0-9]+\.[0-9]+/gi.test(n)?(t=parseFloat(n),isNaN(t)||(n=t),n):/true/.test(n)?!0:/false/.test(n)?!1:n},cancelEvent:function(n){var t=n.target;if(!t||!/input/gi.test(t.nodeName)||!/checkbox/gi.test(t.type))return n.preventDefault?n.preventDefault():n.stop(),n.returnValue=!1,n.stopPropagation(),!1},assignID:function(n){return n.id||(n.id="__waID"+f.getNewIndex()),n.id},atomParent:function(t){return t.atomControl?t.atomControl:t===h||t===n||!t.parentNode?null:f.atomParent(t._logicalParent||t.parentNode)},toNumber:function(n){return n?n.constructor==String?parseFloat(n):n:0},isNode:function(t){try{if(n.XMLHttpRequest&&t instanceof XMLHttpRequest)return!0}catch(i){}return t===n||t===h?!0:typeof Node=="object"?t instanceof Node:typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.nodeName=="string"},createDelegate:function(n,t){return this.getDelegate(n,t,!0)},getDelegate:function(n,t,i){var r,u,f;if(t&&t.constructor!=String)throw new Error("methodName has to be string");if(r=n.__delegates,!r){if(!i)return null;r={};n.__delegates=r}if(u=r[t],!u){if(!i)return null;if(f=n[t],!f)throw new Error("method "+t+" not found");u=function(){return f.apply(n,arguments)};r[t]=u}return u},__index:1e3,getNewIndex:function(){return this.__index=this.__index+1,this.__index},contains:function(n,t){for(var r=n.length,i=0,i=0;i1&&(e=t[0],h=t[1])));this.host=e;this.protocol=s;this.port=h;this.path=i;this.query=f.parseUrl(u);this.hash=f.parseUrl(o)};g={stack:[],startOrder:2e3,show:function(n,t,r,u){if(t.style.zOrder=this.startOrder++,r==0){var f=i(n).offset();t.style.position="absolute";t.style.left=f.left+"px";t.style.top=f.top+i(n).outerHeight(!0)+"px"}t.style.visibility="visible";this.stack.push({parent:n,element:t,removeHandler:u})},peek:function(){var n=null;return this.stack.length>0&&(n=this.stack[this.stack.length-1]),n},hide:function(n){var i=this.peek(),t;i&&i.element===n&&(n.style.visibility="hidden",t=this.stack.pop(),t.removeHandler&&t.removeHandler(t.element))},clicked:function(n){var i=n.target,t=g.peek();if(t){while(i&&i!=t.element&&i!=t.parent)i=i.parentNode;i!=t.element&&i!=t.parent&&(t.element.style.visibility="hidden",this.stack.pop(),t.removeHandler&&t.removeHandler(t.element))}}};n.AtomPopup=g;n.simulateParentClick=function(){var n=null,t;try{n=frameElement}catch(i){return}n&&parent&&(t=parent.$,t(frameElement).click(),n.simulateParentClick&&n.simulateParentClick())};i(n).click(function(t){g.clicked(t);n.simulateParentClick()});Array.prototype.enumerator=function(){return new e(this)};Array.prototype.indexOf||(Array.prototype.indexOf=function(n){for(var t=0,t=0;t "+i.map(r,function(n){return n.path}).join(".")),f},onValChanged:function(){var n=this;u.dispatcher.callLater(function(){n.onPropChanged(null,null)})},setup:function(){if(this.twoWays)if(this.jq){if(this.bindEvent(this.element,"change","onValChanged"),this.bindEvent(this.element,"blur","onValChanged"),this.events)for(var n=new e(this.events.split(","));n.next();)this.bindEvent(this.element,n.current(),"onValChanged")}else this.bindEvent(this.control,"WatchHandler","onPropChanged",this.key);this.onDataChanged(this,null)},setValue:function(n){!this.pathList&&this.vf&&(n=[n]);this.vf&&(n.push(r),n.push(s),n.push(p),n=this.vf.apply(this,n));n instanceof s&&(n._persist=!0);this._lastValue=n;this._isUpdating=!0;this.control.setLocalValue(this.key,n,this.element,!0);this._isUpdating=!1}}})}(u.AtomComponent.prototype);ft={};n.allControls=ft,function(t){return classCreator("WebAtoms.AtomDispatcher",t,function(){this._paused=!1;this.head=null;this.tail=null;this.onTimeout=function(){if(!this._paused&&this.head){var t=this.head;this.head=t.next;t.next=null;this.head||(this.tail=null);t();n.setTimeout(this._onTimeout,1)}};var t=this;this._onTimeout=function(){t.onTimeout()}},{pause:function(){this._paused=!0},start:function(){this._paused=!1;n.setTimeout(this._onTimeout,1)},callLater:function(n){this.tail?(this.tail.next=n,this.tail=n):(this.head=n,this.tail=n);this._paused||this.start()},setupControls:function(){var n=i("[data-atom-type],[atom-type]").first()[0],t,r,e;(n.atomControl==undefined||n.atomControl==null)&&(t=f.getAtomType(n),i(n).removeAttr("atom-type"),i(n).removeAttr("data-atom-type"),r=new u[t](n),r.setup(),e=this,this.callLater(function(){e.callLater(function(){var n=atomApplication._element;(n.style.visibility=="hidden"||i(n).css("visibility")=="hidden")&&(n.style.visibility="visible",n.atomControl.updateUI())})}))}})}();u.dispatcher=new u.AtomDispatcher;vt=function(){return createClass({name:"AtomValidator",start:function(n){this.value=n;this.list={};this.errors=[]},methods:{dispose:function(){this.value=null;this.errors=null;this.list=null},set:function(n,t){this.list[n]=t},reset:function(){this.errors=null;this.invoke(!0);this.refresh()},clear:function(){this.errors=[]},invoke:function(n){var t,r,u,f;if(this.refreshing||!n&&this.errors)return this.errors;if(t=[],u=this.list.invalid,u!==undefined)return u?(r=u(),r&&(i.isArray(r)?t=t.concat(r):t.push(r)),this.errors=t,t):(this.errors=t,t);for(f in this.list)(r=this.list[f],r)&&(r=r(),r&&(i.isArray(r)?t=t.concat(r):t.push(r)));return t.length?(this.errors=t,t):null},refresh:function(n){var i,r;if(!this.refreshing){this.refreshing=!0;try{n=n||this.value;i=n.atomControl;i&&t.refreshValue(i,"errors")}finally{this.refreshing=!1}r=n._logicalParent||n.parentNode;r&&this.refresh(r)}}}})}(n);n.errors={set:function(n,t,i){var r=n.atomValidator;r||(r=new vt(n),n.atomValidator=r);r.set(t,i)},clear:function(n,t){var r=n.atomValidator,i;if(r&&r.clear(),this.refresh(n),t)for(i=new a(n);i.next();)this.clear(i.current(),t)},get:function(n,t){var i=[],e=n.atomValidator,r,f,u;if(e&&(r=e.invoke(),r&&r.length&&(i=i.concat(r.filter(function(n){return n}).map(function(t){return{label:t,value:n}}))),i&&i.length))return i;if(t)for(f=new a(n);f.next();)u=this.get(f.current(),t),u&&u.length&&(i=i.concat(u));return i},refresh:function(n){var t=n.atomValidator;t&&t.refresh()},reset:function(n){var t=n.atomValidator;t&&t.reset()},validate:function(n){var i=n.atomValidator,t,r;if(i){i.reset();return}for(t=new a(n);t.next();)r=t.current(),this.validate(r)}};it=n.errors,function(t){return classCreator("WebAtoms.AtomUIComponent",t,function(){},{get_owner:function(){return this},get_appScope:function(){return appScope},get_scope:function(){if(this._scope===undefined){var n=this.get_atomParent(this._element._logicalParent||this._element.parentNode);return n?n._localScope||n.get_scope():appScope}return this._scope},get_localScope:function(){if(this._localScope===undefined){var n=this.get_atomParent(this._element._logicalParent||this._element.parentNode);if(n)return n.get_localScope();throw new Error("Local Scope does not exist");}return this._localScope},set_scope:function(t){var u=this._localScope||this.get_scope(),i,r;for(i in t){if(/^(application|owner|app|parent)$/gi.test(i))throw new Error("Invalid name for the scope property");(r=t[i],u!=n.appScope||n.atomApplication._ready||i.indexOf("_")!=0&&r!==undefined&&r!==null&&/string|number|boolean/i.test(typeof r)&&(atomApplication._defaultScope[i]=r),u[i]===undefined)&&(u[i]=r)}},get_name:function(){return this._name},getTemplate:function(n){var t=this["_"+n];return t!==undefined&&t!==null?t:(t=k.get(this.constructor,n),!t)?null:(this["_"+n]=t,t)}},{next:null,value:undefined})}(u.AtomComponent.prototype);k.compiled={};k.compileElement=function(n){var i=new e(n),t,r,u;if(i.next(),t=i.current(),r=h.createElement(t),!i.next())return r;if(t=i.current(),t)for(u in t)r.setAttribute(u,t[u]);while(i.next()){if(t=i.current(),!t)break;t.constructor==String?r.appendChild(h.createTextNode(t)):r.appendChild(k.compileElement(t))}return r};k.compileJsonML=function(n){if(n.length==1)return k.compileElement(n[0]);for(var t=[],i=new e(n);i.next();)t.push(k.compileElement(i.current()));return t};k.compile=function(n,t,r){var u=h.createElement("div");return u.innerHTML=r,i(u).children().length==1&&(r=f.cloneNode(u.firstElementChild||u.children[0])),r};k.get=function(n,t){var r=n.__typeName+"."+t,i=this.compiled[r];return i?i:(i=k.jsonML[r],i?i=k.compileJsonML(i):n.__baseType&&(i=k.get(n.__baseType,t)),!i)?null:(this.compiled[r]=i,i)};k.compileType=function(n){var r=n.__typeName,u=r.split("."),t,f,o,e,i;if(u=u[u.length-1],t=this.compiled[r],t)return t;if(t={},f=this[r]||this[u],f)for(i in f)t[i]=this.compile(n,i,f[i]);if(n.__baseType){o=this.compileType(n.__baseType);for(e in o)t[e]||(t[e]=o[e])}return this.compiled[r]=t,i=this,delete i[r],delete i[u],t};st={"{":function(n,i,u,f){var o,c,l,h;if(u=u.substr(1,u.length-2),o=ut.parse(u),o.path)for(c=new e(o.path),u=[];c.next();){for(l=new e(c.current()),h=n;l.next();)h=t.getValue(h,l.current());u.push(h)}else u=[u];u.push(r);u.push(s);u.push(p);u=o.method.apply(null,u);n.setLocalValue(i,u,f)},"[":function(n,i,r,u){r=r.substr(1,r.length-2);var f=ut.parse(r);f.length==0?(r=eval(r),t.setValue(n,i,r)):f.length==1&&f.path[0]==f.original?n.bind(u,i,r,!1):n.bind(u,i,f.path,!1,f.method)},"$[":function(n,t,i,r){var f=i.lastIndexOf("]"),u=null;f()\[\]\\.,;:\s@\"]+(\.[^<>()\[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,r="Invalid email"),i.test(n)?null:r};b.validate({control:this,element:n,value:t,key:"dataType",eventName:"change,blur",valueFunction:r,validator:u})},mask:function(n,t){t?t.constructor===String?i(n).mask(t):i(n).mask(t.mask,t.settings):i(n).unmask()},html:function(n,t){n.innerHTML=t},absPos:function(n,t){b.setPosition(!0,n,t)},relPos:function(n,t){b.setPosition(!1,n,t)},"class":function(n,t){n.atomClass&&i(n).removeClass(n.atomClass);t&&(t=f.createCss(t),t&&i(n).addClass(t),n.atomClass=t)},setPosition:function(n,t,i){var r=i,e,o,u,f;r.constructor==String&&(r=eval("["+r+"]"));t.style.position=n?"absolute":"relative";e=r[0];o=r[1];e!==null&&(t.style.left=e+"px");o!==null&&(t.style.top=o+"px");r.length>2&&(u=r[2],f=r[3],u!==undefined&&u!==null&&(t.style.width=u+"px"),f!==undefined&&f!==null&&(t.style.height=f+"px"))}};n.AtomProperties=b,function(o){return classCreatorEx({name:"WebAtoms.AtomControl",base:o,start:function(n){n.atomControl=this;this._element=n;this.dispatcher=u.dispatcher;this.bindings=[];this._isVisible=!0;var t=n.id;t&&appScope&&(/^\_\_waID/.test(t)||(appScope[t]=this));f.assignID(n);ft[t]=this},properties:{layout:null,loadNext:null,next:null,merge:undefined,value:undefined},methods:{set_merge:function(n){var t,i,f,u;if((this._mergeData2=null,n)&&(t=n.data,t&&(r.merge(this.get_data(),t,!0),this._mergeData2=t),t=n.scope,t&&r.merge(this.get_scope(),t,!0),t=n.appScope,t&&r.merge(this.get_appScope(),t,!0),t=n.localScope,t&&r.merge(this.get_localScope(),t,!0),t=n.owner,t&&r.merge(this,t,!0),i=n.timeOut||n.timeout,i)){f=this;u=100;i.hasOwnProperty("length")&&i.length>1&&(u=i[0],i=i[1]);setTimeout(function(){f.set_merge(i)},u);return}},invokeAction:function(n,t){try{pt.call(this,n,t)}catch(i){alert(i);console.error&&console.error(i)}},refresh:function(){},get_element:function(){return this._element},clearBinding:function(n,t){for(var i=new e(this.bindings),r,u=[];i.next();)(r=i.current(),n&&r.element!=n)||t&&r.key!=t||(r.dispose(),u.push(r));for(i=new e(u);i.next();)nt.remove(this.bindings,i.current())},addBinding:function(n,t,i,r,f,e,o,s){this.clearBinding(t,i);var h=new u.AtomBinding(n,t,i,r,f,e,o,s);this.bindings.push(h);h.setup()},get_errors:function(){return n.errors.get(this._element,!0)},get_atomParent:function(t){if(t==null)if(this._element._logicalParent||this._element.parentNode)t=this._element._logicalParent||this._element.parentNode;else return null;return t.atomControl?t.atomControl:t===h||t===n||!t.parentNode?null:this.get_atomParent(t._logicalParent||t.parentNode)},get_templateParent:function(n){if(n||(n=this._element),n._templateParent)return n._templateParent;var t=n._logicalParent||n.parentNode;if(!t)throw new Error("Could not find templateParent");return this.get_templateParent(n._logicalParent||n.parentNode)},get_data:function(){if(this._data===undefined){var n=this.get_atomParent(this._element._logicalParent||this._element.parentNode);if(n)return n.get_data()}return this._data},set_data:function(n){this._data=n;this.mergeData();this.updateChildBindings(this._element)},validate:function(){it.validate(this._element)},mergeData:function(){this._mergeData2&&r.merge(this.get_data(),this._mergeData2,!0)},updateChildBindings:function(n){for(var u=new a(n),i,r;u.next();){if(i=u.current(),i.atomControl&&i.atomControl._created){if(r=i.atomControl,r._data!==undefined)continue;t.refreshValue(r,"data");r.mergeData()}this.updateChildBindings(i)}},initProperties:function(){if(!this._disposed){var n=this.get_element();this.setProperties(n);this._created=!0;this.onCreated();this.onLoaded()}},createChildren:function(){var n,u,o,r,t;this.onCreateChildren(this._element);if(n=this.getTemplate("template"),n&&(u=new a(this._element),!u.next())){if(n.constructor==String)this._element.innerHTML=n,o=this,i(this._element).children().each(function(){this._templateParent=o});else if(f.isNode(n))n=f.cloneNode(n),n._templateParent=this,this._element.appendChild(n);else for(r=new e(n);r.next();)t=r.current(),t=f.cloneNode(t),t._templateParent=this,this._element.appendChild(t);this.onCreateChildren(this._element)}},onCreateChildren:function(n){for(var s=new a(n),t,i,r,u,e,h,o;s.next();){if(t=s.current(),i=f.attributeMap(t,/^atom\-(template|presenter|type|template\-name)$/gi),r=i["atom-template"],r){t.removeAttributeNode(r.node);n.templateOwner=!0;this["_"+r.value]=t;n.removeChild(t);continue}if(u=i["atom-template-name"],u){t.removeAttributeNode(u.node);this._scopeTemplates=this._scopeTemplates||{};this._scopeTemplates[u.value]=t;n.removeChild(t);continue}if(e=i["atom-presenter"],e&&(h=f.getPresenterOwner(this,e.value),h["_"+e.value]=t),o=i["atom-type"],o)f.createControl(t,o.value);else this.onCreateChildren(t)}},onLoaded:function(){},onUpdateUI:function(){this._layout?this._layout.doLayout(this._element):this.updateChildUI(this.get_element())},updateUI:function(){var n=this;this.dispatcher.callLater(function(){n.onUpdateUI()})},updateChildUI:function(n){var i,t;for(n||(n=this._element),i=new a(n);i.next();){if(t=i.current(),t.atomControl){t.atomControl.updateUI();continue}this.updateChildUI(t)}},onCreated:function(){this.updateUI()},setProperties:function(n){var t,o,r,b=n.attributes,f=new e(b),s=[],y="value",h,c,p,l,v;for(w.isIE&&w.majorVersion<9&&(y="nodeValue"),h={},c=null;f.next();){if(r=f.current(),t=r.nodeName,o=r[y],t==="data-atom-init"){c=o;s.push(r);continue}if(/^data\-atom/.test(t)&&(t=t.substr(5)),!/^atomControl$/g.test(t)){if(/^atom\-type$/.test(t)){s.push(r);continue}/^(atom|bind|style|event)\-/g.test(t)&&(/^(style|event)\-/g.test(t)||(t=t.substr(5)),o)&&(/(^style$|dock)/.test(t)||s.push(r),t=i.camelCase(t),h[t]=o)}}c&&(p=u.PageSetup[c],p.call(this,n));for(t in h)this.setValue(t,h[t],!0,n);for(f=new e(s);f.next();)n.removeAttributeNode(f.current());for(l=new a(n);l.next();)(v=l.current(),v.atomControl)||this.setProperties(v)},setValue:function(n,t,i,r){if(t&&t.constructor==String){var f=t[0],u=st[f];if(u){u(this,n,t,r);return}if(f+=t[1],u=st[f],u){u(this,n,t,r);return}}this.setLocalValue(n,t,r)},setLocalValue:function(n,i,r,u){var o,e,h,l,f,a,c;if(i!==undefined){if(i&&i instanceof s){r._promisesQueue=r._promisesQueue||{};o=r._promisesQueue[n];o&&o.abort();r._promisesQueue[n]=i;i._persist&&(this._promises=this._promises||{},this._promises[n]=i);e=this;i.then(function(t){r._promisesQueue[n]==t&&(r._promisesQueue[n]=null);r._promisesQueue[n]=null;e.setLocalValue(n,t.value(),r,!0);e._loadNext&&e.invokeAction(e._loadNext)});i.failed(function(t){r._promisesQueue[n]==t&&(r._promisesQueue[n]=null)});i.invoke();return}if(this._element==r&&(h=this["set_"+n],h!=null)){if(u&&(l=t.getValue(this,n),l==i))return;h.apply(this,[i]);u&&t.refreshValue(this,n);return}if(/^style/g.test(n)&&n.length>5){f=n.substr(5);f=String.fromCharCode(f.charCodeAt(0)).toLowerCase()+f.substr(1);r.style[f]=i;return}if(/^event/g.test(n)&&n.length>5){f=n.substr(5);f=String.fromCharCode(f.charCodeAt(0)).toLowerCase()+f.substr(1);a=this;this.unbindEvent(r,f);this.bindEvent(r,f,null,null,function(n){a.invokeAction(i,n)});return}c=b[n]||b.any;c&&c.call(this,r||this._element,i,n)}},bind:function(t,i,r,u,f,e){var s,c,o,h;if(r==null){this.clearBinding(t,i);return}s=this;r&&r.constructor==String&&/^window\./g.test(r)&&(s=n);c=this.get_element();o=c!=t;o||(h=this["get_"+i],(h==undefined||h==null)&&(o=!0));switch(i){case"value":/input/gi.test(t.nodeName)&&(o=!0);this.addBinding(s,t,"value",r,u,o,f,e);break;case"text":this.addBinding(s,t,"text",r,!1,!0,f,e);break;default:this.addBinding(s,t,i,r,u,o,f,e)}},onInitialized:function(){},init:function(){var l,e,r,s,a,h;o.init.apply(this,arguments);var i=this.get_element(),c=f.attributeMap(i,/^atom\-(name|local\-scope)$/gi),n=c["atom-name"];if(n?(i.removeAttributeNode(n.node),n=n.value):(l=i.id,/^\_\_waID/.test(l)||(n=i.id)),n){if(/^(app|window|owner|scope|localScope|parent)$/gi.test(n))throw new Error("Invalid Control Name '"+n+"'");r=this.get_scope();t.setValue(r,n,this);this._name=n}if(ls=c["atom-local-scope"],ls&&(this._localScope=new tt(this,this.get_scope(),atomApplication),this._scope=this._localScope,this._name&&(this._localScope[this._name]=this),i.removeAttributeNode(ls.node)),e=this._scopeTemplates,e){r=this.get_scope();for(s in e)a=e[s],t.setValue(r,s,a)}h=this;u.dispatcher.callLater(function(){h.initProperties()});this.initChildren(this._element);u.dispatcher.callLater(function(){h.onInitialized()})},dispose:function(n){var t,r;if(n){t=n.atomControl;t?t.dispose():(this.clearBinding(n),this.disposeChildren(n));i(n).remove();return}n=this._element;this._disposed=!0;this.disposeChildren(n);this.clearBinding();this.bindings.length=0;r=n.atomValidator;r&&(r.dispose(),n.atomValidator=undefined);o.dispose.apply(this,arguments)},disposeChildren:function(n){for(var u=w.isIE&&w.majorVersion<9,r=new a(n),t;r.next();)t=r.current(),t.atomControl?(t.atomControl.dispose(),u?t.atomControl=undefined:delete t.atomControl):(this.clearBinding(t),this.unbindEvent(t),this.disposeChildren(t));try{n.innerHTML=""}catch(f){i(n).html("")}},get_innerTemplate:function(){return this._template},set_innerTemplate:function(n){if(this._template!==n||!this._created){if(!this._created){var t=this;u.dispatcher.callLater(function(){t.set_innerTemplate(n)});return}this._template=n;this.disposeChildren(this._element);this.createChildren();this.setProperties(this._element);this.initChildren(this._element);this.updateUI()}},initChildren:function(n){for(var u=new a(n),t,f,o=[],r;u.next();){if(t=u.current(),t.nodeName=="SCRIPT"){if(r=i.trim(t.innerHTML),/^\(\{/.test(r)&&/\}\)$/.test(r))try{r=new Function("return "+r+";")();this.set_scope(r)}catch(s){rt(JSON.stringify(s));alert(JSON.stringify(s))}o.push(t);continue}f=t.atomControl;f?f.init():this.initChildren(t)}for(u=new e(o);u.next();)n.removeChild(u.current())}}})}(u.AtomUIComponent.prototype),function(o){return classCreatorEx({name:"WebAtoms.AtomItemsControl",base:o,start:function(){this._selectedItems=[];this._selectedElements=[];this._selectedIndexSet=!1;this._onUIChanged=!1;this._itemsPresenter=null;this._itemsPanel=null;this._presenters=["itemsPresenter"];this._childItemType=u.AtomControl},properties:{allowSelectFirst:!1,allowMultipleSelection:!1,uiVirtualize:!1,defaultValue:null,autoScrollToSelection:!1,selectAll:undefined,labelPath:"label",valuePath:"value",sortPath:null,valueSeparator:null,postData:null,errorNext:null,postUrl:null,confirm:!1,confirmMessage:null,filter:null,items:null,itemTemplate:null},methods:{get_postData:function(){return this._postData||this.get_selectedItem()},get_allValues:function(){if(this._valueSeparator&&this._valuePath){for(var n=[],i=this._valuePath,u=function(n){return n[i]},t=r.query(this.get_dataItems());t.next();)n.push(u(t.current()));return n.join(this._valueSeparator)}},get_value:function(){var n,t;return this._allowMultipleSelection?(n=this._selectedItems,n.length==0)?this._value!==undefined?this._value:null:(n=nt.getValues(n,this._valuePath),this._valueSeparator&&(n=n.join(this._valueSeparator)),n):(t=this.get_selectedItem(),!t)?this._value!==undefined?this._value:null:(this._valuePath&&(t=t[this._valuePath]),t)},set_value:function(n){var r,u,i;if(this._value=n,n===undefined||n===null){t.clear(this._selectedItems);return}for(r=this.get_dataItems(),this._allowMultipleSelection&&this._valueSeparator?(n.constructor!=String&&(n=""+n),n=nt.split(n,this._valueSeparator)):n=[n],u=nt.intersect(r,this._valuePath,n),this._selectedItems.length=0,i=new e(u);i.next();)this._selectedItems.push(i.current());t.refreshItems(this._selectedItems)},set_sortPath:function(n){if(this._sortPath=n,n)this.onCollectionChangedInternal("refresh",-1,null)},set_selectAll:function(n){var i,r;if(n!==undefined&&n!==null){if(this._selectedItems.length=0,i=this.get_dataItems(),n&&i)for(r=new e(i);r.next();)this._selectedItems.push(r.current());this._selectAll=!0;t.refreshItems(this._selectedItems)}},refresh:function(){this._promises&&this._promises.items&&this._promises.items.invoke()},set_defaultValue:function(n){this.get_value()||t.setValue(this,"value",n)},invokePost:function(){var r,n,u,i,f;if(this._onUIChanged){if(r=this.get_errors(),r.length)return alert(r.join("\n")),!1;if(!this._confirm||confirm(this._confirmMessage)){if(!this._postUrl){this.invokeAction(this._next);return}(n=this.get_postData(),n!==null&&n!==undefined)&&(n=t.getClone(n),u=this,i=s.json(this._postUrl,null,{type:"POST",data:n}),i.then(function(){u.invokeNext()}),f=this._errorNext,f&&i.failed(function(){u.invokeAction(f)}),i.invoke())}}},invokeNext:function(){this.invokeAction(this._next)},set_filter:function(n){if(n!=this._filter&&(this._filter=n,this._filteredItems=null,this.hasItems()))this.onCollectionChangedInternal("refresh",-1,null)},isSelected:function(n){for(var t=new e(this._selectedItems),i=null;t.next();)if(i=t.current(),i==n)return!0;return!1},get_dataItems:function(){var t=this._items,u,f,o,s,h,c;if(this.hasItems()){if(u=this._filter,u){if(f=[],typeof u=="object")f=r.query(t).where(u).toArray();else for(o=new e(t);o.next();)s=o.current(),u(s,o.currentIndex())&&f.push(s);this._filteredItems=f;t=f}return h=this._sortPath,h&&(c=n.AtomFilter.sort(h),t=t.sort(c)),t}return i(this._itemsPresenter).children()},getIndexOfDataItem:function(n){if(n==null)return-1;for(var i=this.get_dataItems(),t=new e(i);t.next();)if(t.current()==n)return t.currentIndex();return-1},getDataItemAtIndex:function(n){return n==-1?null:this.get_dataItems()[n]},get_childAtomControls:function(){for(var r=this._itemsPresenter||this._element,t=[],i=new a(r),n;i.next();)(n=i.current(),n=!n||n.atomControl,n)&&t.push(n);return t},get_selectedChild:function(){var i=this.get_selectedItem(),n,t;if(!this.hasItems())return i;for(n=new a(this._itemsPresenter);n.next();)if(t=n.current(),t.atomControl.get_data()==i)return t;return null},set_allowSelectFirst:function(n){n=n?n!="false":n;this._allowSelectFirst=n},get_selectedItem:function(){return this._selectedItems.length>0?this._selectedItems[0]:null},set_selectedItem:function(n){n?(this._selectedItems.length=1,this._selectedItems[0]=n):this._selectedItems.length=0;t.refreshItems(this._selectedItems)},get_selectedItems:function(){return this._selectedItems},set_selectedItems:function(){throw new Error("Not yet implemented");},get_selectedIndex:function(){var n=this.get_selectedItem();return this.getIndexOfDataItem(n)},set_selectedIndex:function(n){t.setValue(this,"selectedItem",this.getDataItemAtIndex(n))},updateChildSelections:function(){},bringSelectionIntoView:function(){var r,u,t,n,o;if(!this._allowSelectFirst||this.get_selectedIndex()!=0){if(this._uiVirtualize){if(r=this.get_selectedIndex(),!this._ready){u=this;setTimeout(function(){u.bringSelectionIntoView()},1e3);return}var s=this._avgHeight,f=i(this._virtualContainer),e=f.innerHeight(),h=Math.ceil(e/s),c=h*this._columns,l=Math.floor(r/c);f.scrollTop(l*e);return}for(t=new a(this._itemsPresenter);t.next();)if(n=t.current(),o=n.atomControl?n.atomControl.get_data():n,this.isSelected(o)){n.scrollIntoView();return}}},updateSelectionBindings:function(){t.refreshValue(this,"value");t.refreshValue(this,"selectedItem");t.refreshValue(this,"selectedItems");t.refreshValue(this,"selectedIndex");this._selectedItems.length||this._selectAll===!0&&(this._selectAll=!1,t.refreshValue(this,"selectAll"))},onSelectedItemsChanged:function(n,t,i){this._onUIChanged||(this.updateChildSelections(n,t,i),this._autoScrollToSelection&&this.bringSelectionIntoView());this.updateSelectionBindings();this.updateUI();this.invokePost()},hasItems:function(){return this._items!=undefined&&this._items!=null},get_items:function(){return this._items},set_items:function(n){var t=this;if(this._items&&this.unbindEvent(this._items,"CollectionChanged",null),this._items=n,this._filteredItems=null,n!=null){this.bindEvent(this._items,"CollectionChanged",function(){t.onCollectionChangedInternal.apply(t,arguments)});this.onCollectionChangedInternal("refresh",-1,null)}},set_itemTemplate:function(n){this._itemTemplate=n;this.onCollectionChangedInternal("refresh",-1,null)},onCollectionChangedInternal:function(n,i,u){if(this._created){r.refresh(this,"allValues");var f=this.get_value();if(this.hasItems()){this.onCollectionChanged(n,i,u);f||this._allowSelectFirst||t.clear(this._selectedItems)}if(f!=null){if(this.set_value(f),this.get_selectedIndex()!=-1)return;this._value=undefined}this.selectDefault()}},selectDefault:function(){if(this._allowSelectFirst&&this.get_dataItems().length>0){this.set_selectedIndex(0);return}this.updateSelectionBindings()},onScroll:function(){this.scrollTimeout&&clearTimeout(this.scrollTimeout);var n=this;this.scrollTimeout=setTimeout(function(){n.scrollTimeout=0;n.onVirtualCollectionChanged()},10)},validateScroller:function(){var e,o,s,t,r;if(!this._scrollerSetup){var n=this._itemsPresenter,f=this._element,u=this._virtualContainer;if(!u)if(n==f||/table/i.test(f.nodeName))throw new Error("virtualContainer presenter not found, you must put itemsPresenter inside a virtualContainer in order for Virtualization to work");else u=this._virtualContainer=this._element;e=i(u);e.css({overflow:"auto"});this.bindEvent(u,"scroll","onScroll");o=i(n);o.css({overflow:"hidden"});s=/tbody/i.test(n.nodeName);s?(t=h.createElement("TR"),r=h.createElement("TR")):(t=h.createElement("DIV"),r=h.createElement("DIV"));i(t).addClass("sticky first-child").css({posiiton:"relative",height:0,width:"100%",clear:"both"});i(r).addClass("sticky last-child").css({posiiton:"relative",height:0,width:"100%",clear:"both"});this._firstChild=t;this._lastChild=r;n.appendChild(t);n.appendChild(r);this._training=!0;this._scrollerSetup=!0}},postVirtualCollectionChanged:function(){var n=this;u.dispatcher.callLater(function(){n.onVirtualCollectionChanged()})},resetVirtualContainer:function(){this._itemsPresenter&&this.disposeChildren(this._itemsPresenter);this._firstChild=null;this._lastChild=null;this._scrollerSetup=!1;this._scopes=null;this.unbindEvent(this._virtualContainer,"scroll")},onVirtualCollectionChanged:function(){var g=this._itemsPresenter,a=this.get_dataItems(),c,o,f,b,r,pt,et,k,d,wt,n,l,st;if(!a.length){this.resetVirtualContainer();return}this.validateScroller();var dt=i(g),v=this._firstChild,h=this._lastChild,nt=i(v),tt=i(h),y=this._virtualContainer,ht=i(y),s=ht.innerHeight(),gt=y.scrollHeight;if(isNaN(s)||s<=0||gt<=0){b=this;setTimeout(function(){b.onVirtualCollectionChanged()},1e3);return}var ni=ht.innerWidth(),p=this._avgHeight,it=this._avgWidth,ti=y.scrollHeight-nt.outerHeight()-tt.outerHeight(),fi=dt.innerWidth(),ct=this.get_scope(),ii=this._element,n=new e(a);if(this._training){if(s>=ti/3){if(r=h.previousElementSibling,c=0,r!=v)for(o=r.atomControl.get_data();n.next();)if(n.current()==o)break;n.next()&&(o=n.current(),f=this.createChildElement(ct,null,o,n),g.insertBefore(f,h),this.applyItemStyle(f,o,n.isFirst(),n.isLast()),this.postVirtualCollectionChanged())}else{for(var w=0,r=v.nextElementSibling,lt=0,at=0;r!=h;)w++,lt+=i(r).outerHeight(!0),at+=i(r).outerWidth(!0),r=r.nextElementSibling;p=lt/w;it=at/w;w--;this._avgHeight=p;this._avgWidth=it;var rt=Math.floor(ni/it),vt=Math.ceil(a.length/rt),ri=Math.ceil(w/rt);this._allRows=vt;this._columns=rt;tt.css({height:(vt-ri+1)*p+"px"});this._training=!1;this._ready=!0;this.postVirtualCollectionChanged()}return}if(b=this,!this._isChanging){this._isChanging=!0;var yt=Math.floor(s/p),ut=yt*this._columns,c=Math.max(0,Math.floor(y.scrollTop/s)-1),ft=c*ut;if(console.log("First block index is "+c+" item index is "+c*ut),ft>=a.length){this._isChanging=!1;return}if(r=v.nextElementSibling,r!=h&&(pt=r.atomControl.get_scope().itemIndex,pt==ft)){console.log("No need to create any item");this._isChanging=!1;return}for(et=[],k={};r!=h;)d=r,r=r.nextElementSibling,wt=d.atomControl.get_scope().itemIndex,k[wt]=d,et.push(d);for(u.dispatcher.pause(),n=new e(a),l=0;l0&&this.refreshLabel();r.onSelectedItemsChanged.apply(this,arguments)},onClick:function(){r.onClick.apply(this,arguments);this._backupValue=this.get_value();this.refreshLabel();this._backupLabel=this.get_displayLabel();t.setValue(this,"keyPressed",!1);t.setValue(this,"isPopupOpen",!1)},restoreSelection:function(){t.setValue(this,"isPopupOpen",!1);this._backupValue?(t.setValue(this,"value",this._backupValue),t.setValue(this,"displayLabel",this._backupLabel),this._backupValue=null):t.setValue(this,"selectedIndex",-1)},onKeyUp:function(n){var i,r;t.setValue(this,"isPopupOpen",!0);switch(n.keyCode){case 27:t.setValue(this,"keyPressed",!1);this.restoreSelection();return;case 13:return t.setValue(this,"keyPressed",!1),t.setValue(this,"isPopupOpen",!1),this._backupValue=this.get_value(),this.refreshLabel(),this._backupLabel=this.get_displayLabel(),f.cancelEvent(n);case 37:break;case 38:t.setValue(this,"keyPressed",!1);this.moveSelection(!0);return;case 39:break;case 40:t.setValue(this,"keyPressed",!1);this.moveSelection(!1);return;default:i=this;this.dispatcher.callLater(function(){i.trySelect()})}this.oldTimeout&&clearTimeout(this.oldTimeout);r=this;this.oldTimeout=setTimeout(function(){t.setValue(r,"keyPressed",!0)},500)},trySelect:function(){var r,n;if(this._items&&this._items.length!=0){var u=new e(this._items),f=this._labelPath,i=this._displayLabel;for(i&&(i=i.toLowerCase());u.next();)if(r=u.current(),n=r,f&&(n=n[f]),n.toLowerCase().indexOf(i)==0){t.setValue(this,"selectedItem",r);t.setValue(this,"selectedText",n);this.bringSelectionIntoView();return}}},moveSelection:function(n){if(this._items&&this._items.length){var i=this.get_selectedIndex();i==-1&&(this.backupLabel=this.get_displayLabel());i=n?i-1:i+1;n&&i==-2&&(i=this._items.length-1);n||i!=this._items.length||(i=-1);t.setValue(this,"selectedIndex",i);i==-1?t.setValue(this,"displayLabel",this.backupLabel||""):this.refreshLabel()}},refreshLabel:function(){var i=this.get_selectedItem(),n=i;n&&this._labelPath&&(n=n[this._labelPath]);t.setValue(this,"displayLabel",n||"")},onWindowClick:function(n){for(var i=this._element,r=this._itemsPresenter,t=n.target;t.parentNode!=null&&t!=i&&t!=r;)t=t.parentNode;t!=i&&t!=r&&this.restoreSelection()},onInputFocus:function(){this._autoOpen&&(this._backupValue=this.get_value(),this._backupLabel=this.get_displayLabel(),t.setValue(this,"isPopupOpen",!0),i(this._inputBox).select())},onInputBlur:function(){if(!this._mouseCapture){var n=this;setTimeout(function(){n._isPopupOpen&&(t.setValue(n,"isPopupOpen",!1),n.restoreSelection())},10)}},onCreated:function(){this._itemsPresenter._logicalParent=this._element;i(this._itemsPresenter).remove();h.body.appendChild(this._itemsPresenter);i(this._itemsPresenter).addClass("auto-complete-popup");r.onCreated.apply(this,arguments);this.bindEvent(this._itemsPresenter,"mouseover","onMouseOver");this.bindEvent(this._itemsPresenter,"mouseout","onMouseOut")},onMouseOver:function(){this._mouseCapture++},onMouseOut:function(){var n=this;setTimeout(function(){n._mouseCapture--},1e3)},init:function(){r.init.apply(this,arguments);this.bindEvent(this._inputBox,"focus","onInputFocus");this.bindEvent(this._inputBox,"blur","onInputBlur");this.bindEvent(this._inputBox,"keyup","onKeyUp")},dispose:function(){this._itemsPresenter&&(this.disposeChildren(this._itemsPresenter),i(this._itemsPresenter).remove(),this._itemsPresenter=null);r.dispose.call(this)}}})}(u.AtomListBox.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomComboBox",base:n,start:function(){this._labelPath="label";this._valuePath="value";this._allowSelectFirst=!0},methods:{invokePost:function(){this.get_selectedIndex()>0&&n.invokePost.apply(this,arguments)},invokeNext:function(){n.invokeNext.apply(this,arguments);this._postUrl&&(t.setValue(this,"selectedIndex",0),this.updateChildSelections())},onSelectionChanged:function(){this._onUIChanged=!0;var n=this.get_element();this.set_selectedIndex(n.selectedIndex);this._onUIChanged=!1},updateChildSelections:function(){var n=this._element;n.selectedIndex=this.get_selectedIndex()},onCollectionChanged:function(){var u=this.get_element(),f=this.get_dataItems(),r;u.options.length=f.length;for(var i=new e(f),o=this._labelPath,s=this._valuePath,t=null,n=null,h=this.get_value();i.next();)r=i.current(),t=r,n=r,o&&(t=t[o]),s&&(n=n[s]),u.options[i.currentIndex()]=new Option(t,n,!1,n==h)},verifyTemplates:function(){},init:function(){var t=this.get_element();this.bindEvent(t,"change","onSelectionChanged");n.init.apply(this,arguments)}}})}(u.AtomItemsControl.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomDateListBox",base:n,start:function(){this._monthList=c.monthList;var n=new Date;this._month=n.getMonth()+1;this._year=n.getFullYear();this._selectedItems=[];this._presenters=["itemsPresenter"];this._startYear=-5;this._endYear=10;this._currentYear=(new Date).getFullYear();this._value=null},properties:{month:0,year:0,selectedItems:[],startYear:-5,endYear:0,currentYear:0,monthList:null,items:undefined,month:null,visibleDate:undefined},methods:{set_month:function(n){this._month=n;this.updateList()},set_year:function(n){this._year=n;this.updateList()},set_visibleDate:function(n){n&&(this._visibleDate=n,this._year=n.getFullYear(),this._month=n.getMonth()+1,this.updateList(),t.refreshValue(this,"year"),t.refreshValue(this,"month"))},init:function(){n.init.apply(this);var t=this;this.toggleDateCommand=function(){t.toggleDate.apply(t,arguments)}},onLoaded:function(){var o=this.getTemplate("itemTemplate"),h=this.get_scope(),c=this._itemsPresenter,n=this.getTemplate("itemTemplate"),s,t,r,e,l;if(n&&(n=f.getAtomType(n),n||(n=u.AtomControl)),this.updateList(),o)for(s=this._items,t=0;t<42;t++)r=f.cloneNode(o),r._templateParent=this,e=new tt(this,h,atomApplication),e.itemIndex=t,i(c).append(r),l=f.createControl(r,n,s[t],e)},toggleDate:function(n,r){var u=r.get_data(),f=i.inArray(u.value,i.map(this._selectedItems,function(n){return n.value}));f>-1?t.removeAtIndex(this._selectedItems,f):t.addItem(this._selectedItems,u);t.refreshValue(this,"value");t.refreshValue(this,"selectedItems");this.invokeAction(this._next)},getItemClass:function(n){var u=i.inArray(n.value,i.map(this._selectedItems,function(n){return n.value}))>-1,r=n.date.getDay(),f=r==0||r==6,t="atom-date-list-box-day-list-item ";return t+=f?"atom-date-list-box-weekend ":"",t+=u?"atom-date-list-box-selected ":"atom-date-list-box-item ",t+(this._month==n.date.getMonth()+1?"":"atom-date-list-box-day-list-item-other")},set_value:function(n){var e,i,r,u,f;if(n!==undefined){if(this._selectedItems.length=0,n!==null)for(e=n.split(","),i=0;i0&&(s=f)),r.setItemRect(u,n,{left:l,top:v,width:s,height:y}),this.resizeChild(n)}}})}(u.AtomControl.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomPostButton",base:n,start:function(){},properties:{postData:null,postResult:null,postError:null,postUrl:null,next:null,errorNext:null,confirm:!1,confirmMessage:null,mergeData:null},methods:{get_postData:function(){return this._postData||this.get_data()},onClickHandler:function(n){if(this._confirm){var t=this;r.confirm(this._confirmMessage,function(){t.onConfirmed(n)});return}this.onConfirmed(n)},onConfirmed:function(){var e,u,f,o,h,l;if(!this._postUrl){n.onClickHandler.apply(this,arguments);return}if((e=this._validationRoot,e&&(e.validate(),u=e.get_errors(),u.length))||(u=this.get_errors(),u.length))return alert(r.mapJoin(u,"label")),!1;if(f=this.get_postData(),f!==null&&f!==undefined){if(o=this._mergeData,o)for(h in o)f[h]=o[h];var i=this,a=function(n){t.setValue(i,"postResult",n.value());i.invokeAction(i._next)},c=s.json(this._postUrl,null,{type:"POST",data:f});c.then(a);l=this._errorNext;l&&c.failed(function(n){t.setValue(i,"postError",n);i.invokeAction(i,l)});c.invoke()}}}})}(u.AtomButton.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomToggleButtonBar",base:n,start:function(){this._allowSelectFirst=!0;this._allowMultipleSelection=!1;this._showTabs=!1;this._autoScrollToSelection=!1},properties:{showTabs:!1},methods:{setClass:function(){var n=i(this._element);n.removeClass("atom-tab-bar atom-toggle-button-bar");n.addClass(this._showTabs?"atom-tab-bar":"atom-toggle-button-bar")},set_showTabs:function(n){this._showTabs=n;this.setClass()}}})}(u.AtomListBox.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomViewStack",base:n,start:function(){this._swipeDirection="left-right"},properties:{selectedIndex:-1,previousIndex:-1,swipeDirection:"left-right"},methods:{bringSelectionIntoView:function(){},set_swipeDirection:function(n){var t=this._swipeDirection;t&&i(this._element).removeClass(t);this._swipeDirection=n;n&&i(this._element).addClass(n)},set_selectedIndex:function(n){if(this._isAnimating){var t=this;setTimeout(function(){t.set_selectedIndex(n)},50);return}n!=this._selectedIndex&&(this._previousIndex=this._selectedIndex,this._selectedIndex=n,this.updateUI())},get_selectedChild:function(){return this._selectedChild},onUpdateUI:function(){var y=this._element,b=new a(y),p=this.get_selectedIndex(),s=this._previousIndex,k=u.dispatcher,e,d,n,o,h,c,r,g,t,w,v;for(k.pause(),e=-1,d=this;b.next();)e=e+1,h=b.current(),c=i(h),c.addClass("view-stack-child"),s==-1&&c.addClass("hidden"),e==p?n=h:e==s?o=h:c.addClass("hidden");if(n)if(r=i(y).innerWidth(),g=i(y).innerHeight(),this._selectedChild=n,t=i(n),f.setItemRect(t,n,{width:r,height:g}),w=n.atomControl,w&&w.updateUI(),o&&o!=n){var d=this,l=i(o),nt=this._swipeDirection;nt!=null&&/none/i.test(nt)?(l.addClass("hidden"),t.removeClass("hidden")):(v=[n,o],i(v).removeClass("hidden"),this._isAnimating=!0,p0)){r=n.get(0);try{r.focus()}catch(u){}}})},init:function(){i(this._element).addClass("atom-window-placeholder");n.init.call(this);var t=this;this.closeCommand=function(){t.onCloseCommand.apply(t,arguments)};this.cancelCommand=function(){t.onCancelCommand.apply(t,arguments)};this.openCommand=function(){t.openWindow.apply(t,arguments)};u.dispatcher.callLater(function(){var n=t._element;n._logicalParent||(n._logicalParent=n.parentNode,i(n).remove(),h.body.appendChild(n))})}}})}(u.AtomControl.prototype);u.AtomWindow.openNewWindow=function(n){var s=h.createElement("DIV"),v=f.assignID(s),e,t,c,l,o,a;n.localScope&&s.setAttribute("data-atom-local-scope","true");s._logicalParent=n.opener;h.body.appendChild(s);e=f.createControl(s,u.AtomWindow);t=n.url;t.length!==undefined?(n.next=t[1],n.url=t[0],t=new AtomUri(n.url)):(t={path:t.path,query:t.prop,hash:t.scope},n.url.next&&(n.next=n.url.next));e._next=[n.next||{},function(){u.dispatcher.callLater(function(){e.dispose();i(s).remove()})}];c=t.path;f.isNode(c)||(c=r.get(n.scope,t.path));l=i(f.cloneNode(c));o=l.children("[atom-template=commandTemplate],[data-atom-template=commandTemplate]").get(0);o&&(f.removeAttr(o,"atom-template"),e._commandTemplate=o,i(o).remove());o=l.children("[atom-template=windowTemplate],[data-atom-template=windowTemplate]").get(0);o?(f.removeAttr(o,"atom-template"),e._windowTemplate=o):(f.removeAttr(c,"atom-template"),e._windowTemplate=c);n.localScope&&n.opener&&(a=n.opener.get_data(),e._data=a);e.init();u.dispatcher.callLater(function(){var o=e.get_scope(),f=t.hash,u;for(var i in f)f.hasOwnProperty(i)&&r.set(o,i,f[i]);u=t.query;for(i in u)u.hasOwnProperty(i)&&r.set(e,i,u[i]);e.openWindow(n.scope,n.opener)})},function(n){return classCreatorEx({name:"WebAtoms.AtomCalendar",base:n,start:function(n){i(n).addClass("atom-calendar");var t=new Date;this._month=t.getMonth()+1;this._year=t.getFullYear();this._startYear=-5;this._endYear=10;this._currentYear=(new Date).getFullYear();this._value=null},properties:{month:0,year:0,startYear:-5,endYear:0,currentYear:0,visibleDate:undefined},methods:{set_month:function(n){this._month=n;this.updateCalendar()},set_year:function(n){this._year=n;this.updateCalendar()},set_visibleDate:function(n){n&&n!=this._visibleDate&&(this._visibleDate=n,this._year=n.getFullYear(),this._month=n.getMonth()+1,this.updateCalendar(),t.refreshValue(this,"year"),t.refreshValue(this,"month"))},onCreated:function(){n.onCreated.call(this);var t=this;u.dispatcher.callLater(function(){t.updateCalendar()})},applyItemStyle:function(){},updateCalendar:function(){var r;if(this._created){var e=new Date,v=new Date(this._year,this._month-1,1),i=new Date(this._year,this._month-1,1);i.getDay()&&(r=i.getDay()-1,r=-r,i.setDate(r));for(var s=i.getMonth(),h=i.getFullYear(),o=[],u=0,l=this._month-1,u=0;u<42;u++){var a=u+i.getDate(),n=new Date(h,s,a),f=n.getDay();f=f==0||f==6;o.push({label:n.getDate(),isWeekEnd:f,isToday:e.getDate()==n.getDate()&&e.getMonth()==n.getMonth()&&e.getFullYear()==n.getFullYear(),isOtherMonth:n.getMonth()!=l,dateLabel:c.toShortDateString(n),value:c.toMMDDYY(n),date:n})}t.setValue(this,"items",o)}},changeMonth:function(n){var i=this._month;i+=n;i>12&&(i=1,r.set(this,"year",this._year+1));i==0&&(r.set(this,"year",this._year-1),i=12);t.setValue(this,"month",i)},init:function(){n.init.call(this);var t=this;this.nextMonthCommand=function(){t.changeMonth(1)};this.prevMonthCommand=function(){t.changeMonth(-1)}}}})}(u.AtomListBox.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomCheckBoxList",base:n,start:function(){this._allowMultipleSelection=!0;this._valueSeparator=", ";this._dataElements=[]},methods:{init:function(){n.init.call(this);i(this._element).addClass("atom-check-box-list")}}})}(u.AtomItemsControl.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomDataPager",base:n,properties:{itemsPath:"items",totalPath:"total",pageSize:25,currentPage:0,items:null,total:0,pages:[]},start:function(){this._presenters=["pageList"];var n=this,i=t;this.goFirstCommand=function(){i.setValue(n,"currentPage",0)};this.goLastCommand=function(){i.setValue(n,"currentPage",n._pages.length-1)};this.goNextCommand=function(){i.setValue(n,"currentPage",n.get_currentPage()+1)};this.goPrevCommand=function(){i.setValue(n,"currentPage",n.get_currentPage()-1)}},methods:{preparePages:function(){var f,i,n;if(this._items&&this._total&&this._pageSize){var e=this._items.length,u=this._total,r=Math.ceil(u/this._pageSize);if(r!=this._pages.length){for(f=this._pageSize,i=[],n=0;n11&&(u="PM",t>12&&(f=t-12)),i=f+":00 "+u,r.push({label:i,value:i}),i=f+":30 "+u,r.push({label:i,value:i});this._items=r;n.init.call(this)}}})}(u.AtomAutoCompleteBox.prototype);yt=function(n){this._self=n;this._updating=!1;this.update=function(n){if(!this._updating)try{this._updating=!0;n.apply(this._self)}finally{this._updating=!1}}},function(n){var u=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9] [ap][m]$/i;return classCreatorEx({name:"WebAtoms.AtomTimeEditor",base:n,start:function(n){i(n).addClass("atom-time-editor");this._updater=new yt(this)},properties:{time:"10:00",ap:"AM",value:"10:00 AM"},methods:{get_hours24:function(){var t=this._time.split(":"),n=parseInt(t[0]||"0");return this._ap=="PM"&&n!=12&&(n+=12),n},set_hours24:function(n){this.setTime(n,this.get_minutes(),!0)},get_hours:function(){var n=this._time.split(":");return parseInt(n[0]||"0")},get_minutes:function(){var n=this._time.split(":");return parseInt(n[1]||"0")},setTime:function(n,i,r){var u=this.get_ap();r&&(n>12?(n-=12,u="PM"):u="AM");n=""+n;n.length==1&&(n="0"+n);i=i+"";i.length==1&&(i="0"+i);t.setValue(this,"value",n+":"+i+" "+u)},set_hours:function(n){this.setTime(n,this.get_minutes())},set_minutes:function(n){this.setTime(this.get_hours(),n)},set_value:function(n){this._updater.update(function(){if(this._value!=n){if(!u.test(n))throw new Error("Unknown time format, expecting ##:## AM");this._value=n;n=n.split(" ");this._time=n[0];this._ap=n[1].toUpperCase();this.refreshProperties()}})},refreshProperties:function(){r.refresh(this,"value");r.refresh(this,"time");r.refresh(this,"ap");r.refresh(this,"hours");r.refresh(this,"hours24");r.refresh(this,"minutes")},set_time:function(n){this.set_value(n+" "+this._ap)},set_ap:function(n){this.set_value(this._time+" "+n)},get_value:function(){return this._time+" "+this._ap}}})}(u.AtomControl.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomUploadButton",base:n,start:function(n){if(/input/gi.test(n.nodeName)&&/file/gi.test(f.attr(n,"type"))){this._filePresenter=n;return}var t=this._filePresenter=h.createElement("input");f.attr(t,"type","file");i(t).css({left:"-500px",position:"absolute",top:"0"});h.body.appendChild(this._filePresenter)},properties:{fileTypes:undefined,accept:"*/*",capture:"",progress:0},methods:{set_accept:function(n){if(this._accept=n,n){var t=this._filePresenter;t&&f.attr(t,"accept",n)}},set_capture:function(n){if(this._capture=n,n){var t=this._filePresenter;t&&f.attr(t,"capture",n)}},onClickHandler:function(n){(!this._confirm||confirm(this._confirmMessage))&&this._postUrl&&this._filePresenter!=this._element&&(i(this._filePresenter).trigger("click"),f.cancelEvent(n))},onFileSelected:function(){var i=this.get_postData(),r,s,n,u,f,o;if(i!==null&&i!==undefined){if(r=this._mergeData,r)for(s in r)i[s]=r[s];if(n=this._xhr,!n){n=new XMLHttpRequest;u=n.upload;try{n.timeout=36e5}catch(h){}this.bindEvent(u,"progress","onProgress");this.bindEvent(u,"timeout","onError");this.bindEvent(u,"error","onError");this.bindEvent(n,"load","onComplete");this.bindEvent(n,"error","onError");this.bindEvent(n,"timeout","onError");this._xhr=n}for(f=new FormData,o=new e(this._filePresenter.files);o.next();)f.append("file"+o.currentIndex(),o.current());f.append("formModel",JSON.stringify(t.getClone(i)));n.open("POST",this._postUrl);n.send(f);atomApplication.setBusy(!0,"Uploading...")}},set_progress:function(n){this._progress=n;n&&t.setValue(atomApplication,"progress",n)},onError:function(n){atomApplication.setBusy(!1,"Uploading...");this.unbindEvent(this._xhr);this._xhr=null;this._lastError=n;r.alert("Upload failed")},onProgress:function(n){if(n.lengthComputable){var i=Math.round(n.loaded*100/n.total);t.setValue(this,"progress",i)}},onComplete:function(n){atomApplication.setBusy(!1,"Uploading...");if(n.target)if(n.target.status==200)this._value=n.target.responseText;else{r.alert(n.target.statusText);return}else this._value=n.result;this.unbindEvent(this._xhr);this._xhr=null;t.refreshValue(this,"value");this.invokeAction(this._next,n)},init:function(){n.init.call(this);var t=this._filePresenter;this.bindEvent(t,"change","onFileSelected")}}})}(u.AtomPostButton.prototype),function(n,t){return classCreatorEx({name:"WebAtoms.AtomViewBox",base:t,start:function(){this._layout=n.AtomViewBoxLayout.defaultInstance},methods:{}})}(u,u.AtomControl.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomWizard",base:n,start:function(){this._presenters=["viewPresenter"]},properties:{currentStep:null,nextLabel:"Next",nextClass:"",buttons:null,prevLabel:"Back",finishLabel:"Finish",canMoveBack:!0,canMoveNext:!0,steps:0,isLastStep:!1},methods:{set_currentStep:function(n){var i,r;this._currentStep=n;i=this._buttons;i&&i.length&&(r=i[n],t.setValue(this,"nextLabel",r.label),t.setValue(this,"nextClass",r.styleClass));t.refreshValue(this,"isLastStep")},get_isLastStep:function(){return this._currentStep==this._steps-1},createWizard:function(){var e=this._viewPresenter,n,i,s,h;this.disposeChildren(e);for(var c=this._viewTemplate,r=0,o=new a(c);o.next();)r++,n=f.cloneNode(o.current()),e.appendChild(n),i=f.getAtomType(n),i||(i="AtomViewBox",f.attr(n,"data-atom-type",i)),s=f.getAtomType(n)||u.AtomControl,h=f.createControl(n,s),h.init();t.setValue(this,"steps",r);r&&t.setValue(this,"currentStep",0)},init:function(){i(this._element).addClass("atom-wizard");n.init.call(this);var r=this,u=this._viewPresenter;this.goNextCommand=function(n,i,u){r.get_isLastStep()?(r.invokeAction(r._next,u),t.setValue(r,"canMoveBack",!1)):t.setValue(r,"currentStep",r._currentStep+1)};this.goPrevCommand=function(){t.setValue(r,"currentStep",r._currentStep-1)};this.resetCommand=function(){r.createWizard();t.setValue(r,"currentStep",0);t.setValue(r,"canMoveBack",!0)};this.createWizard();this.nextCommand=function(n,t,i){var f=u.atomControl.get_selectedChild().atomControl;if(f._next){f.invokeAction(f._next);return}r.goNextCommand(n,t,i)}}}})}(u.AtomDockPanel.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomYesNoControl",base:n,start:function(){this._allowSelectFirst=!1;this._items=[{label:"Yes",value:!0},{label:"No",value:!1}]},methods:{}})}(u.AtomToggleButtonBar.prototype),function(r){return classCreatorEx({name:"WebAtoms.AtomYesNoCustom",base:r,start:function(){this._presenters=["yesNo","input"];this._hasValue=!1},properties:{hasValue:!1,placeholder:null},methods:{set_hasValue:function(n){this._hasValue=n;n||t.setValue(this,"value","")},set_value:function(n){this._value=n;t.setValue(this,"hasValue",n?!0:!1);this._onUIChanged||i(this._input).val(n)},onValueChange:function(){this._onUIChanged=!0;var n=i(this._input).val();t.setValue(this,"value",n);this._onUIChanged=!1},onUpdateUI:function(){if(i(this._input).addClass("atom-yes-no-custom-input"),this._placeholder){f.attr(this._input,"placeholder",this._placeholder);var t=n.placeHolderFixer;t&&t.refresh()}},init:function(){r.init.call(this);this._yesNo=this._yesNo.atomControl;var n=this._input;this.bindEvent(n,"change","onValueChange")}}})}(u.AtomControl.prototype);n.appScope=n.appScope||{};this.atomApplication=null,function(e){return classCreator("WebAtoms.AtomApplication",e,function(t){var o,u,r,s,e,h;if(i(t).removeClass("atom-dock-panel"),i(t).addClass("atom-application"),this._scope=new tt(this,null,this),n.model&&(n.appScope.model=n.model,this._data=n.model),n.appScope){o=this._scope;r=n.appScope;for(e in r)o[e]=r[e]}if(n.appScope=this._scope,n.atomApplication=this,this.busyCount=0,u=location.hash,u=u?u.substr(1):u,u){r=f.parseUrl(u);this._hash=location.hash;s=this._scope;this._defaultHash=r;for(e in r)h=r[e],s[e]=h}else this._hash=location.hash;this._defaultScope={}},{get_title:function(){return h.title},set_title:function(n){h.title=n},get_isBusy:function(){return this.busyCount},setBusy:function(n,i){n?this.busyCount++:this.busyCount--;i!==undefined?(i||(i=""),t.setValue(this,"busyMessage",i)):t.setValue(this,"busyMessage","Loading...");t.refreshValue(this,"isBusy")},updateUI:function(){e.updateUI.call(this);t.refreshValue(this,"appWidth");t.refreshValue(this,"appHeight");t.refreshValue(this,"bodyWidth");t.refreshValue(this,"bodyHeight")},onUpdateUI:function(){this._renderAsPage||e.onUpdateUI.call(this)},get_appWidth:function(){return i(this._element).width()},get_appHeight:function(){return i(this._element).height()},get_bodyWidth:function(){return i(h.body).width()},get_bodyHeight:function(){return i(h.body).height()},onHashChanged:function(){var e,i,u,o,h,n,s;if(!this._noHashRefresh){if(e=this._scope,i=location.hash,i||(i="#"),this._noHashRefresh=!0,i=i.substr(1),u=f.parseUrl(i),this._created){o=this._defaultScope;for(n in o)h=o[n],u[n]===undefined&&(u[n]=h);for(n in u)s=u[n],e[n]!=s&&t.setValue(e,n,s)}else r.merge(e,u);this._noHashRefresh=!1}},invokeUpdateUI:function(){var i=this,t=this;n.setTimeout(function(){return t.updateUI()},5)},onRefreshValue:function(){var f,n,i,r;if(!this._noHashRefresh&&this._ready){var e=this._defaultScope,u=t.getClone(this._defaultHash||{}),o=this._scope;for(n in o)if(i=o[n],e.hasOwnProperty(n)){if(i==e[n])continue;u[n]=i}else{if(n.indexOf("_")==0)continue;if(i===undefined||i===null)continue;if(!/string|number|boolean/i.test(typeof i))continue;u[n]=i}f=[];for(n in u)i=u[n],f.push({key:n,value:i});(r="#"+f.map(function(n){return n.key+"="+encodeURIComponent(n.value)}).join("&"),r!=location.hash)&&(r!="#"||location.hash)&&(this._noHashRefresh=!0,history&&history.pushState?history.pushState({},h.title,location.href.split("#")[0]+r):location.href=r,this._noHashRefresh=!1)}},onInitialized:function(){var r,u;this._ready=!0;e.onInitialized.call(this);this._renderAsPage||i(this._element).addClass("atom-dock-application");w.isIE&&w.majorVersion<8?(r=this,setInterval(function(){r.onCheckHash()},1e3),this._lastHash=location.hash):(u=n.onhashchange?"onhashchange":"hashchange",this.bindEvent(n,u,"onHashChanged"));t.refreshValue(this,"appHeight");t.refreshValue(this,"bodyHeight")},createChildren:function(){if(e.createChildren.call(this),this.getTemplate("busyTemplate"),this._busyTemplate){this._element.appendChild(this._busyTemplate);this.onCreateChildren(this._busyTemplate)}},onCreated:function(){e.onCreated.call(this);this._next&&u.dispatcher.callLater(function(){n.atomApplication.invokeAction(n.atomApplication._next)})},onCheckHash:function(){this._lastHash!=location.hash&&(this.onHashChanged(),this._lastHash=location.hash)},onCloseCommand:function(){if(parent){var n=frameElement.atomWindow;n._value=this._value;n.onCloseCommand()}},setup:function(){this.createChildren();this.init()},init:function(){this.bindEvent(n,"resize","invokeUpdateUI");var t=this;this._onRefreshValue=wt(function(){t.onRefreshValue.apply(t,arguments)});this._scope._$_watcher=this;e.init.call(this);this.closeCommand=function(){t.onCloseCommand.apply(t,arguments)}}},{renderAsPage:!1,busyMessage:"",progress:0})}(u.AtomDockPanel.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomAutoPostForm",base:n,start:function(){},properties:{isBusy:!1,postError:null},methods:{pushPost:function(n){if(!this._isBusy){this._pushPostTimeout&&clearTimeout(this._pushPostTimeout);n||(n=1e3);var t=this;this._pushPostTimeout=setTimeout(function(){u.dispatcher.callLater(function(){t.onSubmit()})},n)}},onSubmit:function(){var r,u;if((this._pushPostTimeout=0,!this._isBusy)&&this.isValid()&&(r=this.preparePostData(),r)&&(u=JSON.stringify(t.getClone(r)),!this._cachedData||u!=this._cachedData)){this._cachedData=u;var n=this,f=s.getUrl(this._postUrl),i=s.json(f,null,{type:"POST",data:r}).then(n._success);i.failed(function(){n._isBusy=!1;n._postError=i.error.msg;t.refreshValue(n,"isBusy");t.refreshValue(n,"postError")});i.showProgress(!1);i.showError(!1);i.invoke()}},onCreated:function(){n.onCreated.apply(this,arguments);var i=this.preparePostData();i&&(this._cachedData=JSON.stringify(t.getClone(i)))},onSuccess:function(){n.onSuccess.apply(this,arguments);this._isBusy=!1;t.refreshValue(this,"isBusy")},onKeyUp:function(n){(this.pushPost(),n.target&&n.target.nodeName&&/textarea/gi.test(n.target.nodeName))||n.keyCode==13&&this.onSubmit()},init:function(){n.init.call(this);var t=this;this.pushPostHandler=function(){t.pushPost(1e3)};this.bindEvent(this._element,"click",this.pushPostHandler);i(this._element).find("input,select,textarea").bind("change",null,this.pushPostHandler)}}})}(u.AtomForm.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomFormField",base:n,start:function(){this._presenters=["contentPresenter"]},properties:{label:undefined,fieldId:undefined,fieldClass:undefined,required:!1,fieldVisible:!0},methods:{set_fieldVisible:function(n){this._fieldVisible=n;i(this._element).css("display",n?"":"none")},set_fieldClass:function(n){this._fieldClass=n;this.setLocalValue("class",n,this._element)},onCreated:function(){this.setup()},setup:function(){this._created&&(this._contentPresenter&&this._contentPresenter.appendChild(this._element.contentElement),t.refreshValue(this,"fieldClass"))}}})}(u.AtomControl.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomFormGridLayout",base:n,start:function(){},properties:{minLabelWidth:100,cellSpacing:5,label:""},methods:{onUpdateUI:function(){t.refreshValue(this,"controlWidth");t.refreshValue(this,"controlHeight");n.onUpdateUI.apply(this,arguments)},get_controlWidth:function(){return i(this._element.parentNode).innerWidth()},get_controlHeight:function(){return i(this._element.parentNode).innerHeight()},createChildren:function(){var o=this._element,w,n,it,r,c,l,b,k,s,u,d,t,v,y,p,tt;for(i(o).addClass("atom-form-grid"),s=i(o).children(),w=new e(s),f.removeAllChildren(o),n=h.createElement("DIV"),i(n).addClass("atom-form-grid-container"),o.appendChild(n),it=f.attr(this._element,"atom-min-label-width"),this.getTemplate("fieldTemplate");w.next();){if(r=w.current(),c=f.attr(r,"atom-type"),c=="AtomFormRow"){for(l=h.createElement("TABLE"),n.appendChild(l),i(l).addClass("atom-form-grid-row"),b=h.createElement("TBODY"),l.appendChild(b),k=h.createElement("TR"),b.appendChild(k),s=i(r).children(),u=new e(s);u.next();)d=h.createElement("TD"),k.appendChild(d),this.createField(d,u.current());continue}if(c=="AtomFormTabControl"||c=="AtomTabControl"){t=h.createElement("ul");t.setAttribute("atom-type","AtomToggleButtonBar");v=f.assignID(t);t.setAttribute("atom-name",v);t.setAttribute("atom-show-tabs","true");y=h.createElement("li");t.appendChild(y);y.setAttribute("atom-text","{$data.label}");y.setAttribute("atom-template","itemTemplate");this.createField(n,t);for(var rt=ft[v],u=new a(r),g=[],nt=0;u.next();)p=u.current(),i(p).remove(),p.setAttribute("style-display","[$scope."+v+".selectedIndex == "+nt+" ? '' : 'none']"),tt=this.createField(n,p),g.push(tt),nt++;rt.set_items(g);continue}this.createField(n,r)}}}})}(u.AtomFormLayout.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomFormTab",base:n,start:function(){},methods:{}})}(u.AtomFormGridLayout.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomFormNoLayout",base:n,start:function(){},methods:{}})}(u.AtomForm.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomFormVerticalLayout",base:n,start:function(){},methods:{}})}(u.AtomFormLayout.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomTableLayout",base:n,start:function(n,t,i){this._cellWidth=t;this._cellHeight=i;this._columns=n},methods:{doLayout:function(n){var u=new e(i(n).children()),t,s=0,f=0,r=Math.ceil(u._array.length/this._columns)-1,o=r,h=this._columns*this._cellWidth,c=this._cellHeight*(r+1);for(n.style.position="relative",n.style.width=h+"px",n.style.height=c+"px",n.maxRows=r;u.next();)t=u.current(),t.style.position="absolute",t.style.left=s+"px",t.style.top=f+"px",t.style.width=this._cellWidth+"px",o<=0?(o=r,s+=this._cellWidth+10,f=0):(o--,f+=this._cellHeight)}}})}(u.AtomLayout.prototype);ht=function(n){return classCreatorEx({name:"WebAtoms.AtomViewBoxLayout",base:n,start:function(){},methods:{doLayout:function(n){for(var r={width:i(n).innerWidth()+"px",height:i(n).innerHeight()+"px"},u=new a(n),t;u.next();)t=u.current(),t.style.width=r.width,t.style.height=r.height,t.atomControl&&t.atomControl.updateUI()}}})}(u.AtomLayout.prototype);ht.defaultInstance=new ht;r.confirm=function(n,t){var o={Message:n,ConfirmValue:!1,Confirm:t?!0:!1},e=h.createElement("DIV"),r;h.body.appendChild(e);r=f.createControl(e,u.AtomWindow,o);r.set_windowWidth(380);r.set_windowHeight(120);r.set_windowTemplate(r.getTemplate("alertTemplate"));r.set_title(t?"Message":"Confirm");r.set_next(function(){r.dispose();i(e).remove();o.ConfirmValue&&t&&t()});r.refresh()};r.alert=n.__chromeCSP?function(n){r.confirm(n,null)}:function(n){alert(n)};i(h).ready(function(){var n=u.dispatcher;n.setupControls();n.start()});i(n).unload(function(){function n(t){if(t)if(t.atomControl)t.atomControl.dispose();else for(var i=new a(t);i.next();)n(i.current())}n(h.body)})}(window); +function mapLibrary(n,t,i){var u=n.indexOf("."),r;return u==-1?(r=t[n],r||(r=i,t[n]=r),r):(r=mapLibrary(n.substr(0,u),t,{}),mapLibrary(n.substr(u+1),r,i))}function createProperty(n,t){return t?function(){return this[n]}:function(t){this[n]=t}}function classCreator(n,t,i,r,u){var o=t?t.constructor:null,s=i||function(){},h=u,e=null,c,f;if(o){e=u?function(){for(var t in h)this["_"+t]=h[t];o.apply(this,arguments);this.__typeName=n;s.apply(this,arguments)}:function(){o.apply(this,arguments);this.__typeName=n;s.apply(this,arguments)};c=o.prototype;for(f in c)r[f]||c.hasOwnProperty(f)&&(r[f]=c[f])}else e=u?function(){this.__typeName=n;for(var t in h)this["_"+t]=h[t];s.apply(this,arguments)}:function(){this.__typeName=n;s.apply(this,arguments)};if(u)for(f in u)r["get_"+f]||(r["get_"+f]=createProperty("_"+f,!0)),r["set_"+f]||(r["set_"+f]=createProperty("_"+f));return e.__typeName=n,o&&(e.__baseType=o),e.prototype=r,e.prototype.constructor=e,r.hasOwnProperty("toString")||(e.prototype.toString=function(){return n}),mapLibrary(/\./.test(n)?n:"WebAtoms."+n,window,e),e}function classCreatorEx(n){return classCreator(n.name,n.base,n.start,n.methods,n.properties)}window.createClass=classCreatorEx;window.classCreatorEx=classCreatorEx,function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof exports=="object"?n(require("jquery")):n(jQuery)}(function(n){var t=navigator.userAgent,u=/iphone/i.test(t),f=/chrome/i.test(t),i=/android/i.test(t),r;n.mask={definitions:{"9":"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},autoclear:!0,dataName:"rawMaskFn",placeholder:"_"};n.fn.extend({caret:function(n,t){var i;if(this.length!==0&&!this.is(":hidden"))return typeof n=="number"?(t=typeof t=="number"?t:n,this.each(function(){this.setSelectionRange?this.setSelectionRange(n,t):this.createTextRange&&(i=this.createTextRange(),i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",n),i.select())})):(this[0].setSelectionRange?(n=this[0].selectionStart,t=this[0].selectionEnd):document.selection&&document.selection.createRange&&(i=document.selection.createRange(),n=0-i.duplicate().moveStart("character",-1e5),t=n+i.text.length),{begin:n,end:t})},unmask:function(){return this.trigger("unmask")},mask:function(t,e){var y,l,o,c,h,a,s,p,v;return!t&&this.length>0?(y=n(this[0]),v=y.data(n.mask.dataName),v?v():undefined):(e=n.extend({autoclear:n.mask.autoclear,placeholder:n.mask.placeholder,completed:null},e),l=n.mask.definitions,o=[],c=s=t.length,h=null,n.each(t.split(""),function(n,t){t=="?"?(s--,c=n):l[t]?(o.push(new RegExp(l[t])),h===null&&(h=o.length-1),n=0&&!o[n]);return n}function it(n,t){var r,i;if(!(n<0)){for(r=n,i=b(t);r0&&!o[n.begin-1];)n.begin--;if(n.begin===0)while(n.beginr.length){g(t+1,s);break}}else y[t]===r.charAt(i)&&i++,t1&&(o=n[0],n=n[1]);setTimeout(function(){f.invokeAction(n)},o);return}if(this.set_merge(i),n=i.confirm,n){s="Are you sure?";n.hasOwnProperty("length")&&(n.length>1?(s=n[0],n=n[1]):n=n[0]);var f=this,h=n,c=t;r.confirm(s,function(){f.invokeAction(h,c)})}if(n=i.alert,n&&r.alert(n),n=i.next,n){this.invokeAction(n,t);return}n=i.control;n&&ft[n].refresh();n=i.window;n&&u.AtomWindow.openNewWindow({url:n,localScope:!1,opener:this,scope:this.get_scope()});n=i.localWindow;n&&u.AtomWindow.openNewWindow({url:n,localScope:!0,opener:this,scope:this.get_scope()})}}function bt(n,t){function i(n){this._handler=n;var i=this;this.invoke=function(){try{i._handler.apply(i,i.args)}catch(n){console&&console.log(n)}finally{i.timeout=0;i.pending=!1}};this.handler=function(){i.pending||(i.pending=!0,i.args=arguments,i.timeout&&clearTimeout(i.timeout),i.timeout=setTimeout(i.invoke,t||500))}}var r=new i(n);return r.handler}var i=n.$,h=n.document,k={jsonML:{}},u={},y,p,d,rt,w,ut,a,e,r,c,ct,lt,et,ot,f,nt,tt,g,t,s,at,vt,ft,yt,it,st,b,pt,ht;n.WebAtoms=u;n.Templates=k;y=k.jsonML;y["WebAtoms.AtomAutoCompleteBox.template"]=[["input",{"data-atom-presenter":"selectionBox",disabled:"disabled",type:"text","data-atom-init":"t1"}],["input",{"data-atom-presenter":"inputBox",type:"text",autocomplete:"off",autocorrect:"off","data-atom-init":"t2"}],["div",{"data-atom-presenter":"itemsPresenter","class":"atom-list-box",style:"position: absolute; z-index: 100;","data-atom-init":"t3"},["div",{"data-atom-template":"itemTemplate",style:"min-width:100px;","data-atom-init":"t4"}]]];y["WebAtoms.AtomCalendar.itemTemplate"]=[["div",{"data-atom-template":"itemTemplate","data-atom-init":"t5"},["span",{"data-atom-init":"t6"}]]];y["WebAtoms.AtomCalendar.template"]=[["section",{"class":"calendar"},["header",{},["button",{"class":"prev","data-atom-init":"t7"}],["select",{"data-atom-type":"AtomComboBox","class":"month","data-atom-init":"t8"}],["select",{"data-atom-type":"AtomComboBox","class":"year","data-atom-init":"t9"}],["button",{"class":"next","data-atom-init":"t10"}]],["ul",{"class":"days"},["li",{"class":"weekend"},"S"],["li",{},"M"],["li",{},"T"],["li",{},"W"],["li",{},"T"],["li",{},"F"],["li",{"class":"weekend"},"S"]],["section",{"class":"day-list","data-atom-presenter":"itemsPresenter"},]]];y["WebAtoms.AtomCheckBoxList.itemTemplate"]=[["div",{"data-atom-template":"itemTemplate"},["input",{type:"checkbox","data-atom-init":"t13"}],["span",{"data-atom-init":"t14"}]]];y["WebAtoms.AtomDataPager.template"]=[["button",{"class":"atom-pager-first-button",style:"float:left","data-atom-init":"t15"},"First"],["span",{style:"text-align:left"},["button",{"class":"atom-pager-prev-button","data-atom-init":"t16"},"Prev"],["span",{},"Goto: Page"],["select",{"data-atom-type":"AtomComboBox","data-atom-init":"t17"},],["button",{"class":"atom-pager-next-button","data-atom-init":"t18"},"Next"]],["button",{"class":"atom-pager-last-button",style:"float:right","data-atom-init":"t19"},"Last"]];y["WebAtoms.AtomDateField.popupTemplate"]=[["div",{"class":"atom-date-popup","data-atom-init":"t20"},["div",{"class":"atom-date-list-box"},["div",{"class":"calendar","data-atom-presenter":"calendarPresenter"},["select",{"data-atom-type":"AtomComboBox","class":"month","data-atom-init":"t22"}],["select",{"data-atom-type":"AtomNumberComboBox","class":"year","data-atom-init":"t23"}],["div",{"class":"days"},["span",{"class":"weekend-header"},"S"],["span",{},"M"],["span",{},"T"],["span",{},"W"],["span",{},"T"],["span",{},"F"],["span",{"class":"weekend-header"},"S"]],["div",{"class":"day-list","data-atom-type":"AtomItemsControl","data-atom-presenter":"itemsPresenter","data-atom-init":"t24"},["div",{"data-atom-template":"itemTemplate","data-atom-init":"t25"},["span",{"data-atom-init":"t26"}]]]]]]];y["WebAtoms.AtomDateField.template"]=[["div",{"class":"date-label","data-atom-init":"t27"}]];y["WebAtoms.AtomDateListBox.template"]=[["div",{"class":"atom-date-list-box"},["div",{"class":"calendar"},["select",{"data-atom-type":"AtomComboBox","class":"month","data-atom-init":"t28"}],["select",{"data-atom-type":"AtomComboBox","class":"year","data-atom-init":"t29"}],["div",{"class":"days"},["span",{"class":"weekend-header"},"S"],["span",{},"M"],["span",{},"T"],["span",{},"W"],["span",{},"T"],["span",{},"F"],["span",{"class":"weekend-header"},"S"]],["div",{"class":"day-list","data-atom-presenter":"itemsPresenter"},["div",{"data-atom-template":"itemTemplate","data-atom-init":"t31"},["span",{"data-atom-init":"t32"}]]]],["div",{"class":"list","data-atom-type":"AtomListBox","data-atom-init":"t33"},["div",{"data-atom-template":"itemTemplate","data-atom-init":"t34"},]]]];y["WebAtoms.AtomItemsControl.itemTemplate"]=[["span",{"data-atom-init":"t35"},"Item"]];y["WebAtoms.AtomLinkBar.itemTemplate"]=[["li",{"data-atom-init":"t36"},["a",{"data-atom-init":"t37"},]]];y["WebAtoms.AtomLinkBar.menuTemplate"]=[["ul",{"class":"menu","data-atom-type":"AtomLinkBar","data-atom-init":"t38"},["li",{"data-atom-template":"itemTemplate"},["a",{"data-atom-init":"t40"}]]]];y["WebAtoms.AtomNavigatorList.detailTemplate"]=[["iframe",{"class":"atom-navigator-list-iframe","data-atom-template":"detailTemplate","data-atom-init":"t41"}]];y["WebAtoms.AtomNavigatorList.template"]=[["div",{"data-atom-type":"AtomViewStack","data-atom-init":"t42"},["div",{"data-atom-type":"AtomDockPanel","data-atom-presenter":"gridPanel"},["div",{"data-atom-dock":"Fill","data-atom-presenter":"gridPresenter","class":"atom-navigator-list-grid"},]],["div",{"data-atom-presenter":"detailView","data-atom-type":"AtomDockPanel","data-atom-init":"t45"},["div",{"data-atom-dock":"Top","data-atom-presenter":"detailHeaderToolbar"},["input",{type:"button",value:"Back",style:"float: left","data-atom-init":"t47"}]]],["div",{"data-atom-presenter":"newView","data-atom-type":"AtomDockPanel","data-atom-init":"t48"},["div",{"data-atom-dock":"Top","data-atom-presenter":"newHeaderToolbar"},["input",{type:"button",value:"Back",style:"float: left","data-atom-init":"t50"}]]]]];y["WebAtoms.AtomRadioButtonList.itemTemplate"]=[["span",{},["input",{type:"radio","data-atom-name":"{$owner.groupName}","data-atom-init":"t51"}],["span",{"data-atom-init":"t52"}]]];y["WebAtoms.AtomSortableColumn.template"]=[["span",{"data-atom-init":"t53"}]];y["WebAtoms.AtomTabControl.template"]=[["div",{"data-atom-type":"AtomDockPanel"},["ul",{"data-atom-dock":"Top","data-atom-type":"AtomToggleButtonBar","data-atom-init":"t55"},["li",{"data-atom-template":"itemTemplate","data-atom-init":"t56"}]],["div",{"data-atom-dock":"Fill","data-atom-type":"AtomViewStack","data-atom-presenter":"itemsPresenter","data-atom-init":"t57"},]]];y["WebAtoms.AtomTimeEditor.template"]=[["span",{},"Hour:"],["input",{type:"number",min:"0",max:"12","data-atom-init":"t58"}],["span",{},"Minute:"],["input",{type:"number",min:"0",max:"59","data-atom-init":"t59"}],["ul",{"data-atom-type":"AtomToggleButtonBar","data-atom-init":"t60"},["li",{"data-atom-template":"itemTemplate","data-atom-init":"t61"}]]];y["WebAtoms.AtomToggleButtonBar.itemTemplate"]=[["li",{"data-atom-init":"t62"},]];y["WebAtoms.AtomWizard.template"]=[["div",{"data-atom-dock":"Fill","data-atom-type":"AtomViewStack","data-atom-presenter":"viewPresenter","data-atom-init":"t63"},],["div",{"data-atom-dock":"Bottom","class":"atom-wizard-command-bar"},["button",{"class":"atom-wizard-back-button","data-atom-init":"t65"},["span",{"data-atom-init":"t66"}]],["button",{"class":"atom-wizard-next-button","data-atom-init":"t67"},["span",{"data-atom-init":"t68"}]]]];y["WebAtoms.AtomYesNoCustom.template"]=[["ul",{"data-atom-type":"AtomYesNoControl","data-atom-presenter":"yesNo","data-atom-init":"t69"}],["input",{style:"vertical-align:top",type:"text","data-atom-presenter":"input","data-atom-init":"t70"}]];y["WebAtoms.AtomApplication.busyTemplate"]=[["div",{style:"position:absolute;left:0px;top:0px;z-index:10000; display:none","data-atom-init":"t71"},["div",{"class":"atom-busy-window",style:"position:absolute","data-atom-init":"t72"},["div",{"class":"atom-busy-image","data-atom-init":"t73"}],["div",{"data-atom-init":"t74"}],["div",{style:"height:3px; background-color:green","data-atom-init":"t75"}]]]];y["WebAtoms.AtomForm.errorTemplate"]=[["section",{"data-atom-type":"AtomItemsControl",style:"overflow:auto","data-atom-init":"t76"},["div",{"data-atom-template":"itemTemplate"},["span",{"data-atom-init":"t78"}]]]];y["WebAtoms.AtomFormGridLayout.fieldTemplate"]=[["table",{"class":"atom-form-grid-row","data-atom-type":"AtomFormField","data-atom-init":"t79"},["tbody",{},["tr",{},["td",{"class":"atom-form-grid-label","data-atom-init":"t80"}],["td",{"class":"atom-form-grid-required","data-atom-init":"t81"},"*"],["td",{"class":"atom-form-grid-content","data-atom-presenter":"contentPresenter","data-atom-init":"t82"},],["td",{"data-atom-init":"t83"},]]]]];y["WebAtoms.AtomFormLayout.fieldTemplate"]=[["tr",{"data-atom-type":"AtomFormField"},["td",{"class":"atom-form-label","data-atom-init":"t85"},["label",{"data-atom-init":"t86"}]],["td",{"class":"atom-form-required","data-atom-init":"t87"},],["td",{"class":"atom-form-content","data-atom-presenter":"contentPresenter"},["span",{style:"background-color:red;color:white; display:inline-block;float:right","data-atom-init":"t89"}]]]];y["WebAtoms.AtomFormVerticalLayout.fieldTemplate"]=[["tr",{"data-atom-type":"AtomFormField"},["td",{},["div",{"class":"atom-field-header"},["span",{"class":"atom-form-label","data-atom-init":"t91"}],["span",{"class":"atom-form-required","data-atom-init":"t92"}]],["div",{"class":"atom-form-content","data-atom-presenter":"contentPresenter","data-atom-init":"t93"}],["div",{"class":"atom-form-error","data-atom-init":"t94"}]]]];y["WebAtoms.AtomWindow.alertTemplate"]=[["div",{"class":"atom-alert","data-atom-dock":"Fill"},["pre",{"data-atom-init":"t96"},],["div",{"class":"buttons","data-atom-init":"t97"},["button",{"class":"ok","data-atom-init":"t98"},"Ok"],["button",{"class":"yes","data-atom-init":"t99"},"Yes"],["button",{"class":"no","data-atom-init":"t100"},"No"]]]];y["WebAtoms.AtomWindow.frameTemplate"]=[["div",{"class":"atom-window-background","data-atom-init":"t101"},["div",{"class":"atom-window","data-atom-presenter":"windowDiv",style:"position:absolute","data-atom-type":"AtomDockPanel","data-atom-init":"t102"},["div",{"class":"atom-window-title","data-atom-dock":"Top","data-atom-presenter":"windowTitleDiv","data-atom-init":"t103"}],["div",{"class":"atom-window-close-button","data-atom-presenter":"windowCloseButton","data-atom-init":"t104"}]]]];y["WebAtoms.AtomWindow.windowTemplate"]=[["iframe",{"class":"atom-window-frame","data-atom-presenter":"iframe","data-atom-init":"t105"},]];u.PageSetup=u.PageSetup||{},function(){this.t1=function(n){this.bind(n,"styleDisplay",[["isPopupOpen"]],0,function(n){return n?"":"none"});this.bind(n,"value",["selectedText"])};this.t2=function(n){this.bind(n,"placeholder",["placeholder"]);this.bind(n,"value",["displayLabel"],!0,null,"keyup")};this.t3=function(n){this.bind(n,"styleLeft",[["offsetLeft"]],0,function(n){return n+2+"px"});this.bind(n,"styleTop",[["offsetTop"]],0,function(n){return n+24+"px"});this.bind(n,"styleDisplay",[["isPopupOpen"]],0,function(n){return n?"block":"none"})};this.t4=function(n){this.setLocalValue("text",r.get(this,"data")[r.get(this,"templateParent.labelPath")],n)};this.t5=function(n){this.bind(n,"class",[["data","isWeekEnd"],["data","isOtherMonth"],["data","isToday"],["scope","itemSelected"]],0,function(n,t,i,r){return{weekend:n,other:t,today:i,selected:r}})};this.t6=function(n){this.bind(n,"text",["data","label"])};this.t7=function(n){this.setLocalValue("eventClick",r.get(this,"prevMonthCommand"),n);b.text(n,"<")};this.t8=function(n){this.setLocalValue("items",c.monthList,n);this.bind(n,"value",["templateParent","month"],!0)};this.t9=function(n){this.bind(n,"items",[["value"],["templateParent","startYear"],["value"],["templateParent","endYear"]],0,function(n,t,i,u){return r.range(n+t,i+u)});this.bind(n,"value",["templateParent","year"],!0)};this.t10=function(n){this.setLocalValue("eventClick",r.get(this,"nextMonthCommand"),n);b.text(n,">")};this.t13=function(n){this.bind(n,"checked",["scope","itemSelected"],!0)};this.t14=function(n){this.setLocalValue("text",r.get(this,"data")[r.get(this,"templateParent.labelPath")],n)};this.t15=function(n){this.bind(n,"isEnabled",[["pages","length"],["currentPage"]],0,function(n,t){return n>1&&t});this.setLocalValue("eventClick",r.get(this,"goFirstCommand"),n)};this.t16=function(n){this.setLocalValue("eventClick",r.get(this,"goPrevCommand"),n);this.bind(n,"isEnabled",["currentPage"])};this.t17=function(n){this.bind(n,"items",["atomParent","pages"]);this.bind(n,"value",["atomParent","currentPage"],!0)};this.t18=function(n){this.setLocalValue("eventClick",r.get(this,"goNextCommand"),n);this.bind(n,"isEnabled",[["currentPage"],["pages","length"]],0,function(n,t){return n1&&t1?(f={path:n,prop:t,next:r},i&&(e=f.prop||{},e.data=i,f.prop=e)):f={prop:f,path:f.path,next:f.next,scope:f.scope},function(){u.AtomWindow.openNewWindow({url:f,scope:this.get_scope(),opener:this})}};p.localWindow=function(n,t,i,r){var f=n;return arguments.length>1&&(f={path:n,prop:t,next:r,scope:i}),function(){u.AtomWindow.openNewWindow({url:f,scope:this.get_scope(),localScope:!0,opener:this})}};p.reveal=function(){return function(){}},function(n){var i=function(n){this.a=n;this.i=-1},t,r,u;i.prototype={next:function(){return this.i++,this.i=":return function(n){return n>=r};case"<":return function(n){return n":return function(n){return n>r};case"between":return function(n){return n>=r[0]&&n<=r[1]};case"equals":return r=t.escapeRegex("^",r,"$","i"),function(n){return n?r.test(n):!r};case"contains":return r=t.escapeRegex("",r,"","i"),function(n){return n?r.test(n):!1};case"startswith":return r=t.escapeRegex("^",r,"","i"),function(n){return n?r.test(n):!r};case"endswith":return r=t.escapeRegex("",r,"$","i"),function(n){return n?r.test(n):!r};case"equals":return r=t.escapeRegex("^",r,"$"),function(n){return n?r.test(n):!r};case"containscs":return r=t.escapeRegex("",r,""),function(n){return n?r.test(n):!1};case"startswithcs":return r=t.escapeRegex("^",r,""),function(n){return n?r.test(n):!r};case"endswithcs":return r=t.escapeRegex("",r,"$"),function(n){return n?r.test(n):!r};case"~":return function(n){return r.test(n)};case"in":return function(n){var t,u;if(!n)return!1;for(t=new i(r);t.next();)if(u=t.current(),u==n)return!0;return!1};case"has":return function(n){var t,u;if(!n)return!1;for(t=new i(n);t.next();)if(u=t.current(),u==r)return!0;return!1};case"any":return u=t.filter(r),function(n){var t,r;if(!n)return!1;for(t=new i(n);t.next();)if(r=t.current(),u(r))return!0;return!1};case"all":return u=t.filter(r),function(n){if(!n)return!1;for(var t=new i(n);t.next();)if(!u(item))return!1;return!0};default:return function(){return!1}}},isString:function(n){return typeof n=="string"||n instanceof String},sort:function(n){if(!t.isString(n))return n;var i=n.split(",");return i=i.map(function(n){var t=n.split(" "),i=t[1]||"asc";return{field:t[0],desc:/desc/i.test(i),cs:/^cs/i.test(i)}}),function(n,r){var e,h;if(n==null||n==undefined)return r==null||r==undefined?0:1;if(r==null||r==undefined)return 1;for(e=0;e=4;this.isFF=!0;break;case"Chrome":this.supportsUpload=this.majorVersion>=6;this.isChrome=!0;break;case"Microsoft Internet Explorer":this.supportsUpload=this.majorVersion>=10;this.isIE=!0;break;case"Safari":this.isSafari=!0;this.isMobile||(this.supportsUpload=this.majorVersion>=5)}this.supportsFlash=!this.isMobile}};n.AtomBrowser=w;w.detect();w.init();ut={ecache:{},becache:{},parse:function(n){var t=this.becache[n];if(t)return t;var u=[],f=[],e=n.replace(/(?:(\$)(window|appScope|scope|data|owner|localScope|templateParent))(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*/gi,function(n){var t="v"+(u.length+1);return n=n.indexOf("$owner.")==0?n.substr(7):n.indexOf("owner.")==0?n.substr(6):n.substr(1),u.push(n.split(".")),f.push(t),t}),i="return "+e+";",o=i;try{i=ut.compile(f,i)}catch(s){r.alert("Error executing \n"+o+"\nOriginal: "+n);throw s;}return t={length:f.length,method:i,path:u,original:e},this.becache[n]=t,t},compile:function(n,t){var r=n.join("-")+":"+t,i=this.ecache[r];return i?i:(n.push("Atom"),n.push("AtomPromise"),n.push("$x"),i=new Function(n,t),this.ecache[r]=i,i)}};n.AtomEvaluator=ut;a=null;w.isIE&&w.majorVersion<9?(a=function(n){this.index=-1;this.nextItem=n.firstChild;this.findNext();this.item=null},a.prototype={findNext:function(){for(var n=this.nextItem;n&&n.nodeType!==1;)n=n.nextSibling;this.nextItem=n;this.index++},isFirst:function(){return this.index===1},isLast:function(){return this.item&&!this.nextItem},next:function(){return(this.item=this.nextItem,!this.item)?!1:(this.nextItem=this.item.nextSibling,this.findNext(),this.item?!0:!1)},current:function(){return this.item}},n.ChildEnumerator=a):(a=function(n){this.nextItem=n.firstElementChild;this.item=null;this.first=!0},a.prototype={isFirst:function(){return!this.item.previousElementSibling},isLast:function(){return this.item&&!this.nextItem},next:function(){return(this.item=this.nextItem,!this.item)?!1:(this.nextItem=this.item.nextElementSibling,this.item?!0:!1)},current:function(){return this.item}},n.ChildEnumerator=a);e=function(){return classCreator("AtomEnumerator",null,function(n){this._array=n;this.i=-1},{next:function(){return this.i=this.i+1,this.i9?t:"0"+t,r+="/"+(i>9?i:"0"+i),r+("/"+u)},toShortDateString:function(n){if(!n)return"";if(n.constructor==String)if(/^\/date\(/gi.test(n))n=n.substr(6),n=new Date(parseInt(n,10));else throw new Error("Invalid date format "+n);return this.m_names[n.getMonth()]+" "+n.getDate()+", "+n.getFullYear()},toDateTimeString:function(n){if(!n)return"";n.constructor==String&&(n=n.substr(6),n=new Date(parseInt(n,10)));var t=c.toShortDateString(n);return t+" - "+c.toTimeString(n)},toTimeString:function(n){var i,r,t;return(n=c.parse(n),!n)?"":(i=n.getHours(),r="AM",i==12?r="PM":i>12&&(i=i-12,r="PM"),t=n.getMinutes(),t<10?t="0"+t:(t=t+"",t.length==1&&(t=t+"0")),i+":"+t+" "+r)},smartDate:function(n){var t,i,r;if(!n)return null;if(t=c.parse(n),i=new Date,i.getFullYear()===t.getFullYear()&&i.getMonth()===t.getMonth()){r=i.getDate()-t.getDate();switch(r){case-1:return"Tomorrow ("+c.toTimeString(t)+")";case 0:return"Today ("+c.toTimeString(t)+")";case 1:return"Yesterday ("+c.toTimeString(t)+")"}}return c.toDateTimeString(t)},smartDateUTC:function(n){return c.smartDate(n)},jsonDate:function(n){var t=c.parse(n);return{Year:t.getFullYear(),Month:t.getMonth()+1,Date:t.getDate(),Hours:t.getHours(),Minutes:t.getMinutes(),Seconds:t.getSeconds(),Offset:c.zoneOffsetMinutes}},toUTC:function(n){if(!n)return"";n=c.parse(n);return new Date(n.getTime()+c.zoneOffset)},parse:function(n){var u;if(!n)return null;if(n.constructor!==String)return n;if(/^\/date\([\-0-9]+\)\//gi.test(n))n=new Date(parseInt(n.substr(6),10));else{if(/^\/dateiso/gi.test(n)){n=n.substr(9);n=n.substr(0,n.length-1);var r=n.split("T"),t=r[0],i=r[1];return t=t.split("-"),i=i.split(":"),u=new Date(t[0],parseInt(t[1])-1,t[2],i[0],i[1],parseFloat(i[2])),new Date(u.getTime()+c.zoneOffset)}n=Date.parse(n)}return n}};n.AtomDate=c;c.monthList=[{label:"January",value:1},{label:"February",value:2},{label:"March",value:3},{label:"April",value:4},{label:"May",value:5},{label:"June",value:6},{label:"July",value:7},{label:"August",value:8},{label:"September",value:9},{label:"October",value:10},{label:"November",value:11},{label:"December",value:12}];ct={toFileSize:function(n){return n?(n.constructor==String&&(n=parseInt(n,10)),n>1073741824)?Math.round(n/1073741824)+" GB":n>1048576?Math.round(n/1048576)+" MB":n>1024?Math.round(n/1024)+" KB":n+" B":""}};n.AtomFileSize=ct;lt={toSmallPhoneString:function(n){var t,i;if(!n)return"";t=n.split(":",6);i=t[2];i="("+(/^\+/.test(i)?"":"+")+t[2]+") ";var r=t[3],u=t[4],f=t[5];return r?i+r:""},toPhoneString:function(n){var i;if(!n)return"";var t=n.split(":",6),e="(+"+t[2]+") ",r=t[3],u=t[4],f=t[5];return r?(i=e+r,u&&(i+=" (ext: "+u+")"),f&&(i+=" ("+f+")"),i):""}};n.AtomPhone=lt;$f.get=r.get;$f.compileSelect=function(n){return n?n.constructor==String?function(t){return r.get(t,n)}:function(t){var f={},i,u;for(i in n)u=n[i],i=JSON.stringify(i),f[i]=u?r.get(t,u):r.get(t,i);return f}:function(n){return n}};et={firstOrDefault:function(n){for(var i=$f(n),t;this.next();)if(t=this.current(),i(t))return t;return null},first:function(n){for(var i=$f(n),t;this.next();)if(t=this.current(),i(t))return t;throw new Error("Item not found in collection");},where:function(n){for(var r=$f(n),i=[],t;this.next();)t=this.current(),r(t)&&i.push(t);return new e(i)},toArray:function(){for(var n=[];this.next();)n.push(this.current());return n},any:function(n){return this.firstOrDefault(n)?!0:!1},select:function(n){for(var r=$f.compileSelect(n),t=[],i;this.next();)i=this.current(),t.push(r(i));return new e(t)},join:function(n){for(var t=[];this.next();)t.push(this.current());return t.join(n)},count:function(n){if(n)return this.where(n).count();for(var t=0;this.next();)t++;return t},sum:function(n){for(var i=0,u=this,t;u.next();)t=u.current(),n&&(t=r.get(t,n)),i+=+(t||0);return i},groupBy:function(n){for(var s=$f.compileSelect(n),u=this,f={},e=[];u.next();){var o=u.current(),i=s(o),t=f[i];t||(t=[],f[i]=t,e.push({key:i,items:t}));t.push(o)}return r.query(e)}};n.AtomQuery=et;for(ot in et)e.prototype[ot]=et[ot];r.query=function(n){return n.length!==undefined?new e(n):n};f={nodeValue:w.isIE&&w.majorVersion<9?"nodeValue":"value",attributeMap:function(n,t){var r,i,u={},o=new e(n.attributes);if(t){while(o.next())r=o.current(),i=r.nodeName,/^data\-/i.test(i)&&(i=i.substr(5)),t.test(i)&&(t.lastIndex=0,u[i]={value:r[f.nodeValue],node:r});return u}while(o.next())r=o.current(),i=r.nodeName,/^data\-/i.test(i)&&(i=i.substr(5)),u[i]={value:r[f.nodeValue],node:r};return u},attr:function(n,t,i){if(i!==undefined)return/^(atom|style)\-/.test(t)&&(t="data-"+t),n.setAttribute(t,i),i;return n.getAttribute("data-"+t)||n.getAttribute(t)},removeAttr:function(n,t){n.removeAttribute(t);n.removeAttribute("data-"+t)},getAtomType:function(n){return f.attr(n,"atom-type")},cloneNode:w.isIE&&w.majorVersion<8?function(t){for(var s=n.document,r=s.createElement(t.nodeName),h=new e(t.attributes),u,c,o,i,l;h.next();){u=h.current();try{if(c=u.nodeName,o=u[f.nodeValue],!o)continue;r.setAttribute(c,o)}catch(a){}}for(i=t.firstChild;i;)i.nodeType==3?(l=s.createTextNode(i.nodeValue),r.appendChild(l)):i.nodeType==1&&r.appendChild(f.cloneNode(i)),i=i.nextSibling;return r}:function(n){return n.cloneNode(!0)},findPresenter:function(n){for(var r=new a(n),t,u,i;r.next();){if(t=r.current(),u=f.attr(t,"atom-presenter"),u)return t;if(i=f.findPresenter(t),i)return i}return null},parseUrl:function(n){for(var i={},o=n.split("&"),r=new e(o);r.next();){var u=r.current().split("="),s=u[0],t=u[1];t&&(t=decodeURIComponent(t));t=f.parseValue(t);i[s]=t}return i},parseValue:function(n){var t;return/^[0-9]+$/.test(n)?(t=parseInt(n,10),isNaN(t)||(n=t),n):/^[0-9]+\.[0-9]+/gi.test(n)?(t=parseFloat(n),isNaN(t)||(n=t),n):/true/.test(n)?!0:/false/.test(n)?!1:n},cancelEvent:function(n){var t=n.target;if(!t||!/input/gi.test(t.nodeName)||!/checkbox/gi.test(t.type))return n.preventDefault?n.preventDefault():n.stop(),n.returnValue=!1,n.stopPropagation(),!1},assignID:function(n){return n.id||(n.id="__waID"+f.getNewIndex()),n.id},atomParent:function(t){return t.atomControl?t.atomControl:t===h||t===n||!t.parentNode?null:f.atomParent(t._logicalParent||t.parentNode)},toNumber:function(n){return n?n.constructor==String?parseFloat(n):n:0},isNode:function(t){try{if(n.XMLHttpRequest&&t instanceof XMLHttpRequest)return!0}catch(i){}return t===n||t===h?!0:typeof Node=="object"?t instanceof Node:typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.nodeName=="string"},createDelegate:function(n,t){return this.getDelegate(n,t,!0)},getDelegate:function(n,t,i){var r,u,f;if(t&&t.constructor!=String)throw new Error("methodName has to be string");if(r=n.__delegates,!r){if(!i)return null;r={};n.__delegates=r}if(u=r[t],!u){if(!i)return null;if(f=n[t],!f)throw new Error("method "+t+" not found");u=function(){return f.apply(n,arguments)};r[t]=u}return u},__index:1e3,getNewIndex:function(){return this.__index=this.__index+1,this.__index},contains:function(n,t){for(var r=n.length,i=0,i=0;i1&&(e=t[0],h=t[1])));this.host=e;this.protocol=s;this.port=h;this.path=i;this.query=f.parseUrl(u);this.hash=f.parseUrl(o)};nt={stack:[],startOrder:2e3,show:function(n,t,r,u){if(t.style.zOrder=this.startOrder++,r==0){var f=i(n).offset();t.style.position="absolute";t.style.left=f.left+"px";t.style.top=f.top+i(n).outerHeight(!0)+"px"}t.style.visibility="visible";this.stack.push({parent:n,element:t,removeHandler:u})},peek:function(){var n=null;return this.stack.length>0&&(n=this.stack[this.stack.length-1]),n},hide:function(n){var i=this.peek(),t;i&&i.element===n&&(n.style.visibility="hidden",t=this.stack.pop(),t.removeHandler&&t.removeHandler(t.element))},clicked:function(n){var i=n.target,t=nt.peek();if(t){while(i&&i!=t.element&&i!=t.parent)i=i.parentNode;i!=t.element&&i!=t.parent&&(t.element.style.visibility="hidden",this.stack.pop(),t.removeHandler&&t.removeHandler(t.element))}}};n.AtomPopup=nt;n.simulateParentClick=function(){var n=null,t;try{n=frameElement}catch(i){return}n&&parent&&(t=parent.$,t(frameElement).click(),n.simulateParentClick&&n.simulateParentClick())};i(n).click(function(t){nt.clicked(t);n.simulateParentClick()});Array.prototype.enumerator=function(){return new e(this)};Array.prototype.indexOf||(Array.prototype.indexOf=function(n){for(var t=0,t=0;t "+i.map(r,function(n){return n.path}).join(".")),f},onValChanged:function(){var n=this;u.dispatcher.callLater(function(){n.onPropChanged(null,null)})},setup:function(){if(this.twoWays)if(this.jq){if(this.bindEvent(this.element,"change","onValChanged"),this.bindEvent(this.element,"blur","onValChanged"),this.events)for(var n=new e(this.events.split(","));n.next();)this.bindEvent(this.element,n.current(),"onValChanged")}else this.bindEvent(this.control,"WatchHandler","onPropChanged",this.key);this.onDataChanged(this,null)},setValue:function(n){!this.pathList&&this.vf&&(n=[n]);this.vf&&(n.push(r),n.push(s),n.push(p),n=this.vf.apply(this,n));n instanceof s&&(n._persist=!0);this._lastValue=n;this._isUpdating=!0;this.control.setLocalValue(this.key,n,this.element,!0);this._isUpdating=!1}}})}(u.AtomComponent.prototype);ft={};n.allControls=ft,function(t){return classCreator("WebAtoms.AtomDispatcher",t,function(){this._paused=!1;this.head=null;this.tail=null;this.onTimeout=function(){if(!this._paused&&this.head){var t=this.head;this.head=t.next;t.next=null;this.head||(this.tail=null);t();n.setTimeout(this._onTimeout,1)}};var t=this;this._onTimeout=function(){t.onTimeout()}},{pause:function(){this._paused=!0},start:function(){this._paused=!1;n.setTimeout(this._onTimeout,1)},callLater:function(n){this.tail?(this.tail.next=n,this.tail=n):(this.head=n,this.tail=n);this._paused||this.start()},setupControls:function(){var n=i("[data-atom-type],[atom-type]").first()[0],t,r,e;(n.atomControl==undefined||n.atomControl==null)&&(t=f.getAtomType(n),i(n).removeAttr("atom-type"),i(n).removeAttr("data-atom-type"),r=new u[t](n),r.setup(),e=this,this.callLater(function(){e.callLater(function(){var n=atomApplication._element;(n.style.visibility=="hidden"||i(n).css("visibility")=="hidden")&&(n.style.visibility="visible",n.atomControl.updateUI())})}))}})}();u.dispatcher=new u.AtomDispatcher;yt=function(){return createClass({name:"AtomValidator",start:function(n){this.value=n;this.list={};this.errors=[]},methods:{dispose:function(){this.value=null;this.errors=null;this.list=null},set:function(n,t){this.list[n]=t},reset:function(){this.errors=null;this.invoke(!0);this.refresh()},clear:function(){this.errors=[]},invoke:function(n){var t,r,u,f;if(this.refreshing||!n&&this.errors)return this.errors;if(t=[],u=this.list.invalid,u!==undefined)return u?(r=u(),r&&(i.isArray(r)?t=t.concat(r):t.push(r)),this.errors=t,t):(this.errors=t,t);for(f in this.list)(r=this.list[f],r)&&(r=r(),r&&(i.isArray(r)?t=t.concat(r):t.push(r)));return t.length?(this.errors=t,t):null},refresh:function(n){var i,r;if(!this.refreshing){this.refreshing=!0;try{n=n||this.value;i=n.atomControl;i&&t.refreshValue(i,"errors")}finally{this.refreshing=!1}r=n._logicalParent||n.parentNode;r&&this.refresh(r)}}}})}(n);n.errors={set:function(n,t,i){var r=n.atomValidator;r||(r=new yt(n),n.atomValidator=r);r.set(t,i)},clear:function(n,t){var r=n.atomValidator,i;if(r&&r.clear(),this.refresh(n),t)for(i=new a(n);i.next();)this.clear(i.current(),t)},get:function(n,t){var i=[],e=n.atomValidator,r,f,u;if(e&&(r=e.invoke(),r&&r.length&&(i=i.concat(r.filter(function(n){return n}).map(function(t){return{label:t,value:n}}))),i&&i.length))return i;if(t)for(f=new a(n);f.next();)u=this.get(f.current(),t),u&&u.length&&(i=i.concat(u));return i},refresh:function(n){var t=n.atomValidator;t&&t.refresh()},reset:function(n){var t=n.atomValidator;t&&t.reset()},validate:function(n){var i=n.atomValidator,t,r;if(i){i.reset();return}for(t=new a(n);t.next();)r=t.current(),this.validate(r)}};it=n.errors,function(t){return classCreator("WebAtoms.AtomUIComponent",t,function(){},{get_owner:function(){return this},get_appScope:function(){return appScope},get_scope:function(){if(this._scope===undefined){var n=this.get_atomParent(this._element._logicalParent||this._element.parentNode);return n?n._localScope||n.get_scope():appScope}return this._scope},get_localScope:function(){if(this._localScope===undefined){var n=this.get_atomParent(this._element._logicalParent||this._element.parentNode);if(n)return n.get_localScope();throw new Error("Local Scope does not exist");}return this._localScope},set_scope:function(t){var u=this._localScope||this.get_scope(),i,r;for(i in t){if(/^(application|owner|app|parent)$/gi.test(i))throw new Error("Invalid name for the scope property");(r=t[i],u!=n.appScope||n.atomApplication._ready||i.indexOf("_")!=0&&r!==undefined&&r!==null&&/string|number|boolean/i.test(typeof r)&&(atomApplication._defaultScope[i]=r),u[i]===undefined)&&(u[i]=r)}},get_name:function(){return this._name},getTemplate:function(n){var t=this["_"+n];return t!==undefined&&t!==null?t:(t=k.get(this.constructor,n),!t)?null:(this["_"+n]=t,t)}},{next:null,value:undefined})}(u.AtomComponent.prototype);k.compiled={};k.compileElement=function(n){var i=new e(n),t,r,u;if(i.next(),t=i.current(),r=h.createElement(t),!i.next())return r;if(t=i.current(),t)for(u in t)r.setAttribute(u,t[u]);while(i.next()){if(t=i.current(),!t)break;t.constructor==String?r.appendChild(h.createTextNode(t)):r.appendChild(k.compileElement(t))}return r};k.compileJsonML=function(n){if(n.length==1)return k.compileElement(n[0]);for(var t=[],i=new e(n);i.next();)t.push(k.compileElement(i.current()));return t};k.compile=function(n,t,r){var u=h.createElement("div");return u.innerHTML=r,i(u).children().length==1&&(r=f.cloneNode(u.firstElementChild||u.children[0])),r};k.get=function(n,t){var r=n.__typeName+"."+t,i=this.compiled[r];return i?i:(i=k.jsonML[r],i?i=k.compileJsonML(i):n.__baseType&&(i=k.get(n.__baseType,t)),!i)?null:(this.compiled[r]=i,i)};k.compileType=function(n){var r=n.__typeName,u=r.split("."),t,f,o,e,i;if(u=u[u.length-1],t=this.compiled[r],t)return t;if(t={},f=this[r]||this[u],f)for(i in f)t[i]=this.compile(n,i,f[i]);if(n.__baseType){o=this.compileType(n.__baseType);for(e in o)t[e]||(t[e]=o[e])}return this.compiled[r]=t,i=this,delete i[r],delete i[u],t};st={"{":function(n,i,u,f){var o,c,l,h;if(u=u.substr(1,u.length-2),o=ut.parse(u),o.path)for(c=new e(o.path),u=[];c.next();){for(l=new e(c.current()),h=n;l.next();)h=t.getValue(h,l.current());u.push(h)}else u=[u];u.push(r);u.push(s);u.push(p);u=o.method.apply(null,u);n.setLocalValue(i,u,f)},"[":function(n,i,r,u){r=r.substr(1,r.length-2);var f=ut.parse(r);f.length==0?(r=eval(r),t.setValue(n,i,r)):f.length==1&&f.path[0]==f.original?n.bind(u,i,r,!1):n.bind(u,i,f.path,!1,f.method)},"$[":function(n,t,i,r){var f=i.lastIndexOf("]"),u=null;f()\[\]\\.,;:\s@\"]+(\.[^<>()\[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,r="Invalid email"),i.test(n)?null:r};b.validate({control:this,element:n,value:t,key:"dataType",eventName:"change,blur",valueFunction:r,validator:u})},mask:function(n,t){t?t.constructor===String?i(n).mask(t):i(n).mask(t.mask,t.settings):i(n).unmask()},html:function(n,t){n.innerHTML=t},absPos:function(n,t){b.setPosition(!0,n,t)},relPos:function(n,t){b.setPosition(!1,n,t)},"class":function(n,t){n.atomClass&&i(n).removeClass(n.atomClass);t&&(t=f.createCss(t),t&&i(n).addClass(t),n.atomClass=t)},setPosition:function(n,t,i){var r=i,e,o,u,f;r.constructor==String&&(r=eval("["+r+"]"));t.style.position=n?"absolute":"relative";e=r[0];o=r[1];e!==null&&(t.style.left=e+"px");o!==null&&(t.style.top=o+"px");r.length>2&&(u=r[2],f=r[3],u!==undefined&&u!==null&&(t.style.width=u+"px"),f!==undefined&&f!==null&&(t.style.height=f+"px"))}};n.AtomProperties=b,function(o){return classCreatorEx({name:"WebAtoms.AtomControl",base:o,start:function(n){n.atomControl=this;this._element=n;this.dispatcher=u.dispatcher;this.bindings=[];this._isVisible=!0;var t=n.id;t&&appScope&&(/^\_\_waID/.test(t)||(appScope[t]=this));f.assignID(n);ft[t]=this},properties:{layout:null,loadNext:null,next:null,merge:undefined,value:undefined},methods:{set_merge:function(n){var t,i,f,u;if((this._mergeData2=null,n)&&(t=n.data,t&&(r.merge(this.get_data(),t,!0),this._mergeData2=t),t=n.scope,t&&r.merge(this.get_scope(),t,!0),t=n.appScope,t&&r.merge(this.get_appScope(),t,!0),t=n.localScope,t&&r.merge(this.get_localScope(),t,!0),t=n.owner,t&&r.merge(this,t,!0),i=n.timeOut||n.timeout,i)){f=this;u=100;i.hasOwnProperty("length")&&i.length>1&&(u=i[0],i=i[1]);setTimeout(function(){f.set_merge(i)},u);return}},invokeAction:function(n,t){try{wt.call(this,n,t)}catch(i){r.alert(i);console.error&&console.error(i)}},refresh:function(){},get_element:function(){return this._element},clearBinding:function(n,t){for(var i=new e(this.bindings),r,u=[];i.next();)(r=i.current(),n&&r.element!=n)||t&&r.key!=t||(r.dispose(),u.push(r));for(i=new e(u);i.next();)tt.remove(this.bindings,i.current())},addBinding:function(n,t,i,r,f,e,o,s){this.clearBinding(t,i);var h=new u.AtomBinding(n,t,i,r,f,e,o,s);this.bindings.push(h);h.setup()},get_errors:function(){return n.errors.get(this._element,!0)},get_atomParent:function(t){if(t==null)if(this._element._logicalParent||this._element.parentNode)t=this._element._logicalParent||this._element.parentNode;else return null;return t.atomControl?t.atomControl:t===h||t===n||!t.parentNode?null:this.get_atomParent(t._logicalParent||t.parentNode)},get_templateParent:function(n){if(n||(n=this._element),n._templateParent)return n._templateParent;var t=n._logicalParent||n.parentNode;if(!t)throw new Error("Could not find templateParent");return this.get_templateParent(n._logicalParent||n.parentNode)},get_data:function(){if(this._data===undefined){var n=this.get_atomParent(this._element._logicalParent||this._element.parentNode);if(n)return n.get_data()}return this._data},set_data:function(n){this._data=n;this.mergeData();this.updateChildBindings(this._element)},validate:function(){it.validate(this._element)},mergeData:function(){this._mergeData2&&r.merge(this.get_data(),this._mergeData2,!0)},updateChildBindings:function(n){for(var u=new a(n),i,r;u.next();){if(i=u.current(),i.atomControl&&i.atomControl._created){if(r=i.atomControl,r._data!==undefined)continue;t.refreshValue(r,"data");r.mergeData()}this.updateChildBindings(i)}},initProperties:function(){if(!this._disposed){var n=this.get_element();this.setProperties(n);this._created=!0;this.onCreated();this.onLoaded()}},createChildren:function(){var n,u,o,r,t;this.onCreateChildren(this._element);if(n=this.getTemplate("template"),n&&(u=new a(this._element),!u.next())){if(n.constructor==String)this._element.innerHTML=n,o=this,i(this._element).children().each(function(){this._templateParent=o});else if(f.isNode(n))n=f.cloneNode(n),n._templateParent=this,this._element.appendChild(n);else for(r=new e(n);r.next();)t=r.current(),t=f.cloneNode(t),t._templateParent=this,this._element.appendChild(t);this.onCreateChildren(this._element)}},onCreateChildren:function(n){for(var s=new a(n),t,i,r,u,e,h,o;s.next();){if(t=s.current(),i=f.attributeMap(t,/^atom\-(template|presenter|type|template\-name)$/gi),r=i["atom-template"],r){t.removeAttributeNode(r.node);n.templateOwner=!0;this["_"+r.value]=t;n.removeChild(t);continue}if(u=i["atom-template-name"],u){t.removeAttributeNode(u.node);this._scopeTemplates=this._scopeTemplates||{};this._scopeTemplates[u.value]=t;n.removeChild(t);continue}if(e=i["atom-presenter"],e&&(h=f.getPresenterOwner(this,e.value),h["_"+e.value]=t),o=i["atom-type"],o)f.createControl(t,o.value);else this.onCreateChildren(t)}},onLoaded:function(){},onUpdateUI:function(){this._layout?this._layout.doLayout(this._element):this.updateChildUI(this.get_element())},updateUI:function(){var n=this;this.dispatcher.callLater(function(){n.onUpdateUI()})},updateChildUI:function(n){var i,t;for(n||(n=this._element),i=new a(n);i.next();){if(t=i.current(),t.atomControl){t.atomControl.updateUI();continue}this.updateChildUI(t)}},onCreated:function(){this.updateUI()},setProperties:function(n){var t,o,r,b=n.attributes,f=new e(b),s=[],y="value",h,c,p,l,v;for(w.isIE&&w.majorVersion<9&&(y="nodeValue"),h={},c=null;f.next();){if(r=f.current(),t=r.nodeName,o=r[y],t==="data-atom-init"){c=o;s.push(r);continue}if(/^data\-atom/.test(t)&&(t=t.substr(5)),!/^atomControl$/g.test(t)){if(/^atom\-type$/.test(t)){s.push(r);continue}/^(atom|bind|style|event)\-/g.test(t)&&(/^(style|event)\-/g.test(t)||(t=t.substr(5)),o)&&(/(^style$|dock)/.test(t)||s.push(r),t=i.camelCase(t),h[t]=o)}}c&&(p=u.PageSetup[c],p.call(this,n));for(t in h)this.setValue(t,h[t],!0,n);for(f=new e(s);f.next();)n.removeAttributeNode(f.current());for(l=new a(n);l.next();)(v=l.current(),v.atomControl)||this.setProperties(v)},setValue:function(n,t,i,r){if(t&&t.constructor==String){var f=t[0],u=st[f];if(u){u(this,n,t,r);return}if(f+=t[1],u=st[f],u){u(this,n,t,r);return}}this.setLocalValue(n,t,r)},setLocalValue:function(n,i,r,u){var o,e,h,l,f,a,c;if(i!==undefined){if(i&&i instanceof s){r._promisesQueue=r._promisesQueue||{};o=r._promisesQueue[n];o&&o.abort();r._promisesQueue[n]=i;i._persist&&(this._promises=this._promises||{},this._promises[n]=i);e=this;i.then(function(t){r._promisesQueue[n]==t&&(r._promisesQueue[n]=null);r._promisesQueue[n]=null;e.setLocalValue(n,t.value(),r,!0);e._loadNext&&e.invokeAction(e._loadNext)});i.failed(function(t){r._promisesQueue[n]==t&&(r._promisesQueue[n]=null)});i.invoke();return}if(this._element==r&&(h=this["set_"+n],h!=null)){if(u&&(l=t.getValue(this,n),l==i))return;h.apply(this,[i]);u&&t.refreshValue(this,n);return}if(/^style/g.test(n)&&n.length>5){f=n.substr(5);f=String.fromCharCode(f.charCodeAt(0)).toLowerCase()+f.substr(1);r.style[f]=i;return}if(/^event/g.test(n)&&n.length>5){f=n.substr(5);f=String.fromCharCode(f.charCodeAt(0)).toLowerCase()+f.substr(1);a=this;this.unbindEvent(r,f);this.bindEvent(r,f,null,null,function(n){a.invokeAction(i,n)});return}c=b[n]||b.any;c&&c.call(this,r||this._element,i,n)}},bind:function(t,i,r,u,f,e){var s,c,o,h;if(r==null){this.clearBinding(t,i);return}s=this;r&&r.constructor==String&&/^window\./g.test(r)&&(s=n);c=this.get_element();o=c!=t;o||(h=this["get_"+i],(h==undefined||h==null)&&(o=!0));switch(i){case"value":/input/gi.test(t.nodeName)&&(o=!0);this.addBinding(s,t,"value",r,u,o,f,e);break;case"text":this.addBinding(s,t,"text",r,!1,!0,f,e);break;default:this.addBinding(s,t,i,r,u,o,f,e)}},onInitialized:function(){},init:function(){var l,e,r,s,a,h;o.init.apply(this,arguments);var i=this.get_element(),c=f.attributeMap(i,/^atom\-(name|local\-scope)$/gi),n=c["atom-name"];if(n?(i.removeAttributeNode(n.node),n=n.value):(l=i.id,/^\_\_waID/.test(l)||(n=i.id)),n){if(/^(app|window|owner|scope|localScope|parent)$/gi.test(n))throw new Error("Invalid Control Name '"+n+"'");r=this.get_scope();t.setValue(r,n,this);this._name=n}if(ls=c["atom-local-scope"],ls&&(this._localScope=new g(this,this.get_scope(),atomApplication),this._scope=this._localScope,this._name&&(this._localScope[this._name]=this),i.removeAttributeNode(ls.node)),e=this._scopeTemplates,e){r=this.get_scope();for(s in e)a=e[s],t.setValue(r,s,a)}h=this;u.dispatcher.callLater(function(){h.initProperties()});this.initChildren(this._element);u.dispatcher.callLater(function(){h.onInitialized()})},dispose:function(n){var t,r;if(n){t=n.atomControl;t?t.dispose():(this.clearBinding(n),this.disposeChildren(n));i(n).remove();return}n=this._element;this._disposed=!0;this.disposeChildren(n);this.clearBinding();this.bindings.length=0;r=n.atomValidator;r&&(r.dispose(),n.atomValidator=undefined);o.dispose.apply(this,arguments)},disposeChildren:function(n){for(var u=w.isIE&&w.majorVersion<9,r=new a(n),t;r.next();)t=r.current(),t.atomControl?(t.atomControl.dispose(),u?t.atomControl=undefined:delete t.atomControl):(this.clearBinding(t),this.unbindEvent(t),this.disposeChildren(t));try{n.innerHTML=""}catch(f){i(n).html("")}},get_innerTemplate:function(){return this._template},set_innerTemplate:function(n){if(this._template!==n||!this._created){if(!this._created){var t=this;u.dispatcher.callLater(function(){t.set_innerTemplate(n)});return}this._template=n;this.disposeChildren(this._element);this.createChildren();this.setProperties(this._element);this.initChildren(this._element);this.updateUI()}},initChildren:function(n){for(var f=new a(n),t,o,s=[],u;f.next();){if(t=f.current(),t.nodeName=="SCRIPT"){if(u=i.trim(t.innerHTML),/^\(\{/.test(u)&&/\}\)$/.test(u))try{u=new Function("return "+u+";")();this.set_scope(u)}catch(h){rt(JSON.stringify(h));r.alert(JSON.stringify(h))}s.push(t);continue}o=t.atomControl;o?o.init():this.initChildren(t)}for(f=new e(s);f.next();)n.removeChild(f.current())}}})}(u.AtomUIComponent.prototype),function(o){return classCreatorEx({name:"WebAtoms.AtomItemsControl",base:o,start:function(){this._selectedItems=[];this._selectedElements=[];this._selectedIndexSet=!1;this._onUIChanged=!1;this._itemsPresenter=null;this._itemsPanel=null;this._presenters=["itemsPresenter","virtualContainer"];this._childItemType=u.AtomControl},properties:{allowSelectFirst:!1,allowMultipleSelection:!1,uiVirtualize:!1,defaultValue:null,autoScrollToSelection:!1,selectAll:undefined,labelPath:"label",valuePath:"value",sortPath:null,valueSeparator:null,postData:null,errorNext:null,postUrl:null,confirm:!1,confirmMessage:null,filter:null,items:null,itemTemplate:null},methods:{get_postData:function(){return this._postData||this.get_selectedItem()},get_allValues:function(){if(this._valueSeparator&&this._valuePath){for(var n=[],i=this._valuePath,u=function(n){return n[i]},t=r.query(this.get_dataItems());t.next();)n.push(u(t.current()));return n.join(this._valueSeparator)}},get_value:function(){var n,t;return this._allowMultipleSelection?(n=this._selectedItems,n.length==0)?this._value!==undefined?this._value:null:(n=tt.getValues(n,this._valuePath),this._valueSeparator&&(n=n.join(this._valueSeparator)),n):(t=this.get_selectedItem(),!t)?this._value!==undefined?this._value:null:(this._valuePath&&(t=t[this._valuePath]),t)},set_value:function(n){var r,u,i;if(this._value=n,n===undefined||n===null){t.clear(this._selectedItems);return}for(r=this.get_dataItems(),this._allowMultipleSelection&&this._valueSeparator?(n.constructor!=String&&(n=""+n),n=tt.split(n,this._valueSeparator)):n=[n],u=tt.intersect(r,this._valuePath,n),this._selectedItems.length=0,i=new e(u);i.next();)this._selectedItems.push(i.current());t.refreshItems(this._selectedItems)},set_sortPath:function(n){if(this._sortPath=n,n)this.onCollectionChangedInternal("refresh",-1,null)},set_selectAll:function(n){var i,r;if(n!==undefined&&n!==null){if(this._selectedItems.length=0,i=this.get_dataItems(),n&&i)for(r=new e(i);r.next();)this._selectedItems.push(r.current());this._selectAll=!0;t.refreshItems(this._selectedItems)}},refresh:function(){this._promises&&this._promises.items&&this._promises.items.invoke()},set_defaultValue:function(n){this.get_value()||t.setValue(this,"value",n)},invokePost:function(){var u,n,f,i,e;if(this._onUIChanged){if(u=this.get_errors(),u.length)return r.alert(u.join("\n")),!1;if(!this._confirm||confirm(this._confirmMessage)){if(!this._postUrl){this.invokeAction(this._next);return}(n=this.get_postData(),n!==null&&n!==undefined)&&(n=t.getClone(n),f=this,i=s.json(this._postUrl,null,{type:"POST",data:n}),i.then(function(){f.invokeNext()}),e=this._errorNext,e&&i.failed(function(){f.invokeAction(e)}),i.invoke())}}},invokeNext:function(){this.invokeAction(this._next)},set_filter:function(n){if(n!=this._filter&&(this._filter=n,this._filteredItems=null,this.hasItems()))this.onCollectionChangedInternal("refresh",-1,null)},isSelected:function(n){for(var t=new e(this._selectedItems),i=null;t.next();)if(i=t.current(),i==n)return!0;return!1},get_dataItems:function(){var t=this._items,u,f,o,s,h,c;if(this.hasItems()){if(u=this._filter,u){if(f=[],typeof u=="object")f=r.query(t).where(u).toArray();else for(o=new e(t);o.next();)s=o.current(),u(s,o.currentIndex())&&f.push(s);this._filteredItems=f;t=f}return h=this._sortPath,h&&(c=n.AtomFilter.sort(h),t=t.sort(c)),t}return i(this._itemsPresenter).children()},getIndexOfDataItem:function(n){if(n==null)return-1;for(var i=this.get_dataItems(),t=new e(i);t.next();)if(t.current()==n)return t.currentIndex();return-1},getDataItemAtIndex:function(n){return n==-1?null:this.get_dataItems()[n]},get_childAtomControls:function(){for(var r=this._itemsPresenter||this._element,t=[],i=new a(r),n;i.next();)(n=i.current(),n=!n||n.atomControl,n)&&t.push(n);return t},get_selectedChild:function(){var i=this.get_selectedItem(),n,t;if(!this.hasItems())return i;for(n=new a(this._itemsPresenter);n.next();)if(t=n.current(),t.atomControl.get_data()==i)return t;return null},set_allowSelectFirst:function(n){n=n?n!="false":n;this._allowSelectFirst=n},get_selectedItem:function(){return this._selectedItems.length>0?this._selectedItems[0]:null},set_selectedItem:function(n){n?(this._selectedItems.length=1,this._selectedItems[0]=n):this._selectedItems.length=0;t.refreshItems(this._selectedItems)},get_selectedItems:function(){return this._selectedItems},set_selectedItems:function(){throw new Error("Not yet implemented");},get_selectedIndex:function(){var n=this.get_selectedItem();return this.getIndexOfDataItem(n)},set_selectedIndex:function(n){t.setValue(this,"selectedItem",this.getDataItemAtIndex(n))},updateChildSelections:function(){},bringSelectionIntoView:function(){var r,u,t,n,o;if(!this._allowSelectFirst||this.get_selectedIndex()!=0){if(this._uiVirtualize){if(r=this.get_selectedIndex(),!this._ready){u=this;setTimeout(function(){u.bringSelectionIntoView()},1e3);return}var s=this._avgHeight,f=i(this._virtualContainer),e=f.innerHeight(),h=Math.ceil(e/s),c=h*this._columns,l=Math.floor(r/c);f.scrollTop(l*e);return}for(t=new a(this._itemsPresenter);t.next();)if(n=t.current(),o=n.atomControl?n.atomControl.get_data():n,this.isSelected(o)){n.scrollIntoView();return}}},updateSelectionBindings:function(){t.refreshValue(this,"value");t.refreshValue(this,"selectedItem");t.refreshValue(this,"selectedItems");t.refreshValue(this,"selectedIndex");this._selectedItems.length||this._selectAll===!0&&(this._selectAll=!1,t.refreshValue(this,"selectAll"))},onSelectedItemsChanged:function(n,t,i){this._onUIChanged||(this.updateChildSelections(n,t,i),this._autoScrollToSelection&&this.bringSelectionIntoView());this.updateSelectionBindings();this.updateUI();this.invokePost()},hasItems:function(){return this._items!=undefined&&this._items!=null},get_items:function(){return this._items},set_items:function(n){var t=this;if(this._items&&this.unbindEvent(this._items,"CollectionChanged",null),this._items=n,this._filteredItems=null,n!=null){this.bindEvent(this._items,"CollectionChanged",function(){t.onCollectionChangedInternal.apply(t,arguments)});this.onCollectionChangedInternal("refresh",-1,null)}},set_itemTemplate:function(n){this._itemTemplate=n;this.onCollectionChangedInternal("refresh",-1,null)},onCollectionChangedInternal:function(n,i,u){if(this._created){r.refresh(this,"allValues");var f=this.get_value();if(this.hasItems()){this.onCollectionChanged(n,i,u);f||this._allowSelectFirst||t.clear(this._selectedItems)}if(f!=null){if(this.set_value(f),this.get_selectedIndex()!=-1)return;this._value=undefined}this.selectDefault()}},selectDefault:function(){if(this._allowSelectFirst&&this.get_dataItems().length>0){this.set_selectedIndex(0);return}this.updateSelectionBindings()},onScroll:function(){this.scrollTimeout&&clearTimeout(this.scrollTimeout);var n=this;this.scrollTimeout=setTimeout(function(){n.scrollTimeout=0;n.onVirtualCollectionChanged()},10)},validateScroller:function(){var e,o,s,t,r;if(!this._scrollerSetup){var n=this._itemsPresenter,f=this._element,u=this._virtualContainer;if(!u)if(n==f||/table/i.test(f.nodeName))throw new Error("virtualContainer presenter not found, you must put itemsPresenter inside a virtualContainer in order for Virtualization to work");else u=this._virtualContainer=this._element;e=i(u);e.css({overflow:"auto"});this.bindEvent(u,"scroll","onScroll");o=i(n);o.css({overflow:"hidden"});s=/tbody/i.test(n.nodeName);s?(t=h.createElement("TR"),r=h.createElement("TR")):(t=h.createElement("DIV"),r=h.createElement("DIV"));i(t).addClass("sticky first-child").css({posiiton:"relative",height:0,width:"100%",clear:"both"});i(r).addClass("sticky last-child").css({posiiton:"relative",height:0,width:"100%",clear:"both"});this._firstChild=t;this._lastChild=r;n.appendChild(t);n.appendChild(r);this._training=!0;this._scrollerSetup=!0}},postVirtualCollectionChanged:function(){var n=this;u.dispatcher.callLater(function(){n.onVirtualCollectionChanged()})},resetVirtulContainer:function(){this._itemsPresenter&&this.disposeChildren(this._itemsPresenter);this._firstChild=null;this._lastChild=null;this._scrollerSetup=!1;this._scopes=null;this.unbindEvent(this._virtualContainer,"scroll")},onVirtualCollectionChanged:function(){var tt=this._itemsPresenter,p=this.get_dataItems(),r,a,o,f,w,ht,ct,lt,g,nt,gt,n,y,vt;if(!p.length){this.resetVirtulContainer();return}this.validateScroller();var ii=i(tt),h=this._firstChild,c=this._lastChild,it=i(h),rt=i(c),l=this._virtualContainer,yt=i(l),ut=yt.innerHeight(),ri=l.scrollHeight;if(isNaN(ut)||ut<=0||ri<=0){w=this;setTimeout(function(){w.onVirtualCollectionChanged()},1e3);return}var ui=yt.innerWidth(),s=this._avgHeight,b=this._avgWidth,fi=l.scrollHeight-it.outerHeight()-rt.outerHeight(),ci=ii.innerWidth(),pt=this.get_scope(),ei=this._element,n=new e(p);if(this._training){if(ut>=fi){if(r=c.previousElementSibling,a=0,r!=h)for(o=r.atomControl.get_data();n.next();)if(n.current()==o)break;n.next()&&(o=n.current(),f=this.createChildElement(pt,null,o,n),tt.insertBefore(f,c),this.applyItemStyle(f,o,n.isFirst(),n.isLast()),this.postVirtualCollectionChanged())}else{for(var v=0,r=h.nextElementSibling,wt=0,bt=0;r!=c;)v++,wt+=i(r).outerHeight(!0),bt+=i(r).outerWidth(!0),r=r.nextElementSibling;s=wt/v;b=bt/v;v--;this._avgHeight=s;this._avgWidth=b;var k=Math.floor(ui/b),ft=Math.ceil(p.length/k),et=Math.ceil(v/k);console.log({avgWidth:b,avgHeight:s,totalVisibleItems:v,allRows:ft,columns:k});this._allRows=ft;this._columns=k;this._visibleRows=et;this._visibleHeight=et*s;rt.css({height:(ft-et+1)*s+"px"});this._training=!1;this._ready=!0;this.postVirtualCollectionChanged()}return}if(w=this,this.lastScrollTop=l.scrollTop,!this._isChanging){this._isChanging=!0;var oi=Math.floor(this._visibleHeight/s),ot=this._visibleRows*this._columns,a=Math.floor(l.scrollTop/this._visibleHeight),si=a*ot;if(si>=p.length){this._isChanging=!1;return}var st=(Math.max(a,0)+3)*ot-1,d=Math.max(0,a*ot),r=h.nextElementSibling,kt=h.nextElementSibling,dt=c.previousElementSibling;if(kt!=dt&&(ht=kt.atomControl.get_scope().itemIndex,ct=dt.atomControl.get_scope().itemIndex,console.log({firstVisibleIndex:ht,firstIndex:d,lastVisibleIndex:ct,lastIndex:st}),d>=ht&&st<=ct)){console.log("All items are visible...");this._isChanging=!1;return}for(lt=[],g={};r!=c;)nt=r,r=r.nextElementSibling,gt=nt.atomControl.get_scope().itemIndex,g[gt]=nt,lt.push(nt);for(u.dispatcher.pause(),n=new e(p),y=0;y0&&this.refreshLabel();r.onSelectedItemsChanged.apply(this,arguments)},onClick:function(){r.onClick.apply(this,arguments);this._backupValue=this.get_value();this.refreshLabel();this._backupLabel=this.get_displayLabel();t.setValue(this,"keyPressed",!1);t.setValue(this,"isPopupOpen",!1)},restoreSelection:function(){t.setValue(this,"isPopupOpen",!1);this._backupValue?(t.setValue(this,"value",this._backupValue),t.setValue(this,"displayLabel",this._backupLabel),this._backupValue=null):t.setValue(this,"selectedIndex",-1)},onKeyUp:function(n){var i,r;t.setValue(this,"isPopupOpen",!0);switch(n.keyCode){case 27:t.setValue(this,"keyPressed",!1);this.restoreSelection();return;case 13:return t.setValue(this,"keyPressed",!1),t.setValue(this,"isPopupOpen",!1),this._backupValue=this.get_value(),this.refreshLabel(),this._backupLabel=this.get_displayLabel(),f.cancelEvent(n);case 37:break;case 38:t.setValue(this,"keyPressed",!1);this.moveSelection(!0);return;case 39:break;case 40:t.setValue(this,"keyPressed",!1);this.moveSelection(!1);return;default:i=this;this.dispatcher.callLater(function(){i.trySelect()})}this.oldTimeout&&clearTimeout(this.oldTimeout);r=this;this.oldTimeout=setTimeout(function(){t.setValue(r,"keyPressed",!0)},500)},trySelect:function(){var r,n;if(this._items&&this._items.length!=0){var u=new e(this._items),f=this._labelPath,i=this._displayLabel;for(i&&(i=i.toLowerCase());u.next();)if(r=u.current(),n=r,f&&(n=n[f]),n.toLowerCase().indexOf(i)==0){t.setValue(this,"selectedItem",r);t.setValue(this,"selectedText",n);this.bringSelectionIntoView();return}}},moveSelection:function(n){if(this._items&&this._items.length){var i=this.get_selectedIndex();i==-1&&(this.backupLabel=this.get_displayLabel());i=n?i-1:i+1;n&&i==-2&&(i=this._items.length-1);n||i!=this._items.length||(i=-1);t.setValue(this,"selectedIndex",i);i==-1?t.setValue(this,"displayLabel",this.backupLabel||""):this.refreshLabel()}},refreshLabel:function(){var i=this.get_selectedItem(),n=i;n&&this._labelPath&&(n=n[this._labelPath]);t.setValue(this,"displayLabel",n||"")},onWindowClick:function(n){for(var i=this._element,r=this._itemsPresenter,t=n.target;t.parentNode!=null&&t!=i&&t!=r;)t=t.parentNode;t!=i&&t!=r&&this.restoreSelection()},onInputFocus:function(){this._autoOpen&&(this._backupValue=this.get_value(),this._backupLabel=this.get_displayLabel(),t.setValue(this,"isPopupOpen",!0),i(this._inputBox).select())},onInputBlur:function(){if(!this._mouseCapture){var n=this;setTimeout(function(){n._isPopupOpen&&(t.setValue(n,"isPopupOpen",!1),n.restoreSelection())},10)}},onCreated:function(){this._itemsPresenter._logicalParent=this._element;i(this._itemsPresenter).remove();h.body.appendChild(this._itemsPresenter);i(this._itemsPresenter).addClass("auto-complete-popup");r.onCreated.apply(this,arguments);this.bindEvent(this._itemsPresenter,"mouseover","onMouseOver");this.bindEvent(this._itemsPresenter,"mouseout","onMouseOut")},onMouseOver:function(){this._mouseCapture++},onMouseOut:function(){var n=this;setTimeout(function(){n._mouseCapture--},1e3)},init:function(){r.init.apply(this,arguments);this.bindEvent(this._inputBox,"focus","onInputFocus");this.bindEvent(this._inputBox,"blur","onInputBlur");this.bindEvent(this._inputBox,"keyup","onKeyUp")},dispose:function(){this._itemsPresenter&&(this.disposeChildren(this._itemsPresenter),i(this._itemsPresenter).remove(),this._itemsPresenter=null);r.dispose.call(this)}}})}(u.AtomListBox.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomComboBox",base:n,start:function(){this._labelPath="label";this._valuePath="value";this._allowSelectFirst=!0},methods:{invokePost:function(){this.get_selectedIndex()>0&&n.invokePost.apply(this,arguments)},invokeNext:function(){n.invokeNext.apply(this,arguments);this._postUrl&&(t.setValue(this,"selectedIndex",0),this.updateChildSelections())},onSelectionChanged:function(){this._onUIChanged=!0;var n=this.get_element();this.set_selectedIndex(n.selectedIndex);this._onUIChanged=!1},updateChildSelections:function(){var n=this._element;n.selectedIndex=this.get_selectedIndex()},onCollectionChanged:function(){var u=this.get_element(),f=this.get_dataItems(),r;u.options.length=f.length;for(var i=new e(f),o=this._labelPath,s=this._valuePath,t=null,n=null,h=this.get_value();i.next();)r=i.current(),t=r,n=r,o&&(t=t[o]),s&&(n=n[s]),u.options[i.currentIndex()]=new Option(t,n,!1,n==h)},verifyTemplates:function(){},init:function(){var t=this.get_element();this.bindEvent(t,"change","onSelectionChanged");n.init.apply(this,arguments)}}})}(u.AtomItemsControl.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomDateListBox",base:n,start:function(){this._monthList=c.monthList;var n=new Date;this._month=n.getMonth()+1;this._year=n.getFullYear();this._selectedItems=[];this._presenters=["itemsPresenter"];this._startYear=-5;this._endYear=10;this._currentYear=(new Date).getFullYear();this._value=null},properties:{month:0,year:0,selectedItems:[],startYear:-5,endYear:0,currentYear:0,monthList:null,items:undefined,month:null,visibleDate:undefined},methods:{set_month:function(n){this._month=n;this.updateList()},set_year:function(n){this._year=n;this.updateList()},set_visibleDate:function(n){n&&(this._visibleDate=n,this._year=n.getFullYear(),this._month=n.getMonth()+1,this.updateList(),t.refreshValue(this,"year"),t.refreshValue(this,"month"))},init:function(){n.init.apply(this);var t=this;this.toggleDateCommand=function(){t.toggleDate.apply(t,arguments)}},onLoaded:function(){var o=this.getTemplate("itemTemplate"),h=this.get_scope(),c=this._itemsPresenter,n=this.getTemplate("itemTemplate"),s,t,r,e,l;if(n&&(n=f.getAtomType(n),n||(n=u.AtomControl)),this.updateList(),o)for(s=this._items,t=0;t<42;t++)r=f.cloneNode(o),r._templateParent=this,e=new g(this,h,atomApplication),e.itemIndex=t,i(c).append(r),l=f.createControl(r,n,s[t],e)},toggleDate:function(n,r){var u=r.get_data(),f=i.inArray(u.value,i.map(this._selectedItems,function(n){return n.value}));f>-1?t.removeAtIndex(this._selectedItems,f):t.addItem(this._selectedItems,u);t.refreshValue(this,"value");t.refreshValue(this,"selectedItems");this.invokeAction(this._next)},getItemClass:function(n){var u=i.inArray(n.value,i.map(this._selectedItems,function(n){return n.value}))>-1,r=n.date.getDay(),f=r==0||r==6,t="atom-date-list-box-day-list-item ";return t+=f?"atom-date-list-box-weekend ":"",t+=u?"atom-date-list-box-selected ":"atom-date-list-box-item ",t+(this._month==n.date.getMonth()+1?"":"atom-date-list-box-day-list-item-other")},set_value:function(n){var e,i,r,u,f;if(n!==undefined){if(this._selectedItems.length=0,n!==null)for(e=n.split(","),i=0;i0&&(s=f)),r.setItemRect(u,n,{left:l,top:v,width:s,height:y}),this.resizeChild(n)}}})}(u.AtomControl.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomPostButton",base:n,start:function(){},properties:{postData:null,postResult:null,postError:null,postUrl:null,next:null,errorNext:null,confirm:!1,confirmMessage:null,mergeData:null},methods:{get_postData:function(){return this._postData||this.get_data()},onClickHandler:function(n){if(this._confirm){var t=this;r.confirm(this._confirmMessage,function(){t.onConfirmed(n)});return}this.onConfirmed(n)},onConfirmed:function(){var e,u,f,o,h,l;if(!this._postUrl){n.onClickHandler.apply(this,arguments);return}if((e=this._validationRoot,e&&(e.validate(),u=e.get_errors(),u.length))||(u=this.get_errors(),u.length))return r.alert(r.mapJoin(u,"label")),!1;if(f=this.get_postData(),f!==null&&f!==undefined){if(o=this._mergeData,o)for(h in o)f[h]=o[h];var i=this,a=function(n){t.setValue(i,"postResult",n.value());i.invokeAction(i._next)},c=s.json(this._postUrl,null,{type:"POST",data:f});c.then(a);l=this._errorNext;l&&c.failed(function(n){t.setValue(i,"postError",n);i.invokeAction(i,l)});c.invoke()}}}})}(u.AtomButton.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomToggleButtonBar",base:n,start:function(){this._allowSelectFirst=!0;this._allowMultipleSelection=!1;this._showTabs=!1;this._autoScrollToSelection=!1},properties:{showTabs:!1},methods:{setClass:function(){var n=i(this._element);n.removeClass("atom-tab-bar atom-toggle-button-bar");n.addClass(this._showTabs?"atom-tab-bar":"atom-toggle-button-bar")},set_showTabs:function(n){this._showTabs=n;this.setClass()}}})}(u.AtomListBox.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomViewStack",base:n,start:function(){this._swipeDirection="left-right"},properties:{selectedIndex:-1,previousIndex:-1,swipeDirection:"left-right"},methods:{bringSelectionIntoView:function(){},set_swipeDirection:function(n){var t=this._swipeDirection;t&&i(this._element).removeClass(t);this._swipeDirection=n;n&&i(this._element).addClass(n)},set_selectedIndex:function(n){if(this._isAnimating){var t=this;setTimeout(function(){t.set_selectedIndex(n)},50);return}n!=this._selectedIndex&&(this._previousIndex=this._selectedIndex,this._selectedIndex=n,this.updateUI())},get_selectedChild:function(){return this._selectedChild},onUpdateUI:function(){var y=this._element,b=new a(y),p=this.get_selectedIndex(),s=this._previousIndex,k=u.dispatcher,e,d,n,o,h,c,r,g,t,w,v;for(k.pause(),e=-1,d=this;b.next();)e=e+1,h=b.current(),c=i(h),c.addClass("view-stack-child"),s==-1&&c.addClass("hidden"),e==p?n=h:e==s?o=h:c.addClass("hidden");if(n)if(r=i(y).innerWidth(),g=i(y).innerHeight(),this._selectedChild=n,t=i(n),f.setItemRect(t,n,{width:r,height:g}),w=n.atomControl,w&&w.updateUI(),o&&o!=n){var d=this,l=i(o),nt=this._swipeDirection;nt!=null&&/none/i.test(nt)?(l.addClass("hidden"),t.removeClass("hidden")):(v=[n,o],i(v).removeClass("hidden"),this._isAnimating=!0,p0)){r=n.get(0);try{r.focus()}catch(u){}}})},init:function(){i(this._element).addClass("atom-window-placeholder");n.init.call(this);var t=this;this.closeCommand=function(){t.onCloseCommand.apply(t,arguments)};this.cancelCommand=function(){t.onCancelCommand.apply(t,arguments)};this.openCommand=function(){t.openWindow.apply(t,arguments)};u.dispatcher.callLater(function(){var n=t._element;n._logicalParent||(n._logicalParent=n.parentNode,i(n).remove(),h.body.appendChild(n))})}}})}(u.AtomControl.prototype);u.AtomWindow.openNewWindow=function(n){var s=h.createElement("DIV"),v=f.assignID(s),e,t,c,l,o,a;n.localScope&&s.setAttribute("data-atom-local-scope","true");s._logicalParent=n.opener;h.body.appendChild(s);e=f.createControl(s,u.AtomWindow);t=n.url;t.length!==undefined?(n.next=t[1],n.url=t[0],t=new AtomUri(n.url)):(t={path:t.path,query:t.prop,hash:t.scope},n.url.next&&(n.next=n.url.next));e._next=[n.next||{},function(){u.dispatcher.callLater(function(){e.dispose();i(s).remove()})}];c=t.path;f.isNode(c)||(c=r.get(n.scope,t.path));l=i(f.cloneNode(c));o=l.children("[atom-template=commandTemplate],[data-atom-template=commandTemplate]").get(0);o&&(f.removeAttr(o,"atom-template"),e._commandTemplate=o,i(o).remove());o=l.children("[atom-template=windowTemplate],[data-atom-template=windowTemplate]").get(0);o?(f.removeAttr(o,"atom-template"),e._windowTemplate=o):(f.removeAttr(c,"atom-template"),e._windowTemplate=c);n.localScope&&n.opener&&(a=n.opener.get_data(),e._data=a);e.init();u.dispatcher.callLater(function(){var o=e.get_scope(),f=t.hash,u;for(var i in f)f.hasOwnProperty(i)&&r.set(o,i,f[i]);u=t.query;for(i in u)u.hasOwnProperty(i)&&r.set(e,i,u[i]);e.openWindow(n.scope,n.opener)})},function(n){return classCreatorEx({name:"WebAtoms.AtomCalendar",base:n,start:function(n){i(n).addClass("atom-calendar");var t=new Date;this._month=t.getMonth()+1;this._year=t.getFullYear();this._startYear=-5;this._endYear=10;this._currentYear=(new Date).getFullYear();this._value=null},properties:{month:0,year:0,startYear:-5,endYear:0,currentYear:0,visibleDate:undefined},methods:{set_month:function(n){this._month=n;this.updateCalendar()},set_year:function(n){this._year=n;this.updateCalendar()},set_visibleDate:function(n){n&&n!=this._visibleDate&&(this._visibleDate=n,this._year=n.getFullYear(),this._month=n.getMonth()+1,this.updateCalendar(),t.refreshValue(this,"year"),t.refreshValue(this,"month"))},onCreated:function(){n.onCreated.call(this);var t=this;u.dispatcher.callLater(function(){t.updateCalendar()})},applyItemStyle:function(){},updateCalendar:function(){var r;if(this._created){var e=new Date,v=new Date(this._year,this._month-1,1),i=new Date(this._year,this._month-1,1);i.getDay()&&(r=i.getDay()-1,r=-r,i.setDate(r));for(var s=i.getMonth(),h=i.getFullYear(),o=[],u=0,l=this._month-1,u=0;u<42;u++){var a=u+i.getDate(),n=new Date(h,s,a),f=n.getDay();f=f==0||f==6;o.push({label:n.getDate(),isWeekEnd:f,isToday:e.getDate()==n.getDate()&&e.getMonth()==n.getMonth()&&e.getFullYear()==n.getFullYear(),isOtherMonth:n.getMonth()!=l,dateLabel:c.toShortDateString(n),value:c.toMMDDYY(n),date:n})}t.setValue(this,"items",o)}},changeMonth:function(n){var i=this._month;i+=n;i>12&&(i=1,r.set(this,"year",this._year+1));i==0&&(r.set(this,"year",this._year-1),i=12);t.setValue(this,"month",i)},init:function(){n.init.call(this);var t=this;this.nextMonthCommand=function(){t.changeMonth(1)};this.prevMonthCommand=function(){t.changeMonth(-1)}}}})}(u.AtomListBox.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomCheckBoxList",base:n,start:function(){this._allowMultipleSelection=!0;this._valueSeparator=", ";this._dataElements=[]},methods:{init:function(){n.init.call(this);i(this._element).addClass("atom-check-box-list")}}})}(u.AtomItemsControl.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomDataPager",base:n,properties:{itemsPath:"items",totalPath:"total",pageSize:25,currentPage:0,items:null,total:0,pages:[]},start:function(){this._presenters=["pageList"];var n=this,i=t;this.goFirstCommand=function(){i.setValue(n,"currentPage",0)};this.goLastCommand=function(){i.setValue(n,"currentPage",n._pages.length-1)};this.goNextCommand=function(){i.setValue(n,"currentPage",n.get_currentPage()+1)};this.goPrevCommand=function(){i.setValue(n,"currentPage",n.get_currentPage()-1)}},methods:{preparePages:function(){var f,i,n;if(this._items&&this._total&&this._pageSize){var e=this._items.length,u=this._total,r=Math.ceil(u/this._pageSize);if(r!=this._pages.length){for(f=this._pageSize,i=[],n=0;n11&&(u="PM",t>12&&(f=t-12)),i=f+":00 "+u,r.push({label:i,value:i}),i=f+":30 "+u,r.push({label:i,value:i});this._items=r;n.init.call(this)}}})}(u.AtomAutoCompleteBox.prototype);pt=function(n){this._self=n;this._updating=!1;this.update=function(n){if(!this._updating)try{this._updating=!0;n.apply(this._self)}finally{this._updating=!1}}},function(n){var u=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9] [ap][m]$/i;return classCreatorEx({name:"WebAtoms.AtomTimeEditor",base:n,start:function(n){i(n).addClass("atom-time-editor");this._updater=new pt(this)},properties:{time:"10:00",ap:"AM",value:"10:00 AM"},methods:{get_hours24:function(){var t=this._time.split(":"),n=parseInt(t[0]||"0");return this._ap=="PM"&&n!=12&&(n+=12),n},set_hours24:function(n){this.setTime(n,this.get_minutes(),!0)},get_hours:function(){var n=this._time.split(":");return parseInt(n[0]||"0")},get_minutes:function(){var n=this._time.split(":");return parseInt(n[1]||"0")},setTime:function(n,i,r){var u=this.get_ap();r&&(n>12?(n-=12,u="PM"):u="AM");n=""+n;n.length==1&&(n="0"+n);i=i+"";i.length==1&&(i="0"+i);t.setValue(this,"value",n+":"+i+" "+u)},set_hours:function(n){this.setTime(n,this.get_minutes())},set_minutes:function(n){this.setTime(this.get_hours(),n)},set_value:function(n){this._updater.update(function(){if(this._value!=n){if(!u.test(n))throw new Error("Unknown time format, expecting ##:## AM");this._value=n;n=n.split(" ");this._time=n[0];this._ap=n[1].toUpperCase();this.refreshProperties()}})},refreshProperties:function(){r.refresh(this,"value");r.refresh(this,"time");r.refresh(this,"ap");r.refresh(this,"hours");r.refresh(this,"hours24");r.refresh(this,"minutes")},set_time:function(n){this.set_value(n+" "+this._ap)},set_ap:function(n){this.set_value(this._time+" "+n)},get_value:function(){return this._time+" "+this._ap}}})}(u.AtomControl.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomUploadButton",base:n,start:function(n){if(/input/gi.test(n.nodeName)&&/file/gi.test(f.attr(n,"type"))){this._filePresenter=n;return}var t=this._filePresenter=h.createElement("input");f.attr(t,"type","file");i(t).css({left:"-500px",position:"absolute",top:"0"});h.body.appendChild(this._filePresenter)},properties:{fileTypes:undefined,accept:"*/*",capture:"",progress:0},methods:{set_accept:function(n){if(this._accept=n,n){var t=this._filePresenter;t&&f.attr(t,"accept",n)}},set_capture:function(n){if(this._capture=n,n){var t=this._filePresenter;t&&f.attr(t,"capture",n)}},onClickHandler:function(n){(!this._confirm||confirm(this._confirmMessage))&&this._postUrl&&this._filePresenter!=this._element&&(i(this._filePresenter).trigger("click"),f.cancelEvent(n))},onFileSelected:function(){var i=this.get_postData(),r,s,n,u,f,o;if(i!==null&&i!==undefined){if(r=this._mergeData,r)for(s in r)i[s]=r[s];if(n=this._xhr,!n){n=new XMLHttpRequest;u=n.upload;try{n.timeout=36e5}catch(h){}this.bindEvent(u,"progress","onProgress");this.bindEvent(u,"timeout","onError");this.bindEvent(u,"error","onError");this.bindEvent(n,"load","onComplete");this.bindEvent(n,"error","onError");this.bindEvent(n,"timeout","onError");this._xhr=n}for(f=new FormData,o=new e(this._filePresenter.files);o.next();)f.append("file"+o.currentIndex(),o.current());f.append("formModel",JSON.stringify(t.getClone(i)));n.open("POST",this._postUrl);n.send(f);atomApplication.setBusy(!0,"Uploading...")}},set_progress:function(n){this._progress=n;n&&t.setValue(atomApplication,"progress",n)},onError:function(n){atomApplication.setBusy(!1,"Uploading...");this.unbindEvent(this._xhr);this._xhr=null;this._lastError=n;r.alert("Upload failed")},onProgress:function(n){if(n.lengthComputable){var i=Math.round(n.loaded*100/n.total);t.setValue(this,"progress",i)}},onComplete:function(n){atomApplication.setBusy(!1,"Uploading...");if(n.target)if(n.target.status==200)this._value=n.target.responseText;else{r.alert(n.target.statusText);return}else this._value=n.result;this.unbindEvent(this._xhr);this._xhr=null;t.refreshValue(this,"value");this.invokeAction(this._next,n)},init:function(){n.init.call(this);var t=this._filePresenter;this.bindEvent(t,"change","onFileSelected")}}})}(u.AtomPostButton.prototype),function(n,t){return classCreatorEx({name:"WebAtoms.AtomViewBox",base:t,start:function(){this._layout=n.AtomViewBoxLayout.defaultInstance},methods:{}})}(u,u.AtomControl.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomWizard",base:n,start:function(){this._presenters=["viewPresenter"]},properties:{currentStep:null,nextLabel:"Next",nextClass:"",buttons:null,prevLabel:"Back",finishLabel:"Finish",canMoveBack:!0,canMoveNext:!0,steps:0,isLastStep:!1},methods:{set_currentStep:function(n){var i,r;this._currentStep=n;i=this._buttons;i&&i.length&&(r=i[n],t.setValue(this,"nextLabel",r.label),t.setValue(this,"nextClass",r.styleClass));t.refreshValue(this,"isLastStep")},get_isLastStep:function(){return this._currentStep==this._steps-1},createWizard:function(){var e=this._viewPresenter,n,i,s,h;this.disposeChildren(e);for(var c=this._viewTemplate,r=0,o=new a(c);o.next();)r++,n=f.cloneNode(o.current()),e.appendChild(n),i=f.getAtomType(n),i||(i="AtomViewBox",f.attr(n,"data-atom-type",i)),s=f.getAtomType(n)||u.AtomControl,h=f.createControl(n,s),h.init();t.setValue(this,"steps",r);r&&t.setValue(this,"currentStep",0)},init:function(){i(this._element).addClass("atom-wizard");n.init.call(this);var r=this,u=this._viewPresenter;this.goNextCommand=function(n,i,u){r.get_isLastStep()?(r.invokeAction(r._next,u),t.setValue(r,"canMoveBack",!1)):t.setValue(r,"currentStep",r._currentStep+1)};this.goPrevCommand=function(){t.setValue(r,"currentStep",r._currentStep-1)};this.resetCommand=function(){r.createWizard();t.setValue(r,"currentStep",0);t.setValue(r,"canMoveBack",!0)};this.createWizard();this.nextCommand=function(n,t,i){var f=u.atomControl.get_selectedChild().atomControl;if(f._next){f.invokeAction(f._next);return}r.goNextCommand(n,t,i)}}}})}(u.AtomDockPanel.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomYesNoControl",base:n,start:function(){this._allowSelectFirst=!1;this._items=[{label:"Yes",value:!0},{label:"No",value:!1}]},methods:{}})}(u.AtomToggleButtonBar.prototype),function(r){return classCreatorEx({name:"WebAtoms.AtomYesNoCustom",base:r,start:function(){this._presenters=["yesNo","input"];this._hasValue=!1},properties:{hasValue:!1,placeholder:null},methods:{set_hasValue:function(n){this._hasValue=n;n||t.setValue(this,"value","")},set_value:function(n){this._value=n;t.setValue(this,"hasValue",n?!0:!1);this._onUIChanged||i(this._input).val(n)},onValueChange:function(){this._onUIChanged=!0;var n=i(this._input).val();t.setValue(this,"value",n);this._onUIChanged=!1},onUpdateUI:function(){if(i(this._input).addClass("atom-yes-no-custom-input"),this._placeholder){f.attr(this._input,"placeholder",this._placeholder);var t=n.placeHolderFixer;t&&t.refresh()}},init:function(){r.init.call(this);this._yesNo=this._yesNo.atomControl;var n=this._input;this.bindEvent(n,"change","onValueChange")}}})}(u.AtomControl.prototype);n.appScope=n.appScope||{};this.atomApplication=null,function(e){return classCreator("WebAtoms.AtomApplication",e,function(t){var o,u,r,s,e,h;if(i(t).removeClass("atom-dock-panel"),i(t).addClass("atom-application"),this._scope=new g(this,null,this),n.model&&(n.appScope.model=n.model,this._data=n.model),n.appScope){o=this._scope;r=n.appScope;for(e in r)o[e]=r[e]}if(n.appScope=this._scope,n.atomApplication=this,this.busyCount=0,u=location.hash,u=u?u.substr(1):u,u){r=f.parseUrl(u);this._hash=location.hash;s=this._scope;this._defaultHash=r;for(e in r)h=r[e],s[e]=h}else this._hash=location.hash;this._defaultScope={}},{get_title:function(){return h.title},set_title:function(n){h.title=n},get_isBusy:function(){return this.busyCount},setBusy:function(n,i){n?this.busyCount++:this.busyCount--;i!==undefined?(i||(i=""),t.setValue(this,"busyMessage",i)):t.setValue(this,"busyMessage","Loading...");t.refreshValue(this,"isBusy")},updateUI:function(){e.updateUI.call(this);t.refreshValue(this,"appWidth");t.refreshValue(this,"appHeight");t.refreshValue(this,"bodyWidth");t.refreshValue(this,"bodyHeight")},onUpdateUI:function(){this._renderAsPage||e.onUpdateUI.call(this)},get_appWidth:function(){return i(this._element).width()},get_appHeight:function(){return i(this._element).height()},get_bodyWidth:function(){return i(h.body).width()},get_bodyHeight:function(){return i(h.body).height()},onHashChanged:function(){var e,i,u,o,h,n,s;if(!this._noHashRefresh){if(e=this._scope,i=location.hash,i||(i="#"),this._noHashRefresh=!0,i=i.substr(1),u=f.parseUrl(i),this._created){o=this._defaultScope;for(n in o)h=o[n],u[n]===undefined&&(u[n]=h);for(n in u)s=u[n],e[n]!=s&&t.setValue(e,n,s)}else r.merge(e,u);this._noHashRefresh=!1}},invokeUpdateUI:function(){var i=this,t=this;n.setTimeout(function(){return t.updateUI()},5)},onRefreshValue:function(){var f,n,i,r;if(!this._noHashRefresh&&this._ready){var e=this._defaultScope,u=t.getClone(this._defaultHash||{}),o=this._scope;for(n in o)if(i=o[n],e.hasOwnProperty(n)){if(i==e[n])continue;u[n]=i}else{if(n.indexOf("_")==0)continue;if(i===undefined||i===null)continue;if(!/string|number|boolean/i.test(typeof i))continue;u[n]=i}f=[];for(n in u)i=u[n],f.push({key:n,value:i});(r="#"+f.map(function(n){return n.key+"="+encodeURIComponent(n.value)}).join("&"),r!=location.hash)&&(r!="#"||location.hash)&&(this._noHashRefresh=!0,history&&history.pushState?history.pushState({},h.title,location.href.split("#")[0]+r):location.href=r,this._noHashRefresh=!1)}},onInitialized:function(){var r,u;this._ready=!0;e.onInitialized.call(this);this._renderAsPage||i(this._element).addClass("atom-dock-application");w.isIE&&w.majorVersion<8?(r=this,setInterval(function(){r.onCheckHash()},1e3),this._lastHash=location.hash):(u=n.onhashchange?"onhashchange":"hashchange",this.bindEvent(n,u,"onHashChanged"));t.refreshValue(this,"appHeight");t.refreshValue(this,"bodyHeight")},createChildren:function(){if(e.createChildren.call(this),this.getTemplate("busyTemplate"),this._busyTemplate){this._element.appendChild(this._busyTemplate);this.onCreateChildren(this._busyTemplate)}},onCreated:function(){e.onCreated.call(this);this._next&&u.dispatcher.callLater(function(){n.atomApplication.invokeAction(n.atomApplication._next)})},onCheckHash:function(){this._lastHash!=location.hash&&(this.onHashChanged(),this._lastHash=location.hash)},onCloseCommand:function(){if(parent){var n=frameElement.atomWindow;n._value=this._value;n.onCloseCommand()}},setup:function(){this.createChildren();this.init()},init:function(){this.bindEvent(n,"resize","invokeUpdateUI");var t=this;this._onRefreshValue=bt(function(){t.onRefreshValue.apply(t,arguments)});this._scope._$_watcher=this;e.init.call(this);this.closeCommand=function(){t.onCloseCommand.apply(t,arguments)}}},{renderAsPage:!1,busyMessage:"",progress:0})}(u.AtomDockPanel.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomAutoPostForm",base:n,start:function(){},properties:{isBusy:!1,postError:null},methods:{pushPost:function(n){if(!this._isBusy){this._pushPostTimeout&&clearTimeout(this._pushPostTimeout);n||(n=1e3);var t=this;this._pushPostTimeout=setTimeout(function(){u.dispatcher.callLater(function(){t.onSubmit()})},n)}},onSubmit:function(){var r,u;if((this._pushPostTimeout=0,!this._isBusy)&&this.isValid()&&(r=this.preparePostData(),r)&&(u=JSON.stringify(t.getClone(r)),!this._cachedData||u!=this._cachedData)){this._cachedData=u;var n=this,f=s.getUrl(this._postUrl),i=s.json(f,null,{type:"POST",data:r}).then(n._success);i.failed(function(){n._isBusy=!1;n._postError=i.error.msg;t.refreshValue(n,"isBusy");t.refreshValue(n,"postError")});i.showProgress(!1);i.showError(!1);i.invoke()}},onCreated:function(){n.onCreated.apply(this,arguments);var i=this.preparePostData();i&&(this._cachedData=JSON.stringify(t.getClone(i)))},onSuccess:function(){n.onSuccess.apply(this,arguments);this._isBusy=!1;t.refreshValue(this,"isBusy")},onKeyUp:function(n){(this.pushPost(),n.target&&n.target.nodeName&&/textarea/gi.test(n.target.nodeName))||n.keyCode==13&&this.onSubmit()},init:function(){n.init.call(this);var t=this;this.pushPostHandler=function(){t.pushPost(1e3)};this.bindEvent(this._element,"click",this.pushPostHandler);i(this._element).find("input,select,textarea").bind("change",null,this.pushPostHandler)}}})}(u.AtomForm.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomFormField",base:n,start:function(){this._presenters=["contentPresenter"]},properties:{label:undefined,fieldId:undefined,fieldClass:undefined,required:!1,fieldVisible:!0},methods:{set_fieldVisible:function(n){this._fieldVisible=n;i(this._element).css("display",n?"":"none")},set_fieldClass:function(n){this._fieldClass=n;this.setLocalValue("class",n,this._element)},onCreated:function(){this.setup()},setup:function(){this._created&&(this._contentPresenter&&this._contentPresenter.appendChild(this._element.contentElement),t.refreshValue(this,"fieldClass"))}}})}(u.AtomControl.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomFormGridLayout",base:n,start:function(){},properties:{minLabelWidth:100,cellSpacing:5,label:""},methods:{onUpdateUI:function(){t.refreshValue(this,"controlWidth");t.refreshValue(this,"controlHeight");n.onUpdateUI.apply(this,arguments)},get_controlWidth:function(){return i(this._element.parentNode).innerWidth()},get_controlHeight:function(){return i(this._element.parentNode).innerHeight()},createChildren:function(){var o=this._element,w,n,it,r,c,l,b,k,s,u,d,t,v,y,p,tt;for(i(o).addClass("atom-form-grid"),s=i(o).children(),w=new e(s),f.removeAllChildren(o),n=h.createElement("DIV"),i(n).addClass("atom-form-grid-container"),o.appendChild(n),it=f.attr(this._element,"atom-min-label-width"),this.getTemplate("fieldTemplate");w.next();){if(r=w.current(),c=f.attr(r,"atom-type"),c=="AtomFormRow"){for(l=h.createElement("TABLE"),n.appendChild(l),i(l).addClass("atom-form-grid-row"),b=h.createElement("TBODY"),l.appendChild(b),k=h.createElement("TR"),b.appendChild(k),s=i(r).children(),u=new e(s);u.next();)d=h.createElement("TD"),k.appendChild(d),this.createField(d,u.current());continue}if(c=="AtomFormTabControl"||c=="AtomTabControl"){t=h.createElement("ul");t.setAttribute("atom-type","AtomToggleButtonBar");v=f.assignID(t);t.setAttribute("atom-name",v);t.setAttribute("atom-show-tabs","true");y=h.createElement("li");t.appendChild(y);y.setAttribute("atom-text","{$data.label}");y.setAttribute("atom-template","itemTemplate");this.createField(n,t);for(var rt=ft[v],u=new a(r),g=[],nt=0;u.next();)p=u.current(),i(p).remove(),p.setAttribute("style-display","[$scope."+v+".selectedIndex == "+nt+" ? '' : 'none']"),tt=this.createField(n,p),g.push(tt),nt++;rt.set_items(g);continue}this.createField(n,r)}}}})}(u.AtomFormLayout.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomFormTab",base:n,start:function(){},methods:{}})}(u.AtomFormGridLayout.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomFormNoLayout",base:n,start:function(){},methods:{}})}(u.AtomForm.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomFormVerticalLayout",base:n,start:function(){},methods:{}})}(u.AtomFormLayout.prototype),function(n){return classCreatorEx({name:"WebAtoms.AtomTableLayout",base:n,start:function(n,t,i){this._cellWidth=t;this._cellHeight=i;this._columns=n},methods:{doLayout:function(n){var u=new e(i(n).children()),t,s=0,f=0,r=Math.ceil(u._array.length/this._columns)-1,o=r,h=this._columns*this._cellWidth,c=this._cellHeight*(r+1);for(n.style.position="relative",n.style.width=h+"px",n.style.height=c+"px",n.maxRows=r;u.next();)t=u.current(),t.style.position="absolute",t.style.left=s+"px",t.style.top=f+"px",t.style.width=this._cellWidth+"px",o<=0?(o=r,s+=this._cellWidth+10,f=0):(o--,f+=this._cellHeight)}}})}(u.AtomLayout.prototype);ht=function(n){return classCreatorEx({name:"WebAtoms.AtomViewBoxLayout",base:n,start:function(){},methods:{doLayout:function(n){for(var r={width:i(n).innerWidth()+"px",height:i(n).innerHeight()+"px"},u=new a(n),t;u.next();)t=u.current(),t.style.width=r.width,t.style.height=r.height,t.atomControl&&t.atomControl.updateUI()}}})}(u.AtomLayout.prototype);ht.defaultInstance=new ht;r.confirm=function(n,t){var o={Message:n,ConfirmValue:!1,Confirm:t?!0:!1},e=h.createElement("DIV"),r;h.body.appendChild(e);r=f.createControl(e,u.AtomWindow,o);r.set_windowWidth(380);r.set_windowHeight(120);r.set_windowTemplate(r.getTemplate("alertTemplate"));r.set_title(t?"Message":"Confirm");r.set_next(function(){r.dispose();i(e).remove();o.ConfirmValue&&t&&t()});r.refresh()};r.alert=n.__chromeCSP?function(n){r.confirm(n,null)}:function(n){alert(n)};i(h).ready(function(){var n=u.dispatcher;n.setupControls();n.start()});i(n).unload(function(){function n(t){if(t)if(t.atomControl)t.atomControl.dispose();else for(var i=new a(t);i.next();)n(i.current())}n(h.body)})}(window); //# sourceMappingURL=atoms.min.js.map \ No newline at end of file diff --git a/atoms.min.js.map b/atoms.min.js.map index 0f64ea95..7305055f 100644 --- a/atoms.min.js.map +++ b/atoms.min.js.map @@ -2,7 +2,7 @@ "version":3, "file":"atoms.min.js", "lineCount":1, -"mappings":"AAsBAA,SAASA,UAAU,CAACC,CAAC,CAAEC,CAAC,CAAEC,CAAP,CAAU,CACzB,IAAIC,EAAQH,CAACI,QAAQ,CAAC,GAAD,EASjBC,CATsB,CAU1B,OATIF,CAAM,EAAG,EAAT,EACIE,CAAE,CAAEJ,CAAE,CAAAD,CAAA,C,CACLK,C,GACDA,CAAE,CAAEH,CAAC,CACLD,CAAE,CAAAD,CAAA,CAAG,CAAEK,EAAC,CAELA,EANP,EAQAA,CAAE,CAAEN,UAAU,CAACC,CAACM,OAAO,CAAC,CAAC,CAAEH,CAAJ,CAAU,CAAEF,CAAC,CAAE,CAAA,CAAxB,C,CACXF,UAAU,CAACC,CAACM,OAAO,CAACH,CAAM,CAAE,CAAT,CAAW,CAAEE,CAAC,CAAEH,CAAzB,EAXQ,CAc7BK,SAASA,cAAc,CAACC,CAAI,CAAEC,CAAP,CAAU,CAM7B,OALIA,CAAA,CACO,QAAS,CAAA,CAAG,CACf,OAAO,IAAK,CAAAD,CAAA,CADG,CADnB,CAKG,QAAS,CAACN,CAAD,CAAI,CAChB,IAAK,CAAAM,CAAA,CAAM,CAAEN,CADG,CANS,CAWjCQ,SAASA,YAAY,CAACF,CAAI,CAAEG,CAAa,CAAEC,CAAgB,CAAEC,CAAc,CAAEC,CAAxD,CAAwG,CACzH,IAAIC,EAAYJ,CAAc,CAAEA,CAAaK,YAAa,CAAE,KACxDC,EAAML,CAAiB,EAAI,QAAS,CAAA,CAAG,GACvCM,EAAKJ,EACLK,EAAI,KAoBAC,EA8BKC,CArDmD,CAIhE,GAAIN,EAAW,CAEPI,CAAE,CADFL,CAAJ,CACQK,QAAS,CAAA,CAAG,CACZ,IAAK,IAAIE,EAAE,GAAGH,CAAd,CACI,IAAK,CAAA,GAA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AD,CAAM,CACxBO,KAAK,CAACP,CAAD,CADmB,C,CAS1BhH,CAAC,CAAC0B,CAAD,CAAU+jD,MAAM,CAAC,QAAS,CAAA,CAAG,CAI1B,IAAIpuC,EAAIhP,CAAQ2uB,WAAW,CAE1B3f,CAACwgB,cAAc,CAAA,CAAE,CACjBxgB,CAAC/X,MAAM,CAAA,CAPkB,CAAb,CAQd,CAEFU,CAAC,CAACd,CAAD,CAAQwmD,OAAO,CAAC,QAAS,CAAA,CAAG,CAEzB78B,SAASA,CAAO,CAAC/jB,CAAD,CAAI,CAChB,GAAKA,EAEL,GAAIA,CAACqC,aACDrC,CAACqC,YAAY0hB,QAAQ,CAAA,CAAE,CACzB,KAEE,IADA,IAAI2P,EAAK,IAAI5uB,CAAe,CAAC9E,CAAD,CAC5B,CAAO0zB,CAAEnzB,KAAK,CAAA,CAAd,CAAA,CACIwjB,CAAO,CAAC2P,CAAE5wB,QAAQ,CAAA,CAAX,CARC,CAapBihB,CAAO,CAACnnB,CAAQsqC,KAAT,CAfkB,CAAb,CA7qYnC,CAgsYd,CAAC9sC,MAAD,CAAQ", -"sources":["atoms.js"], -"names":["mapLibrary","n","p","v","index","indexOf","r","substr","createProperty","name","g","classCreator","basePrototype","classConstructor","classPrototype","classProperties","baseClass","constructor","old","cp","f","bpt","k","apply","arguments","__typeName","prototype","hasOwnProperty","__baseType","toString","f.prototype.toString","test","window","classCreatorEx","objDef","base","start","methods","properties","createClass","factory","define","amd","exports","require","jQuery","$","ua","navigator","userAgent","iPhone","chrome","android","caretTimeoutId","mask","fn","extend","caret","begin","end","range","length","is","each","setSelectionRange","createTextRange","collapse","moveEnd","moveStart","select","selectionStart","selectionEnd","document","selection","createRange","duplicate","text","unmask","trigger","settings","input","defs","tests","partialPosition","firstNonMaskPos","lastRequiredNonMaskPos","len","oldVal","data","dataName","undefined","autoclear","placeholder","definitions","split","i","c","push","RegExp","tryFireCompleted","completed","buffer","getPlaceholder","call","charAt","seekNext","pos","seekPrev","shiftL","j","writeBuffer","Math","max","shiftR","t","androidInputEvent","curVal","val","pos2","checkVal","blurEvent","focusText","change","keydownEvent","e","prop","which","keyCode","clearBuffer","preventDefault","keypressEvent","next","proxy","ctrlKey","altKey","metaKey","String","fromCharCode","setTimeout","join","allow","lastMatch","defaultBuffer","substring","map","one","off","removeData","on","clearTimeout","get","activeElement","replace","runAction","action","evt","_this","tm","msg","location","href","atomControl","refresh","get_scope","Atom","alert","_element","ae","AtomEnumerator","invokeAction","current","timeOut","timeout","set_merge","confirm","_action","_evt","control","allControls","WebAtoms","AtomWindow","openNewWindow","localWindow","aggregateHandler","ah","fx","_handler","self","invoke",".invoke","args","console","log","pending","handler",".handler","Templates","jsonML","$x","AtomConfig","AtomBrowser","AtomEvaluator","ChildEnumerator","AtomDate","AtomFileSize","AtomPhone","AtomQuery","AtomUI","AtomPopup","AtomArray","AtomScope","AtomBinder","AtomPromise","AtomLocalStorage","AtomValidator","errors","AtomBinders","AtomProperties","AtomicUpdator","AtomViewBoxLayout","PageSetup",".call","t1",".t1","bind","v1","t2",".t2","t3",".t3","t4",".t4","setLocalValue","t5",".t5","v2","v3","v4","t6",".t6","t7",".t7","t8",".t8","monthList","t9",".t9","t10",".t10","t13",".t13","t14",".t14","t15",".t15","t16",".t16","t17",".t17","t18",".t18","t19",".t19","t20",".t20","t22",".t22","t23",".t23","t24",".t24","t25",".t25","v5","query","any","t26",".t26","t27",".t27","t28",".t28","t29",".t29","t31",".t31","t32",".t32","t33",".t33","t34",".t34","t35",".t35","t36",".t36","t37",".t37","t38",".t38","t40",".t40","t41",".t41","t42",".t42","t45",".t45","t47",".t47","t48",".t48","t50",".t50","t51",".t51","t52",".t52","t53",".t53","t55",".t55","t56",".t56","t57",".t57","t58",".t58","t59",".t59","t60",".t60","t61",".t61","t62",".t62","t63",".t63","t65",".t65","t66",".t66","t67",".t67","t68",".t68","t69",".t69","t70",".t70","t71",".t71","t72",".t72","t73",".t73","absPos","t74",".t74","t75",".t75","t76",".t76","t78",".t78","t79",".t79","t80",".t80","t81",".t81","t82",".t82","t83",".t83","t85",".t85","t86",".t86","t87",".t87","t89",".t89","csv","t91",".t91","t92",".t92","t93",".t93","t94",".t94","t96",".t96","t97",".t97","t98",".t98","t99",".t99","t100",".t100","t101",".t101","t102",".t102","t103",".t103","t104",".t104","t105",".t105","stop","$x.stop","Error","stopIf","$x.timeout","actions","$x.invoke","d","a","x","$x.data","scope","$x.scope","localScope","$x.localScope","appScope","$x.appScope","owner","$x.owner","if","$x.if","isValid","$x.isValid","target","o","validate","get_errors","mapJoin","$x.alert","focus","$x.focus","el","clearErrors","$x.clearErrors","clear","$x.confirm","$x.window","path","props","$x.localWindow","reveal","$x.reveal","AtomFilter","af","aps","truef","falsef","item","l","escapeRegex","b","value","compare","cmp","rf","filter","isString","sort","orderBy","fields","tokens","desc","field","bf","cs","localeCompare","toLowerCase","build","q","cor","orf","cond","left","compF","ec","$f","Array","Array.prototype.filter","Function","Array.prototype.sort","s","Date","toDateString","detect","nVer","appVersion","nAgt","browserName","appName","fullVersion","parseFloat","majorVersion","parseInt","nameOffset","verOffset","ix","isMobile","lastIndexOf","toUpperCase","isNaN","init","isMac","supportsUpload","isFF","isChrome","isIE","isSafari","supportsFlash","parse","txt","be","becache","vars","ms","match","nv","method","methodString","compile","ecache","nextItem","firstChild","findNext","ne","nodeType","nextSibling","isFirst","isLast","firstElementChild","first","previousElementSibling","nextElementSibling","array","_array","currentIndex","reset","refreshWindowCommand","reload","time","getTime","obj","getValue","set","setValue","step","merge","y","update","clone","getClone","url","lq","finalUrl","plist","JSON","stringify","encodeURIComponent","encodeParameters","tableLayout","columns","cellWidth","cellHeight","AtomTableLayout","toDash","$1","secureUrl","ui","u","protocol","Atom.mapJoin","list","label","lf","isFunction","resolve","Atom.resolve","ap","type","key","done","ap.done","remove","pushValue","failed","then","onInvoke","_invoker","decodeURIComponent","search","urlParams","exec","pageQuery","getTimezoneOffset","toLocalTime","toJSON","setTime","dt","h","m","getFullYear","getMonth","getDate","setHours","setMinutes","toMMDDYY","str","toShortDateString","m_names","toDateTimeString","toTimeString","getHours","getMinutes","smartDate","now","diff","smartDateUTC","jsonDate","getSeconds","zoneOffsetMinutes","toUTC","zoneOffset","date","toFileSize","round","toSmallPhoneString","cc","phone","ext","toPhoneString","compileSelect","$f.compileSelect","firstOrDefault","where","toArray","count","sum","groupBy","fs","si","rl","Atom.query","attributeMap","attributes","nodeName","lastIndex","nodeValue","attr","sv","setAttribute","getAttribute","removeAttr","removeAttribute","getAtomType","createElement","ex","createTextNode","appendChild","cloneNode","findPresenter","parseUrl","parseValue","cancelEvent","returnValue","stopPropagation","assignID","element","id","getNewIndex","atomParent","parentNode","_logicalParent","toNumber","isNode","XMLHttpRequest","Node","createDelegate","instance","methodName","getDelegate","create","__delegates","__index","contains","removeAllChildren","hasChildNodes","lc","lastChild","dispose","isWebkit","isWeirdControl","parseCSS","$e","css","setItemRect","isBoxSizing","marginLeft","marginRight","marginTop","marginBottom","isButton","width","style","height","top","getPresenterOwner","ctrl","_presenters","get_atomParent","createCss","createControl","newScope","_data","_scope","createChildren","isIE7","isIE8","AtomUri","window.AtomUri","hash","scheme","host","port","show","parent","removeHandler","zOrder","startOrder","offset","position","outerHeight","visibility","stack","peek","hide","pk","pop","clicked","simulateParentClick","window.simulateParentClick","frameElement","click","enumerator","Array.prototype.enumerator","Array.prototype.indexOf","sep","trim","ar","getValues","result","intersect","getMatch","dataItem","arrayItem","splice","app","__application","_v","refreshCommand",".refreshCommand","refreshValue","_refreshValue","._refreshValue","_onRefreshValue","forceRefresh","dupeObj","retObj","objInd","oldValue","handlers","get_WatchHandler","_$_watcher","add_WatchHandler","handlersForKey","_$_handlers","remove_WatchHandler","invokeItemsEvent","mode","_onRefreshItems","ary","addItem","insertItem","addItems","items","removeItem","removeAtIndex","refreshItems","add_CollectionChanged","remove_CollectionChanged","setError","message","add","insert","refreshArray","clearArray","_eventHandlers","bindEvent","addEventListener","unbindEvent","removed","unbind","removeEventListener","_success","_failed","_cached","_process","_calls","_showProgress","_showError","success",".success","onSuccess","error",".error","onError","_value","process","_invoke","_persist","invokePromise","promiseTimeout","atomApplication","setBusy","showProgress","showError","persist","abort","handle","getUrl","AtomPromise.getUrl","pageUrl","parseDates","AtomPromise.parseDates","ajax","AtomPromise.ajax","options","dh","sc","osc","attachments","fd","versionUrl","versionKey","version","cache","headers","debug","statusCode","jsonPostEncode","FormData","append","xhr","o.xhr","myXhr","ajaxSettings","upload","lengthComputable","percentComplete","loaded","total","contentType","processData","sendRawQueryString","res","responseText","AtomPromise.get","dataType","plugins","json","AtomPromise.json","plugin","cacheInProgress","cachedPromise","AtomPromise.cachedPromise","sessionStorage","p1","cachedJson","AtomPromise.cachedJson","vd","vk","ifModified","configCache","configLabel","AtomPromise.configLabel","valuePath","labelPath","isNumber","cf","AtomPromise.prototype.insertItem","arrayPath","_$_itemInserted","toNativePromise","AtomPromise.prototype.toNativePromise","Promise","reject","storage","als","baseType","twoWays","jq","vf","events","pe","isArray","pathList","_isUpdating","onPropChanged","objKey","valueAsDate","checked","onDataChanged","newTarget","evaluate","property","onValChanged","dispatcher","callLater","setup","_lastValue","AtomComponent","_paused","head","tail","onTimeout",".onTimeout","_onTimeout","._onTimeout","pause","setupControls","ct","updateUI","AtomDispatcher","force","ve","refreshing","invalid","concat","ac","atomValidator","ce","rv","child","get_owner","get_appScope","_localScope","get_localScope","set_scope","_ready","_defaultScope","get_name","_name","getTemplate","compiled","compileElement","Templates.compileElement","e1","compileJsonML","Templates.compileJsonML","Templates.compile","div","innerHTML","children","Templates.get","compileType","Templates.compileType","shortName","tl","yt","{","[","eval","original","$[","^[","isEnabled","src","eventName","valueFunction","validatorFunction","validator","_created","required","get_value","clearBinding","tagName","regex","html","setPosition","relPos","class","atomClass","removeClass","addClass","bindings","_isVisible","eid","_mergeData2","get_data","get_element","addBinding","ab","AtomBinding","get_templateParent","_templateParent","set_data","mergeData","updateChildBindings","initProperties","_disposed","setProperties","onCreated","onLoaded","caller","tc","onCreateChildren","amap","tn","childType","removeAttributeNode","node","templateOwner","removeChild","_scopeTemplates","onUpdateUI","_layout","doLayout","updateChildUI","at","bindList","compiledFunc","childItem","camelCase","op","_promisesQueue","_promises","_loadNext","charCodeAt","thisElement","onInitialized","st","aname","ls","initChildren","eac","disposeChildren","oldIE","get_innerTemplate","_template","set_innerTemplate","AtomUIComponent","_selectedItems","_selectedElements","_selectedIndexSet","_onUIChanged","_itemsPresenter","_itemsPanel","_childItemType","AtomControl","get_postData","_postData","get_selectedItem","get_allValues","_valueSeparator","_valuePath","vp","vfp","get_dataItems","_allowMultipleSelection","set_value","dataItems","set_sortPath","_sortPath","onCollectionChangedInternal","set_selectAll","_selectAll","set_defaultValue","invokePost","errorNext","_confirm","_confirmMessage","_postUrl","_next","invokeNext","_errorNext","set_filter","_filter","_filteredItems","hasItems","isSelected","se","sitem","_items","sp","spf","getIndexOfDataItem","getDataItemAtIndex","get_childAtomControls","get_selectedChild","set_allowSelectFirst","_allowSelectFirst","set_selectedItem","get_selectedItems","set_selectedItems","get_selectedIndex","set_selectedIndex","updateChildSelections","bringSelectionIntoView","_uiVirtualize","avgHeight","_avgHeight","vc","_virtualContainer","vcHeight","innerHeight","block","ceil","itemsInBlock","_columns","scrollTop","floor","scrollIntoView","updateSelectionBindings","onSelectedItemsChanged","_autoScrollToSelection","get_items","set_items","set_itemTemplate","_itemTemplate","onCollectionChanged","selectDefault","onScroll","scrollTimeout","onVirtualCollectionChanged","validateScroller","$vc","$ip","isTable","fc","_scrollerSetup","ip","_firstChild","_lastChild","_training","postVirtualCollectionChanged","resetVirtualContainer","_scopes","elementChild","scopeIndex","$fc","$lc","vcScrollHeight","scrollHeight","vcWidth","innerWidth","avgWidth","_avgWidth","itemsHeight","itemsWidth","parentScope","createChildElement","insertBefore","applyItemStyle","totalVisibleItems","allHeight","allWidth","outerWidth","allRows","visibleRows","_allRows","_isChanging","itemIndex","after","last","index2","before","oldHeight","newHeight","oldScrollTop","et","_cachedItems","added","dirty","parentElement","scopes","_isDirty","itemIsFirst","itemIsLast","itemExpanded","get_itemSelected","scope.get_itemSelected","set_itemSelected","scope.set_itemSelected","toggleSelection","removeItemCommand",".removeItemCommand","sender","removeSelectedCommand",".removeSelectedCommand","slice","removeAllCommand",".removeAllCommand","_sendData","onClickHandler","vr","_validationRoot","_labelPath","setClass","onClick","event","_autoSelectOnClick","onSelectItem","get_itemWidth","w","$item","childElement","isCheckBox","oldS","selectedIndex","selectCommand",".selectCommand","selectAllCommand",".selectAllCommand","clearSelectionCommand",".clearSelectionCommand","AtomItemsControl","_mouseCapture","get_offsetLeft","get_offsetTop","get_offsetWidth","_inputBox","set_itemsUrl","set_isPopupOpen","_isPopupOpen","trySelect","onWindowClick","refreshLabel","_backupValue","_backupLabel","get_displayLabel","restoreSelection","onKeyUp","moveSelection","oldTimeout","lp","cl","_displayLabel","up","backupLabel","onInputFocus","_autoOpen","onInputBlur","body","onMouseOver","onMouseOut","AtomListBox","onSelectionChanged","selectedValue","Option","verifyTemplates","_monthList","today","_month","_year","_startYear","_endYear","_currentYear","set_month","updateList","set_year","set_visibleDate","_visibleDate","toggleDateCommand",".toggleDateCommand","toggleDate","its","inArray","getItemClass","getDay","cls","dts","setDate","cm","cd","resizeChild","calculateSize","$element","size","desiredHeight","dock","_resizeOnChildResized","offsetHeight","en","itemHeight","childList","itemWidth","_contentWidth","isScriptOrStyle","right","bottom","fill","reverse","onConfirmed","_mergeData","pr","AtomButton","_showTabs","set_showTabs","_swipeDirection","set_swipeDirection","ov","_isAnimating","_selectedIndex","_previousIndex","_selectedChild","childEn","previousIndex","queue","selectedElement","previousElement","$selectedElement","sac","ael","$previousElement","sd","_submit","_errors","_attachments","createFormLayout","preparePostData","onSubmit","labels","getElementsByTagName","_mergeResult","_clearData","_successMessage","._success","._submit","submitCommand","find","_useTable","_errorItems","_minLabelWidth","createField","isChildField","childID","_fieldTemplate","contentElement","setAttributeNode","AtomFieldType","table","tbody","get_openerData","get_opener","onCloseCommand","onCancelCommand","_cancelNext","openWindow","tt","wct","tt$","wdiv","wtitle","wt","_iframe","atomWindow","_opener","_url","_windowPlaceholder","er","closeCommand",".closeCommand","cancelCommand",".cancelCommand","openCommand",".openCommand","WebAtoms.AtomWindow.openNewWindow","$wt","opener","_commandTemplate","_windowTemplate","updateCalendar","changeMonth","nextMonthCommand",".nextMonthCommand","prevMonthCommand",".prevMonthCommand","_dataElements","binder","goFirstCommand",".goFirstCommand","goLastCommand",".goLastCommand","_pages","goNextCommand",".goNextCommand","get_currentPage","goPrevCommand",".goPrevCommand","preparePages","ps","pages","_total","_pageSize","_itemsPath","_totalPath","set_currentPage","_currentPage","get_pageStart","set_pageSize","set_total","resetYears","years","setComboValue","_date","cb","set_startYear","set_endYear","onDataChange","year","month","setMonths","onPopupRemoved","set_isOpen","_isOpen","popup","_popupTemplate","_refreshInterval","setInterval","clearInterval","get_isOpen","set_time","_set_timeCalled","_time","AtomDateListBox","AtomPostButton","defaultInstance","backCommand",".backCommand","onBackCommand","set_replaceUrl","set_url","replaceItemWithUrl","_removeOnBack","AtomViewStack","openMenuCommand",".openMenuCommand","openMenu","set_menuDirection","_menuDirection","menu","mt","_subMenu","_selectCurrent","pathname","selectItem","links","AtomToggleButtonBar","set_options","_options","updateSelections","ace","selections","span","gpName","get_labelPath","get_valuePath","_isRadio","_displayMode","_newItem","get_newItemCopy","_newItemCopy","updateDisplayMode","onCancelAddNewCommand","onAddCommand","_autoShowDetail","showDetailCommand","addTemplate","inite","_detailPresenter","_detailView","_newPresenter","_newView","_detailHeaderPresenter","_newHeaderPresenter","ch","cht","_detailHeaderToolbar","_newHeaderToolbar","hd","_gridTemplate","_gridPresenter","_detailTemplate","_headerTemplate","_gridPanel","_footerTemplate","addCommand",".addCommand","cancelAddCommand",".cancelAddCommand",".showDetailCommand","set_startNumber","_startNumber","resetNumbers","set_endNumber","_endNumber","set_step","_step","sn","numbers","_showPrompt","AtomComboBox","_countries","setupValues","set_required","num","_required","get_required","ci","country","onFormat","code","set_countries","onCountryChange","_isFormatting","valueIndex","format","onKeyUpLater",".onKeyUpLater","_groupName","set_direction","_direction","refreshUI","_sortField","_defaultDirection","AtomLinkBar","AtomAutoCompleteBox","_self","_updating",".update","timeRegex","_updater","get_hours24","_ap","set_hours24","get_minutes","get_hours","is24","get_ap","set_hours","set_minutes","refreshProperties","set_ap","_filePresenter","fp","set_accept","_accept","set_capture","_capture","onFileSelected","_xhr","files","open","send","set_progress","_progress","_lastError","onProgress","onComplete","status","statusText","set_currentStep","_currentStep","_buttons","styleClass","get_isLastStep","_steps","createWizard","vs","_viewPresenter","vt","_viewTemplate","resetCommand",".resetCommand","nextCommand",".nextCommand","AtomDockPanel","_hasValue","set_hasValue","_input","onValueChange","_placeholder","pf","placeHolderFixer","_yesNo","ts","model","busyCount","_hash","_defaultHash","get_title","title","set_title","get_isBusy","_renderAsPage","get_appWidth","get_appHeight","get_bodyWidth","get_bodyHeight","onHashChanged","ds","_noHashRefresh","invokeUpdateUI","container","onRefreshValue","da","dest","history","pushState","onCheckHash","_lastHash","onhashchange","_busyTemplate","win","pushPost","_isBusy","_pushPostTimeout","_cachedData","_postError","pushPostHandler",".pushPostHandler","AtomForm","set_fieldVisible","_fieldVisible","set_fieldClass","_fieldClass","_contentPresenter","get_controlWidth","get_controlHeight","minLabelWidth","tr","td","tabBar","tabBarID","te","tbc","AtomFormLayout","AtomFormGridLayout","_cellWidth","_cellHeight","maxRows","rows","AtomLayout","Atom.confirm","set_windowWidth","set_windowHeight","set_windowTemplate","set_next","ConfirmValue","__chromeCSP","Atom.alert","ready","unload"] +"mappings":"AAsBAA,SAASA,UAAU,CAACC,CAAC,CAAEC,CAAC,CAAEC,CAAP,CAAU,CACzB,IAAIC,EAAQH,CAACI,QAAQ,CAAC,GAAD,EASjBC,CATsB,CAU1B,OATIF,CAAM,EAAG,EAAT,EACIE,CAAE,CAAEJ,CAAE,CAAAD,CAAA,C,CACLK,C,GACDA,CAAE,CAAEH,CAAC,CACLD,CAAE,CAAAD,CAAA,CAAG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["atoms-debug.js"], +"names":["mapLibrary","n","p","v","index","indexOf","r","substr","createProperty","name","g","classCreator","basePrototype","classConstructor","classPrototype","classProperties","baseClass","constructor","old","cp","f","bpt","k","apply","arguments","__typeName","prototype","hasOwnProperty","__baseType","toString","f.prototype.toString","test","window","classCreatorEx","objDef","base","start","methods","properties","createClass","factory","define","amd","exports","require","jQuery","$","ua","navigator","userAgent","iPhone","chrome","android","caretTimeoutId","mask","fn","extend","caret","begin","end","range","length","is","each","setSelectionRange","createTextRange","collapse","moveEnd","moveStart","select","selectionStart","selectionEnd","document","selection","createRange","duplicate","text","unmask","trigger","settings","input","defs","tests","partialPosition","firstNonMaskPos","lastRequiredNonMaskPos","len","oldVal","data","dataName","undefined","autoclear","placeholder","definitions","split","i","c","push","RegExp","tryFireCompleted","completed","buffer","getPlaceholder","call","charAt","seekNext","pos","seekPrev","shiftL","j","writeBuffer","Math","max","shiftR","t","androidInputEvent","curVal","val","pos2","checkVal","blurEvent","focusText","change","keydownEvent","e","prop","which","keyCode","clearBuffer","preventDefault","keypressEvent","next","proxy","ctrlKey","altKey","metaKey","String","fromCharCode","setTimeout","join","allow","lastMatch","defaultBuffer","substring","map","one","off","removeData","on","clearTimeout","get","activeElement","replace","runAction","action","evt","_this","tm","msg","location","href","atomControl","refresh","get_scope","Atom","alert","_element","ae","AtomEnumerator","invokeAction","current","timeOut","timeout","set_merge","confirm","_action","_evt","control","allControls","WebAtoms","AtomWindow","openNewWindow","localWindow","aggregateHandler","ah","fx","_handler","self","invoke",".invoke","args","console","log","pending","handler",".handler","Templates","jsonML","$x","AtomConfig","AtomBrowser","AtomEvaluator","ChildEnumerator","AtomDate","AtomFileSize","AtomPhone","AtomQuery","AtomUI","AtomPopup","AtomArray","AtomScope","AtomBinder","AtomPromise","reISO","AtomLocalStorage","AtomValidator","errors","AtomBinders","AtomProperties","AtomicUpdator","AtomViewBoxLayout","PageSetup",".call","t1",".t1","bind","v1","t2",".t2","t3",".t3","t4",".t4","setLocalValue","t5",".t5","v2","v3","v4","t6",".t6","t7",".t7","t8",".t8","monthList","t9",".t9","t10",".t10","t13",".t13","t14",".t14","t15",".t15","t16",".t16","t17",".t17","t18",".t18","t19",".t19","t20",".t20","t22",".t22","t23",".t23","t24",".t24","t25",".t25","v5","query","any","t26",".t26","t27",".t27","t28",".t28","t29",".t29","t31",".t31","t32",".t32","t33",".t33","t34",".t34","t35",".t35","t36",".t36","t37",".t37","t38",".t38","t40",".t40","t41",".t41","t42",".t42","t45",".t45","t47",".t47","t48",".t48","t50",".t50","t51",".t51","t52",".t52","t53",".t53","t55",".t55","t56",".t56","t57",".t57","t58",".t58","t59",".t59","t60",".t60","t61",".t61","t62",".t62","t63",".t63","t65",".t65","t66",".t66","t67",".t67","t68",".t68","t69",".t69","t70",".t70","t71",".t71","t72",".t72","t73",".t73","absPos","t74",".t74","t75",".t75","t76",".t76","t78",".t78","t79",".t79","t80",".t80","t81",".t81","t82",".t82","t83",".t83","t85",".t85","t86",".t86","t87",".t87","t89",".t89","csv","t91",".t91","t92",".t92","t93",".t93","t94",".t94","t96",".t96","t97",".t97","t98",".t98","t99",".t99","t100",".t100","t101",".t101","t102",".t102","t103",".t103","t104",".t104","t105",".t105","stop","$x.stop","Error","stopIf","$x.timeout","actions","$x.invoke","d","a","x","$x.data","scope","$x.scope","localScope","$x.localScope","appScope","$x.appScope","owner","$x.owner","if","$x.if","isValid","$x.isValid","target","o","validate","get_errors","mapJoin","$x.alert","focus","$x.focus","el","clearErrors","$x.clearErrors","clear","$x.confirm","$x.window","path","props","$x.localWindow","reveal","$x.reveal","AtomFilter","af","aps","truef","falsef","item","l","escapeRegex","b","value","compare","cmp","rf","filter","isString","sort","orderBy","fields","tokens","desc","field","bf","cs","localeCompare","toLowerCase","build","q","cor","orf","cond","left","compF","ec","$f","Array","Array.prototype.filter","Function","Array.prototype.sort","s","Date","toDateString","detect","nVer","appVersion","nAgt","browserName","appName","fullVersion","parseFloat","majorVersion","parseInt","nameOffset","verOffset","ix","isMobile","lastIndexOf","toUpperCase","isNaN","init","isMac","supportsUpload","isFF","isChrome","isIE","isSafari","supportsFlash","parse","txt","be","becache","vars","ms","match","nv","method","methodString","compile","ecache","nextItem","firstChild","findNext","ne","nodeType","nextSibling","isFirst","isLast","firstElementChild","first","previousElementSibling","nextElementSibling","array","_array","currentIndex","reset","refreshWindowCommand","reload","time","getTime","obj","getValue","set","setValue","step","merge","y","update","clone","getClone","url","lq","finalUrl","plist","JSON","stringify","encodeURIComponent","encodeParameters","tableLayout","columns","cellWidth","cellHeight","AtomTableLayout","toDash","$1","secureUrl","ui","u","protocol","Atom.mapJoin","list","label","lf","isFunction","resolve","Atom.resolve","ap","type","key","done","ap.done","remove","pushValue","failed","then","onInvoke","_invoker","decodeURIComponent","search","urlParams","exec","pageQuery","getTimezoneOffset","toLocalTime","toJSON","setTime","dt","h","m","getFullYear","getMonth","getDate","setHours","setMinutes","toMMDDYY","str","toShortDateString","m_names","toDateTimeString","toTimeString","getHours","getMinutes","smartDate","now","diff","smartDateUTC","jsonDate","getSeconds","zoneOffsetMinutes","toUTC","zoneOffset","date","toFileSize","round","toSmallPhoneString","cc","phone","ext","toPhoneString","compileSelect","$f.compileSelect","firstOrDefault","where","toArray","count","sum","groupBy","fs","si","rl","Atom.query","attributeMap","attributes","nodeName","lastIndex","nodeValue","attr","sv","setAttribute","getAttribute","removeAttr","removeAttribute","getAtomType","createElement","ex","createTextNode","appendChild","cloneNode","findPresenter","parseUrl","parseValue","cancelEvent","returnValue","stopPropagation","assignID","element","id","getNewIndex","atomParent","parentNode","_logicalParent","toNumber","isNode","XMLHttpRequest","Node","createDelegate","instance","methodName","getDelegate","create","__delegates","__index","contains","removeAllChildren","hasChildNodes","lc","lastChild","dispose","isWebkit","isWeirdControl","parseCSS","$e","css","setItemRect","isBoxSizing","marginLeft","marginRight","marginTop","marginBottom","isButton","width","style","height","top","getPresenterOwner","ctrl","_presenters","get_atomParent","createCss","createControl","newScope","_data","_scope","createChildren","isIE7","isIE8","AtomUri","window.AtomUri","hash","scheme","host","port","show","parent","removeHandler","zOrder","startOrder","offset","position","outerHeight","visibility","stack","peek","hide","pk","pop","clicked","simulateParentClick","window.simulateParentClick","frameElement","click","enumerator","Array.prototype.enumerator","Array.prototype.indexOf","sep","trim","ar","getValues","result","intersect","getMatch","dataItem","arrayItem","splice","app","__application","_v","refreshCommand",".refreshCommand","refreshValue","_refreshValue","._refreshValue","_onRefreshValue","forceRefresh","dupeObj","retObj","objInd","oldValue","handlers","get_WatchHandler","_$_watcher","add_WatchHandler","handlersForKey","_$_handlers","remove_WatchHandler","invokeItemsEvent","mode","_onRefreshItems","ary","addItem","insertItem","addItems","items","removeItem","removeAtIndex","refreshItems","add_CollectionChanged","remove_CollectionChanged","setError","message","add","insert","refreshArray","clearArray","_eventHandlers","bindEvent","addEventListener","unbindEvent","removed","unbind","removeEventListener","_success","_failed","_cached","_process","_calls","_showProgress","_showError","success",".success","onSuccess","error",".error","onError","_value","process","_invoke","_persist","invokePromise","promiseTimeout","atomApplication","setBusy","showProgress","showError","persist","abort","handle","getUrl","AtomPromise.getUrl","pageUrl","parseDates","AtomPromise.parseDates","ajax","AtomPromise.ajax","options","dh","sc","osc","attachments","fd","versionUrl","versionKey","version","cache","headers","debug","statusCode","jsonPostEncode","FormData","append","xhr","o.xhr","myXhr","ajaxSettings","upload","lengthComputable","percentComplete","loaded","total","contentType","processData","sendRawQueryString","res","responseText","AtomPromise.get","dataType","plugins","json","AtomPromise.json","plugin","cacheInProgress","cachedPromise","AtomPromise.cachedPromise","sessionStorage","p1","cachedJson","AtomPromise.cachedJson","vd","vk","ifModified","configCache","configLabel","AtomPromise.configLabel","valuePath","labelPath","isNumber","cf","AtomPromise.prototype.insertItem","arrayPath","_$_itemInserted","toNativePromise","AtomPromise.prototype.toNativePromise","Promise","reject","storage","als","baseType","twoWays","jq","vf","events","pe","isArray","pathList","_isUpdating","onPropChanged","objKey","valueAsDate","checked","onDataChanged","newTarget","evaluate","property","onValChanged","dispatcher","callLater","setup","_lastValue","AtomComponent","_paused","head","tail","onTimeout",".onTimeout","_onTimeout","._onTimeout","pause","setupControls","ct","updateUI","AtomDispatcher","force","ve","refreshing","invalid","concat","ac","atomValidator","ce","rv","child","get_owner","get_appScope","_localScope","get_localScope","set_scope","_ready","_defaultScope","get_name","_name","getTemplate","compiled","compileElement","Templates.compileElement","e1","compileJsonML","Templates.compileJsonML","Templates.compile","div","innerHTML","children","Templates.get","compileType","Templates.compileType","shortName","tl","yt","{","[","eval","original","$[","^[","isEnabled","src","eventName","valueFunction","validatorFunction","validator","_created","required","get_value","clearBinding","tagName","regex","html","setPosition","relPos","class","atomClass","removeClass","addClass","bindings","_isVisible","eid","_mergeData2","get_data","get_element","addBinding","ab","AtomBinding","get_templateParent","_templateParent","set_data","mergeData","updateChildBindings","initProperties","_disposed","setProperties","onCreated","onLoaded","caller","tc","onCreateChildren","amap","tn","childType","removeAttributeNode","node","templateOwner","removeChild","_scopeTemplates","onUpdateUI","_layout","doLayout","updateChildUI","at","bindList","compiledFunc","childItem","camelCase","op","_promisesQueue","_promises","_loadNext","charCodeAt","thisElement","onInitialized","st","aname","ls","initChildren","eac","disposeChildren","oldIE","get_innerTemplate","_template","set_innerTemplate","AtomUIComponent","_selectedItems","_selectedElements","_selectedIndexSet","_onUIChanged","_itemsPresenter","_itemsPanel","_childItemType","AtomControl","get_postData","_postData","get_selectedItem","get_allValues","_valueSeparator","_valuePath","vp","vfp","get_dataItems","_allowMultipleSelection","set_value","dataItems","set_sortPath","_sortPath","onCollectionChangedInternal","set_selectAll","_selectAll","set_defaultValue","invokePost","errorNext","_confirm","_confirmMessage","_postUrl","_next","invokeNext","_errorNext","set_filter","_filter","_filteredItems","hasItems","isSelected","se","sitem","_items","sp","spf","getIndexOfDataItem","getDataItemAtIndex","get_childAtomControls","get_selectedChild","set_allowSelectFirst","_allowSelectFirst","set_selectedItem","get_selectedItems","set_selectedItems","get_selectedIndex","set_selectedIndex","updateChildSelections","bringSelectionIntoView","_uiVirtualize","avgHeight","_avgHeight","vc","_virtualContainer","vcHeight","innerHeight","block","ceil","itemsInBlock","_columns","scrollTop","floor","scrollIntoView","updateSelectionBindings","onSelectedItemsChanged","_autoScrollToSelection","get_items","set_items","set_itemTemplate","_itemTemplate","onCollectionChanged","selectDefault","onScroll","scrollTimeout","onVirtualCollectionChanged","validateScroller","$vc","$ip","isTable","fc","_scrollerSetup","ip","_firstChild","_lastChild","_training","postVirtualCollectionChanged","resetVirtulContainer","_scopes","elementChild","firstVisibleIndex","lastVisibleIndex","$fc","$lc","vcScrollHeight","scrollHeight","vcWidth","innerWidth","avgWidth","_avgWidth","itemsHeight","itemsWidth","parentScope","createChildElement","insertBefore","applyItemStyle","totalVisibleItems","allHeight","allWidth","outerWidth","allRows","visibleRows","_allRows","_visibleRows","_visibleHeight","lastScrollTop","_isChanging","itemIndex","firstIndex","firstItem","lastItem","after","last","index2","before","oldHeight","newHeight","oldScrollTop","et","added","dirty","parentElement","scopes","_isDirty","itemIsFirst","itemIsLast","itemExpanded","get_itemSelected","scope.get_itemSelected","set_itemSelected","scope.set_itemSelected","toggleSelection","removeItemCommand",".removeItemCommand","sender","removeSelectedCommand",".removeSelectedCommand","slice","removeAllCommand",".removeAllCommand","_sendData","onClickHandler","vr","_validationRoot","_labelPath","setClass","onClick","event","_autoSelectOnClick","onSelectItem","get_itemWidth","w","$item","childElement","isCheckBox","oldS","selectedIndex","selectCommand",".selectCommand","selectAllCommand",".selectAllCommand","clearSelectionCommand",".clearSelectionCommand","AtomItemsControl","_mouseCapture","get_offsetLeft","get_offsetTop","get_offsetWidth","_inputBox","set_itemsUrl","set_isPopupOpen","_isPopupOpen","trySelect","onWindowClick","refreshLabel","_backupValue","_backupLabel","get_displayLabel","restoreSelection","onKeyUp","moveSelection","oldTimeout","lp","cl","_displayLabel","up","backupLabel","onInputFocus","_autoOpen","onInputBlur","body","onMouseOver","onMouseOut","AtomListBox","onSelectionChanged","selectedValue","Option","verifyTemplates","_monthList","today","_month","_year","_startYear","_endYear","_currentYear","set_month","updateList","set_year","set_visibleDate","_visibleDate","toggleDateCommand",".toggleDateCommand","toggleDate","its","inArray","getItemClass","getDay","cls","dts","setDate","cm","cd","resizeChild","calculateSize","$element","size","desiredHeight","dock","_resizeOnChildResized","offsetHeight","en","itemHeight","childList","itemWidth","_contentWidth","isScriptOrStyle","right","bottom","fill","reverse","onConfirmed","_mergeData","pr","AtomButton","_showTabs","set_showTabs","_swipeDirection","set_swipeDirection","ov","_isAnimating","_selectedIndex","_previousIndex","_selectedChild","childEn","previousIndex","queue","selectedElement","previousElement","$selectedElement","sac","ael","$previousElement","sd","_submit","_errors","_attachments","createFormLayout","preparePostData","onSubmit","labels","getElementsByTagName","get_method","_mergeResult","_clearData","_successMessage","._success","._submit","submitCommand","find","_useTable","_errorItems","_minLabelWidth","createField","isChildField","childID","_fieldTemplate","contentElement","setAttributeNode","AtomFieldType","table","tbody","get_openerData","get_opener","onCloseCommand","onCancelCommand","_cancelNext","openWindow","tt","wct","tt$","wdiv","wtitle","wt","_iframe","atomWindow","_opener","_url","_windowPlaceholder","er","closeCommand",".closeCommand","cancelCommand",".cancelCommand","openCommand",".openCommand","WebAtoms.AtomWindow.openNewWindow","$wt","opener","_commandTemplate","_windowTemplate","updateCalendar","changeMonth","nextMonthCommand",".nextMonthCommand","prevMonthCommand",".prevMonthCommand","_dataElements","binder","goFirstCommand",".goFirstCommand","goLastCommand",".goLastCommand","_pages","goNextCommand",".goNextCommand","get_currentPage","goPrevCommand",".goPrevCommand","preparePages","ps","pages","_total","_pageSize","_itemsPath","_totalPath","set_currentPage","_currentPage","get_pageStart","set_pageSize","set_total","resetYears","years","setComboValue","_date","cb","set_startYear","set_endYear","onDataChange","year","month","setMonths","onPopupRemoved","set_isOpen","_isOpen","popup","_popupTemplate","_refreshInterval","setInterval","clearInterval","get_isOpen","set_time","_set_timeCalled","_time","AtomDateListBox","AtomPostButton","defaultInstance","backCommand",".backCommand","onBackCommand","set_replaceUrl","set_url","replaceItemWithUrl","_removeOnBack","AtomViewStack","openMenuCommand",".openMenuCommand","openMenu","set_menuDirection","_menuDirection","menu","mt","_subMenu","_selectCurrent","pathname","selectItem","links","AtomToggleButtonBar","set_options","_options","updateSelections","ace","selections","span","gpName","get_labelPath","get_valuePath","_isRadio","_displayMode","_newItem","get_newItemCopy","_newItemCopy","updateDisplayMode","onCancelAddNewCommand","onAddCommand","_autoShowDetail","showDetailCommand","addTemplate","inite","_detailPresenter","_detailView","_newPresenter","_newView","_detailHeaderPresenter","_newHeaderPresenter","ch","cht","_detailHeaderToolbar","_newHeaderToolbar","hd","_gridTemplate","_gridPresenter","_detailTemplate","_headerTemplate","_gridPanel","_footerTemplate","addCommand",".addCommand","cancelAddCommand",".cancelAddCommand",".showDetailCommand","set_startNumber","_startNumber","resetNumbers","set_endNumber","_endNumber","set_step","_step","sn","numbers","_showPrompt","AtomComboBox","_countries","setupValues","set_required","num","_required","get_required","ci","country","onFormat","code","set_countries","onCountryChange","_isFormatting","valueIndex","format","onKeyUpLater",".onKeyUpLater","_groupName","set_direction","_direction","refreshUI","_sortField","_defaultDirection","AtomLinkBar","AtomAutoCompleteBox","_self","_updating",".update","timeRegex","_updater","get_hours24","_ap","set_hours24","get_minutes","get_hours","is24","get_ap","set_hours","set_minutes","refreshProperties","set_ap","_filePresenter","fp","set_accept","_accept","set_capture","_capture","onFileSelected","_xhr","files","open","send","set_progress","_progress","_lastError","onProgress","onComplete","status","statusText","set_currentStep","_currentStep","_buttons","styleClass","get_isLastStep","_steps","createWizard","vs","_viewPresenter","vt","_viewTemplate","resetCommand",".resetCommand","nextCommand",".nextCommand","AtomDockPanel","_hasValue","set_hasValue","_input","onValueChange","_placeholder","pf","placeHolderFixer","_yesNo","ts","model","busyCount","_hash","_defaultHash","get_title","title","set_title","get_isBusy","_renderAsPage","get_appWidth","get_appHeight","get_bodyWidth","get_bodyHeight","onHashChanged","ds","_noHashRefresh","invokeUpdateUI","container","onRefreshValue","da","dest","history","pushState","onCheckHash","_lastHash","onhashchange","_busyTemplate","win","pushPost","_isBusy","_pushPostTimeout","_cachedData","_postError","pushPostHandler",".pushPostHandler","AtomForm","set_fieldVisible","_fieldVisible","set_fieldClass","_fieldClass","_contentPresenter","get_controlWidth","get_controlHeight","minLabelWidth","tr","td","tabBar","tabBarID","te","tbc","AtomFormLayout","AtomFormGridLayout","_cellWidth","_cellHeight","maxRows","rows","AtomLayout","Atom.confirm","set_windowWidth","set_windowHeight","set_windowTemplate","set_next","ConfirmValue","__chromeCSP","Atom.alert","ready","unload"] } diff --git a/bundleconfig.json b/bundleconfig.json index c0ea762d..5d8cc787 100644 --- a/bundleconfig.json +++ b/bundleconfig.json @@ -2,7 +2,7 @@ { "outputFileName": "atoms.min.js", "inputFiles": [ - "atoms.js" + "atoms-debug.js" ], "sourceMap": true } diff --git a/nuget/Atoms.js/NuGet.log b/nuget/Atoms.js/NuGet.log index a6f5aff9..490ef5cf 100644 Binary files a/nuget/Atoms.js/NuGet.log and b/nuget/Atoms.js/NuGet.log differ diff --git a/nuget/Atoms.js/Package.nuspec b/nuget/Atoms.js/Package.nuspec index acbd850a..d2f07636 100644 --- a/nuget/Atoms.js/Package.nuspec +++ b/nuget/Atoms.js/Package.nuspec @@ -2,7 +2,7 @@ Web.Atoms.js - 2.1.103 + 2.1.106 Web.Atoms.js Akash Kava diff --git a/plugins/upload/atom-uploader.js b/plugins/upload/atom-uploader.js index d9a64bdf..30051194 100644 --- a/plugins/upload/atom-uploader.js +++ b/plugins/upload/atom-uploader.js @@ -117,7 +117,7 @@ window.__atom_flash_uploader_event = function (id, json) { case "ready": break; case "click-error": - alert(JSON.stringify(evt.e)); + Atom.alert(JSON.stringify(evt.e)); break; case "select": this.add_items(evt.files); @@ -282,7 +282,7 @@ window.__atom_flash_uploader_event = function (id, json) { if (this._maxFileSize != -1) { var bigFiles = Atom.query(v).where({ 'size >': this._maxFileSize }); if (bigFiles.any()) { - alert('File has to be less then ' + AtomFileSize.toFileSize(this._maxFileSize)); + Atom.alert('File has to be less then ' + AtomFileSize.toFileSize(this._maxFileSize)); if (this._filePresenter) { this.createFilePresenter(); return; @@ -294,7 +294,7 @@ window.__atom_flash_uploader_event = function (id, json) { if (v.length > this._maxFiles) { var msg = this._maxFilesErrorMessage ; if (!msg) { msg = "You cannot choose more than " + this._maxFiles + " files"; } - alert(msg); + Atom.alert(msg); if (this._filePresenter) { this.createFilePresenter(); return; diff --git a/src/Controls/AtomButton.js b/src/Controls/AtomButton.js index 4d5ab290..9f434731 100644 --- a/src/Controls/AtomButton.js +++ b/src/Controls/AtomButton.js @@ -24,7 +24,7 @@ vr.validate(); var errors = vr.get_errors(); if (errors.length) { - alert(Atom.mapJoin(errors, 'label')); + Atom.alert(Atom.mapJoin(errors, 'label')); return false; } } @@ -32,7 +32,7 @@ var errors = this.get_errors(); if (errors.length) { - alert(Atom.mapJoin(errors, 'label')); + Atom.alert(Atom.mapJoin(errors, 'label')); return false; } diff --git a/src/Controls/AtomControl.js b/src/Controls/AtomControl.js index 710c28c9..c01fb67e 100644 --- a/src/Controls/AtomControl.js +++ b/src/Controls/AtomControl.js @@ -400,7 +400,7 @@ window.AtomProperties = AtomProperties; try { runAction.call(this,action, evt); } catch (e) { - alert(e); + Atom.alert(e); if (console.error) { console.error(e); } @@ -1079,7 +1079,7 @@ window.AtomProperties = AtomProperties; this.set_scope(s); } catch (ex) { log(JSON.stringify(ex)); - alert(JSON.stringify(ex)); + Atom.alert(JSON.stringify(ex)); } } diff --git a/src/Controls/AtomItemsControl.js b/src/Controls/AtomItemsControl.js index 57c31a70..503d58ca 100644 --- a/src/Controls/AtomItemsControl.js +++ b/src/Controls/AtomItemsControl.js @@ -11,7 +11,7 @@ this._onUIChanged = false; this._itemsPresenter = null; this._itemsPanel = null; - this._presenters = ["itemsPresenter"]; + this._presenters = ["itemsPresenter", "virtualContainer"]; this._childItemType = WebAtoms.AtomControl; }, properties: { @@ -146,7 +146,7 @@ var errors = this.get_errors(); if (errors.length) { - alert(errors.join("\n")); + Atom.alert(errors.join("\n")); return false; } @@ -351,7 +351,7 @@ var scrollTop = Math.floor(index / itemsInBlock); vc.scrollTop(scrollTop * vcHeight); - + return; @@ -500,7 +500,7 @@ overflow: "auto" }); - this.bindEvent(vc, "scroll","onScroll"); + this.bindEvent(vc, "scroll", "onScroll"); var $ip = $(ip); $ip.css({ @@ -521,8 +521,8 @@ lc = document.createElement("DIV"); } - $(fc).addClass("sticky first-child").css({ posiiton:"relative", height: 0, width: "100%", clear: "both" }); - $(lc).addClass("sticky last-child").css({ posiiton:"relative", height: 0, width: "100%", clear: "both" }); + $(fc).addClass("sticky first-child").css({ posiiton: "relative", height: 0, width: "100%", clear: "both" }); + $(lc).addClass("sticky last-child").css({ posiiton: "relative", height: 0, width: "100%", clear: "both" }); this._firstChild = fc; this._lastChild = lc; @@ -543,7 +543,7 @@ }); }, - resetVirtualContainer: function () { + resetVirtulContainer: function () { if (this._itemsPresenter) { this.disposeChildren(this._itemsPresenter); } @@ -562,7 +562,7 @@ var items = this.get_dataItems(); if (!items.length) { - this.resetVirtualContainer(); + this.resetVirtulContainer(); return; } @@ -584,7 +584,7 @@ var vcHeight = $vc.innerHeight(); var vcScrollHeight = vc.scrollHeight; - if ( isNaN(vcHeight) || vcHeight <= 0 || vcScrollHeight <= 0) { + if (isNaN(vcHeight) || vcHeight <= 0 || vcScrollHeight <= 0) { // leave it.. var self = this; setTimeout(function () { @@ -609,7 +609,7 @@ if (this._training) { - if (vcHeight >= itemsHeight/3) { + if (vcHeight >= itemsHeight) { // lets add item... var ce = lc.previousElementSibling; var index = 0; @@ -624,7 +624,7 @@ var data = ae.current(); var elementChild = this.createChildElement(parentScope, null, data, ae); //WebAtoms.dispatcher.callLater(function () { - ip.insertBefore(elementChild,lc); + ip.insertBefore(elementChild, lc); //}); this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); this.postVirtualCollectionChanged(); @@ -652,17 +652,27 @@ var allRows = Math.ceil(items.length / columns); var visibleRows = Math.ceil(totalVisibleItems / columns); + console.log({ + avgWidth: avgWidth, + avgHeight: avgHeight, + totalVisibleItems: totalVisibleItems, + allRows: allRows, + columns: columns + }); + //this._visibleBlock = visibleRows * avgHeight; //this._itemsInBlock = totalVisibleItems; this._allRows = allRows; this._columns = columns; + //this._allRows = allRows; - //this._visibleRows = visibleRows; + this._visibleRows = visibleRows; + this._visibleHeight = visibleRows * avgHeight; // set height of last child... to increase padding $lc.css({ - height: ((allRows-visibleRows+1) * avgHeight) + "px" + height: ((allRows - visibleRows + 1) * avgHeight) + "px" }); this._training = false; this._ready = true; @@ -674,6 +684,8 @@ var self = this; + this.lastScrollTop = vc.scrollTop; + if (this._isChanging) { //setTimeout(function () { // self.onVirtualCollectionChanged(); @@ -682,25 +694,38 @@ } this._isChanging = true; - var block = Math.floor(vcHeight / avgHeight); - var itemsInBlock = block * this._columns; + var block = Math.floor(this._visibleHeight / avgHeight); + var itemsInBlock = this._visibleRows * this._columns; // lets simply recreate the view... if we are out of the scroll bounds... - var index = Math.max(0, Math.floor(vc.scrollTop / vcHeight) - 1); + var index = Math.floor(vc.scrollTop / this._visibleHeight); var itemIndex = index * itemsInBlock; - console.log("First block index is " + index + " item index is " + index * itemsInBlock); + //console.log("First block index is " + index + " item index is " + index * itemsInBlock); if (itemIndex >= items.length) { this._isChanging = false; return; } + var lastIndex = (Math.max(index, 0) + 3) * itemsInBlock - 1; + var firstIndex = Math.max(0, (index) * itemsInBlock); + var ce = fc.nextElementSibling; - if (ce != lc) { - var scopeIndex = ce.atomControl.get_scope().itemIndex; - if (scopeIndex == itemIndex) { - console.log("No need to create any item"); + var firstItem = fc.nextElementSibling; + var lastItem = lc.previousElementSibling; + + if (firstItem != lastItem) { + var firstVisibleIndex = firstItem.atomControl.get_scope().itemIndex; + var lastVisibleIndex = lastItem.atomControl.get_scope().itemIndex; + console.log({ + firstVisibleIndex: firstVisibleIndex, + firstIndex: firstIndex, + lastVisibleIndex: lastVisibleIndex, + lastIndex: lastIndex + }); + if (firstIndex >= firstVisibleIndex && lastIndex <= lastVisibleIndex) { + console.log("All items are visible..."); this._isChanging = false; return; } @@ -723,7 +748,7 @@ var ae = new AtomEnumerator(items); - for (var i = 0; i < itemIndex; i++) { + for (var i = 0; i < firstIndex; i++) { ae.next(); } @@ -734,7 +759,7 @@ var add = []; - for (var i = 0; i < itemsInBlock * 3; i++) { + for (var i = firstIndex; i <= lastIndex; i++) { if (!ae.next()) break; var index2 = ae.currentIndex(); @@ -753,28 +778,20 @@ } - var h = (this._allRows - block * 3) * avgHeight - index * vcHeight; + var h = (this._allRows - block * 3) * avgHeight - index * this._visibleHeight; console.log("last child height = " + h); WebAtoms.dispatcher.callLater(function () { var oldHeight = $fc.height(); - var newHeight = index * vcHeight; + var newHeight = index * self._visibleHeight; var diff = newHeight - oldHeight; var oldScrollTop = vc.scrollTop; - var a = new AtomEnumerator(remove); - while (a.next()) { - var ec = a.current(); - if (!ec.before) { - ec.atomControl.dispose(); - } - ec.remove(); - } - a = new AtomEnumerator(add); + var a = new AtomEnumerator(add); while (a.next()) { var ec = a.current(); ip.insertBefore(ec, ec.before.nextElementSibling); @@ -785,17 +802,28 @@ height: newHeight }); + a = new AtomEnumerator(remove); + while (a.next()) { + var ec = a.current(); + if (!ec.before) { + ec.atomControl.dispose(); + } + ec.remove(); + } + + //vc.scrollTop = oldScrollTop - diff; $lc.css({ - height: h + height: h }); console.log("Old: " + oldScrollTop + " Diff: " + diff + " Old Height: " + oldHeight + " Height: " + newHeight); self._isChanging = false; + }); WebAtoms.dispatcher.start(); @@ -805,8 +833,7 @@ onCollectionChanged: function (mode, index, item) { if (/reset|refresh/i.test(mode)) { - this._scopes = {}; - this._cachedItems = null; + this.resetVirtulContainer(); } @@ -888,46 +915,46 @@ var ae = new AtomEnumerator(items); - this.getTemplate("itemTemplate"); + this.getTemplate("itemTemplate"); - while (ae.next()) { - var data = ae.current(); - var elementChild = this.createChildElement(parentScope, element, data, ae); - added.push(elementChild); - this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); - } + while (ae.next()) { + var data = ae.current(); + var elementChild = this.createChildElement(parentScope, element, data, ae); + added.push(elementChild); + this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); + } - //var ae = new AtomEnumerator(items); - //while (ae.next()) { - // var data = ae.current(); - // var elementChild = this.createChildElement(parentScope, element, data, ae); - // this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); - //} - var self = this; - WebAtoms.dispatcher.callLater(function () { - var dirty = []; - var ce = new ChildEnumerator(element); - while (ce.next()) { - var item = ce.current(); - var f = added.filter(function (fx) { return item == fx; }); - if (f.pop() != item) { - dirty.push(item); - } + //var ae = new AtomEnumerator(items); + //while (ae.next()) { + // var data = ae.current(); + // var elementChild = this.createChildElement(parentScope, element, data, ae); + // this.applyItemStyle(elementChild, data, ae.isFirst(), ae.isLast()); + //} + var self = this; + WebAtoms.dispatcher.callLater(function () { + var dirty = []; + var ce = new ChildEnumerator(element); + while (ce.next()) { + var item = ce.current(); + var f = added.filter(function (fx) { return item == fx; }); + if (f.pop() != item) { + dirty.push(item); } - ce = new AtomEnumerator(dirty); - while (ce.next()) { - var item = ce.current(); - //self.dispose(item); - if (item.atomControl) { - item.atomControl.dispose(); - } - $(item).remove(); + } + ce = new AtomEnumerator(dirty); + while (ce.next()) { + var item = ce.current(); + //self.dispose(item); + if (item.atomControl) { + item.atomControl.dispose(); } + $(item).remove(); + } + + }); - }); - WebAtoms.dispatcher.start(); @@ -948,7 +975,7 @@ createChildElement: function (parentScope, parentElement, data, ae, before) { var elementChild = AtomUI.cloneNode(this._itemTemplate); - elementChild._logicalParent = parentElement; + elementChild._logicalParent = parentElement || this._itemsPresenter; elementChild._templateParent = this; elementChild._isDirty = true; @@ -962,13 +989,20 @@ }); } - var scopes = this._scopes || { - }; - this._scopes = scopes; - var index = ae ? ae.currentIndex() : -1; - var scope = scopes[index] || new AtomScope(this, parentScope, parentScope.__application); - scopes[index] = scope; + var scope = null; + + if (this._uiVirtualize) { + var scopes = this._scopes || { + }; + this._scopes = scopes; + + scope = scopes[index] || new AtomScope(this, parentScope, parentScope.__application); + scopes[index] = scope; + } else { + scope = new AtomScope(this, parentScope, parentScope.__application); + } + if (ae) { scope.itemIsFirst = ae.isFirst(); scope.itemIsLast = ae.isLast(); @@ -977,7 +1011,7 @@ scope.data = data; scope.get_itemSelected = function () { return scope.owner.isSelected(data); - }; + }; scope.set_itemSelected = function (v) { scope.owner.toggleSelection(data, true); }; @@ -1040,9 +1074,9 @@ }, dispose: function () { - this.resetVirtualContainer(); + this.resetVirtulContainer(); base.dispose.call(this); - this._selectedItems = null; + //this._selectedItems = null; }, diff --git a/src/Controls/AtomPostButton.js b/src/Controls/AtomPostButton.js index bbd922f4..bff5c424 100644 --- a/src/Controls/AtomPostButton.js +++ b/src/Controls/AtomPostButton.js @@ -46,7 +46,7 @@ vr.validate(); var errors = vr.get_errors(); if (errors.length) { - alert(Atom.mapJoin(errors,'label')); + Atom.alert(Atom.mapJoin(errors,'label')); return false; } } @@ -55,7 +55,7 @@ var errors = this.get_errors(); if (errors.length) { - alert(Atom.mapJoin(errors, 'label')); + Atom.alert(Atom.mapJoin(errors, 'label')); return false; } diff --git a/src/Core/Atom.js b/src/Core/Atom.js index ed19a290..dd6eaf3d 100644 --- a/src/Core/Atom.js +++ b/src/Core/Atom.js @@ -38,10 +38,10 @@ window.AtomEnumerator = AtomEnumerator; var Atom = { version: { - text: "2.1.103", + text: "2.1.106", major: 2, minor: 1, - build: 103 + build: 106 }, refreshWindowCommand: function () { diff --git a/src/Core/Stop.js b/src/Core/Stop.js index 354c54e3..6003c6ce 100644 --- a/src/Core/Stop.js +++ b/src/Core/Stop.js @@ -70,7 +70,7 @@ $x.isValid = function (target,action) { var e = this.get_errors(); if (e && e.length) { - alert(Atom.mapJoin(e,"label","\n")); + Atom.alert(Atom.mapJoin(e,"label","\n")); return; } this.invokeAction(action); @@ -79,7 +79,7 @@ $x.isValid = function (target,action) { $x.alert = function (msg) { return function () { - alert(msg); + Atom.alert(msg); }; }; diff --git a/src/Data/AtomPromise.js b/src/Data/AtomPromise.js index bc3f0b39..00a91ce1 100644 --- a/src/Data/AtomPromise.js +++ b/src/Data/AtomPromise.js @@ -186,6 +186,8 @@ AtomPromise.getUrl = function (url) { } }; +var reISO = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*))(?:Z|(\+|-)([\d|:]*))?$/; + AtomPromise.parseDates = function (obj) { if (!obj) return obj; @@ -210,6 +212,10 @@ AtomPromise.parseDates = function (obj) { if (/^\/date\(/gi.test(obj) && /\)\/$/gi.test(obj)) { return AtomDate.parse(obj); } + + if (reISO.test(obj)) { + return new Date(obj); + } } return obj; }; diff --git a/src/DataControls/AtomForm.js b/src/DataControls/AtomForm.js index e849c145..6e24d80e 100644 --- a/src/DataControls/AtomForm.js +++ b/src/DataControls/AtomForm.js @@ -11,6 +11,7 @@ this._attachments = null; }, properties: { + method: 'POST', result: null, errorNext: null, mergeData: null, @@ -73,7 +74,7 @@ var data = this.preparePostData(); var url = AtomPromise.getUrl(this._postUrl); - var p = AtomPromise.json(url, { _tv: Atom.time() }, { type: "POST", data: data }); + var p = AtomPromise.json(url, { _tv: Atom.time() }, { type: this.get_method(), data: data }); p.then(this._success); var errorNext = this._errorNext; if (errorNext) {