ntk-cms-api 1.2.135 → 1.2.137

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.
@@ -153,6 +153,64 @@
153
153
  function __param(paramIndex, decorator) {
154
154
  return function (target, key) { decorator(target, key, paramIndex); };
155
155
  }
156
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
157
+ function accept(f) { if (f !== void 0 && typeof f !== "function")
158
+ throw new TypeError("Function expected"); return f; }
159
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
160
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
161
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
162
+ var _, done = false;
163
+ for (var i = decorators.length - 1; i >= 0; i--) {
164
+ var context = {};
165
+ for (var p in contextIn)
166
+ context[p] = p === "access" ? {} : contextIn[p];
167
+ for (var p in contextIn.access)
168
+ context.access[p] = contextIn.access[p];
169
+ context.addInitializer = function (f) { if (done)
170
+ throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
171
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
172
+ if (kind === "accessor") {
173
+ if (result === void 0)
174
+ continue;
175
+ if (result === null || typeof result !== "object")
176
+ throw new TypeError("Object expected");
177
+ if (_ = accept(result.get))
178
+ descriptor.get = _;
179
+ if (_ = accept(result.set))
180
+ descriptor.set = _;
181
+ if (_ = accept(result.init))
182
+ initializers.push(_);
183
+ }
184
+ else if (_ = accept(result)) {
185
+ if (kind === "field")
186
+ initializers.push(_);
187
+ else
188
+ descriptor[key] = _;
189
+ }
190
+ }
191
+ if (target)
192
+ Object.defineProperty(target, contextIn.name, descriptor);
193
+ done = true;
194
+ }
195
+ ;
196
+ function __runInitializers(thisArg, initializers, value) {
197
+ var useValue = arguments.length > 2;
198
+ for (var i = 0; i < initializers.length; i++) {
199
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
200
+ }
201
+ return useValue ? value : void 0;
202
+ }
203
+ ;
204
+ function __propKey(x) {
205
+ return typeof x === "symbol" ? x : "".concat(x);
206
+ }
207
+ ;
208
+ function __setFunctionName(f, name, prefix) {
209
+ if (typeof name === "symbol")
210
+ name = name.description ? "[".concat(name.description, "]") : "";
211
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
212
+ }
213
+ ;
156
214
  function __metadata(metadataKey, metadataValue) {
157
215
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
158
216
  return Reflect.metadata(metadataKey, metadataValue);
@@ -352,7 +410,7 @@
352
410
  function __asyncDelegator(o) {
353
411
  var i, p;
354
412
  return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
355
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
413
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
356
414
  }
357
415
  function __asyncValues(o) {
358
416
  if (!Symbol.asyncIterator)