@orchestrator/layout
Advanced tools
Comparing version 0.1.1-next.0 to 1.0.0-next.0
@@ -8,24 +8,24 @@ (function (global, factory) { | ||
/*! ***************************************************************************** | ||
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 | ||
Copyright (c) Microsoft Corporation. | ||
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. | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | ||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | ||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */ | ||
/* global Reflect, Promise */ | ||
var extendStatics = function(d, b) { | ||
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]; }; | ||
function (d, b) { for (var p in b) | ||
if (b.hasOwnProperty(p)) | ||
d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
function __extends(d, b) { | ||
@@ -36,8 +36,9 @@ extendStatics(d, b); | ||
} | ||
var __assign = function() { | ||
var __assign = function () { | ||
__assign = Object.assign || function __assign(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; | ||
for (var p in s) | ||
if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
@@ -48,7 +49,7 @@ return t; | ||
}; | ||
function __rest(s, e) { | ||
var t = {}; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) | ||
t[p] = s[p]; | ||
for (var p in s) | ||
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) | ||
t[p] = s[p]; | ||
if (s != null && typeof Object.getOwnPropertySymbols === "function") | ||
@@ -61,23 +62,34 @@ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { | ||
} | ||
function __decorate(decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") | ||
r = Reflect.decorate(decorators, target, key, desc); | ||
else | ||
for (var i = decorators.length - 1; i >= 0; i--) | ||
if (d = decorators[i]) | ||
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
} | ||
function __param(paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
return function (target, key) { decorator(target, key, paramIndex); }; | ||
} | ||
function __metadata(metadataKey, metadataValue) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") | ||
return Reflect.metadata(metadataKey, metadataValue); | ||
} | ||
function __awaiter(thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
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 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) : adopt(result.value).then(fulfilled, rejected); } | ||
@@ -87,64 +99,123 @@ 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; | ||
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; | ||
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, _); | ||
} | ||
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 }; | ||
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 }; | ||
} | ||
} | ||
var __createBinding = Object.create ? (function (o, m, k, k2) { | ||
if (k2 === undefined) | ||
k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } }); | ||
}) : (function (o, m, k, k2) { | ||
if (k2 === undefined) | ||
k2 = k; | ||
o[k2] = m[k]; | ||
}); | ||
function __exportStar(m, exports) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
for (var p in m) | ||
if (p !== "default" && !exports.hasOwnProperty(p)) | ||
__createBinding(exports, m, p); | ||
} | ||
function __values(o) { | ||
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; | ||
if (m) return m.call(o); | ||
if (o && typeof o.length === "number") return { | ||
next: function () { | ||
if (o && i >= o.length) o = void 0; | ||
return { value: o && o[i++], done: !o }; | ||
} | ||
}; | ||
if (m) | ||
return m.call(o); | ||
if (o && typeof o.length === "number") | ||
return { | ||
next: function () { | ||
if (o && i >= o.length) | ||
o = void 0; | ||
return { value: o && o[i++], done: !o }; | ||
} | ||
}; | ||
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); | ||
} | ||
function __read(o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
if (!m) | ||
return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) | ||
ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
catch (error) { | ||
e = { error: error }; | ||
} | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
if (r && !r.done && (m = i["return"])) | ||
m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
finally { | ||
if (e) | ||
throw e.error; | ||
} | ||
} | ||
return ar; | ||
} | ||
function __spread() { | ||
@@ -155,5 +226,5 @@ for (var ar = [], i = 0; i < arguments.length; i++) | ||
} | ||
function __spreadArrays() { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) | ||
s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
@@ -163,20 +234,26 @@ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
return r; | ||
}; | ||
} | ||
; | ||
function __await(v) { | ||
return this instanceof __await ? (this.v = v, this) : new __await(v); | ||
} | ||
function __asyncGenerator(thisArg, _arguments, generator) { | ||
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); | ||
if (!Symbol.asyncIterator) | ||
throw new TypeError("Symbol.asyncIterator is not defined."); | ||
var g = generator.apply(thisArg, _arguments || []), i, q = []; | ||
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; | ||
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } | ||
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } | ||
function verb(n) { if (g[n]) | ||
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } | ||
function resume(n, v) { try { | ||
step(g[n](v)); | ||
} | ||
catch (e) { | ||
settle(q[0][3], e); | ||
} } | ||
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } | ||
function fulfill(value) { resume("next", value); } | ||
function reject(value) { resume("throw", value); } | ||
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } | ||
function settle(f, v) { if (f(v), q.shift(), q.length) | ||
resume(q[0][0], q[0][1]); } | ||
} | ||
function __asyncDelegator(o) { | ||
@@ -187,28 +264,39 @@ var i, p; | ||
} | ||
function __asyncValues(o) { | ||
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); | ||
if (!Symbol.asyncIterator) | ||
throw new TypeError("Symbol.asyncIterator is not defined."); | ||
var m = o[Symbol.asyncIterator], i; | ||
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); | ||
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } | ||
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } | ||
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); } | ||
} | ||
function __makeTemplateObject(cooked, raw) { | ||
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } | ||
if (Object.defineProperty) { | ||
Object.defineProperty(cooked, "raw", { value: raw }); | ||
} | ||
else { | ||
cooked.raw = raw; | ||
} | ||
return cooked; | ||
} | ||
; | ||
var __setModuleDefault = Object.create ? (function (o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function (o, v) { | ||
o["default"] = v; | ||
}; | ||
function __importStar(mod) { | ||
if (mod && mod.__esModule) return mod; | ||
if (mod && mod.__esModule) | ||
return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result.default = mod; | ||
if (mod != null) | ||
for (var k in mod) | ||
if (Object.hasOwnProperty.call(mod, k)) | ||
__createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
} | ||
function __importDefault(mod) { | ||
return (mod && mod.__esModule) ? mod : { default: mod }; | ||
} | ||
function __classPrivateFieldGet(receiver, privateMap) { | ||
@@ -220,3 +308,2 @@ if (!privateMap.has(receiver)) { | ||
} | ||
function __classPrivateFieldSet(receiver, privateMap, value) { | ||
@@ -238,12 +325,12 @@ if (!privateMap.has(receiver)) { | ||
} | ||
FlexAlignContentDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[orcFxAlignContent]', | ||
},] } | ||
]; | ||
FlexAlignContentDirective.propDecorators = { | ||
orcFxAlignContent: [{ type: core.Input }, { type: core.HostBinding, args: ['style.align-content',] }] | ||
}; | ||
return FlexAlignContentDirective; | ||
}()); | ||
FlexAlignContentDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[orcFxAlignContent]', | ||
},] } | ||
]; | ||
FlexAlignContentDirective.propDecorators = { | ||
orcFxAlignContent: [{ type: core.Input }, { type: core.HostBinding, args: ['style.align-content',] }] | ||
}; | ||
if (false) { | ||
@@ -262,12 +349,12 @@ /** @type {?} */ | ||
} | ||
FlexAlignItemsDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[orcFxAlignItems]', | ||
},] } | ||
]; | ||
FlexAlignItemsDirective.propDecorators = { | ||
orcFxAlignItems: [{ type: core.Input }, { type: core.HostBinding, args: ['style.align-items',] }] | ||
}; | ||
return FlexAlignItemsDirective; | ||
}()); | ||
FlexAlignItemsDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[orcFxAlignItems]', | ||
},] } | ||
]; | ||
FlexAlignItemsDirective.propDecorators = { | ||
orcFxAlignItems: [{ type: core.Input }, { type: core.HostBinding, args: ['style.align-items',] }] | ||
}; | ||
if (false) { | ||
@@ -287,12 +374,12 @@ /** @type {?} */ | ||
} | ||
FlexDirectionDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[orcFxDirection]', | ||
},] } | ||
]; | ||
FlexDirectionDirective.propDecorators = { | ||
orcFxDirection: [{ type: core.Input }, { type: core.HostBinding, args: ['style.flex-direction',] }] | ||
}; | ||
return FlexDirectionDirective; | ||
}()); | ||
FlexDirectionDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[orcFxDirection]', | ||
},] } | ||
]; | ||
FlexDirectionDirective.propDecorators = { | ||
orcFxDirection: [{ type: core.Input }, { type: core.HostBinding, args: ['style.flex-direction',] }] | ||
}; | ||
if (false) { | ||
@@ -311,12 +398,12 @@ /** @type {?} */ | ||
} | ||
FlexJustifyContentDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[orcFxJustifyContent]', | ||
},] } | ||
]; | ||
FlexJustifyContentDirective.propDecorators = { | ||
orcFxJustifyContent: [{ type: core.Input }, { type: core.HostBinding, args: ['style.justify-content',] }] | ||
}; | ||
return FlexJustifyContentDirective; | ||
}()); | ||
FlexJustifyContentDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[orcFxJustifyContent]', | ||
},] } | ||
]; | ||
FlexJustifyContentDirective.propDecorators = { | ||
orcFxJustifyContent: [{ type: core.Input }, { type: core.HostBinding, args: ['style.justify-content',] }] | ||
}; | ||
if (false) { | ||
@@ -335,12 +422,12 @@ /** @type {?} */ | ||
} | ||
FlexWrapDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[orcFxWrap]', | ||
},] } | ||
]; | ||
FlexWrapDirective.propDecorators = { | ||
orcFxWrap: [{ type: core.Input }, { type: core.HostBinding, args: ['style.flex-wrap',] }] | ||
}; | ||
return FlexWrapDirective; | ||
}()); | ||
FlexWrapDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[orcFxWrap]', | ||
},] } | ||
]; | ||
FlexWrapDirective.propDecorators = { | ||
orcFxWrap: [{ type: core.Input }, { type: core.HostBinding, args: ['style.flex-wrap',] }] | ||
}; | ||
if (false) { | ||
@@ -359,23 +446,23 @@ /** @type {?} */ | ||
} | ||
LayoutFlexModule.decorators = [ | ||
{ type: core.NgModule, args: [{ | ||
imports: [common.CommonModule], | ||
exports: [ | ||
FlexWrapDirective, | ||
FlexJustifyContentDirective, | ||
FlexDirectionDirective, | ||
FlexAlignItemsDirective, | ||
FlexAlignContentDirective, | ||
], | ||
declarations: [ | ||
FlexWrapDirective, | ||
FlexJustifyContentDirective, | ||
FlexDirectionDirective, | ||
FlexAlignItemsDirective, | ||
FlexAlignContentDirective, | ||
], | ||
},] } | ||
]; | ||
return LayoutFlexModule; | ||
}()); | ||
LayoutFlexModule.decorators = [ | ||
{ type: core.NgModule, args: [{ | ||
imports: [common.CommonModule], | ||
exports: [ | ||
FlexWrapDirective, | ||
FlexJustifyContentDirective, | ||
FlexDirectionDirective, | ||
FlexAlignItemsDirective, | ||
FlexAlignContentDirective, | ||
], | ||
declarations: [ | ||
FlexWrapDirective, | ||
FlexJustifyContentDirective, | ||
FlexDirectionDirective, | ||
FlexAlignItemsDirective, | ||
FlexAlignContentDirective, | ||
], | ||
},] } | ||
]; | ||
@@ -388,7 +475,2 @@ /** | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/layout-flat-host/layout-flat-config.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @type {?} */ | ||
@@ -404,31 +486,27 @@ var baseOptions = ['initial', 'inherit']; | ||
} | ||
LayoutFlatConfig.decorators = [ | ||
{ type: core.Injectable } | ||
]; | ||
__decorate([ | ||
core$1.OptionAllowedValues.apply(void 0, __spread(baseOptions, ['wrap', 'nowrap', 'wrap-reverse'])), | ||
__metadata("design:type", String) | ||
], LayoutFlatConfig.prototype, "wrap", void 0); | ||
__decorate([ | ||
core$1.OptionAllowedValues.apply(void 0, __spread(baseOptions, ['row', 'column'])), | ||
__metadata("design:type", String) | ||
], LayoutFlatConfig.prototype, "direction", void 0); | ||
__decorate([ | ||
core$1.OptionAllowedValues.apply(void 0, __spread(baseOptions, spacingOptions, ['space-between', | ||
'space-around', | ||
'space-evenly'])), | ||
__metadata("design:type", String) | ||
], LayoutFlatConfig.prototype, "justify", void 0); | ||
__decorate([ | ||
core$1.OptionAllowedValues.apply(void 0, __spread(baseOptions, spacingOptions, ['baseline', 'stretch'])), | ||
__metadata("design:type", String) | ||
], LayoutFlatConfig.prototype, "alignItems", void 0); | ||
__decorate([ | ||
core$1.OptionAllowedValues.apply(void 0, __spread(baseOptions, spacingOptions, ['space-between', | ||
'space-around', | ||
'stretch'])), | ||
__metadata("design:type", String) | ||
], LayoutFlatConfig.prototype, "alignContent", void 0); | ||
return LayoutFlatConfig; | ||
}()); | ||
LayoutFlatConfig.decorators = [ | ||
{ type: core.Injectable } | ||
]; | ||
__decorate([ | ||
core$1.OptionAllowedValues.apply(void 0, __spread(baseOptions, ['wrap', 'nowrap', 'wrap-reverse'])), | ||
__metadata("design:type", String) | ||
], LayoutFlatConfig.prototype, "wrap", void 0); | ||
__decorate([ | ||
core$1.OptionAllowedValues.apply(void 0, __spread(baseOptions, ['row', 'column'])), | ||
__metadata("design:type", String) | ||
], LayoutFlatConfig.prototype, "direction", void 0); | ||
__decorate([ | ||
core$1.OptionAllowedValues.apply(void 0, __spread(baseOptions, spacingOptions, ['space-between', 'space-around', 'space-evenly'])), | ||
__metadata("design:type", String) | ||
], LayoutFlatConfig.prototype, "justify", void 0); | ||
__decorate([ | ||
core$1.OptionAllowedValues.apply(void 0, __spread(baseOptions, spacingOptions, ['baseline', 'stretch'])), | ||
__metadata("design:type", String) | ||
], LayoutFlatConfig.prototype, "alignItems", void 0); | ||
__decorate([ | ||
core$1.OptionAllowedValues.apply(void 0, __spread(baseOptions, spacingOptions, ['space-between', 'space-around', 'stretch'])), | ||
__metadata("design:type", String) | ||
], LayoutFlatConfig.prototype, "alignContent", void 0); | ||
if (false) { | ||
@@ -452,28 +530,28 @@ /** @type {?} */ | ||
*/ | ||
var LayoutFlatHostComponent = /** @class */ (function () { | ||
exports.LayoutFlatHostComponent = /** @class */ (function () { | ||
function LayoutFlatHostComponent() { | ||
} | ||
LayoutFlatHostComponent.decorators = [ | ||
{ type: core.Component, args: [{ | ||
selector: 'orc-layout-flat-host', | ||
template: "<orc-layout-flat\n [items]=\"items\"\n [orcFxWrap]=\"config?.wrap\"\n [orcFxDirection]=\"config?.direction\"\n [orcFxJustifyContent]=\"config?.justify\"\n [orcFxAlignItems]=\"config?.alignItems\"\n [orcFxAlignContent]=\"config?.alignContent\"\n></orc-layout-flat>\n", | ||
changeDetection: core.ChangeDetectionStrategy.OnPush, | ||
encapsulation: core.ViewEncapsulation.None, | ||
styles: [""] | ||
}] } | ||
]; | ||
LayoutFlatHostComponent.propDecorators = { | ||
items: [{ type: core.Input }], | ||
config: [{ type: core.Input }] | ||
}; | ||
LayoutFlatHostComponent = __decorate([ | ||
core$1.DynamicComponent({ config: LayoutFlatConfig }) | ||
], LayoutFlatHostComponent); | ||
return LayoutFlatHostComponent; | ||
}()); | ||
exports.LayoutFlatHostComponent.decorators = [ | ||
{ type: core.Component, args: [{ | ||
selector: 'orc-layout-flat-host', | ||
template: "<orc-layout-flat\n [items]=\"items\"\n [orcFxWrap]=\"config?.wrap\"\n [orcFxDirection]=\"config?.direction\"\n [orcFxJustifyContent]=\"config?.justify\"\n [orcFxAlignItems]=\"config?.alignItems\"\n [orcFxAlignContent]=\"config?.alignContent\"\n></orc-layout-flat>\n", | ||
changeDetection: core.ChangeDetectionStrategy.OnPush, | ||
encapsulation: core.ViewEncapsulation.None, | ||
styles: [""] | ||
}] } | ||
]; | ||
exports.LayoutFlatHostComponent.propDecorators = { | ||
items: [{ type: core.Input }], | ||
config: [{ type: core.Input }] | ||
}; | ||
exports.LayoutFlatHostComponent = __decorate([ | ||
core$1.DynamicComponent({ config: LayoutFlatConfig }) | ||
], exports.LayoutFlatHostComponent); | ||
if (false) { | ||
/** @type {?} */ | ||
LayoutFlatHostComponent.prototype.items; | ||
exports.LayoutFlatHostComponent.prototype.items; | ||
/** @type {?} */ | ||
LayoutFlatHostComponent.prototype.config; | ||
exports.LayoutFlatHostComponent.prototype.config; | ||
} | ||
@@ -499,7 +577,3 @@ | ||
*/ | ||
LayoutFlatComponent.prototype.onComponentCreated = /** | ||
* @param {?} component | ||
* @return {?} | ||
*/ | ||
function (component) { | ||
LayoutFlatComponent.prototype.onComponentCreated = function (component) { | ||
this._itemsRendered.push(component); | ||
@@ -510,18 +584,18 @@ if (this._itemsRendered.length === this.items.length) { | ||
}; | ||
LayoutFlatComponent.decorators = [ | ||
{ type: core.Component, args: [{ | ||
selector: 'orc-layout-flat', | ||
template: "<orc-render-item\n *ngFor=\"let item of items\"\n class=\"layout-flat-orc-item\"\n [item]=\"item\"\n (componentCreated)=\"onComponentCreated($event)\"\n></orc-render-item>\n", | ||
changeDetection: core.ChangeDetectionStrategy.OnPush, | ||
encapsulation: core.ViewEncapsulation.None, | ||
styles: [".layout-flat-orc{display:flex}"] | ||
}] } | ||
]; | ||
LayoutFlatComponent.propDecorators = { | ||
items: [{ type: core.Input }], | ||
afterItemsRendered: [{ type: core.Output }], | ||
classLayoutFlat: [{ type: core.HostBinding, args: ['class.layout-flat-orc',] }] | ||
}; | ||
return LayoutFlatComponent; | ||
}()); | ||
LayoutFlatComponent.decorators = [ | ||
{ type: core.Component, args: [{ | ||
selector: 'orc-layout-flat', | ||
template: "<orc-render-item\n *ngFor=\"let item of items\"\n class=\"layout-flat-orc-item\"\n [item]=\"item\"\n (componentCreated)=\"onComponentCreated($event)\"\n></orc-render-item>\n", | ||
changeDetection: core.ChangeDetectionStrategy.OnPush, | ||
encapsulation: core.ViewEncapsulation.None, | ||
styles: [".layout-flat-orc{display:flex}"] | ||
}] } | ||
]; | ||
LayoutFlatComponent.propDecorators = { | ||
items: [{ type: core.Input }], | ||
afterItemsRendered: [{ type: core.Output }], | ||
classLayoutFlat: [{ type: core.HostBinding, args: ['class.layout-flat-orc',] }] | ||
}; | ||
if (false) { | ||
@@ -550,7 +624,2 @@ /** @type {?} */ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/layout-flat-host/layout-flat-host.module.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var LayoutFlatHostModule = /** @class */ (function () { | ||
@@ -562,9 +631,6 @@ function LayoutFlatHostModule() { | ||
*/ | ||
LayoutFlatHostModule.forRoot = /** | ||
* @return {?} | ||
*/ | ||
function () { | ||
LayoutFlatHostModule.forRoot = function () { | ||
return { | ||
ngModule: LayoutFlatHostModule, | ||
providers: __spread(core$1.OrchestratorCoreModule.registerComponents([LayoutFlatHostComponent]), [ | ||
providers: __spread(core$1.OrchestratorCoreModule.registerComponents([exports.LayoutFlatHostComponent]), [ | ||
LayoutFlatConfig, | ||
@@ -574,11 +640,11 @@ ]), | ||
}; | ||
LayoutFlatHostModule.decorators = [ | ||
{ type: core.NgModule, args: [{ | ||
imports: [common.CommonModule, core$1.OrchestratorCoreModule, LayoutFlexModule], | ||
exports: [LayoutFlatHostComponent, LayoutFlatComponent], | ||
declarations: [LayoutFlatHostComponent, LayoutFlatComponent], | ||
},] } | ||
]; | ||
return LayoutFlatHostModule; | ||
}()); | ||
LayoutFlatHostModule.decorators = [ | ||
{ type: core.NgModule, args: [{ | ||
imports: [common.CommonModule, core$1.OrchestratorCoreModule, LayoutFlexModule], | ||
exports: [exports.LayoutFlatHostComponent, LayoutFlatComponent], | ||
declarations: [exports.LayoutFlatHostComponent, LayoutFlatComponent], | ||
},] } | ||
]; | ||
@@ -591,7 +657,2 @@ /** | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/layout.module.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var LayoutModule = /** @class */ (function () { | ||
@@ -603,6 +664,3 @@ function LayoutModule() { | ||
*/ | ||
LayoutModule.forRoot = /** | ||
* @return {?} | ||
*/ | ||
function () { | ||
LayoutModule.forRoot = function () { | ||
return { | ||
@@ -613,10 +671,28 @@ ngModule: LayoutModule, | ||
}; | ||
LayoutModule.decorators = [ | ||
{ type: core.NgModule, args: [{ | ||
exports: [LayoutFlexModule, LayoutFlatHostModule], | ||
},] } | ||
]; | ||
return LayoutModule; | ||
}()); | ||
LayoutModule.decorators = [ | ||
{ type: core.NgModule, args: [{ | ||
exports: [LayoutFlexModule, LayoutFlatHostModule], | ||
},] } | ||
]; | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/components.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: public_api.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: orchestrator-layout.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
exports.FlexAlignContentDirective = FlexAlignContentDirective; | ||
@@ -629,3 +705,2 @@ exports.FlexAlignItemsDirective = FlexAlignItemsDirective; | ||
exports.LayoutFlatConfig = LayoutFlatConfig; | ||
exports.LayoutFlatHostComponent = LayoutFlatHostComponent; | ||
exports.LayoutFlatHostModule = LayoutFlatHostModule; | ||
@@ -632,0 +707,0 @@ exports.LayoutFlexModule = LayoutFlexModule; |
@@ -1,16 +0,16 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@orchestrator/core")):"function"==typeof define&&define.amd?define("@orchestrator/layout",["exports","@angular/core","@angular/common","@orchestrator/core"],t):t(((e=e||self).orchestrator=e.orchestrator||{},e.orchestrator.layout={}),e.ng.core,e.ng.common,e.orchestrator.core)}(this,(function(e,t,o,r){"use strict"; | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@orchestrator/core")):"function"==typeof define&&define.amd?define("@orchestrator/layout",["exports","@angular/core","@angular/common","@orchestrator/core"],e):e(((t=t||self).orchestrator=t.orchestrator||{},t.orchestrator.layout={}),t.ng.core,t.ng.common,t.orchestrator.core)}(this,(function(t,e,o,r){"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 | ||
Copyright (c) Microsoft Corporation. | ||
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. | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */function n(e,t,o,r){var n,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,r);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(a=(i<3?n(a):i>3?n(t,o,a):n(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a}function i(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function a(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var r,n,i=o.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return a}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e}var s=function(){function e(){}return e.decorators=[{type:t.Directive,args:[{selector:"[orcFxAlignContent]"}]}],e.propDecorators={orcFxAlignContent:[{type:t.Input},{type:t.HostBinding,args:["style.align-content"]}]},e}();var l=function(){function e(){}return e.decorators=[{type:t.Directive,args:[{selector:"[orcFxAlignItems]"}]}],e.propDecorators={orcFxAlignItems:[{type:t.Input},{type:t.HostBinding,args:["style.align-items"]}]},e}();var p=function(){function e(){this.orcFxDirection="row"}return e.decorators=[{type:t.Directive,args:[{selector:"[orcFxDirection]"}]}],e.propDecorators={orcFxDirection:[{type:t.Input},{type:t.HostBinding,args:["style.flex-direction"]}]},e}();var u=function(){function e(){}return e.decorators=[{type:t.Directive,args:[{selector:"[orcFxJustifyContent]"}]}],e.propDecorators={orcFxJustifyContent:[{type:t.Input},{type:t.HostBinding,args:["style.justify-content"]}]},e}();var f=function(){function e(){}return e.decorators=[{type:t.Directive,args:[{selector:"[orcFxWrap]"}]}],e.propDecorators={orcFxWrap:[{type:t.Input},{type:t.HostBinding,args:["style.flex-wrap"]}]},e}();var d=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule],exports:[f,u,p,l,s],declarations:[f,u,p,l,s]}]}],e}(),y=["initial","inherit"],g=["center","flex-end","flex-start"],m=function(){function e(){}return e.decorators=[{type:t.Injectable}],n([r.OptionAllowedValues.apply(void 0,c(y,["wrap","nowrap","wrap-reverse"])),i("design:type",String)],e.prototype,"wrap",void 0),n([r.OptionAllowedValues.apply(void 0,c(y,["row","column"])),i("design:type",String)],e.prototype,"direction",void 0),n([r.OptionAllowedValues.apply(void 0,c(y,g,["space-between","space-around","space-evenly"])),i("design:type",String)],e.prototype,"justify",void 0),n([r.OptionAllowedValues.apply(void 0,c(y,g,["baseline","stretch"])),i("design:type",String)],e.prototype,"alignItems",void 0),n([r.OptionAllowedValues.apply(void 0,c(y,g,["space-between","space-around","stretch"])),i("design:type",String)],e.prototype,"alignContent",void 0),e}();var v=function(){function e(){}return e.decorators=[{type:t.Component,args:[{selector:"orc-layout-flat-host",template:'<orc-layout-flat\n [items]="items"\n [orcFxWrap]="config?.wrap"\n [orcFxDirection]="config?.direction"\n [orcFxJustifyContent]="config?.justify"\n [orcFxAlignItems]="config?.alignItems"\n [orcFxAlignContent]="config?.alignContent"\n></orc-layout-flat>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,styles:[""]}]}],e.propDecorators={items:[{type:t.Input}],config:[{type:t.Input}]},e=n([r.DynamicComponent({config:m})],e)}();var h=function(){function e(){this.afterItemsRendered=new t.EventEmitter,this.classLayoutFlat=!0,this._itemsRendered=[]}return e.prototype.onComponentCreated=function(e){this._itemsRendered.push(e),this._itemsRendered.length===this.items.length&&this.afterItemsRendered.emit(this._itemsRendered)},e.decorators=[{type:t.Component,args:[{selector:"orc-layout-flat",template:'<orc-render-item\n *ngFor="let item of items"\n class="layout-flat-orc-item"\n [item]="item"\n (componentCreated)="onComponentCreated($event)"\n></orc-render-item>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,styles:[".layout-flat-orc{display:flex}"]}]}],e.propDecorators={items:[{type:t.Input}],afterItemsRendered:[{type:t.Output}],classLayoutFlat:[{type:t.HostBinding,args:["class.layout-flat-orc"]}]},e}();var x=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:c(r.OrchestratorCoreModule.registerComponents([v]),[m])}},e.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule,r.OrchestratorCoreModule,d],exports:[v,h],declarations:[v,h]}]}],e}(),F=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:c(x.forRoot().providers)}},e.decorators=[{type:t.NgModule,args:[{exports:[d,x]}]}],e}();e.FlexAlignContentDirective=s,e.FlexAlignItemsDirective=l,e.FlexDirectionDirective=p,e.FlexJustifyContentDirective=u,e.FlexWrapDirective=f,e.LayoutFlatComponent=h,e.LayoutFlatConfig=m,e.LayoutFlatHostComponent=v,e.LayoutFlatHostModule=x,e.LayoutFlexModule=d,e.LayoutModule=F,e.ɵa=d,e.ɵb=x,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | ||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | ||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */function n(t,e,o,r){var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,r);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a}function i(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}Object.create;function a(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var r,n,i=o.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){n={error:t}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return a}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t}Object.create;var s=function(){};s.decorators=[{type:e.Directive,args:[{selector:"[orcFxAlignContent]"}]}],s.propDecorators={orcFxAlignContent:[{type:e.Input},{type:e.HostBinding,args:["style.align-content"]}]};var l=function(){};l.decorators=[{type:e.Directive,args:[{selector:"[orcFxAlignItems]"}]}],l.propDecorators={orcFxAlignItems:[{type:e.Input},{type:e.HostBinding,args:["style.align-items"]}]};var p=function(){this.orcFxDirection="row"};p.decorators=[{type:e.Directive,args:[{selector:"[orcFxDirection]"}]}],p.propDecorators={orcFxDirection:[{type:e.Input},{type:e.HostBinding,args:["style.flex-direction"]}]};var u=function(){};u.decorators=[{type:e.Directive,args:[{selector:"[orcFxJustifyContent]"}]}],u.propDecorators={orcFxJustifyContent:[{type:e.Input},{type:e.HostBinding,args:["style.justify-content"]}]};var y=function(){};y.decorators=[{type:e.Directive,args:[{selector:"[orcFxWrap]"}]}],y.propDecorators={orcFxWrap:[{type:e.Input},{type:e.HostBinding,args:["style.flex-wrap"]}]};var d=function(){};d.decorators=[{type:e.NgModule,args:[{imports:[o.CommonModule],exports:[y,u,p,l,s],declarations:[y,u,p,l,s]}]}];var f=["initial","inherit"],g=["center","flex-end","flex-start"],m=function(){};m.decorators=[{type:e.Injectable}],n([r.OptionAllowedValues.apply(void 0,c(f,["wrap","nowrap","wrap-reverse"])),i("design:type",String)],m.prototype,"wrap",void 0),n([r.OptionAllowedValues.apply(void 0,c(f,["row","column"])),i("design:type",String)],m.prototype,"direction",void 0),n([r.OptionAllowedValues.apply(void 0,c(f,g,["space-between","space-around","space-evenly"])),i("design:type",String)],m.prototype,"justify",void 0),n([r.OptionAllowedValues.apply(void 0,c(f,g,["baseline","stretch"])),i("design:type",String)],m.prototype,"alignItems",void 0),n([r.OptionAllowedValues.apply(void 0,c(f,g,["space-between","space-around","stretch"])),i("design:type",String)],m.prototype,"alignContent",void 0),t.LayoutFlatHostComponent=function(){},t.LayoutFlatHostComponent.decorators=[{type:e.Component,args:[{selector:"orc-layout-flat-host",template:'<orc-layout-flat\n [items]="items"\n [orcFxWrap]="config?.wrap"\n [orcFxDirection]="config?.direction"\n [orcFxJustifyContent]="config?.justify"\n [orcFxAlignItems]="config?.alignItems"\n [orcFxAlignContent]="config?.alignContent"\n></orc-layout-flat>\n',changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,styles:[""]}]}],t.LayoutFlatHostComponent.propDecorators={items:[{type:e.Input}],config:[{type:e.Input}]},t.LayoutFlatHostComponent=n([r.DynamicComponent({config:m})],t.LayoutFlatHostComponent);var v=function(){function t(){this.afterItemsRendered=new e.EventEmitter,this.classLayoutFlat=!0,this._itemsRendered=[]}return t.prototype.onComponentCreated=function(t){this._itemsRendered.push(t),this._itemsRendered.length===this.items.length&&this.afterItemsRendered.emit(this._itemsRendered)},t}();v.decorators=[{type:e.Component,args:[{selector:"orc-layout-flat",template:'<orc-render-item\n *ngFor="let item of items"\n class="layout-flat-orc-item"\n [item]="item"\n (componentCreated)="onComponentCreated($event)"\n></orc-render-item>\n',changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,styles:[".layout-flat-orc{display:flex}"]}]}],v.propDecorators={items:[{type:e.Input}],afterItemsRendered:[{type:e.Output}],classLayoutFlat:[{type:e.HostBinding,args:["class.layout-flat-orc"]}]};var h=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:c(r.OrchestratorCoreModule.registerComponents([t.LayoutFlatHostComponent]),[m])}},e}();h.decorators=[{type:e.NgModule,args:[{imports:[o.CommonModule,r.OrchestratorCoreModule,d],exports:[t.LayoutFlatHostComponent,v],declarations:[t.LayoutFlatHostComponent,v]}]}];var F=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:c(h.forRoot().providers)}},t}();F.decorators=[{type:e.NgModule,args:[{exports:[d,h]}]}],t.FlexAlignContentDirective=s,t.FlexAlignItemsDirective=l,t.FlexDirectionDirective=p,t.FlexJustifyContentDirective=u,t.FlexWrapDirective=y,t.LayoutFlatComponent=v,t.LayoutFlatConfig=m,t.LayoutFlatHostModule=h,t.LayoutFlexModule=d,t.LayoutModule=F,t.ɵa=d,t.ɵb=h,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=orchestrator-layout.umd.min.js.map |
@@ -6,2 +6,21 @@ # Change Log | ||
# [1.0.0-next.0](https://github.com/orchestratora/orchestrator/compare/@orchestrator/layout@0.1.1-next.0...@orchestrator/layout@1.0.0-next.0) (2020-06-30) | ||
### Features | ||
* **deps:** require Angular v10 as a peer dependency ([d70f8de](https://github.com/orchestratora/orchestrator/commit/d70f8de2a2554dcdb99836ad4b912a9de0e12ea8)) | ||
* **deps:** upgrade to Angular v10 ([469d382](https://github.com/orchestratora/orchestrator/commit/469d382175067532cdb156739ff14f39c4151509)) | ||
### BREAKING CHANGES | ||
* **deps:** After the library migrated to Angular v10 - now you should use Angular v10 as a | ||
peer dependency. | ||
* **deps:** Now the library is built using Angular v10. No public API changes. | ||
## [0.1.1-next.0](https://github.com/orchestratora/orchestrator/compare/@orchestrator/layout@0.1.0...@orchestrator/layout@0.1.1-next.0) (2020-05-01) | ||
@@ -8,0 +27,0 @@ |
import { ModuleWithProviders } from '@angular/core'; | ||
export declare class LayoutFlatHostModule { | ||
static forRoot(): ModuleWithProviders; | ||
static forRoot(): ModuleWithProviders<LayoutFlatHostModule>; | ||
} |
import { ModuleWithProviders } from '@angular/core'; | ||
export declare class LayoutModule { | ||
static forRoot(): ModuleWithProviders; | ||
static forRoot(): ModuleWithProviders<LayoutModule>; | ||
} |
{ | ||
"name": "@orchestrator/layout", | ||
"version": "0.1.1-next.0", | ||
"version": "1.0.0-next.0", | ||
"publishConfig": { | ||
@@ -21,14 +21,14 @@ "access": "public" | ||
"peerDependencies": { | ||
"@angular/cdk": "^9.0.0", | ||
"@angular/common": "^9.0.0", | ||
"@angular/core": "^9.0.0", | ||
"@orchestrator/core": "^0.0.0", | ||
"tslib": "^1.0.0" | ||
"@angular/cdk": "^10.0.0", | ||
"@angular/common": "^10.0.0", | ||
"@angular/core": "^10.0.0", | ||
"@orchestrator/core": "^0.0.0" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.0.0" | ||
}, | ||
"main": "bundles/orchestrator-layout.umd.js", | ||
"module": "fesm5/orchestrator-layout.js", | ||
"module": "fesm2015/orchestrator-layout.js", | ||
"es2015": "fesm2015/orchestrator-layout.js", | ||
"esm5": "esm5/orchestrator-layout.js", | ||
"esm2015": "esm2015/orchestrator-layout.js", | ||
"fesm5": "fesm5/orchestrator-layout.js", | ||
"fesm2015": "fesm2015/orchestrator-layout.js", | ||
@@ -35,0 +35,0 @@ "typings": "orchestrator-layout.d.ts", |
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
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
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
189234
83
1528
+ Addedtslib@^2.0.0
+ Added@angular/cdk@10.2.7(transitive)
+ Added@angular/common@10.2.5(transitive)
+ Added@angular/core@10.2.5(transitive)
+ Addedtslib@2.7.0(transitive)
- Removed@angular/cdk@9.2.4(transitive)
- Removed@angular/common@9.1.13(transitive)
- Removed@angular/core@9.1.13(transitive)