@event-chat/antd-item 0.2.4 → 0.2.5
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/FormEvent.d.ts.map +1 -1
- package/dist/index.d.ts +12 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -3
- package/package.json +2 -2
package/dist/FormEvent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormEvent.d.ts","sourceRoot":"","sources":["../src/FormEvent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,EAAM,iBAAiB,EAAiB,MAAM,OAAO,CAAC;AAC7D,OAAO,EAGL,iBAAiB,EAIlB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"FormEvent.d.ts","sourceRoot":"","sources":["../src/FormEvent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,EAAM,iBAAiB,EAAiB,MAAM,OAAO,CAAC;AAC7D,OAAO,EAGL,iBAAiB,EAIlB,MAAM,SAAS,CAAC;AAmCjB,QAAA,MAAM,SAAS,GAAI,UAAU,EAAE,IAAI,SAAS,MAAM,EAAE,KAAK,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,EAAE,2CAM/F,iBAAiB,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,4CAuBvD,CAAC;AAEF,eAAe,SAAS,CAAC;AAGzB,UAAU,SAAS,CACjB,UAAU,EACV,IAAI,SAAS,MAAM,EACnB,KAAK,SAAS,MAAM,GAAG,SAAS,GAAG,SAAS,CAC5C,SAAQ,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC9C,IAAI,CAAC,EAAE,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,CAAC;CACb"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import FormEventInner from './FormEvent';
|
|
2
|
-
import
|
|
2
|
+
import FormItem from './FormItem';
|
|
3
|
+
import FormList from './FormList';
|
|
4
|
+
import { FormBaseInstance, useForm, useFormInstance } from './utils';
|
|
3
5
|
declare const observer: (FormCom: FormBaseInstance) => void;
|
|
4
|
-
declare const FormEvent: typeof FormEventInner &
|
|
5
|
-
observer: typeof observer;
|
|
6
|
-
};
|
|
7
|
-
export { FormEvent };
|
|
8
|
-
export { default as FormItem } from './FormItem';
|
|
9
|
-
export { default as FormList } from './FormList';
|
|
6
|
+
declare const FormEvent: typeof FormEventInner & FormExtraInstance;
|
|
10
7
|
export * from './utils';
|
|
8
|
+
export default FormEvent;
|
|
9
|
+
interface FormExtraInstance {
|
|
10
|
+
Item: typeof FormItem;
|
|
11
|
+
List: typeof FormList;
|
|
12
|
+
observer: typeof observer;
|
|
13
|
+
useForm: typeof useForm;
|
|
14
|
+
useFormInstance: typeof useFormInstance;
|
|
15
|
+
}
|
|
11
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,aAAa,CAAC;AACzC,OAAO,EAAW,gBAAgB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,aAAa,CAAC;AACzC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,EAAW,gBAAgB,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE9E,QAAA,MAAM,QAAQ,GAAI,SAAS,gBAAgB,KAAG,IAE7C,CAAC;AAEF,QAAA,MAAM,SAAS,EAAE,OAAO,cAAc,GAAG,iBAMvC,CAAC;AAEH,cAAc,SAAS,CAAC;AACxB,eAAe,SAAS,CAAC;AAEzB,UAAU,iBAAiB;IACzB,IAAI,EAAE,OAAO,QAAQ,CAAC;IACtB,IAAI,EAAE,OAAO,QAAQ,CAAC;IACtB,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,eAAe,EAAE,OAAO,eAAe,CAAC;CACzC"}
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import FormEvent from "./FormEvent.js";
|
|
2
|
-
import { AntdCom } from "./utils.js";
|
|
3
2
|
import FormItem from "./FormItem.js";
|
|
4
3
|
import FormList from "./FormList.js";
|
|
4
|
+
import { AntdCom, useForm, useFormInstance } from "./utils.js";
|
|
5
5
|
export * from "./utils.js";
|
|
6
6
|
const observer = (FormCom)=>{
|
|
7
7
|
AntdCom.form = FormCom;
|
|
8
8
|
};
|
|
9
9
|
const src_FormEvent = Object.assign(FormEvent, {
|
|
10
|
-
|
|
10
|
+
Item: FormItem,
|
|
11
|
+
List: FormList,
|
|
12
|
+
observer,
|
|
13
|
+
useForm: useForm,
|
|
14
|
+
useFormInstance: useFormInstance
|
|
11
15
|
});
|
|
12
|
-
|
|
16
|
+
const src = src_FormEvent;
|
|
17
|
+
export { src as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@event-chat/antd-item",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"storybook-react-rsbuild": "^3.1.0",
|
|
30
30
|
"tsd": "^0.33.0",
|
|
31
31
|
"typescript-eslint": "^8.48.0",
|
|
32
|
-
"@event-chat/core": "0.2.
|
|
32
|
+
"@event-chat/core": "0.2.2"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@event-chat/core": "*",
|