@antelopejs/interface-dms 0.15.1-next.1020.g0c3c63d → 0.16.0

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 (80) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/base/activity-feed.d.ts +38 -137
  3. package/dist/base/banner.d.ts +34 -60
  4. package/dist/base/block-registry/helpers.d.ts +5 -5
  5. package/dist/base/block-registry/helpers.js.map +1 -1
  6. package/dist/base/block-registry/internal/describe.d.ts +3 -3
  7. package/dist/base/block-registry/internal/describe.js +120 -126
  8. package/dist/base/block-registry/internal/describe.js.map +1 -1
  9. package/dist/base/block-registry/internal/ui.d.ts +6 -4
  10. package/dist/base/block-registry/internal/ui.js +6 -2
  11. package/dist/base/block-registry/internal/ui.js.map +1 -1
  12. package/dist/base/block-registry/registry.d.ts +2 -2
  13. package/dist/base/block-registry/registry.js.map +1 -1
  14. package/dist/base/block-registry/types.d.ts +4 -4
  15. package/dist/base/card.d.ts +24 -46
  16. package/dist/base/chart-card.d.ts +10 -39
  17. package/dist/base/chart-schemas.d.ts +404 -2542
  18. package/dist/base/code-block.d.ts +12 -22
  19. package/dist/base/data-types/default/address.d.ts +1 -19
  20. package/dist/base/data-types/default/choices.d.ts +1 -1
  21. package/dist/base/data-types/default/files.d.ts +6 -30
  22. package/dist/base/data-types/default/numbers.d.ts +5 -17
  23. package/dist/base/data-types/default/numbers.js.map +1 -1
  24. package/dist/base/data-types/default/strings.d.ts +1 -1
  25. package/dist/base/data-types/field-types.d.ts +7 -17
  26. package/dist/base/display.d.ts +42 -48
  27. package/dist/base/empty-state.d.ts +48 -70
  28. package/dist/base/export-jobs.d.ts +3 -3
  29. package/dist/base/form-block-schema.d.ts +56 -510
  30. package/dist/base/form-block-schema.js +1 -1
  31. package/dist/base/form-block-schema.js.map +1 -1
  32. package/dist/base/form-schema.d.ts +0 -1
  33. package/dist/base/form-schema.js +0 -1
  34. package/dist/base/form-schema.js.map +1 -1
  35. package/dist/base/form-types.d.ts +2 -2
  36. package/dist/base/grid.d.ts +2 -12
  37. package/dist/base/guard.d.ts +55 -132
  38. package/dist/base/internal/composed-text.d.ts +3 -3
  39. package/dist/base/internal/composed-text.js +1 -1
  40. package/dist/base/internal/composed-text.js.map +1 -1
  41. package/dist/base/internal/display.d.ts +1 -1
  42. package/dist/base/internal/display.js.map +1 -1
  43. package/dist/base/internal/export-jobs.d.ts +2 -2
  44. package/dist/base/internal/export-jobs.js.map +1 -1
  45. package/dist/base/internal/form-schema-components.d.ts +11 -0
  46. package/dist/base/internal/form-schema-components.js +82 -2
  47. package/dist/base/internal/form-schema-components.js.map +1 -1
  48. package/dist/base/internal/form-schema-validation.d.ts +3 -5
  49. package/dist/base/internal/form-schema-validation.js +1 -1
  50. package/dist/base/internal/form-schema-validation.js.map +1 -1
  51. package/dist/base/key-value-list.d.ts +25 -92
  52. package/dist/base/kpi-card.d.ts +15 -49
  53. package/dist/base/live-toggle.d.ts +15 -16
  54. package/dist/base/meter.d.ts +56 -92
  55. package/dist/base/nav-card-grid.d.ts +29 -92
  56. package/dist/base/page-toolbar.d.ts +6 -10
  57. package/dist/base/period-selector.d.ts +95 -44
  58. package/dist/base/period-selector.js +2 -2
  59. package/dist/base/period-selector.js.map +1 -1
  60. package/dist/base/placeholder.d.ts +1 -9
  61. package/dist/base/resource-form-schema.d.ts +10 -25
  62. package/dist/base/resource-form-schema.js +1 -1
  63. package/dist/base/resource-form-schema.js.map +1 -1
  64. package/dist/base/section.d.ts +7 -25
  65. package/dist/base/stack.d.ts +31 -37
  66. package/dist/base/stat-group.d.ts +37 -84
  67. package/dist/base/tab.d.ts +19 -124
  68. package/dist/base/table-view/internal/meta-helpers.js +23 -1
  69. package/dist/base/table-view/internal/meta-helpers.js.map +1 -1
  70. package/dist/base/table-view/internal/row-actions-schema.d.ts +42 -258
  71. package/dist/base/table-view/schema.d.ts +135 -1222
  72. package/dist/base/table-view/schema.js +3 -3
  73. package/dist/base/table-view/schema.js.map +1 -1
  74. package/dist/base/top-list-card.d.ts +37 -151
  75. package/dist/invite-extensions/internal/types.d.ts +3 -4
  76. package/dist/invite-extensions/types.d.ts +2 -2
  77. package/docs/1.core/6.invites.md +1 -1
  78. package/docs/3.base/1.introduction.md +1 -1
  79. package/docs/3.base/9.helpers.md +1 -1
  80. package/package.json +3 -4
