@gx-design-vue/pro-utils 0.2.0-beta.23 → 0.2.0-beta.24
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/dist/pro-utils.js +1 -4
- package/dist/{typings → src/typings}/index.d.ts +2 -2
- package/dist/vite.config.d.ts +2 -0
- package/package.json +1 -1
- /package/dist/{classNames → src/classNames}/index.d.ts +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{isBrowser → src/isBrowser}/index.d.ts +0 -0
- /package/dist/{isDeepEqualReact → src/isDeepEqualReact}/index.d.ts +0 -0
- /package/dist/{isServer.d.ts → src/isServer.d.ts} +0 -0
- /package/dist/{merge → src/merge}/index.d.ts +0 -0
- /package/dist/{omitBoolean → src/omitBoolean}/index.d.ts +0 -0
- /package/dist/{omitUndefined → src/omitUndefined}/index.d.ts +0 -0
- /package/dist/{scroll → src/scroll}/easings.d.ts +0 -0
- /package/dist/{scroll → src/scroll}/getScroll.d.ts +0 -0
- /package/dist/{scroll → src/scroll}/index.d.ts +0 -0
- /package/dist/{scroll → src/scroll}/raf.d.ts +0 -0
- /package/dist/{scroll → src/scroll}/scrollTo.d.ts +0 -0
- /package/dist/{scroll → src/scroll}/throttleByAnimationFrame.d.ts +0 -0
- /package/dist/{slots → src/slots}/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/config.d.ts +0 -0
- /package/dist/{utils → src/utils}/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/validate.d.ts +0 -0
package/dist/pro-utils.js
CHANGED
|
@@ -234,10 +234,7 @@ function x(e, t, r, n) {
|
|
|
234
234
|
}
|
|
235
235
|
return e !== e && t !== t;
|
|
236
236
|
}
|
|
237
|
-
const V = (
|
|
238
|
-
// @ts-ignore
|
|
239
|
-
typeof process < "u" && process.versions != null && process.versions.node != null
|
|
240
|
-
), ne = () => process.env.NODE_ENV === "TEST" ? !0 : typeof window < "u" && typeof window.document < "u" && typeof window.matchMedia < "u" && !V, re = (e) => {
|
|
237
|
+
const V = typeof process < "u" && process.versions != null && process.versions.node != null, ne = () => process.env.NODE_ENV === "TEST" ? !0 : typeof window < "u" && typeof window.document < "u" && typeof window.matchMedia < "u" && !V, re = (e) => {
|
|
241
238
|
if (e && e !== !0)
|
|
242
239
|
return e;
|
|
243
240
|
}, ie = (e) => {
|
|
@@ -3,8 +3,8 @@ export type EmitType = (event: string, ...args: any[]) => void;
|
|
|
3
3
|
export type Nullable<T> = T | null;
|
|
4
4
|
export type WithFalse<T> = T | false;
|
|
5
5
|
export type RecordType = Record<string, any>;
|
|
6
|
-
export type VueNode = VNodeChild;
|
|
7
|
-
export type CustomRender = Slot | VNodeChild | VNode | ((...props: any[]) => Slot) | ((...props: any[]) => VNode) | ((...args: any[]) => VNode) | VNode[] | Element | string | null | undefined;
|
|
6
|
+
export type VueNode = VNodeChild | JSX.Element;
|
|
7
|
+
export type CustomRender = Slot | VNodeChild | VNode | ((...props: any[]) => Slot) | ((...props: any[]) => VNode) | ((...args: any[]) => VNode) | VNode[] | JSX.Element | string | null | undefined;
|
|
8
8
|
export type Breakpoint = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
9
9
|
export type SizeType = 'small' | 'middle' | 'large' | undefined;
|
|
10
10
|
export type AlignType = 'left' | 'center' | 'right';
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|