@stndrds/schema 1.0.0-alpha.352 → 1.0.0-alpha.354

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 (77) hide show
  1. package/dist/{all-BmVuO_vv.d.mts → all-SkbqeVsR.d.mts} +39 -50
  2. package/dist/{all-Bv-5hu8j.d.ts → all-WEAw-zHa.d.ts} +39 -50
  3. package/dist/{attributes-Cft68n4u.d.mts → attributes-0MFN3D1T.d.mts} +1 -1
  4. package/dist/{attributes-gEcJp-WP.d.ts → attributes-D3wn8qoZ.d.ts} +1 -1
  5. package/dist/{checkbox-C-kdNm3A.d.mts → checkbox-DO1Komkk.d.mts} +2 -2
  6. package/dist/{checkbox-C7ctkYoQ.d.ts → checkbox-DbL9Kc0_.d.ts} +2 -2
  7. package/dist/{config-CiAtjzem.mjs → config-BkMUw1Ho.mjs} +4 -4
  8. package/dist/{config-CYuFravl.js → config-CQj1KDVm.js} +1 -1
  9. package/dist/{date-mQ8gxU85.d.mts → date-BYjdx-FS.d.mts} +2 -2
  10. package/dist/{date-CY4L11B_.d.ts → date-D1M2lsRo.d.ts} +2 -2
  11. package/dist/{exceptions-704MxF-j.d.mts → exceptions-BG2LUDOt.d.mts} +2 -0
  12. package/dist/{exceptions-704MxF-j.d.ts → exceptions-BG2LUDOt.d.ts} +2 -0
  13. package/dist/exceptions.d.mts +1 -1
  14. package/dist/exceptions.d.ts +1 -1
  15. package/dist/exceptions.js +1 -1
  16. package/dist/exceptions.mjs +1 -1
  17. package/dist/{index-DmS-DtU4.d.ts → index-B8VLnf0C.d.ts} +4 -4
  18. package/dist/{index-BV_w2VTh.d.mts → index-BQ7N0iEr.d.ts} +14 -2
  19. package/dist/{index-UYQmTrEG.d.ts → index-BRGf8Pj9.d.mts} +14 -2
  20. package/dist/{index-DQ4cGca2.d.mts → index-BT21OFT0.d.mts} +4 -4
  21. package/dist/{index-Bbc3qfJ3.d.ts → index-BxM_oMmi.d.ts} +1 -1
  22. package/dist/{index-Cga9i2js.d.mts → index-D9Zkc3Zp.d.mts} +1 -1
  23. package/dist/index.d.mts +3837 -3651
  24. package/dist/index.d.ts +3837 -3651
  25. package/dist/index.js +9 -9
  26. package/dist/index.mjs +9 -9
  27. package/dist/{number-CAAAb8Wz.d.ts → number-B6nCPYSp.d.ts} +2 -2
  28. package/dist/{number-eNEdOtC3.d.mts → number-Bz2mxDQV.d.mts} +2 -2
  29. package/dist/{text-BKyAPMGX.d.mts → text-BWe-JTsH.d.mts} +2 -2
  30. package/dist/{text-CP1eHBEv.d.ts → text-CbUS9lxj.d.ts} +2 -2
  31. package/dist/{utils-CnhbUWev.d.mts → utils-ByfbrMxt.d.mts} +1 -1
  32. package/dist/{utils-C6VEXia7.d.ts → utils-DiHsvBLK.d.ts} +1 -1
  33. package/dist/utils.d.mts +1 -1
  34. package/dist/utils.d.ts +1 -1
  35. package/dist/validation/all.d.mts +5 -5
  36. package/dist/validation/all.d.ts +5 -5
  37. package/dist/validation/all.js +1 -1
  38. package/dist/validation/all.mjs +1 -1
  39. package/dist/validation/complex/currency.d.mts +2 -2
  40. package/dist/validation/complex/currency.d.ts +2 -2
  41. package/dist/validation/complex/location.d.mts +2 -2
  42. package/dist/validation/complex/location.d.ts +2 -2
  43. package/dist/validation/complex/phone.d.mts +2 -2
  44. package/dist/validation/complex/phone.d.ts +2 -2
  45. package/dist/validation/complex/relation.d.mts +2 -2
  46. package/dist/validation/complex/relation.d.ts +2 -2
  47. package/dist/validation/complex/richtext.d.mts +2 -2
  48. package/dist/validation/complex/richtext.d.ts +2 -2
  49. package/dist/validation/complex/select.d.mts +2 -2
  50. package/dist/validation/complex/select.d.ts +2 -2
  51. package/dist/validation/complex/user.d.mts +2 -2
  52. package/dist/validation/complex/user.d.ts +2 -2
  53. package/dist/validation/computed/formula.d.mts +2 -2
  54. package/dist/validation/computed/formula.d.ts +2 -2
  55. package/dist/validation/computed/rollup.d.mts +2 -2
  56. package/dist/validation/computed/rollup.d.ts +2 -2
  57. package/dist/validation/config/index.d.mts +2 -2
  58. package/dist/validation/config/index.d.ts +2 -2
  59. package/dist/validation/config/index.js +1 -1
  60. package/dist/validation/config/index.mjs +1 -1
  61. package/dist/validation/core/index.d.mts +1 -1
  62. package/dist/validation/core/index.d.ts +1 -1
  63. package/dist/validation/object/index.d.mts +1 -1
  64. package/dist/validation/object/index.d.ts +1 -1
  65. package/dist/validation/primitives/checkbox.d.mts +1 -1
  66. package/dist/validation/primitives/checkbox.d.ts +1 -1
  67. package/dist/validation/primitives/date.d.mts +1 -1
  68. package/dist/validation/primitives/date.d.ts +1 -1
  69. package/dist/validation/primitives/number.d.mts +1 -1
  70. package/dist/validation/primitives/number.d.ts +1 -1
  71. package/dist/validation/primitives/text.d.mts +1 -1
  72. package/dist/validation/primitives/text.d.ts +1 -1
  73. package/dist/view-config.schema-CLY7xK9f.js +2 -0
  74. package/dist/view-config.schema-DbDc6VTO.mjs +2 -0
  75. package/package.json +2 -2
  76. package/dist/view-config.schema-CCrM5b-O.mjs +0 -2
  77. package/dist/view-config.schema-CgU86fLj.js +0 -2
@@ -1,6 +1,6 @@
1
1
 
