@nokecy/designer-formily-setters 2.0.0-beta.6 → 2.0.0-beta.7

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.
Files changed (27) hide show
  1. package/esm/components/DataSourceSetter/styles.less +4 -4
  2. package/esm/components/ReactionsSetter/declarations.d.ts +4 -4
  3. package/esm/components/ReactionsSetter/declarations.js +7 -14
  4. package/esm/components/ReactionsSetter/declarations.js.map +1 -1
  5. package/esm/components/ReactionsSetter/formilyTypes.generated.d.ts +1 -0
  6. package/esm/components/ReactionsSetter/formilyTypes.generated.js +4 -0
  7. package/esm/components/ReactionsSetter/formilyTypes.generated.js.map +1 -0
  8. package/esm/components/ReactionsSetter/index.js +4 -3
  9. package/esm/components/ReactionsSetter/index.js.map +1 -1
  10. package/esm/components/ReactionsSetter/styles.less +5 -5
  11. package/lib/components/DataSourceSetter/styles.less +4 -4
  12. package/lib/components/ReactionsSetter/declarations.d.ts +4 -4
  13. package/lib/components/ReactionsSetter/declarations.js +39 -13
  14. package/lib/components/ReactionsSetter/declarations.js.map +1 -1
  15. package/lib/components/ReactionsSetter/formilyTypes.generated.d.ts +1 -0
  16. package/lib/components/ReactionsSetter/formilyTypes.generated.js +7 -0
  17. package/lib/components/ReactionsSetter/formilyTypes.generated.js.map +1 -0
  18. package/lib/components/ReactionsSetter/index.js +4 -3
  19. package/lib/components/ReactionsSetter/index.js.map +1 -1
  20. package/lib/components/ReactionsSetter/styles.less +5 -5
  21. package/package.json +4 -4
  22. package/src/components/DataSourceSetter/styles.less +4 -4
  23. package/src/components/ReactionsSetter/__tests__/declarations.test.ts +65 -0
  24. package/src/components/ReactionsSetter/declarations.ts +10 -30
  25. package/src/components/ReactionsSetter/formilyTypes.generated.ts +3 -0
  26. package/src/components/ReactionsSetter/index.tsx +4 -3
  27. package/src/components/ReactionsSetter/styles.less +5 -5
@@ -25,7 +25,7 @@
25
25
  opacity: 0;
26
26
 
27
27
  &:hover {
28
- color: #1677ff;
28
+ color: var(--ant-color-primary, #1677ff);
29
29
  }
30
30
  }
31
31
  }