@@ -95,141 +95,36 @@ export declare const Tab: (options?: TabProps) => ComponentBuilder<TabProps>;
95
95
  /** The options `Tab` accepts. */
96
96
  export declare const TabSchema: z.ZodObject<{
97
97
  badgesUrl: z.ZodOptional<z.ZodString>;
98
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
98
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
99
99
  items: z.ZodArray<z.ZodObject<{
100
100
  label: z.ZodString;
101
101
  slot: z.ZodString;
102
102
  icon: z.ZodOptional<z.ZodString>;
103
- badge: z.ZodOptional<z.ZodUnion<[z.ZodType<BlockText, z.ZodTypeDef, BlockText>, z.ZodNumber, z.ZodObject<{
104
- label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
103
+ badge: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<BlockText, BlockText, z.core.$ZodTypeInternals<BlockText, BlockText>>, z.ZodNumber, z.ZodObject<{
104
+ label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
105
105
  color: z.ZodOptional<z.ZodString>;
106
- variant: z.ZodOptional<z.ZodEnum<["solid", "outline", "soft", "subtle"]>>;
107
- size: z.ZodOptional<z.ZodNativeEnum<typeof Size>>;
108
- }, "strip", z.ZodTypeAny, {
109
- label?: string | number | undefined;
110
- color?: string | undefined;
111
- variant?: "outline" | "soft" | "solid" | "subtle" | undefined;
112
- size?: Size | undefined;
113
- }, {
114
- label?: string | number | undefined;
115
- color?: string | undefined;
116
- variant?: "outline" | "soft" | "solid" | "subtle" | undefined;
117
- size?: Size | undefined;
118
- }>]>>;
106
+ variant: z.ZodOptional<z.ZodEnum<{
107
+ outline: "outline";
108
+ soft: "soft";
109
+ solid: "solid";
110
+ subtle: "subtle";
111
+ }>>;
112
+ size: z.ZodOptional<z.ZodEnum<typeof Size>>;
113
+ }, z.core.$strip>]>>;
119
114
  disabled: z.ZodOptional<z.ZodBoolean>;
120
115
  shortcut: z.ZodOptional<z.ZodString>;
121
116
  avatar: z.ZodOptional<z.ZodObject<{
122
117
  src: z.ZodOptional<z.ZodString>;
123
118
  alt: z.ZodOptional<z.ZodString>;
124
- size: z.ZodOptional<z.ZodNativeEnum<typeof Size>>;
125
- }, "strip", z.ZodTypeAny, {
126
- src?: string | undefined;
127
- alt?: string | undefined;
128
- size?: Size | undefined;
129
- }, {
130
- src?: string | undefined;
131
- alt?: string | undefined;
132
- size?: Size | undefined;
133
- }>>;
134
- }, "strip", z.ZodTypeAny, {
135
- label: string;
136
- slot: string;
137
- icon?: string | undefined;
138
- badge?: number | {
139
- label?: string | number | undefined;
140
- color?: string | undefined;
141
- variant?: "outline" | "soft" | "solid" | "subtle" | undefined;
142
- size?: Size | undefined;
143
- } | BlockText | undefined;
144
- disabled?: boolean | undefined;
145
- shortcut?: string | undefined;
146
- avatar?: {
147
- src?: string | undefined;
148
- alt?: string | undefined;
149
- size?: Size | undefined;
150
- } | undefined;
151
- }, {
152
- label: string;
153
- slot: string;
154
- icon?: string | undefined;
155
- badge?: number | {
156
- label?: string | number | undefined;
157
- color?: string | undefined;
158
- variant?: "outline" | "soft" | "solid" | "subtle" | undefined;
159
- size?: Size | undefined;
160
- } | BlockText | undefined;
161
- disabled?: boolean | undefined;
162
- shortcut?: string | undefined;
163
- avatar?: {
164
- src?: string | undefined;
165
- alt?: string | undefined;
166
- size?: Size | undefined;
167
- } | undefined;
168
- }>, "many">;
169
- color: z.ZodOptional<z.ZodNativeEnum<typeof Color>>;
170
- size: z.ZodOptional<z.ZodNativeEnum<typeof Size>>;
171
- variant: z.ZodOptional<z.ZodNativeEnum<typeof TabVariant>>;
172
- orientation: z.ZodOptional<z.ZodNativeEnum<typeof AxeOrientation>>;
119
+ size: z.ZodOptional<z.ZodEnum<typeof Size>>;
120
+ }, z.core.$strip>>;
121
+ }, z.core.$strip>>;
122
+ color: z.ZodOptional<z.ZodEnum<typeof Color>>;
123
+ size: z.ZodOptional<z.ZodEnum<typeof Size>>;
124
+ variant: z.ZodOptional<z.ZodEnum<typeof TabVariant>>;
125
+ orientation: z.ZodOptional<z.ZodEnum<typeof AxeOrientation>>;
173
126
  fit: z.ZodOptional<z.ZodBoolean>;
