@ahoo-wang/fetcher-viewer 2.8.2 → 2.8.3
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/filter/types.d.ts
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { AttributesCapable, NamedCapable } from '@ahoo-wang/fetcher';
|
|
2
|
-
import { Schema } from '@ahoo-wang/fetcher-openapi';
|
|
3
2
|
import { Condition, Operator } from '@ahoo-wang/fetcher-wow';
|
|
4
3
|
import { Ref } from 'react';
|
|
5
|
-
|
|
4
|
+
/**
|
|
5
|
+
* @see {@link Schema}
|
|
6
|
+
*/
|
|
7
|
+
export interface ConditionField extends NamedCapable {
|
|
6
8
|
label: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
condition: Condition;
|
|
10
|
-
friendly: string;
|
|
9
|
+
type: string;
|
|
10
|
+
format?: string;
|
|
11
11
|
}
|
|
12
12
|
export interface ConditionFilterCallbacks {
|
|
13
|
-
getCondition():
|
|
13
|
+
getCondition(): Condition;
|
|
14
14
|
}
|
|
15
15
|
export interface ConditionFilterProps extends AttributesCapable {
|
|
16
16
|
field: ConditionField;
|
|
17
|
+
placeholder?: string;
|
|
17
18
|
operator: Operator;
|
|
18
19
|
ref: Ref<ConditionFilterCallbacks>;
|
|
19
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/filter/types.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/filter/types.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,IAAI,SAAS,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,KAAK,EAAE,cAAc,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,GAAG,EAAE,GAAG,CAAC,wBAAwB,CAAC,CAAC;CACpC;AAED,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ahoo-wang/fetcher-viewer",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fetch",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=18.0.0",
|
|
44
44
|
"react-dom": ">=18.0.0",
|
|
45
|
-
"antd": "
|
|
45
|
+
"antd": "5.27.4",
|
|
46
46
|
"@ahoo-wang/fetcher": "^2.3.4",
|
|
47
47
|
"@ahoo-wang/fetcher-storage": "^2.3.4",
|
|
48
48
|
"@ahoo-wang/fetcher-wow": "^2.3.4",
|
|
@@ -64,11 +64,12 @@
|
|
|
64
64
|
"vite-bundle-analyzer": "^1.2.3",
|
|
65
65
|
"vitest": "^3.2.4",
|
|
66
66
|
"@testing-library/react": "^16.0.0",
|
|
67
|
-
"@types/react": "^18.
|
|
68
|
-
"@types/react-dom": "^18.
|
|
67
|
+
"@types/react": "^18.3.26",
|
|
68
|
+
"@types/react-dom": "^18.3.7",
|
|
69
69
|
"jsdom": "^27.0.0",
|
|
70
|
-
"react": "^18.
|
|
71
|
-
"react-dom": "^18.
|
|
70
|
+
"react": "^18.3.1",
|
|
71
|
+
"react-dom": "^18.3.1",
|
|
72
|
+
"@vitejs/plugin-react": "^5.0.4"
|
|
72
73
|
},
|
|
73
74
|
"scripts": {
|
|
74
75
|
"build": "vite build",
|