@@ -33,7 +33,7 @@
33
33
  &-layout {
34
34
  display: flex;
35
35
  justify-content: space-around;
36
- border: 1px solid#f5f5f5;
36
+ border: 1px solid var(--ant-color-border-secondary, #f5f5f5);
37
37
  border-radius: 3px;
38
38
 
39
39
  .ant-tree-treenode {
@@ -52,7 +52,7 @@
52
52
 
53
53
  &.left {
54
54
  width: 40%;
55
- border-right: 1px solid#f5f5f5;
55
+ border-right: 1px solid var(--ant-color-border-secondary, #f5f5f5);
56
56
  }
57
57
 
58
58
  &.right {
@@ -66,7 +66,7 @@
66
66
  justify-content: space-between;
67
67
  height: 40px;
68
68
  padding: 8px 12px 9px;
69
- border-bottom: 1px solid#f5f5f5;
69
+ border-bottom: 1px solid var(--ant-color-border-secondary, #f5f5f5);
70
70
  border-radius: 2px 2px 0 0;
71
71
  }
72
72
 
@@ -1,5 +1,5 @@
1
- export interface IDependency {
2
- name: string;
3
- path: string;
4
- }
1
+ /**
2
+ * 响应器编辑器的类型补全。formily 各包的声明随本包发布(scripts/build/formily-types.mjs 生成),
3
+ * 打开响应器时按需加载,不访问 CDN,内网同样可用。@author nokecy
4
+ */
5
5
  export declare const initDeclaration: () => Promise<void>;
@@ -1,19 +1,12 @@
1
- import { loadMonaco, getNpmCDNRegistry, } from '@nokecy/designer-react-settings-form';
2
- const loadDependencies = async (deps) => {
3
- return Promise.all(deps.map(async ({ name, path }) => ({
4
- name,
5
- path,
6
- library: await fetch(`${getNpmCDNRegistry()}/${name}/${path}`).then((res) => res.text()),
7
- })));
8
- };
1
+ import { loadMonaco } from '@nokecy/designer-react-settings-form';
2
+ /**
3
+ * 响应器编辑器的类型补全。formily 各包的声明随本包发布(scripts/build/formily-types.mjs 生成),
4
+ * 打开响应器时按需加载,不访问 CDN,内网同样可用。@author nokecy
5
+ */
9
6
  export const initDeclaration = async () => {
10
7
  return loadMonaco().then(async (monaco) => {
11
- const deps = await loadDependencies([
12
- { name: '@nokecy/formily-core', path: 'dist/formily.core.all.d.ts' },
13
- ]);
14
- deps === null || deps === void 0 ? void 0 : deps.forEach(({ name, library }) => {
15
- monaco.typescript.typescriptDefaults.addExtraLib(`declare module '${name}'{ ${library} }`, `file:///node_modules/${name}/index.d.ts`);
16
- });
8
+ const { formilyTypes } = await import('./formilyTypes.generated');
9
+ monaco.typescript.typescriptDefaults.addExtraLib(formilyTypes, 'file:///node_modules/@nokecy/formily-types.d.ts');
17
10
  monaco.typescript.typescriptDefaults.addExtraLib(`
18
11
  import { Form, Field } from '@nokecy/formily-core'
19
12
  declare global {
@@ -1 +1 @@
1
- {"version":3,"file":"declarations.js","sourceRoot":"","sources":["../../../src/components/ReactionsSetter/declarations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,iBAAiB,GAClB,MAAM,sCAAsC,CAAA;AAO7C,MAAM,gBAAgB,GAAG,KAAK,EAAE,IAAmB,EAAE,EAAE;IACrD,OAAO,OAAO,CAAC,GAAG,CAChB,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;QAClC,IAAI;QACJ,IAAI;QACJ,OAAO,EAAE,MAAM,KAAK,CAAC,GAAG,iBAAiB,EAAE,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI,CACjE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CACpB;KACF,CAAC,CAAC,CACJ,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,IAAI,EAAE;IACxC,OAAO,UAAU,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QACxC,MAAM,IAAI,GAAG,MAAM,gBAAgB,CAAC;YAClC,EAAE,IAAI,EAAE,sBAAsB,EAAE,IAAI,EAAE,4BAA4B,EAAE;SACrE,CAAC,CAAA;QACF,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE;YAClC,MAAM,CAAC,UAAU,CAAC,kBAAkB,CAAC,WAAW,CAC9C,mBAAmB,IAAI,MAAM,OAAO,IAAI,EACxC,wBAAwB,IAAI,aAAa,CAC1C,CAAA;QACH,CAAC,CAAC,CAAA;QACF,MAAM,CAAC,UAAU,CAAC,kBAAkB,CAAC,WAAW,CAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgCD,EACC,0CAA0C,CAC3C,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import {\n loadMonaco,\n getNpmCDNRegistry,\n} from '@nokecy/designer-react-settings-form'\n\nexport interface IDependency {\n name: string\n path: string\n}\n\nconst loadDependencies = async (deps: IDependency[]) => {\n return Promise.all(\n deps.map(async ({ name, path }) => ({\n name,\n path,\n library: await fetch(`${getNpmCDNRegistry()}/${name}/${path}`).then(\n (res) => res.text()\n ),\n }))\n )\n}\n\nexport const initDeclaration = async () => {\n return loadMonaco().then(async (monaco) => {\n const deps = await loadDependencies([\n { name: '@nokecy/formily-core', path: 'dist/formily.core.all.d.ts' },\n ])\n deps?.forEach(({ name, library }) => {\n monaco.typescript.typescriptDefaults.addExtraLib(\n `declare module '${name}'{ ${library} }`,\n `file:///node_modules/${name}/index.d.ts`\n )\n })\n monaco.typescript.typescriptDefaults.addExtraLib(\n `\n import { Form, Field } from '@nokecy/formily-core'\n declare global {\n /*\n * Form Model\n **/\n declare var $form: Form\n /*\n * Form Values\n **/\n declare var $values: any\n /*\n * Field Model\n **/\n declare var $self: Field\n /*\n * create an persistent observable state object\n **/\n declare var $observable: <T>(target: T, deps?: any[]) => T\n /*\n * create a persistent data\n **/\n declare var $memo: <T>(callback: () => T, deps?: any[]) => T\n /*\n * handle side-effect logic\n **/\n declare var $effect: (callback: () => void | (() => void), deps?: any[]) => void\n /*\n * set initial component props to current field\n **/\n declare var $props: (props: any) => void\n }\n `,\n `file:///node_modules/formily_global.d.ts`\n )\n })\n}\n"]}
1
+ {"version":3,"file":"declarations.js","sourceRoot":"","sources":["../../../src/components/ReactionsSetter/declarations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAA;AAEjE;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,IAAI,EAAE;IACxC,OAAO,UAAU,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QACxC,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,CAAA;QACjE,MAAM,CAAC,UAAU,CAAC,kBAAkB,CAAC,WAAW,CAC9C,YAAY,EACZ,iDAAiD,CAClD,CAAA;QACD,MAAM,CAAC,UAAU,CAAC,kBAAkB,CAAC,WAAW,CAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgCD,EACC,0CAA0C,CAC3C,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA","sourcesContent":["import { loadMonaco } from '@nokecy/designer-react-settings-form'\n\n/**\n * 响应器编辑器的类型补全。formily 各包的声明随本包发布(scripts/build/formily-types.mjs 生成),\n * 打开响应器时按需加载,不访问 CDN,内网同样可用。@author nokecy\n */\nexport const initDeclaration = async () => {\n return loadMonaco().then(async (monaco) => {\n const { formilyTypes } = await import('./formilyTypes.generated')\n monaco.typescript.typescriptDefaults.addExtraLib(\n formilyTypes,\n 'file:///node_modules/@nokecy/formily-types.d.ts'\n )\n monaco.typescript.typescriptDefaults.addExtraLib(\n `\n import { Form, Field } from '@nokecy/formily-core'\n declare global {\n /*\n * Form Model\n **/\n declare var $form: Form\n /*\n * Form Values\n **/\n declare var $values: any\n /*\n * Field Model\n **/\n declare var $self: Field\n /*\n * create an persistent observable state object\n **/\n declare var $observable: <T>(target: T, deps?: any[]) => T\n /*\n * create a persistent data\n **/\n declare var $memo: <T>(callback: () => T, deps?: any[]) => T\n /*\n * handle side-effect logic\n **/\n declare var $effect: (callback: () => void | (() => void), deps?: any[]) => void\n /*\n * set initial component props to current field\n **/\n declare var $props: (props: any) => void\n }\n `,\n `file:///node_modules/formily_global.d.ts`\n )\n })\n}\n"]}
@@ -0,0 +1 @@
1
+ export declare const formilyTypes = "declare module '@nokecy/formily-core' {\n export * from '@nokecy/formily-core/__types/index'\n}\ndeclare module '@nokecy/formily-core/__types/effects/index' {\nexport * from '@nokecy/formily-core/__types/effects/onFormEffects';\nexport * from '@nokecy/formily-core/__types/effects/onFieldEffects';\n}\ndeclare module '@nokecy/formily-core/__types/effects/onFieldEffects' {\nimport { Form } from '@nokecy/formily-core/__types/models/index';\nimport { FormPathPattern, GeneralField, DataField, IFieldState } from '@nokecy/formily-core/__types/types';\nexport const onFieldMount: (pattern: FormPathPattern, callback: (field: GeneralField, form: Form) => void) => void;\nexport const onFieldUnmount: (pattern: FormPathPattern, callback: (field: GeneralField, form: Form) => void) => void;\nexport const onFieldValueChange: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldInitialValueChange: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldInputValueChange: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldValidateStart: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldValidateEnd: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldValidating: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldValidateFailed: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldValidateSuccess: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldSubmit: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldSubmitStart: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldSubmitEnd: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldSubmitValidateStart: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldSubmitValidateEnd: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldSubmitSuccess: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldSubmitFailed: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldSubmitValidateSuccess: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldSubmitValidateFailed: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldReset: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport const onFieldLoading: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;\nexport function onFieldInit(pattern: FormPathPattern, callback?: (field: GeneralField, form: Form) => void): void;\nexport function onFieldReact(pattern: FormPathPattern, callback?: (field: GeneralField, form: Form) => void): void;\nexport function onFieldChange(pattern: FormPathPattern, callback?: (field: GeneralField, form: Form) => void): void;\nexport function onFieldChange(pattern: FormPathPattern, watches: (keyof IFieldState)[], callback?: (field: GeneralField, form: Form) => void): void;\n}\ndeclare module '@nokecy/formily-core/__types/effects/onFormEffects' {\nimport { Form } from '@nokecy/formily-core/__types/models/index';\nexport const onFormInit: (callback: (form: Form) => void) => void;\nexport const onFormMount: (callback: (form: Form) => void) => void;\nexport const onFormUnmount: (callback: (form: Form) => void) => void;\nexport const onFormValuesChange: (callback: (form: Form) => void) => void;\nexport const onFormInitialValuesChange: (callback: (form: Form) => void) => void;\nexport const onFormInputChange: (callback: (form: Form) => void) => void;\nexport const onFormSubmit: (callback: (form: Form) => void) => void;\nexport const onFormReset: (callback: (form: Form) => void) => void;\nexport const onFormSubmitStart: (callback: (form: Form) => void) => void;\nexport const onFormSubmitEnd: (callback: (form: Form) => void) => void;\nexport const onFormSubmitSuccess: (callback: (form: Form) => void) => void;\nexport const onFormSubmitFailed: (callback: (form: Form) => void) => void;\nexport const onFormSubmitValidateStart: (callback: (form: Form) => void) => void;\nexport const onFormSubmitValidateSuccess: (callback: (form: Form) => void) => void;\nexport const onFormSubmitValidateFailed: (callback: (form: Form) => void) => void;\nexport const onFormSubmitValidateEnd: (callback: (form: Form) => void) => void;\nexport const onFormValidateStart: (callback: (form: Form) => void) => void;\nexport const onFormValidateSuccess: (callback: (form: Form) => void) => void;\nexport const onFormValidateFailed: (callback: (form: Form) => void) => void;\nexport const onFormValidateEnd: (callback: (form: Form) => void) => void;\nexport const onFormGraphChange: (callback: (form: Form) => void) => void;\nexport const onFormLoading: (callback: (form: Form) => void) => void;\nexport function onFormReact(callback?: (form: Form) => void): void;\n}\ndeclare module '@nokecy/formily-core/__types/index' {\nexport * from '@nokecy/formily-core/__types/shared/externals';\nexport * from '@nokecy/formily-core/__types/models/types';\nexport * from '@nokecy/formily-core/__types/effects/index';\nexport * from '@nokecy/formily-core/__types/types';\n}\ndeclare module '@nokecy/formily-core/__types/models/ArrayField' {\nimport { Field } from '@nokecy/formily-core/__types/models/Field';\nimport { Form } from '@nokecy/formily-core/__types/models/Form';\nimport { JSXComponent, IFieldProps, FormPathPattern } from '@nokecy/formily-core/__types/types';\nexport class ArrayField<Decorator extends JSXComponent = any, Component extends JSXComponent = any> extends Field<Decorator, Component, any, any[]> {\n displayName: string;\n private mutations;\n constructor(address: FormPathPattern, props: IFieldProps<Decorator, Component>, form: Form, designable: boolean);\n protected makeAutoCleanable(): void;\n protected touch(): void;\n push: (...items: any[]) => Promise<void>;\n pop: () => Promise<void>;\n insert: (index: number, ...items: any[]) => Promise<void>;\n remove: (index: number) => Promise<void>;\n shift: () => Promise<void>;\n unshift: (...items: any[]) => Promise<void>;\n move: (fromIndex: number, toIndex: number) => Promise<void>;\n moveUp: (index: number) => Promise<void>;\n moveDown: (index: number) => Promise<void>;\n}\n}\ndeclare module '@nokecy/formily-core/__types/models/BaseField' {\nimport { FormPath, FormPathPattern } from '@nokecy/formily-shared';\nimport { JSXComponent, LifeCycleTypes, FieldDisplayTypes, FieldPatternTypes, FieldDecorator, FieldComponent, IFieldActions } from '@nokecy/formily-core/__types/types';\nimport { Form } from '@nokecy/formily-core/__types/models/Form';\nimport { Query } from '@nokecy/formily-core/__types/models/Query';\nexport class BaseField<Decorator = any, Component = any, TextType = any> {\n title: TextType;\n description: TextType;\n selfDisplay: FieldDisplayTypes;\n selfPattern: FieldPatternTypes;\n initialized: boolean;\n mounted: boolean;\n unmounted: boolean;\n content: any;\n data: any;\n decoratorType: Decorator;\n decoratorProps: Record<string, any>;\n componentType: Component;\n componentProps: Record<string, any>;\n designable: boolean;\n address: FormPath;\n path: FormPath;\n form: Form;\n disposers: (() => void)[];\n actions: IFieldActions;\n locate(address: FormPathPattern): void;\n get indexes(): number[];\n get index(): number;\n get records(): any[];\n get record(): any;\n get component(): FieldComponent<Component>;\n set component(value: FieldComponent<Component>);\n get decorator(): FieldDecorator<Decorator>;\n set decorator(value: FieldDecorator<Decorator>);\n get parent(): import(\"@nokecy/formily-core/__types/types\").GeneralField;\n get display(): FieldDisplayTypes;\n get pattern(): FieldPatternTypes;\n get editable(): boolean;\n get disabled(): boolean;\n get readOnly(): boolean;\n get readPretty(): boolean;\n get hidden(): boolean;\n get visible(): boolean;\n get destroyed(): boolean;\n set hidden(hidden: boolean);\n set visible(visible: boolean);\n set editable(editable: boolean);\n set readOnly(readOnly: boolean);\n set disabled(disabled: boolean);\n set readPretty(readPretty: boolean);\n set pattern(pattern: FieldPatternTypes);\n set display(display: FieldDisplayTypes);\n setTitle: (title?: TextType) => void;\n setDescription: (description?: TextType) => void;\n setDisplay: (type?: FieldDisplayTypes) => void;\n setPattern: (type?: FieldPatternTypes) => void;\n setComponent: <C extends JSXComponent, ComponentProps extends object = {}>(component?: C, props?: ComponentProps) => void;\n setComponentProps: <ComponentProps extends object = {}>(props?: ComponentProps) => void;\n setDecorator: <D extends JSXComponent, ComponentProps extends object = {}>(component?: D, props?: ComponentProps) => void;\n setDecoratorProps: <ComponentProps extends object = {}>(props?: ComponentProps) => void;\n setData: (data: any) => void;\n setContent: (content: any) => void;\n onInit: () => void;\n onMount: () => void;\n onUnmount: () => void;\n query: (pattern: FormPathPattern | RegExp) => Query;\n notify: (type: LifeCycleTypes, payload?: any) => void;\n dispose: () => void;\n destroy: (forceClear?: boolean) => void;\n match: (pattern: FormPathPattern) => boolean;\n inject: (actions: IFieldActions) => void;\n invoke: (name: string, ...args: any[]) => any;\n}\n}\ndeclare module '@nokecy/formily-core/__types/models/Field' {\nimport { FormPathPattern } from '@nokecy/formily-shared';\nimport { ValidatorTriggerType } from '@nokecy/formily-validator';\nimport { JSXComponent, IFieldFeedback, FeedbackMessage, IFieldCaches, IFieldRequests, FieldValidator, FieldDataSource, ISearchFeedback, IFieldProps, IFieldResetOptions, IFieldState, IModelSetter, IModelGetter } from '@nokecy/formily-core/__types/types';\nimport { Form } from '@nokecy/formily-core/__types/models/Form';\nimport { BaseField } from '@nokecy/formily-core/__types/models/BaseField';\nimport { IFormFeedback } from '@nokecy/formily-core/__types/types';\nexport class Field<Decorator extends JSXComponent = any, Component extends JSXComponent = any, TextType = any, ValueType = any> extends BaseField<Decorator, Component, TextType> {\n displayName: string;\n props: IFieldProps<Decorator, Component, TextType, ValueType>;\n loading: boolean;\n validating: boolean;\n submitting: boolean;\n active: boolean;\n visited: boolean;\n selfModified: boolean;\n modified: boolean;\n inputValue: ValueType;\n inputValues: any[];\n dataSource: FieldDataSource;\n validator: FieldValidator;\n feedbacks: IFieldFeedback[];\n caches: IFieldCaches;\n requests: IFieldRequests;\n constructor(address: FormPathPattern, props: IFieldProps<Decorator, Component, TextType, ValueType>, form: Form, designable: boolean);\n protected initialize(): void;\n protected makeObservable(): void;\n protected makeReactive(): void;\n get selfErrors(): FeedbackMessage;\n get errors(): IFormFeedback[];\n get selfWarnings(): FeedbackMessage;\n get warnings(): IFormFeedback[];\n get selfSuccesses(): FeedbackMessage;\n get successes(): IFormFeedback[];\n get selfValid(): boolean;\n get valid(): boolean;\n get selfInvalid(): boolean;\n get invalid(): boolean;\n get value(): ValueType;\n get initialValue(): ValueType;\n get required(): boolean;\n get validateStatus(): \"error\" | \"success\" | \"warning\" | \"validating\";\n set required(required: boolean);\n set value(value: ValueType);\n set initialValue(initialValue: ValueType);\n set selfErrors(messages: FeedbackMessage);\n set selfWarnings(messages: FeedbackMessage);\n set selfSuccesses(messages: FeedbackMessage);\n setDataSource: (dataSource?: FieldDataSource) => void;\n setFeedback: (feedback?: IFieldFeedback) => void;\n setSelfErrors: (messages?: FeedbackMessage) => void;\n setSelfWarnings: (messages?: FeedbackMessage) => void;\n setSelfSuccesses: (messages?: FeedbackMessage) => void;\n setValidator: (validator?: FieldValidator) => void;\n setValidatorRule: (name: string, value: any) => void;\n setRequired: (required?: boolean) => void;\n setValue: (value?: ValueType) => void;\n setInitialValue: (initialValue?: ValueType) => void;\n setLoading: (loading?: boolean) => void;\n setValidating: (validating?: boolean) => void;\n setSubmitting: (submitting?: boolean) => void;\n setState: IModelSetter<IFieldState>;\n getState: IModelGetter<IFieldState>;\n onInput: (...args: any[]) => Promise<void>;\n onFocus: (...args: any[]) => Promise<void>;\n onBlur: (...args: any[]) => Promise<void>;\n validate: (triggerType?: ValidatorTriggerType) => Promise<void>;\n submit: <T>(onSubmit?: (values: any) => Promise<T> | void) => Promise<T>;\n reset: (options?: IFieldResetOptions) => Promise<void>;\n queryFeedbacks: (search?: ISearchFeedback) => IFieldFeedback[];\n modify: () => void;\n}\n}\ndeclare module '@nokecy/formily-core/__types/models/Form' {\nimport { FormPathPattern } from '@nokecy/formily-shared';\nimport { Heart } from '@nokecy/formily-core/__types/models/Heart';\nimport { Field } from '@nokecy/formily-core/__types/models/Field';\nimport { JSXComponent, HeartSubscriber, FormPatternTypes, IFormRequests, IFormFeedback, ISearchFeedback, IFormGraph, IFormProps, IFieldResetOptions, IFormFields, IFieldFactoryProps, IVoidFieldFactoryProps, IFormState, IModelGetter, IModelSetter, IFieldStateGetter, IFieldStateSetter, FormDisplayTypes, IFormMergeStrategy } from '@nokecy/formily-core/__types/types';\nimport { ArrayField } from '@nokecy/formily-core/__types/models/ArrayField';\nimport { ObjectField } from '@nokecy/formily-core/__types/models/ObjectField';\nimport { VoidField } from '@nokecy/formily-core/__types/models/VoidField';\nimport { Query } from '@nokecy/formily-core/__types/models/Query';\nimport { Graph } from '@nokecy/formily-core/__types/models/Graph';\nexport class Form<ValueType extends object = any> {\n displayName: string;\n id: string;\n initialized: boolean;\n validating: boolean;\n submitting: boolean;\n loading: boolean;\n modified: boolean;\n pattern: FormPatternTypes;\n display: FormDisplayTypes;\n values: ValueType;\n initialValues: ValueType;\n mounted: boolean;\n unmounted: boolean;\n props: IFormProps<ValueType>;\n heart: Heart;\n graph: Graph;\n fields: IFormFields;\n requests: IFormRequests;\n indexes: Record<string, string>;\n disposers: (() => void)[];\n constructor(props: IFormProps<ValueType>);\n protected initialize(props: IFormProps<ValueType>): void;\n protected makeValues(): void;\n protected makeObservable(): void;\n protected makeReactive(): void;\n get valid(): boolean;\n get invalid(): boolean;\n get errors(): IFormFeedback[];\n get warnings(): IFormFeedback[];\n get successes(): IFormFeedback[];\n get lifecycles(): import(\"@nokecy/formily-core/__types/models/LifeCycle\").LifeCycle<any>[];\n get hidden(): boolean;\n get visible(): boolean;\n set hidden(hidden: boolean);\n set visible(visible: boolean);\n get editable(): boolean;\n set editable(editable: boolean);\n get readOnly(): boolean;\n set readOnly(readOnly: boolean);\n get disabled(): boolean;\n set disabled(disabled: boolean);\n get readPretty(): boolean;\n set readPretty(readPretty: boolean);\n /** \u521B\u5EFA\u5B57\u6BB5 **/\n createField: <Decorator extends JSXComponent, Component extends JSXComponent>(props: IFieldFactoryProps<Decorator, Component>) => Field<Decorator, Component>;\n createArrayField: <Decorator extends JSXComponent, Component extends JSXComponent>(props: IFieldFactoryProps<Decorator, Component>) => ArrayField<Decorator, Component>;\n createObjectField: <Decorator extends JSXComponent, Component extends JSXComponent>(props: IFieldFactoryProps<Decorator, Component>) => ObjectField<Decorator, Component>;\n createVoidField: <Decorator extends JSXComponent, Component extends JSXComponent>(props: IVoidFieldFactoryProps<Decorator, Component>) => VoidField<Decorator, Component>;\n /** \u72B6\u6001\u64CD\u4F5C\u6A21\u578B **/\n setValues: (values: any, strategy?: IFormMergeStrategy) => void;\n setInitialValues: (initialValues: any, strategy?: IFormMergeStrategy) => void;\n setValuesIn: (pattern: FormPathPattern, value: any) => void;\n deleteValuesIn: (pattern: FormPathPattern) => void;\n existValuesIn: (pattern: FormPathPattern) => any;\n getValuesIn: (pattern: FormPathPattern) => any;\n setInitialValuesIn: (pattern: FormPathPattern, initialValue: any) => void;\n deleteInitialValuesIn: (pattern: FormPathPattern) => void;\n existInitialValuesIn: (pattern: FormPathPattern) => any;\n getInitialValuesIn: (pattern: FormPathPattern) => any;\n setLoading: (loading: boolean) => void;\n setSubmitting: (submitting: boolean) => void;\n setValidating: (validating: boolean) => void;\n setDisplay: (display: FormDisplayTypes) => void;\n setPattern: (pattern: FormPatternTypes) => void;\n addEffects: (id: any, effects: IFormProps[\"effects\"]) => void;\n removeEffects: (id: any) => void;\n setEffects: (effects: IFormProps[\"effects\"]) => void;\n clearErrors: (pattern?: FormPathPattern) => void;\n clearWarnings: (pattern?: FormPathPattern) => void;\n clearSuccesses: (pattern?: FormPathPattern) => void;\n query: (pattern: FormPathPattern) => Query;\n queryFeedbacks: (search: ISearchFeedback) => IFormFeedback[];\n notify: (type: string, payload?: any) => void;\n subscribe: (subscriber?: HeartSubscriber) => number;\n unsubscribe: (id: number) => void;\n /**\u4E8B\u4EF6\u94A9\u5B50**/\n onInit: () => void;\n onMount: () => void;\n onUnmount: () => void;\n setState: IModelSetter<IFormState<ValueType>>;\n getState: IModelGetter<IFormState<ValueType>>;\n setFormState: IModelSetter<IFormState<ValueType>>;\n getFormState: IModelGetter<IFormState<ValueType>>;\n setFieldState: IFieldStateSetter;\n getFieldState: IFieldStateGetter;\n getFormGraph: () => IFormGraph;\n setFormGraph: (graph: IFormGraph) => void;\n clearFormGraph: (pattern?: FormPathPattern, forceClear?: boolean) => void;\n validate: (pattern?: FormPathPattern) => Promise<void>;\n submit: <T>(onSubmit?: (values: ValueType) => Promise<T> | void) => Promise<T>;\n reset: (pattern?: FormPathPattern, options?: IFieldResetOptions) => Promise<void>;\n}\n}\ndeclare module '@nokecy/formily-core/__types/models/Graph' {\nimport { IFormGraph } from '@nokecy/formily-core/__types/types';\nimport { Form } from '@nokecy/formily-core/__types/models/Form';\nexport class Graph {\n form: Form;\n constructor(form: Form);\n getGraph: () => IFormGraph;\n setGraph: (graph: IFormGraph) => void;\n}\n}\ndeclare module '@nokecy/formily-core/__types/models/Heart' {\nimport { Subscribable } from '@nokecy/formily-shared';\nimport { LifeCycle } from '@nokecy/formily-core/__types/models/LifeCycle';\nimport { IHeartProps } from '@nokecy/formily-core/__types/types';\nexport class Heart<Payload = any, Context = any> extends Subscribable {\n lifecycles: LifeCycle<Payload>[];\n outerLifecycles: Map<any, LifeCycle<Payload>[]>;\n context: Context;\n constructor({ lifecycles, context }?: IHeartProps<Context>);\n buildLifeCycles: (lifecycles: LifeCycle[]) => any;\n addLifeCycles: (id: any, lifecycles?: LifeCycle[]) => void;\n hasLifeCycles: (id: any) => boolean;\n removeLifeCycles: (id: any) => void;\n setLifeCycles: (lifecycles?: LifeCycle[]) => void;\n publish: <P, C>(type: any, payload?: P, context?: C) => void;\n clear: () => void;\n}\n}\ndeclare module '@nokecy/formily-core/__types/models/LifeCycle' {\nimport { LifeCycleHandler } from '@nokecy/formily-core/__types/types';\ntype LifeCycleParams<Payload> = Array<string | LifeCycleHandler<Payload> | {\n [key: string]: LifeCycleHandler<Payload>;\n}>;\nexport class LifeCycle<Payload = any> {\n private listener;\n constructor(...params: LifeCycleParams<Payload>);\n buildListener: (params: any[]) => (payload: {\n type: string;\n payload: Payload;\n }, ctx: any) => void;\n notify: <Payload_1>(type: any, payload?: Payload_1, ctx?: any) => void;\n}\nexport {};\n}\ndeclare module '@nokecy/formily-core/__types/models/ObjectField' {\nimport { JSXComponent, IFieldProps, FormPathPattern } from '@nokecy/formily-core/__types/types';\nimport { Field } from '@nokecy/formily-core/__types/models/Field';\nimport { Form } from '@nokecy/formily-core/__types/models/Form';\nexport class ObjectField<Decorator extends JSXComponent = any, Component extends JSXComponent = any> extends Field<Decorator, Component, any, Record<string, any>> {\n displayName: string;\n private additionalProperties;\n constructor(address: FormPathPattern, props: IFieldProps<Decorator, Component>, form: Form, designable: boolean);\n protected makeAutoCleanable(): void;\n addProperty: (key: string, value: any) => Promise<void>;\n removeProperty: (key: string) => Promise<void>;\n existProperty: (key: string) => any;\n}\n}\ndeclare module '@nokecy/formily-core/__types/models/Query' {\nimport { FormPath, FormPathPattern } from '@nokecy/formily-shared';\nimport { GeneralField, IGeneralFieldState, IQueryProps } from '@nokecy/formily-core/__types/types';\nexport class Query {\n private pattern;\n private addresses;\n private form;\n constructor(props: IQueryProps);\n take(): GeneralField | undefined;\n take<Result>(getter: (field: GeneralField, address: FormPath) => Result): Result;\n map(): GeneralField[];\n map<Result>(iterator?: (field: GeneralField, address: FormPath) => Result): Result[];\n forEach<Result>(iterator: (field: GeneralField, address: FormPath) => Result): void;\n reduce<Result>(reducer: (value: Result, field: GeneralField, address: FormPath) => Result, initial?: Result): Result;\n get<K extends keyof IGeneralFieldState>(key: K): IGeneralFieldState[K];\n getIn(pattern?: FormPathPattern): any;\n value(): any;\n initialValue(): any;\n}\n}\ndeclare module '@nokecy/formily-core/__types/models/VoidField' {\nimport { FormPathPattern } from '@nokecy/formily-shared';\nimport { IModelSetter, IModelGetter, IVoidFieldProps, IVoidFieldState } from '@nokecy/formily-core/__types/types';\nimport { Form } from '@nokecy/formily-core/__types/models/Form';\nimport { BaseField } from '@nokecy/formily-core/__types/models/BaseField';\nexport class VoidField<Decorator = any, Component = any, TextType = any> extends BaseField<Decorator, Component, TextType> {\n displayName: 'VoidField';\n props: IVoidFieldProps<Decorator, Component>;\n constructor(address: FormPathPattern, props: IVoidFieldProps<Decorator, Component>, form: Form, designable: boolean);\n protected initialize(): void;\n protected makeObservable(): void;\n protected makeReactive(): void;\n setState: IModelSetter<IVoidFieldState>;\n getState: IModelGetter<IVoidFieldState>;\n}\n}\ndeclare module '@nokecy/formily-core/__types/models/index' {\nexport * from '@nokecy/formily-core/__types/models/Heart';\nexport * from '@nokecy/formily-core/__types/models/LifeCycle';\nexport * from '@nokecy/formily-core/__types/models/Graph';\nexport * from '@nokecy/formily-core/__types/models/Query';\nexport * from '@nokecy/formily-core/__types/models/Form';\nexport * from '@nokecy/formily-core/__types/models/Field';\nexport * from '@nokecy/formily-core/__types/models/ArrayField';\nexport * from '@nokecy/formily-core/__types/models/ObjectField';\nexport * from '@nokecy/formily-core/__types/models/VoidField';\n}\ndeclare module '@nokecy/formily-core/__types/models/types' {\nexport type { Form } from '@nokecy/formily-core/__types/models/Form';\nexport type { Field } from '@nokecy/formily-core/__types/models/Field';\nexport type { Query } from '@nokecy/formily-core/__types/models/Query';\nexport type { Heart } from '@nokecy/formily-core/__types/models/Heart';\nexport type { Graph } from '@nokecy/formily-core/__types/models/Graph';\nexport type { LifeCycle } from '@nokecy/formily-core/__types/models/LifeCycle';\nexport type { ArrayField } from '@nokecy/formily-core/__types/models/ArrayField';\nexport type { ObjectField } from '@nokecy/formily-core/__types/models/ObjectField';\nexport type { VoidField } from '@nokecy/formily-core/__types/models/VoidField';\n}\ndeclare module '@nokecy/formily-core/__types/shared/checkers' {\nimport { DataField, JSXComponent } from '@nokecy/formily-core/__types/.';\nimport { Form, Field, ArrayField, ObjectField, VoidField, Query } from '@nokecy/formily-core/__types/models/index';\nimport { IFormState, IFieldState, IVoidFieldState, GeneralField, IGeneralFieldState } from '@nokecy/formily-core/__types/types';\nexport const isForm: (node: any) => node is Form;\nexport const isGeneralField: (node: any) => node is GeneralField;\nexport const isField: <Decorator extends JSXComponent = any, Component extends JSXComponent = any, TextType = any, ValueType = any>(node: any) => node is Field<Decorator, Component, TextType, ValueType>;\nexport const isArrayField: <Decorator extends JSXComponent = any, Component extends JSXComponent = any>(node: any) => node is ArrayField<Decorator, Component>;\nexport const isObjectField: <Decorator extends JSXComponent = any, Component extends JSXComponent = any>(node: any) => node is ObjectField<Decorator, Component>;\nexport const isVoidField: <Decorator = any, Component = any, TextType = any>(node: any) => node is VoidField<Decorator, Component, TextType>;\nexport const isFormState: <T extends Record<any, any> = any>(state: any) => state is IFormState<T>;\nexport const isFieldState: (state: any) => state is IFieldState;\nexport const isGeneralFieldState: (node: any) => node is IGeneralFieldState;\nexport const isArrayFieldState: (state: any) => state is IFieldState;\nexport const isDataField: (node: any) => node is DataField;\nexport const isDataFieldState: (node: any) => node is Partial<Pick<Field<any, any, any, any>, import(\"@nokecy/formily-core/__types/.\").NonFunctionPropertyNames<{\n onInput: (...args: any[]) => Promise<void>;\n onFocus: (...args: any[]) => Promise<void>;\n onBlur: (...args: any[]) => Promise<void>;\n editable: boolean;\n readOnly: boolean;\n disabled: boolean;\n readPretty: boolean;\n hidden: boolean;\n visible: boolean;\n loading: boolean;\n validating: boolean;\n submitting: boolean;\n active: boolean;\n visited: boolean;\n selfModified: boolean;\n modified: boolean;\n inputValue: string;\n inputValues: any[];\n dataSource: import(\"@nokecy/formily-core/__types/.\").FieldDataSource;\n validator: import(\"@nokecy/formily-core/__types/.\").FieldValidator;\n feedbacks: import(\"@nokecy/formily-core/__types/.\").IFieldFeedback[];\n caches: import(\"@nokecy/formily-core/__types/.\").IFieldCaches;\n selfErrors: import(\"@nokecy/formily-core/__types/.\").FeedbackMessage;\n readonly errors: import(\"@nokecy/formily-core/__types/.\").IFormFeedback[];\n selfWarnings: import(\"@nokecy/formily-core/__types/.\").FeedbackMessage;\n readonly warnings: import(\"@nokecy/formily-core/__types/.\").IFormFeedback[];\n selfSuccesses: import(\"@nokecy/formily-core/__types/.\").FeedbackMessage;\n readonly successes: import(\"@nokecy/formily-core/__types/.\").IFormFeedback[];\n readonly selfValid: boolean;\n readonly valid: boolean;\n readonly selfInvalid: boolean;\n readonly invalid: boolean;\n value: string;\n initialValue: string;\n required: boolean;\n readonly validateStatus: \"error\" | \"success\" | \"warning\" | \"validating\";\n setDataSource: (dataSource?: import(\"@nokecy/formily-core/__types/.\").FieldDataSource) => void;\n setFeedback: (feedback?: import(\"@nokecy/formily-core/__types/.\").IFieldFeedback) => void;\n setSelfErrors: (messages?: import(\"@nokecy/formily-core/__types/.\").FeedbackMessage) => void;\n setSelfWarnings: (messages?: import(\"@nokecy/formily-core/__types/.\").FeedbackMessage) => void;\n setSelfSuccesses: (messages?: import(\"@nokecy/formily-core/__types/.\").FeedbackMessage) => void;\n setValidator: (validator?: import(\"@nokecy/formily-core/__types/.\").FieldValidator) => void;\n setValidatorRule: (name: string, value: any) => void;\n setRequired: (required?: boolean) => void;\n setValue: (value?: ValueType) => void;\n setInitialValue: (initialValue?: ValueType) => void;\n setLoading: (loading?: boolean) => void;\n setValidating: (validating?: boolean) => void;\n setSubmitting: (submitting?: boolean) => void;\n validate: (triggerType?: import(\"@nokecy/formily-validator\").ValidatorTriggerType) => Promise<void>;\n submit: <T>(onSubmit?: (values: any) => Promise<T> | void) => Promise<T>;\n reset: (options?: import(\"@nokecy/formily-core/__types/.\").IFieldResetOptions) => Promise<void>;\n queryFeedbacks: (search?: import(\"@nokecy/formily-core/__types/.\").ISearchFeedback) => import(\"@nokecy/formily-core/__types/.\").IFieldFeedback[];\n modify: () => void;\n title: string;\n description: string;\n initialized: boolean;\n mounted: boolean;\n unmounted: boolean;\n content: any;\n data: any;\n decoratorType: any;\n decoratorProps: Record<string, any>;\n componentType: any;\n componentProps: Record<string, any>;\n designable: boolean;\n form: Form;\n actions: import(\"@nokecy/formily-core/__types/.\").IFieldActions;\n locate: (address: import(\"@nokecy/formily-shared\").FormPathPattern) => void;\n readonly index: number;\n readonly records: any[];\n readonly record: any;\n component: import(\"@nokecy/formily-core/__types/.\").FieldComponent<any>;\n decorator: import(\"@nokecy/formily-core/__types/.\").FieldDecorator<any>;\n readonly parent: GeneralField;\n display: import(\"@nokecy/formily-core/__types/.\").FieldDisplayTypes;\n pattern: import(\"@nokecy/formily-core/__types/.\").FieldPatternTypes;\n readonly destroyed: boolean;\n setTitle: (title?: TextType) => void;\n setDescription: (description?: TextType) => void;\n setDisplay: (type?: import(\"@nokecy/formily-core/__types/.\").FieldDisplayTypes) => void;\n setPattern: (type?: import(\"@nokecy/formily-core/__types/.\").FieldPatternTypes) => void;\n setComponent: <C extends JSXComponent, ComponentProps extends object = {}>(component?: C, props?: ComponentProps) => void;\n setComponentProps: <ComponentProps extends object = {}>(props?: ComponentProps) => void;\n setDecorator: <D extends JSXComponent, ComponentProps extends object = {}>(component?: D, props?: ComponentProps) => void;\n setDecoratorProps: <ComponentProps extends object = {}>(props?: ComponentProps) => void;\n setData: (data: any) => void;\n setContent: (content: any) => void;\n onInit: () => void;\n onMount: () => void;\n onUnmount: () => void;\n query: (pattern: import(\"@nokecy/formily-shared\").FormPathPattern | RegExp) => Query;\n notify: (type: import(\"@nokecy/formily-core/__types/.\").LifeCycleTypes, payload?: any) => void;\n dispose: () => void;\n destroy: (forceClear?: boolean) => void;\n match: (pattern: import(\"@nokecy/formily-shared\").FormPathPattern) => boolean;\n inject: (actions: import(\"@nokecy/formily-core/__types/.\").IFieldActions) => void;\n invoke: (name: string, ...args: any[]) => any;\n}>>>;\nexport const isObjectFieldState: (state: any) => state is IFieldState;\nexport const isVoidFieldState: (state: any) => state is IVoidFieldState;\nexport const isQuery: (query: any) => query is Query;\n}\ndeclare module '@nokecy/formily-core/__types/shared/constants' {\nexport const ReservedProperties: {\n form: boolean;\n parent: boolean;\n props: boolean;\n caches: boolean;\n requests: boolean;\n disposers: boolean;\n heart: boolean;\n graph: boolean;\n indexes: boolean;\n fields: boolean;\n lifecycles: boolean;\n componentType: boolean;\n componentProps: boolean;\n decoratorType: boolean;\n decoratorProps: boolean;\n};\nexport const ReadOnlyProperties: {\n address: boolean;\n path: boolean;\n valid: boolean;\n invalid: boolean;\n selfValid: boolean;\n selfInvalid: boolean;\n errors: boolean;\n successes: boolean;\n warnings: boolean;\n validateStatus: boolean;\n};\nexport const MutuallyExclusiveProperties: {\n pattern: string;\n editable: string;\n readOnly: string;\n readPretty: string;\n disabled: string;\n display: string;\n hidden: string;\n visible: string;\n};\nexport const RESPONSE_REQUEST_DURATION = 100;\nexport const GlobalState: {\n lifecycles: any[];\n context: any[];\n effectStart: boolean;\n effectEnd: boolean;\n initializing: boolean;\n};\nexport const NumberIndexReg: RegExp;\n}\ndeclare module '@nokecy/formily-core/__types/shared/effective' {\nimport { LifeCycle, Form } from '@nokecy/formily-core/__types/models/index';\nimport { AnyFunction } from '@nokecy/formily-core/__types/types';\nexport const createEffectHook: <F extends (payload: any, ...ctxs: any[]) => AnyFunction>(type: string, callback?: F) => (...args: Parameters<ReturnType<F>>) => void;\nexport const createEffectContext: <T = any>(defaultValue?: T) => {\n provide(value?: T): void;\n consume(): T;\n};\nexport const useEffectForm: () => Form<any>;\nexport const runEffects: <Context>(context?: Context, ...args: ((context: Context) => void)[]) => LifeCycle[];\n}\ndeclare module '@nokecy/formily-core/__types/shared/externals' {\nimport { FormPath } from '@nokecy/formily-shared';\nimport { Form } from '@nokecy/formily-core/__types/models/index';\nimport { IFormProps } from '@nokecy/formily-core/__types/types';\nimport { getValidateLocaleIOSCode, getLocaleByPath, setValidateLanguage, registerValidateFormats, registerValidateLocale, registerValidateMessageTemplateEngine, registerValidateRules } from '@nokecy/formily-validator';\nimport { createEffectHook, createEffectContext, useEffectForm } from '@nokecy/formily-core/__types/shared/effective';\nimport { isArrayField, isArrayFieldState, isDataField, isDataFieldState, isField, isFieldState, isForm, isFormState, isGeneralField, isGeneralFieldState, isObjectField, isObjectFieldState, isQuery, isVoidField, isVoidFieldState } from '@nokecy/formily-core/__types/shared/checkers';\nconst createForm: <T extends object = any>(options?: IFormProps<T>) => Form<T>;\nexport { FormPath, createForm, isArrayField, isArrayFieldState, isDataField, isDataFieldState, isField, isFieldState, isForm, isFormState, isGeneralField, isGeneralFieldState, isObjectField, isObjectFieldState, isQuery, isVoidField, isVoidFieldState, getValidateLocaleIOSCode, getLocaleByPath, setValidateLanguage, registerValidateFormats, registerValidateLocale, registerValidateMessageTemplateEngine, registerValidateRules, createEffectHook, createEffectContext, useEffectForm, };\n}\ndeclare module '@nokecy/formily-core/__types/shared/internals' {\nimport { FormPath, FormPathPattern } from '@nokecy/formily-shared';\nimport { ValidatorTriggerType } from '@nokecy/formily-validator';\nimport { DataChange } from '@nokecy/formily-reactive';\nimport { Field, ArrayField, Form, ObjectField } from '@nokecy/formily-core/__types/models/index';\nimport { ISpliceArrayStateProps, IExchangeArrayStateProps, IFieldResetOptions, ISearchFeedback, IFieldFeedback, INodePatch, GeneralField, IFormFeedback, FieldMatchPattern } from '@nokecy/formily-core/__types/types';\nimport { BaseField } from '@nokecy/formily-core/__types/models/BaseField';\nexport const isHTMLInputEvent: (event: any, stopPropagation?: boolean) => boolean;\nexport const getValuesFromEvent: (args: any[]) => any[];\nexport const getTypedDefaultValue: (field: Field) => {};\nexport const buildFieldPath: (field: GeneralField) => FormPath;\nexport const buildDataPath: (fields: Record<string, GeneralField>, pattern: FormPath) => FormPath;\nexport const locateNode: (field: GeneralField, address: FormPathPattern) => GeneralField;\nexport const patchFieldStates: (target: Record<string, GeneralField>, patches: INodePatch<GeneralField>[]) => void;\nexport const destroy: (target: Record<string, GeneralField>, address: string, forceClear?: boolean) => void;\nexport const patchFormValues: (form: Form, path: Array<string | number>, source: any) => void;\nexport const matchFeedback: (search?: ISearchFeedback, feedback?: IFormFeedback) => boolean;\nexport const queryFeedbacks: (field: Field, search?: ISearchFeedback) => IFieldFeedback[];\nexport const queryFeedbackMessages: (field: Field, search: ISearchFeedback) => any[];\nexport const updateFeedback: (field: Field, feedback?: IFieldFeedback) => void;\nexport const validateToFeedbacks: (field: Field, triggerType?: ValidatorTriggerType) => Promise<import(\"@nokecy/formily-validator\").IValidateResults>;\nexport const setValidatorRule: (field: Field, name: string, value: any) => void;\nexport const spliceArrayState: (field: ArrayField, props?: ISpliceArrayStateProps) => void;\nexport const exchangeArrayState: (field: ArrayField, props: IExchangeArrayStateProps) => void;\nexport const cleanupArrayChildren: (field: ArrayField, start: number) => void;\nexport const cleanupObjectChildren: (field: ObjectField, keys: string[]) => void;\nexport const initFieldUpdate: (field: GeneralField) => void;\nexport const subscribeUpdate: (form: Form, pattern: FormPath, callback: (...args: any[]) => void) => void;\nexport const deserialize: (model: any, setter: any) => any;\nexport const serialize: (model: any, getter?: any) => any;\nexport const createChildrenFeedbackFilter: (field: Field) => ({ address }: IFormFeedback) => boolean;\nexport const createStateSetter: (model: any) => (setter?: any) => any;\nexport const createStateGetter: (model: any) => (getter?: any) => any;\nexport const createBatchStateSetter: (form: Form) => (pattern: FieldMatchPattern, payload?: any) => void;\nexport const createBatchStateGetter: (form: Form) => (pattern: FieldMatchPattern, payload?: any) => any;\nexport const triggerFormInitialValuesChange: (form: Form, change: DataChange) => void;\nexport const triggerFormValuesChange: (form: Form, change: DataChange) => void;\nexport const setValidating: (target: Form | Field, validating: boolean) => void;\nexport const setSubmitting: (target: Form | Field, submitting: boolean) => void;\nexport const setLoading: (target: Form | Field, loading: boolean) => void;\nexport const batchSubmit: <T>(target: Form | Field, onSubmit?: (values: any) => Promise<T> | void) => Promise<T>;\nexport const batchValidate: (target: Form | Field, pattern: FormPathPattern, triggerType?: ValidatorTriggerType) => Promise<void>;\nexport const batchReset: (target: Form | Field, pattern: FormPathPattern, options?: IFieldResetOptions) => Promise<void>;\nexport const validateSelf: (target: Field, triggerType?: ValidatorTriggerType, noEmit?: any) => Promise<{}>;\nexport const resetSelf: (target: Field, options?: IFieldResetOptions, noEmit?: any) => Promise<{}>;\nexport const modifySelf: (target: Field) => void;\nexport const getValidFormValues: (values: any) => any;\nexport const getValidFieldDefaultValue: (value: any, initialValue: any) => any;\nexport const allowAssignDefaultValue: (target: any, source: any) => boolean;\nexport const createReactions: (field: GeneralField) => void;\nexport const createReaction: <T>(tracker: () => T, scheduler?: (value: T) => void) => () => void;\nexport const initializeStart: () => void;\nexport const initializeEnd: () => void;\nexport const getArrayParent: (field: BaseField, index?: number) => ArrayField<any, any>;\nexport const getObjectParent: (field: BaseField) => ObjectField<any, any>;\n}\ndeclare module '@nokecy/formily-core/__types/types' {\nimport { IValidatorRules, Validator, ValidatorTriggerType } from '@nokecy/formily-validator';\nimport { FormPath } from '@nokecy/formily-shared';\nimport { Form, Field, LifeCycle, ArrayField, VoidField, ObjectField, Query } from '@nokecy/formily-core/__types/models/index';\nexport type NonFunctionPropertyNames<T> = {\n [K in keyof T]: T[K] extends (...args: any) => any ? never : K;\n}[keyof T];\nexport type NonFunctionProperties<T> = Pick<T, NonFunctionPropertyNames<T>>;\nexport type AnyFunction = (...args: any[]) => any;\nexport type JSXComponent = any;\nexport type LifeCycleHandler<T> = (payload: T, context: any) => void;\nexport type LifeCyclePayload<T> = (params: {\n type: string;\n payload: T;\n}, context: any) => void;\nexport enum LifeCycleTypes {\n /**\n * Form LifeCycle\n **/\n ON_FORM_INIT = \"onFormInit\",\n ON_FORM_MOUNT = \"onFormMount\",\n ON_FORM_UNMOUNT = \"onFormUnmount\",\n ON_FORM_INPUT_CHANGE = \"onFormInputChange\",\n ON_FORM_VALUES_CHANGE = \"onFormValuesChange\",\n ON_FORM_INITIAL_VALUES_CHANGE = \"onFormInitialValuesChange\",\n ON_FORM_SUBMIT = \"onFormSubmit\",\n ON_FORM_RESET = \"onFormReset\",\n ON_FORM_SUBMIT_START = \"onFormSubmitStart\",\n ON_FORM_SUBMITTING = \"onFormSubmitting\",\n ON_FORM_SUBMIT_END = \"onFormSubmitEnd\",\n ON_FORM_SUBMIT_VALIDATE_START = \"onFormSubmitValidateStart\",\n ON_FORM_SUBMIT_VALIDATE_SUCCESS = \"onFormSubmitValidateSuccess\",\n ON_FORM_SUBMIT_VALIDATE_FAILED = \"onFormSubmitValidateFailed\",\n ON_FORM_SUBMIT_VALIDATE_END = \"onFormSubmitValidateEnd\",\n ON_FORM_SUBMIT_SUCCESS = \"onFormSubmitSuccess\",\n ON_FORM_SUBMIT_FAILED = \"onFormSubmitFailed\",\n ON_FORM_VALIDATE_START = \"onFormValidateStart\",\n ON_FORM_VALIDATING = \"onFormValidating\",\n ON_FORM_VALIDATE_SUCCESS = \"onFormValidateSuccess\",\n ON_FORM_VALIDATE_FAILED = \"onFormValidateFailed\",\n ON_FORM_VALIDATE_END = \"onFormValidateEnd\",\n ON_FORM_GRAPH_CHANGE = \"onFormGraphChange\",\n ON_FORM_LOADING = \"onFormLoading\",\n /**\n * Field LifeCycle\n **/\n ON_FIELD_INIT = \"onFieldInit\",\n ON_FIELD_INPUT_VALUE_CHANGE = \"onFieldInputValueChange\",\n ON_FIELD_VALUE_CHANGE = \"onFieldValueChange\",\n ON_FIELD_INITIAL_VALUE_CHANGE = \"onFieldInitialValueChange\",\n ON_FIELD_SUBMIT = \"onFieldSubmit\",\n ON_FIELD_SUBMIT_START = \"onFieldSubmitStart\",\n ON_FIELD_SUBMITTING = \"onFieldSubmitting\",\n ON_FIELD_SUBMIT_END = \"onFieldSubmitEnd\",\n ON_FIELD_SUBMIT_VALIDATE_START = \"onFieldSubmitValidateStart\",\n ON_FIELD_SUBMIT_VALIDATE_SUCCESS = \"onFieldSubmitValidateSuccess\",\n ON_FIELD_SUBMIT_VALIDATE_FAILED = \"onFieldSubmitValidateFailed\",\n ON_FIELD_SUBMIT_VALIDATE_END = \"onFieldSubmitValidateEnd\",\n ON_FIELD_SUBMIT_SUCCESS = \"onFieldSubmitSuccess\",\n ON_FIELD_SUBMIT_FAILED = \"onFieldSubmitFailed\",\n ON_FIELD_VALIDATE_START = \"onFieldValidateStart\",\n ON_FIELD_VALIDATING = \"onFieldValidating\",\n ON_FIELD_VALIDATE_SUCCESS = \"onFieldValidateSuccess\",\n ON_FIELD_VALIDATE_FAILED = \"onFieldValidateFailed\",\n ON_FIELD_VALIDATE_END = \"onFieldValidateEnd\",\n ON_FIELD_LOADING = \"onFieldLoading\",\n ON_FIELD_RESET = \"onFieldReset\",\n ON_FIELD_MOUNT = \"onFieldMount\",\n ON_FIELD_UNMOUNT = \"onFieldUnmount\"\n}\nexport type HeartSubscriber = ({ type, payload, }: {\n type: string;\n payload: any;\n}) => void;\nexport interface INodePatch<T> {\n type: 'remove' | 'update';\n address: string;\n oldAddress?: string;\n payload?: T;\n}\nexport interface IHeartProps<Context> {\n lifecycles?: LifeCycle[];\n context?: Context;\n}\nexport interface IFieldFeedback {\n triggerType?: FieldFeedbackTriggerTypes;\n type?: FieldFeedbackTypes;\n code?: FieldFeedbackCodeTypes;\n messages?: FeedbackMessage;\n}\nexport type IFormFeedback = IFieldFeedback & {\n path?: string;\n address?: string;\n};\nexport interface ISearchFeedback {\n triggerType?: FieldFeedbackTriggerTypes;\n type?: FieldFeedbackTypes;\n code?: FieldFeedbackCodeTypes;\n address?: FormPathPattern;\n path?: FormPathPattern;\n messages?: FeedbackMessage;\n}\nexport type FeedbackMessage = any[];\nexport type IFieldUpdate = {\n pattern: FormPath;\n callbacks: ((...args: any[]) => any)[];\n};\nexport interface IFormRequests {\n validate?: number;\n submit?: number;\n loading?: number;\n updates?: IFieldUpdate[];\n updateIndexes?: Record<string, number>;\n}\nexport type IFormFields = Record<string, GeneralField>;\nexport type FieldFeedbackTypes = 'error' | 'success' | 'warning';\nexport type FieldFeedbackTriggerTypes = ValidatorTriggerType;\nexport type FieldFeedbackCodeTypes = 'ValidateError' | 'ValidateSuccess' | 'ValidateWarning' | 'EffectError' | 'EffectSuccess' | 'EffectWarning' | (string & {});\nexport type FormPatternTypes = 'editable' | 'readOnly' | 'disabled' | 'readPretty' | ({} & string);\nexport type FormDisplayTypes = 'none' | 'hidden' | 'visible' | ({} & string);\nexport type FormPathPattern = string | number | Array<string | number> | FormPath | RegExp | (((address: Array<string | number>) => boolean) & {\n path: FormPath;\n});\ntype OmitState<P> = Omit<P, 'selfDisplay' | 'selfPattern' | 'originValues' | 'originInitialValues' | 'id' | 'address' | 'path' | 'lifecycles' | 'disposers' | 'requests' | 'fields' | 'graph' | 'heart' | 'indexes' | 'props' | 'displayName' | 'setState' | 'getState' | 'getFormGraph' | 'setFormGraph' | 'setFormState' | 'getFormState'>;\nexport type IFieldState = Partial<Pick<Field, NonFunctionPropertyNames<OmitState<Field<any, any, string, string>>>>>;\nexport type IVoidFieldState = Partial<Pick<VoidField, NonFunctionPropertyNames<OmitState<VoidField<any, any, string>>>>>;\nexport type IFormState<T extends Record<any, any> = any> = Pick<Form<T>, NonFunctionPropertyNames<OmitState<Form<{\n [key: string]: any;\n}>>>>;\nexport type IFormGraph = Record<string, IGeneralFieldState | IFormState>;\nexport interface IFormProps<T extends object = any> {\n values?: Partial<T>;\n initialValues?: Partial<T>;\n pattern?: FormPatternTypes;\n display?: FormDisplayTypes;\n hidden?: boolean;\n visible?: boolean;\n editable?: boolean;\n disabled?: boolean;\n readOnly?: boolean;\n readPretty?: boolean;\n effects?: (form: Form<T>) => void;\n validateFirst?: boolean;\n validatePattern?: FormPatternTypes[];\n validateDisplay?: FormDisplayTypes[];\n designable?: boolean;\n}\nexport type IFormMergeStrategy = 'overwrite' | 'merge' | 'deepMerge' | 'shallowMerge';\nexport interface IFieldFactoryProps<Decorator extends JSXComponent, Component extends JSXComponent, TextType = any, ValueType = any> extends IFieldProps<Decorator, Component, TextType, ValueType> {\n name: FormPathPattern;\n basePath?: FormPathPattern;\n}\nexport interface IVoidFieldFactoryProps<Decorator extends JSXComponent, Component extends JSXComponent, TextType = any> extends IVoidFieldProps<Decorator, Component, TextType> {\n name: FormPathPattern;\n basePath?: FormPathPattern;\n}\nexport interface IFieldRequests {\n validate?: number;\n submit?: number;\n loading?: number;\n batch?: () => void;\n}\nexport interface IFieldCaches {\n value?: any;\n initialValue?: any;\n inputting?: boolean;\n}\nexport type FieldDisplayTypes = 'none' | 'hidden' | 'visible' | ({} & string);\nexport type FieldPatternTypes = 'editable' | 'readOnly' | 'disabled' | 'readPretty' | ({} & string);\nexport type FieldValidatorContext = IValidatorRules & {\n field?: Field;\n form?: Form;\n value?: any;\n};\nexport type FieldValidator = Validator<FieldValidatorContext>;\nexport type FieldDataSource = {\n label?: any;\n value?: any;\n title?: any;\n key?: any;\n text?: any;\n children?: FieldDataSource;\n [key: string]: any;\n}[];\nexport type FieldComponent<Component extends JSXComponent, ComponentProps = any> = [Component] | [Component, ComponentProps] | boolean | any[];\nexport type FieldDecorator<Decorator extends JSXComponent, ComponentProps = any> = [Decorator] | [Decorator, ComponentProps] | boolean | any[];\nexport type FieldReaction = (field: Field) => void;\nexport interface IFieldProps<Decorator extends JSXComponent = any, Component extends JSXComponent = any, TextType = any, ValueType = any> {\n name: FormPathPattern;\n basePath?: FormPathPattern;\n title?: TextType;\n description?: TextType;\n value?: ValueType;\n initialValue?: ValueType;\n required?: boolean;\n display?: FieldDisplayTypes;\n pattern?: FieldPatternTypes;\n hidden?: boolean;\n visible?: boolean;\n editable?: boolean;\n disabled?: boolean;\n readOnly?: boolean;\n readPretty?: boolean;\n dataSource?: FieldDataSource;\n validateFirst?: boolean;\n validatePattern?: FieldPatternTypes[];\n validateDisplay?: FieldDisplayTypes[];\n validator?: FieldValidator;\n decorator?: FieldDecorator<Decorator>;\n component?: FieldComponent<Component>;\n reactions?: FieldReaction[] | FieldReaction;\n content?: any;\n data?: any;\n}\nexport interface IVoidFieldProps<Decorator extends JSXComponent = any, Component extends JSXComponent = any, TextType = any> {\n name: FormPathPattern;\n basePath?: FormPathPattern;\n title?: TextType;\n description?: TextType;\n display?: FieldDisplayTypes;\n pattern?: FieldPatternTypes;\n hidden?: boolean;\n visible?: boolean;\n editable?: boolean;\n disabled?: boolean;\n readOnly?: boolean;\n readPretty?: boolean;\n decorator?: FieldDecorator<Decorator>;\n component?: FieldComponent<Component>;\n reactions?: FieldReaction[] | FieldReaction;\n content?: any;\n data?: any;\n}\nexport interface IFieldResetOptions {\n forceClear?: boolean;\n validate?: boolean;\n}\nexport type IGeneralFieldState = IFieldState & IVoidFieldState;\nexport type GeneralField = Field | VoidField | ArrayField | ObjectField;\nexport type DataField = Field | ArrayField | ObjectField;\nexport interface ISpliceArrayStateProps {\n startIndex?: number;\n deleteCount?: number;\n insertCount?: number;\n}\nexport interface IExchangeArrayStateProps {\n fromIndex?: number;\n toIndex?: number;\n}\nexport interface IQueryProps {\n pattern: FormPathPattern;\n base: FormPathPattern;\n form: Form;\n}\nexport interface IModelSetter<P = any> {\n (setter: (state: P) => void): void;\n (setter: Partial<P>): void;\n (): void;\n}\nexport interface IModelGetter<P = any> {\n <Getter extends (state: P) => any>(getter: Getter): ReturnType<Getter>;\n (): P;\n}\nexport type FieldMatchPattern = FormPathPattern | Query | GeneralField;\nexport interface IFieldStateSetter {\n (pattern: FieldMatchPattern, setter: (state: IFieldState) => void): void;\n (pattern: FieldMatchPattern, setter: Partial<IFieldState>): void;\n}\nexport interface IFieldStateGetter {\n <Getter extends (state: IGeneralFieldState) => any>(pattern: FieldMatchPattern, getter: Getter): ReturnType<Getter>;\n (pattern: FieldMatchPattern): IGeneralFieldState;\n}\nexport interface IFieldActions {\n [key: string]: (...args: any[]) => any;\n}\nexport {};\n}\ndeclare module '@nokecy/formily-reactive' {\n export * from '@nokecy/formily-reactive/__types/index'\n}\ndeclare module '@nokecy/formily-reactive/__types/action' {\nimport { IAction } from '@nokecy/formily-reactive/__types/types';\nexport const action: IAction;\n}\ndeclare module '@nokecy/formily-reactive/__types/annotations/box' {\nexport interface IBox {\n <T>(target: T): {\n get(): T;\n set(value: T): void;\n };\n}\nexport const box: IBox;\n}\ndeclare module '@nokecy/formily-reactive/__types/annotations/computed' {\ninterface IValue<T = any> {\n value?: T;\n}\nexport interface IComputed {\n <T>(compute: () => T): IValue<T>;\n <T>(compute: {\n get?: () => T;\n set?: (value: T) => void;\n }): IValue<T>;\n}\nexport const computed: IComputed;\nexport {};\n}\ndeclare module '@nokecy/formily-reactive/__types/annotations/index' {\nexport * from '@nokecy/formily-reactive/__types/annotations/observable';\nexport * from '@nokecy/formily-reactive/__types/annotations/box';\nexport * from '@nokecy/formily-reactive/__types/annotations/ref';\nexport * from '@nokecy/formily-reactive/__types/annotations/shallow';\nexport * from '@nokecy/formily-reactive/__types/annotations/computed';\n}\ndeclare module '@nokecy/formily-reactive/__types/annotations/observable' {\nexport interface IObservable {\n <T>(target: T): T;\n}\nexport const observable: IObservable;\n}\ndeclare module '@nokecy/formily-reactive/__types/annotations/ref' {\nexport interface IRef {\n <T>(target: T): {\n value: T;\n };\n}\nexport const ref: IRef;\n}\ndeclare module '@nokecy/formily-reactive/__types/annotations/shallow' {\nimport { IObservable } from '@nokecy/formily-reactive/__types/annotations/observable';\nexport const shallow: IObservable;\n}\ndeclare module '@nokecy/formily-reactive/__types/array' {\nexport const toArray: (value: any) => any[];\nexport class ArraySet<T> {\n value: T[];\n forEachIndex: number;\n constructor(value?: T[]);\n add(item: T): void;\n has(item: T): boolean;\n delete(item: T): void;\n forEach(callback: (value: T) => void): void;\n batchDelete(callback: (value: T) => void): void;\n clear(): void;\n}\n}\ndeclare module '@nokecy/formily-reactive/__types/autorun' {\nimport { Reaction, IReactionOptions, Dispose } from '@nokecy/formily-reactive/__types/types';\nexport const autorun: {\n (tracker: Reaction, name?: string): () => void;\n memo<T>(callback: () => T, dependencies?: any[]): T;\n effect(callback: () => void | Dispose, dependencies?: any[]): void;\n};\nexport const reaction: <T>(tracker: () => T, subscriber?: (value: T, oldValue: T) => void, options?: IReactionOptions<T>) => () => void;\n}\ndeclare module '@nokecy/formily-reactive/__types/batch' {\nimport { IBatch } from '@nokecy/formily-reactive/__types/types';\nexport const batch: IBatch;\n}\ndeclare module '@nokecy/formily-reactive/__types/checkers' {\nexport const isMap: (val: any) => val is Map<any, any>;\nexport const isSet: (val: any) => val is Set<any>;\nexport const isWeakMap: (val: any) => val is WeakMap<any, any>;\nexport const isWeakSet: (val: any) => val is WeakSet<any>;\nexport const isFn: (val: any) => val is Function;\nexport const isArr: (arg: any) => arg is any[];\nexport const isPlainObj: (val: any) => val is object;\nexport const isValid: (val: any) => boolean;\nexport const isCollectionType: (target: any) => target is Map<any, any> | Set<any> | WeakMap<any, any> | WeakSet<any>;\nexport const isNormalType: (target: any) => target is object | any[];\n}\ndeclare module '@nokecy/formily-reactive/__types/environment' {\nimport { ObservableListener, Reaction, ReactionsMap } from '@nokecy/formily-reactive/__types/types';\nimport { ArraySet } from '@nokecy/formily-reactive/__types/array';\nimport { DataNode } from '@nokecy/formily-reactive/__types/tree';\nexport const ProxyRaw: WeakMap<object, any>;\nexport const RawProxy: WeakMap<object, any>;\nexport const RawShallowProxy: WeakMap<object, any>;\nexport const RawNode: WeakMap<object, DataNode>;\nexport const RawReactionsMap: WeakMap<object, ReactionsMap>;\nexport const ReactionStack: Reaction[];\nexport const BatchCount: {\n value: number;\n};\nexport const UntrackCount: {\n value: number;\n};\nexport const BatchScope: {\n value: boolean;\n};\nexport const DependencyCollected: {\n value: boolean;\n};\nexport const PendingReactions: ArraySet<Reaction>;\nexport const DrainState: {\n current: Reaction | null;\n};\nexport const DrainFrames: Array<{\n untrack: number;\n after: () => void;\n}>;\nexport const PendingScopeReactions: ArraySet<Reaction>;\nexport const BatchEndpoints: ArraySet<() => void>;\nexport const ObserverListeners: ArraySet<ObservableListener>;\nexport const MakeObModelSymbol: unique symbol;\nexport const ObModelSymbol: unique symbol;\nexport const ObModelNodeSymbol: unique symbol;\n}\ndeclare module '@nokecy/formily-reactive/__types/externals' {\nimport { Annotation } from '@nokecy/formily-reactive/__types/types';\nexport const isObservable: (target: any) => boolean;\nexport const isAnnotation: (target: any) => target is Annotation;\nexport const isSupportObservable: (target: any) => boolean;\nexport const markRaw: <T>(target: T) => T;\nexport const markObservable: <T>(target: T) => T;\nexport const raw: <T>(target: T) => T;\nexport const toJS: <T>(values: T) => T;\nexport const contains: (target: any, property: any) => any;\nexport const hasCollected: (callback?: () => void) => boolean;\n}\ndeclare module '@nokecy/formily-reactive/__types/handlers' {\nexport const collectionHandlers: {\n get(target: any, key: PropertyKey, receiver: any): any;\n};\nexport const baseHandlers: ProxyHandler<any>;\n}\ndeclare module '@nokecy/formily-reactive/__types/index' {\nexport * from '@nokecy/formily-reactive/__types/batch';\nexport * from '@nokecy/formily-reactive/__types/action';\nexport * from '@nokecy/formily-reactive/__types/untracked';\nexport * from '@nokecy/formily-reactive/__types/observable';\nexport * from '@nokecy/formily-reactive/__types/model';\nexport * from '@nokecy/formily-reactive/__types/autorun';\nexport * from '@nokecy/formily-reactive/__types/tracker';\nexport * from '@nokecy/formily-reactive/__types/observe';\nexport * from '@nokecy/formily-reactive/__types/externals';\nexport * from '@nokecy/formily-reactive/__types/types';\n}\ndeclare module '@nokecy/formily-reactive/__types/internals' {\nimport { MakeObModelSymbol } from '@nokecy/formily-reactive/__types/environment';\nimport { PropertyKey, IVisitor, BoundaryFunction } from '@nokecy/formily-reactive/__types/types';\nexport const createObservable: (target: any, key?: PropertyKey, value?: any, shallow?: boolean) => any;\nexport const createAnnotation: <T extends (visitor: IVisitor) => any>(maker: T) => {\n (target: any): ReturnType<T>;\n [MakeObModelSymbol]: T;\n};\nexport const getObservableMaker: (target: any) => any;\nexport const createBoundaryFunction: (start: (...args: any) => void, end: (...args: any) => void) => {\n <F extends (...args: any) => any>(fn?: F): ReturnType<F>;\n bound: <F extends (...args: any[]) => any>(callback?: F, context?: any) => F;\n};\nexport const createBindFunction: <Boundary extends BoundaryFunction>(boundary: Boundary) => <F extends (...args: any[]) => any>(callback?: F, context?: any) => F;\nexport const createBoundaryAnnotation: (start: (...args: any) => void, end: (...args: any) => void) => {\n <F extends (...args: any) => any>(fn?: F): ReturnType<F>;\n bound: <F extends (...args: any[]) => any>(callback?: F, context?: any) => F;\n};\n}\ndeclare module '@nokecy/formily-reactive/__types/model' {\nimport { Annotations } from '@nokecy/formily-reactive/__types/types';\nexport function define<Target extends object = any>(target: Target, annotations?: Annotations<Target>): Target;\nexport function model<Target extends object = any>(target: Target): Target;\n}\ndeclare module '@nokecy/formily-reactive/__types/observable' {\nimport * as annotations from '@nokecy/formily-reactive/__types/annotations/index';\nexport function observable<T extends object>(target: T): T;\nexport namespace observable {\n var box: annotations.IBox;\n var ref: annotations.IRef;\n var deep: annotations.IObservable;\n var shallow: annotations.IObservable;\n var computed: annotations.IComputed;\n}\n}\ndeclare module '@nokecy/formily-reactive/__types/observe' {\nimport { DataChange } from '@nokecy/formily-reactive/__types/tree';\nexport const observe: (target: object, observer?: (change: DataChange) => void, deep?: boolean) => () => void;\n}\ndeclare module '@nokecy/formily-reactive/__types/reaction' {\nimport { IOperation, Reaction } from '@nokecy/formily-reactive/__types/types';\nexport const bindTargetKeyWithCurrentReaction: (operation: IOperation) => void;\nexport const bindComputedReactions: (reaction: Reaction) => void;\nexport const runReactionsFromTargetKey: (operation: IOperation) => void;\nexport const hasRunningReaction: () => boolean;\nexport const releaseBindingReactions: (reaction: Reaction) => void;\nexport const suspendComputedReactions: (current: Reaction) => void;\nexport const disposeBindingReactions: (reaction: Reaction) => void;\nexport const batchStart: () => void;\n/**\n * owner / after \u53EA\u7531 autorun \u4E0E reaction \u7684\u6267\u884C\u4F53\u4F20\u5165\uFF1Aafter \u662F\u5B83\u4EEC\u5728\u6279\u5904\u7406\u7ED3\u675F\u3001\u961F\u5217\u6E05\u7A7A\u4E4B\u540E\u624D\u6267\u884C\u7684\u6536\u5C3E\u3002\n *\n * \u65E7\u5B9E\u73B0\u91CC\uFF0C\u6E05\u7A7A\u5FAA\u73AF\u6BCF\u6267\u884C\u4E00\u4E2A reaction\uFF0C\u8BE5 reaction \u7ED3\u675F\u6279\u5904\u7406\u65F6\u5C31\u5728\u8FD9\u91CC\u5D4C\u5957\u6E05\u7A7A\u5269\u4F59\u961F\u5217\uFF0C\n * \u5F85\u6267\u884C\u7684 reaction \u4E00\u591A\u5C31\u6808\u6EA2\u51FA\uFF08#4306\uFF09\u3002\u5F53 owner \u6B63\u662F\u6E05\u7A7A\u5FAA\u73AF\u76F4\u63A5\u8C03\u8D77\u7684\u90A3\u4E2A reaction \u65F6\uFF0C\n * \u5B83\u4E4B\u540E\u5DF2\u6CA1\u6709\u5176\u4ED6\u8C03\u7528\u65B9\u4EE3\u7801\uFF0C\u4E8E\u662F\u628A\u6536\u5C3E\u538B\u6808\u4EA4\u7ED9\u5916\u5C42\u5FAA\u73AF\uFF1A\u5916\u5C42\u5FAA\u73AF\u6E05\u7A7A\u961F\u5217\u540E\u6309\u540E\u8FDB\u5148\u51FA\u6267\u884C\u6536\u5C3E\uFF0C\n * \u6267\u884C\u987A\u5E8F\u4E0E\u6B21\u6570\u548C\u5D4C\u5957\u6E05\u7A7A\u4E00\u81F4\uFF0C\u8C03\u7528\u6808\u4E0D\u518D\u968F\u961F\u5217\u957F\u5EA6\u589E\u957F\u3002\u5176\u4ED6\u8C03\u7528\u65B9\uFF08batch / action / computed\uFF09\u4ECD\u5C31\u5730\u6E05\u7A7A\u3002\n */\nexport const batchEnd: (owner?: Reaction, after?: () => void) => void;\nexport const batchScopeStart: () => void;\nexport const batchScopeEnd: () => void;\nexport const untrackStart: () => void;\nexport const untrackEnd: () => void;\nexport const isBatching: () => boolean;\nexport const isScopeBatching: () => boolean;\nexport const isUntracking: () => boolean;\nexport const executePendingReactions: () => void;\nexport const executeBatchEndpoints: () => void;\nexport const hasDepsChange: (newDeps: any[], oldDeps: any[]) => boolean;\nexport const disposeEffects: (reaction: Reaction) => void;\n}\ndeclare module '@nokecy/formily-reactive/__types/tracker' {\nimport { Reaction } from '@nokecy/formily-reactive/__types/types';\nexport class Tracker {\n private results;\n constructor(scheduler?: (reaction: Reaction) => void, name?: string);\n track: Reaction;\n dispose: () => void;\n}\n}\ndeclare module '@nokecy/formily-reactive/__types/tree' {\nimport { PropertyKey, IOperation } from '@nokecy/formily-reactive/__types/types';\nexport class DataChange {\n node: DataNode;\n key: PropertyKey;\n object: object;\n type: string;\n value: any;\n oldValue: any;\n constructor(operation: IOperation, node: DataNode);\n get path(): any;\n}\nexport class DataNode {\n target: any;\n key: PropertyKey;\n value: any;\n constructor(target: any, key: PropertyKey, value: any);\n get path(): any;\n get targetRaw(): any;\n get parent(): any;\n isEqual(node: DataNode): boolean;\n contains(node: DataNode): boolean;\n}\nexport const getDataNode: (raw: any) => any;\nexport const setDataNode: (raw: any, node: DataNode) => void;\nexport const buildDataTree: (target: any, key: PropertyKey, value: any) => any;\n}\ndeclare module '@nokecy/formily-reactive/__types/types' {\nimport { ArraySet } from '@nokecy/formily-reactive/__types/array';\nexport * from '@nokecy/formily-reactive/__types/tree';\nexport type PropertyKey = string | number | symbol;\nexport type OperationType = 'add' | 'delete' | 'clear' | 'set' | 'get' | 'iterate' | 'has';\nexport interface IOperation {\n target?: any;\n oldTarget?: any;\n key?: PropertyKey;\n value?: any;\n oldValue?: any;\n type?: OperationType;\n receiver?: any;\n}\nexport interface IChange {\n key?: PropertyKey;\n path?: ObservablePath;\n value?: any;\n oldValue?: any;\n type?: OperationType;\n}\nexport interface IEffectQueueItem {\n dispose?: void | Dispose;\n deps?: any[];\n}\nexport interface IMemoQueueItem {\n value?: any;\n deps?: any[];\n}\nexport interface IVisitor<Value = any, Target = any> {\n target?: Target;\n key?: PropertyKey;\n value?: Value;\n}\nexport type Annotation = (...args: any[]) => any;\nexport type Annotations<T = any> = {\n [key in keyof T]?: Annotation;\n};\nexport type ObservableListener = (operation: IOperation) => void;\nexport type ObservablePath = Array<string | number>;\nexport type Dispose = () => void;\nexport type Effect = () => void | Dispose;\nexport type Reaction = ((...args: any[]) => any) & {\n _boundary?: number;\n _name?: string;\n _isComputed?: boolean;\n _dirty?: boolean;\n _context?: any;\n _disposed?: boolean;\n _property?: PropertyKey;\n _computesSet?: ArraySet<Reaction>;\n _reactionsSet?: ArraySet<ReactionsMap>;\n _scheduler?: (reaction: Reaction) => void;\n _memos?: {\n queue: IMemoQueueItem[];\n cursor: number;\n };\n _effects?: {\n queue: IEffectQueueItem[];\n cursor: number;\n };\n};\nexport type ReactionsMap = Map<PropertyKey, ArraySet<Reaction>>;\nexport interface IReactionOptions<T> {\n name?: string;\n equals?: (oldValue: T, newValue: T) => boolean;\n fireImmediately?: boolean;\n}\nexport type BindFunction<F = (...args: any[]) => any> = (callback?: F, context?: any) => F;\nexport type BoundaryFunction = <F extends (...args: any) => any>(fn?: F) => ReturnType<F>;\nexport interface IBoundable {\n bound?: <T extends (...args: any[]) => any>(callback: T, context?: any) => T;\n}\nexport interface IAction extends IBoundable {\n <T>(callback?: () => T): T;\n scope?: (<T>(callback?: () => T) => T) & IBoundable;\n}\nexport interface IBatch extends IAction {\n endpoint?: (callback?: () => void) => void;\n}\n}\ndeclare module '@nokecy/formily-reactive/__types/untracked' {\nexport const untracked: {\n <F extends (...args: any) => any>(fn?: F): ReturnType<F>;\n bound: <F extends (...args: any[]) => any>(callback?: F, context?: any) => F;\n};\n}\ndeclare module '@nokecy/formily-shared' {\n export * from '@nokecy/formily-shared/__types/index'\n}\ndeclare module '@nokecy/formily-shared/__types/array' {\ntype EachArrayIterator<T> = (currentValue: T, key: number) => void | boolean;\ntype EachStringIterator = (currentValue: string, key: number) => void | boolean;\ntype EachObjectIterator<T = any> = (currentValue: T, key: string) => void | boolean;\ntype MapArrayIterator<TItem, TResult> = (currentValue: TItem, key: number) => TResult;\ntype MapStringIterator<TResult> = (currentValue: string, key: number) => TResult;\ntype MapObjectIterator<TItem, TResult> = (currentValue: TItem, key: string) => TResult;\ntype MemoArrayIterator<T, U> = (previousValue: U, currentValue: T, key: number) => U;\ntype MemoStringIterator<T> = (previousValue: T, currentValue: string, key: number) => T;\ntype MemoObjectIterator<TValue, TResult> = (previousValue: TResult, currentValue: TValue, key: string) => TResult;\nexport const toArr: (val: any) => any[];\nexport function each(val: string, iterator: EachStringIterator, revert?: boolean): void;\nexport function each<T>(val: T[], iterator: EachArrayIterator<T>, revert?: boolean): void;\nexport function each<T extends {}, TValue extends T[keyof T]>(val: T, iterator: EachObjectIterator<TValue>, revert?: boolean): void;\nexport function map<T>(val: string, iterator: MapStringIterator<T>, revert?: boolean): T[];\nexport function map<TItem, TResult>(val: TItem[], iterator: MapArrayIterator<TItem, TResult>, revert?: boolean): TResult[];\nexport function map<T extends {}, TResult>(val: T, iterator: MapObjectIterator<T[keyof T], TResult>, revert?: boolean): Record<keyof T, TResult>;\nexport function reduce<T, U>(val: T[], iterator: MemoArrayIterator<T, U>, accumulator?: U, revert?: boolean): U;\nexport function reduce<T>(val: string, iterator: MemoStringIterator<T>, accumulator?: T, revert?: boolean): T;\nexport function reduce<T extends {}, TValue extends T[keyof T], TResult = any>(val: T, iterator: MemoObjectIterator<TValue, TResult>, accumulator?: TResult, revert?: boolean): TResult;\nexport function every<T extends string>(val: T, iterator: EachStringIterator, revert?: boolean): boolean;\nexport function every<T>(val: T[], iterator: EachArrayIterator<T>, revert?: boolean): boolean;\nexport function every<T extends {}>(val: T, iterator: EachObjectIterator, revert?: boolean): boolean;\nexport function some<T extends string>(val: T, iterator: EachStringIterator, revert?: boolean): boolean;\nexport function some<T>(val: T[], iterator: EachArrayIterator<T>, revert?: boolean): boolean;\nexport function some<T extends {}>(val: T, iterator: EachObjectIterator, revert?: boolean): boolean;\nexport function findIndex<T extends string>(val: T, iterator: EachStringIterator, revert?: boolean): number;\nexport function findIndex<T>(val: T[], iterator: EachArrayIterator<T>, revert?: boolean): number;\nexport function findIndex<T extends {}>(val: T, iterator: EachObjectIterator, revert?: boolean): keyof T;\nexport function find<T extends string>(val: T, iterator: EachStringIterator, revert?: boolean): any;\nexport function find<T>(val: T[], iterator: EachArrayIterator<T>, revert?: boolean): T;\nexport function find<T extends {}>(val: T, iterator: EachObjectIterator, revert?: boolean): T[keyof T];\nexport function includes<T extends string>(val: T, searchElement: string, revert?: boolean): boolean;\nexport function includes<T>(val: T[], searchElement: T, revert?: boolean): boolean;\nexport function move<T extends any>(array: T[], fromIndex: number, toIndex: number): T[];\nexport {};\n}\ndeclare module '@nokecy/formily-shared/__types/case' {\nimport { camelCase } from 'camel-case';\nimport { pascalCase } from 'pascal-case';\nimport { lowerCase } from 'lower-case';\nimport { upperCase } from 'upper-case';\nimport { paramCase } from 'param-case';\nexport { lowerCase, upperCase, camelCase, pascalCase, paramCase };\n}\ndeclare module '@nokecy/formily-shared/__types/checkers' {\nexport const getType: (obj: any) => any;\nexport const isFn: (val: any) => val is Function;\nexport const isArr: (arg: any) => arg is any[];\nexport const isPlainObj: (obj: unknown) => obj is object;\nexport const isStr: (obj: unknown) => obj is string;\nexport const isBool: (obj: unknown) => obj is boolean;\nexport const isNum: (obj: unknown) => obj is number;\nexport const isMap: (val: any) => val is Map<any, any>;\nexport const isSet: (val: any) => val is Set<any>;\nexport const isWeakMap: (val: any) => val is WeakMap<any, any>;\nexport const isWeakSet: (val: any) => val is WeakSet<any>;\nexport const isNumberLike: (index: any) => index is number;\nexport const isObj: (val: unknown) => val is object;\nexport const isRegExp: (obj: unknown) => obj is RegExp;\nexport const isReactElement: (obj: any) => boolean;\nexport const isHTMLElement: (target: any) => target is EventTarget;\nexport type Subscriber<S> = (payload: S) => void;\nexport interface Subscription<S> {\n notify?: (payload: S) => void | boolean;\n filter?: (payload: S) => any;\n}\n}\ndeclare module '@nokecy/formily-shared/__types/clone' {\nexport const shallowClone: (values: any) => any;\nexport const clone: (values: any) => any;\n}\ndeclare module '@nokecy/formily-shared/__types/compare' {\nexport const isEqual: (a: any, b: any) => any;\n}\ndeclare module '@nokecy/formily-shared/__types/defaults' {\n/**\n *\n * @param defaults\n * @param targets\n */\nexport const defaults: (defaults_: any, targets: any) => any;\n}\ndeclare module '@nokecy/formily-shared/__types/deprecate' {\nexport function deprecate<P1 = any, P2 = any, P3 = any, P4 = any, P5 = any>(method: any, message?: string, help?: string): (p1?: P1, p2?: P2, p3?: P3, p4?: P4, p5?: P5) => any;\n}\ndeclare module '@nokecy/formily-shared/__types/global' {\nexport const globalThisPolyfill: Window;\n}\ndeclare module '@nokecy/formily-shared/__types/index' {\nexport * from '@nokecy/formily-shared/__types/array';\nexport * from '@nokecy/formily-shared/__types/compare';\nexport * from '@nokecy/formily-shared/__types/checkers';\nexport * from '@nokecy/formily-shared/__types/clone';\nexport * from '@nokecy/formily-shared/__types/isEmpty';\nexport * from '@nokecy/formily-shared/__types/case';\nexport * from '@nokecy/formily-shared/__types/string';\nexport * from '@nokecy/formily-shared/__types/global';\nexport * from '@nokecy/formily-shared/__types/path';\nexport * from '@nokecy/formily-shared/__types/deprecate';\nexport * from '@nokecy/formily-shared/__types/subscribable';\nexport * from '@nokecy/formily-shared/__types/middleware';\nexport * from '@nokecy/formily-shared/__types/merge';\nexport * from '@nokecy/formily-shared/__types/instanceof';\nexport * from '@nokecy/formily-shared/__types/defaults';\nexport * from '@nokecy/formily-shared/__types/uid';\n}\ndeclare module '@nokecy/formily-shared/__types/instanceof' {\nexport const instOf: (value: any, cls: any) => boolean;\n}\ndeclare module '@nokecy/formily-shared/__types/isEmpty' {\nexport const isUndef: (val: any) => boolean;\nexport const isValid: (val: any) => boolean;\nexport function isEmpty(val: any, strict?: boolean): boolean;\n}\ndeclare module '@nokecy/formily-shared/__types/merge' {\ninterface Options {\n arrayMerge?(target: any[], source: any[], options?: Options): any[];\n clone?: boolean;\n assign?: boolean;\n customMerge?: (key: string, options?: Options) => ((x: any, y: any) => any) | undefined;\n isMergeableObject?(value: object): boolean;\n cloneUnlessOtherwiseSpecified?: (value: any, options: Options) => any;\n}\nfunction deepmerge(target: any, source: any, options?: Options): any;\nexport const lazyMerge: <T extends object | Function>(target: T, ...args: T[]) => any;\nexport const merge: typeof deepmerge;\nexport {};\n}\ndeclare module '@nokecy/formily-shared/__types/middleware' {\nexport interface IMiddleware<Payload = any, Result = any> {\n (payload: Payload, next: (payload?: Payload) => Result): Result;\n}\nexport const applyMiddleware: (payload: any, fns?: IMiddleware[]) => Promise<unknown>;\n}\ndeclare module '@nokecy/formily-shared/__types/path' {\nimport { Path as FormPath, Pattern as FormPathPattern } from '@nokecy/formily-path';\nexport { FormPath, FormPathPattern };\n}\ndeclare module '@nokecy/formily-shared/__types/string' {\nexport const stringLength: (input: string) => any;\n}\ndeclare module '@nokecy/formily-shared/__types/subscribable' {\nimport { Subscriber, Subscription } from '@nokecy/formily-shared/__types/checkers';\nexport class Subscribable<Payload = any> {\n subscribers: {\n index?: number;\n [key: number]: Subscriber<Payload>;\n };\n subscription: Subscription<Payload>;\n subscribe: (callback?: Subscriber<Payload>) => number;\n unsubscribe: (index?: number) => void;\n notify: (payload?: Payload, silent?: boolean) => void;\n}\n}\ndeclare module '@nokecy/formily-shared/__types/uid' {\nexport function uid(len?: number): string;\n}\ndeclare module '@nokecy/formily-validator' {\n export * from '@nokecy/formily-validator/__types/index'\n}\ndeclare module '@nokecy/formily-validator/__types/formats' {\nconst _default: {\n url: RegExp;\n email: RegExp;\n ipv6: RegExp;\n ipv4: RegExp;\n number: RegExp;\n integer: RegExp;\n qq: RegExp;\n phone: RegExp;\n idcard: RegExp;\n money: RegExp;\n zh: RegExp;\n date: RegExp;\n zip: RegExp;\n};\nexport default _default;\n}\ndeclare module '@nokecy/formily-validator/__types/index' {\nexport * from '@nokecy/formily-validator/__types/validator';\nexport * from '@nokecy/formily-validator/__types/parser';\nexport * from '@nokecy/formily-validator/__types/registry';\nexport * from '@nokecy/formily-validator/__types/types';\n}\ndeclare module '@nokecy/formily-validator/__types/locale' {\nconst _default: {\n en: {\n pattern: string;\n invalid: string;\n required: string;\n number: string;\n integer: string;\n url: string;\n email: string;\n ipv6: string;\n ipv4: string;\n idcard: string;\n qq: string;\n phone: string;\n money: string;\n zh: string;\n date: string;\n zip: string;\n len: string;\n min: string;\n minLength: string;\n minItems: string;\n maximum: string;\n exclusiveMaximum: string;\n minimum: string;\n exclusiveMinimum: string;\n max: string;\n maxLength: string;\n maxItems: string;\n whitespace: string;\n enum: string;\n const: string;\n multipleOf: string;\n maxProperties: string;\n minProperties: string;\n uniqueItems: string;\n };\n zh: {\n pattern: string;\n invalid: string;\n required: string;\n number: string;\n integer: string;\n url: string;\n email: string;\n ipv6: string;\n ipv4: string;\n idcard: string;\n qq: string;\n phone: string;\n money: string;\n zh: string;\n date: string;\n zip: string;\n len: string;\n min: string;\n minLength: string;\n minItems: string;\n max: string;\n maxLength: string;\n maxItems: string;\n maximum: string;\n exclusiveMaximum: string;\n minimum: string;\n exclusiveMinimum: string;\n whitespace: string;\n enum: string;\n const: string;\n multipleOf: string;\n maxProperties: string;\n minProperties: string;\n uniqueItems: string;\n };\n 'en-US': {\n pattern: string;\n invalid: string;\n required: string;\n number: string;\n integer: string;\n url: string;\n email: string;\n ipv6: string;\n ipv4: string;\n idcard: string;\n qq: string;\n phone: string;\n money: string;\n zh: string;\n date: string;\n zip: string;\n len: string;\n min: string;\n minLength: string;\n minItems: string;\n maximum: string;\n exclusiveMaximum: string;\n minimum: string;\n exclusiveMinimum: string;\n max: string;\n maxLength: string;\n maxItems: string;\n whitespace: string;\n enum: string;\n const: string;\n multipleOf: string;\n maxProperties: string;\n minProperties: string;\n uniqueItems: string;\n };\n 'zh-CN': {\n pattern: string;\n invalid: string;\n required: string;\n number: string;\n integer: string;\n url: string;\n email: string;\n ipv6: string;\n ipv4: string;\n idcard: string;\n qq: string;\n phone: string;\n money: string;\n zh: string;\n date: string;\n zip: string;\n len: string;\n min: string;\n minLength: string;\n minItems: string;\n maxLength: string;\n maxItems: string;\n max: string;\n maximum: string;\n exclusiveMaximum: string;\n minimum: string;\n exclusiveMinimum: string;\n whitespace: string;\n enum: string;\n const: string;\n multipleOf: string;\n maxProperties: string;\n minProperties: string;\n uniqueItems: string;\n };\n 'zh-TW': {\n pattern: string;\n invalid: string;\n required: string;\n number: string;\n integer: string;\n url: string;\n email: string;\n ipv6: string;\n ipv4: string;\n idcard: string;\n qq: string;\n phone: string;\n money: string;\n zh: string;\n date: string;\n zip: string;\n len: string;\n min: string;\n minItems: string;\n minLength: string;\n max: string;\n maxItems: string;\n maxLength: string;\n maximum: string;\n exclusiveMaximum: string;\n minimum: string;\n exclusiveMinimum: string;\n whitespace: string;\n enum: string;\n const: string;\n multipleOf: string;\n maxProperties: string;\n minProperties: string;\n uniqueItems: string;\n };\n ja: {\n url: string;\n whitespace: string;\n zh: string;\n zip: string;\n date: string;\n email: string;\n exclusiveMaximum: string;\n exclusiveMinimum: string;\n idcard: string;\n integer: string;\n ipv4: string;\n ipv6: string;\n len: string;\n max: string;\n maxItems: string;\n maxLength: string;\n maximum: string;\n min: string;\n minItems: string;\n minLength: string;\n minimum: string;\n money: string;\n number: string;\n pattern: string;\n invalid: string;\n phone: string;\n qq: string;\n required: string;\n enum: string;\n cons: string;\n multipleOf: string;\n maxProperties: string;\n minProperties: string;\n uniqueItems: string;\n };\n};\nexport default _default;\n}\ndeclare module '@nokecy/formily-validator/__types/parser' {\nimport { ValidatorDescription, ValidatorParsedFunction, Validator, IValidatorRules, IValidatorOptions } from '@nokecy/formily-validator/__types/types';\nexport const parseValidatorDescription: (description: ValidatorDescription) => IValidatorRules;\nexport const parseValidatorDescriptions: <Context = any>(validator: Validator<Context>) => IValidatorRules[];\nexport const parseValidatorRules: (rules?: IValidatorRules) => ValidatorParsedFunction[];\nexport const parseValidator: <Context = any>(validator: Validator<Context>, options?: IValidatorOptions) => ValidatorParsedFunction<Context>[];\n}\ndeclare module '@nokecy/formily-validator/__types/registry' {\nimport { ValidatorFunctionResponse, ValidatorFunction, IRegistryFormats, IRegistryLocales, IRegistryRules } from '@nokecy/formily-validator/__types/types';\nexport const getValidateLocaleIOSCode: (language: string) => any;\nexport const setValidateLanguage: (lang: string) => void;\nexport const getValidateLanguage: () => any;\nexport const getLocaleByPath: (path: string, lang?: string) => any;\nexport const getValidateLocale: (path: string) => any;\nexport const getValidateMessageTemplateEngine: () => any;\nexport const getValidateFormats: (key?: string) => any;\nexport const getValidateRules: <T>(key?: T) => T extends string ? ValidatorFunction : {\n [key: string]: ValidatorFunction;\n};\nexport const registerValidateLocale: (locale: IRegistryLocales) => void;\nexport const registerValidateRules: (rules: IRegistryRules) => void;\nexport const registerValidateFormats: (formats: IRegistryFormats) => void;\nexport const registerValidateMessageTemplateEngine: (template: (message: ValidatorFunctionResponse, context: any) => any) => void;\n}\ndeclare module '@nokecy/formily-validator/__types/rules' {\nimport { IRegistryRules } from '@nokecy/formily-validator/__types/types';\nconst RULES: IRegistryRules;\nexport default RULES;\n}\ndeclare module '@nokecy/formily-validator/__types/template' {\nimport { IValidateResult, IValidatorRules } from '@nokecy/formily-validator/__types/types';\nexport const render: (result: IValidateResult, rules: IValidatorRules) => IValidateResult;\n}\ndeclare module '@nokecy/formily-validator/__types/types' {\nexport type ValidatorFormats = 'url' | 'email' | 'ipv6' | 'ipv4' | 'number' | 'integer' | 'idcard' | 'qq' | 'phone' | 'money' | 'zh' | 'date' | 'zip' | (string & {});\nexport interface IValidateResult {\n type: 'error' | 'warning' | 'success' | (string & {});\n message: string;\n}\nexport interface IValidateResults {\n error?: string[];\n warning?: string[];\n success?: string[];\n}\nexport const isValidateResult: (obj: any) => obj is IValidateResult;\nexport type ValidatorFunctionResponse = null | string | boolean | IValidateResult;\nexport type ValidatorFunction<Context = any> = (value: any, rule: IValidatorRules<Context>, ctx: Context, render: (message: string, scope?: any) => string) => ValidatorFunctionResponse | Promise<ValidatorFunctionResponse> | null;\nexport type ValidatorParsedFunction<Context = any> = (value: any, ctx: Context) => IValidateResult | Promise<IValidateResult> | null;\nexport type ValidatorTriggerType = 'onInput' | 'onFocus' | 'onBlur' | (string & {});\nexport interface IValidatorRules<Context = any> {\n triggerType?: ValidatorTriggerType;\n format?: ValidatorFormats;\n validator?: ValidatorFunction<Context>;\n required?: boolean;\n pattern?: RegExp | string;\n max?: number;\n maximum?: number;\n maxItems?: number;\n minItems?: number;\n maxLength?: number;\n minLength?: number;\n exclusiveMaximum?: number;\n exclusiveMinimum?: number;\n minimum?: number;\n min?: number;\n len?: number;\n whitespace?: boolean;\n enum?: any[];\n const?: any;\n multipleOf?: number;\n uniqueItems?: boolean;\n maxProperties?: number;\n minProperties?: number;\n message?: string;\n [key: string]: any;\n}\nexport interface IRegistryLocaleMessages {\n [key: string]: string | IRegistryLocaleMessages;\n}\nexport interface IRegistryLocales {\n [language: string]: IRegistryLocaleMessages;\n}\nexport interface IRegistryRules<Context = any> {\n [key: string]: ValidatorFunction<Context>;\n}\nexport interface IRegistryFormats {\n [key: string]: string | RegExp;\n}\nexport type ValidatorDescription<Context = any> = ValidatorFormats | ValidatorFunction<Context> | IValidatorRules<Context>;\nexport type MultiValidator<Context = any> = ValidatorDescription<Context>[];\nexport type Validator<Context = any> = ValidatorDescription<Context> | MultiValidator<Context>;\nexport interface IValidatorOptions<Context = any> {\n validateFirst?: boolean;\n triggerType?: ValidatorTriggerType;\n context?: Context;\n}\n}\ndeclare module '@nokecy/formily-validator/__types/validator' {\nimport { IValidateResults, Validator, IValidatorOptions } from '@nokecy/formily-validator/__types/types';\nexport const validate: <Context = any>(value: any, validator: Validator<Context>, options?: IValidatorOptions<Context>) => Promise<IValidateResults>;\n}\ndeclare module '@nokecy/formily-path' {\n export * from '@nokecy/formily-path/__types/index'\n}\ndeclare module '@nokecy/formily-path/__types/contexts' {\nexport type Context = {\n flag: string;\n [key: string]: any;\n};\nexport const bracketContext: Context;\nexport const bracketArrayContext: Context;\nexport const bracketDContext: Context;\nexport const parenContext: Context;\nexport const braceContext: Context;\nexport const destructorContext: Context;\n}\ndeclare module '@nokecy/formily-path/__types/destructor' {\nimport { Segments, Node, DestructorRules } from '@nokecy/formily-path/__types/types';\ntype Mutators = {\n getIn: (segments: Segments, source: any) => any;\n setIn: (segments: Segments, source: any, value: any) => void;\n deleteIn?: (segments: Segments, source: any) => any;\n existIn?: (segments: Segments, source: any, start: number) => boolean;\n};\nexport const getDestructor: (source: string) => any;\nexport const setDestructor: (source: string, rules: DestructorRules) => void;\nexport const parseDestructorRules: (node: Node) => DestructorRules;\nexport const setInByDestructor: (source: any, rules: DestructorRules, value: any, mutators: Mutators) => void;\nexport const getInByDestructor: (source: any, rules: DestructorRules, mutators: Mutators) => {};\nexport const deleteInByDestructor: (source: any, rules: DestructorRules, mutators: Mutators) => void;\nexport const existInByDestructor: (source: any, rules: DestructorRules, start: number, mutators: Mutators) => boolean;\nexport {};\n}\ndeclare module '@nokecy/formily-path/__types/index' {\nimport { Segments, Node, Pattern } from '@nokecy/formily-path/__types/types';\nconst isMatcher: unique symbol;\nexport class Path {\n entire: string | RegExp;\n segments: Segments;\n isMatchPattern: boolean;\n isWildMatchPattern: boolean;\n isRegExp: boolean;\n haveRelativePattern: boolean;\n haveExcludePattern: boolean;\n matchScore: number;\n tree: Node;\n private matchCache;\n private includesCache;\n constructor(input: Pattern, base?: Pattern);\n toString(): string;\n toArr(): (string | number)[];\n get length(): number;\n concat: (...args: Pattern[]) => Path;\n slice: (start?: number, end?: number) => Path;\n push: (...items: Pattern[]) => Path;\n pop: () => Path;\n splice: (start: number, deleteCount?: number, ...items: Array<string | number>) => Path;\n forEach: (callback: (key: string | number) => any) => void;\n map: (callback: (key: string | number) => any) => any[];\n reduce: <T>(callback: (buf: T, item: string | number, index: number) => T, initial: T) => T;\n parent: () => Path;\n includes: (pattern: Pattern) => any;\n transform: <T>(regexp: string | RegExp, callback: (...args: string[]) => T) => T | string;\n match: (pattern: Pattern) => boolean;\n matchAliasGroup: (name: Pattern, alias: Pattern) => boolean;\n existIn: (source?: any, start?: number | Path) => any;\n getIn: (source?: any) => any;\n setIn: (source?: any, value?: any) => any;\n deleteIn: (source?: any) => any;\n ensureIn: (source?: any, defaults?: any) => any;\n static match(pattern: Pattern): {\n (target: any): boolean;\n path: Path;\n [isMatcher]: boolean;\n };\n static isPathPattern(target: any): target is Pattern;\n static transform<T>(pattern: Pattern, regexp: string | RegExp, callback: (...args: string[]) => T): any;\n static parse(path?: Pattern, base?: Pattern): Path;\n static getIn: (source: any, pattern: Pattern) => any;\n static setIn: (source: any, pattern: Pattern, value: any) => any;\n static deleteIn: (source: any, pattern: Pattern) => any;\n static existIn: (source: any, pattern: Pattern, start?: number | Path) => any;\n static ensureIn: (source: any, pattern: Pattern, defaultValue?: any) => any;\n}\nexport { Pattern };\n}\ndeclare module '@nokecy/formily-path/__types/matcher' {\nimport { Segments, Node, IdentifierNode, IgnoreExpressionNode, DestructorExpressionNode, ExpandOperatorNode, WildcardOperatorNode, GroupExpressionNode, RangeExpressionNode } from '@nokecy/formily-path/__types/types';\nexport interface IRecord {\n score: number;\n}\nexport class Matcher {\n private tree;\n private stack;\n private record;\n private excluding;\n private wildcards;\n private path;\n constructor(tree: Node, record?: any);\n next(node: Node, pos: number): any;\n shot(): void;\n take(pos: number): string;\n matchExcludeIdentifier(matched: boolean, node: Node, pos: number): any;\n matchIdentifier(node: IdentifierNode, pos: number): any;\n matchIgnoreExpression(node: IgnoreExpressionNode, pos: number): any;\n matchDestructorExpression(node: DestructorExpressionNode, pos: number): any;\n matchExpandOperator(node: ExpandOperatorNode, pos: number): any;\n matchWildcardOperator(node: WildcardOperatorNode, pos: number): any;\n matchGroupExpression(node: GroupExpressionNode, pos: number): any;\n matchRangeExpression(node: RangeExpressionNode, pos: number): any;\n matchNode(node: Node, pos?: number): any;\n match(path: Segments): {\n matched: any;\n record: IRecord;\n };\n static matchSegments(source: Segments, target: Segments, record?: any): {\n matched: any;\n record: any;\n };\n}\n}\ndeclare module '@nokecy/formily-path/__types/parser' {\nimport { Tokenizer } from '@nokecy/formily-path/__types/tokenizer';\nimport { Token } from '@nokecy/formily-path/__types/tokens';\nimport { IdentifierNode, ExpandOperatorNode, WildcardOperatorNode, RangeExpressionNode, GroupExpressionNode, IgnoreExpressionNode, DestructorExpressionNode, ObjectPatternNode, ObjectPatternPropertyNode, ArrayPatternNode, Node, Segments } from '@nokecy/formily-path/__types/types';\nimport { Path } from '@nokecy/formily-path/__types/index';\nexport class Parser extends Tokenizer {\n isMatchPattern: boolean;\n isWildMatchPattern: boolean;\n haveExcludePattern: boolean;\n haveRelativePattern: boolean;\n base: Path;\n relative: string | number;\n data: {\n segments: Segments;\n tree?: Node;\n };\n constructor(input: string, base?: Path);\n parse(): Node;\n append(parent: Node, node: Node): void;\n parseAtom(type: Token): Node;\n pushSegments(key: string | number): void;\n parseIdentifier(): IdentifierNode;\n parseExpandOperator(): ExpandOperatorNode;\n parseWildcardOperator(): WildcardOperatorNode;\n parseDestructorExpression(): DestructorExpressionNode;\n parseArrayPattern(): ArrayPatternNode;\n parseArrayPatternElements(): any[];\n parseObjectPattern(): ObjectPatternNode;\n parseObjectProperties(): ObjectPatternPropertyNode[];\n parseDotOperator(): Node;\n parseIgnoreExpression(): IgnoreExpressionNode;\n parseGroupExpression(parent: Node): GroupExpressionNode;\n parseRangeExpression(parent: Node): RangeExpressionNode;\n}\n}\ndeclare module '@nokecy/formily-path/__types/shared' {\nexport const isFn: (obj: unknown) => obj is (...args: any[]) => any;\nexport const isArr: (arg: any) => arg is any[];\nexport const isPlainObj: (obj: unknown) => obj is object;\nexport const isStr: (obj: unknown) => obj is string;\nexport const isBool: (obj: unknown) => obj is boolean;\nexport const isNum: (obj: unknown) => obj is number;\nexport const isObj: (val: unknown) => val is object;\nexport const isRegExp: (obj: unknown) => obj is RegExp;\nexport const isNumberLike: (t: any) => boolean;\nexport const toArr: <T>(val: T | T[]) => T[];\nexport const isAssignable: (val: any) => boolean;\nexport const isEqual: (a: any, b: any) => boolean;\nexport const isSegmentEqual: (a: any, b: any) => boolean;\n}\ndeclare module '@nokecy/formily-path/__types/tokenizer' {\nimport { Token } from '@nokecy/formily-path/__types/tokens';\nimport { Context } from '@nokecy/formily-path/__types/contexts';\nexport class Tokenizer {\n input: string;\n state: {\n context: Context[];\n type: Token;\n pos: number;\n value?: any;\n };\n type_: Token;\n constructor(input: string);\n curContext(): Context;\n includesContext(context: Context): boolean;\n unexpect(type?: Token): Error;\n expectNext(type?: Token, next?: Token): void;\n expectPrev(type?: Token, prev?: Token): void;\n match(type?: Token): boolean;\n skipSpace(): void;\n next(): void;\n getCode(pos?: number): number;\n eat(type: any): boolean;\n readKeyWord(): void;\n readIgnoreString(): void;\n finishToken(type: Token, value?: any): void;\n readToken(code: number, prevCode: number): void;\n}\n}\ndeclare module '@nokecy/formily-path/__types/tokens' {\ninterface ITokenProps {\n expectNext?: (next?: Token) => boolean;\n expectPrev?: (prev?: Token) => boolean;\n updateContext?: (prev?: Token) => void;\n}\nexport type Token = ITokenProps & {\n flag: string;\n};\nexport const nameTok: Token;\nexport const starTok: Token;\nexport const dbStarTok: Token;\nexport const dotTok: Token;\nexport const bangTok: Token;\nexport const colonTok: Token;\nexport const braceLTok: Token;\nexport const braceRTok: Token;\nexport const bracketLTok: Token;\nexport const bracketRTok: Token;\nexport const bracketDLTok: Token;\nexport const bracketDRTok: Token;\nexport const parenLTok: Token;\nexport const parenRTok: Token;\nexport const commaTok: Token;\nexport const ignoreTok: Token;\nexport const expandTok: Token;\nexport const eofTok: Token;\nexport {};\n}\ndeclare module '@nokecy/formily-path/__types/types' {\nimport { Path } from '@nokecy/formily-path/__types/index';\ninterface INode {\n type?: string;\n after?: Node;\n depth?: number;\n}\nexport type Node = IdentifierNode | WildcardOperatorNode | GroupExpressionNode | RangeExpressionNode | DestructorExpressionNode | ObjectPatternNode | ArrayPatternNode | DotOperatorNode | ExpandOperatorNode | INode;\nexport type IdentifierNode = {\n type: 'Identifier';\n value: string;\n arrayIndex?: boolean;\n} & INode;\nexport type IgnoreExpressionNode = {\n type: 'IgnoreExpression';\n value: string;\n} & INode;\nexport type DotOperatorNode = {\n type: 'DotOperator';\n} & INode;\nexport type WildcardOperatorNode = {\n type: 'WildcardOperator';\n filter?: GroupExpressionNode | RangeExpressionNode;\n optional?: boolean;\n} & INode;\nexport type ExpandOperatorNode = {\n type: 'ExpandOperator';\n} & INode;\nexport type GroupExpressionNode = {\n type: 'GroupExpression';\n value: Node[];\n isExclude?: boolean;\n} & INode;\nexport type RangeExpressionNode = {\n type: 'RangeExpression';\n start?: IdentifierNode;\n end?: IdentifierNode;\n} & INode;\nexport type DestructorExpressionNode = {\n type: 'DestructorExpression';\n value?: ObjectPatternNode | ArrayPatternNode;\n source?: string;\n} & INode;\nexport type ObjectPatternNode = {\n type: 'ObjectPattern';\n properties: ObjectPatternPropertyNode[];\n} & INode;\nexport type ObjectPatternPropertyNode = {\n type: 'ObjectPatternProperty';\n key: IdentifierNode;\n value?: ObjectPatternNode[] | ArrayPatternNode[] | IdentifierNode;\n} & INode;\nexport type ArrayPatternNode = {\n type: 'ArrayPattern';\n elements: ObjectPatternNode[] | ArrayPatternNode[] | IdentifierNode[];\n} & INode;\nexport type DestructorRule = {\n key?: string | number;\n path?: Array<number | string>;\n};\nexport type MatcherFunction = ((path: Segments) => boolean) & {\n path: Path;\n};\nexport type Pattern = string | number | Path | Segments | MatcherFunction | RegExp;\nexport type DestructorRules = DestructorRule[];\nexport type Segments = Array<string | number>;\nexport const isType: <T>(type: string) => (obj: any) => obj is T;\nexport const isIdentifier: (obj: any) => obj is IdentifierNode;\nexport const isIgnoreExpression: (obj: any) => obj is IgnoreExpressionNode;\nexport const isDotOperator: (obj: any) => obj is DotOperatorNode;\nexport const isWildcardOperator: (obj: any) => obj is WildcardOperatorNode;\nexport const isExpandOperator: (obj: any) => obj is ExpandOperatorNode;\nexport const isGroupExpression: (obj: any) => obj is GroupExpressionNode;\nexport const isRangeExpression: (obj: any) => obj is RangeExpressionNode;\nexport const isDestructorExpression: (obj: any) => obj is DestructorExpressionNode;\nexport const isObjectPattern: (obj: any) => obj is ObjectPatternNode;\nexport const isObjectPatternProperty: (obj: any) => obj is ObjectPatternPropertyNode;\nexport const isArrayPattern: (obj: any) => obj is ArrayPatternNode;\nexport type KeyType = string | number | symbol;\nexport type IAccessors = {\n get?: (source: any, key: KeyType) => any;\n set?: (source: any, key: KeyType, value: any) => any;\n has?: (source: any, key: KeyType) => boolean;\n delete?: (source: any, key: KeyType) => any;\n};\nexport type IRegistry = {\n accessors?: IAccessors;\n};\nexport {};\n}";