174
127
  unmountOnHide: z.ZodOptional<z.ZodBoolean>;
175
128
  persistState: z.ZodOptional<z.ZodBoolean>;
176
129
  stateKey: z.ZodOptional<z.ZodString>;
177
- }, "strip", z.ZodTypeAny, {
178
- badgesUrl?: string | undefined;
179
- realtimeTopic?: string | string[] | undefined;
180
- items: {
181
- label: string;
182
- slot: string;
183
- icon?: string | undefined;
184
- badge?: number | {
185
- label?: string | number | undefined;
186
- color?: string | undefined;
187
- variant?: "outline" | "soft" | "solid" | "subtle" | undefined;
188
- size?: Size | undefined;
189
- } | BlockText | undefined;
190
- disabled?: boolean | undefined;
191
- shortcut?: string | undefined;
192
- avatar?: {
193
- src?: string | undefined;
194
- alt?: string | undefined;
195
- size?: Size | undefined;
196
- } | undefined;
197
- }[];
198
- color?: Color | undefined;
199
- size?: Size | undefined;
200
- variant?: TabVariant | undefined;
201
- orientation?: AxeOrientation | undefined;
202
- fit?: boolean | undefined;
203
- unmountOnHide?: boolean | undefined;
204
- persistState?: boolean | undefined;
205
- stateKey?: string | undefined;
206
- }, {
207
- badgesUrl?: string | undefined;
208
- realtimeTopic?: string | string[] | undefined;
209
- items: {
210
- label: string;
211
- slot: string;
212
- icon?: string | undefined;
213
- badge?: number | {
214
- label?: string | number | undefined;
215
- color?: string | undefined;
216
- variant?: "outline" | "soft" | "solid" | "subtle" | undefined;
217
- size?: Size | undefined;
218
- } | BlockText | undefined;
219
- disabled?: boolean | undefined;
220
- shortcut?: string | undefined;
221
- avatar?: {
222
- src?: string | undefined;
223
- alt?: string | undefined;
224
- size?: Size | undefined;
225
- } | undefined;
226
- }[];
227
- color?: Color | undefined;
228
- size?: Size | undefined;
229
- variant?: TabVariant | undefined;
230
- orientation?: AxeOrientation | undefined;
231
- fit?: boolean | undefined;
232
- unmountOnHide?: boolean | undefined;
233
- persistState?: boolean | undefined;
234
- stateKey?: string | undefined;
235
- }>;
130
+ }, z.core.$strip>;
@@ -16,6 +16,20 @@ const types_1 = require("../../types");
16
16
  const column_display_1 = require("./column-display");
