@genesislcap/foundation-ui 14.406.0-workspaces.1 → 14.406.0-workspaces.3
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 +896 -796
- package/dist/dts/index.d.ts +2 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/workspace-manager/workspace-manager.d.ts +4 -0
- package/dist/dts/workspace-manager/workspace-manager.d.ts.map +1 -1
- package/dist/dts/workspace-manager/workspace-manager.template.d.ts +1 -0
- package/dist/dts/workspace-manager/workspace-manager.template.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/workspace-manager/workspace-manager.js +36 -3
- package/dist/esm/workspace-manager/workspace-manager.template.js +13 -2
- package/package.json +19 -19
|
@@ -843,6 +843,22 @@
|
|
|
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
|
+
}
|
|
846
862
|
}
|
|
847
863
|
]
|
|
848
864
|
},
|
|
@@ -1289,11 +1305,34 @@
|
|
|
1289
1305
|
},
|
|
1290
1306
|
{
|
|
1291
1307
|
"kind": "javascript-module",
|
|
1292
|
-
"path": "src/
|
|
1308
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1293
1309
|
"declarations": [
|
|
1294
1310
|
{
|
|
1295
1311
|
"kind": "function",
|
|
1296
|
-
"name": "
|
|
1312
|
+
"name": "actionsMenuBaseStyles",
|
|
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
|
+
"kind": "function",
|
|
1335
|
+
"name": "foundationActionsMenuStyles",
|
|
1297
1336
|
"return": {
|
|
1298
1337
|
"type": {
|
|
1299
1338
|
"text": "ElementStyles"
|
|
@@ -1318,157 +1357,270 @@
|
|
|
1318
1357
|
"exports": [
|
|
1319
1358
|
{
|
|
1320
1359
|
"kind": "js",
|
|
1321
|
-
"name": "
|
|
1360
|
+
"name": "actionsMenuBaseStyles",
|
|
1322
1361
|
"declaration": {
|
|
1323
|
-
"name": "
|
|
1324
|
-
"module": "src/
|
|
1362
|
+
"name": "actionsMenuBaseStyles",
|
|
1363
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1364
|
+
}
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
"kind": "js",
|
|
1368
|
+
"name": "foundationActionsMenuStyles",
|
|
1369
|
+
"declaration": {
|
|
1370
|
+
"name": "foundationActionsMenuStyles",
|
|
1371
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1325
1372
|
}
|
|
1326
1373
|
}
|
|
1327
1374
|
]
|
|
1328
1375
|
},
|
|
1329
1376
|
{
|
|
1330
1377
|
"kind": "javascript-module",
|
|
1331
|
-
"path": "src/
|
|
1378
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1332
1379
|
"declarations": [
|
|
1333
1380
|
{
|
|
1334
1381
|
"kind": "function",
|
|
1335
|
-
"name": "
|
|
1336
|
-
"return": {
|
|
1337
|
-
"type": {
|
|
1338
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1339
|
-
}
|
|
1340
|
-
},
|
|
1382
|
+
"name": "menuTemplate",
|
|
1341
1383
|
"parameters": [
|
|
1342
1384
|
{
|
|
1343
|
-
"name": "
|
|
1385
|
+
"name": "prefix",
|
|
1344
1386
|
"type": {
|
|
1345
|
-
"text": "
|
|
1387
|
+
"text": "string"
|
|
1346
1388
|
}
|
|
1347
|
-
}
|
|
1389
|
+
}
|
|
1390
|
+
]
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
"kind": "function",
|
|
1394
|
+
"name": "singleOptionTemplate",
|
|
1395
|
+
"parameters": [
|
|
1348
1396
|
{
|
|
1349
|
-
"name": "
|
|
1397
|
+
"name": "prefix",
|
|
1350
1398
|
"type": {
|
|
1351
|
-
"text": "
|
|
1399
|
+
"text": "string"
|
|
1352
1400
|
}
|
|
1353
1401
|
}
|
|
1354
1402
|
]
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
"kind": "variable",
|
|
1406
|
+
"name": "foundationActionsMenuTemplate",
|
|
1407
|
+
"type": {
|
|
1408
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1409
|
+
},
|
|
1410
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1355
1411
|
}
|
|
1356
1412
|
],
|
|
1357
1413
|
"exports": [
|
|
1358
1414
|
{
|
|
1359
1415
|
"kind": "js",
|
|
1360
|
-
"name": "
|
|
1416
|
+
"name": "menuTemplate",
|
|
1361
1417
|
"declaration": {
|
|
1362
|
-
"name": "
|
|
1363
|
-
"module": "src/
|
|
1418
|
+
"name": "menuTemplate",
|
|
1419
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"kind": "js",
|
|
1424
|
+
"name": "singleOptionTemplate",
|
|
1425
|
+
"declaration": {
|
|
1426
|
+
"name": "singleOptionTemplate",
|
|
1427
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"kind": "js",
|
|
1432
|
+
"name": "foundationActionsMenuTemplate",
|
|
1433
|
+
"declaration": {
|
|
1434
|
+
"name": "foundationActionsMenuTemplate",
|
|
1435
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1364
1436
|
}
|
|
1365
1437
|
}
|
|
1366
1438
|
]
|
|
1367
1439
|
},
|
|
1368
1440
|
{
|
|
1369
1441
|
"kind": "javascript-module",
|
|
1370
|
-
"path": "src/
|
|
1442
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1371
1443
|
"declarations": [
|
|
1372
1444
|
{
|
|
1373
1445
|
"kind": "class",
|
|
1374
1446
|
"description": "",
|
|
1375
|
-
"name": "
|
|
1376
|
-
"
|
|
1377
|
-
"name": "FASTAccordionItem",
|
|
1378
|
-
"package": "@microsoft/fast-components"
|
|
1379
|
-
},
|
|
1380
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1381
|
-
"customElement": true,
|
|
1382
|
-
"attributes": [
|
|
1447
|
+
"name": "ActionsMenu",
|
|
1448
|
+
"members": [
|
|
1383
1449
|
{
|
|
1384
|
-
"
|
|
1450
|
+
"kind": "field",
|
|
1451
|
+
"name": "actions",
|
|
1385
1452
|
"type": {
|
|
1386
|
-
"text": "
|
|
1387
|
-
},
|
|
1388
|
-
"default": "2",
|
|
1389
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1390
|
-
"fieldName": "headinglevel",
|
|
1391
|
-
"inheritedFrom": {
|
|
1392
|
-
"name": "AccordionItem",
|
|
1393
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1453
|
+
"text": "ActionMenuItem[]"
|
|
1394
1454
|
}
|
|
1395
1455
|
},
|
|
1396
1456
|
{
|
|
1457
|
+
"kind": "field",
|
|
1458
|
+
"name": "isVertical",
|
|
1397
1459
|
"type": {
|
|
1398
1460
|
"text": "boolean"
|
|
1399
1461
|
},
|
|
1400
|
-
"default": "false"
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
"
|
|
1404
|
-
|
|
1405
|
-
|
|
1462
|
+
"default": "false"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"kind": "field",
|
|
1466
|
+
"name": "addDefaultActions",
|
|
1467
|
+
"type": {
|
|
1468
|
+
"text": "boolean"
|
|
1469
|
+
},
|
|
1470
|
+
"default": "true"
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"kind": "field",
|
|
1474
|
+
"name": "autoCloseOnAction",
|
|
1475
|
+
"type": {
|
|
1476
|
+
"text": "boolean"
|
|
1477
|
+
},
|
|
1478
|
+
"default": "true"
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
"kind": "field",
|
|
1482
|
+
"name": "classNames",
|
|
1483
|
+
"type": {
|
|
1484
|
+
"text": "string"
|
|
1406
1485
|
}
|
|
1407
1486
|
},
|
|
1408
1487
|
{
|
|
1409
|
-
"
|
|
1488
|
+
"kind": "field",
|
|
1489
|
+
"name": "definition",
|
|
1490
|
+
"type": {
|
|
1491
|
+
"text": "any"
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"kind": "field",
|
|
1496
|
+
"name": "name",
|
|
1410
1497
|
"type": {
|
|
1411
1498
|
"text": "string"
|
|
1412
1499
|
},
|
|
1413
|
-
"
|
|
1414
|
-
|
|
1415
|
-
"inheritedFrom": {
|
|
1416
|
-
"name": "AccordionItem",
|
|
1417
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1418
|
-
}
|
|
1419
|
-
}
|
|
1420
|
-
],
|
|
1421
|
-
"members": [
|
|
1500
|
+
"default": "'Actions'"
|
|
1501
|
+
},
|
|
1422
1502
|
{
|
|
1423
1503
|
"kind": "field",
|
|
1424
|
-
"name": "
|
|
1504
|
+
"name": "open",
|
|
1425
1505
|
"type": {
|
|
1426
|
-
"text": "
|
|
1506
|
+
"text": "boolean"
|
|
1427
1507
|
},
|
|
1428
|
-
"
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
"
|
|
1432
|
-
|
|
1433
|
-
|
|
1508
|
+
"default": "false"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"kind": "field",
|
|
1512
|
+
"name": "buttonAppearance",
|
|
1513
|
+
"type": {
|
|
1514
|
+
"text": "string"
|
|
1434
1515
|
}
|
|
1435
1516
|
},
|
|
1436
1517
|
{
|
|
1437
1518
|
"kind": "field",
|
|
1438
|
-
"name": "
|
|
1519
|
+
"name": "hideDisabled",
|
|
1439
1520
|
"type": {
|
|
1440
1521
|
"text": "boolean"
|
|
1441
1522
|
},
|
|
1442
|
-
"
|
|
1443
|
-
"default": "false",
|
|
1444
|
-
"description": "Expands or collapses the item.",
|
|
1445
|
-
"inheritedFrom": {
|
|
1446
|
-
"name": "AccordionItem",
|
|
1447
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1448
|
-
}
|
|
1523
|
+
"default": "false"
|
|
1449
1524
|
},
|
|
1450
1525
|
{
|
|
1451
1526
|
"kind": "field",
|
|
1452
|
-
"name": "
|
|
1527
|
+
"name": "hideMenuSingleOption",
|
|
1453
1528
|
"type": {
|
|
1454
|
-
"text": "
|
|
1529
|
+
"text": "boolean"
|
|
1455
1530
|
},
|
|
1456
|
-
"
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1531
|
+
"default": "false"
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
"kind": "field",
|
|
1535
|
+
"name": "singleOption",
|
|
1536
|
+
"type": {
|
|
1537
|
+
"text": "ActionMenuItem"
|
|
1461
1538
|
}
|
|
1462
1539
|
},
|
|
1463
1540
|
{
|
|
1464
1541
|
"kind": "field",
|
|
1465
|
-
"name": "
|
|
1466
|
-
"
|
|
1467
|
-
|
|
1468
|
-
"name": "AccordionItem",
|
|
1469
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1542
|
+
"name": "actionsMenu",
|
|
1543
|
+
"type": {
|
|
1544
|
+
"text": "HTMLElement"
|
|
1470
1545
|
}
|
|
1471
1546
|
},
|
|
1547
|
+
{
|
|
1548
|
+
"kind": "method",
|
|
1549
|
+
"name": "definitionChanged",
|
|
1550
|
+
"privacy": "protected",
|
|
1551
|
+
"parameters": [
|
|
1552
|
+
{
|
|
1553
|
+
"name": "oldValue",
|
|
1554
|
+
"type": {
|
|
1555
|
+
"text": "any"
|
|
1556
|
+
}
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"name": "newValue",
|
|
1560
|
+
"type": {
|
|
1561
|
+
"text": "any"
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
]
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
"kind": "method",
|
|
1568
|
+
"name": "openChanged",
|
|
1569
|
+
"privacy": "protected"
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"kind": "method",
|
|
1573
|
+
"name": "toggleActionsMenuVisibility"
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"kind": "method",
|
|
1577
|
+
"name": "onActionMenuItemClick",
|
|
1578
|
+
"parameters": [
|
|
1579
|
+
{
|
|
1580
|
+
"name": "callback",
|
|
1581
|
+
"type": {
|
|
1582
|
+
"text": "(rowData) => void | any"
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
]
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"kind": "field",
|
|
1589
|
+
"name": "allActions",
|
|
1590
|
+
"type": {
|
|
1591
|
+
"text": "ActionMenuItem[]"
|
|
1592
|
+
},
|
|
1593
|
+
"readonly": true
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"kind": "field",
|
|
1597
|
+
"name": "rowData",
|
|
1598
|
+
"readonly": true
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"kind": "method",
|
|
1602
|
+
"name": "getLabel",
|
|
1603
|
+
"parameters": [
|
|
1604
|
+
{
|
|
1605
|
+
"name": "name",
|
|
1606
|
+
"type": {
|
|
1607
|
+
"text": "string | ((rowData: any) => string)"
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
]
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"kind": "method",
|
|
1614
|
+
"name": "getTemplate",
|
|
1615
|
+
"parameters": [
|
|
1616
|
+
{
|
|
1617
|
+
"name": "prefix",
|
|
1618
|
+
"type": {
|
|
1619
|
+
"text": "string"
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
]
|
|
1623
|
+
},
|
|
1472
1624
|
{
|
|
1473
1625
|
"kind": "field",
|
|
1474
1626
|
"name": "_presentation",
|
|
@@ -1581,109 +1733,107 @@
|
|
|
1581
1733
|
}
|
|
1582
1734
|
}
|
|
1583
1735
|
],
|
|
1584
|
-
"
|
|
1736
|
+
"attributes": [
|
|
1585
1737
|
{
|
|
1586
|
-
"
|
|
1587
|
-
"
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1738
|
+
"name": "is-vertical",
|
|
1739
|
+
"type": {
|
|
1740
|
+
"text": "boolean"
|
|
1741
|
+
},
|
|
1742
|
+
"default": "false",
|
|
1743
|
+
"fieldName": "isVertical"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"name": "add-default-actions",
|
|
1747
|
+
"type": {
|
|
1748
|
+
"text": "boolean"
|
|
1749
|
+
},
|
|
1750
|
+
"default": "true",
|
|
1751
|
+
"fieldName": "addDefaultActions"
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
"name": "auto-close-on-action",
|
|
1755
|
+
"type": {
|
|
1756
|
+
"text": "boolean"
|
|
1757
|
+
},
|
|
1758
|
+
"default": "true",
|
|
1759
|
+
"fieldName": "autoCloseOnAction"
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"name": "name",
|
|
1763
|
+
"type": {
|
|
1764
|
+
"text": "string"
|
|
1765
|
+
},
|
|
1766
|
+
"default": "'Actions'",
|
|
1767
|
+
"fieldName": "name"
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
"name": "open",
|
|
1771
|
+
"type": {
|
|
1772
|
+
"text": "boolean"
|
|
1773
|
+
},
|
|
1774
|
+
"default": "false",
|
|
1775
|
+
"fieldName": "open"
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"name": "buttonAppearance",
|
|
1779
|
+
"type": {
|
|
1780
|
+
"text": "string"
|
|
1781
|
+
},
|
|
1782
|
+
"fieldName": "buttonAppearance"
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"name": "hide-disabled",
|
|
1786
|
+
"type": {
|
|
1787
|
+
"text": "boolean"
|
|
1788
|
+
},
|
|
1789
|
+
"default": "false",
|
|
1790
|
+
"fieldName": "hideDisabled"
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"name": "hide-menu-single-option",
|
|
1794
|
+
"type": {
|
|
1795
|
+
"text": "boolean"
|
|
1796
|
+
},
|
|
1797
|
+
"default": "false",
|
|
1798
|
+
"fieldName": "hideMenuSingleOption"
|
|
1592
1799
|
}
|
|
1593
|
-
]
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1598
|
-
"type": {
|
|
1599
|
-
"text": "ShadowRootInit"
|
|
1600
|
-
},
|
|
1601
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1602
|
-
},
|
|
1603
|
-
{
|
|
1604
|
-
"kind": "variable",
|
|
1605
|
-
"name": "defaultAccordionItemConfig",
|
|
1606
|
-
"type": {
|
|
1607
|
-
"text": "object"
|
|
1800
|
+
],
|
|
1801
|
+
"superclass": {
|
|
1802
|
+
"name": "FoundationElement",
|
|
1803
|
+
"package": "@microsoft/fast-foundation"
|
|
1608
1804
|
},
|
|
1609
|
-
"
|
|
1805
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
1806
|
+
"customElement": true
|
|
1610
1807
|
},
|
|
1611
1808
|
{
|
|
1612
1809
|
"kind": "variable",
|
|
1613
|
-
"name": "
|
|
1614
|
-
"description": "The Foundation
|
|
1810
|
+
"name": "foundationActionsMenu",
|
|
1811
|
+
"description": "The Foundation Actions Menu",
|
|
1615
1812
|
"privacy": "public"
|
|
1616
1813
|
}
|
|
1617
1814
|
],
|
|
1618
1815
|
"exports": [
|
|
1619
1816
|
{
|
|
1620
1817
|
"kind": "js",
|
|
1621
|
-
"name": "
|
|
1622
|
-
"declaration": {
|
|
1623
|
-
"name": "AccordionItem",
|
|
1624
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1625
|
-
}
|
|
1626
|
-
},
|
|
1627
|
-
{
|
|
1628
|
-
"kind": "js",
|
|
1629
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1630
|
-
"declaration": {
|
|
1631
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1632
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1633
|
-
}
|
|
1634
|
-
},
|
|
1635
|
-
{
|
|
1636
|
-
"kind": "js",
|
|
1637
|
-
"name": "defaultAccordionItemConfig",
|
|
1638
|
-
"declaration": {
|
|
1639
|
-
"name": "defaultAccordionItemConfig",
|
|
1640
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1641
|
-
}
|
|
1642
|
-
},
|
|
1643
|
-
{
|
|
1644
|
-
"kind": "js",
|
|
1645
|
-
"name": "foundationAccordionItem",
|
|
1646
|
-
"declaration": {
|
|
1647
|
-
"name": "foundationAccordionItem",
|
|
1648
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
]
|
|
1652
|
-
},
|
|
1653
|
-
{
|
|
1654
|
-
"kind": "javascript-module",
|
|
1655
|
-
"path": "src/accordion-item/index.ts",
|
|
1656
|
-
"declarations": [],
|
|
1657
|
-
"exports": [
|
|
1658
|
-
{
|
|
1659
|
-
"kind": "js",
|
|
1660
|
-
"name": "*",
|
|
1661
|
-
"declaration": {
|
|
1662
|
-
"name": "*",
|
|
1663
|
-
"package": "./accordion-item.template"
|
|
1664
|
-
}
|
|
1665
|
-
},
|
|
1666
|
-
{
|
|
1667
|
-
"kind": "js",
|
|
1668
|
-
"name": "*",
|
|
1818
|
+
"name": "ActionsMenu",
|
|
1669
1819
|
"declaration": {
|
|
1670
|
-
"name": "
|
|
1671
|
-
"
|
|
1820
|
+
"name": "ActionsMenu",
|
|
1821
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1672
1822
|
}
|
|
1673
1823
|
},
|
|
1674
1824
|
{
|
|
1675
1825
|
"kind": "js",
|
|
1676
|
-
"name": "
|
|
1826
|
+
"name": "foundationActionsMenu",
|
|
1677
1827
|
"declaration": {
|
|
1678
|
-
"name": "
|
|
1679
|
-
"
|
|
1828
|
+
"name": "foundationActionsMenu",
|
|
1829
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1680
1830
|
}
|
|
1681
1831
|
}
|
|
1682
1832
|
]
|
|
1683
1833
|
},
|
|
1684
1834
|
{
|
|
1685
1835
|
"kind": "javascript-module",
|
|
1686
|
-
"path": "src/
|
|
1836
|
+
"path": "src/actions-menu/index.ts",
|
|
1687
1837
|
"declarations": [],
|
|
1688
1838
|
"exports": [
|
|
1689
1839
|
{
|
|
@@ -1691,7 +1841,7 @@
|
|
|
1691
1841
|
"name": "*",
|
|
1692
1842
|
"declaration": {
|
|
1693
1843
|
"name": "*",
|
|
1694
|
-
"package": "./styles"
|
|
1844
|
+
"package": "./actions-menu.styles"
|
|
1695
1845
|
}
|
|
1696
1846
|
},
|
|
1697
1847
|
{
|
|
@@ -1699,7 +1849,7 @@
|
|
|
1699
1849
|
"name": "*",
|
|
1700
1850
|
"declaration": {
|
|
1701
1851
|
"name": "*",
|
|
1702
|
-
"package": "./
|
|
1852
|
+
"package": "./actions-menu.template"
|
|
1703
1853
|
}
|
|
1704
1854
|
},
|
|
1705
1855
|
{
|
|
@@ -1707,41 +1857,18 @@
|
|
|
1707
1857
|
"name": "*",
|
|
1708
1858
|
"declaration": {
|
|
1709
1859
|
"name": "*",
|
|
1710
|
-
"package": "./
|
|
1860
|
+
"package": "./actions-menu"
|
|
1711
1861
|
}
|
|
1712
1862
|
}
|
|
1713
1863
|
]
|
|
1714
1864
|
},
|
|
1715
1865
|
{
|
|
1716
1866
|
"kind": "javascript-module",
|
|
1717
|
-
"path": "src/
|
|
1867
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1718
1868
|
"declarations": [
|
|
1719
1869
|
{
|
|
1720
1870
|
"kind": "function",
|
|
1721
|
-
"name": "
|
|
1722
|
-
"return": {
|
|
1723
|
-
"type": {
|
|
1724
|
-
"text": "ElementStyles"
|
|
1725
|
-
}
|
|
1726
|
-
},
|
|
1727
|
-
"parameters": [
|
|
1728
|
-
{
|
|
1729
|
-
"name": "context",
|
|
1730
|
-
"type": {
|
|
1731
|
-
"text": "ElementDefinitionContext"
|
|
1732
|
-
}
|
|
1733
|
-
},
|
|
1734
|
-
{
|
|
1735
|
-
"name": "definition",
|
|
1736
|
-
"type": {
|
|
1737
|
-
"text": "FoundationElementDefinition"
|
|
1738
|
-
}
|
|
1739
|
-
}
|
|
1740
|
-
]
|
|
1741
|
-
},
|
|
1742
|
-
{
|
|
1743
|
-
"kind": "function",
|
|
1744
|
-
"name": "foundationActionsMenuStyles",
|
|
1871
|
+
"name": "foundationAccordionItemStyles",
|
|
1745
1872
|
"return": {
|
|
1746
1873
|
"type": {
|
|
1747
1874
|
"text": "ElementStyles"
|
|
@@ -1766,270 +1893,157 @@
|
|
|
1766
1893
|
"exports": [
|
|
1767
1894
|
{
|
|
1768
1895
|
"kind": "js",
|
|
1769
|
-
"name": "
|
|
1770
|
-
"declaration": {
|
|
1771
|
-
"name": "actionsMenuBaseStyles",
|
|
1772
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1773
|
-
}
|
|
1774
|
-
},
|
|
1775
|
-
{
|
|
1776
|
-
"kind": "js",
|
|
1777
|
-
"name": "foundationActionsMenuStyles",
|
|
1896
|
+
"name": "foundationAccordionItemStyles",
|
|
1778
1897
|
"declaration": {
|
|
1779
|
-
"name": "
|
|
1780
|
-
"module": "src/
|
|
1898
|
+
"name": "foundationAccordionItemStyles",
|
|
1899
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1781
1900
|
}
|
|
1782
1901
|
}
|
|
1783
1902
|
]
|
|
1784
1903
|
},
|
|
1785
1904
|
{
|
|
1786
1905
|
"kind": "javascript-module",
|
|
1787
|
-
"path": "src/
|
|
1906
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1788
1907
|
"declarations": [
|
|
1789
1908
|
{
|
|
1790
1909
|
"kind": "function",
|
|
1791
|
-
"name": "
|
|
1910
|
+
"name": "foundationAccordionItemTemplate",
|
|
1911
|
+
"return": {
|
|
1912
|
+
"type": {
|
|
1913
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1914
|
+
}
|
|
1915
|
+
},
|
|
1792
1916
|
"parameters": [
|
|
1793
1917
|
{
|
|
1794
|
-
"name": "
|
|
1918
|
+
"name": "context",
|
|
1795
1919
|
"type": {
|
|
1796
|
-
"text": "
|
|
1920
|
+
"text": "ElementDefinitionContext"
|
|
1797
1921
|
}
|
|
1798
|
-
}
|
|
1799
|
-
]
|
|
1800
|
-
},
|
|
1801
|
-
{
|
|
1802
|
-
"kind": "function",
|
|
1803
|
-
"name": "singleOptionTemplate",
|
|
1804
|
-
"parameters": [
|
|
1922
|
+
},
|
|
1805
1923
|
{
|
|
1806
|
-
"name": "
|
|
1924
|
+
"name": "definition",
|
|
1807
1925
|
"type": {
|
|
1808
|
-
"text": "
|
|
1926
|
+
"text": "FoundationElementDefinition"
|
|
1809
1927
|
}
|
|
1810
1928
|
}
|
|
1811
1929
|
]
|
|
1812
|
-
},
|
|
1813
|
-
{
|
|
1814
|
-
"kind": "variable",
|
|
1815
|
-
"name": "foundationActionsMenuTemplate",
|
|
1816
|
-
"type": {
|
|
1817
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1818
|
-
},
|
|
1819
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1820
1930
|
}
|
|
1821
1931
|
],
|
|
1822
1932
|
"exports": [
|
|
1823
1933
|
{
|
|
1824
1934
|
"kind": "js",
|
|
1825
|
-
"name": "
|
|
1826
|
-
"declaration": {
|
|
1827
|
-
"name": "menuTemplate",
|
|
1828
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1829
|
-
}
|
|
1830
|
-
},
|
|
1831
|
-
{
|
|
1832
|
-
"kind": "js",
|
|
1833
|
-
"name": "singleOptionTemplate",
|
|
1834
|
-
"declaration": {
|
|
1835
|
-
"name": "singleOptionTemplate",
|
|
1836
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1837
|
-
}
|
|
1838
|
-
},
|
|
1839
|
-
{
|
|
1840
|
-
"kind": "js",
|
|
1841
|
-
"name": "foundationActionsMenuTemplate",
|
|
1935
|
+
"name": "foundationAccordionItemTemplate",
|
|
1842
1936
|
"declaration": {
|
|
1843
|
-
"name": "
|
|
1844
|
-
"module": "src/
|
|
1937
|
+
"name": "foundationAccordionItemTemplate",
|
|
1938
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1845
1939
|
}
|
|
1846
1940
|
}
|
|
1847
1941
|
]
|
|
1848
1942
|
},
|
|
1849
1943
|
{
|
|
1850
1944
|
"kind": "javascript-module",
|
|
1851
|
-
"path": "src/
|
|
1945
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1852
1946
|
"declarations": [
|
|
1853
1947
|
{
|
|
1854
1948
|
"kind": "class",
|
|
1855
1949
|
"description": "",
|
|
1856
|
-
"name": "
|
|
1857
|
-
"
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
},
|
|
1865
|
-
{
|
|
1866
|
-
"kind": "field",
|
|
1867
|
-
"name": "isVertical",
|
|
1868
|
-
"type": {
|
|
1869
|
-
"text": "boolean"
|
|
1870
|
-
},
|
|
1871
|
-
"default": "false"
|
|
1872
|
-
},
|
|
1950
|
+
"name": "AccordionItem",
|
|
1951
|
+
"superclass": {
|
|
1952
|
+
"name": "FASTAccordionItem",
|
|
1953
|
+
"package": "@microsoft/fast-components"
|
|
1954
|
+
},
|
|
1955
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1956
|
+
"customElement": true,
|
|
1957
|
+
"attributes": [
|
|
1873
1958
|
{
|
|
1874
|
-
"
|
|
1875
|
-
"name": "addDefaultActions",
|
|
1959
|
+
"name": "heading-level",
|
|
1876
1960
|
"type": {
|
|
1877
|
-
"text": "
|
|
1961
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1878
1962
|
},
|
|
1879
|
-
"default": "
|
|
1963
|
+
"default": "2",
|
|
1964
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1965
|
+
"fieldName": "headinglevel",
|
|
1966
|
+
"inheritedFrom": {
|
|
1967
|
+
"name": "AccordionItem",
|
|
1968
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1969
|
+
}
|
|
1880
1970
|
},
|
|
1881
1971
|
{
|
|
1882
|
-
"kind": "field",
|
|
1883
|
-
"name": "autoCloseOnAction",
|
|
1884
1972
|
"type": {
|
|
1885
1973
|
"text": "boolean"
|
|
1886
1974
|
},
|
|
1887
|
-
"default": "
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
"
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
"text": "string"
|
|
1894
|
-
}
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"kind": "field",
|
|
1898
|
-
"name": "definition",
|
|
1899
|
-
"type": {
|
|
1900
|
-
"text": "any"
|
|
1975
|
+
"default": "false",
|
|
1976
|
+
"description": "Expands or collapses the item.",
|
|
1977
|
+
"fieldName": "expanded",
|
|
1978
|
+
"inheritedFrom": {
|
|
1979
|
+
"name": "AccordionItem",
|
|
1980
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1901
1981
|
}
|
|
1902
1982
|
},
|
|
1903
1983
|
{
|
|
1904
|
-
"
|
|
1905
|
-
"name": "name",
|
|
1984
|
+
"name": "id",
|
|
1906
1985
|
"type": {
|
|
1907
1986
|
"text": "string"
|
|
1908
1987
|
},
|
|
1909
|
-
"
|
|
1910
|
-
|
|
1988
|
+
"description": "The item ID",
|
|
1989
|
+
"fieldName": "id",
|
|
1990
|
+
"inheritedFrom": {
|
|
1991
|
+
"name": "AccordionItem",
|
|
1992
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
],
|
|
1996
|
+
"members": [
|
|
1911
1997
|
{
|
|
1912
1998
|
"kind": "field",
|
|
1913
|
-
"name": "
|
|
1999
|
+
"name": "headinglevel",
|
|
1914
2000
|
"type": {
|
|
1915
|
-
"text": "
|
|
2001
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1916
2002
|
},
|
|
1917
|
-
"
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
"
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
"text": "string"
|
|
2003
|
+
"privacy": "public",
|
|
2004
|
+
"default": "2",
|
|
2005
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2006
|
+
"inheritedFrom": {
|
|
2007
|
+
"name": "AccordionItem",
|
|
2008
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1924
2009
|
}
|
|
1925
2010
|
},
|
|
1926
2011
|
{
|
|
1927
2012
|
"kind": "field",
|
|
1928
|
-
"name": "
|
|
2013
|
+
"name": "expanded",
|
|
1929
2014
|
"type": {
|
|
1930
2015
|
"text": "boolean"
|
|
1931
2016
|
},
|
|
1932
|
-
"
|
|
2017
|
+
"privacy": "public",
|
|
2018
|
+
"default": "false",
|
|
2019
|
+
"description": "Expands or collapses the item.",
|
|
2020
|
+
"inheritedFrom": {
|
|
2021
|
+
"name": "AccordionItem",
|
|
2022
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2023
|
+
}
|
|
1933
2024
|
},
|
|
1934
2025
|
{
|
|
1935
2026
|
"kind": "field",
|
|
1936
|
-
"name": "
|
|
2027
|
+
"name": "id",
|
|
1937
2028
|
"type": {
|
|
1938
|
-
"text": "
|
|
2029
|
+
"text": "string"
|
|
1939
2030
|
},
|
|
1940
|
-
"
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
"type": {
|
|
1946
|
-
"text": "ActionMenuItem"
|
|
2031
|
+
"privacy": "public",
|
|
2032
|
+
"description": "The item ID",
|
|
2033
|
+
"inheritedFrom": {
|
|
2034
|
+
"name": "AccordionItem",
|
|
2035
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1947
2036
|
}
|
|
1948
2037
|
},
|
|
1949
2038
|
{
|
|
1950
2039
|
"kind": "field",
|
|
1951
|
-
"name": "
|
|
1952
|
-
"
|
|
1953
|
-
|
|
2040
|
+
"name": "change",
|
|
2041
|
+
"privacy": "private",
|
|
2042
|
+
"inheritedFrom": {
|
|
2043
|
+
"name": "AccordionItem",
|
|
2044
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1954
2045
|
}
|
|
1955
2046
|
},
|
|
1956
|
-
{
|
|
1957
|
-
"kind": "method",
|
|
1958
|
-
"name": "definitionChanged",
|
|
1959
|
-
"privacy": "protected",
|
|
1960
|
-
"parameters": [
|
|
1961
|
-
{
|
|
1962
|
-
"name": "oldValue",
|
|
1963
|
-
"type": {
|
|
1964
|
-
"text": "any"
|
|
1965
|
-
}
|
|
1966
|
-
},
|
|
1967
|
-
{
|
|
1968
|
-
"name": "newValue",
|
|
1969
|
-
"type": {
|
|
1970
|
-
"text": "any"
|
|
1971
|
-
}
|
|
1972
|
-
}
|
|
1973
|
-
]
|
|
1974
|
-
},
|
|
1975
|
-
{
|
|
1976
|
-
"kind": "method",
|
|
1977
|
-
"name": "openChanged",
|
|
1978
|
-
"privacy": "protected"
|
|
1979
|
-
},
|
|
1980
|
-
{
|
|
1981
|
-
"kind": "method",
|
|
1982
|
-
"name": "toggleActionsMenuVisibility"
|
|
1983
|
-
},
|
|
1984
|
-
{
|
|
1985
|
-
"kind": "method",
|
|
1986
|
-
"name": "onActionMenuItemClick",
|
|
1987
|
-
"parameters": [
|
|
1988
|
-
{
|
|
1989
|
-
"name": "callback",
|
|
1990
|
-
"type": {
|
|
1991
|
-
"text": "(rowData) => void | any"
|
|
1992
|
-
}
|
|
1993
|
-
}
|
|
1994
|
-
]
|
|
1995
|
-
},
|
|
1996
|
-
{
|
|
1997
|
-
"kind": "field",
|
|
1998
|
-
"name": "allActions",
|
|
1999
|
-
"type": {
|
|
2000
|
-
"text": "ActionMenuItem[]"
|
|
2001
|
-
},
|
|
2002
|
-
"readonly": true
|
|
2003
|
-
},
|
|
2004
|
-
{
|
|
2005
|
-
"kind": "field",
|
|
2006
|
-
"name": "rowData",
|
|
2007
|
-
"readonly": true
|
|
2008
|
-
},
|
|
2009
|
-
{
|
|
2010
|
-
"kind": "method",
|
|
2011
|
-
"name": "getLabel",
|
|
2012
|
-
"parameters": [
|
|
2013
|
-
{
|
|
2014
|
-
"name": "name",
|
|
2015
|
-
"type": {
|
|
2016
|
-
"text": "string | ((rowData: any) => string)"
|
|
2017
|
-
}
|
|
2018
|
-
}
|
|
2019
|
-
]
|
|
2020
|
-
},
|
|
2021
|
-
{
|
|
2022
|
-
"kind": "method",
|
|
2023
|
-
"name": "getTemplate",
|
|
2024
|
-
"parameters": [
|
|
2025
|
-
{
|
|
2026
|
-
"name": "prefix",
|
|
2027
|
-
"type": {
|
|
2028
|
-
"text": "string"
|
|
2029
|
-
}
|
|
2030
|
-
}
|
|
2031
|
-
]
|
|
2032
|
-
},
|
|
2033
2047
|
{
|
|
2034
2048
|
"kind": "field",
|
|
2035
2049
|
"name": "_presentation",
|
|
@@ -2142,231 +2156,20 @@
|
|
|
2142
2156
|
}
|
|
2143
2157
|
}
|
|
2144
2158
|
],
|
|
2145
|
-
"
|
|
2146
|
-
{
|
|
2147
|
-
"name": "is-vertical",
|
|
2148
|
-
"type": {
|
|
2149
|
-
"text": "boolean"
|
|
2150
|
-
},
|
|
2151
|
-
"default": "false",
|
|
2152
|
-
"fieldName": "isVertical"
|
|
2153
|
-
},
|
|
2154
|
-
{
|
|
2155
|
-
"name": "add-default-actions",
|
|
2156
|
-
"type": {
|
|
2157
|
-
"text": "boolean"
|
|
2158
|
-
},
|
|
2159
|
-
"default": "true",
|
|
2160
|
-
"fieldName": "addDefaultActions"
|
|
2161
|
-
},
|
|
2162
|
-
{
|
|
2163
|
-
"name": "auto-close-on-action",
|
|
2164
|
-
"type": {
|
|
2165
|
-
"text": "boolean"
|
|
2166
|
-
},
|
|
2167
|
-
"default": "true",
|
|
2168
|
-
"fieldName": "autoCloseOnAction"
|
|
2169
|
-
},
|
|
2170
|
-
{
|
|
2171
|
-
"name": "name",
|
|
2172
|
-
"type": {
|
|
2173
|
-
"text": "string"
|
|
2174
|
-
},
|
|
2175
|
-
"default": "'Actions'",
|
|
2176
|
-
"fieldName": "name"
|
|
2177
|
-
},
|
|
2178
|
-
{
|
|
2179
|
-
"name": "open",
|
|
2180
|
-
"type": {
|
|
2181
|
-
"text": "boolean"
|
|
2182
|
-
},
|
|
2183
|
-
"default": "false",
|
|
2184
|
-
"fieldName": "open"
|
|
2185
|
-
},
|
|
2186
|
-
{
|
|
2187
|
-
"name": "buttonAppearance",
|
|
2188
|
-
"type": {
|
|
2189
|
-
"text": "string"
|
|
2190
|
-
},
|
|
2191
|
-
"fieldName": "buttonAppearance"
|
|
2192
|
-
},
|
|
2193
|
-
{
|
|
2194
|
-
"name": "hide-disabled",
|
|
2195
|
-
"type": {
|
|
2196
|
-
"text": "boolean"
|
|
2197
|
-
},
|
|
2198
|
-
"default": "false",
|
|
2199
|
-
"fieldName": "hideDisabled"
|
|
2200
|
-
},
|
|
2201
|
-
{
|
|
2202
|
-
"name": "hide-menu-single-option",
|
|
2203
|
-
"type": {
|
|
2204
|
-
"text": "boolean"
|
|
2205
|
-
},
|
|
2206
|
-
"default": "false",
|
|
2207
|
-
"fieldName": "hideMenuSingleOption"
|
|
2208
|
-
}
|
|
2209
|
-
],
|
|
2210
|
-
"superclass": {
|
|
2211
|
-
"name": "FoundationElement",
|
|
2212
|
-
"package": "@microsoft/fast-foundation"
|
|
2213
|
-
},
|
|
2214
|
-
"tagName": "%%prefix%%-actions-menu",
|
|
2215
|
-
"customElement": true
|
|
2216
|
-
},
|
|
2217
|
-
{
|
|
2218
|
-
"kind": "variable",
|
|
2219
|
-
"name": "foundationActionsMenu",
|
|
2220
|
-
"description": "The Foundation Actions Menu",
|
|
2221
|
-
"privacy": "public"
|
|
2222
|
-
}
|
|
2223
|
-
],
|
|
2224
|
-
"exports": [
|
|
2225
|
-
{
|
|
2226
|
-
"kind": "js",
|
|
2227
|
-
"name": "ActionsMenu",
|
|
2228
|
-
"declaration": {
|
|
2229
|
-
"name": "ActionsMenu",
|
|
2230
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
2231
|
-
}
|
|
2232
|
-
},
|
|
2233
|
-
{
|
|
2234
|
-
"kind": "js",
|
|
2235
|
-
"name": "foundationActionsMenu",
|
|
2236
|
-
"declaration": {
|
|
2237
|
-
"name": "foundationActionsMenu",
|
|
2238
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
2239
|
-
}
|
|
2240
|
-
}
|
|
2241
|
-
]
|
|
2242
|
-
},
|
|
2243
|
-
{
|
|
2244
|
-
"kind": "javascript-module",
|
|
2245
|
-
"path": "src/actions-menu/index.ts",
|
|
2246
|
-
"declarations": [],
|
|
2247
|
-
"exports": [
|
|
2248
|
-
{
|
|
2249
|
-
"kind": "js",
|
|
2250
|
-
"name": "*",
|
|
2251
|
-
"declaration": {
|
|
2252
|
-
"name": "*",
|
|
2253
|
-
"package": "./actions-menu.styles"
|
|
2254
|
-
}
|
|
2255
|
-
},
|
|
2256
|
-
{
|
|
2257
|
-
"kind": "js",
|
|
2258
|
-
"name": "*",
|
|
2259
|
-
"declaration": {
|
|
2260
|
-
"name": "*",
|
|
2261
|
-
"package": "./actions-menu.template"
|
|
2262
|
-
}
|
|
2263
|
-
},
|
|
2264
|
-
{
|
|
2265
|
-
"kind": "js",
|
|
2266
|
-
"name": "*",
|
|
2267
|
-
"declaration": {
|
|
2268
|
-
"name": "*",
|
|
2269
|
-
"package": "./actions-menu"
|
|
2270
|
-
}
|
|
2271
|
-
}
|
|
2272
|
-
]
|
|
2273
|
-
},
|
|
2274
|
-
{
|
|
2275
|
-
"kind": "javascript-module",
|
|
2276
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
2277
|
-
"declarations": [
|
|
2278
|
-
{
|
|
2279
|
-
"kind": "function",
|
|
2280
|
-
"name": "foundationAccordionStyles",
|
|
2281
|
-
"return": {
|
|
2282
|
-
"type": {
|
|
2283
|
-
"text": "ElementStyles"
|
|
2284
|
-
}
|
|
2285
|
-
},
|
|
2286
|
-
"parameters": [
|
|
2287
|
-
{
|
|
2288
|
-
"name": "context",
|
|
2289
|
-
"type": {
|
|
2290
|
-
"text": "ElementDefinitionContext"
|
|
2291
|
-
}
|
|
2292
|
-
},
|
|
2293
|
-
{
|
|
2294
|
-
"name": "definition",
|
|
2295
|
-
"type": {
|
|
2296
|
-
"text": "FoundationElementDefinition"
|
|
2297
|
-
}
|
|
2298
|
-
}
|
|
2299
|
-
]
|
|
2300
|
-
}
|
|
2301
|
-
],
|
|
2302
|
-
"exports": [
|
|
2303
|
-
{
|
|
2304
|
-
"kind": "js",
|
|
2305
|
-
"name": "foundationAccordionStyles",
|
|
2306
|
-
"declaration": {
|
|
2307
|
-
"name": "foundationAccordionStyles",
|
|
2308
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
2309
|
-
}
|
|
2310
|
-
}
|
|
2311
|
-
]
|
|
2312
|
-
},
|
|
2313
|
-
{
|
|
2314
|
-
"kind": "javascript-module",
|
|
2315
|
-
"path": "src/accordion/accordion.template.ts",
|
|
2316
|
-
"declarations": [
|
|
2317
|
-
{
|
|
2318
|
-
"kind": "function",
|
|
2319
|
-
"name": "foundationAccordionTemplate",
|
|
2320
|
-
"return": {
|
|
2321
|
-
"type": {
|
|
2322
|
-
"text": "ViewTemplate<Accordion>"
|
|
2323
|
-
}
|
|
2324
|
-
},
|
|
2325
|
-
"parameters": [
|
|
2326
|
-
{
|
|
2327
|
-
"name": "context",
|
|
2328
|
-
"type": {
|
|
2329
|
-
"text": "ElementDefinitionContext"
|
|
2330
|
-
}
|
|
2331
|
-
},
|
|
2159
|
+
"events": [
|
|
2332
2160
|
{
|
|
2333
|
-
"
|
|
2334
|
-
"
|
|
2335
|
-
|
|
2161
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2162
|
+
"name": "change",
|
|
2163
|
+
"inheritedFrom": {
|
|
2164
|
+
"name": "AccordionItem",
|
|
2165
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2336
2166
|
}
|
|
2337
2167
|
}
|
|
2338
2168
|
]
|
|
2339
|
-
}
|
|
2340
|
-
],
|
|
2341
|
-
"exports": [
|
|
2342
|
-
{
|
|
2343
|
-
"kind": "js",
|
|
2344
|
-
"name": "foundationAccordionTemplate",
|
|
2345
|
-
"declaration": {
|
|
2346
|
-
"name": "foundationAccordionTemplate",
|
|
2347
|
-
"module": "src/accordion/accordion.template.ts"
|
|
2348
|
-
}
|
|
2349
|
-
}
|
|
2350
|
-
]
|
|
2351
|
-
},
|
|
2352
|
-
{
|
|
2353
|
-
"kind": "javascript-module",
|
|
2354
|
-
"path": "src/accordion/accordion.ts",
|
|
2355
|
-
"declarations": [
|
|
2356
|
-
{
|
|
2357
|
-
"kind": "class",
|
|
2358
|
-
"description": "",
|
|
2359
|
-
"name": "Accordion",
|
|
2360
|
-
"superclass": {
|
|
2361
|
-
"name": "FASTAccordion",
|
|
2362
|
-
"package": "@microsoft/fast-foundation"
|
|
2363
|
-
},
|
|
2364
|
-
"tagName": "%%prefix%%-accordion",
|
|
2365
|
-
"customElement": true
|
|
2366
2169
|
},
|
|
2367
2170
|
{
|
|
2368
2171
|
"kind": "variable",
|
|
2369
|
-
"name": "
|
|
2172
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2370
2173
|
"type": {
|
|
2371
2174
|
"text": "ShadowRootInit"
|
|
2372
2175
|
},
|
|
@@ -2374,57 +2177,57 @@
|
|
|
2374
2177
|
},
|
|
2375
2178
|
{
|
|
2376
2179
|
"kind": "variable",
|
|
2377
|
-
"name": "
|
|
2180
|
+
"name": "defaultAccordionItemConfig",
|
|
2378
2181
|
"type": {
|
|
2379
2182
|
"text": "object"
|
|
2380
2183
|
},
|
|
2381
|
-
"default": "{}"
|
|
2184
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
2382
2185
|
},
|
|
2383
2186
|
{
|
|
2384
2187
|
"kind": "variable",
|
|
2385
|
-
"name": "
|
|
2386
|
-
"description": "The Foundation Accordion",
|
|
2188
|
+
"name": "foundationAccordionItem",
|
|
2189
|
+
"description": "The Foundation Accordion Item",
|
|
2387
2190
|
"privacy": "public"
|
|
2388
2191
|
}
|
|
2389
2192
|
],
|
|
2390
2193
|
"exports": [
|
|
2391
2194
|
{
|
|
2392
2195
|
"kind": "js",
|
|
2393
|
-
"name": "
|
|
2196
|
+
"name": "AccordionItem",
|
|
2394
2197
|
"declaration": {
|
|
2395
|
-
"name": "
|
|
2396
|
-
"module": "src/accordion/accordion.ts"
|
|
2198
|
+
"name": "AccordionItem",
|
|
2199
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2397
2200
|
}
|
|
2398
2201
|
},
|
|
2399
2202
|
{
|
|
2400
2203
|
"kind": "js",
|
|
2401
|
-
"name": "
|
|
2204
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2402
2205
|
"declaration": {
|
|
2403
|
-
"name": "
|
|
2404
|
-
"module": "src/accordion/accordion.ts"
|
|
2206
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2207
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2405
2208
|
}
|
|
2406
2209
|
},
|
|
2407
2210
|
{
|
|
2408
2211
|
"kind": "js",
|
|
2409
|
-
"name": "
|
|
2212
|
+
"name": "defaultAccordionItemConfig",
|
|
2410
2213
|
"declaration": {
|
|
2411
|
-
"name": "
|
|
2412
|
-
"module": "src/accordion/accordion.ts"
|
|
2214
|
+
"name": "defaultAccordionItemConfig",
|
|
2215
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2413
2216
|
}
|
|
2414
2217
|
},
|
|
2415
2218
|
{
|
|
2416
2219
|
"kind": "js",
|
|
2417
|
-
"name": "
|
|
2220
|
+
"name": "foundationAccordionItem",
|
|
2418
2221
|
"declaration": {
|
|
2419
|
-
"name": "
|
|
2420
|
-
"module": "src/accordion/accordion.ts"
|
|
2222
|
+
"name": "foundationAccordionItem",
|
|
2223
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2421
2224
|
}
|
|
2422
2225
|
}
|
|
2423
2226
|
]
|
|
2424
2227
|
},
|
|
2425
2228
|
{
|
|
2426
2229
|
"kind": "javascript-module",
|
|
2427
|
-
"path": "src/accordion/index.ts",
|
|
2230
|
+
"path": "src/accordion-item/index.ts",
|
|
2428
2231
|
"declarations": [],
|
|
2429
2232
|
"exports": [
|
|
2430
2233
|
{
|
|
@@ -2432,7 +2235,7 @@
|
|
|
2432
2235
|
"name": "*",
|
|
2433
2236
|
"declaration": {
|
|
2434
2237
|
"name": "*",
|
|
2435
|
-
"package": "./accordion.template"
|
|
2238
|
+
"package": "./accordion-item.template"
|
|
2436
2239
|
}
|
|
2437
2240
|
},
|
|
2438
2241
|
{
|
|
@@ -2440,7 +2243,7 @@
|
|
|
2440
2243
|
"name": "*",
|
|
2441
2244
|
"declaration": {
|
|
2442
2245
|
"name": "*",
|
|
2443
|
-
"package": "./accordion.styles"
|
|
2246
|
+
"package": "./accordion-item.styles"
|
|
2444
2247
|
}
|
|
2445
2248
|
},
|
|
2446
2249
|
{
|
|
@@ -2448,7 +2251,7 @@
|
|
|
2448
2251
|
"name": "*",
|
|
2449
2252
|
"declaration": {
|
|
2450
2253
|
"name": "*",
|
|
2451
|
-
"package": "./accordion"
|
|
2254
|
+
"package": "./accordion-item"
|
|
2452
2255
|
}
|
|
2453
2256
|
}
|
|
2454
2257
|
]
|
|
@@ -3433,6 +3236,219 @@
|
|
|
3433
3236
|
}
|
|
3434
3237
|
]
|
|
3435
3238
|
},
|
|
3239
|
+
{
|
|
3240
|
+
"kind": "javascript-module",
|
|
3241
|
+
"path": "src/_config/index.ts",
|
|
3242
|
+
"declarations": [],
|
|
3243
|
+
"exports": [
|
|
3244
|
+
{
|
|
3245
|
+
"kind": "js",
|
|
3246
|
+
"name": "*",
|
|
3247
|
+
"declaration": {
|
|
3248
|
+
"name": "*",
|
|
3249
|
+
"package": "./styles"
|
|
3250
|
+
}
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"kind": "js",
|
|
3254
|
+
"name": "*",
|
|
3255
|
+
"declaration": {
|
|
3256
|
+
"name": "*",
|
|
3257
|
+
"package": "./tokens"
|
|
3258
|
+
}
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
"kind": "js",
|
|
3262
|
+
"name": "*",
|
|
3263
|
+
"declaration": {
|
|
3264
|
+
"name": "*",
|
|
3265
|
+
"package": "./values"
|
|
3266
|
+
}
|
|
3267
|
+
}
|
|
3268
|
+
]
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
"kind": "javascript-module",
|
|
3272
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3273
|
+
"declarations": [
|
|
3274
|
+
{
|
|
3275
|
+
"kind": "function",
|
|
3276
|
+
"name": "foundationAccordionStyles",
|
|
3277
|
+
"return": {
|
|
3278
|
+
"type": {
|
|
3279
|
+
"text": "ElementStyles"
|
|
3280
|
+
}
|
|
3281
|
+
},
|
|
3282
|
+
"parameters": [
|
|
3283
|
+
{
|
|
3284
|
+
"name": "context",
|
|
3285
|
+
"type": {
|
|
3286
|
+
"text": "ElementDefinitionContext"
|
|
3287
|
+
}
|
|
3288
|
+
},
|
|
3289
|
+
{
|
|
3290
|
+
"name": "definition",
|
|
3291
|
+
"type": {
|
|
3292
|
+
"text": "FoundationElementDefinition"
|
|
3293
|
+
}
|
|
3294
|
+
}
|
|
3295
|
+
]
|
|
3296
|
+
}
|
|
3297
|
+
],
|
|
3298
|
+
"exports": [
|
|
3299
|
+
{
|
|
3300
|
+
"kind": "js",
|
|
3301
|
+
"name": "foundationAccordionStyles",
|
|
3302
|
+
"declaration": {
|
|
3303
|
+
"name": "foundationAccordionStyles",
|
|
3304
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3305
|
+
}
|
|
3306
|
+
}
|
|
3307
|
+
]
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
"kind": "javascript-module",
|
|
3311
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3312
|
+
"declarations": [
|
|
3313
|
+
{
|
|
3314
|
+
"kind": "function",
|
|
3315
|
+
"name": "foundationAccordionTemplate",
|
|
3316
|
+
"return": {
|
|
3317
|
+
"type": {
|
|
3318
|
+
"text": "ViewTemplate<Accordion>"
|
|
3319
|
+
}
|
|
3320
|
+
},
|
|
3321
|
+
"parameters": [
|
|
3322
|
+
{
|
|
3323
|
+
"name": "context",
|
|
3324
|
+
"type": {
|
|
3325
|
+
"text": "ElementDefinitionContext"
|
|
3326
|
+
}
|
|
3327
|
+
},
|
|
3328
|
+
{
|
|
3329
|
+
"name": "definition",
|
|
3330
|
+
"type": {
|
|
3331
|
+
"text": "FoundationElementDefinition"
|
|
3332
|
+
}
|
|
3333
|
+
}
|
|
3334
|
+
]
|
|
3335
|
+
}
|
|
3336
|
+
],
|
|
3337
|
+
"exports": [
|
|
3338
|
+
{
|
|
3339
|
+
"kind": "js",
|
|
3340
|
+
"name": "foundationAccordionTemplate",
|
|
3341
|
+
"declaration": {
|
|
3342
|
+
"name": "foundationAccordionTemplate",
|
|
3343
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3344
|
+
}
|
|
3345
|
+
}
|
|
3346
|
+
]
|
|
3347
|
+
},
|
|
3348
|
+
{
|
|
3349
|
+
"kind": "javascript-module",
|
|
3350
|
+
"path": "src/accordion/accordion.ts",
|
|
3351
|
+
"declarations": [
|
|
3352
|
+
{
|
|
3353
|
+
"kind": "class",
|
|
3354
|
+
"description": "",
|
|
3355
|
+
"name": "Accordion",
|
|
3356
|
+
"superclass": {
|
|
3357
|
+
"name": "FASTAccordion",
|
|
3358
|
+
"package": "@microsoft/fast-foundation"
|
|
3359
|
+
},
|
|
3360
|
+
"tagName": "%%prefix%%-accordion",
|
|
3361
|
+
"customElement": true
|
|
3362
|
+
},
|
|
3363
|
+
{
|
|
3364
|
+
"kind": "variable",
|
|
3365
|
+
"name": "foundationAccordionShadowOptions",
|
|
3366
|
+
"type": {
|
|
3367
|
+
"text": "ShadowRootInit"
|
|
3368
|
+
},
|
|
3369
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3370
|
+
},
|
|
3371
|
+
{
|
|
3372
|
+
"kind": "variable",
|
|
3373
|
+
"name": "defaultAccordionConfig",
|
|
3374
|
+
"type": {
|
|
3375
|
+
"text": "object"
|
|
3376
|
+
},
|
|
3377
|
+
"default": "{}"
|
|
3378
|
+
},
|
|
3379
|
+
{
|
|
3380
|
+
"kind": "variable",
|
|
3381
|
+
"name": "foundationAccordion",
|
|
3382
|
+
"description": "The Foundation Accordion",
|
|
3383
|
+
"privacy": "public"
|
|
3384
|
+
}
|
|
3385
|
+
],
|
|
3386
|
+
"exports": [
|
|
3387
|
+
{
|
|
3388
|
+
"kind": "js",
|
|
3389
|
+
"name": "Accordion",
|
|
3390
|
+
"declaration": {
|
|
3391
|
+
"name": "Accordion",
|
|
3392
|
+
"module": "src/accordion/accordion.ts"
|
|
3393
|
+
}
|
|
3394
|
+
},
|
|
3395
|
+
{
|
|
3396
|
+
"kind": "js",
|
|
3397
|
+
"name": "foundationAccordionShadowOptions",
|
|
3398
|
+
"declaration": {
|
|
3399
|
+
"name": "foundationAccordionShadowOptions",
|
|
3400
|
+
"module": "src/accordion/accordion.ts"
|
|
3401
|
+
}
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
"kind": "js",
|
|
3405
|
+
"name": "defaultAccordionConfig",
|
|
3406
|
+
"declaration": {
|
|
3407
|
+
"name": "defaultAccordionConfig",
|
|
3408
|
+
"module": "src/accordion/accordion.ts"
|
|
3409
|
+
}
|
|
3410
|
+
},
|
|
3411
|
+
{
|
|
3412
|
+
"kind": "js",
|
|
3413
|
+
"name": "foundationAccordion",
|
|
3414
|
+
"declaration": {
|
|
3415
|
+
"name": "foundationAccordion",
|
|
3416
|
+
"module": "src/accordion/accordion.ts"
|
|
3417
|
+
}
|
|
3418
|
+
}
|
|
3419
|
+
]
|
|
3420
|
+
},
|
|
3421
|
+
{
|
|
3422
|
+
"kind": "javascript-module",
|
|
3423
|
+
"path": "src/accordion/index.ts",
|
|
3424
|
+
"declarations": [],
|
|
3425
|
+
"exports": [
|
|
3426
|
+
{
|
|
3427
|
+
"kind": "js",
|
|
3428
|
+
"name": "*",
|
|
3429
|
+
"declaration": {
|
|
3430
|
+
"name": "*",
|
|
3431
|
+
"package": "./accordion.template"
|
|
3432
|
+
}
|
|
3433
|
+
},
|
|
3434
|
+
{
|
|
3435
|
+
"kind": "js",
|
|
3436
|
+
"name": "*",
|
|
3437
|
+
"declaration": {
|
|
3438
|
+
"name": "*",
|
|
3439
|
+
"package": "./accordion.styles"
|
|
3440
|
+
}
|
|
3441
|
+
},
|
|
3442
|
+
{
|
|
3443
|
+
"kind": "js",
|
|
3444
|
+
"name": "*",
|
|
3445
|
+
"declaration": {
|
|
3446
|
+
"name": "*",
|
|
3447
|
+
"package": "./accordion"
|
|
3448
|
+
}
|
|
3449
|
+
}
|
|
3450
|
+
]
|
|
3451
|
+
},
|
|
3436
3452
|
{
|
|
3437
3453
|
"kind": "javascript-module",
|
|
3438
3454
|
"path": "src/anchor/anchor.styles.ts",
|
|
@@ -54461,13 +54477,29 @@
|
|
|
54461
54477
|
"kind": "javascript-module",
|
|
54462
54478
|
"path": "src/workspace-manager/workspace-manager.template.ts",
|
|
54463
54479
|
"declarations": [
|
|
54480
|
+
{
|
|
54481
|
+
"kind": "variable",
|
|
54482
|
+
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
54483
|
+
"type": {
|
|
54484
|
+
"text": "number"
|
|
54485
|
+
},
|
|
54486
|
+
"default": "200"
|
|
54487
|
+
},
|
|
54464
54488
|
{
|
|
54465
54489
|
"kind": "variable",
|
|
54466
54490
|
"name": "WorkspaceManagerTemplate",
|
|
54467
|
-
"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>Description (optional):</rapid-label>\n <textarea\n class=\"save-field workspace-description-input\"\n :value=${(x) => x.workspaceDescription}\n @input=${(x, c) =>\n (x.workspaceDescription = (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 <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`"
|
|
54491
|
+
"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`"
|
|
54468
54492
|
}
|
|
54469
54493
|
],
|
|
54470
54494
|
"exports": [
|
|
54495
|
+
{
|
|
54496
|
+
"kind": "js",
|
|
54497
|
+
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
54498
|
+
"declaration": {
|
|
54499
|
+
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
54500
|
+
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
54501
|
+
}
|
|
54502
|
+
},
|
|
54471
54503
|
{
|
|
54472
54504
|
"kind": "js",
|
|
54473
54505
|
"name": "WorkspaceManagerTemplate",
|
|
@@ -54644,6 +54676,51 @@
|
|
|
54644
54676
|
"text": "boolean"
|
|
54645
54677
|
}
|
|
54646
54678
|
},
|
|
54679
|
+
{
|
|
54680
|
+
"kind": "method",
|
|
54681
|
+
"name": "sanitizeDescription",
|
|
54682
|
+
"privacy": "private",
|
|
54683
|
+
"return": {
|
|
54684
|
+
"type": {
|
|
54685
|
+
"text": "string"
|
|
54686
|
+
}
|
|
54687
|
+
},
|
|
54688
|
+
"parameters": [
|
|
54689
|
+
{
|
|
54690
|
+
"name": "input",
|
|
54691
|
+
"type": {
|
|
54692
|
+
"text": "string"
|
|
54693
|
+
}
|
|
54694
|
+
}
|
|
54695
|
+
]
|
|
54696
|
+
},
|
|
54697
|
+
{
|
|
54698
|
+
"kind": "method",
|
|
54699
|
+
"name": "updateWorkspaceDescription",
|
|
54700
|
+
"return": {
|
|
54701
|
+
"type": {
|
|
54702
|
+
"text": "void"
|
|
54703
|
+
}
|
|
54704
|
+
},
|
|
54705
|
+
"parameters": [
|
|
54706
|
+
{
|
|
54707
|
+
"name": "raw",
|
|
54708
|
+
"type": {
|
|
54709
|
+
"text": "string"
|
|
54710
|
+
}
|
|
54711
|
+
}
|
|
54712
|
+
]
|
|
54713
|
+
},
|
|
54714
|
+
{
|
|
54715
|
+
"kind": "method",
|
|
54716
|
+
"name": "setDescriptionFromSelectedWorkspace",
|
|
54717
|
+
"privacy": "private",
|
|
54718
|
+
"return": {
|
|
54719
|
+
"type": {
|
|
54720
|
+
"text": "void"
|
|
54721
|
+
}
|
|
54722
|
+
}
|
|
54723
|
+
},
|
|
54647
54724
|
{
|
|
54648
54725
|
"kind": "method",
|
|
54649
54726
|
"name": "refreshSavedWorkspaces",
|
|
@@ -54944,6 +55021,29 @@
|
|
|
54944
55021
|
}
|
|
54945
55022
|
]
|
|
54946
55023
|
},
|
|
55024
|
+
{
|
|
55025
|
+
"kind": "method",
|
|
55026
|
+
"name": "selectedWorkspaceToOverwriteChanged",
|
|
55027
|
+
"return": {
|
|
55028
|
+
"type": {
|
|
55029
|
+
"text": "void"
|
|
55030
|
+
}
|
|
55031
|
+
},
|
|
55032
|
+
"parameters": [
|
|
55033
|
+
{
|
|
55034
|
+
"name": "oldValue",
|
|
55035
|
+
"type": {
|
|
55036
|
+
"text": "string"
|
|
55037
|
+
}
|
|
55038
|
+
},
|
|
55039
|
+
{
|
|
55040
|
+
"name": "newValue",
|
|
55041
|
+
"type": {
|
|
55042
|
+
"text": "string"
|
|
55043
|
+
}
|
|
55044
|
+
}
|
|
55045
|
+
]
|
|
55046
|
+
},
|
|
54947
55047
|
{
|
|
54948
55048
|
"kind": "method",
|
|
54949
55049
|
"name": "openLoadDialog",
|
|
@@ -55108,6 +55208,181 @@
|
|
|
55108
55208
|
}
|
|
55109
55209
|
]
|
|
55110
55210
|
},
|
|
55211
|
+
{
|
|
55212
|
+
"kind": "javascript-module",
|
|
55213
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
55214
|
+
"declarations": [],
|
|
55215
|
+
"exports": []
|
|
55216
|
+
},
|
|
55217
|
+
{
|
|
55218
|
+
"kind": "javascript-module",
|
|
55219
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
55220
|
+
"declarations": [
|
|
55221
|
+
{
|
|
55222
|
+
"kind": "function",
|
|
55223
|
+
"name": "groupsToCriteria",
|
|
55224
|
+
"return": {
|
|
55225
|
+
"type": {
|
|
55226
|
+
"text": "string"
|
|
55227
|
+
}
|
|
55228
|
+
},
|
|
55229
|
+
"parameters": [
|
|
55230
|
+
{
|
|
55231
|
+
"name": "groups",
|
|
55232
|
+
"type": {
|
|
55233
|
+
"text": "CriteriaGroup[]"
|
|
55234
|
+
}
|
|
55235
|
+
}
|
|
55236
|
+
],
|
|
55237
|
+
"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."
|
|
55238
|
+
},
|
|
55239
|
+
{
|
|
55240
|
+
"kind": "variable",
|
|
55241
|
+
"name": "STRING_OPERATORS",
|
|
55242
|
+
"type": {
|
|
55243
|
+
"text": "CriteriaOperator[]"
|
|
55244
|
+
},
|
|
55245
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
55246
|
+
},
|
|
55247
|
+
{
|
|
55248
|
+
"kind": "variable",
|
|
55249
|
+
"name": "NUMERIC_OPERATORS",
|
|
55250
|
+
"type": {
|
|
55251
|
+
"text": "CriteriaOperator[]"
|
|
55252
|
+
},
|
|
55253
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
55254
|
+
},
|
|
55255
|
+
{
|
|
55256
|
+
"kind": "variable",
|
|
55257
|
+
"name": "DATE_OPERATORS",
|
|
55258
|
+
"type": {
|
|
55259
|
+
"text": "CriteriaOperator[]"
|
|
55260
|
+
},
|
|
55261
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
55262
|
+
},
|
|
55263
|
+
{
|
|
55264
|
+
"kind": "variable",
|
|
55265
|
+
"name": "DATETIME_OPERATORS",
|
|
55266
|
+
"type": {
|
|
55267
|
+
"text": "CriteriaOperator[]"
|
|
55268
|
+
},
|
|
55269
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
55270
|
+
}
|
|
55271
|
+
],
|
|
55272
|
+
"exports": [
|
|
55273
|
+
{
|
|
55274
|
+
"kind": "js",
|
|
55275
|
+
"name": "groupsToCriteria",
|
|
55276
|
+
"declaration": {
|
|
55277
|
+
"name": "groupsToCriteria",
|
|
55278
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
55279
|
+
}
|
|
55280
|
+
},
|
|
55281
|
+
{
|
|
55282
|
+
"kind": "js",
|
|
55283
|
+
"name": "STRING_OPERATORS",
|
|
55284
|
+
"declaration": {
|
|
55285
|
+
"name": "STRING_OPERATORS",
|
|
55286
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
55287
|
+
}
|
|
55288
|
+
},
|
|
55289
|
+
{
|
|
55290
|
+
"kind": "js",
|
|
55291
|
+
"name": "NUMERIC_OPERATORS",
|
|
55292
|
+
"declaration": {
|
|
55293
|
+
"name": "NUMERIC_OPERATORS",
|
|
55294
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
55295
|
+
}
|
|
55296
|
+
},
|
|
55297
|
+
{
|
|
55298
|
+
"kind": "js",
|
|
55299
|
+
"name": "DATE_OPERATORS",
|
|
55300
|
+
"declaration": {
|
|
55301
|
+
"name": "DATE_OPERATORS",
|
|
55302
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
55303
|
+
}
|
|
55304
|
+
},
|
|
55305
|
+
{
|
|
55306
|
+
"kind": "js",
|
|
55307
|
+
"name": "DATETIME_OPERATORS",
|
|
55308
|
+
"declaration": {
|
|
55309
|
+
"name": "DATETIME_OPERATORS",
|
|
55310
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
55311
|
+
}
|
|
55312
|
+
}
|
|
55313
|
+
]
|
|
55314
|
+
},
|
|
55315
|
+
{
|
|
55316
|
+
"kind": "javascript-module",
|
|
55317
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
55318
|
+
"declarations": [
|
|
55319
|
+
{
|
|
55320
|
+
"kind": "function",
|
|
55321
|
+
"name": "validateClauses",
|
|
55322
|
+
"return": {
|
|
55323
|
+
"type": {
|
|
55324
|
+
"text": "ValidationResult"
|
|
55325
|
+
}
|
|
55326
|
+
},
|
|
55327
|
+
"parameters": [
|
|
55328
|
+
{
|
|
55329
|
+
"name": "clauses",
|
|
55330
|
+
"type": {
|
|
55331
|
+
"text": "CriteriaClause[]"
|
|
55332
|
+
}
|
|
55333
|
+
},
|
|
55334
|
+
{
|
|
55335
|
+
"name": "fieldMetadata",
|
|
55336
|
+
"type": {
|
|
55337
|
+
"text": "MetadataDetail[] | string[]"
|
|
55338
|
+
}
|
|
55339
|
+
}
|
|
55340
|
+
]
|
|
55341
|
+
},
|
|
55342
|
+
{
|
|
55343
|
+
"kind": "function",
|
|
55344
|
+
"name": "validateGroups",
|
|
55345
|
+
"return": {
|
|
55346
|
+
"type": {
|
|
55347
|
+
"text": "GroupsValidationResult"
|
|
55348
|
+
}
|
|
55349
|
+
},
|
|
55350
|
+
"parameters": [
|
|
55351
|
+
{
|
|
55352
|
+
"name": "groups",
|
|
55353
|
+
"type": {
|
|
55354
|
+
"text": "CriteriaGroup[]"
|
|
55355
|
+
}
|
|
55356
|
+
},
|
|
55357
|
+
{
|
|
55358
|
+
"name": "fieldMetadata",
|
|
55359
|
+
"type": {
|
|
55360
|
+
"text": "MetadataDetail[] | string[]"
|
|
55361
|
+
}
|
|
55362
|
+
}
|
|
55363
|
+
],
|
|
55364
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
55365
|
+
}
|
|
55366
|
+
],
|
|
55367
|
+
"exports": [
|
|
55368
|
+
{
|
|
55369
|
+
"kind": "js",
|
|
55370
|
+
"name": "validateClauses",
|
|
55371
|
+
"declaration": {
|
|
55372
|
+
"name": "validateClauses",
|
|
55373
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
55374
|
+
}
|
|
55375
|
+
},
|
|
55376
|
+
{
|
|
55377
|
+
"kind": "js",
|
|
55378
|
+
"name": "validateGroups",
|
|
55379
|
+
"declaration": {
|
|
55380
|
+
"name": "validateGroups",
|
|
55381
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
55382
|
+
}
|
|
55383
|
+
}
|
|
55384
|
+
]
|
|
55385
|
+
},
|
|
55111
55386
|
{
|
|
55112
55387
|
"kind": "javascript-module",
|
|
55113
55388
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -56480,181 +56755,6 @@
|
|
|
56480
56755
|
"declarations": [],
|
|
56481
56756
|
"exports": []
|
|
56482
56757
|
},
|
|
56483
|
-
{
|
|
56484
|
-
"kind": "javascript-module",
|
|
56485
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
56486
|
-
"declarations": [],
|
|
56487
|
-
"exports": []
|
|
56488
|
-
},
|
|
56489
|
-
{
|
|
56490
|
-
"kind": "javascript-module",
|
|
56491
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
56492
|
-
"declarations": [
|
|
56493
|
-
{
|
|
56494
|
-
"kind": "function",
|
|
56495
|
-
"name": "groupsToCriteria",
|
|
56496
|
-
"return": {
|
|
56497
|
-
"type": {
|
|
56498
|
-
"text": "string"
|
|
56499
|
-
}
|
|
56500
|
-
},
|
|
56501
|
-
"parameters": [
|
|
56502
|
-
{
|
|
56503
|
-
"name": "groups",
|
|
56504
|
-
"type": {
|
|
56505
|
-
"text": "CriteriaGroup[]"
|
|
56506
|
-
}
|
|
56507
|
-
}
|
|
56508
|
-
],
|
|
56509
|
-
"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."
|
|
56510
|
-
},
|
|
56511
|
-
{
|
|
56512
|
-
"kind": "variable",
|
|
56513
|
-
"name": "STRING_OPERATORS",
|
|
56514
|
-
"type": {
|
|
56515
|
-
"text": "CriteriaOperator[]"
|
|
56516
|
-
},
|
|
56517
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
56518
|
-
},
|
|
56519
|
-
{
|
|
56520
|
-
"kind": "variable",
|
|
56521
|
-
"name": "NUMERIC_OPERATORS",
|
|
56522
|
-
"type": {
|
|
56523
|
-
"text": "CriteriaOperator[]"
|
|
56524
|
-
},
|
|
56525
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
56526
|
-
},
|
|
56527
|
-
{
|
|
56528
|
-
"kind": "variable",
|
|
56529
|
-
"name": "DATE_OPERATORS",
|
|
56530
|
-
"type": {
|
|
56531
|
-
"text": "CriteriaOperator[]"
|
|
56532
|
-
},
|
|
56533
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
56534
|
-
},
|
|
56535
|
-
{
|
|
56536
|
-
"kind": "variable",
|
|
56537
|
-
"name": "DATETIME_OPERATORS",
|
|
56538
|
-
"type": {
|
|
56539
|
-
"text": "CriteriaOperator[]"
|
|
56540
|
-
},
|
|
56541
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
56542
|
-
}
|
|
56543
|
-
],
|
|
56544
|
-
"exports": [
|
|
56545
|
-
{
|
|
56546
|
-
"kind": "js",
|
|
56547
|
-
"name": "groupsToCriteria",
|
|
56548
|
-
"declaration": {
|
|
56549
|
-
"name": "groupsToCriteria",
|
|
56550
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
56551
|
-
}
|
|
56552
|
-
},
|
|
56553
|
-
{
|
|
56554
|
-
"kind": "js",
|
|
56555
|
-
"name": "STRING_OPERATORS",
|
|
56556
|
-
"declaration": {
|
|
56557
|
-
"name": "STRING_OPERATORS",
|
|
56558
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
56559
|
-
}
|
|
56560
|
-
},
|
|
56561
|
-
{
|
|
56562
|
-
"kind": "js",
|
|
56563
|
-
"name": "NUMERIC_OPERATORS",
|
|
56564
|
-
"declaration": {
|
|
56565
|
-
"name": "NUMERIC_OPERATORS",
|
|
56566
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
56567
|
-
}
|
|
56568
|
-
},
|
|
56569
|
-
{
|
|
56570
|
-
"kind": "js",
|
|
56571
|
-
"name": "DATE_OPERATORS",
|
|
56572
|
-
"declaration": {
|
|
56573
|
-
"name": "DATE_OPERATORS",
|
|
56574
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
56575
|
-
}
|
|
56576
|
-
},
|
|
56577
|
-
{
|
|
56578
|
-
"kind": "js",
|
|
56579
|
-
"name": "DATETIME_OPERATORS",
|
|
56580
|
-
"declaration": {
|
|
56581
|
-
"name": "DATETIME_OPERATORS",
|
|
56582
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
56583
|
-
}
|
|
56584
|
-
}
|
|
56585
|
-
]
|
|
56586
|
-
},
|
|
56587
|
-
{
|
|
56588
|
-
"kind": "javascript-module",
|
|
56589
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
56590
|
-
"declarations": [
|
|
56591
|
-
{
|
|
56592
|
-
"kind": "function",
|
|
56593
|
-
"name": "validateClauses",
|
|
56594
|
-
"return": {
|
|
56595
|
-
"type": {
|
|
56596
|
-
"text": "ValidationResult"
|
|
56597
|
-
}
|
|
56598
|
-
},
|
|
56599
|
-
"parameters": [
|
|
56600
|
-
{
|
|
56601
|
-
"name": "clauses",
|
|
56602
|
-
"type": {
|
|
56603
|
-
"text": "CriteriaClause[]"
|
|
56604
|
-
}
|
|
56605
|
-
},
|
|
56606
|
-
{
|
|
56607
|
-
"name": "fieldMetadata",
|
|
56608
|
-
"type": {
|
|
56609
|
-
"text": "MetadataDetail[] | string[]"
|
|
56610
|
-
}
|
|
56611
|
-
}
|
|
56612
|
-
]
|
|
56613
|
-
},
|
|
56614
|
-
{
|
|
56615
|
-
"kind": "function",
|
|
56616
|
-
"name": "validateGroups",
|
|
56617
|
-
"return": {
|
|
56618
|
-
"type": {
|
|
56619
|
-
"text": "GroupsValidationResult"
|
|
56620
|
-
}
|
|
56621
|
-
},
|
|
56622
|
-
"parameters": [
|
|
56623
|
-
{
|
|
56624
|
-
"name": "groups",
|
|
56625
|
-
"type": {
|
|
56626
|
-
"text": "CriteriaGroup[]"
|
|
56627
|
-
}
|
|
56628
|
-
},
|
|
56629
|
-
{
|
|
56630
|
-
"name": "fieldMetadata",
|
|
56631
|
-
"type": {
|
|
56632
|
-
"text": "MetadataDetail[] | string[]"
|
|
56633
|
-
}
|
|
56634
|
-
}
|
|
56635
|
-
],
|
|
56636
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
56637
|
-
}
|
|
56638
|
-
],
|
|
56639
|
-
"exports": [
|
|
56640
|
-
{
|
|
56641
|
-
"kind": "js",
|
|
56642
|
-
"name": "validateClauses",
|
|
56643
|
-
"declaration": {
|
|
56644
|
-
"name": "validateClauses",
|
|
56645
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
56646
|
-
}
|
|
56647
|
-
},
|
|
56648
|
-
{
|
|
56649
|
-
"kind": "js",
|
|
56650
|
-
"name": "validateGroups",
|
|
56651
|
-
"declaration": {
|
|
56652
|
-
"name": "validateGroups",
|
|
56653
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
56654
|
-
}
|
|
56655
|
-
}
|
|
56656
|
-
]
|
|
56657
|
-
},
|
|
56658
56758
|
{
|
|
56659
56759
|
"kind": "javascript-module",
|
|
56660
56760
|
"path": "src/environment-indicator/utils/configure.ts",
|