zova-module-a-form 5.1.53 → 5.1.55

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 (43) hide show
  1. package/dist/.metadata/component/form.d.ts +2 -2
  2. package/dist/.metadata/component/formField.d.ts +2 -2
  3. package/dist/.metadata/component/formFieldBlank.d.ts +2 -2
  4. package/dist/.metadata/component/formFieldPreset.d.ts +2 -2
  5. package/dist/.metadata/index.d.ts +22 -22
  6. package/dist/.metadata/index.d.ts.map +1 -1
  7. package/dist/.metadata/this.d.ts +1 -1
  8. package/dist/component/form/controller.d.ts +7 -7
  9. package/dist/component/formField/controller.d.ts +3 -3
  10. package/dist/component/formFieldBlank/controller.d.ts +1 -1
  11. package/dist/component/formFieldPreset/controller.d.ts +2 -2
  12. package/dist/index.d.ts +3 -3
  13. package/dist/index.js +17 -13
  14. package/dist/index.js.map +1 -1
  15. package/dist/lib/beanControllerFormBase.d.ts +1 -1
  16. package/dist/lib/beanControllerPageFormBase.d.ts +1 -1
  17. package/dist/lib/formLayout.d.ts +1 -1
  18. package/dist/lib/index.d.ts +4 -4
  19. package/dist/lib/schemaRefresh.d.ts.map +1 -1
  20. package/dist/types/form.d.ts +1 -1
  21. package/dist/types/formField.d.ts +3 -3
  22. package/dist/types/index.d.ts +3 -3
  23. package/package.json +2 -2
  24. package/src/.metadata/component/form.ts +3 -3
  25. package/src/.metadata/component/formField.ts +3 -3
  26. package/src/.metadata/component/formFieldBlank.ts +2 -2
  27. package/src/.metadata/component/formFieldPreset.ts +2 -2
  28. package/src/.metadata/index.ts +22 -22
  29. package/src/.metadata/this.ts +1 -1
  30. package/src/component/form/controller.tsx +7 -7
  31. package/src/component/formField/controller.tsx +4 -4
  32. package/src/component/formField/render.tsx +1 -1
  33. package/src/component/formFieldBlank/controller.tsx +1 -1
  34. package/src/component/formFieldPreset/controller.tsx +2 -2
  35. package/src/index.ts +3 -3
  36. package/src/lib/beanControllerFormBase.ts +1 -1
  37. package/src/lib/beanControllerPageFormBase.ts +1 -1
  38. package/src/lib/formLayout.ts +1 -1
  39. package/src/lib/index.ts +4 -4
  40. package/src/lib/schemaRefresh.ts +21 -12
  41. package/src/types/form.ts +1 -1
  42. package/src/types/formField.ts +3 -3
  43. package/src/types/index.ts +3 -3
@@ -1,6 +1,6 @@
1
1
  import type { TypeControllerInnerProps } from 'zova';
2
- import type { ControllerFormProps } from '../../component/form/controller.jsx';
3
- import { ControllerForm } from '../../component/form/controller.jsx';
2
+ import type { ControllerFormProps } from '../../component/form/controller.tsx';
3
+ import { ControllerForm } from '../../component/form/controller.tsx';
4
4
  export type ZFormProps<TFormData extends {} = {}, TSubmitMeta = never> = {
5
5
  controllerRef?: (ref: ControllerForm<TFormData, TSubmitMeta>) => void;
6
6
  } & ControllerFormProps<TFormData, TSubmitMeta>;
@@ -1,6 +1,6 @@
1
1
  import type { TypeControllerInnerProps } from 'zova';
2
- import type { ControllerFormFieldProps } from '../../component/formField/controller.jsx';
3
- import { ControllerFormField } from '../../component/formField/controller.jsx';
2
+ import type { ControllerFormFieldProps } from '../../component/formField/controller.tsx';
3
+ import { ControllerFormField } from '../../component/formField/controller.tsx';
4
4
  export type ZFormFieldProps<TParentData extends {} = {}> = {
5
5
  controllerRef?: (ref: ControllerFormField<TParentData>) => void;
6
6
  } & ControllerFormFieldProps<TParentData>;
@@ -1,6 +1,6 @@
1
1
  import type { TypeControllerInnerProps } from 'zova';