17
17
  const decorated_class_1 = require("../../../utils/internal/decorated-class");
18
18
  const type_check_1 = require("../../../utils/internal/type-check");
19
+ /**
20
+ * Whether a value a data type's validation parsed is one data-api stores:
21
+ * text, a number, a flag, `null`, a `Date`, or a list or record of them.
22
+ */
23
+ function isFieldValue(value) {
24
+ if (value === null || value instanceof Date)
25
+ return true;
26
+ if ((0, type_check_1.isString)(value) || (0, type_check_1.isNumber)(value) || (0, type_check_1.isBoolean)(value))
27
+ return true;
28
+ if (Array.isArray(value))
29
+ return value.every(isFieldValue);
30
+ return ((0, type_check_1.isObject)(value) &&
31
+ Object.values(value).every((part) => part === undefined || isFieldValue(part)));
32
+ }
19
33
  /** @internal */
20
34
  function buildTableConfig(view, serialize) {
21
35
  const datameta = (0, interface_core_1.GetMetadata)(view.target, metadata_1.DataAPIMeta);
@@ -66,7 +80,15 @@ function decorateColumn(target, key, descriptor, options, meta) {
66
80
  ? interface_database_decorators_1.LocalizationModifier.fallbackLocaleOf(dataMeta.tableClass, columnKey)
67
81
  : undefined,
68
82
  });
69
- (0, metadata_1.Validator)((value) => zodSchema.safeParseAsync(value))(target, key, descriptor ?? {});
83
+ (0, metadata_1.Validator)(async (value) => {
84
+ const result = await zodSchema.safeParseAsync(value);
85
+ if (!result.success)
86
+ return { success: false };
87
+ const { data } = result;
88
+ return data === undefined || isFieldValue(data)
89
+ ? { success: true, data }
90
+ : { success: false };
91
+ })(target, key, descriptor ?? {});
70
92
  }
71
93
  if (options.filterable) {
72
94
  (0, metadata_1.Filter)(options.type.filter.bind(options.type))(target, columnKey);
@@ -1 +1 @@
1
- {"version":3,"file":"meta-helpers.js","sourceRoot":"","sources":["../../../../src/base/table-view/internal/meta-helpers.ts"],"names":[],"mappings":";;;;;;;AAAA,gBAAgB;AAChB,8DAAiC;AACjC,6DAA2D;AAC3D,+DAAyD;AAEzD,sEAIiD;AACjD,6FAGmD;AAEnD,mDAA+D;AAC/D,uCAAmD;AAEnD,qDAA0D;AAC1D,6EAAyE;AACzE,mEAA8D;AAM9D,gBAAgB;AAChB,0BACE,IAAmB,EACnB,SAA+B;IAE/B,MAAM,QAAQ,GAAG,IAAA,4BAAW,EAAC,IAAI,CAAC,MAAM,EAAE,sBAAW,CAAC,CAAC;IAEvD,OAAO;QACL,QAAQ,EAAE,IAAA,4BAAW,EAAC,IAAI,CAAC,MAAM,EAAE,8BAAc,CAAC,CAAC,QAAQ;QAC3D,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;aAClC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;aACrD,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,EAAE,EAAE;YACtB,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YAElC,OAAO;gBACL,EAAE,EAAE,GAAG;gBACP,MAAM,EAAE,OAAO,CAAC,IAAI,IAAI,GAAG;gBAC3B,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC;gBAC7B,WAAW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AC,CAAC;IACpE,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;QAC/B,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,GAAG,EAAE,UAAU,CAAC,CAAC;IACtD,CAAC;AACH,CAAC"}
@@ -2,295 +2,79 @@ import { z } from "zod";
2
2
  import type { CustomRowAction, RowActionRule } from "../../types/row-action";
3
3
  /** @internal The builder schema of a table view's `rowActions`. */
4
4
  export declare const rowActionsSchema: z.ZodObject<{
5
- add: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
5
+ add: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
6
6
  isEnabled: z.ZodOptional<z.ZodBoolean>;
7
7
  isVisible: z.ZodOptional<z.ZodBoolean>;
8
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
9
- }, "strip", z.ZodTypeAny, {
10
- isEnabled?: boolean | undefined;
11
- isVisible?: boolean | undefined;
12
- rule?: RowActionRule | undefined;
13
- }, {
14
- isEnabled?: boolean | undefined;
15
- isVisible?: boolean | undefined;
16
- rule?: RowActionRule | undefined;
17
- }>]>> | z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
8
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
9
+ }, z.core.$strip>]>> | z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
18
10
  isEnabled: z.ZodOptional<z.ZodBoolean>;
19
11
  isVisible: z.ZodOptional<z.ZodBoolean>;
20
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
21
- }, "strip", z.ZodTypeAny, {
22
- isEnabled?: boolean | undefined;
23
- isVisible?: boolean | undefined;
24
- rule?: RowActionRule | undefined;
25
- }, {
26
- isEnabled?: boolean | undefined;
27
- isVisible?: boolean | undefined;
28
- rule?: RowActionRule | undefined;
29
- }>]>>;
30
- edit: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
12
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
13
+ }, z.core.$strip>]>>;
14
+ edit: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
31
15
  isEnabled: z.ZodOptional<z.ZodBoolean>;
32
16
  isVisible: z.ZodOptional<z.ZodBoolean>;
33
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
34
- }, "strip", z.ZodTypeAny, {
35
- isEnabled?: boolean | undefined;
36
- isVisible?: boolean | undefined;
37
- rule?: RowActionRule | undefined;
38
- }, {
39
- isEnabled?: boolean | undefined;
40
- isVisible?: boolean | undefined;
41
- rule?: RowActionRule | undefined;
42
- }>]>> | z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
17
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
18
+ }, z.core.$strip>]>> | z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
43
19
  isEnabled: z.ZodOptional<z.ZodBoolean>;
44
20
  isVisible: z.ZodOptional<z.ZodBoolean>;
45
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
46
- }, "strip", z.ZodTypeAny, {
47
- isEnabled?: boolean | undefined;
48
- isVisible?: boolean | undefined;
49
- rule?: RowActionRule | undefined;
50
- }, {
51
- isEnabled?: boolean | undefined;
52
- isVisible?: boolean | undefined;
53
- rule?: RowActionRule | undefined;
54
- }>]>>;
55
- delete: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
21
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
22
+ }, z.core.$strip>]>>;
23
+ delete: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
56
24
  isEnabled: z.ZodOptional<z.ZodBoolean>;
57
25
  isVisible: z.ZodOptional<z.ZodBoolean>;
