@acorex/modules 20.0.9 → 20.0.10
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/common/index.d.ts +1 -0
- package/conversation/index.d.ts +4 -1
- package/data-management/README.md +3 -0
- package/data-management/index.d.ts +101 -0
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-BXc_ogZY.mjs → acorex-modules-auth-acorex-modules-auth-DqsEqXec.mjs} +11 -11
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DqsEqXec.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BS8kyO4q.mjs → acorex-modules-auth-app-chooser.component-D0pKNUts.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BS8kyO4q.mjs.map → acorex-modules-auth-app-chooser.component-D0pKNUts.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-DGE_lE3s.mjs → acorex-modules-auth-login.module-Dky49ylL.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-DGE_lE3s.mjs.map → acorex-modules-auth-login.module-Dky49ylL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-BsgOcazS.mjs → acorex-modules-auth-master.layout-DXfRjCLL.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-BsgOcazS.mjs.map → acorex-modules-auth-master.layout-DXfRjCLL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BjpLB-GX.mjs → acorex-modules-auth-password.component-BbsQWpEh.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-BjpLB-GX.mjs.map → acorex-modules-auth-password.component-BbsQWpEh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DwQwyJv_.mjs → acorex-modules-auth-password.component-oH5OFHqQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-DwQwyJv_.mjs.map → acorex-modules-auth-password.component-oH5OFHqQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-j9Ujy-xB.mjs → acorex-modules-auth-routes-DAiaTm4Y.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-j9Ujy-xB.mjs.map → acorex-modules-auth-routes-DAiaTm4Y.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-EN4l_a4V.mjs → acorex-modules-auth-two-factor.module-Coe4NNUW.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-EN4l_a4V.mjs.map → acorex-modules-auth-two-factor.module-Coe4NNUW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-D9D-vWic.mjs → acorex-modules-auth-user-sessions.component-CtTrstZT.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-D9D-vWic.mjs.map → acorex-modules-auth-user-sessions.component-CtTrstZT.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +1 -0
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +1 -1
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +6 -6
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +2328 -0
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-notification-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-sI0yzJ4s.mjs → acorex-modules-report-management-report-runner-root-page.component-CAxcD_pe.mjs} +16 -16
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-CAxcD_pe.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management.mjs +170 -11
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-task-board.page-Dp7SJ3NA.mjs +876 -0
- package/fesm2022/acorex-modules-workflow-management-task-board.page-Dp7SJ3NA.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +8 -1
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/package.json +5 -1
- package/workflow-management/index.d.ts +1 -0
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-BXc_ogZY.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-sI0yzJ4s.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-task-board.page-Dh9nI9dz.mjs +0 -762
- package/fesm2022/acorex-modules-workflow-management-task-board.page-Dh9nI9dz.mjs.map +0 -1
@@ -144,10 +144,11 @@ const AXM_DATASET_FILTER_WIDGET = [
|
|
144
144
|
type: 'block-layout',
|
145
145
|
mode: 'view',
|
146
146
|
children: [
|
147
|
+
// Enable/Disable Checkbox
|
147
148
|
{
|
148
149
|
type: 'grid-item-layout',
|
149
150
|
mode: 'view',
|
150
|
-
options: { colSpan:
|
151
|
+
options: { colSpan: 1 },
|
151
152
|
children: [
|
152
153
|
{
|
153
154
|
type: 'checkbox-editor',
|
@@ -162,38 +163,185 @@ const AXM_DATASET_FILTER_WIDGET = [
|
|
162
163
|
},
|
163
164
|
],
|
164
165
|
},
|
166
|
+
// Data Source Selector
|
165
167
|
{
|
166
168
|
type: 'grid-item-layout',
|
167
169
|
mode: 'view',
|
168
170
|
options: { colSpan: 3 },
|
169
171
|
children: [
|
170
172
|
{
|
171
|
-
type: '
|
172
|
-
mode: '
|
173
|
+
type: 'select-editor',
|
174
|
+
mode: 'edit',
|
175
|
+
path: 'dataSource',
|
176
|
+
options: {
|
177
|
+
placeholder: 'Select Data Source',
|
178
|
+
valueField: 'name',
|
179
|
+
textField: 'title',
|
180
|
+
dataSource: '{{ context.eval("$root.dataSources") || [] }}',
|
181
|
+
readonly: '{{ !context.eval(">enabled") }}',
|
182
|
+
},
|
183
|
+
triggers: [
|
184
|
+
{
|
185
|
+
event: "{{ events.context('dataSource') }}",
|
186
|
+
action: `{{
|
187
|
+
var ds = context.eval('dataSource');
|
188
|
+
var columns = (ds && ds.columns) || [];
|
189
|
+
context.set('availableFields', columns);
|
190
|
+
context.set('columnName', null);
|
191
|
+
context.set('filter', null);
|
192
|
+
}}`,
|
193
|
+
},
|
194
|
+
],
|
195
|
+
},
|
196
|
+
],
|
197
|
+
},
|
198
|
+
// Field/Column Selector
|
199
|
+
{
|
200
|
+
type: 'grid-item-layout',
|
201
|
+
mode: 'view',
|
202
|
+
options: { colSpan: 3 },
|
203
|
+
children: [
|
204
|
+
{
|
205
|
+
type: 'select-editor',
|
206
|
+
mode: 'edit',
|
173
207
|
path: 'columnName',
|
208
|
+
options: {
|
209
|
+
placeholder: 'Select Field',
|
210
|
+
valueField: 'name',
|
211
|
+
textField: 'title',
|
212
|
+
dataSource: '{{ context.eval("availableFields") || [] }}',
|
213
|
+
readonly: '{{ !context.eval(">enabled") || !context.eval("dataSource") }}',
|
214
|
+
},
|
215
|
+
triggers: [
|
216
|
+
{
|
217
|
+
event: "{{ events.context('columnName') }}",
|
218
|
+
action: `{{
|
219
|
+
var columnName = context.eval('columnName');
|
220
|
+
var availableFields = context.eval('availableFields') || [];
|
221
|
+
var column = availableFields.find(function(c) { return c.name === columnName; }) || {};
|
222
|
+
var fieldType = column.type || 'string';
|
223
|
+
|
224
|
+
// Determine widget type based on field type
|
225
|
+
var widgetType = (function() {
|
226
|
+
var t = (typeof fieldType === 'object' && fieldType !== null && 'name' in fieldType) ? fieldType.name : fieldType;
|
227
|
+
return t === 'text-editor' || t === 'large-text-editor' || t === 'string' ? 'string-filter' :
|
228
|
+
t === 'number-editor' || t === 'number' ? 'number-filter' :
|
229
|
+
t === 'date-time-editor' || t === 'datetime' || t === 'date' ? 'datetime-filter' :
|
230
|
+
t === 'select-editor' || t === 'select' ? 'select-filter' :
|
231
|
+
t === 'checkbox-editor' || t === 'toggle-editor' || t === 'boolean' ? 'boolean-filter' :
|
232
|
+
t === 'color-editor' ? 'color-filter' : 'string-filter';
|
233
|
+
})();
|
234
|
+
|
235
|
+
context.set('widgetType', widgetType);
|
236
|
+
context.set('fieldType', fieldType);
|
237
|
+
context.set('filter', null);
|
238
|
+
}}`,
|
239
|
+
},
|
240
|
+
],
|
174
241
|
},
|
175
242
|
],
|
176
243
|
},
|
244
|
+
// Logical Operator (And/Or)
|
177
245
|
{
|
178
246
|
type: 'grid-item-layout',
|
179
247
|
mode: 'view',
|
180
|
-
options: { colSpan:
|
248
|
+
options: { colSpan: 2 },
|
181
249
|
children: [
|
182
250
|
{
|
183
|
-
type: '
|
251
|
+
type: 'select-editor',
|
184
252
|
mode: 'edit',
|
185
|
-
path: '
|
253
|
+
path: 'logicOperator',
|
254
|
+
defaultValue: 'and',
|
186
255
|
options: {
|
187
|
-
placeholder: '
|
256
|
+
placeholder: 'Logic',
|
257
|
+
dataSource: [
|
258
|
+
{ value: 'and', text: 'And' },
|
259
|
+
{ value: 'or', text: 'Or' }
|
260
|
+
],
|
261
|
+
valueField: 'value',
|
262
|
+
textField: 'text',
|
188
263
|
readonly: '{{ !context.eval(">enabled") }}',
|
189
264
|
},
|
190
265
|
},
|
191
266
|
],
|
192
267
|
},
|
268
|
+
// Dynamic Filter Widget based on field type
|
269
|
+
{
|
270
|
+
type: 'grid-item-layout',
|
271
|
+
mode: 'view',
|
272
|
+
options: { colSpan: 3 },
|
273
|
+
children: [
|
274
|
+
// String Filter
|
275
|
+
{
|
276
|
+
type: 'string-filter',
|
277
|
+
mode: 'edit',
|
278
|
+
path: 'filter',
|
279
|
+
options: {
|
280
|
+
placeholder: '{{ (context.eval(">enabled") ?? true) ? "Enter filter value" : "Filter is disabled" }}',
|
281
|
+
readonly: '{{ !context.eval(">enabled") || !context.eval("columnName") }}',
|
282
|
+
visibility: '{{ !context.eval("widgetType") || context.eval("widgetType") === "string-filter" }}',
|
283
|
+
},
|
284
|
+
},
|
285
|
+
// Number Filter
|
286
|
+
{
|
287
|
+
type: 'number-filter',
|
288
|
+
mode: 'edit',
|
289
|
+
path: 'filter',
|
290
|
+
options: {
|
291
|
+
placeholder: '{{ (context.eval(">enabled") ?? true) ? "Enter number value" : "Filter is disabled" }}',
|
292
|
+
readonly: '{{ !context.eval(">enabled") || !context.eval("columnName") }}',
|
293
|
+
visibility: '{{ context.eval("widgetType") === "number-filter" }}',
|
294
|
+
},
|
295
|
+
},
|
296
|
+
// DateTime Filter
|
297
|
+
{
|
298
|
+
type: 'datetime-filter',
|
299
|
+
mode: 'edit',
|
300
|
+
path: 'filter',
|
301
|
+
options: {
|
302
|
+
placeholder: '{{ (context.eval(">enabled") ?? true) ? "Select date" : "Filter is disabled" }}',
|
303
|
+
readonly: '{{ !context.eval(">enabled") || !context.eval("columnName") }}',
|
304
|
+
visibility: '{{ context.eval("widgetType") === "datetime-filter" }}',
|
305
|
+
},
|
306
|
+
},
|
307
|
+
// Select Filter
|
308
|
+
{
|
309
|
+
type: 'select-filter',
|
310
|
+
mode: 'edit',
|
311
|
+
path: 'filter',
|
312
|
+
options: {
|
313
|
+
placeholder: '{{ (context.eval(">enabled") ?? true) ? "Select value" : "Filter is disabled" }}',
|
314
|
+
readonly: '{{ !context.eval(">enabled") || !context.eval("columnName") }}',
|
315
|
+
visibility: '{{ context.eval("widgetType") === "select-filter" }}',
|
316
|
+
},
|
317
|
+
},
|
318
|
+
// Boolean Filter
|
319
|
+
{
|
320
|
+
type: 'boolean-filter',
|
321
|
+
mode: 'edit',
|
322
|
+
path: 'filter',
|
323
|
+
options: {
|
324
|
+
readonly: '{{ !context.eval(">enabled") || !context.eval("columnName") }}',
|
325
|
+
visibility: '{{ context.eval("widgetType") === "boolean-filter" }}',
|
326
|
+
},
|
327
|
+
},
|
328
|
+
// Color Filter
|
329
|
+
{
|
330
|
+
type: 'color-filter',
|
331
|
+
mode: 'edit',
|
332
|
+
path: 'filter',
|
333
|
+
options: {
|
334
|
+
placeholder: '{{ (context.eval(">enabled") ?? true) ? "Select color" : "Filter is disabled" }}',
|
335
|
+
readonly: '{{ !context.eval(">enabled") || !context.eval("columnName") }}',
|
336
|
+
visibility: '{{ context.eval("widgetType") === "color-filter" }}',
|
337
|
+
},
|
338
|
+
},
|
339
|
+
],
|
340
|
+
},
|
193
341
|
],
|
194
|
-
|
195
|
-
|
196
|
-
|
342
|
+
options: {
|
343
|
+
spacing: { margin: "0px", padding: "8px" }
|
344
|
+
}
|
197
345
|
},
|
198
346
|
];
|
199
347
|
//#endregion
|
@@ -442,6 +590,17 @@ async function dataSetFactory(injector) {
|
|
442
590
|
isDraggable: true
|
443
591
|
},
|
444
592
|
children: AXM_DATASET_FILTER_WIDGET,
|
593
|
+
triggers: [
|
594
|
+
{
|
595
|
+
event: "{{ events.context('dataSource') }}",
|
596
|
+
action: `{{
|
597
|
+
var selectedDataSource = context.eval('dataSource');
|
598
|
+
if (selectedDataSource) {
|
599
|
+
context.set('dataSources', [selectedDataSource]);
|
600
|
+
}
|
601
|
+
}}`,
|
602
|
+
},
|
603
|
+
],
|
445
604
|
},
|
446
605
|
},
|
447
606
|
},
|
@@ -849,7 +1008,7 @@ function routesFacory() {
|
|
849
1008
|
children: [
|
850
1009
|
{
|
851
1010
|
path: '**',
|
852
|
-
loadComponent: () => import('./acorex-modules-report-management-report-runner-root-page.component-
|
1011
|
+
loadComponent: () => import('./acorex-modules-report-management-report-runner-root-page.component-CAxcD_pe.mjs').then((c) => c.AXMReportRunnerRootPageComponent),
|
853
1012
|
data: { reuse: true },
|
854
1013
|
},
|
855
1014
|
],
|