@94ai/nf-form-item 3.1.26

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 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
@@ -0,0 +1,16 @@
1
+ # `@94ai/nf-form-item`
2
+
3
+ 表单项折叠器
4
+
5
+ ## HomePage
6
+
7
+ 官网地址: https://oss.xccjh.top/common-ui/#/ai-index
8
+
9
+
10
+ ## Usage
11
+
12
+ ```
13
+ import NfFormItem from '@94ai/nf-form-item' // or const NfFormItem = require('@94ai/nf-form-item');
14
+
15
+ Vue.use(NfFormItem)
16
+ ```
@@ -0,0 +1,8 @@
1
+ export {}
2
+
3
+ declare module 'vue' {
4
+ export interface GlobalComponents {
5
+ NfFormItem: typeof import('@94ai/nf-form-item/lib/nf-form-item.vue')['default']
6
+
7
+ }
8
+ }
package/lib/index.d.ts ADDED
@@ -0,0 +1,66 @@
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<{
3
+ isExpand: boolean;
4
+ initExpand: boolean;
5
+ }, Readonly<import("vue-demi").ExtractPropTypes<{
6
+ hidden: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ }>>, Readonly<import("vue-demi").ExtractPropTypes<{
11
+ hidden: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ }>>, {}, {
16
+ hidden: boolean;
17
+ }, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").ExtractPropTypes<{
18
+ hidden: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ }>>> & import("vue-demi").ShallowUnwrapRef<{}> & {
23
+ isExpand: boolean;
24
+ initExpand: boolean;
25
+ } & import("vue/types/v3-component-options").ExtractComputedReturns<import("vue-demi").ComponentComputedOptions & {
26
+ downIcon(): any;
27
+ upIcon(): any;
28
+ isCollapse(): any;
29
+ labelPosition(): any;
30
+ inline(): any;
31
+ columns(): any;
32
+ showBtn(): boolean;
33
+ isLastItem(): boolean;
34
+ }> & import("vue-demi").ComponentMethodOptions & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<{
35
+ hidden: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ }>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{
40
+ hidden: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ }>>, {}, {
45
+ isExpand: boolean;
46
+ initExpand: boolean;
47
+ }, {
48
+ downIcon(): any;
49
+ upIcon(): any;
50
+ isCollapse(): any;
51
+ labelPosition(): any;
52
+ inline(): any;
53
+ columns(): any;
54
+ showBtn(): boolean;
55
+ isLastItem(): boolean;
56
+ }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, typeof import("element-ui").FormItem, {}, string, {
57
+ hidden: boolean;
58
+ }> & {
59
+ props: {
60
+ hidden: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ };
65
+ } & PluginObject<undefined>;
66
+ export default _default;