@94ai/nf-text-overflow 3.2.82 → 3.3.2

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/lib/index.d.ts CHANGED
@@ -154,7 +154,7 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
154
154
  };
155
155
  };
156
156
  } & (new () => {
157
- $slots: {
157
+ $scopedSlots: {
158
158
  default?(_: {}): any;
159
159
  };
160
160
  }) & PluginObject<undefined>;
@@ -1,53 +1,35 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<{
2
- content: {
3
- type: import("vue-demi").PropType<string>;
4
- default: string;
5
- };
6
- expandText: {
7
- type: import("vue-demi").PropType<string>;
8
- default: string;
9
- };
10
- collapseText: {
11
- type: import("vue-demi").PropType<string>;
12
- default: string;
13
- };
14
- rows: {
15
- type: import("vue-demi").PropType<string | number>;
16
- default: number;
17
- };
18
- rowHeight: {
19
- type: import("vue-demi").PropType<string | number>;
20
- default: number;
21
- };
22
- }, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ content?: string | undefined;
3
+ expandText?: string | undefined;
4
+ collapseText?: string | undefined;
5
+ rows?: string | number | undefined;
6
+ rowHeight?: string | number | undefined;
7
+ }>, {
8
+ content: string;
9
+ expandText: string;
10
+ collapseText: string;
11
+ rows: number;
12
+ rowHeight: number;
13
+ }>, {
23
14
  init: () => void;
24
15
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
25
16
  clickAction: (param: {
26
17
  event: Event;
27
18
  expanded: boolean;
28
19
  }) => void;
29
- }, string, Readonly<import("vue-demi").ExtractPropTypes<{
30
- content: {
31
- type: import("vue-demi").PropType<string>;
32
- default: string;
33
- };
34
- expandText: {
35
- type: import("vue-demi").PropType<string>;
36
- default: string;
37
- };
38
- collapseText: {
39
- type: import("vue-demi").PropType<string>;
40
- default: string;
41
- };
42
- rows: {
43
- type: import("vue-demi").PropType<string | number>;
44
- default: number;
45
- };
46
- rowHeight: {
47
- type: import("vue-demi").PropType<string | number>;
48
- default: number;
49
- };
50
- }>>, {
20
+ }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
21
+ content?: string | undefined;
22
+ expandText?: string | undefined;
23
+ collapseText?: string | undefined;
24
+ rows?: string | number | undefined;
25
+ rowHeight?: string | number | undefined;
26
+ }>, {
27
+ content: string;
28
+ expandText: string;
29
+ collapseText: string;
30
+ rows: number;
31
+ rowHeight: number;
32
+ }>>>, {
51
33
  content: string;
52
34
  expandText: string;
53
35
  collapseText: string;
@@ -57,8 +39,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
57
39
  default?(_: {}): any;
58
40
  }>;
59
41
  export default _default;
42
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
+ type __VLS_TypePropsToRuntimeProps<T> = {
44
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
45
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
+ } : {
47
+ type: import('vue').PropType<T[K]>;
48
+ required: true;
49
+ };
50
+ };
51
+ type __VLS_WithDefaults<P, D> = {
52
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
53
+ default: D[K];
54
+ }> : P[K];
55
+ };
56
+ type __VLS_Prettify<T> = {
57
+ [K in keyof T]: T[K];
58
+ } & {};
60
59
  type __VLS_WithTemplateSlots<T, S> = T & {
61
60
  new (): {
62
- $slots: S;
61
+ $scopedSlots: S;
63
62
  };
64
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-text-overflow",
3
- "version": "3.2.82",
3
+ "version": "3.3.2",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zhongzhenjie <1476686104@qq.com>",
@@ -14,7 +14,7 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/nf-theme-chalk": "^3.2.82",
17
+ "@94ai/nf-theme-chalk": "^3.3.2",
18
18
  "vue-demi": "^0.14.5"
19
19
  },
20
20
  "peerDependenciesMeta": {
@@ -30,5 +30,5 @@
30
30
  "types": "lib/index.d.ts",
31
31
  "main": "lib/nf-text-overflow.cjs.js",
32
32
  "module": "lib/nf-text-overflow.esm-bundler.js",
33
- "gitHead": "1a0dfe015520e800c5565377459cac24bb723ee6"
33
+ "gitHead": "452ef85be9233a97e8514ea86cdf20c1fac1c9e5"
34
34
  }