@antelopejs/interface-dms 0.7.0 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/README.md +70 -68
  3. package/dist/auth/db/models/sessions.model.d.ts +1 -0
  4. package/dist/auth/db/models/userExternalIdentities.model.d.ts +1 -0
  5. package/dist/auth/db/models/users.model.d.ts +1 -0
  6. package/dist/base/block-types.d.ts +1 -0
  7. package/dist/base/block-types.js +1 -0
  8. package/dist/base/block-types.js.map +1 -1
  9. package/dist/base/form-block-schema.d.ts +24 -24
  10. package/dist/base/live-toggle.d.ts +2 -2
  11. package/dist/base/period-selector.d.ts +2 -2
  12. package/dist/base/section.d.ts +2 -2
  13. package/dist/base/tab.d.ts +4 -4
  14. package/dist/base/table-view/schema.d.ts +4 -4
  15. package/dist/db/internal/exportJobs.model.d.ts +1 -0
  16. package/dist/db/internal/inviteResolutions.model.d.ts +1 -0
  17. package/dist/db/internal/tenantLifecycle.model.d.ts +1 -0
  18. package/dist/db/models/roles.model.d.ts +1 -0
  19. package/dist/db/models/tenantMembers.model.d.ts +1 -0
  20. package/dist/db/models/tenants.model.d.ts +1 -0
  21. package/dist/db/models/user_invites.model.d.ts +1 -0
  22. package/docs/.navigation.yml +2 -0
  23. package/docs/1.core/.navigation.yml +2 -0
  24. package/docs/1.core/1.introduction.md +169 -0
  25. package/docs/1.core/10.layout-banners.md +133 -0
  26. package/docs/1.core/2.pages-and-modules.md +647 -0
  27. package/docs/1.core/3.components.md +287 -0
  28. package/docs/1.core/4.permissions.md +279 -0
  29. package/docs/1.core/5.tenancy.md +356 -0
  30. package/docs/1.core/6.invites.md +239 -0
  31. package/docs/1.core/7.hooks.md +354 -0
  32. package/docs/1.core/8.realtime.md +147 -0
  33. package/docs/1.core/9.quick-actions.md +115 -0
  34. package/docs/2.auth/.navigation.yml +2 -0
  35. package/docs/2.auth/1.introduction.md +75 -0
  36. package/docs/2.auth/2.authentication.md +222 -0
  37. package/docs/2.auth/3.tokens-and-sessions.md +352 -0
  38. package/docs/2.auth/4.users.md +256 -0
  39. package/docs/2.auth/5.external-identities.md +122 -0
  40. package/docs/3.base/.navigation.yml +2 -0
  41. package/docs/3.base/1.introduction.md +202 -0
  42. package/docs/3.base/10.display-blocks.md +136 -0
  43. package/docs/3.base/2.types.md +402 -0
  44. package/docs/3.base/3.forms.md +349 -0
  45. package/docs/3.base/4.tables.md +608 -0
  46. package/docs/3.base/5.charts-and-widgets.md +466 -0
  47. package/docs/3.base/6.layout.md +431 -0
  48. package/docs/3.base/8.data-types.md +361 -0
  49. package/docs/3.base/9.helpers.md +414 -0
  50. package/docs/4.notifications/.navigation.yml +2 -0
  51. package/docs/4.notifications/1.introduction.md +79 -0
  52. package/docs/4.notifications/2.categories-and-subjects.md +212 -0
  53. package/docs/4.notifications/3.sending.md +283 -0
  54. package/docs/5.html-render/.navigation.yml +2 -0
  55. package/docs/5.html-render/1.introduction.md +372 -0
  56. package/docs/5.html-render/2.built-in-emails.md +107 -0
  57. package/docs/index.md +100 -0
  58. package/docs/tsconfig.json +11 -0
  59. package/package.json +24 -18