58
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
59
- }, "strip", z.ZodTypeAny, {
60
- isEnabled?: boolean | undefined;
61
- isVisible?: boolean | undefined;
62
- rule?: RowActionRule | undefined;
63
- }, {
64
- isEnabled?: boolean | undefined;
65
- isVisible?: boolean | undefined;
66
- rule?: RowActionRule | undefined;
67
- }>]>> | z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
26
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
27
+ }, z.core.$strip>]>> | z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
68
28
  isEnabled: z.ZodOptional<z.ZodBoolean>;
69
29
  isVisible: z.ZodOptional<z.ZodBoolean>;
70
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
71
- }, "strip", z.ZodTypeAny, {
72
- isEnabled?: boolean | undefined;
73
- isVisible?: boolean | undefined;
74
- rule?: RowActionRule | undefined;
75
- }, {
76
- isEnabled?: boolean | undefined;
77
- isVisible?: boolean | undefined;
78
- rule?: RowActionRule | undefined;
79
- }>]>>;
80
- details: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
30
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
31
+ }, z.core.$strip>]>>;
32
+ details: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
81
33
  isEnabled: z.ZodOptional<z.ZodBoolean>;
82
34
  isVisible: z.ZodOptional<z.ZodBoolean>;
83
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
84
- }, "strip", z.ZodTypeAny, {
85
- isEnabled?: boolean | undefined;
86
- isVisible?: boolean | undefined;
87
- rule?: RowActionRule | undefined;
88
- }, {
89
- isEnabled?: boolean | undefined;
90
- isVisible?: boolean | undefined;
91
- rule?: RowActionRule | undefined;
92
- }>]>> | z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
35
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
36
+ }, z.core.$strip>]>> | z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
93
37
  isEnabled: z.ZodOptional<z.ZodBoolean>;
94
38
  isVisible: z.ZodOptional<z.ZodBoolean>;
95
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
96
- }, "strip", z.ZodTypeAny, {
97
- isEnabled?: boolean | undefined;
98
- isVisible?: boolean | undefined;
99
- rule?: RowActionRule | undefined;
100
- }, {
101
- isEnabled?: boolean | undefined;
102
- isVisible?: boolean | undefined;
103
- rule?: RowActionRule | undefined;
104
- }>]>>;
105
- duplicate: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
39
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
40
+ }, z.core.$strip>]>>;
41
+ duplicate: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
106
42
  isEnabled: z.ZodOptional<z.ZodBoolean>;
107
43
  isVisible: z.ZodOptional<z.ZodBoolean>;
108
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
109
- }, "strip", z.ZodTypeAny, {
110
- isEnabled?: boolean | undefined;
111
- isVisible?: boolean | undefined;
112
- rule?: RowActionRule | undefined;
113
- }, {
114
- isEnabled?: boolean | undefined;
115
- isVisible?: boolean | undefined;
116
- rule?: RowActionRule | undefined;
117
- }>]>> | z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
44
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
45
+ }, z.core.$strip>]>> | z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
118
46
  isEnabled: z.ZodOptional<z.ZodBoolean>;
119
47
  isVisible: z.ZodOptional<z.ZodBoolean>;
120
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
121
- }, "strip", z.ZodTypeAny, {
122
- isEnabled?: boolean | undefined;
123
- isVisible?: boolean | undefined;
124
- rule?: RowActionRule | undefined;
125
- }, {
126
- isEnabled?: boolean | undefined;
127
- isVisible?: boolean | undefined;
128
- rule?: RowActionRule | undefined;
129
- }>]>>;
130
- archive: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
48
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
49
+ }, z.core.$strip>]>>;
50
+ archive: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
131
51
  isEnabled: z.ZodOptional<z.ZodBoolean>;
132
52
  isVisible: z.ZodOptional<z.ZodBoolean>;
133
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
134
- }, "strip", z.ZodTypeAny, {
135
- isEnabled?: boolean | undefined;
136
- isVisible?: boolean | undefined;
137
- rule?: RowActionRule | undefined;
138
- }, {
139
- isEnabled?: boolean | undefined;
140
- isVisible?: boolean | undefined;
141
- rule?: RowActionRule | undefined;
142
- }>]>> | z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
53
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
54
+ }, z.core.$strip>]>> | z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
143
55
  isEnabled: z.ZodOptional<z.ZodBoolean>;
