@glimmer/runtime
Advanced tools
Comparing version 0.72.0 to 0.73.0
@@ -132,8 +132,2 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "getDynamicVar", { | ||
enumerable: true, | ||
get: function () { | ||
return _getDynamicVar.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "renderComponent", { | ||
@@ -283,2 +277,38 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "fn", { | ||
enumerable: true, | ||
get: function () { | ||
return _fn.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "hash", { | ||
enumerable: true, | ||
get: function () { | ||
return _hash.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "array", { | ||
enumerable: true, | ||
get: function () { | ||
return _array.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "get", { | ||
enumerable: true, | ||
get: function () { | ||
return _get.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "concat", { | ||
enumerable: true, | ||
get: function () { | ||
return _concat.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "on", { | ||
enumerable: true, | ||
get: function () { | ||
return _on.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "destroy", { | ||
@@ -327,4 +357,2 @@ enumerable: true, | ||
var _getDynamicVar = _interopRequireDefault(require("./lib/helpers/get-dynamic-var")); | ||
var _render = require("./lib/render"); | ||
@@ -344,2 +372,14 @@ | ||
var _fn = _interopRequireDefault(require("./lib/helpers/fn")); | ||
var _hash = _interopRequireDefault(require("./lib/helpers/hash")); | ||
var _array = _interopRequireDefault(require("./lib/helpers/array")); | ||
var _get = _interopRequireDefault(require("./lib/helpers/get")); | ||
var _concat = _interopRequireDefault(require("./lib/helpers/concat")); | ||
var _on = _interopRequireDefault(require("./lib/modifiers/on")); | ||
var _destroyable = require("@glimmer/destroyable"); | ||
@@ -352,2 +392,2 @@ | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBSUE7O0FBRUE7O0FBQ0E7O0FBS0E7O0FBQ0E7O0FBTUE7O0FBTUE7O0FBQ0E7O0FBQ0E7O0FBTUE7O0FBQ0E7O0FBRUE7O0FBQ0E7O0FBU0E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gJy4vbGliL2hlbHBlcnMvZm4nO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBoYXNoIH0gZnJvbSAnLi9saWIvaGVscGVycy9oYXNoJztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgYXJyYXkgfSBmcm9tICcuL2xpYi9oZWxwZXJzL2FycmF5JztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgZ2V0IH0gZnJvbSAnLi9saWIvaGVscGVycy9nZXQnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBjb25jYXQgfSBmcm9tICcuL2xpYi9oZWxwZXJzL2NvbmNhdCc7XG5cbmV4cG9ydCB7IGRlZmF1bHQgYXMgb24gfSBmcm9tICcuL2xpYi9tb2RpZmllcnMvb24nO1xuXG4vLyBDdXJyZW50bHkgd2UgbmVlZCB0byByZS1leHBvcnQgdGhlc2UgdmFsdWVzIGZvciBAZ2xpbW1lci9jb21wb25lbnRcbi8vIGh0dHBzOi8vZ2l0aHViLmNvbS9nbGltbWVyanMvZ2xpbW1lci5qcy9pc3N1ZXMvMzE5XG5leHBvcnQgeyBkZXN0cm95LCByZWdpc3RlckRlc3RydWN0b3IsIGlzRGVzdHJveWluZywgaXNEZXN0cm95ZWQgfSBmcm9tICdAZ2xpbW1lci9kZXN0cm95YWJsZSc7XG5cbmV4cG9ydCB0eXBlIEl0ZXJhdG9yUmVzdWx0PFQ+ID0gUmljaEl0ZXJhdG9yUmVzdWx0PG51bGwsIFQ+O1xuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -13,2 +13,4 @@ "use strict"; | ||
var _globalContext = require("@glimmer/global-context"); | ||
var _symbols = require("../../symbols"); | ||
@@ -22,2 +24,4 @@ | ||
var _arguments = require("../../vm/arguments"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -248,2 +252,50 @@ | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi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GVycy5sZW5ndGg7XG4gIHZtLnN0YWNrLnB1c2hKcyhoYXNCbG9ja1BhcmFtcyA/IFRSVUVfUkVGRVJFTkNFIDogRkFMU0VfUkVGRVJFTkNFKTtcbn0pO1xuXG5BUFBFTkRfT1BDT0RFUy5hZGQoT3AuQ29uY2F0LCAodm0sIHsgb3AxOiBjb3VudCB9KSA9PiB7XG4gIGxldCBvdXQ6IEFycmF5PFJlZmVyZW5jZTx1bmtub3duPj4gPSBuZXcgQXJyYXkoY291bnQpO1xuXG4gIGZvciAobGV0IGkgPSBjb3VudDsgaSA+IDA7IGktLSkge1xuICAgIGxldCBvZmZzZXQgPSBpIC0gMTtcbiAgICBvdXRbb2Zmc2V0XSA9IGNoZWNrKHZtLnN0YWNrLnBvcCgpLCBDaGVja1JlZmVyZW5jZSk7XG4gIH1cblxuICB2bS5zdGFjay5wdXNoSnMoY3JlYXRlQ29uY2F0UmVmKG91dCkpO1xufSk7XG4iXSwic291cmNlUm9vdCI6IiJ9 | ||
_opcodes.APPEND_OPCODES.add(109 | ||
/* IfInline */ | ||
, vm => { | ||
let condition = vm.stack.popJs(); | ||
let truthy = vm.stack.popJs(); | ||
let falsy = vm.stack.popJs(); | ||
vm.stack.pushJs((0, _reference.createComputeRef)(() => { | ||
if ((0, _globalContext.toBool)((0, _reference.valueForRef)(condition)) === true) { | ||
return (0, _reference.valueForRef)(truthy); | ||
} else { | ||
return (0, _reference.valueForRef)(falsy); | ||
} | ||
})); | ||
}); | ||
_opcodes.APPEND_OPCODES.add(110 | ||
/* Not */ | ||
, vm => { | ||
let ref = vm.stack.popJs(); | ||
vm.stack.pushJs((0, _reference.createComputeRef)(() => { | ||
return !(0, _globalContext.toBool)((0, _reference.valueForRef)(ref)); | ||
})); | ||
}); | ||
_opcodes.APPEND_OPCODES.add(111 | ||
/* GetDynamicVar */ | ||
, vm => { | ||
let scope = vm.dynamicScope(); | ||
let stack = vm.stack; | ||
let nameRef = stack.popJs(); | ||
stack.pushJs((0, _reference.createComputeRef)(() => { | ||
let name = String((0, _reference.valueForRef)(nameRef)); | ||
return (0, _reference.valueForRef)(scope.get(name)); | ||
})); | ||
}); | ||
_opcodes.APPEND_OPCODES.add(112 | ||
/* Log */ | ||
, vm => { | ||
let { | ||
positional | ||
} = vm.stack.popJs().capture(); | ||
vm.loadValue(_vm.$v0, (0, _reference.createComputeRef)(() => { | ||
// eslint-disable-next-line no-console | ||
console.log(...(0, _arguments.reifyPositional)(positional)); | ||
})); | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL2NvbXBpbGVkL29wY29kZXMvZXhwcmVzc2lvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFVQTs7QUFTQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFtQkE7O0FBQ0E7O0FBQ0E7O0FBQ0E7O0FBQ0E7Ozs7QUFJQSx3QkFBQSxHQUFBLENBQWtCO0FBQUE7QUFBbEIsRUFBNkIsQ0FBQSxFQUFBLEVBQUs7QUFBRSxFQUFBLEdBQUcsRUFBTCxJQUFBO0FBQWEsRUFBQSxHQUFHLEVBQUU7QUFBbEIsQ0FBTCxLQUFzQztBQUNqRSxNQUFJLEtBQUssR0FBRyxFQUFFLENBQWQsS0FBQTtBQUVBLE1BQUksVUFBVSxHQUFTLEtBQUssQ0FBNUIsS0FBdUIsRUFBdkI7QUFDQSxNQUFJLFlBQVksR0FBUyxLQUFLLENBQTlCLEtBQXlCLEVBQXpCO0FBRUEsTUFBSSxLQUFLLEdBQUcsRUFBRSxDQUFkLFFBQVksRUFBWjtBQUNBLE1BQUksUUFBUSxHQUFHLEVBQUUsQ0FBRixPQUFBLENBQWYsUUFBQTtBQUVBLE1BQUksUUFBUSxHQUFaLEtBQUE7O0FBRUEsTUFBQSxVQUF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NvbnNvbGVcbiAgICAgIGNvbnNvbGUubG9nKC4uLnJlaWZ5UG9zaXRpb25hbChwb3NpdGlvbmFsKSk7XG4gICAgfSlcbiAgKTtcbn0pO1xuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -38,3 +38,3 @@ "use strict"; | ||
if (!resolvedDefinition) { | ||
throw new Error(`Attempted to resolve \`${name}\`, which was expected to be a component, but nothing was found.`); | ||
throw new Error(`Attempted to resolve \`${value}\`, which was expected to be a component, but nothing was found.`); | ||
} | ||
@@ -54,2 +54,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL3JlZmVyZW5jZXMvY3VycnktdmFsdWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOztBQVVBOztBQUVBOztBQUVjLFNBQUEsY0FBQSxDQUFBLElBQUEsRUFBQSxLQUFBLEVBQUEsS0FBQSxFQUFBLElBQUEsRUFBQSxRQUFBLEVBQUEsUUFBQSxFQU1LO0FBRWpCLE1BQUEsU0FBQSxFQUFBLGlCQUFBO0FBRUEsU0FBTyxpQ0FBaUIsTUFBSztBQUMzQixRQUFJLEtBQUssR0FBRyw0QkFBWixLQUFZLENBQVo7O0FBRUEsUUFBSSxLQUFLLEtBQVQsU0FBQSxFQUF5QjtBQUN2QixhQUFBLGlCQUFBO0FBQ0Q7O0FBRUQsUUFBSSxpQ0FBYSxLQUFiLEVBQUosSUFBSSxDQUFKLEVBQWdDO0FBQzlCLE1BQUEsaUJBQWlCLEdBQUcsSUFBSSxHQUFHLHlCQUFLLElBQUwsRUFBSyxLQUFMLEVBQUssS0FBTCxFQUFILElBQUcsQ0FBSCxHQUF4QixJQUFBO0FBREYsS0FBQSxNQUVPLElBQUksSUFBSSxLQUFBO0FBQUE7QUFBSixPQUF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0bHkuYFxuICAgICAgICAgICk7XG4gICAgICAgIH1cblxuICAgICAgICBsZXQgcmVzb2x2ZWREZWZpbml0aW9uID0gZXhwZWN0KFxuICAgICAgICAgIHJlc29sdmVyLFxuICAgICAgICAgICdCVUc6IGV4cGVjdGVkIHJlc29sdmVyIGZvciBjdXJyaWVkIGNvbXBvbmVudCBkZWZpbml0aW9ucydcbiAgICAgICAgKS5sb29rdXBDb21wb25lbnQodmFsdWUsIG93bmVyKTtcblxuICAgICAgICBpZiAoIXJlc29sdmVkRGVmaW5pdGlvbikge1xuICAgICAgICAgIHRocm93IG5ldyBFcnJvcihcbiAgICAgICAgICAgIGBBdHRlbXB0ZWQgdG8gcmVzb2x2ZSBcXGAke3ZhbHVlfVxcYCwgd2hpY2ggd2FzIGV4cGVjdGVkIHRvIGJlIGEgY29tcG9uZW50LCBidXQgbm90aGluZyB3YXMgZm91bmQuYFxuICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgY3VycmllZERlZmluaXRpb24gPSBjdXJyeSh0eXBlLCB2YWx1ZSwgb3duZXIsIGFyZ3MpO1xuICAgIH0gZWxzZSBpZiAodHlwZW9mIHZhbHVlID09PSAnZnVuY3Rpb24nIHx8ICh0eXBlb2YgdmFsdWUgPT09ICdvYmplY3QnICYmIHZhbHVlICE9PSBudWxsKSkge1xuICAgICAgY3VycmllZERlZmluaXRpb24gPSBjdXJyeSh0eXBlLCB2YWx1ZSwgb3duZXIsIGFyZ3MpO1xuICAgIH0gZWxzZSB7XG4gICAgICBjdXJyaWVkRGVmaW5pdGlvbiA9IG51bGw7XG4gICAgfVxuXG4gICAgbGFzdFZhbHVlID0gdmFsdWU7XG5cbiAgICByZXR1cm4gY3VycmllZERlZmluaXRpb247XG4gIH0pO1xufVxuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -132,8 +132,2 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "getDynamicVar", { | ||
enumerable: true, | ||
get: function () { | ||
return _getDynamicVar.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "renderComponent", { | ||
@@ -283,2 +277,38 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "fn", { | ||
enumerable: true, | ||
get: function () { | ||
return _fn.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "hash", { | ||
enumerable: true, | ||
get: function () { | ||
return _hash.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "array", { | ||
enumerable: true, | ||
get: function () { | ||
return _array.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "get", { | ||
enumerable: true, | ||
get: function () { | ||
return _get.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "concat", { | ||
enumerable: true, | ||
get: function () { | ||
return _concat.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "on", { | ||
enumerable: true, | ||
get: function () { | ||
return _on.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "destroy", { | ||
@@ -327,4 +357,2 @@ enumerable: true, | ||
var _getDynamicVar = _interopRequireDefault(require("./lib/helpers/get-dynamic-var")); | ||
var _render = require("./lib/render"); | ||
@@ -344,2 +372,14 @@ | ||
var _fn = _interopRequireDefault(require("./lib/helpers/fn")); | ||
var _hash = _interopRequireDefault(require("./lib/helpers/hash")); | ||
var _array = _interopRequireDefault(require("./lib/helpers/array")); | ||
var _get = _interopRequireDefault(require("./lib/helpers/get")); | ||
var _concat = _interopRequireDefault(require("./lib/helpers/concat")); | ||
var _on = _interopRequireDefault(require("./lib/modifiers/on")); | ||
var _destroyable = require("@glimmer/destroyable"); | ||
@@ -352,2 +392,2 @@ | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var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F1bHQgYXMgYXJyYXkgfSBmcm9tICcuL2xpYi9oZWxwZXJzL2FycmF5JztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgZ2V0IH0gZnJvbSAnLi9saWIvaGVscGVycy9nZXQnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBjb25jYXQgfSBmcm9tICcuL2xpYi9oZWxwZXJzL2NvbmNhdCc7XG5cbmV4cG9ydCB7IGRlZmF1bHQgYXMgb24gfSBmcm9tICcuL2xpYi9tb2RpZmllcnMvb24nO1xuXG4vLyBDdXJyZW50bHkgd2UgbmVlZCB0byByZS1leHBvcnQgdGhlc2UgdmFsdWVzIGZvciBAZ2xpbW1lci9jb21wb25lbnRcbi8vIGh0dHBzOi8vZ2l0aHViLmNvbS9nbGltbWVyanMvZ2xpbW1lci5qcy9pc3N1ZXMvMzE5XG5leHBvcnQgeyBkZXN0cm95LCByZWdpc3RlckRlc3RydWN0b3IsIGlzRGVzdHJveWluZywgaXNEZXN0cm95ZWQgfSBmcm9tICdAZ2xpbW1lci9kZXN0cm95YWJsZSc7XG5cbmV4cG9ydCB0eXBlIEl0ZXJhdG9yUmVzdWx0PFQ+ID0gUmljaEl0ZXJhdG9yUmVzdWx0PG51bGwsIFQ+O1xuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -13,2 +13,4 @@ "use strict"; | ||
var _globalContext = require("@glimmer/global-context"); | ||
var _symbols = require("../../symbols"); | ||
@@ -22,2 +24,4 @@ | ||
var _arguments = require("../../vm/arguments"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -239,2 +243,52 @@ | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL2NvbXBpbGVkL29wY29kZXMvZXhwcmVzc2lvbnMudHMiXSwibmFtZXMiOlt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mxvY2sgPSB2bS5zdGFjay5wb3AoKTtcbiAgbGV0IHNjb3BlID0gdm0uc3RhY2sucG9wSnMoKTtcblxuICBjaGVjayhibG9jaywgQ2hlY2tNYXliZShDaGVja09yKENoZWNrSGFuZGxlLCBDaGVja0NvbXBpbGFibGVCbG9jaykpKTtcbiAgY2hlY2soc2NvcGUsIENoZWNrTWF5YmUoQ2hlY2tTY29wZSkpO1xuICBsZXQgdGFibGUgPSBjaGVjayh2bS5zdGFjay5wb3BKcygpLCBDaGVja01heWJlKENoZWNrQmxvY2tTeW1ib2xUYWJsZSkpO1xuXG4gIGxldCBoYXNCbG9ja1BhcmFtcyA9IHRhYmxlICYmIHRhYmxlLnBhcmFtZXRlcnMubGVuZ3RoO1xuICB2bS5zdGFjay5wdXNoSnMoaGFzQmxvY2tQYXJhbXMgPyBUUlVFX1JFRkVSRU5DRSA6IEZBTFNFX1JFRkVSRU5DRSk7XG59KTtcblxuQVBQRU5EX09QQ09ERVMuYWRkKE9wLkNvbmNhdCwgKHZtLCB7IG9wMTogY291bnQgfSkgPT4ge1xuICBsZXQgb3V0OiBBcnJheTxSZWZlcmVuY2U8dW5rbm93bj4+ID0gbmV3IEFycmF5KGNvdW50KTtcblxuICBmb3IgKGxldCBpID0gY291bnQ7IGkgPiAwOyBpLS0pIHtcbiAgICBsZXQgb2Zmc2V0ID0gaSAtIDE7XG4gICAgb3V0W29mZnNldF0gPSBjaGVjayh2bS5zdGFjay5wb3AoKSwgQ2hlY2tSZWZlcmVuY2UpO1xuICB9XG5cbiAgdm0uc3RhY2sucHVzaEpzKGNyZWF0ZUNvbmNhdFJlZihvdXQpKTtcbn0pO1xuIl0sInNvdXJjZVJvb3QiOiIifQ== | ||
_opcodes.APPEND_OPCODES.add(109 | ||
/* IfInline */ | ||
, function (vm) { | ||
var condition = vm.stack.popJs(); | ||
var truthy = vm.stack.popJs(); | ||
var falsy = vm.stack.popJs(); | ||
vm.stack.pushJs((0, _reference.createComputeRef)(function () { | ||
if ((0, _globalContext.toBool)((0, _reference.valueForRef)(condition)) === true) { | ||
return (0, _reference.valueForRef)(truthy); | ||
} else { | ||
return (0, _reference.valueForRef)(falsy); | ||
} | ||
})); | ||
}); | ||
_opcodes.APPEND_OPCODES.add(110 | ||
/* Not */ | ||
, function (vm) { | ||
var ref = vm.stack.popJs(); | ||
vm.stack.pushJs((0, _reference.createComputeRef)(function () { | ||
return !(0, _globalContext.toBool)((0, _reference.valueForRef)(ref)); | ||
})); | ||
}); | ||
_opcodes.APPEND_OPCODES.add(111 | ||
/* GetDynamicVar */ | ||
, function (vm) { | ||
var scope = vm.dynamicScope(); | ||
var stack = vm.stack; | ||
var nameRef = stack.popJs(); | ||
stack.pushJs((0, _reference.createComputeRef)(function () { | ||
var name = String((0, _reference.valueForRef)(nameRef)); | ||
return (0, _reference.valueForRef)(scope.get(name)); | ||
})); | ||
}); | ||
_opcodes.APPEND_OPCODES.add(112 | ||
/* Log */ | ||
, function (vm) { | ||
var _vm$stack$popJs$captu = vm.stack.popJs().capture(), | ||
positional = _vm$stack$popJs$captu.positional; | ||
vm.loadValue(_vm.$v0, (0, _reference.createComputeRef)(function () { | ||
var _console; // eslint-disable-next-line no-console | ||
(_console = console).log.apply(_console, (0, _arguments.reifyPositional)(positional)); | ||
})); | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL2NvbXBpbGVkL29wY29kZXMvZXhwcmVzc2lvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFVQTs7QUFTQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFtQkE7O0FBQ0E7O0FBQ0E7O0FBQ0E7O0FBQ0E7Ozs7QUFJQSx3QkFBQSxHQUFBLENBQWtCO0FBQUE7QUFBbEIsRUFBNkIsVUFBQSxFQUFB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k7XG59KTtcbiJdLCJzb3VyY2VSb290IjoiIn0= |
@@ -38,3 +38,3 @@ "use strict"; | ||
if (!resolvedDefinition) { | ||
throw new Error("Attempted to resolve `" + name + "`, which was expected to be a component, but nothing was found."); | ||
throw new Error("Attempted to resolve `" + value + "`, which was expected to be a component, but nothing was found."); | ||
} | ||
@@ -54,2 +54,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL3JlZmVyZW5jZXMvY3VycnktdmFsdWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOztBQVVBOztBQUVBOztBQUVjLFNBQUEsY0FBQSxDQUFBLElBQUEsRUFBQSxLQUFBLEVBQUEsS0FBQSxFQUFBLElBQUEsRUFBQSxRQUFBLEVBQUEsUUFBQSxFQU1LO0FBRWpCLE1BQUEsU0FBQSxFQUFBLGlCQUFBO0FBRUEsU0FBTyxpQ0FBaUIsWUFBSztBQUMzQixRQUFJLEtBQUssR0FBRyw0QkFBWixLQUFZLENBQVo7O0FBRUEsUUFBSSxLQUFLLEtBQVQsU0FBQSxFQUF5QjtBQUN2QixhQUFBLGlCQUFBO0FBQ0Q7O0FBRUQsUUFBSSxpQ0FBYSxLQUFiLEVBQUosSUFBSSxDQUFKLEVBQWdDO0FBQzlCLE1BQUEsaUJBQWlCLEdBQUcsSUFBSSxHQUFHLHlCQUFLLElBQUwsRUFBSyxLQUFMLEVBQUssS0FBTCxFQUFILElBQUcsQ0FBSCxHQUF4QixJQUFBO0FBREYsS0FBQSxNQUVPLElBQUksSUFBSSxLQUFBO0FBQUE7QUFBSixPQUFrQyxPQUFBLEtBQUEsS0FBbEMsUUFBQSxJQUFKLEtBQUEsRUFBMEU7QUFDL0U7QUFDQTtBQUVBLFVBQUEsVUFBQSxFQUFXO0FB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0KFxuICAgICAgICAgIHJlc29sdmVyLFxuICAgICAgICAgICdCVUc6IGV4cGVjdGVkIHJlc29sdmVyIGZvciBjdXJyaWVkIGNvbXBvbmVudCBkZWZpbml0aW9ucydcbiAgICAgICAgKS5sb29rdXBDb21wb25lbnQodmFsdWUsIG93bmVyKTtcblxuICAgICAgICBpZiAoIXJlc29sdmVkRGVmaW5pdGlvbikge1xuICAgICAgICAgIHRocm93IG5ldyBFcnJvcihcbiAgICAgICAgICAgIGBBdHRlbXB0ZWQgdG8gcmVzb2x2ZSBcXGAke3ZhbHVlfVxcYCwgd2hpY2ggd2FzIGV4cGVjdGVkIHRvIGJlIGEgY29tcG9uZW50LCBidXQgbm90aGluZyB3YXMgZm91bmQuYFxuICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgY3VycmllZERlZmluaXRpb24gPSBjdXJyeSh0eXBlLCB2YWx1ZSwgb3duZXIsIGFyZ3MpO1xuICAgIH0gZWxzZSBpZiAodHlwZW9mIHZhbHVlID09PSAnZnVuY3Rpb24nIHx8ICh0eXBlb2YgdmFsdWUgPT09ICdvYmplY3QnICYmIHZhbHVlICE9PSBudWxsKSkge1xuICAgICAgY3VycmllZERlZmluaXRpb24gPSBjdXJyeSh0eXBlLCB2YWx1ZSwgb3duZXIsIGFyZ3MpO1xuICAgIH0gZWxzZSB7XG4gICAgICBjdXJyaWVkRGVmaW5pdGlvbiA9IG51bGw7XG4gICAgfVxuXG4gICAgbGFzdFZhbHVlID0gdmFsdWU7XG5cbiAgICByZXR1cm4gY3VycmllZERlZmluaXRpb247XG4gIH0pO1xufVxuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -10,3 +10,2 @@ import './lib/bootstrap'; | ||
export { runtimeContext, EnvironmentImpl, inTransaction } from './lib/environment'; | ||
export { default as getDynamicVar } from './lib/helpers/get-dynamic-var'; | ||
export { renderComponent, renderMain, renderSync } from './lib/render'; | ||
@@ -18,6 +17,12 @@ export { UpdatingVM, VM as LowLevelVM } from './lib/vm'; | ||
export { isSerializationFirstNode, RehydrateBuilder, rehydrationBuilder, SERIALIZATION_FIRST_NODE_STRING } from './lib/vm/rehydrate-builder'; | ||
export { invokeHelper } from './lib/helpers/invoke'; // Currently we need to re-export these values for @glimmer/component | ||
export { invokeHelper } from './lib/helpers/invoke'; | ||
export { default as fn } from './lib/helpers/fn'; | ||
export { default as hash } from './lib/helpers/hash'; | ||
export { default as array } from './lib/helpers/array'; | ||
export { default as get } from './lib/helpers/get'; | ||
export { default as concat } from './lib/helpers/concat'; | ||
export { default as on } from './lib/modifiers/on'; // Currently we need to re-export these values for @glimmer/component | ||
// https://github.com/glimmerjs/glimmer.js/issues/319 | ||
export { destroy, registerDestructor, isDestroying, isDestroyed } from '@glimmer/destroyable'; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsT0FBTyxpQkFBUDtBQUVBLFNBQVMsS0FBVCxFQUFnQixjQUFoQixFQUFnQyxVQUFoQyxRQUFrRCxjQUFsRDtBQUNBLFNBRUUscUJBRkYsRUFHRSxtQkFIRixRQUlPLGlDQUpQO0FBS0EsU0FBUyxLQUFULEVBQWdCLFlBQWhCLFFBQW9DLHFCQUFwQztBQUNBLFNBQ0UsNEJBREYsRUFFRSwrQkFGRixFQUdFLCtCQUErQixJQUFJLHFCQUhyQyxFQUlFLHFCQUpGLFFBS08sK0JBTFA7QUFNQSxTQUNFLE9BQU8sSUFBSSxVQURiLEVBRUUsY0FBYyxJQUFJLFdBRnBCLEVBR0UsbUJBSEYsRUFJRSxZQUpGLFFBS08sa0JBTFA7QUFNQSxTQUFTLGlCQUFULFFBQWtDLGlCQUFsQztBQUNBLFNBQVMsZ0JBQVQsRUFBMkIsZ0JBQTNCLFFBQW1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XG5cbmV4cG9ydCB0eXBlIEl0ZXJhdG9yUmVzdWx0PFQ+ID0gUmljaEl0ZXJhdG9yUmVzdWx0PG51bGwsIFQ+O1xuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -1,2 +0,2 @@ | ||
import { childRefFor, UNDEFINED_REFERENCE, TRUE_REFERENCE, FALSE_REFERENCE, valueForRef } from '@glimmer/reference'; | ||
import { childRefFor, UNDEFINED_REFERENCE, TRUE_REFERENCE, FALSE_REFERENCE, valueForRef, createComputeRef } from '@glimmer/reference'; | ||
import { $v0 } from '@glimmer/vm'; | ||
@@ -6,2 +6,3 @@ import { APPEND_OPCODES } from '../../opcodes'; | ||
import { assert, debugToString, decodeHandle } from '@glimmer/util'; | ||
import { toBool } from '@glimmer/global-context'; | ||
import { CONSTANTS } from '../../symbols'; | ||
@@ -11,2 +12,3 @@ import { DEBUG } from '@glimmer/env'; | ||
import { isCurriedType, resolveCurriedValue } from '../../curried-value'; | ||
import { reifyPositional } from '../../vm/arguments'; | ||
APPEND_OPCODES.add(77 | ||
@@ -220,2 +222,46 @@ /* Curry */ | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL2NvbXBpbGVkL29wY29kZXMvZXhwcmVzc2lvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVUEsU0FFRSxXQUZGLEVBR0UsbUJBSEYsRUFJRSxjQUpGLEVBS0UsZUFMRixFQU1FLFdBTkYsUUFPTyxvQkFQUDtBQVFBLFNBQVMsR0FBVCxRQUFvQixhQUFwQjtBQUNBLFNBQVMsY0FBVCxRQUErQixlQUEvQjtBQUNBLFNBQVMsZUFBVCxRQUFnQyx1QkFBaEM7QUFDQSxTQUFTLE1BQVQsRUFBaUIsYUFBakIsRUFBZ0MsWUFBaEMsUUFBb0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1ib2xUYWJsZSkpO1xuXG4gIGxldCBoYXNCbG9ja1BhcmFtcyA9IHRhYmxlICYmIHRhYmxlLnBhcmFtZXRlcnMubGVuZ3RoO1xuICB2bS5zdGFjay5wdXNoSnMoaGFzQmxvY2tQYXJhbXMgPyBUUlVFX1JFRkVSRU5DRSA6IEZBTFNFX1JFRkVSRU5DRSk7XG59KTtcblxuQVBQRU5EX09QQ09ERVMuYWRkKE9wLkNvbmNhdCwgKHZtLCB7IG9wMTogY291bnQgfSkgPT4ge1xuICBsZXQgb3V0OiBBcnJheTxSZWZlcmVuY2U8dW5rbm93bj4+ID0gbmV3IEFycmF5KGNvdW50KTtcblxuICBmb3IgKGxldCBpID0gY291bnQ7IGkgPiAwOyBpLS0pIHtcbiAgICBsZXQgb2Zmc2V0ID0gaSAtIDE7XG4gICAgb3V0W29mZnNldF0gPSBjaGVjayh2bS5zdGFjay5wb3AoKSwgQ2hlY2tSZWZlcmVuY2UpO1xuICB9XG5cbiAgdm0uc3RhY2sucHVzaEpzKGNyZWF0ZUNvbmNhdFJlZihvdXQpKTtcbn0pO1xuIl0sInNvdXJjZVJvb3QiOiIifQ== | ||
APPEND_OPCODES.add(109 | ||
/* IfInline */ | ||
, vm => { | ||
let condition = vm.stack.popJs(); | ||
let truthy = vm.stack.popJs(); | ||
let falsy = vm.stack.popJs(); | ||
vm.stack.pushJs(createComputeRef(() => { | ||
if (toBool(valueForRef(condition)) === true) { | ||
return valueForRef(truthy); | ||
} else { | ||
return valueForRef(falsy); | ||
} | ||
})); | ||
}); | ||
APPEND_OPCODES.add(110 | ||
/* Not */ | ||
, vm => { | ||
let ref = vm.stack.popJs(); | ||
vm.stack.pushJs(createComputeRef(() => { | ||
return !toBool(valueForRef(ref)); | ||
})); | ||
}); | ||
APPEND_OPCODES.add(111 | ||
/* GetDynamicVar */ | ||
, vm => { | ||
let scope = vm.dynamicScope(); | ||
let stack = vm.stack; | ||
let nameRef = stack.popJs(); | ||
stack.pushJs(createComputeRef(() => { | ||
let name = String(valueForRef(nameRef)); | ||
return valueForRef(scope.get(name)); | ||
})); | ||
}); | ||
APPEND_OPCODES.add(112 | ||
/* Log */ | ||
, vm => { | ||
let { | ||
positional | ||
} = vm.stack.popJs().capture(); | ||
vm.loadValue($v0, createComputeRef(() => { | ||
// eslint-disable-next-line no-console | ||
console.log(...reifyPositional(positional)); | ||
})); | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL2NvbXBpbGVkL29wY29kZXMvZXhwcmVzc2lvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVUEsU0FFRSxXQUZGLEVBR0UsbUJBSEYsRUFJRSxjQUpGLEVBS0UsZUFMRixFQU1FLFdBTkYsRUFPRSxnQkFQRixRQVFPLG9CQVJQO0FBU0EsU0FBUyxHQUFULFFBQW9CLGFBQXBCO0FBQ0EsU0FBUyxjQUFULFFBQStCLGVBQS9CO0FBQ0EsU0FBUyxlQUFULFFBQWdDLHVCQUFoQztBQUNBLFNBQVMsTUFBVCxFQUFpQixhQUFqQixFQUFnQyxZQUFoQyxRQUFvRCxlQUFwRDtBQUNBLFNBQVMsTUFBVCxRQUF1Qix5QkFBdkI7QUFtQkEsU0FBUyxTQUFULFFBQTBCLGVBQTFCO0FBQ0EsU0FBUyxLQUFULFFBQXNCLGNBQXRCO0FBQ0EsT0FBTyxjQUFQLE1BQTJCLDhCQUEzQjtBQUNBLFNBQVMsYUFBVCxFQUF3QixtQkFBeEIsUUFBbUQscUJBQW5EO0FBQ0EsU0FBUyxlQUFULFFBQWdDLG9CQUFoQztBQUlBLGNBQWMsQ0FBQyxHQUFmLENBQWtCO0FBQUE7QUFBbEIsRUFBNkIsQ0FBQyxFQUFELEVBQUs7QUFBRSxFQUFBLEdBQUcsRUFBRSxJQUFQO0FBQWEs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9wSnMoKSwgQ2hlY2tSZWZlcmVuY2UpO1xuXG4gIHN0YWNrLnB1c2hKcyhcbiAgICBjcmVhdGVDb21wdXRlUmVmKCgpID0+IHtcbiAgICAgIGxldCBuYW1lID0gU3RyaW5nKHZhbHVlRm9yUmVmKG5hbWVSZWYpKTtcbiAgICAgIHJldHVybiB2YWx1ZUZvclJlZihzY29wZS5nZXQobmFtZSkpO1xuICAgIH0pXG4gICk7XG59KTtcblxuQVBQRU5EX09QQ09ERVMuYWRkKE9wLkxvZywgKHZtKSA9PiB7XG4gIGxldCB7IHBvc2l0aW9uYWwgfSA9IGNoZWNrKHZtLnN0YWNrLnBvcEpzKCksIENoZWNrQXJndW1lbnRzKS5jYXB0dXJlKCk7XG5cbiAgdm0ubG9hZFZhbHVlKFxuICAgICR2MCxcbiAgICBjcmVhdGVDb21wdXRlUmVmKCgpID0+IHtcbiAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1jb25zb2xlXG4gICAgICBjb25zb2xlLmxvZyguLi5yZWlmeVBvc2l0aW9uYWwocG9zaXRpb25hbCkpO1xuICAgIH0pXG4gICk7XG59KTtcbiJdLCJzb3VyY2VSb290IjoiIn0= |
@@ -28,3 +28,3 @@ import { DEBUG } from '@glimmer/env'; | ||
if (!resolvedDefinition) { | ||
throw new Error(`Attempted to resolve \`${name}\`, which was expected to be a component, but nothing was found.`); | ||
throw new Error(`Attempted to resolve \`${value}\`, which was expected to be a component, but nothing was found.`); | ||
} | ||
@@ -44,2 +44,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL3JlZmVyZW5jZXMvY3VycnktdmFsdWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU0FBUyxLQUFULFFBQXNCLGNBQXRCO0FBVUEsU0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aW9ucydcbiAgICAgICAgKS5sb29rdXBDb21wb25lbnQodmFsdWUsIG93bmVyKTtcblxuICAgICAgICBpZiAoIXJlc29sdmVkRGVmaW5pdGlvbikge1xuICAgICAgICAgIHRocm93IG5ldyBFcnJvcihcbiAgICAgICAgICAgIGBBdHRlbXB0ZWQgdG8gcmVzb2x2ZSBcXGAke3ZhbHVlfVxcYCwgd2hpY2ggd2FzIGV4cGVjdGVkIHRvIGJlIGEgY29tcG9uZW50LCBidXQgbm90aGluZyB3YXMgZm91bmQuYFxuICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgY3VycmllZERlZmluaXRpb24gPSBjdXJyeSh0eXBlLCB2YWx1ZSwgb3duZXIsIGFyZ3MpO1xuICAgIH0gZWxzZSBpZiAodHlwZW9mIHZhbHVlID09PSAnZnVuY3Rpb24nIHx8ICh0eXBlb2YgdmFsdWUgPT09ICdvYmplY3QnICYmIHZhbHVlICE9PSBudWxsKSkge1xuICAgICAgY3VycmllZERlZmluaXRpb24gPSBjdXJyeSh0eXBlLCB2YWx1ZSwgb3duZXIsIGFyZ3MpO1xuICAgIH0gZWxzZSB7XG4gICAgICBjdXJyaWVkRGVmaW5pdGlvbiA9IG51bGw7XG4gICAgfVxuXG4gICAgbGFzdFZhbHVlID0gdmFsdWU7XG5cbiAgICByZXR1cm4gY3VycmllZERlZmluaXRpb247XG4gIH0pO1xufVxuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -10,3 +10,2 @@ import './lib/bootstrap'; | ||
export { runtimeContext, EnvironmentImpl, inTransaction } from './lib/environment'; | ||
export { default as getDynamicVar } from './lib/helpers/get-dynamic-var'; | ||
export { renderComponent, renderMain, renderSync } from './lib/render'; | ||
@@ -18,6 +17,12 @@ export { UpdatingVM, VM as LowLevelVM } from './lib/vm'; | ||
export { isSerializationFirstNode, RehydrateBuilder, rehydrationBuilder, SERIALIZATION_FIRST_NODE_STRING } from './lib/vm/rehydrate-builder'; | ||
export { invokeHelper } from './lib/helpers/invoke'; // Currently we need to re-export these values for @glimmer/component | ||
export { invokeHelper } from './lib/helpers/invoke'; | ||
export { default as fn } from './lib/helpers/fn'; | ||
export { default as hash } from './lib/helpers/hash'; | ||
export { default as array } from './lib/helpers/array'; | ||
export { default as get } from './lib/helpers/get'; | ||
export { default as concat } from './lib/helpers/concat'; | ||
export { default as on } from './lib/modifiers/on'; // Currently we need to re-export these values for @glimmer/component | ||
// https://github.com/glimmerjs/glimmer.js/issues/319 | ||
export { destroy, registerDestructor, isDestroying, isDestroyed } from '@glimmer/destroyable'; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsT0FBQSxpQkFBQTtBQUVBLFNBQUEsS0FBQSxFQUFBLGNBQUEsRUFBQSxVQUFBLFFBQUEsY0FBQTtBQUNBLFNBQUEscUJBQUEsRUFBQSxtQkFBQSxRQUFBLGlDQUFBO0FBS0EsU0FBQSxLQUFBLEVBQUEsWUFBQSxRQUFBLHFCQUFBO0FBQ0EsU0FBQSw0QkFBQSxFQUFBLCtCQUFBLEVBR0UsK0JBQStCLElBSGpDLHFCQUFBLEVBQUEscUJBQUEsUUFBQSwrQkFBQTtBQU1BLFNBQ0UsT0FBTyxJQURULFVBQUEsRUFFRSxjQUFjLElBRmhCLFdBQUEsRUFBQSxtQkFBQSxFQUFBLFlBQUEsUUFBQSxrQkFBQTtBQU1BLFNBQUEsaUJBQUEsUUFBQSxpQkFBQTtBQUNBLFNBQUEsZ0JBQUEsRUFBQSxnQkFBQSxRQUFBLGFBQUE7QUFDQSxTQUFBLGNBQUEsRUFBQSxlQUFBLEVBQUEsYUFBQSxRQUFBLG1CQUFBO0FBTUEsU0FBUyxPQUFPLElBQWhCLGFBQUEsUUFBQSwrQkFBQ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| ||
import { childRefFor, UNDEFINED_REFERENCE, TRUE_REFERENCE, FALSE_REFERENCE, valueForRef } from '@glimmer/reference'; | ||
import { childRefFor, UNDEFINED_REFERENCE, TRUE_REFERENCE, FALSE_REFERENCE, valueForRef, createComputeRef } from '@glimmer/reference'; | ||
import { $v0 } from '@glimmer/vm'; | ||
@@ -6,2 +6,3 @@ import { APPEND_OPCODES } from '../../opcodes'; | ||
import { assert, debugToString, decodeHandle } from '@glimmer/util'; | ||
import { toBool } from '@glimmer/global-context'; | ||
import { CONSTANTS } from '../../symbols'; | ||
@@ -11,2 +12,3 @@ import { DEBUG } from '@glimmer/env'; | ||
import { isCurriedType, resolveCurriedValue } from '../../curried-value'; | ||
import { reifyPositional } from '../../vm/arguments'; | ||
APPEND_OPCODES.add(77 | ||
@@ -209,2 +211,48 @@ /* Curry */ | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL2NvbXBpbGVkL29wY29kZXMvZXhwcmVzc2lvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVUEsU0FBQSxXQUFBLEVBQUEsbUJBQUEsRUFBQSxjQUFBLEVBQUEsZUFBQSxFQUFBLFdBQUEsUUFBQSxvQkFBQTtBQVFBLFNBQUEsR0FBQSxRQUFBLGFBQUE7QUFDQSxTQUFBLGNBQUEsUUFBQSxlQUFBO0FBQ0EsU0FBQSxlQUFBLFFBQUEsdUJBQUE7QUFDQSxTQUFBLE1BQUEsRUFBQSxhQUFBLEVBQUEsWUFBQSxRQUFBLGVBQUE7QUFtQkEsU0FBQSxTQUFBLFFBQUEsZUFBQTtBQUNBLFNBQUEsS0FBQSxRQUFBLGNBQUE7QUFDQSxPQUFBLGNBQUEsTUFBQSw4QkFBQTtBQUNBLFNBQUEsYUFBQSxFQUFBLG1CQUF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ZGQoT3AuQ29uY2F0LCAodm0sIHsgb3AxOiBjb3VudCB9KSA9PiB7XG4gIGxldCBvdXQ6IEFycmF5PFJlZmVyZW5jZTx1bmtub3duPj4gPSBuZXcgQXJyYXkoY291bnQpO1xuXG4gIGZvciAobGV0IGkgPSBjb3VudDsgaSA+IDA7IGktLSkge1xuICAgIGxldCBvZmZzZXQgPSBpIC0gMTtcbiAgICBvdXRbb2Zmc2V0XSA9IGNoZWNrKHZtLnN0YWNrLnBvcCgpLCBDaGVja1JlZmVyZW5jZSk7XG4gIH1cblxuICB2bS5zdGFjay5wdXNoSnMoY3JlYXRlQ29uY2F0UmVmKG91dCkpO1xufSk7XG4iXSwic291cmNlUm9vdCI6IiJ9 | ||
APPEND_OPCODES.add(109 | ||
/* IfInline */ | ||
, function (vm) { | ||
var condition = vm.stack.popJs(); | ||
var truthy = vm.stack.popJs(); | ||
var falsy = vm.stack.popJs(); | ||
vm.stack.pushJs(createComputeRef(function () { | ||
if (toBool(valueForRef(condition)) === true) { | ||
return valueForRef(truthy); | ||
} else { | ||
return valueForRef(falsy); | ||
} | ||
})); | ||
}); | ||
APPEND_OPCODES.add(110 | ||
/* Not */ | ||
, function (vm) { | ||
var ref = vm.stack.popJs(); | ||
vm.stack.pushJs(createComputeRef(function () { | ||
return !toBool(valueForRef(ref)); | ||
})); | ||
}); | ||
APPEND_OPCODES.add(111 | ||
/* GetDynamicVar */ | ||
, function (vm) { | ||
var scope = vm.dynamicScope(); | ||
var stack = vm.stack; | ||
var nameRef = stack.popJs(); | ||
stack.pushJs(createComputeRef(function () { | ||
var name = String(valueForRef(nameRef)); | ||
return valueForRef(scope.get(name)); | ||
})); | ||
}); | ||
APPEND_OPCODES.add(112 | ||
/* Log */ | ||
, function (vm) { | ||
var _vm$stack$popJs$captu = vm.stack.popJs().capture(), | ||
positional = _vm$stack$popJs$captu.positional; | ||
vm.loadValue($v0, createComputeRef(function () { | ||
var _console; | ||
// eslint-disable-next-line no-console | ||
(_console = console).log.apply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ZVJlZigoKSA9PiB7XG4gICAgICBsZXQgbmFtZSA9IFN0cmluZyh2YWx1ZUZvclJlZihuYW1lUmVmKSk7XG4gICAgICByZXR1cm4gdmFsdWVGb3JSZWYoc2NvcGUuZ2V0KG5hbWUpKTtcbiAgICB9KVxuICApO1xufSk7XG5cbkFQUEVORF9PUENPREVTLmFkZChPcC5Mb2csICh2bSkgPT4ge1xuICBsZXQgeyBwb3NpdGlvbmFsIH0gPSBjaGVjayh2bS5zdGFjay5wb3BKcygpLCBDaGVja0FyZ3VtZW50cykuY2FwdHVyZSgpO1xuXG4gIHZtLmxvYWRWYWx1ZShcbiAgICAkdjAsXG4gICAgY3JlYXRlQ29tcHV0ZVJlZigoKSA9PiB7XG4gICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tY29uc29sZVxuICAgICAgY29uc29sZS5sb2coLi4ucmVpZnlQb3NpdGlvbmFsKHBvc2l0aW9uYWwpKTtcbiAgICB9KVxuICApO1xufSk7XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -28,3 +28,3 @@ import { DEBUG } from '@glimmer/env'; | ||
if (!resolvedDefinition) { | ||
throw new Error("Attempted to resolve `" + name + "`, which was expected to be a component, but nothing was found."); | ||
throw new Error("Attempted to resolve `" + value + "`, which was expected to be a component, but nothing was found."); | ||
} | ||
@@ -44,2 +44,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL3JlZmVyZW5jZXMvY3VycnktdmFsdWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU0FBQSxLQUFBLFFBQUEsY0FBQTtBQVVBLFNBQUEsZ0JBQUEsRUFBQSxXQUFBLFFBQUEsb0JBQUE7QUFFQSxTQUFBLEtBQUEsRUFBQSxhQUFBLFFBQUE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gcmVzb2x2ZSBcXGAke3ZhbHVlfVxcYCwgd2hpY2ggd2FzIGV4cGVjdGVkIHRvIGJlIGEgY29tcG9uZW50LCBidXQgbm90aGluZyB3YXMgZm91bmQuYFxuICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgY3VycmllZERlZmluaXRpb24gPSBjdXJyeSh0eXBlLCB2YWx1ZSwgb3duZXIsIGFyZ3MpO1xuICAgIH0gZWxzZSBpZiAodHlwZW9mIHZhbHVlID09PSAnZnVuY3Rpb24nIHx8ICh0eXBlb2YgdmFsdWUgPT09ICdvYmplY3QnICYmIHZhbHVlICE9PSBudWxsKSkge1xuICAgICAgY3VycmllZERlZmluaXRpb24gPSBjdXJyeSh0eXBlLCB2YWx1ZSwgb3duZXIsIGFyZ3MpO1xuICAgIH0gZWxzZSB7XG4gICAgICBjdXJyaWVkRGVmaW5pdGlvbiA9IG51bGw7XG4gICAgfVxuXG4gICAgbGFzdFZhbHVlID0gdmFsdWU7XG5cbiAgICByZXR1cm4gY3VycmllZERlZmluaXRpb247XG4gIH0pO1xufVxuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -14,3 +14,2 @@ /** | ||
export { runtimeContext, EnvironmentImpl, EnvironmentDelegate, inTransaction, } from './lib/environment'; | ||
export { default as getDynamicVar } from './lib/helpers/get-dynamic-var'; | ||
export { renderComponent, renderMain, renderSync } from './lib/render'; | ||
@@ -24,4 +23,10 @@ export { SafeString } from './lib/upsert'; | ||
export { invokeHelper } from './lib/helpers/invoke'; | ||
export { default as fn } from './lib/helpers/fn'; | ||
export { default as hash } from './lib/helpers/hash'; | ||
export { default as array } from './lib/helpers/array'; | ||
export { default as get } from './lib/helpers/get'; | ||
export { default as concat } from './lib/helpers/concat'; | ||
export { default as on } from './lib/modifiers/on'; | ||
export { destroy, registerDestructor, isDestroying, isDestroyed } from '@glimmer/destroyable'; | ||
export declare type IteratorResult<T> = RichIteratorResult<null, T>; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@glimmer/runtime", | ||
"version": "0.72.0", | ||
"version": "0.73.0", | ||
"description": "Minimal runtime needed to render Glimmer templates", | ||
@@ -9,19 +9,19 @@ "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/runtime", | ||
"@glimmer/env": "0.1.7", | ||
"@glimmer/global-context": "0.72.0", | ||
"@glimmer/low-level": "0.72.0", | ||
"@glimmer/util": "0.72.0", | ||
"@glimmer/reference": "0.72.0", | ||
"@glimmer/validator": "0.72.0", | ||
"@glimmer/wire-format": "0.72.0", | ||
"@glimmer/interfaces": "0.72.0", | ||
"@glimmer/destroyable": "0.72.0", | ||
"@glimmer/owner": "0.72.0", | ||
"@glimmer/program": "0.72.0", | ||
"@glimmer/vm": "0.72.0", | ||
"@glimmer/global-context": "0.73.0", | ||
"@glimmer/low-level": "0.73.0", | ||
"@glimmer/util": "0.73.0", | ||
"@glimmer/reference": "0.73.0", | ||
"@glimmer/validator": "0.73.0", | ||
"@glimmer/wire-format": "0.73.0", | ||
"@glimmer/interfaces": "0.73.0", | ||
"@glimmer/destroyable": "0.73.0", | ||
"@glimmer/owner": "0.73.0", | ||
"@glimmer/program": "0.73.0", | ||
"@glimmer/vm": "0.73.0", | ||
"@simple-dom/interface": "^1.4.0" | ||
}, | ||
"devDependencies": { | ||
"@glimmer/local-debug-flags": "0.72.0", | ||
"@glimmer/opcode-compiler": "0.72.0", | ||
"@glimmer/debug": "0.72.0", | ||
"@glimmer/local-debug-flags": "0.73.0", | ||
"@glimmer/opcode-compiler": "0.73.0", | ||
"@glimmer/debug": "0.73.0", | ||
"@types/qunit": "^2.9.0" | ||
@@ -28,0 +28,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4365129
476
38191
+ Added@glimmer/destroyable@0.73.0(transitive)
+ Added@glimmer/encoder@0.73.0(transitive)
+ Added@glimmer/global-context@0.73.0(transitive)
+ Added@glimmer/interfaces@0.73.0(transitive)
+ Added@glimmer/low-level@0.73.0(transitive)
+ Added@glimmer/manager@0.73.0(transitive)
+ Added@glimmer/opcode-compiler@0.73.0(transitive)
+ Added@glimmer/owner@0.73.0(transitive)
+ Added@glimmer/program@0.73.0(transitive)
+ Added@glimmer/reference@0.73.0(transitive)
+ Added@glimmer/util@0.73.0(transitive)
+ Added@glimmer/validator@0.73.0(transitive)
+ Added@glimmer/vm@0.73.0(transitive)
+ Added@glimmer/wire-format@0.73.0(transitive)
- Removed@glimmer/destroyable@0.72.0(transitive)
- Removed@glimmer/encoder@0.72.0(transitive)
- Removed@glimmer/global-context@0.72.0(transitive)
- Removed@glimmer/interfaces@0.72.0(transitive)
- Removed@glimmer/low-level@0.72.0(transitive)
- Removed@glimmer/manager@0.72.0(transitive)
- Removed@glimmer/opcode-compiler@0.72.0(transitive)
- Removed@glimmer/owner@0.72.0(transitive)
- Removed@glimmer/program@0.72.0(transitive)
- Removed@glimmer/reference@0.72.0(transitive)
- Removed@glimmer/util@0.72.0(transitive)
- Removed@glimmer/validator@0.72.0(transitive)
- Removed@glimmer/vm@0.72.0(transitive)
- Removed@glimmer/wire-format@0.72.0(transitive)
Updated@glimmer/destroyable@0.73.0
Updated@glimmer/interfaces@0.73.0
Updated@glimmer/low-level@0.73.0
Updated@glimmer/owner@0.73.0
Updated@glimmer/program@0.73.0
Updated@glimmer/reference@0.73.0
Updated@glimmer/util@0.73.0
Updated@glimmer/validator@0.73.0
Updated@glimmer/vm@0.73.0
Updated@glimmer/wire-format@0.73.0