@gx-design-vue/pro-utils 0.2.0-beta.57 → 0.2.0-beta.59

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.
@@ -0,0 +1,20 @@
1
+ export default class Base64 {
2
+ _keyStr: string;
3
+ constructor();
4
+ _utf8_encode(string: string): string;
5
+ _utf8_decode(utftext: string): string;
6
+ /**
7
+ * @Author gx12358
8
+ * @DateTime 2024/12/21
9
+ * @lastTime 2024/12/21
10
+ * @description 加密方法
11
+ */
12
+ encode(input: string): string;
13
+ /**
14
+ * @Author gx12358
15
+ * @DateTime 2024/12/21
16
+ * @lastTime 2024/12/21
17
+ * @description 解密
18
+ */
19
+ decode(input: string): string;
20
+ }
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import Base64 from './base64';
1
2
  import classNames from './classNames';
2
3
  import { getValueFromObjectByKey } from './getValueFromObjectByKey';
3
4
  import isServer from './isServer';
@@ -20,4 +21,4 @@ export * from './omitUndefinedAndEmptyArr';
20
21
  export * from './slots';
21
22
  export * from './typings';
22
23
  export * from './utils';
23
- export { classNames, getScroll, getScrollContainer, getValueFromObjectByKey, isInContainer, isScroll, isServer, raf, scrollTo, throttleByAnimationFrame };
24
+ export { Base64, classNames, getScroll, getScrollContainer, getValueFromObjectByKey, isInContainer, isScroll, isServer, raf, scrollTo, throttleByAnimationFrame };