@genesislcap/expression-builder 14.250.0 → 14.251.0-RPT-81.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.
- package/dist/custom-elements.json +480 -480
- package/package.json +2 -2
|
@@ -138,46 +138,50 @@
|
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"kind": "javascript-module",
|
|
141
|
-
"path": "src/
|
|
142
|
-
"declarations": [],
|
|
143
|
-
"exports": [
|
|
144
|
-
{
|
|
145
|
-
"kind": "js",
|
|
146
|
-
"name": "*",
|
|
147
|
-
"declaration": {
|
|
148
|
-
"name": "*",
|
|
149
|
-
"package": "./public.types"
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"kind": "js",
|
|
154
|
-
"name": "*",
|
|
155
|
-
"declaration": {
|
|
156
|
-
"name": "*",
|
|
157
|
-
"package": "./private.types"
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
]
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"kind": "javascript-module",
|
|
164
|
-
"path": "src/types/private.types.ts",
|
|
165
|
-
"declarations": [],
|
|
166
|
-
"exports": []
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"kind": "javascript-module",
|
|
170
|
-
"path": "src/types/public.types.ts",
|
|
141
|
+
"path": "src/main/events.ts",
|
|
171
142
|
"declarations": [],
|
|
172
143
|
"exports": []
|
|
173
144
|
},
|
|
174
145
|
{
|
|
175
146
|
"kind": "javascript-module",
|
|
176
|
-
"path": "src/
|
|
147
|
+
"path": "src/main/expression-builder.helpers.ts",
|
|
177
148
|
"declarations": [
|
|
178
149
|
{
|
|
179
150
|
"kind": "function",
|
|
180
|
-
"name": "
|
|
151
|
+
"name": "findOperateOnGroup",
|
|
152
|
+
"return": {
|
|
153
|
+
"type": {
|
|
154
|
+
"text": ""
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"parameters": [
|
|
158
|
+
{
|
|
159
|
+
"name": "model",
|
|
160
|
+
"type": {
|
|
161
|
+
"text": "ModelGroup"
|
|
162
|
+
},
|
|
163
|
+
"description": "The root group to start searching from"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "groupId",
|
|
167
|
+
"type": {
|
|
168
|
+
"text": "string"
|
|
169
|
+
},
|
|
170
|
+
"description": "The Group ID to find"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "fn",
|
|
174
|
+
"type": {
|
|
175
|
+
"text": "ChildrenOperatorFn"
|
|
176
|
+
},
|
|
177
|
+
"description": "The function to apply to the children of the found group. A *new* object must be created and returned"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"description": "Finds a group within a model and applies a function to create a new children"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"kind": "function",
|
|
184
|
+
"name": "addGroupOrRule",
|
|
181
185
|
"return": {
|
|
182
186
|
"type": {
|
|
183
187
|
"text": "ModelGroup"
|
|
@@ -185,465 +189,177 @@
|
|
|
185
189
|
},
|
|
186
190
|
"parameters": [
|
|
187
191
|
{
|
|
188
|
-
"name": "
|
|
192
|
+
"name": "model",
|
|
189
193
|
"type": {
|
|
190
|
-
"text": "
|
|
194
|
+
"text": "ModelGroup"
|
|
191
195
|
}
|
|
192
196
|
},
|
|
193
197
|
{
|
|
194
|
-
"name": "
|
|
198
|
+
"name": "parentGroupId",
|
|
195
199
|
"type": {
|
|
196
|
-
"text": "
|
|
200
|
+
"text": "string"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "newItem",
|
|
205
|
+
"type": {
|
|
206
|
+
"text": "ModelGroup | ModelRule"
|
|
197
207
|
}
|
|
198
208
|
}
|
|
199
|
-
]
|
|
200
|
-
"description": "Converts a Group to a ModelGroup (adds required metadata)"
|
|
209
|
+
]
|
|
201
210
|
},
|
|
202
211
|
{
|
|
203
212
|
"kind": "function",
|
|
204
|
-
"name": "
|
|
213
|
+
"name": "deleteGroup",
|
|
205
214
|
"return": {
|
|
206
215
|
"type": {
|
|
207
|
-
"text": ""
|
|
216
|
+
"text": "ModelGroup"
|
|
208
217
|
}
|
|
209
218
|
},
|
|
210
219
|
"parameters": [
|
|
211
220
|
{
|
|
212
|
-
"name": "
|
|
221
|
+
"name": "model",
|
|
213
222
|
"type": {
|
|
214
223
|
"text": "ModelGroup"
|
|
215
|
-
}
|
|
216
|
-
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "groupIdToDelete",
|
|
228
|
+
"type": {
|
|
229
|
+
"text": "string"
|
|
230
|
+
}
|
|
217
231
|
}
|
|
218
|
-
]
|
|
219
|
-
"description": "Converts a ModelGroup (internal data structure) to a public Group structure.\nThis function recursively processes the rules within the group."
|
|
232
|
+
]
|
|
220
233
|
},
|
|
221
234
|
{
|
|
222
235
|
"kind": "function",
|
|
223
|
-
"name": "
|
|
236
|
+
"name": "deleteRule",
|
|
224
237
|
"return": {
|
|
225
238
|
"type": {
|
|
226
|
-
"text": ""
|
|
239
|
+
"text": "ModelGroup"
|
|
227
240
|
}
|
|
228
241
|
},
|
|
229
242
|
"parameters": [
|
|
230
243
|
{
|
|
231
|
-
"name": "
|
|
244
|
+
"name": "model",
|
|
232
245
|
"type": {
|
|
233
|
-
"text": "
|
|
234
|
-
}
|
|
235
|
-
|
|
246
|
+
"text": "ModelGroup"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "ruleIdToDelete",
|
|
251
|
+
"type": {
|
|
252
|
+
"text": "string"
|
|
253
|
+
}
|
|
236
254
|
}
|
|
237
|
-
]
|
|
238
|
-
"description": "Converts a ModelRule (internal data structure) to a public Rule structure."
|
|
239
|
-
}
|
|
240
|
-
],
|
|
241
|
-
"exports": [
|
|
242
|
-
{
|
|
243
|
-
"kind": "js",
|
|
244
|
-
"name": "groupToModelGroup",
|
|
245
|
-
"declaration": {
|
|
246
|
-
"name": "groupToModelGroup",
|
|
247
|
-
"module": "src/utils/data-model.ts"
|
|
248
|
-
}
|
|
255
|
+
]
|
|
249
256
|
},
|
|
250
257
|
{
|
|
251
|
-
"kind": "
|
|
252
|
-
"name": "
|
|
253
|
-
"
|
|
254
|
-
"
|
|
255
|
-
|
|
256
|
-
|
|
258
|
+
"kind": "variable",
|
|
259
|
+
"name": "ROOT_GROUP",
|
|
260
|
+
"type": {
|
|
261
|
+
"text": "string"
|
|
262
|
+
},
|
|
263
|
+
"default": "'group-root'"
|
|
257
264
|
},
|
|
258
|
-
{
|
|
259
|
-
"kind": "js",
|
|
260
|
-
"name": "modelRuleToRule",
|
|
261
|
-
"declaration": {
|
|
262
|
-
"name": "modelRuleToRule",
|
|
263
|
-
"module": "src/utils/data-model.ts"
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
]
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"kind": "javascript-module",
|
|
270
|
-
"path": "src/utils/formatting.ts",
|
|
271
|
-
"declarations": [
|
|
272
265
|
{
|
|
273
266
|
"kind": "function",
|
|
274
|
-
"name": "
|
|
267
|
+
"name": "updateGroupData",
|
|
268
|
+
"return": {
|
|
269
|
+
"type": {
|
|
270
|
+
"text": "ModelGroup"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
275
273
|
"parameters": [
|
|
276
274
|
{
|
|
277
|
-
"name": "
|
|
275
|
+
"name": "model",
|
|
278
276
|
"type": {
|
|
279
|
-
"text": "
|
|
277
|
+
"text": "ModelGroup"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "groupIdToUpdate",
|
|
282
|
+
"type": {
|
|
283
|
+
"text": "string"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "newData",
|
|
288
|
+
"type": {
|
|
289
|
+
"text": "EventsDetailMap[Events.UpdateGroup]['newData']"
|
|
280
290
|
}
|
|
281
291
|
}
|
|
282
|
-
]
|
|
283
|
-
"description": "Gets the string representation from a `Date` which is the format a `date` input uses.\n`yyyy-mm-dd`"
|
|
292
|
+
]
|
|
284
293
|
},
|
|
285
294
|
{
|
|
286
295
|
"kind": "function",
|
|
287
|
-
"name": "
|
|
296
|
+
"name": "updateRuleData",
|
|
297
|
+
"return": {
|
|
298
|
+
"type": {
|
|
299
|
+
"text": "ModelGroup"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
288
302
|
"parameters": [
|
|
289
303
|
{
|
|
290
|
-
"name": "
|
|
304
|
+
"name": "model",
|
|
291
305
|
"type": {
|
|
292
|
-
"text": "
|
|
306
|
+
"text": "ModelGroup"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "ruleIdToUpdate",
|
|
311
|
+
"type": {
|
|
312
|
+
"text": "string"
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "newData",
|
|
317
|
+
"type": {
|
|
318
|
+
"text": "EventsDetailMap[Events.UpdateRule]['newData']"
|
|
293
319
|
}
|
|
294
320
|
}
|
|
295
|
-
]
|
|
296
|
-
"description": "Gets the string representation from a `Date` which is the format a `datetime-local` input uses.\n`yyyy-mm-ddThh:mm:ss`"
|
|
321
|
+
]
|
|
297
322
|
}
|
|
298
323
|
],
|
|
299
324
|
"exports": [
|
|
300
325
|
{
|
|
301
326
|
"kind": "js",
|
|
302
|
-
"name": "
|
|
327
|
+
"name": "findOperateOnGroup",
|
|
303
328
|
"declaration": {
|
|
304
|
-
"name": "
|
|
305
|
-
"module": "src/
|
|
329
|
+
"name": "findOperateOnGroup",
|
|
330
|
+
"module": "src/main/expression-builder.helpers.ts"
|
|
306
331
|
}
|
|
307
332
|
},
|
|
308
333
|
{
|
|
309
334
|
"kind": "js",
|
|
310
|
-
"name": "
|
|
335
|
+
"name": "addGroupOrRule",
|
|
311
336
|
"declaration": {
|
|
312
|
-
"name": "
|
|
313
|
-
"module": "src/
|
|
337
|
+
"name": "addGroupOrRule",
|
|
338
|
+
"module": "src/main/expression-builder.helpers.ts"
|
|
314
339
|
}
|
|
315
|
-
}
|
|
316
|
-
]
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"kind": "javascript-module",
|
|
320
|
-
"path": "src/utils/index.ts",
|
|
321
|
-
"declarations": [],
|
|
322
|
-
"exports": [
|
|
340
|
+
},
|
|
323
341
|
{
|
|
324
342
|
"kind": "js",
|
|
325
|
-
"name": "
|
|
343
|
+
"name": "deleteGroup",
|
|
326
344
|
"declaration": {
|
|
327
|
-
"name": "
|
|
328
|
-
"
|
|
345
|
+
"name": "deleteGroup",
|
|
346
|
+
"module": "src/main/expression-builder.helpers.ts"
|
|
329
347
|
}
|
|
330
348
|
},
|
|
331
349
|
{
|
|
332
350
|
"kind": "js",
|
|
333
|
-
"name": "
|
|
351
|
+
"name": "deleteRule",
|
|
334
352
|
"declaration": {
|
|
335
|
-
"name": "
|
|
336
|
-
"
|
|
353
|
+
"name": "deleteRule",
|
|
354
|
+
"module": "src/main/expression-builder.helpers.ts"
|
|
337
355
|
}
|
|
338
356
|
},
|
|
339
357
|
{
|
|
340
358
|
"kind": "js",
|
|
341
|
-
"name": "
|
|
359
|
+
"name": "ROOT_GROUP",
|
|
342
360
|
"declaration": {
|
|
343
|
-
"name": "
|
|
344
|
-
"
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
]
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"kind": "javascript-module",
|
|
351
|
-
"path": "src/utils/misc.ts",
|
|
352
|
-
"declarations": [
|
|
353
|
-
{
|
|
354
|
-
"kind": "function",
|
|
355
|
-
"name": "processOptGroups",
|
|
356
|
-
"return": {
|
|
357
|
-
"type": {
|
|
358
|
-
"text": "(T | { optgroup: string | null; xs: T[] })[]"
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
"parameters": [
|
|
362
|
-
{
|
|
363
|
-
"name": "xs",
|
|
364
|
-
"type": {
|
|
365
|
-
"text": "T[]"
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
]
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
"kind": "function",
|
|
372
|
-
"name": "applyCustomStyles",
|
|
373
|
-
"return": {
|
|
374
|
-
"type": {
|
|
375
|
-
"text": "void"
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
"parameters": [
|
|
379
|
-
{
|
|
380
|
-
"name": "component",
|
|
381
|
-
"type": {
|
|
382
|
-
"text": "HTMLElement"
|
|
383
|
-
},
|
|
384
|
-
"description": "The web component instance"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"name": "styles",
|
|
388
|
-
"type": {
|
|
389
|
-
"text": "Styles | undefined | null"
|
|
390
|
-
},
|
|
391
|
-
"description": "The styles configuration object"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"name": "styleKey",
|
|
395
|
-
"type": {
|
|
396
|
-
"text": "keyof NonNullable<Styles['customStyles']>"
|
|
397
|
-
},
|
|
398
|
-
"description": "The key in styles.customStyles to use for custom styles"
|
|
399
|
-
}
|
|
400
|
-
],
|
|
401
|
-
"description": "Utility function to add custom styles to a web component's shadow root"
|
|
402
|
-
}
|
|
403
|
-
],
|
|
404
|
-
"exports": [
|
|
405
|
-
{
|
|
406
|
-
"kind": "js",
|
|
407
|
-
"name": "processOptGroups",
|
|
408
|
-
"declaration": {
|
|
409
|
-
"name": "processOptGroups",
|
|
410
|
-
"module": "src/utils/misc.ts"
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
"kind": "js",
|
|
415
|
-
"name": "applyCustomStyles",
|
|
416
|
-
"declaration": {
|
|
417
|
-
"name": "applyCustomStyles",
|
|
418
|
-
"module": "src/utils/misc.ts"
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
]
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
"kind": "javascript-module",
|
|
425
|
-
"path": "src/main/events.ts",
|
|
426
|
-
"declarations": [],
|
|
427
|
-
"exports": []
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
"kind": "javascript-module",
|
|
431
|
-
"path": "src/main/expression-builder.helpers.ts",
|
|
432
|
-
"declarations": [
|
|
433
|
-
{
|
|
434
|
-
"kind": "function",
|
|
435
|
-
"name": "findOperateOnGroup",
|
|
436
|
-
"return": {
|
|
437
|
-
"type": {
|
|
438
|
-
"text": ""
|
|
439
|
-
}
|
|
440
|
-
},
|
|
441
|
-
"parameters": [
|
|
442
|
-
{
|
|
443
|
-
"name": "model",
|
|
444
|
-
"type": {
|
|
445
|
-
"text": "ModelGroup"
|
|
446
|
-
},
|
|
447
|
-
"description": "The root group to start searching from"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"name": "groupId",
|
|
451
|
-
"type": {
|
|
452
|
-
"text": "string"
|
|
453
|
-
},
|
|
454
|
-
"description": "The Group ID to find"
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
"name": "fn",
|
|
458
|
-
"type": {
|
|
459
|
-
"text": "ChildrenOperatorFn"
|
|
460
|
-
},
|
|
461
|
-
"description": "The function to apply to the children of the found group. A *new* object must be created and returned"
|
|
462
|
-
}
|
|
463
|
-
],
|
|
464
|
-
"description": "Finds a group within a model and applies a function to create a new children"
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
"kind": "function",
|
|
468
|
-
"name": "addGroupOrRule",
|
|
469
|
-
"return": {
|
|
470
|
-
"type": {
|
|
471
|
-
"text": "ModelGroup"
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
"parameters": [
|
|
475
|
-
{
|
|
476
|
-
"name": "model",
|
|
477
|
-
"type": {
|
|
478
|
-
"text": "ModelGroup"
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"name": "parentGroupId",
|
|
483
|
-
"type": {
|
|
484
|
-
"text": "string"
|
|
485
|
-
}
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"name": "newItem",
|
|
489
|
-
"type": {
|
|
490
|
-
"text": "ModelGroup | ModelRule"
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
]
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"kind": "function",
|
|
497
|
-
"name": "deleteGroup",
|
|
498
|
-
"return": {
|
|
499
|
-
"type": {
|
|
500
|
-
"text": "ModelGroup"
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
"parameters": [
|
|
504
|
-
{
|
|
505
|
-
"name": "model",
|
|
506
|
-
"type": {
|
|
507
|
-
"text": "ModelGroup"
|
|
508
|
-
}
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"name": "groupIdToDelete",
|
|
512
|
-
"type": {
|
|
513
|
-
"text": "string"
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
]
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
"kind": "function",
|
|
520
|
-
"name": "deleteRule",
|
|
521
|
-
"return": {
|
|
522
|
-
"type": {
|
|
523
|
-
"text": "ModelGroup"
|
|
524
|
-
}
|
|
525
|
-
},
|
|
526
|
-
"parameters": [
|
|
527
|
-
{
|
|
528
|
-
"name": "model",
|
|
529
|
-
"type": {
|
|
530
|
-
"text": "ModelGroup"
|
|
531
|
-
}
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
"name": "ruleIdToDelete",
|
|
535
|
-
"type": {
|
|
536
|
-
"text": "string"
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
]
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
"kind": "variable",
|
|
543
|
-
"name": "ROOT_GROUP",
|
|
544
|
-
"type": {
|
|
545
|
-
"text": "string"
|
|
546
|
-
},
|
|
547
|
-
"default": "'group-root'"
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
"kind": "function",
|
|
551
|
-
"name": "updateGroupData",
|
|
552
|
-
"return": {
|
|
553
|
-
"type": {
|
|
554
|
-
"text": "ModelGroup"
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
"parameters": [
|
|
558
|
-
{
|
|
559
|
-
"name": "model",
|
|
560
|
-
"type": {
|
|
561
|
-
"text": "ModelGroup"
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
"name": "groupIdToUpdate",
|
|
566
|
-
"type": {
|
|
567
|
-
"text": "string"
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"name": "newData",
|
|
572
|
-
"type": {
|
|
573
|
-
"text": "EventsDetailMap[Events.UpdateGroup]['newData']"
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
]
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
"kind": "function",
|
|
580
|
-
"name": "updateRuleData",
|
|
581
|
-
"return": {
|
|
582
|
-
"type": {
|
|
583
|
-
"text": "ModelGroup"
|
|
584
|
-
}
|
|
585
|
-
},
|
|
586
|
-
"parameters": [
|
|
587
|
-
{
|
|
588
|
-
"name": "model",
|
|
589
|
-
"type": {
|
|
590
|
-
"text": "ModelGroup"
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"name": "ruleIdToUpdate",
|
|
595
|
-
"type": {
|
|
596
|
-
"text": "string"
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
"name": "newData",
|
|
601
|
-
"type": {
|
|
602
|
-
"text": "EventsDetailMap[Events.UpdateRule]['newData']"
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
]
|
|
606
|
-
}
|
|
607
|
-
],
|
|
608
|
-
"exports": [
|
|
609
|
-
{
|
|
610
|
-
"kind": "js",
|
|
611
|
-
"name": "findOperateOnGroup",
|
|
612
|
-
"declaration": {
|
|
613
|
-
"name": "findOperateOnGroup",
|
|
614
|
-
"module": "src/main/expression-builder.helpers.ts"
|
|
615
|
-
}
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
"kind": "js",
|
|
619
|
-
"name": "addGroupOrRule",
|
|
620
|
-
"declaration": {
|
|
621
|
-
"name": "addGroupOrRule",
|
|
622
|
-
"module": "src/main/expression-builder.helpers.ts"
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"kind": "js",
|
|
627
|
-
"name": "deleteGroup",
|
|
628
|
-
"declaration": {
|
|
629
|
-
"name": "deleteGroup",
|
|
630
|
-
"module": "src/main/expression-builder.helpers.ts"
|
|
631
|
-
}
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"kind": "js",
|
|
635
|
-
"name": "deleteRule",
|
|
636
|
-
"declaration": {
|
|
637
|
-
"name": "deleteRule",
|
|
638
|
-
"module": "src/main/expression-builder.helpers.ts"
|
|
639
|
-
}
|
|
640
|
-
},
|
|
641
|
-
{
|
|
642
|
-
"kind": "js",
|
|
643
|
-
"name": "ROOT_GROUP",
|
|
644
|
-
"declaration": {
|
|
645
|
-
"name": "ROOT_GROUP",
|
|
646
|
-
"module": "src/main/expression-builder.helpers.ts"
|
|
361
|
+
"name": "ROOT_GROUP",
|
|
362
|
+
"module": "src/main/expression-builder.helpers.ts"
|
|
647
363
|
}
|
|
648
364
|
},
|
|
649
365
|
{
|
|
@@ -828,93 +544,303 @@
|
|
|
828
544
|
"privacy": "private"
|
|
829
545
|
},
|
|
830
546
|
{
|
|
831
|
-
"kind": "method",
|
|
832
|
-
"name": "_handleDeleteRule",
|
|
833
|
-
"privacy": "private",
|
|
834
|
-
"parameters": [
|
|
835
|
-
{
|
|
836
|
-
"name": "event",
|
|
837
|
-
"type": {
|
|
838
|
-
"text": "CustomEvent<EventsDetailMap[Events.DelRule]>"
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
]
|
|
547
|
+
"kind": "method",
|
|
548
|
+
"name": "_handleDeleteRule",
|
|
549
|
+
"privacy": "private",
|
|
550
|
+
"parameters": [
|
|
551
|
+
{
|
|
552
|
+
"name": "event",
|
|
553
|
+
"type": {
|
|
554
|
+
"text": "CustomEvent<EventsDetailMap[Events.DelRule]>"
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
]
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"kind": "field",
|
|
561
|
+
"name": "handleUpdateGroupData",
|
|
562
|
+
"privacy": "private"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"kind": "method",
|
|
566
|
+
"name": "_handleUpdateGroupData",
|
|
567
|
+
"privacy": "private",
|
|
568
|
+
"parameters": [
|
|
569
|
+
{
|
|
570
|
+
"name": "event",
|
|
571
|
+
"type": {
|
|
572
|
+
"text": "CustomEvent<EventsDetailMap[Events.UpdateGroup]>"
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"kind": "field",
|
|
579
|
+
"name": "handleUpdateRuleData",
|
|
580
|
+
"privacy": "private"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"kind": "method",
|
|
584
|
+
"name": "_handleUpdateRuleData",
|
|
585
|
+
"privacy": "private",
|
|
586
|
+
"parameters": [
|
|
587
|
+
{
|
|
588
|
+
"name": "event",
|
|
589
|
+
"type": {
|
|
590
|
+
"text": "CustomEvent<EventsDetailMap[Events.UpdateRule]>"
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
]
|
|
594
|
+
}
|
|
595
|
+
],
|
|
596
|
+
"events": [
|
|
597
|
+
{
|
|
598
|
+
"name": "change",
|
|
599
|
+
"type": {
|
|
600
|
+
"text": "CustomEvent"
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
],
|
|
604
|
+
"superclass": {
|
|
605
|
+
"name": "GenesisElement",
|
|
606
|
+
"package": "@genesislcap/web-core"
|
|
607
|
+
},
|
|
608
|
+
"tagName": "expression-builder",
|
|
609
|
+
"customElement": true
|
|
610
|
+
}
|
|
611
|
+
],
|
|
612
|
+
"exports": [
|
|
613
|
+
{
|
|
614
|
+
"kind": "js",
|
|
615
|
+
"name": "ExpressionBuilder",
|
|
616
|
+
"declaration": {
|
|
617
|
+
"name": "ExpressionBuilder",
|
|
618
|
+
"module": "src/main/expression-builder.ts"
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"kind": "custom-element-definition",
|
|
623
|
+
"name": "expression-builder",
|
|
624
|
+
"declaration": {
|
|
625
|
+
"name": "ExpressionBuilder",
|
|
626
|
+
"module": "src/main/expression-builder.ts"
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
]
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"kind": "javascript-module",
|
|
633
|
+
"path": "src/main/index.ts",
|
|
634
|
+
"declarations": [],
|
|
635
|
+
"exports": [
|
|
636
|
+
{
|
|
637
|
+
"kind": "js",
|
|
638
|
+
"name": "*",
|
|
639
|
+
"declaration": {
|
|
640
|
+
"name": "*",
|
|
641
|
+
"package": "./expression-builder"
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"kind": "js",
|
|
646
|
+
"name": "*",
|
|
647
|
+
"declaration": {
|
|
648
|
+
"name": "*",
|
|
649
|
+
"package": "./expression-builder.styles"
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"kind": "js",
|
|
654
|
+
"name": "*",
|
|
655
|
+
"declaration": {
|
|
656
|
+
"name": "*",
|
|
657
|
+
"package": "./expression-builder.template"
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
]
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"kind": "javascript-module",
|
|
664
|
+
"path": "src/types/index.ts",
|
|
665
|
+
"declarations": [],
|
|
666
|
+
"exports": [
|
|
667
|
+
{
|
|
668
|
+
"kind": "js",
|
|
669
|
+
"name": "*",
|
|
670
|
+
"declaration": {
|
|
671
|
+
"name": "*",
|
|
672
|
+
"package": "./public.types"
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"kind": "js",
|
|
677
|
+
"name": "*",
|
|
678
|
+
"declaration": {
|
|
679
|
+
"name": "*",
|
|
680
|
+
"package": "./private.types"
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
]
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"kind": "javascript-module",
|
|
687
|
+
"path": "src/types/private.types.ts",
|
|
688
|
+
"declarations": [],
|
|
689
|
+
"exports": []
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"kind": "javascript-module",
|
|
693
|
+
"path": "src/types/public.types.ts",
|
|
694
|
+
"declarations": [],
|
|
695
|
+
"exports": []
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"kind": "javascript-module",
|
|
699
|
+
"path": "src/utils/data-model.ts",
|
|
700
|
+
"declarations": [
|
|
701
|
+
{
|
|
702
|
+
"kind": "function",
|
|
703
|
+
"name": "groupToModelGroup",
|
|
704
|
+
"return": {
|
|
705
|
+
"type": {
|
|
706
|
+
"text": "ModelGroup"
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
"parameters": [
|
|
710
|
+
{
|
|
711
|
+
"name": "group",
|
|
712
|
+
"type": {
|
|
713
|
+
"text": "Group"
|
|
714
|
+
}
|
|
842
715
|
},
|
|
843
716
|
{
|
|
844
|
-
"
|
|
845
|
-
"
|
|
846
|
-
|
|
847
|
-
|
|
717
|
+
"name": "provider",
|
|
718
|
+
"type": {
|
|
719
|
+
"text": "MetadataProvider"
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
],
|
|
723
|
+
"description": "Converts a Group to a ModelGroup (adds required metadata)"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"kind": "function",
|
|
727
|
+
"name": "modelGroupToGroup",
|
|
728
|
+
"return": {
|
|
729
|
+
"type": {
|
|
730
|
+
"text": ""
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
"parameters": [
|
|
848
734
|
{
|
|
849
|
-
"
|
|
850
|
-
"
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
735
|
+
"name": "modelGroup",
|
|
736
|
+
"type": {
|
|
737
|
+
"text": "ModelGroup"
|
|
738
|
+
},
|
|
739
|
+
"description": "The internal ModelGroup to convert."
|
|
740
|
+
}
|
|
741
|
+
],
|
|
742
|
+
"description": "Converts a ModelGroup (internal data structure) to a public Group structure.\nThis function recursively processes the rules within the group."
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"kind": "function",
|
|
746
|
+
"name": "modelRuleToRule",
|
|
747
|
+
"return": {
|
|
748
|
+
"type": {
|
|
749
|
+
"text": ""
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
"parameters": [
|
|
861
753
|
{
|
|
862
|
-
"
|
|
863
|
-
"
|
|
864
|
-
|
|
865
|
-
|
|
754
|
+
"name": "modelRule",
|
|
755
|
+
"type": {
|
|
756
|
+
"text": "ModelRule"
|
|
757
|
+
},
|
|
758
|
+
"description": "The internal ModelRule to convert."
|
|
759
|
+
}
|
|
760
|
+
],
|
|
761
|
+
"description": "Converts a ModelRule (internal data structure) to a public Rule structure."
|
|
762
|
+
}
|
|
763
|
+
],
|
|
764
|
+
"exports": [
|
|
765
|
+
{
|
|
766
|
+
"kind": "js",
|
|
767
|
+
"name": "groupToModelGroup",
|
|
768
|
+
"declaration": {
|
|
769
|
+
"name": "groupToModelGroup",
|
|
770
|
+
"module": "src/utils/data-model.ts"
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"kind": "js",
|
|
775
|
+
"name": "modelGroupToGroup",
|
|
776
|
+
"declaration": {
|
|
777
|
+
"name": "modelGroupToGroup",
|
|
778
|
+
"module": "src/utils/data-model.ts"
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"kind": "js",
|
|
783
|
+
"name": "modelRuleToRule",
|
|
784
|
+
"declaration": {
|
|
785
|
+
"name": "modelRuleToRule",
|
|
786
|
+
"module": "src/utils/data-model.ts"
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
]
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"kind": "javascript-module",
|
|
793
|
+
"path": "src/utils/formatting.ts",
|
|
794
|
+
"declarations": [
|
|
795
|
+
{
|
|
796
|
+
"kind": "function",
|
|
797
|
+
"name": "formatDateString",
|
|
798
|
+
"parameters": [
|
|
866
799
|
{
|
|
867
|
-
"
|
|
868
|
-
"
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
{
|
|
872
|
-
"name": "event",
|
|
873
|
-
"type": {
|
|
874
|
-
"text": "CustomEvent<EventsDetailMap[Events.UpdateRule]>"
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
]
|
|
800
|
+
"name": "date",
|
|
801
|
+
"type": {
|
|
802
|
+
"text": "Date"
|
|
803
|
+
}
|
|
878
804
|
}
|
|
879
805
|
],
|
|
880
|
-
"
|
|
806
|
+
"description": "Gets the string representation from a `Date` which is the format a `date` input uses.\n`yyyy-mm-dd`"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"kind": "function",
|
|
810
|
+
"name": "formatDateTimeString",
|
|
811
|
+
"parameters": [
|
|
881
812
|
{
|
|
882
|
-
"name": "
|
|
813
|
+
"name": "date",
|
|
883
814
|
"type": {
|
|
884
|
-
"text": "
|
|
815
|
+
"text": "Date"
|
|
885
816
|
}
|
|
886
817
|
}
|
|
887
818
|
],
|
|
888
|
-
"
|
|
889
|
-
"name": "GenesisElement",
|
|
890
|
-
"package": "@genesislcap/web-core"
|
|
891
|
-
},
|
|
892
|
-
"tagName": "expression-builder",
|
|
893
|
-
"customElement": true
|
|
819
|
+
"description": "Gets the string representation from a `Date` which is the format a `datetime-local` input uses.\n`yyyy-mm-ddThh:mm:ss`"
|
|
894
820
|
}
|
|
895
821
|
],
|
|
896
822
|
"exports": [
|
|
897
823
|
{
|
|
898
824
|
"kind": "js",
|
|
899
|
-
"name": "
|
|
825
|
+
"name": "formatDateString",
|
|
900
826
|
"declaration": {
|
|
901
|
-
"name": "
|
|
902
|
-
"module": "src/
|
|
827
|
+
"name": "formatDateString",
|
|
828
|
+
"module": "src/utils/formatting.ts"
|
|
903
829
|
}
|
|
904
830
|
},
|
|
905
831
|
{
|
|
906
|
-
"kind": "
|
|
907
|
-
"name": "
|
|
832
|
+
"kind": "js",
|
|
833
|
+
"name": "formatDateTimeString",
|
|
908
834
|
"declaration": {
|
|
909
|
-
"name": "
|
|
910
|
-
"module": "src/
|
|
835
|
+
"name": "formatDateTimeString",
|
|
836
|
+
"module": "src/utils/formatting.ts"
|
|
911
837
|
}
|
|
912
838
|
}
|
|
913
839
|
]
|
|
914
840
|
},
|
|
915
841
|
{
|
|
916
842
|
"kind": "javascript-module",
|
|
917
|
-
"path": "src/
|
|
843
|
+
"path": "src/utils/index.ts",
|
|
918
844
|
"declarations": [],
|
|
919
845
|
"exports": [
|
|
920
846
|
{
|
|
@@ -922,7 +848,7 @@
|
|
|
922
848
|
"name": "*",
|
|
923
849
|
"declaration": {
|
|
924
850
|
"name": "*",
|
|
925
|
-
"package": "./
|
|
851
|
+
"package": "./data-model"
|
|
926
852
|
}
|
|
927
853
|
},
|
|
928
854
|
{
|
|
@@ -930,7 +856,7 @@
|
|
|
930
856
|
"name": "*",
|
|
931
857
|
"declaration": {
|
|
932
858
|
"name": "*",
|
|
933
|
-
"package": "./
|
|
859
|
+
"package": "./formatting"
|
|
934
860
|
}
|
|
935
861
|
},
|
|
936
862
|
{
|
|
@@ -938,7 +864,81 @@
|
|
|
938
864
|
"name": "*",
|
|
939
865
|
"declaration": {
|
|
940
866
|
"name": "*",
|
|
941
|
-
"package": "./
|
|
867
|
+
"package": "./misc"
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
]
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"kind": "javascript-module",
|
|
874
|
+
"path": "src/utils/misc.ts",
|
|
875
|
+
"declarations": [
|
|
876
|
+
{
|
|
877
|
+
"kind": "function",
|
|
878
|
+
"name": "processOptGroups",
|
|
879
|
+
"return": {
|
|
880
|
+
"type": {
|
|
881
|
+
"text": "(T | { optgroup: string | null; xs: T[] })[]"
|
|
882
|
+
}
|
|
883
|
+
},
|
|
884
|
+
"parameters": [
|
|
885
|
+
{
|
|
886
|
+
"name": "xs",
|
|
887
|
+
"type": {
|
|
888
|
+
"text": "T[]"
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
]
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"kind": "function",
|
|
895
|
+
"name": "applyCustomStyles",
|
|
896
|
+
"return": {
|
|
897
|
+
"type": {
|
|
898
|
+
"text": "void"
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
"parameters": [
|
|
902
|
+
{
|
|
903
|
+
"name": "component",
|
|
904
|
+
"type": {
|
|
905
|
+
"text": "HTMLElement"
|
|
906
|
+
},
|
|
907
|
+
"description": "The web component instance"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"name": "styles",
|
|
911
|
+
"type": {
|
|
912
|
+
"text": "Styles | undefined | null"
|
|
913
|
+
},
|
|
914
|
+
"description": "The styles configuration object"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"name": "styleKey",
|
|
918
|
+
"type": {
|
|
919
|
+
"text": "keyof NonNullable<Styles['customStyles']>"
|
|
920
|
+
},
|
|
921
|
+
"description": "The key in styles.customStyles to use for custom styles"
|
|
922
|
+
}
|
|
923
|
+
],
|
|
924
|
+
"description": "Utility function to add custom styles to a web component's shadow root"
|
|
925
|
+
}
|
|
926
|
+
],
|
|
927
|
+
"exports": [
|
|
928
|
+
{
|
|
929
|
+
"kind": "js",
|
|
930
|
+
"name": "processOptGroups",
|
|
931
|
+
"declaration": {
|
|
932
|
+
"name": "processOptGroups",
|
|
933
|
+
"module": "src/utils/misc.ts"
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"kind": "js",
|
|
938
|
+
"name": "applyCustomStyles",
|
|
939
|
+
"declaration": {
|
|
940
|
+
"name": "applyCustomStyles",
|
|
941
|
+
"module": "src/utils/misc.ts"
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
944
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/expression-builder",
|
|
3
3
|
"description": "Genesis Foundation Expression Builder",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.251.0-RPT-81.2",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/expression-builder.d.ts",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
64
|
"customElements": "dist/custom-elements.json",
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "24f9d00cb18956c29c152bf38fc1b911bfc58c3e"
|
|
66
66
|
}
|