2
- import { S as NumberAttribute } from "./attributes-gEcJp-WP.js";
3
- import { r as ValidationMessages } from "./index-Bbc3qfJ3.js";
2
+ import { S as NumberAttribute } from "./attributes-D3wn8qoZ.js";
3
+ import { r as ValidationMessages } from "./index-BxM_oMmi.js";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/primitives/number.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { S as NumberAttribute } from "./attributes-Cft68n4u.mjs";
3
- import { r as ValidationMessages } from "./index-Cga9i2js.mjs";
2
+ import { S as NumberAttribute } from "./attributes-0MFN3D1T.mjs";
3
+ import { r as ValidationMessages } from "./index-D9Zkc3Zp.mjs";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/primitives/number.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { R as TextAttribute } from "./attributes-Cft68n4u.mjs";
3
- import { r as ValidationMessages } from "./index-Cga9i2js.mjs";
2
+ import { R as TextAttribute } from "./attributes-0MFN3D1T.mjs";
3
+ import { r as ValidationMessages } from "./index-D9Zkc3Zp.mjs";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/primitives/text.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { R as TextAttribute } from "./attributes-gEcJp-WP.js";
3
- import { r as ValidationMessages } from "./index-Bbc3qfJ3.js";
2
+ import { R as TextAttribute } from "./attributes-D3wn8qoZ.js";
3
+ import { r as ValidationMessages } from "./index-BxM_oMmi.js";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/primitives/text.d.ts
6
6
  /**
@@ -1,5 +1,5 @@
1
1
 
2
- import { O as SchemaError } from "./exceptions-704MxF-j.mjs";
2
+ import { O as SchemaError } from "./exceptions-BG2LUDOt.mjs";
3
3
  //#region src/utils/stable-json.d.ts
4
4
  declare class NonJsonValueError extends SchemaError {
5
5
  constructor();
@@ -1,5 +1,5 @@
1
1
 
2
- import { O as SchemaError } from "./exceptions-704MxF-j.js";
2
+ import { O as SchemaError } from "./exceptions-BG2LUDOt.js";
3
3
  //#region src/utils/stable-json.d.ts
4
4
  declare class NonJsonValueError extends SchemaError {
5
5
  constructor();
package/dist/utils.d.mts CHANGED
@@ -1,3 +1,3 @@
1
1
 
2
- import { a as asUserId, c as indexBy, i as asTenantId, n as UserId, o as deepEqual, r as Uuid, s as generateId, t as TenantId, u as canonicalStringify } from "./utils-CnhbUWev.mjs";
2
+ import { a as asUserId, c as indexBy, i as asTenantId, n as UserId, o as deepEqual, r as Uuid, s as generateId, t as TenantId, u as canonicalStringify } from "./utils-ByfbrMxt.mjs";
3
3
  export { TenantId, UserId, Uuid, asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy };
package/dist/utils.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
 
2
- import { a as asUserId, c as indexBy, i as asTenantId, n as UserId, o as deepEqual, r as Uuid, s as generateId, t as TenantId, u as canonicalStringify } from "./utils-C6VEXia7.js";
2
+ import { a as asUserId, c as indexBy, i as asTenantId, n as UserId, o as deepEqual, r as Uuid, s as generateId, t as TenantId, u as canonicalStringify } from "./utils-DiHsvBLK.js";
3
3
  export { TenantId, UserId, Uuid, asTenantId, asUserId, canonicalStringify, deepEqual, generateId, indexBy };
@@ -1,6 +1,6 @@
1
1
 
2
- import { d as colorIdSchema, f as iconNameSchema, l as publishedViewContentDefinitionSchema, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, r as contentViewDefinitionSchema, t as collectionContentSourceSchema } from "../all-BmVuO_vv.mjs";
3
- import { a as validateDraft, c as validateObjectOrThrow, f as createFormAttributeValidator, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject } from "../index-DQ4cGca2.mjs";
4
- import { _ as statusOptionWriteSchema, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema, v as withoutUnknownOptionKeys } from "../index-BV_w2VTh.mjs";
5
- import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../index-Cga9i2js.mjs";
6
- export { DEFAULT_VALIDATION_MESSAGES, SCHEMA_LIMITS, SIMPLE_PROPERTY_TYPES, type ValidationMessages, WIRE_OMITTED_CONFIG_KEYS, attributeConfigSchemas, collectionContentSourceSchema, colorIdSchema, contentViewDefinitionSchema, createFormAttributeValidator, draftContentViewDefinitionSchema, formatZodErrors, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, publishedViewContentDefinitionSchema, refuseForeignKeys, rejectUnknownAttributesOrThrow, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow, withoutUnknownOptionKeys };
2
+ import { d as colorIdSchema, f as iconNameSchema, l as publishedViewContentDefinitionSchema, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, r as contentViewDefinitionSchema, t as collectionContentSourceSchema } from "../all-SkbqeVsR.mjs";
3
+ import { a as validateDraft, c as validateObjectOrThrow, f as createFormAttributeValidator, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject } from "../index-BT21OFT0.mjs";
4
+ import { _ as statusGroupSchema, b as withoutUnknownOptionKeys, c as parseAttributeConfig, d as propertyAttributeSchema, f as propertyAttributeWireSchema, g as selectOptionWriteSchema, h as refuseForeignKeys, i as attributeConfigSchemas, l as parseAttributeConfigForCreate, m as propertySchemaWireSchema, p as propertySchemaSchema, r as WIRE_OMITTED_CONFIG_KEYS, s as multiselectOptionWriteSchema, t as SIMPLE_PROPERTY_TYPES, u as parseAttributeConfigForUpdate, v as statusOptionWriteSchema, y as wireOmittedConfigKeysFor } from "../index-BRGf8Pj9.mjs";
5
+ import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../index-D9Zkc3Zp.mjs";
6
+ export { DEFAULT_VALIDATION_MESSAGES, SCHEMA_LIMITS, SIMPLE_PROPERTY_TYPES, type ValidationMessages, WIRE_OMITTED_CONFIG_KEYS, attributeConfigSchemas, collectionContentSourceSchema, colorIdSchema, contentViewDefinitionSchema, createFormAttributeValidator, draftContentViewDefinitionSchema, formatZodErrors, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, publishedViewContentDefinitionSchema, refuseForeignKeys, rejectUnknownAttributesOrThrow, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow, wireOmittedConfigKeysFor, withoutUnknownOptionKeys };
@@ -1,6 +1,6 @@
1
1
 
2
- import { d as colorIdSchema, f as iconNameSchema, l as publishedViewContentDefinitionSchema, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, r as contentViewDefinitionSchema, t as collectionContentSourceSchema } from "../all-Bv-5hu8j.js";
3
- import { a as validateDraft, c as validateObjectOrThrow, f as createFormAttributeValidator, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject } from "../index-DmS-DtU4.js";
4
- import { _ as statusOptionWriteSchema, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema, v as withoutUnknownOptionKeys } from "../index-UYQmTrEG.js";
5
- import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../index-Bbc3qfJ3.js";
6
- export { DEFAULT_VALIDATION_MESSAGES, SCHEMA_LIMITS, SIMPLE_PROPERTY_TYPES, type ValidationMessages, WIRE_OMITTED_CONFIG_KEYS, attributeConfigSchemas, collectionContentSourceSchema, colorIdSchema, contentViewDefinitionSchema, createFormAttributeValidator, draftContentViewDefinitionSchema, formatZodErrors, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, publishedViewContentDefinitionSchema, refuseForeignKeys, rejectUnknownAttributesOrThrow, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow, withoutUnknownOptionKeys };
2
+ import { d as colorIdSchema, f as iconNameSchema, l as publishedViewContentDefinitionSchema, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, r as contentViewDefinitionSchema, t as collectionContentSourceSchema } from "../all-WEAw-zHa.js";
3
+ import { a as validateDraft, c as validateObjectOrThrow, f as createFormAttributeValidator, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject } from "../index-B8VLnf0C.js";
4
+ import { _ as statusGroupSchema, b as withoutUnknownOptionKeys, c as parseAttributeConfig, d as propertyAttributeSchema, f as propertyAttributeWireSchema, g as selectOptionWriteSchema, h as refuseForeignKeys, i as attributeConfigSchemas, l as parseAttributeConfigForCreate, m as propertySchemaWireSchema, p as propertySchemaSchema, r as WIRE_OMITTED_CONFIG_KEYS, s as multiselectOptionWriteSchema, t as SIMPLE_PROPERTY_TYPES, u as parseAttributeConfigForUpdate, v as statusOptionWriteSchema, y as wireOmittedConfigKeysFor } from "../index-BQ7N0iEr.js";
5
+ import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../index-BxM_oMmi.js";
6
+ export { DEFAULT_VALIDATION_MESSAGES, SCHEMA_LIMITS, SIMPLE_PROPERTY_TYPES, type ValidationMessages, WIRE_OMITTED_CONFIG_KEYS, attributeConfigSchemas, collectionContentSourceSchema, colorIdSchema, contentViewDefinitionSchema, createFormAttributeValidator, draftContentViewDefinitionSchema, formatZodErrors, iconNameSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, publishedViewContentDefinitionSchema, refuseForeignKeys, rejectUnknownAttributesOrThrow, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow, wireOmittedConfigKeysFor, withoutUnknownOptionKeys };
@@ -1,2 +1,2 @@
1
1
  /*! © 2025-2026 AND YOU CREATE SAS (RCS Paris 940 190 614). Proprietary — see LICENSE (Standards SDK License 1.0). */
2
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../config-CYuFravl.js"),t=require("../view-config.schema-CgU86fLj.js"),n=require("../core-397tQy5q.js"),r=require("../object-xwmmQZ8z.js");exports.DEFAULT_VALIDATION_MESSAGES=n.n,exports.SCHEMA_LIMITS=e.U,exports.SIMPLE_PROPERTY_TYPES=e.t,exports.WIRE_OMITTED_CONFIG_KEYS=e.n,exports.attributeConfigSchemas=e.r,exports.collectionContentSourceSchema=t.t,exports.colorIdSchema=e.V,exports.contentViewDefinitionSchema=t.r,exports.createFormAttributeValidator=r.f,exports.draftContentViewDefinitionSchema=t.o,exports.formatZodErrors=n.t,exports.iconNameSchema=e.H,exports.multiselectOptionWriteSchema=e.o,exports.parseAttributeConfig=e.s,exports.parseAttributeConfigForCreate=e.c,exports.parseAttributeConfigForUpdate=e.l,exports.propertyAttributeSchema=e.u,exports.propertyAttributeWireSchema=e.d,exports.propertySchemaSchema=e.f,exports.propertySchemaWireSchema=e.p,exports.publishedViewContentDefinitionSchema=t.l,exports.refuseForeignKeys=e.m,exports.rejectUnknownAttributesOrThrow=r.r,exports.selectOptionWriteSchema=e.h,exports.statusGroupSchema=e.g,exports.statusOptionWriteSchema=e._,exports.validateDraft=r.a,exports.validateDraftOrThrow=r.o,exports.validateObject=r.s,exports.validateObjectOrThrow=r.c,exports.withoutUnknownOptionKeys=e.v;
2
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../config-CQj1KDVm.js"),t=require("../view-config.schema-CLY7xK9f.js"),n=require("../core-397tQy5q.js"),r=require("../object-xwmmQZ8z.js");exports.DEFAULT_VALIDATION_MESSAGES=n.n,exports.SCHEMA_LIMITS=e.G,exports.SIMPLE_PROPERTY_TYPES=e.t,exports.WIRE_OMITTED_CONFIG_KEYS=e.r,exports.attributeConfigSchemas=e.i,exports.collectionContentSourceSchema=t.t,exports.colorIdSchema=e.U,exports.contentViewDefinitionSchema=t.r,exports.createFormAttributeValidator=r.f,exports.draftContentViewDefinitionSchema=t.o,exports.formatZodErrors=n.t,exports.iconNameSchema=e.W,exports.multiselectOptionWriteSchema=e.s,exports.parseAttributeConfig=e.c,exports.parseAttributeConfigForCreate=e.l,exports.parseAttributeConfigForUpdate=e.u,exports.propertyAttributeSchema=e.d,exports.propertyAttributeWireSchema=e.f,exports.propertySchemaSchema=e.p,exports.propertySchemaWireSchema=e.m,exports.publishedViewContentDefinitionSchema=t.l,exports.refuseForeignKeys=e.h,exports.rejectUnknownAttributesOrThrow=r.r,exports.selectOptionWriteSchema=e.g,exports.statusGroupSchema=e._,exports.statusOptionWriteSchema=e.v,exports.validateDraft=r.a,exports.validateDraftOrThrow=r.o,exports.validateObject=r.s,exports.validateObjectOrThrow=r.c,exports.wireOmittedConfigKeysFor=e.y,exports.withoutUnknownOptionKeys=e.b;
@@ -1,2 +1,2 @@
1
1
  /*! © 2025-2026 AND YOU CREATE SAS (RCS Paris 940 190 614). Proprietary — see LICENSE (Standards SDK License 1.0). */
2
- import{l as e,o as t,r as n,t as r}from"../view-config.schema-CCrM5b-O.mjs";import{H as i,U as a,V as o,_ as s,c,d as l,f as u,g as d,h as f,l as p,m,n as h,o as g,p as _,r as v,s as y,t as b,u as x,v as S}from"../config-CiAtjzem.mjs";import{n as C,t as w}from"../core-BLHhNykL.mjs";import{a as T,c as E,f as D,o as O,r as k,s as A}from"../object-sbH7KtsH.mjs";export{C as DEFAULT_VALIDATION_MESSAGES,a as SCHEMA_LIMITS,b as SIMPLE_PROPERTY_TYPES,h as WIRE_OMITTED_CONFIG_KEYS,v as attributeConfigSchemas,r as collectionContentSourceSchema,o as colorIdSchema,n as contentViewDefinitionSchema,D as createFormAttributeValidator,t as draftContentViewDefinitionSchema,w as formatZodErrors,i as iconNameSchema,g as multiselectOptionWriteSchema,y as parseAttributeConfig,c as parseAttributeConfigForCreate,p as parseAttributeConfigForUpdate,x as propertyAttributeSchema,l as propertyAttributeWireSchema,u as propertySchemaSchema,_ as propertySchemaWireSchema,e as publishedViewContentDefinitionSchema,m as refuseForeignKeys,k as rejectUnknownAttributesOrThrow,f as selectOptionWriteSchema,d as statusGroupSchema,s as statusOptionWriteSchema,T as validateDraft,O as validateDraftOrThrow,A as validateObject,E as validateObjectOrThrow,S as withoutUnknownOptionKeys};
2
+ import{l as e,o as t,r as n,t as r}from"../view-config.schema-DbDc6VTO.mjs";import{G as i,U as a,W as o,_ as s,b as c,c as l,d as u,f as d,g as f,h as p,i as m,l as h,m as g,p as _,r as v,s as y,t as b,u as x,v as S,y as C}from"../config-BkMUw1Ho.mjs";import{n as w,t as T}from"../core-BLHhNykL.mjs";import{a as E,c as D,f as O,o as k,r as A,s as j}from"../object-sbH7KtsH.mjs";export{w as DEFAULT_VALIDATION_MESSAGES,i as SCHEMA_LIMITS,b as SIMPLE_PROPERTY_TYPES,v as WIRE_OMITTED_CONFIG_KEYS,m as attributeConfigSchemas,r as collectionContentSourceSchema,a as colorIdSchema,n as contentViewDefinitionSchema,O as createFormAttributeValidator,t as draftContentViewDefinitionSchema,T as formatZodErrors,o as iconNameSchema,y as multiselectOptionWriteSchema,l as parseAttributeConfig,h as parseAttributeConfigForCreate,x as parseAttributeConfigForUpdate,u as propertyAttributeSchema,d as propertyAttributeWireSchema,_ as propertySchemaSchema,g as propertySchemaWireSchema,e as publishedViewContentDefinitionSchema,p as refuseForeignKeys,A as rejectUnknownAttributesOrThrow,f as selectOptionWriteSchema,s as statusGroupSchema,S as statusOptionWriteSchema,E as validateDraft,k as validateDraftOrThrow,j as validateObject,D as validateObjectOrThrow,C as wireOmittedConfigKeysFor,c as withoutUnknownOptionKeys};
@@ -1,6 +1,6 @@
1
1
 
