Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ambl-on/lcu-ambl-on-common

Package Overview
Dependencies
Maintainers
2
Versions
420
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ambl-on/lcu-ambl-on-common - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

esm2015/lib/state/users/users-state-manager.context.js

2

ambl-on-lcu-ambl-on-common.metadata.json

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"LcuAmblOnModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":4}]}]}],"members":{}}},"origins":{"LcuAmblOnModule":"./lib/lcu-ambl-on.module"},"importAs":"@ambl-on/lcu-ambl-on-common"}
{"__symbolic":"module","version":4,"metadata":{"UsersStateManagerContext":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@lcu-ide/common","name":"StateManagerContext","line":7,"character":46},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":14,"character":34}]}],"SetActive":[{"__symbolic":"method"}],"defaultValue":[{"__symbolic":"method"}],"loadStateKey":[{"__symbolic":"method"}],"loadStateName":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"UsersState":{"__symbolic":"class","members":{}},"LcuAmblOnModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":7,"character":4}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"LcuAmblOnModule"},"providers":[{"__symbolic":"reference","name":"UsersStateManagerContext"}]}}}}},"origins":{"UsersStateManagerContext":"./lib/state/users/users-state-manager.context","UsersState":"./lib/state/users/users-state.model","LcuAmblOnModule":"./lib/lcu-ambl-on.module"},"importAs":"@ambl-on/lcu-ambl-on-common"}
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common')) :
typeof define === 'function' && define.amd ? define('@ambl-on/lcu-ambl-on-common', ['exports', '@angular/core', '@angular/common'], factory) :
(factory((global['ambl-on'] = global['ambl-on'] || {}, global['ambl-on']['lcu-ambl-on-common'] = {}),global.ng.core,global.ng.common));
}(this, (function (exports,core,common) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@lcu-ide/common'), require('@angular/core'), require('@angular/common')) :
typeof define === 'function' && define.amd ? define('@ambl-on/lcu-ambl-on-common', ['exports', '@lcu-ide/common', '@angular/core', '@angular/common'], factory) :
(factory((global['ambl-on'] = global['ambl-on'] || {}, global['ambl-on']['lcu-ambl-on-common'] = {}),global.common,global.ng.core,global.ng.common));
}(this, (function (exports,common,i0,common$1) { 'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
/* global Reflect, Promise */
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b)
if (b.hasOwnProperty(p))
d[p] = b[p]; };
return extendStatics(d, b);
};
function __extends(d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
function __awaiter(thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try {
step(generator.next(value));
}
catch (e) {
reject(e);
} }
function rejected(value) { try {
step(generator["throw"](value));
}
catch (e) {
reject(e);
} }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}
function __generator(thisArg, body) {
var _ = { label: 0, sent: function () { if (t[0] & 1)
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f)
throw new TypeError("Generator is already executing.");
while (_)
try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
return t;
if (y = 0, t)
op = [op[0] & 2, t.value];
switch (op[0]) {
case 0:
case 1:
t = op;
break;
case 4:
_.label++;
return { value: op[1], done: false };
case 5:
_.label++;
y = op[1];
op = [0];
continue;
case 7:
op = _.ops.pop();
_.trys.pop();
continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
_ = 0;
continue;
}
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
_.label = op[1];
break;
}
if (op[0] === 6 && _.label < t[1]) {
_.label = t[1];
t = op;
break;
}
if (t && _.label < t[2]) {
_.label = t[2];
_.ops.push(op);
break;
}
if (t[2])
_.ops.pop();
_.trys.pop();
continue;
}
op = body.call(thisArg, _);
}
catch (e) {
op = [6, e];
y = 0;
}
finally {
f = t = 0;
}
if (op[0] & 5)
throw op[1];
return { value: op[0] ? op[1] : void 0, done: true };
}
}
/**

@@ -11,10 +127,126 @@ * @fileoverview added by tsickle

*/
var UsersStateManagerContext = /** @class */ (function (_super) {
__extends(UsersStateManagerContext, _super);
// Properties
// Constructors
function UsersStateManagerContext(injector) {
var _this = _super.call(this, injector) || this;
_this.injector = injector;
return _this;
}
// API Methods
// API Methods
/**
* @return {?}
*/
UsersStateManagerContext.prototype.SetActive =
// API Methods
/**
* @return {?}
*/
function () {
// this.state.Title = lookup
// TODO: Emit state
// this.Execute({
// Arguments: {
// Lookup: lookup,
// IsSettings: isSettings
// },
// Type: 'set-active'
// });
};
// Helpers
// Helpers
/**
* @protected
* @return {?}
*/
UsersStateManagerContext.prototype.defaultValue =
// Helpers
/**
* @protected
* @return {?}
*/
function () {
return ( /** @type {?} */({ Loading: true }));
};
/**
* @protected
* @return {?}
*/
UsersStateManagerContext.prototype.loadStateKey = /**
* @protected
* @return {?}
*/
function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, 'main'];
});
});
};
/**
* @protected
* @return {?}
*/
UsersStateManagerContext.prototype.loadStateName = /**
* @protected
* @return {?}
*/
function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, 'users '];
});
});
};
UsersStateManagerContext.decorators = [
{ type: i0.Injectable, args: [{
providedIn: 'root'
},] }
];
/** @nocollapse */
UsersStateManagerContext.ctorParameters = function () {
return [
{ type: i0.Injector }
];
};
/** @nocollapse */ UsersStateManagerContext.ngInjectableDef = i0.defineInjectable({ factory: function UsersStateManagerContext_Factory() { return new UsersStateManagerContext(i0.inject(i0.INJECTOR)); }, token: UsersStateManagerContext, providedIn: "root" });
return UsersStateManagerContext;
}(common.StateManagerContext));
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var UsersState = /** @class */ (function () {
function UsersState() {
}
return UsersState;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var LcuAmblOnModule = /** @class */ (function () {
function LcuAmblOnModule() {
}
/**
* @return {?}
*/
LcuAmblOnModule.forRoot = /**
* @return {?}
*/
function () {
return {
ngModule: LcuAmblOnModule,
providers: [UsersStateManagerContext]
};
};
LcuAmblOnModule.decorators = [
{ type: core.NgModule, args: [{
{ type: i0.NgModule, args: [{
declarations: [],
imports: [
common.CommonModule
common$1.CommonModule
]

@@ -36,2 +268,4 @@ },] }

exports.UsersStateManagerContext = UsersStateManagerContext;
exports.UsersState = UsersState;
exports.LcuAmblOnModule = LcuAmblOnModule;

@@ -38,0 +272,0 @@

@@ -1,2 +0,2 @@

!function(o,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("@ambl-on/lcu-ambl-on-common",["exports","@angular/core","@angular/common"],e):e((o["ambl-on"]=o["ambl-on"]||{},o["ambl-on"]["lcu-ambl-on-common"]={}),o.ng.core,o.ng.common)}(this,function(o,e,n){"use strict";var r=function(){function o(){}return o.decorators=[{type:e.NgModule,args:[{declarations:[],imports:[n.CommonModule]}]}],o}();o.LcuAmblOnModule=r,Object.defineProperty(o,"__esModule",{value:!0})});
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@lcu-ide/common"),require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("@ambl-on/lcu-ambl-on-common",["exports","@lcu-ide/common","@angular/core","@angular/common"],t):t((n["ambl-on"]=n["ambl-on"]||{},n["ambl-on"]["lcu-ambl-on-common"]={}),n.common,n.ng.core,n.ng.common)}(this,function(n,t,r,e){"use strict";var u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e])})(n,t)};function c(t,c,i,a){return new(i||(i=Promise))(function(n,e){function o(n){try{u(a.next(n))}catch(t){e(t)}}function r(n){try{u(a["throw"](n))}catch(t){e(t)}}function u(t){t.done?n(t.value):new i(function(n){n(t.value)}).then(o,r)}u((a=a.apply(t,c||[])).next())})}function i(o,r){var u,c,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:t(0),"throw":t(1),"return":t(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function t(t){return function(n){return function e(n){if(u)throw new TypeError("Generator is already executing.");for(;a;)try{if(u=1,c&&(i=2&n[0]?c["return"]:n[0]?c["throw"]||((i=c["return"])&&i.call(c),0):c.next)&&!(i=i.call(c,n[1])).done)return i;switch(c=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,c=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=0<(i=a.trys).length&&i[i.length-1])&&(6===n[0]||2===n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=r.call(o,a)}catch(t){n=[6,t],c=0}finally{u=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([t,n])}}}function o(){}var a=function(e){function n(n){var t=e.call(this,n)||this;return t.injector=n,t}return function o(n,t){function e(){this.constructor=n}u(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}(n,e),n.prototype.SetActive=function(){},n.prototype.defaultValue=function(){return{Loading:!0}},n.prototype.loadStateKey=function(){return c(this,void 0,void 0,function(){return i(this,function(n){return[2,"main"]})})},n.prototype.loadStateName=function(){return c(this,void 0,void 0,function(){return i(this,function(n){return[2,"users "]})})},n.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.Injector}]},n.ngInjectableDef=r.defineInjectable({factory:function(){return new n(r.inject(r.INJECTOR))},token:n,providedIn:"root"}),n}(t.StateManagerContext),l=function(){function n(){}return n.forRoot=function(){return{ngModule:n,providers:[a]}},n.decorators=[{type:r.NgModule,args:[{declarations:[],imports:[e.CommonModule]}]}],n}();n.UsersStateManagerContext=a,n.UsersState=o,n.LcuAmblOnModule=l,Object.defineProperty(n,"__esModule",{value:!0})});
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.umd.min.js.map

@@ -8,3 +8,3 @@ /**

*/
export { LcuAmblOnModule } from './lcu.api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsZ0NBQWMsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xjdS5hcGknO1xuIl19
export { UsersStateManagerContext, UsersState, LcuAmblOnModule } from './lcu.api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsc0VBQWMsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xjdS5hcGknO1xuIl19

@@ -5,3 +5,5 @@ /**

*/
export { UsersStateManagerContext } from './lib/state/users/users-state-manager.context';
export { UsersState } from './lib/state/users/users-state.model';
export { LcuAmblOnModule } from './lib/lcu-ambl-on.module';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LmFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxjdS5hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLGdDQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvbGN1LWFtYmwtb24ubW9kdWxlJztcclxuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LmFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxjdS5hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLHlDQUFjLCtDQUErQyxDQUFDO0FBQzlELDJCQUFjLHFDQUFxQyxDQUFDO0FBQ3BELGdDQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvc3RhdGUvdXNlcnMvdXNlcnMtc3RhdGUtbWFuYWdlci5jb250ZXh0JztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3RhdGUvdXNlcnMvdXNlcnMtc3RhdGUubW9kZWwnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9sY3UtYW1ibC1vbi5tb2R1bGUnO1xyXG4iXX0=

@@ -7,3 +7,13 @@ /**

import { CommonModule } from '@angular/common';
import { UsersStateManagerContext } from './state/users/users-state-manager.context';
export class LcuAmblOnModule {
/**
* @return {?}
*/
static forRoot() {
return {
ngModule: LcuAmblOnModule,
providers: [UsersStateManagerContext]
};
}
}

@@ -18,2 +28,2 @@ LcuAmblOnModule.decorators = [

];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LWFtYmwtb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwtb24vbGN1LWFtYmwtb24tY29tbW9uLyIsInNvdXJjZXMiOlsibGliL2xjdS1hbWJsLW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFRL0MsTUFBTSxPQUFPLGVBQWU7OztZQU4zQixRQUFRLFNBQUM7Z0JBQ1IsWUFBWSxFQUFFLEVBQUU7Z0JBQ2hCLE9BQU8sRUFBRTtvQkFDUCxZQUFZO2lCQUNiO2FBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtdLFxyXG4gIGltcG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zLXN0YXRlLW1hbmFnZXIuY29udGV4dCc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW10sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlXHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgTGN1QW1ibE9uTW9kdWxlIHtcclxuICBzdGF0aWMgZm9yUm9vdCgpOiBNb2R1bGVXaXRoUHJvdmlkZXJzIHtcclxuICAgIHJldHVybiB7XHJcbiAgICAgIG5nTW9kdWxlOiBMY3VBbWJsT25Nb2R1bGUsXHJcbiAgICAgIHByb3ZpZGVyczogW1VzZXJzU3RhdGVNYW5hZ2VyQ29udGV4dF1cclxuICAgIH07XHJcbiAgfVxyXG59XHJcbiJdfQ==

@@ -8,3 +8,3 @@ /**

*/
export { LcuAmblOnModule } from './lcu.api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsZ0NBQWMsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xjdS5hcGknO1xuIl19
export { UsersStateManagerContext, UsersState, LcuAmblOnModule } from './lcu.api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1ibC1vbi1sY3UtYW1ibC1vbi1jb21tb24uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW1ibC1vbi9sY3UtYW1ibC1vbi1jb21tb24vIiwic291cmNlcyI6WyJhbWJsLW9uLWxjdS1hbWJsLW9uLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsc0VBQWMsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xjdS5hcGknO1xuIl19

@@ -5,3 +5,5 @@ /**

*/
export { UsersStateManagerContext } from './lib/state/users/users-state-manager.context';
export { UsersState } from './lib/state/users/users-state.model';
export { LcuAmblOnModule } from './lib/lcu-ambl-on.module';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LmFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxjdS5hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLGdDQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvbGN1LWFtYmwtb24ubW9kdWxlJztcclxuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LmFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWJsLW9uL2xjdS1hbWJsLW9uLWNvbW1vbi8iLCJzb3VyY2VzIjpbImxjdS5hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLHlDQUFjLCtDQUErQyxDQUFDO0FBQzlELDJCQUFjLHFDQUFxQyxDQUFDO0FBQ3BELGdDQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvc3RhdGUvdXNlcnMvdXNlcnMtc3RhdGUtbWFuYWdlci5jb250ZXh0JztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3RhdGUvdXNlcnMvdXNlcnMtc3RhdGUubW9kZWwnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9sY3UtYW1ibC1vbi5tb2R1bGUnO1xyXG4iXX0=

@@ -7,5 +7,18 @@ /**

import { CommonModule } from '@angular/common';
import { UsersStateManagerContext } from './state/users/users-state-manager.context';
var LcuAmblOnModule = /** @class */ (function () {
function LcuAmblOnModule() {
}
/**
* @return {?}
*/
LcuAmblOnModule.forRoot = /**
* @return {?}
*/
function () {
return {
ngModule: LcuAmblOnModule,
providers: [UsersStateManagerContext]
};
};
LcuAmblOnModule.decorators = [

@@ -22,2 +35,2 @@ { type: NgModule, args: [{

export { LcuAmblOnModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGN1LWFtYmwtb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFtYmwtb24vbGN1LWFtYmwtb24tY29tbW9uLyIsInNvdXJjZXMiOlsibGliL2xjdS1hbWJsLW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFL0M7SUFBQTtJQU0rQixDQUFDOztnQkFOL0IsUUFBUSxTQUFDO29CQUNSLFlBQVksRUFBRSxFQUFFO29CQUNoQixPQUFPLEVBQUU7d0JBQ1AsWUFBWTtxQkFDYjtpQkFDRjs7SUFDOEIsc0JBQUM7Q0FBQSxBQU5oQyxJQU1nQztTQUFuQixlQUFlIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9j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IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XHJcbmltcG9ydCB7IFVzZXJzU3RhdGVNYW5hZ2VyQ29udGV4dCB9IGZyb20gJy4vc3RhdGUvdXNlcnMvdXNlcnMtc3RhdGUtbWFuYWdlci5jb250ZXh0JztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbXSxcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGVcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBMY3VBbWJsT25Nb2R1bGUge1xyXG4gIHN0YXRpYyBmb3JSb290KCk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xyXG4gICAgcmV0dXJuIHtcclxuICAgICAgbmdNb2R1bGU6IExjdUFtYmxPbk1vZHVsZSxcclxuICAgICAgcHJvdmlkZXJzOiBbVXNlcnNTdGF0ZU1hbmFnZXJDb250ZXh0XVxyXG4gICAgfTtcclxuICB9XHJcbn1cclxuIl19

@@ -1,2 +0,4 @@

import { NgModule } from '@angular/core';
import { __awaiter } from 'tslib';
import { StateManagerContext } from '@lcu-ide/common';
import { Injectable, Injector, NgModule, defineInjectable, inject, INJECTOR } from '@angular/core';
import { CommonModule } from '@angular/common';

@@ -8,3 +10,86 @@

*/
class UsersStateManagerContext extends StateManagerContext {
// Properties
// Constructors
/**
* @param {?} injector
*/
constructor(injector) {
super(injector);
this.injector = injector;
}
// API Methods
/**
* @return {?}
*/
SetActive() {
// this.state.Title = lookup
// TODO: Emit state
// this.Execute({
// Arguments: {
// Lookup: lookup,
// IsSettings: isSettings
// },
// Type: 'set-active'
// });
}
// Helpers
/**
* @protected
* @return {?}
*/
defaultValue() {
return (/** @type {?} */ ({ Loading: true }));
}
/**
* @protected
* @return {?}
*/
loadStateKey() {
return __awaiter(this, void 0, void 0, function* () {
return 'main';
});
}
/**
* @protected
* @return {?}
*/
loadStateName() {
return __awaiter(this, void 0, void 0, function* () {
return 'users ';
});
}
}
UsersStateManagerContext.decorators = [
{ type: Injectable, args: [{
providedIn: 'root'
},] }
];
/** @nocollapse */
UsersStateManagerContext.ctorParameters = () => [
{ type: Injector }
];
/** @nocollapse */ UsersStateManagerContext.ngInjectableDef = defineInjectable({ factory: function UsersStateManagerContext_Factory() { return new UsersStateManagerContext(inject(INJECTOR)); }, token: UsersStateManagerContext, providedIn: "root" });
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class UsersState {
}
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class LcuAmblOnModule {
/**
* @return {?}
*/
static forRoot() {
return {
ngModule: LcuAmblOnModule,
providers: [UsersStateManagerContext]
};
}
}

@@ -30,4 +115,4 @@ LcuAmblOnModule.decorators = [

export { LcuAmblOnModule };
export { UsersStateManagerContext, UsersState, LcuAmblOnModule };
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.js.map

@@ -1,2 +0,4 @@

import { NgModule } from '@angular/core';
import { __extends, __awaiter, __generator } from 'tslib';
import { StateManagerContext } from '@lcu-ide/common';
import { Injectable, Injector, NgModule, defineInjectable, inject, INJECTOR } from '@angular/core';
import { CommonModule } from '@angular/common';

@@ -8,5 +10,119 @@

*/
var UsersStateManagerContext = /** @class */ (function (_super) {
__extends(UsersStateManagerContext, _super);
// Properties
// Constructors
function UsersStateManagerContext(injector) {
var _this = _super.call(this, injector) || this;
_this.injector = injector;
return _this;
}
// API Methods
// API Methods
/**
* @return {?}
*/
UsersStateManagerContext.prototype.SetActive =
// API Methods
/**
* @return {?}
*/
function () {
// this.state.Title = lookup
// TODO: Emit state
// this.Execute({
// Arguments: {
// Lookup: lookup,
// IsSettings: isSettings
// },
// Type: 'set-active'
// });
};
// Helpers
// Helpers
/**
* @protected
* @return {?}
*/
UsersStateManagerContext.prototype.defaultValue =
// Helpers
/**
* @protected
* @return {?}
*/
function () {
return (/** @type {?} */ ({ Loading: true }));
};
/**
* @protected
* @return {?}
*/
UsersStateManagerContext.prototype.loadStateKey = /**
* @protected
* @return {?}
*/
function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, 'main'];
});
});
};
/**
* @protected
* @return {?}
*/
UsersStateManagerContext.prototype.loadStateName = /**
* @protected
* @return {?}
*/
function () {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, 'users '];
});
});
};
UsersStateManagerContext.decorators = [
{ type: Injectable, args: [{
providedIn: 'root'
},] }
];
/** @nocollapse */
UsersStateManagerContext.ctorParameters = function () { return [
{ type: Injector }
]; };
/** @nocollapse */ UsersStateManagerContext.ngInjectableDef = defineInjectable({ factory: function UsersStateManagerContext_Factory() { return new UsersStateManagerContext(inject(INJECTOR)); }, token: UsersStateManagerContext, providedIn: "root" });
return UsersStateManagerContext;
}(StateManagerContext));
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var UsersState = /** @class */ (function () {
function UsersState() {
}
return UsersState;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var LcuAmblOnModule = /** @class */ (function () {
function LcuAmblOnModule() {
}
/**
* @return {?}
*/
LcuAmblOnModule.forRoot = /**
* @return {?}
*/
function () {
return {
ngModule: LcuAmblOnModule,
providers: [UsersStateManagerContext]
};
};
LcuAmblOnModule.decorators = [

@@ -33,4 +149,4 @@ { type: NgModule, args: [{

export { LcuAmblOnModule };
export { UsersStateManagerContext, UsersState, LcuAmblOnModule };
//# sourceMappingURL=ambl-on-lcu-ambl-on-common.js.map

@@ -0,1 +1,3 @@

export * from './lib/state/users/users-state-manager.context';
export * from './lib/state/users/users-state.model';
export * from './lib/lcu-ambl-on.module';

@@ -0,2 +1,4 @@

import { ModuleWithProviders } from '@angular/core';
export declare class LcuAmblOnModule {
static forRoot(): ModuleWithProviders;
}
{
"name": "@ambl-on/lcu-ambl-on-common",
"version": "0.1.4",
"version": "0.1.5",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^7.2.0",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc