marko 4.28.6 → 4.28.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/CHANGELOG.md +2569 -0
  2. package/dist/compiler/ast/CustomTag.js +1 -1
  3. package/dist/core-tags/core/await/renderer.js +11 -3
  4. package/dist/core-tags/core/await/reorderer-renderer.js +35 -8
  5. package/dist/node_modules/@internal/components-beginComponent/index-browser.js +5 -5
  6. package/dist/node_modules/@internal/components-beginComponent/index.js +12 -12
  7. package/dist/node_modules/@internal/components-define-widget-legacy/index-browser.js +43 -43
  8. package/dist/node_modules/@internal/components-define-widget-legacy/index.js +3 -3
  9. package/dist/node_modules/@internal/components-endComponent/index.js +3 -3
  10. package/dist/node_modules/@internal/components-entry/index-browser.js +2 -2
  11. package/dist/node_modules/@internal/components-entry/index.js +21 -21
  12. package/dist/node_modules/@internal/components-entry-legacy/index-browser.js +6 -6
  13. package/dist/node_modules/@internal/components-entry-legacy/index.js +1 -1
  14. package/dist/node_modules/@internal/components-registry/index-browser.js +40 -40
  15. package/dist/node_modules/@internal/components-registry/index.js +2 -2
  16. package/dist/node_modules/@internal/components-util/index-browser.js +20 -20
  17. package/dist/node_modules/@internal/components-util/index.js +9 -9
  18. package/dist/node_modules/@internal/create-readable/index-browser.js +1 -1
  19. package/dist/node_modules/@internal/create-readable/index.js +8 -8
  20. package/dist/node_modules/@internal/init-components-tag/index.js +4 -4
  21. package/dist/node_modules/@internal/preserve-tag/index-browser.js +8 -8
  22. package/dist/node_modules/@internal/preserve-tag/index.js +5 -5
  23. package/dist/node_modules/@internal/set-immediate/index-browser.js +1 -1
  24. package/dist/node_modules/@internal/set-immediate/index-worker.js +2 -2
  25. package/dist/node_modules/@internal/set-immediate/index.js +2 -2
  26. package/dist/runtime/RenderResult.js +13 -13
  27. package/dist/runtime/components/Component.js +144 -144
  28. package/dist/runtime/components/ComponentDef.js +27 -27
  29. package/dist/runtime/components/ComponentsContext.js +19 -19
  30. package/dist/runtime/components/GlobalComponentsContext.js +4 -4
  31. package/dist/runtime/components/KeySequence.js +3 -3
  32. package/dist/runtime/components/ServerComponent.js +13 -13
  33. package/dist/runtime/components/State.js +26 -26
  34. package/dist/runtime/components/attach-detach.js +8 -8
  35. package/dist/runtime/components/defineComponent.js +5 -5
  36. package/dist/runtime/components/dom-data.js +4 -4
  37. package/dist/runtime/components/event-delegation.js +10 -10
  38. package/dist/runtime/components/legacy/defineComponent-legacy.js +1 -1
  39. package/dist/runtime/components/legacy/defineRenderer-legacy.js +16 -16
  40. package/dist/runtime/components/legacy/dependencies/index.js +9 -9
  41. package/dist/runtime/components/legacy/helper-getWidgetFromOut.js +3 -3
  42. package/dist/runtime/components/legacy/renderer-legacy.js +39 -39
  43. package/dist/runtime/components/renderer.js +34 -34
  44. package/dist/runtime/components/update-manager.js +10 -10
  45. package/dist/runtime/createOut.js +1 -1
  46. package/dist/runtime/dom-insert.js +5 -5
  47. package/dist/runtime/helpers/_change-case.js +2 -2
  48. package/dist/runtime/helpers/dynamic-tag.js +13 -13
  49. package/dist/runtime/helpers/style-value.js +1 -1
  50. package/dist/runtime/html/AsyncStream.js +24 -24
  51. package/dist/runtime/html/BufferedWriter.js +2 -2
  52. package/dist/runtime/html/StringWriter.js +1 -1
  53. package/dist/runtime/html/helpers/data-marko.js +2 -2
  54. package/dist/runtime/html/helpers/escape-xml.js +1 -1
  55. package/dist/runtime/html/index.js +1 -1
  56. package/dist/runtime/renderable.js +5 -5
  57. package/dist/runtime/vdom/AsyncVDOMBuilder.js +43 -43
  58. package/dist/runtime/vdom/VComponent.js +2 -2
  59. package/dist/runtime/vdom/VDocumentFragment.js +1 -1
  60. package/dist/runtime/vdom/VElement.js +12 -12
  61. package/dist/runtime/vdom/VFragment.js +4 -4
  62. package/dist/runtime/vdom/VNode.js +2 -2
  63. package/dist/runtime/vdom/index.js +1 -1
  64. package/dist/runtime/vdom/morphdom/fragment.js +2 -2
  65. package/dist/runtime/vdom/morphdom/helpers.js +3 -3
  66. package/dist/runtime/vdom/morphdom/index.js +43 -43
  67. package/package.json +1 -1
  68. package/src/compiler/Normalizer.js +4 -1
  69. package/src/compiler/ast/CustomTag.js +14 -3
  70. package/src/core-tags/components/TransformHelper/convertToComponent.js +1 -1
  71. package/src/core-tags/core/await/renderer.js +14 -3
  72. package/src/core-tags/core/await/reorderer-renderer.js +78 -43
  73. package/src/core-tags/migrate/all-tags/widget-in-attrs.js +9 -7
  74. package/src/runtime/components/legacy/index.js +3 -1
  75. package/src/runtime/helpers/interop-require.js +1 -1
