@94ai/nf-search-form 3.1.27 → 3.1.30
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 +2027 -21
- package/lib/nf-number-range.vue.d.ts +17 -0
- package/lib/nf-search-check-dialog.vue.d.ts +201 -0
- package/lib/nf-search-form-item.vue.d.ts +59 -0
- package/lib/nf-search-form.cjs.js +11297 -51
- package/lib/nf-search-form.css +824 -0
- package/lib/nf-search-form.esm-bundler.js +11298 -52
- package/lib/nf-search-form.vue.d.ts +716 -8
- package/lib/nf-time-range.vue.d.ts +39 -0
- package/lib/tools.d.ts +16 -0
- package/lib/types.d.ts +43 -0
- package/package.json +15 -3
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const _default: import("vue-demi").DefineComponent<{
|
|
2
|
+
value: {
|
|
3
|
+
type: import("vue-demi").PropType<string[]>;
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
endPlaceholder: {
|
|
7
|
+
type: import("vue-demi").PropType<string>;
|
|
8
|
+
required: true;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
startPlaceholder: {
|
|
12
|
+
type: import("vue-demi").PropType<string>;
|
|
13
|
+
required: true;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
17
|
+
input: (event: [string | undefined, string | undefined]) => void;
|
|
18
|
+
change: (event: [string | undefined, string | undefined]) => void;
|
|
19
|
+
}, string, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
20
|
+
value: {
|
|
21
|
+
type: import("vue-demi").PropType<string[]>;
|
|
22
|
+
default: () => never[];
|
|
23
|
+
};
|
|
24
|
+
endPlaceholder: {
|
|
25
|
+
type: import("vue-demi").PropType<string>;
|
|
26
|
+
required: true;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
startPlaceholder: {
|
|
30
|
+
type: import("vue-demi").PropType<string>;
|
|
31
|
+
required: true;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}>>, {
|
|
35
|
+
value: string[];
|
|
36
|
+
endPlaceholder: string;
|
|
37
|
+
startPlaceholder: string;
|
|
38
|
+
}>;
|
|
39
|
+
export default _default;
|
package/lib/tools.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare function createUniqueString(): string;
|
|
2
|
+
export declare function debounce(func: any, wait: any, immediate: any): (...args: any[]) => any;
|
|
3
|
+
export declare const on: (event: any, handler: any, element?: Window & typeof globalThis) => void;
|
|
4
|
+
export declare const off: (event: any, handler: any, element?: Window & typeof globalThis) => void;
|
|
5
|
+
export declare const pickerOptionsRange: {
|
|
6
|
+
shortcuts: {
|
|
7
|
+
text: string;
|
|
8
|
+
onClick(picker: any): void;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
export declare const pickerOptionsRangeMonth: {
|
|
12
|
+
shortcuts: {
|
|
13
|
+
text: string;
|
|
14
|
+
onClick(picker: any): void;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
package/lib/types.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export type NfSearchFormItemOption = {
|
|
2
|
+
label?: string;
|
|
3
|
+
addLabel?: string;
|
|
4
|
+
prop?: string;
|
|
5
|
+
width?: string;
|
|
6
|
+
isShowColon?: boolean;
|
|
7
|
+
hidden?: boolean;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
rules?: Record<string, any>;
|
|
10
|
+
size?: 'medium' | 'small' | 'mini';
|
|
11
|
+
labelWidth?: string;
|
|
12
|
+
'is-range'?: boolean;
|
|
13
|
+
showMessage?: boolean;
|
|
14
|
+
inlineMessage?: boolean;
|
|
15
|
+
category?: string;
|
|
16
|
+
initValue?: any;
|
|
17
|
+
slot?: string;
|
|
18
|
+
tooltip?: {
|
|
19
|
+
slot: string;
|
|
20
|
+
};
|
|
21
|
+
type?: 'monthrange' | 'datetimerange' | 'daterange' | 'yearrange' | 'halfyearrange' | 'quarterrange';
|
|
22
|
+
element?: 'el-input' | 'el-select' | 'custom-select' | 'ai-select' | 'ai-custom-select' | 'el-input-number' | 'el-date-picker' | 'el-cascader' | 'el-time-select' | 'el-time-picker' | 'number-range' | 'nf-date-picker' | 'nf-year-picker' | 'nf-quarter-picker' | 'nf-half-year-picker' | 'nf-double-year' | 'nf-double-week' | 'nf-double-half-year' | 'nf-double-quarter' | 'nf-select-transfer';
|
|
23
|
+
events?: Record<string, Function>;
|
|
24
|
+
placeholder?: string;
|
|
25
|
+
virtualList?: boolean;
|
|
26
|
+
'controls-position'?: 'right' | 'left';
|
|
27
|
+
clearable?: boolean;
|
|
28
|
+
startPlaceholder?: string;
|
|
29
|
+
rangeSeparator?: string;
|
|
30
|
+
endPlaceholder?: string;
|
|
31
|
+
defaultTime?: string[];
|
|
32
|
+
options?: {
|
|
33
|
+
label: string;
|
|
34
|
+
value: string | number;
|
|
35
|
+
}[];
|
|
36
|
+
'picker-options'?: {
|
|
37
|
+
start: string;
|
|
38
|
+
step: string;
|
|
39
|
+
end: string;
|
|
40
|
+
};
|
|
41
|
+
valueFormat?: string;
|
|
42
|
+
min?: 0;
|
|
43
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-search-form",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.30",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "zoujiahe <zoujiahe@94ai.com>",
|
|
@@ -14,7 +14,19 @@
|
|
|
14
14
|
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@94ai/nf-
|
|
17
|
+
"@94ai/nf-action": "^3.1.30",
|
|
18
|
+
"@94ai/nf-double-half-year": "^3.1.30",
|
|
19
|
+
"@94ai/nf-double-quarter": "^3.1.30",
|
|
20
|
+
"@94ai/nf-double-week": "^3.1.30",
|
|
21
|
+
"@94ai/nf-double-year": "^3.1.30",
|
|
22
|
+
"@94ai/nf-form": "^3.1.30",
|
|
23
|
+
"@94ai/nf-form-item": "^3.1.30",
|
|
24
|
+
"@94ai/nf-half-year-picker": "^3.1.30",
|
|
25
|
+
"@94ai/nf-quarter-picker": "^3.1.30",
|
|
26
|
+
"@94ai/nf-select-transfer": "^3.1.30",
|
|
27
|
+
"@94ai/nf-theme-chalk": "^3.1.30",
|
|
28
|
+
"@94ai/nf-virtual-select": "^3.1.30",
|
|
29
|
+
"@94ai/nf-year-picker": "^3.1.30",
|
|
18
30
|
"vue-demi": "^0.14.5"
|
|
19
31
|
},
|
|
20
32
|
"peerDependenciesMeta": {
|
|
@@ -30,5 +42,5 @@
|
|
|
30
42
|
"types": "lib/index.d.ts",
|
|
31
43
|
"main": "lib/nf-search-form.cjs.js",
|
|
32
44
|
"module": "lib/nf-search-form.esm-bundler.js",
|
|
33
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "92718f2567719702159e8edb0fe360eba3e7e07b"
|
|
34
46
|
}
|