144
56
  isVisible: z.ZodOptional<z.ZodBoolean>;
145
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
146
- }, "strip", z.ZodTypeAny, {
147
- isEnabled?: boolean | undefined;
148
- isVisible?: boolean | undefined;
149
- rule?: RowActionRule | undefined;
150
- }, {
151
- isEnabled?: boolean | undefined;
152
- isVisible?: boolean | undefined;
153
- rule?: RowActionRule | undefined;
154
- }>]>>;
155
- restore: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
57
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
58
+ }, z.core.$strip>]>>;
59
+ restore: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
156
60
  isEnabled: z.ZodOptional<z.ZodBoolean>;
157
61
  isVisible: z.ZodOptional<z.ZodBoolean>;
158
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
159
- }, "strip", z.ZodTypeAny, {
160
- isEnabled?: boolean | undefined;
161
- isVisible?: boolean | undefined;
162
- rule?: RowActionRule | undefined;
163
- }, {
164
- isEnabled?: boolean | undefined;
165
- isVisible?: boolean | undefined;
166
- rule?: RowActionRule | undefined;
167
- }>]>> | z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
62
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
63
+ }, z.core.$strip>]>> | z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
168
64
  isEnabled: z.ZodOptional<z.ZodBoolean>;
169
65
  isVisible: z.ZodOptional<z.ZodBoolean>;
170
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
171
- }, "strip", z.ZodTypeAny, {
172
- isEnabled?: boolean | undefined;
173
- isVisible?: boolean | undefined;
174
- rule?: RowActionRule | undefined;
175
- }, {
176
- isEnabled?: boolean | undefined;
177
- isVisible?: boolean | undefined;
178
- rule?: RowActionRule | undefined;
179
- }>]>>;
180
- copyLink: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
66
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
67
+ }, z.core.$strip>]>>;
68
+ copyLink: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
181
69
  isEnabled: z.ZodOptional<z.ZodBoolean>;
182
70
  isVisible: z.ZodOptional<z.ZodBoolean>;
183
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
184
- }, "strip", z.ZodTypeAny, {
185
- isEnabled?: boolean | undefined;
186
- isVisible?: boolean | undefined;
187
- rule?: RowActionRule | undefined;
188
- }, {
189
- isEnabled?: boolean | undefined;
190
- isVisible?: boolean | undefined;
191
- rule?: RowActionRule | undefined;
192
- }>]>> | z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
71
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
72
+ }, z.core.$strip>]>> | z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
193
73
  isEnabled: z.ZodOptional<z.ZodBoolean>;
194
74
  isVisible: z.ZodOptional<z.ZodBoolean>;
195
- rule: z.ZodOptional<z.ZodType<RowActionRule, z.ZodTypeDef, RowActionRule>>;
196
- }, "strip", z.ZodTypeAny, {
197
- isEnabled?: boolean | undefined;
198
- isVisible?: boolean | undefined;
199
- rule?: RowActionRule | undefined;
200
- }, {
201
- isEnabled?: boolean | undefined;
202
- isVisible?: boolean | undefined;
203
- rule?: RowActionRule | undefined;
204
- }>]>>;
75
+ rule: z.ZodOptional<z.ZodType<RowActionRule, RowActionRule, z.core.$ZodTypeInternals<RowActionRule, RowActionRule>>>;
76
+ }, z.core.$strip>]>>;
205
77
  hasSelection: z.ZodOptional<z.ZodBoolean>;
206
- custom: z.ZodOptional<z.ZodType<CustomRowAction<Record<string, unknown>>[], z.ZodTypeDef, CustomRowAction<Record<string, unknown>>[]>>;
78
+ custom: z.ZodOptional<z.ZodType<CustomRowAction<Record<string, unknown>>[], CustomRowAction<Record<string, unknown>>[], z.core.$ZodTypeInternals<CustomRowAction<Record<string, unknown>>[], CustomRowAction<Record<string, unknown>>[]>>>;
207
79
  menuLabel: z.ZodOptional<z.ZodString>;
