@genesislcap/foundation-ui 14.406.0-workspaces.5 → 14.406.0-workspaces.7

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 (50) hide show
  1. package/dist/custom-elements.json +304 -2152
  2. package/dist/dts/index.d.ts +0 -2
  3. package/dist/dts/index.d.ts.map +1 -1
  4. package/dist/esm/index.js +0 -2
  5. package/package.json +19 -19
  6. package/dist/dts/components/grid-register/grid-register.d.ts +0 -19
  7. package/dist/dts/components/grid-register/grid-register.d.ts.map +0 -1
  8. package/dist/dts/components/grid-register/grid-register.template.d.ts +0 -4
  9. package/dist/dts/components/grid-register/grid-register.template.d.ts.map +0 -1
  10. package/dist/dts/components/layout-wrapper/layout-wrapper.d.ts +0 -10
  11. package/dist/dts/components/layout-wrapper/layout-wrapper.d.ts.map +0 -1
  12. package/dist/dts/components/layout-wrapper/layout-wrapper.template.d.ts +0 -4
  13. package/dist/dts/components/layout-wrapper/layout-wrapper.template.d.ts.map +0 -1
  14. package/dist/dts/workspace/filter-registry.d.ts +0 -34
  15. package/dist/dts/workspace/filter-registry.d.ts.map +0 -1
  16. package/dist/dts/workspace/grid-registry.d.ts +0 -47
  17. package/dist/dts/workspace/grid-registry.d.ts.map +0 -1
  18. package/dist/dts/workspace/index.d.ts +0 -7
  19. package/dist/dts/workspace/index.d.ts.map +0 -1
  20. package/dist/dts/workspace/layout-registry.d.ts +0 -27
  21. package/dist/dts/workspace/layout-registry.d.ts.map +0 -1
  22. package/dist/dts/workspace/workspace-state.d.ts +0 -45
  23. package/dist/dts/workspace/workspace-state.d.ts.map +0 -1
  24. package/dist/dts/workspace/workspace-state.types.d.ts +0 -26
  25. package/dist/dts/workspace/workspace-state.types.d.ts.map +0 -1
  26. package/dist/dts/workspace/workspace.types.d.ts +0 -25
  27. package/dist/dts/workspace/workspace.types.d.ts.map +0 -1
  28. package/dist/dts/workspace-manager/index.d.ts +0 -2
  29. package/dist/dts/workspace-manager/index.d.ts.map +0 -1
  30. package/dist/dts/workspace-manager/workspace-manager.d.ts +0 -62
  31. package/dist/dts/workspace-manager/workspace-manager.d.ts.map +0 -1
  32. package/dist/dts/workspace-manager/workspace-manager.styles.d.ts +0 -2
  33. package/dist/dts/workspace-manager/workspace-manager.styles.d.ts.map +0 -1
  34. package/dist/dts/workspace-manager/workspace-manager.template.d.ts +0 -4
  35. package/dist/dts/workspace-manager/workspace-manager.template.d.ts.map +0 -1
  36. package/dist/esm/components/grid-register/grid-register.js +0 -137
  37. package/dist/esm/components/grid-register/grid-register.template.js +0 -4
  38. package/dist/esm/components/layout-wrapper/layout-wrapper.js +0 -62
  39. package/dist/esm/components/layout-wrapper/layout-wrapper.template.js +0 -4
  40. package/dist/esm/workspace/filter-registry.js +0 -47
  41. package/dist/esm/workspace/grid-registry.js +0 -113
  42. package/dist/esm/workspace/index.js +0 -6
  43. package/dist/esm/workspace/layout-registry.js +0 -46
  44. package/dist/esm/workspace/workspace-state.js +0 -193
  45. package/dist/esm/workspace/workspace-state.types.js +0 -1
  46. package/dist/esm/workspace/workspace.types.js +0 -1
  47. package/dist/esm/workspace-manager/index.js +0 -1
  48. package/dist/esm/workspace-manager/workspace-manager.js +0 -432
  49. package/dist/esm/workspace-manager/workspace-manager.styles.js +0 -138
  50. package/dist/esm/workspace-manager/workspace-manager.template.js +0 -259
@@ -843,22 +843,6 @@
843
843
  "name": "getPrefix",
844
844
  "module": "./utils/dom"
845
845
  }
846
- },
847
- {
848
- "kind": "js",
849
- "name": "*",
850
- "declaration": {
851
- "name": "*",
852
- "package": "./workspace"
853
- }
854
- },
855
- {
856
- "kind": "js",
857
- "name": "*",
858
- "declaration": {
859
- "name": "*",
860
- "package": "./workspace-manager"
861
- }
862
846
  }
863
847
  ]
864
848
  },
@@ -1303,219 +1287,6 @@
1303
1287
  }
1304
1288
  ]
1305
1289
  },
1306
- {
1307
- "kind": "javascript-module",
1308
- "path": "src/accordion/accordion.styles.ts",
1309
- "declarations": [
1310
- {
1311
- "kind": "function",
1312
- "name": "foundationAccordionStyles",
1313
- "return": {
1314
- "type": {
1315
- "text": "ElementStyles"
1316
- }
1317
- },
1318
- "parameters": [
1319
- {
1320
- "name": "context",
1321
- "type": {
1322
- "text": "ElementDefinitionContext"
1323
- }
1324
- },
1325
- {
1326
- "name": "definition",
1327
- "type": {
1328
- "text": "FoundationElementDefinition"
1329
- }
1330
- }
1331
- ]
1332
- }
1333
- ],
1334
- "exports": [
1335
- {
1336
- "kind": "js",
1337
- "name": "foundationAccordionStyles",
1338
- "declaration": {
1339
- "name": "foundationAccordionStyles",
1340
- "module": "src/accordion/accordion.styles.ts"
1341
- }
1342
- }
1343
- ]
1344
- },
1345
- {
1346
- "kind": "javascript-module",
1347
- "path": "src/accordion/accordion.template.ts",
1348
- "declarations": [
1349
- {
1350
- "kind": "function",
1351
- "name": "foundationAccordionTemplate",
1352
- "return": {
1353
- "type": {
1354
- "text": "ViewTemplate<Accordion>"
1355
- }
1356
- },
1357
- "parameters": [
1358
- {
1359
- "name": "context",
1360
- "type": {
1361
- "text": "ElementDefinitionContext"
1362
- }
1363
- },
1364
- {
1365
- "name": "definition",
1366
- "type": {
1367
- "text": "FoundationElementDefinition"
1368
- }
1369
- }
1370
- ]
1371
- }
1372
- ],
1373
- "exports": [
1374
- {
1375
- "kind": "js",
1376
- "name": "foundationAccordionTemplate",
1377
- "declaration": {
1378
- "name": "foundationAccordionTemplate",
1379
- "module": "src/accordion/accordion.template.ts"
1380
- }
1381
- }
1382
- ]
1383
- },
1384
- {
1385
- "kind": "javascript-module",
1386
- "path": "src/accordion/accordion.ts",
1387
- "declarations": [
1388
- {
1389
- "kind": "class",
1390
- "description": "",
1391
- "name": "Accordion",
1392
- "superclass": {
1393
- "name": "FASTAccordion",
1394
- "package": "@microsoft/fast-foundation"
1395
- },
1396
- "tagName": "%%prefix%%-accordion",
1397
- "customElement": true
1398
- },
1399
- {
1400
- "kind": "variable",
1401
- "name": "foundationAccordionShadowOptions",
1402
- "type": {
1403
- "text": "ShadowRootInit"
1404
- },
1405
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1406
- },
1407
- {
1408
- "kind": "variable",
1409
- "name": "defaultAccordionConfig",
1410
- "type": {
1411
- "text": "object"
1412
- },
1413
- "default": "{}"
1414
- },
1415
- {
1416
- "kind": "variable",
1417
- "name": "foundationAccordion",
1418
- "description": "The Foundation Accordion",
1419
- "privacy": "public"
1420
- }
1421
- ],
1422
- "exports": [
1423
- {
1424
- "kind": "js",
1425
- "name": "Accordion",
1426
- "declaration": {
1427
- "name": "Accordion",
1428
- "module": "src/accordion/accordion.ts"
1429
- }
1430
- },
1431
- {
1432
- "kind": "js",
1433
- "name": "foundationAccordionShadowOptions",
1434
- "declaration": {
1435
- "name": "foundationAccordionShadowOptions",
1436
- "module": "src/accordion/accordion.ts"
1437
- }
1438
- },
1439
- {
1440
- "kind": "js",
1441
- "name": "defaultAccordionConfig",
1442
- "declaration": {
1443
- "name": "defaultAccordionConfig",
1444
- "module": "src/accordion/accordion.ts"
1445
- }
1446
- },
1447
- {
1448
- "kind": "js",
1449
- "name": "foundationAccordion",
1450
- "declaration": {
1451
- "name": "foundationAccordion",
1452
- "module": "src/accordion/accordion.ts"
1453
- }
1454
- }
1455
- ]
1456
- },
1457
- {
1458
- "kind": "javascript-module",
1459
- "path": "src/accordion/index.ts",
1460
- "declarations": [],
1461
- "exports": [
1462
- {
1463
- "kind": "js",
1464
- "name": "*",
1465
- "declaration": {
1466
- "name": "*",
1467
- "package": "./accordion.template"
1468
- }
1469
- },
1470
- {
1471
- "kind": "js",
1472
- "name": "*",
1473
- "declaration": {
1474
- "name": "*",
1475
- "package": "./accordion.styles"
1476
- }
1477
- },
1478
- {
1479
- "kind": "js",
1480
- "name": "*",
1481
- "declaration": {
1482
- "name": "*",
1483
- "package": "./accordion"
1484
- }
1485
- }
1486
- ]
1487
- },
1488
- {
1489
- "kind": "javascript-module",
1490
- "path": "src/_config/index.ts",
1491
- "declarations": [],
1492
- "exports": [
1493
- {
1494
- "kind": "js",
1495
- "name": "*",
1496
- "declaration": {
1497
- "name": "*",
1498
- "package": "./styles"
1499
- }
1500
- },
1501
- {
1502
- "kind": "js",
1503
- "name": "*",
1504
- "declaration": {
1505
- "name": "*",
1506
- "package": "./tokens"
1507
- }
1508
- },
1509
- {
1510
- "kind": "js",
1511
- "name": "*",
1512
- "declaration": {
1513
- "name": "*",
1514
- "package": "./values"
1515
- }
1516
- }
1517
- ]
1518
- },
1519
1290
  {
1520
1291
  "kind": "javascript-module",
1521
1292
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -3451,11 +3222,224 @@
3451
3222
  },
