UNPKG

@junte/ui

Version:

Quality Angular UI components kit

1,070 lines (971 loc) 734 kB
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations'), require('reflect-metadata'), require('@angular/common'), require('@angular/core'), require('@angular/forms'), require('ngx-logger'), require('rxjs'), require('@angular/platform-browser'), require('rxjs/operators'), require('date-fns'), require('date-fns/differenceInCalendarDays'), require('date-fns/endOfDay'), require('date-fns/endOfMonth'), require('date-fns/endOfWeek'), require('date-fns/locale'), require('date-fns/endOfYear'), require('date-fns/format'), require('date-fns/getDate'), require('date-fns/getDaysInMonth'), require('date-fns/isAfter'), require('date-fns/isBefore'), require('date-fns/isEqual'), require('date-fns/isSameMonth'), require('date-fns/isSameYear'), require('date-fns/isThisMonth'), require('date-fns/isThisYear'), require('date-fns/isToday'), require('date-fns/isWeekend'), require('date-fns/max'), require('date-fns/min'), require('date-fns/startOfDay'), require('date-fns/startOfMonth'), require('date-fns/startOfWeek'), require('date-fns/startOfYear'), require('date-fns/eachDayOfInterval'), require('@angular/common/http'), require('@ngx-translate/core'), require('@angular/router')) : typeof define === 'function' && define.amd ? define('@junte/ui', ['exports', '@angular/animations', 'reflect-metadata', '@angular/common', '@angular/core', '@angular/forms', 'ngx-logger', 'rxjs', '@angular/platform-browser', 'rxjs/operators', 'date-fns', 'date-fns/differenceInCalendarDays', 'date-fns/endOfDay', 'date-fns/endOfMonth', 'date-fns/endOfWeek', 'date-fns/locale', 'date-fns/endOfYear', 'date-fns/format', 'date-fns/getDate', 'date-fns/getDaysInMonth', 'date-fns/isAfter', 'date-fns/isBefore', 'date-fns/isEqual', 'date-fns/isSameMonth', 'date-fns/isSameYear', 'date-fns/isThisMonth', 'date-fns/isThisYear', 'date-fns/isToday', 'date-fns/isWeekend', 'date-fns/max', 'date-fns/min', 'date-fns/startOfDay', 'date-fns/startOfMonth', 'date-fns/startOfWeek', 'date-fns/startOfYear', 'date-fns/eachDayOfInterval', '@angular/common/http', '@ngx-translate/core', '@angular/router'], factory) : (global = global || self, factory((global.junte = global.junte || {}, global.junte.ui = {}), global.ng.animations, null, global.ng.common, global.ng.core, global.ng.forms, global['ngx-logger'], global.rxjs, global.ng.platformBrowser, global.rxjs.operators, global['date-fns'], global.differenceInCalendarDays, global.endOfDay, global.endOfMonth, global.endOfWeek, global['date-fns/locale'], global.endOfYear, global.format$1, global.getDate, global.getDaysInMonth, global.isAfter, global.isBefore, global.isEqual$2, global.isSameMonth, global.isSameYear, global.isThisMonth, global.isThisYear, global.isToday, global.isWeekend, global.max$1, global.min$1, global.startOfDay, global.startOfMonth, global.startOfWeek, global.startOfYear, global.eachDayOfInterval, global.ng.common.http, global['@ngx-translate/core'], global.ng.router)); }(this, (function (exports, animations, reflectMetadata, common, core, forms, ngxLogger, rxjs, platformBrowser, operators, dateFns, differenceInCalendarDays, endOfDay, endOfMonth, endOfWeek, locale, endOfYear, format$1, getDate, getDaysInMonth, isAfter, isBefore, isEqual$2, isSameMonth, isSameYear, isThisMonth, isThisYear, isToday, isWeekend, max$1, min$1, startOfDay, startOfMonth, startOfWeek, startOfYear, eachDayOfInterval, http, core$1, router) { 'use strict'; differenceInCalendarDays = differenceInCalendarDays && differenceInCalendarDays.hasOwnProperty('default') ? differenceInCalendarDays['default'] : differenceInCalendarDays; endOfDay = endOfDay && endOfDay.hasOwnProperty('default') ? endOfDay['default'] : endOfDay; endOfMonth = endOfMonth && endOfMonth.hasOwnProperty('default') ? endOfMonth['default'] : endOfMonth; endOfWeek = endOfWeek && endOfWeek.hasOwnProperty('default') ? endOfWeek['default'] : endOfWeek; endOfYear = endOfYear && endOfYear.hasOwnProperty('default') ? endOfYear['default'] : endOfYear; format$1 = format$1 && format$1.hasOwnProperty('default') ? format$1['default'] : format$1; getDate = getDate && getDate.hasOwnProperty('default') ? getDate['default'] : getDate; getDaysInMonth = getDaysInMonth && getDaysInMonth.hasOwnProperty('default') ? getDaysInMonth['default'] : getDaysInMonth; isAfter = isAfter && isAfter.hasOwnProperty('default') ? isAfter['default'] : isAfter; isBefore = isBefore && isBefore.hasOwnProperty('default') ? isBefore['default'] : isBefore; isEqual$2 = isEqual$2 && isEqual$2.hasOwnProperty('default') ? isEqual$2['default'] : isEqual$2; isSameMonth = isSameMonth && isSameMonth.hasOwnProperty('default') ? isSameMonth['default'] : isSameMonth; isSameYear = isSameYear && isSameYear.hasOwnProperty('default') ? isSameYear['default'] : isSameYear; isThisMonth = isThisMonth && isThisMonth.hasOwnProperty('default') ? isThisMonth['default'] : isThisMonth; isThisYear = isThisYear && isThisYear.hasOwnProperty('default') ? isThisYear['default'] : isThisYear; isToday = isToday && isToday.hasOwnProperty('default') ? isToday['default'] : isToday; isWeekend = isWeekend && isWeekend.hasOwnProperty('default') ? isWeekend['default'] : isWeekend; max$1 = max$1 && max$1.hasOwnProperty('default') ? max$1['default'] : max$1; min$1 = min$1 && min$1.hasOwnProperty('default') ? min$1['default'] : min$1; startOfDay = startOfDay && startOfDay.hasOwnProperty('default') ? startOfDay['default'] : startOfDay; startOfMonth = startOfMonth && startOfMonth.hasOwnProperty('default') ? startOfMonth['default'] : startOfMonth; startOfWeek = startOfWeek && startOfWeek.hasOwnProperty('default') ? startOfWeek['default'] : startOfWeek; startOfYear = startOfYear && startOfYear.hasOwnProperty('default') ? startOfYear['default'] : startOfYear; eachDayOfInterval = eachDayOfInterval && eachDayOfInterval.hasOwnProperty('default') ? eachDayOfInterval['default'] : eachDayOfInterval; /*! ***************************************************************************** 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 __()); } 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]; } return t; }; return __assign.apply(this, arguments); }; 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]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; } return t; } 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; return c > 3 && r && Object.defineProperty(target, key, r), r; } function __param(paramIndex, decorator) { 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); } 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 step(result) { result.done ? resolve(result.value) : adopt(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 }; } } function __exportStar(m, exports) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = 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 }; } }; 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; var i = m.call(o), r, ar = [], e; try { while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); } catch (error) { e = { error: error }; } finally { try { if (r && !r.done && (m = i["return"])) m.call(i); } finally { if (e) throw e.error; } } return ar; } function __spread() { for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); return ar; } function __spreadArrays() { 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++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j]; 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."); 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 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 __asyncDelegator(o) { var i, p; return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; 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; } } function __asyncValues(o) { 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 __makeTemplateObject(cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; }; function __importStar(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; return result; } function __importDefault(mod) { return (mod && mod.__esModule) ? mod : { default: mod }; } function __classPrivateFieldGet(receiver, privateMap) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return privateMap.get(receiver); } function __classPrivateFieldSet(receiver, privateMap, value) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to set private field on non-instance"); } privateMap.set(receiver, value); return value; } var moveFromRightKeyframes = animations.keyframes([ animations.style({ transform: 'translateX(100%)', offset: 0, 'z-index': '10' }), animations.style({ transform: 'translateX(0%)', offset: 1 }) ]); var moveToLeftKeyframes = animations.keyframes([ animations.style({ transform: 'translateX(0%)', offset: 0 }), animations.style({ transform: 'translateX(-100%)', opacity: '0', offset: 1 }) ]); var sharedStyles = { position: 'fixed', overflow: 'hidden', backfaceVisibility: 'hidden', transformStyle: 'preserve-3d', }; var noneAnimation = [ animations.transition('void => *', [ //denies any animation for init state ]), animations.transition('false => *', [ //denies any animation from 'false' state ]), animations.transition('* => false', [ //denies any animation from 'false' state ]), ]; var moveFromRight = animations.trigger('moveFromRight', __spread(noneAnimation, [ animations.transition('* => *', [ animations.query(':enter, :leave', animations.style(sharedStyles), { optional: true }), animations.group([ animations.query(':enter', [ animations.animate('{{enterTiming}}s {{enterDelay}}s ease', moveFromRightKeyframes) ], { optional: true }), animations.query(':leave', [ animations.animate('{{leaveTiming}}s {{leaveDelay}}s ease', moveToLeftKeyframes) ], { optional: true }), ]), animations.query(':enter, :leave', animations.animateChild(), { optional: true }), ], { params: { enterTiming: '10', leaveTiming: '10', enterDelay: '0', leaveDelay: '0' } }) ])); var i18nEn = { label: { metrics: 'Metrics', search: 'Search', dark: 'Dark', light: 'Light', }, action: { reload: 'Reload', hide_sidebar: 'Hide sidebar', ok: 'Ok', cancel: 'Cancel', select_all: 'Select all' } }; var i18nRu = { label: { metrics: 'Метрики', search: 'Поиск', dark: 'Темная', light: 'Светлая', }, action: { reload: 'Обновить', hide_sidebar: 'Скрыть панель', ok: 'Ок', cancel: 'Отмена', select_all: 'Выбрать все' } }; var localeEnUs = { masks: { date: '__/__/____', time: '__:__', datetime: '__/__/____, __:__' } }; var localeRu = { masks: { date: '__.__.____', time: '__:__', datetime: '__.__.____, __:__' } }; (function (Context) { Context["block"] = "block"; Context["modal"] = "modal"; Context["text"] = "text"; Context["box"] = "box"; })(exports["ɵbs"] || (exports["ɵbs"] = {})); (function (GanttTypes) { GanttTypes["month"] = "month"; GanttTypes["year"] = "year"; })(exports.GanttTypes || (exports.GanttTypes = {})); (function (ButtonType) { ButtonType["button"] = "button"; ButtonType["submit"] = "submit"; })(exports["ɵw"] || (exports["ɵw"] = {})); (function (DatePickerType) { DatePickerType["date"] = "date"; DatePickerType["time"] = "time"; DatePickerType["dateTime"] = "dateTime"; })(exports["ɵdc"] || (exports["ɵdc"] = {})); (function (InputType) { InputType["text"] = "text"; InputType["password"] = "password"; InputType["number"] = "number"; InputType["email"] = "email"; })(exports["ɵba"] || (exports["ɵba"] = {})); (function (InputScheme) { InputScheme["normal"] = "normal"; InputScheme["failed"] = "failed"; InputScheme["success"] = "success"; })(exports["ɵbb"] || (exports["ɵbb"] = {})); (function (InputAutocomplete) { InputAutocomplete["on"] = "on"; InputAutocomplete["off"] = "off"; })(exports["ɵbc"] || (exports["ɵbc"] = {})); (function (SelectMode) { SelectMode["single"] = "single"; SelectMode["multiple"] = "multiple"; })(exports["ɵbf"] || (exports["ɵbf"] = {})); (function (SkeletonType) { SkeletonType["avatar"] = "avatar"; SkeletonType["text"] = "text"; SkeletonType["image"] = "image"; SkeletonType["card"] = "card"; })(exports["ɵbi"] || (exports["ɵbi"] = {})); (function (LinkTarget) { LinkTarget["self"] = "self"; LinkTarget["blank"] = "blank"; LinkTarget["parent"] = "parent"; LinkTarget["top"] = "top"; })(exports["ɵbq"] || (exports["ɵbq"] = {})); (function (PagerMode) { PagerMode["page"] = "page"; PagerMode["offset"] = "offset"; })(exports["ɵbw"] || (exports["ɵbw"] = {})); var Behaviour; (function (Behaviour) { Behaviour["dropdown"] = "dropdown"; })(Behaviour || (Behaviour = {})); (function (Breakpoint) { Breakpoint["mobile"] = "mobile"; Breakpoint["tablet"] = "tablet"; Breakpoint["desktop"] = "desktop"; Breakpoint["wide"] = "wide"; })(exports.Breakpoint || (exports.Breakpoint = {})); var Color; (function (Color) { Color["white"] = "#FFFFFF"; Color["black"] = "#000000"; Color["blue"] = "#E7F5FF"; Color["blue100"] = "#E6E9FA"; Color["orange"] = "#EE8030"; Color["green"] = "#00CCB1"; Color["greenDark"] = "#00B89F"; Color["teal"] = "#1D2932"; Color["red"] = "#FF6262"; Color["redDark"] = "#DE5B5B"; Color["yellow"] = "#F8DB42"; Color["purple"] = "#3949AB"; Color["purpleDark"] = "#00227B"; Color["purpleLight"] = "#6F74DD"; Color["purpleLighten"] = "#C4C9E7"; Color["gray"] = "#C4C4C4"; Color["gray100"] = "#F5F5F5"; Color["gray200"] = "#F7F7F7"; Color["gray300"] = "#F0F0F0"; Color["gray400"] = "#E9E9E9"; Color["paleNavy"] = "#F3F4FC"; Color["gray600"] = "#C4C4C4"; Color["gray700"] = "#D0D0D0"; Color["gray800"] = "#828282"; Color["gray900"] = "#4F4F4F"; Color["grayDark"] = "#343434"; })(Color || (Color = {})); (function (Feature) { Feature["adapted"] = "adapted"; Feature["clickable"] = "clickable"; Feature["badge"] = "badge"; Feature["dropdown"] = "dropdown"; Feature["selectAll"] = "selectAll"; Feature["allowEmpty"] = "allowEmpty"; Feature["search"] = "search"; Feature["smarty"] = "smarty"; Feature["reload"] = "reload"; Feature["multiplex"] = "multiplex"; Feature["today"] = "today"; Feature["marks"] = "marks"; Feature["multiline"] = "multiline"; Feature["pulse"] = "pulse"; })(exports["ɵx"] || (exports["ɵx"] = {})); (function (Fit) { Fit["width"] = "width"; Fit["height"] = "height"; })(exports["ɵbx"] || (exports["ɵbx"] = {})); (function (FlexAlign) { FlexAlign["start"] = "start"; FlexAlign["center"] = "center"; FlexAlign["end"] = "end"; FlexAlign["baseline"] = "baseline"; FlexAlign["stretch"] = "stretch"; })(exports["ɵp"] || (exports["ɵp"] = {})); (function (FlexJustify) { FlexJustify["start"] = "start"; FlexJustify["center"] = "center"; FlexJustify["end"] = "end"; FlexJustify["between"] = "between"; FlexJustify["around"] = "around"; FlexJustify["evenly"] = "evenly"; })(exports["ɵq"] || (exports["ɵq"] = {})); var FlexDirection; (function (FlexDirection) { FlexDirection["row"] = "row"; FlexDirection["column"] = "column"; FlexDirection["rowReverse"] = "rowReverse"; FlexDirection["columnReverse"] = "columnReverse"; })(FlexDirection || (FlexDirection = {})); (function (FlexWrap) { FlexWrap["wrap"] = "wrap"; FlexWrap["noWrap"] = "nowrap"; FlexWrap["reverse"] = "reverse"; })(exports["ɵr"] || (exports["ɵr"] = {})); var FlexAlignContent; (function (FlexAlignContent) { FlexAlignContent["start"] = "start"; FlexAlignContent["center"] = "center"; FlexAlignContent["end"] = "end"; FlexAlignContent["between"] = "between"; FlexAlignContent["around"] = "around"; FlexAlignContent["evenly"] = "evenly"; FlexAlignContent["stretch"] = "stretch"; })(FlexAlignContent || (FlexAlignContent = {})); var FlexAlignSelf; (function (FlexAlignSelf) { FlexAlignSelf["start"] = "start"; FlexAlignSelf["center"] = "center"; FlexAlignSelf["end"] = "end"; FlexAlignSelf["stretch"] = "stretch"; FlexAlignSelf["baseline"] = "baseline"; FlexAlignSelf["auto"] = "auto"; })(FlexAlignSelf || (FlexAlignSelf = {})); (function (Gutter) { Gutter["none"] = "none"; Gutter["tiny"] = "tiny"; Gutter["small"] = "small"; Gutter["normal"] = "normal"; Gutter["big"] = "big"; Gutter["large"] = "large"; Gutter["huge"] = "huge"; })(exports["ɵo"] || (exports["ɵo"] = {})); (function (Height) { Height["screen"] = "screen"; Height["default"] = "default"; Height["fluid"] = "fluid"; })(exports["ɵbo"] || (exports["ɵbo"] = {})); var icons = { power: 'power:svg:default:main|stroked', dashboard: 'dashboard:svg:default:main|stroked|other', settings: 'settings:svg:default:main|stroked|other', calendar: 'calendar:svg:default:other|stroked', compass: 'compass:svg:default:other|stroked', map: 'map:svg:default:other|stroked', money: 'money:svg:default:other|stroked', solar: 'solar:svg:default:other|stroked', moon: 'moon:svg:default:other|stroked', poop: 'poop:svg:default:other|stroked', knowledge: 'knowledge:svg:default:other|stroked', // access lock: 'lock:svg:default:main|stroked', unlock: 'unlock:svg:default:main|stroked', // states checked: 'checked:svg:default:main|stroked', // actions actions: 'actions:svg:default:main|filled', add: 'add:svg:default:main|stroked', edit: 'edit:svg:default:main|stroked', save: 'save:svg:default:main|stroked', delete: 'delete:svg:default:main|stroked', copy: 'copy:svg:default:main|stroked', cancel: 'cancel:svg:default:main|stroked', reload: 'reload:svg:default:main|stroked', cut: 'cut:svg:default:main|stroked', move: 'move:svg:default:main|stroked', close: 'close:svg:default:main|stroked', closeSmall: 'close-small:svg:default:main|stroked', expand: 'expand:svg:default:main|stroked', print: 'print:svg:default:main|stroked', filter: 'filter:svg:default:main|stroked', create: 'create:svg:default:main|stroked', smallUp: 'small-up:svg:default:main|stroked', smallDown: 'small-down:svg:default:main|stroked', send: 'send:svg:default:main|stroked', today: 'today:svg:default:main|filled', // navigation search: 'search:svg:default:main|stroked', menu: 'menu:svg:default:main|stroked', home: 'home:svg:default:main|stroked', more: 'more:svg:default:main|stroked', // information information: 'information:svg:default:main|stroked', question: 'question:svg:default:main|stroked', warning: 'warning:svg:default:main|stroked', stop: 'stop:svg:default:main|stroked', time: 'time:svg:default:main|stroked', help: 'help:svg:default:main|stroked', // media image: 'image:svg:default:other|stroked', camera: 'camera:svg:default:other|stroked', // rewind first: 'first:svg:default:other|stroked', last: 'last:svg:default:other|stroked', pause: 'pause:svg:default:other|stroked', play: 'play:svg:default:other|stroked', // internet signin: 'signin:svg:default:other|stroked', signout: 'signout:svg:default:other|stroked', link: 'link:svg:default:other|stroked', email: 'email:svg:default:other|stroked', anchor: 'anchor:svg:default:other|stroked', download: 'download:svg:default:other|stroked', cloud: 'cloud:svg:default:other|stroked', sync: 'sync:svg:default:other|stroked', sorting: 'sorting:svg:default:other|stroked', view: 'view:svg:default:other|stroked', viewHide: 'view-hide:svg:default:other|stroked', bubble: 'bubble:svg:default:other|stroked', selectClose: 'select-close:svg:default:other|stroked', selectOpen: 'select-open:svg:default:other|stroked', // programming code: 'code:svg:default:other|stroked', bug: 'bug:svg:default:other|stroked', // social like: 'like:svg:default:other|stroked', dislike: 'dislike:svg:default:other|stroked', profile: 'profile:svg:default:other|stroked', bell: 'bell:svg:default:other|stroked', team: 'team:svg:default:other|stroked', user: 'user:svg:default:other|stroked', messages: 'messages:svg:default:other|stroked', // chevron doubleChevronLeft: 'chevron-double-left:svg:default:controls|stroked', doubleChevronRight: 'chevron-double-right:svg:default:controls|stroked', chevronDown: 'chevron-down:svg:default:controls|stroked', chevronLeft: 'chevron-left:svg:default:controls|stroked', chevronRight: 'chevron-right:svg:default:controls|stroked', chevronUp: 'chevron-up:svg:default:controls|stroked', // arrow arrowUp: 'arrow-up:svg:default:controls|stroked', arrowDown: 'arrow-down:svg:default:controls|stroked', arrowLeft: 'arrow-left:svg:default:controls|stroked', arrowRight: 'arrow-right:svg:default:controls|stroked', // emoji evil: 'evil:svg:emoji:emoji|filled', laughter: 'laughter:svg:emoji:emoji|filled', sad: 'sad:svg:emoji:emoji|filled', shocked: 'shocked:svg:emoji:emoji|filled', skull: 'skull:svg:emoji:emoji|filled', smile: 'smile:svg:emoji:emoji|filled', wink: 'evil:svg:emoji:emoji|filled', neutral: 'neutral:svg:emoji:emoji|filled', // controls checkboxUnchecked: 'checkbox-unchecked:svg:default:controls|filled', checkboxChecked: 'checkbox-checked:svg:default:controls|filled', radioUnchecked: 'radio-unchecked:svg:default:controls|filled', radioChecked: 'radio-checked:svg:default:controls|filled', // countries abkhazia: 'abkhazia:svg:countries:flags', afghanistan: 'afghanistan:svg:countries:flags', alandIslands: 'aland-islands:svg:countries:flags', albania: 'albania:svg:countries:flags', algeria: 'algeria:svg:countries:flags', americanSamoa: 'american-samoa:svg:countries:flags', andorra: 'andorra:svg:countries:flags', angola: 'angola:svg:countries:flags', anguilla: 'anguilla:svg:countries:flags', antiguaAndBarbuda: 'antigua-and-barbuda:svg:countries:flags', argentina: 'argentina:svg:countries:flags', armenia: 'armenia:svg:countries:flags', aruba: 'aruba:svg:countries:flags', australia: 'australia:svg:countries:flags', austria: 'austria:svg:countries:flags', azerbaijan: 'azerbaijan:svg:countries:flags', azoresIslands: 'azores-islands:svg:countries:flags', bahamas: 'bahamas:svg:countries:flags', bahrain: 'bahrain:svg:countries:flags', balearicIslands: 'balearic-islands:svg:countries:flags', bangladesh: 'bangladesh:svg:countries:flags', barbados: 'barbados:svg:countries:flags', basqueCountry: 'basque-country:svg:countries:flags', belarus: 'belarus:svg:countries:flags', belgium: 'belgium:svg:countries:flags', belize: 'belize:svg:countries:flags', benin: 'benin:svg:countries:flags', bermuda: 'bermuda:svg:countries:flags', bhutan: 'bhutan:svg:countries:flags', bolivia: 'bolivia:svg:countries:flags', bonaire: 'bonaire:svg:countries:flags', bosniaAndHerzegovina: 'bosnia-and-herzegovina:svg:countries:flags', botswana: 'botswana:svg:countries:flags', brazil: 'brazil:svg:countries:flags', britishColumbia: 'british-columbia:svg:countries:flags', britishIndianOceanTerritory: 'british-indian-ocean-territory:svg:countries:flags', britishVirginIslands: 'british-virgin-islands:svg:countries:flags', brunei: 'brunei:svg:countries:flags', bulgaria: 'bulgaria:svg:countries:flags', burkinaFaso: 'burkina-faso:svg:countries:flags', burundi: 'burundi:svg:countries:flags', cambodia: 'cambodia:svg:countries:flags', cameroon: 'cameroon:svg:countries:flags', canada: 'canada:svg:countries:flags', canaryIslands: 'canary-islands:svg:countries:flags', capeVerde: 'cape-verde:svg:countries:flags', caymanIslands: 'cayman-islands:svg:countries:flags', centralAfricanRepublic: 'central-african-republic:svg:countries:flags', ceuta: 'ceuta:svg:countries:flags', chad: 'chad:svg:countries:flags', chile: 'chile:svg:countries:flags', china: 'china:svg:countries:flags', christmasIsland: 'christmas-island:svg:countries:flags', cocosIsland: 'cocos-island:svg:countries:flags', colombia: 'colombia:svg:countries:flags', comoros: 'comoros:svg:countries:flags', cookIslands: 'cook-islands:svg:countries:flags', corsica: 'corsica:svg:countries:flags', costaRica: 'costa-rica:svg:countries:flags', croatia: 'croatia:svg:countries:flags', cuba: 'cuba:svg:countries:flags', curacao: 'curacao:svg:countries:flags', cyprus: 'cyprus:svg:countries:flags', czechRepublic: 'czech-republic:svg:countries:flags', democraticRepublicOfCongo: 'democratic-republic-of-congo:svg:countries:flags', denmark: 'denmark:svg:countries:flags', djibouti: 'djibouti:svg:countries:flags', dominica: 'dominica:svg:countries:flags', dominicanRepublic: 'dominican-republic:svg:countries:flags', eastTimor: 'east-timor:svg:countries:flags', ecuador: 'ecuador:svg:countries:flags', egypt: 'egypt:svg:countries:flags', elSalvador: 'el-salvador:svg:countries:flags', england: 'england:svg:countries:flags', equatorialQuinea: 'equatorial-guinea:svg:countries:flags', eritrea: 'eritrea:svg:countries:flags', ersey: 'ersey:svg:countries:flags', estonia: 'estonia:svg:countries:flags', ethiopia: 'ethiopia:svg:countries:flags', europeanUnion: 'european-union:svg:countries:flags', falklandIslands: 'falkland-islands:svg:countries:flags', faroeIslands: 'faroe-islands:svg:countries:flags', fiji: 'fiji:svg:countries:flags', finland: 'finland:svg:countries:flags', france: 'france:svg:countries:flags', frenchPolynesia: 'french-polynesia:svg:countries:flags', gabon: 'gabon:svg:countries:flags', galapagosIslands: 'galapagos-islands:svg:countries:flags', gambia: 'gambia:svg:countries:flags', georgia: 'georgia:svg:countries:flags', germany: 'germany:svg:countries:flags', ghana: 'ghana:svg:countries:flags', gibraltar: 'gibraltar:svg:countries:flags', greece: 'greece:svg:countries:flags', greenland: 'greenland:svg:countries:flags', grenada: 'grenada:svg:countries:flags', guam: 'guam:svg:countries:flags', guatemala: 'guatemala:svg:countries:flags', guernsey: 'guernsey:svg:countries:flags', guinea: 'guinea:svg:countries:flags', guineaBissau: 'guinea-bissau:svg:countries:flags', haiti: 'haiti:svg:countries:flags', hawaii: 'hawaii:svg:countries:flags', honduras: 'honduras:svg:countries:flags', hongKong: 'hong-kong:svg:countries:flags', hungary: 'hungary:svg:countries:flags', iceland: 'iceland:svg:countries:flags', india: 'india:svg:countries:flags', indonesia: 'indonesia:svg:countries:flags', iran: 'iran:svg:countries:flags', iraq: 'iraq:svg:countries:flags', ireland: 'ireland:svg:countries:flags', isleOfMan: 'isle-of-man:svg:countries:flags', israel: 'israel:svg:countries:flags', italy: 'italy:svg:countries:flags', ivoryCoast: 'ivory-coast:svg:countries:flags', jamaica: 'jamaica:svg:countries:flags', japan: 'japan:svg:countries:flags', jordan: 'jordan:svg:countries:flags', kazakhstan: 'kazakhstan:svg:countries:flags', kenya: 'kenya:svg:countries:flags', kosovo: 'kosovo:svg:countries:flags', kuwait: 'kuwait:svg:countries:flags', kyrgyzstan: 'kyrgyzstan:svg:countries:flags', laos: 'laos:svg:countries:flags', latvia: 'latvia:svg:countries:flags', lebanon: 'lebanon:svg:countries:flags', lesotho: 'lesotho:svg:countries:flags', liberia: 'liberia:svg:countries:flags', libya: 'libya:svg:countries:flags', liechtenstein: 'liechtenstein:svg:countries:flags', lithuania: 'lithuania:svg:countries:flags', luxembourg: 'luxembourg:svg:countries:flags', macao: 'macao:svg:countries:flags', madagascar: 'madagascar:svg:countries:flags', madeira: 'madeira:svg:countries:flags', malawi: 'malawi:svg:countries:flags', malaysia: 'malaysia:svg:countries:flags', maldives: 'maldives:svg:countries:flags', mali: 'mali:svg:countries:flags', malta: 'malta:svg:countries:flags', marshallIsland: 'marshall-island:svg:countries:flags', martinique: 'martinique:svg:countries:flags', mauritania: 'mauritania:svg:countries:flags', mauritius: 'mauritius:svg:countries:flags', melilla: 'melilla:svg:countries:flags', mexico: 'mexico:svg:countries:flags', micronesia: 'micronesia:svg:countries:flags', moldova: 'moldova:svg:countries:flags', monaco: 'monaco:svg:countries:flags', mongolia: 'mongolia:svg:countries:flags', montenegro: 'montenegro:svg:countries:flags', montserrat: 'montserrat:svg:countries:flags', morocco: 'morocco:svg:countries:flags', mozambique: 'mozambique:svg:countries:flags', myanmar: 'myanmar:svg:countries:flags', namibia: 'namibia:svg:countries:flags', nauru: 'nauru:svg:countries:flags', nepal: 'nepal:svg:countries:flags', netherlands: 'netherlands:svg:countries:flags', newZealand: 'new-zealand:svg:countries:flags', nicaragua: 'nicaragua:svg:countries:flags', niger: 'niger:svg:countries:flags', nigeria: 'nigeria:svg:countries:flags', niue: 'niue:svg:countries:flags', norfolkIsland: 'norfolk-island:svg:countries:flags', northKorea: 'north-korea:svg:countries:flags', northenCyprus: 'northen-cyprus:svg:countries:flags', northernMarianasIslands: 'northern-marianas-islands:svg:countries:flags', norway: 'norway:svg:countries:flags', oman: 'oman:svg:countries:flags', orkneyIslands: 'orkney-islands:svg:countries:flags', ossetia: 'ossetia:svg:countries:flags', otan: 'otan:svg:countries:flags', pakistan: 'pakistan:svg:countries:flags', palau: 'palau:svg:countries:flags', palestine: 'palestine:svg:countries:flags', panama: 'panama:svg:countries:flags', papuaNewGuinea: 'papua-new-guinea:svg:countries:flags', paraguay: 'paraguay:svg:countries:flags', peru: 'peru:svg:countries:flags', philippines: 'philippines:svg:countries:flags', pitcairnIslands: 'pitcairn-islands:svg:countries:flags', poland: 'poland:svg:countries:flags', portugal: 'portugal:svg:countries:flags', puertoRico: 'puerto-rico:svg:countries:flags', qatar: 'qatar:svg:countries:flags', rapaNui: 'rapa-nui:svg:countries:flags', republicOfMacedonia: 'republic-of-macedonia:svg:countries:flags', republicOfTheCongo: 'republic-of-the-congo:svg:countries:flags', romania: 'romania:svg:countries:flags', russia: 'russia:svg:countries:flags', rwanda: 'rwanda:svg:countries:flags', sabaIsland: 'saba-island:svg:countries:flags', sahrawiArabDemocraticRepublic: 'sahrawi-arab-democratic-republic:svg:countries:flags', saintKittsAndNevis: 'saint-kitts-and-nevis:svg:countries:flags', samoa: 'samoa:svg:countries:flags', sanMarino: 'san-marino:svg:countries:flags', saoTomeAndPrincipe: 'sao-tome-and-principe:svg:countries:flags', sardinia: 'sardinia:svg:countries:flags', saudiArabia: 'saudi-arabia:svg:countries:flags', scotland: 'scotland:svg:countries:flags', senegal: 'senegal:svg:countries:flags', serbia: 'serbia:svg:countries:flags', seychelles: 'seychelles:svg:countries:flags', sicily: 'sicily:svg:countries:flags', sierraLeone: 'sierra-leone:svg:countries:flags', singapore: 'singapore:svg:countries:flags', sintEustatius: 'sint-eustatius:svg:countries:flags', sintMaarten: 'sint-maarten:svg:countries:flags', slovakia: 'slovakia:svg:countries:flags', slovenia: 'slovenia:svg:countries:flags', solomonIslands: 'solomon-islands:svg:countries:flags', somalia: 'somalia:svg:countries:flags', somaliland: 'somaliland:svg:countries:flags', southAfrica: 'south-africa:svg:countries:flags', southKorea: 'south-korea:svg:countries:flags', southSudan: 'south-sudan:svg:countries:flags', spain: 'spain:svg:countries:flags', sriLanka: 'sri-lanka:svg:countries:flags', stBarts: 'st-barts:svg:countries:flags', stLucia: 'st-lucia:svg:countries:flags', stVincentAndTheGrenadines: 'st-vincent-and-the-grenadines:svg:countries:flags', sudan: 'sudan:svg:countries:flags', suriname: 'suriname:svg:countries:flags', sweden: 'sweden:svg:countries:flags', switzerland: 'switzerland:svg:countries:flags', syria: 'syria:svg:countries:flags', taiwan: 'taiwan:svg:countries:flags', tajikistan: 'tajikistan:svg:countries:flags', tanzania: 'tanzania:svg:countries:flags', thailand: 'thailand:svg:countries:flags', tibet: 'tibet:svg:countries:flags', togo: 'togo:svg:countries:flags', tokelau: 'tokelau:svg:countries:flags', tonga: 'tonga:svg:countries:flags', transnistria: 'transnistria:svg:countries:flags', trinidadAndTobago: 'trinidad-and-tobago:svg:countries:flags', tubalu: 'tubalu:svg:countries:flags', tunisia: 'tunisia:svg:countries:flags', turkey: 'turkey:svg:countries:flags', turkmenistan: 'turkmenistan:svg:countries:flags', turksAndCaicos: 'turks-and-caicos:svg:countries:flags', ukraine: 'ukraine:svg:countries:flags', uganda: 'uganda:svg:countries:flags', unitedArabEmirates: 'united-arab-emirates:svg:countries:flags', unitedKingdom: 'united-kingdom:svg:countries:flags', unitedNations: 'united-nations:svg:countries:flags', unitedStatesOfAmerica: 'united-states-of-america:svg:countries:flags', uruguay: 'uruguay:svg:countries:flags', uzbekistn: 'uzbekistn:svg:countries:flags', vanuatu: 'vanuatu:svg:countries:flags', vaticanCity: 'vatican-city:svg:countries:flags', venezuela: 'venezuela:svg:countries:flags', vietnam: 'vietnam:svg:countries:flags', virginIslands: 'virgin-islands:svg:countries:flags', wales: 'wales:svg:countries:flags', yemen: 'yemen:svg:countries:flags', zambia: 'zambia:svg:countries:flags', zimbabwe: 'zimbabwe:svg:countries:flags', rocket: 'rocket:svg:default:stroked', // apps arnold: 'arnold:svg:apps:apps', angular: 'angular:svg:apps:apps', gitlab: 'gitlab:svg:apps:apps', dribbble: 'dribbble:svg:apps:apps', github: 'github:svg:apps:apps', figma: 'figma:svg:apps:apps', stackblitz: 'stackblitz:svg:apps:apps', animated: { runningMan: 'running-man:animated:default:animated', success: 'success:animated:default:animated', settings: 'settings:animated:default:animated|filled', bell: 'bell:animated:default:animated|filled', reload: 'reload:animated:default:animated|filled', spinner: 'spinner:animated:default:animated|stroked', } }; var Key; (function (Key) { Key["unidentified"] = "Unidentified"; Key["enter"] = "Enter"; Key["backspace"] = "Backspace"; Key["tab"] = "Tab"; Key["arrowLeft"] = "ArrowLeft"; Key["arrowTop"] = "ArrowTop"; Key["arrowRight"] = "ArrowRight"; Key["arrowBottom"] = "ArrowBottom"; Key["zero"] = "0"; Key["one"] = "1"; Key["two"] = "2"; Key["three"] = "3"; Key["four"] = "4"; Key["five"] = "5"; Key["six"] = "6"; Key["seven"] = "7"; Key["eight"] = "8"; Key["nine"] = "9"; Key["v"] = "v"; })(Key || (Key = {})); var Modifier; (function (Modifier) { Modifier["altKey"] = "altKey"; Modifier["ctrlKey"] = "ctrlKey"; Modifier["shiftKey"] = "shiftKey"; Modifier["metaKey"] = "metaKey"; })(Modifier || (Modifier = {})); (function (Orientation) { Orientation["horizontal"] = "horizontal"; Orientation["vertical"] = "vertical"; })(exports["ɵn"] || (exports["ɵn"] = {})); (function (Outline) { Outline["ghost"] = "ghost"; Outline["fill"] = "fill"; Outline["transparent"] = "transparent"; })(exports["ɵu"] || (exports["ɵu"] = {})); (function (Placement) { Placement["default"] = "default"; Placement["absolute"] = "absolute"; Placement["fixed"] = "fixed"; })(exports["ɵbe"] || (exports["ɵbe"] = {})); (function (Position) { Position["left"] = "left"; Position["right"] = "right"; Position["top"] = "top"; Position["bottom"] = "bottom"; Position["rightTop"] = "rightTop"; Position["leftTop"] = "leftTop"; Position["rightBottom"] = "rightBottom"; Position["leftBottom"] = "leftBottom"; Position["inline"] = "inline"; Position["center"] = "center"; })(exports.Position || (exports.Position = {})); (function (Scheme) { Scheme["primary"] = "primary"; Scheme["secondary"] = "secondary"; Scheme["success"] = "success"; Scheme["fail"] = "fail"; })(exports["ɵt"] || (exports["ɵt"] = {})); (function (Shape) { Shape["circle"] = "circle"; Shape["square"] = "square"; })(exports["ɵs"] || (exports["ɵs"] = {})); (function (Size) { Size["auto"] = "auto"; Size["tiny"] = "tiny"; Size["small"] = "small"; Size["normal"] = "normal"; Size["large"] = "large"; })(exports["ɵm"] || (exports["ɵm"] = {})); (function (State) { State["loading"] = "loading"; State["warning"] = "warning"; State["checked"] = "checked"; State["error"] = "error"; })(exports["ɵbd"] || (exports["ɵbd"] = {})); var Stroke; (function (Stroke) { Stroke["bold"] = "bold"; Stroke["normal"] = "normal"; Stroke["thin"] = "thin"; })(Stroke || (Stroke = {})); (function (MenuStyle) { MenuStyle["default"] = "default"; MenuStyle["tabs"] = "tabs"; MenuStyle["tags"] = "tags"; })(exports["ɵbt"] || (exports["ɵbt"] = {})); (function (TextAlign) { TextAlign["left"] = "left"; TextAlign["right"] = "right"; TextAlign["center"] = "center"; })(exports["ɵy"] || (exports["ɵy"] = {})); (function (TextTransform) { TextTransform["capitalize"] = "capitalize"; TextTransform["uppercase"] = "uppercase"; TextTransform["lowercase"] = "lowercase"; })(exports["ɵz"] || (exports["ɵz"] = {})); var Theme; (function (Theme) { Theme["light"] = "light"; Theme["dark"] = "dark"; })(Theme || (Theme = {})); (function (Triggers) { Triggers["hover"] = "hover"; Triggers["click"] = "click"; })(exports.Triggers || (exports.Triggers = {})); (f