2
- import { l as CurrencyAttribute } from "../../attributes-Cft68n4u.mjs";
3
- import { r as ValidationMessages } from "../../index-Cga9i2js.mjs";
2
+ import { l as CurrencyAttribute } from "../../attributes-0MFN3D1T.mjs";
3
+ import { r as ValidationMessages } from "../../index-D9Zkc3Zp.mjs";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/currency.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { l as CurrencyAttribute } from "../../attributes-gEcJp-WP.js";
3
- import { r as ValidationMessages } from "../../index-Bbc3qfJ3.js";
2
+ import { l as CurrencyAttribute } from "../../attributes-D3wn8qoZ.js";
3
+ import { r as ValidationMessages } from "../../index-BxM_oMmi.js";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/currency.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { v as LocationAttribute } from "../../attributes-Cft68n4u.mjs";
3
- import { r as ValidationMessages } from "../../index-Cga9i2js.mjs";
2
+ import { v as LocationAttribute } from "../../attributes-0MFN3D1T.mjs";
3
+ import { r as ValidationMessages } from "../../index-D9Zkc3Zp.mjs";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/location.d.ts
6
6
  type LocationShape = {
@@ -1,6 +1,6 @@
1
1
 
2
- import { v as LocationAttribute } from "../../attributes-gEcJp-WP.js";
3
- import { r as ValidationMessages } from "../../index-Bbc3qfJ3.js";
2
+ import { v as LocationAttribute } from "../../attributes-D3wn8qoZ.js";
3
+ import { r as ValidationMessages } from "../../index-BxM_oMmi.js";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/location.d.ts
6
6
  type LocationShape = {
@@ -1,6 +1,6 @@
1
1
 
2
- import { E as PhoneAttribute } from "../../attributes-Cft68n4u.mjs";
3
- import { r as ValidationMessages } from "../../index-Cga9i2js.mjs";
2
+ import { E as PhoneAttribute } from "../../attributes-0MFN3D1T.mjs";
3
+ import { r as ValidationMessages } from "../../index-D9Zkc3Zp.mjs";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/phone.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { E as PhoneAttribute } from "../../attributes-gEcJp-WP.js";
3
- import { r as ValidationMessages } from "../../index-Bbc3qfJ3.js";
2
+ import { E as PhoneAttribute } from "../../attributes-D3wn8qoZ.js";
3
+ import { r as ValidationMessages } from "../../index-BxM_oMmi.js";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/phone.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { F as SingleRelationAttribute, O as RelationAttribute, b as MultiRelationAttribute } from "../../attributes-Cft68n4u.mjs";
3
- import { r as ValidationMessages } from "../../index-Cga9i2js.mjs";
2
+ import { F as SingleRelationAttribute, O as RelationAttribute, b as MultiRelationAttribute } from "../../attributes-0MFN3D1T.mjs";
3
+ import { r as ValidationMessages } from "../../index-D9Zkc3Zp.mjs";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/relation.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { F as SingleRelationAttribute, O as RelationAttribute, b as MultiRelationAttribute } from "../../attributes-gEcJp-WP.js";
3
- import { r as ValidationMessages } from "../../index-Bbc3qfJ3.js";
2
+ import { F as SingleRelationAttribute, O as RelationAttribute, b as MultiRelationAttribute } from "../../attributes-D3wn8qoZ.js";
3
+ import { r as ValidationMessages } from "../../index-BxM_oMmi.js";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/relation.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { j as RichtextAttribute } from "../../attributes-Cft68n4u.mjs";
3
- import { r as ValidationMessages } from "../../index-Cga9i2js.mjs";
2
+ import { j as RichtextAttribute } from "../../attributes-0MFN3D1T.mjs";
3
+ import { r as ValidationMessages } from "../../index-D9Zkc3Zp.mjs";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/richtext.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { j as RichtextAttribute } from "../../attributes-gEcJp-WP.js";
3
- import { r as ValidationMessages } from "../../index-Bbc3qfJ3.js";
2
+ import { j as RichtextAttribute } from "../../attributes-D3wn8qoZ.js";
3
+ import { r as ValidationMessages } from "../../index-BxM_oMmi.js";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/richtext.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { I as StatusAttribute, P as SelectAttribute, x as MultiselectAttribute } from "../../attributes-Cft68n4u.mjs";
3
- import { r as ValidationMessages } from "../../index-Cga9i2js.mjs";
2
+ import { I as StatusAttribute, P as SelectAttribute, x as MultiselectAttribute } from "../../attributes-0MFN3D1T.mjs";
3
+ import { r as ValidationMessages } from "../../index-D9Zkc3Zp.mjs";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/select.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { I as StatusAttribute, P as SelectAttribute, x as MultiselectAttribute } from "../../attributes-gEcJp-WP.js";
3
- import { r as ValidationMessages } from "../../index-Bbc3qfJ3.js";
2
+ import { I as StatusAttribute, P as SelectAttribute, x as MultiselectAttribute } from "../../attributes-D3wn8qoZ.js";
3
+ import { r as ValidationMessages } from "../../index-BxM_oMmi.js";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/select.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { B as UserAttribute } from "../../attributes-Cft68n4u.mjs";
3
- import { r as ValidationMessages } from "../../index-Cga9i2js.mjs";
2
+ import { B as UserAttribute } from "../../attributes-0MFN3D1T.mjs";
3
+ import { r as ValidationMessages } from "../../index-D9Zkc3Zp.mjs";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/user.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { B as UserAttribute } from "../../attributes-gEcJp-WP.js";
3
- import { r as ValidationMessages } from "../../index-Bbc3qfJ3.js";
2
+ import { B as UserAttribute } from "../../attributes-D3wn8qoZ.js";
3
+ import { r as ValidationMessages } from "../../index-BxM_oMmi.js";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/complex/user.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { h as FormulaAttribute } from "../../attributes-Cft68n4u.mjs";
3
- import { r as ValidationMessages } from "../../index-Cga9i2js.mjs";
2
+ import { h as FormulaAttribute } from "../../attributes-0MFN3D1T.mjs";
3
+ import { r as ValidationMessages } from "../../index-D9Zkc3Zp.mjs";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/computed/formula.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { h as FormulaAttribute } from "../../attributes-gEcJp-WP.js";
3
- import { r as ValidationMessages } from "../../index-Bbc3qfJ3.js";
2
+ import { h as FormulaAttribute } from "../../attributes-D3wn8qoZ.js";
3
+ import { r as ValidationMessages } from "../../index-BxM_oMmi.js";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/computed/formula.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { M as RollupAttribute } from "../../attributes-Cft68n4u.mjs";
3
- import { r as ValidationMessages } from "../../index-Cga9i2js.mjs";
2
+ import { M as RollupAttribute } from "../../attributes-0MFN3D1T.mjs";
3
+ import { r as ValidationMessages } from "../../index-D9Zkc3Zp.mjs";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/computed/rollup.d.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
 
2
- import { M as RollupAttribute } from "../../attributes-gEcJp-WP.js";
3
- import { r as ValidationMessages } from "../../index-Bbc3qfJ3.js";
2
+ import { M as RollupAttribute } from "../../attributes-D3wn8qoZ.js";
3
+ import { r as ValidationMessages } from "../../index-BxM_oMmi.js";
4
4
  import { z as z$1 } from "zod";
5
5
  //#region src/validation/computed/rollup.d.ts
6
6
  /**
@@ -1,3 +1,3 @@
1
1
 
2
- import { _ as statusOptionWriteSchema, a as getAttributeConfigWriteSchema, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, i as getAttributeConfigSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema, v as withoutUnknownOptionKeys } from "../../index-BV_w2VTh.mjs";
3
- export { SIMPLE_PROPERTY_TYPES, WIRE_OMITTED_CONFIG_KEYS, attributeConfigSchemas, getAttributeConfigSchema, getAttributeConfigWriteSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, refuseForeignKeys, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema, withoutUnknownOptionKeys };
2
+ import { _ as statusGroupSchema, a as getAttributeConfigSchema, b as withoutUnknownOptionKeys, c as parseAttributeConfig, d as propertyAttributeSchema, f as propertyAttributeWireSchema, g as selectOptionWriteSchema, h as refuseForeignKeys, i as attributeConfigSchemas, l as parseAttributeConfigForCreate, m as propertySchemaWireSchema, n as WIRE_OFFERED_BASE_CONFIG, o as getAttributeConfigWriteSchema, p as propertySchemaSchema, r as WIRE_OMITTED_CONFIG_KEYS, s as multiselectOptionWriteSchema, t as SIMPLE_PROPERTY_TYPES, u as parseAttributeConfigForUpdate, v as statusOptionWriteSchema, y as wireOmittedConfigKeysFor } from "../../index-BRGf8Pj9.mjs";
3
+ export { SIMPLE_PROPERTY_TYPES, WIRE_OFFERED_BASE_CONFIG, WIRE_OMITTED_CONFIG_KEYS, attributeConfigSchemas, getAttributeConfigSchema, getAttributeConfigWriteSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, refuseForeignKeys, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema, wireOmittedConfigKeysFor, withoutUnknownOptionKeys };
@@ -1,3 +1,3 @@
1
1
 
2
- import { _ as statusOptionWriteSchema, a as getAttributeConfigWriteSchema, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, i as getAttributeConfigSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema, v as withoutUnknownOptionKeys } from "../../index-UYQmTrEG.js";
3
- export { SIMPLE_PROPERTY_TYPES, WIRE_OMITTED_CONFIG_KEYS, attributeConfigSchemas, getAttributeConfigSchema, getAttributeConfigWriteSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, refuseForeignKeys, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema, withoutUnknownOptionKeys };
2
+ import { _ as statusGroupSchema, a as getAttributeConfigSchema, b as withoutUnknownOptionKeys, c as parseAttributeConfig, d as propertyAttributeSchema, f as propertyAttributeWireSchema, g as selectOptionWriteSchema, h as refuseForeignKeys, i as attributeConfigSchemas, l as parseAttributeConfigForCreate, m as propertySchemaWireSchema, n as WIRE_OFFERED_BASE_CONFIG, o as getAttributeConfigWriteSchema, p as propertySchemaSchema, r as WIRE_OMITTED_CONFIG_KEYS, s as multiselectOptionWriteSchema, t as SIMPLE_PROPERTY_TYPES, u as parseAttributeConfigForUpdate, v as statusOptionWriteSchema, y as wireOmittedConfigKeysFor } from "../../index-BQ7N0iEr.js";
3
+ export { SIMPLE_PROPERTY_TYPES, WIRE_OFFERED_BASE_CONFIG, WIRE_OMITTED_CONFIG_KEYS, attributeConfigSchemas, getAttributeConfigSchema, getAttributeConfigWriteSchema, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, refuseForeignKeys, selectOptionWriteSchema, statusGroupSchema, statusOptionWriteSchema, wireOmittedConfigKeysFor, withoutUnknownOptionKeys };
@@ -1,2 +1,2 @@
1
1
  /*! © 2025-2026 AND YOU CREATE SAS (RCS Paris 940 190 614). Proprietary — see LICENSE (Standards SDK License 1.0). */
2
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../config-CYuFravl.js");exports.SIMPLE_PROPERTY_TYPES=e.t,exports.WIRE_OMITTED_CONFIG_KEYS=e.n,exports.attributeConfigSchemas=e.r,exports.getAttributeConfigSchema=e.i,exports.getAttributeConfigWriteSchema=e.a,exports.multiselectOptionWriteSchema=e.o,exports.parseAttributeConfig=e.s,exports.parseAttributeConfigForCreate=e.c,exports.parseAttributeConfigForUpdate=e.l,exports.propertyAttributeSchema=e.u,exports.propertyAttributeWireSchema=e.d,exports.propertySchemaSchema=e.f,exports.propertySchemaWireSchema=e.p,exports.refuseForeignKeys=e.m,exports.selectOptionWriteSchema=e.h,exports.statusGroupSchema=e.g,exports.statusOptionWriteSchema=e._,exports.withoutUnknownOptionKeys=e.v;
2
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../config-CQj1KDVm.js");exports.SIMPLE_PROPERTY_TYPES=e.t,exports.WIRE_OFFERED_BASE_CONFIG=e.n,exports.WIRE_OMITTED_CONFIG_KEYS=e.r,exports.attributeConfigSchemas=e.i,exports.getAttributeConfigSchema=e.a,exports.getAttributeConfigWriteSchema=e.o,exports.multiselectOptionWriteSchema=e.s,exports.parseAttributeConfig=e.c,exports.parseAttributeConfigForCreate=e.l,exports.parseAttributeConfigForUpdate=e.u,exports.propertyAttributeSchema=e.d,exports.propertyAttributeWireSchema=e.f,exports.propertySchemaSchema=e.p,exports.propertySchemaWireSchema=e.m,exports.refuseForeignKeys=e.h,exports.selectOptionWriteSchema=e.g,exports.statusGroupSchema=e._,exports.statusOptionWriteSchema=e.v,exports.wireOmittedConfigKeysFor=e.y,exports.withoutUnknownOptionKeys=e.b;
@@ -1,2 +1,2 @@
1
1
  /*! © 2025-2026 AND YOU CREATE SAS (RCS Paris 940 190 614). Proprietary — see LICENSE (Standards SDK License 1.0). */
2
- import{_ as e,a as t,c as n,d as r,f as i,g as a,h as o,i as s,l as c,m as l,n as u,o as d,p as f,r as p,s as m,t as h,u as g,v as _}from"../../config-CiAtjzem.mjs";export{h as SIMPLE_PROPERTY_TYPES,u as WIRE_OMITTED_CONFIG_KEYS,p as attributeConfigSchemas,s as getAttributeConfigSchema,t as getAttributeConfigWriteSchema,d as multiselectOptionWriteSchema,m as parseAttributeConfig,n as parseAttributeConfigForCreate,c as parseAttributeConfigForUpdate,g as propertyAttributeSchema,r as propertyAttributeWireSchema,i as propertySchemaSchema,f as propertySchemaWireSchema,l as refuseForeignKeys,o as selectOptionWriteSchema,a as statusGroupSchema,e as statusOptionWriteSchema,_ as withoutUnknownOptionKeys};
2
+ import{_ as e,a as t,b as n,c as r,d as i,f as a,g as o,h as s,i as c,l,m as u,n as d,o as f,p,r as m,s as h,t as g,u as _,v,y}from"../../config-BkMUw1Ho.mjs";export{g as SIMPLE_PROPERTY_TYPES,d as WIRE_OFFERED_BASE_CONFIG,m as WIRE_OMITTED_CONFIG_KEYS,c as attributeConfigSchemas,t as getAttributeConfigSchema,f as getAttributeConfigWriteSchema,h as multiselectOptionWriteSchema,r as parseAttributeConfig,l as parseAttributeConfigForCreate,_ as parseAttributeConfigForUpdate,i as propertyAttributeSchema,a as propertyAttributeWireSchema,p as propertySchemaSchema,u as propertySchemaWireSchema,s as refuseForeignKeys,o as selectOptionWriteSchema,e as statusGroupSchema,v as statusOptionWriteSchema,y as wireOmittedConfigKeysFor,n as withoutUnknownOptionKeys};
@@ -1,3 +1,3 @@
1
1
 
2
- import { i as ValidationResult, n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../../index-Cga9i2js.mjs";
2
+ import { i as ValidationResult, n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../../index-D9Zkc3Zp.mjs";
3
3
  export { DEFAULT_VALIDATION_MESSAGES, type ValidationMessages, type ValidationResult, formatZodErrors };
@@ -1,3 +1,3 @@
1
1
 
2
- import { i as ValidationResult, n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../../index-Bbc3qfJ3.js";
2
+ import { i as ValidationResult, n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "../../index-BxM_oMmi.js";
3
3
  export { DEFAULT_VALIDATION_MESSAGES, type ValidationMessages, type ValidationResult, formatZodErrors };
@@ -1,3 +1,3 @@
1
1
 
2
- import { a as validateDraft, c as validateObjectOrThrow, d as createAttributeValidator, f as createFormAttributeValidator, i as validateAttribute, l as createDraftValidator, n as isRecordComplete, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject, t as getMissingRequiredAttributes, u as createObjectValidator } from "../../index-DQ4cGca2.mjs";
2
+ import { a as validateDraft, c as validateObjectOrThrow, d as createAttributeValidator, f as createFormAttributeValidator, i as validateAttribute, l as createDraftValidator, n as isRecordComplete, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject, t as getMissingRequiredAttributes, u as createObjectValidator } from "../../index-BT21OFT0.mjs";
3
3
  export { createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isRecordComplete, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow };
@@ -1,3 +1,3 @@
1
1
 
2
- import { a as validateDraft, c as validateObjectOrThrow, d as createAttributeValidator, f as createFormAttributeValidator, i as validateAttribute, l as createDraftValidator, n as isRecordComplete, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject, t as getMissingRequiredAttributes, u as createObjectValidator } from "../../index-DmS-DtU4.js";
2
+ import { a as validateDraft, c as validateObjectOrThrow, d as createAttributeValidator, f as createFormAttributeValidator, i as validateAttribute, l as createDraftValidator, n as isRecordComplete, o as validateDraftOrThrow, r as rejectUnknownAttributesOrThrow, s as validateObject, t as getMissingRequiredAttributes, u as createObjectValidator } from "../../index-B8VLnf0C.js";
3
3
  export { createAttributeValidator, createDraftValidator, createFormAttributeValidator, createObjectValidator, getMissingRequiredAttributes, isRecordComplete, rejectUnknownAttributesOrThrow, validateAttribute, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow };
@@ -1,3 +1,3 @@
1
1
 
2
- import { t as createCheckboxValidator } from "../../checkbox-C-kdNm3A.mjs";
2
+ import { t as createCheckboxValidator } from "../../checkbox-DO1Komkk.mjs";
3
3
  export { createCheckboxValidator };
@@ -1,3 +1,3 @@
1
1
 
2
- import { t as createCheckboxValidator } from "../../checkbox-C7ctkYoQ.js";
2
+ import { t as createCheckboxValidator } from "../../checkbox-DbL9Kc0_.js";
3
3
  export { createCheckboxValidator };
@@ -1,3 +1,3 @@
1
1
 
2
- import { t as createDateValidator } from "../../date-mQ8gxU85.mjs";
2
+ import { t as createDateValidator } from "../../date-BYjdx-FS.mjs";
3
3
  export { createDateValidator };
@@ -1,3 +1,3 @@
1
1
 
2
- import { t as createDateValidator } from "../../date-CY4L11B_.js";
2
+ import { t as createDateValidator } from "../../date-D1M2lsRo.js";
3
3
  export { createDateValidator };
@@ -1,3 +1,3 @@
1
1
 
2
- import { t as createNumberValidator } from "../../number-eNEdOtC3.mjs";
2
+ import { t as createNumberValidator } from "../../number-Bz2mxDQV.mjs";
3
3
  export { createNumberValidator };
@@ -1,3 +1,3 @@
1
1
 
2
- import { t as createNumberValidator } from "../../number-CAAAb8Wz.js";
2
+ import { t as createNumberValidator } from "../../number-B6nCPYSp.js";
3
3
  export { createNumberValidator };
@@ -1,3 +1,3 @@
1
1
 
2
- import { t as createTextValidator } from "../../text-BKyAPMGX.mjs";
2
+ import { t as createTextValidator } from "../../text-BWe-JTsH.mjs";
3
3
  export { createTextValidator };
@@ -1,3 +1,3 @@
1
1
 
2
- import { t as createTextValidator } from "../../text-CP1eHBEv.js";
2
+ import { t as createTextValidator } from "../../text-CbUS9lxj.js";
3
3
  export { createTextValidator };
@@ -0,0 +1,2 @@
1
+ /*! © 2025-2026 AND YOU CREATE SAS (RCS Paris 940 190 614). Proprietary — see LICENSE (Standards SDK License 1.0). */
2
+ const e=require("./config-CQj1KDVm.js"),t=require("./exceptions.js");let n=require("zod");const r={createdAt:`createdAt`,updatedAt:`updatedAt`,createdBy:`createdBy`,lastUpdatedBy:`lastUpdatedBy`,attachments:`attachments`};function getSystemAttributeI18nKey(e){return r[e]}const i={createdAt:{id:`system:createdAt`,name:`createdAt`,label:`Created time`,type:`date`,required:!1,system:!0,icon:`clock-circle`,description:`When this record was created`},updatedAt:{id:`system:updatedAt`,name:`updatedAt`,label:`Last edited time`,type:`date`,required:!1,system:!0,icon:`clock-circle`,description:`When this record was last modified`},createdBy:{id:`system:createdBy`,name:`createdBy`,label:`Created by`,type:`user`,required:!1,system:!0,multiple:!1,icon:`user`,description:`Actor who created this record`},lastUpdatedBy:{id:`system:lastUpdatedBy`,name:`lastUpdatedBy`,label:`Last edited by`,type:`user`,required:!1,system:!0,multiple:!1,icon:`user`,description:`Actor who last modified this record`},attachments:{id:`system:attachments`,name:`attachments`,label:`Attachments`,type:`document`,required:!1,system:!0,hidden:!0,icon:`paperclip`,description:`Free-form document attachments`}};function getSystemAttributeList(){return Object.values(i)}function isManagedSystemAttribute(e){return e.id?.startsWith(`system:`)??!1}const a=[`is`,`is_not`,`contains`,`not_contains`,`starts_with`,`ends_with`,`is_empty`,`is_not_empty`],o=[`is`,`is_not`,`less_than`,`greater_than`,`less_or_equal`,`greater_or_equal`,`is_empty`,`is_not_empty`],s=[`is`],c=[`is`,`is_not`,`less_than`,`greater_than`,`less_or_equal`,`greater_or_equal`,`is_within`,`on_day_month`,`is_empty`,`is_not_empty`],l=[`is`,`is_not`,`any_of`,`none_of`,`is_empty`,`is_not_empty`],u=[`any_of`,`none_of`,`is_empty`,`is_not_empty`],d=[`is`,`is_not`,`any_of`,`none_of`,`is_empty`,`is_not_empty`],f=[`is_empty`,`is_not_empty`],p=[`is`,`is_not`,`less_than`,`greater_than`,`less_or_equal`,`greater_or_equal`,`contains`,`not_contains`,`is_empty`,`is_not_empty`],m=[`city`,`postalCode`,`country`];function isLocationFilterProperty(e){return m.includes(e)}const h={text:a,richtext:[],number:o,checkbox:s,date:c,phone:[`is`,`is_not`,`contains`,`not_contains`,`starts_with`,`is_empty`,`is_not_empty`],currency:o,status:l,select:l,multiselect:u,location:[],user:d,relation:d,formula:p,document:f},ee=new Set([`formula`,`rollup`]),te=new Set([`user`,`relation`,`document`]),g=new Set([`text`,`richtext`,`number`,`select`,`multiselect`,`status`,`date`,`phone`,`currency`,`location`,`user`,`relation`,`document`]),ne=new Set([`text`,`number`,`date`,`phone`,`currency`,`select`,`multiselect`]),re=new Set([`text`,`phone`,`status`,`select`,`multiselect`]),_=new Set([`text`,`number`,`checkbox`,`date`,`phone`,`currency`,`status`,`select`]);function getAttributeCapabilities(e){let t=!!(e.hidden||e.archived),n=!e.archived,r=ee.has(e.type),i=e.type===`document`,a=te.has(e.type),o=getAttributeCardinality(e),s=t?[]:getRawFilterOperators(e),c=s.length>0&&!t,l=!t&&re.has(e.type),u=!t&&_.has(e.type),d=!t&&isGroupableType(e.type),f=!t&&e.type===`status`,p=isManagedSystemAttribute(e),m=r||i||p,h=!(t||m),g=isRequiredForbidden(e.type)?`forbidden`:`allowed`,v=getDefaultValueCapability(e.type),y=supportsMaxItems(e),b=ne.has(e.type),x=!(!e.deprecated||t),S=resolveEditMode(e);return{lifecycle:{active:n,deprecated:!!e.deprecated,visibleInArchitect:!0,visibleInRuntime:!t,warningWhenDeprecated:x},storage:{mode:r?`computed`:a?`edge`:`value`,cardinality:o,edgeBacked:a,preservesExistingValues:!!e.archived,qualifiedProperties:supportsQualifiedProperties(e.type),polymorphic:getPolymorphicCapability(e),maxItems:y},authoring:{editable:h,readOnly:m,directEdit:h&&S===`inline`,required:g,defaultValue:v,placeholder:b,maxItems:y},presentation:{formField:!t&&isFormFieldType(e.type),tableCell:!t&&isTableCellType(e.type),defaultColumn:!t&&isDefaultColumnType(e.type),compactDisplay:!t,popoverEditor:!t&&S===`popover`,placeholder:b,warningWhenDeprecated:x},query:{filterable:c,searchable:l,sortable:u,groupable:d,kanbanGroupable:f,operators:s},agent:{readable:!t,writable:h&&!i,compactReadable:!t,contentReadable:!t&&isContentReadableType(e.type),requiresDedicatedTool:i},exchange:{importable:!t,exportable:!t,schemaExportable:!0,metadataExportable:!1}}}function getAttributeFilterOperators(e){return getAttributeCapabilities(e).query.operators}function isAttributeFilterable(e){return getAttributeCapabilities(e).query.filterable}function isAttributeSearchable(e){return getAttributeCapabilities(e).query.searchable}function isAttributeSortable$1(e){return getAttributeCapabilities(e).query.sortable}function isAttributeGroupable(e){return getAttributeCapabilities(e).query.groupable}function isAttributeKanbanGroupable(e){return getAttributeCapabilities(e).query.kanbanGroupable}function resolveEffectiveFilterType(e){if(e.type!==`rollup`)return e.type;let t=e;if(t.function===`earliest`||t.function===`latest`)return`date`;if(t.function===`original`){let e=t.targetAttributeType;if(e&&hasFilterOperatorEntry(e))return e}return`number`}function getRollupFilterOperators$1(e){let t=resolveEffectiveFilterType(e);return hasFilterOperatorEntry(t)?h[t]:h.number}function getRawFilterOperators(e){return e.type===`rollup`?getRollupFilterOperators$1(e):h[e.type]??[]}function getAttributeCardinality(e){return e.type===`multiselect`||e.type===`document`||e.type===`user`&&e.multiple===!0||e.type===`relation`&&e.cardinality===`many`?`many`:`one`}function getPolymorphicCapability(e){if(e.type!==`relation`)return`none`;let t=e.targets??[];return t.length===1&&t[0]?.object===`*`?`internal`:t.length>1?`code-only`:`none`}function supportsMaxItems(e){return e.type===`multiselect`||e.type===`relation`&&e.cardinality===`many`}function supportsQualifiedProperties(e){return e===`relation`||e===`document`}function isRequiredForbidden(e){return e===`checkbox`||e===`formula`||e===`rollup`}function getDefaultValueCapability(e){return e===`checkbox`?`automatic`:e===`formula`||e===`rollup`?`forbidden`:g.has(e)?`static`:`forbidden`}function isDefaultColumnType(e){return isTableCellType(e)}function isTableCellType(e){return e!==`richtext`&&e!==`document`}function isFormFieldType(e){return e!==`richtext`}function resolveEditMode(e){switch(e.type){case`checkbox`:return`inline`;case`number`:return e.renderAs===`rating`?`inline`:`default`;case`select`:case`multiselect`:return e.renderAs===`badges`?`inline`:`popover`;case`status`:case`relation`:case`user`:case`date`:return`popover`;default:return`default`}}function isGroupableType(e){return e===`status`||e===`currency`}function isContentReadableType(e){return e===`richtext`||e===`document`}function hasFilterOperatorEntry(e){return Object.prototype.hasOwnProperty.call(h,e)}const v=[`text`,`richtext`,`number`,`checkbox`,`date`,`phone`,`currency`,`status`,`location`,`select`,`multiselect`,`user`,`relation`,`formula`,`rollup`,`document`];function relationTargetsOf(e){return e.type!==`relation`||!Array.isArray(e.targets)?[]:e.targets.map(e=>e.object).filter(e=>e!==`*`)}function isUniversalRelation(e){return e.targets.length===1&&e.targets[0].object===`*`}function isBilateralRelation(e){return e.bilateral!==void 0}function inferInverseCardinality(e){return`many`}function isAttributeSortable(e){return isAttributeSortable$1(e)}const y=h,b=[`is_empty`,`is_not_empty`];function isNoValueOperator(e){return b.includes(e)}function getRollupFilterOperators(e){return getRollupFilterOperators$1(e)}function parseQualifiedAttribute(e){let t=e.indexOf(`__`);return t<=0||t+2>=e.length?{kind:`scalar`,attribute:e}:{kind:`qualified`,root:e.slice(0,t),property:e.slice(t+2)}}function buildQualifiedAttribute(e,t){return`${e}__${t}`}const x=/^\d{4}-\d{2}-\d{2}$/u;function isCalendarDay(e){if(!x.test(e))return!1;let t=new Date(`${e}T00:00:00Z`);return!Number.isNaN(t.getTime())&&t.toISOString().slice(0,10)===e}function isDynamicValue(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&`dynamic`in e}function currentActor(){return{dynamic:`actor`,ref:`current`}}function today(){return{dynamic:`date`,anchor:`today`}}function now(){return{dynamic:`date`,anchor:`now`}}function toAmount(e){if(typeof e==`number`)return Number.isFinite(e)?e:null;if(typeof e==`string`&&e.trim()!==``){let t=Number(e);return Number.isFinite(t)?t:null}return null}function extractCurrencyFilterValue(e){return typeof e==`object`&&e?`value`in e?toAmount(e.value):null:toAmount(e)}function extractFilterValue(e){return e==null?null:typeof e==`object`&&`value`in e?e.value??null:e}const S=new Set([`is_not`,`not_contains`,`none_of`,`is_empty`]),C={is_not:`is`,not_contains:`contains`,none_of:`any_of`,is_empty:`is_not_empty`};function getOperatorPolarity(e){return S.has(e)?`none`:`any`}function normalizeForEdgeRpc(e){return C[e]??e}const w={is:`any_of`,is_not:`none_of`};function toMultiValueOperator(e){return w[e]??e}const T=new Set(Object.values(w).filter(e=>e!==void 0));function isSetMembershipOperator(e){return T.has(e)}function canonicalizeFilterValue(e,n){let r=e.value;if(isNoValueOperator(e.operator)||r==null||isDynamicValue(r))return;if(isSetMembershipOperator(e.operator)){Array.isArray(r)||(e.value=[r]);return}if(n!==`currency`)return;let i=extractCurrencyFilterValue(r);if(i!==null){e.value=i;return}if(!hasCurrencyAmount(r))return;let a=`Filter on a currency attribute expected a numeric amount, received ${JSON.stringify(r)}`;throw new t.ValidationError(a,[{path:[`value`],message:a}])}function hasCurrencyAmount(e){return typeof e!=`object`||`value`in e&&e.value!=null}const E=h.text,ie=[`is`,`is_not`,`is_empty`,`is_not_empty`],D=[`is`,`is_not`,`any_of`,`none_of`,`is_empty`,`is_not_empty`],O={id:D,objectId:D,tenantId:D,label:h.text,createdAt:h.date,updatedAt:h.date,deletedAt:h.date,createdBy:h.user,lastUpdatedBy:h.user},k=new Set([`createdAt`,`updatedAt`,`deletedAt`]);function offeredOn(e,t){return k.has(e)?t.filter(e=>e!==`on_day_month`):t}function fullyOffered(e,t,n,r){return{target:e,attribute:t,...r?{property:r}:{},operators:n,offered:n}}function attributeFilterTarget(e){let t=getAttributeFilterOperators(e);return{target:e.name,attribute:e.name,operators:t,offered:offeredOn(e.name,t)}}function locationPartFilterTarget(e,t){return{target:buildQualifiedAttribute(e,t),attribute:e,property:t,operators:E,offered:t===`country`?ie:E}}function edgePropertyFilterTarget(e,t){let n=hasOperatorEntry(t.type)?h[t.type]:[];return fullyOffered(buildQualifiedAttribute(e,t.name),e,n,t.name)}function hasOperatorEntry(e){return Object.prototype.hasOwnProperty.call(h,e)}function systemColumnFilterTarget(e){let t=Object.prototype.hasOwnProperty.call(O,e)?O[e]:void 0;return t?{target:e,attribute:e,operators:t,offered:offeredOn(e,t)}:void 0}function filterOperatorsOfType(e){return isAttributeType(e)?getAttributeFilterOperators({type:e}):[]}function isAttributeType(e){return v.includes(e)}function isLocationPartOperator(e){return E.includes(e)}function carriesEdgeProperties(e){return e.type===`relation`||e.type===`document`}function filterTargetsOf(e){let t=[];for(let n of e){if(n.type===`location`){for(let e of m)t.push(locationPartFilterTarget(n.name,e));continue}if(t.push(attributeFilterTarget(n)),!carriesEdgeProperties(n))continue;let e=n.properties?.definitions;for(let r of e??[])t.push(edgePropertyFilterTarget(n.name,r))}let n=new Set(e.map(e=>e.name));for(let e of Object.keys(O)){if(n.has(e))continue;let r=systemColumnFilterTarget(e);r&&t.push(r)}return t.filter(e=>e.operators.length>0)}const A={eq:`is`,equals:`is`,equal:`is`,"==":`is`,"=":`is`,neq:`is_not`,notEqual:`is_not`,isNot:`is_not`,"!=":`is_not`,"<>":`is_not`,lt:`less_than`,"<":`less_than`,gt:`greater_than`,">":`greater_than`,lte:`less_or_equal`,"<=":`less_or_equal`,gte:`greater_or_equal`,">=":`greater_or_equal`,in:`any_of`,isAnyOf:`any_of`,anyOf:`any_of`,oneOf:`any_of`,notIn:`none_of`,not_in:`none_of`,isNoneOf:`none_of`,noneOf:`none_of`,notOneOf:`none_of`,startsWith:`starts_with`,beginsWith:`starts_with`,endsWith:`ends_with`,doesNotContain:`not_contains`,notContain:`not_contains`,isEmpty:`is_empty`,isNotEmpty:`is_not_empty`};function normalizeOperator(e){return A[e]??e}function normalizeFilterRule(e){let t=normalizeOperator(e.operator);return t===e.operator?e:{...e,operator:t}}const j=864e5,M=new Set([`days`,`weeks`,`months`,`years`]),ae=new Set([`past`,`future`]);function isRelativeDateValue(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.amount==`number`&&Number.isFinite(t.amount)&&t.amount>0&&typeof t.unit==`string`&&M.has(t.unit)&&typeof t.direction==`string`&&ae.has(t.direction)}function utcDayStart(e){return Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())}function shiftUtcDay(e,t,n){if(n===`days`)return e+t*j;if(n===`weeks`)return e+t*7*j;let r=new Date(e),i=r.getUTCFullYear()+(n===`years`?t:0),a=r.getUTCMonth()+(n===`months`?t:0),o=new Date(Date.UTC(i,a+1,0)).getUTCDate();return Date.UTC(i,a,Math.min(r.getUTCDate(),o))}function resolveIsWithinBounds(e,t=new Date){if(!isRelativeDateValue(e))return null;let n=utcDayStart(t),r=Math.trunc(e.amount),i=e.direction===`past`?{startMs:shiftUtcDay(n,-r,e.unit),endMs:n+j}:{startMs:n,endMs:shiftUtcDay(n,r,e.unit)+j};return Number.isFinite(i.startMs)&&Number.isFinite(i.endMs)?i:null}function resolveUtcDayBounds(e){if(!Number.isFinite(e))return null;let t=utcDayStart(new Date(e));return Number.isFinite(t)?{startMs:t,endMs:t+j}:null}function toUtcDayString(e){return new Date(e).toISOString().slice(0,10)}const N=new Set([`relation`,`document`,`user`]),P={id:`text`,objectId:`text`,objectName:`text`,tenantId:`text`,label:`text`,createdAt:`date`,updatedAt:`date`,deletedAt:`date`,deletedBy:`user`,createdBy:`user`,lastUpdatedBy:`user`,visibility:`select`,ownedBy:`user`},F={before:`"less_than"`,after:`"greater_than"`,on_or_before:`"less_or_equal"`,on_or_after:`"greater_or_equal"`,is_checked:`"is" with value true`,is_not_checked:`"is" with value false`,day_month_eq:`"on_day_month"`},oe=new Set(Object.entries(h).filter(([,e])=>e.includes(`any_of`)&&!e.includes(`contains`)).map(([e])=>e)),se={contains:`any_of`,not_contains:`none_of`};function resolveCanonicalOperator(e,n){let r=F[e];if(r){let n=`Unknown filter operator "${e}" — use ${r}`;throw new t.ValidationError(n,[{path:[`operator`],message:n}])}let i=normalizeOperator(e),a=se[i];if(a&&oe.has(n)){let e=`Operator "${i}" is not valid for type "${n}" — use "${a}"`;throw new t.ValidationError(e,[{path:[`operator`],message:e}])}return i}function assertPropertyOperator(e,n,r){let i=resolveCanonicalOperator(e,n);if(!r.includes(i)){let i=`Operator "${e}" is not valid for property type "${n}". Valid operators: ${r.length?r.join(`, `):`(no operators registered for this type)`}.`;throw new t.ValidationError(i,[{path:[`operator`],message:i}])}return i}function assertRelativeDateValue(e){if(e.operator===`is_within`&&!isRelativeDateValue(e.value)){let e=`Operator "is_within" requires a relative-date value { amount: positive number, unit: days|weeks|months|years, direction: past|future }`;throw new t.ValidationError(e,[{path:[`value`],message:e}])}}const I=/^(\d{4}-\d{2}-\d{2})(?:[T ](?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|[+-](?:(?:0\d|1[0-3])(?::[0-5]\d)?|14(?::00)?))?)?$/,L=new Set([`is`,`is_not`,`less_than`,`less_or_equal`,`greater_than`,`greater_or_equal`]);function assertAbsoluteDateValue(e,n){if(n!==`date`||!L.has(e.operator))return;let r=e.value;if(r==null||isDynamicValue(r)||typeof r==`string`&&isCastableDay(r))return;let i=`Filter on a date attribute expected a YYYY-MM-DD day, optionally followed by a time, received ${JSON.stringify(r)}`;throw new t.ValidationError(i,[{path:[`value`],message:i}])}function isCastableDay(e){let t=I.exec(e)?.[1];return!t||t.startsWith(`0000-`)?!1:isCalendarDay(t)}function resolveComparandType(e){return e.type===`formula`&&e.returnType===`date`?`date`:resolveEffectiveFilterType(e)}function applyCanonicalForm(e,t,n){e.operator=t,canonicalizeFilterValue(e,n),assertRelativeDateValue(e),assertAbsoluteDateValue(e,n)}function assertDynamicValueForAttribute(e,n){if(!isDynamicValue(e.value))return;let r=e.value;if(r.dynamic===`actor`&&n!==`user`){let e=`actor token (@me) is only valid on user attributes, not "${n}"`;throw new t.ValidationError(e,[{path:[`value`],message:e}])}if(r.dynamic===`date`&&n!==`date`){let e=`date token (@today/@now) is only valid on date attributes, not "${n}"`;throw new t.ValidationError(e,[{path:[`value`],message:e}])}}const R=m.map(e=>`"${e}"`).join(`, `);function operatorList(e){return e.length?e.join(`, `):`(not filterable)`}function qualifyWithSchema(e){if(N.has(e.type))return e.properties}function locationPartsHint(e){return e===`location`?` A location is filtered on one of its parts: set "property" to one of ${R} and use a text operator (e.g. contains).`:``}function dottedPathHint(e,t,n){let r=` Dotted paths are not supported — `;if(n.type===`location`)return`${r}set "attribute" to "${e}" and "property" to ${isLocationFilterProperty(t)?`"${t}"`:`one of ${R}`}.`;let i=qualifyWithSchema(n);if(i){let n=i.definitions.map(e=>`"${e.name}"`).join(`, `);return`${r}set "attribute" to "${e}" and "property" to ${i.definitions.some(e=>e.name===t)?`"${t}"`:`one of ${n}`} to filter on the edge property.`}let a=attributeFilterTarget(n).operators;return`${r}${a.length?`set "attribute" to "${e}" and use one of ${a.join(`, `)}`:`"${e}" is not filterable`}; the full-text "query" parameter matches tokens by relevance, not values.`}function collectQualifiedRuleIssues(e,n){try{return validateQualifiedRule({...e},n),[]}catch(e){if(!(e instanceof t.ValidationError))throw e;return e.errors.map(e=>({...e,path:[...e.path]}))}}function validateQualifiedRule(e,n){if(typeof e.attribute!=`string`){let e=`A filter rule needs an attribute: filters are one combinator and a flat list of rules`;throw new t.ValidationError(e,[{path:[`attribute`],message:e}])}let r=n.attributes.find(t=>t.name===e.attribute),i=r?[]:systemColumnFilterTarget(e.attribute)?.operators??[];if(!r&&i.length===0){let[r,...i]=e.attribute.split(`.`),a=i.length>0?n.attributes.find(e=>e.name===r):void 0,o=a?dottedPathHint(r??``,i[0]??``,a):e.attribute.includes(`.`)?` Dotted paths are not supported — filter on the attribute name alone with a structured operator (contains, any_of, …); the full-text "query" parameter matches tokens by relevance, not values.`:``,s=`Unknown attribute: ${e.attribute}${o}`;throw new t.ValidationError(s,[{path:[`attribute`],message:s}])}if(e.quantifier!==void 0&&!e.property){let e=`quantifier is only valid on qualified edge rules (set "property")`;throw new t.ValidationError(e,[{path:[`quantifier`],message:e}])}if(!r){if(e.property)throw new t.ValidationError(`Cannot qualify system attribute "${e.attribute}"`,[{path:[`property`],message:`"${e.attribute}" is a system column, not a reference`}]);let n=P[e.attribute]??`text`,r=resolveCanonicalOperator(e.operator,n);if(!i.includes(r)){let n=`Operator "${e.operator}" is not valid for system attribute "${e.attribute}". Valid operators: ${i.join(`, `)}.`;throw new t.ValidationError(n,[{path:[`operator`],message:n}])}applyCanonicalForm(e,r,n);return}if(!e.property){assertDynamicValueForAttribute(e,r.type);let n=attributeFilterTarget(r).operators,i=resolveCanonicalOperator(e.operator,r.type);if(!n.includes(i)){let i=`Operator "${e.operator}" is not valid for attribute "${r.name}". Valid operators: ${operatorList(n)}.${locationPartsHint(r.type)}`;throw new t.ValidationError(i,[{path:[`operator`],message:i}])}applyCanonicalForm(e,i,resolveComparandType(r));return}if(r.type===`location`){if(e.quantifier!==void 0){let e=`quantifier is not valid on a location part — a location is one value, not a set of edges`;throw new t.ValidationError(e,[{path:[`quantifier`],message:e}])}if(!isLocationFilterProperty(e.property)){let n=`Property "${e.property}" is not a part of location "${e.attribute}". Valid parts: ${R}.`;throw new t.ValidationError(n,[{path:[`property`],message:n}])}assertDynamicValueForAttribute(e,`text`);let{operators:n}=locationPartFilterTarget(r.name,e.property);applyCanonicalForm(e,assertPropertyOperator(e.operator,`text`,n),`text`);return}if(!N.has(r.type))throw new t.ValidationError(`Cannot qualify ${r.type} attribute "${e.attribute}"`,[{path:[`property`],message:`Attribute "${e.attribute}" is not a reference type`}]);let a=r.properties;if(!a)throw new t.ValidationError(`Attribute "${e.attribute}" has no qualifyWith schema`,[{path:[`property`],message:`"${e.attribute}" has no qualifyWith`}]);let o=a.definitions.find(t=>t.name===e.property);if(!o)throw new t.ValidationError(`Property "${e.property}" not defined on "${e.attribute}".qualifyWith()`,[{path:[`property`],message:`Unknown property: ${e.property}`}]);let{operators:s}=edgePropertyFilterTarget(r.name,o);applyCanonicalForm(e,assertPropertyOperator(e.operator,o.type,s),o.type)}const z=1e4;function isPlainJsonObject(e){let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null&&t.constructor?.name===`Object`}function addJsonIssue(e,t,n=[]){e.addIssue({code:`custom`,message:t,path:n})}function pushJsonArrayChildren(e,t,n,r){for(let n of Reflect.ownKeys(e))if(n!==`length`){if(n===`__proto__`){addJsonIssue(r,`The __proto__ key is not allowed in custom props`,[...t.path,n]);continue}(typeof n==`symbol`||!/^(0|[1-9]\d*)$/.test(n))&&addJsonIssue(r,`Arrays cannot contain non-index JSON properties`,[...t.path,n])}for(let i=e.length-1;i>=0;i--){let a=Object.getOwnPropertyDescriptor(e,String(i)),o=[...t.path,i];if(!(a&&`value`in a)){addJsonIssue(r,`Sparse arrays are not valid JSON values`,o);continue}n.push({kind:`enter`,value:a.value,path:o,depth:t.depth+1})}}function pushJsonObjectChildren(e,t,n,r){let i=Reflect.ownKeys(e);for(let a=i.length-1;a>=0;a--){let o=i[a],s=[...t.path,o];if(o===`__proto__`){addJsonIssue(r,`The __proto__ key is not allowed in custom props`,s);continue}if(typeof o==`symbol`){addJsonIssue(r,`Symbol keys are not valid JSON keys`,s);continue}let c=Object.getOwnPropertyDescriptor(e,o);if(!(c?.enumerable&&`value`in c)){addJsonIssue(r,`Custom props must contain enumerable data properties only`,s);continue}n.push({kind:`enter`,value:c.value,path:s,depth:t.depth+1})}}function validateJsonProps(e,t){if(typeof e!=`object`||!e){addJsonIssue(t,`Expected a plain JSON object`);return}try{if(Array.isArray(e)||!isPlainJsonObject(e)){addJsonIssue(t,`Expected a plain JSON object`);return}}catch{addJsonIssue(t,`Custom props contain an object that cannot be safely inspected`);return}let n=new WeakSet,r=[{kind:`enter`,value:e,path:[],depth:0}],i=0;for(;r.length>0;){let e=r.pop();if(!e)break;if(e.kind===`exit`){n.delete(e.value);continue}if(i++,i>z){addJsonIssue(t,`Custom props cannot exceed ${z.toLocaleString(`en-US`)} total JSON nodes`,e.path);return}if(e.depth>64){addJsonIssue(t,`Custom props cannot exceed depth 64`,e.path);continue}let a=e.value;if(!(a===null||typeof a==`string`||typeof a==`boolean`||typeof a==`number`&&Number.isFinite(a))){if(typeof a!=`object`){addJsonIssue(t,`Expected a JSON value`,e.path);continue}if(n.has(a)){addJsonIssue(t,`Custom props cannot contain circular references`,e.path);continue}try{if(Array.isArray(a)){n.add(a),r.push({kind:`exit`,value:a}),pushJsonArrayChildren(a,e,r,t);continue}if(!isPlainJsonObject(a)){addJsonIssue(t,`Expected an array or plain JSON object`,e.path);continue}n.add(a),r.push({kind:`exit`,value:a}),pushJsonObjectChildren(a,e,r,t)}catch{addJsonIssue(t,`Custom props contain an object that cannot be safely inspected`,e.path)}}}}const B=n.z.unknown().superRefine(validateJsonProps).transform(e=>e),V=n.z.array(n.z.string()).max(e.G.columnsPerTab),H=n.z.array(n.z.string().min(1)).max(e.G.columnsPerTab).refine(e=>new Set(e).size===e.length,{message:`Displayed attribute names must be unique`}),U=n.z.object({attribute:n.z.string().describe(`Attribute to sort by`),direction:n.z.enum([`asc`,`desc`]).describe(`asc or desc`)}).strict(),W=n.z.array(U).max(e.G.sortsPerTab),G=n.z.object({amount:n.z.number().describe(`Count`),unit:n.z.enum([`days`,`weeks`,`months`,`years`]).describe(`Unit`),direction:n.z.enum([`past`,`future`]).describe(`Past or future`)}).strict(),K=n.z.object({value:n.z.number().nullable().describe(`Amount`),code:n.z.array(n.z.string()).optional().describe(`Currency codes`)}).strict(),ce=n.z.object({phoneNumber:n.z.string().nullable().describe(`Number`),countryCode:n.z.string().optional().describe(`ISO country code`)}).strict(),le=n.z.discriminatedUnion(`dynamic`,[n.z.object({dynamic:n.z.literal(`actor`).describe(`Resolved at filter time`),ref:n.z.literal(`current`).describe(`The current actor`)}).strict(),n.z.object({dynamic:n.z.literal(`date`).describe(`Resolved at filter time`),anchor:n.z.enum([`today`,`now`]).describe(`Anchor`)}).strict()]),ue=n.z.object({month:n.z.number().describe(`1-12`),day:n.z.number().describe(`Day`)}).strict(),de=n.z.union([n.z.string(),n.z.number(),n.z.boolean(),n.z.array(n.z.string()),G,K,ce,ue,le,n.z.null()]),fe=n.z.enum([`is`,`is_not`,`contains`,`not_contains`,`starts_with`,`ends_with`,`is_empty`,`is_not_empty`,`less_than`,`greater_than`,`less_or_equal`,`greater_or_equal`,`is_within`,`on_day_month`,`any_of`,`none_of`],{error:e=>{let t=e.input,n=typeof t==`string`?F[t]:void 0;return n?`Unknown filter operator "${t}" — use ${n}`:void 0}}),pe=n.z.object({attribute:n.z.string().describe(`Attribute to filter on`),property:n.z.string().optional().describe(`Qualified edge property`),quantifier:n.z.enum([`any`,`none`]).optional().describe(`For a multi-value attribute`),operator:fe.describe(`Comparison`),value:de.describe(`Comparison value, by attribute type`)}).strict(),me=n.z.array(pe).max(e.G.filterRulesPerTab),q=n.z.object({combinator:n.z.enum([`and`,`or`]).describe(`Match every rule or any rule`),rules:me.describe(`The rules`)}).strict(),he={span:n.z.union([n.z.literal(1),n.z.literal(2),n.z.literal(3),n.z.literal(4),n.z.literal(5),n.z.literal(6),n.z.literal(7),n.z.literal(8),n.z.literal(9),n.z.literal(10),n.z.literal(11),n.z.literal(12)]).optional().describe(`Columns of 12 this field occupies`),label:n.z.string().optional().describe(`Overrides the attribute's label`),readOnly:n.z.boolean().optional().describe(`Shows the value, not editable`)},ge=n.z.object({attribute:n.z.string().describe(`Attribute API name shown by this field`),...he}).strict(),_e=n.z.object({name:n.z.string().describe(`Group API name, unique in the form`),label:n.z.string().describe(`Label people see`),description:n.z.string().optional().describe(`Extra context under the label`),collapsible:n.z.boolean().optional().describe(`Whether the group can be collapsed`),collapsed:n.z.boolean().optional().describe(`Whether the group starts collapsed`),fields:n.z.array(ge).max(e.G.fieldsPerGroup).describe(`Fields in this group, in order`)}).strict();function refineFormContent(t,n){t.groups.reduce((e,t)=>e+t.fields.length,0)>e.G.fieldsPerFormTab&&n.addIssue({code:`too_big`,origin:`array`,maximum:e.G.fieldsPerFormTab,inclusive:!0,message:`A form content can contain at most ${e.G.fieldsPerFormTab} fields`,path:[`groups`]});let r=new Set,i=new Set;t.groups.forEach((e,t)=>{r.has(e.name)&&n.addIssue({code:`custom`,message:`Duplicate group name "${e.name}"`,path:[`groups`,t,`name`]}),r.add(e.name),e.fields.forEach((e,r)=>{i.has(e.attribute)&&n.addIssue({code:`custom`,message:`Duplicate field attribute "${e.attribute}"`,path:[`groups`,t,`fields`,r,`attribute`]}),i.add(e.attribute)})})}const J={name:n.z.string().describe(`Content API name, unique in the view`),label:n.z.string().optional().describe(`Label people see`),icon:e.W.optional().describe(`Icon name`),placement:n.z.enum([`main`,`aside`]).describe(`main: the tab strip. aside: the side panel`)},Y=n.z.object({object:n.z.string().optional().describe(`Every record of this object`),relation:n.z.string().optional().describe(`Records linked through this relation`)}).strict().superRefine((e,t)=>{e.object===void 0&&e.relation===void 0&&t.addIssue({code:`custom`,message:`Collection source must define an object, a relation, or both`})}).transform(e=>e.relation===void 0?{object:e.object}:e.object===void 0?{relation:e.relation}:{object:e.object,relation:e.relation}),ve={...J,type:n.z.literal(`collection`),source:Y.describe(`object: every record; relation: records linked to this record; both: records of object whose relation points at this record`),visibility:n.z.enum(e.K).optional().describe(`all: no scope; workspace: every member; private: viewer's own`),columns:n.z.array(n.z.union([n.z.string(),n.z.object({relationProperty:n.z.string().refine(e=>e.trim().length>0).describe(`Qualified edge property shown as a column`)}).strict()])).max(e.G.columnsPerTab).optional().describe(`Table columns, in order`),descriptionAttribute:n.z.string().optional().describe(`Secondary line under each row's title (list layout)`),displayAttributes:H.optional().describe(`Attributes shown on each card`),filters:q.optional().describe(`Restricts which records show`),sorts:W.optional().describe(`Sort order`),actions:n.z.enum([`create`,`update`,`delete`,`attach`,`detach`]).array().optional().describe(`Offered actions; absent = every action, [] = none`),openMode:n.z.enum([`page`,`peek`]).optional().describe(`page or peek (the record panel)`),createMode:n.z.enum([`page`,`peek`,`inline`]).optional().describe(`page, peek, or inline (creates without opening)`)},ye=n.z.object({...ve,layout:n.z.enum([`table`,`list`,`kanban`]).describe(`table columns, list cards, kanban board grouped by a select/status attribute`),columnSizing:n.z.record(n.z.string(),n.z.number()).optional().describe(`Column widths in pixels, by attribute name`),groupByAttribute:n.z.string().optional().describe(`Kanban only: the select or status attribute that names the columns`),kanbanColumnOrder:n.z.array(n.z.string()).optional().describe(`Kanban: column order by option value`),kanbanColumnVisibility:n.z.record(n.z.string(),n.z.boolean()).optional().describe(`Kanban: which columns are shown`),kanbanPinnedColumns:n.z.array(n.z.string()).optional().describe(`Kanban: columns pinned first`)}).strict().superRefine((e,t)=>{let n=[`groupByAttribute`,`kanbanColumnOrder`,`kanbanColumnVisibility`,`kanbanPinnedColumns`];if(e.layout===`kanban`){e.groupByAttribute===void 0&&t.addIssue({code:`custom`,path:[`groupByAttribute`],message:`A kanban layout requires groupByAttribute`});return}for(let r of n)e[r]!==void 0&&t.addIssue({code:`custom`,path:[r],message:`Only a kanban layout groups by an attribute`})}),X={...J,type:n.z.literal(`form`),groups:n.z.array(_e).max(e.G.groupsPerFormTab).describe(`Field groups, in order`),formColumns:n.z.union([n.z.literal(1),n.z.literal(2),n.z.literal(3)]).optional().describe(`Grid columns, 1-3`),density:n.z.enum([`compact`,`comfortable`,`spacious`]).optional().describe(`Vertical spacing between fields`)},be=n.z.object(X).strict().superRefine(refineFormContent),xe=n.z.object({...X,groups:X.groups.min(1,`A published form content requires at least one group`)}).strict().superRefine(refineFormContent),Z=[ye,n.z.object({...J,type:n.z.literal(`custom`),extension:n.z.string().describe(`Name of a registered extension`),parameters:n.z.lazy(()=>B).optional().describe(`Extension parameters`)}).strict(),n.z.object({...J,type:n.z.literal(`activity`)}).strict(),n.z.object({...J,type:n.z.literal(`richtext`),attribute:n.z.string().describe(`Richtext attribute edited in place`),titleAttribute:n.z.string().optional().describe(`Text attribute shown as the title`)}).strict(),n.z.object({...J,type:n.z.literal(`documents`),allowUpload:n.z.boolean().optional().describe(`Lets people add files here`),allowRemove:n.z.boolean().optional().describe(`Lets people remove files here`),hideAttachments:n.z.boolean().optional().describe(`Hides files attached elsewhere (e.g. emails)`),relations:n.z.array(n.z.string()).optional().describe(`Document relations shown; the record's own files if absent`)}).strict(),n.z.object({...J,type:n.z.literal(`forms`),objectName:n.z.string().optional().describe(`Limits to this object's published forms`)}).strict(),n.z.object({...J,type:n.z.literal(`emails`),emailAttributes:n.z.array(n.z.string()).max(e.G.emailAttributesPerTab).describe(`Addresses`)}).strict(),n.z.object({...J,type:n.z.literal(`meetings`),emailAttributes:n.z.array(n.z.string()).max(e.G.emailAttributesPerTab).describe(`Addresses`)}).strict()],Se=n.z.discriminatedUnion(`type`,[be,...Z]),Q=n.z.discriminatedUnion(`type`,[xe,...Z]),$={object:n.z.string(),name:n.z.string(),label:n.z.string(),description:n.z.string().optional(),icon:e.W.optional(),context:n.z.enum([`collection`,`record`]),default:n.z.boolean().optional()},Ce=n.z.object({...$,contents:n.z.array(Se).max(e.G.tabsPerView)}).strict(),we=n.z.object({...$,contents:n.z.array(Q).max(e.G.tabsPerView)}).strict();function addDuplicateContentNameIssues(e,t){let n=new Set;e.contents.forEach((e,r)=>{n.has(e.name)&&t.addIssue({code:`custom`,message:`Duplicate content name "${e.name}"`,path:[`contents`,r,`name`]}),n.add(e.name)})}function draftContentViewDefinitionSchemaFor(){return Ce.superRefine((e,t)=>{addDuplicateContentNameIssues(e,t)})}function contentViewDefinitionSchemaFor(){return we.superRefine((e,t)=>{addDuplicateContentNameIssues(e,t),e.contents.some(e=>e.placement===`main`)||t.addIssue({code:`custom`,message:`A published view requires at least one main content`,path:[`contents`]})})}const Te=draftContentViewDefinitionSchemaFor(),Ee=contentViewDefinitionSchemaFor();Object.defineProperty(exports,"$",{enumerable:!0,get:function(){return isUniversalRelation}}),Object.defineProperty(exports,"A",{enumerable:!0,get:function(){return getOperatorPolarity}}),Object.defineProperty(exports,"B",{enumerable:!0,get:function(){return isCalendarDay}}),Object.defineProperty(exports,"C",{enumerable:!0,get:function(){return edgePropertyFilterTarget}}),Object.defineProperty(exports,"D",{enumerable:!0,get:function(){return locationPartFilterTarget}}),Object.defineProperty(exports,"E",{enumerable:!0,get:function(){return isLocationPartOperator}}),Object.defineProperty(exports,"F",{enumerable:!0,get:function(){return extractFilterValue}}),Object.defineProperty(exports,"G",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"H",{enumerable:!0,get:function(){return buildQualifiedAttribute}}),Object.defineProperty(exports,"I",{enumerable:!0,get:function(){return currentActor}}),Object.defineProperty(exports,"J",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"K",{enumerable:!0,get:function(){return getRollupFilterOperators}}),Object.defineProperty(exports,"L",{enumerable:!0,get:function(){return isDynamicValue}}),Object.defineProperty(exports,"M",{enumerable:!0,get:function(){return normalizeForEdgeRpc}}),Object.defineProperty(exports,"N",{enumerable:!0,get:function(){return toMultiValueOperator}}),Object.defineProperty(exports,"O",{enumerable:!0,get:function(){return systemColumnFilterTarget}}),Object.defineProperty(exports,"P",{enumerable:!0,get:function(){return extractCurrencyFilterValue}}),Object.defineProperty(exports,"Q",{enumerable:!0,get:function(){return isBilateralRelation}}),Object.defineProperty(exports,"R",{enumerable:!0,get:function(){return now}}),Object.defineProperty(exports,"S",{enumerable:!0,get:function(){return attributeFilterTarget}}),Object.defineProperty(exports,"T",{enumerable:!0,get:function(){return filterTargetsOf}}),Object.defineProperty(exports,"U",{enumerable:!0,get:function(){return parseQualifiedAttribute}}),Object.defineProperty(exports,"V",{enumerable:!0,get:function(){return`__`}}),Object.defineProperty(exports,"W",{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,"X",{enumerable:!0,get:function(){return inferInverseCardinality}}),Object.defineProperty(exports,"Y",{enumerable:!0,get:function(){return`*`}}),Object.defineProperty(exports,"Z",{enumerable:!0,get:function(){return isAttributeSortable}}),Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return resolveUtcDayBounds}}),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"at",{enumerable:!0,get:function(){return isAttributeFilterable}}),Object.defineProperty(exports,"b",{enumerable:!0,get:function(){return normalizeFilterRule}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"ct",{enumerable:!0,get:function(){return isAttributeSearchable}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return F}}),Object.defineProperty(exports,"dt",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"et",{enumerable:!0,get:function(){return relationTargetsOf}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"ft",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return resolveIsWithinBounds}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return isRelativeDateValue}}),Object.defineProperty(exports,"ht",{enumerable:!0,get:function(){return isManagedSystemAttribute}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return contentViewDefinitionSchemaFor}}),Object.defineProperty(exports,"it",{enumerable:!0,get:function(){return getAttributeFilterOperators}}),Object.defineProperty(exports,"j",{enumerable:!0,get:function(){return isSetMembershipOperator}}),Object.defineProperty(exports,"k",{enumerable:!0,get:function(){return canonicalizeFilterValue}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,"lt",{enumerable:!0,get:function(){return isLocationFilterProperty}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return validateQualifiedRule}}),Object.defineProperty(exports,"mt",{enumerable:!0,get:function(){return getSystemAttributeList}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,"nt",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return Te}}),Object.defineProperty(exports,"ot",{enumerable:!0,get:function(){return isAttributeGroupable}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return collectQualifiedRuleIssues}}),Object.defineProperty(exports,"pt",{enumerable:!0,get:function(){return getSystemAttributeI18nKey}}),Object.defineProperty(exports,"q",{enumerable:!0,get:function(){return isNoValueOperator}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return Ee}}),Object.defineProperty(exports,"rt",{enumerable:!0,get:function(){return getAttributeCapabilities}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return draftContentViewDefinitionSchemaFor}}),Object.defineProperty(exports,"st",{enumerable:!0,get:function(){return isAttributeKanbanGroupable}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"tt",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,"ut",{enumerable:!0,get:function(){return resolveEffectiveFilterType}}),Object.defineProperty(exports,"v",{enumerable:!0,get:function(){return toUtcDayString}}),Object.defineProperty(exports,"w",{enumerable:!0,get:function(){return filterOperatorsOfType}}),Object.defineProperty(exports,"x",{enumerable:!0,get:function(){return normalizeOperator}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"z",{enumerable:!0,get:function(){return today}});