@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.
- package/CHANGELOG.md +22 -0
- package/dist/base/activity-feed.d.ts +38 -137
- package/dist/base/banner.d.ts +34 -60
- package/dist/base/block-registry/helpers.d.ts +5 -5
- package/dist/base/block-registry/helpers.js.map +1 -1
- package/dist/base/block-registry/internal/describe.d.ts +3 -3
- package/dist/base/block-registry/internal/describe.js +120 -126
- package/dist/base/block-registry/internal/describe.js.map +1 -1
- package/dist/base/block-registry/internal/ui.d.ts +6 -4
- package/dist/base/block-registry/internal/ui.js +6 -2
- package/dist/base/block-registry/internal/ui.js.map +1 -1
- package/dist/base/block-registry/registry.d.ts +2 -2
- package/dist/base/block-registry/registry.js.map +1 -1
- package/dist/base/block-registry/types.d.ts +4 -4
- package/dist/base/card.d.ts +24 -46
- package/dist/base/chart-card.d.ts +10 -39
- package/dist/base/chart-schemas.d.ts +404 -2542
- package/dist/base/code-block.d.ts +12 -22
- package/dist/base/data-types/default/address.d.ts +1 -19
- package/dist/base/data-types/default/choices.d.ts +1 -1
- package/dist/base/data-types/default/files.d.ts +6 -30
- package/dist/base/data-types/default/numbers.d.ts +5 -17
- package/dist/base/data-types/default/numbers.js.map +1 -1
- package/dist/base/data-types/default/strings.d.ts +1 -1
- package/dist/base/data-types/field-types.d.ts +7 -17
- package/dist/base/display.d.ts +42 -48
- package/dist/base/empty-state.d.ts +48 -70
- package/dist/base/export-jobs.d.ts +3 -3
- package/dist/base/form-block-schema.d.ts +56 -510
- package/dist/base/form-block-schema.js +1 -1
- package/dist/base/form-block-schema.js.map +1 -1
- package/dist/base/form-schema.d.ts +0 -1
- package/dist/base/form-schema.js +0 -1
- package/dist/base/form-schema.js.map +1 -1
- package/dist/base/form-types.d.ts +2 -2
- package/dist/base/grid.d.ts +2 -12
- package/dist/base/guard.d.ts +55 -132
- package/dist/base/internal/composed-text.d.ts +3 -3
- package/dist/base/internal/composed-text.js +1 -1
- package/dist/base/internal/composed-text.js.map +1 -1
- package/dist/base/internal/display.d.ts +1 -1
- package/dist/base/internal/display.js.map +1 -1
- package/dist/base/internal/export-jobs.d.ts +2 -2
- package/dist/base/internal/export-jobs.js.map +1 -1
- package/dist/base/internal/form-schema-components.d.ts +11 -0
- package/dist/base/internal/form-schema-components.js +82 -2
- package/dist/base/internal/form-schema-components.js.map +1 -1
- package/dist/base/internal/form-schema-validation.d.ts +3 -5
- package/dist/base/internal/form-schema-validation.js +1 -1
- package/dist/base/internal/form-schema-validation.js.map +1 -1
- package/dist/base/key-value-list.d.ts +25 -92
- package/dist/base/kpi-card.d.ts +15 -49
- package/dist/base/live-toggle.d.ts +15 -16
- package/dist/base/meter.d.ts +56 -92
- package/dist/base/nav-card-grid.d.ts +29 -92
- package/dist/base/page-toolbar.d.ts +6 -10
- package/dist/base/period-selector.d.ts +95 -44
- package/dist/base/period-selector.js +2 -2
- package/dist/base/period-selector.js.map +1 -1
- package/dist/base/placeholder.d.ts +1 -9
- package/dist/base/resource-form-schema.d.ts +10 -25
- package/dist/base/resource-form-schema.js +1 -1
- package/dist/base/resource-form-schema.js.map +1 -1
- package/dist/base/section.d.ts +7 -25
- package/dist/base/stack.d.ts +31 -37
- package/dist/base/stat-group.d.ts +37 -84
- package/dist/base/tab.d.ts +19 -124
- package/dist/base/table-view/internal/meta-helpers.js +23 -1
- package/dist/base/table-view/internal/meta-helpers.js.map +1 -1
- package/dist/base/table-view/internal/row-actions-schema.d.ts +42 -258
- package/dist/base/table-view/schema.d.ts +135 -1222
- package/dist/base/table-view/schema.js +3 -3
- package/dist/base/table-view/schema.js.map +1 -1
- package/dist/base/top-list-card.d.ts +37 -151
- package/dist/invite-extensions/internal/types.d.ts +3 -4
- package/dist/invite-extensions/types.d.ts +2 -2
- package/docs/1.core/6.invites.md +1 -1
- package/docs/3.base/1.introduction.md +1 -1
- package/docs/3.base/9.helpers.md +1 -1
- package/package.json +3 -4
package/dist/base/tab.d.ts
CHANGED
|
@@ -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
|
|
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.
|
|
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<
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
size
|
|
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.
|
|
125
|
-
},
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
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
|
-
},
|
|
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) =>
|
|
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,
|
|
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,sEAKiD;AACjD,6FAGmD;AAEnD,mDAA+D;AAC/D,uCAAmD;AAEnD,qDAA0D;AAC1D,6EAAyE;AACzE,mEAK4C;AAE5C;;;GAGG;AACH,SAAS,YAAY,CAAC,KAAc;IAClC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,YAAY,IAAI;QAAE,OAAO,IAAI,CAAC;IACzD,IAAI,IAAA,qBAAQ,EAAC,KAAK,CAAC,IAAI,IAAA,qBAAQ,EAAC,KAAK,CAAC,IAAI,IAAA,sBAAS,EAAC,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IACxE,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAC3D,OAAO,CACL,IAAA,qBAAQ,EAAC,KAAK,CAAC;QACf,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,KAAK,CACxB,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,SAAS,IAAI,YAAY,CAAC,IAAI,CAAC,CACnD,CACF,CAAC;AACJ,CAAC;AAMD,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,EAAE,GAAG;gBAChB,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI;gBAC/B,aAAa,EAAE,IAAI,CAAC,QAAQ,KAAK,SAAS;gBAC1C,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU;gBACxC,QAAQ,EAAE,OAAO,CAAC,QAAQ;gBAC1B,IAAI,EAAE,OAAO,CAAC,IAAI;gBAClB,OAAO,EAAE,IAAA,uCAAsB,EAAC,OAAO,CAAC,OAAO,CAAC;gBAChD,YAAY,EAAE,OAAO,CAAC,YAAY;gBAClC,UAAU,EAAE,IAAI,CAAC,IAAI;gBACrB,gBAAgB,EACd,OAAO,CAAC,gBAAgB,IAAI,4BAAoB,CAAC,OAAO;aAC3D,CAAC;QACJ,CAAC,CAAC;KACL,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,wBACE,MAAkC,EAClC,GAA+B,EAC/B,UAAsC,EACtC,OAAsB,EACtB,IAAmB;IAEnB,IAAI,CAAC,IAAA,qBAAQ,EAAC,GAAG,CAAC,EAAE,CAAC;QACnB,MAAM,IAAI,SAAS,CACjB,8DAA8D,MAAM,CAAC,GAAG,CAAC,EAAE,CAC5E,CAAC;IACJ,CAAC;IACD,MAAM,SAAS,GAAG,GAAG,CAAC;IACtB,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAEnC,IAAI,OAAO,CAAC,QAAQ,KAAK,KAAK,EAAE,CAAC;QAC/B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YAChC,qBAAM,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC;QAClD,CAAC;QAED,MAAM,QAAQ,GAAG,IAAA,4BAAW,EAAC,IAAA,gCAAc,EAAC,MAAM,CAAC,EAAE,sBAAW,CAAC,CAAC;QAClE,MAAM,eAAe,GAAG,IAAA,iDAAiB,EACvC,QAAQ,CAAC,UAAU,CAAC,SAAS,EAC7B,oDAAoB,CACrB,CAAC;QACF,MAAM,WAAW,GAAG,eAAe,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAElD,MAAM,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;QAChD,MAAM,SAAS,GAAG,IAAA,wCAA0B,EAAC,UAAU,EAAE;YACvD,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,KAAK;YACf,cAAc,EAAE,WAAW;gBACzB,CAAC,CAAC,oDAAoB,CAAC,gBAAgB,CAAC,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC;gBACvE,CAAC,CAAC,SAAS;SACd,CAAC,CAAC;QAEH,IAAA,oBAAS,EAAC,KAAK,EAAE,KAAK,EAAE,EAAE;YACxB,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;YACrD,IAAI,CAAC,MAAM,CAAC,OAAO;gBAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;YAC/C,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;YACxB,OAAO,IAAI,KAAK,SAAS,IAAI,YAAY,CAAC,IAAI,CAAC;gBAC7C,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE;gBACzB,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QACzB,CAAC,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,UAAU,IAAI,EAAE,CAAC,CAAC;IACpC,CAAC;IAED,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;QACvB,IAAA,iBAAM,EAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,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.
|
|
9
|
-
},
|
|
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.
|
|
21
|
-
},
|
|
22
|
-
|
|
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.
|
|
34
|
-
},
|
|
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.
|
|
46
|
-
},
|
|
47
|
-
|
|
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.
|
|
59
|
-
},
|
|
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.
|
|
71
|
-
},
|
|
72
|
-
|
|
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.
|
|
84
|
-
},
|
|
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.
|
|
96
|
-
},
|
|
97
|
-
|
|
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.
|
|
109
|
-
},
|
|
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.
|
|
121
|
-
},
|
|
122
|
-
|
|
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.
|
|
134
|
-
},
|
|
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.
|
|
146
|
-
},
|
|
147
|
-
|
|
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.
|
|
159
|
-
},
|
|
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.
|
|
171
|
-
},
|
|
172
|
-
|
|
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.
|
|
184
|
-
},
|
|
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.
|
|
196
|
-
},
|
|
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.
|
|
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
|
-
},
|
|
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>;
|