208
- }, "strip", z.ZodTypeAny, {
209
- add?: boolean | {
210
- isEnabled?: boolean | undefined;
211
- isVisible?: boolean | undefined;
212
- rule?: RowActionRule | undefined;
213
- } | undefined;
214
- edit?: boolean | {
215
- isEnabled?: boolean | undefined;
216
- isVisible?: boolean | undefined;
217
- rule?: RowActionRule | undefined;
218
- } | undefined;
219
- delete?: boolean | {
220
- isEnabled?: boolean | undefined;
221
- isVisible?: boolean | undefined;
222
- rule?: RowActionRule | undefined;
223
- } | undefined;
224
- details?: boolean | {
225
- isEnabled?: boolean | undefined;
226
- isVisible?: boolean | undefined;
227
- rule?: RowActionRule | undefined;
228
- } | undefined;
229
- duplicate?: boolean | {
230
- isEnabled?: boolean | undefined;
231
- isVisible?: boolean | undefined;
232
- rule?: RowActionRule | undefined;
233
- } | undefined;
234
- archive?: boolean | {
235
- isEnabled?: boolean | undefined;
236
- isVisible?: boolean | undefined;
237
- rule?: RowActionRule | undefined;
238
- } | undefined;
239
- restore?: boolean | {
240
- isEnabled?: boolean | undefined;
241
- isVisible?: boolean | undefined;
242
- rule?: RowActionRule | undefined;
243
- } | undefined;
244
- copyLink?: boolean | {
245
- isEnabled?: boolean | undefined;
246
- isVisible?: boolean | undefined;
247
- rule?: RowActionRule | undefined;
248
- } | undefined;
249
- hasSelection?: boolean | undefined;
250
- custom?: CustomRowAction<Record<string, unknown>>[] | undefined;
251
- menuLabel?: string | undefined;
252
- }, {
253
- add?: boolean | {
254
- isEnabled?: boolean | undefined;
255
- isVisible?: boolean | undefined;
256
- rule?: RowActionRule | undefined;
257
- } | undefined;
258
- edit?: boolean | {
259
- isEnabled?: boolean | undefined;
260
- isVisible?: boolean | undefined;
261
- rule?: RowActionRule | undefined;
262
- } | undefined;
263
- delete?: boolean | {
264
- isEnabled?: boolean | undefined;
265
- isVisible?: boolean | undefined;
266
- rule?: RowActionRule | undefined;
267
- } | undefined;
268
- details?: boolean | {
269
- isEnabled?: boolean | undefined;
270
- isVisible?: boolean | undefined;
271
- rule?: RowActionRule | undefined;
272
- } | undefined;
273
- duplicate?: boolean | {
274
- isEnabled?: boolean | undefined;
275
- isVisible?: boolean | undefined;
276
- rule?: RowActionRule | undefined;
277
- } | undefined;
278
- archive?: boolean | {
279
- isEnabled?: boolean | undefined;
280
- isVisible?: boolean | undefined;
281
- rule?: RowActionRule | undefined;
282
- } | undefined;
283
- restore?: boolean | {
284
- isEnabled?: boolean | undefined;
285
- isVisible?: boolean | undefined;
286
- rule?: RowActionRule | undefined;
287
- } | undefined;
288
- copyLink?: boolean | {
289
- isEnabled?: boolean | undefined;
290
- isVisible?: boolean | undefined;
291
- rule?: RowActionRule | undefined;
292
- } | undefined;
293
- hasSelection?: boolean | undefined;
294
- custom?: CustomRowAction<Record<string, unknown>>[] | undefined;
295
- menuLabel?: string | undefined;
296
- }>;
80
+ }, z.core.$strip>;