@yelon/util 14.2.0 → 15.0.0-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +1 -1
- package/README.md +2 -6
- package/config/abc/media.type.d.ts +1 -1
- package/config/auth/auth.type.d.ts +0 -6
- package/config/config.types.d.ts +5 -7
- package/config/index.d.ts +1 -1
- package/config/socket/socket.type.d.ts +4 -0
- package/date-time/time.d.ts +1 -1
- package/decorator/convert.d.ts +2 -2
- package/decorator/zone-outside.d.ts +1 -1
- package/esm2020/array/array-type.service.mjs +1 -1
- package/esm2020/array/array.service.mjs +4 -5
- package/esm2020/browser/cookie.service.mjs +8 -8
- package/esm2020/browser/scroll.service.mjs +8 -8
- package/esm2020/config/abc/media.type.mjs +1 -1
- package/esm2020/config/auth/auth.type.mjs +1 -1
- package/esm2020/config/config.service.mjs +4 -5
- package/esm2020/config/config.types.mjs +1 -1
- package/esm2020/config/index.mjs +2 -2
- package/esm2020/config/socket/socket.type.mjs +2 -0
- package/esm2020/format/currency.service.mjs +4 -4
- package/esm2020/format/validate.mjs +2 -2
- package/esm2020/other/index.mjs +2 -1
- package/esm2020/other/lazy.service.mjs +4 -4
- package/esm2020/other/path-to-regexp.service.mjs +239 -0
- package/esm2020/pipes/currency/cny.pipe.mjs +4 -4
- package/esm2020/pipes/currency/mega.pipe.mjs +4 -4
- package/esm2020/pipes/currency/module.mjs +5 -5
- package/esm2020/pipes/currency/price.pipe.mjs +4 -4
- package/esm2020/pipes/filter/filter.pipe.mjs +4 -4
- package/esm2020/pipes/filter/module.mjs +5 -5
- package/esm2020/pipes/format/mask.pipe.mjs +4 -4
- package/esm2020/pipes/format/module.mjs +5 -5
- package/fesm2015/array.mjs +3 -4
- package/fesm2015/array.mjs.map +1 -1
- package/fesm2015/browser.mjs +14 -14
- package/fesm2015/browser.mjs.map +1 -1
- package/fesm2015/config.mjs +3 -4
- package/fesm2015/config.mjs.map +1 -1
- package/fesm2015/format.mjs +4 -4
- package/fesm2015/format.mjs.map +1 -1
- package/fesm2015/other.mjs +241 -4
- package/fesm2015/other.mjs.map +1 -1
- package/fesm2015/pipe-currency.mjs +13 -13
- package/fesm2015/pipe-currency.mjs.map +1 -1
- package/fesm2015/pipe-filter.mjs +7 -7
- package/fesm2015/pipe-filter.mjs.map +1 -1
- package/fesm2015/pipe-format.mjs +7 -7
- package/fesm2015/pipe-format.mjs.map +1 -1
- package/fesm2020/array.mjs +3 -4
- package/fesm2020/array.mjs.map +1 -1
- package/fesm2020/browser.mjs +14 -14
- package/fesm2020/browser.mjs.map +1 -1
- package/fesm2020/config.mjs +3 -4
- package/fesm2020/config.mjs.map +1 -1
- package/fesm2020/format.mjs +4 -4
- package/fesm2020/format.mjs.map +1 -1
- package/fesm2020/other.mjs +241 -4
- package/fesm2020/other.mjs.map +1 -1
- package/fesm2020/pipe-currency.mjs +13 -13
- package/fesm2020/pipe-currency.mjs.map +1 -1
- package/fesm2020/pipe-filter.mjs +7 -7
- package/fesm2020/pipe-filter.mjs.map +1 -1
- package/fesm2020/pipe-format.mjs +7 -7
- package/fesm2020/pipe-format.mjs.map +1 -1
- package/format/currency.types.d.ts +1 -1
- package/other/index.d.ts +1 -0
- package/other/lazy.service.d.ts +0 -12
- package/other/path-to-regexp.service.d.ts +26 -0
- package/package.json +17 -1
- package/config/stomp/stomp.type.d.ts +0 -2
- package/esm2020/config/stomp/stomp.type.mjs +0 -2
package/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2017-present yunzai<devcui@outlook.com>
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
@@ -1,17 +1,13 @@
|
|
1
|
-
# @yelon/util [![Build Status](https://dev.azure.com/
|
1
|
+
# @yelon/util [![Build Status](https://dev.azure.com/ng-yunzai/yelon/_apis/build/status/yelon-CI?branchName=master)](https://dev.azure.com/ng-yunzai/yelon/_build/latest?definitionId=1&branchName=master) [![NPM version](https://img.shields.io/npm/v/@yelon/util.svg?style=flat-square)](https://www.npmjs.com/package/@yelon/util)
|
2
2
|
|
3
3
|
Universal toolset of ng-yunzai.
|
4
4
|
|
5
5
|
## Links
|
6
6
|
|
7
|
-
+ [Document](https://ng.yunzainfo.com/util) ([Surge Mirror](https://ng-yunzai-doc.surge.sh/util)
|
7
|
+
+ [Document](https://ng.yunzainfo.com/util) ([Surge Mirror](https://ng-yunzai-doc.surge.sh/util)
|
8
8
|
+ [@yelon Source](https://github.com/hbyunzai/yelon)
|
9
9
|
+ [DEMO](https://ng-yunzai.surge.sh) ([国内镜像](https://ng-yunzai.gitee.io/))
|
10
10
|
|
11
|
-
## Architecture
|
12
|
-
|
13
|
-
![Architecture](https://raw.githubusercontent.com/hbyunzai/yelon/master/_screenshot/architecture.png)
|
14
|
-
|
15
11
|
## Troubleshooting
|
16
12
|
|
17
13
|
Please follow this guidelines when reporting bugs and feature requests:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
1
|
+
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
2
2
|
export interface YunzaiMediaConfig {
|
3
3
|
/**
|
4
4
|
* Plyr library path, default: `["https://cdn.bootcdn.net/ajax/libs/plyr/3.5.10/plyr.min.js", "https://cdn.bootcdn.net/ajax/libs/plyr/3.5.10/plyr.css"]`
|
@@ -35,12 +35,6 @@ export interface YunzaiAuthConfig {
|
|
35
35
|
* 忽略TOKEN的URL地址列表,默认值为:`[/\/login/, /assets\//, /passport\//]`
|
36
36
|
*/
|
37
37
|
ignores?: RegExp[];
|
38
|
-
/**
|
39
|
-
* 允许匿名登录KEY,若请求参数中带有该KEY表示忽略TOKEN,默认:`_allow_anonymous`
|
40
|
-
*
|
41
|
-
* @deprecated Will be removed in 15.x, Pls used [ALLOW_ANONYMOUS](https://github.com/hbyunzai/yelon/blob/master/packages/auth/src/token.ts) `HttpContext` instead
|
42
|
-
*/
|
43
|
-
allow_anonymous_key?: string;
|
44
38
|
/**
|
45
39
|
* 是否校验失效时命中后继续调用后续拦截器的 `intercept` 方法,默认:`true`
|
46
40
|
*/
|
package/config/config.types.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
2
|
-
import { YunzaiDateRangePickerConfig, YunzaiErrorCollectConfig, YunzaiImageConfig, YunzaiLoadingConfig, YunzaiLodopConfig, YunzaiMediaConfig, YunzaiOnboardingConfig, YunzaiPageHeaderConfig, YunzaiPdfConfig, YunzaiQRConfig, YunzaiSEConfig, YunzaiSGConfig, YunzaiSTConfig, YunzaiSVConfig, YunzaiXlsxConfig, YunzaiZipConfig
|
2
|
+
import { YunzaiDateRangePickerConfig, YunzaiErrorCollectConfig, YunzaiExceptionType, YunzaiImageConfig, YunzaiLoadingConfig, YunzaiLodopConfig, YunzaiMediaConfig, YunzaiOnboardingConfig, YunzaiPageHeaderConfig, YunzaiPdfConfig, YunzaiQRConfig, YunzaiSEConfig, YunzaiSGConfig, YunzaiSTConfig, YunzaiSVConfig, YunzaiXlsxConfig, YunzaiZipConfig } from './abc/index';
|
3
3
|
import { YunzaiACLConfig } from './acl/acl.type';
|
4
4
|
import { YunzaiAuthConfig } from './auth/auth.type';
|
5
5
|
import { YunzaiBusinessConfig } from './bis/bis.type';
|
@@ -7,15 +7,13 @@ import { YunzaiCacheConfig } from './cache/cache.type';
|
|
7
7
|
import { YunzaiChartConfig } from './chart/chart.type';
|
8
8
|
import { YunzaiMockConfig } from './mock/mock.type';
|
9
9
|
import { YunzaiSFConfig } from './sf/sf.type';
|
10
|
-
import {
|
11
|
-
import { YunzaiThemeHttpClientConfig } from './theme/
|
12
|
-
import { YunzaiThemeI18nConfig } from './theme/i18n.type';
|
13
|
-
import { YunzaiThemeResponsiveConfig } from './theme/responsive.type';
|
10
|
+
import { YunzaiSocketConfig } from './socket/socket.type';
|
11
|
+
import { YunzaiThemeHttpClientConfig, YunzaiThemeResponsiveConfig, YunzaiThemeI18nConfig } from './theme/index';
|
14
12
|
import { YunzaiUtilArrayConfig } from './util/array.type';
|
15
13
|
import { YunzaiUtilCurrencyConfig } from './util/currency.type';
|
16
14
|
export interface YunzaiConfig {
|
17
15
|
bis?: YunzaiBusinessConfig;
|
18
|
-
|
16
|
+
socket?: YunzaiSocketConfig;
|
19
17
|
dataRange?: YunzaiDateRangePickerConfig;
|
20
18
|
exception?: YunzaiExceptionType;
|
21
19
|
errorCollect?: YunzaiErrorCollectConfig;
|
@@ -45,6 +43,6 @@ export interface YunzaiConfig {
|
|
45
43
|
themeResponsive?: YunzaiThemeResponsiveConfig;
|
46
44
|
themeI18n?: YunzaiThemeI18nConfig;
|
47
45
|
}
|
48
|
-
export
|
46
|
+
export type YunzaiConfigKey = keyof YunzaiConfig;
|
49
47
|
export declare const YUNZAI_CONFIG: InjectionToken<YunzaiConfig>;
|
50
48
|
export declare function YUNZAI_CONFIG_FACTORY(): YunzaiConfig;
|
package/config/index.d.ts
CHANGED
@@ -9,6 +9,6 @@ export * from './theme/index';
|
|
9
9
|
export * from './mock/mock.type';
|
10
10
|
export * from './sf/sf.type';
|
11
11
|
export * from './bis/bis.type';
|
12
|
-
export * from './
|
12
|
+
export * from './socket/socket.type';
|
13
13
|
export * from './config.types';
|
14
14
|
export * from './config.service';
|
package/date-time/time.d.ts
CHANGED
@@ -15,7 +15,7 @@ export declare function getTimeDistance(type: 'today' | '-today' | 'yesterday' |
|
|
15
15
|
* fix time is the most, big value
|
16
16
|
*/
|
17
17
|
export declare function fixEndTimeOfRange(dates: [Date, Date]): [Date, Date];
|
18
|
-
export
|
18
|
+
export type ToDateOptions = string | {
|
19
19
|
formatString?: string;
|
20
20
|
defaultValue?: NzSafeAny;
|
21
21
|
};
|
package/decorator/convert.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
2
|
-
export
|
3
|
-
export
|
2
|
+
export type BooleanInput = boolean | string | undefined | null;
|
3
|
+
export type NumberInput = number | string | undefined | null;
|
4
4
|
export declare function toBoolean(value: unknown, defaultValue?: boolean | null | undefined): boolean | null | undefined;
|
5
5
|
/**
|
6
6
|
* Input decorator that handle a prop to do get/set automatically with toBoolean
|
@@ -1,7 +1,7 @@
|
|
1
1
|
export interface ZoneOptions {
|
2
2
|
ngZoneName?: string;
|
3
3
|
}
|
4
|
-
|
4
|
+
type DecoratorType = (target: unknown, fn: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|
5
5
|
/**
|
6
6
|
* The decoration method runs in `runOutsideAngular`
|
7
7
|
*
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyYXktdHlwZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9hcnJheS9hcnJheS10eXBlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgTnpUcmVlTm9kZSB9IGZyb20gJ25nLXpvcnJvLWFudGQvY29yZS90cmVlJztcblxuZXhwb3J0IGludGVyZmFjZSBBcnJheVNlcnZpY2VUcmVlVG9BcnJPcHRpb25zPFQgZXh0ZW5kcyBvYmplY3QgPSBhbnk+IHtcbiAgLyoqIOa3seW6pumhueWQje+8jOm7mOiupO+8mmAnZGVlcCdgICovXG4gIGRlZXBNYXBOYW1lPzogc3RyaW5nO1xuICAvKiog5omB5bmz5ZCO5pWw57uE55qE54i25pWw5o2u6aG55ZCN77yM6buY6K6k77yaYCdwYXJlbnQnYCAqL1xuICBwYXJlbnRNYXBOYW1lPzogc3RyaW5nO1xuICAvKiog5rqQ5pWw5o2u5a2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@ -1,4 +1,3 @@
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
2
1
|
import { Injectable } from '@angular/core';
|
3
2
|
import { NzTreeNode } from 'ng-zorro-antd/core/tree';
|
4
3
|
import * as i0 from "@angular/core";
|
@@ -269,10 +268,10 @@ export class ArrayService {
|
|
269
268
|
.values());
|
270
269
|
}
|
271
270
|
}
|
272
|
-
ArrayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
273
|
-
ArrayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
271
|
+
ArrayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ArrayService, deps: [{ token: i1.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
272
|
+
ArrayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ArrayService, providedIn: 'root' });
|
273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ArrayService, decorators: [{
|
275
274
|
type: Injectable,
|
276
275
|
args: [{ providedIn: 'root' }]
|
277
276
|
}], ctorParameters: function () { return [{ type: i1.YunzaiConfigService }]; } });
|
278
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyYXkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvYXJyYXkvYXJyYXkuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx1REFBdUQ7QUFDdkQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUczQyxPQUFPLEVBQUUsVUF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ogJ2InKSkgPT4gW3tcImFcIjoxfSx7XCJhXCI6Mn1dXG4gICAqIGBgYFxuICAgKi9cbiAgdW5pcTxUPihhcnJheTogcmVhZG9ubHkgVFtdLCBwcmVkaWNhdGU/OiBzdHJpbmcgfCAoKHZhbHVlOiBUKSA9PiBzdHJpbmcgfCBudW1iZXIgfCBib29sZWFuKSk6IFRbXSB7XG4gICAgcmV0dXJuIEFycmF5LmZyb20oXG4gICAgICBhcnJheVxuICAgICAgICAucmVkdWNlKChtYXAsIHZhbHVlKSA9PiB7XG4gICAgICAgICAgY29uc3Qga2V5ID0gcHJlZGljYXRlXG4gICAgICAgICAgICA/IHR5cGVvZiBwcmVkaWNhdGUgPT09ICdzdHJpbmcnXG4gICAgICAgICAgICAgID8gKHZhbHVlIGFzIGFueSlbcHJlZGljYXRlXVxuICAgICAgICAgICAgICA6IHByZWRpY2F0ZSEodmFsdWUpXG4gICAgICAgICAgICA6IHZhbHVlO1xuICAgICAgICAgIGlmICghbWFwLmhhcyhrZXkpKSB7XG4gICAgICAgICAgICBtYXAuc2V0KGtleSwgdmFsdWUpO1xuICAgICAgICAgIH1cbiAgICAgICAgICByZXR1cm4gbWFwO1xuICAgICAgICB9LCBuZXcgTWFwPHN0cmluZyB8IG51bWJlciB8IGJvb2xlYW4sIFQ+KCkpXG4gICAgICAgIC52YWx1ZXMoKVxuICAgICk7XG4gIH1cbn1cbiJdfQ==
|
277
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyYXkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvYXJyYXkvYXJyYXkuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzNDLE9BQU8sRUFBRSxVQUFVLEVB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1xuICB1bmlxPFQ+KGFycmF5OiByZWFkb25seSBUW10sIHByZWRpY2F0ZT86IHN0cmluZyB8ICgodmFsdWU6IFQpID0+IHN0cmluZyB8IG51bWJlciB8IGJvb2xlYW4pKTogVFtdIHtcbiAgICByZXR1cm4gQXJyYXkuZnJvbShcbiAgICAgIGFycmF5XG4gICAgICAgIC5yZWR1Y2UoKG1hcCwgdmFsdWUpID0+IHtcbiAgICAgICAgICBjb25zdCBrZXkgPSBwcmVkaWNhdGVcbiAgICAgICAgICAgID8gdHlwZW9mIHByZWRpY2F0ZSA9PT0gJ3N0cmluZydcbiAgICAgICAgICAgICAgPyAodmFsdWUgYXMgYW55KVtwcmVkaWNhdGVdXG4gICAgICAgICAgICAgIDogcHJlZGljYXRlISh2YWx1ZSlcbiAgICAgICAgICAgIDogdmFsdWU7XG4gICAgICAgICAgaWYgKCFtYXAuaGFzKGtleSkpIHtcbiAgICAgICAgICAgIG1hcC5zZXQoa2V5LCB2YWx1ZSk7XG4gICAgICAgICAgfVxuICAgICAgICAgIHJldHVybiBtYXA7XG4gICAgICAgIH0sIG5ldyBNYXA8c3RyaW5nIHwgbnVtYmVyIHwgYm9vbGVhbiwgVD4oKSlcbiAgICAgICAgLnZhbHVlcygpXG4gICAgKTtcbiAgfVxufVxuIl19
|
@@ -8,10 +8,6 @@ import * as i1 from "@angular/cdk/platform";
|
|
8
8
|
* 一组简单的 Cookie 操作类。
|
9
9
|
*/
|
10
10
|
export class CookieService {
|
11
|
-
constructor(_doc, platform) {
|
12
|
-
this._doc = _doc;
|
13
|
-
this.platform = platform;
|
14
|
-
}
|
15
11
|
get doc() {
|
16
12
|
return this._doc || document;
|
17
13
|
}
|
@@ -23,6 +19,10 @@ export class CookieService {
|
|
23
19
|
get cookie() {
|
24
20
|
return this.platform.isBrowser ? this.doc.cookie : '';
|
25
21
|
}
|
22
|
+
constructor(_doc, platform) {
|
23
|
+
this._doc = _doc;
|
24
|
+
this.platform = platform;
|
25
|
+
}
|
26
26
|
/**
|
27
27
|
* Get all cookie key-value pairs
|
28
28
|
*
|
@@ -91,13 +91,13 @@ export class CookieService {
|
|
91
91
|
this.doc.cookie = '';
|
92
92
|
}
|
93
93
|
}
|
94
|
-
CookieService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
95
|
-
CookieService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
94
|
+
CookieService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: CookieService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
95
|
+
CookieService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: CookieService, providedIn: 'root' });
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: CookieService, decorators: [{
|
97
97
|
type: Injectable,
|
98
98
|
args: [{ providedIn: 'root' }]
|
99
99
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
100
100
|
type: Inject,
|
101
101
|
args: [DOCUMENT]
|
102
102
|
}] }, { type: i1.Platform }]; } });
|
103
|
-
//# sourceMappingURL=data:application/json;base64,
|
103
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29va2llLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2Jyb3dzZXIvY29va2llLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzNDLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1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IC5maWx0ZXIoayA9PiBvcHRTdHJba10gJiYgb3B0U3RyW2tdICE9PSB0cnVlKVxuICAgICAgLm1hcChrID0+IGAke2t9PSR7KG9wdFN0cltrXSBhcyBzdHJpbmcpLnNwbGl0KCc7JylbMF19YClcbiAgICAgIC5qb2luKCc7Jyk7XG4gICAgdGhpcy5kb2MuY29va2llID0gYCR7ZW5jb2RlVVJJQ29tcG9uZW50KFN0cmluZyhrZXkpKX09JHtlbmNvZGVVUklDb21wb25lbnQoU3RyaW5nKHZhbHVlKSl9JHtcbiAgICAgIGF0dHJpYnV0ZXMgPyBgOyAke2F0dHJpYnV0ZXN9YCA6ICcnXG4gICAgfWA7XG4gIH1cblxuICAvKipcbiAgICogUmVtb3ZlIGdpdmVuIGNvb2tpZVxuICAgKlxuICAgKiDnp7vpmaTmjIflrpogQ29va2llXG4gICAqL1xuICByZW1vdmUoa2V5OiBzdHJpbmcsIG9wdGlvbnM/OiBDb29raWVPcHRpb25zKTogdm9pZCB7XG4gICAgdGhpcy5wdXQoa2V5LCAnJywgb3B0aW9ucyk7XG4gIH1cblxuICAvKipcbiAgICogUmVtb3ZlIGFsbCBjb29raWVzXG4gICAqXG4gICAqIOenu+mZpOaJgOaciSBDb29raWVzXG4gICAqL1xuICByZW1vdmVBbGwoKTogdm9pZCB7XG4gICAgdGhpcy5kb2MuY29va2llID0gJyc7XG4gIH1cbn1cbiJdfQ==
|
@@ -3,10 +3,6 @@ import { Inject, Injectable } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
import * as i1 from "@angular/cdk/platform";
|
5
5
|
export class ScrollService {
|
6
|
-
constructor(_doc, platform) {
|
7
|
-
this._doc = _doc;
|
8
|
-
this.platform = platform;
|
9
|
-
}
|
10
6
|
_getDoc() {
|
11
7
|
return this._doc || document;
|
12
8
|
}
|
@@ -14,6 +10,10 @@ export class ScrollService {
|
|
14
10
|
const doc = this._getDoc();
|
15
11
|
return doc.defaultView || window;
|
16
12
|
}
|
13
|
+
constructor(_doc, platform) {
|
14
|
+
this._doc = _doc;
|
15
|
+
this.platform = platform;
|
16
|
+
}
|
17
17
|
/**
|
18
18
|
* 获取滚动条位置
|
19
19
|
*
|
@@ -76,13 +76,13 @@ export class ScrollService {
|
|
76
76
|
this.scrollToElement(this._getDoc().body, topOffset);
|
77
77
|
}
|
78
78
|
}
|
79
|
-
ScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
80
|
-
ScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
79
|
+
ScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
|
80
|
+
ScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollService, providedIn: 'root' });
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ScrollService, decorators: [{
|
82
82
|
type: Injectable,
|
83
83
|
args: [{ providedIn: 'root' }]
|
84
84
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
85
85
|
type: Inject,
|
86
86
|
args: [DOCUMENT]
|
87
87
|
}] }, { type: i1.Platform }]; } });
|
88
|
-
//# sourceMappingURL=data:application/json;base64,
|
88
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2Jyb3dzZXIvc2Nyb2xsLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBT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0RG9jKCkuYm9keSwgdG9wT2Zmc2V0KTtcbiAgfVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvY29uZmlnL2FiYy9tZWRpYS50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IE56U2FmZUFueSB9IGZyb20gJ25nLXpvcnJvLWFudGQvY29yZS90eXBlcyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgWXVuemFpTWVkaWFDb25maWcge1xuICAvKipcbiAgICogUGx5ciBsaWJyYXJ5IHBhdGgsIGRlZmF1bHQ6IGBbXCJodHRwczovL2Nkbi5ib290Y2RuLm5ldC9hamF4L2xpYnMvcGx5ci8zLjUuMTAvcGx5ci5taW4uanNcIiwgXCJodHRwczovL2Nkbi5ib290Y2RuLm5ldC9hamF4L2xpYnMvcGx5ci8zLjUuMTAvcGx5ci5jc3NcIl1gXG4gICAqL1xuICB1cmxzPzogc3RyaW5nW107XG4gIC8qKlxuICAgKiBQbGVhc2UgcmVmZXIgdG8gW3BseXIgb3B0aW9uc10oaHR0cHM6Ly9naXRodWIuY29tL3NhbXBvdHRzL3BseXIjb3B0aW9ucylcbiAgICovXG4gIG9wdGlvbnM/OiBOelNhZmVBbnk7XG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4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buWPguaVsOS9jee9ru+8jOm7mOiupO+8mmBoZWFkZXJgXG4gICAqL1xuICB0b2tlbl9zZW5kX3BsYWNlPzogJ2hlYWRlcicgfCAnYm9keScgfCAndXJsJztcbiAgLyoqXG4gICAqIOeZu+W9lemhtei3r+eUseWcsOWdgO+8jOm7mOiupO+8mmAvbG9naW5gXG4gICAqL1xuICBsb2dpbl91cmw/OiBzdHJpbmc7XG4gIC8qKlxuICAgKiDlv73nlaVUT0tFTueahFVSTOWcsOWdgOWIl+ihqO+8jOm7mOiupOWAvOS4uu+
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvdXRpbC9jb25maWcvYXV0aC9hdXRoLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgWXVuemFpQXV0aENvbmZpZyB7XG4gIC8qKlxuICAgKiDlrZjlgqhLRVnlgLzvvIzpu5jorqTvvJpgX3Rva2VuYFxuICAgKi9cbiAgc3RvcmVfa2V5Pzogc3RyaW5nO1xuICAvKipcbiAgICog5peg5pWI5pe26Lez6L2s6Iez55m75b2V6aG177yM6buY6K6k77yaYHRydWVg77yM5YyF5ous77yaXG4gICAqIC0g5peg5pWIdG9rZW7lgLxcbiAgICogLSB0b2tlbuW3sui/h+acn++8iOmZkEpXVO+8iVxuICAgKi9cbiAgdG9rZW5faW52YWxpZF9yZWRpcmVjdD86IGJvb2xlYW47XG4gIC8qKlxuICAgKiB0b2tlbui/h+acn+aXtumXtOWBj+enu+WAvO+8jOm7mOiupO+8mmAxMGAg56eS77yI5Y2V5L2N77ya56eS77yJXG4gICAqL1xuICB0b2tlbl9leHBfb2Zmc2V0PzogbnVtYmVyO1xuICAvKipcbiAgICog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8iOWNleS9je+8mm1z77yJ77yM6buY6K6k77yaYDMwMDBgXG4gICAqL1xuICByZWZyZXNoVGltZT86IG51bWJlcjtcbiAgLyoqXG4gICAqIOi/h+acn+iuoeeul+WBj+enu+WAvO+8iOWNleS9je+8mm1z77yJ77yM6buY6K6k77yaYDYwMDBgXG4gICAqIC0gKirlu7rorq4qKuagueaNriBgcmVmcmVzaFRpbWVgIOWAjeaVsOadpeiuvue9rlxuICAgKi9cbiAgcmVmcmVzaE9mZnNldD86IG51bWJlcjtcbn1cbiJdfQ==
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
2
1
|
import { Inject, Injectable, Optional } from '@angular/core';
|
3
2
|
import { deepMergeKey } from '@yelon/util/other';
|
4
3
|
import { YUNZAI_CONFIG } from './config.types';
|
@@ -24,9 +23,9 @@ export class YunzaiConfigService {
|
|
24
23
|
this.config[componentName] = { ...this.config[componentName], ...value };
|
25
24
|
}
|
26
25
|
}
|
27
|
-
YunzaiConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
28
|
-
YunzaiConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
26
|
+
YunzaiConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: YunzaiConfigService, deps: [{ token: YUNZAI_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
27
|
+
YunzaiConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: YunzaiConfigService, providedIn: 'root' });
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: YunzaiConfigService, decorators: [{
|
30
29
|
type: Injectable,
|
31
30
|
args: [{ providedIn: 'root' }]
|
32
31
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
@@ -35,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImpo
|
|
35
34
|
type: Inject,
|
36
35
|
args: [YUNZAI_CONFIG]
|
37
36
|
}] }]; } });
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2NvbmZpZy9jb25maWcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFN0QsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBR2pELE9BQU8sRUFBaUMsYUFBYSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7O0FBRzlFLE1BQU0sT0FBTyxtQkFBbUI7SUFHOUIsWUFBK0MsYUFBNEI7UUFDekUsSUFBSSxDQUFDLE1BQU0sR0FBRyxFQUFFLEdBQUcsYUFBYSxFQUFFLENBQUM7SUFDckMsQ0FBQztJQUVELEdBQUcsQ0FBNEIsYUFBZ0IsRUFBRSxHQUFZO1FBQzNELE1BQU0sR0FBRyxHQUFHLENBQUUsSUFBSSxDQUFDLE1BQU0sQ0FBQyxhQUFhLENBQWdDLElBQUksRUFBRSxDQUFjLENBQUM7UUFDNUYsT0FBTyxHQUFHLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxHQUFHLENBQUMsRUFBRSxHQUFHLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDO0lBQ3pDLENBQUM7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nZUtleSh7fSwgdHJ1ZSwgLi4uZGVmYXVsdFZhbHVlcywgdGhpcy5nZXQoY29tcG9uZW50TmFtZSkpO1xuICB9XG5cbiAgYXR0YWNoPFQgZXh0ZW5kcyBZdW56YWlDb25maWdLZXk+KGNvbXBvbmVudFRoaXM6IHVua25vd24sIGNvbXBvbmVudE5hbWU6IFQsIGRlZmF1bHRWYWx1ZXM6IFl1bnphaUNvbmZpZ1tUXSk6IHZvaWQge1xuICAgIE9iamVjdC5hc3NpZ24oY29tcG9uZW50VGhpcyBhcyBhbnksIHRoaXMubWVyZ2UoY29tcG9uZW50TmFtZSwgZGVmYXVsdFZhbHVlcykpO1xuICB9XG5cbiAgYXR0YWNoS2V5PFQgZXh0ZW5kcyBZdW56YWlDb25maWdLZXk+KGNvbXBvbmVudFRoaXM6IHVua25vd24sIGNvbXBvbmVudE5hbWU6IFQsIGtleTogc3RyaW5nKTogdm9pZCB7XG4gICAgT2JqZWN0LmFzc2lnbihjb21wb25lbnRUaGlzIGFzIGFueSwgdGhpcy5nZXQoY29tcG9uZW50TmFtZSwga2V5KSk7XG4gIH1cblxuICBzZXQ8VCBleHRlbmRzIFl1bnphaUNvbmZpZ0tleT4oY29tcG9uZW50TmFtZTogVCwgdmFsdWU6IFl1bnphaUNvbmZpZ1tUXSk6IHZvaWQge1xuICAgIHRoaXMuY29uZmlnW2NvbXBvbmVudE5hbWVdID0geyAuLi50aGlzLmNvbmZpZ1tjb21wb25lbnROYW1lXSwgLi4udmFsdWUgfTtcbiAgfVxufVxuIl19
|
@@ -6,4 +6,4 @@ export const YUNZAI_CONFIG = new InjectionToken('yunzai-config', {
|
|
6
6
|
export function YUNZAI_CONFIG_FACTORY() {
|
7
7
|
return {};
|
8
8
|
}
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInN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phaVRoZW1lSTE4bkNvbmZpZztcbn1cblxuZXhwb3J0IHR5cGUgWXVuemFpQ29uZmlnS2V5ID0ga2V5b2YgWXVuemFpQ29uZmlnO1xuXG5leHBvcnQgY29uc3QgWVVOWkFJX0NPTkZJRyA9IG5ldyBJbmplY3Rpb25Ub2tlbjxZdW56YWlDb25maWc+KCd5dW56YWktY29uZmlnJywge1xuICBwcm92aWRlZEluOiAncm9vdCcsXG4gIGZhY3Rvcnk6IFlVTlpBSV9DT05GSUdfRkFDVE9SWVxufSk7XG5cbmV4cG9ydCBmdW5jdGlvbiBZVU5aQUlfQ09ORklHX0ZBQ1RPUlkoKTogWXVuemFpQ29uZmlnIHtcbiAgcmV0dXJuIHt9O1xufVxuIl19
|
package/esm2020/config/index.mjs
CHANGED
@@ -9,7 +9,7 @@ export * from './theme/index';
|
|
9
9
|
export * from './mock/mock.type';
|
10
10
|
export * from './sf/sf.type';
|
11
11
|
export * from './bis/bis.type';
|
12
|
-
export * from './
|
12
|
+
export * from './socket/socket.type';
|
13
13
|
export * from './config.types';
|
14
14
|
export * from './config.service';
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy91dGlsL2NvbmZpZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLGVBQWUsQ0FBQztBQUM5QixjQU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