@delon/theme 12.4.2 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compact.css +1278 -750
- package/compact.min.css +1 -1
- package/dark.css +1325 -797
- package/dark.min.css +1 -1
- package/default.css +1286 -758
- package/default.min.css +1 -1
- package/{esm2015/layout-blank/layout-blank.js → esm2020/layout-blank/layout-blank.mjs} +0 -0
- package/{esm2015/layout-blank/public_api.js → esm2020/layout-blank/public_api.mjs} +0 -0
- package/{esm2015/layout-default/layout-default.js → esm2020/layout-default/layout-default.mjs} +0 -0
- package/esm2020/layout-default/layout-header-item-trigger.directive.mjs +16 -0
- package/esm2020/layout-default/layout-header-item.component.mjs +33 -0
- package/esm2020/layout-default/layout-header.component.mjs +123 -0
- package/esm2020/layout-default/layout-nav.component.mjs +307 -0
- package/esm2020/layout-default/layout.component.mjs +132 -0
- package/esm2020/layout-default/layout.module.mjs +69 -0
- package/{esm2015/layout-default/public_api.js → esm2020/layout-default/public_api.mjs} +0 -0
- package/{esm2015/layout-default/types.js → esm2020/layout-default/types.mjs} +0 -0
- package/esm2020/public_api.mjs +25 -0
- package/{esm2015/setting-drawer/public_api.js → esm2020/setting-drawer/public_api.mjs} +0 -0
- package/esm2020/setting-drawer/setting-drawer-item.component.mjs +35 -0
- package/esm2020/setting-drawer/setting-drawer.component.mjs +192 -0
- package/{esm2015/setting-drawer/setting-drawer.js → esm2020/setting-drawer/setting-drawer.mjs} +0 -0
- package/esm2020/setting-drawer/setting-drawer.module.mjs +68 -0
- package/{esm2015/setting-drawer/setting-drawer.types.js → esm2020/setting-drawer/setting-drawer.types.mjs} +0 -0
- package/{esm2015/src/config.js → esm2020/src/config.mjs} +0 -0
- package/{esm2015/src/locale/index.js → esm2020/src/locale/index.mjs} +0 -0
- package/{esm2015/src/locale/languages/el-GR.js → esm2020/src/locale/languages/el-GR.mjs} +0 -0
- package/{esm2015/src/locale/languages/en-US.js → esm2020/src/locale/languages/en-US.mjs} +0 -0
- package/{esm2015/src/locale/languages/es-ES.js → esm2020/src/locale/languages/es-ES.mjs} +0 -0
- package/{esm2015/src/locale/languages/fr-FR.js → esm2020/src/locale/languages/fr-FR.mjs} +0 -0
- package/{esm2015/src/locale/languages/hr-HR.js → esm2020/src/locale/languages/hr-HR.mjs} +0 -0
- package/{esm2015/src/locale/languages/it-IT.js → esm2020/src/locale/languages/it-IT.mjs} +0 -0
- package/{esm2015/src/locale/languages/ja-JP.js → esm2020/src/locale/languages/ja-JP.mjs} +0 -0
- package/{esm2015/src/locale/languages/ko-KR.js → esm2020/src/locale/languages/ko-KR.mjs} +0 -0
- package/{esm2015/src/locale/languages/pl-PL.js → esm2020/src/locale/languages/pl-PL.mjs} +0 -0
- package/{esm2015/src/locale/languages/sl-SI.js → esm2020/src/locale/languages/sl-SI.mjs} +0 -0
- package/{esm2015/src/locale/languages/tr-TR.js → esm2020/src/locale/languages/tr-TR.mjs} +0 -0
- package/{esm2015/src/locale/languages/zh-CN.js → esm2020/src/locale/languages/zh-CN.mjs} +0 -0
- package/{esm2015/src/locale/languages/zh-TW.js → esm2020/src/locale/languages/zh-TW.mjs} +0 -0
- package/esm2020/src/locale/locale.module.mjs +17 -0
- package/esm2020/src/locale/locale.service.mjs +45 -0
- package/{esm2015/src/locale/locale.tokens.js → esm2020/src/locale/locale.tokens.mjs} +0 -0
- package/{esm2015/src/locale/locale.types.js → esm2020/src/locale/locale.types.mjs} +0 -0
- package/{esm2015/src/locale/public_api.js → esm2020/src/locale/public_api.mjs} +0 -0
- package/esm2020/src/pipes/date/date.pipe.mjs +24 -0
- package/esm2020/src/pipes/keys/keys.pipe.mjs +21 -0
- package/esm2020/src/pipes/safe/html.pipe.mjs +18 -0
- package/esm2020/src/pipes/safe/url.pipe.mjs +18 -0
- package/esm2020/src/pipes/yn/yn.pipe.mjs +38 -0
- package/esm2020/src/router/optional-preloader.mjs +22 -0
- package/esm2020/src/services/drawer/drawer.helper.mjs +91 -0
- package/esm2020/src/services/http/http.client.mjs +154 -0
- package/esm2020/src/services/http/http.decorator.mjs +215 -0
- package/esm2020/src/services/i18n/i18n.mjs +97 -0
- package/esm2020/src/services/i18n/i18n.pipe.mjs +21 -0
- package/{esm2015/src/services/menu/interface.js → esm2020/src/services/menu/interface.mjs} +0 -0
- package/esm2020/src/services/menu/menu.service.mjs +252 -0
- package/esm2020/src/services/modal/modal.helper.mjs +106 -0
- package/{esm2015/src/services/preloader/preloader.js → esm2020/src/services/preloader/preloader.mjs} +0 -0
- package/esm2020/src/services/responsive/responsive.mjs +46 -0
- package/esm2020/src/services/rtl/rtl.service.mjs +101 -0
- package/esm2020/src/services/settings/settings.service.mjs +100 -0
- package/{esm2015/src/services/settings/types.js → esm2020/src/services/settings/types.mjs} +0 -0
- package/esm2020/src/services/title/title.service.mjs +124 -0
- package/esm2020/src/theme.module.mjs +76 -0
- package/{esm2015/src/version.js → esm2020/src/version.mjs} +1 -1
- package/{esm2015/theme-btn/public_api.js → esm2020/theme-btn/public_api.mjs} +0 -0
- package/esm2020/theme-btn/theme-btn.component.mjs +106 -0
- package/esm2020/theme-btn/theme-btn.mjs +5 -0
- package/esm2020/theme-btn/theme-btn.module.mjs +32 -0
- package/esm2020/theme.mjs +5 -0
- package/fesm2015/{layout-blank.js → layout-blank.mjs} +1 -1
- package/fesm2015/layout-blank.mjs.map +1 -0
- package/fesm2015/layout-default.mjs +654 -0
- package/fesm2015/layout-default.mjs.map +1 -0
- package/fesm2015/setting-drawer.mjs +487 -0
- package/fesm2015/setting-drawer.mjs.map +1 -0
- package/fesm2015/theme-btn.mjs +144 -0
- package/fesm2015/theme-btn.mjs.map +1 -0
- package/fesm2015/{theme.js → theme.mjs} +226 -188
- package/fesm2015/theme.mjs.map +1 -0
- package/fesm2020/layout-blank.mjs +7 -0
- package/fesm2020/layout-blank.mjs.map +1 -0
- package/fesm2020/layout-default.mjs +654 -0
- package/fesm2020/layout-default.mjs.map +1 -0
- package/fesm2020/setting-drawer.mjs +482 -0
- package/fesm2020/setting-drawer.mjs.map +1 -0
- package/fesm2020/theme-btn.mjs +141 -0
- package/fesm2020/theme-btn.mjs.map +1 -0
- package/fesm2020/theme.mjs +2575 -0
- package/fesm2020/theme.mjs.map +1 -0
- package/layout-blank/layout-blank.d.ts +1 -0
- package/layout-blank/package.json +5 -6
- package/layout-default/layout-default.d.ts +1 -0
- package/layout-default/layout-header-item-trigger.directive.d.ts +3 -0
- package/layout-default/layout-header-item.component.d.ts +3 -0
- package/layout-default/layout-header.component.d.ts +8 -5
- package/layout-default/layout-nav.component.d.ts +4 -1
- package/layout-default/layout.component.d.ts +6 -3
- package/layout-default/layout.module.d.ts +17 -0
- package/layout-default/package.json +5 -6
- package/layout-default/style/_aside.less +7 -10
- package/layout-default/style/_fixed.less +2 -0
- package/layout-default/style/_header.less +21 -0
- package/layout-default/style/_layout.less +7 -0
- package/layout-default/style/_progress-bar.less +6 -0
- package/layout-default/style/fix/_full-content.less +4 -0
- package/layout-default/style/widgets/_app-icons.less +3 -0
- package/layout-default/style/widgets/_user.less +5 -0
- package/package.json +55 -11
- package/public_api.d.ts +1 -0
- package/setting-drawer/package.json +5 -6
- package/setting-drawer/setting-drawer-item.component.d.ts +3 -0
- package/setting-drawer/setting-drawer.component.d.ts +3 -0
- package/setting-drawer/setting-drawer.d.ts +1 -0
- package/setting-drawer/setting-drawer.module.d.ts +18 -0
- package/setting-drawer/style/index.less +9 -0
- package/setting-drawer/style/rtl.less +1 -0
- package/src/locale/locale.module.d.ts +4 -0
- package/src/locale/locale.service.d.ts +3 -0
- package/src/pipes/date/date.pipe.d.ts +3 -0
- package/src/pipes/keys/keys.pipe.d.ts +3 -0
- package/src/pipes/safe/html.pipe.d.ts +3 -0
- package/src/pipes/safe/url.pipe.d.ts +3 -0
- package/src/pipes/yn/style/index.less +3 -0
- package/src/pipes/yn/yn.pipe.d.ts +3 -0
- package/src/services/drawer/drawer.helper.d.ts +3 -0
- package/src/services/http/http.client.d.ts +3 -0
- package/src/services/http/http.decorator.d.ts +3 -0
- package/src/services/i18n/i18n.d.ts +5 -0
- package/src/services/i18n/i18n.pipe.d.ts +3 -0
- package/src/services/menu/menu.service.d.ts +5 -0
- package/src/services/modal/modal.helper.d.ts +3 -0
- package/src/services/responsive/responsive.d.ts +3 -0
- package/src/services/rtl/rtl.service.d.ts +3 -0
- package/src/services/settings/settings.service.d.ts +9 -0
- package/src/services/title/title.service.d.ts +3 -0
- package/src/theme.module.d.ts +15 -0
- package/system/_preloader.less +10 -0
- package/system/_type.less +5 -0
- package/system/antd/_modal.less +5 -0
- package/system/antd/_table.less +7 -0
- package/system/index.less +3 -3
- package/system/mixins/_freak.less +2 -2
- package/system/mixins/_text-truncate.less +2 -0
- package/system/ng/_form.less +1 -0
- package/system/theme-default.less +3 -1
- package/system/utils/_display.less +9 -0
- package/system/utils/_other.less +2 -0
- package/system/utils/_scrollbar.less +3 -0
- package/system/widgets/_abs.less +3 -0
- package/system/widgets/_half-float.less +2 -0
- package/system/widgets/_masonry-grid.less +2 -0
- package/theme-btn/package.json +6 -7
- package/theme-btn/style/index.less +1 -0
- package/theme-btn/theme-btn.component.d.ts +3 -0
- package/theme-btn/{layout-theme-btn.d.ts → theme-btn.d.ts} +1 -0
- package/theme-btn/theme-btn.module.d.ts +8 -0
- package/theme-compact.less +1 -1
- package/theme-dark.less +1 -1
- package/theme-default.less +1 -1
- package/theme.d.ts +1 -1
- package/bundles/layout-blank.umd.js +0 -19
- package/bundles/layout-blank.umd.js.map +0 -1
- package/bundles/layout-default.umd.js +0 -876
- package/bundles/layout-default.umd.js.map +0 -1
- package/bundles/layout-theme-btn.umd.js +0 -141
- package/bundles/layout-theme-btn.umd.js.map +0 -1
- package/bundles/setting-drawer.umd.js +0 -789
- package/bundles/setting-drawer.umd.js.map +0 -1
- package/bundles/theme.umd.js +0 -3075
- package/bundles/theme.umd.js.map +0 -1
- package/esm2015/layout-default/layout-header-item-trigger.directive.js +0 -12
- package/esm2015/layout-default/layout-header-item.component.js +0 -23
- package/esm2015/layout-default/layout-header.component.js +0 -94
- package/esm2015/layout-default/layout-nav.component.js +0 -306
- package/esm2015/layout-default/layout.component.js +0 -102
- package/esm2015/layout-default/layout.module.js +0 -40
- package/esm2015/public_api.js +0 -24
- package/esm2015/setting-drawer/setting-drawer-item.component.js +0 -30
- package/esm2015/setting-drawer/setting-drawer.component.js +0 -185
- package/esm2015/setting-drawer/setting-drawer.module.js +0 -39
- package/esm2015/src/locale/locale.module.js +0 -14
- package/esm2015/src/locale/locale.service.js +0 -42
- package/esm2015/src/pipes/date/date.pipe.js +0 -23
- package/esm2015/src/pipes/keys/keys.pipe.js +0 -17
- package/esm2015/src/pipes/safe/html.pipe.js +0 -17
- package/esm2015/src/pipes/safe/url.pipe.js +0 -17
- package/esm2015/src/pipes/yn/yn.pipe.js +0 -37
- package/esm2015/src/router/optional-preloader.js +0 -23
- package/esm2015/src/services/drawer/drawer.helper.js +0 -90
- package/esm2015/src/services/http/http.client.js +0 -138
- package/esm2015/src/services/http/http.decorator.js +0 -207
- package/esm2015/src/services/i18n/i18n.js +0 -96
- package/esm2015/src/services/i18n/i18n.pipe.js +0 -17
- package/esm2015/src/services/menu/menu.service.js +0 -252
- package/esm2015/src/services/modal/modal.helper.js +0 -105
- package/esm2015/src/services/responsive/responsive.js +0 -48
- package/esm2015/src/services/rtl/rtl.service.js +0 -110
- package/esm2015/src/services/settings/settings.service.js +0 -82
- package/esm2015/src/services/title/title.service.js +0 -125
- package/esm2015/src/theme.module.js +0 -67
- package/esm2015/theme-btn/layout-theme-btn.js +0 -5
- package/esm2015/theme-btn/theme-btn.component.js +0 -103
- package/esm2015/theme-btn/theme-btn.module.js +0 -22
- package/esm2015/theme.js +0 -6
- package/fesm2015/layout-blank.js.map +0 -1
- package/fesm2015/layout-default.js +0 -561
- package/fesm2015/layout-default.js.map +0 -1
- package/fesm2015/layout-theme-btn.js +0 -129
- package/fesm2015/layout-theme-btn.js.map +0 -1
- package/fesm2015/setting-drawer.js +0 -448
- package/fesm2015/setting-drawer.js.map +0 -1
- package/fesm2015/theme.js.map +0 -1
- package/layout-blank/layout-blank.metadata.json +0 -1
- package/layout-default/layout-default.metadata.json +0 -1
- package/setting-drawer/setting-drawer.metadata.json +0 -1
- package/theme-btn/layout-theme-btn.metadata.json +0 -1
- package/theme.metadata.json +0 -1
package/bundles/theme.umd.js
DELETED
|
@@ -1,3075 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license ng-alain(cipchk@qq.com) v12.4.2
|
|
3
|
-
* (c) 2020 cipchk https://ng-alain.com/
|
|
4
|
-
* License: MIT
|
|
5
|
-
*/
|
|
6
|
-
(function (global, factory) {
|
|
7
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@delon/acl'), require('@delon/util/config'), require('@angular/cdk/platform'), require('@angular/cdk/bidi'), require('@angular/common'), require('ng-zorro-antd/core/config'), require('@angular/platform-browser'), require('@angular/router'), require('@delon/util/other'), require('ng-zorro-antd/modal'), require('ng-zorro-antd/drawer'), require('@angular/common/http'), require('date-fns'), require('@delon/util/date-time'), require('ng-zorro-antd/i18n'), require('@angular/cdk/overlay'), require('@ant-design/icons-angular/icons'), require('ng-zorro-antd/icon')) :
|
|
8
|
-
typeof define === 'function' && define.amd ? define('@delon/theme', ['exports', '@angular/core', 'rxjs', 'rxjs/operators', '@delon/acl', '@delon/util/config', '@angular/cdk/platform', '@angular/cdk/bidi', '@angular/common', 'ng-zorro-antd/core/config', '@angular/platform-browser', '@angular/router', '@delon/util/other', 'ng-zorro-antd/modal', 'ng-zorro-antd/drawer', '@angular/common/http', 'date-fns', '@delon/util/date-time', 'ng-zorro-antd/i18n', '@angular/cdk/overlay', '@ant-design/icons-angular/icons', 'ng-zorro-antd/icon'], factory) :
|
|
9
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.delon = global.delon || {}, global.delon.theme = {}), global.ng.core, global.rxjs, global.rxjs.operators, global.delon.acl, global.delon.util.config, global.ng.cdk.platform, global.ng.cdk.bidi, global.ng.common, global.i3, global.ng.platformBrowser, global.ng.router, global.delon.util.other, global["ng-zorro-antd/modal"], global["ng-zorro-antd/drawer"], global.ng.common.http, global.DateFns, global.delon.util["date-time"], global["ng-zorro-antd/i18n"], global.ng.cdk.overlay, global.icons, global["ng-zorro-antd/icon"]));
|
|
10
|
-
})(this, (function (exports, i0, rxjs, operators, i2, i1, i1$1, i1$2, i6, i3, i1$3, router, other, i1$4, i1$5, i1$6, dateFns, dateTime, i18n, overlay, icons, icon) { 'use strict';
|
|
11
|
-
|
|
12
|
-
function _interopNamespace(e) {
|
|
13
|
-
if (e && e.__esModule) return e;
|
|
14
|
-
var n = Object.create(null);
|
|
15
|
-
if (e) {
|
|
16
|
-
Object.keys(e).forEach(function (k) {
|
|
17
|
-
if (k !== 'default') {
|
|
18
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
19
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () { return e[k]; }
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
n["default"] = e;
|
|
27
|
-
return Object.freeze(n);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
31
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
32
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
33
|
-
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
34
|
-
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
35
|
-
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
36
|
-
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
37
|
-
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
38
|
-
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
39
|
-
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
40
|
-
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
41
|
-
|
|
42
|
-
function preloaderFinished() {
|
|
43
|
-
var body = document.querySelector('body');
|
|
44
|
-
var preloader = document.querySelector('.preloader');
|
|
45
|
-
body.style.overflow = 'hidden';
|
|
46
|
-
function remove() {
|
|
47
|
-
// preloader value null when running --hmr
|
|
48
|
-
if (!preloader)
|
|
49
|
-
return;
|
|
50
|
-
preloader.addEventListener('transitionend', function () {
|
|
51
|
-
preloader.className = 'preloader-hidden';
|
|
52
|
-
});
|
|
53
|
-
preloader.className += ' preloader-hidden-add preloader-hidden-add-active';
|
|
54
|
-
}
|
|
55
|
-
window.appBootstrap = function () {
|
|
56
|
-
setTimeout(function () {
|
|
57
|
-
remove();
|
|
58
|
-
body.style.overflow = '';
|
|
59
|
-
}, 100);
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/*! *****************************************************************************
|
|
64
|
-
Copyright (c) Microsoft Corporation.
|
|
65
|
-
|
|
66
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
67
|
-
purpose with or without fee is hereby granted.
|
|
68
|
-
|
|
69
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
70
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
71
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
72
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
73
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
74
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
75
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
76
|
-
***************************************************************************** */
|
|
77
|
-
/* global Reflect, Promise */
|
|
78
|
-
var extendStatics = function (d, b) {
|
|
79
|
-
extendStatics = Object.setPrototypeOf ||
|
|
80
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
81
|
-
function (d, b) { for (var p in b)
|
|
82
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
83
|
-
d[p] = b[p]; };
|
|
84
|
-
return extendStatics(d, b);
|
|
85
|
-
};
|
|
86
|
-
function __extends(d, b) {
|
|
87
|
-
if (typeof b !== "function" && b !== null)
|
|
88
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
89
|
-
extendStatics(d, b);
|
|
90
|
-
function __() { this.constructor = d; }
|
|
91
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
92
|
-
}
|
|
93
|
-
var __assign = function () {
|
|
94
|
-
__assign = Object.assign || function __assign(t) {
|
|
95
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
96
|
-
s = arguments[i];
|
|
97
|
-
for (var p in s)
|
|
98
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
99
|
-
t[p] = s[p];
|
|
100
|
-
}
|
|
101
|
-
return t;
|
|
102
|
-
};
|
|
103
|
-
return __assign.apply(this, arguments);
|
|
104
|
-
};
|
|
105
|
-
function __rest(s, e) {
|
|
106
|
-
var t = {};
|
|
107
|
-
for (var p in s)
|
|
108
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
109
|
-
t[p] = s[p];
|
|
110
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
111
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
112
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
113
|
-
t[p[i]] = s[p[i]];
|
|
114
|
-
}
|
|
115
|
-
return t;
|
|
116
|
-
}
|
|
117
|
-
function __decorate(decorators, target, key, desc) {
|
|
118
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
119
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
120
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
121
|
-
else
|
|
122
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
123
|
-
if (d = decorators[i])
|
|
124
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
125
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
126
|
-
}
|
|
127
|
-
function __param(paramIndex, decorator) {
|
|
128
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
|
129
|
-
}
|
|
130
|
-
function __metadata(metadataKey, metadataValue) {
|
|
131
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
132
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
133
|
-
}
|
|
134
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
135
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
136
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
137
|
-
function fulfilled(value) { try {
|
|
138
|
-
step(generator.next(value));
|
|
139
|
-
}
|
|
140
|
-
catch (e) {
|
|
141
|
-
reject(e);
|
|
142
|
-
} }
|
|
143
|
-
function rejected(value) { try {
|
|
144
|
-
step(generator["throw"](value));
|
|
145
|
-
}
|
|
146
|
-
catch (e) {
|
|
147
|
-
reject(e);
|
|
148
|
-
} }
|
|
149
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
150
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
function __generator(thisArg, body) {
|
|
154
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
155
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
156
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
157
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
158
|
-
function step(op) {
|
|
159
|
-
if (f)
|
|
160
|
-
throw new TypeError("Generator is already executing.");
|
|
161
|
-
while (_)
|
|
162
|
-
try {
|
|
163
|
-
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)
|
|
164
|
-
return t;
|
|
165
|
-
if (y = 0, t)
|
|
166
|
-
op = [op[0] & 2, t.value];
|
|
167
|
-
switch (op[0]) {
|
|
168
|
-
case 0:
|
|
169
|
-
case 1:
|
|
170
|
-
t = op;
|
|
171
|
-
break;
|
|
172
|
-
case 4:
|
|
173
|
-
_.label++;
|
|
174
|
-
return { value: op[1], done: false };
|
|
175
|
-
case 5:
|
|
176
|
-
_.label++;
|
|
177
|
-
y = op[1];
|
|
178
|
-
op = [0];
|
|
179
|
-
continue;
|
|
180
|
-
case 7:
|
|
181
|
-
op = _.ops.pop();
|
|
182
|
-
_.trys.pop();
|
|
183
|
-
continue;
|
|
184
|
-
default:
|
|
185
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
186
|
-
_ = 0;
|
|
187
|
-
continue;
|
|
188
|
-
}
|
|
189
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
190
|
-
_.label = op[1];
|
|
191
|
-
break;
|
|
192
|
-
}
|
|
193
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
194
|
-
_.label = t[1];
|
|
195
|
-
t = op;
|
|
196
|
-
break;
|
|
197
|
-
}
|
|
198
|
-
if (t && _.label < t[2]) {
|
|
199
|
-
_.label = t[2];
|
|
200
|
-
_.ops.push(op);
|
|
201
|
-
break;
|
|
202
|
-
}
|
|
203
|
-
if (t[2])
|
|
204
|
-
_.ops.pop();
|
|
205
|
-
_.trys.pop();
|
|
206
|
-
continue;
|
|
207
|
-
}
|
|
208
|
-
op = body.call(thisArg, _);
|
|
209
|
-
}
|
|
210
|
-
catch (e) {
|
|
211
|
-
op = [6, e];
|
|
212
|
-
y = 0;
|
|
213
|
-
}
|
|
214
|
-
finally {
|
|
215
|
-
f = t = 0;
|
|
216
|
-
}
|
|
217
|
-
if (op[0] & 5)
|
|
218
|
-
throw op[1];
|
|
219
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
223
|
-
if (k2 === undefined)
|
|
224
|
-
k2 = k;
|
|
225
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
226
|
-
}) : (function (o, m, k, k2) {
|
|
227
|
-
if (k2 === undefined)
|
|
228
|
-
k2 = k;
|
|
229
|
-
o[k2] = m[k];
|
|
230
|
-
});
|
|
231
|
-
function __exportStar(m, o) {
|
|
232
|
-
for (var p in m)
|
|
233
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
234
|
-
__createBinding(o, m, p);
|
|
235
|
-
}
|
|
236
|
-
function __values(o) {
|
|
237
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
238
|
-
if (m)
|
|
239
|
-
return m.call(o);
|
|
240
|
-
if (o && typeof o.length === "number")
|
|
241
|
-
return {
|
|
242
|
-
next: function () {
|
|
243
|
-
if (o && i >= o.length)
|
|
244
|
-
o = void 0;
|
|
245
|
-
return { value: o && o[i++], done: !o };
|
|
246
|
-
}
|
|
247
|
-
};
|
|
248
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
249
|
-
}
|
|
250
|
-
function __read(o, n) {
|
|
251
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
252
|
-
if (!m)
|
|
253
|
-
return o;
|
|
254
|
-
var i = m.call(o), r, ar = [], e;
|
|
255
|
-
try {
|
|
256
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
257
|
-
ar.push(r.value);
|
|
258
|
-
}
|
|
259
|
-
catch (error) {
|
|
260
|
-
e = { error: error };
|
|
261
|
-
}
|
|
262
|
-
finally {
|
|
263
|
-
try {
|
|
264
|
-
if (r && !r.done && (m = i["return"]))
|
|
265
|
-
m.call(i);
|
|
266
|
-
}
|
|
267
|
-
finally {
|
|
268
|
-
if (e)
|
|
269
|
-
throw e.error;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
return ar;
|
|
273
|
-
}
|
|
274
|
-
/** @deprecated */
|
|
275
|
-
function __spread() {
|
|
276
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
277
|
-
ar = ar.concat(__read(arguments[i]));
|
|
278
|
-
return ar;
|
|
279
|
-
}
|
|
280
|
-
/** @deprecated */
|
|
281
|
-
function __spreadArrays() {
|
|
282
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
283
|
-
s += arguments[i].length;
|
|
284
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
285
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
286
|
-
r[k] = a[j];
|
|
287
|
-
return r;
|
|
288
|
-
}
|
|
289
|
-
function __spreadArray(to, from, pack) {
|
|
290
|
-
if (pack || arguments.length === 2)
|
|
291
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
292
|
-
if (ar || !(i in from)) {
|
|
293
|
-
if (!ar)
|
|
294
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
295
|
-
ar[i] = from[i];
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
299
|
-
}
|
|
300
|
-
function __await(v) {
|
|
301
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
302
|
-
}
|
|
303
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
304
|
-
if (!Symbol.asyncIterator)
|
|
305
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
306
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
307
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
308
|
-
function verb(n) { if (g[n])
|
|
309
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
310
|
-
function resume(n, v) { try {
|
|
311
|
-
step(g[n](v));
|
|
312
|
-
}
|
|
313
|
-
catch (e) {
|
|
314
|
-
settle(q[0][3], e);
|
|
315
|
-
} }
|
|
316
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
317
|
-
function fulfill(value) { resume("next", value); }
|
|
318
|
-
function reject(value) { resume("throw", value); }
|
|
319
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
320
|
-
resume(q[0][0], q[0][1]); }
|
|
321
|
-
}
|
|
322
|
-
function __asyncDelegator(o) {
|
|
323
|
-
var i, p;
|
|
324
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
325
|
-
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; }
|
|
326
|
-
}
|
|
327
|
-
function __asyncValues(o) {
|
|
328
|
-
if (!Symbol.asyncIterator)
|
|
329
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
330
|
-
var m = o[Symbol.asyncIterator], i;
|
|
331
|
-
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);
|
|
332
|
-
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); }); }; }
|
|
333
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
334
|
-
}
|
|
335
|
-
function __makeTemplateObject(cooked, raw) {
|
|
336
|
-
if (Object.defineProperty) {
|
|
337
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
338
|
-
}
|
|
339
|
-
else {
|
|
340
|
-
cooked.raw = raw;
|
|
341
|
-
}
|
|
342
|
-
return cooked;
|
|
343
|
-
}
|
|
344
|
-
;
|
|
345
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
346
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
347
|
-
}) : function (o, v) {
|
|
348
|
-
o["default"] = v;
|
|
349
|
-
};
|
|
350
|
-
function __importStar(mod) {
|
|
351
|
-
if (mod && mod.__esModule)
|
|
352
|
-
return mod;
|
|
353
|
-
var result = {};
|
|
354
|
-
if (mod != null)
|
|
355
|
-
for (var k in mod)
|
|
356
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
357
|
-
__createBinding(result, mod, k);
|
|
358
|
-
__setModuleDefault(result, mod);
|
|
359
|
-
return result;
|
|
360
|
-
}
|
|
361
|
-
function __importDefault(mod) {
|
|
362
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
363
|
-
}
|
|
364
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
365
|
-
if (kind === "a" && !f)
|
|
366
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
367
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
368
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
369
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
370
|
-
}
|
|
371
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
372
|
-
if (kind === "m")
|
|
373
|
-
throw new TypeError("Private method is not writable");
|
|
374
|
-
if (kind === "a" && !f)
|
|
375
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
376
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
377
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
378
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
var ALAIN_I18N_TOKEN = new i0.InjectionToken('alainI18nToken', {
|
|
382
|
-
providedIn: 'root',
|
|
383
|
-
factory: function () { return new AlainI18NServiceFake(i0.inject(i1.AlainConfigService)); }
|
|
384
|
-
});
|
|
385
|
-
var AlainI18nBaseService = /** @class */ (function () {
|
|
386
|
-
function AlainI18nBaseService(cogSrv) {
|
|
387
|
-
this._change$ = new rxjs.BehaviorSubject(null);
|
|
388
|
-
this._currentLang = '';
|
|
389
|
-
this._defaultLang = '';
|
|
390
|
-
this._data = {};
|
|
391
|
-
this.cog = cogSrv.merge('themeI18n', {
|
|
392
|
-
interpolation: ['{{', '}}']
|
|
393
|
-
});
|
|
394
|
-
}
|
|
395
|
-
Object.defineProperty(AlainI18nBaseService.prototype, "change", {
|
|
396
|
-
get: function () {
|
|
397
|
-
return this._change$.asObservable().pipe(operators.filter(function (w) { return w != null; }));
|
|
398
|
-
},
|
|
399
|
-
enumerable: false,
|
|
400
|
-
configurable: true
|
|
401
|
-
});
|
|
402
|
-
Object.defineProperty(AlainI18nBaseService.prototype, "defaultLang", {
|
|
403
|
-
get: function () {
|
|
404
|
-
return this._defaultLang;
|
|
405
|
-
},
|
|
406
|
-
enumerable: false,
|
|
407
|
-
configurable: true
|
|
408
|
-
});
|
|
409
|
-
Object.defineProperty(AlainI18nBaseService.prototype, "currentLang", {
|
|
410
|
-
get: function () {
|
|
411
|
-
return this._currentLang;
|
|
412
|
-
},
|
|
413
|
-
enumerable: false,
|
|
414
|
-
configurable: true
|
|
415
|
-
});
|
|
416
|
-
Object.defineProperty(AlainI18nBaseService.prototype, "data", {
|
|
417
|
-
get: function () {
|
|
418
|
-
return this._data;
|
|
419
|
-
},
|
|
420
|
-
enumerable: false,
|
|
421
|
-
configurable: true
|
|
422
|
-
});
|
|
423
|
-
/**
|
|
424
|
-
* Flattened data source
|
|
425
|
-
*
|
|
426
|
-
* @example
|
|
427
|
-
* {
|
|
428
|
-
* "name": "Name",
|
|
429
|
-
* "sys": {
|
|
430
|
-
* "": "System",
|
|
431
|
-
* "title": "Title"
|
|
432
|
-
* }
|
|
433
|
-
* }
|
|
434
|
-
* =>
|
|
435
|
-
* {
|
|
436
|
-
* "name": "Name",
|
|
437
|
-
* "sys": "System",
|
|
438
|
-
* "sys.title": "Title"
|
|
439
|
-
* }
|
|
440
|
-
*/
|
|
441
|
-
AlainI18nBaseService.prototype.flatData = function (data, parentKey) {
|
|
442
|
-
var e_1, _a;
|
|
443
|
-
var res = {};
|
|
444
|
-
var _loop_1 = function (key) {
|
|
445
|
-
var value = data[key];
|
|
446
|
-
if (typeof value === 'object') {
|
|
447
|
-
var child_1 = this_1.flatData(value, parentKey.concat(key));
|
|
448
|
-
Object.keys(child_1).forEach(function (childKey) { return (res[childKey] = child_1[childKey]); });
|
|
449
|
-
}
|
|
450
|
-
else {
|
|
451
|
-
res[(key ? parentKey.concat(key) : parentKey).join('.')] = "" + value;
|
|
452
|
-
}
|
|
453
|
-
};
|
|
454
|
-
var this_1 = this;
|
|
455
|
-
try {
|
|
456
|
-
for (var _b = __values(Object.keys(data)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
457
|
-
var key = _c.value;
|
|
458
|
-
_loop_1(key);
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
462
|
-
finally {
|
|
463
|
-
try {
|
|
464
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
465
|
-
}
|
|
466
|
-
finally { if (e_1) throw e_1.error; }
|
|
467
|
-
}
|
|
468
|
-
return res;
|
|
469
|
-
};
|
|
470
|
-
AlainI18nBaseService.prototype.fanyi = function (path, params) {
|
|
471
|
-
var content = this._data[path] || '';
|
|
472
|
-
if (!content)
|
|
473
|
-
return path;
|
|
474
|
-
if (params) {
|
|
475
|
-
var interpolation_1 = this.cog.interpolation;
|
|
476
|
-
Object.keys(params).forEach(function (key) { return (content = content.replace(new RegExp(interpolation_1[0] + "s?" + key + "s?" + interpolation_1[1], 'g'), "" + params[key])); });
|
|
477
|
-
}
|
|
478
|
-
return content;
|
|
479
|
-
};
|
|
480
|
-
return AlainI18nBaseService;
|
|
481
|
-
}());
|
|
482
|
-
AlainI18nBaseService.decorators = [
|
|
483
|
-
{ type: i0.Injectable }
|
|
484
|
-
];
|
|
485
|
-
AlainI18nBaseService.ctorParameters = function () { return [
|
|
486
|
-
{ type: i1.AlainConfigService }
|
|
487
|
-
]; };
|
|
488
|
-
var AlainI18NServiceFake = /** @class */ (function (_super) {
|
|
489
|
-
__extends(AlainI18NServiceFake, _super);
|
|
490
|
-
function AlainI18NServiceFake() {
|
|
491
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
492
|
-
}
|
|
493
|
-
AlainI18NServiceFake.prototype.use = function (lang, data) {
|
|
494
|
-
this._data = this.flatData(data, []);
|
|
495
|
-
this._currentLang = lang;
|
|
496
|
-
this._change$.next(lang);
|
|
497
|
-
};
|
|
498
|
-
AlainI18NServiceFake.prototype.getLangs = function () {
|
|
499
|
-
return [];
|
|
500
|
-
};
|
|
501
|
-
return AlainI18NServiceFake;
|
|
502
|
-
}(AlainI18nBaseService));
|
|
503
|
-
AlainI18NServiceFake.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function AlainI18NServiceFake_Factory() { return new AlainI18NServiceFake(i0__namespace.ɵɵinject(i1__namespace.AlainConfigService)); }, token: AlainI18NServiceFake, providedIn: "root" });
|
|
504
|
-
AlainI18NServiceFake.decorators = [
|
|
505
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
506
|
-
];
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* 菜单服务,[在线文档](https://ng-alain.com/theme/menu)
|
|
510
|
-
*/
|
|
511
|
-
var MenuService = /** @class */ (function () {
|
|
512
|
-
function MenuService(i18nSrv, aclService) {
|
|
513
|
-
var _this = this;
|
|
514
|
-
this.i18nSrv = i18nSrv;
|
|
515
|
-
this.aclService = aclService;
|
|
516
|
-
this._change$ = new rxjs.BehaviorSubject([]);
|
|
517
|
-
this.data = [];
|
|
518
|
-
this.i18n$ = this.i18nSrv.change.subscribe(function () { return _this.resume(); });
|
|
519
|
-
}
|
|
520
|
-
Object.defineProperty(MenuService.prototype, "change", {
|
|
521
|
-
get: function () {
|
|
522
|
-
return this._change$.pipe(operators.share());
|
|
523
|
-
},
|
|
524
|
-
enumerable: false,
|
|
525
|
-
configurable: true
|
|
526
|
-
});
|
|
527
|
-
MenuService.prototype.visit = function (data, callback) {
|
|
528
|
-
var inFn = function (list, parentMenu, depth) {
|
|
529
|
-
var e_1, _a;
|
|
530
|
-
try {
|
|
531
|
-
for (var list_1 = __values(list), list_1_1 = list_1.next(); !list_1_1.done; list_1_1 = list_1.next()) {
|
|
532
|
-
var item = list_1_1.value;
|
|
533
|
-
callback(item, parentMenu, depth);
|
|
534
|
-
if (item.children && item.children.length > 0) {
|
|
535
|
-
inFn(item.children, item, depth + 1);
|
|
536
|
-
}
|
|
537
|
-
else {
|
|
538
|
-
item.children = [];
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
543
|
-
finally {
|
|
544
|
-
try {
|
|
545
|
-
if (list_1_1 && !list_1_1.done && (_a = list_1.return)) _a.call(list_1);
|
|
546
|
-
}
|
|
547
|
-
finally { if (e_1) throw e_1.error; }
|
|
548
|
-
}
|
|
549
|
-
};
|
|
550
|
-
inFn(data, null, 0);
|
|
551
|
-
};
|
|
552
|
-
MenuService.prototype.add = function (items) {
|
|
553
|
-
this.data = items;
|
|
554
|
-
this.resume();
|
|
555
|
-
};
|
|
556
|
-
MenuService.prototype.fixItem = function (item) {
|
|
557
|
-
item._aclResult = true;
|
|
558
|
-
if (!item.link)
|
|
559
|
-
item.link = '';
|
|
560
|
-
if (!item.externalLink)
|
|
561
|
-
item.externalLink = '';
|
|
562
|
-
// badge
|
|
563
|
-
if (item.badge) {
|
|
564
|
-
if (item.badgeDot !== true) {
|
|
565
|
-
item.badgeDot = false;
|
|
566
|
-
}
|
|
567
|
-
if (!item.badgeStatus) {
|
|
568
|
-
item.badgeStatus = 'error';
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
if (!Array.isArray(item.children)) {
|
|
572
|
-
item.children = [];
|
|
573
|
-
}
|
|
574
|
-
// icon
|
|
575
|
-
if (typeof item.icon === 'string') {
|
|
576
|
-
var type = 'class';
|
|
577
|
-
var value = item.icon;
|
|
578
|
-
// compatible `anticon anticon-user`
|
|
579
|
-
if (~item.icon.indexOf("anticon-")) {
|
|
580
|
-
type = 'icon';
|
|
581
|
-
value = value.split('-').slice(1).join('-');
|
|
582
|
-
}
|
|
583
|
-
else if (/^https?:\/\//.test(item.icon)) {
|
|
584
|
-
type = 'img';
|
|
585
|
-
}
|
|
586
|
-
item.icon = { type: type, value: value };
|
|
587
|
-
}
|
|
588
|
-
if (item.icon != null) {
|
|
589
|
-
item.icon = Object.assign({ theme: 'outline', spin: false }, item.icon);
|
|
590
|
-
}
|
|
591
|
-
item.text = item.i18n && this.i18nSrv ? this.i18nSrv.fanyi(item.i18n) : item.text;
|
|
592
|
-
// group
|
|
593
|
-
item.group = item.group !== false;
|
|
594
|
-
// hidden
|
|
595
|
-
item._hidden = typeof item.hide === 'undefined' ? false : item.hide;
|
|
596
|
-
// disabled
|
|
597
|
-
item.disabled = typeof item.disabled === 'undefined' ? false : item.disabled;
|
|
598
|
-
// acl
|
|
599
|
-
item._aclResult = item.acl && this.aclService ? this.aclService.can(item.acl) : true;
|
|
600
|
-
};
|
|
601
|
-
/**
|
|
602
|
-
* 重置菜单,可能I18N、用户权限变动时需要调用刷新
|
|
603
|
-
*/
|
|
604
|
-
MenuService.prototype.resume = function (callback) {
|
|
605
|
-
var _this = this;
|
|
606
|
-
var i = 1;
|
|
607
|
-
var shortcuts = [];
|
|
608
|
-
this.visit(this.data, function (item, parent, depth) {
|
|
609
|
-
item._id = i++;
|
|
610
|
-
item._parent = parent;
|
|
611
|
-
item._depth = depth;
|
|
612
|
-
_this.fixItem(item);
|
|
613
|
-
// shortcut
|
|
614
|
-
if (parent && item.shortcut === true && parent.shortcutRoot !== true) {
|
|
615
|
-
shortcuts.push(item);
|
|
616
|
-
}
|
|
617
|
-
if (callback)
|
|
618
|
-
callback(item, parent, depth);
|
|
619
|
-
});
|
|
620
|
-
this.loadShortcut(shortcuts);
|
|
621
|
-
this._change$.next(this.data);
|
|
622
|
-
};
|
|
623
|
-
/**
|
|
624
|
-
* 加载快捷菜单,加载位置规则如下:
|
|
625
|
-
* 1、统一在下标0的节点下(即【主导航】节点下方)
|
|
626
|
-
* 1、若 children 存在 【shortcutRoot: true】则最优先【推荐】这种方式
|
|
627
|
-
* 2、否则查找带有【dashboard】字样链接,若存在则在此菜单的下方创建快捷入口
|
|
628
|
-
* 3、否则放在0节点位置
|
|
629
|
-
*/
|
|
630
|
-
MenuService.prototype.loadShortcut = function (shortcuts) {
|
|
631
|
-
if (shortcuts.length === 0 || this.data.length === 0) {
|
|
632
|
-
return;
|
|
633
|
-
}
|
|
634
|
-
var ls = this.data[0].children;
|
|
635
|
-
var pos = ls.findIndex(function (w) { return w.shortcutRoot === true; });
|
|
636
|
-
if (pos === -1) {
|
|
637
|
-
pos = ls.findIndex(function (w) { return w.link.includes('dashboard'); });
|
|
638
|
-
pos = (pos !== -1 ? pos : -1) + 1;
|
|
639
|
-
var shortcutMenu = {
|
|
640
|
-
text: '快捷菜单',
|
|
641
|
-
i18n: 'shortcut',
|
|
642
|
-
icon: 'icon-rocket',
|
|
643
|
-
children: []
|
|
644
|
-
};
|
|
645
|
-
this.data[0].children.splice(pos, 0, shortcutMenu);
|
|
646
|
-
}
|
|
647
|
-
var _data = this.data[0].children[pos];
|
|
648
|
-
if (_data.i18n && this.i18nSrv)
|
|
649
|
-
_data.text = this.i18nSrv.fanyi(_data.i18n);
|
|
650
|
-
_data = Object.assign(_data, {
|
|
651
|
-
shortcutRoot: true,
|
|
652
|
-
_id: -1,
|
|
653
|
-
_parent: null,
|
|
654
|
-
_depth: 1
|
|
655
|
-
});
|
|
656
|
-
_data.children = shortcuts.map(function (i) {
|
|
657
|
-
i._depth = 2;
|
|
658
|
-
i._parent = _data;
|
|
659
|
-
return i;
|
|
660
|
-
});
|
|
661
|
-
};
|
|
662
|
-
Object.defineProperty(MenuService.prototype, "menus", {
|
|
663
|
-
get: function () {
|
|
664
|
-
return this.data;
|
|
665
|
-
},
|
|
666
|
-
enumerable: false,
|
|
667
|
-
configurable: true
|
|
668
|
-
});
|
|
669
|
-
/**
|
|
670
|
-
* 清空菜单
|
|
671
|
-
*/
|
|
672
|
-
MenuService.prototype.clear = function () {
|
|
673
|
-
this.data = [];
|
|
674
|
-
this._change$.next(this.data);
|
|
675
|
-
};
|
|
676
|
-
MenuService.prototype.getHit = function (data, url, recursive, cb) {
|
|
677
|
-
if (recursive === void 0) { recursive = false; }
|
|
678
|
-
if (cb === void 0) { cb = null; }
|
|
679
|
-
var item = null;
|
|
680
|
-
while (!item && url) {
|
|
681
|
-
this.visit(data, function (i) {
|
|
682
|
-
if (cb) {
|
|
683
|
-
cb(i);
|
|
684
|
-
}
|
|
685
|
-
if (i.link != null && i.link === url) {
|
|
686
|
-
item = i;
|
|
687
|
-
}
|
|
688
|
-
});
|
|
689
|
-
if (!recursive)
|
|
690
|
-
break;
|
|
691
|
-
if (/[?;]/g.test(url)) {
|
|
692
|
-
url = url.split(/[?;]/g)[0];
|
|
693
|
-
}
|
|
694
|
-
else {
|
|
695
|
-
url = url.split('/').slice(0, -1).join('/');
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
return item;
|
|
699
|
-
};
|
|
700
|
-
/**
|
|
701
|
-
* 根据URL设置菜单 `_open` 属性
|
|
702
|
-
* - 若 `recursive: true` 则会自动向上递归查找
|
|
703
|
-
* - 菜单数据源包含 `/ware`,则 `/ware/1` 也视为 `/ware` 项
|
|
704
|
-
*/
|
|
705
|
-
MenuService.prototype.openedByUrl = function (url, recursive) {
|
|
706
|
-
if (recursive === void 0) { recursive = false; }
|
|
707
|
-
if (!url)
|
|
708
|
-
return;
|
|
709
|
-
var findItem = this.getHit(this.data, url, recursive, function (i) {
|
|
710
|
-
i._selected = false;
|
|
711
|
-
i._open = false;
|
|
712
|
-
});
|
|
713
|
-
if (findItem == null)
|
|
714
|
-
return;
|
|
715
|
-
do {
|
|
716
|
-
findItem._selected = true;
|
|
717
|
-
findItem._open = true;
|
|
718
|
-
findItem = findItem._parent;
|
|
719
|
-
} while (findItem);
|
|
720
|
-
};
|
|
721
|
-
/**
|
|
722
|
-
* 根据url获取菜单列表
|
|
723
|
-
* - 若 `recursive: true` 则会自动向上递归查找
|
|
724
|
-
* - 菜单数据源包含 `/ware`,则 `/ware/1` 也视为 `/ware` 项
|
|
725
|
-
*/
|
|
726
|
-
MenuService.prototype.getPathByUrl = function (url, recursive) {
|
|
727
|
-
if (recursive === void 0) { recursive = false; }
|
|
728
|
-
var ret = [];
|
|
729
|
-
var item = this.getHit(this.data, url, recursive);
|
|
730
|
-
if (!item)
|
|
731
|
-
return ret;
|
|
732
|
-
do {
|
|
733
|
-
ret.splice(0, 0, item);
|
|
734
|
-
item = item._parent;
|
|
735
|
-
} while (item);
|
|
736
|
-
return ret;
|
|
737
|
-
};
|
|
738
|
-
/**
|
|
739
|
-
* Get menu based on `key`
|
|
740
|
-
*/
|
|
741
|
-
MenuService.prototype.getItem = function (key) {
|
|
742
|
-
var res = null;
|
|
743
|
-
this.visit(this.data, function (item) {
|
|
744
|
-
if (res == null && item.key === key) {
|
|
745
|
-
res = item;
|
|
746
|
-
}
|
|
747
|
-
});
|
|
748
|
-
return res;
|
|
749
|
-
};
|
|
750
|
-
/**
|
|
751
|
-
* Set menu based on `key`
|
|
752
|
-
*/
|
|
753
|
-
MenuService.prototype.setItem = function (key, value) {
|
|
754
|
-
var item = this.getItem(key);
|
|
755
|
-
if (item == null)
|
|
756
|
-
return;
|
|
757
|
-
Object.keys(value).forEach(function (k) {
|
|
758
|
-
item[k] = value[k];
|
|
759
|
-
});
|
|
760
|
-
this.fixItem(item);
|
|
761
|
-
this._change$.next(this.data);
|
|
762
|
-
};
|
|
763
|
-
MenuService.prototype.ngOnDestroy = function () {
|
|
764
|
-
this._change$.unsubscribe();
|
|
765
|
-
this.i18n$.unsubscribe();
|
|
766
|
-
};
|
|
767
|
-
return MenuService;
|
|
768
|
-
}());
|
|
769
|
-
MenuService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function MenuService_Factory() { return new MenuService(i0__namespace.ɵɵinject(ALAIN_I18N_TOKEN, 8), i0__namespace.ɵɵinject(i2__namespace.ACLService, 8)); }, token: MenuService, providedIn: "root" });
|
|
770
|
-
MenuService.decorators = [
|
|
771
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
772
|
-
];
|
|
773
|
-
MenuService.ctorParameters = function () { return [
|
|
774
|
-
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [ALAIN_I18N_TOKEN,] }] },
|
|
775
|
-
{ type: i2.ACLService, decorators: [{ type: i0.Optional }] }
|
|
776
|
-
]; };
|
|
777
|
-
|
|
778
|
-
var ALAIN_SETTING_KEYS = new i0.InjectionToken('ALAIN_SETTING_KEYS');
|
|
779
|
-
var SettingsService = /** @class */ (function () {
|
|
780
|
-
function SettingsService(platform, KEYS) {
|
|
781
|
-
this.platform = platform;
|
|
782
|
-
this.KEYS = KEYS;
|
|
783
|
-
this.notify$ = new rxjs.Subject();
|
|
784
|
-
this._app = null;
|
|
785
|
-
this._user = null;
|
|
786
|
-
this._layout = null;
|
|
787
|
-
}
|
|
788
|
-
SettingsService.prototype.getData = function (key) {
|
|
789
|
-
if (!this.platform.isBrowser) {
|
|
790
|
-
return null;
|
|
791
|
-
}
|
|
792
|
-
return JSON.parse(localStorage.getItem(key) || 'null') || null;
|
|
793
|
-
};
|
|
794
|
-
SettingsService.prototype.setData = function (key, value) {
|
|
795
|
-
if (!this.platform.isBrowser) {
|
|
796
|
-
return;
|
|
797
|
-
}
|
|
798
|
-
localStorage.setItem(key, JSON.stringify(value));
|
|
799
|
-
};
|
|
800
|
-
Object.defineProperty(SettingsService.prototype, "layout", {
|
|
801
|
-
get: function () {
|
|
802
|
-
if (!this._layout) {
|
|
803
|
-
this._layout = Object.assign({ fixed: true, collapsed: false, boxed: false, lang: null }, this.getData(this.KEYS.layout));
|
|
804
|
-
this.setData(this.KEYS.layout, this._layout);
|
|
805
|
-
}
|
|
806
|
-
return this._layout;
|
|
807
|
-
},
|
|
808
|
-
enumerable: false,
|
|
809
|
-
configurable: true
|
|
810
|
-
});
|
|
811
|
-
Object.defineProperty(SettingsService.prototype, "app", {
|
|
812
|
-
get: function () {
|
|
813
|
-
if (!this._app) {
|
|
814
|
-
this._app = Object.assign({ year: new Date().getFullYear() }, this.getData(this.KEYS.app));
|
|
815
|
-
this.setData(this.KEYS.app, this._app);
|
|
816
|
-
}
|
|
817
|
-
return this._app;
|
|
818
|
-
},
|
|
819
|
-
enumerable: false,
|
|
820
|
-
configurable: true
|
|
821
|
-
});
|
|
822
|
-
Object.defineProperty(SettingsService.prototype, "user", {
|
|
823
|
-
get: function () {
|
|
824
|
-
if (!this._user) {
|
|
825
|
-
this._user = Object.assign({}, this.getData(this.KEYS.user));
|
|
826
|
-
this.setData(this.KEYS.user, this._user);
|
|
827
|
-
}
|
|
828
|
-
return this._user;
|
|
829
|
-
},
|
|
830
|
-
enumerable: false,
|
|
831
|
-
configurable: true
|
|
832
|
-
});
|
|
833
|
-
Object.defineProperty(SettingsService.prototype, "notify", {
|
|
834
|
-
get: function () {
|
|
835
|
-
return this.notify$.asObservable();
|
|
836
|
-
},
|
|
837
|
-
enumerable: false,
|
|
838
|
-
configurable: true
|
|
839
|
-
});
|
|
840
|
-
SettingsService.prototype.setLayout = function (name, value) {
|
|
841
|
-
if (typeof name === 'string') {
|
|
842
|
-
this.layout[name] = value;
|
|
843
|
-
}
|
|
844
|
-
else {
|
|
845
|
-
this._layout = name;
|
|
846
|
-
}
|
|
847
|
-
this.setData(this.KEYS.layout, this._layout);
|
|
848
|
-
this.notify$.next({ type: 'layout', name: name, value: value });
|
|
849
|
-
return true;
|
|
850
|
-
};
|
|
851
|
-
SettingsService.prototype.setApp = function (value) {
|
|
852
|
-
this._app = value;
|
|
853
|
-
this.setData(this.KEYS.app, value);
|
|
854
|
-
this.notify$.next({ type: 'app', value: value });
|
|
855
|
-
};
|
|
856
|
-
SettingsService.prototype.setUser = function (value) {
|
|
857
|
-
this._user = value;
|
|
858
|
-
this.setData(this.KEYS.user, value);
|
|
859
|
-
this.notify$.next({ type: 'user', value: value });
|
|
860
|
-
};
|
|
861
|
-
return SettingsService;
|
|
862
|
-
}());
|
|
863
|
-
SettingsService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function SettingsService_Factory() { return new SettingsService(i0__namespace.ɵɵinject(i1__namespace$1.Platform), i0__namespace.ɵɵinject(ALAIN_SETTING_KEYS)); }, token: SettingsService, providedIn: "root" });
|
|
864
|
-
SettingsService.decorators = [
|
|
865
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
866
|
-
];
|
|
867
|
-
SettingsService.ctorParameters = function () { return [
|
|
868
|
-
{ type: i1$1.Platform },
|
|
869
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [ALAIN_SETTING_KEYS,] }] }
|
|
870
|
-
]; };
|
|
871
|
-
|
|
872
|
-
var REP_MAX = 6;
|
|
873
|
-
var ResponsiveService = /** @class */ (function () {
|
|
874
|
-
function ResponsiveService(cogSrv) {
|
|
875
|
-
this.cog = cogSrv.merge('themeResponsive', {
|
|
876
|
-
rules: {
|
|
877
|
-
1: { xs: 24 },
|
|
878
|
-
2: { xs: 24, sm: 12 },
|
|
879
|
-
3: { xs: 24, sm: 12, md: 8 },
|
|
880
|
-
4: { xs: 24, sm: 12, md: 8, lg: 6 },
|
|
881
|
-
5: { xs: 24, sm: 12, md: 8, lg: 6, xl: 4 },
|
|
882
|
-
6: { xs: 24, sm: 12, md: 8, lg: 6, xl: 4, xxl: 2 }
|
|
883
|
-
}
|
|
884
|
-
});
|
|
885
|
-
if (Object.keys(this.cog.rules)
|
|
886
|
-
.map(function (i) { return +i; })
|
|
887
|
-
.some(function (i) { return i < 1 || i > REP_MAX; })) {
|
|
888
|
-
throw new Error("[theme] the responseive rule index value range must be 1-" + REP_MAX);
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
ResponsiveService.prototype.genCls = function (count) {
|
|
892
|
-
var rule = this.cog.rules[count > REP_MAX ? REP_MAX : Math.max(count, 1)];
|
|
893
|
-
var antColClass = 'ant-col';
|
|
894
|
-
var clsMap = [antColClass + "-xs-" + rule.xs];
|
|
895
|
-
if (rule.sm)
|
|
896
|
-
clsMap.push(antColClass + "-sm-" + rule.sm);
|
|
897
|
-
if (rule.md)
|
|
898
|
-
clsMap.push(antColClass + "-md-" + rule.md);
|
|
899
|
-
if (rule.lg)
|
|
900
|
-
clsMap.push(antColClass + "-lg-" + rule.lg);
|
|
901
|
-
if (rule.xl)
|
|
902
|
-
clsMap.push(antColClass + "-xl-" + rule.xl);
|
|
903
|
-
if (rule.xxl)
|
|
904
|
-
clsMap.push(antColClass + "-xxl-" + rule.xxl);
|
|
905
|
-
return clsMap;
|
|
906
|
-
};
|
|
907
|
-
return ResponsiveService;
|
|
908
|
-
}());
|
|
909
|
-
ResponsiveService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ResponsiveService_Factory() { return new ResponsiveService(i0__namespace.ɵɵinject(i1__namespace.AlainConfigService)); }, token: ResponsiveService, providedIn: "root" });
|
|
910
|
-
ResponsiveService.decorators = [
|
|
911
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
912
|
-
];
|
|
913
|
-
ResponsiveService.ctorParameters = function () { return [
|
|
914
|
-
{ type: i1.AlainConfigService }
|
|
915
|
-
]; };
|
|
916
|
-
|
|
917
|
-
var HTML_DIR = 'dir';
|
|
918
|
-
var RTL_DIRECTION = 'direction';
|
|
919
|
-
var RTL_NZ_COMPONENTS = ['modal', 'drawer', 'message', 'notification', 'image'];
|
|
920
|
-
var RTL_DELON_COMPONENTS = ['loading', 'onboarding'];
|
|
921
|
-
var LTR = 'ltr';
|
|
922
|
-
var RTL = 'rtl';
|
|
923
|
-
var RTLService = /** @class */ (function () {
|
|
924
|
-
function RTLService(d, srv, nz, delon, platform, doc) {
|
|
925
|
-
this.d = d;
|
|
926
|
-
this.srv = srv;
|
|
927
|
-
this.nz = nz;
|
|
928
|
-
this.delon = delon;
|
|
929
|
-
this.platform = platform;
|
|
930
|
-
this.doc = doc;
|
|
931
|
-
this._dir = LTR;
|
|
932
|
-
this.dir = srv.layout.direction === RTL ? RTL : LTR;
|
|
933
|
-
}
|
|
934
|
-
Object.defineProperty(RTLService.prototype, "dir", {
|
|
935
|
-
/**
|
|
936
|
-
* Get or Set the current text direction
|
|
937
|
-
*
|
|
938
|
-
* 获取或设置当前文字方向
|
|
939
|
-
*/
|
|
940
|
-
get: function () {
|
|
941
|
-
return this._dir;
|
|
942
|
-
},
|
|
943
|
-
set: function (value) {
|
|
944
|
-
var _this = this;
|
|
945
|
-
this._dir = value;
|
|
946
|
-
this.updateLibConfig();
|
|
947
|
-
this.updateHtml();
|
|
948
|
-
// Should be wait inited
|
|
949
|
-
Promise.resolve().then(function () {
|
|
950
|
-
_this.d.value = value;
|
|
951
|
-
_this.d.change.emit(value);
|
|
952
|
-
_this.srv.setLayout(RTL_DIRECTION, value);
|
|
953
|
-
});
|
|
954
|
-
},
|
|
955
|
-
enumerable: false,
|
|
956
|
-
configurable: true
|
|
957
|
-
});
|
|
958
|
-
Object.defineProperty(RTLService.prototype, "nextDir", {
|
|
959
|
-
/**
|
|
960
|
-
* Get the next text direction
|
|
961
|
-
*
|
|
962
|
-
* 获取下一次文字方向
|
|
963
|
-
*/
|
|
964
|
-
get: function () {
|
|
965
|
-
return this.dir === LTR ? RTL : LTR;
|
|
966
|
-
},
|
|
967
|
-
enumerable: false,
|
|
968
|
-
configurable: true
|
|
969
|
-
});
|
|
970
|
-
Object.defineProperty(RTLService.prototype, "change", {
|
|
971
|
-
/**
|
|
972
|
-
* Subscription change notification
|
|
973
|
-
*
|
|
974
|
-
* 订阅变更通知
|
|
975
|
-
*/
|
|
976
|
-
get: function () {
|
|
977
|
-
return this.srv.notify.pipe(operators.filter(function (w) { return w.name === RTL_DIRECTION; }), operators.map(function (v) { return v.value; }));
|
|
978
|
-
},
|
|
979
|
-
enumerable: false,
|
|
980
|
-
configurable: true
|
|
981
|
-
});
|
|
982
|
-
/**
|
|
983
|
-
* Toggle text direction
|
|
984
|
-
*
|
|
985
|
-
* 切换文字方向
|
|
986
|
-
*/
|
|
987
|
-
RTLService.prototype.toggle = function () {
|
|
988
|
-
this.dir = this.nextDir;
|
|
989
|
-
};
|
|
990
|
-
RTLService.prototype.updateHtml = function () {
|
|
991
|
-
if (!this.platform.isBrowser) {
|
|
992
|
-
return;
|
|
993
|
-
}
|
|
994
|
-
var htmlEl = this.doc.querySelector('html');
|
|
995
|
-
if (htmlEl) {
|
|
996
|
-
var dir = this.dir;
|
|
997
|
-
htmlEl.style.direction = dir;
|
|
998
|
-
htmlEl.classList.remove(RTL, LTR);
|
|
999
|
-
htmlEl.classList.add(dir);
|
|
1000
|
-
htmlEl.setAttribute(HTML_DIR, dir);
|
|
1001
|
-
}
|
|
1002
|
-
};
|
|
1003
|
-
RTLService.prototype.updateLibConfig = function () {
|
|
1004
|
-
var _this = this;
|
|
1005
|
-
RTL_NZ_COMPONENTS.forEach(function (name) {
|
|
1006
|
-
_this.nz.set(name, { nzDirection: _this.dir });
|
|
1007
|
-
});
|
|
1008
|
-
RTL_DELON_COMPONENTS.forEach(function (name) {
|
|
1009
|
-
_this.delon.set(name, { direction: _this.dir });
|
|
1010
|
-
});
|
|
1011
|
-
};
|
|
1012
|
-
return RTLService;
|
|
1013
|
-
}());
|
|
1014
|
-
RTLService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function RTLService_Factory() { return new RTLService(i0__namespace.ɵɵinject(i1__namespace$2.Directionality), i0__namespace.ɵɵinject(SettingsService), i0__namespace.ɵɵinject(i3__namespace.NzConfigService), i0__namespace.ɵɵinject(i1__namespace.AlainConfigService), i0__namespace.ɵɵinject(i1__namespace$1.Platform), i0__namespace.ɵɵinject(i6__namespace.DOCUMENT)); }, token: RTLService, providedIn: "root" });
|
|
1015
|
-
RTLService.decorators = [
|
|
1016
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1017
|
-
];
|
|
1018
|
-
RTLService.ctorParameters = function () { return [
|
|
1019
|
-
{ type: i1$2.Directionality },
|
|
1020
|
-
{ type: SettingsService },
|
|
1021
|
-
{ type: i3.NzConfigService },
|
|
1022
|
-
{ type: i1.AlainConfigService },
|
|
1023
|
-
{ type: i1$1.Platform },
|
|
1024
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [i6.DOCUMENT,] }] }
|
|
1025
|
-
]; };
|
|
1026
|
-
|
|
1027
|
-
var TitleService = /** @class */ (function () {
|
|
1028
|
-
function TitleService(injector, title, menuSrv, i18nSrv, doc) {
|
|
1029
|
-
var _this = this;
|
|
1030
|
-
this.injector = injector;
|
|
1031
|
-
this.title = title;
|
|
1032
|
-
this.menuSrv = menuSrv;
|
|
1033
|
-
this.i18nSrv = i18nSrv;
|
|
1034
|
-
this.doc = doc;
|
|
1035
|
-
this._prefix = '';
|
|
1036
|
-
this._suffix = '';
|
|
1037
|
-
this._separator = ' - ';
|
|
1038
|
-
this._reverse = false;
|
|
1039
|
-
this.DELAY_TIME = 25;
|
|
1040
|
-
/** 设置默认标题名 */
|
|
1041
|
-
this.default = "Not Page Name";
|
|
1042
|
-
this.i18n$ = this.i18nSrv.change.pipe(operators.filter(function () { return !!_this.i18n$; })).subscribe(function () { return _this.setTitle(); });
|
|
1043
|
-
}
|
|
1044
|
-
Object.defineProperty(TitleService.prototype, "separator", {
|
|
1045
|
-
/** 设置分隔符 */
|
|
1046
|
-
set: function (value) {
|
|
1047
|
-
this._separator = value;
|
|
1048
|
-
},
|
|
1049
|
-
enumerable: false,
|
|
1050
|
-
configurable: true
|
|
1051
|
-
});
|
|
1052
|
-
Object.defineProperty(TitleService.prototype, "prefix", {
|
|
1053
|
-
/** 设置前缀 */
|
|
1054
|
-
set: function (value) {
|
|
1055
|
-
this._prefix = value;
|
|
1056
|
-
},
|
|
1057
|
-
enumerable: false,
|
|
1058
|
-
configurable: true
|
|
1059
|
-
});
|
|
1060
|
-
Object.defineProperty(TitleService.prototype, "suffix", {
|
|
1061
|
-
/** 设置后缀 */
|
|
1062
|
-
set: function (value) {
|
|
1063
|
-
this._suffix = value;
|
|
1064
|
-
},
|
|
1065
|
-
enumerable: false,
|
|
1066
|
-
configurable: true
|
|
1067
|
-
});
|
|
1068
|
-
Object.defineProperty(TitleService.prototype, "reverse", {
|
|
1069
|
-
/** 设置是否反转 */
|
|
1070
|
-
set: function (value) {
|
|
1071
|
-
this._reverse = value;
|
|
1072
|
-
},
|
|
1073
|
-
enumerable: false,
|
|
1074
|
-
configurable: true
|
|
1075
|
-
});
|
|
1076
|
-
TitleService.prototype.getByElement = function () {
|
|
1077
|
-
var el = (this.doc.querySelector('.alain-default__content-title h1') ||
|
|
1078
|
-
this.doc.querySelector('.page-header__title'));
|
|
1079
|
-
if (el) {
|
|
1080
|
-
var text_1 = '';
|
|
1081
|
-
el.childNodes.forEach(function (val) {
|
|
1082
|
-
if (!text_1 && val.nodeType === 3) {
|
|
1083
|
-
text_1 = val.textContent.trim();
|
|
1084
|
-
}
|
|
1085
|
-
});
|
|
1086
|
-
return text_1 || el.firstChild.textContent.trim();
|
|
1087
|
-
}
|
|
1088
|
-
return '';
|
|
1089
|
-
};
|
|
1090
|
-
TitleService.prototype.getByRoute = function () {
|
|
1091
|
-
var next = this.injector.get(router.ActivatedRoute);
|
|
1092
|
-
while (next.firstChild)
|
|
1093
|
-
next = next.firstChild;
|
|
1094
|
-
var data = (next.snapshot && next.snapshot.data) || {};
|
|
1095
|
-
if (data.titleI18n && this.i18nSrv)
|
|
1096
|
-
data.title = this.i18nSrv.fanyi(data.titleI18n);
|
|
1097
|
-
return data.title;
|
|
1098
|
-
};
|
|
1099
|
-
TitleService.prototype.getByMenu = function () {
|
|
1100
|
-
var menus = this.menuSrv.getPathByUrl(this.injector.get(router.Router).url);
|
|
1101
|
-
if (!menus || menus.length <= 0)
|
|
1102
|
-
return '';
|
|
1103
|
-
var item = menus[menus.length - 1];
|
|
1104
|
-
var title;
|
|
1105
|
-
if (item.i18n && this.i18nSrv)
|
|
1106
|
-
title = this.i18nSrv.fanyi(item.i18n);
|
|
1107
|
-
return title || item.text;
|
|
1108
|
-
};
|
|
1109
|
-
TitleService.prototype._setTitle = function (title) {
|
|
1110
|
-
if (!title) {
|
|
1111
|
-
title = this.getByRoute() || this.getByMenu() || this.getByElement() || this.default;
|
|
1112
|
-
}
|
|
1113
|
-
if (title && !Array.isArray(title)) {
|
|
1114
|
-
title = [title];
|
|
1115
|
-
}
|
|
1116
|
-
var newTitles = [];
|
|
1117
|
-
if (this._prefix) {
|
|
1118
|
-
newTitles.push(this._prefix);
|
|
1119
|
-
}
|
|
1120
|
-
newTitles.push.apply(newTitles, __spreadArray([], __read(title)));
|
|
1121
|
-
if (this._suffix) {
|
|
1122
|
-
newTitles.push(this._suffix);
|
|
1123
|
-
}
|
|
1124
|
-
if (this._reverse) {
|
|
1125
|
-
newTitles = newTitles.reverse();
|
|
1126
|
-
}
|
|
1127
|
-
this.title.setTitle(newTitles.join(this._separator));
|
|
1128
|
-
};
|
|
1129
|
-
/**
|
|
1130
|
-
* Set the document title, will be delay `25ms`, pls refer to [#1261](https://github.com/ng-alain/ng-alain/issues/1261)
|
|
1131
|
-
*/
|
|
1132
|
-
TitleService.prototype.setTitle = function (title) {
|
|
1133
|
-
var _this = this;
|
|
1134
|
-
setTimeout(function () { return _this._setTitle(title); }, this.DELAY_TIME);
|
|
1135
|
-
};
|
|
1136
|
-
/**
|
|
1137
|
-
* Set i18n key of the document title
|
|
1138
|
-
*/
|
|
1139
|
-
TitleService.prototype.setTitleByI18n = function (key, params) {
|
|
1140
|
-
this.setTitle(this.i18nSrv.fanyi(key, params));
|
|
1141
|
-
};
|
|
1142
|
-
TitleService.prototype.ngOnDestroy = function () {
|
|
1143
|
-
this.i18n$.unsubscribe();
|
|
1144
|
-
};
|
|
1145
|
-
return TitleService;
|
|
1146
|
-
}());
|
|
1147
|
-
TitleService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TitleService_Factory() { return new TitleService(i0__namespace.ɵɵinject(i0__namespace.INJECTOR), i0__namespace.ɵɵinject(i1__namespace$3.Title), i0__namespace.ɵɵinject(MenuService), i0__namespace.ɵɵinject(ALAIN_I18N_TOKEN, 8), i0__namespace.ɵɵinject(i6__namespace.DOCUMENT)); }, token: TitleService, providedIn: "root" });
|
|
1148
|
-
TitleService.decorators = [
|
|
1149
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
1150
|
-
];
|
|
1151
|
-
TitleService.ctorParameters = function () { return [
|
|
1152
|
-
{ type: i0.Injector },
|
|
1153
|
-
{ type: i1$3.Title },
|
|
1154
|
-
{ type: MenuService },
|
|
1155
|
-
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [ALAIN_I18N_TOKEN,] }] },
|
|
1156
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [i6.DOCUMENT,] }] }
|
|
1157
|
-
]; };
|
|
1158
|
-
|
|
1159
|
-
var DELON_LOCALE = new i0.InjectionToken('delon-locale');
|
|
1160
|
-
|
|
1161
|
-
var zhCN = {
|
|
1162
|
-
abbr: 'zh-CN',
|
|
1163
|
-
exception: {
|
|
1164
|
-
403: '抱歉,你无权访问该页面',
|
|
1165
|
-
404: '抱歉,你访问的页面不存在',
|
|
1166
|
-
500: '抱歉,服务器出错了',
|
|
1167
|
-
backToHome: '返回首页'
|
|
1168
|
-
},
|
|
1169
|
-
noticeIcon: {
|
|
1170
|
-
emptyText: '暂无数据',
|
|
1171
|
-
clearText: '清空'
|
|
1172
|
-
},
|
|
1173
|
-
reuseTab: {
|
|
1174
|
-
close: '关闭标签',
|
|
1175
|
-
closeOther: '关闭其它标签',
|
|
1176
|
-
closeRight: '关闭右侧标签',
|
|
1177
|
-
refresh: '刷新'
|
|
1178
|
-
},
|
|
1179
|
-
tagSelect: {
|
|
1180
|
-
expand: '展开',
|
|
1181
|
-
collapse: '收起'
|
|
1182
|
-
},
|
|
1183
|
-
miniProgress: {
|
|
1184
|
-
target: '目标值:'
|
|
1185
|
-
},
|
|
1186
|
-
st: {
|
|
1187
|
-
total: '共 {{total}} 条',
|
|
1188
|
-
filterConfirm: '确定',
|
|
1189
|
-
filterReset: '重置'
|
|
1190
|
-
},
|
|
1191
|
-
sf: {
|
|
1192
|
-
submit: '提交',
|
|
1193
|
-
reset: '重置',
|
|
1194
|
-
search: '搜索',
|
|
1195
|
-
edit: '保存',
|
|
1196
|
-
addText: '添加',
|
|
1197
|
-
removeText: '移除',
|
|
1198
|
-
checkAllText: '全选',
|
|
1199
|
-
error: {
|
|
1200
|
-
'false schema': "\u5E03\u5C14\u6A21\u5F0F\u51FA\u9519",
|
|
1201
|
-
$ref: "\u65E0\u6CD5\u627E\u5230\u5F15\u7528{ref}",
|
|
1202
|
-
additionalItems: "\u4E0D\u5141\u8BB8\u8D85\u8FC7{limit}\u4E2A\u5143\u7D20",
|
|
1203
|
-
additionalProperties: "\u4E0D\u5141\u8BB8\u6709\u989D\u5916\u7684\u5C5E\u6027",
|
|
1204
|
-
anyOf: "\u6570\u636E\u5E94\u4E3A anyOf \u6240\u6307\u5B9A\u7684\u5176\u4E2D\u4E00\u4E2A",
|
|
1205
|
-
dependencies: "\u5E94\u5F53\u62E5\u6709\u5C5E\u6027{property}\u7684\u4F9D\u8D56\u5C5E\u6027{deps}",
|
|
1206
|
-
enum: "\u5E94\u5F53\u662F\u9884\u8BBE\u5B9A\u7684\u679A\u4E3E\u503C\u4E4B\u4E00",
|
|
1207
|
-
format: "\u683C\u5F0F\u4E0D\u6B63\u786E",
|
|
1208
|
-
type: "\u7C7B\u578B\u5E94\u5F53\u662F {type}",
|
|
1209
|
-
required: "\u5FC5\u586B\u9879",
|
|
1210
|
-
maxLength: "\u81F3\u591A {limit} \u4E2A\u5B57\u7B26",
|
|
1211
|
-
minLength: "\u81F3\u5C11 {limit} \u4E2A\u5B57\u7B26\u4EE5\u4E0A",
|
|
1212
|
-
minimum: "\u5FC5\u987B {comparison}{limit}",
|
|
1213
|
-
formatMinimum: "\u5FC5\u987B {comparison}{limit}",
|
|
1214
|
-
maximum: "\u5FC5\u987B {comparison}{limit}",
|
|
1215
|
-
formatMaximum: "\u5FC5\u987B {comparison}{limit}",
|
|
1216
|
-
maxItems: "\u4E0D\u5E94\u591A\u4E8E {limit} \u4E2A\u9879",
|
|
1217
|
-
minItems: "\u4E0D\u5E94\u5C11\u4E8E {limit} \u4E2A\u9879",
|
|
1218
|
-
maxProperties: "\u4E0D\u5E94\u591A\u4E8E {limit} \u4E2A\u5C5E\u6027",
|
|
1219
|
-
minProperties: "\u4E0D\u5E94\u5C11\u4E8E {limit} \u4E2A\u5C5E\u6027",
|
|
1220
|
-
multipleOf: "\u5E94\u5F53\u662F {multipleOf} \u7684\u6574\u6570\u500D",
|
|
1221
|
-
not: "\u4E0D\u5E94\u5F53\u5339\u914D \"not\" schema",
|
|
1222
|
-
oneOf: "\u53EA\u80FD\u5339\u914D\u4E00\u4E2A \"oneOf\" \u4E2D\u7684 schema",
|
|
1223
|
-
pattern: "\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E",
|
|
1224
|
-
uniqueItems: "\u4E0D\u5E94\u5F53\u542B\u6709\u91CD\u590D\u9879 (\u7B2C {j} \u9879\u4E0E\u7B2C {i} \u9879\u662F\u91CD\u590D\u7684)",
|
|
1225
|
-
custom: "\u683C\u5F0F\u4E0D\u6B63\u786E",
|
|
1226
|
-
propertyNames: "\u5C5E\u6027\u540D \"{propertyName}\" \u65E0\u6548",
|
|
1227
|
-
patternRequired: "\u5E94\u5F53\u6709\u5C5E\u6027\u5339\u914D\u6A21\u5F0F {missingPattern}",
|
|
1228
|
-
switch: "\u7531\u4E8E {caseIndex} \u5931\u8D25\uFF0C\u672A\u901A\u8FC7 \"switch\" \u6821\u9A8C",
|
|
1229
|
-
const: "\u5E94\u5F53\u7B49\u4E8E\u5E38\u91CF",
|
|
1230
|
-
contains: "\u5E94\u5F53\u5305\u542B\u4E00\u4E2A\u6709\u6548\u9879",
|
|
1231
|
-
formatExclusiveMaximum: "formatExclusiveMaximum \u5E94\u5F53\u662F\u5E03\u5C14\u503C",
|
|
1232
|
-
formatExclusiveMinimum: "formatExclusiveMinimum \u5E94\u5F53\u662F\u5E03\u5C14\u503C",
|
|
1233
|
-
if: "\u5E94\u5F53\u5339\u914D\u6A21\u5F0F \"{failingKeyword}\""
|
|
1234
|
-
}
|
|
1235
|
-
},
|
|
1236
|
-
onboarding: {
|
|
1237
|
-
skip: "\u8DF3\u8FC7",
|
|
1238
|
-
prev: "\u4E0A\u4E00\u9879",
|
|
1239
|
-
next: "\u4E0B\u4E00\u9879",
|
|
1240
|
-
done: "\u5B8C\u6210"
|
|
1241
|
-
}
|
|
1242
|
-
};
|
|
1243
|
-
|
|
1244
|
-
var DelonLocaleService = /** @class */ (function () {
|
|
1245
|
-
function DelonLocaleService(locale) {
|
|
1246
|
-
this._locale = zhCN;
|
|
1247
|
-
this.change$ = new rxjs.BehaviorSubject(this._locale);
|
|
1248
|
-
this.setLocale(locale || zhCN);
|
|
1249
|
-
}
|
|
1250
|
-
Object.defineProperty(DelonLocaleService.prototype, "change", {
|
|
1251
|
-
get: function () {
|
|
1252
|
-
return this.change$.asObservable();
|
|
1253
|
-
},
|
|
1254
|
-
enumerable: false,
|
|
1255
|
-
configurable: true
|
|
1256
|
-
});
|
|
1257
|
-
DelonLocaleService.prototype.setLocale = function (locale) {
|
|
1258
|
-
if (this._locale && this._locale.abbr === locale.abbr) {
|
|
1259
|
-
return;
|
|
1260
|
-
}
|
|
1261
|
-
this._locale = locale;
|
|
1262
|
-
this.change$.next(locale);
|
|
1263
|
-
};
|
|
1264
|
-
Object.defineProperty(DelonLocaleService.prototype, "locale", {
|
|
1265
|
-
get: function () {
|
|
1266
|
-
return this._locale;
|
|
1267
|
-
},
|
|
1268
|
-
enumerable: false,
|
|
1269
|
-
configurable: true
|
|
1270
|
-
});
|
|
1271
|
-
DelonLocaleService.prototype.getData = function (path) {
|
|
1272
|
-
return (this._locale[path] || {});
|
|
1273
|
-
};
|
|
1274
|
-
return DelonLocaleService;
|
|
1275
|
-
}());
|
|
1276
|
-
DelonLocaleService.decorators = [
|
|
1277
|
-
{ type: i0.Injectable }
|
|
1278
|
-
];
|
|
1279
|
-
DelonLocaleService.ctorParameters = function () { return [
|
|
1280
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [DELON_LOCALE,] }] }
|
|
1281
|
-
]; };
|
|
1282
|
-
function DELON_LOCALE_SERVICE_PROVIDER_FACTORY(exist, locale) {
|
|
1283
|
-
return exist || new DelonLocaleService(locale);
|
|
1284
|
-
}
|
|
1285
|
-
var DELON_LOCALE_SERVICE_PROVIDER = {
|
|
1286
|
-
provide: DelonLocaleService,
|
|
1287
|
-
useFactory: DELON_LOCALE_SERVICE_PROVIDER_FACTORY,
|
|
1288
|
-
deps: [[new i0.Optional(), new i0.SkipSelf(), DelonLocaleService], DELON_LOCALE]
|
|
1289
|
-
};
|
|
1290
|
-
|
|
1291
|
-
var ɵ0$1 = zhCN;
|
|
1292
|
-
var DelonLocaleModule = /** @class */ (function () {
|
|
1293
|
-
function DelonLocaleModule() {
|
|
1294
|
-
}
|
|
1295
|
-
return DelonLocaleModule;
|
|
1296
|
-
}());
|
|
1297
|
-
DelonLocaleModule.decorators = [
|
|
1298
|
-
{ type: i0.NgModule, args: [{
|
|
1299
|
-
providers: [{ provide: DELON_LOCALE, useValue: ɵ0$1 }, DELON_LOCALE_SERVICE_PROVIDER]
|
|
1300
|
-
},] }
|
|
1301
|
-
];
|
|
1302
|
-
|
|
1303
|
-
var enUS = {
|
|
1304
|
-
abbr: 'en-US',
|
|
1305
|
-
exception: {
|
|
1306
|
-
403: "Sorry, you don't have access to this page",
|
|
1307
|
-
404: "Sorry, the page you visited does not exist",
|
|
1308
|
-
500: "Sorry, the server is reporting an error",
|
|
1309
|
-
backToHome: 'Back To Home'
|
|
1310
|
-
},
|
|
1311
|
-
noticeIcon: {
|
|
1312
|
-
emptyText: 'No data',
|
|
1313
|
-
clearText: 'Clear'
|
|
1314
|
-
},
|
|
1315
|
-
reuseTab: {
|
|
1316
|
-
close: 'Close tab',
|
|
1317
|
-
closeOther: 'Close other tabs',
|
|
1318
|
-
closeRight: 'Close tabs to right',
|
|
1319
|
-
refresh: 'Refresh'
|
|
1320
|
-
},
|
|
1321
|
-
tagSelect: {
|
|
1322
|
-
expand: 'Expand',
|
|
1323
|
-
collapse: 'Collapse'
|
|
1324
|
-
},
|
|
1325
|
-
miniProgress: {
|
|
1326
|
-
target: 'Target: '
|
|
1327
|
-
},
|
|
1328
|
-
st: {
|
|
1329
|
-
total: '{{range[0]}} - {{range[1]}} of {{total}}',
|
|
1330
|
-
filterConfirm: 'OK',
|
|
1331
|
-
filterReset: 'Reset'
|
|
1332
|
-
},
|
|
1333
|
-
sf: {
|
|
1334
|
-
submit: 'Submit',
|
|
1335
|
-
reset: 'Reset',
|
|
1336
|
-
search: 'Search',
|
|
1337
|
-
edit: 'Save',
|
|
1338
|
-
addText: 'Add',
|
|
1339
|
-
removeText: 'Remove',
|
|
1340
|
-
checkAllText: 'Check all',
|
|
1341
|
-
error: {
|
|
1342
|
-
'false schema': "Boolean schema is false",
|
|
1343
|
-
$ref: "Can't resolve reference {ref}",
|
|
1344
|
-
additionalItems: "Should not have more than {limit} item",
|
|
1345
|
-
additionalProperties: "Should not have additional properties",
|
|
1346
|
-
anyOf: "Should match some schema in \"anyOf\"",
|
|
1347
|
-
dependencies: "should have property {deps} when property {property} is present",
|
|
1348
|
-
enum: "Should be equal to one of predefined values",
|
|
1349
|
-
format: "Should match format \"{format}\"",
|
|
1350
|
-
type: "Should be {type}",
|
|
1351
|
-
required: "Required",
|
|
1352
|
-
maxLength: "Should not be longer than {limit} character",
|
|
1353
|
-
minLength: "Should not be shorter than {limit} character",
|
|
1354
|
-
minimum: "Should be {comparison} {limit}",
|
|
1355
|
-
formatMinimum: "Should be {comparison} {limit}",
|
|
1356
|
-
maximum: "Should be {comparison} {limit}",
|
|
1357
|
-
formatMaximum: "Should be {comparison} {limit}",
|
|
1358
|
-
maxItems: "Should not have more than {limit} item",
|
|
1359
|
-
minItems: "Should not have less than {limit} item",
|
|
1360
|
-
maxProperties: "Should not have more than {limit} property",
|
|
1361
|
-
minProperties: "Should not have less than {limit} property",
|
|
1362
|
-
multipleOf: "Should be a multiple of {multipleOf}",
|
|
1363
|
-
not: "Should not be valid according to schema in \"not\"",
|
|
1364
|
-
oneOf: "Should match exactly one schema in \"oneOf\"",
|
|
1365
|
-
pattern: "Should match pattern \"{pattern}\"",
|
|
1366
|
-
uniqueItems: "Should not have duplicate items (items ## {j} and {i} are identical)",
|
|
1367
|
-
custom: "Should match format",
|
|
1368
|
-
propertyNames: "Property name \"{propertyName}\" is invalid",
|
|
1369
|
-
patternRequired: "Should have property matching pattern \"{missingPattern}\"",
|
|
1370
|
-
switch: "Should pass \"switch\" keyword validation, case {caseIndex} fails",
|
|
1371
|
-
const: "Should be equal to constant",
|
|
1372
|
-
contains: "Should contain a valid item",
|
|
1373
|
-
formatExclusiveMaximum: "formatExclusiveMaximum should be boolean",
|
|
1374
|
-
formatExclusiveMinimum: "formatExclusiveMinimum should be boolean",
|
|
1375
|
-
if: "Should match \"{failingKeyword}\" schema"
|
|
1376
|
-
}
|
|
1377
|
-
},
|
|
1378
|
-
onboarding: {
|
|
1379
|
-
skip: "Skip",
|
|
1380
|
-
prev: "Prev",
|
|
1381
|
-
next: "Next",
|
|
1382
|
-
done: "Done"
|
|
1383
|
-
}
|
|
1384
|
-
};
|
|
1385
|
-
|
|
1386
|
-
var zhTW = {
|
|
1387
|
-
abbr: 'zh-TW',
|
|
1388
|
-
exception: {
|
|
1389
|
-
403: '抱歉,你無權訪問該頁麵',
|
|
1390
|
-
404: '抱歉,你訪問的頁麵不存在',
|
|
1391
|
-
500: '抱歉,服務器出錯了',
|
|
1392
|
-
backToHome: '返回首頁'
|
|
1393
|
-
},
|
|
1394
|
-
noticeIcon: {
|
|
1395
|
-
emptyText: '暫無數據',
|
|
1396
|
-
clearText: '清空'
|
|
1397
|
-
},
|
|
1398
|
-
reuseTab: {
|
|
1399
|
-
close: '關閉標簽',
|
|
1400
|
-
closeOther: '關閉其它標簽',
|
|
1401
|
-
closeRight: '關閉右側標簽',
|
|
1402
|
-
refresh: '刷新'
|
|
1403
|
-
},
|
|
1404
|
-
tagSelect: {
|
|
1405
|
-
expand: '展開',
|
|
1406
|
-
collapse: '收起'
|
|
1407
|
-
},
|
|
1408
|
-
miniProgress: {
|
|
1409
|
-
target: '目標值:'
|
|
1410
|
-
},
|
|
1411
|
-
st: {
|
|
1412
|
-
total: '共 {{total}} 條',
|
|
1413
|
-
filterConfirm: '確定',
|
|
1414
|
-
filterReset: '重置'
|
|
1415
|
-
},
|
|
1416
|
-
sf: {
|
|
1417
|
-
submit: '提交',
|
|
1418
|
-
reset: '重置',
|
|
1419
|
-
search: '搜索',
|
|
1420
|
-
edit: '保存',
|
|
1421
|
-
addText: '添加',
|
|
1422
|
-
removeText: '移除',
|
|
1423
|
-
checkAllText: '全選',
|
|
1424
|
-
error: {
|
|
1425
|
-
'false schema': "\u4F48\u723E\u6A21\u5F0F\u51FA\u932F",
|
|
1426
|
-
$ref: "\u7121\u6CD5\u627E\u5230\u5F15\u7528{ref}",
|
|
1427
|
-
additionalItems: "\u4E0D\u5141\u8A31\u8D85\u904E{ref}",
|
|
1428
|
-
additionalProperties: "\u4E0D\u5141\u8A31\u6709\u984D\u5916\u7684\u5C6C\u6027",
|
|
1429
|
-
anyOf: "\u6578\u64DA\u61C9\u70BA anyOf \u6240\u6307\u5B9A\u7684\u5176\u4E2D\u4E00\u500B",
|
|
1430
|
-
dependencies: "\u61C9\u7576\u64C1\u6709\u5C6C\u6027{property}\u7684\u4F9D\u8CF4\u5C6C\u6027{deps}",
|
|
1431
|
-
enum: "\u61C9\u7576\u662F\u9810\u8A2D\u5B9A\u7684\u679A\u8209\u503C\u4E4B\u4E00",
|
|
1432
|
-
format: "\u683C\u5F0F\u4E0D\u6B63\u78BA",
|
|
1433
|
-
type: "\u985E\u578B\u61C9\u7576\u662F {type}",
|
|
1434
|
-
required: "\u5FC5\u586B\u9805",
|
|
1435
|
-
maxLength: "\u81F3\u591A {limit} \u500B\u5B57\u7B26",
|
|
1436
|
-
minLength: "\u81F3\u5C11 {limit} \u500B\u5B57\u7B26\u4EE5\u4E0A",
|
|
1437
|
-
minimum: "\u5FC5\u9808 {comparison}{limit}",
|
|
1438
|
-
formatMinimum: "\u5FC5\u9808 {comparison}{limit}",
|
|
1439
|
-
maximum: "\u5FC5\u9808 {comparison}{limit}",
|
|
1440
|
-
formatMaximum: "\u5FC5\u9808 {comparison}{limit}",
|
|
1441
|
-
maxItems: "\u4E0D\u61C9\u591A\u65BC {limit} \u500B\u9805",
|
|
1442
|
-
minItems: "\u4E0D\u61C9\u5C11\u65BC {limit} \u500B\u9805",
|
|
1443
|
-
maxProperties: "\u4E0D\u61C9\u591A\u65BC {limit} \u500B\u5C6C\u6027",
|
|
1444
|
-
minProperties: "\u4E0D\u61C9\u5C11\u65BC {limit} \u500B\u5C6C\u6027",
|
|
1445
|
-
multipleOf: "\u61C9\u7576\u662F {multipleOf} \u7684\u6574\u6578\u500D",
|
|
1446
|
-
not: "\u4E0D\u61C9\u7576\u5339\u914D \"not\" schema",
|
|
1447
|
-
oneOf: "\u96BB\u80FD\u5339\u914D\u4E00\u500B \"oneOf\" \u4E2D\u7684 schema",
|
|
1448
|
-
pattern: "\u6578\u64DA\u683C\u5F0F\u4E0D\u6B63\u78BA",
|
|
1449
|
-
uniqueItems: "\u4E0D\u61C9\u7576\u542B\u6709\u91CD\u8907\u9805 (\u7B2C {j} \u9805\u8207\u7B2C {i} \u9805\u662F\u91CD\u8907\u7684)",
|
|
1450
|
-
custom: "\u683C\u5F0F\u4E0D\u6B63\u78BA",
|
|
1451
|
-
propertyNames: "\u5C6C\u6027\u540D \"{propertyName}\" \u7121\u6548",
|
|
1452
|
-
patternRequired: "\u61C9\u7576\u6709\u5C6C\u6027\u5339\u914D\u6A21\u5F0F {missingPattern}",
|
|
1453
|
-
switch: "\u7531\u65BC {caseIndex} \u5931\u6557\uFF0C\u672A\u901A\u904E \"switch\" \u6821\u9A57",
|
|
1454
|
-
const: "\u61C9\u7576\u7B49\u65BC\u5E38\u91CF",
|
|
1455
|
-
contains: "\u61C9\u7576\u5305\u542B\u4E00\u500B\u6709\u6548\u9805",
|
|
1456
|
-
formatExclusiveMaximum: "formatExclusiveMaximum \u61C9\u7576\u662F\u4F48\u723E\u503C",
|
|
1457
|
-
formatExclusiveMinimum: "formatExclusiveMinimum \u61C9\u7576\u662F\u4F48\u723E\u503C",
|
|
1458
|
-
if: "\u61C9\u7576\u5339\u914D\u6A21\u5F0F \"{failingKeyword}\""
|
|
1459
|
-
}
|
|
1460
|
-
},
|
|
1461
|
-
onboarding: {
|
|
1462
|
-
skip: "\u8DF3\u904E",
|
|
1463
|
-
prev: "\u4E0A\u4E00\u9805",
|
|
1464
|
-
next: "\u4E0B\u4E00\u9805",
|
|
1465
|
-
done: "\u5B8C\u6210"
|
|
1466
|
-
}
|
|
1467
|
-
};
|
|
1468
|
-
|
|
1469
|
-
var trTR = {
|
|
1470
|
-
abbr: 'tr-TR',
|
|
1471
|
-
exception: {
|
|
1472
|
-
403: "\u00DCzg\u00FCn\u00FCz, bu sayfaya eri\u015Fiminiz yok",
|
|
1473
|
-
404: "Maalesef bu sayfa mevcut de\u011Fil",
|
|
1474
|
-
500: "\u00DCzg\u00FCn\u00FCz, sunucu hatas\u0131",
|
|
1475
|
-
backToHome: "Ana Sayfa'ya geri d\u00F6n"
|
|
1476
|
-
},
|
|
1477
|
-
noticeIcon: {
|
|
1478
|
-
emptyText: 'Veri yok',
|
|
1479
|
-
clearText: 'Temiz'
|
|
1480
|
-
},
|
|
1481
|
-
reuseTab: {
|
|
1482
|
-
close: 'Sekmeyi Kapat',
|
|
1483
|
-
closeOther: 'Diğer sekmeleri kapat',
|
|
1484
|
-
closeRight: 'Sağdaki sekmeleri kapat',
|
|
1485
|
-
refresh: 'täzele'
|
|
1486
|
-
},
|
|
1487
|
-
tagSelect: {
|
|
1488
|
-
expand: 'Genişlet',
|
|
1489
|
-
collapse: 'Daralt'
|
|
1490
|
-
},
|
|
1491
|
-
miniProgress: {
|
|
1492
|
-
target: 'Hedef: '
|
|
1493
|
-
},
|
|
1494
|
-
st: {
|
|
1495
|
-
total: '{{range[0]}} ile {{range[1]}} arasında {{total}}',
|
|
1496
|
-
filterConfirm: 'Tamam',
|
|
1497
|
-
filterReset: 'Sıfırla'
|
|
1498
|
-
},
|
|
1499
|
-
sf: {
|
|
1500
|
-
submit: 'Gönder',
|
|
1501
|
-
reset: 'Sıfırla',
|
|
1502
|
-
search: 'Ara',
|
|
1503
|
-
edit: 'Kaydet',
|
|
1504
|
-
addText: 'Ekle',
|
|
1505
|
-
removeText: 'Kaldır',
|
|
1506
|
-
checkAllText: 'Tümünü kontrol et',
|
|
1507
|
-
error: {
|
|
1508
|
-
'false schema': "Boolean schema is false",
|
|
1509
|
-
$ref: "Can't resolve reference {ref}",
|
|
1510
|
-
additionalItems: "Should not have more than {limit} item",
|
|
1511
|
-
additionalProperties: "Should not have additional properties",
|
|
1512
|
-
anyOf: "Should match some schema in \"anyOf\"",
|
|
1513
|
-
dependencies: "should have property {deps} when property {property} is present",
|
|
1514
|
-
enum: "Should be equal to one of predefined values",
|
|
1515
|
-
format: "Should match format \"{format}\"",
|
|
1516
|
-
type: "Should be {type}",
|
|
1517
|
-
required: "Required",
|
|
1518
|
-
maxLength: "Should not be longer than {limit} character",
|
|
1519
|
-
minLength: "Should not be shorter than {limit} character",
|
|
1520
|
-
minimum: "Should be {comparison} {limit}",
|
|
1521
|
-
formatMinimum: "Should be {comparison} {limit}",
|
|
1522
|
-
maximum: "Should be {comparison} {limit}",
|
|
1523
|
-
formatMaximum: "Should be {comparison} {limit}",
|
|
1524
|
-
maxItems: "Should not have more than {limit} item",
|
|
1525
|
-
minItems: "Should not have less than {limit} item",
|
|
1526
|
-
maxProperties: "Should not have more than {limit} property",
|
|
1527
|
-
minProperties: "Should not have less than {limit} property",
|
|
1528
|
-
multipleOf: "Should be a multiple of {multipleOf}",
|
|
1529
|
-
not: "Should not be valid according to schema in \"not\"",
|
|
1530
|
-
oneOf: "Should match exactly one schema in \"oneOf\"",
|
|
1531
|
-
pattern: "Should match pattern \"{pattern}\"",
|
|
1532
|
-
uniqueItems: "Should not have duplicate items (items ## {j} and {i} are identical)",
|
|
1533
|
-
custom: "Should match format",
|
|
1534
|
-
propertyNames: "Property name \"{propertyName}\" is invalid",
|
|
1535
|
-
patternRequired: "Should have property matching pattern \"{missingPattern}\"",
|
|
1536
|
-
switch: "Should pass \"switch\" keyword validation, case {caseIndex} fails",
|
|
1537
|
-
const: "Should be equal to constant",
|
|
1538
|
-
contains: "Should contain a valid item",
|
|
1539
|
-
formatExclusiveMaximum: "formatExclusiveMaximum should be boolean",
|
|
1540
|
-
formatExclusiveMinimum: "formatExclusiveMinimum should be boolean",
|
|
1541
|
-
if: "Should match \"{failingKeyword}\" schema"
|
|
1542
|
-
}
|
|
1543
|
-
},
|
|
1544
|
-
onboarding: {
|
|
1545
|
-
skip: "Atla",
|
|
1546
|
-
prev: "\u00D6nceki",
|
|
1547
|
-
next: "Sonraki",
|
|
1548
|
-
done: "Bitti"
|
|
1549
|
-
}
|
|
1550
|
-
};
|
|
1551
|
-
|
|
1552
|
-
var plPL = {
|
|
1553
|
-
abbr: 'pl-PL',
|
|
1554
|
-
exception: {
|
|
1555
|
-
403: "Niestety, nie masz uprawnie\u0144 do tej strony",
|
|
1556
|
-
404: "Niestety, ta strona nie istnieje",
|
|
1557
|
-
500: "Niestety, b\u0142\u0105d serwera",
|
|
1558
|
-
backToHome: 'Powróć do strony głównej'
|
|
1559
|
-
},
|
|
1560
|
-
noticeIcon: {
|
|
1561
|
-
emptyText: 'Brak danych',
|
|
1562
|
-
clearText: 'Wyczyść'
|
|
1563
|
-
},
|
|
1564
|
-
reuseTab: {
|
|
1565
|
-
close: 'Zamknij kartę',
|
|
1566
|
-
closeOther: 'Zamknij inne karty',
|
|
1567
|
-
closeRight: 'Zamknij karty po prawej',
|
|
1568
|
-
refresh: 'Refresh'
|
|
1569
|
-
},
|
|
1570
|
-
tagSelect: {
|
|
1571
|
-
expand: 'Rozszerz',
|
|
1572
|
-
collapse: 'Zmniejsz'
|
|
1573
|
-
},
|
|
1574
|
-
miniProgress: {
|
|
1575
|
-
target: 'Cel: '
|
|
1576
|
-
},
|
|
1577
|
-
st: {
|
|
1578
|
-
total: '{{range[0]}} - {{range[1]}} z {{total}}',
|
|
1579
|
-
filterConfirm: 'OK',
|
|
1580
|
-
filterReset: 'Wyczyść'
|
|
1581
|
-
},
|
|
1582
|
-
sf: {
|
|
1583
|
-
submit: 'Wyślij',
|
|
1584
|
-
reset: 'Resetuj',
|
|
1585
|
-
search: 'Szukaj',
|
|
1586
|
-
edit: 'Zapisz',
|
|
1587
|
-
addText: 'Dodaj',
|
|
1588
|
-
removeText: 'Usuń',
|
|
1589
|
-
checkAllText: 'Zaznacz wszystkie',
|
|
1590
|
-
error: {
|
|
1591
|
-
'false schema': "Boolean schema is false",
|
|
1592
|
-
$ref: "Can't resolve reference {ref}",
|
|
1593
|
-
additionalItems: "Should not have more than {limit} item",
|
|
1594
|
-
additionalProperties: "Should not have additional properties",
|
|
1595
|
-
anyOf: "Should match some schema in \"anyOf\"",
|
|
1596
|
-
dependencies: "should have property {deps} when property {property} is present",
|
|
1597
|
-
enum: "Should be equal to one of predefined values",
|
|
1598
|
-
format: "Should match format \"{format}\"",
|
|
1599
|
-
type: "Should be {type}",
|
|
1600
|
-
required: "Required",
|
|
1601
|
-
maxLength: "Should not be longer than {limit} character",
|
|
1602
|
-
minLength: "Should not be shorter than {limit} character",
|
|
1603
|
-
minimum: "Should be {comparison} {limit}",
|
|
1604
|
-
formatMinimum: "Should be {comparison} {limit}",
|
|
1605
|
-
maximum: "Should be {comparison} {limit}",
|
|
1606
|
-
formatMaximum: "Should be {comparison} {limit}",
|
|
1607
|
-
maxItems: "Should not have more than {limit} item",
|
|
1608
|
-
minItems: "Should not have less than {limit} item",
|
|
1609
|
-
maxProperties: "Should not have more than {limit} property",
|
|
1610
|
-
minProperties: "Should not have less than {limit} property",
|
|
1611
|
-
multipleOf: "Should be a multiple of {multipleOf}",
|
|
1612
|
-
not: "Should not be valid according to schema in \"not\"",
|
|
1613
|
-
oneOf: "Should match exactly one schema in \"oneOf\"",
|
|
1614
|
-
pattern: "Should match pattern \"{pattern}\"",
|
|
1615
|
-
uniqueItems: "Should not have duplicate items (items ## {j} and {i} are identical)",
|
|
1616
|
-
custom: "Should match format",
|
|
1617
|
-
propertyNames: "Property name \"{propertyName}\" is invalid",
|
|
1618
|
-
patternRequired: "Should have property matching pattern \"{missingPattern}\"",
|
|
1619
|
-
switch: "Should pass \"switch\" keyword validation, case {caseIndex} fails",
|
|
1620
|
-
const: "Should be equal to constant",
|
|
1621
|
-
contains: "Should contain a valid item",
|
|
1622
|
-
formatExclusiveMaximum: "formatExclusiveMaximum should be boolean",
|
|
1623
|
-
formatExclusiveMinimum: "formatExclusiveMinimum should be boolean",
|
|
1624
|
-
if: "Should match \"{failingKeyword}\" schema"
|
|
1625
|
-
}
|
|
1626
|
-
},
|
|
1627
|
-
onboarding: {
|
|
1628
|
-
skip: "Pomin\u0105\u0107",
|
|
1629
|
-
prev: "Poprzedni",
|
|
1630
|
-
next: "Kolejny",
|
|
1631
|
-
done: "Gotowe"
|
|
1632
|
-
}
|
|
1633
|
-
};
|
|
1634
|
-
|
|
1635
|
-
var elGR = {
|
|
1636
|
-
abbr: 'el-GR',
|
|
1637
|
-
exception: {
|
|
1638
|
-
403: "\u039B\u03C5\u03C0\u03BF\u03CD\u03BC\u03B1\u03C3\u03C4\u03B5, \u03B4\u03B5\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03C0\u03C1\u03CC\u03C3\u03B2\u03B1\u03C3\u03B7 \u03C3\u03B5 \u03B1\u03C5\u03C4\u03AE\u03BD \u03C4\u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1",
|
|
1639
|
-
404: "\u039B\u03C5\u03C0\u03BF\u03CD\u03BC\u03B1\u03C3\u03C4\u03B5, \u03B7 \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1 \u03B1\u03C5\u03C4\u03AE \u03B4\u03B5\u03BD \u03B2\u03C1\u03AD\u03B8\u03B7\u03BA\u03B5",
|
|
1640
|
-
500: "\u039B\u03C5\u03C0\u03BF\u03CD\u03BC\u03B1\u03C3\u03C4\u03B5, \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1 \u03B4\u03B9\u03B1\u03BA\u03BF\u03BC\u03B9\u03C3\u03C4\u03AE",
|
|
1641
|
-
backToHome: 'Επιστροφή στην αρχική σελίδα'
|
|
1642
|
-
},
|
|
1643
|
-
noticeIcon: {
|
|
1644
|
-
emptyText: 'Δεν υπάρχουν δεδομένα',
|
|
1645
|
-
clearText: 'Καθαρισμός'
|
|
1646
|
-
},
|
|
1647
|
-
reuseTab: {
|
|
1648
|
-
close: 'Κλείσιμο καρτέλας',
|
|
1649
|
-
closeOther: 'Κλείσιμο των άλλων καρτέλων',
|
|
1650
|
-
closeRight: 'Κλείσιμο των καρτελών δεξιά',
|
|
1651
|
-
refresh: 'Ανανέωση'
|
|
1652
|
-
},
|
|
1653
|
-
tagSelect: {
|
|
1654
|
-
expand: 'Επέκταση',
|
|
1655
|
-
collapse: 'Σύμπτυξη'
|
|
1656
|
-
},
|
|
1657
|
-
miniProgress: {
|
|
1658
|
-
target: 'Στόχος: '
|
|
1659
|
-
},
|
|
1660
|
-
st: {
|
|
1661
|
-
total: '{{range[0]}} - {{range[1]}} από {{total}}',
|
|
1662
|
-
filterConfirm: 'ΟΚ',
|
|
1663
|
-
filterReset: 'Επαναφορά'
|
|
1664
|
-
},
|
|
1665
|
-
sf: {
|
|
1666
|
-
submit: 'Υποβολή',
|
|
1667
|
-
reset: 'Επαναφορά',
|
|
1668
|
-
search: 'Αναζήτηση',
|
|
1669
|
-
edit: 'Αποθήκευση',
|
|
1670
|
-
addText: 'Προσθήκη',
|
|
1671
|
-
removeText: 'Αφαίρεση',
|
|
1672
|
-
checkAllText: 'Επιλογή όλων',
|
|
1673
|
-
error: {
|
|
1674
|
-
'false schema': "\u0397 \u03B4\u03C5\u03B1\u03B4\u03B9\u03BA\u03AE \u03B4\u03BF\u03BC\u03AE \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C8\u03B5\u03C5\u03B4\u03AE\u03C2",
|
|
1675
|
-
$ref: "\u0394\u03B5\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B4\u03C5\u03BD\u03B1\u03C4\u03AE \u03B7 \u03B5\u03C0\u03AF\u03BB\u03C5\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03B1\u03BD\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2 {ref}",
|
|
1676
|
-
additionalItems: "\u0394\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1 \u03B1\u03C0\u03CC {limit} \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",
|
|
1677
|
-
additionalProperties: "\u0394\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03B5\u03C0\u03B9\u03C0\u03BB\u03AD\u03BF\u03BD \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03B7\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AC",
|
|
1678
|
-
anyOf: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B1\u03B9\u03C1\u03B9\u03AC\u03B6\u03B5\u03B9 \u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03B1 \u03B1\u03C0\u03BF \u03C4\u03B9\u03C2 \u03B4\u03BF\u03BC\u03AD\u03C2 \u03C3\u03C4\u03BF \"anyOf\"",
|
|
1679
|
-
dependencies: "\u03C4\u03B1 \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03B7\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AC {deps} \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B1\u03C0\u03B1\u03C1\u03B1\u03AF\u03C4\u03B7\u03C4\u03B1, \u03CC\u03C4\u03B1\u03BD \u03C5\u03C0\u03AC\u03C1\u03C7\u03B5\u03B9 \u03C4\u03BF \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03B7\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC {property}",
|
|
1680
|
-
enum: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03AF\u03C3\u03BF \u03BC\u03B5 \u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03C4\u03B9\u03C2 \u03C0\u03C1\u03BF\u03BA\u03B1\u03B8\u03BF\u03C1\u03B9\u03C3\u03BC\u03AD\u03BD\u03B5\u03C2 \u03C4\u03B9\u03BC\u03AD\u03C2",
|
|
1681
|
-
format: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03C4\u03B7\u03BD \u03BC\u03BF\u03C1\u03C6\u03AE \"{format}\"",
|
|
1682
|
-
type: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 {type}",
|
|
1683
|
-
required: "\u0391\u03C0\u03B1\u03B9\u03C4\u03B5\u03AF\u03C4\u03B1\u03B9",
|
|
1684
|
-
maxLength: "\u0394\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03BC\u03B5\u03B3\u03B1\u03BB\u03CD\u03C4\u03B5\u03C1\u03BF \u03B1\u03C0\u03CC {limit} \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2",
|
|
1685
|
-
minLength: "\u0394\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03BC\u03B9\u03BA\u03C1\u03CC\u03C4\u03B5\u03C1\u03BF \u03B1\u03C0\u03CC {limit} \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2",
|
|
1686
|
-
minimum: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 {comparison} {limit}",
|
|
1687
|
-
formatMinimum: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 {comparison} {limit}",
|
|
1688
|
-
maximum: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 {comparison} {limit}",
|
|
1689
|
-
formatMaximum: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 {comparison} {limit}",
|
|
1690
|
-
maxItems: "\u0394\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1 \u03B1\u03C0\u03CC {limit} \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",
|
|
1691
|
-
minItems: "\u0394\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03BB\u03B9\u03B3\u03CC\u03C4\u03B5\u03C1\u03B1 \u03B1\u03C0\u03CC {limit} \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",
|
|
1692
|
-
maxProperties: "\u0394\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1 \u03B1\u03C0\u03CC {limit} \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03B7\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AC",
|
|
1693
|
-
minProperties: "\u0394\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03BB\u03B9\u03B3\u03CC\u03C4\u03B5\u03C1\u03B1 \u03B1\u03C0\u03CC {limit} \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03B7\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03AC",
|
|
1694
|
-
multipleOf: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AC\u03C3\u03B9\u03BF \u03C4\u03BF\u03C5 {multipleOf}",
|
|
1695
|
-
not: "\u0394\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B5\u03B3\u03BA\u03CD\u03C1\u03BF, \u03C3\u03CD\u03BC\u03C6\u03C9\u03BD\u03B1 \u03BC\u03B5 \u03C4\u03B7\u03BD \u03B4\u03BF\u03BC\u03AE \u03C3\u03C4\u03BF \"not\"",
|
|
1696
|
-
oneOf: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B1\u03B9\u03C1\u03B9\u03AC\u03B6\u03B5\u03B9 \u03BC\u03B5 \u03B1\u03BA\u03C1\u03B9\u03B2\u03CE\u03C2 \u03BC\u03B9\u03B1 \u03B1\u03C0\u03BF \u03C4\u03B9\u03C2 \u03B4\u03BF\u03BC\u03AD\u03C2 \u03C3\u03C4\u03BF \"oneOf\"",
|
|
1697
|
-
pattern: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B1\u03B9\u03C1\u03B9\u03AC\u03B6\u03B5\u03B9 \u03BC\u03B5 \u03C4\u03BF \u03C0\u03C1\u03CC\u03C4\u03C5\u03C0\u03BF \"{pattern}\"",
|
|
1698
|
-
uniqueItems: "\u03A4\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1 \u03B4\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03C0\u03B1\u03BD\u03B1\u03BB\u03B1\u03BC\u03B2\u03AC\u03BD\u03BF\u03BD\u03C4\u03B1\u03B9 (\u03C4\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1 ## {j} \u03BA\u03B1\u03B9 {i} \u03B5\u03AF\u03BD\u03B1\u03B9 \u03AF\u03B4\u03B9\u03B1)",
|
|
1699
|
-
custom: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03C4\u03B7\u03BD \u03BC\u03BF\u03C1\u03C6\u03AE",
|
|
1700
|
-
propertyNames: "\u03A4\u03BF \u03CC\u03BD\u03BF\u03BC\u03B1 \u03C4\u03BF\u03C5 \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03B7\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03BF\u03CD \"{propertyName}\" \u03B4\u03B5\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF",
|
|
1701
|
-
patternRequired: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C5\u03C0\u03AC\u03C1\u03C7\u03B5\u03B9 \u03C4\u03BF \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03B7\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC \u03B1\u03BD\u03C4\u03B9\u03C0\u03B1\u03C1\u03B1\u03B2\u03BF\u03BB\u03AE\u03C2 \u03C0\u03C1\u03BF\u03C4\u03CD\u03C0\u03BF\u03C5 \"{missingPattern}\"",
|
|
1702
|
-
switch: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C0\u03B5\u03C1\u03AC\u03C3\u03B5\u03B9 \u03BF \u03AD\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03B5\u03B3\u03BA\u03C5\u03C1\u03CC\u03C4\u03B7\u03C4\u03B1\u03C2 \u03C4\u03B7\u03C2 \u03BB\u03AD\u03BE\u03B7\u03C2-\u03BA\u03BB\u03B5\u03B9\u03B4\u03B9\u03BF\u03CD \u03BC\u03B5 \u03C4\u03B7\u03BD \u03C7\u03C1\u03AE\u03C3\u03B7 \u03C4\u03B7\u03C2 \"switch\", \u03B7 \u03C0\u03B5\u03C1\u03AF\u03C0\u03C4\u03C9\u03C3\u03B7 {caseIndex} \u03B1\u03C0\u03BF\u03C4\u03C5\u03B3\u03C7\u03AC\u03BD\u03B5\u03B9",
|
|
1703
|
-
const: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03AF\u03C3\u03BF \u03BC\u03B5 \u03C3\u03C4\u03B1\u03B8\u03B5\u03C1\u03AC",
|
|
1704
|
-
contains: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C0\u03B5\u03C1\u03B9\u03AD\u03C7\u03B5\u03B9 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03BF",
|
|
1705
|
-
formatExclusiveMaximum: "formatExclusiveMaximum \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 boolean",
|
|
1706
|
-
formatExclusiveMinimum: "formatExclusiveMinimum \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 boolean",
|
|
1707
|
-
if: "\u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B1\u03B9\u03C1\u03B9\u03AC\u03B6\u03B5\u03B9 \u03C3\u03C4\u03B7\u03BD \u03B4\u03BF\u03BC\u03AE \"{failingKeyword}\""
|
|
1708
|
-
}
|
|
1709
|
-
},
|
|
1710
|
-
onboarding: {
|
|
1711
|
-
skip: "\u03A0\u03B1\u03C1\u03AC\u03BB\u03B5\u03B9\u03C8\u03B7",
|
|
1712
|
-
prev: "\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF",
|
|
1713
|
-
next: "\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF",
|
|
1714
|
-
done: "\u039F\u03BB\u03BF\u03BA\u03BB\u03B7\u03C1\u03CE\u03B8\u03B7\u03BA\u03B5"
|
|
1715
|
-
}
|
|
1716
|
-
};
|
|
1717
|
-
|
|
1718
|
-
var koKR = {
|
|
1719
|
-
abbr: 'ko-KR',
|
|
1720
|
-
exception: {
|
|
1721
|
-
403: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4.\uC774 \uD398\uC774\uC9C0\uC5D0 \uC561\uC138\uC2A4 \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
1722
|
-
404: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uD574\uB2F9 \uD398\uC774\uC9C0\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
1723
|
-
500: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4, \uC11C\uBC84 \uC624\uB958\uAC00 \uC788\uC2B5\uB2C8\uB2E4.",
|
|
1724
|
-
backToHome: '홈으로 돌아갑니다.'
|
|
1725
|
-
},
|
|
1726
|
-
noticeIcon: {
|
|
1727
|
-
emptyText: '데이터 없음',
|
|
1728
|
-
clearText: '지우기'
|
|
1729
|
-
},
|
|
1730
|
-
reuseTab: {
|
|
1731
|
-
close: '탭 닫기',
|
|
1732
|
-
closeOther: '다른 탭 닫기',
|
|
1733
|
-
closeRight: '오른쪽 탭 닫기',
|
|
1734
|
-
refresh: '새롭게 하다'
|
|
1735
|
-
},
|
|
1736
|
-
tagSelect: {
|
|
1737
|
-
expand: '펼치기',
|
|
1738
|
-
collapse: '접기'
|
|
1739
|
-
},
|
|
1740
|
-
miniProgress: {
|
|
1741
|
-
target: '대상: '
|
|
1742
|
-
},
|
|
1743
|
-
st: {
|
|
1744
|
-
total: '전체 {{total}}건',
|
|
1745
|
-
filterConfirm: '확인',
|
|
1746
|
-
filterReset: '초기화'
|
|
1747
|
-
},
|
|
1748
|
-
sf: {
|
|
1749
|
-
submit: '제출',
|
|
1750
|
-
reset: '재설정',
|
|
1751
|
-
search: '검색',
|
|
1752
|
-
edit: '저장',
|
|
1753
|
-
addText: '추가',
|
|
1754
|
-
removeText: '제거',
|
|
1755
|
-
checkAllText: '모두 확인',
|
|
1756
|
-
error: {
|
|
1757
|
-
'false schema': "Boolean schema is false",
|
|
1758
|
-
$ref: "Can't resolve reference {ref}",
|
|
1759
|
-
additionalItems: "Should not have more than {limit} item",
|
|
1760
|
-
additionalProperties: "Should not have additional properties",
|
|
1761
|
-
anyOf: "Should match some schema in \"anyOf\"",
|
|
1762
|
-
dependencies: "should have property {deps} when property {property} is present",
|
|
1763
|
-
enum: "Should be equal to one of predefined values",
|
|
1764
|
-
format: "Should match format \"{format}\"",
|
|
1765
|
-
type: "Should be {type}",
|
|
1766
|
-
required: "Required",
|
|
1767
|
-
maxLength: "Should not be longer than {limit} character",
|
|
1768
|
-
minLength: "Should not be shorter than {limit} character",
|
|
1769
|
-
minimum: "Should be {comparison} {limit}",
|
|
1770
|
-
formatMinimum: "Should be {comparison} {limit}",
|
|
1771
|
-
maximum: "Should be {comparison} {limit}",
|
|
1772
|
-
formatMaximum: "Should be {comparison} {limit}",
|
|
1773
|
-
maxItems: "Should not have more than {limit} item",
|
|
1774
|
-
minItems: "Should not have less than {limit} item",
|
|
1775
|
-
maxProperties: "Should not have more than {limit} property",
|
|
1776
|
-
minProperties: "Should not have less than {limit} property",
|
|
1777
|
-
multipleOf: "Should be a multiple of {multipleOf}",
|
|
1778
|
-
not: "Should not be valid according to schema in \"not\"",
|
|
1779
|
-
oneOf: "Should match exactly one schema in \"oneOf\"",
|
|
1780
|
-
pattern: "Should match pattern \"{pattern}\"",
|
|
1781
|
-
uniqueItems: "Should not have duplicate items (items ## {j} and {i} are identical)",
|
|
1782
|
-
custom: "Should match format",
|
|
1783
|
-
propertyNames: "Property name \"{propertyName}\" is invalid",
|
|
1784
|
-
patternRequired: "Should have property matching pattern \"{missingPattern}\"",
|
|
1785
|
-
switch: "Should pass \"switch\" keyword validation, case {caseIndex} fails",
|
|
1786
|
-
const: "Should be equal to constant",
|
|
1787
|
-
contains: "Should contain a valid item",
|
|
1788
|
-
formatExclusiveMaximum: "formatExclusiveMaximum should be boolean",
|
|
1789
|
-
formatExclusiveMinimum: "formatExclusiveMinimum should be boolean",
|
|
1790
|
-
if: "Should match \"{failingKeyword}\" schema"
|
|
1791
|
-
}
|
|
1792
|
-
},
|
|
1793
|
-
onboarding: {
|
|
1794
|
-
skip: "\uAC74\uB108 \uB6F0\uAE30",
|
|
1795
|
-
prev: "\uC774\uC804",
|
|
1796
|
-
next: "\uB2E4\uC74C",
|
|
1797
|
-
done: "\uB05D\uB09C"
|
|
1798
|
-
}
|
|
1799
|
-
};
|
|
1800
|
-
|
|
1801
|
-
var hrHR = {
|
|
1802
|
-
abbr: 'hr-HR',
|
|
1803
|
-
exception: {
|
|
1804
|
-
403: "Na\u017Ealost, nemate pristup ovoj lokaciji",
|
|
1805
|
-
404: "Na\u017Ealost, lokacija ne postoji",
|
|
1806
|
-
500: "Na\u017Ealost, server je javio pogre\u0161ku",
|
|
1807
|
-
backToHome: 'Nazad na početnu stranicu'
|
|
1808
|
-
},
|
|
1809
|
-
noticeIcon: {
|
|
1810
|
-
emptyText: 'Nema podataka',
|
|
1811
|
-
clearText: 'Obriši'
|
|
1812
|
-
},
|
|
1813
|
-
reuseTab: {
|
|
1814
|
-
close: 'Zatvori karticu',
|
|
1815
|
-
closeOther: 'Zatvori druge kartice',
|
|
1816
|
-
closeRight: 'Zatvori kartice desno',
|
|
1817
|
-
refresh: 'Refresh'
|
|
1818
|
-
},
|
|
1819
|
-
tagSelect: {
|
|
1820
|
-
expand: 'Proširi',
|
|
1821
|
-
collapse: 'Skupi'
|
|
1822
|
-
},
|
|
1823
|
-
miniProgress: {
|
|
1824
|
-
target: 'Cilj: '
|
|
1825
|
-
},
|
|
1826
|
-
st: {
|
|
1827
|
-
total: '{{range[0]}} - {{range[1]}} od {{total}}',
|
|
1828
|
-
filterConfirm: 'U redu',
|
|
1829
|
-
filterReset: 'Poništi'
|
|
1830
|
-
},
|
|
1831
|
-
sf: {
|
|
1832
|
-
submit: 'Pošalji',
|
|
1833
|
-
reset: 'Poništi',
|
|
1834
|
-
search: 'Pretraži',
|
|
1835
|
-
edit: 'Spremi',
|
|
1836
|
-
addText: 'Dodaj',
|
|
1837
|
-
removeText: 'Ukloni',
|
|
1838
|
-
checkAllText: 'Označi sve'
|
|
1839
|
-
},
|
|
1840
|
-
onboarding: {
|
|
1841
|
-
skip: "Presko\u010Diti",
|
|
1842
|
-
prev: "Prethodna",
|
|
1843
|
-
next: "Sljede\u0107i",
|
|
1844
|
-
done: "Sastavljeno"
|
|
1845
|
-
}
|
|
1846
|
-
};
|
|
1847
|
-
|
|
1848
|
-
var jaJP = {
|
|
1849
|
-
abbr: 'ja-JP',
|
|
1850
|
-
exception: {
|
|
1851
|
-
403: 'ページへのアクセス権限がありません',
|
|
1852
|
-
404: 'ページが存在しません',
|
|
1853
|
-
500: 'サーバーエラーが発生しました',
|
|
1854
|
-
backToHome: 'ホームに戻る'
|
|
1855
|
-
},
|
|
1856
|
-
noticeIcon: {
|
|
1857
|
-
emptyText: 'データが有りません',
|
|
1858
|
-
clearText: 'クリア'
|
|
1859
|
-
},
|
|
1860
|
-
reuseTab: {
|
|
1861
|
-
close: 'タブを閉じる',
|
|
1862
|
-
closeOther: '他のタブを閉じる',
|
|
1863
|
-
closeRight: '右のタブを閉じる',
|
|
1864
|
-
refresh: 'リフレッシュ'
|
|
1865
|
-
},
|
|
1866
|
-
tagSelect: {
|
|
1867
|
-
expand: '展開する',
|
|
1868
|
-
collapse: '折りたたむ'
|
|
1869
|
-
},
|
|
1870
|
-
miniProgress: {
|
|
1871
|
-
target: '設定値: '
|
|
1872
|
-
},
|
|
1873
|
-
st: {
|
|
1874
|
-
total: '{{range[0]}} - {{range[1]}} / {{total}}',
|
|
1875
|
-
filterConfirm: '確定',
|
|
1876
|
-
filterReset: 'リセット'
|
|
1877
|
-
},
|
|
1878
|
-
sf: {
|
|
1879
|
-
submit: '送信',
|
|
1880
|
-
reset: 'リセット',
|
|
1881
|
-
search: '検索',
|
|
1882
|
-
edit: '保存',
|
|
1883
|
-
addText: '追加',
|
|
1884
|
-
removeText: '削除',
|
|
1885
|
-
checkAllText: '全選択',
|
|
1886
|
-
error: {
|
|
1887
|
-
'false schema': "\u771F\u507D\u5024\u30B9\u30AD\u30FC\u30DE\u304C\u4E0D\u6B63\u3067\u3059",
|
|
1888
|
-
$ref: "\u53C2\u7167\u3092\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093: {ref}",
|
|
1889
|
-
additionalItems: "{limit}\u500B\u3092\u8D85\u3048\u308B\u30A2\u30A4\u30C6\u30E0\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",
|
|
1890
|
-
additionalProperties: "\u8FFD\u52A0\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u4F7F\u7528\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044",
|
|
1891
|
-
anyOf: "\"anyOf\"\u306E\u30B9\u30AD\u30FC\u30DE\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
|
|
1892
|
-
dependencies: "\u30D7\u30ED\u30D1\u30C6\u30A3 {property} \u3092\u6307\u5B9A\u3057\u305F\u5834\u5408\u3001\u6B21\u306E\u4F9D\u5B58\u95A2\u4FC2\u3092\u6E80\u305F\u3059\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: {deps}",
|
|
1893
|
-
enum: "\u5B9A\u7FA9\u3055\u308C\u305F\u5024\u306E\u3044\u305A\u308C\u304B\u306B\u7B49\u3057\u304F\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093",
|
|
1894
|
-
format: "\u5165\u529B\u5F62\u5F0F\u306B\u4E00\u81F4\u3057\u307E\u305B\u3093: \"{format}\"",
|
|
1895
|
-
type: "\u578B\u304C\u4E0D\u6B63\u3067\u3059: {type}",
|
|
1896
|
-
required: "\u5FC5\u9808\u9805\u76EE\u3067\u3059",
|
|
1897
|
-
maxLength: "\u6700\u5927\u6587\u5B57\u6570: {limit}",
|
|
1898
|
-
minLength: "\u6700\u5C11\u6587\u5B57\u6570: {limit}",
|
|
1899
|
-
minimum: "\u5024\u304C\u4E0D\u6B63\u3067\u3059: {comparison} {limit}",
|
|
1900
|
-
formatMinimum: "\u5024\u304C\u4E0D\u6B63\u3067\u3059: {comparison} {limit}",
|
|
1901
|
-
maximum: "\u5024\u304C\u4E0D\u6B63\u3067\u3059: {comparison} {limit}",
|
|
1902
|
-
formatMaximum: "\u5024\u304C\u4E0D\u6B63\u3067\u3059: {comparison} {limit}",
|
|
1903
|
-
maxItems: "\u6700\u5927\u9078\u629E\u6570\u306F {limit} \u3088\u308A\u5C0F\u3055\u3044\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
|
|
1904
|
-
minItems: "\u6700\u5C0F\u9078\u629E\u6570\u306F {limit} \u3088\u308A\u5927\u304D\u3044\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
|
|
1905
|
-
maxProperties: "\u5024\u3092{limit}\u3088\u308A\u5927\u304D\u304F\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",
|
|
1906
|
-
minProperties: "\u5024\u3092{limit}\u3088\u308A\u5C0F\u3055\u304F\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",
|
|
1907
|
-
multipleOf: "\u5024\u306F\u6B21\u306E\u6570\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: {multipleOf}",
|
|
1908
|
-
not: "\u5024\u304C\u4E0D\u6B63\u3067\u3059:",
|
|
1909
|
-
oneOf: "\u5024\u304C\u4E0D\u6B63\u3067\u3059:",
|
|
1910
|
-
pattern: "\u6B21\u306E\u30D1\u30BF\u30FC\u30F3\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: \"{pattern}\"",
|
|
1911
|
-
uniqueItems: "\u5024\u304C\u91CD\u8907\u3057\u3066\u3044\u307E\u3059: \u9078\u629E\u80A2: {j} \u3001{i}",
|
|
1912
|
-
custom: "\u5F62\u5F0F\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
|
|
1913
|
-
propertyNames: "\u6B21\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u306E\u5024\u304C\u7121\u52B9\u3067\u3059: \"{propertyName}\"",
|
|
1914
|
-
patternRequired: "\u6B21\u306E\u30D1\u30BF\u30FC\u30F3\u306B\u4E00\u81F4\u3059\u308B\u30D7\u30ED\u30D1\u30C6\u30A3\u304C\u5FC5\u9808\u3067\u3059: \"{missingPattern}\"",
|
|
1915
|
-
switch: "\"switch\" \u30AD\u30FC\u30EF\u30FC\u30C9\u306E\u5024\u304C\u4E0D\u6B63\u3067\u3059: {caseIndex}",
|
|
1916
|
-
const: "\u5024\u304C\u5B9A\u6570\u306B\u4E00\u81F4\u3057\u307E\u305B\u3093",
|
|
1917
|
-
contains: "\u6709\u52B9\u306A\u30A2\u30A4\u30C6\u30E0\u3092\u542B\u3081\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
|
|
1918
|
-
formatExclusiveMaximum: "formatExclusiveMaximum \u306F\u771F\u507D\u5024\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
|
|
1919
|
-
formatExclusiveMinimum: "formatExclusiveMaximum \u306F\u771F\u507D\u5024\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
|
|
1920
|
-
if: "\u30D1\u30BF\u30FC\u30F3\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: \"{failingKeyword}\" "
|
|
1921
|
-
}
|
|
1922
|
-
},
|
|
1923
|
-
onboarding: {
|
|
1924
|
-
skip: "\u30B9\u30AD\u30C3\u30D7",
|
|
1925
|
-
prev: "\u524D\u3078",
|
|
1926
|
-
next: "\u6B21",
|
|
1927
|
-
done: "\u3067\u304D\u305F"
|
|
1928
|
-
}
|
|
1929
|
-
};
|
|
1930
|
-
|
|
1931
|
-
var slSI = {
|
|
1932
|
-
abbr: 'sl-SI',
|
|
1933
|
-
exception: {
|
|
1934
|
-
403: "\u017Dal nimate dostopa do te strani",
|
|
1935
|
-
404: "\u017Dal stran, ki ste jo obiskali, ne obstaja",
|
|
1936
|
-
500: "\u017Dal stre\u017Enik poro\u010Da o napaki",
|
|
1937
|
-
backToHome: 'Nazaj domov'
|
|
1938
|
-
},
|
|
1939
|
-
noticeIcon: {
|
|
1940
|
-
emptyText: 'Ni podatkov',
|
|
1941
|
-
clearText: 'Počisti'
|
|
1942
|
-
},
|
|
1943
|
-
reuseTab: {
|
|
1944
|
-
close: 'Zapri zavihek',
|
|
1945
|
-
closeOther: 'Zaprite druge zavihke',
|
|
1946
|
-
closeRight: 'Zaprite zavihke na desni'
|
|
1947
|
-
},
|
|
1948
|
-
tagSelect: {
|
|
1949
|
-
expand: 'Razširi',
|
|
1950
|
-
collapse: 'Strni'
|
|
1951
|
-
},
|
|
1952
|
-
miniProgress: {
|
|
1953
|
-
target: 'Cilj: '
|
|
1954
|
-
},
|
|
1955
|
-
st: {
|
|
1956
|
-
total: '{{range[0]}} - {{range[1]}} of {{total}}',
|
|
1957
|
-
filterConfirm: 'OK',
|
|
1958
|
-
filterReset: 'Reset'
|
|
1959
|
-
},
|
|
1960
|
-
sf: {
|
|
1961
|
-
submit: 'Pošlji',
|
|
1962
|
-
reset: 'Reset',
|
|
1963
|
-
search: 'Išči',
|
|
1964
|
-
edit: 'Shrani',
|
|
1965
|
-
addText: 'Dodaj',
|
|
1966
|
-
removeText: 'Odstrani',
|
|
1967
|
-
checkAllText: 'Preveri vse',
|
|
1968
|
-
error: {
|
|
1969
|
-
'false schema': "Boolova shema je napa\u010Dna",
|
|
1970
|
-
$ref: "Referenc ni mogo\u010De razre\u0161iti {ref}",
|
|
1971
|
-
additionalItems: "Ne sme imeti ve\u010D kot {limit} artiklov",
|
|
1972
|
-
additionalProperties: "Ne bi smel imeti dodatnih lastnosti",
|
|
1973
|
-
anyOf: "Se mora ujemati s shemo v \"anyOf\"",
|
|
1974
|
-
dependencies: "mora imeti lastnosti {deps} ko je artikel {property} prisoten",
|
|
1975
|
-
enum: "Mora biti enaka eni od vnaprej dolo\u010Denih vrednosti",
|
|
1976
|
-
format: "Naj ustreza formatu \"{format}\"",
|
|
1977
|
-
type: "Naj bo {type}",
|
|
1978
|
-
required: "Zahtevano",
|
|
1979
|
-
maxLength: "Ne sme biti dalj\u0161i od {limit} znakov",
|
|
1980
|
-
minLength: "Ne sme biti kraj\u0161i od {limit} znakov",
|
|
1981
|
-
minimum: "Naj bo {comparison} {limit}",
|
|
1982
|
-
formatMinimum: "Naj bo {comparison} {limit}",
|
|
1983
|
-
maximum: "Naj bo {comparison} {limit}",
|
|
1984
|
-
formatMaximum: "Naj bo {comparison} {limit}",
|
|
1985
|
-
maxItems: "Ne sme imeti ve\u010D kot {limit} artiklov",
|
|
1986
|
-
minItems: "Ne sme imeti manj kot {limit} artiklov",
|
|
1987
|
-
maxProperties: "Ne sme imeti ve\u010D kot {limit} lastnosti",
|
|
1988
|
-
minProperties: "Ne sme imeti manj kot {limit} lastnosti",
|
|
1989
|
-
multipleOf: "Mora biti ve\u010Dkratnik od {multipleOf}",
|
|
1990
|
-
not: "Ne sme biti veljaven po shemi v \"not\"",
|
|
1991
|
-
oneOf: "Naj ustreza natan\u010Dno eni shemi v \"oneOf\"",
|
|
1992
|
-
pattern: "Naj se ujema z vzorcem \"{pattern}\"",
|
|
1993
|
-
uniqueItems: "Ne bi smel imeti dvojnikov (items ## {j} in {i} so identi\u010Dni)",
|
|
1994
|
-
custom: "Naj ustreza formatu",
|
|
1995
|
-
propertyNames: "Ime artikla \"{propertyName}\" je neveljavno",
|
|
1996
|
-
patternRequired: "Mora imeti vzorec ujemanja lastnosti \"{missingPattern}\"",
|
|
1997
|
-
switch: "Mora prestati \"switch\" validacijo klju\u010Dne besede, primer {caseIndex} ne uspe",
|
|
1998
|
-
const: "Naj bo enako konstanti",
|
|
1999
|
-
contains: "Naj vsebuje veljaven artikel",
|
|
2000
|
-
formatExclusiveMaximum: "formatExclusiveMaximum naj bo boolean",
|
|
2001
|
-
formatExclusiveMinimum: "formatExclusiveMinimum naj bo boolean",
|
|
2002
|
-
if: "Naj se ujema s shemo \"{failingKeyword}\""
|
|
2003
|
-
}
|
|
2004
|
-
},
|
|
2005
|
-
onboarding: {
|
|
2006
|
-
skip: "Presko\u010Di",
|
|
2007
|
-
prev: "Prej\u0161nje",
|
|
2008
|
-
next: "Naslednji",
|
|
2009
|
-
done: "Kon\u010Dano"
|
|
2010
|
-
}
|
|
2011
|
-
};
|
|
2012
|
-
|
|
2013
|
-
var frFR = {
|
|
2014
|
-
abbr: 'fr-FR',
|
|
2015
|
-
exception: {
|
|
2016
|
-
403: "D\u00E9sol\u00E9, vous n'avez pas acc\u00E8s \u00E0 cette page",
|
|
2017
|
-
404: "D\u00E9sol\u00E9, la page que vous avez visit\u00E9e n'existe pas",
|
|
2018
|
-
500: "D\u00E9sol\u00E9, le serveur signale une erreur",
|
|
2019
|
-
backToHome: "Retour à l'accueil"
|
|
2020
|
-
},
|
|
2021
|
-
noticeIcon: {
|
|
2022
|
-
emptyText: 'Pas de données',
|
|
2023
|
-
clearText: 'Effacer'
|
|
2024
|
-
},
|
|
2025
|
-
reuseTab: {
|
|
2026
|
-
close: "Fermer l'onglet",
|
|
2027
|
-
closeOther: 'Fermer les autres onglets',
|
|
2028
|
-
closeRight: 'Fermer les onglets à droite',
|
|
2029
|
-
refresh: 'Rafraîchir'
|
|
2030
|
-
},
|
|
2031
|
-
tagSelect: {
|
|
2032
|
-
expand: 'Etendre',
|
|
2033
|
-
collapse: 'Effondrer'
|
|
2034
|
-
},
|
|
2035
|
-
miniProgress: {
|
|
2036
|
-
target: 'Cible: '
|
|
2037
|
-
},
|
|
2038
|
-
st: {
|
|
2039
|
-
total: '{{range[0]}} - {{range[1]}} de {{total}}',
|
|
2040
|
-
filterConfirm: 'OK',
|
|
2041
|
-
filterReset: 'Réinitialiser'
|
|
2042
|
-
},
|
|
2043
|
-
sf: {
|
|
2044
|
-
submit: 'Soumettre',
|
|
2045
|
-
reset: 'Réinitialiser',
|
|
2046
|
-
search: 'Rechercher',
|
|
2047
|
-
edit: 'Sauvegarder',
|
|
2048
|
-
addText: 'Ajouter',
|
|
2049
|
-
removeText: 'Supprimer',
|
|
2050
|
-
checkAllText: 'Cochez toutes',
|
|
2051
|
-
error: {
|
|
2052
|
-
'false schema': "Boolean schema is false",
|
|
2053
|
-
$ref: "Can't resolve reference {ref}",
|
|
2054
|
-
additionalItems: "Should not have more than {limit} item",
|
|
2055
|
-
additionalProperties: "Should not have additional properties",
|
|
2056
|
-
anyOf: "Should match some schema in \"anyOf\"",
|
|
2057
|
-
dependencies: "should have property {deps} when property {property} is present",
|
|
2058
|
-
enum: "Should be equal to one of predefined values",
|
|
2059
|
-
format: "Should match format \"{format}\"",
|
|
2060
|
-
type: "Should be {type}",
|
|
2061
|
-
required: "Required",
|
|
2062
|
-
maxLength: "Should not be longer than {limit} character",
|
|
2063
|
-
minLength: "Should not be shorter than {limit} character",
|
|
2064
|
-
minimum: "Should be {comparison} {limit}",
|
|
2065
|
-
formatMinimum: "Should be {comparison} {limit}",
|
|
2066
|
-
maximum: "Should be {comparison} {limit}",
|
|
2067
|
-
formatMaximum: "Should be {comparison} {limit}",
|
|
2068
|
-
maxItems: "Should not have more than {limit} item",
|
|
2069
|
-
minItems: "Should not have less than {limit} item",
|
|
2070
|
-
maxProperties: "Should not have more than {limit} property",
|
|
2071
|
-
minProperties: "Should not have less than {limit} property",
|
|
2072
|
-
multipleOf: "Should be a multiple of {multipleOf}",
|
|
2073
|
-
not: "Should not be valid according to schema in \"not\"",
|
|
2074
|
-
oneOf: "Should match exactly one schema in \"oneOf\"",
|
|
2075
|
-
pattern: "Should match pattern \"{pattern}\"",
|
|
2076
|
-
uniqueItems: "Should not have duplicate items (items ## {j} and {i} are identical)",
|
|
2077
|
-
custom: "Should match format",
|
|
2078
|
-
propertyNames: "Property name \"{propertyName}\" is invalid",
|
|
2079
|
-
patternRequired: "Should have property matching pattern \"{missingPattern}\"",
|
|
2080
|
-
switch: "Should pass \"switch\" keyword validation, case {caseIndex} fails",
|
|
2081
|
-
const: "Should be equal to constant",
|
|
2082
|
-
contains: "Should contain a valid item",
|
|
2083
|
-
formatExclusiveMaximum: "formatExclusiveMaximum should be boolean",
|
|
2084
|
-
formatExclusiveMinimum: "formatExclusiveMinimum should be boolean",
|
|
2085
|
-
if: "Should match \"{failingKeyword}\" schema"
|
|
2086
|
-
}
|
|
2087
|
-
},
|
|
2088
|
-
onboarding: {
|
|
2089
|
-
skip: "Passer",
|
|
2090
|
-
prev: "Pr\u00E9c\u00E9dent",
|
|
2091
|
-
next: "Suivant",
|
|
2092
|
-
done: "Termin\u00E9"
|
|
2093
|
-
}
|
|
2094
|
-
};
|
|
2095
|
-
|
|
2096
|
-
var esES = {
|
|
2097
|
-
abbr: 'es-ES',
|
|
2098
|
-
exception: {
|
|
2099
|
-
403: "Lo sentimos, no tiene acceso a esta p\u00E1gina",
|
|
2100
|
-
404: "Lo sentimos, la p\u00E1gina que ha visitado no existe",
|
|
2101
|
-
500: "Lo siento, error interno del servidor ",
|
|
2102
|
-
backToHome: 'Volver a la página de inicio'
|
|
2103
|
-
},
|
|
2104
|
-
noticeIcon: {
|
|
2105
|
-
emptyText: 'No hay datos',
|
|
2106
|
-
clearText: 'Limpiar'
|
|
2107
|
-
},
|
|
2108
|
-
reuseTab: {
|
|
2109
|
-
close: 'Cerrar pestaña',
|
|
2110
|
-
closeOther: 'Cerrar otras pestañas',
|
|
2111
|
-
closeRight: 'Cerrar pestañas a la derecha',
|
|
2112
|
-
refresh: 'Actualizar'
|
|
2113
|
-
},
|
|
2114
|
-
tagSelect: {
|
|
2115
|
-
expand: 'Expandir',
|
|
2116
|
-
collapse: 'Ocultar'
|
|
2117
|
-
},
|
|
2118
|
-
miniProgress: {
|
|
2119
|
-
target: 'Target: '
|
|
2120
|
-
},
|
|
2121
|
-
st: {
|
|
2122
|
-
total: '{{rango[0]}} - {{rango[1]}} de {{total}}',
|
|
2123
|
-
filterConfirm: 'Aceptar',
|
|
2124
|
-
filterReset: 'Reiniciar'
|
|
2125
|
-
},
|
|
2126
|
-
sf: {
|
|
2127
|
-
submit: 'Submit',
|
|
2128
|
-
reset: 'Reiniciar',
|
|
2129
|
-
search: 'Buscar',
|
|
2130
|
-
edit: 'Guardar',
|
|
2131
|
-
addText: 'Añadir',
|
|
2132
|
-
removeText: 'Eliminar',
|
|
2133
|
-
checkAllText: 'Comprobar todo',
|
|
2134
|
-
error: {
|
|
2135
|
-
'false schema': "Boolean schema is false",
|
|
2136
|
-
$ref: "Can't resolve reference {ref}",
|
|
2137
|
-
additionalItems: "Should not have more than {limit} item",
|
|
2138
|
-
additionalProperties: "Should not have additional properties",
|
|
2139
|
-
anyOf: "Should match some schema in \"anyOf\"",
|
|
2140
|
-
dependencies: "should have property {deps} when property {property} is present",
|
|
2141
|
-
enum: "Should be equal to one of predefined values",
|
|
2142
|
-
format: "Should match format \"{format}\"",
|
|
2143
|
-
type: "Should be {type}",
|
|
2144
|
-
required: "Required",
|
|
2145
|
-
maxLength: "Should not be longer than {limit} character",
|
|
2146
|
-
minLength: "Should not be shorter than {limit} character",
|
|
2147
|
-
minimum: "Should be {comparison} {limit}",
|
|
2148
|
-
formatMinimum: "Should be {comparison} {limit}",
|
|
2149
|
-
maximum: "Should be {comparison} {limit}",
|
|
2150
|
-
formatMaximum: "Should be {comparison} {limit}",
|
|
2151
|
-
maxItems: "Should not have more than {limit} item",
|
|
2152
|
-
minItems: "Should not have less than {limit} item",
|
|
2153
|
-
maxProperties: "Should not have more than {limit} property",
|
|
2154
|
-
minProperties: "Should not have less than {limit} property",
|
|
2155
|
-
multipleOf: "Should be a multiple of {multipleOf}",
|
|
2156
|
-
not: "Should not be valid according to schema in \"not\"",
|
|
2157
|
-
oneOf: "Should match exactly one schema in \"oneOf\"",
|
|
2158
|
-
pattern: "Should match pattern \"{pattern}\"",
|
|
2159
|
-
uniqueItems: "Should not have duplicate items (items ## {j} and {i} are identical)",
|
|
2160
|
-
custom: "Should match format",
|
|
2161
|
-
propertyNames: "Property name \"{propertyName}\" is invalid",
|
|
2162
|
-
patternRequired: "Should have property matching pattern \"{missingPattern}\"",
|
|
2163
|
-
switch: "Should pass \"switch\" keyword validation, case {caseIndex} fails",
|
|
2164
|
-
const: "Should be equal to constant",
|
|
2165
|
-
contains: "Should contain a valid item",
|
|
2166
|
-
formatExclusiveMaximum: "formatExclusiveMaximum should be boolean",
|
|
2167
|
-
formatExclusiveMinimum: "formatExclusiveMinimum should be boolean",
|
|
2168
|
-
if: "Should match \"{failingKeyword}\" schema"
|
|
2169
|
-
}
|
|
2170
|
-
},
|
|
2171
|
-
onboarding: {
|
|
2172
|
-
skip: "Omitir",
|
|
2173
|
-
prev: "Previo",
|
|
2174
|
-
next: "Siguiente",
|
|
2175
|
-
done: "Terminado"
|
|
2176
|
-
}
|
|
2177
|
-
};
|
|
2178
|
-
|
|
2179
|
-
var itIT = {
|
|
2180
|
-
abbr: 'it-IT',
|
|
2181
|
-
exception: {
|
|
2182
|
-
403: "Spiacenti, non hai accesso a questa pagina",
|
|
2183
|
-
404: "Spiacenti, la pagina che hai visitato non esiste",
|
|
2184
|
-
500: "Spiacenti, il server sta riscontrando un errore",
|
|
2185
|
-
backToHome: 'Torna alla Home'
|
|
2186
|
-
},
|
|
2187
|
-
noticeIcon: {
|
|
2188
|
-
emptyText: 'Nessun dato',
|
|
2189
|
-
clearText: 'Cancella memoria locale'
|
|
2190
|
-
},
|
|
2191
|
-
reuseTab: {
|
|
2192
|
-
close: 'Chiudi la scheda',
|
|
2193
|
-
closeOther: 'Chiudi le altre schede',
|
|
2194
|
-
closeRight: 'Chiudi le schede a destra',
|
|
2195
|
-
refresh: 'Aggiorna'
|
|
2196
|
-
},
|
|
2197
|
-
tagSelect: {
|
|
2198
|
-
expand: 'Espandi',
|
|
2199
|
-
collapse: 'Comprimi'
|
|
2200
|
-
},
|
|
2201
|
-
miniProgress: {
|
|
2202
|
-
target: 'Obiettivo: '
|
|
2203
|
-
},
|
|
2204
|
-
st: {
|
|
2205
|
-
total: '{{range[0]}} - {{range[1]}} di {{total}}',
|
|
2206
|
-
filterConfirm: 'OK',
|
|
2207
|
-
filterReset: 'Reimposta'
|
|
2208
|
-
},
|
|
2209
|
-
sf: {
|
|
2210
|
-
submit: 'Invia',
|
|
2211
|
-
reset: 'Reimposta',
|
|
2212
|
-
search: 'Cerca',
|
|
2213
|
-
edit: 'Salva',
|
|
2214
|
-
addText: 'Aggiungi',
|
|
2215
|
-
removeText: 'Rimuovi',
|
|
2216
|
-
checkAllText: 'Seleziona tutto',
|
|
2217
|
-
error: {
|
|
2218
|
-
'false schema': "Lo schema booleano \u00E8 falso",
|
|
2219
|
-
$ref: "Impossibile risolvere il riferimento {ref}",
|
|
2220
|
-
additionalItems: "Non deve avere pi\u00F9 di {limit} elementi",
|
|
2221
|
-
additionalProperties: "Non deve avere propriet\u00E0 aggiuntive",
|
|
2222
|
-
anyOf: "Deve corrispondere a uno schema in \"anyOf\"",
|
|
2223
|
-
dependencies: "Deve avere una propriet\u00E0 {deps} quando \u00E8 presente la propriet\u00E0 {property}",
|
|
2224
|
-
enum: "Deve essere uguale a uno dei valori predefiniti",
|
|
2225
|
-
format: "Deve corrispondere al formato \"{format}\"",
|
|
2226
|
-
type: "Deve essere {type}",
|
|
2227
|
-
required: "Obbligatorio",
|
|
2228
|
-
maxLength: "Non deve essere superiore a {limit} caratteri",
|
|
2229
|
-
minLength: "Non deve essere superiore a {limit} caratteri",
|
|
2230
|
-
minimum: "Deve essere {comparison} {limit}",
|
|
2231
|
-
formatMinimum: "Deve essere {comparison} {limit}",
|
|
2232
|
-
maximum: "Deve essere {comparison} {limit}",
|
|
2233
|
-
formatMaximum: "Deve essere {comparison} {limit}",
|
|
2234
|
-
maxItems: "Non deve avere pi\u00F9 di {limit} elementi",
|
|
2235
|
-
minItems: "Non deve avere meno di {limit} elementi",
|
|
2236
|
-
maxProperties: "Non deve avere pi\u00F9 di {limit} propriet\u00E0",
|
|
2237
|
-
minProperties: "Non deve avere meno di {limit} propriet\u00E0",
|
|
2238
|
-
multipleOf: "Deve essere un multiplo di {multipleOf}",
|
|
2239
|
-
not: "Non deve essere valido secondo lo schema in \"not\"",
|
|
2240
|
-
oneOf: "Deve corrispondere esattamente a uno schema in \"oneOf\"",
|
|
2241
|
-
pattern: "Deve corrispondere al modello \"{pattern}\"",
|
|
2242
|
-
uniqueItems: "Non deve avere elementi duplicati (gli elementi ## {j} e {i} sono identici)",
|
|
2243
|
-
custom: "Deve corrispondere al formato \"{format}\"",
|
|
2244
|
-
propertyNames: "Il nome della propriet\u00E0 \"{propertyName}\" non \u00E8 valido",
|
|
2245
|
-
patternRequired: "Deve avere una propriet\u00E0 corrispondete al modello \"{missingPattern}\"",
|
|
2246
|
-
switch: "Deve superare la convalida della parola chiave \"switch\", il caso {caseIndex} non \u00E8 riuscito",
|
|
2247
|
-
const: "Deve essere uguale alla costante",
|
|
2248
|
-
contains: "Deve contenere un elemento valido",
|
|
2249
|
-
formatExclusiveMaximum: "formatExclusiveMaximum deve essere booleano",
|
|
2250
|
-
formatExclusiveMinimum: "formatExclusiveMaximum deve essere booleano",
|
|
2251
|
-
if: "Deve corrispondere allo schema \"{failingKeyword}\""
|
|
2252
|
-
}
|
|
2253
|
-
},
|
|
2254
|
-
onboarding: {
|
|
2255
|
-
skip: "Salta",
|
|
2256
|
-
prev: "Precedente",
|
|
2257
|
-
next: "Successivo",
|
|
2258
|
-
done: "Fatto"
|
|
2259
|
-
}
|
|
2260
|
-
};
|
|
2261
|
-
|
|
2262
|
-
/**
|
|
2263
|
-
* 对话框辅助类
|
|
2264
|
-
*/
|
|
2265
|
-
var ModalHelper = /** @class */ (function () {
|
|
2266
|
-
function ModalHelper(srv) {
|
|
2267
|
-
this.srv = srv;
|
|
2268
|
-
}
|
|
2269
|
-
/**
|
|
2270
|
-
* 构建一个对话框
|
|
2271
|
-
*
|
|
2272
|
-
* @param comp 组件
|
|
2273
|
-
* @param params 组件参数
|
|
2274
|
-
* @param options 额外参数
|
|
2275
|
-
*
|
|
2276
|
-
* @example
|
|
2277
|
-
* this.modalHelper.create(FormEditComponent, { i }).subscribe(res => this.load());
|
|
2278
|
-
* // 对于组件的成功&关闭的处理说明
|
|
2279
|
-
* // 成功,其中 `nzModalRef` 指目标组件在构造函数 `NzModalRef` 变量名
|
|
2280
|
-
* this.nzModalRef.close(data);
|
|
2281
|
-
* this.nzModalRef.close();
|
|
2282
|
-
* // 关闭
|
|
2283
|
-
* this.nzModalRef.destroy();
|
|
2284
|
-
*/
|
|
2285
|
-
ModalHelper.prototype.create = function (comp, params, options) {
|
|
2286
|
-
var _this = this;
|
|
2287
|
-
options = other.deepMerge({
|
|
2288
|
-
size: 'lg',
|
|
2289
|
-
exact: true,
|
|
2290
|
-
includeTabs: false
|
|
2291
|
-
}, options);
|
|
2292
|
-
return new rxjs.Observable(function (observer) {
|
|
2293
|
-
var size = options.size, includeTabs = options.includeTabs, modalOptions = options.modalOptions;
|
|
2294
|
-
var cls = '';
|
|
2295
|
-
var width = '';
|
|
2296
|
-
if (size) {
|
|
2297
|
-
if (typeof size === 'number') {
|
|
2298
|
-
width = size + "px";
|
|
2299
|
-
}
|
|
2300
|
-
else {
|
|
2301
|
-
cls = "modal-" + size;
|
|
2302
|
-
}
|
|
2303
|
-
}
|
|
2304
|
-
if (includeTabs) {
|
|
2305
|
-
cls += ' modal-include-tabs';
|
|
2306
|
-
}
|
|
2307
|
-
if (modalOptions && modalOptions.nzWrapClassName) {
|
|
2308
|
-
cls += " " + modalOptions.nzWrapClassName;
|
|
2309
|
-
delete modalOptions.nzWrapClassName;
|
|
2310
|
-
}
|
|
2311
|
-
var defaultOptions = {
|
|
2312
|
-
nzWrapClassName: cls,
|
|
2313
|
-
nzContent: comp,
|
|
2314
|
-
nzWidth: width ? width : undefined,
|
|
2315
|
-
nzFooter: null,
|
|
2316
|
-
nzComponentParams: params
|
|
2317
|
-
};
|
|
2318
|
-
var subject = _this.srv.create(Object.assign(Object.assign({}, defaultOptions), modalOptions));
|
|
2319
|
-
var afterClose$ = subject.afterClose.subscribe(function (res) {
|
|
2320
|
-
if (options.exact === true) {
|
|
2321
|
-
if (res != null) {
|
|
2322
|
-
observer.next(res);
|
|
2323
|
-
}
|
|
2324
|
-
}
|
|
2325
|
-
else {
|
|
2326
|
-
observer.next(res);
|
|
2327
|
-
}
|
|
2328
|
-
observer.complete();
|
|
2329
|
-
afterClose$.unsubscribe();
|
|
2330
|
-
});
|
|
2331
|
-
});
|
|
2332
|
-
};
|
|
2333
|
-
/**
|
|
2334
|
-
* 构建静态框,点击蒙层不允许关闭
|
|
2335
|
-
*
|
|
2336
|
-
* @param comp 组件
|
|
2337
|
-
* @param params 组件参数
|
|
2338
|
-
* @param options 额外参数
|
|
2339
|
-
*
|
|
2340
|
-
* @example
|
|
2341
|
-
* this.modalHelper.open(FormEditComponent, { i }).subscribe(res => this.load());
|
|
2342
|
-
* // 对于组件的成功&关闭的处理说明
|
|
2343
|
-
* // 成功,其中 `nzModalRef` 指目标组件在构造函数 `NzModalRef` 变量名
|
|
2344
|
-
* this.nzModalRef.close(data);
|
|
2345
|
-
* this.nzModalRef.close();
|
|
2346
|
-
* // 关闭
|
|
2347
|
-
* this.nzModalRef.destroy();
|
|
2348
|
-
*/
|
|
2349
|
-
ModalHelper.prototype.createStatic = function (comp, params, options) {
|
|
2350
|
-
var modalOptions = Object.assign({ nzMaskClosable: false }, (options && options.modalOptions));
|
|
2351
|
-
return this.create(comp, params, Object.assign(Object.assign({}, options), { modalOptions: modalOptions }));
|
|
2352
|
-
};
|
|
2353
|
-
return ModalHelper;
|
|
2354
|
-
}());
|
|
2355
|
-
ModalHelper.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ModalHelper_Factory() { return new ModalHelper(i0__namespace.ɵɵinject(i1__namespace$4.NzModalService)); }, token: ModalHelper, providedIn: "root" });
|
|
2356
|
-
ModalHelper.decorators = [
|
|
2357
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
2358
|
-
];
|
|
2359
|
-
ModalHelper.ctorParameters = function () { return [
|
|
2360
|
-
{ type: i1$4.NzModalService }
|
|
2361
|
-
]; };
|
|
2362
|
-
|
|
2363
|
-
/**
|
|
2364
|
-
* 抽屉辅助类
|
|
2365
|
-
*
|
|
2366
|
-
* **注意:** 构建结果都可被订阅,但永远都不会触发 `observer.error`
|
|
2367
|
-
*
|
|
2368
|
-
* @example
|
|
2369
|
-
* this.drawerHelper.create('Edit', FormEditComponent, { i }).subscribe(res => this.load());
|
|
2370
|
-
* // 对于组件的成功&关闭的处理说明
|
|
2371
|
-
* // 成功
|
|
2372
|
-
* this.NzDrawerRef.close(data);
|
|
2373
|
-
* this.NzDrawerRef.close(true);
|
|
2374
|
-
* // 关闭
|
|
2375
|
-
* this.NzDrawerRef.close();
|
|
2376
|
-
* this.NzDrawerRef.close(false);
|
|
2377
|
-
*/
|
|
2378
|
-
var DrawerHelper = /** @class */ (function () {
|
|
2379
|
-
function DrawerHelper(srv) {
|
|
2380
|
-
this.srv = srv;
|
|
2381
|
-
}
|
|
2382
|
-
/**
|
|
2383
|
-
* 构建一个抽屉
|
|
2384
|
-
*/
|
|
2385
|
-
DrawerHelper.prototype.create = function (title, comp, params, options) {
|
|
2386
|
-
var _this = this;
|
|
2387
|
-
options = other.deepMerge({
|
|
2388
|
-
size: 'md',
|
|
2389
|
-
footer: true,
|
|
2390
|
-
footerHeight: 50,
|
|
2391
|
-
exact: true,
|
|
2392
|
-
drawerOptions: {
|
|
2393
|
-
nzPlacement: 'right',
|
|
2394
|
-
nzWrapClassName: ''
|
|
2395
|
-
}
|
|
2396
|
-
}, options);
|
|
2397
|
-
return new rxjs.Observable(function (observer) {
|
|
2398
|
-
var size = options.size, footer = options.footer, footerHeight = options.footerHeight, drawerOptions = options.drawerOptions;
|
|
2399
|
-
var defaultOptions = {
|
|
2400
|
-
nzContent: comp,
|
|
2401
|
-
nzContentParams: params,
|
|
2402
|
-
nzTitle: title
|
|
2403
|
-
};
|
|
2404
|
-
if (typeof size === 'number') {
|
|
2405
|
-
defaultOptions[drawerOptions.nzPlacement === 'top' || drawerOptions.nzPlacement === 'bottom' ? 'nzHeight' : 'nzWidth'] = options.size;
|
|
2406
|
-
}
|
|
2407
|
-
else if (!drawerOptions.nzWidth) {
|
|
2408
|
-
defaultOptions.nzWrapClassName = (drawerOptions.nzWrapClassName + " drawer-" + options.size).trim();
|
|
2409
|
-
delete drawerOptions.nzWrapClassName;
|
|
2410
|
-
}
|
|
2411
|
-
if (footer) {
|
|
2412
|
-
// The 24 value is @drawer-body-padding
|
|
2413
|
-
defaultOptions.nzBodyStyle = {
|
|
2414
|
-
'padding-bottom.px': footerHeight + 24
|
|
2415
|
-
};
|
|
2416
|
-
}
|
|
2417
|
-
var subject = _this.srv.create(Object.assign(Object.assign({}, defaultOptions), drawerOptions));
|
|
2418
|
-
var afterClose$ = subject.afterClose.subscribe(function (res) {
|
|
2419
|
-
if (options.exact === true) {
|
|
2420
|
-
if (res != null) {
|
|
2421
|
-
observer.next(res);
|
|
2422
|
-
}
|
|
2423
|
-
}
|
|
2424
|
-
else {
|
|
2425
|
-
observer.next(res);
|
|
2426
|
-
}
|
|
2427
|
-
observer.complete();
|
|
2428
|
-
afterClose$.unsubscribe();
|
|
2429
|
-
});
|
|
2430
|
-
});
|
|
2431
|
-
};
|
|
2432
|
-
/**
|
|
2433
|
-
* 构建一个抽屉,点击蒙层不允许关闭
|
|
2434
|
-
*/
|
|
2435
|
-
DrawerHelper.prototype.static = function (title, comp, params, options) {
|
|
2436
|
-
var drawerOptions = Object.assign({ nzMaskClosable: false }, (options && options.drawerOptions));
|
|
2437
|
-
return this.create(title, comp, params, Object.assign(Object.assign({}, options), { drawerOptions: drawerOptions }));
|
|
2438
|
-
};
|
|
2439
|
-
return DrawerHelper;
|
|
2440
|
-
}());
|
|
2441
|
-
DrawerHelper.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DrawerHelper_Factory() { return new DrawerHelper(i0__namespace.ɵɵinject(i1__namespace$5.NzDrawerService)); }, token: DrawerHelper, providedIn: "root" });
|
|
2442
|
-
DrawerHelper.decorators = [
|
|
2443
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
2444
|
-
];
|
|
2445
|
-
DrawerHelper.ctorParameters = function () { return [
|
|
2446
|
-
{ type: i1$5.NzDrawerService }
|
|
2447
|
-
]; };
|
|
2448
|
-
|
|
2449
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2450
|
-
/**
|
|
2451
|
-
* 封装HttpClient,主要解决:
|
|
2452
|
-
* + 优化HttpClient在参数上便利性
|
|
2453
|
-
* + 统一实现 loading
|
|
2454
|
-
* + 统一处理时间格式问题
|
|
2455
|
-
*/
|
|
2456
|
-
var _HttpClient = /** @class */ (function () {
|
|
2457
|
-
function _HttpClient(http, cogSrv) {
|
|
2458
|
-
this.http = http;
|
|
2459
|
-
this.lc = 0;
|
|
2460
|
-
this.cog = cogSrv.merge('themeHttp', {
|
|
2461
|
-
nullValueHandling: 'include',
|
|
2462
|
-
dateValueHandling: 'timestamp'
|
|
2463
|
-
});
|
|
2464
|
-
}
|
|
2465
|
-
Object.defineProperty(_HttpClient.prototype, "loading", {
|
|
2466
|
-
/**
|
|
2467
|
-
* Get whether it's loading
|
|
2468
|
-
*
|
|
2469
|
-
* 获取是否正在加载中
|
|
2470
|
-
*/
|
|
2471
|
-
get: function () {
|
|
2472
|
-
return this.lc > 0;
|
|
2473
|
-
},
|
|
2474
|
-
enumerable: false,
|
|
2475
|
-
configurable: true
|
|
2476
|
-
});
|
|
2477
|
-
Object.defineProperty(_HttpClient.prototype, "loadingCount", {
|
|
2478
|
-
/**
|
|
2479
|
-
* Get the currently loading count
|
|
2480
|
-
*
|
|
2481
|
-
* 获取当前加载中的数量
|
|
2482
|
-
*/
|
|
2483
|
-
get: function () {
|
|
2484
|
-
return this.lc;
|
|
2485
|
-
},
|
|
2486
|
-
enumerable: false,
|
|
2487
|
-
configurable: true
|
|
2488
|
-
});
|
|
2489
|
-
_HttpClient.prototype.parseParams = function (params) {
|
|
2490
|
-
var _this = this;
|
|
2491
|
-
var newParams = {};
|
|
2492
|
-
if (params instanceof i1$6.HttpParams) {
|
|
2493
|
-
return params;
|
|
2494
|
-
}
|
|
2495
|
-
Object.keys(params).forEach(function (key) {
|
|
2496
|
-
var _data = params[key];
|
|
2497
|
-
// 忽略空值
|
|
2498
|
-
if (_this.cog.nullValueHandling === 'ignore' && _data == null)
|
|
2499
|
-
return;
|
|
2500
|
-
// 将时间转化为:时间戳 (秒)
|
|
2501
|
-
if (_this.cog.dateValueHandling === 'timestamp' && _data instanceof Date) {
|
|
2502
|
-
_data = _data.valueOf();
|
|
2503
|
-
}
|
|
2504
|
-
newParams[key] = _data;
|
|
2505
|
-
});
|
|
2506
|
-
return new i1$6.HttpParams({ fromObject: newParams });
|
|
2507
|
-
};
|
|
2508
|
-
_HttpClient.prototype.appliedUrl = function (url, params) {
|
|
2509
|
-
if (!params)
|
|
2510
|
-
return url;
|
|
2511
|
-
url += ~url.indexOf('?') ? '' : '?';
|
|
2512
|
-
var arr = [];
|
|
2513
|
-
Object.keys(params).forEach(function (key) {
|
|
2514
|
-
arr.push(key + "=" + params[key]);
|
|
2515
|
-
});
|
|
2516
|
-
return url + arr.join('&');
|
|
2517
|
-
};
|
|
2518
|
-
_HttpClient.prototype.setCount = function (count) {
|
|
2519
|
-
var _this = this;
|
|
2520
|
-
Promise.resolve(null).then(function () { return (_this.lc = count <= 0 ? 0 : count); });
|
|
2521
|
-
};
|
|
2522
|
-
_HttpClient.prototype.push = function () {
|
|
2523
|
-
this.setCount(++this.lc);
|
|
2524
|
-
};
|
|
2525
|
-
_HttpClient.prototype.pop = function () {
|
|
2526
|
-
this.setCount(--this.lc);
|
|
2527
|
-
};
|
|
2528
|
-
/**
|
|
2529
|
-
* Clean loading count
|
|
2530
|
-
*
|
|
2531
|
-
* 清空加载中
|
|
2532
|
-
*/
|
|
2533
|
-
_HttpClient.prototype.cleanLoading = function () {
|
|
2534
|
-
this.setCount(0);
|
|
2535
|
-
};
|
|
2536
|
-
_HttpClient.prototype.get = function (url, params, options) {
|
|
2537
|
-
if (options === void 0) { options = {}; }
|
|
2538
|
-
return this.request('GET', url, Object.assign({ params: params }, options));
|
|
2539
|
-
};
|
|
2540
|
-
_HttpClient.prototype.post = function (url, body, params, options) {
|
|
2541
|
-
if (options === void 0) { options = {}; }
|
|
2542
|
-
return this.request('POST', url, Object.assign({ body: body, params: params }, options));
|
|
2543
|
-
};
|
|
2544
|
-
_HttpClient.prototype.delete = function (url, params, options) {
|
|
2545
|
-
if (options === void 0) { options = {}; }
|
|
2546
|
-
return this.request('DELETE', url, Object.assign({ params: params }, options));
|
|
2547
|
-
};
|
|
2548
|
-
// #endregion
|
|
2549
|
-
// #region jsonp
|
|
2550
|
-
/**
|
|
2551
|
-
* **JSONP Request**
|
|
2552
|
-
*
|
|
2553
|
-
* @param callbackParam CALLBACK值,默认:JSONP_CALLBACK
|
|
2554
|
-
*/
|
|
2555
|
-
_HttpClient.prototype.jsonp = function (url, params, callbackParam) {
|
|
2556
|
-
var _this = this;
|
|
2557
|
-
if (callbackParam === void 0) { callbackParam = 'JSONP_CALLBACK'; }
|
|
2558
|
-
return rxjs.of(null).pipe(
|
|
2559
|
-
// Make sure to always be asynchronous, see issues: https://github.com/ng-alain/ng-alain/issues/1954
|
|
2560
|
-
operators.delay(0), operators.tap(function () { return _this.push(); }), operators.switchMap(function () { return _this.http.jsonp(_this.appliedUrl(url, params), callbackParam); }), operators.finalize(function () { return _this.pop(); }));
|
|
2561
|
-
};
|
|
2562
|
-
_HttpClient.prototype.patch = function (url, body, params, options) {
|
|
2563
|
-
if (options === void 0) { options = {}; }
|
|
2564
|
-
return this.request('PATCH', url, Object.assign({ body: body, params: params }, options));
|
|
2565
|
-
};
|
|
2566
|
-
_HttpClient.prototype.put = function (url, body, params, options) {
|
|
2567
|
-
if (options === void 0) { options = {}; }
|
|
2568
|
-
return this.request('PUT', url, Object.assign({ body: body, params: params }, options));
|
|
2569
|
-
};
|
|
2570
|
-
_HttpClient.prototype.form = function (url, body, params, options) {
|
|
2571
|
-
if (options === void 0) { options = {}; }
|
|
2572
|
-
return this.request('POST', url, Object.assign(Object.assign({ body: body, params: params }, options), { headers: {
|
|
2573
|
-
'content-type': "application/x-www-form-urlencoded"
|
|
2574
|
-
} }));
|
|
2575
|
-
};
|
|
2576
|
-
_HttpClient.prototype.request = function (method, url, options) {
|
|
2577
|
-
var _this = this;
|
|
2578
|
-
if (options === void 0) { options = {}; }
|
|
2579
|
-
if (options.params)
|
|
2580
|
-
options.params = this.parseParams(options.params);
|
|
2581
|
-
return rxjs.of(null).pipe(
|
|
2582
|
-
// Make sure to always be asynchronous, see issues: https://github.com/ng-alain/ng-alain/issues/1954
|
|
2583
|
-
operators.delay(0), operators.tap(function () { return _this.push(); }), operators.switchMap(function () { return _this.http.request(method, url, options); }), operators.finalize(function () { return _this.pop(); }));
|
|
2584
|
-
};
|
|
2585
|
-
return _HttpClient;
|
|
2586
|
-
}());
|
|
2587
|
-
_HttpClient.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function _HttpClient_Factory() { return new _HttpClient(i0__namespace.ɵɵinject(i1__namespace$6.HttpClient), i0__namespace.ɵɵinject(i1__namespace.AlainConfigService)); }, token: _HttpClient, providedIn: "root" });
|
|
2588
|
-
_HttpClient.decorators = [
|
|
2589
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
2590
|
-
];
|
|
2591
|
-
_HttpClient.ctorParameters = function () { return [
|
|
2592
|
-
{ type: i1$6.HttpClient },
|
|
2593
|
-
{ type: i1.AlainConfigService }
|
|
2594
|
-
]; };
|
|
2595
|
-
|
|
2596
|
-
/**
|
|
2597
|
-
* Every http decorator must be based on `BaseAPI`, Like this:
|
|
2598
|
-
* ```ts
|
|
2599
|
-
* \@Injectable()
|
|
2600
|
-
* class DataService extends BaseApi {}
|
|
2601
|
-
* ```
|
|
2602
|
-
*/
|
|
2603
|
-
var BaseApi = /** @class */ (function () {
|
|
2604
|
-
function BaseApi(injector) {
|
|
2605
|
-
this.injector = injector;
|
|
2606
|
-
}
|
|
2607
|
-
return BaseApi;
|
|
2608
|
-
}());
|
|
2609
|
-
BaseApi.decorators = [
|
|
2610
|
-
{ type: i0.Injectable }
|
|
2611
|
-
];
|
|
2612
|
-
BaseApi.ctorParameters = function () { return [
|
|
2613
|
-
{ type: i0.Injector, decorators: [{ type: i0.Inject, args: [i0.Injector,] }] }
|
|
2614
|
-
]; };
|
|
2615
|
-
var paramKey = "__api_params";
|
|
2616
|
-
function setParam(target, key) {
|
|
2617
|
-
if (key === void 0) { key = paramKey; }
|
|
2618
|
-
var params = target[key];
|
|
2619
|
-
if (typeof params === 'undefined') {
|
|
2620
|
-
params = target[key] = {};
|
|
2621
|
-
}
|
|
2622
|
-
return params;
|
|
2623
|
-
}
|
|
2624
|
-
/**
|
|
2625
|
-
* 默认基准URL
|
|
2626
|
-
* - 有效范围:类
|
|
2627
|
-
*/
|
|
2628
|
-
function BaseUrl(url) {
|
|
2629
|
-
return function (target) {
|
|
2630
|
-
var params = setParam(target.prototype);
|
|
2631
|
-
params.baseUrl = url;
|
|
2632
|
-
return target;
|
|
2633
|
-
};
|
|
2634
|
-
}
|
|
2635
|
-
/**
|
|
2636
|
-
* 默认 `headers`
|
|
2637
|
-
* - 有效范围:类
|
|
2638
|
-
*/
|
|
2639
|
-
function BaseHeaders(headers) {
|
|
2640
|
-
return function (target) {
|
|
2641
|
-
var params = setParam(target.prototype);
|
|
2642
|
-
params.baseHeaders = headers;
|
|
2643
|
-
return target;
|
|
2644
|
-
};
|
|
2645
|
-
}
|
|
2646
|
-
function makeParam(paramName) {
|
|
2647
|
-
return function (key) {
|
|
2648
|
-
return function (target, propertyKey, index) {
|
|
2649
|
-
var params = setParam(setParam(target), propertyKey);
|
|
2650
|
-
var tParams = params[paramName];
|
|
2651
|
-
if (typeof tParams === 'undefined') {
|
|
2652
|
-
tParams = params[paramName] = [];
|
|
2653
|
-
}
|
|
2654
|
-
tParams.push({
|
|
2655
|
-
key: key,
|
|
2656
|
-
index: index
|
|
2657
|
-
});
|
|
2658
|
-
};
|
|
2659
|
-
};
|
|
2660
|
-
}
|
|
2661
|
-
/**
|
|
2662
|
-
* URL路由参数
|
|
2663
|
-
* - 有效范围:方法参数
|
|
2664
|
-
*/
|
|
2665
|
-
var Path = makeParam('path');
|
|
2666
|
-
/**
|
|
2667
|
-
* URL 参数 `QueryString`
|
|
2668
|
-
* - 有效范围:方法参数
|
|
2669
|
-
*/
|
|
2670
|
-
var Query = makeParam('query');
|
|
2671
|
-
/**
|
|
2672
|
-
* 参数 `Body`
|
|
2673
|
-
* - 有效范围:方法参数
|
|
2674
|
-
*/
|
|
2675
|
-
var Body = makeParam('body')();
|
|
2676
|
-
/**
|
|
2677
|
-
* 参数 `headers`
|
|
2678
|
-
* - 有效范围:方法参数
|
|
2679
|
-
* - 合并 `BaseHeaders`
|
|
2680
|
-
*/
|
|
2681
|
-
var Headers = makeParam('headers');
|
|
2682
|
-
/**
|
|
2683
|
-
* Request Payload
|
|
2684
|
-
* - Supported body (like`POST`, `PUT`) as a body data, equivalent to `@Body`
|
|
2685
|
-
* - Not supported body (like `GET`, `DELETE` etc) as a `QueryString`
|
|
2686
|
-
*/
|
|
2687
|
-
var Payload = makeParam('payload')();
|
|
2688
|
-
function getValidArgs(data, key, args) {
|
|
2689
|
-
if (!data[key] || !Array.isArray(data[key]) || data[key].length <= 0) {
|
|
2690
|
-
return undefined;
|
|
2691
|
-
}
|
|
2692
|
-
return args[data[key][0].index];
|
|
2693
|
-
}
|
|
2694
|
-
function genBody(data, payload) {
|
|
2695
|
-
if (Array.isArray(data) || Array.isArray(payload)) {
|
|
2696
|
-
return Object.assign([], data, payload);
|
|
2697
|
-
}
|
|
2698
|
-
return Object.assign(Object.assign({}, data), payload);
|
|
2699
|
-
}
|
|
2700
|
-
function makeMethod(method) {
|
|
2701
|
-
return function (url, options) {
|
|
2702
|
-
if (url === void 0) { url = ''; }
|
|
2703
|
-
return function (_target, targetKey, descriptor) {
|
|
2704
|
-
descriptor.value = function () {
|
|
2705
|
-
var args = [];
|
|
2706
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
2707
|
-
args[_i] = arguments[_i];
|
|
2708
|
-
}
|
|
2709
|
-
options = options || {};
|
|
2710
|
-
var injector = this.injector;
|
|
2711
|
-
var http = injector.get(_HttpClient, null);
|
|
2712
|
-
if (http == null) {
|
|
2713
|
-
throw new TypeError("Not found '_HttpClient', You can import 'AlainThemeModule' && 'HttpClientModule' in your root module.");
|
|
2714
|
-
}
|
|
2715
|
-
var baseData = setParam(this);
|
|
2716
|
-
var data = setParam(baseData, targetKey);
|
|
2717
|
-
var requestUrl = url || '';
|
|
2718
|
-
requestUrl = [baseData.baseUrl || '', requestUrl.startsWith('/') ? requestUrl.substr(1) : requestUrl].join('/');
|
|
2719
|
-
// fix last split
|
|
2720
|
-
if (requestUrl.length > 1 && requestUrl.endsWith('/')) {
|
|
2721
|
-
requestUrl = requestUrl.substr(0, requestUrl.length - 1);
|
|
2722
|
-
}
|
|
2723
|
-
if (options.acl) {
|
|
2724
|
-
var aclSrv = injector.get(i2.ACLService, null);
|
|
2725
|
-
if (aclSrv && !aclSrv.can(options.acl)) {
|
|
2726
|
-
return rxjs.throwError({
|
|
2727
|
-
url: requestUrl,
|
|
2728
|
-
status: 401,
|
|
2729
|
-
statusText: "From Http Decorator"
|
|
2730
|
-
});
|
|
2731
|
-
}
|
|
2732
|
-
delete options.acl;
|
|
2733
|
-
}
|
|
2734
|
-
requestUrl = requestUrl.replace(/::/g, '^^');
|
|
2735
|
-
(data.path || [])
|
|
2736
|
-
.filter(function (w) { return typeof args[w.index] !== 'undefined'; })
|
|
2737
|
-
.forEach(function (i) {
|
|
2738
|
-
requestUrl = requestUrl.replace(new RegExp(":" + i.key, 'g'), encodeURIComponent(args[i.index]));
|
|
2739
|
-
});
|
|
2740
|
-
requestUrl = requestUrl.replace(/\^\^/g, ":");
|
|
2741
|
-
var params = (data.query || []).reduce(function (p, i) {
|
|
2742
|
-
p[i.key] = args[i.index];
|
|
2743
|
-
return p;
|
|
2744
|
-
}, {});
|
|
2745
|
-
var headers = (data.headers || []).reduce(function (p, i) {
|
|
2746
|
-
p[i.key] = args[i.index];
|
|
2747
|
-
return p;
|
|
2748
|
-
}, {});
|
|
2749
|
-
if (method === 'FORM') {
|
|
2750
|
-
headers['content-type'] = 'application/x-www-form-urlencoded';
|
|
2751
|
-
}
|
|
2752
|
-
var payload = getValidArgs(data, 'payload', args);
|
|
2753
|
-
var supportedBody = method === 'POST' || method === 'PUT';
|
|
2754
|
-
return http.request(method, requestUrl, Object.assign({ body: supportedBody ? genBody(getValidArgs(data, 'body', args), payload) : null, params: !supportedBody ? Object.assign(Object.assign({}, params), payload) : params, headers: Object.assign(Object.assign({}, baseData.baseHeaders), headers) }, options));
|
|
2755
|
-
};
|
|
2756
|
-
return descriptor;
|
|
2757
|
-
};
|
|
2758
|
-
};
|
|
2759
|
-
}
|
|
2760
|
-
/**
|
|
2761
|
-
* `OPTIONS` 请求
|
|
2762
|
-
* - 有效范围:方法
|
|
2763
|
-
*/
|
|
2764
|
-
var OPTIONS = makeMethod('OPTIONS');
|
|
2765
|
-
/**
|
|
2766
|
-
* `GET` 请求
|
|
2767
|
-
* - 有效范围:方法
|
|
2768
|
-
*/
|
|
2769
|
-
var GET = makeMethod('GET');
|
|
2770
|
-
/**
|
|
2771
|
-
* `POST` 请求
|
|
2772
|
-
* - 有效范围:方法
|
|
2773
|
-
*/
|
|
2774
|
-
var POST = makeMethod('POST');
|
|
2775
|
-
/**
|
|
2776
|
-
* `DELETE` 请求
|
|
2777
|
-
* - 有效范围:方法
|
|
2778
|
-
*/
|
|
2779
|
-
var DELETE = makeMethod('DELETE');
|
|
2780
|
-
/**
|
|
2781
|
-
* `PUT` 请求
|
|
2782
|
-
* - 有效范围:方法
|
|
2783
|
-
*/
|
|
2784
|
-
var PUT = makeMethod('PUT');
|
|
2785
|
-
/**
|
|
2786
|
-
* `HEAD` 请求
|
|
2787
|
-
* - 有效范围:方法
|
|
2788
|
-
*/
|
|
2789
|
-
var HEAD = makeMethod('HEAD');
|
|
2790
|
-
/**
|
|
2791
|
-
* `PATCH` 请求
|
|
2792
|
-
* - 有效范围:方法
|
|
2793
|
-
*/
|
|
2794
|
-
var PATCH = makeMethod('PATCH');
|
|
2795
|
-
/**
|
|
2796
|
-
* `JSONP` 请求
|
|
2797
|
-
* - 有效范围:方法
|
|
2798
|
-
*/
|
|
2799
|
-
var JSONP = makeMethod('JSONP');
|
|
2800
|
-
/**
|
|
2801
|
-
* `FORM` 请求
|
|
2802
|
-
* - 有效范围:方法
|
|
2803
|
-
*/
|
|
2804
|
-
var FORM = makeMethod('FORM');
|
|
2805
|
-
|
|
2806
|
-
var DatePipe = /** @class */ (function () {
|
|
2807
|
-
function DatePipe(nzI18n) {
|
|
2808
|
-
this.nzI18n = nzI18n;
|
|
2809
|
-
}
|
|
2810
|
-
DatePipe.prototype.transform = function (value, formatString) {
|
|
2811
|
-
if (formatString === void 0) { formatString = 'yyyy-MM-dd HH:mm'; }
|
|
2812
|
-
value = dateTime.toDate(value);
|
|
2813
|
-
if (isNaN(value))
|
|
2814
|
-
return '';
|
|
2815
|
-
var langOpt = { locale: this.nzI18n.getDateLocale() };
|
|
2816
|
-
return formatString === 'fn' ? dateFns.formatDistanceToNow(value, langOpt) : dateFns.format(value, formatString, langOpt);
|
|
2817
|
-
};
|
|
2818
|
-
return DatePipe;
|
|
2819
|
-
}());
|
|
2820
|
-
DatePipe.decorators = [
|
|
2821
|
-
{ type: i0.Pipe, args: [{ name: '_date' },] }
|
|
2822
|
-
];
|
|
2823
|
-
DatePipe.ctorParameters = function () { return [
|
|
2824
|
-
{ type: i18n.NzI18nService }
|
|
2825
|
-
]; };
|
|
2826
|
-
|
|
2827
|
-
/**
|
|
2828
|
-
* [Document](https://ng-alain.com/theme/keys)
|
|
2829
|
-
*/
|
|
2830
|
-
var KeysPipe = /** @class */ (function () {
|
|
2831
|
-
function KeysPipe() {
|
|
2832
|
-
}
|
|
2833
|
-
KeysPipe.prototype.transform = function (value, keyIsNumber) {
|
|
2834
|
-
if (keyIsNumber === void 0) { keyIsNumber = false; }
|
|
2835
|
-
var ret = [];
|
|
2836
|
-
Object.keys(value).forEach(function (key) {
|
|
2837
|
-
ret.push({ key: keyIsNumber ? +key : key, value: value[key] });
|
|
2838
|
-
});
|
|
2839
|
-
return ret;
|
|
2840
|
-
};
|
|
2841
|
-
return KeysPipe;
|
|
2842
|
-
}());
|
|
2843
|
-
KeysPipe.decorators = [
|
|
2844
|
-
{ type: i0.Pipe, args: [{ name: 'keys' },] }
|
|
2845
|
-
];
|
|
2846
|
-
|
|
2847
|
-
var ICON_YES = "<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>";
|
|
2848
|
-
var ICON_NO = "<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>";
|
|
2849
|
-
var CLS_YES = "class=\"yn__yes\"";
|
|
2850
|
-
var CLS_NO = "class=\"yn__no\"";
|
|
2851
|
-
var YNPipe = /** @class */ (function () {
|
|
2852
|
-
function YNPipe(dom) {
|
|
2853
|
-
this.dom = dom;
|
|
2854
|
-
}
|
|
2855
|
-
YNPipe.prototype.transform = function (value, yes, no, mode, isSafeHtml) {
|
|
2856
|
-
if (isSafeHtml === void 0) { isSafeHtml = true; }
|
|
2857
|
-
var html = '';
|
|
2858
|
-
yes = yes || '是';
|
|
2859
|
-
no = no || '否';
|
|
2860
|
-
switch (mode) {
|
|
2861
|
-
case 'full':
|
|
2862
|
-
html = value
|
|
2863
|
-
? "<i " + CLS_YES + ">" + ICON_YES + "<span>" + yes + "</span></i>"
|
|
2864
|
-
: "<i " + CLS_NO + ">" + ICON_NO + "<span>" + no + "</span></i>";
|
|
2865
|
-
break;
|
|
2866
|
-
case 'text':
|
|
2867
|
-
html = value ? "<i " + CLS_YES + ">" + yes + "</i>" : "<i " + CLS_NO + ">" + no + "</i>";
|
|
2868
|
-
break;
|
|
2869
|
-
default:
|
|
2870
|
-
html = value ? "<i " + CLS_YES + " title=\"" + yes + "\">" + ICON_YES + "</i>" : "<i " + CLS_NO + " title=\"" + no + "\">" + ICON_NO + "</i>";
|
|
2871
|
-
break;
|
|
2872
|
-
}
|
|
2873
|
-
return isSafeHtml ? this.dom.bypassSecurityTrustHtml(html) : html;
|
|
2874
|
-
};
|
|
2875
|
-
return YNPipe;
|
|
2876
|
-
}());
|
|
2877
|
-
YNPipe.decorators = [
|
|
2878
|
-
{ type: i0.Pipe, args: [{ name: 'yn' },] }
|
|
2879
|
-
];
|
|
2880
|
-
YNPipe.ctorParameters = function () { return [
|
|
2881
|
-
{ type: i1$3.DomSanitizer }
|
|
2882
|
-
]; };
|
|
2883
|
-
|
|
2884
|
-
var HTMLPipe = /** @class */ (function () {
|
|
2885
|
-
function HTMLPipe(dom) {
|
|
2886
|
-
this.dom = dom;
|
|
2887
|
-
}
|
|
2888
|
-
HTMLPipe.prototype.transform = function (html) {
|
|
2889
|
-
return html ? this.dom.bypassSecurityTrustHtml(html) : '';
|
|
2890
|
-
};
|
|
2891
|
-
return HTMLPipe;
|
|
2892
|
-
}());
|
|
2893
|
-
HTMLPipe.decorators = [
|
|
2894
|
-
{ type: i0.Pipe, args: [{ name: 'html' },] }
|
|
2895
|
-
];
|
|
2896
|
-
HTMLPipe.ctorParameters = function () { return [
|
|
2897
|
-
{ type: i1$3.DomSanitizer }
|
|
2898
|
-
]; };
|
|
2899
|
-
|
|
2900
|
-
var URLPipe = /** @class */ (function () {
|
|
2901
|
-
function URLPipe(dom) {
|
|
2902
|
-
this.dom = dom;
|
|
2903
|
-
}
|
|
2904
|
-
URLPipe.prototype.transform = function (url) {
|
|
2905
|
-
return url ? this.dom.bypassSecurityTrustUrl(url) : '';
|
|
2906
|
-
};
|
|
2907
|
-
return URLPipe;
|
|
2908
|
-
}());
|
|
2909
|
-
URLPipe.decorators = [
|
|
2910
|
-
{ type: i0.Pipe, args: [{ name: 'url' },] }
|
|
2911
|
-
];
|
|
2912
|
-
URLPipe.ctorParameters = function () { return [
|
|
2913
|
-
{ type: i1$3.DomSanitizer }
|
|
2914
|
-
]; };
|
|
2915
|
-
|
|
2916
|
-
var I18nPipe = /** @class */ (function () {
|
|
2917
|
-
function I18nPipe(i18n) {
|
|
2918
|
-
this.i18n = i18n;
|
|
2919
|
-
}
|
|
2920
|
-
I18nPipe.prototype.transform = function (key, params) {
|
|
2921
|
-
return this.i18n.fanyi(key, params);
|
|
2922
|
-
};
|
|
2923
|
-
return I18nPipe;
|
|
2924
|
-
}());
|
|
2925
|
-
I18nPipe.decorators = [
|
|
2926
|
-
{ type: i0.Pipe, args: [{ name: 'i18n' },] }
|
|
2927
|
-
];
|
|
2928
|
-
I18nPipe.ctorParameters = function () { return [
|
|
2929
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [ALAIN_I18N_TOKEN,] }] }
|
|
2930
|
-
]; };
|
|
2931
|
-
|
|
2932
|
-
// #region import
|
|
2933
|
-
var HELPERS = [ModalHelper, DrawerHelper];
|
|
2934
|
-
var PIPES = [DatePipe, KeysPipe, YNPipe, I18nPipe, HTMLPipe, URLPipe];
|
|
2935
|
-
var ICONS = [icons.BellOutline, icons.DeleteOutline, icons.PlusOutline, icons.InboxOutline];
|
|
2936
|
-
var ɵ0 = {
|
|
2937
|
-
layout: 'layout',
|
|
2938
|
-
user: 'user',
|
|
2939
|
-
app: 'app'
|
|
2940
|
-
};
|
|
2941
|
-
// #endregion
|
|
2942
|
-
var AlainThemeModule = /** @class */ (function () {
|
|
2943
|
-
function AlainThemeModule(iconSrv) {
|
|
2944
|
-
iconSrv.addIcon.apply(iconSrv, __spreadArray([], __read(ICONS)));
|
|
2945
|
-
}
|
|
2946
|
-
AlainThemeModule.forRoot = function () {
|
|
2947
|
-
return {
|
|
2948
|
-
ngModule: AlainThemeModule,
|
|
2949
|
-
providers: __spreadArray([], __read(HELPERS))
|
|
2950
|
-
};
|
|
2951
|
-
};
|
|
2952
|
-
AlainThemeModule.forChild = function () {
|
|
2953
|
-
return {
|
|
2954
|
-
ngModule: AlainThemeModule,
|
|
2955
|
-
providers: __spreadArray([], __read(HELPERS))
|
|
2956
|
-
};
|
|
2957
|
-
};
|
|
2958
|
-
return AlainThemeModule;
|
|
2959
|
-
}());
|
|
2960
|
-
AlainThemeModule.decorators = [
|
|
2961
|
-
{ type: i0.NgModule, args: [{
|
|
2962
|
-
imports: [i6.CommonModule, router.RouterModule, overlay.OverlayModule, i18n.NzI18nModule],
|
|
2963
|
-
declarations: __spreadArray([], __read(PIPES)),
|
|
2964
|
-
providers: [
|
|
2965
|
-
{
|
|
2966
|
-
provide: ALAIN_SETTING_KEYS,
|
|
2967
|
-
useValue: ɵ0
|
|
2968
|
-
}
|
|
2969
|
-
],
|
|
2970
|
-
exports: __spreadArray(__spreadArray([], __read(PIPES)), [DelonLocaleModule])
|
|
2971
|
-
},] }
|
|
2972
|
-
];
|
|
2973
|
-
AlainThemeModule.ctorParameters = function () { return [
|
|
2974
|
-
{ type: icon.NzIconService }
|
|
2975
|
-
]; };
|
|
2976
|
-
|
|
2977
|
-
/**
|
|
2978
|
-
* Optional pre-loading module, when it's necessary to load the resource at the first page load for some lazy routes, [example](https://github.com/ng-alain/ng-alain/blob/master/src/app/routes/routes-routing.module.ts).
|
|
2979
|
-
*
|
|
2980
|
-
* 可选预加载模块,当需要对某些懒路由在第一次页面加载时也一并加载该资源时,[示例](https://github.com/ng-alain/ng-alain/blob/master/src/app/routes/routes-routing.module.ts)。
|
|
2981
|
-
*
|
|
2982
|
-
* @example
|
|
2983
|
-
* {AT}NgModule({
|
|
2984
|
-
* providers: [PreloadOptionalModules],
|
|
2985
|
-
* imports: [
|
|
2986
|
-
* RouterModule.forRoot([
|
|
2987
|
-
* { path: '', loadChildren: null, data: { preload: true } }
|
|
2988
|
-
* ], { preloadingStrategy: PreloadOptionalModules})]
|
|
2989
|
-
* })
|
|
2990
|
-
*/
|
|
2991
|
-
var PreloadOptionalModules = /** @class */ (function () {
|
|
2992
|
-
function PreloadOptionalModules() {
|
|
2993
|
-
}
|
|
2994
|
-
PreloadOptionalModules.prototype.preload = function (route, fn) {
|
|
2995
|
-
var _a;
|
|
2996
|
-
return ((_a = route.data) === null || _a === void 0 ? void 0 : _a.preload) === true ? fn().pipe(operators.catchError(function () { return rxjs.of(null); })) : rxjs.of(null);
|
|
2997
|
-
};
|
|
2998
|
-
return PreloadOptionalModules;
|
|
2999
|
-
}());
|
|
3000
|
-
|
|
3001
|
-
var VERSION = new i0.Version('12.4.2');
|
|
3002
|
-
|
|
3003
|
-
/**
|
|
3004
|
-
* Generated bundle index. Do not edit.
|
|
3005
|
-
*/
|
|
3006
|
-
|
|
3007
|
-
exports.ALAIN_I18N_TOKEN = ALAIN_I18N_TOKEN;
|
|
3008
|
-
exports.ALAIN_SETTING_KEYS = ALAIN_SETTING_KEYS;
|
|
3009
|
-
exports.AlainI18NServiceFake = AlainI18NServiceFake;
|
|
3010
|
-
exports.AlainI18nBaseService = AlainI18nBaseService;
|
|
3011
|
-
exports.AlainThemeModule = AlainThemeModule;
|
|
3012
|
-
exports.BaseApi = BaseApi;
|
|
3013
|
-
exports.BaseHeaders = BaseHeaders;
|
|
3014
|
-
exports.BaseUrl = BaseUrl;
|
|
3015
|
-
exports.Body = Body;
|
|
3016
|
-
exports.DELETE = DELETE;
|
|
3017
|
-
exports.DELON_LOCALE = DELON_LOCALE;
|
|
3018
|
-
exports.DELON_LOCALE_SERVICE_PROVIDER = DELON_LOCALE_SERVICE_PROVIDER;
|
|
3019
|
-
exports.DELON_LOCALE_SERVICE_PROVIDER_FACTORY = DELON_LOCALE_SERVICE_PROVIDER_FACTORY;
|
|
3020
|
-
exports.DatePipe = DatePipe;
|
|
3021
|
-
exports.DelonLocaleModule = DelonLocaleModule;
|
|
3022
|
-
exports.DelonLocaleService = DelonLocaleService;
|
|
3023
|
-
exports.DrawerHelper = DrawerHelper;
|
|
3024
|
-
exports.FORM = FORM;
|
|
3025
|
-
exports.GET = GET;
|
|
3026
|
-
exports.HEAD = HEAD;
|
|
3027
|
-
exports.HTMLPipe = HTMLPipe;
|
|
3028
|
-
exports.HTML_DIR = HTML_DIR;
|
|
3029
|
-
exports.Headers = Headers;
|
|
3030
|
-
exports.JSONP = JSONP;
|
|
3031
|
-
exports.KeysPipe = KeysPipe;
|
|
3032
|
-
exports.LTR = LTR;
|
|
3033
|
-
exports.MenuService = MenuService;
|
|
3034
|
-
exports.ModalHelper = ModalHelper;
|
|
3035
|
-
exports.OPTIONS = OPTIONS;
|
|
3036
|
-
exports.PATCH = PATCH;
|
|
3037
|
-
exports.POST = POST;
|
|
3038
|
-
exports.PUT = PUT;
|
|
3039
|
-
exports.Path = Path;
|
|
3040
|
-
exports.Payload = Payload;
|
|
3041
|
-
exports.PreloadOptionalModules = PreloadOptionalModules;
|
|
3042
|
-
exports.Query = Query;
|
|
3043
|
-
exports.REP_MAX = REP_MAX;
|
|
3044
|
-
exports.RTL = RTL;
|
|
3045
|
-
exports.RTLService = RTLService;
|
|
3046
|
-
exports.RTL_DELON_COMPONENTS = RTL_DELON_COMPONENTS;
|
|
3047
|
-
exports.RTL_DIRECTION = RTL_DIRECTION;
|
|
3048
|
-
exports.RTL_NZ_COMPONENTS = RTL_NZ_COMPONENTS;
|
|
3049
|
-
exports.ResponsiveService = ResponsiveService;
|
|
3050
|
-
exports.SettingsService = SettingsService;
|
|
3051
|
-
exports.TitleService = TitleService;
|
|
3052
|
-
exports.URLPipe = URLPipe;
|
|
3053
|
-
exports.VERSION = VERSION;
|
|
3054
|
-
exports.YNPipe = YNPipe;
|
|
3055
|
-
exports._HttpClient = _HttpClient;
|
|
3056
|
-
exports.el_GR = elGR;
|
|
3057
|
-
exports.en_US = enUS;
|
|
3058
|
-
exports.es_ES = esES;
|
|
3059
|
-
exports.fr_FR = frFR;
|
|
3060
|
-
exports.hr_HR = hrHR;
|
|
3061
|
-
exports.it_IT = itIT;
|
|
3062
|
-
exports.ja_JP = jaJP;
|
|
3063
|
-
exports.ko_KR = koKR;
|
|
3064
|
-
exports.pl_PL = plPL;
|
|
3065
|
-
exports.preloaderFinished = preloaderFinished;
|
|
3066
|
-
exports.sl_SI = slSI;
|
|
3067
|
-
exports.tr_TR = trTR;
|
|
3068
|
-
exports.zh_CN = zhCN;
|
|
3069
|
-
exports.zh_TW = zhTW;
|
|
3070
|
-
exports["ɵa"] = I18nPipe;
|
|
3071
|
-
|
|
3072
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3073
|
-
|
|
3074
|
-
}));
|
|
3075
|
-
//# sourceMappingURL=theme.umd.js.map
|