shineout 3.5.8-beta.4 → 3.5.8-beta.6
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/cjs/index.js +1 -1
- package/cjs/utils/strings.d.ts +1 -1
- package/cjs/utils/strings.js +4 -4
- package/dist/shineout.js +258 -138
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/esm/utils/strings.d.ts +1 -1
- package/esm/utils/strings.js +4 -4
- package/package.json +5 -5
package/cjs/index.js
CHANGED
|
@@ -507,5 +507,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
507
507
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
508
508
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
509
509
|
var _default = exports.default = {
|
|
510
|
-
version: '3.5.8-beta.
|
|
510
|
+
version: '3.5.8-beta.6'
|
|
511
511
|
};
|
package/cjs/utils/strings.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export declare function substitute(str: string | Function, obj: {
|
|
|
4
4
|
}): any;
|
|
5
5
|
export declare function removeProtocol(url: string): string;
|
|
6
6
|
export declare function getRTLPosition(position: string): string;
|
|
7
|
-
export declare function getDirectionIconName(mode?: string, double?: boolean): "
|
|
7
|
+
export declare function getDirectionIconName(mode?: string, double?: boolean): "ArrowRightDouble" | "AngleRight" | "ArrowLeftDouble" | "AngleLeft";
|
package/cjs/utils/strings.js
CHANGED
|
@@ -66,12 +66,12 @@ function getDirectionIconName() {
|
|
|
66
66
|
var rtl = true;
|
|
67
67
|
if (mode === 'left') {
|
|
68
68
|
if (rtl) {
|
|
69
|
-
return double ? '
|
|
69
|
+
return double ? 'ArrowRightDouble' : 'AngleRight';
|
|
70
70
|
}
|
|
71
|
-
return double ? '
|
|
71
|
+
return double ? 'ArrowLeftDouble' : 'AngleLeft';
|
|
72
72
|
}
|
|
73
73
|
if (rtl) {
|
|
74
|
-
return double ? '
|
|
74
|
+
return double ? 'ArrowLeftDouble' : 'AngleLeft';
|
|
75
75
|
}
|
|
76
|
-
return double ? '
|
|
76
|
+
return double ? 'ArrowRightDouble' : 'AngleRight';
|
|
77
77
|
}
|