package/CHANGELOG.md CHANGED
@@ -1,5 +1,87 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.7.2
4
+
5
+ [compare changes](https://github.com/AntelopeJS/dms/compare/interface-v0.7.1...v0.7.2)
6
+
7
+ ### 🚀 Enhancements
8
+
9
+ - **preview:** Live block preview page, block catalog and screenshots for the docs ([#280](https://github.com/AntelopeJS/dms/pull/280))
10
+
11
+ ### 🔥 Performance
12
+
13
+ - **layout:** Bundle the Geist fonts and preload only the text face ([#311](https://github.com/AntelopeJS/dms/pull/311))
14
+ - **table:** Drag with SortableJS through useSortable instead of vuedraggable ([#312](https://github.com/AntelopeJS/dms/pull/312))
15
+ - **table-view:** Share a source read between the list and a counter asking the same ([#313](https://github.com/AntelopeJS/dms/pull/313))
16
+
17
+ ### 🩹 Fixes
18
+
19
+ - **deps:** Move to @antelopejs/core 1.15.2, @antelopejs/interface-core 0.2.3 and @antelopejs/interface-dms 0.7.1 ([#303](https://github.com/AntelopeJS/dms/pull/303))
20
+ - **docs:** Regenerate the block catalog for dms 0.9.2 ([#315](https://github.com/AntelopeJS/dms/pull/315))
21
+ - **form:** Leave a failed record read's toast to the browser ([#304](https://github.com/AntelopeJS/dms/pull/304))
22
+ - **page:** Leave a page's layout out of the components its preload looks up ([#306](https://github.com/AntelopeJS/dms/pull/306))
23
+ - **settings:** Suggest the reader's time zone in a server-rendered region page ([#308](https://github.com/AntelopeJS/dms/pull/308))
24
+ - **frontend:** Set the async data scope before any module's plugin reads ([#305](https://github.com/AntelopeJS/dms/pull/305))
25
+ - **blocks:** Have refreshPageBlocks() wait for the charts and tables it refreshes ([#307](https://github.com/AntelopeJS/dms/pull/307))
26
+
27
+ ### 📖 Documentation
28
+
29
+ - **dms:** Restructure docs with per-block pages, live previews and an AI section ([#277](https://github.com/AntelopeJS/dms/pull/277))
30
+ - Remove the DMS 0.9 upgrade page ([#316](https://github.com/AntelopeJS/dms/pull/316))
31
+ - **dms:** Document running the DMS inside AdonisJS ([#318](https://github.com/AntelopeJS/dms/pull/318))
32
+ - Make the DMS 0.9 upgrade notes accurate and complete ([#310](https://github.com/AntelopeJS/dms/pull/310))
33
+ - Streamline agent guidance ([#317](https://github.com/AntelopeJS/dms/pull/317))
34
+ - Colocate the DMS consumer reference with its interface ([#320](https://github.com/AntelopeJS/dms/pull/320))
35
+ - Make dense guide sections easier to scan ([#321](https://github.com/AntelopeJS/dms/pull/321))
36
+
37
+ ### 📦 Build
38
+
39
+ - **dms:** Leave tests and tooling out of the published package ([#314](https://github.com/AntelopeJS/dms/pull/314))
40
+
41
+ ### 🏡 Chore
42
+
43
+ - **release:** @antelopejs/dms v0.9.2 ([beb09f9d](https://github.com/AntelopeJS/dms/commit/beb09f9d))
44
+ - **release:** Propagate published dependency floors ([#323](https://github.com/AntelopeJS/dms/pull/323))
45
+
46
+ ### ✅ Tests
47
+
48
+ - **live:** Hold the page's data refresh while paused, not a user's ([#309](https://github.com/AntelopeJS/dms/pull/309))
49
+
50
+ ### 🤖 CI
51
+
52
+ - **docs:** Build and verify the hosted preview playground ([#319](https://github.com/AntelopeJS/dms/pull/319))
53
+
54
+ ### ❤️ Contributors
55
+
56
+ - Antony Rizzitelli <rizzitelli.antony@pm.me>
57
+ - Alessandro Aloisio
58
+
59
+ ## v0.7.1
60
+
61
+ [compare changes](https://github.com/AntelopeJS/dms/compare/interface-v0.7.0...v0.7.1)
62
+
63
+ ### 🚀 Enhancements
64
+
65
+ - **dms:** Install, update, pause and remove modules from the Modules page ([#285](https://github.com/AntelopeJS/dms/pull/285))
66
+
67
+ ### 🩹 Fixes
68
+
69
+ - **auth:** Write the user's activity before the request's own user writes ([#301](https://github.com/AntelopeJS/dms/pull/301))
70
+ - **deps:** Require @antelopejs/interface-core 0.2.2 and @antelopejs/core 1.15.1 ([#302](https://github.com/AntelopeJS/dms/pull/302))
71
+
72
+ ### 📖 Documentation
73
+
74
+ - **period:** Document usePeriodScopePreset and test the top list badge through hydration ([#300](https://github.com/AntelopeJS/dms/pull/300))
75
+
76
+ ### 🏡 Chore
77
+
78
+ - **release:** @antelopejs/dms v0.9.0 ([5873abe2](https://github.com/AntelopeJS/dms/commit/5873abe2))
79
+ - **release:** @antelopejs/dms v0.9.1 ([0220ff71](https://github.com/AntelopeJS/dms/commit/0220ff71))
80
+
81
+ ### ❤️ Contributors
82
+
83
+ - Antony Rizzitelli <rizzitelli.antony@pm.me>
84
+
3
85
  ## v0.7.0
4
86
 
5
87
  [compare changes](https://github.com/AntelopeJS/dms/compare/interface-v0.6.1...v0.7.0)
package/README.md CHANGED
@@ -1,76 +1,78 @@
1
- # `@antelopejs/interface-dms`
2
-
3
1
  <div align="center">
4
- <a href="./LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-blue?style=for-the-badge&labelColor=000000"></a>
5
- <a href="https://antelopejs.com"><img src="https://img.shields.io/badge/Docs-18181B?style=for-the-badge&color=000000" alt="Documentation"></a>
2
+
3
+ # @antelopejs/interface-dms
4
+
5
+ <a href="https://www.npmjs.com/package/@antelopejs/interface-dms"><img alt="npm" src="https://img.shields.io/npm/v/@antelopejs/interface-dms?style=for-the-badge&labelColor=000000&color=000000"></a>
6
+ <a href="./LICENSE"><img alt="License" src="https://img.shields.io/npm/l/@antelopejs/interface-dms?style=for-the-badge&labelColor=000000&color=000000"></a>
7
+ <a href="https://discord.gg/sjK28QHrA7"><img alt="Discord" src="https://img.shields.io/badge/Discord-18181B?logo=discord&style=for-the-badge&color=000000"></a>
8
+ <a href="https://dms.antelopejs.com/docs/interfaces"><img alt="Documentation" src="https://img.shields.io/badge/Docs-18181B?style=for-the-badge&color=000000"></a>
9
+
10
+ The public contracts of the AntelopeJS DMS: pages and components, permissions and tenancy, authentication, notifications and HTML rendering.
11
+
6
12
  </div>
7
13
 
8
- The public contracts of the AntelopeJS DMS: pages and components, permissions
9
- and tenancy, authentication, notifications and HTML rendering. A module that
10
- extends the DMS imports them from here and never from `@antelopejs/dms`, so it
11
- compiles against the contract rather than against the implementation.
14
+ ## What it does
15
+
16
+ - Declares pages, categories, modules and page extensions (`/page`), and the blocks they carry: forms, tables, charts and layouts (`/base`).
17
+ - Registers permissions, guards routes, and scopes data to a tenant (`/permissions`, `/guards`, `/tenant-scoped-model`…).
18
+ - Authenticates requests and manages users, sessions and external identities (`/auth`).
19
+ - Declares notification categories and sends notifications (`/notifications`), and renders HTML templates server-side (`/html-render`).
20
+ - Lets a module compile against the contract rather than against the implementation, [`@antelopejs/dms`](https://www.npmjs.com/package/@antelopejs/dms).
21
+
22
+ ## Install
23
+
24
+ Add the interface to the module that extends the DMS:
12
25
 
13
26
  ```bash
14
27
  pnpm add @antelopejs/interface-dms
15
28
  ```
16
29
 
17
- ## Entry points
18
-
19
- | Import | What it holds |
20
- | --------------------------------------- | ---------------------------------------------------------- |
21
- | `@antelopejs/interface-dms` | the `dms` interface itself: pages, permissions, tenancy, hooks |
22
- | `@antelopejs/interface-dms/<module>` | one module of it -- `/page`, `/permissions`, `/hooks`, `/db`, ... |
23
- | `@antelopejs/interface-dms/auth` | authentication: users, sessions, external identities |
24
- | `@antelopejs/interface-dms/base` | the component library: forms, tables, charts, layouts |
25
- | `@antelopejs/interface-dms/notifications` | notification categories, subjects and delivery |
26
- | `@antelopejs/interface-dms/html-render` | server-side HTML templates |
27
-
28
- `/auth`, `/base` and `/notifications` take subpaths of their own
29
- (`/auth/db`, `/auth/password`, `/base/table-view`, `/base/data-types`, `/notifications/builder`,
30
- ...). The reference documentation lives in the runtime package, under
31
- `docs/07.interfaces/`.
32
-
33
- ## One copy, always
34
-
35
- Every AntelopeJS interface is a peer dependency, and so is this one in effect:
36
- the host and every module have to resolve **the same installed copy**.
37
-
38
- That is stricter here than the usual "duplicate dependencies waste space". This
39
- package holds live state, not just types -- the page, category and extension
40
- registries, the permission tree, the hook registry, the data-type and block
41
- registries, the component slot resolvers -- and the interface proxies a module
42
- registers into are identified per loaded instance. A second copy gets its own
43
- empty registries and its own proxies: pages register into a tree nobody reads,
44
- permissions never reach the roles form, and hooks never fire. Nothing throws.
45
-
46
- `@antelopejs/core` checks this before constructing modules and fails with
47
- `Incompatible interface package resolution` when a consumer resolves a copy
48
- other than the canonical one, so a mismatch is caught at startup rather than
49
- diagnosed later. Depend on it with a wide range -- `>=0.0.1 <1.0.0`, raising the lower bound
50
- to the version you actually need rather than pinning an upper one -- so package
51
- managers can deduplicate, and never vendor or bundle this package into a module.
52
- `@antelopejs/dms`, which implements this interface, is the exception: it caps its
53
- range below the next minor, so a breaking minor of this package never reaches an
54
- older DMS.
55
-
56
- One more consequence worth knowing when writing a module: the runtime hands a
57
- module a per-context view of the values it receives through an interface, so
58
- reference equality does not survive the round trip. Compare registrations on a
59
- field, never with `===`.
60
-
61
- The same goes for *finding* a registration again, not just comparing two. A
62
- view has to be resolved back to the registered object by its token before it can
63
- be used as a key: `RegisteringProxy` looks its entries up by object reference,
64
- so unregistering with the view a module holds matches nothing and leaves the
65
- registration live -- silently, exactly like a second copy would. `RegisterPage`
66
- and `RegisterCategory` resolve their argument through `RegistrationIdentity`
67
- (`page/internal/registry`) for that reason; anything else keyed on a value
68
- that crossed the boundary has to do the same. The same trap catches structural comparisons:
69
- `isDeepStrictEqual` and `assert.deepStrictEqual` both refuse two views that hold
70
- equal values, so compare plain data, field by field or after a JSON round trip.
71
-
72
- ## Releasing
73
-
74
- Release this package before releasing a `@antelopejs/dms` version that needs it,
75
- and upgrade it first on the consumer side. It has its own workflow
76
- (`Release DMS interface`); releasing the runtime never releases it.
30
+ Depend on it with a wide range, such as `>=0.7.0 <1.0.0`, and never bundle or vendor it: the host and every module must resolve the same installed copy, since the package holds live registries. `@antelopejs/core` fails at startup with `Incompatible interface package resolution` when a module resolves another copy.
31
+
32
+ ## Quick start
33
+
34
+ ```ts
35
+ import { PageController, RegisterPage, pagesCategory } from "@antelopejs/interface-dms/page";
36
+ import { KpiCard } from "@antelopejs/interface-dms/base/kpi-card";
37
+
38
+ @RegisterPage()
39
+ export class SalesPage extends PageController("sales", {
40
+ displayName: "Sales",
41
+ icon: "i-ph-chart-line",
42
+ category: pagesCategory,
43
+ }) {
44
+ static revenue = KpiCard({ title: "Revenue", fetchUrl: "/api/sales/revenue" });
45
+ }
46
+ ```
47
+
48
+ | Import | What it holds |
49
+ | --- | --- |
50
+ | `@antelopejs/interface-dms` | the core surface: pages, permissions, tenancy, hooks |
51
+ | `@antelopejs/interface-dms/<module>` | one module of it: `/page`, `/permissions`, `/hooks`, `/db`… |
52
+ | `@antelopejs/interface-dms/auth` | authentication: users, sessions, external identities |
53
+ | `@antelopejs/interface-dms/base` | the component library: forms, tables, charts, layouts |
54
+ | `@antelopejs/interface-dms/notifications` | notification categories, subjects and delivery |
55
+ | `@antelopejs/interface-dms/html-render` | server-side HTML templates |
56
+
57
+ ## Compatibility
58
+
59
+ | `@antelopejs/interface-dms` | `@antelopejs/dms` (implementation) |
60
+ | --- | --- |
61
+ | 0.7 | 0.9 |
62
+ | 0.6 | 0.8 |
63
+
64
+ ## Documentation
65
+
66
+ - [The DMS interface](./docs/index.md): the canonical consumer reference, shipped with this package and published at [docs/interfaces](https://dms.antelopejs.com/docs/interfaces)
67
+ - [Core](./docs/1.core/1.introduction.md), [Auth](./docs/2.auth/1.introduction.md), [Base](./docs/3.base/1.introduction.md), [Notifications](./docs/4.notifications/1.introduction.md), [HTML Render](./docs/5.html-render/1.introduction.md)
68
+ - [Pages and components](https://dms.antelopejs.com/docs/building/pages-and-components): the task-by-task guide
69
+
70
+ An importable file is not necessarily a supported API. Paths under `internal/`, symbols tagged `@internal`, and `internal` namespaces are implementation wiring, even when the wildcard export makes them reachable. Use the public declarations and contracts documented here.
71
+
72
+ ## Contributing
73
+
74
+ This package lives in the [`AntelopeJS/dms`](https://github.com/AntelopeJS/dms) pnpm workspace, next to the runtime that implements it. Read [CONTRIBUTING.md](https://github.com/AntelopeJS/dms/blob/main/CONTRIBUTING.md), the [repository README](https://github.com/AntelopeJS/dms#contributing) and [AGENTS.md](https://github.com/AntelopeJS/dms/blob/main/AGENTS.md), which covers what is public and what is internal. Release this package (**Release DMS interface**) before a `@antelopejs/dms` version that needs it.
75
+
76
+ ## License
77
+
78
+ [Apache-2.0](./LICENSE)
@@ -20,6 +20,7 @@ declare const SessionModel_base: {
20
20
  delete(id: string): Promise<number>;
21
21
  };
22
22
  readonly schemaName: string;
23
+ readonly tableClass: import("@antelopejs/interface-database-decorators").Constructible<Session>;
23
24
  fromPlainData(obj: any): Session;
24
25
  fromDatabase(obj: any): Session | undefined;
25
26
  toDatabase(obj: any): Record<string, any>;
@@ -17,6 +17,7 @@ declare const UserExternalIdentityModel_base: {
17
17
  delete(id: string): Promise<number>;
18
18
  };
19
19
  readonly schemaName: string;
20
+ readonly tableClass: import("@antelopejs/interface-database-decorators").Constructible<UserExternalIdentity>;
20
21
  fromPlainData(obj: any): UserExternalIdentity;
21
22
  fromDatabase(obj: any): UserExternalIdentity | undefined;
22
23
  toDatabase(obj: any): Record<string, any>;
@@ -20,6 +20,7 @@ declare const UserModel_base: {
20
20
  delete(id: string): Promise<number>;
21
21
  };
22
22
  readonly schemaName: string;
23
+ readonly tableClass: import("@antelopejs/interface-database-decorators").Constructible<User>;
23
24
  fromPlainData(obj: any): User;
24
25
  fromDatabase(obj: any): User | undefined;
25
26
  toDatabase(obj: any): Record<string, any>;
@@ -22,6 +22,7 @@ import "./grid";
22
22
  import "./guard";
23
23
  import "./key-value-list";
24
24
  import "./kpi-card";
25
+ import "./live-toggle";
25
26
  import "./meter";
26
27
  import "./nav-card-grid";
27
28
  import "./period-selector";
@@ -38,6 +38,7 @@ require("./grid");
38
38
  require("./guard");
39
39
  require("./key-value-list");
40
40
  require("./kpi-card");
41
+ require("./live-toggle");
41
42
  require("./meter");
42
43
  require("./nav-card-grid");
43
44
  require("./period-selector");
@@ -1 +1 @@
1
- {"version":3,"file":"block-types.js","sourceRoot":"","sources":["../../src/base/block-types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;GAWG;AACH,2BAAyB;AACzB,oBAAkB;AAClB,kBAAgB;AAChB,oCAAkC;AAClC,wBAAsB;AACtB,wBAAsB;AACtB,yBAAuB;AACvB,+BAA6B;AAC7B,kBAAgB;AAChB,mBAAiB;AACjB,4BAA0B;AAC1B,sBAAoB;AACpB,mBAAiB;AACjB,2BAAyB;AACzB,6BAA2B;AAC3B,yBAAuB;AACvB,kCAAgC;AAChC,qBAAmB;AACnB,mBAAiB;AACjB,wBAAsB;AACtB,iBAAe;AACf,+BAA6B;AAC7B,2BAAyB;AAEzB,2EAA2E;AAC3E,6DAA6D;AAC7D,iDAA+B;AAC/B,2DAAyC;AACzC,4DAA0C;AAC1C,yDAAuC"}
1
+ {"version":3,"file":"block-types.js","sourceRoot":"","sources":["../../src/base/block-types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;GAWG;AACH,2BAAyB;AACzB,oBAAkB;AAClB,kBAAgB;AAChB,oCAAkC;AAClC,wBAAsB;AACtB,wBAAsB;AACtB,yBAAuB;AACvB,+BAA6B;AAC7B,kBAAgB;AAChB,mBAAiB;AACjB,4BAA0B;AAC1B,sBAAoB;AACpB,yBAAuB;AACvB,mBAAiB;AACjB,2BAAyB;AACzB,6BAA2B;AAC3B,yBAAuB;AACvB,kCAAgC;AAChC,qBAAmB;AACnB,mBAAiB;AACjB,wBAAsB;AACtB,iBAAe;AACf,+BAA6B;AAC7B,2BAAyB;AAEzB,2EAA2E;AAC3E,6DAA6D;AAC7D,iDAA+B;AAC/B,2DAAyC;AACzC,4DAA0C;AAC1C,yDAAuC"}
@@ -48,24 +48,24 @@ export declare const FormSchema: z.ZodObject<{
48
48
  }, "strip", z.ZodTypeAny, {
49
49
  type: DataType;
50
50
  id: string;
51
+ disabled?: boolean | undefined;
51
52
  required?: boolean | undefined;
52
53
  description?: string | undefined;
53
54
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
54
55
  defaultValue?: DefaultValue | undefined;
55
56
  label?: string | undefined;
56
- disabled?: boolean | undefined;
57
57
  inputComponent?: ComponentInfoSerialized | undefined;
58
58
  hint?: string | undefined;
59
59
  localized?: boolean | undefined;
60
60
  }, {
61
61
  type: DataType;
62
62
  id: string;
63
+ disabled?: boolean | undefined;
63
64
  required?: boolean | undefined;
64
65
  description?: string | undefined;
65
66
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
66
67
  defaultValue?: DefaultValue | undefined;
67
68
  label?: string | undefined;
68
- disabled?: boolean | undefined;
69
69
  inputComponent?: ComponentInfoSerialized | undefined;
70
70
  hint?: string | undefined;
71
71
  localized?: boolean | undefined;
@@ -77,12 +77,12 @@ export declare const FormSchema: z.ZodObject<{
77
77
  fields: {
78
78
  type: DataType;
79
79
  id: string;
80
+ disabled?: boolean | undefined;
80
81
  required?: boolean | undefined;
81
82
  description?: string | undefined;
82
83
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
83
84
  defaultValue?: DefaultValue | undefined;
84
85
  label?: string | undefined;
85
- disabled?: boolean | undefined;
86
86
  inputComponent?: ComponentInfoSerialized | undefined;
87
87
  hint?: string | undefined;
88
88
  localized?: boolean | undefined;
@@ -96,12 +96,12 @@ export declare const FormSchema: z.ZodObject<{
96
96
  fields: {
97
97
  type: DataType;
98
98
  id: string;
99
+ disabled?: boolean | undefined;
99
100
  required?: boolean | undefined;
100
101
  description?: string | undefined;
101
102
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
102
103
  defaultValue?: DefaultValue | undefined;
103
104
  label?: string | undefined;
104
- disabled?: boolean | undefined;
105
105
  inputComponent?: ComponentInfoSerialized | undefined;
106
106
  hint?: string | undefined;
107
107
  localized?: boolean | undefined;
@@ -125,24 +125,24 @@ export declare const FormSchema: z.ZodObject<{
125
125
  }, "strip", z.ZodTypeAny, {
126
126
  type: DataType;
127
127
  id: string;
128
+ disabled?: boolean | undefined;
128
129
  required?: boolean | undefined;
129
130
  description?: string | undefined;
130
131
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
131
132
  defaultValue?: DefaultValue | undefined;
132
133
  label?: string | undefined;
133
- disabled?: boolean | undefined;
134
134
  inputComponent?: ComponentInfoSerialized | undefined;
135
135
  hint?: string | undefined;
136
136
  localized?: boolean | undefined;
137
137
  }, {
138
138
  type: DataType;
139
139
  id: string;
140
+ disabled?: boolean | undefined;
140
141
  required?: boolean | undefined;
141
142
  description?: string | undefined;
142
143
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
143
144
  defaultValue?: DefaultValue | undefined;
144
145
  label?: string | undefined;
145
- disabled?: boolean | undefined;
146
146
  inputComponent?: ComponentInfoSerialized | undefined;
147
147
  hint?: string | undefined;
148
148
  localized?: boolean | undefined;
@@ -172,24 +172,24 @@ export declare const FormSchema: z.ZodObject<{
172
172
  }, "strip", z.ZodTypeAny, {
173
173
  type: DataType;
174
174
  id: string;
175
+ disabled?: boolean | undefined;
175
176
  required?: boolean | undefined;
176
177
  description?: string | undefined;
177
178
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
178
179
  defaultValue?: DefaultValue | undefined;
179
180
  label?: string | undefined;
180
- disabled?: boolean | undefined;
181
181
  inputComponent?: ComponentInfoSerialized | undefined;
182
182
  hint?: string | undefined;
183
183
  localized?: boolean | undefined;
184
184
  }, {
185
185
  type: DataType;
186
186
  id: string;
187
+ disabled?: boolean | undefined;
187
188
  required?: boolean | undefined;
188
189
  description?: string | undefined;
189
190
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
190
191
  defaultValue?: DefaultValue | undefined;
191
192
  label?: string | undefined;
192
- disabled?: boolean | undefined;
193
193
  inputComponent?: ComponentInfoSerialized | undefined;
194
194
  hint?: string | undefined;
195
195
  localized?: boolean | undefined;
@@ -201,12 +201,12 @@ export declare const FormSchema: z.ZodObject<{
201
201
  fields: {
202
202
  type: DataType;
203
203
  id: string;
204
+ disabled?: boolean | undefined;
204
205
  required?: boolean | undefined;
205
206
  description?: string | undefined;
206
207
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
207
208
  defaultValue?: DefaultValue | undefined;
208
209
  label?: string | undefined;
209
- disabled?: boolean | undefined;
210
210
  inputComponent?: ComponentInfoSerialized | undefined;
211
211
  hint?: string | undefined;
212
212
  localized?: boolean | undefined;
@@ -220,12 +220,12 @@ export declare const FormSchema: z.ZodObject<{
220
220
  fields: {
221
221
  type: DataType;
222
222
  id: string;
223
+ disabled?: boolean | undefined;
223
224
  required?: boolean | undefined;
224
225
  description?: string | undefined;
225
226
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
226
227
  defaultValue?: DefaultValue | undefined;
227
228
  label?: string | undefined;
228
- disabled?: boolean | undefined;
229
229
  inputComponent?: ComponentInfoSerialized | undefined;
230
230
  hint?: string | undefined;
231
231
  localized?: boolean | undefined;
@@ -249,24 +249,24 @@ export declare const FormSchema: z.ZodObject<{
249
249
  }, "strip", z.ZodTypeAny, {
250
250
  type: DataType;
251
251
  id: string;
252
+ disabled?: boolean | undefined;
252
253
  required?: boolean | undefined;
253
254
  description?: string | undefined;
254
255
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
255
256
  defaultValue?: DefaultValue | undefined;
256
257
  label?: string | undefined;
257
- disabled?: boolean | undefined;
258
258
  inputComponent?: ComponentInfoSerialized | undefined;
259
259
  hint?: string | undefined;
260
260
  localized?: boolean | undefined;
261
261
  }, {
262
262
  type: DataType;
263
263
  id: string;
264
+ disabled?: boolean | undefined;
264
265
  required?: boolean | undefined;
265
266
  description?: string | undefined;
266
267
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
267
268
  defaultValue?: DefaultValue | undefined;
268
269
  label?: string | undefined;
269
- disabled?: boolean | undefined;
270
270
  inputComponent?: ComponentInfoSerialized | undefined;
271
271
  hint?: string | undefined;
272
272
  localized?: boolean | undefined;
@@ -277,12 +277,12 @@ export declare const FormSchema: z.ZodObject<{
277
277
  fields: ({
278
278
  type: DataType;
279
279
  id: string;
280
+ disabled?: boolean | undefined;
280
281
  required?: boolean | undefined;
281
282
  description?: string | undefined;
282
283
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
283
284
  defaultValue?: DefaultValue | undefined;
284
285
  label?: string | undefined;
285
- disabled?: boolean | undefined;
286
286
  inputComponent?: ComponentInfoSerialized | undefined;
287
287
  hint?: string | undefined;
288
288
  localized?: boolean | undefined;
@@ -291,12 +291,12 @@ export declare const FormSchema: z.ZodObject<{
291
291
  fields: {
292
292
  type: DataType;
293
293
  id: string;
294
+ disabled?: boolean | undefined;
294
295
  required?: boolean | undefined;
295
296
  description?: string | undefined;
296
297
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
297
298
  defaultValue?: DefaultValue | undefined;
298
299
  label?: string | undefined;
299
- disabled?: boolean | undefined;
300
300
  inputComponent?: ComponentInfoSerialized | undefined;
301
301
  hint?: string | undefined;
302
302
  localized?: boolean | undefined;
@@ -315,12 +315,12 @@ export declare const FormSchema: z.ZodObject<{
315
315
  fields: ({
316
316
  type: DataType;
317
317
  id: string;
318
+ disabled?: boolean | undefined;
318
319
  required?: boolean | undefined;
319
320
  description?: string | undefined;
320
321
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
321
322
  defaultValue?: DefaultValue | undefined;
322
323
  label?: string | undefined;
323
- disabled?: boolean | undefined;
324
324
  inputComponent?: ComponentInfoSerialized | undefined;
325
325
  hint?: string | undefined;
326
326
  localized?: boolean | undefined;
@@ -329,12 +329,12 @@ export declare const FormSchema: z.ZodObject<{
329
329
  fields: {
330
330
  type: DataType;
331
331
  id: string;
332
+ disabled?: boolean | undefined;
332
333
  required?: boolean | undefined;
333
334
  description?: string | undefined;
334
335
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
335
336
  defaultValue?: DefaultValue | undefined;
336
337
  label?: string | undefined;
337
- disabled?: boolean | undefined;
338
338
  inputComponent?: ComponentInfoSerialized | undefined;
339
339
  hint?: string | undefined;
340
340
  localized?: boolean | undefined;
@@ -362,12 +362,12 @@ export declare const FormSchema: z.ZodObject<{
362
362
  fields?: ({
363
363
  type: DataType;
364
364
  id: string;
365
+ disabled?: boolean | undefined;
365
366
  required?: boolean | undefined;
366
367
  description?: string | undefined;
367
368
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
368
369
  defaultValue?: DefaultValue | undefined;
369
370
  label?: string | undefined;
370
- disabled?: boolean | undefined;
371
371
  inputComponent?: ComponentInfoSerialized | undefined;
372
372
  hint?: string | undefined;
373
373
  localized?: boolean | undefined;
@@ -376,12 +376,12 @@ export declare const FormSchema: z.ZodObject<{
376
376
  fields: {
377
377
  type: DataType;
378
378
  id: string;
379
+ disabled?: boolean | undefined;
379
380
  required?: boolean | undefined;
380
381
  description?: string | undefined;
381
382
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
382
383
  defaultValue?: DefaultValue | undefined;
383
384
  label?: string | undefined;
384
- disabled?: boolean | undefined;
385
385
  inputComponent?: ComponentInfoSerialized | undefined;
386
386
  hint?: string | undefined;
387
387
  localized?: boolean | undefined;
@@ -397,12 +397,12 @@ export declare const FormSchema: z.ZodObject<{
397
397
  fields: ({
398
398
  type: DataType;
399
399
  id: string;
400
+ disabled?: boolean | undefined;
400
401
  required?: boolean | undefined;
401
402
  description?: string | undefined;
402
403
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
403
404
  defaultValue?: DefaultValue | undefined;
404
405
  label?: string | undefined;
405
- disabled?: boolean | undefined;
406
406
  inputComponent?: ComponentInfoSerialized | undefined;
407
407
  hint?: string | undefined;
408
408
  localized?: boolean | undefined;
@@ -411,12 +411,12 @@ export declare const FormSchema: z.ZodObject<{
411
411
  fields: {
412
412
  type: DataType;
413
413
  id: string;
414
+ disabled?: boolean | undefined;
414
415
  required?: boolean | undefined;
415
416
  description?: string | undefined;
416
417
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
417
418
  defaultValue?: DefaultValue | undefined;
418
419
  label?: string | undefined;
419
- disabled?: boolean | undefined;
420
420
  inputComponent?: ComponentInfoSerialized | undefined;
421
421
  hint?: string | undefined;
422
422
  localized?: boolean | undefined;
@@ -452,12 +452,12 @@ export declare const FormSchema: z.ZodObject<{
452
452
  fields?: ({
453
453
  type: DataType;
454
454
  id: string;
455
+ disabled?: boolean | undefined;
455
456
  required?: boolean | undefined;
456
457
  description?: string | undefined;
457
458
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
458
459
  defaultValue?: DefaultValue | undefined;
459
460
  label?: string | undefined;
460
- disabled?: boolean | undefined;
461
461
  inputComponent?: ComponentInfoSerialized | undefined;
462
462
  hint?: string | undefined;
463
463
  localized?: boolean | undefined;
@@ -466,12 +466,12 @@ export declare const FormSchema: z.ZodObject<{
466
466
  fields: {
467
467
  type: DataType;
468
468
  id: string;
469
+ disabled?: boolean | undefined;
469
470
  required?: boolean | undefined;
470
471
  description?: string | undefined;
471
472
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
472
473
  defaultValue?: DefaultValue | undefined;
473
474
  label?: string | undefined;
474
- disabled?: boolean | undefined;
475
475
  inputComponent?: ComponentInfoSerialized | undefined;
476
476
  hint?: string | undefined;
477
477
  localized?: boolean | undefined;
@@ -487,12 +487,12 @@ export declare const FormSchema: z.ZodObject<{
487
487
  fields: ({
488
488
  type: DataType;
489
489
  id: string;
490
+ disabled?: boolean | undefined;
490
491
  required?: boolean | undefined;
491
492
  description?: string | undefined;
492
493
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
493
494
  defaultValue?: DefaultValue | undefined;
494
495
  label?: string | undefined;
495
- disabled?: boolean | undefined;
496
496
  inputComponent?: ComponentInfoSerialized | undefined;
497
497
  hint?: string | undefined;
498
498
  localized?: boolean | undefined;
@@ -501,12 +501,12 @@ export declare const FormSchema: z.ZodObject<{
501
501
  fields: {
502
502
  type: DataType;
503
503
  id: string;
504
+ disabled?: boolean | undefined;
504
505
  required?: boolean | undefined;
505
506
  description?: string | undefined;
506
507
  readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
507
508
  defaultValue?: DefaultValue | undefined;
508
509
  label?: string | undefined;
509
- disabled?: boolean | undefined;
510
510
  inputComponent?: ComponentInfoSerialized | undefined;
511
511
  hint?: string | undefined;
512
512
  localized?: boolean | undefined;
@@ -58,11 +58,11 @@ export declare const LiveToggleSchema: z.ZodObject<{
58
58
  }, "strip", z.ZodTypeAny, {
59
59
  variant?: "segmented" | "pill" | undefined;
60
60
  align?: "left" | "right" | "center" | undefined;
61
- missedLabel?: string | undefined;
62
61
  showUpdatedAt?: boolean | undefined;
62
+ missedLabel?: string | undefined;
63
63
  }, {
64
64
  variant?: "segmented" | "pill" | undefined;
65
65
  align?: "left" | "right" | "center" | undefined;
66
- missedLabel?: string | undefined;
67
66
  showUpdatedAt?: boolean | undefined;
67
+ missedLabel?: string | undefined;
68
68
  }>;