@schemx/vue 1.0.0-next.0 → 1.0.0-next.2

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 (48) hide show
  1. package/README.md +172 -129
  2. package/dist/analyze.html +1 -1
  3. package/dist/components/Button/index.d.ts +3 -0
  4. package/dist/components/Button/index.d.ts.map +1 -0
  5. package/dist/components/Button/types.d.ts +21 -0
  6. package/dist/components/Button/types.d.ts.map +1 -0
  7. package/dist/components/FormItem/index.d.ts +5 -6
  8. package/dist/components/FormItem/index.d.ts.map +1 -1
  9. package/dist/components/FormItem/slot.d.ts +48 -0
  10. package/dist/components/FormItem/slot.d.ts.map +1 -0
  11. package/dist/config/appConfig.d.ts.map +1 -1
  12. package/dist/form.d.ts.map +1 -1
  13. package/dist/formBridge.d.ts +188 -0
  14. package/dist/formBridge.d.ts.map +1 -0
  15. package/dist/hocs/withRemoteOptions.d.ts.map +1 -1
  16. package/dist/hooks/index.d.ts +4 -2
  17. package/dist/hooks/index.d.ts.map +1 -1
  18. package/dist/hooks/provideFormConfigContext.d.ts +3 -4
  19. package/dist/hooks/provideFormConfigContext.d.ts.map +1 -1
  20. package/dist/hooks/provideFormContext.d.ts +7 -4
  21. package/dist/hooks/provideFormContext.d.ts.map +1 -1
  22. package/dist/hooks/useField.d.ts +4 -30
  23. package/dist/hooks/useField.d.ts.map +1 -1
  24. package/dist/hooks/useForm.d.ts +3 -2
  25. package/dist/hooks/useForm.d.ts.map +1 -1
  26. package/dist/hooks/useFormSelector.d.ts +38 -0
  27. package/dist/hooks/useFormSelector.d.ts.map +1 -0
  28. package/dist/hooks/useViewSchemas.d.ts +23 -3
  29. package/dist/hooks/useViewSchemas.d.ts.map +1 -1
  30. package/dist/hooks/useWatch.d.ts.map +1 -1
  31. package/dist/index.cjs +1 -1
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.d.ts +2 -0
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.mjs +807 -224
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/style.css +1 -1
  38. package/dist/types/dictionary.d.ts +6 -3
  39. package/dist/types/dictionary.d.ts.map +1 -1
  40. package/dist/types/field.d.ts +1 -1
  41. package/dist/types/form.d.ts +34 -2
  42. package/dist/types/form.d.ts.map +1 -1
  43. package/dist/utils/helpers.d.ts.map +1 -1
  44. package/dist/utils/rendererProvider.d.ts +2 -1
  45. package/dist/utils/rendererProvider.d.ts.map +1 -1
  46. package/package.json +8 -6
  47. package/dist/hooks/useEffect.d.ts +0 -33
  48. package/dist/hooks/useEffect.d.ts.map +0 -1
package/README.md CHANGED
@@ -79,10 +79,11 @@ console.log(Schemx === schemxForm) // true
79
79
 
80
80
  | Prop | 类型 | 默认值 | 说明 |
81
81
  | ------------------------ | ------------------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
82
- | `schemas` | `SchemxField<T>[]` | `[]` | 表单 Schema。类型层要求传入,运行时缺省为空数组 |
82
+ | `schemas` | `SchemxSchemasInput<T>` | `[]` | 表单 Schema;可传字段数组或 `createSchemas()` 返回的 Schema source,运行时缺省为空数组 |
83
83
  | `modelValue` | `T` | `{}` | `v-model` 的输入端;非空值参与初始快照,后续替换会同步到内部表单,字段变化会通过 `update:modelValue` 输出 |
84
84
  | `initialValues` | `T` | `{}` | 创建内部表单时的初始值,也是 `reset()` 的还原基准 |
85
85
  | `form` | `SchemxInstance<T>` | `undefined` | 外部表单实例;传入后组件不再创建实例,但仍会提供 Vue 上下文并同步 `schemas`;组件级回调不会写入该实例,`v-model` 仍监听实例变化 |
86
+ | `rendererProps` | `SchemxRendererPropsMap<T>` | `undefined` | 按 Renderer 类型设置静态默认 Props;字段 `componentProps` 与 Runtime 注入值优先 |
86
87
  | `rendererRegistry` | `RendererRegistry` | 全局 `rendererRegistry` | 当前表单使用的 Renderer Registry |
87
88
  | `defaultRendererType` | `SchemxRendererKey` | `undefined` | 创建内部表单且未传 `rendererRegistry` 时的默认 Renderer 类型;Vue 全局 Registry 存在时由该 Registry 的 fallback 决定 |
88
89
  | `validationRuleRegistry` | `ValidationRuleRegistry` | 全局 `validationRuleRegistry` | 当前表单使用的校验规则 Registry |
@@ -100,9 +101,13 @@ console.log(Schemx === schemxForm) // true
100
101
  | `colon` | `boolean` | `undefined` | 表单级标签冒号默认值;字段自身配置优先,均未配置时为 `true` |
101
102
  | `onFinish` | `(values: Readonly<T>) => void \| Promise<void>` | `undefined` | `submit()` 校验通过后的回调 Prop |
102
103
  | `onFinishFailed` | `(failure: ValidationFailure<T>) => void` | `undefined` | `submit()` 校验失败后的回调 Prop |
104
+ | `onReset` | `() => void` | `undefined` | 内部表单完整 `reset()` 完成后的回调;不在 `resetFields()` 后触发 |
105
+ | `onLoadingChange` | `(loading: boolean) => void` | `undefined` | 内部表单提交开始和结束时的回调 |
103
106
  | `onValuesChange` | `(changedValues, latestSnapshot) => void` | `undefined` | 字段值变化后的回调 Prop |
104
107
  | `onFieldsChange` | `(changedFields, allFields) => void` | `undefined` | 字段路径变化后的回调 Prop |
105
108
  | `onRuleError` | `CreateValidatorOptions<T>["onRuleError"]` | `undefined` | 规则解析异常回调;内部创建实例时当前不会透传,需在外部 `form` 实例上配置 |
109
+ | `loading` | `boolean` | `undefined` | 覆盖内置操作区显示的提交状态,不改变 Core 的真实提交状态 |
110
+ | `submitter` / `resetter` | `boolean \| SchemxFormActionConfig` | `true` | 控制内置提交 / 重置按钮;设为 `false` 隐藏,配置可设置 `text` 和 `buttonProps` |
106
111
  | `class` | `string` | `""` | 添加到根 `.schemx` 元素的类名 |
107
112
  | `style` | `StyleValue` | `{}` | 绑定到根 `.schemx` 元素 |
108
113
 
@@ -118,6 +123,7 @@ console.log(Schemx === schemxForm) // true
118
123
  - 外部替换 `modelValue` 后,组件会调用 `setFieldsValue()` 同步内部表单。
119
124
  - 内部或外部 `form` 的字段变化都会发出 `update:modelValue`,值为最新表单快照;同步来自 `modelValue` 的变化不会重复发出该事件。
120
125
  - 传入外部 `form` 时,组件级 `onFinish`、`onFinishFailed`、`onValuesChange` 和 `onFieldsChange` 不会重新配置该实例;这些回调应在创建外部实例时配置。
126
+ - 传入外部 `form` 时,`onReset` 与 `onLoadingChange` 同样不会重新配置该实例;请在创建该实例时传入回调。
121
127
  - `onFinish`、`onFinishFailed`、`onValuesChange` 和 `onFieldsChange` 是声明过的回调 Props,不在 `defineEmits` 的事件列表中。模板中的 `@finish` 等写法会按 Vue listener Prop 规则映射到这些 Props,但 TypeScript 用户更适合显式传回调。
122
128
 
123
129
  内部表单模式还存在一个 `onFinish` 等待边界:组件传给 core 的包装函数会调用 `props.onFinish(values)`,但没有 `return` 或 `await` 其返回值。因此 `submit()` 只等待这层立即完成的包装 Promise,不等待业务 `onFinish` 返回的异步任务;该任务后续 reject 也不会沿 `submit()` 传播。业务回调若在返回 Promise 前同步抛错,包装函数会转为 rejected Promise,core 的 `submit()` 仍会收到该拒绝。传入外部 `form` 时组件不会安装这层包装,等待和错误传播完全取决于外部实例创建者配置的回调;core `createForm()` 本身会 `await` 直接传给它的 `onFinish`。
@@ -141,6 +147,8 @@ console.log(Schemx === schemxForm) // true
141
147
  | `{name}Content` | 当前字段 Schema 字段及 `columnElement` | 替换控件内容区域;`columnElement` 是已经创建的 Renderer VNode;同一数组路径当前对应 `user,nameContent` |
142
148
  | `{name}Error` | 当前字段 Schema 字段及 `errors` | 替换错误区域;同一数组路径当前对应 `user,nameError` |
143
149
  | `{name}:{slotName}` | 原样传给 Renderer | 去掉 `{name}:` 前缀后作为 Renderer 命名 Slot;同一数组路径的前缀为 `user.name:`,例如 `user.name:prefix` |
150
+ | `submitter` | `{ form, loading, disabled, submit }` | 替换内置提交按钮。 |
151
+ | `resetter` | `{ form, loading, disabled, reset }` | 替换内置重置按钮。 |
144
152
 
145
153
  字段名和 `Label` / `Content` / `Error` 组合支持 camelCase 与 kebab-case 互查。子 Renderer Slot 的字段名前缀也支持这两种形式。
146
154
 
@@ -160,6 +168,18 @@ console.log(Schemx === schemxForm) // true
160
168
  </Schemx>