3452
3223
  {
3453
3224
  "kind": "javascript-module",
3454
- "path": "src/anchor/anchor.styles.ts",
3225
+ "path": "src/_config/index.ts",
3226
+ "declarations": [],
3227
+ "exports": [
3228
+ {
3229
+ "kind": "js",
3230
+ "name": "*",
3231
+ "declaration": {
3232
+ "name": "*",
3233
+ "package": "./styles"
3234
+ }
3235
+ },
3236
+ {
3237
+ "kind": "js",
3238
+ "name": "*",
3239
+ "declaration": {
3240
+ "name": "*",
3241
+ "package": "./tokens"
3242
+ }
3243
+ },
3244
+ {
3245
+ "kind": "js",
3246
+ "name": "*",
3247
+ "declaration": {
3248
+ "name": "*",
3249
+ "package": "./values"
3250
+ }
3251
+ }
3252
+ ]
3253
+ },
3254
+ {
3255
+ "kind": "javascript-module",
3256
+ "path": "src/accordion/accordion.styles.ts",
3455
3257
  "declarations": [
3456
3258
  {
3457
3259
  "kind": "function",
3458
- "name": "foundationAnchorStyles",
3260
+ "name": "foundationAccordionStyles",
3261
+ "return": {
3262
+ "type": {
3263
+ "text": "ElementStyles"
3264
+ }
3265
+ },
3266
+ "parameters": [
3267
+ {
3268
+ "name": "context",
3269
+ "type": {
3270
+ "text": "ElementDefinitionContext"
3271
+ }
3272
+ },
3273
+ {
3274
+ "name": "definition",
3275
+ "type": {
3276
+ "text": "FoundationElementDefinition"
3277
+ }
3278
+ }
3279
+ ]
3280
+ }
3281
+ ],
3282
+ "exports": [
3283
+ {
3284
+ "kind": "js",
3285
+ "name": "foundationAccordionStyles",
3286
+ "declaration": {
3287
+ "name": "foundationAccordionStyles",
3288
+ "module": "src/accordion/accordion.styles.ts"
3289
+ }
3290
+ }
3291
+ ]
3292
+ },
3293
+ {
3294
+ "kind": "javascript-module",
3295
+ "path": "src/accordion/accordion.template.ts",
3296
+ "declarations": [
3297
+ {
3298
+ "kind": "function",
3299
+ "name": "foundationAccordionTemplate",
3300
+ "return": {
3301
+ "type": {
3302
+ "text": "ViewTemplate<Accordion>"
3303
+ }
3304
+ },
3305
+ "parameters": [
3306
+ {
3307
+ "name": "context",
3308
+ "type": {
3309
+ "text": "ElementDefinitionContext"
3310
+ }
3311
+ },
3312
+ {
3313
+ "name": "definition",
3314
+ "type": {
3315
+ "text": "FoundationElementDefinition"
3316
+ }
3317
+ }
3318
+ ]
3319
+ }
3320
+ ],
3321
+ "exports": [
3322
+ {
3323
+ "kind": "js",
3324
+ "name": "foundationAccordionTemplate",
3325
+ "declaration": {
3326
+ "name": "foundationAccordionTemplate",
3327
+ "module": "src/accordion/accordion.template.ts"
3328
+ }
3329
+ }
3330
+ ]
3331
+ },
3332
+ {
3333
+ "kind": "javascript-module",
3334
+ "path": "src/accordion/accordion.ts",
3335
+ "declarations": [
3336
+ {
3337
+ "kind": "class",
3338
+ "description": "",
3339
+ "name": "Accordion",
3340
+ "superclass": {
3341
+ "name": "FASTAccordion",
3342
+ "package": "@microsoft/fast-foundation"
3343
+ },
3344
+ "tagName": "%%prefix%%-accordion",
3345
+ "customElement": true
3346
+ },
3347
+ {
3348
+ "kind": "variable",
3349
+ "name": "foundationAccordionShadowOptions",
3350
+ "type": {
3351
+ "text": "ShadowRootInit"
3352
+ },
3353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3354
+ },
3355
+ {
3356
+ "kind": "variable",
3357
+ "name": "defaultAccordionConfig",
3358
+ "type": {
3359
+ "text": "object"
3360
+ },
3361
+ "default": "{}"
3362
+ },
3363
+ {
3364
+ "kind": "variable",
3365
+ "name": "foundationAccordion",
3366
+ "description": "The Foundation Accordion",
3367
+ "privacy": "public"
3368
+ }
3369
+ ],
3370
+ "exports": [
3371
+ {
3372
+ "kind": "js",
3373
+ "name": "Accordion",
3374
+ "declaration": {
3375
+ "name": "Accordion",
3376
+ "module": "src/accordion/accordion.ts"
3377
+ }
3378
+ },
3379
+ {
3380
+ "kind": "js",
3381
+ "name": "foundationAccordionShadowOptions",
3382
+ "declaration": {
3383
+ "name": "foundationAccordionShadowOptions",
3384
+ "module": "src/accordion/accordion.ts"
3385
+ }
3386
+ },
3387
+ {
3388
+ "kind": "js",
3389
+ "name": "defaultAccordionConfig",
3390
+ "declaration": {
3391
+ "name": "defaultAccordionConfig",
3392
+ "module": "src/accordion/accordion.ts"
3393
+ }
3394
+ },
3395
+ {
3396
+ "kind": "js",
3397
+ "name": "foundationAccordion",
3398
+ "declaration": {
3399
+ "name": "foundationAccordion",
3400
+ "module": "src/accordion/accordion.ts"
3401
+ }
3402
+ }
3403
+ ]
3404
+ },
3405
+ {
3406
+ "kind": "javascript-module",
3407
+ "path": "src/accordion/index.ts",
3408
+ "declarations": [],
3409
+ "exports": [
3410
+ {
3411
+ "kind": "js",
3412
+ "name": "*",
3413
+ "declaration": {
3414
+ "name": "*",
3415
+ "package": "./accordion.template"
3416
+ }
3417
+ },
3418
+ {
3419
+ "kind": "js",
3420
+ "name": "*",
3421
+ "declaration": {
3422
+ "name": "*",
3423
+ "package": "./accordion.styles"
3424
+ }
3425
+ },
3426
+ {
3427
+ "kind": "js",
3428
+ "name": "*",
3429
+ "declaration": {
3430
+ "name": "*",
3431
+ "package": "./accordion"
3432
+ }
3433
+ }
3434
+ ]
3435
+ },
3436
+ {
3437
+ "kind": "javascript-module",
3438
+ "path": "src/anchor/anchor.styles.ts",
3439
+ "declarations": [
3440
+ {
3441
+ "kind": "function",
3442
+ "name": "foundationAnchorStyles",
3459
3443
  "return": {
3460
3444
  "type": {
3461
3445
  "text": "ElementStyles"
@@ -54322,1543 +54306,175 @@
54322
54306
  },
54323
54307
  {
54324
54308
  "kind": "javascript-module",
54325
- "path": "src/workspace/filter-registry.ts",
54309
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
54310
+ "declarations": [],
54311
+ "exports": []
54312
+ },
54313
+ {
54314
+ "kind": "javascript-module",
54315
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
54326
54316
  "declarations": [
54327
54317
  {
54328
- "kind": "class",
54329
- "description": "",
54330
- "name": "DefaultFilterRegistry",
54331
- "members": [
54318
+ "kind": "function",
54319
+ "name": "groupsToCriteria",
54320
+ "return": {
54321
+ "type": {
54322
+ "text": "string"
54323
+ }
54324
+ },
54325
+ "parameters": [
54332
54326
  {
54333
- "kind": "field",
54334
- "name": "filters",
54327
+ "name": "groups",
54335
54328
  "type": {
54336
- "text": "Map<string, FilterRegistration>"
54337
- },
54338
- "privacy": "private",
54339
- "default": "new Map()"
54340
- },
54341
- {
54342
- "kind": "method",
54343
- "name": "registerFilter",
54344
- "return": {
54345
- "type": {
54346
- "text": "void"
54347
- }
54348
- },
54349
- "parameters": [
54350
- {
54351
- "name": "filterKey",
54352
- "type": {
54353
- "text": "string"
54354
- }
54355
- },
54356
- {
54357
- "name": "getFilterValue",
54358
- "type": {
54359
- "text": "() => SavedFilterValue | null"
54360
- }
54361
- },
54362
- {
54363
- "name": "setFilterValue",
54364
- "type": {
54365
- "text": "(value: string) => void"
54366
- }
54367
- }
54368
- ]
54369
- },
54370
- {
54371
- "kind": "method",
54372
- "name": "unregisterFilter",
54373
- "return": {
54374
- "type": {
54375
- "text": "void"
54376
- }
54377
- },
54378
- "parameters": [
54379
- {
54380
- "name": "filterKey",
54381
- "type": {
54382
- "text": "string"
54383
- }
54384
- }
54385
- ]
54386
- },
54387
- {
54388
- "kind": "method",
54389
- "name": "getAllFiltersValues",
54390
- "return": {
54391
- "type": {
54392
- "text": "SavedFilterValue[]"
54393
- }
54329
+ "text": "CriteriaGroup[]"
54394
54330
  }
54395
- },
54396
- {
54397
- "kind": "method",
54398
- "name": "applyFiltersValues",
54399
- "return": {
54400
- "type": {
54401
- "text": "void"
54402
- }
54403
- },
54404
- "parameters": [
54405
- {
54406
- "name": "filtersValues",
54407
- "type": {
54408
- "text": "SavedFilterValue[]"
54409
- }
54410
- }
54411
- ]
54412
54331
  }
54413
- ]
54332
+ ],
54333
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
54414
54334
  },
54415
54335
  {
54416
54336
  "kind": "variable",
54417
- "name": "FilterRegistry",
54418
- "description": "DI token for filter registry.",
54419
- "privacy": "public"
54420
- }
54421
- ],
54422
- "exports": [
54423
- {
54424
- "kind": "js",
54425
- "name": "DefaultFilterRegistry",
54426
- "declaration": {
54427
- "name": "DefaultFilterRegistry",
54428
- "module": "src/workspace/filter-registry.ts"
54429
- }
54337
+ "name": "STRING_OPERATORS",
54338
+ "type": {
54339
+ "text": "CriteriaOperator[]"
54340
+ },
54341
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
54430
54342
  },
54431
54343
  {
54432
- "kind": "js",
54433
- "name": "FilterRegistry",
54434
- "declaration": {
54435
- "name": "FilterRegistry",
54436
- "module": "src/workspace/filter-registry.ts"
54437
- }
54438
- }
54439
- ]
54440
- },
54441
- {
54442
- "kind": "javascript-module",
54443
- "path": "src/workspace/grid-registry.ts",
54444
- "declarations": [
54445
- {
54446
- "kind": "class",
54447
- "description": "",
54448
- "name": "DefaultGridRegistry",
54449
- "members": [
54450
- {
54451
- "kind": "field",
54452
- "name": "grids",
54453
- "type": {
54454
- "text": "Map<string, GridRegistration>"
54455
- },
54456
- "privacy": "private",
54457
- "default": "new Map()"
54458
- },
54459
- {
54460
- "kind": "field",
54461
- "name": "cachedSettings",
54462
- "type": {
54463
- "text": "Map<string, SavedGridSettings>"
54464
- },
54465
- "privacy": "private",
54466
- "default": "new Map()"
54467
- },
54468
- {
54469
- "kind": "method",
54470
- "name": "registerGrid",
54471
- "return": {
54472
- "type": {
54473
- "text": "void"
54474
- }
54475
- },
54476
- "parameters": [
54477
- {
54478
- "name": "gridKey",
54479
- "type": {
54480
- "text": "string"
54481
- }
54482
- },
54483
- {
54484
- "name": "gridApi",
54485
- "type": {
54486
- "text": "unknown"
54487
- }
54488
- },
54489
- {
54490
- "name": "columnApi",
54491
- "type": {
54492
- "text": "unknown"
54493
- }
54494
- }
54495
- ]
54496
- },
54497
- {
54498
- "kind": "method",
54499
- "name": "getGrid",
54500
- "return": {
54501
- "type": {
54502
- "text": "unknown"
54503
- }
54504
- },
54505
- "parameters": [
54506
- {
54507
- "name": "gridKey",
54508
- "type": {
54509
- "text": "string"
54510
- }
54511
- }
54512
- ]
54513
- },
54514
- {
54515
- "kind": "method",
54516
- "name": "unregisterGrid",
54517
- "return": {
54518
- "type": {
54519
- "text": "void"
54520
- }
54521
- },
54522
- "parameters": [
54523
- {
54524
- "name": "gridKey",
54525
- "type": {
54526
- "text": "string"
54527
- }
54528
- }
54529
- ]
54530
- },
54531
- {
54532
- "kind": "method",
54533
- "name": "getAllGridsSettings",
54534
- "return": {
54535
- "type": {
54536
- "text": "SavedGridSettings[]"
54537
- }
54538
- }
54539
- },
54540
- {
54541
- "kind": "method",
54542
- "name": "applyGridSettings",
54543
- "return": {
54544
- "type": {
54545
- "text": "Promise<boolean>"
54546
- }
54547
- },
54548
- "parameters": [
54549
- {
54550
- "name": "gridSetting",
54551
- "type": {
54552
- "text": "SavedGridSettings"
54553
- }
54554
- },
54555
- {
54556
- "name": "options",
54557
- "optional": true,
54558
- "type": {
54559
- "text": "{ applyColumns?: boolean; applyFilters?: boolean }"
54560
- }
54561
- }
54562
- ]
54563
- },
54564
- {
54565
- "kind": "method",
54566
- "name": "applyAllGridsSettings",
54567
- "return": {
54568
- "type": {
54569
- "text": "Promise<void>"
54570
- }
54571
- },
54572
- "parameters": [
54573
- {
54574
- "name": "gridSettings",
54575
- "type": {
54576
- "text": "SavedGridSettings[]"
54577
- }
54578
- },
54579
- {
54580
- "name": "maxRetries",
54581
- "default": "3",
54582
- "type": {
54583
- "text": "number"
54584
- }
54585
- },
54586
- {
54587
- "name": "delayMs",
54588
- "default": "200",
54589
- "type": {
54590
- "text": "number"
54591
- }
54592
- }
54593
- ]
54594
- },
54595
- {
54596
- "kind": "method",
54597
- "name": "getGridSettings",
54598
- "privacy": "private",
54599
- "return": {
54600
- "type": {
54601
- "text": "SavedGridSettings | null"
54602
- }
54603
- },
54604
- "parameters": [
54605
- {
54606
- "name": "gridKey",
54607
- "type": {
54608
- "text": "string"
54609
- }
54610
- },
54611
- {
54612
- "name": "grid",
54613
- "type": {
54614
- "text": "GridRegistration"
54615
- }
54616
- }
54617
- ]
54618
- }
54619
- ]
54344
+ "kind": "variable",
54345
+ "name": "NUMERIC_OPERATORS",
54346
+ "type": {
54347
+ "text": "CriteriaOperator[]"
54348
+ },
54349
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
54620
54350
  },
54621
54351
  {
54622
54352
  "kind": "variable",
54623
- "name": "GridRegistry",
54624
- "description": "DI token for grid registry.",
54625
- "privacy": "public"
54626
- }
54627
- ],
54628
- "exports": [
54629
- {
54630
- "kind": "js",
54631
- "name": "DefaultGridRegistry",
54632
- "declaration": {
54633
- "name": "DefaultGridRegistry",
54634
- "module": "src/workspace/grid-registry.ts"
54635
- }
54353
+ "name": "DATE_OPERATORS",
54354
+ "type": {
54355
+ "text": "CriteriaOperator[]"
54356
+ },
54357
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
54636
54358
  },
54637
54359
  {
54638
- "kind": "js",
54639
- "name": "GridRegistry",
54640
- "declaration": {
54641
- "name": "GridRegistry",
54642
- "module": "src/workspace/grid-registry.ts"
54643
- }
54360
+ "kind": "variable",
54361
+ "name": "DATETIME_OPERATORS",
54362
+ "type": {
54363
+ "text": "CriteriaOperator[]"
54364
+ },
54365
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
54644
54366
  }
54645
- ]
54646
- },
54647
- {
54648
- "kind": "javascript-module",
54649
- "path": "src/workspace/index.ts",
54650
- "declarations": [],
54367
+ ],
54651
54368
  "exports": [
54652
54369
  {
54653
54370
  "kind": "js",
54654
- "name": "*",
54655
- "declaration": {
54656
- "name": "*",
54657
- "package": "./workspace.types"
54658
- }
54659
- },
54660
- {
54661
- "kind": "js",
54662
- "name": "*",
54371
+ "name": "groupsToCriteria",
54663
54372
  "declaration": {
54664
- "name": "*",
54665
- "package": "./workspace-state.types"
54373
+ "name": "groupsToCriteria",
54374
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54666
54375
  }
54667
54376
  },
54668
54377
  {
54669
54378
  "kind": "js",
54670
- "name": "*",
54379
+ "name": "STRING_OPERATORS",
54671
54380
  "declaration": {
54672
- "name": "*",
54673
- "package": "./workspace-state"
54381
+ "name": "STRING_OPERATORS",
54382
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54674
54383
  }
54675
54384
  },
54676
54385
  {
54677
54386
  "kind": "js",
54678
- "name": "*",
54387
+ "name": "NUMERIC_OPERATORS",
54679
54388
  "declaration": {
54680
- "name": "*",
54681
- "package": "./layout-registry"
54389
+ "name": "NUMERIC_OPERATORS",
54390
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54682
54391
  }
54683
54392
  },
54684
54393
  {
54685
54394
  "kind": "js",
54686
- "name": "*",
54395
+ "name": "DATE_OPERATORS",
54687
54396
  "declaration": {
54688
- "name": "*",
54689
- "package": "./grid-registry"
54397
+ "name": "DATE_OPERATORS",
54398
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54690
54399
  }
54691
54400
  },
54692
54401
  {
54693
54402
  "kind": "js",
54694
- "name": "*",
54403
+ "name": "DATETIME_OPERATORS",
54695
54404
  "declaration": {
54696
- "name": "*",
54697
- "package": "./filter-registry"
54405
+ "name": "DATETIME_OPERATORS",
54406
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54698
54407
  }
54699
54408
  }
54700
54409
  ]
54701
54410
  },
54702
54411
  {
54703
54412
  "kind": "javascript-module",
54704
- "path": "src/workspace/layout-registry.ts",
54413
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
54705
54414
  "declarations": [
54706
54415
  {
54707
- "kind": "class",
54708
- "description": "Default layout registry implementation.",
54709
- "name": "DefaultLayoutRegistry",
54710
- "members": [
54416
+ "kind": "function",
54417
+ "name": "validateClauses",
54418
+ "return": {
54419
+ "type": {
54420
+ "text": "ValidationResult"
54421
+ }
54422
+ },
54423
+ "parameters": [
54711
54424
  {
54712
- "kind": "field",
54713
- "name": "layouts",
54425
+ "name": "clauses",
54714
54426
  "type": {
54715
- "text": "Map<string, any>"
54716
- },
54717
- "privacy": "private",
54718
- "default": "new Map()"
54719
- },
54720
- {
54721
- "kind": "method",
54722
- "name": "registerLayout",
54723
- "return": {
54724
- "type": {
54725
- "text": "void"
54726
- }
54727
- },
54728
- "parameters": [
54729
- {
54730
- "name": "layoutKey",
54731
- "type": {
54732
- "text": "string"
54733
- }
54734
- },
54735
- {
54736
- "name": "layout",
54737
- "type": {
54738
- "text": "any"
54739
- }
54740
- }
54741
- ]
54742
- },
54743
- {
54744
- "kind": "method",
54745
- "name": "unregisterLayout",
54746
- "return": {
54747
- "type": {
54748
- "text": "void"
54749
- }
54750
- },
54751
- "parameters": [
54752
- {
54753
- "name": "layoutKey",
54754
- "type": {
54755
- "text": "string"
54756
- }
54757
- }
54758
- ]
54759
- },
54760
- {
54761
- "kind": "method",
54762
- "name": "getLayoutsConfigs",
54763
- "return": {
54764
- "type": {
54765
- "text": "SavedLayout[]"
54766
- }
54427
+ "text": "CriteriaClause[]"
54767
54428
  }
54768
54429
  },
54769
54430
  {
54770
- "kind": "method",
54771
- "name": "applySavedLayouts",
54772
- "return": {
54773
- "type": {
54774
- "text": "Promise<void>"
54775
- }
54776
- },
54777
- "parameters": [
54778
- {
54779
- "name": "savedLayouts",
54780
- "type": {
54781
- "text": "SavedLayout[]"
54782
- }
54783
- }
54784
- ]
54785
- }
54786
- ]
54787
- },
54788
- {
54789
- "kind": "variable",
54790
- "name": "LayoutRegistry",
54791
- "description": "DI token for layout registry.",
54792
- "privacy": "public"
54793
- }
54794
- ],
54795
- "exports": [
54796
- {
54797
- "kind": "js",
54798
- "name": "DefaultLayoutRegistry",
54799
- "declaration": {
54800
- "name": "DefaultLayoutRegistry",
54801
- "module": "src/workspace/layout-registry.ts"
54802
- }
54803
- },
54804
- {
54805
- "kind": "js",
54806
- "name": "LayoutRegistry",
54807
- "declaration": {
54808
- "name": "LayoutRegistry",
54809
- "module": "src/workspace/layout-registry.ts"
54810
- }
54811
- }
54812
- ]
54813
- },
54814
- {
54815
- "kind": "javascript-module",
54816
- "path": "src/workspace/workspace-state.ts",
54817
- "declarations": [
54818
- {
54819
- "kind": "class",
54820
- "description": "Default workspace persistence implementation backed by KVStorage.",
54821
- "name": "DefaultWorkspaceState",
54822
- "members": [
54823
- {
54824
- "kind": "field",
54825
- "name": "STORAGE_PREFIX",
54826
- "type": {
54827
- "text": "string"
54828
- },
54829
- "privacy": "private",
54830
- "readonly": true,
54831
- "default": "'workspace_'"
54832
- },
54833
- {
54834
- "kind": "field",
54835
- "name": "WORKSPACES_LIST_KEY",
54836
- "type": {
54837
- "text": "string"
54838
- },
54839
- "privacy": "private",
54840
- "readonly": true,
54841
- "default": "'workspaces_list'"
54842
- },
54843
- {
54844
- "kind": "field",
54845
- "name": "currentWorkspace",
54431
+ "name": "fieldMetadata",
54846
54432
  "type": {
54847
- "text": "SavedWorkspace | null"
54848
- },
54849
- "privacy": "private",
54850
- "default": "null"
54851
- },
54852
- {
54853
- "kind": "method",
54854
- "name": "getCurrentUsername",
54855
- "privacy": "private",
54856
- "return": {
54857
- "type": {
54858
- "text": "string"
54859
- }
54860
- }
54861
- },
54862
- {
54863
- "kind": "method",
54864
- "name": "getWorkspaceStorageKey",
54865
- "privacy": "private",
54866
- "return": {
54867
- "type": {
54868
- "text": "string"
54869
- }
54870
- },
54871
- "parameters": [
54872
- {
54873
- "name": "workspaceName",
54874
- "type": {
54875
- "text": "string"
54876
- }
54877
- }
54878
- ]
54879
- },
54880
- {
54881
- "kind": "method",
54882
- "name": "getWorkspacesListKey",
54883
- "privacy": "private",
54884
- "return": {
54885
- "type": {
54886
- "text": "string"
54887
- }
54888
- }
54889
- },
54890
- {
54891
- "kind": "method",
54892
- "name": "saveWorkspace",
54893
- "return": {
54894
- "type": {
54895
- "text": "Promise<void>"
54896
- }
54897
- },
54898
- "parameters": [
54899
- {
54900
- "name": "workspaceName",
54901
- "type": {
54902
- "text": "string"
54903
- }
54904
- },
54905
- {
54906
- "name": "layouts",
54907
- "type": {
54908
- "text": "SavedLayout[]"
54909
- }
54910
- },
54911
- {
54912
- "name": "grids",
54913
- "type": {
54914
- "text": "SavedGridSettings[]"
54915
- }
54916
- },
54917
- {
54918
- "name": "filters",
54919
- "type": {
54920
- "text": "SavedFilterValue[]"
54921
- }
54922
- },
54923
- {
54924
- "name": "description",
54925
- "optional": true,
54926
- "type": {
54927
- "text": "string"
54928
- }
54929
- }
54930
- ]
54931
- },
54932
- {
54933
- "kind": "method",
54934
- "name": "loadWorkspace",
54935
- "return": {
54936
- "type": {
54937
- "text": "Promise<SavedWorkspace | null>"
54938
- }
54939
- },
54940
- "parameters": [
54941
- {
54942
- "name": "workspaceName",
54943
- "type": {
54944
- "text": "string"
54945
- }
54946
- }
54947
- ]
54948
- },
54949
- {
54950
- "kind": "method",
54951
- "name": "getWorkspace",
54952
- "privacy": "private",
54953
- "return": {
54954
- "type": {
54955
- "text": "Promise<SavedWorkspace | null>"
54956
- }
54957
- },
54958
- "parameters": [
54959
- {
54960
- "name": "workspaceName",
54961
- "type": {
54962
- "text": "string"
54963
- }
54964
- }
54965
- ]
54966
- },
54967
- {
54968
- "kind": "method",
54969
- "name": "getCurrentWorkspace",
54970
- "return": {
54971
- "type": {
54972
- "text": "SavedWorkspace | null"
54973
- }
54974
- }
54975
- },
54976
- {
54977
- "kind": "method",
54978
- "name": "setCurrentWorkspace",
54979
- "return": {
54980
- "type": {
54981
- "text": "void"
54982
- }
54983
- },
54984
- "parameters": [
54985
- {
54986
- "name": "workspace",
54987
- "type": {
54988
- "text": "SavedWorkspace | null"
54989
- }
54990
- }
54991
- ]
54992
- },
54993
- {
54994
- "kind": "method",
54995
- "name": "getSavedWorkspaces",
54996
- "return": {
54997
- "type": {
54998
- "text": "Promise<SavedWorkspace[]>"
54999
- }
54433
+ "text": "MetadataDetail[] | string[]"
55000
54434
  }
55001
- },
55002
- {
55003
- "kind": "method",
55004
- "name": "deleteWorkspace",
55005
- "return": {
55006
- "type": {
55007
- "text": "Promise<void>"
55008
- }
55009
- },
55010
- "parameters": [
55011
- {
55012
- "name": "workspaceName",
55013
- "type": {
55014
- "text": "string"
55015
- }
55016
- }
55017
- ]
55018
- },
55019
- {
55020
- "kind": "method",
55021
- "name": "updateWorkspacesList",
55022
- "privacy": "private",
55023
- "return": {
55024
- "type": {
55025
- "text": "Promise<void>"
55026
- }
55027
- },
55028
- "parameters": [
55029
- {
55030
- "name": "workspaceName",
55031
- "type": {
55032
- "text": "string"
55033
- }
55034
- }
55035
- ]
55036
- },
55037
- {
55038
- "kind": "method",
55039
- "name": "removeFromWorkspacesList",
55040
- "privacy": "private",
55041
- "return": {
55042
- "type": {
55043
- "text": "Promise<void>"
55044
- }
55045
- },
55046
- "parameters": [
55047
- {
55048
- "name": "workspaceName",
55049
- "type": {
55050
- "text": "string"
55051
- }
55052
- }
55053
- ]
55054
54435
  }
55055
54436
  ]
55056
54437
  },
55057
54438
  {
55058
- "kind": "variable",
55059
- "name": "WorkspaceState",
55060
- "description": "DI token for workspace state.",
55061
- "privacy": "public"
55062
- }
55063
- ],
55064
- "exports": [
55065
- {
55066
- "kind": "js",
55067
- "name": "DefaultWorkspaceState",
55068
- "declaration": {
55069
- "name": "DefaultWorkspaceState",
55070
- "module": "src/workspace/workspace-state.ts"
55071
- }
55072
- },
55073
- {
55074
- "kind": "js",
55075
- "name": "WorkspaceState",
55076
- "declaration": {
55077
- "name": "WorkspaceState",
55078
- "module": "src/workspace/workspace-state.ts"
55079
- }
55080
- }
55081
- ]
55082
- },
55083
- {
55084
- "kind": "javascript-module",
55085
- "path": "src/workspace/workspace-state.types.ts",
55086
- "declarations": [],
55087
- "exports": []
55088
- },
55089
- {
55090
- "kind": "javascript-module",
55091
- "path": "src/workspace/workspace.types.ts",
55092
- "declarations": [],
55093
- "exports": []
55094
- },
55095
- {
55096
- "kind": "javascript-module",
55097
- "path": "src/workspace-manager/index.ts",
55098
- "declarations": [],
55099
- "exports": [
55100
- {
55101
- "kind": "js",
55102
- "name": "*",
55103
- "declaration": {
55104
- "name": "*",
55105
- "package": "./workspace-manager"
55106
- }
55107
- }
55108
- ]
55109
- },
55110
- {
55111
- "kind": "javascript-module",
55112
- "path": "src/workspace-manager/workspace-manager.styles.ts",
55113
- "declarations": [
55114
- {
55115
- "kind": "variable",
55116
- "name": "WorkspaceManagerStyles",
55117
- "default": "css`\n .workspace-manager {\n display: flex;\n gap: 10px;\n align-items: center;\n }\n\n .dialog-content {\n padding: 16px;\n min-width: 400px;\n max-width: 400px;\n display: flex;\n flex-direction: column;\n max-height: 90vh;\n overflow: hidden;\n }\n\n .button-group {\n display: flex;\n gap: 8px;\n justify-content: flex-end;\n }\n\n .workspace-list {\n display: flex;\n flex-direction: column;\n gap: 12px;\n max-height: 400px;\n overflow-y: auto;\n margin: 10px 0;\n align-items: unset;\n }\n\n rapid-label {\n margin-bottom: 10px;\n display: block;\n }\n\n .empty-state {\n padding: 24px;\n text-align: center;\n color: var(--neutral-foreground-hint);\n }\n\n .save-mode-selector {\n margin-bottom: 16px;\n }\n\n .warning-message {\n margin: 12px 0;\n padding: 12px;\n border: 1px solid var(--warning-color);\n border-radius: 4px;\n font-size: 14px;\n }\n\n .workspace-item {\n padding: 12px;\n border: 1px solid var(--neutral-stroke-rest);\n border-radius: 4px;\n background: var(--neutral-fill-rest);\n cursor: pointer;\n display: flex;\n align-items: center;\n }\n\n .workspace-item:hover {\n background: var(--neutral-fill-hover);\n }\n\n .workspace-item::part(control) {\n margin-top: 2px;\n }\n\n .workspace-info {\n flex: 1;\n margin-left: 8px;\n }\n\n .workspace-name {\n font-weight: 600;\n margin-bottom: 4px;\n display: flex;\n align-items: center;\n gap: 8px;\n }\n\n .workspace-date {\n font-size: 12px;\n color: var(--neutral-foreground-hint);\n }\n\n .workspace-description {\n font-size: 12px;\n color: var(--neutral-foreground-hint);\n margin-top: 4px;\n white-space: pre-wrap;\n word-break: break-word;\n line-height: 1.4;\n }\n\n .workspace-description-input {\n width: 100%;\n min-height: 60px;\n padding: 8px 12px;\n margin-bottom: 16px;\n font-family: inherit;\n font-size: 14px;\n border: 1px solid var(--neutral-stroke-rest);\n border-radius: 4px;\n background: var(--neutral-fill-rest);\n color: var(--neutral-foreground-rest);\n resize: vertical;\n box-sizing: border-box;\n }\n\n .workspace-description-input::placeholder {\n color: var(--neutral-foreground-hint);\n }\n\n .workspace-description-input:focus {\n outline: none;\n border-color: var(--accent-fill-rest);\n }\n\n .loading-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 24px;\n }\n\n .save-field {\n margin-bottom: 20px;\n }\n`"
55118
- }
55119
- ],
55120
- "exports": [
55121
- {
55122
- "kind": "js",
55123
- "name": "WorkspaceManagerStyles",
55124
- "declaration": {
55125
- "name": "WorkspaceManagerStyles",
55126
- "module": "src/workspace-manager/workspace-manager.styles.ts"
55127
- }
55128
- }
55129
- ]
55130
- },
55131
- {
55132
- "kind": "javascript-module",
55133
- "path": "src/workspace-manager/workspace-manager.template.ts",
55134
- "declarations": [
55135
- {
55136
- "kind": "variable",
55137
- "name": "WORKSPACE_DESCRIPTION_MAX",
55138
- "type": {
55139
- "text": "number"
54439
+ "kind": "function",
54440
+ "name": "validateGroups",
54441
+ "return": {
54442
+ "type": {
54443
+ "text": "GroupsValidationResult"
54444
+ }
55140
54445
  },
55141
- "default": "200"
55142
- },
55143
- {
55144
- "kind": "variable",
55145
- "name": "WorkspaceManagerTemplate",
55146
- "default": "html<WorkspaceManager>`\n <div class=\"workspace-manager\">\n <rapid-button @click=${(x) => x.openSaveDialog()}>\n <rapid-icon name=\"download\"></rapid-icon>\n Save Workspace\n </rapid-button>\n <rapid-button @click=${(x) => x.openLoadDialog()}>\n <rapid-icon name=\"upload\"></rapid-icon>\n Load Workspace\n </rapid-button>\n </div>\n <rapid-modal ${ref('saveModal')}>\n <h2 slot=\"top\">Save Workspace</h2>\n <div class=\"dialog-content\">\n <div class=\"save-mode-selector\">\n <rapid-segmented-control value=\"${sync((x) => x.saveMode)}\">\n <rapid-segmented-item value=\"create\">Create</rapid-segmented-item>\n <rapid-segmented-item value=\"overwrite\">Overwrite</rapid-segmented-item>\n ${when(\n (x) => x.canShareWorkspace,\n html<WorkspaceManager>`\n <rapid-segmented-item value=\"shared\">Share</rapid-segmented-item>\n `,\n )}\n </rapid-segmented-control>\n </div>\n ${when(\n (x) => x.saveMode === 'create',\n html<WorkspaceManager>`\n <rapid-label>Workspace Name:</rapid-label>\n <rapid-text-field\n class=\"save-field\"\n :value=${(x) => x.workspaceName}\n @input=${(x, c) => (x.workspaceName = (c.event.target as HTMLInputElement).value)}\n placeholder=\"Enter workspace name\"\n ></rapid-text-field>\n <rapid-label>\n Description (optional, max ${WORKSPACE_DESCRIPTION_MAX} characters):\n </rapid-label>\n <textarea\n class=\"save-field workspace-description-input\"\n :value=${(x) => x.workspaceDescription}\n @input=${(x, c) =>\n x.updateWorkspaceDescription((c.event.target as HTMLTextAreaElement).value)}\n placeholder=\"Add a description for this workspace\"\n rows=\"3\"\n ></textarea>\n ${when(\n (x) => x.workspaceName && x.isWorkspaceExisting(x.workspaceName),\n html`\n <div class=\"warning-message\">\n <rapid-icon name=\"triangle-exclamation\"></rapid-icon>\n A workspace with this name already exists. Use \"Overwrite Existing Workspace\" to\n replace it.\n </div>\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.saveMode === 'overwrite',\n html<WorkspaceManager>`\n ${when(\n (x) => x.savedWorkspaces.length === 0,\n html`\n <div class=\"empty-state\">No saved workspaces to overwrite</div>\n `,\n )}\n <rapid-label>Select Workspace to Overwrite:</rapid-label>\n <rapid-radio-group\n class=\"workspace-list\"\n value=${sync((x) => x.selectedWorkspaceToOverwrite)}\n orientation=\"vertical\"\n >\n ${repeat(\n (x) => x.savedWorkspaces,\n html<SavedWorkspace>`\n <rapid-radio value=${(x) => x.name} class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(x) => x.name}</div>\n <div class=\"workspace-date\">\n Saved: ${(x) => new Date(x.savedAt).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SavedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n </rapid-radio>\n `,\n )}\n </rapid-radio-group>\n <rapid-label>Description (optional):</rapid-label>\n <textarea\n class=\"save-field workspace-description-input\"\n :value=${(x) => x.workspaceDescription}\n @input=${(x, c) =>\n x.updateWorkspaceDescription((c.event.target as HTMLTextAreaElement).value)}\n placeholder=\"Add a description for this workspace\"\n rows=\"3\"\n ></textarea>\n <div class=\"warning-message\">\n <rapid-icon name=\"triangle-exclamation\"></rapid-icon>\n This will permanently replace the selected workspace. This action cannot be undone.\n </div>\n `,\n )}\n ${when(\n (x) => x.saveMode === 'shared',\n html<WorkspaceManager>`\n <h3>Share existing workspace:</h3>\n ${whenElse(\n (x) => x.savedWorkspaces.length === 0,\n html`\n <div class=\"empty-state\">No saved workspaces to share</div>\n `,\n html<WorkspaceManager>`\n <div class=\"workspace-list\">\n ${repeat(\n (x) => x.savedWorkspaces,\n html<SavedWorkspace>`\n <div class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(w) => w.name}</div>\n <div class=\"workspace-date\">\n Saved: ${(w) => new Date(w.savedAt).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SavedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n <div class=\"button-group\">\n <rapid-button\n appearance=\"primary\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.shareExistingWorkspace(w.name)}\n >\n Share\n </rapid-button>\n </div>\n </div>\n `,\n )}\n </div>\n `,\n )}\n <h3>My Shared Workspaces</h3>\n ${whenElse(\n (x) =>\n x.sharedWorkspaces.filter((w) => w.userName === x.auth?.loggedUserResult?.username)\n .length === 0,\n html`\n <div class=\"empty-state\">You have not shared any workspaces</div>\n `,\n html<WorkspaceManager>`\n <div class=\"workspace-list\">\n ${repeat(\n (x) =>\n x.sharedWorkspaces.filter(\n (w) => w.userName === x.auth?.loggedUserResult?.username,\n ),\n html<SharedWorkspace>`\n <div class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(w) => w.name}</div>\n <div class=\"workspace-date\">\n Shared on\n ${(w) => new Date((w.modifiedOn || w.createdOn) as any).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SharedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n <div class=\"button-group\">\n <rapid-button\n appearance=\"primary\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.modifySharedWorkspace(w)}\n >\n Save\n </rapid-button>\n <rapid-button\n appearance=\"danger\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.confirmDeleteSharedWorkspace(w)}\n >\n Delete\n </rapid-button>\n </div>\n </div>\n `,\n )}\n </div>\n `,\n )}\n `,\n )}\n <div class=\"button-group\">\n <rapid-button\n @click=${(x) => x.saveWorkspace()}\n appearance=\"primary\"\n ?disabled=${(x) =>\n (x.saveMode === 'create' && !x.workspaceName.trim()) ||\n (x.saveMode === 'overwrite' && !x.selectedWorkspaceToOverwrite) ||\n x.saveMode === 'shared' ||\n (x.workspaceName && x.isWorkspaceExisting(x.workspaceName))}\n >\n ${(x) =>\n x.saveMode === 'create' ? 'Create' : x.saveMode === 'overwrite' ? 'Overwrite' : 'Save'}\n </rapid-button>\n <rapid-button appearance=\"outline\" @click=${(x) => x.closeSaveDialog()}>\n Cancel\n </rapid-button>\n </div>\n <div class=\"workspace-dialog-boundary\" ${ref('sharedWorkspaceDialogBoundary')}></div>\n </div>\n </rapid-modal>\n <rapid-modal ${ref('loadModal')}>\n <h2 slot=\"top\">Load Workspace</h2>\n <div class=\"dialog-content\">\n ${when(\n (x) => x.applyingWorkspace || x.isLoading,\n html`\n <div class=\"loading-container\">\n <div>Loading...</div>\n </div>\n `,\n )}\n ${when(\n (x) => !x.applyingWorkspace,\n html<WorkspaceManager>`\n <rapid-segmented-control value=\"${sync((x) => x.loadMode)}\">\n <rapid-segmented-item value=\"MY\">My Workspaces</rapid-segmented-item>\n <rapid-segmented-item value=\"SHARED\">Shared Workspaces</rapid-segmented-item>\n </rapid-segmented-control>\n ${when(\n (x) => x.loadMode === 'MY',\n html`\n <div class=\"workspace-list\">\n ${repeat(\n (x) => x.savedWorkspaces,\n html<SavedWorkspace>`\n <div class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(w) => w.name}</div>\n <div class=\"workspace-date\">\n Saved: ${(w) => new Date(w.savedAt).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SavedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n <div class=\"button-group\">\n <rapid-button\n appearance=\"primary\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.loadWorkspace(w.name)}\n >\n Load\n </rapid-button>\n <rapid-button\n appearance=\"danger\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.confirmDeleteWorkspace(w.name)}\n >\n Delete\n </rapid-button>\n </div>\n </div>\n `,\n )}\n ${when(\n (x) => x.savedWorkspaces.length === 0,\n html`\n <div class=\"empty-state\">No saved workspaces found</div>\n `,\n )}\n </div>\n `,\n )}\n ${when(\n (x) => x.loadMode === 'SHARED',\n html`\n <div class=\"workspace-section\">\n <div class=\"workspace-list\">\n ${repeat(\n (x) => x.sharedWorkspaces,\n html<SharedWorkspace>`\n <div class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(w) => w.name}</div>\n <div class=\"workspace-date\">\n Shared by ${(w) => w.userName} ·\n ${(w) =>\n new Date((w.modifiedOn || w.createdOn) as any).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SharedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n <div class=\"button-group\">\n <rapid-button\n appearance=\"primary\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.loadSharedWorkspace(w)}\n >\n Load\n </rapid-button>\n </div>\n </div>\n `,\n )}\n </div>\n ${when(\n (x) => x.sharedWorkspaces.length === 0,\n html`\n <div class=\"empty-state\">No shared workspaces available</div>\n `,\n )}\n </div>\n `,\n )}\n `,\n )}\n <div class=\"button-group\">\n <rapid-button appearance=\"outline\" @click=${(x) => x.closeLoadDialog()}>Close</rapid-button>\n </div>\n </div>\n <div class=\"workspace-dialog-boundary\" ${ref('dialogBoundary')}></div>\n </rapid-modal>\n`"
55147
- }
55148
- ],
55149
- "exports": [
55150
- {
55151
- "kind": "js",
55152
- "name": "WORKSPACE_DESCRIPTION_MAX",
55153
- "declaration": {
55154
- "name": "WORKSPACE_DESCRIPTION_MAX",
55155
- "module": "src/workspace-manager/workspace-manager.template.ts"
55156
- }
55157
- },
55158
- {
55159
- "kind": "js",
55160
- "name": "WorkspaceManagerTemplate",
55161
- "declaration": {
55162
- "name": "WorkspaceManagerTemplate",
55163
- "module": "src/workspace-manager/workspace-manager.template.ts"
55164
- }
55165
- }
55166
- ]
55167
- },
55168
- {
55169
- "kind": "javascript-module",
55170
- "path": "src/workspace-manager/workspace-manager.ts",
55171
- "declarations": [
55172
- {
55173
- "kind": "class",
55174
- "description": "",
55175
- "name": "WorkspaceManager",
55176
- "members": [
55177
- {
55178
- "kind": "field",
55179
- "name": "workspaceName",
55180
- "type": {
55181
- "text": "string"
55182
- },
55183
- "default": "''"
55184
- },
55185
- {
55186
- "kind": "field",
55187
- "name": "workspaceDescription",
55188
- "type": {
55189
- "text": "string"
55190
- },
55191
- "default": "''"
55192
- },
55193
- {
55194
- "kind": "field",
55195
- "name": "savedWorkspaces",
55196
- "type": {
55197
- "text": "SavedWorkspace[]"
55198
- },
55199
- "default": "[]"
55200
- },
55201
- {
55202
- "kind": "field",
55203
- "name": "sharedWorkspaces",
55204
- "type": {
55205
- "text": "SharedWorkspace[]"
55206
- },
55207
- "default": "[]"
55208
- },
55209
- {
55210
- "kind": "field",
55211
- "name": "isLoading",
55212
- "type": {
55213
- "text": "boolean"
55214
- },
55215
- "default": "false"
55216
- },
55217
- {
55218
- "kind": "field",
55219
- "name": "applyingWorkspace",
55220
- "type": {
55221
- "text": "boolean"
55222
- },
55223
- "default": "false"
55224
- },
55225
- {
55226
- "kind": "field",
55227
- "name": "loadMode",
55228
- "type": {
55229
- "text": "LoadMode"
55230
- },
55231
- "default": "'MY'"
55232
- },
55233
- {
55234
- "kind": "field",
55235
- "name": "saveModal",
55236
- "type": {
55237
- "text": "Modal"
55238
- }
55239
- },
55240
- {
55241
- "kind": "field",
55242
- "name": "loadModal",
55243
- "type": {
55244
- "text": "Modal"
55245
- }
55246
- },
55247
- {
55248
- "kind": "field",
55249
- "name": "saveMode",
55250
- "type": {
55251
- "text": "'create' | 'overwrite' | 'shared'"
55252
- },
55253
- "default": "'create'"
55254
- },
55255
- {
55256
- "kind": "field",
55257
- "name": "selectedWorkspaceToOverwrite",
55258
- "type": {
55259
- "text": "string"
55260
- },
55261
- "default": "''"
55262
- },
55263
- {
55264
- "kind": "field",
55265
- "name": "workspaceToShare",
55266
- "type": {
55267
- "text": "string"
55268
- },
55269
- "default": "''"
55270
- },
55271
- {
55272
- "kind": "field",
55273
- "name": "dialogBoundary",
55274
- "type": {
55275
- "text": "HTMLElement"
55276
- }
55277
- },
55278
- {
55279
- "kind": "field",
55280
- "name": "sharedWorkspaceDialogBoundary",
55281
- "type": {
55282
- "text": "HTMLElement"
55283
- }
55284
- },
55285
- {
55286
- "kind": "field",
55287
- "name": "layoutRegistry",
55288
- "type": {
55289
- "text": "LayoutRegistry"
55290
- }
55291
- },
55292
- {
55293
- "kind": "field",
55294
- "name": "gridRegistry",
55295
- "type": {
55296
- "text": "GridRegistry"
55297
- }
55298
- },
55299
- {
55300
- "kind": "field",
55301
- "name": "filterRegistry",
55302
- "type": {
55303
- "text": "FilterRegistry"
55304
- }
55305
- },
55306
- {
55307
- "kind": "field",
55308
- "name": "workspaceState",
55309
- "type": {
55310
- "text": "WorkspaceState"
55311
- }
55312
- },
55313
- {
55314
- "kind": "field",
55315
- "name": "connect",
55316
- "type": {
55317
- "text": "Connect"
55318
- }
55319
- },
55320
- {
55321
- "kind": "field",
55322
- "name": "auth",
55323
- "type": {
55324
- "text": "Auth"
55325
- }
55326
- },
55327
- {
55328
- "kind": "field",
55329
- "name": "canShareWorkspace",
55330
- "type": {
55331
- "text": "boolean"
55332
- }
55333
- },
55334
- {
55335
- "kind": "method",
55336
- "name": "sanitizeDescription",
55337
- "privacy": "private",
55338
- "return": {
55339
- "type": {
55340
- "text": "string"
55341
- }
55342
- },
55343
- "parameters": [
55344
- {
55345
- "name": "input",
55346
- "type": {
55347
- "text": "string"
55348
- }
55349
- }
55350
- ]
55351
- },
55352
- {
55353
- "kind": "method",
55354
- "name": "updateWorkspaceDescription",
55355
- "return": {
55356
- "type": {
55357
- "text": "void"
55358
- }
55359
- },
55360
- "parameters": [
55361
- {
55362
- "name": "raw",
55363
- "type": {
55364
- "text": "string"
55365
- }
55366
- }
55367
- ]
55368
- },
55369
- {
55370
- "kind": "method",
55371
- "name": "setDescriptionFromSelectedWorkspace",
55372
- "privacy": "private",
55373
- "return": {
55374
- "type": {
55375
- "text": "void"
55376
- }
55377
- }
55378
- },
55379
- {
55380
- "kind": "method",
55381
- "name": "refreshSavedWorkspaces",
55382
- "return": {
55383
- "type": {
55384
- "text": "Promise<void>"
55385
- }
55386
- }
55387
- },
55388
- {
55389
- "kind": "method",
55390
- "name": "refreshSharedWorkspaces",
55391
- "return": {
55392
- "type": {
55393
- "text": "Promise<void>"
55394
- }
55395
- }
55396
- },
55397
- {
55398
- "kind": "method",
55399
- "name": "notifyError",
55400
- "privacy": "private",
55401
- "return": {
55402
- "type": {
55403
- "text": "void"
55404
- }
55405
- },
55406
- "parameters": [
55407
- {
55408
- "name": "body",
55409
- "default": "'Error'"
55410
- }
55411
- ]
55412
- },
55413
- {
55414
- "kind": "method",
55415
- "name": "saveWorkspace",
55416
- "return": {
55417
- "type": {
55418
- "text": "Promise<void>"
55419
- }
55420
- }
55421
- },
55422
- {
55423
- "kind": "method",
55424
- "name": "applyWorkspace",
55425
- "privacy": "private",
55426
- "return": {
55427
- "type": {
55428
- "text": "Promise<void>"
55429
- }
55430
- },
55431
- "parameters": [
55432
- {
55433
- "name": "workspace",
55434
- "type": {
55435
- "text": "SavedWorkspace"
55436
- }
55437
- }
55438
- ]
55439
- },
55440
- {
55441
- "kind": "method",
55442
- "name": "loadWorkspace",
55443
- "return": {
55444
- "type": {
55445
- "text": "Promise<void>"
55446
- }
55447
- },
55448
- "parameters": [
55449
- {
55450
- "name": "workspaceName",
55451
- "type": {
55452
- "text": "string"
55453
- }
55454
- }
55455
- ]
55456
- },
55457
- {
55458
- "kind": "method",
55459
- "name": "requestSharedWorkspace",
55460
- "privacy": "private",
55461
- "return": {
55462
- "type": {
55463
- "text": "Promise<any[]>"
55464
- }
55465
- },
55466
- "parameters": [
55467
- {
55468
- "name": "SHARED_WORKSPACE_ID",
55469
- "type": {
55470
- "text": "string"
55471
- }
55472
- }
55473
- ]
55474
- },
55475
- {
55476
- "kind": "method",
55477
- "name": "loadSharedWorkspace",
55478
- "return": {
55479
- "type": {
55480
- "text": "Promise<void>"
55481
- }
55482
- },
55483
- "parameters": [
55484
- {
55485
- "name": "shared",
55486
- "type": {
55487
- "text": "{\n id: string;\n name: string;\n userName: string;\n createdOn?: string | number;\n modifiedOn?: string | number;\n data: string;\n }"
55488
- }
55489
- }
55490
- ]
55491
- },
55492
- {
55493
- "kind": "method",
55494
- "name": "deleteWorkspace",
55495
- "return": {
55496
- "type": {
55497
- "text": "Promise<void>"
55498
- }
55499
- },
55500
- "parameters": [
55501
- {
55502
- "name": "workspaceName",
55503
- "type": {
55504
- "text": "string"
55505
- }
55506
- }
55507
- ]
55508
- },
55509
- {
55510
- "kind": "method",
55511
- "name": "showDeleteConfirmation",
55512
- "privacy": "private",
55513
- "return": {
55514
- "type": {
55515
- "text": "void"
55516
- }
55517
- },
55518
- "parameters": [
55519
- {
55520
- "name": "title",
55521
- "type": {
55522
- "text": "string"
55523
- }
55524
- },
55525
- {
55526
- "name": "body",
55527
- "type": {
55528
- "text": "string"
55529
- }
55530
- },
55531
- {
55532
- "name": "actionFunction",
55533
- "type": {
55534
- "text": "() => void"
55535
- }
55536
- },
55537
- {
55538
- "name": "dialogBoundary",
55539
- "type": {
55540
- "text": "HTMLElement"
55541
- }
55542
- }
55543
- ]
55544
- },
55545
- {
55546
- "kind": "method",
55547
- "name": "confirmDeleteWorkspace",
55548
- "return": {
55549
- "type": {
55550
- "text": "void"
55551
- }
55552
- },
55553
- "parameters": [
55554
- {
55555
- "name": "workspaceName",
55556
- "type": {
55557
- "text": "string"
55558
- }
55559
- }
55560
- ]
55561
- },
55562
- {
55563
- "kind": "method",
55564
- "name": "modifySharedWorkspace",
55565
- "return": {
55566
- "type": {
55567
- "text": "Promise<void>"
55568
- }
55569
- },
55570
- "parameters": [
55571
- {
55572
- "name": "sharedWorkspace",
55573
- "type": {
55574
- "text": "SharedWorkspace"
55575
- }
55576
- }
55577
- ]
55578
- },
55579
- {
55580
- "kind": "method",
55581
- "name": "deleteSharedWorkspace",
55582
- "return": {
55583
- "type": {
55584
- "text": "Promise<void>"
55585
- }
55586
- },
55587
- "parameters": [
55588
- {
55589
- "name": "sharedWorkspace",
55590
- "type": {
55591
- "text": "SharedWorkspace"
55592
- }
55593
- }
55594
- ]
55595
- },
55596
- {
55597
- "kind": "method",
55598
- "name": "confirmDeleteSharedWorkspace",
55599
- "return": {
55600
- "type": {
55601
- "text": "void"
55602
- }
55603
- },
55604
- "parameters": [
55605
- {
55606
- "name": "sharedWorkspace",
55607
- "type": {
55608
- "text": "SharedWorkspace"
55609
- }
55610
- }
55611
- ]
55612
- },
55613
- {
55614
- "kind": "method",
55615
- "name": "shareExistingWorkspace",
55616
- "return": {
55617
- "type": {
55618
- "text": "Promise<void>"
55619
- }
55620
- },
55621
- "parameters": [
55622
- {
55623
- "name": "workspaceName",
55624
- "type": {
55625
- "text": "string"
55626
- }
55627
- }
55628
- ]
55629
- },
55630
- {
55631
- "kind": "method",
55632
- "name": "openSaveDialog",
55633
- "return": {
55634
- "type": {
55635
- "text": "Promise<void>"
55636
- }
55637
- }
55638
- },
55639
- {
55640
- "kind": "method",
55641
- "name": "isWorkspaceExisting",
55642
- "return": {
55643
- "type": {
55644
- "text": "boolean"
55645
- }
55646
- },
55647
- "parameters": [
55648
- {
55649
- "name": "workspaceName",
55650
- "type": {
55651
- "text": "string"
55652
- }
55653
- }
55654
- ]
55655
- },
55656
- {
55657
- "kind": "method",
55658
- "name": "saveModeChanged",
55659
- "return": {
55660
- "type": {
55661
- "text": "void"
55662
- }
55663
- },
55664
- "parameters": [
55665
- {
55666
- "name": "oldValue",
55667
- "type": {
55668
- "text": "string"
55669
- }
55670
- },
55671
- {
55672
- "name": "newValue",
55673
- "type": {
55674
- "text": "string"
55675
- }
55676
- }
55677
- ]
55678
- },
55679
- {
55680
- "kind": "method",
55681
- "name": "selectedWorkspaceToOverwriteChanged",
55682
- "return": {
55683
- "type": {
55684
- "text": "void"
55685
- }
55686
- },
55687
- "parameters": [
55688
- {
55689
- "name": "oldValue",
55690
- "type": {
55691
- "text": "string"
55692
- }
55693
- },
55694
- {
55695
- "name": "newValue",
55696
- "type": {
55697
- "text": "string"
55698
- }
55699
- }
55700
- ]
55701
- },
55702
- {
55703
- "kind": "method",
55704
- "name": "openLoadDialog",
55705
- "return": {
55706
- "type": {
55707
- "text": "void"
55708
- }
55709
- }
55710
- },
55711
- {
55712
- "kind": "method",
55713
- "name": "closeSaveDialog",
55714
- "return": {
55715
- "type": {
55716
- "text": "void"
55717
- }
55718
- }
55719
- },
55720
- {
55721
- "kind": "method",
55722
- "name": "closeLoadDialog",
55723
- "return": {
55724
- "type": {
55725
- "text": "void"
55726
- }
55727
- }
55728
- },
55729
- {
55730
- "kind": "field",
55731
- "name": "_presentation",
55732
- "type": {
55733
- "text": "ComponentPresentation | null | undefined"
55734
- },
55735
- "privacy": "private",
55736
- "default": "void 0",
55737
- "inheritedFrom": {
55738
- "name": "FoundationElement",
55739
- "module": "src/foundation-element/foundation-element.ts"
55740
- }
55741
- },
55742
- {
55743
- "kind": "field",
55744
- "name": "$presentation",
55745
- "type": {
55746
- "text": "ComponentPresentation | null"
55747
- },
55748
- "privacy": "public",
55749
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
55750
- "inheritedFrom": {
55751
- "name": "FoundationElement",
55752
- "module": "src/foundation-element/foundation-element.ts"
55753
- }
55754
- },
54446
+ "parameters": [
55755
54447
  {
55756
- "kind": "field",
55757
- "name": "template",
54448
+ "name": "groups",
55758
54449
  "type": {
55759
- "text": "ElementViewTemplate | void | null"
55760
- },
55761
- "privacy": "public",
55762
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
55763
- "inheritedFrom": {
55764
- "name": "FoundationElement",
55765
- "module": "src/foundation-element/foundation-element.ts"
55766
- }
55767
- },
55768
- {
55769
- "kind": "method",
55770
- "name": "templateChanged",
55771
- "privacy": "protected",
55772
- "return": {
55773
- "type": {
55774
- "text": "void"
55775
- }
55776
- },
55777
- "inheritedFrom": {
55778
- "name": "FoundationElement",
55779
- "module": "src/foundation-element/foundation-element.ts"
54450
+ "text": "CriteriaGroup[]"
55780
54451
  }
55781
54452
  },
55782
54453
  {
55783
- "kind": "field",
55784
- "name": "styles",
54454
+ "name": "fieldMetadata",
55785
54455
  "type": {
55786
- "text": "ElementStyles | void | null"
55787
- },
55788
- "privacy": "public",
55789
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
55790
- "inheritedFrom": {
55791
- "name": "FoundationElement",
55792
- "module": "src/foundation-element/foundation-element.ts"
55793
- }
55794
- },
55795
- {
55796
- "kind": "method",
55797
- "name": "stylesChanged",
55798
- "privacy": "protected",
55799
- "return": {
55800
- "type": {
55801
- "text": "void"
55802
- }
55803
- },
55804
- "inheritedFrom": {
55805
- "name": "FoundationElement",
55806
- "module": "src/foundation-element/foundation-element.ts"
55807
- }
55808
- },
55809
- {
55810
- "kind": "method",
55811
- "name": "compose",
55812
- "privacy": "public",
55813
- "static": true,
55814
- "return": {
55815
- "type": {
55816
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
55817
- }
55818
- },
55819
- "parameters": [
55820
- {
55821
- "name": "this",
55822
- "type": {
55823
- "text": "K"
55824
- }
55825
- },
55826
- {
55827
- "name": "elementDefinition",
55828
- "type": {
55829
- "text": "T"
55830
- },
55831
- "description": "The definition of the element to create the registry\nfunction for."
55832
- }
55833
- ],
55834
- "description": "Defines an element registry function with a set of element definition defaults.",
55835
- "inheritedFrom": {
55836
- "name": "FoundationElement",
55837
- "module": "src/foundation-element/foundation-element.ts"
54456
+ "text": "MetadataDetail[] | string[]"
55838
54457
  }
55839
54458
  }
55840
54459
  ],
55841
- "superclass": {
55842
- "name": "FoundationElement",
55843
- "package": "@microsoft/fast-foundation"
55844
- }
54460
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
55845
54461
  }
55846
54462
  ],
55847
54463
  "exports": [
55848
54464
  {
55849
54465
  "kind": "js",
55850
- "name": "WorkspaceManager",
54466
+ "name": "validateClauses",
55851
54467
  "declaration": {
55852
- "name": "WorkspaceManager",
55853
- "module": "src/workspace-manager/workspace-manager.ts"
54468
+ "name": "validateClauses",
54469
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
55854
54470
  }
55855
54471
  },
55856
54472
  {
55857
- "kind": "custom-element-definition",
55858
- "name": "workspace-manager",
54473
+ "kind": "js",
54474
+ "name": "validateGroups",
55859
54475
  "declaration": {
55860
- "name": "WorkspaceManager",
55861
- "module": "src/workspace-manager/workspace-manager.ts"
54476
+ "name": "validateGroups",
54477
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
55862
54478
  }
55863
54479
  }
55864
54480
  ]
@@ -57235,470 +55851,6 @@
57235
55851
  "declarations": [],
57236
55852
  "exports": []
57237
55853
  },
57238
- {
57239
- "kind": "javascript-module",
57240
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57241
- "declarations": [],
57242
- "exports": []
57243
- },
57244
- {
57245
- "kind": "javascript-module",
57246
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57247
- "declarations": [
57248
- {
57249
- "kind": "function",
57250
- "name": "groupsToCriteria",
57251
- "return": {
57252
- "type": {
57253
- "text": "string"
57254
- }
57255
- },
57256
- "parameters": [
57257
- {
57258
- "name": "groups",
57259
- "type": {
57260
- "text": "CriteriaGroup[]"
57261
- }
57262
- }
57263
- ],
57264
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
57265
- },
57266
- {
57267
- "kind": "variable",
57268
- "name": "STRING_OPERATORS",
57269
- "type": {
57270
- "text": "CriteriaOperator[]"
57271
- },
57272
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57273
- },
57274
- {
57275
- "kind": "variable",
57276
- "name": "NUMERIC_OPERATORS",
57277
- "type": {
57278
- "text": "CriteriaOperator[]"
57279
- },
57280
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57281
- },
57282
- {
57283
- "kind": "variable",
57284
- "name": "DATE_OPERATORS",
57285
- "type": {
57286
- "text": "CriteriaOperator[]"
57287
- },
57288
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57289
- },
57290
- {
57291
- "kind": "variable",
57292
- "name": "DATETIME_OPERATORS",
57293
- "type": {
57294
- "text": "CriteriaOperator[]"
57295
- },
57296
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57297
- }
57298
- ],
57299
- "exports": [
57300
- {
57301
- "kind": "js",
57302
- "name": "groupsToCriteria",
57303
- "declaration": {
57304
- "name": "groupsToCriteria",
57305
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57306
- }
57307
- },
57308
- {
57309
- "kind": "js",
57310
- "name": "STRING_OPERATORS",
57311
- "declaration": {
57312
- "name": "STRING_OPERATORS",
57313
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57314
- }
57315
- },
57316
- {
57317
- "kind": "js",
57318
- "name": "NUMERIC_OPERATORS",
57319
- "declaration": {
57320
- "name": "NUMERIC_OPERATORS",
57321
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57322
- }
57323
- },
57324
- {
57325
- "kind": "js",
57326
- "name": "DATE_OPERATORS",
57327
- "declaration": {
57328
- "name": "DATE_OPERATORS",
57329
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57330
- }
57331
- },
57332
- {
57333
- "kind": "js",
57334
- "name": "DATETIME_OPERATORS",
57335
- "declaration": {
57336
- "name": "DATETIME_OPERATORS",
57337
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57338
- }
57339
- }
57340
- ]
57341
- },
57342
- {
57343
- "kind": "javascript-module",
57344
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
57345
- "declarations": [
57346
- {
57347
- "kind": "function",
57348
- "name": "validateClauses",
57349
- "return": {
57350
- "type": {
57351
- "text": "ValidationResult"
57352
- }
57353
- },
57354
- "parameters": [
57355
- {
57356
- "name": "clauses",
57357
- "type": {
57358
- "text": "CriteriaClause[]"
57359
- }
57360
- },
57361
- {
57362
- "name": "fieldMetadata",
57363
- "type": {
57364
- "text": "MetadataDetail[] | string[]"
57365
- }
57366
- }
57367
- ]
57368
- },
57369
- {
57370
- "kind": "function",
57371
- "name": "validateGroups",
57372
- "return": {
57373
- "type": {
57374
- "text": "GroupsValidationResult"
57375
- }
57376
- },
57377
- "parameters": [
57378
- {
57379
- "name": "groups",
57380
- "type": {
57381
- "text": "CriteriaGroup[]"
57382
- }
57383
- },
57384
- {
57385
- "name": "fieldMetadata",
57386
- "type": {
57387
- "text": "MetadataDetail[] | string[]"
57388
- }
57389
- }
57390
- ],
57391
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57392
- }
57393
- ],
57394
- "exports": [
57395
- {
57396
- "kind": "js",
57397
- "name": "validateClauses",
57398
- "declaration": {
57399
- "name": "validateClauses",
57400
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57401
- }
57402
- },
57403
- {
57404
- "kind": "js",
57405
- "name": "validateGroups",
57406
- "declaration": {
57407
- "name": "validateGroups",
57408
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57409
- }
57410
- }
57411
- ]
57412
- },
57413
- {
57414
- "kind": "javascript-module",
57415
- "path": "src/components/grid-register/grid-register.template.ts",
57416
- "declarations": [
57417
- {
57418
- "kind": "variable",
57419
- "name": "GridRegisterTemplate",
57420
- "type": {
57421
- "text": "ViewTemplate<GridRegister>"
57422
- },
57423
- "default": "html`\n <slot></slot>\n`"
57424
- }
57425
- ],
57426
- "exports": [
57427
- {
57428
- "kind": "js",
57429
- "name": "GridRegisterTemplate",
57430
- "declaration": {
57431
- "name": "GridRegisterTemplate",
57432
- "module": "src/components/grid-register/grid-register.template.ts"
57433
- }
57434
- }
57435
- ]
57436
- },
57437
- {
57438
- "kind": "javascript-module",
57439
- "path": "src/components/grid-register/grid-register.ts",
57440
- "declarations": [
57441
- {
57442
- "kind": "class",
57443
- "description": "",
57444
- "name": "GridRegister",
57445
- "members": [
57446
- {
57447
- "kind": "field",
57448
- "name": "gridKey",
57449
- "type": {
57450
- "text": "string"
57451
- }
57452
- },
57453
- {
57454
- "kind": "field",
57455
- "name": "gridRegistry",
57456
- "type": {
57457
- "text": "GridRegistry"
57458
- }
57459
- },
57460
- {
57461
- "kind": "field",
57462
- "name": "workspaceState",
57463
- "type": {
57464
- "text": "WorkspaceState"
57465
- }
57466
- },
57467
- {
57468
- "kind": "field",
57469
- "name": "gridElement",
57470
- "type": {
57471
- "text": "HTMLElement | null"
57472
- },
57473
- "privacy": "private",
57474
- "default": "null"
57475
- },
57476
- {
57477
- "kind": "field",
57478
- "name": "gridApi",
57479
- "type": {
57480
- "text": "GridApi | null"
57481
- },
57482
- "privacy": "private",
57483
- "default": "null"
57484
- },
57485
- {
57486
- "kind": "field",
57487
- "name": "columnApi",
57488
- "type": {
57489
- "text": "ColumnApi | null"
57490
- },
57491
- "privacy": "private",
57492
- "default": "null"
57493
- },
57494
- {
57495
- "kind": "field",
57496
- "name": "workspaceSettingsApplied",
57497
- "type": {
57498
- "text": "boolean"
57499
- },
57500
- "privacy": "private",
57501
- "default": "false"
57502
- },
57503
- {
57504
- "kind": "method",
57505
- "name": "findAndRegisterGrid",
57506
- "privacy": "private",
57507
- "return": {
57508
- "type": {
57509
- "text": "void"
57510
- }
57511
- }
57512
- },
57513
- {
57514
- "kind": "field",
57515
- "name": "handleGridReady",
57516
- "privacy": "private",
57517
- "readonly": true
57518
- },
57519
- {
57520
- "kind": "method",
57521
- "name": "attachToGridApis",
57522
- "privacy": "private",
57523
- "return": {
57524
- "type": {
57525
- "text": "void"
57526
- }
57527
- }
57528
- },
57529
- {
57530
- "kind": "method",
57531
- "name": "detachFromGridApis",
57532
- "privacy": "private",
57533
- "return": {
57534
- "type": {
57535
- "text": "void"
57536
- }
57537
- }
57538
- },
57539
- {
57540
- "kind": "method",
57541
- "name": "loadWorkspaceSettings",
57542
- "privacy": "private",
57543
- "return": {
57544
- "type": {
57545
- "text": "Promise<void>"
57546
- }
57547
- },
57548
- "parameters": [
57549
- {
57550
- "name": "options",
57551
- "optional": true,
57552
- "type": {
57553
- "text": "{ applyColumns?: boolean }"
57554
- }
57555
- }
57556
- ]
57557
- },
57558
- {
57559
- "kind": "method",
57560
- "name": "loadWorkspaceColumnState",
57561
- "privacy": "private",
57562
- "return": {
57563
- "type": {
57564
- "text": "Promise<void>"
57565
- }
57566
- }
57567
- }
57568
- ],
57569
- "attributes": [
57570
- {
57571
- "name": "grid-key",
57572
- "type": {
57573
- "text": "string"
57574
- },
57575
- "fieldName": "gridKey"
57576
- }
57577
- ],
57578
- "superclass": {
57579
- "name": "HTMLElement"
57580
- },
57581
- "customElement": true
57582
- }
57583
- ],
57584
- "exports": [
57585
- {
57586
- "kind": "js",
57587
- "name": "GridRegister",
57588
- "declaration": {
57589
- "name": "GridRegister",
57590
- "module": "src/components/grid-register/grid-register.ts"
57591
- }
57592
- },
57593
- {
57594
- "kind": "custom-element-definition",
57595
- "declaration": {
57596
- "name": "GridRegister",
57597
- "module": "src/components/grid-register/grid-register.ts"
57598
- }
57599
- }
57600
- ]
57601
- },
57602
- {
57603
- "kind": "javascript-module",
57604
- "path": "src/components/layout-wrapper/layout-wrapper.template.ts",
57605
- "declarations": [
57606
- {
57607
- "kind": "variable",
57608
- "name": "LayoutWrapperTemplate",
57609
- "type": {
57610
- "text": "ViewTemplate<LayoutWrapper>"
57611
- },
57612
- "default": "html`\n <slot></slot>\n`"
57613
- }
57614
- ],
57615
- "exports": [
57616
- {
57617
- "kind": "js",
57618
- "name": "LayoutWrapperTemplate",
57619
- "declaration": {
57620
- "name": "LayoutWrapperTemplate",
57621
- "module": "src/components/layout-wrapper/layout-wrapper.template.ts"
57622
- }
57623
- }
57624
- ]
57625
- },
57626
- {
57627
- "kind": "javascript-module",
57628
- "path": "src/components/layout-wrapper/layout-wrapper.ts",
57629
- "declarations": [
57630
- {
57631
- "kind": "class",
57632
- "description": "",
57633
- "name": "LayoutWrapper",
57634
- "members": [
57635
- {
57636
- "kind": "field",
57637
- "name": "layoutKey",
57638
- "type": {
57639
- "text": "string"
57640
- }
57641
- },
57642
- {
57643
- "kind": "field",
57644
- "name": "layoutRegistry",
57645
- "type": {
57646
- "text": "LayoutRegistry"
57647
- }
57648
- },
57649
- {
57650
- "kind": "field",
57651
- "name": "layoutElement",
57652
- "type": {
57653
- "text": "any | null"
57654
- },
57655
- "privacy": "private",
57656
- "default": "null"
57657
- },
57658
- {
57659
- "kind": "method",
57660
- "name": "findAndRegisterLayout",
57661
- "privacy": "private",
57662
- "return": {
57663
- "type": {
57664
- "text": "void"
57665
- }
57666
- }
57667
- }
57668
- ],
57669
- "attributes": [
57670
- {
57671
- "name": "layout-key",
57672
- "type": {
57673
- "text": "string"
57674
- },
57675
- "fieldName": "layoutKey"
57676
- }
57677
- ],
57678
- "superclass": {
57679
- "name": "HTMLElement"
57680
- },
57681
- "customElement": true
57682
- }
57683
- ],
57684
- "exports": [
57685
- {
57686
- "kind": "js",
57687
- "name": "LayoutWrapper",
57688
- "declaration": {
57689
- "name": "LayoutWrapper",
57690
- "module": "src/components/layout-wrapper/layout-wrapper.ts"
57691
- }
57692
- },
57693
- {
57694
- "kind": "custom-element-definition",
57695
- "declaration": {
57696
- "name": "LayoutWrapper",
57697
- "module": "src/components/layout-wrapper/layout-wrapper.ts"
57698
- }
57699
- }
57700
- ]
57701
- },
57702
55854
  {
57703
55855
  "kind": "javascript-module",
57704
55856
  "path": "src/environment-indicator/utils/configure.ts",