@94ai/nf-text-overflow 3.1.31
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/.eslintrc.cjs +49 -0
- package/README.md +11 -0
- package/components.d.ts +8 -0
- package/lib/index.d.ts +121 -0
- package/lib/nf-text-overflow.cjs.js +1608 -0
- package/lib/nf-text-overflow.esm-bundler.js +1608 -0
- package/lib/nf-text-overflow.vue.d.ts +43 -0
- package/lib/style/css.d.ts +1 -0
- package/lib/style/css.js +1 -0
- package/lib/style/index.d.ts +1 -0
- package/lib/style/index.js +1 -0
- package/package.json +34 -0
- package/postcss.config.js +8 -0
package/.eslintrc.cjs
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
"root": true,
|
|
3
|
+
"env": {
|
|
4
|
+
"node": true
|
|
5
|
+
},
|
|
6
|
+
"extends": [
|
|
7
|
+
"plugin:vue/essential"
|
|
8
|
+
],
|
|
9
|
+
"parser": "vue-eslint-parser",
|
|
10
|
+
"parserOptions": {
|
|
11
|
+
"parser": "@typescript-eslint/parser",
|
|
12
|
+
"ecmaVersion": 2020,
|
|
13
|
+
"sourceType": "module"
|
|
14
|
+
},
|
|
15
|
+
"rules": {
|
|
16
|
+
"@typescript-eslint/ban-ts-ignore": "off",
|
|
17
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
18
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
19
|
+
"@typescript-eslint/no-var-requires": "off",
|
|
20
|
+
"@typescript-eslint/no-empty-function": "off",
|
|
21
|
+
"vue/custom-event-name-casing": "off",
|
|
22
|
+
"no-use-before-define": "off",
|
|
23
|
+
"@typescript-eslint/no-use-before-define": "off",
|
|
24
|
+
"@typescript-eslint/ban-ts-comment": "off",
|
|
25
|
+
"@typescript-eslint/ban-types": "off",
|
|
26
|
+
"@typescript-eslint/no-non-null-assertion": "off",
|
|
27
|
+
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
28
|
+
"@typescript-eslint/no-unused-vars": "off",
|
|
29
|
+
"vue/multi-word-component-names": [
|
|
30
|
+
"error",
|
|
31
|
+
{
|
|
32
|
+
"ignores": [
|
|
33
|
+
"index"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"no-console": "warn",
|
|
38
|
+
"no-debugger": "warn",
|
|
39
|
+
"prettier/prettier": [
|
|
40
|
+
"error",
|
|
41
|
+
{
|
|
42
|
+
"tabWidth": 2,
|
|
43
|
+
"singleQuote": true,
|
|
44
|
+
"semi": false,
|
|
45
|
+
"endOfLine": "auto"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
}
|
package/README.md
ADDED
package/components.d.ts
ADDED
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { PluginObject } from 'vue-demi';
|
|
2
|
+
declare const _default: import("vue/types/v3-component-public-instance").ComponentPublicInstanceConstructor<import("vue/types/v3-component-public-instance").Vue3Instance<{}, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
3
|
+
content: {
|
|
4
|
+
type: import("vue-demi").PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
expandText: {
|
|
8
|
+
type: import("vue-demi").PropType<string>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
collapseText: {
|
|
12
|
+
type: import("vue-demi").PropType<string>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
rows: {
|
|
16
|
+
type: import("vue-demi").PropType<string | number>;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}>>, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
20
|
+
content: {
|
|
21
|
+
type: import("vue-demi").PropType<string>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
expandText: {
|
|
25
|
+
type: import("vue-demi").PropType<string>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
collapseText: {
|
|
29
|
+
type: import("vue-demi").PropType<string>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
rows: {
|
|
33
|
+
type: import("vue-demi").PropType<string | number>;
|
|
34
|
+
default: number;
|
|
35
|
+
};
|
|
36
|
+
}>>, {
|
|
37
|
+
clickAction: (event: Event) => void;
|
|
38
|
+
}, {
|
|
39
|
+
content: string;
|
|
40
|
+
expandText: string;
|
|
41
|
+
collapseText: string;
|
|
42
|
+
rows: string | number;
|
|
43
|
+
}, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").ExtractPropTypes<{
|
|
44
|
+
content: {
|
|
45
|
+
type: import("vue-demi").PropType<string>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
expandText: {
|
|
49
|
+
type: import("vue-demi").PropType<string>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
collapseText: {
|
|
53
|
+
type: import("vue-demi").PropType<string>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
rows: {
|
|
57
|
+
type: import("vue-demi").PropType<string | number>;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
}>>> & import("vue-demi").ShallowUnwrapRef<{}> & import("vue/types/v3-component-options").ExtractComputedReturns<{}> & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<{
|
|
61
|
+
content: {
|
|
62
|
+
type: import("vue-demi").PropType<string>;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
expandText: {
|
|
66
|
+
type: import("vue-demi").PropType<string>;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
collapseText: {
|
|
70
|
+
type: import("vue-demi").PropType<string>;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
rows: {
|
|
74
|
+
type: import("vue-demi").PropType<string | number>;
|
|
75
|
+
default: number;
|
|
76
|
+
};
|
|
77
|
+
}>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{
|
|
78
|
+
content: {
|
|
79
|
+
type: import("vue-demi").PropType<string>;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
expandText: {
|
|
83
|
+
type: import("vue-demi").PropType<string>;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
collapseText: {
|
|
87
|
+
type: import("vue-demi").PropType<string>;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
rows: {
|
|
91
|
+
type: import("vue-demi").PropType<string | number>;
|
|
92
|
+
default: number;
|
|
93
|
+
};
|
|
94
|
+
}>>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
95
|
+
clickAction: (event: Event) => void;
|
|
96
|
+
}, string, {
|
|
97
|
+
content: string;
|
|
98
|
+
expandText: string;
|
|
99
|
+
collapseText: string;
|
|
100
|
+
rows: string | number;
|
|
101
|
+
}> & {
|
|
102
|
+
props: {
|
|
103
|
+
content: {
|
|
104
|
+
type: import("vue-demi").PropType<string>;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
expandText: {
|
|
108
|
+
type: import("vue-demi").PropType<string>;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
collapseText: {
|
|
112
|
+
type: import("vue-demi").PropType<string>;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
rows: {
|
|
116
|
+
type: import("vue-demi").PropType<string | number>;
|
|
117
|
+
default: number;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
} & PluginObject<undefined>;
|
|
121
|
+
export default _default;
|