161
169
  ```
162
170
 
171
+ ### `Button`
172
+
173
+ 根入口导出独立的 `Button` 组件及 `SchemxButtonProps`、`SchemxButtonSize` 类型。它支持原生按钮属性、`loading`、`loadingText`、`disabled` 与 `size`(`small`、`medium`、`large`);加载时会自动禁用按钮并设置 `aria-busy`。`prefix`、默认与 `suffix` 插槽依次渲染,`loadingText` 仅替换默认插槽内容。
174
+
175
+ ```vue
176
+ <Button :loading="saving" loading-text="保存中" size="small">
177
+ <template #prefix>✓</template>
178
+ 保存
179
+ <template #suffix>→</template>
180
+ </Button>
181
+ ```
182
+
163
183
  ### 组件 ref 暴露实例
164
184
 
165
185
  组件通过 `defineExpose` 暴露传入或内部创建的完整 `SchemxInstance<T>`。该接口当前共有 41 个成员:
@@ -699,9 +719,10 @@ componentProps: {
699
719
  | `useWatchFields()` | 监听多个字段 |
700
720
  | `useWatchAll()` | 监听整张表单 |
701
721
  | `useDictionary()` | 管理依赖字段的函数式选项来源 |
702
- | `useEffect()` | 创建字段依赖追踪 effect,并在组件 `onUnmounted` 时清理 |
703
722
  | `useStableRef()` | 创建引用保持稳定的 `shallowRef` |
704
723
  | `useViewSchemas()` | 把 `subscribeViewSchemas()` 桥接为 Vue `shallowRef` |
724
+ | `useFormSelector()` | 从共享表单值 Bridge 派生只读 Vue Ref |
725
+ | `getCoreForm()` | 从 Vue Facade 取得原始 Core Form |
705
726
 
706
727
  `useForm()` 只负责创建和销毁实例。如需让自定义组件树中的 `useField()`、`useDictionary()` 或 `FormItem` 找到实例,Provider 必须在 `setup()` 的同步调用栈中调用 `createFormContext(form)`;展示层还应调用 `createFormConfigContext({ schemaConfig })`。直接使用 `<Schemx>` 时,这两种上下文已经由组件提供。
707
728
 
@@ -714,10 +735,10 @@ componentProps: {
714
735
  ```ts
715
736
  function useForm<TValues extends Values = Values>(
716
737
  options?: CreateFormOptions<TValues, NamePath<TValues>>
717
- ): SchemxInstance<TValues>
738
+ ): VueSchemxInstance<TValues>
718
739
  ```
719
740
 
720
- 源码中参数类型名为 `UseFormOptions<TValues>`,结构等同上面的 `CreateFormOptions`;`UseFormOptions` 未从根入口导出。`options` 可选,未传 Registry 时使用 Vue 全局 `rendererRegistry` 和 `validationRuleRegistry`。函数同步返回 `SchemxInstance<TValues>`,不读取 Context,也**不会自动 `provide`**;当前 Vue effect scope 销毁时会调用 `form.destroy()`。非 Vue scope 场景应改用 Core `createForm()` 并自行销毁。
741
+ 源码中参数类型名为 `UseFormOptions<TValues>`,结构等同上面的 `CreateFormOptions`;`UseFormOptions` 未从根入口导出。`options` 可选,未传 Registry 时使用 Vue 全局 `rendererRegistry` 和 `validationRuleRegistry`。函数同步返回 `VueSchemxInstance<TValues>`:它与 `SchemxInstance<TValues>` 结构兼容,但 `getFieldValue()`、`getFieldErrors()`、`isFieldTouched()`、`isFieldPending()`、`getFieldsValue()` 和聚合状态读取可被 Vue effect 追踪。需要原始 Core 实例时使用 `getCoreForm(form)`。`useForm()` 不读取 Context,也**不会自动 `provide`**;当前 Vue effect scope 销毁时会释放 Bridge 并销毁 Form。非 Vue scope 场景应改用 Core `createForm()` 并自行销毁。
721
742
 
722
743
  ```ts
723
744
  import { createFormContext, useForm } from "@schemx/vue"
@@ -731,6 +752,12 @@ createFormContext(form)
731
752
 
732
753
  `useForm()` 除了补全 Vue 全局 Registry 外,会把 Core options 原样传给 `createForm()`。因此直接调用时,`modelValue` 会按 Core 规则覆盖同名 `initialValues` 并形成初始快照,`submit()` 也会等待直接传入的 `onFinish` Promise。前文 `modelValue` 不初始化、不持续反向同步,以及 `onFinish` Promise 不被等待的限制,只属于 `<Schemx>` 内部创建实例时的 Props 转换与回调包装,不属于 `useForm()` 本身。`defaultRendererType` 仍会受全局 Renderer Registry 已被补全的影响,见前文说明。
733
754
 
755
+ ### Vue Facade 与共享 Bridge
756
+
757
+ 同一 Core Form 始终复用一个 Facade;Vue Bridge 按需创建,并在存活期间由各个 Vue owner 共享。Facade 的写入、校验、提交、Schema 与 Registry 方法都委托原始 Core Form;仅常用状态读取会额外建立 Vue 依赖。`getFieldsValue()` 无参数时依赖全表值,传入路径时仅依赖这些字段。`getFieldSnapshot()`、`getFieldsSnapshot()`、`getInitialValue()` 与 `getInitialValues()` 保持 Core 的无依赖快照语义。
758
+
759
+ `useFormSelector()` 和 `useField()` 复用这个 Bridge;前者返回 selector 结果的只读 Ref,后者复用字段 `value`、`errors`、`touched` 和 `pending` Ref。最后一个 Vue owner 释放或手动调用 `form.destroy()` 后,Bridge 会停止订阅并释放 Core External Store。
760
+
734
761
  ### 3 组 Context API
735
762
 
736
763
  3 组 Reader 都要求 Context 存在,没有可选读取模式或默认值。`create*Context()` 必须在 Provider 组件的 `setup()` 同步阶段调用,且只对后代可见;`use*Context()` 仅读取最近祖先提供的值。
@@ -738,8 +765,8 @@ createFormContext(form)
738
765
  ```ts
739
766
  function createFormContext<TValues extends Values = Values>(
740
767
  instance: SchemxInstance<TValues>
741
- ): void
742
- function useFormContext<TValues extends Values = Values>(): SchemxInstance<TValues>
768
+ ): VueSchemxInstance<TValues>
769
+ function useFormContext<TValues extends Values = Values>(): VueSchemxInstance<TValues>
743
770
 
744
771
  function createFieldContext<TValues extends Values = Values>(
745
772
  field: FieldInstance<TValues>
@@ -756,7 +783,7 @@ function useFormConfigContext(): FormContextProps
756
783
 
757
784
  | Provider 签名 | Reader 签名 | 职责、所有权与缺失行为 |
758
785
  | ------------------------------------------------------------------ | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
759
- | `createFormContext<T>(form: SchemxInstance<T>): void` | `useFormContext<T>(): SchemxInstance<T>` | 提供 / 读取表单实例。Provider 不创建、不销毁实例;缺失时 Reader 抛出带 `createFormContext(form)` 指引的 `Error`。 |
786
+ | `createFormContext<T>(form: SchemxInstance<T>): VueSchemxInstance<T>` | `useFormContext<T>(): VueSchemxInstance<T>` | Core Form 或已有 Facade 归一化后提供 / 读取。Provider 只持有 Bridge,不销毁外部 Core Form;缺失时 Reader 抛出带 `createFormContext(form)` 指引的 `Error`。 |
760
787
  | `createFieldContext<TValues extends Values = Values>(field): void` | `useFieldContext(): FieldInstance<Values>` | 提供 / 读取 `useField()` 返回的字段控制器。Provider 不创建字段、不接管订阅;缺失时 Reader 抛出指向 `createFieldContext(field)` 的 `Error`。 |
761
788
  | `createFormConfigContext<T>(props: FormContextProps<T>): void` | `useFormConfigContext(): FormContextProps` | 提供 / 读取表单展示配置。Provider 不复制、不更新传入对象;缺失时 Reader 抛出带 `createFormConfigContext(props)` 指引的 `Error`。 |
762
789
 
@@ -804,9 +831,9 @@ function useField<TValues extends Values = Values>(
804
831
  ): FieldInstance<TValues>
805
832
  ```
806
833
 