@@ -9,7 +9,7 @@ var markoAttr = require("./helpers/data-marko");
9
9
  var escapeXmlHelper = require("./helpers/escape-xml");
10
10
  var parseHTML = require("../vdom/parse-html");
11
11
  var escapeXmlOrNullish = escapeXmlHelper.x;
12
- var escapeXmlString = escapeXmlHelper.bo_;
12
+ var escapeXmlString = escapeXmlHelper.bp_;
13
13
  var selfClosingTags = require("self-closing-tags");
14
14
 
15
15
  function noop() {}
@@ -89,12 +89,12 @@ function AsyncStream(global, writer, parentOut) {
89
89
 
90
90
  this._elStack = undefined; // Array
91
91
 
92
- this.t_ = null; // ComponentsContext
92
+ this.u_ = null; // ComponentsContext
93
93
 
94
- this.aa_ = null;
95
94
  this.ab_ = null;
96
- this.bc_ = null;
97
- this.bp_ = false;
95
+ this.ac_ = null;
96
+ this.bd_ = null;
97
+ this.bq_ = false;
98
98
  }
99
99
 
100
100
  AsyncStream.DEFAULT_TIMEOUT = 10000;
@@ -110,8 +110,8 @@ AsyncStream.enableAsyncStackTrace = function () {
110
110
 
111
111
  var proto = AsyncStream.prototype = {
112
112
  constructor: AsyncStream,
113
- E_: typeof document === "object" && document,
114
- bq_: true,
113
+ F_: typeof document === "object" && document,
114
+ br_: true,
115
115
 
116
116
  sync: function () {
117
117
  this._sync = true;
@@ -135,7 +135,7 @@ var proto = AsyncStream.prototype = {
135
135
  return this;
136
136
  },
137
137
 
138
- aj_: function () {
138
+ ak_: function () {
139
139
  return this._state.writer.toString();
140
140
  },
141
141
 
@@ -143,14 +143,14 @@ var proto = AsyncStream.prototype = {
143
143
  * Legacy...
144
144
  */
145
145
  getOutput: function () {
146
- return this.aj_();
146
+ return this.ak_();
147
147
  },
148
148
 
149
149
  toString: function () {
150
150
  return this._state.writer.toString();
151
151
  },
152
152
 
153
- br_: function () {
153
+ p_: function () {
154
154
  this._result = this._result || new RenderResult(this);
155
155
  return this._result;
156
156
  },
@@ -201,7 +201,7 @@ var proto = AsyncStream.prototype = {
201
201
  }
202
202
 
203
203
  this._lastCount++;
204
- newStream.bp_ = true;
204
+ newStream.bq_ = true;
205
205
  }
206
206
 
207
207
  name = options.name;
@@ -239,7 +239,7 @@ var proto = AsyncStream.prototype = {
239
239
  if (state.writer.end) {
240
240
  state.writer.end();
241
241
  } else {
242
- state.events.emit("finish", this.br_());
242
+ state.events.emit("finish", this.p_());
243
243
  }
244
244
  },
245
245
 
@@ -311,7 +311,7 @@ var proto = AsyncStream.prototype = {
311
311
  parentOut._handleChildDone(this);
312
312
  }
313
313
  } else {
314
- if (childOut.bp_) {
314
+ if (childOut.bq_) {
315
315
  this._lastCount--;
316
316
  }
317
317
 
@@ -352,7 +352,7 @@ var proto = AsyncStream.prototype = {
352
352
  var state = this._state;
353
353
 
354
354
  if (event === "finish" && state.finished === true) {
355
- callback(this.br_());
355
+ callback(this.p_());
356
356
  } else if (event === "last") {
357
357
  this.onLast(callback);
358
358
  } else {
@@ -366,7 +366,7 @@ var proto = AsyncStream.prototype = {
366
366
  var state = this._state;
367
367
 
368
368
  if (event === "finish" && state.finished === true) {
369
- callback(this.br_());
369
+ callback(this.p_());
370
370
  } else if (event === "last") {
371
371
  this.onLast(callback);
372
372
  } else {
@@ -488,7 +488,7 @@ var proto = AsyncStream.prototype = {
488
488
  return newOut;
489
489
  },
490
490
 
491
- bn_: function (tagName, elementAttrs, key, componentDef, props) {
491
+ bo_: function (tagName, elementAttrs, key, componentDef, props) {
492
492
  var str = "<" + tagName + markoAttr(this, componentDef, props, key) + attrsHelper(elementAttrs);
493
493
 
494
494
  if (selfClosingTags.voidElements.indexOf(tagName) !== -1) {
@@ -512,7 +512,7 @@ var proto = AsyncStream.prototype = {
512
512
  this.write(str);
513
513
  },
514
514
 
515
- bl_: function (name, elementAttrs, key, componentDef, props) {
515
+ bm_: function (name, elementAttrs, key, componentDef, props) {
516
516
  var str = "<" + name + markoAttr(this, componentDef, props, key) + attrsHelper(elementAttrs) + ">";
517
517
 
518
518
  this.write(str);
@@ -567,14 +567,14 @@ var proto = AsyncStream.prototype = {
567
567
  }
568
568
  },
569
569
 
570
- ai_: function (host) {
570
+ aj_: function (host) {
571
571
  var node = this._node;
572
572
 
573
573
  if (!node) {
574
574
  var nextEl;
575
575
  var fragment;
576
- var html = this.aj_();
577
- if (!host) host = this.E_;
576
+ var html = this.ak_();
577
+ if (!host) host = this.F_;
578
578
  var doc = host.ownerDocument || host;
579
579
 
580
580
  if (html) {
@@ -616,15 +616,15 @@ var proto = AsyncStream.prototype = {
616
616
  },
617
617
 
618
618
  c: function (componentDef, key, customEvents) {
619
- this.aa_ = componentDef;
620
- this.ab_ = key;
621
- this.bc_ = customEvents;
619
+ this.ab_ = componentDef;
620
+ this.ac_ = key;
621
+ this.bd_ = customEvents;
622
622
  }
623
623
  };
624
624
 
625
625
  // alias:
626
626
  proto.w = proto.write;
627
- proto.bm_ = proto.endElement;
627
+ proto.bn_ = proto.endElement;
628
628
 
629
629
  module.exports = AsyncStream;
630
630
 
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  const immediate = require("@internal/set-immediate");
4
- const setImmediate = immediate.af_;
5
- const clearImmediate = immediate.ag_;
4
+ const setImmediate = immediate.ag_;
5
+ const clearImmediate = immediate.ah_;
6
6
  const StringWriter = require("./StringWriter");
7
7
 
8
8
  /**
@@ -53,7 +53,7 @@ StringWriter.prototype = {
53
53
  },
54
54
 
55
55
  toString: function () {
56
- this.state.events.emit("p_", this);
56
+ this.state.events.emit("q_", this);
57
57
  let str = this._content;
58
58
  if (this._scripts) {
59
59
  const outGlobal = this.state.root.global;
@@ -8,7 +8,7 @@ var FLAG_WILL_RERENDER_IN_BROWSER = 1;
8
8
 
9
9
  module.exports = function dataMarko(out, componentDef, props, key) {
10
10
  var result = "";
11
- var willNotRerender = out.t_.y_ || componentDef.w_ && (componentDef.x_ & FLAG_WILL_RERENDER_IN_BROWSER) === 0;
11
+ var willNotRerender = out.u_.z_ || componentDef.x_ && (componentDef.y_ & FLAG_WILL_RERENDER_IN_BROWSER) === 0;
12
12
 
13
13
  if (willNotRerender) {
14
14
  if (props) {
@@ -20,7 +20,7 @@ module.exports = function dataMarko(out, componentDef, props, key) {
20
20
  }
21
21
 
22
22
  if (key && key[0] === "@") {
23
- result += ' data-marko-key="' + escapeDoubleQuotes(componentDef.aN_(key) + " " + componentDef.id) + '"';
23
+ result += ' data-marko-key="' + escapeDoubleQuotes(componentDef.aO_(key) + " " + componentDef.id) + '"';
24
24
  }
25
25
  }
26
26
 
@@ -12,7 +12,7 @@ module.exports.x = function (value) {
12
12
  return escapeXML(value + "");
13
13
  };
14
14
 
15
- exports.bo_ = escapeXML;
15
+ exports.bp_ = escapeXML;
16
16
 
17
17
  function escapeXML(str) {
18
18
  var len = str.length;
@@ -29,7 +29,7 @@ exports.Template = Template;
29
29
  exports.AsyncStream = AsyncStream;
30
30
  exports.enableAsyncStackTrace = AsyncStream.enableAsyncStackTrace;
31
31
 
32
- require("../createOut").bf_(Template.prototype.createOut = function createOut(globalData, writer, parentOut, buffer) {
32
+ require("../createOut").bg_(Template.prototype.createOut = function createOut(globalData, writer, parentOut, buffer) {
33
33
  return new AsyncStream(globalData, writer, parentOut, buffer);
34
34
  });
35
35
 
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  var defaultCreateOut = require("./createOut");
4
- var setImmediate = require("@internal/set-immediate").af_;
4
+ var setImmediate = require("@internal/set-immediate").ag_;
5
5
  var extend = require("raptor-util/extend");
6
6
 
7
7
  function safeRender(renderFunc, finalData, finalOut, shouldEnd) {
@@ -70,7 +70,7 @@ module.exports = function (target, renderer) {
70
70
  }
71
71
 
72
72
  render(localData, out);
73
- return out.br_();
73
+ return out.p_();
74
74
  },
75
75
 
76
76
  /**
@@ -96,7 +96,7 @@ module.exports = function (target, renderer) {
96
96
  var finalData;
97
97
  var globalData;
98
98
  var render = renderFunc || this._;
99
- var shouldBuffer = this._W_;
99
+ var shouldBuffer = this._X_;
100
100
  var shouldEnd = true;
101
101
 
102
102
  if (data) {
@@ -108,7 +108,7 @@ module.exports = function (target, renderer) {
108
108
  finalData = {};
109
109
  }
110
110
 
111
- if (out && out.bq_) {
111
+ if (out && out.br_) {
112
112
  finalOut = out;
113
113
  shouldEnd = false;
114
114
  extend(out.global, globalData);
@@ -125,7 +125,7 @@ module.exports = function (target, renderer) {
125
125
 
126
126
  if (callback) {
127
127
  finalOut.on("finish", function () {
128
- callback(null, finalOut.br_(), finalOut);
128
+ callback(null, finalOut.p_(), finalOut);
129
129
  }).once("error", callback);
130
130
  }
131
131
 
@@ -28,7 +28,7 @@ function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
28
28
  var state;
29
29
 
30
30
  if (parentOut) {
31
- state = parentOut.C_;
31
+ state = parentOut.D_;
32
32
  } else {
33
33
  state = new State(parentNode);
34
34
  }
@@ -39,38 +39,38 @@ function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
39
39
  this.bJ_ = parentOut;
40
40
 
41
41
  this.data = {};
42
- this.C_ = state;
43
- this.ac_ = parentNode;
42
+ this.D_ = state;
43
+ this.ad_ = parentNode;
44
44
  this.global = globalData || {};
45
45
  this.bK_ = [parentNode];
46
46
  this.bL_ = false;
47
47
  this.bM_ = undefined;
48
- this.t_ = null;
48
+ this.u_ = null;
49
49
 
50
- this.aa_ = null;
51
50
  this.ab_ = null;
52
- this.bc_ = null;
51
+ this.ac_ = null;
52
+ this.bd_ = null;
53
53
  }
54
54
 
55
55
  var proto = AsyncVDOMBuilder.prototype = {
56
- bq_: true,
57
- E_: typeof document === "object" && document,
56
+ br_: true,
57
+ F_: typeof document === "object" && document,
58
58
 
59
59
  bc: function (component, key, ownerComponent) {
60
60
  var vComponent = new VComponent(component, key, ownerComponent);
61
61
  return this.bN_(vComponent, 0, true);
62
62
  },
63
63
 
64
- bd_: function (component, key, ownerComponent) {
64
+ be_: function (component, key, ownerComponent) {
65
65
  var vComponent = new VComponent(component, key, ownerComponent, true);
66
66
  this.bN_(vComponent, 0);
67
67
  },
68
68
 
69
69
  bN_: function (child, childCount, pushToStack) {
70
- this.ac_.bO_(child);
70
+ this.ad_.bO_(child);
71
71
  if (pushToStack === true) {
72
72
  this.bK_.push(child);
73
- this.ac_ = child;
73
+ this.ad_ = child;
74
74
  }
75
75
  return childCount === 0 ? this : child;
76
76
  },
@@ -80,8 +80,8 @@ var proto = AsyncVDOMBuilder.prototype = {
80
80
  return this.bN_(element, childCount);
81
81
  },
82
82
 
83
- bn_: function (tagName, attrs, key, componentDef, props) {
84
- return this.element(tagName, attrsHelper(attrs), key, componentDef.v_, 0, 0, props);
83
+ bo_: function (tagName, attrs, key, componentDef, props) {
84
+ return this.element(tagName, attrsHelper(attrs), key, componentDef.w_, 0, 0, props);
85
85
  },
86
86
 
87
87
  n: function (node, component) {
@@ -89,13 +89,13 @@ var proto = AsyncVDOMBuilder.prototype = {
89
89
  // and a node can only have one parent node.
90
90
  var clone = node.__();
91
91
  this.node(clone);
92
- clone._N_ = component;
92
+ clone._O_ = component;
93
93
 
94
94
  return this;
95
95
  },
96
96
 
97
97
  node: function (node) {
98
- this.ac_.bO_(node);
98
+ this.ad_.bO_(node);
99
99
  return this;
100
100
  },
101
101
 
@@ -114,7 +114,7 @@ var proto = AsyncVDOMBuilder.prototype = {
114
114
  text = text.toString();
115
115
  }
116
116
 
117
- this.ac_.bO_(new VText(text, ownerComponent));
117
+ this.ad_.bO_(new VText(text, ownerComponent));
118
118
  return this;
119
119
  },
120
120
 
@@ -137,8 +137,8 @@ var proto = AsyncVDOMBuilder.prototype = {
137
137
  return this;
138
138
  },
139
139
 
140
- bl_: function (tagName, attrs, key, componentDef, props) {
141
- return this.beginElement(tagName, attrsHelper(attrs), key, componentDef.v_, 0, 0, props);
140
+ bm_: function (tagName, attrs, key, componentDef, props) {
141
+ return this.beginElement(tagName, attrsHelper(attrs), key, componentDef.w_, 0, 0, props);
142
142
  },
143
143
 
144
144
  bf: function (key, component, preserve) {
@@ -154,11 +154,11 @@ var proto = AsyncVDOMBuilder.prototype = {
154
154
  endElement: function () {
155
155
  var stack = this.bK_;
156
156
  stack.pop();
157
- this.ac_ = stack[stack.length - 1];
157
+ this.ad_ = stack[stack.length - 1];
158
158
  },
159
159
 
160
160
  end: function () {
161
- this.ac_ = undefined;
161
+ this.ad_ = undefined;
162
162
 
163
163
  var remaining = --this.bG_;
164
164
  var parentOut = this.bJ_;
@@ -192,9 +192,9 @@ var proto = AsyncVDOMBuilder.prototype = {
192
192
  },
193
193
 
194
194
  bQ_: function () {
195
- var state = this.C_;
195
+ var state = this.D_;
196
196
  state.bF_ = true;
197
- state.bD_.emit(EVENT_FINISH, this.br_());
197
+ state.bD_.emit(EVENT_FINISH, this.p_());
198
198
  },
199
199
 
200
200
  bR_: function () {
@@ -236,7 +236,7 @@ var proto = AsyncVDOMBuilder.prototype = {
236
236
  throw Error("Tried to render async while in sync mode. Note: Client side await is not currently supported in re-renders (Issue: #942).");
237
237
  }
238
238
 
239
- var state = this.C_;
239
+ var state = this.D_;
240
240
 
241
241
  if (options) {
242
242
  if (options.last) {
@@ -246,7 +246,7 @@ var proto = AsyncVDOMBuilder.prototype = {
246
246
 
247
247
  this.bG_++;
248
248
 
249
- var documentFragment = this.ac_.bS_();
249
+ var documentFragment = this.ad_.bS_();
250
250
  var asyncOut = new AsyncVDOMBuilder(this.global, documentFragment, this);
251
251
 
252
252
  state.bD_.emit("beginAsync", {
@@ -262,26 +262,26 @@ var proto = AsyncVDOMBuilder.prototype = {
262
262
  },
263
263
 
264
264
  flush: function () {
265
- var events = this.C_.bD_;
265
+ var events = this.D_.bD_;
266
266
 
267
267
  if (events.listenerCount(EVENT_UPDATE)) {
268
268
  events.emit(EVENT_UPDATE, new RenderResult(this));
269
269
  }
270
270
  },
271
271
 
272
- aj_: function () {
273
- return this.C_.bE_;
272
+ ak_: function () {
273
+ return this.D_.bE_;
274
274
  },
275
275
 
276
- br_: function () {
276
+ p_: function () {
277
277
  return this.bT_ || (this.bT_ = new RenderResult(this));
278
278
  },
279
279
 
280
280
  on: function (event, callback) {
281
- var state = this.C_;
281
+ var state = this.D_;
282
282
 
283
283
  if (event === EVENT_FINISH && state.bF_) {
284
- callback(this.br_());
284
+ callback(this.p_());
285
285
  } else if (event === "last") {
286
286
  this.onLast(callback);
287
287
  } else {
@@ -292,10 +292,10 @@ var proto = AsyncVDOMBuilder.prototype = {
292
292
  },
293
293
 
294
294
  once: function (event, callback) {
295
- var state = this.C_;
295
+ var state = this.D_;
296
296
 
297
297
  if (event === EVENT_FINISH && state.bF_) {
298
- callback(this.br_());
298
+ callback(this.p_());
299
299
  } else if (event === "last") {
300
300
  this.onLast(callback);
301
301
  } else {
@@ -306,7 +306,7 @@ var proto = AsyncVDOMBuilder.prototype = {
306
306
  },
307
307
 
308
308
  emit: function (type, arg) {
309
- var events = this.C_.bD_;
309
+ var events = this.D_.bD_;
310
310
  switch (arguments.length) {
311
311
  case 1:
312
312
  events.emit(type);
@@ -322,7 +322,7 @@ var proto = AsyncVDOMBuilder.prototype = {
322
322
  },
323
323
 
324
324
  removeListener: function () {
325
- var events = this.C_.bD_;
325
+ var events = this.D_.bD_;
326
326
  events.removeListener.apply(events, arguments);
327
327
  return this;
328
328
  },
@@ -347,20 +347,20 @@ var proto = AsyncVDOMBuilder.prototype = {
347
347
  return this;
348
348
  },
349
349
 
350
- ai_: function (host) {
350
+ aj_: function (host) {
351
351
  var node = this.bM_;
352
352
  if (!node) {
353
- var vdomTree = this.aj_();
353
+ var vdomTree = this.ak_();
354
354
 
355
- if (!host) host = this.E_;
355
+ if (!host) host = this.F_;
356
356
  this.bM_ = node = vdomTree.bU_(host, null);
357
- morphdom(node, vdomTree, host, this.t_);
357
+ morphdom(node, vdomTree, host, this.u_);
358
358
  }
359
359
  return node;
360
360
  },
361
361
 
362
362
  toString: function (host) {
363
- var docFragment = this.ai_(host);
363
+ var docFragment = this.aj_(host);
364
364
  var html = "";
365
365
 
366
366
  var child = docFragment.firstChild;
@@ -398,15 +398,15 @@ var proto = AsyncVDOMBuilder.prototype = {
398
398
  isVDOM: true,
399
399
 
400
400
  c: function (componentDef, key, customEvents) {
401
- this.aa_ = componentDef;
402
- this.ab_ = key;
403
- this.bc_ = customEvents;
401
+ this.ab_ = componentDef;
402
+ this.ac_ = key;
403
+ this.bd_ = customEvents;
404
404
  }
405
405
  };
406
406
 
407
407
  proto.e = proto.element;
408
408
  proto.be = proto.beginElement;
409
- proto.ee = proto.bm_ = proto.endElement;
409
+ proto.ee = proto.bn_ = proto.endElement;
410
410
  proto.t = proto.text;
411
411
  proto.h = proto.w = proto.write = proto.html;
412
412
 
@@ -4,8 +4,8 @@ var inherit = require("raptor-util/inherit");
4
4
  function VComponent(component, key, ownerComponent, preserve) {
5
5
  this.bV_(null /* childCount */, ownerComponent);
6
6
  this.bY_ = key;
7
- this.v_ = component;
8
- this.ae_ = preserve;
7
+ this.w_ = component;
8
+ this.af_ = preserve;
9
9
  }
10
10
 
11
11
  VComponent.prototype = {
@@ -10,7 +10,7 @@ function VDocumentFragmentClone(other) {
10
10
 
11
11
  function VDocumentFragment(out) {
12
12
  this.bV_(null /* childCount */);
13
- this.u_ = out;
13
+ this.v_ = out;
14
14
  }
15
15
 
16
16
  VDocumentFragment.prototype = {
@@ -2,7 +2,7 @@
2
2
 
3
3
  var domData = require("../components/dom-data");
4
4
  var componentsUtil = require("@internal/components-util");
5
- var vElementByDOMNode = domData._L_;
5
+ var vElementByDOMNode = domData._M_;
6
6
  var VNode = require("./VNode");
7
7
  var inherit = require("raptor-util/inherit");
8
8
  var ATTR_XLINK_HREF = "xlink:href";
@@ -73,9 +73,9 @@ function VElementClone(other) {
73
73
 
74
74
  this.bY_ = other.bY_;
75
75
  this.cc_ = other.cc_;
76
- this._P_ = other._P_;
76
+ this._Q_ = other._Q_;
77
77
  this.cd_ = other.cd_;
78
- this.x_ = other.x_;
78
+ this.y_ = other.y_;
79
79
  this.ce_ = other.ce_;
80
80
  this.cf_ = other.cf_;
81
81
  }
@@ -90,14 +90,14 @@ function VElement(tagName, attrs, key, ownerComponent, childCount, flags, props)
90
90
  }
91
91
 
92
92
  this.bY_ = key;
93
- this.x_ = flags || 0;
93
+ this.y_ = flags || 0;
94
94
  this.cc_ = attrs || EMPTY_OBJECT;
95
- this._P_ = props || EMPTY_OBJECT;
95
+ this._Q_ = props || EMPTY_OBJECT;
96
96
  this.cd_ = tagName;
97
97
  this.ce_ = null;
98
98
  this.cf_ = constId;
99
+ this.af_ = false;
99
100
  this.ae_ = false;
100
- this.ad_ = false;
101
101
  }
102
102
 
103
103
  VElement.prototype = {
@@ -132,7 +132,7 @@ VElement.prototype = {
132
132
  */
133
133
  n: function (node, ownerComponent) {
134
134
  node = node.__();
135
- node._N_ = ownerComponent;
135
+ node._O_ = ownerComponent;
136
136
  this.bO_(node);
137
137
  return this.cg_();
138
138
  },
@@ -142,7 +142,7 @@ VElement.prototype = {
142
142
  var attributes = this.cc_;
143
143
  var namespaceURI = DEFAULT_NS[tagName] || parentNamespaceURI || NS_HTML;
144
144
 
145
- var flags = this.x_;
145
+ var flags = this.y_;
146
146
  var el = (host.ownerDocument || host).createElementNS(namespaceURI, tagName);
147
147
 
148
148
  if (flags & FLAG_CUSTOM_ELEMENT) {
@@ -232,7 +232,7 @@ function virtualizeElement(node, virtualizeChildNodes, ownerComponent) {
232
232
  var attrName = attr.name;
233
233
  if (!xmlnsRegExp.test(attrName)) {
234
234
  if (attrName === "data-marko") {
235
- props = componentsUtil._r_(node);
235
+ props = componentsUtil._s_(node);
236
236
  } else if (attr.namespaceURI === NS_XLINK) {
237
237
  attrs[ATTR_XLINK_HREF] = attr.value;
238
238
  } else {
@@ -267,13 +267,13 @@ VElement.cj_ = virtualizeElement;
267
267
  VElement.ck_ = function (fromEl, vFromEl, toEl) {
268
268
  var removePreservedAttributes = VElement.ci_;
269
269
 
270
- var fromFlags = vFromEl.x_;
271
- var toFlags = toEl.x_;
270
+ var fromFlags = vFromEl.y_;
271
+ var toFlags = toEl.y_;
272
272
 
273
273
  vElementByDOMNode.set(fromEl, toEl);
274
274
 
275
275
  var attrs = toEl.cc_;
276
- var props = toEl._P_;
276
+ var props = toEl._Q_;
277
277
 
278
278
  if (toFlags & FLAG_CUSTOM_ELEMENT) {
279
279
  return assign(fromEl, attrs);
@@ -1,14 +1,14 @@
1
1
  var domData = require("../components/dom-data");
2
- var keysByDOMNode = domData._K_;
3
- var vElementByDOMNode = domData._L_;
2
+ var keysByDOMNode = domData._L_;
3
+ var vElementByDOMNode = domData._M_;
4
4
  var VNode = require("./VNode");
5
5
  var inherit = require("raptor-util/inherit");
6
- var createFragmentNode = require("./morphdom/fragment")._m_;
6
+ var createFragmentNode = require("./morphdom/fragment")._n_;
7
7
 
8
8
  function VFragment(key, ownerComponent, preserve) {
9
9
  this.bV_(null /* childCount */, ownerComponent);
10
10
  this.bY_ = key;
11
- this.ae_ = preserve;
11
+ this.af_ = preserve;
12
12
  }
13
13
 
14
14
  VFragment.prototype = {
@@ -9,7 +9,7 @@ VNode.prototype = {
9
9
  this.cn_ = null;
10
10
  this.bZ_ = null;
11
11
  this.c__ = null;
12
- this._N_ = ownerComponent;
12
+ this._O_ = ownerComponent;
13
13
  },
14
14
 
15
15
  get a_() {
@@ -52,7 +52,7 @@ VNode.prototype = {
52
52
  if (child.co_) {
53
53
  var childValue = child.bW_;
54
54
  this.ce_ = (this.ce_ || "") + childValue;
55
- } else if (child.ae_ || child.ad_) {
55
+ } else if (child.af_ || child.ae_) {
56
56
  this.cp_ = true;
57
57
  } else {
58
58
  throw TypeError();
@@ -22,7 +22,7 @@ function Template(typeName, func) {
22
22
  }
23
23
 
24
24
  var AsyncVDOMBuilder = require("./AsyncVDOMBuilder");
25
- require("../createOut").bf_(Template.prototype.createOut = function createOut(globalData, parent, parentOut) {
25
+ require("../createOut").bg_(Template.prototype.createOut = function createOut(globalData, parent, parentOut) {
26
26
  return new AsyncVDOMBuilder(globalData, parent, parentOut);
27
27
  });
28
28
 
@@ -1,5 +1,5 @@
1
1
  var helpers = require("./helpers");
2
- var insertBefore = helpers.bg_;
2
+ var insertBefore = helpers.bh_;
3
3
 
4
4
  var fragmentPrototype = {
5
5
  nodeType: 12,
@@ -73,5 +73,5 @@ function beginFragmentNode(startNode, parentNode) {
73
73
  return fragment;
74
74
  }
75
75
 
76
- exports._m_ = createFragmentNode;
76
+ exports._n_ = createFragmentNode;
77
77
  exports.cr_ = beginFragmentNode;