@declarion/react 0.200.0 → 0.201.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.
|
@@ -184,75 +184,84 @@ function b({ screen: b, entity: x, entityCode: S, schema: C, screenCode: w, scre
|
|
|
184
184
|
},
|
|
185
185
|
realtime: B
|
|
186
186
|
}),
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
active: L,
|
|
194
|
-
children: L ? H("list.toolbar.hide_deleted", "Hide deleted") : H("list.toolbar.show_deleted", "Show deleted")
|
|
195
|
-
}),
|
|
196
|
-
E && /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(i, {
|
|
197
|
-
ref: X,
|
|
198
|
-
icon: /* @__PURE__ */ v(r.more, { size: 14 }),
|
|
199
|
-
title: H("list.toolbar.more", "More"),
|
|
200
|
-
active: q,
|
|
201
|
-
onClick: () => J((e) => !e)
|
|
202
|
-
}), /* @__PURE__ */ y(n, {
|
|
203
|
-
open: q,
|
|
204
|
-
anchor: X.current,
|
|
205
|
-
onClose: () => J(!1),
|
|
206
|
-
align: "end",
|
|
207
|
-
width: 220,
|
|
208
|
-
children: [/* @__PURE__ */ v(a, {
|
|
209
|
-
icon: /* @__PURE__ */ v(r.grid, { size: 13 }),
|
|
210
|
-
onClick: () => {
|
|
211
|
-
Q(), J(!1);
|
|
212
|
-
},
|
|
213
|
-
children: H("list.toolbar.density", "Density")
|
|
214
|
-
}), R && /* @__PURE__ */ v(a, {
|
|
215
|
-
icon: v(L ? r.eyeOff : r.eye, { size: 13 }),
|
|
216
|
-
onClick: () => {
|
|
217
|
-
z(), J(!1);
|
|
218
|
-
},
|
|
219
|
-
children: L ? H("list.toolbar.hide_deleted", "Hide deleted") : H("list.toolbar.show_deleted", "Show deleted")
|
|
220
|
-
})]
|
|
221
|
-
})] }),
|
|
222
|
-
S && x && /* @__PURE__ */ v(ie, {
|
|
223
|
-
entityCode: S,
|
|
224
|
-
scope: "list",
|
|
225
|
-
selectedIds: M.ids,
|
|
226
|
-
viewState: {
|
|
227
|
-
screenCode: w,
|
|
228
|
-
jsonFilters: N.json,
|
|
229
|
-
search: N.debouncedSearch,
|
|
230
|
-
sort: O.forRequest,
|
|
231
|
-
includeDeleted: L || void 0,
|
|
232
|
-
page: F,
|
|
233
|
-
perPage: I
|
|
234
|
-
},
|
|
235
|
-
capability: x.documents,
|
|
236
|
-
canManageTemplates: d(C)
|
|
237
|
-
}),
|
|
238
|
-
S && x && /* @__PURE__ */ v(f, {
|
|
239
|
-
entityCode: S,
|
|
240
|
-
entity: x,
|
|
241
|
-
screen: b,
|
|
242
|
-
viewState: {
|
|
243
|
-
screenCode: w,
|
|
244
|
-
jsonFilters: N.json,
|
|
245
|
-
search: N.debouncedSearch,
|
|
246
|
-
sort: O.forRequest,
|
|
247
|
-
includeDeleted: L || void 0,
|
|
248
|
-
page: F,
|
|
249
|
-
perPage: I
|
|
187
|
+
/* @__PURE__ */ y("div", {
|
|
188
|
+
style: {
|
|
189
|
+
display: "flex",
|
|
190
|
+
alignItems: "center",
|
|
191
|
+
gap: E ? 6 : 8,
|
|
192
|
+
marginLeft: E ? void 0 : "auto"
|
|
250
193
|
},
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
194
|
+
children: [
|
|
195
|
+
!E && R && /* @__PURE__ */ v(t, {
|
|
196
|
+
kind: "ghost",
|
|
197
|
+
size: "sm",
|
|
198
|
+
icon: v(L ? r.eyeOff : r.eye, { size: 12 }),
|
|
199
|
+
onClick: z,
|
|
200
|
+
active: L,
|
|
201
|
+
children: L ? H("list.toolbar.hide_deleted", "Hide deleted") : H("list.toolbar.show_deleted", "Show deleted")
|
|
202
|
+
}),
|
|
203
|
+
E && /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(i, {
|
|
204
|
+
ref: X,
|
|
205
|
+
icon: /* @__PURE__ */ v(r.more, { size: 14 }),
|
|
206
|
+
title: H("list.toolbar.more", "More"),
|
|
207
|
+
active: q,
|
|
208
|
+
onClick: () => J((e) => !e)
|
|
209
|
+
}), /* @__PURE__ */ y(n, {
|
|
210
|
+
open: q,
|
|
211
|
+
anchor: X.current,
|
|
212
|
+
onClose: () => J(!1),
|
|
213
|
+
align: "end",
|
|
214
|
+
width: 220,
|
|
215
|
+
children: [/* @__PURE__ */ v(a, {
|
|
216
|
+
icon: /* @__PURE__ */ v(r.grid, { size: 13 }),
|
|
217
|
+
onClick: () => {
|
|
218
|
+
Q(), J(!1);
|
|
219
|
+
},
|
|
220
|
+
children: H("list.toolbar.density", "Density")
|
|
221
|
+
}), R && /* @__PURE__ */ v(a, {
|
|
222
|
+
icon: v(L ? r.eyeOff : r.eye, { size: 13 }),
|
|
223
|
+
onClick: () => {
|
|
224
|
+
z(), J(!1);
|
|
225
|
+
},
|
|
226
|
+
children: L ? H("list.toolbar.hide_deleted", "Hide deleted") : H("list.toolbar.show_deleted", "Show deleted")
|
|
227
|
+
})]
|
|
228
|
+
})] }),
|
|
229
|
+
S && x && /* @__PURE__ */ v(ie, {
|
|
230
|
+
entityCode: S,
|
|
231
|
+
scope: "list",
|
|
232
|
+
selectedIds: M.ids,
|
|
233
|
+
viewState: {
|
|
234
|
+
screenCode: w,
|
|
235
|
+
jsonFilters: N.json,
|
|
236
|
+
search: N.debouncedSearch,
|
|
237
|
+
sort: O.forRequest,
|
|
238
|
+
includeDeleted: L || void 0,
|
|
239
|
+
page: F,
|
|
240
|
+
perPage: I
|
|
241
|
+
},
|
|
242
|
+
capability: x.documents,
|
|
243
|
+
canManageTemplates: d(C)
|
|
244
|
+
}),
|
|
245
|
+
S && x && /* @__PURE__ */ v(f, {
|
|
246
|
+
entityCode: S,
|
|
247
|
+
entity: x,
|
|
248
|
+
screen: b,
|
|
249
|
+
viewState: {
|
|
250
|
+
screenCode: w,
|
|
251
|
+
jsonFilters: N.json,
|
|
252
|
+
search: N.debouncedSearch,
|
|
253
|
+
sort: O.forRequest,
|
|
254
|
+
includeDeleted: L || void 0,
|
|
255
|
+
page: F,
|
|
256
|
+
perPage: I
|
|
257
|
+
},
|
|
258
|
+
visibleColumns: k.visible,
|
|
259
|
+
selectedRowPKs: M.pkValues,
|
|
260
|
+
totalRows: j.countTotal,
|
|
261
|
+
pageRows: j.isLoading || j.isShowingPreviousRows ? void 0 : j.rows.length,
|
|
262
|
+
language: H.language
|
|
263
|
+
})
|
|
264
|
+
]
|
|
256
265
|
})
|
|
257
266
|
]
|
|
258
267
|
});
|