UNPKG

@lxlib/theme

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.1.

17 lines (15 loc) 48 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@lxlib/acl"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@angular/platform-browser"),require("@angular/router"),require("@lxlib/util"),require("ng-zorro-antd/modal"),require("ng-zorro-antd/drawer"),require("@angular/common/http"),require("date-fns/format"),require("date-fns/formatDistanceToNow"),require("date-fns/parse"),require("ng-zorro-antd/i18n"),require("@angular/cdk/overlay"),require("@ant-design/icons-angular/icons"),require("ng-zorro-antd/icon")):"function"==typeof define&&define.amd?define("@lxlib/theme",["exports","@angular/core","@lxlib/acl","rxjs","rxjs/operators","@angular/common","@angular/platform-browser","@angular/router","@lxlib/util","ng-zorro-antd/modal","ng-zorro-antd/drawer","@angular/common/http","date-fns/format","date-fns/formatDistanceToNow","date-fns/parse","ng-zorro-antd/i18n","@angular/cdk/overlay","@ant-design/icons-angular/icons","ng-zorro-antd/icon"],t):t(((e=e||self).lxlib=e.lxlib||{},e.lxlib.theme={}),e.ng.core,e.lxlib.acl,e.rxjs,e.rxjs.operators,e.ng.common,e.ng.platformBrowser,e.ng.router,e.lxlib.util,e["ng-zorro-antd/modal"],e["ng-zorro-antd/drawer"],e.ng.common.http,e.format,e.formatDistanceToNow,e.parse,e["ng-zorro-antd/i18n"],e.ng.cdk.overlay,e.icons,e["ng-zorro-antd/icon"])}(this,(function(e,t,r,o,n,i,a,s,l,c,u,m,p,d,h,f,y,v,g){"use strict";p=p&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p,d=d&&Object.prototype.hasOwnProperty.call(d,"default")?d.default:d,h=h&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h; /*! ***************************************************************************** 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. ***************************************************************************** */ var b=function(e,t){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};var x=function(){return(x=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function S(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a}function P(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(O(arguments[t]));return e}var T=new t.InjectionToken("Window",{providedIn:"root",factory:function(){return window}});var I=new t.InjectionToken("lxlibTranslatorToken",{providedIn:"root",factory:j});function j(){return new w}var w=function(){function e(){this.change$=new o.BehaviorSubject(null)}return Object.defineProperty(e.prototype,"change",{get:function(){return this.change$.asObservable().pipe(n.filter((function(e){return null!=e})))},enumerable:!0,configurable:!0}),e.prototype.use=function(e){this.change$.next(e)},e.prototype.getLangs=function(){return[]},e.prototype.fanyi=function(e){return e},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}();var _=function(){function e(e,t){var r=this;this.i18nSrv=e,this.aclService=t,this._change$=new o.BehaviorSubject([]),this.data=[],this.i18n$=this.i18nSrv.change.subscribe((function(){return r.resume()}))}return Object.defineProperty(e.prototype,"change",{get:function(){return this._change$.pipe(n.share())},enumerable:!0,configurable:!0}),e.prototype.visit=function(e,t){var r=function(e,o,n){var i,a;try{for(var s=S(e),l=s.next();!l.done;l=s.next()){var c=l.value;t(c,o,n),c.children&&c.children.length>0?r(c.children,c,n+1):c.children=[]}}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}};r(e,null,0)},e.prototype.add=function(e){this.data=e,this.resume()},e.prototype.resume=function(e){var t=this,r=1,o=[];this.visit(this.data,(function(n,i,a){if(n.__id=r++,n.__parent=i,n._depth=a,n.link||(n.link=""),n.externalLink||(n.externalLink=""),n.badge&&(!0!==n.badgeDot&&(n.badgeDot=!1),n.badgeStatus||(n.badgeStatus="error")),n._type=n.externalLink?2:1,n.children&&n.children.length>0&&(n._type=3),"string"==typeof n.icon){var s="class",l=n.icon;~n.icon.indexOf("anticon-")?(s="icon",l=l.split("-").slice(1).join("-")):/^https?:\/\//.test(n.icon)&&(s="img"),n.icon={type:s,value:l}}null!=n.icon&&(n.icon=x({theme:"outline",spin:!1},n.icon)),n.text=n.i18n&&t.i18nSrv?t.i18nSrv.fanyi(n.i18n):n.text,n.group=!1!==n.group,n._hidden=void 0!==n.hide&&n.hide,n.disabled=void 0!==n.disabled&&n.disabled,n._aclResult=!n.acl||!t.aclService||t.aclService.can(n.acl),i&&!0===n.shortcut&&!0!==i.shortcutRoot&&o.push(n),e&&e(n,i,a)})),this.loadShortcut(o),this._change$.next(this.data)},e.prototype.loadShortcut=function(e){if(0!==e.length&&0!==this.data.length){var t=this.data[0].children,r=t.findIndex((function(e){return!0===e.shortcutRoot}));if(-1===r){r=(-1!==(r=t.findIndex((function(e){return e.link.includes("dashboard")})))?r:-1)+1;this.data[0].children.splice(r,0,{text:"快捷菜单",i18n:"shortcut",icon:"icon-rocket",children:[]})}var o=this.data[0].children[r];o.i18n&&this.i18nSrv&&(o.text=this.i18nSrv.fanyi(o.i18n)),(o=Object.assign(o,{shortcutRoot:!0,__id:-1,__parent:null,_type:3,_depth:1})).children=e.map((function(e){return e._depth=2,e.__parent=o,e}))}},Object.defineProperty(e.prototype,"menus",{get:function(){return this.data},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.data=[],this._change$.next(this.data)},e.prototype.getHit=function(e,t,r,o){void 0===r&&(r=!1),void 0===o&&(o=null);for(var n=null;!n&&t&&(this.visit(e,(function(e){o&&o(e),null!=e.link&&e.link===t&&(n=e)})),r);)t=t.includes("?")?t.split("?")[0]:t.split("/").slice(0,-1).join("/");return n},e.prototype.openedByUrl=function(e,t){if(void 0===t&&(t=!1),e){var r=this.getHit(this.data,e,t,(function(e){e._selected=!1,e._open=!1}));if(null!=r)do{r._selected=!0,r._open=!0,r=r.__parent}while(r)}},e.prototype.getPathByUrl=function(e,t){void 0===t&&(t=!1);var r=[],o=this.getHit(this.data,e,t);if(!o)return r;do{r.splice(0,0,o),o=o.__parent}while(o);return r},e.prototype.getItem=function(e){var t=null;return this.visit(this.data,(function(r){null==t&&r.key===e&&(t=r)})),t},e.prototype.setItem=function(e,t){var r=this.getItem(e);null!=r&&(Object.keys(t).forEach((function(e){r[e]=t[e]})),this._change$.next(this.data))},e.prototype.ngOnDestroy=function(){this._change$.unsubscribe(),this.i18n$.unsubscribe()},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[I]}]},{type:r.ACLService,decorators:[{type:t.Optional}]}]},e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(I,8),t.ɵɵinject(r.ACLService,8))},token:e,providedIn:"root"}),e}();var k=function(){function e(e,t){this.win=e,this.doc=t}return e.prototype.getScrollPosition=function(e){return e&&e!==this.win?[e.scrollLeft,e.scrollTop]:[this.win.pageXOffset,this.win.pageYOffset]},e.prototype.scrollToPosition=function(e,t){(e||this.win).scrollTo(t[0],t[1])},e.prototype.scrollToElement=function(e,t){void 0===t&&(t=0),e||(e=this.doc.body),e.scrollIntoView();var r=this.win;r&&r.scrollBy&&(r.scrollBy(0,e.getBoundingClientRect().top-t),r.pageYOffset<20&&r.scrollBy(0,-r.pageYOffset))},e.prototype.scrollToTop=function(e){void 0===e&&(e=0),this.scrollToElement(this.doc.body,e)},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[T]}]},{type:void 0,decorators:[{type:t.Inject,args:[i.DOCUMENT]}]}]},e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(T),t.ɵɵinject(i.DOCUMENT))},token:e,providedIn:"root"}),e}();var M=function(){function e(){this.notify$=new o.Subject,this._app=null,this._user=null,this._layout=null,this._company=null}return e.prototype.get=function(e){return JSON.parse(localStorage.getItem(e)||"null")||null},e.prototype.set=function(e,t){localStorage.setItem(e,JSON.stringify(t))},Object.defineProperty(e.prototype,"layout",{get:function(){return this._layout||(this._layout=x({fixed:!0,collapsed:!1,boxed:!1,lang:null},this.get("layout")),this.set("layout",this._layout)),this._layout},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app",{get:function(){return this._app||(this._app=x({year:(new Date).getFullYear()},this.get("app")),this.set("app",this._app)),this._app},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"company",{get:function(){return this._company||(this._company=x({last_login:new Date},this.get("company")),this.set("company",this._company)),this._company},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"user",{get:function(){return this._user||(this._user=x({},this.get("user")),this.set("user",this._user)),this._user},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"notify",{get:function(){return this.notify$.asObservable()},enumerable:!0,configurable:!0}),e.prototype.setLayout=function(e,t){return"string"==typeof e?this.layout[e]=t:this._layout=e,this.set("layout",this._layout),this.notify$.next({type:"layout",name:e,value:t}),!0},e.prototype.setApp=function(e){return this._app=e,this.set("app",e),this.notify$.next({type:"app",value:e}),!0},e.prototype.setUser=function(e){return this._user=e,this.set("user",e),this.notify$.next({type:"user",value:e}),!0},e.prototype.setCompany=function(e){this._company=e,this.set("company",e),this.notify$.next({type:"campany",value:e})},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}();var E=function(){function e(){}return e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}();var z=function(){function e(e){if(this.cog=x({rules:{1:{xs:24},2:{xs:24,sm:12},3:{xs:24,sm:12,md:8},4:{xs:24,sm:12,md:8,lg:6},5:{xs:24,sm:12,md:8,lg:6,xl:4},6:{xs:24,sm:12,md:8,lg:6,xl:4,xxl:2}}},e.responsive),Object.keys(this.cog.rules).map((function(e){return+e})).some((function(e){return e<1||e>6})))throw new Error("[theme] the responseive rule index value range must be 1-6")}return e.prototype.genCls=function(e){var t=this.cog.rules[e>6?6:Math.max(e,1)],r=["ant-col-xs-"+t.xs];return t.sm&&r.push("ant-col-sm-"+t.sm),t.md&&r.push("ant-col-md-"+t.md),t.lg&&r.push("ant-col-lg-"+t.lg),t.xl&&r.push("ant-col-xl-"+t.xl),t.xxl&&r.push("ant-col-xxl-"+t.xxl),r},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:E}]},e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(E))},token:e,providedIn:"root"}),e}();var C=function(){function e(e,t,r,o,i){var a=this;this.injector=e,this.title=t,this.menuSrv=r,this.i18nSrv=o,this.doc=i,this._prefix="",this._suffix="",this._separator=" - ",this._reverse=!1,this.DELAY_TIME=25,this.default="Not Page Name",this.i18n$=this.i18nSrv.change.pipe(n.filter((function(){return!!a.i18n$}))).subscribe((function(){return a.setTitle()}))}return Object.defineProperty(e.prototype,"separator",{set:function(e){this._separator=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"prefix",{set:function(e){this._prefix=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"suffix",{set:function(e){this._suffix=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reverse",{set:function(e){this._reverse=e},enumerable:!0,configurable:!0}),e.prototype.getByElement=function(){var e=this.doc.querySelector(".lxlib-default__content-title h1")||this.doc.querySelector(".page-header__title");if(e){var t="";return e.childNodes.forEach((function(e){t||3!==e.nodeType||(t=e.textContent.trim())})),t||e.firstChild.textContent.trim()}return""},e.prototype.getByRoute=function(){for(var e=this.injector.get(s.ActivatedRoute);e.firstChild;)e=e.firstChild;var t=e.snapshot&&e.snapshot.data||{};return t.titleI18n&&this.i18nSrv&&(t.title=this.i18nSrv.fanyi(t.titleI18n)),t.title},e.prototype.getByMenu=function(){var e=this.menuSrv.getPathByUrl(this.injector.get(s.Router).url);if(!e||e.length<=0)return"";var t,r=e[e.length-1];return r.i18n&&this.i18nSrv&&(t=this.i18nSrv.fanyi(r.i18n)),t||r.text},e.prototype._setTitle=function(e){e||(e=this.getByRoute()||this.getByMenu()||this.getByElement()||this.default),e&&!Array.isArray(e)&&(e=[e]);var t=[];this._prefix&&t.push(this._prefix),t.push.apply(t,P(e)),this._suffix&&t.push(this._suffix),this._reverse&&(t=t.reverse()),this.title.setTitle(t.join(this._separator))},e.prototype.setTitle=function(e){var t=this;setTimeout((function(){return t._setTitle(e)}),this.DELAY_TIME)},e.prototype.setTitleByI18n=function(e,t){this.setTitle(this.i18nSrv.fanyi(e,t))},e.prototype.ngOnDestroy=function(){this.i18n$.unsubscribe()},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:t.Injector},{type:a.Title},{type:_},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[I]}]},{type:void 0,decorators:[{type:t.Inject,args:[i.DOCUMENT]}]}]},e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(t.INJECTOR),t.ɵɵinject(a.Title),t.ɵɵinject(_),t.ɵɵinject(I,8),t.ɵɵinject(i.DOCUMENT))},token:e,providedIn:"root"}),e}();var N=new t.InjectionToken("lxlib-locale");var R={abbr:"zh-CN",exception:{403:"抱歉,你无权访问该页面",404:"抱歉,你访问的页面不存在",500:"抱歉,服务器出错了",backToHome:"返回首页"},noticeIcon:{emptyText:"暂无数据",clearText:"清空"},reuseTab:{close:"关闭标签",closeOther:"关闭其它标签",closeRight:"关闭右侧标签",clear:"清空"},tagSelect:{expand:"展开",collapse:"收起"},miniProgress:{target:"目标值:"},st:{total:"共 {{total}} 条",filterConfirm:"确定",filterReset:"重置"},sf:{submit:"提交",reset:"重置",search:"搜索",edit:"保存",addText:"添加",removeText:"移除",checkAllText:"全选",error:{"false schema":"布尔模式出错",$ref:"无法找到引用{ref}",additionalItems:"不允许超过{limit}个元素",additionalProperties:"不允许有额外的属性",anyOf:"数据应为 anyOf 所指定的其中一个",dependencies:"应当拥有属性{property}的依赖属性{deps}",enum:"应当是预设定的枚举值之一",format:"格式不正确",type:"类型应当是 {type}",required:"必填项",maxLength:"至多 {limit} 个字符",minLength:"至少 {limit} 个字符以上",minimum:"必须 {comparison}{limit}",formatMinimum:"必须 {comparison}{limit}",maximum:"必须 {comparison}{limit}",formatMaximum:"必须 {comparison}{limit}",maxItems:"不应多于 {limit} 个项",minItems:"不应少于 {limit} 个项",maxProperties:"不应多于 {limit} 个属性",minProperties:"不应少于 {limit} 个属性",multipleOf:"应当是 {multipleOf} 的整数倍",not:'不应当匹配 "not" schema',oneOf:'只能匹配一个 "oneOf" 中的 schema',pattern:"数据格式不正确",uniqueItems:"不应当含有重复项 (第 {j} 项与第 {i} 项是重复的)",custom:"格式不正确",propertyNames:'属性名 "{propertyName}" 无效',patternRequired:"应当有属性匹配模式 {missingPattern}",switch:'由于 {caseIndex} 失败,未通过 "switch" 校验',const:"应当等于常量",contains:"应当包含一个有效项",formatExclusiveMaximum:"formatExclusiveMaximum 应当是布尔值",formatExclusiveMinimum:"formatExclusiveMinimum 应当是布尔值",if:'应当匹配模式 "{failingKeyword}"'}}},q=function(){function e(e){this.change$=new o.BehaviorSubject(this._locale),this.setLocale(e||R)}return Object.defineProperty(e.prototype,"change",{get:function(){return this.change$.asObservable()},enumerable:!0,configurable:!0}),e.prototype.setLocale=function(e){this._locale&&this._locale.abbr===e.abbr||(this._locale=e,this.change$.next(e))},Object.defineProperty(e.prototype,"locale",{get:function(){return this._locale},enumerable:!0,configurable:!0}),e.prototype.getData=function(e){return this._locale[e]||{}},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[N]}]}]},e}();function L(e,t){return e||new q(t)}var H={provide:q,useFactory:L,deps:[[new t.Optional,new t.SkipSelf,q],N]},A=R,D=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{providers:[{provide:N,useValue:A},H]}]}],e}();var B=function(){function e(e){this.srv=e}return e.prototype.create=function(e,t,r){var n=this;return r=l.deepMerge({size:"lg",exact:!0,includeTabs:!1},r),new o.Observable((function(o){var i=r,a=i.size,s=i.includeTabs,l=i.modalOptions,c="",u="";a&&("number"==typeof a?u=a+"px":c="modal-"+a),s&&(c+=" modal-include-tabs"),l&&l.nzWrapClassName&&(c+=" "+l.nzWrapClassName,delete l.nzWrapClassName);var m={nzWrapClassName:c,nzContent:e,nzWidth:u||void 0,nzFooter:null,nzComponentParams:t},p=n.srv.create(x(x({},m),l)).afterClose.subscribe((function(e){!0===r.exact?null!=e&&o.next(e):o.next(e),o.complete(),p.unsubscribe()}))}))},e.prototype.createStatic=function(e,t,r){var o=x({nzMaskClosable:!1},r&&r.modalOptions);return this.create(e,t,x(x({},r),{modalOptions:o}))},e.prototype.open=function(e,t,r,o){return void 0===r&&(r="lg"),this.create(e,t,{size:r,modalOptions:o,exact:!1})},e.prototype.static=function(e,t,r,o){return void 0===r&&(r="lg"),this.open(e,t,r,x({nzMaskClosable:!1},o))},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:c.NzModalService}]},e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(c.NzModalService))},token:e,providedIn:"root"}),e}();var $=function(){function e(e){this.srv=e}return e.prototype.create=function(e,t,r,n){var i=this;return n=l.deepMerge({size:"md",footer:!0,footerHeight:55,exact:!0,drawerOptions:{nzPlacement:"right",nzWrapClassName:""}},n),new o.Observable((function(o){var a=n,s=a.size,l=a.footer,c=a.footerHeight,u=a.drawerOptions,m={nzContent:t,nzContentParams:r,nzTitle:e};if("number"==typeof s?m["top"===u.nzPlacement||"bottom"===u.nzPlacement?"nzHeight":"nzWidth"]=n.size:(m.nzWrapClassName=(u.nzWrapClassName+" drawer-"+n.size).trim(),delete u.nzWrapClassName),l){var p=u,d=p.nzPlacement,h=p.nzHeight,f=2*c-2;m.nzBodyStyle="left"===d||"right"===d?{height:"calc(100% - "+f+"px)",overflow:"auto"}:{height:+(h||256)-f+"px",overflow:"auto"}}var y=i.srv.create(x(x({},m),u)).afterClose.subscribe((function(e){!0===n.exact?null!=e&&o.next(e):o.next(e),o.complete(),y.unsubscribe()}))}))},e.prototype.static=function(e,t,r,o){var n=x({nzMaskClosable:!1},o&&o.drawerOptions);return this.create(e,t,r,x(x({},o),{drawerOptions:n}))},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:u.NzDrawerService}]},e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(u.NzDrawerService))},token:e,providedIn:"root"}),e}();var U=function(){function e(e,t){this.http=e,this._loading=!1,this.cog=x({nullValueHandling:"include",dateValueHandling:"timestamp"},t.http)}return Object.defineProperty(e.prototype,"loading",{get:function(){return this._loading},enumerable:!0,configurable:!0}),e.prototype.parseParams=function(e){var t=this,r={};return Object.keys(e).forEach((function(o){var n=e[o];"ignore"===t.cog.nullValueHandling&&null==n||("timestamp"===t.cog.dateValueHandling&&n instanceof Date&&(n=n.valueOf()),r[o]=n)})),new m.HttpParams({fromObject:r})},e.prototype.appliedUrl=function(e,t){if(!t)return e;e+=~e.indexOf("?")?"":"?";var r=[];for(var o in t)r.push(o+"="+t[o]);return e+r.join("&")},e.prototype.begin=function(){var e=this;Promise.resolve(null).then((function(){return e._loading=!0}))},e.prototype.end=function(){var e=this;Promise.resolve(null).then((function(){return e._loading=!1}))},e.prototype.get=function(e,t,r){return void 0===r&&(r={}),this.request("GET",e,x({params:t},r))},e.prototype.post=function(e,t,r,o){return void 0===o&&(o={}),this.request("POST",e,x({body:t,params:r},o))},e.prototype.delete=function(e,t,r){return void 0===r&&(r={}),this.request("DELETE",e,x({params:t},r))},e.prototype.jsonp=function(e,t,r){var i=this;return void 0===r&&(r="JSONP_CALLBACK"),this.begin(),this.http.jsonp(this.appliedUrl(e,t),r).pipe(n.tap((function(){return i.end()})),n.catchError((function(e){return i.end(),o.throwError(e)})))},e.prototype.patch=function(e,t,r,o){return void 0===o&&(o={}),this.request("PATCH",e,x({body:t,params:r},o))},e.prototype.put=function(e,t,r,o){return void 0===o&&(o={}),this.request("PUT",e,x({body:t,params:r},o))},e.prototype.form=function(e,t,r,o){return void 0===o&&(o={}),this.request("POST",e,x(x({body:t,params:r},o),{headers:{"content-type":"application/x-www-form-urlencoded"}}))},e.prototype.request=function(e,t,r){var i=this;return void 0===r&&(r={}),this.begin(),r.params&&(r.params=this.parseParams(r.params)),o.of(null).pipe(n.tap((function(){return i.begin()})),n.switchMap((function(){return i.http.request(e,t,r)})),n.tap((function(){return i.end()})),n.catchError((function(e){return i.end(),o.throwError(e)})))},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:m.HttpClient},{type:E}]},e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(m.HttpClient),t.ɵɵinject(E))},token:e,providedIn:"root"}),e}();var W=function(){function e(e){this.injector=e}return e.ctorParameters=function(){return[{type:t.Injector,decorators:[{type:t.Inject,args:[t.Injector]}]}]},e}();function K(e,t){void 0===t&&(t="__api_params");var r=e[t];return void 0===r&&(r=e[t]={}),r}function V(e){return function(t){return function(r,o,n){var i=K(K(r),o),a=i[e];void 0===a&&(a=i[e]=[]),a.push({key:t,index:n})}}}var Y=V("path"),F=V("query"),Z=V("body")(),J=V("headers"),G=V("payload")();function X(e,t,r){if(e[t]&&Array.isArray(e[t])&&!(e[t].length<=0))return r[e[t][0].index]}function Q(e,t){return Array.isArray(e)||Array.isArray(t)?Object.assign([],e,t):Object.assign({},e,t)}function ee(e){return function(t,n){return void 0===t&&(t=""),function(i,a,s){return s.value=function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];n=n||{};var l=this.injector,c=l.get(U,null);if(null==c)throw new TypeError("Not found '_HttpClient', You can import 'LxlibThemeModule' && 'HttpClientModule' in your root module.");var u=K(this),m=K(u,a),p=t||"";if((p=[u.baseUrl||"",p.startsWith("/")?p.substr(1):p].join("/")).length>1&&p.endsWith("/")&&(p=p.substr(0,p.length-1)),n.acl){var d=l.get(r.ACLService,null);if(d&&!d.can(n.acl))return o.throwError({url:p,status:401,statusText:"From Http Decorator"});delete n.acl}p=p.replace(/::/g,"^^"),(m.path||[]).filter((function(e){return void 0!==i[e.index]})).forEach((function(e){p=p.replace(new RegExp(":"+e.key,"g"),encodeURIComponent(i[e.index]))})),p=p.replace(/\^\^/g,":");var h=(m.query||[]).reduce((function(e,t){return e[t.key]=i[t.index],e}),{}),f=(m.headers||[]).reduce((function(e,t){return e[t.key]=i[t.index],e}),{});"FORM"===e&&(f["content-type"]="application/x-www-form-urlencoded");var y=X(m,"payload",i),v="POST"===e||"PUT"===e;return c.request(e,p,x({body:v?Q(X(m,"body",i),y):null,params:v?h:x(x({},h),y),headers:x(x({},u.baseHeaders),f)},n))},s}}}var te=ee("OPTIONS"),re=ee("GET"),oe=ee("POST"),ne=ee("DELETE"),ie=ee("PUT"),ae=ee("HEAD"),se=ee("PATCH"),le=ee("JSONP"),ce=ee("FORM"),ue=function(){function e(e){this.nzI18n=e}return e.prototype.transform=function(e,t){void 0===t&&(t="yyyy-MM-dd HH:mm");var r={locale:this.nzI18n.getDateLocale()};return(e="string"==typeof e?isNaN(+e)?h(e,t,new Date,r):+e:e)?"fn"===t?d(e,r):p(e,t,r):""},e.decorators=[{type:t.Pipe,args:[{name:"_date"}]}],e.ctorParameters=function(){return[{type:f.NzI18nService}]},e}();var me=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){function r(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(r,e),r.prototype.transform=function(t,r,o,n){return void 0===r&&(r="¥"),void 0===o&&(o="code"),e.prototype.transform.call(this,t,r,o,n)},r.decorators=[{type:t.Pipe,args:[{name:"_currency"}]}],r}(i.CurrencyPipe),pe=function(){function e(){}return e.prototype.transform=function(e,t){void 0===t&&(t=!1);var r=[];for(var o in e)r.push({key:t?+o:o,value:e[o]});return r},e.decorators=[{type:t.Pipe,args:[{name:"keys"}]}],e}(),de='<svg viewBox="64 64 896 896" fill="currentColor" width="1em" height="1em" aria-hidden="true"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"></path></svg>',he='<svg viewBox="64 64 896 896" fill="currentColor" width="1em" height="1em" aria-hidden="true"><path d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"></path></svg>',fe='class="yn__yes"',ye='class="yn__no"',ve=function(){function e(e){this.dom=e}return e.prototype.transform=function(e,t,r,o,n){void 0===n&&(n=!0);var i="";switch(t=t||"是",r=r||"否",o){case"full":i=e?"<i "+fe+">"+de+"<span>"+t+"</span></i>":"<i "+ye+">"+he+"<span>"+r+"</span></i>";break;case"text":i=e?"<i "+fe+">"+t+"</i>":"<i "+ye+">"+r+"</i>";break;default:i=e?"<i "+fe+' title="'+t+'">'+de+"</i>":"<i "+ye+' title="'+r+'">'+he+"</i>"}return n?this.dom.bypassSecurityTrustHtml(i):i},e.decorators=[{type:t.Pipe,args:[{name:"yn"}]}],e.ctorParameters=function(){return[{type:a.DomSanitizer}]},e}();var ge=function(){function e(e){this.dom=e}return e.prototype.transform=function(e){return e?this.dom.bypassSecurityTrustHtml(e):""},e.decorators=[{type:t.Pipe,args:[{name:"html"}]}],e.ctorParameters=function(){return[{type:a.DomSanitizer}]},e}();var be=function(){function e(e){this.dom=e}return e.prototype.transform=function(e){return e?this.dom.bypassSecurityTrustUrl(e):""},e.decorators=[{type:t.Pipe,args:[{name:"url"}]}],e.ctorParameters=function(){return[{type:a.DomSanitizer}]},e}();var xe=function(){function e(e){this.i18n=e}return e.prototype.transform=function(e,t,r){return this.i18n.fanyi(e,t,r)},e.decorators=[{type:t.Pipe,args:[{name:"i18n"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[I]}]}]},e}();var Se=[B,$],Oe=[ue,me,pe,ve,xe,ge,be],Pe=[v.BellOutline,v.DeleteOutline,v.PlusOutline,v.InboxOutline],Te=function(){function e(e){e.addIcon.apply(e,P(Pe))}return e.forRoot=function(){return{ngModule:e,providers:P(Se)}},e.forChild=function(){return{ngModule:e,providers:P(Se)}},e.decorators=[{type:t.NgModule,args:[{imports:[i.CommonModule,s.RouterModule,y.OverlayModule,f.NzI18nModule],declarations:P(Oe),exports:P(Oe,[D])}]}],e.ctorParameters=function(){return[{type:g.NzIconService}]},e}(),Ie=new t.Version("1.0.3");e.APP="app",e.BaseApi=W,e.BaseHeaders=function(e){return function(t){return K(t.prototype).baseHeaders=e,t}},e.BaseUrl=function(e){return function(t){return K(t.prototype).baseUrl=e,t}},e.Body=Z,e.CNCurrencyPipe=me,e.COMPANY="company",e.DELETE=ne,e.DatePipe=ue,e.DrawerHelper=$,e.FORM=ce,e.GET=re,e.HEAD=ae,e.HTMLPipe=ge,e.Headers=J,e.JSONP=le,e.KeysPipe=pe,e.LAYOUT="layout",e.LXLIB_I18N_TOKEN=I,e.LXLIB_LOCALE=N,e.LXLIB_LOCALE_SERVICE_PROVIDER=H,e.LXLIB_LOCALE_SERVICE_PROVIDER_FACTORY=L,e.LxlibI18NServiceFake=w,e.LxlibLocaleModule=D,e.LxlibLocaleService=q,e.LxlibThemeConfig=E,e.LxlibThemeModule=Te,e.MenuService=_,e.ModalHelper=B,e.OPTIONS=te,e.PATCH=se,e.POST=oe,e.PUT=ie,e.Path=Y,e.Payload=G,e.Query=F,e.REP_MAX=6,e.ResponsiveService=z,e.ScrollService=k,e.SettingsService=M,e.TitleService=C,e.URLPipe=be,e.USER="user",e.VERSION=Ie,e.WINDOW=T,e.YNPipe=ve,e._HttpClient=U,e.el_GR={abbr:"el-GR",exception:{403:"Λυπούμαστε, δεν έχετε πρόσβαση σε αυτήν τη σελίδα",404:"Λυπούμαστε, η σελίδα αυτή δεν βρέθηκε",500:"Λυπούμαστε, σφάλμα διακομιστή",backToHome:"Επιστροφή στην αρχική σελίδα"},noticeIcon:{emptyText:"Δεν υπάρχουν δεδομένα",clearText:"Καθαρισμός"},reuseTab:{close:"Κλείσιμο καρτέλας",closeOther:"Κλείσιμο των άλλων καρτέλων",closeRight:"Κλείσιμο των καρτελών δεξιά",clear:"Καθαρισμός καρτελών"},tagSelect:{expand:"Επέκταση",collapse:"Σύμπτυξη"},miniProgress:{target:"Στόχος: "},st:{total:"{{range[0]}} - {{range[1]}} από {{total}}",filterConfirm:"ΟΚ",filterReset:"Επαναφορά"},sf:{submit:"Υποβολή",reset:"Επαναφορά",search:"Αναζήτηση",edit:"Αποθήκευση",addText:"Προσθήκη",removeText:"Αφαίρεση",checkAllText:"Επιλογή όλων",error:{"false schema":"Boolean schema is false",$ref:"Can't resolve reference {ref}",additionalItems:"Should not have more than {limit} item",additionalProperties:"Should not have additional properties",anyOf:'Should match some schema in "anyOf"',dependencies:"should have property {deps} when property {property} is present",enum:"Should be equal to one of predefined values",format:'Should match format "{format}"',type:"Should be {type}",required:"Required",maxLength:"Should not be longer than {limit} character",minLength:"Should not be shorter than {limit} character",minimum:"Should be {comparison} {limit}",formatMinimum:"Should be {comparison} {limit}",maximum:"Should be {comparison} {limit}",formatMaximum:"Should be {comparison} {limit}",maxItems:"Should not have more than {limit} item",minItems:"Should not have less than {limit} item",maxProperties:"Should not have more than {limit} property",minProperties:"Should not have less than {limit} property",multipleOf:"Should be a multiple of {multipleOf}",not:'Should not be valid according to schema in "not"',oneOf:'Should match exactly one schema in "oneOf"',pattern:'Should match pattern "{pattern}"',uniqueItems:"Should not have duplicate items (items ## {j} and {i} are identical)",custom:"Should match format",propertyNames:'Property name "{propertyName}" is invalid',patternRequired:'Should have property matching pattern "{missingPattern}"',switch:'Should pass "switch" keyword validation, case {caseIndex} fails',const:"Should be equal to constant",contains:"Should contain a valid item",formatExclusiveMaximum:"formatExclusiveMaximum should be boolean",formatExclusiveMinimum:"formatExclusiveMinimum should be boolean",if:'Should match "{failingKeyword}" schema'}}},e.en_US={abbr:"en-US",exception:{403:"Sorry, you don't have access to this page",404:"Sorry, the page you visited does not exist",500:"Sorry, the server is reporting an error",backToHome:"Back To Home"},noticeIcon:{emptyText:"No data",clearText:"Clear"},reuseTab:{close:"Close tab",closeOther:"Close other tabs",closeRight:"Close tabs to right",clear:"Clear tabs"},tagSelect:{expand:"Expand",collapse:"Collapse"},miniProgress:{target:"Target: "},st:{total:"{{range[0]}} - {{range[1]}} of {{total}}",filterConfirm:"OK",filterReset:"Reset"},sf:{submit:"Submit",reset:"Reset",search:"Search",edit:"Save",addText:"Add",removeText:"Remove",checkAllText:"Check all",error:{"false schema":"Boolean schema is false",$ref:"Can't resolve reference {ref}",additionalItems:"Should not have more than {limit} item",additionalProperties:"Should not have additional properties",anyOf:'Should match some schema in "anyOf"',dependencies:"should have property {deps} when property {property} is present",enum:"Should be equal to one of predefined values",format:'Should match format "{format}"',type:"Should be {type}",required:"Required",maxLength:"Should not be longer than {limit} character",minLength:"Should not be shorter than {limit} character",minimum:"Should be {comparison} {limit}",formatMinimum:"Should be {comparison} {limit}",maximum:"Should be {comparison} {limit}",formatMaximum:"Should be {comparison} {limit}",maxItems:"Should not have more than {limit} item",minItems:"Should not have less than {limit} item",maxProperties:"Should not have more than {limit} property",minProperties:"Should not have less than {limit} property",multipleOf:"Should be a multiple of {multipleOf}",not:'Should not be valid according to schema in "not"',oneOf:'Should match exactly one schema in "oneOf"',pattern:'Should match pattern "{pattern}"',uniqueItems:"Should not have duplicate items (items ## {j} and {i} are identical)",custom:"Should match format",propertyNames:'Property name "{propertyName}" is invalid',patternRequired:'Should have property matching pattern "{missingPattern}"',switch:'Should pass "switch" keyword validation, case {caseIndex} fails',const:"Should be equal to constant",contains:"Should contain a valid item",formatExclusiveMaximum:"formatExclusiveMaximum should be boolean",formatExclusiveMinimum:"formatExclusiveMinimum should be boolean",if:'Should match "{failingKeyword}" schema'}}},e.hr_HR={abbr:"hr-HR",exception:{403:"Nažalost, nemate pristup ovoj lokaciji",404:"Nažalost, lokacija ne postoji",500:"Nažalost, server je javio pogrešku",backToHome:"Nazad na početnu stranicu"},noticeIcon:{emptyText:"Nema podataka",clearText:"Obriši"},reuseTab:{close:"Zatvori karticu",closeOther:"Zatvori druge kartice",closeRight:"Zatvori kartice desno",clear:"Obriši kartice"},tagSelect:{expand:"Proširi",collapse:"Skupi"},miniProgress:{target:"Cilj: "},st:{total:"{{range[0]}} - {{range[1]}} od {{total}}",filterConfirm:"U redu",filterReset:"Poništi"},sf:{submit:"Pošalji",reset:"Poništi",search:"Pretraži",edit:"Spremi",addText:"Dodaj",removeText:"Ukloni",checkAllText:"Označi sve"}},e.ja_JP={abbr:"ja-JP",exception:{403:"ページへのアクセス権限がありません",404:"ページが存在しません",500:"サーバーエラーが発生しました",backToHome:"ホームに戻る"},noticeIcon:{emptyText:"データが有りません",clearText:"クリア"},reuseTab:{close:"タブを閉じる",closeOther:"他のタブを閉じる",closeRight:"右のタブを閉じる",clear:"クリア"},tagSelect:{expand:"展開する",collapse:"折りたたむ"},miniProgress:{target:"設定値: "},st:{total:"{{range[0]}} - {{range[1]}} / {{total}}",filterConfirm:"確定",filterReset:"リセット"},sf:{submit:"送信",reset:"リセット",search:"検索",edit:"保存",addText:"追加",removeText:"削除",checkAllText:"全選択",error:{"false schema":"真偽値スキーマが不正です",$ref:"参照を解決できません: {ref}",additionalItems:"{limit}個を超えるアイテムを含めることはできません",additionalProperties:"追加のプロパティを使用しないでください",anyOf:'"anyOf"のスキーマと一致する必要があります',dependencies:"プロパティ {property} を指定した場合、次の依存関係を満たす必要があります: {deps}",enum:"定義された値のいずれかに等しくなければなりません",format:'入力形式に一致しません: "{format}"',type:"型が不正です: {type}",required:"必須項目です",maxLength:"最大文字数: {limit}",minLength:"最少文字数: {limit}",minimum:"値が不正です: {comparison} {limit}",formatMinimum:"値が不正です: {comparison} {limit}",maximum:"値が不正です: {comparison} {limit}",formatMaximum:"値が不正です: {comparison} {limit}",maxItems:"最大選択数は {limit} より小さい必要があります",minItems:"最小選択数は {limit} より大きい必要があります",maxProperties:"値を{limit}より大きくすることはできません",minProperties:"値を{limit}より小さくすることはできません",multipleOf:"値は次の数の倍数である必要があります: {multipleOf}",not:"値が不正です:",oneOf:"値が不正です:",pattern:'次のパターンに一致する必要があります: "{pattern}"',uniqueItems:"値が重複しています: 選択肢: {j} 、{i}",custom:"形式と一致する必要があります",propertyNames:'次のプロパティの値が無効です: "{propertyName}"',patternRequired:'次のパターンに一致するプロパティが必須です: "{missingPattern}"',switch:'"switch" キーワードの値が不正です: {caseIndex}',const:"値が定数に一致しません",contains:"有効なアイテムを含める必要があります",formatExclusiveMaximum:"formatExclusiveMaximum は真偽値である必要があります",formatExclusiveMinimum:"formatExclusiveMaximum は真偽値である必要があります",if:'パターンと一致する必要があります: "{failingKeyword}" '}}},e.ko_KR={abbr:"ko-KR",exception:{403:"죄송합니다.이 페이지에 액세스 할 수 없습니다.",404:"죄송합니다. 해당 페이지가 없습니다.",500:"죄송합니다, 서버 오류가 있습니다.",backToHome:"홈으로 돌아갑니다."},noticeIcon:{emptyText:"데이터 없음",clearText:"지우기"},reuseTab:{close:"탭 닫기",closeOther:"다른 탭 닫기",closeRight:"오른쪽 탭 닫기",clear:"탭 지우기"},tagSelect:{expand:"펼치기",collapse:"접기"},miniProgress:{target:"대상: "},st:{total:"전체 {{total}}건",filterConfirm:"확인",filterReset:"초기화"},sf:{submit:"제출",reset:"재설정",search:"검색",edit:"저장",addText:"추가",removeText:"제거",checkAllText:"모두 확인",error:{"false schema":"Boolean schema is false",$ref:"Can't resolve reference {ref}",additionalItems:"Should not have more than {limit} item",additionalProperties:"Should not have additional properties",anyOf:'Should match some schema in "anyOf"',dependencies:"should have property {deps} when property {property} is present",enum:"Should be equal to one of predefined values",format:'Should match format "{format}"',type:"Should be {type}",required:"Required",maxLength:"Should not be longer than {limit} character",minLength:"Should not be shorter than {limit} character",minimum:"Should be {comparison} {limit}",formatMinimum:"Should be {comparison} {limit}",maximum:"Should be {comparison} {limit}",formatMaximum:"Should be {comparison} {limit}",maxItems:"Should not have more than {limit} item",minItems:"Should not have less than {limit} item",maxProperties:"Should not have more than {limit} property",minProperties:"Should not have less than {limit} property",multipleOf:"Should be a multiple of {multipleOf}",not:'Should not be valid according to schema in "not"',oneOf:'Should match exactly one schema in "oneOf"',pattern:'Should match pattern "{pattern}"',uniqueItems:"Should not have duplicate items (items ## {j} and {i} are identical)",custom:"Should match format",propertyNames:'Property name "{propertyName}" is invalid',patternRequired:'Should have property matching pattern "{missingPattern}"',switch:'Should pass "switch" keyword validation, case {caseIndex} fails',const:"Should be equal to constant",contains:"Should contain a valid item",formatExclusiveMaximum:"formatExclusiveMaximum should be boolean",formatExclusiveMinimum:"formatExclusiveMinimum should be boolean",if:'Should match "{failingKeyword}" schema'}}},e.pl_PL={abbr:"en-US",exception:{403:"Niestety, nie masz uprawnień do tej strony",404:"Niestety, ta strona nie istnieje",500:"Niestety, błąd serwera",backToHome:"Powróć do strony głównej"},noticeIcon:{emptyText:"Brak danych",clearText:"Wyczyść"},reuseTab:{close:"Zamknij kartę",closeOther:"Zamknij inne karty",closeRight:"Zamknij karty po prawej",clear:"Wyczyść karty"},tagSelect:{expand:"Rozszerz",collapse:"Zmniejsz"},miniProgress:{target:"Cel: "},st:{total:"{{range[0]}} - {{range[1]}} z {{total}}",filterConfirm:"OK",filterReset:"Wyczyść"},sf:{submit:"Wyślij",reset:"Resetuj",search:"Szukaj",edit:"Zapisz",addText:"Dodaj",removeText:"Usuń",checkAllText:"Zaznacz wszystkie",error:{"false schema":"Boolean schema is false",$ref:"Can't resolve reference {ref}",additionalItems:"Should not have more than {limit} item",additionalProperties:"Should not have additional properties",anyOf:'Should match some schema in "anyOf"',dependencies:"should have property {deps} when property {property} is present",enum:"Should be equal to one of predefined values",format:'Should match format "{format}"',type:"Should be {type}",required:"Required",maxLength:"Should not be longer than {limit} character",minLength:"Should not be shorter than {limit} character",minimum:"Should be {comparison} {limit}",formatMinimum:"Should be {comparison} {limit}",maximum:"Should be {comparison} {limit}",formatMaximum:"Should be {comparison} {limit}",maxItems:"Should not have more than {limit} item",minItems:"Should not have less than {limit} item",maxProperties:"Should not have more than {limit} property",minProperties:"Should not have less than {limit} property",multipleOf:"Should be a multiple of {multipleOf}",not:'Should not be valid according to schema in "not"',oneOf:'Should match exactly one schema in "oneOf"',pattern:'Should match pattern "{pattern}"',uniqueItems:"Should not have duplicate items (items ## {j} and {i} are identical)",custom:"Should match format",propertyNames:'Property name "{propertyName}" is invalid',patternRequired:'Should have property matching pattern "{missingPattern}"',switch:'Should pass "switch" keyword validation, case {caseIndex} fails',const:"Should be equal to constant",contains:"Should contain a valid item",formatExclusiveMaximum:"formatExclusiveMaximum should be boolean",formatExclusiveMinimum:"formatExclusiveMinimum should be boolean",if:'Should match "{failingKeyword}" schema'}}},e.preloaderFinished=function(){var e=document.querySelector("body"),t=document.querySelector(".preloader");e.style.overflow="hidden",window.appBootstrap=function(){setTimeout((function(){t&&(t.addEventListener("transitionend",(function(){t.className="preloader-hidden"})),t.className+=" preloader-hidden-add preloader-hidden-add-active"),e.style.overflow=""}),100)}},e.tr_TR={abbr:"tr-TR",exception:{403:"Üzgünüz, bu sayfaya erişiminiz yok",404:"Maalesef bu sayfa mevcut değil",500:"Üzgünüz, sunucu hatası",backToHome:"Ana Sayfa'ya geri dön"},noticeIcon:{emptyText:"Veri yok",clearText:"Temiz"},reuseTab:{close:"Sekmeyi Kapat",closeOther:"Diğer sekmeleri kapat",closeRight:"Sağdaki sekmeleri kapat",clear:"Sekmeleri temizle"},tagSelect:{expand:"Genişlet",collapse:"Daralt"},miniProgress:{target:"Hedef: "},st:{total:"{{range[0]}} ile {{range[1]}} arasında {{total}}",filterConfirm:"Tamam",filterReset:"Sıfırla"},sf:{submit:"Gönder",reset:"Sıfırla",search:"Ara",edit:"Kaydet",addText:"Ekle",removeText:"Kaldır",checkAllText:"Tümünü kontrol et",error:{"false schema":"Boolean schema is false",$ref:"Can't resolve reference {ref}",additionalItems:"Should not have more than {limit} item",additionalProperties:"Should not have additional properties",anyOf:'Should match some schema in "anyOf"',dependencies:"should have property {deps} when property {property} is present",enum:"Should be equal to one of predefined values",format:'Should match format "{format}"',type:"Should be {type}",required:"Required",maxLength:"Should not be longer than {limit} character",minLength:"Should not be shorter than {limit} character",minimum:"Should be {comparison} {limit}",formatMinimum:"Should be {comparison} {limit}",maximum:"Should be {comparison} {limit}",formatMaximum:"Should be {comparison} {limit}",maxItems:"Should not have more than {limit} item",minItems:"Should not have less than {limit} item",maxProperties:"Should not have more than {limit} property",minProperties:"Should not have less than {limit} property",multipleOf:"Should be a multiple of {multipleOf}",not:'Should not be valid according to schema in "not"',oneOf:'Should match exactly one schema in "oneOf"',pattern:'Should match pattern "{pattern}"',uniqueItems:"Should not have duplicate items (items ## {j} and {i} are identical)",custom:"Should match format",propertyNames:'Property name "{propertyName}" is invalid',patternRequired:'Should have property matching pattern "{missingPattern}"',switch:'Should pass "switch" keyword validation, case {caseIndex} fails',const:"Should be equal to constant",contains:"Should contain a valid item",formatExclusiveMaximum:"formatExclusiveMaximum should be boolean",formatExclusiveMinimum:"formatExclusiveMinimum should be boolean",if:'Should match "{failingKeyword}" schema'}}},e.zh_CN=R,e.zh_TW={abbr:"zh-TW",exception:{403:"抱歉,你無權訪問該頁面",404:"抱歉,你訪問的頁面不存在",500:"抱歉,服務器出錯了",backToHome:"返回首頁"},noticeIcon:{emptyText:"暫無數據",clearText:"清空"},reuseTab:{close:"關閉標簽",closeOther:"關閉其它標簽",closeRight:"關閉右側標簽",clear:"清空"},tagSelect:{expand:"展開",collapse:"收起"},miniProgress:{target:"目標值:"},st:{total:"共 {{total}} 條",filterConfirm:"確定",filterReset:"重置"},sf:{submit:"提交",reset:"重置",search:"搜索",edit:"保存",addText:"添加",removeText:"移除",checkAllText:"全選",error:{"false schema":"布爾模式出錯",$ref:"無法找到引用{ref}",additionalItems:"不允許超過{ref}",additionalProperties:"不允許有額外的屬性",anyOf:"數據應為 anyOf 所指定的其中一個",dependencies:"應當擁有屬性{property}的依賴屬性{deps}",enum:"應當是預設定的枚舉值之一",format:"格式不正確",type:"類型應當是 {type}",required:"必填項",maxLength:"至多 {limit} 個字符",minLength:"至少 {limit} 個字符以上",minimum:"必須 {comparison}{limit}",formatMinimum:"必須 {comparison}{limit}",maximum:"必須 {comparison}{limit}",formatMaximum:"必須 {comparison}{limit}",maxItems:"不應多於 {limit} 個項",minItems:"不應少於 {limit} 個項",maxProperties:"不應多於 {limit} 個屬性",minProperties:"不應少於 {limit} 個屬性",multipleOf:"應當是 {multipleOf} 的整數倍",not:'不應當匹配 "not" schema',oneOf:'只能匹配一個 "oneOf" 中的 schema',pattern:"數據格式不正確",uniqueItems:"不應當含有重複項 (第 {j} 項與第 {i} 項是重複的)",custom:"格式不正確",propertyNames:'屬性名 "{propertyName}" 無效',patternRequired:"應當有屬性匹配模式 {missingPattern}",switch:'由於 {caseIndex} 失敗,未通過 "switch" 校驗',const:"應當等於常量",contains:"應當包含一個有效項",formatExclusiveMaximum:"formatExclusiveMaximum 應當是布爾值",formatExclusiveMinimum:"formatExclusiveMinimum 應當是布爾值",if:'應當匹配模式 "{failingKeyword}"'}}},e.ɵa=j,e.ɵb=xe,Object.defineProperty(e,"__esModule",{value:!0})})); //# sourceMappingURL=theme.umd.min.js.map