2
- import type { ControllerFormFieldBlankProps } from '../../component/formFieldBlank/controller.jsx';
3
- import { ControllerFormFieldBlank } from '../../component/formFieldBlank/controller.jsx';
2
+ import type { ControllerFormFieldBlankProps } from '../../component/formFieldBlank/controller.tsx';
3
+ import { ControllerFormFieldBlank } from '../../component/formFieldBlank/controller.tsx';
4
4
  export type ZFormFieldBlankProps<TParentData extends {} = {}, TSubmitMeta = never> = {
5
5
  controllerRef?: (ref: ControllerFormFieldBlank<TParentData, TSubmitMeta>) => void;
6
6
  } & ControllerFormFieldBlankProps<TParentData, TSubmitMeta>;
@@ -1,7 +1,7 @@
1
1
  import type { TypeControllerInnerProps } from 'zova';
2
2
  import { ISchemaRenderComponentPresetRecord } from 'zova-module-a-openapi';
3
- import type { ControllerFormFieldPresetProps } from '../../component/formFieldPreset/controller.jsx';
4
- import { ControllerFormFieldPreset } from '../../component/formFieldPreset/controller.jsx';
3
+ import type { ControllerFormFieldPresetProps } from '../../component/formFieldPreset/controller.tsx';
4
+ import { ControllerFormFieldPreset } from '../../component/formFieldPreset/controller.tsx';
5
5
  export type ZFormFieldPresetProps<PresetName extends keyof ISchemaRenderComponentPresetRecord = never> = {
6
6
  controllerRef?: (ref: ControllerFormFieldPreset<PresetName>) => void;
7
7
  } & ControllerFormFieldPresetProps<PresetName>;
@@ -1,8 +1,8 @@
1
1
  /** controller: begin */
2
- export * from '../component/form/controller.jsx';
3
- export * from '../component/formField/controller.jsx';
4
- export * from '../component/formFieldBlank/controller.jsx';
5
- export * from '../component/formFieldPreset/controller.jsx';
2
+ export * from '../component/form/controller.tsx';
3
+ export * from '../component/formField/controller.tsx';
4
+ export * from '../component/formFieldBlank/controller.tsx';
5
+ export * from '../component/formFieldPreset/controller.tsx';
6
6
  import 'zova';
7
7
  declare module 'zova' {
8
8
  }
@@ -18,10 +18,10 @@ declare module 'zova-module-a-form' {
18
18
  }
19
19
  /** controller: end */
20
20
  /** controller: begin */
21
- import { ControllerForm } from '../component/form/controller.jsx';
22
- import { ControllerFormField } from '../component/formField/controller.jsx';
23
- import { ControllerFormFieldBlank } from '../component/formFieldBlank/controller.jsx';
24
- import { ControllerFormFieldPreset } from '../component/formFieldPreset/controller.jsx';
21
+ import type { ControllerForm } from '../component/form/controller.tsx';
22
+ import type { ControllerFormField } from '../component/formField/controller.tsx';
23
+ import type { ControllerFormFieldBlank } from '../component/formFieldBlank/controller.tsx';
24
+ import type { ControllerFormFieldPreset } from '../component/formFieldPreset/controller.tsx';
25
25
  import 'zova';