807
- Hook 从 `useFormContext()` 取得表单,为 `name` 创建 Core 字段控制器,再用 Vue Ref 桥接状态。它保留 Core `SchemxFieldInstance` 的全部成员,并增加 `value: Ref<FieldValue<...> | undefined>`、`errors: ComputedRef<readonly string[]>`、`dirty: ComputedRef<boolean>` 与 `pending: ComputedRef<boolean>`;`dirty` 实际读取 Core `isTouched()`。只有 `value` 可通过 `.value` 写入,其余三个 computed 状态只读。`getValue()` 被覆盖为读取 `value.value`。Core 方法的完整签名见 [Core 单字段控制器](../core#单字段控制器)。
834
+ Hook 从 `useFormContext()` 取得 Facade,为 `name` 创建 Core 字段控制器,并复用共享 Vue Field Bridge。它保留 Core `SchemxFieldInstance` 的全部成员,并增加 `value: Ref<FieldValue<...> | undefined>`、`errors: ComputedRef<readonly string[]>`、`dirty: ComputedRef<boolean>` 与 `pending: ComputedRef<boolean>`;`dirty` 读取字段 touched Ref。`getValue()`、`getErrors()`、`isTouched()` `isPending()` 都读取对应 Vue Ref,`getValues()` 则通过 Facade 读取全表值。只有 `value` 可通过 `.value` 写入,其余三个 computed 状态只读。Core 方法的完整签名见 [Core 单字段控制器](../core#单字段控制器)。
808
835
 
809
- `useField()` 的缓存第 1 层按 `form` 实例引用区分,第 2 层直接以传入的 `name` 作为 `Map` key。因此字符串路径按相同字符串值共享桥接订阅;数组 `NamePath` 只在复用同一数组引用时共享,内容相同但新建的数组会生成不同缓存条目。共享条目使用引用计数:组件卸载时计数减 1,归零后取消 effect 并移除缓存。`FieldInstance` 可从 `@schemx/vue` 根入口导入;不需要依赖深层路径。
836
+ `useField()` 不缓存字段控制器对象;每次调用只创建轻量的 Core 控制器包装,并复用当前 Form Bridge 中按 Field External Store 身份缓存的字段 Ref。Bridge 以公开 `NamePath` 规范化结果复用字段;当前公开类型仅支持字符串路径。Form Bridge 由 `useForm()`、Form Context `useFormSelector()` Vue owner 的引用计数持有,最后一个 owner 释放或手动销毁后停止订阅。`FieldInstance` 可从 `@schemx/vue` 根入口导入;不需要依赖深层路径。
810
837
 
811
838
  ```ts
812
839
  import { createFieldContext, useField } from "@schemx/vue"
@@ -897,22 +924,6 @@ stop()
897
924
 
898
925
  签名为 `useDictionary<TValues, TName>(options, fieldName?): UseDictionaryReturn`。它通过 `useFormContext()` 取得表单,在 `onMounted` 时按 `immediate` 决定是否加载,并通过 `useWatchFields()` 自动清理依赖订阅。完整参数、返回值、竞态边界与示例见前文 [`useDictionary`](#usedictionary),这里不重复维护第 2 份定义。
899
926
 
900
- ### `useEffect`
901
-
902
- ```ts
903
- function useEffect(callback: EffectCallback): CreateEffectReturn
904
- ```
905
-
906
- `callback` 立即执行并追踪其内读取的 Core reactive value;它可返回 cleanup,在下次重跑前或停止时执行。返回值是 dispose 函数,Hook 在组件卸载时自动调用,也可手动提前调用。它不读取表单 Context,所需实例由 callback 闭包提供。
907
-
908
- ```ts
909
- import { useEffect, useFormContext } from "@schemx/vue"
910
-
911
- const form = useFormContext<{ nickname: string }>()
912
- const stop = useEffect(() => console.log(form.getFieldValue("nickname")))
913
- stop()
914
- ```
915
-
916
927
  ### `useStableRef`
917
928
 
918
929
  ```ts
@@ -1066,6 +1077,7 @@ Vue 根入口自有以下公开类型:
1066
1077
  | 表单组件 | `schemxForm` | 可安装的表单组件;与 `default` 指向同一对象。 |
1067
1078
  | 组件 | `FormItem` | 渲染字段或分组 ViewSchema。 |
1068
1079
  | 组件 | `FormGroup` | 渲染分组 ViewSchema。 |
1080
+ | 组件 | `Button` | 支持 loading、尺寸与前后缀插槽的基础按钮。 |
1069
1081
  | HOC | `WithRemoteOptions` | 为 Renderer 接入 Dictionary。 |
1070
1082
  | Registry | `rendererRegistry` | Vue 全局 Renderer Registry。 |
1071
1083
  | Registry | `validationRuleRegistry` | Vue 全局 ValidationRuleRegistry。 |
@@ -1082,7 +1094,6 @@ Vue 根入口自有以下公开类型:
1082
1094
  | Watch | `useWatchFields` | 多字段 Vue Watch。 |
1083
1095
  | Watch | `useWatchAll` | 全表 Vue Watch。 |
1084
1096
  | Dictionary | `useDictionary` | 管理函数式选项源。 |
1085
- | Effect | `useEffect` | 创建并自动清理 Core effect。 |
1086
1097
  | Vue 响应式 | `useStableRef` | 建立浅比较稳定 Ref。 |
1087
1098
  | ViewSchema | `useViewSchemas` | 桥接 ViewSchemas 为 Ref。 |
1088
1099
  | 默认导出 | `default` | 与 `schemxForm` 严格相等。 |
@@ -1092,115 +1103,147 @@ Vue 根入口自有以下公开类型:
1092
1103
  | Dictionary 类型 | `SchemxWithDictionary` | 为 Props 增加 `dict`。 |
1093
1104
  | Dictionary 类型 | `UseDictionaryReturn` | `useDictionary()` 返回值。 |
1094
1105
  | 表单类型 | `SchemxFormProps<TValues>` | `<Schemx>` 组件 Props 类型。 |
1106
+ | 按钮类型 | `SchemxButtonProps`、`SchemxButtonSize` | `Button` 的 Props 与尺寸类型。 |
1095
1107
  | 字段类型 | `FieldInstance<TValues>` | Vue Ref / Computed 桥接后的字段控制器类型。 |
1096
1108
 
1097
1109
  根入口没有名为 `SchemxForm` 的命名导出。
1098
1110
 
1099
1111
  ### Core 传递运行时值
1100
1112
 
1101
- | 分类 | 导出 | 用途 |
1102
- | ------------- | ------------------------------ | ----------------------------- |
1103
- | 表单 | `createForm` | 创建 Core 表单。 |
1104
- | 字段 | `createField` | 创建 Core 字段控制器。 |
1105
- | Schema source | `createSchemas` | 创建可更新 Schema source。 |
1106
- | Schema source | `isSchemxSchemas` | 判断 Schema source。 |
1107
- | Effect | `createEffect` | 创建 Core effect。 |
1108
- | 配置 | `configureSchemx` | 设置 Core 模块级默认配置。 |
1109
- | 配置 | `getGlobalSchemxConfig` | 读取 Core 模块级默认配置。 |
1110
- | 配置 | `mergeSchemxConfig` | 按优先级纯合并配置。 |
1111
- | 配置 | `resolveSchemxConfig` | 补齐 `schemaConfig` 默认值。 |
1112
- | 配置 | `mergeAndResolveSchemxConfig` | 合并配置并补齐默认值。 |
1113
- | 配置 | `defaultSchemxConfig` | Core 内置字段默认值。 |
1114
- | 配置 | `defaultSchemxConfigKeys` | 当前默认配置 key 集合。 |
1115
- | 配置 | `excludeSchemxConfigKeys` | 不参与字段默认配置的 key。 |
1116
- | 配置 | `schemaConfigKeys` | 兼容旧命名的默认配置 key。 |
1117
- | 配置 | `excludeSchemaConfigKeys` | 兼容旧命名的排除 key|
1118
- | Watch | `createWatch` | 分发 Core Watch |
1119
- | Watch | `createWatchField` | 单字段 Core Watch |
1120
- | Watch | `createWatchFields` | 多字段 Core Watch |
1121
- | Watch | `createWatchAll` | 全表 Core Watch。 |
1122
- | Registry | `createRendererRegistry` | 创建 Renderer Registry |
1123
- | Registry | `createValidationRuleRegistry` | 创建 ValidationRuleRegistry |
1124
- | Validator | `createValidator` | 创建底层 Validator |
1125
- | Schema 守卫 | `isBaseSchema` | 判断原始普通字段。 |
1126
- | Schema 守卫 | `isGroupSchema` | 判断原始 Group |
1127
- | Schema 守卫 | `isDependencySchema` | 判断原始 Dependency |
1128
- | Schema 守卫 | `isBaseResolvedSchema` | 判断解析后普通字段。 |
1129
- | Schema 守卫 | `isGroupResolvedSchema` | 判断解析后 Group。 |
1130
- | 路径 | `getByPath` | 读取嵌套路径。 |
1131
- | 路径 | `setByPath` | 写入嵌套路径。 |
1132
- | 路径 | `collectObjectPathsByLeaf` | 收集叶子路径。 |
1113
+ | 分类 | 导出 | 用途 |
1114
+ | ------------- | ------------------------------ | -------------------------------------------- |
1115
+ | 表单 | `createForm` | 创建 Core 表单。 |
1116
+ | 字段 | `createField` | 创建 Core 字段控制器。 |
1117
+ | Schema source | `createSchemas` | 创建可更新 Schema source。 |
1118
+ | Schema source | `isSchemxSchemas` | 判断 Schema source。 |
1119
+ | Effect | `createSignalEffect` | 创建 Core signal effect。 |
1120
+ | Effect | `runSignalUntracked` | 在不追踪 signal 依赖的上下文中执行函数。 |
1121
+ | Watch | `createSignalWatch` | 监听 signal source 的变化。 |
1122
+ | Watch | `createDebouncedSignalWatch` | 监听 signal source,并提供 debounce 控制器。 |
1123
+ | 配置 | `configureSchemx` | 设置 Core 模块级默认配置。 |
1124
+ | 配置 | `getGlobalSchemxConfig` | 读取 Core 模块级默认配置。 |
1125
+ | 配置 | `mergeSchemxConfig` | 按优先级纯合并配置。 |
1126
+ | 配置 | `resolveSchemxConfig` | 补齐 `schemaConfig` 默认值。 |
1127
+ | 配置 | `mergeAndResolveSchemxConfig` | 合并配置并补齐默认值。 |
1128
+ | 配置 | `defaultSchemxConfig` | Core 内置字段默认值。 |
1129
+ | 配置 | `defaultSchemxConfigKeys` | 当前默认配置 key 集合。 |
1130
+ | 配置 | `excludeSchemxConfigKeys` | 不参与字段默认配置的 key |
1131
+ | 配置 | `schemaConfigKeys` | 兼容旧命名的默认配置 key |
1132
+ | 配置 | `excludeSchemaConfigKeys` | 兼容旧命名的排除 key |
1133
+ | Watch | `createWatch` | 分发 Core Watch。 |
1134
+ | Watch | `createWatchField` | 单字段 Core Watch |
1135
+ | Watch | `createWatchFields` | 多字段 Core Watch |
1136
+ | Watch | `createWatchAll` | 全表 Core Watch |
1137
+ | Registry | `createRendererRegistry` | 创建 Renderer Registry。 |
1138
+ | Registry | `createValidationRuleRegistry` | 创建 ValidationRuleRegistry |
1139
+ | Validator | `createValidator` | 创建底层 Validator |
1140
+ | Schema 守卫 | `isBaseSchema` | 判断原始普通字段。 |
1141
+ | Schema 守卫 | `isGroupSchema` | 判断原始 Group。 |
1142
+ | Schema 守卫 | `isDependencySchema` | 判断原始 Dependency。 |
1143
+ | Schema 守卫 | `isBaseResolvedSchema` | 判断解析后普通字段。 |
1144
+ | Schema 守卫 | `isGroupResolvedSchema` | 判断解析后 Group。 |
1145
+ | 路径 | `getByPath` | 读取嵌套路径。 |
1146
+ | 路径 | `setByPath` | 写入嵌套路径。 |
1147
+ | 路径 | `collectObjectPathsByLeaf` | 收集叶子路径。 |
1133
1148
 
1134
1149
  ### Core 传递类型
1135
1150
 
1136
- | 分类 | 导出 | 用途 |
1137
- | ------------------ | ------------------------------- | ----------------------------------------- |
1138
- | Effect | `CleanupFn` | effect cleanup 函数。 |
1139
- | Effect | `EffectCallback` | effect callback。 |
1140
- | Effect | `CreateEffectReturn` | effect dispose 函数。 |
1141
- | Watch | `CreateWatchOptions` | Watch 选项。 |
1142
- | Watch | `CreateWatchReturn` | Watch 取消函数。 |
1143
- | Watch | `WatchFieldCallback` | 单字段 Watch callback。 |
1144
- | Watch | `WatchFieldsCallback` | 多字段 Watch callback。 |
1145
- | Watch | `WatchAllCallback` | 全表 Watch callback。 |
1146
- | 表单 | `CreateFormOptions` | Core 表单创建选项。 |
1147
- | 表单 | `FormSchemaOptions` | Schema、初始值和 `schemaConfig` 配置。 |
1148
- | 表单 | `FormRegistryOptions` | Renderer、Rule Registry 和 adapter 配置。 |
1149
- | 表单 | `FormCallbackOptions` | 提交、值变化和规则错误回调。 |
1150
- | 表单 | `FormLifecycleOptions` | Runtime 生命周期钩子。 |
1151
- | 表单 | `ResolvedCreateFormOptions` | 已归一化的 Form 创建配置。 |
1152
- | 表单 | `SchemxInstance` | Core 表单实例接口。 |
1153
- | 表单 | `SchemxGlobalContext` | Core 全局字段默认配置。 |
1154
- | 表单 | `SchemxContext` | Core 实例级高级上下文。 |
1155
- | 基础 | `Values` | 表单值基础约束。 |
1156
- | 基础 | `Dynamic` | 静态值或同步 / 异步值函数。 |
1157
- | 路径 | `NamePath` | 类型安全字段路径。 |
1158
- | 路径 | `FieldValue` | 从路径提取字段值。 |
1159
- | 工具类型 | `DeepReadonly` | 深层只读类型。 |
1160
- | 工具类型 | `CSSProperties` | CSS 属性类型。 |
1161
- | Schema source | `SchemxSchemas` | 可更新 Schema source。 |
1162
- | Schema source | `SchemxSchemasInput` | Schema 数组或 source 联合。 |
1163
- | Schema source | `SchemxSchemasListener` | Schema source listener |
1164
- | 字段 | `SchemxFieldInstance` | Core 字段控制器。 |
1165
- | Schema | `SchemxBase` | 普通字段基础接口。 |
1166
- | Schema | `SchemxBaseField` | Renderer key 分布的字段联合。 |
1167
- | Schema | `SchemxGroupField` | 原始 Group Schema。 |
1168
- | Schema | `SchemxDependencyField` | 原始 Dependency Schema。 |
1169
- | Schema | `SchemxField` | 全部原始 Schema 联合。 |
1170
- | Schema | `SchemxResolvedField` | 解析后字段 / Group 联合。 |
1171
- | Schema | `SchemxBaseComponentProps` | Renderer 公共 Props |
1172
- | Schema | `SchemxComponentProps` | Renderer 专属与公共 Props。 |
1173
- | Schema | `SchemxFormItemProps` | 表单项字段配置。 |
1174
- | 扩展 | `SchemxFieldDefinition` | 普通字段声明合并接口。 |
1175
- | 扩展 | `SchemxGroupFieldDefinition` | Group 声明合并接口。 |
1176
- | 依赖 | `SchemxDependencies` | 字段动态依赖配置。 |
1177
- | 依赖 | `SchemxContainerDependencies` | Group/Dependency 容器动态状态配置。 |
1178
- | 依赖 | `SchemxConditionFn` | 动态属性条件函数。 |
1179
- | 依赖 | `SchemxDependenciesStaticProps` | 依赖函数静态返回值映射。 |
1180
- | ViewSchema | `SchemxViewDebugMeta` | ViewSchema 诊断元数据。 |
1181
- | ViewSchema | `SchemxViewFieldSchema` | 字段渲染投影。 |
1182
- | ViewSchema | `SchemxViewGroupSchema` | Group 渲染投影。 |
1183
- | ViewSchema | `SchemxViewSchema` | 字段 / Group 投影联合。 |
1184
- | 配置 | `MergedSchemxConfig` | 已合并且补齐 `schemaConfig` 默认值。 |
1185
- | 配置 | `SchemxConfig` | Core 模块级和 Form/App 可继承配置。 |
1186
- | 配置 | `SchemxConfigKey` | 当前默认配置 key 类型。 |
1187
- | 配置 | `ExcludeSchemxConfigKeys` | 排除配置 key 类型。 |
1188
- | Renderer | `SchemxRendererKey` | Renderer key 类型。 |
1189
- | Renderer | `SchemxRendererDefinition` | Renderer Props 声明合并接口。 |
1190
- | Renderer Registry | `RendererRegistry` | Renderer Registry 实例类型。 |
1191
- | Renderer Registry | `RegistryOptions` | 注册覆盖选项(renderer rule 共享)。 |
1192
- | Renderer Registry | `RendererMap` | Renderer 批量映射。 |
1193
- | Validator | `Validator` | 底层 Validator 实例类型。 |
1194
- | Validator | `ValidationResult` | 校验成功 / 失败联合。 |
1195
- | Validator | `ValidationError` | 校验失败详情。 |
1196
- | Validator | `FieldValidationError` | 单字段错误。 |
1197
- | Validator | `ValidationTrigger` | 校验触发时机。 |
1198
- | Validator | `StandardSchemaV1` | Standard Schema v1 协议。 |
1199
- | Rule | `ValidationRuleDefinition` | 自定义规则声明合并接口。 |
1200
- | Rule | `ValidationRuleName` | 声明合并推导的规则 key。 |
1201
- | Rule | `RequiredOptions` | 必填消息与空值判断配置。 |
1202
- | Rule | `FieldRules` | Standard Schema、内置或自定义规则。 |
1203
- | Validator Registry | `ValidationRuleRegistry` | ValidationRuleRegistry 实例类型。 |
1204
- | Validator Registry | `ValidationRuleFactory` | 按字段 Schema 生成规则的工厂。 |
1205
- | Validator Registry | `ValidationRuleEntry` | Standard Schema 或工厂联合。 |
1206
- | Validator Registry | `ValidationRuleMap` | 规则名到条目的批量映射。 |
1151
+ | 分类 | 导出 | 用途 |
1152
+ | ------------------ | -------------------------------- | ----------------------------------------- |
1153
+ | Effect | `SignalEffectOptions` | signal effect 配置。 |
1154
+ | Effect | `SignalEffectDispose` | signal effect 的 dispose 函数类型。 |
1155
+ | Watch | `SignalWatchOptions` | signal watch 配置。 |
1156
+ | Watch | `DebouncedSignalWatchOptions` | debounce 的 signal watch 配置。 |
1157
+ | Watch | `DebouncedSignalWatchControls` | debounce 的 signal watch 控制器。 |
1158
+ | Watch | `CreateWatchOptions` | Watch 选项。 |
1159
+ | Watch | `CreateWatchReturn` | Watch 取消函数。 |
1160
+ | Watch | `WatchFieldCallback` | 单字段 Watch callback。 |
1161
+ | Watch | `WatchFieldsCallback` | 多字段 Watch callback。 |
1162
+ | Watch | `WatchAllCallback` | 全表 Watch callback。 |
1163
+ | 表单 | `CreateFormOptions` | Core 表单创建选项。 |
1164
+ | 表单 | `FormSchemaOptions` | Schema、初始值和 `schemaConfig` 配置。 |
1165
+ | 表单 | `FormRegistryOptions` | Renderer、Rule Registry 和 adapter 配置。 |
1166
+ | 表单 | `FormCallbackOptions` | 提交、值变化和规则错误回调。 |
1167
+ | 表单 | `FormLifecycleOptions` | Runtime 生命周期钩子。 |
1168
+ | 表单 | `ResolvedCreateFormOptions` | 已归一化的 Form 创建配置。 |
1169
+ | 表单 | `SchemxInstance` | Core 表单实例接口。 |
1170
+ | 表单 | `SchemxGlobalContext` | Core 全局字段默认配置。 |
1171
+ | Validator | `CreateValidatorOptions` | 规则执行异常回调配置。 |
1172
+ | 基础 | `Values` | 表单值基础约束。 |
1173
+ | 基础 | `Dynamic` | 静态值或同步 / 异步值函数。 |
1174
+ | 路径 | `NamePath` | 类型安全字段路径。 |
1175
+ | 路径 | `FieldValue` | 从路径提取字段值。 |
1176
+ | 工具类型 | `DeepReadonly` | 深层只读类型。 |
1177
+ | 工具类型 | `CSSProperties` | CSS 属性类型。 |
1178
+ | Schema source | `SchemxSchemas` | 可更新 Schema source。 |
1179
+ | Schema source | `SchemxSchemasInput` | Schema 数组或 source 联合。 |
1180
+ | Schema source | `SchemxSchemasListener` | Schema source listener。 |
1181
+ | 字段 | `SchemxFieldInstance` | Core 字段控制器。 |
1182
+ | Schema | `SchemxBase` | 普通字段基础接口。 |
1183
+ | Schema | `SchemxBaseField` | Renderer key 分布的字段联合。 |
1184
+ | Schema | `SchemxExactBaseField` | 保留具体 Renderer key 的字段类型。 |
1185
+ | Schema | `SchemxGroupField` | 原始 Group Schema。 |
1186
+ | Schema | `SchemxDependencyField` | 原始 Dependency Schema |
1187
+ | Schema | `SchemxField` | 全部原始 Schema 联合。 |
1188
+ | Schema | `SchemxResolvedField` | 解析后字段 / Group 联合。 |
1189
+ | Schema | `SchemxBaseComponentProps` | Renderer 公共 Props。 |
1190
+ | Schema | `SchemxComponentProps` | Renderer 专属与公共 Props。 |
1191
+ | Schema | `SchemxFormItemProps` | 表单项字段配置。 |
1192
+ | 扩展 | `SchemxFieldDefinition` | 普通字段声明合并接口。 |
1193
+ | 扩展 | `SchemxGroupFieldDefinition` | Group 声明合并接口。 |
1194
+ | 依赖 | `SchemxDependencies` | 字段动态依赖配置。 |
1195
+ | 依赖 | `SchemxFieldDependencies` | 普通字段的动态属性与触发字段配置。 |
1196
+ | 依赖 | `SchemxGroupDependencies` | Group 容器的动态状态配置。 |
1197
+ | 依赖 | `SchemxDependencyDependencies` | Dependency 容器的动态状态配置。 |
1198
+ | 依赖 | `SchemxContainerDependencies` | Group/Dependency 容器动态状态配置。 |
1199
+ | 依赖 | `SchemxConditionFn` | 动态属性条件函数。 |
1200
+ | 依赖 | `SchemxDependenciesStaticProps` | 依赖函数静态返回值映射。 |
1201
+ | ViewSchema | `SchemxViewDebugMeta` | ViewSchema 诊断元数据。 |
1202
+ | ViewSchema | `SchemxViewFieldSchema` | 字段渲染投影。 |
1203
+ | ViewSchema | `SchemxViewGroupSchema` | Group 渲染投影。 |
1204
+ | ViewSchema | `SchemxViewSchema` | 字段 / Group 投影联合。 |
1205
+ | 配置 | `MergedSchemxConfig` | 已合并且补齐 `schemaConfig` 默认值。 |
1206
+ | 配置 | `SchemxConfig` | Core 模块级和 Form/App 可继承配置。 |
1207
+ | 配置 | `SchemxSchemaConfig` | 表单级字段默认展示与校验配置。 |
1208
+ | 配置 | `SchemxConfigKey` | 当前默认配置 key 类型。 |
1209
+ | 配置 | `ExcludeSchemxConfigKeys` | 排除配置 key 类型。 |
1210
+ | Renderer | `SchemxRendererKey` | Renderer key 类型。 |
1211
+ | Renderer | `SchemxRendererDefinition` | Renderer Props 声明合并接口。 |
1212
+ | Renderer Registry | `RendererRegistry` | Renderer Registry 实例类型。 |
1213
+ | Renderer Registry | `RegistryOptions` | 注册覆盖选项(renderer rule 共享)。 |
1214
+ | Renderer Registry | `RendererMap` | Renderer 批量映射。 |
1215
+ | Validator | `Validator` | 底层 Validator 实例类型。 |
1216
+ | Validator | `ValidationRule` | 原生规则接口。 |
1217
+ | Validator | `ValidationRuleContext` | 原生规则执行上下文。 |
1218
+ | Validator | `ValidationRuleIssue` | 单条规则产生的问题。 |
1219
+ | Validator | `ValidationRuleResult` | 单条规则执行结果。 |
1220
+ | Validator | `ValidationResult` | 校验成功 / 失败联合。 |
1221
+ | Validator | `ValidationSuccess` | 校验成功结果。 |
1222
+ | Validator | `ValidationFailure` | 普通校验失败结果。 |
1223
+ | Validator | `ValidationCancelled` | 被更新校验或销毁操作中止的结果。 |
1224
+ | Validator | `ValidationError` | 校验失败详情。 |
1225
+ | Validator | `FieldValidationError` | 单字段错误。 |
1226
+ | Validator | `FormValidationError` | 表单级错误。 |
1227
+ | Validator | `AdapterRule` | 第三方 adapter 创建的品牌规则。 |
1228
+ | Validator | `ValidationAdapterRule` | adapter 接收的第三方规则输入类型。 |
1229
+ | Validator | `ValidationAdapterID` | adapter 的唯一标识类型。 |
1230
+ | Validator | `ValidationAdapterV1` | 第三方校验 adapter 协议。 |
1231
+ | Validator | `ValidationAdapter` | `ValidationAdapterV1` 的兼容别名。 |
1232
+ | Validator | `ValidationAdapterRegistration` | adapter 注册及覆盖选项。 |
1233
+ | Validator | `ValidationAdapterOption` | adapter 或带覆盖选项的注册项。 |
1234
+ | Validator | `ValidationTrigger` | 校验触发时机。 |
1235
+ | Validator | `StandardSchemaV1` | Standard Schema v1 协议。 |
1236
+ | Rule | `ValidationRuleDefinition` | 自定义规则声明合并接口。 |
1237
+ | Rule | `ValidationRuleName` | 声明合并推导的规则 key。 |
1238
+ | Rule | `RequiredOptions` | 必填消息与空值判断配置。 |
1239
+ | Rule | `RequiredRule` | 布尔必填开关或必填配置对象。 |
1240
+ | Rule | `DefinedFieldValue` | 从表单值和路径提取已定义字段值。 |
1241
+ | Rule | `FieldRule` | 单个字段规则联合类型。 |
1242
+ | Rule | `FieldRules` | Standard Schema、内置或自定义规则。 |
1243
+ | Validator Registry | `ValidationRuleRegistry` | ValidationRuleRegistry 实例类型。 |
1244
+ | Validator Registry | `ValidationRuleFactoryContext` | 规则工厂接收的字段上下文。 |
1245
+ | Validator Registry | `ValidationRuleFactory` | 按字段 Schema 生成规则的工厂。 |
1246
+ | Validator Registry | `ValidationRuleEntry` | Standard Schema 或工厂联合。 |
1247
+ | Validator Registry | `ValidationRuleMap` | 规则名到条目的批量映射。 |
1248
+ | Validator Registry | `ValidationRuleRegistryChange` | Registry 变更事件。 |
1249
+ | Validator Registry | `ValidationRuleRegistryListener` | Registry 变更监听器。 |
package/dist/analyze.html CHANGED
@@ -4929,7 +4929,7 @@ var drawChart = (function (exports) {
4929
4929
  </script>
4930
4930
  <script>
4931
4931
  /*<!--*/
4932
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.cjs","children":[{"name":"src","children":[{"name":"styles/index.css","uid":"ad488fe2-1"},{"name":"config/appConfig.ts","uid":"ad488fe2-3"},{"name":"utils","children":[{"uid":"ad488fe2-5","name":"rendererProvider.ts"},{"uid":"ad488fe2-7","name":"rulesProvider.ts"},{"uid":"ad488fe2-25","name":"equal.ts"},{"uid":"ad488fe2-31","name":"validation.ts"},{"uid":"ad488fe2-33","name":"slot.ts"},{"uid":"ad488fe2-39","name":"helpers.ts"}]},{"name":"hooks","children":[{"uid":"ad488fe2-9","name":"useForm.ts"},{"uid":"ad488fe2-11","name":"provideFormContext.ts"},{"uid":"ad488fe2-13","name":"useField.ts"},{"uid":"ad488fe2-15","name":"provideFieldContext.ts"},{"uid":"ad488fe2-17","name":"useWatch.ts"},{"uid":"ad488fe2-19","name":"useEffect.ts"},{"uid":"ad488fe2-21","name":"useDictionary.ts"},{"uid":"ad488fe2-23","name":"provideFormConfigContext.ts"},{"uid":"ad488fe2-27","name":"useStableRef.ts"},{"uid":"ad488fe2-29","name":"useViewSchemas.ts"}]},{"name":"components","children":[{"name":"FormGroup/index.tsx","uid":"ad488fe2-35"},{"name":"FormItem/index.tsx","uid":"ad488fe2-37"}]},{"uid":"ad488fe2-41","name":"form.vue?vue&type=script&setup=true&lang.ts"},{"uid":"ad488fe2-43","name":"form.ts"},{"name":"hocs/withRemoteOptions.ts","uid":"ad488fe2-45"},{"uid":"ad488fe2-47","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"ad488fe2-1":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"ad488fe2-0"},"ad488fe2-3":{"renderedLength":957,"gzipLength":384,"brotliLength":326,"metaUid":"ad488fe2-2"},"ad488fe2-5":{"renderedLength":62,"gzipLength":69,"brotliLength":49,"metaUid":"ad488fe2-4"},"ad488fe2-7":{"renderedLength":67,"gzipLength":68,"brotliLength":53,"metaUid":"ad488fe2-6"},"ad488fe2-9":{"renderedLength":828,"gzipLength":327,"brotliLength":291,"metaUid":"ad488fe2-8"},"ad488fe2-11":{"renderedLength":468,"gzipLength":280,"brotliLength":223,"metaUid":"ad488fe2-10"},"ad488fe2-13":{"renderedLength":1600,"gzipLength":561,"brotliLength":498,"metaUid":"ad488fe2-12"},"ad488fe2-15":{"renderedLength":410,"gzipLength":249,"brotliLength":198,"metaUid":"ad488fe2-14"},"ad488fe2-17":{"renderedLength":551,"gzipLength":219,"brotliLength":186,"metaUid":"ad488fe2-16"},"ad488fe2-19":{"renderedLength":125,"gzipLength":112,"brotliLength":90,"metaUid":"ad488fe2-18"},"ad488fe2-21":{"renderedLength":2859,"gzipLength":951,"brotliLength":813,"metaUid":"ad488fe2-20"},"ad488fe2-23":{"renderedLength":483,"gzipLength":288,"brotliLength":239,"metaUid":"ad488fe2-22"},"ad488fe2-25":{"renderedLength":202,"gzipLength":154,"brotliLength":120,"metaUid":"ad488fe2-24"},"ad488fe2-27":{"renderedLength":240,"gzipLength":168,"brotliLength":143,"metaUid":"ad488fe2-26"},"ad488fe2-29":{"renderedLength":269,"gzipLength":168,"brotliLength":140,"metaUid":"ad488fe2-28"},"ad488fe2-31":{"renderedLength":768,"gzipLength":322,"brotliLength":262,"metaUid":"ad488fe2-30"},"ad488fe2-33":{"renderedLength":1262,"gzipLength":486,"brotliLength":401,"metaUid":"ad488fe2-32"},"ad488fe2-35":{"renderedLength":3693,"gzipLength":1322,"brotliLength":1121,"metaUid":"ad488fe2-34"},"ad488fe2-37":{"renderedLength":7570,"gzipLength":2469,"brotliLength":2052,"metaUid":"ad488fe2-36"},"ad488fe2-39":{"renderedLength":1118,"gzipLength":397,"brotliLength":337,"metaUid":"ad488fe2-38"},"ad488fe2-41":{"renderedLength":4580,"gzipLength":1471,"brotliLength":1291,"metaUid":"ad488fe2-40"},"ad488fe2-43":{"renderedLength":327,"gzipLength":254,"brotliLength":193,"metaUid":"ad488fe2-42"},"ad488fe2-45":{"renderedLength":923,"gzipLength":408,"brotliLength":349,"metaUid":"ad488fe2-44"},"ad488fe2-47":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"ad488fe2-46"}},"nodeMetas":{"ad488fe2-0":{"id":"/src/styles/index.css","moduleParts":{"index.cjs":"ad488fe2-1"},"imported":[],"importedBy":[{"uid":"ad488fe2-46"},{"uid":"ad488fe2-40"}]},"ad488fe2-2":{"id":"/src/config/appConfig.ts","moduleParts":{"index.cjs":"ad488fe2-3"},"imported":[{"uid":"ad488fe2-54"}],"importedBy":[{"uid":"ad488fe2-53"}]},"ad488fe2-4":{"id":"/src/utils/rendererProvider.ts","moduleParts":{"index.cjs":"ad488fe2-5"},"imported":[{"uid":"ad488fe2-50"}],"importedBy":[{"uid":"ad488fe2-46"},{"uid":"ad488fe2-8"}]},"ad488fe2-6":{"id":"/src/utils/rulesProvider.ts","moduleParts":{"index.cjs":"ad488fe2-7"},"imported":[{"uid":"ad488fe2-50"}],"importedBy":[{"uid":"ad488fe2-46"},{"uid":"ad488fe2-8"}]},"ad488fe2-8":{"id":"/src/hooks/useForm.ts","moduleParts":{"index.cjs":"ad488fe2-9"},"imported":[{"uid":"ad488fe2-54"},{"uid":"ad488fe2-50"},{"uid":"ad488fe2-53"},{"uid":"ad488fe2-4"},{"uid":"ad488fe2-6"}],"importedBy":[{"uid":"ad488fe2-48"}]},"ad488fe2-10":{"id":"/src/hooks/provideFormContext.ts","moduleParts":{"index.cjs":"ad488fe2-11"},"imported":[{"uid":"ad488fe2-54"}],"importedBy":[{"uid":"ad488fe2-48"},{"uid":"ad488fe2-12"},{"uid":"ad488fe2-16"},{"uid":"ad488fe2-20"}]},"ad488fe2-12":{"id":"/src/hooks/useField.ts","moduleParts":{"index.cjs":"ad488fe2-13"},"imported":[{"uid":"ad488fe2-54"},{"uid":"ad488fe2-50"},{"uid":"ad488fe2-10"}],"importedBy":[{"uid":"ad488fe2-48"}]},"ad488fe2-14":{"id":"/src/hooks/provideFieldContext.ts","moduleParts":{"index.cjs":"ad488fe2-15"},"imported":[{"uid":"ad488fe2-54"}],"importedBy":[{"uid":"ad488fe2-48"},{"uid":"ad488fe2-44"}]},"ad488fe2-16":{"id":"/src/hooks/useWatch.ts","moduleParts":{"index.cjs":"ad488fe2-17"},"imported":[{"uid":"ad488fe2-54"},{"uid":"ad488fe2-50"},{"uid":"ad488fe2-10"}],"importedBy":[{"uid":"ad488fe2-48"},{"uid":"ad488fe2-20"}]},"ad488fe2-18":{"id":"/src/hooks/useEffect.ts","moduleParts":{"index.cjs":"ad488fe2-19"},"imported":[{"uid":"ad488fe2-54"},{"uid":"ad488fe2-50"}],"importedBy":[{"uid":"ad488fe2-48"}]},"ad488fe2-20":{"id":"/src/hooks/useDictionary.ts","moduleParts":{"index.cjs":"ad488fe2-21"},"imported":[{"uid":"ad488fe2-54"},{"uid":"ad488fe2-10"},{"uid":"ad488fe2-16"}],"importedBy":[{"uid":"ad488fe2-48"},{"uid":"ad488fe2-44"}]},"ad488fe2-22":{"id":"/src/hooks/provideFormConfigContext.ts","moduleParts":{"index.cjs":"ad488fe2-23"},"imported":[{"uid":"ad488fe2-54"}],"importedBy":[{"uid":"ad488fe2-48"}]},"ad488fe2-24":{"id":"/src/utils/equal.ts","moduleParts":{"index.cjs":"ad488fe2-25"},"imported":[],"importedBy":[{"uid":"ad488fe2-26"}]},"ad488fe2-26":{"id":"/src/hooks/useStableRef.ts","moduleParts":{"index.cjs":"ad488fe2-27"},"imported":[{"uid":"ad488fe2-54"},{"uid":"ad488fe2-24"}],"importedBy":[{"uid":"ad488fe2-48"}]},"ad488fe2-28":{"id":"/src/hooks/useViewSchemas.ts","moduleParts":{"index.cjs":"ad488fe2-29"},"imported":[{"uid":"ad488fe2-54"}],"importedBy":[{"uid":"ad488fe2-48"}]},"ad488fe2-30":{"id":"/src/utils/validation.ts","moduleParts":{"index.cjs":"ad488fe2-31"},"imported":[],"importedBy":[{"uid":"ad488fe2-56"}]},"ad488fe2-32":{"id":"/src/utils/slot.ts","moduleParts":{"index.cjs":"ad488fe2-33"},"imported":[],"importedBy":[{"uid":"ad488fe2-56"}]},"ad488fe2-34":{"id":"/src/components/FormGroup/index.tsx","moduleParts":{"index.cjs":"ad488fe2-35"},"imported":[{"uid":"ad488fe2-54"},{"uid":"ad488fe2-55"},{"uid":"ad488fe2-36"}],"importedBy":[{"uid":"ad488fe2-46"},{"uid":"ad488fe2-36"}]},"ad488fe2-36":{"id":"/src/components/FormItem/index.tsx","moduleParts":{"index.cjs":"ad488fe2-37"},"imported":[{"uid":"ad488fe2-54"},{"uid":"ad488fe2-55"},{"uid":"ad488fe2-48"},{"uid":"ad488fe2-56"},{"uid":"ad488fe2-34"}],"importedBy":[{"uid":"ad488fe2-46"},{"uid":"ad488fe2-42"},{"uid":"ad488fe2-34"},{"uid":"ad488fe2-40"}]},"ad488fe2-38":{"id":"/src/utils/helpers.ts","moduleParts":{"index.cjs":"ad488fe2-39"},"imported":[],"importedBy":[{"uid":"ad488fe2-40"}]},"ad488fe2-40":{"id":"/src/form.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"ad488fe2-41"},"imported":[{"uid":"ad488fe2-54"},{"uid":"ad488fe2-50"},{"uid":"ad488fe2-63"},{"uid":"ad488fe2-36"},{"uid":"ad488fe2-48"},{"uid":"ad488fe2-38"},{"uid":"ad488fe2-0"}],"importedBy":[{"uid":"ad488fe2-60"}]},"ad488fe2-42":{"id":"/src/form.ts","moduleParts":{"index.cjs":"ad488fe2-43"},"imported":[{"uid":"ad488fe2-36"},{"uid":"ad488fe2-52"},{"uid":"ad488fe2-53"}],"importedBy":[{"uid":"ad488fe2-46"}]},"ad488fe2-44":{"id":"/src/hocs/withRemoteOptions.ts","moduleParts":{"index.cjs":"ad488fe2-45"},"imported":[{"uid":"ad488fe2-54"},{"uid":"ad488fe2-14"},{"uid":"ad488fe2-20"}],"importedBy":[{"uid":"ad488fe2-49"}]},"ad488fe2-46":{"id":"/src/index.ts","moduleParts":{"index.cjs":"ad488fe2-47"},"imported":[{"uid":"ad488fe2-0"},{"uid":"ad488fe2-42"},{"uid":"ad488fe2-4"},{"uid":"ad488fe2-6"},{"uid":"ad488fe2-48"},{"uid":"ad488fe2-49"},{"uid":"ad488fe2-36"},{"uid":"ad488fe2-34"},{"uid":"ad488fe2-50"},{"uid":"ad488fe2-51"}],"importedBy":[],"isEntry":true},"ad488fe2-48":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"ad488fe2-8"},{"uid":"ad488fe2-10"},{"uid":"ad488fe2-12"},{"uid":"ad488fe2-14"},{"uid":"ad488fe2-16"},{"uid":"ad488fe2-18"},{"uid":"ad488fe2-20"},{"uid":"ad488fe2-22"},{"uid":"ad488fe2-26"},{"uid":"ad488fe2-28"}],"importedBy":[{"uid":"ad488fe2-46"},{"uid":"ad488fe2-36"},{"uid":"ad488fe2-40"}]},"ad488fe2-49":{"id":"/src/hocs/index.ts","moduleParts":{},"imported":[{"uid":"ad488fe2-44"}],"importedBy":[{"uid":"ad488fe2-46"}]},"ad488fe2-50":{"id":"@schemx/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"ad488fe2-46"},{"uid":"ad488fe2-4"},{"uid":"ad488fe2-6"},{"uid":"ad488fe2-8"},{"uid":"ad488fe2-12"},{"uid":"ad488fe2-16"},{"uid":"ad488fe2-18"},{"uid":"ad488fe2-40"}],"isExternal":true},"ad488fe2-51":{"id":"/src/types/index.ts","moduleParts":{},"imported":[{"uid":"ad488fe2-57"},{"uid":"ad488fe2-58"},{"uid":"ad488fe2-59"}],"importedBy":[{"uid":"ad488fe2-46"}]},"ad488fe2-52":{"id":"/src/formRuntime.js","moduleParts":{},"imported":[{"uid":"ad488fe2-60"}],"importedBy":[{"uid":"ad488fe2-42"}]},"ad488fe2-53":{"id":"/src/config/index.ts","moduleParts":{},"imported":[{"uid":"ad488fe2-2"}],"importedBy":[{"uid":"ad488fe2-42"},{"uid":"ad488fe2-8"}]},"ad488fe2-54":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"ad488fe2-36"},{"uid":"ad488fe2-34"},{"uid":"ad488fe2-8"},{"uid":"ad488fe2-10"},{"uid":"ad488fe2-12"},{"uid":"ad488fe2-14"},{"uid":"ad488fe2-16"},{"uid":"ad488fe2-18"},{"uid":"ad488fe2-20"},{"uid":"ad488fe2-22"},{"uid":"ad488fe2-26"},{"uid":"ad488fe2-28"},{"uid":"ad488fe2-44"},{"uid":"ad488fe2-2"},{"uid":"ad488fe2-40"}],"isExternal":true},"ad488fe2-55":{"id":"classnames","moduleParts":{},"imported":[],"importedBy":[{"uid":"ad488fe2-36"},{"uid":"ad488fe2-34"}],"isExternal":true},"ad488fe2-56":{"id":"/src/utils/index.ts","moduleParts":{},"imported":[{"uid":"ad488fe2-61"},{"uid":"ad488fe2-30"},{"uid":"ad488fe2-32"},{"uid":"ad488fe2-62"}],"importedBy":[{"uid":"ad488fe2-36"}]},"ad488fe2-57":{"id":"/src/types/dictionary.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"ad488fe2-51"}]},"ad488fe2-58":{"id":"/src/types/form.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"ad488fe2-51"}]},"ad488fe2-59":{"id":"/src/types/field.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"ad488fe2-51"}]},"ad488fe2-60":{"id":"/src/form.vue","moduleParts":{},"imported":[{"uid":"ad488fe2-40"}],"importedBy":[{"uid":"ad488fe2-52"}]},"ad488fe2-61":{"id":"/src/utils/dynamic.ts","moduleParts":{},"imported":[{"uid":"ad488fe2-63"}],"importedBy":[{"uid":"ad488fe2-56"}]},"ad488fe2-62":{"id":"/src/utils/diff.ts","moduleParts":{},"imported":[{"uid":"ad488fe2-64"}],"importedBy":[{"uid":"ad488fe2-56"}]},"ad488fe2-63":{"id":"es-toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"ad488fe2-61"},{"uid":"ad488fe2-40"}],"isExternal":true},"ad488fe2-64":{"id":"es-toolkit/compat","moduleParts":{},"imported":[],"importedBy":[{"uid":"ad488fe2-62"}],"isExternal":true}},"env":{"rollup":"4.62.2"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4932
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.cjs","children":[{"name":"src","children":[{"name":"styles/index.css","uid":"409cd899-1"},{"name":"config/appConfig.ts","uid":"409cd899-3"},{"uid":"409cd899-5","name":"formBridge.ts"},{"name":"utils","children":[{"uid":"409cd899-7","name":"rendererProvider.ts"},{"uid":"409cd899-9","name":"rulesProvider.ts"},{"uid":"409cd899-25","name":"equal.ts"},{"uid":"409cd899-33","name":"validation.ts"},{"uid":"409cd899-35","name":"slot.ts"},{"uid":"409cd899-47","name":"helpers.ts"}]},{"name":"hooks","children":[{"uid":"409cd899-11","name":"useForm.ts"},{"uid":"409cd899-13","name":"provideFormContext.ts"},{"uid":"409cd899-15","name":"useField.ts"},{"uid":"409cd899-17","name":"provideFieldContext.ts"},{"uid":"409cd899-19","name":"useWatch.ts"},{"uid":"409cd899-21","name":"useDictionary.ts"},{"uid":"409cd899-23","name":"provideFormConfigContext.ts"},{"uid":"409cd899-27","name":"useStableRef.ts"},{"uid":"409cd899-29","name":"useViewSchemas.ts"},{"uid":"409cd899-31","name":"useFormSelector.ts"}]},{"name":"components","children":[{"name":"FormGroup/index.tsx","uid":"409cd899-37"},{"name":"FormItem","children":[{"uid":"409cd899-39","name":"slot.tsx"},{"uid":"409cd899-41","name":"index.tsx"}]},{"name":"Button","children":[{"uid":"409cd899-43","name":"index.vue?vue&type=script&setup=true&lang.ts"},{"uid":"409cd899-45","name":"index.vue?vue&type=style&index=0&lang.css"}]}]},{"uid":"409cd899-49","name":"form.vue?vue&type=script&setup=true&lang.ts"},{"uid":"409cd899-51","name":"form.ts"},{"name":"hocs/withRemoteOptions.ts","uid":"409cd899-53"},{"uid":"409cd899-55","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"409cd899-1":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"409cd899-0"},"409cd899-3":{"renderedLength":1317,"gzipLength":489,"brotliLength":422,"metaUid":"409cd899-2"},"409cd899-5":{"renderedLength":6908,"gzipLength":1387,"brotliLength":1226,"metaUid":"409cd899-4"},"409cd899-7":{"renderedLength":65,"gzipLength":72,"brotliLength":52,"metaUid":"409cd899-6"},"409cd899-9":{"renderedLength":67,"gzipLength":68,"brotliLength":53,"metaUid":"409cd899-8"},"409cd899-11":{"renderedLength":1079,"gzipLength":482,"brotliLength":400,"metaUid":"409cd899-10"},"409cd899-13":{"renderedLength":628,"gzipLength":340,"brotliLength":290,"metaUid":"409cd899-12"},"409cd899-15":{"renderedLength":1038,"gzipLength":344,"brotliLength":307,"metaUid":"409cd899-14"},"409cd899-17":{"renderedLength":410,"gzipLength":249,"brotliLength":198,"metaUid":"409cd899-16"},"409cd899-19":{"renderedLength":564,"gzipLength":229,"brotliLength":192,"metaUid":"409cd899-18"},"409cd899-21":{"renderedLength":2879,"gzipLength":953,"brotliLength":814,"metaUid":"409cd899-20"},"409cd899-23":{"renderedLength":483,"gzipLength":288,"brotliLength":239,"metaUid":"409cd899-22"},"409cd899-25":{"renderedLength":206,"gzipLength":156,"brotliLength":122,"metaUid":"409cd899-24"},"409cd899-27":{"renderedLength":240,"gzipLength":168,"brotliLength":143,"metaUid":"409cd899-26"},"409cd899-29":{"renderedLength":1781,"gzipLength":706,"brotliLength":590,"metaUid":"409cd899-28"},"409cd899-31":{"renderedLength":594,"gzipLength":306,"brotliLength":266,"metaUid":"409cd899-30"},"409cd899-33":{"renderedLength":788,"gzipLength":325,"brotliLength":267,"metaUid":"409cd899-32"},"409cd899-35":{"renderedLength":1278,"gzipLength":491,"brotliLength":404,"metaUid":"409cd899-34"},"409cd899-37":{"renderedLength":3726,"gzipLength":1330,"brotliLength":1126,"metaUid":"409cd899-36"},"409cd899-39":{"renderedLength":4194,"gzipLength":1528,"brotliLength":1268,"metaUid":"409cd899-38"},"409cd899-41":{"renderedLength":5674,"gzipLength":2071,"brotliLength":1707,"metaUid":"409cd899-40"},"409cd899-43":{"renderedLength":2486,"gzipLength":913,"brotliLength":789,"metaUid":"409cd899-42"},"409cd899-45":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"409cd899-44"},"409cd899-47":{"renderedLength":1052,"gzipLength":382,"brotliLength":332,"metaUid":"409cd899-46"},"409cd899-49":{"renderedLength":10188,"gzipLength":2759,"brotliLength":2326,"metaUid":"409cd899-48"},"409cd899-51":{"renderedLength":384,"gzipLength":269,"brotliLength":214,"metaUid":"409cd899-50"},"409cd899-53":{"renderedLength":1052,"gzipLength":455,"brotliLength":378,"metaUid":"409cd899-52"},"409cd899-55":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"409cd899-54"}},"nodeMetas":{"409cd899-0":{"id":"/src/styles/index.css","moduleParts":{"index.cjs":"409cd899-1"},"imported":[],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-48"}]},"409cd899-2":{"id":"/src/config/appConfig.ts","moduleParts":{"index.cjs":"409cd899-3"},"imported":[{"uid":"409cd899-65"}],"importedBy":[{"uid":"409cd899-61"}]},"409cd899-4":{"id":"/src/formBridge.ts","moduleParts":{"index.cjs":"409cd899-5"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-63"}],"importedBy":[{"uid":"409cd899-56"},{"uid":"409cd899-10"},{"uid":"409cd899-12"},{"uid":"409cd899-14"},{"uid":"409cd899-18"},{"uid":"409cd899-28"},{"uid":"409cd899-30"}]},"409cd899-6":{"id":"/src/utils/rendererProvider.ts","moduleParts":{"index.cjs":"409cd899-7"},"imported":[{"uid":"409cd899-63"}],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-10"}]},"409cd899-8":{"id":"/src/utils/rulesProvider.ts","moduleParts":{"index.cjs":"409cd899-9"},"imported":[{"uid":"409cd899-59"}],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-10"}]},"409cd899-10":{"id":"/src/hooks/useForm.ts","moduleParts":{"index.cjs":"409cd899-11"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-59"},{"uid":"409cd899-61"},{"uid":"409cd899-4"},{"uid":"409cd899-6"},{"uid":"409cd899-8"}],"importedBy":[{"uid":"409cd899-56"}]},"409cd899-12":{"id":"/src/hooks/provideFormContext.ts","moduleParts":{"index.cjs":"409cd899-13"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-4"}],"importedBy":[{"uid":"409cd899-56"},{"uid":"409cd899-14"},{"uid":"409cd899-18"},{"uid":"409cd899-20"}]},"409cd899-14":{"id":"/src/hooks/useField.ts","moduleParts":{"index.cjs":"409cd899-15"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-59"},{"uid":"409cd899-4"},{"uid":"409cd899-12"}],"importedBy":[{"uid":"409cd899-56"}]},"409cd899-16":{"id":"/src/hooks/provideFieldContext.ts","moduleParts":{"index.cjs":"409cd899-17"},"imported":[{"uid":"409cd899-65"}],"importedBy":[{"uid":"409cd899-56"},{"uid":"409cd899-52"}]},"409cd899-18":{"id":"/src/hooks/useWatch.ts","moduleParts":{"index.cjs":"409cd899-19"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-59"},{"uid":"409cd899-4"},{"uid":"409cd899-12"}],"importedBy":[{"uid":"409cd899-56"},{"uid":"409cd899-20"}]},"409cd899-20":{"id":"/src/hooks/useDictionary.ts","moduleParts":{"index.cjs":"409cd899-21"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-12"},{"uid":"409cd899-18"}],"importedBy":[{"uid":"409cd899-56"},{"uid":"409cd899-52"}]},"409cd899-22":{"id":"/src/hooks/provideFormConfigContext.ts","moduleParts":{"index.cjs":"409cd899-23"},"imported":[{"uid":"409cd899-65"}],"importedBy":[{"uid":"409cd899-56"}]},"409cd899-24":{"id":"/src/utils/equal.ts","moduleParts":{"index.cjs":"409cd899-25"},"imported":[],"importedBy":[{"uid":"409cd899-26"}]},"409cd899-26":{"id":"/src/hooks/useStableRef.ts","moduleParts":{"index.cjs":"409cd899-27"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-24"}],"importedBy":[{"uid":"409cd899-56"}]},"409cd899-28":{"id":"/src/hooks/useViewSchemas.ts","moduleParts":{"index.cjs":"409cd899-29"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-59"},{"uid":"409cd899-4"}],"importedBy":[{"uid":"409cd899-56"},{"uid":"409cd899-40"}]},"409cd899-30":{"id":"/src/hooks/useFormSelector.ts","moduleParts":{"index.cjs":"409cd899-31"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-4"}],"importedBy":[{"uid":"409cd899-56"}]},"409cd899-32":{"id":"/src/utils/validation.ts","moduleParts":{"index.cjs":"409cd899-33"},"imported":[],"importedBy":[{"uid":"409cd899-67"}]},"409cd899-34":{"id":"/src/utils/slot.ts","moduleParts":{"index.cjs":"409cd899-35"},"imported":[],"importedBy":[{"uid":"409cd899-67"}]},"409cd899-36":{"id":"/src/components/FormGroup/index.tsx","moduleParts":{"index.cjs":"409cd899-37"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-66"},{"uid":"409cd899-40"}],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-40"}]},"409cd899-38":{"id":"/src/components/FormItem/slot.tsx","moduleParts":{"index.cjs":"409cd899-39"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-67"}],"importedBy":[{"uid":"409cd899-40"}]},"409cd899-40":{"id":"/src/components/FormItem/index.tsx","moduleParts":{"index.cjs":"409cd899-41"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-59"},{"uid":"409cd899-66"},{"uid":"409cd899-56"},{"uid":"409cd899-28"},{"uid":"409cd899-67"},{"uid":"409cd899-36"},{"uid":"409cd899-38"}],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-50"},{"uid":"409cd899-36"},{"uid":"409cd899-48"}]},"409cd899-42":{"id":"/src/components/Button/index.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"409cd899-43"},"imported":[{"uid":"409cd899-65"}],"importedBy":[{"uid":"409cd899-64"}]},"409cd899-44":{"id":"/src/components/Button/index.vue?vue&type=style&index=0&lang.css","moduleParts":{"index.cjs":"409cd899-45"},"imported":[],"importedBy":[{"uid":"409cd899-64"}]},"409cd899-46":{"id":"/src/utils/helpers.ts","moduleParts":{"index.cjs":"409cd899-47"},"imported":[{"uid":"409cd899-59"}],"importedBy":[{"uid":"409cd899-48"}]},"409cd899-48":{"id":"/src/form.vue?vue&type=script&setup=true&lang.ts","moduleParts":{"index.cjs":"409cd899-49"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-59"},{"uid":"409cd899-74"},{"uid":"409cd899-40"},{"uid":"409cd899-58"},{"uid":"409cd899-56"},{"uid":"409cd899-46"},{"uid":"409cd899-0"}],"importedBy":[{"uid":"409cd899-71"}]},"409cd899-50":{"id":"/src/form.ts","moduleParts":{"index.cjs":"409cd899-51"},"imported":[{"uid":"409cd899-40"},{"uid":"409cd899-61"},{"uid":"409cd899-62"}],"importedBy":[{"uid":"409cd899-54"}]},"409cd899-52":{"id":"/src/hocs/withRemoteOptions.ts","moduleParts":{"index.cjs":"409cd899-53"},"imported":[{"uid":"409cd899-65"},{"uid":"409cd899-16"},{"uid":"409cd899-20"}],"importedBy":[{"uid":"409cd899-57"}]},"409cd899-54":{"id":"/src/index.ts","moduleParts":{"index.cjs":"409cd899-55"},"imported":[{"uid":"409cd899-0"},{"uid":"409cd899-50"},{"uid":"409cd899-6"},{"uid":"409cd899-8"},{"uid":"409cd899-56"},{"uid":"409cd899-57"},{"uid":"409cd899-58"},{"uid":"409cd899-40"},{"uid":"409cd899-36"},{"uid":"409cd899-59"},{"uid":"409cd899-60"}],"importedBy":[],"isEntry":true},"409cd899-56":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"409cd899-10"},{"uid":"409cd899-4"},{"uid":"409cd899-12"},{"uid":"409cd899-14"},{"uid":"409cd899-16"},{"uid":"409cd899-18"},{"uid":"409cd899-20"},{"uid":"409cd899-22"},{"uid":"409cd899-26"},{"uid":"409cd899-28"},{"uid":"409cd899-30"}],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-40"},{"uid":"409cd899-48"}]},"409cd899-57":{"id":"/src/hocs/index.ts","moduleParts":{},"imported":[{"uid":"409cd899-52"}],"importedBy":[{"uid":"409cd899-54"}]},"409cd899-58":{"id":"/src/components/Button/index.ts","moduleParts":{},"imported":[{"uid":"409cd899-64"}],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-48"}]},"409cd899-59":{"id":"@schemx/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-54"},{"uid":"409cd899-8"},{"uid":"409cd899-40"},{"uid":"409cd899-10"},{"uid":"409cd899-14"},{"uid":"409cd899-18"},{"uid":"409cd899-28"},{"uid":"409cd899-48"},{"uid":"409cd899-46"}],"isExternal":true},"409cd899-60":{"id":"/src/types/index.ts","moduleParts":{},"imported":[{"uid":"409cd899-68"},{"uid":"409cd899-69"},{"uid":"409cd899-70"}],"importedBy":[{"uid":"409cd899-54"}]},"409cd899-61":{"id":"/src/config/index.ts","moduleParts":{},"imported":[{"uid":"409cd899-2"}],"importedBy":[{"uid":"409cd899-50"},{"uid":"409cd899-10"}]},"409cd899-62":{"id":"/src/formRuntime.js","moduleParts":{},"imported":[{"uid":"409cd899-71"}],"importedBy":[{"uid":"409cd899-50"}]},"409cd899-63":{"id":"@schemx/core/adapter","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-6"},{"uid":"409cd899-4"}],"isExternal":true},"409cd899-64":{"id":"/src/components/Button/index.vue","moduleParts":{},"imported":[{"uid":"409cd899-42"},{"uid":"409cd899-44"}],"importedBy":[{"uid":"409cd899-58"}]},"409cd899-65":{"id":"vue","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-40"},{"uid":"409cd899-36"},{"uid":"409cd899-10"},{"uid":"409cd899-4"},{"uid":"409cd899-12"},{"uid":"409cd899-14"},{"uid":"409cd899-16"},{"uid":"409cd899-18"},{"uid":"409cd899-20"},{"uid":"409cd899-22"},{"uid":"409cd899-26"},{"uid":"409cd899-28"},{"uid":"409cd899-30"},{"uid":"409cd899-52"},{"uid":"409cd899-38"},{"uid":"409cd899-2"},{"uid":"409cd899-42"},{"uid":"409cd899-48"}],"isExternal":true},"409cd899-66":{"id":"classnames","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-40"},{"uid":"409cd899-36"}],"isExternal":true},"409cd899-67":{"id":"/src/utils/index.ts","moduleParts":{},"imported":[{"uid":"409cd899-72"},{"uid":"409cd899-32"},{"uid":"409cd899-34"},{"uid":"409cd899-73"}],"importedBy":[{"uid":"409cd899-40"},{"uid":"409cd899-38"}]},"409cd899-68":{"id":"/src/types/dictionary.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-60"}]},"409cd899-69":{"id":"/src/types/form.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-60"}]},"409cd899-70":{"id":"/src/types/field.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-60"}]},"409cd899-71":{"id":"/src/form.vue","moduleParts":{},"imported":[{"uid":"409cd899-48"}],"importedBy":[{"uid":"409cd899-62"}]},"409cd899-72":{"id":"/src/utils/dynamic.ts","moduleParts":{},"imported":[{"uid":"409cd899-74"}],"importedBy":[{"uid":"409cd899-67"}]},"409cd899-73":{"id":"/src/utils/diff.ts","moduleParts":{},"imported":[{"uid":"409cd899-75"}],"importedBy":[{"uid":"409cd899-67"}]},"409cd899-74":{"id":"es-toolkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-72"},{"uid":"409cd899-48"}],"isExternal":true},"409cd899-75":{"id":"es-toolkit/compat","moduleParts":{},"imported":[],"importedBy":[{"uid":"409cd899-73"}],"isExternal":true}},"env":{"rollup":"4.14.3"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4933
4933
 
4934
4934
  const run = () => {
4935
4935
  const width = window.innerWidth;
@@ -0,0 +1,3 @@
1
+ export { default } from './index.vue';
2
+ export type { SchemxButtonProps, SchemxButtonSize } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AACrC,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA"}