@gx-design-vue/pro-utils 0.2.0-alpha.8 → 0.2.0-alpha.9

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/file/type.js CHANGED
@@ -11,7 +11,7 @@ function getFileSuffix(url) {
11
11
  if (!url || typeof url !== "string") return "";
12
12
  const newUrl = getVideoFileUrl(url);
13
13
  const index = newUrl.lastIndexOf(".");
14
- return index > 0 ? `${newUrl?.substring?.(index)?.split("?")?.[0]}`?.split(".")?.[1] || "" : "";
14
+ return index > 0 ? `${newUrl?.substring?.(index)?.split("?")?.[0]}`.split(".")?.[1] || "" : "";
15
15
  }
16
16
  /**
17
17
  * 截取视频 URL(去除参数)
@@ -1,5 +1,4 @@
1
1
  import { CustomRender, WithFalse } from "../typing.js";
2
- import * as _$vue from "vue";
3
2
  import { VNode } from "vue";
4
3
 
5
4
  //#region src/slots/index.d.ts
@@ -8,7 +7,7 @@ type RenderResult<S extends object, K extends keyof S, R extends boolean, D = an
8
7
  declare function getKeys(keys: string | string[]): string;
9
8
  declare function isEmptyElement(c: any): boolean;
10
9
  declare function getSlotsChildren<T extends object = Record<string, any>>(slots: T, key: keyof T): VNode[];
11
- declare function filterEmpty(vnode?: any, isEmpty?: boolean): VNode<_$vue.RendererNode, _$vue.RendererElement, {
10
+ declare function filterEmpty(vnode?: any, isEmpty?: boolean): VNode<import("vue").RendererNode, import("vue").RendererElement, {
12
11
  [key: string]: any;
13
12
  }>[];
14
13
  declare function slotRender({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gx-design-vue/pro-utils",
3
3
  "type": "module",
4
- "version": "0.2.0-alpha.8",
4
+ "version": "0.2.0-alpha.9",
5
5
  "description": "Gx Design Pro Utils",
6
6
  "author": {
7
7
  "name": "gx12358",