26
26
  declare module 'zova' {
27
27
  interface IBeanRecordLocal {
@@ -33,14 +33,14 @@ declare module 'zova' {
33
33
  }
34
34
  /** controller: end */
35
35
  /** components: begin */
36
- export * from './component/form.js';
37
- import { ZForm } from './component/form.js';
38
- export * from './component/formField.js';
39
- import { ZFormField } from './component/formField.js';
40
- export * from './component/formFieldBlank.js';
41
- import { ZFormFieldBlank } from './component/formFieldBlank.js';
42
- export * from './component/formFieldPreset.js';
43
- import { ZFormFieldPreset } from './component/formFieldPreset.js';
36
+ export * from './component/form.ts';
37
+ import { ZForm } from './component/form.ts';
38
+ export * from './component/formField.ts';
39
+ import { ZFormField } from './component/formField.ts';
40
+ export * from './component/formFieldBlank.ts';
41
+ import { ZFormFieldBlank } from './component/formFieldBlank.ts';
42
+ export * from './component/formFieldPreset.ts';
43
+ import { ZFormFieldPreset } from './component/formFieldPreset.ts';
44
44
  export declare const components: {
45
45
  form: new <TFormData extends {} = {}, TSubmitMeta = never>(props: ({
46
46
  controllerRef?: ((ref: ControllerForm<TFormData, TSubmitMeta>) => void) | undefined;
@@ -164,8 +164,8 @@ declare module 'zova' {
164
164
  }
165
165
  /** components: end */
166
166
  /** render: begin */
167
- export * from '../component/form/render.jsx';
168
- export * from '../component/formField/render.jsx';
167
+ export * from '../component/form/render.tsx';
168
+ export * from '../component/formField/render.tsx';
169
169
  import 'zova';
170
170
  declare module 'zova' {
171
171
  }
@@ -177,8 +177,8 @@ declare module 'zova-module-a-form' {
177
177
  }
178
178
  /** render: end */
179
179
  /** render: begin */
180
- import { RenderForm } from '../component/form/render.jsx';
181
- import { RenderFormField } from '../component/formField/render.jsx';
180
+ import type { RenderForm } from '../component/form/render.tsx';
181
+ import type { RenderFormField } from '../component/formField/render.tsx';
182
182
  import 'zova';
183
183
  declare module 'zova' {
184
184
  interface IBeanRecordLocal {
@@ -188,8 +188,8 @@ declare module 'zova' {
188
188
  }
189
189
  /** render: end */
190
190
  /** config: begin */
191
- export * from '../config/config.js';
192
- import { config } from '../config/config.js';
191
+ export * from '../config/config.ts';
192
+ import { config } from '../config/config.ts';
193
193
  /** config: end */
194
194
  /** scope: begin */
195
195
  import { BeanScopeBase, type BeanScopeUtil, TypeModuleConfig } from 'zova';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/.metadata/index.ts"],"names":[],"mappings":"AACA,wBAAwB;AACxB,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,6CAA6C,CAAC;AAE5D,OAAO,MAAM,CAAC;AACd,OAAO,QAAQ,MAAM,CAAC;CAGrB;AACD,OAAO,QAAQ,oBAAoB,CAAC;IAE5B,UAAiB,cAAc;KAG9B;IAED,UAAiB,mBAAmB;KAGnC;IAED,UAAiB,wBAAwB;KAGxC;IAED,UAAiB,yBAAyB;KAGzC;CACR;AACD,sBAAsB;AACtB,wBAAwB;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AACxF,OAAO,MAAM,CAAC;AACd,OAAO,QAAQ,MAAM,CAAC;IACpB,UAAiB,gBAAgB;QAC/B,wBAAwB,EAAE,cAAc,CAAC;QAC7C,6BAA6B,EAAE,mBAAmB,CAAC;QACnD,kCAAkC,EAAE,wBAAwB,CAAC;QAC7D,mCAAmC,EAAE,yBAAyB,CAAC;KAC5D;CACF;AACD,sBAAsB;AAEtB,wBAAwB;AACxB,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,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QAAQ,MAAM,CAAC;CAGrB;AACD,OAAO,QAAQ,oBAAoB,CAAC;IAE5B,UAAiB,UAAU;KAG1B;IAED,UAAiB,eAAe;KAG/B;CACR;AACD,kBAAkB;AAClB,oBAAoB;AACpB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,MAAM,CAAC;AACd,OAAO,QAAQ,MAAM,CAAC;IACpB,UAAiB,gBAAgB;QAC/B,oBAAoB,EAAE,UAAU,CAAC;QACrC,yBAAyB,EAAE,eAAe,CAAC;KACxC;CACF;AACD,kBAAkB;AAClB,oBAAoB;AACpB,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,kBAAkB;AAClB,mBAAmB;AACnB,OAAO,EAAE,aAAa,EAAE,KAAK,aAAa,EAAE,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAG3E,qBACa,gBAAiB,SAAQ,aAAa;CAAG;AAEtD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,aAAa,CAAC;IACtB,MAAM,EAAE,gBAAgB,CAAC,OAAO,MAAM,CAAC,CAAC;CACvC;AAED,OAAO,MAAM,CAAC;AACd,OAAO,QAAQ,MAAM,CAAC;IACpB,UAAiB,gBAAgB;QAC/B,QAAQ,EAAE,gBAAgB,CAAC;KAC5B;IAED,UAAiB,gBAAgB;QAC/B,QAAQ,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;KACrC;CAKF;AAED,iBAAiB"}
@@ -1,3 +1,3 @@
1
1
  export declare const __ThisModule__ = "a-form";
2
- export { ScopeModuleAForm as ScopeModule } from './index.js';
2
+ export { ScopeModuleAForm as ScopeModule } from './index.ts';
3
3
  //# sourceMappingURL=this.d.ts.map
@@ -5,12 +5,12 @@ import { VNode } from 'vue';
5
5
  import { z } from 'zod';
6
6
  import { ZovaJsx } from 'zova-jsx';
7
7
  import { IFormMeta, IFormProvider, IResourceFormFieldLayoutOptions, IResourceRenderBlockOptionsBlock, ISchemaObjectExtensionField, ScopeModuleAOpenapi, TypeFormFieldRenderComponent, TypeFormFieldRenderComponentProvider, TypeFormSchemaScene } from 'zova-module-a-openapi';
8
- import type { ISchemaRefreshContext } from '../../lib/schemaRefresh.js';
9
- import type { IResolvedFormLayoutNode, IResolvedFormLayoutTab } from '../../types/formLayout.js';
10
- import { BeanControllerFormBase } from '../../lib/beanControllerFormBase.js';
11
- import { IFormScope, RevalidateLogicProps, TypeFormOnShowError, TypeFormOnSubmit, TypeFormOnSubmitInvalid } from '../../types/form.js';
12
- import { IFormFieldOptions, IFormFieldRenderContextPropsBucket, IFormFieldScope, IJsxRenderContextForm, IJsxRenderContextFormField } from '../../types/formField.js';
13
- import { ControllerFormField } from '../formField/controller.jsx';
8
+ import type { ISchemaRefreshContext } from '../../lib/schemaRefresh.ts';
9
+ import type { IResolvedFormLayoutNode, IResolvedFormLayoutTab } from '../../types/formLayout.ts';
10
+ import { BeanControllerFormBase } from '../../lib/beanControllerFormBase.ts';
11
+ import { IFormScope, RevalidateLogicProps, TypeFormOnShowError, TypeFormOnSubmit, TypeFormOnSubmitInvalid } from '../../types/form.ts';
12
+ import { IFormFieldOptions, IFormFieldRenderContextPropsBucket, IFormFieldScope, IJsxRenderContextForm, IJsxRenderContextFormField } from '../../types/formField.ts';
13
+ import { ControllerFormField } from '../formField/controller.tsx';
14
14
  export interface ControllerFormProps<TFormData extends {} = {}, TSubmitMeta = never> {
15
15
  formTag?: string;
16
16
  data?: TFormData;
@@ -60,7 +60,7 @@ export declare class ControllerForm<TFormData extends {} = {}, TSubmitMeta = nev
60
60
  submit(submitMeta?: TSubmitMeta): Promise<boolean>;
61
61
  protected __dispose__(): void;
62
62
  hasSchemaRefresh(name: string): boolean;
63
- consumeSchemaRefresh(name: string, configuration: string, eligible: boolean): import("../../lib/schemaRefresh.js").ISchemaRefreshResult;
63
+ consumeSchemaRefresh(name: string, configuration: string, eligible: boolean): import("../../lib/schemaRefresh.ts").ISchemaRefreshResult;
64
64
  schemaFieldRefreshed(): void;
65
65
  reset(values?: TFormData, opts?: {
66
66
  keepDefaultValues?: boolean;
@@ -1,9 +1,9 @@
1
1
  import z from 'zod';
2
2
  import { BeanControllerBase, IComponentOptions } from 'zova';
3
3
  import { BeanBehaviorsHolder } from 'zova-module-a-behavior';
4
- import type { ControllerForm } from '../form/controller.jsx';
5
- import { TypeFormField } from '../../types/form.js';
6
- import { IFormFieldComponentOptions, IFormFieldRenderContext, IFormFieldRenderContextPropsBucket } from '../../types/formField.js';
4
+ import type { ControllerForm } from '../form/controller.tsx';
5
+ import { TypeFormField } from '../../types/form.ts';
6
+ import { IFormFieldComponentOptions, IFormFieldRenderContext, IFormFieldRenderContextPropsBucket } from '../../types/formField.ts';
7
7
  export interface ControllerFormFieldProps<TParentData extends {} = {}> extends IFormFieldComponentOptions<TParentData> {
8
8
  }
9
9
  export declare class ControllerFormField<TParentData extends {} = {}> extends BeanControllerBase {
@@ -1,7 +1,7 @@
1
1
  import type { IComponentOptions } from 'zova';
2
2
  import { VNode } from 'vue';
3
3
  import { BeanControllerBase } from 'zova';
4
- import { ControllerForm } from '../form/controller.jsx';
4
+ import { ControllerForm } from '../form/controller.tsx';
5
5
  export interface ControllerFormFieldBlankProps<TParentData extends {} = {}, TSubmitMeta = never> {
6
6
  slotDefault?: (form: ControllerForm<TParentData, TSubmitMeta>) => VNode | undefined;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { BeanControllerBase, IComponentOptions } from 'zova';
2
2
  import { ISchemaRenderComponentPresetRecord } from 'zova-module-a-openapi';
3
- import type { ControllerForm } from '../form/controller.jsx';
4
- import { IFormFieldPresetOptions } from '../../types/formField.js';
3
+ import type { ControllerForm } from '../form/controller.tsx';
4
+ import { IFormFieldPresetOptions } from '../../types/formField.ts';
5
5
  export interface ControllerFormFieldPresetProps<PresetName extends keyof ISchemaRenderComponentPresetRecord = never> extends IFormFieldPresetOptions<PresetName> {
6
6
  }
7
7
  export declare class ControllerFormFieldPreset extends BeanControllerBase {
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from './.metadata/index.js';
2
- export * from './lib/index.js';
3
- export * from './types/index.js';
1
+ export * from './.metadata/index.ts';
2
+ export * from './lib/index.ts';
3
+ export * from './types/index.ts';
4
4
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -210,18 +210,23 @@ function opaqueBehavior(value) {
210
210
  "zova-jsx:actionBulk"
211
211
  ].includes(String(item)) : /^(?:on[A-Z]|effect|evaluate|expression|command|behavior|validator|slot|v-|\$)/i.test(key)) || opaqueBehavior(item));
212
212
  }
213
+ var pageEntryBlockOptions = [
214
+ "blocks",
215
+ "resource",
216
+ "id",
217
+ "formScene",
218
+ "pageTitleKey",
219
+ "draft"
220
+ ];
213
221
  var blockOptions = {
214
- "basic-pageentry:blockPageEntry": [
215
- "blocks",
216
- "resource",
217
- "id",
218
- "formScene",
219
- "pageTitleKey",
220
- "draft"
221
- ],
222
+ "basic-pageentry:blockPageEntry": pageEntryBlockOptions,
223
+ "start-pageentry:blockPageEntry": pageEntryBlockOptions,
222
224
  "basic-pageentry:blockForm": ["blocks"],
225
+ "start-pageentry:blockForm": ["blocks"],
223
226
  "basic-form:blockFormLayout": ["formLayout"],
224
- "basic-pageentry:blockToolbarRow": ["actions"]
227
+ "start-form:blockFormLayout": ["formLayout"],
228
+ "basic-pageentry:blockToolbarRow": ["actions"],
229
+ "start-pageentry:blockToolbarRow": ["actions"]
225
230
  };
226
231
  function safeLayoutNode(value) {
227
232
  if (!isRecord(value) || typeof value.type !== "string") return false;
@@ -323,7 +328,7 @@ function normalizeBlocks(value) {
323
328
  if (!isRecord(block) || !isRecord(block.options)) return block;
324
329
  const options = { ...block.options };
325
330
  if (Object.hasOwn(options, "blocks")) options.blocks = normalizeBlocks(options.blocks);
326
- if (block.render === "basic-form:blockFormLayout" && safeLayout(options.formLayout)) options.formLayout = { children: options.formLayout.children.map(normalizeLayoutNode) };
331
+ if (["basic-form:blockFormLayout", "start-form:blockFormLayout"].includes(block.render) && safeLayout(options.formLayout)) options.formLayout = { children: options.formLayout.children.map(normalizeLayoutNode) };
327
332
  return {
328
333
  ...block,
329
334
  options
@@ -401,7 +406,8 @@ function createSchemaRefreshContract(schema, properties, resolveSchema) {
401
406
  const rest = property.rest;
402
407
  const form = isRecord(rest.form) ? rest.form : void 0;
403
408
  const render = rest.render ?? form?.render;
404
- if ((isRecord(render) ? render.type : render) !== "basic-details:formFieldDetails") continue;
409
+ const renderType = isRecord(render) ? render.type : render;
410
+ if (!["basic-details:formFieldDetails", "start-details:formFieldDetails"].includes(String(renderType))) continue;
405
411
  for (const name of [
406
412
  property.key,
407
413
  property.schemaKey,
@@ -1494,8 +1500,6 @@ var config = (_sys) => {
1494
1500
  };
1495
1501
  //#endregion
1496
1502
  //#region src/.metadata/index.ts
1497
- /** config: end */
1498
- /** scope: begin */
1499
1503
  var _dec;
1500
1504
  var _dec2;
1501
1505
  var _class;