@genesislcap/foundation-ui 14.405.0 → 14.406.0-workspaces.1
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 +990 -186
- package/dist/dts/workspace/index.d.ts +5 -0
- package/dist/dts/workspace/index.d.ts.map +1 -0
- package/dist/dts/workspace/workspace-di.d.ts +13 -0
- package/dist/dts/workspace/workspace-di.d.ts.map +1 -0
- package/dist/dts/workspace/workspace-registry.types.d.ts +34 -0
- package/dist/dts/workspace/workspace-registry.types.d.ts.map +1 -0
- package/dist/dts/workspace/workspace-state.types.d.ts +37 -0
- package/dist/dts/workspace/workspace-state.types.d.ts.map +1 -0
- package/dist/dts/workspace/workspace.types.d.ts +25 -0
- package/dist/dts/workspace/workspace.types.d.ts.map +1 -0
- package/dist/dts/workspace-manager/index.d.ts +2 -0
- package/dist/dts/workspace-manager/index.d.ts.map +1 -0
- package/dist/dts/workspace-manager/workspace-manager.d.ts +58 -0
- package/dist/dts/workspace-manager/workspace-manager.d.ts.map +1 -0
- package/dist/dts/workspace-manager/workspace-manager.styles.d.ts +2 -0
- package/dist/dts/workspace-manager/workspace-manager.styles.d.ts.map +1 -0
- package/dist/dts/workspace-manager/workspace-manager.template.d.ts +3 -0
- package/dist/dts/workspace-manager/workspace-manager.template.d.ts.map +1 -0
- package/dist/esm/workspace/index.js +4 -0
- package/dist/esm/workspace/workspace-di.js +9 -0
- package/dist/esm/workspace/workspace-registry.types.js +1 -0
- package/dist/esm/workspace/workspace-state.types.js +1 -0
- package/dist/esm/workspace/workspace.types.js +1 -0
- package/dist/esm/workspace-manager/index.js +1 -0
- package/dist/esm/workspace-manager/workspace-manager.js +399 -0
- package/dist/esm/workspace-manager/workspace-manager.styles.js +138 -0
- package/dist/esm/workspace-manager/workspace-manager.template.js +248 -0
- package/package.json +19 -19
|
@@ -1681,6 +1681,37 @@
|
|
|
1681
1681
|
}
|
|
1682
1682
|
]
|
|
1683
1683
|
},
|
|
1684
|
+
{
|
|
1685
|
+
"kind": "javascript-module",
|
|
1686
|
+
"path": "src/_config/index.ts",
|
|
1687
|
+
"declarations": [],
|
|
1688
|
+
"exports": [
|
|
1689
|
+
{
|
|
1690
|
+
"kind": "js",
|
|
1691
|
+
"name": "*",
|
|
1692
|
+
"declaration": {
|
|
1693
|
+
"name": "*",
|
|
1694
|
+
"package": "./styles"
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
"kind": "js",
|
|
1699
|
+
"name": "*",
|
|
1700
|
+
"declaration": {
|
|
1701
|
+
"name": "*",
|
|
1702
|
+
"package": "./tokens"
|
|
1703
|
+
}
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
"kind": "js",
|
|
1707
|
+
"name": "*",
|
|
1708
|
+
"declaration": {
|
|
1709
|
+
"name": "*",
|
|
1710
|
+
"package": "./values"
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
]
|
|
1714
|
+
},
|
|
1684
1715
|
{
|
|
1685
1716
|
"kind": "javascript-module",
|
|
1686
1717
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -2242,7 +2273,158 @@
|
|
|
2242
2273
|
},
|
|
2243
2274
|
{
|
|
2244
2275
|
"kind": "javascript-module",
|
|
2245
|
-
"path": "src/
|
|
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
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
"name": "definition",
|
|
2334
|
+
"type": {
|
|
2335
|
+
"text": "FoundationElementDefinition"
|
|
2336
|
+
}
|
|
2337
|
+
}
|
|
2338
|
+
]
|
|
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
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
"kind": "variable",
|
|
2369
|
+
"name": "foundationAccordionShadowOptions",
|
|
2370
|
+
"type": {
|
|
2371
|
+
"text": "ShadowRootInit"
|
|
2372
|
+
},
|
|
2373
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
"kind": "variable",
|
|
2377
|
+
"name": "defaultAccordionConfig",
|
|
2378
|
+
"type": {
|
|
2379
|
+
"text": "object"
|
|
2380
|
+
},
|
|
2381
|
+
"default": "{}"
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"kind": "variable",
|
|
2385
|
+
"name": "foundationAccordion",
|
|
2386
|
+
"description": "The Foundation Accordion",
|
|
2387
|
+
"privacy": "public"
|
|
2388
|
+
}
|
|
2389
|
+
],
|
|
2390
|
+
"exports": [
|
|
2391
|
+
{
|
|
2392
|
+
"kind": "js",
|
|
2393
|
+
"name": "Accordion",
|
|
2394
|
+
"declaration": {
|
|
2395
|
+
"name": "Accordion",
|
|
2396
|
+
"module": "src/accordion/accordion.ts"
|
|
2397
|
+
}
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
"kind": "js",
|
|
2401
|
+
"name": "foundationAccordionShadowOptions",
|
|
2402
|
+
"declaration": {
|
|
2403
|
+
"name": "foundationAccordionShadowOptions",
|
|
2404
|
+
"module": "src/accordion/accordion.ts"
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
"kind": "js",
|
|
2409
|
+
"name": "defaultAccordionConfig",
|
|
2410
|
+
"declaration": {
|
|
2411
|
+
"name": "defaultAccordionConfig",
|
|
2412
|
+
"module": "src/accordion/accordion.ts"
|
|
2413
|
+
}
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
"kind": "js",
|
|
2417
|
+
"name": "foundationAccordion",
|
|
2418
|
+
"declaration": {
|
|
2419
|
+
"name": "foundationAccordion",
|
|
2420
|
+
"module": "src/accordion/accordion.ts"
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
]
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"kind": "javascript-module",
|
|
2427
|
+
"path": "src/accordion/index.ts",
|
|
2246
2428
|
"declarations": [],
|
|
2247
2429
|
"exports": [
|
|
2248
2430
|
{
|
|
@@ -2250,7 +2432,7 @@
|
|
|
2250
2432
|
"name": "*",
|
|
2251
2433
|
"declaration": {
|
|
2252
2434
|
"name": "*",
|
|
2253
|
-
"package": "./
|
|
2435
|
+
"package": "./accordion.template"
|
|
2254
2436
|
}
|
|
2255
2437
|
},
|
|
2256
2438
|
{
|
|
@@ -2258,7 +2440,7 @@
|
|
|
2258
2440
|
"name": "*",
|
|
2259
2441
|
"declaration": {
|
|
2260
2442
|
"name": "*",
|
|
2261
|
-
"package": "./
|
|
2443
|
+
"package": "./accordion.styles"
|
|
2262
2444
|
}
|
|
2263
2445
|
},
|
|
2264
2446
|
{
|
|
@@ -2266,7 +2448,7 @@
|
|
|
2266
2448
|
"name": "*",
|
|
2267
2449
|
"declaration": {
|
|
2268
2450
|
"name": "*",
|
|
2269
|
-
"package": "./
|
|
2451
|
+
"package": "./accordion"
|
|
2270
2452
|
}
|
|
2271
2453
|
}
|
|
2272
2454
|
]
|
|
@@ -3251,188 +3433,6 @@
|
|
|
3251
3433
|
}
|
|
3252
3434
|
]
|
|
3253
3435
|
},
|
|
3254
|
-
{
|
|
3255
|
-
"kind": "javascript-module",
|
|
3256
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
3257
|
-
"declarations": [
|
|
3258
|
-
{
|
|
3259
|
-
"kind": "function",
|
|
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
3436
|
{
|
|
3437
3437
|
"kind": "javascript-module",
|
|
3438
3438
|
"path": "src/anchor/anchor.styles.ts",
|
|
@@ -54304,6 +54304,810 @@
|
|
|
54304
54304
|
}
|
|
54305
54305
|
]
|
|
54306
54306
|
},
|
|
54307
|
+
{
|
|
54308
|
+
"kind": "javascript-module",
|
|
54309
|
+
"path": "src/workspace/index.ts",
|
|
54310
|
+
"declarations": [],
|
|
54311
|
+
"exports": [
|
|
54312
|
+
{
|
|
54313
|
+
"kind": "js",
|
|
54314
|
+
"name": "*",
|
|
54315
|
+
"declaration": {
|
|
54316
|
+
"name": "*",
|
|
54317
|
+
"package": "./workspace.types"
|
|
54318
|
+
}
|
|
54319
|
+
},
|
|
54320
|
+
{
|
|
54321
|
+
"kind": "js",
|
|
54322
|
+
"name": "*",
|
|
54323
|
+
"declaration": {
|
|
54324
|
+
"name": "*",
|
|
54325
|
+
"package": "./workspace-state.types"
|
|
54326
|
+
}
|
|
54327
|
+
},
|
|
54328
|
+
{
|
|
54329
|
+
"kind": "js",
|
|
54330
|
+
"name": "*",
|
|
54331
|
+
"declaration": {
|
|
54332
|
+
"name": "*",
|
|
54333
|
+
"package": "./workspace-registry.types"
|
|
54334
|
+
}
|
|
54335
|
+
},
|
|
54336
|
+
{
|
|
54337
|
+
"kind": "js",
|
|
54338
|
+
"name": "*",
|
|
54339
|
+
"declaration": {
|
|
54340
|
+
"name": "*",
|
|
54341
|
+
"package": "./workspace-di"
|
|
54342
|
+
}
|
|
54343
|
+
}
|
|
54344
|
+
]
|
|
54345
|
+
},
|
|
54346
|
+
{
|
|
54347
|
+
"kind": "javascript-module",
|
|
54348
|
+
"path": "src/workspace/workspace-di.ts",
|
|
54349
|
+
"declarations": [
|
|
54350
|
+
{
|
|
54351
|
+
"kind": "variable",
|
|
54352
|
+
"name": "LayoutRegistry",
|
|
54353
|
+
"description": "DI token for layout registry. Host app must register an implementation."
|
|
54354
|
+
},
|
|
54355
|
+
{
|
|
54356
|
+
"kind": "variable",
|
|
54357
|
+
"name": "GridRegistry",
|
|
54358
|
+
"description": "DI token for grid registry. Host app must register an implementation."
|
|
54359
|
+
},
|
|
54360
|
+
{
|
|
54361
|
+
"kind": "variable",
|
|
54362
|
+
"name": "FilterRegistry",
|
|
54363
|
+
"description": "DI token for filter registry. Host app must register an implementation."
|
|
54364
|
+
},
|
|
54365
|
+
{
|
|
54366
|
+
"kind": "variable",
|
|
54367
|
+
"name": "WorkspaceState",
|
|
54368
|
+
"description": "DI token for workspace state. Host app must register an implementation."
|
|
54369
|
+
}
|
|
54370
|
+
],
|
|
54371
|
+
"exports": [
|
|
54372
|
+
{
|
|
54373
|
+
"kind": "js",
|
|
54374
|
+
"name": "LayoutRegistry",
|
|
54375
|
+
"declaration": {
|
|
54376
|
+
"name": "LayoutRegistry",
|
|
54377
|
+
"module": "src/workspace/workspace-di.ts"
|
|
54378
|
+
}
|
|
54379
|
+
},
|
|
54380
|
+
{
|
|
54381
|
+
"kind": "js",
|
|
54382
|
+
"name": "GridRegistry",
|
|
54383
|
+
"declaration": {
|
|
54384
|
+
"name": "GridRegistry",
|
|
54385
|
+
"module": "src/workspace/workspace-di.ts"
|
|
54386
|
+
}
|
|
54387
|
+
},
|
|
54388
|
+
{
|
|
54389
|
+
"kind": "js",
|
|
54390
|
+
"name": "FilterRegistry",
|
|
54391
|
+
"declaration": {
|
|
54392
|
+
"name": "FilterRegistry",
|
|
54393
|
+
"module": "src/workspace/workspace-di.ts"
|
|
54394
|
+
}
|
|
54395
|
+
},
|
|
54396
|
+
{
|
|
54397
|
+
"kind": "js",
|
|
54398
|
+
"name": "WorkspaceState",
|
|
54399
|
+
"declaration": {
|
|
54400
|
+
"name": "WorkspaceState",
|
|
54401
|
+
"module": "src/workspace/workspace-di.ts"
|
|
54402
|
+
}
|
|
54403
|
+
}
|
|
54404
|
+
]
|
|
54405
|
+
},
|
|
54406
|
+
{
|
|
54407
|
+
"kind": "javascript-module",
|
|
54408
|
+
"path": "src/workspace/workspace-registry.types.ts",
|
|
54409
|
+
"declarations": [],
|
|
54410
|
+
"exports": []
|
|
54411
|
+
},
|
|
54412
|
+
{
|
|
54413
|
+
"kind": "javascript-module",
|
|
54414
|
+
"path": "src/workspace/workspace-state.types.ts",
|
|
54415
|
+
"declarations": [],
|
|
54416
|
+
"exports": []
|
|
54417
|
+
},
|
|
54418
|
+
{
|
|
54419
|
+
"kind": "javascript-module",
|
|
54420
|
+
"path": "src/workspace/workspace.types.ts",
|
|
54421
|
+
"declarations": [],
|
|
54422
|
+
"exports": []
|
|
54423
|
+
},
|
|
54424
|
+
{
|
|
54425
|
+
"kind": "javascript-module",
|
|
54426
|
+
"path": "src/workspace-manager/index.ts",
|
|
54427
|
+
"declarations": [],
|
|
54428
|
+
"exports": [
|
|
54429
|
+
{
|
|
54430
|
+
"kind": "js",
|
|
54431
|
+
"name": "*",
|
|
54432
|
+
"declaration": {
|
|
54433
|
+
"name": "*",
|
|
54434
|
+
"package": "./workspace-manager"
|
|
54435
|
+
}
|
|
54436
|
+
}
|
|
54437
|
+
]
|
|
54438
|
+
},
|
|
54439
|
+
{
|
|
54440
|
+
"kind": "javascript-module",
|
|
54441
|
+
"path": "src/workspace-manager/workspace-manager.styles.ts",
|
|
54442
|
+
"declarations": [
|
|
54443
|
+
{
|
|
54444
|
+
"kind": "variable",
|
|
54445
|
+
"name": "WorkspaceManagerStyles",
|
|
54446
|
+
"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`"
|
|
54447
|
+
}
|
|
54448
|
+
],
|
|
54449
|
+
"exports": [
|
|
54450
|
+
{
|
|
54451
|
+
"kind": "js",
|
|
54452
|
+
"name": "WorkspaceManagerStyles",
|
|
54453
|
+
"declaration": {
|
|
54454
|
+
"name": "WorkspaceManagerStyles",
|
|
54455
|
+
"module": "src/workspace-manager/workspace-manager.styles.ts"
|
|
54456
|
+
}
|
|
54457
|
+
}
|
|
54458
|
+
]
|
|
54459
|
+
},
|
|
54460
|
+
{
|
|
54461
|
+
"kind": "javascript-module",
|
|
54462
|
+
"path": "src/workspace-manager/workspace-manager.template.ts",
|
|
54463
|
+
"declarations": [
|
|
54464
|
+
{
|
|
54465
|
+
"kind": "variable",
|
|
54466
|
+
"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`"
|
|
54468
|
+
}
|
|
54469
|
+
],
|
|
54470
|
+
"exports": [
|
|
54471
|
+
{
|
|
54472
|
+
"kind": "js",
|
|
54473
|
+
"name": "WorkspaceManagerTemplate",
|
|
54474
|
+
"declaration": {
|
|
54475
|
+
"name": "WorkspaceManagerTemplate",
|
|
54476
|
+
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
54477
|
+
}
|
|
54478
|
+
}
|
|
54479
|
+
]
|
|
54480
|
+
},
|
|
54481
|
+
{
|
|
54482
|
+
"kind": "javascript-module",
|
|
54483
|
+
"path": "src/workspace-manager/workspace-manager.ts",
|
|
54484
|
+
"declarations": [
|
|
54485
|
+
{
|
|
54486
|
+
"kind": "class",
|
|
54487
|
+
"description": "",
|
|
54488
|
+
"name": "WorkspaceManager",
|
|
54489
|
+
"members": [
|
|
54490
|
+
{
|
|
54491
|
+
"kind": "field",
|
|
54492
|
+
"name": "workspaceName",
|
|
54493
|
+
"type": {
|
|
54494
|
+
"text": "string"
|
|
54495
|
+
},
|
|
54496
|
+
"default": "''"
|
|
54497
|
+
},
|
|
54498
|
+
{
|
|
54499
|
+
"kind": "field",
|
|
54500
|
+
"name": "workspaceDescription",
|
|
54501
|
+
"type": {
|
|
54502
|
+
"text": "string"
|
|
54503
|
+
},
|
|
54504
|
+
"default": "''"
|
|
54505
|
+
},
|
|
54506
|
+
{
|
|
54507
|
+
"kind": "field",
|
|
54508
|
+
"name": "savedWorkspaces",
|
|
54509
|
+
"type": {
|
|
54510
|
+
"text": "SavedWorkspace[]"
|
|
54511
|
+
},
|
|
54512
|
+
"default": "[]"
|
|
54513
|
+
},
|
|
54514
|
+
{
|
|
54515
|
+
"kind": "field",
|
|
54516
|
+
"name": "sharedWorkspaces",
|
|
54517
|
+
"type": {
|
|
54518
|
+
"text": "SharedWorkspace[]"
|
|
54519
|
+
},
|
|
54520
|
+
"default": "[]"
|
|
54521
|
+
},
|
|
54522
|
+
{
|
|
54523
|
+
"kind": "field",
|
|
54524
|
+
"name": "isLoading",
|
|
54525
|
+
"type": {
|
|
54526
|
+
"text": "boolean"
|
|
54527
|
+
},
|
|
54528
|
+
"default": "false"
|
|
54529
|
+
},
|
|
54530
|
+
{
|
|
54531
|
+
"kind": "field",
|
|
54532
|
+
"name": "applyingWorkspace",
|
|
54533
|
+
"type": {
|
|
54534
|
+
"text": "boolean"
|
|
54535
|
+
},
|
|
54536
|
+
"default": "false"
|
|
54537
|
+
},
|
|
54538
|
+
{
|
|
54539
|
+
"kind": "field",
|
|
54540
|
+
"name": "loadMode",
|
|
54541
|
+
"type": {
|
|
54542
|
+
"text": "LoadMode"
|
|
54543
|
+
},
|
|
54544
|
+
"default": "'MY'"
|
|
54545
|
+
},
|
|
54546
|
+
{
|
|
54547
|
+
"kind": "field",
|
|
54548
|
+
"name": "saveModal",
|
|
54549
|
+
"type": {
|
|
54550
|
+
"text": "Modal"
|
|
54551
|
+
}
|
|
54552
|
+
},
|
|
54553
|
+
{
|
|
54554
|
+
"kind": "field",
|
|
54555
|
+
"name": "loadModal",
|
|
54556
|
+
"type": {
|
|
54557
|
+
"text": "Modal"
|
|
54558
|
+
}
|
|
54559
|
+
},
|
|
54560
|
+
{
|
|
54561
|
+
"kind": "field",
|
|
54562
|
+
"name": "saveMode",
|
|
54563
|
+
"type": {
|
|
54564
|
+
"text": "'create' | 'overwrite' | 'shared'"
|
|
54565
|
+
},
|
|
54566
|
+
"default": "'create'"
|
|
54567
|
+
},
|
|
54568
|
+
{
|
|
54569
|
+
"kind": "field",
|
|
54570
|
+
"name": "selectedWorkspaceToOverwrite",
|
|
54571
|
+
"type": {
|
|
54572
|
+
"text": "string"
|
|
54573
|
+
},
|
|
54574
|
+
"default": "''"
|
|
54575
|
+
},
|
|
54576
|
+
{
|
|
54577
|
+
"kind": "field",
|
|
54578
|
+
"name": "workspaceToShare",
|
|
54579
|
+
"type": {
|
|
54580
|
+
"text": "string"
|
|
54581
|
+
},
|
|
54582
|
+
"default": "''"
|
|
54583
|
+
},
|
|
54584
|
+
{
|
|
54585
|
+
"kind": "field",
|
|
54586
|
+
"name": "dialogBoundary",
|
|
54587
|
+
"type": {
|
|
54588
|
+
"text": "HTMLElement"
|
|
54589
|
+
}
|
|
54590
|
+
},
|
|
54591
|
+
{
|
|
54592
|
+
"kind": "field",
|
|
54593
|
+
"name": "sharedWorkspaceDialogBoundary",
|
|
54594
|
+
"type": {
|
|
54595
|
+
"text": "HTMLElement"
|
|
54596
|
+
}
|
|
54597
|
+
},
|
|
54598
|
+
{
|
|
54599
|
+
"kind": "field",
|
|
54600
|
+
"name": "layoutRegistry",
|
|
54601
|
+
"type": {
|
|
54602
|
+
"text": "ILayoutRegistry"
|
|
54603
|
+
}
|
|
54604
|
+
},
|
|
54605
|
+
{
|
|
54606
|
+
"kind": "field",
|
|
54607
|
+
"name": "gridRegistry",
|
|
54608
|
+
"type": {
|
|
54609
|
+
"text": "IGridRegistry"
|
|
54610
|
+
}
|
|
54611
|
+
},
|
|
54612
|
+
{
|
|
54613
|
+
"kind": "field",
|
|
54614
|
+
"name": "filterRegistry",
|
|
54615
|
+
"type": {
|
|
54616
|
+
"text": "IFilterRegistry"
|
|
54617
|
+
}
|
|
54618
|
+
},
|
|
54619
|
+
{
|
|
54620
|
+
"kind": "field",
|
|
54621
|
+
"name": "workspaceState",
|
|
54622
|
+
"type": {
|
|
54623
|
+
"text": "IWorkspaceState"
|
|
54624
|
+
}
|
|
54625
|
+
},
|
|
54626
|
+
{
|
|
54627
|
+
"kind": "field",
|
|
54628
|
+
"name": "connect",
|
|
54629
|
+
"type": {
|
|
54630
|
+
"text": "Connect"
|
|
54631
|
+
}
|
|
54632
|
+
},
|
|
54633
|
+
{
|
|
54634
|
+
"kind": "field",
|
|
54635
|
+
"name": "auth",
|
|
54636
|
+
"type": {
|
|
54637
|
+
"text": "Auth"
|
|
54638
|
+
}
|
|
54639
|
+
},
|
|
54640
|
+
{
|
|
54641
|
+
"kind": "field",
|
|
54642
|
+
"name": "canShareWorkspace",
|
|
54643
|
+
"type": {
|
|
54644
|
+
"text": "boolean"
|
|
54645
|
+
}
|
|
54646
|
+
},
|
|
54647
|
+
{
|
|
54648
|
+
"kind": "method",
|
|
54649
|
+
"name": "refreshSavedWorkspaces",
|
|
54650
|
+
"return": {
|
|
54651
|
+
"type": {
|
|
54652
|
+
"text": "Promise<void>"
|
|
54653
|
+
}
|
|
54654
|
+
}
|
|
54655
|
+
},
|
|
54656
|
+
{
|
|
54657
|
+
"kind": "method",
|
|
54658
|
+
"name": "refreshSharedWorkspaces",
|
|
54659
|
+
"return": {
|
|
54660
|
+
"type": {
|
|
54661
|
+
"text": "Promise<void>"
|
|
54662
|
+
}
|
|
54663
|
+
}
|
|
54664
|
+
},
|
|
54665
|
+
{
|
|
54666
|
+
"kind": "method",
|
|
54667
|
+
"name": "notifyError",
|
|
54668
|
+
"privacy": "private",
|
|
54669
|
+
"return": {
|
|
54670
|
+
"type": {
|
|
54671
|
+
"text": "void"
|
|
54672
|
+
}
|
|
54673
|
+
},
|
|
54674
|
+
"parameters": [
|
|
54675
|
+
{
|
|
54676
|
+
"name": "body",
|
|
54677
|
+
"default": "'Error'"
|
|
54678
|
+
}
|
|
54679
|
+
]
|
|
54680
|
+
},
|
|
54681
|
+
{
|
|
54682
|
+
"kind": "method",
|
|
54683
|
+
"name": "saveWorkspace",
|
|
54684
|
+
"return": {
|
|
54685
|
+
"type": {
|
|
54686
|
+
"text": "Promise<void>"
|
|
54687
|
+
}
|
|
54688
|
+
}
|
|
54689
|
+
},
|
|
54690
|
+
{
|
|
54691
|
+
"kind": "method",
|
|
54692
|
+
"name": "applyWorkspace",
|
|
54693
|
+
"privacy": "private",
|
|
54694
|
+
"return": {
|
|
54695
|
+
"type": {
|
|
54696
|
+
"text": "Promise<void>"
|
|
54697
|
+
}
|
|
54698
|
+
},
|
|
54699
|
+
"parameters": [
|
|
54700
|
+
{
|
|
54701
|
+
"name": "workspace",
|
|
54702
|
+
"type": {
|
|
54703
|
+
"text": "SavedWorkspace"
|
|
54704
|
+
}
|
|
54705
|
+
}
|
|
54706
|
+
]
|
|
54707
|
+
},
|
|
54708
|
+
{
|
|
54709
|
+
"kind": "method",
|
|
54710
|
+
"name": "loadWorkspace",
|
|
54711
|
+
"return": {
|
|
54712
|
+
"type": {
|
|
54713
|
+
"text": "Promise<void>"
|
|
54714
|
+
}
|
|
54715
|
+
},
|
|
54716
|
+
"parameters": [
|
|
54717
|
+
{
|
|
54718
|
+
"name": "workspaceName",
|
|
54719
|
+
"type": {
|
|
54720
|
+
"text": "string"
|
|
54721
|
+
}
|
|
54722
|
+
}
|
|
54723
|
+
]
|
|
54724
|
+
},
|
|
54725
|
+
{
|
|
54726
|
+
"kind": "method",
|
|
54727
|
+
"name": "requestSharedWorkspace",
|
|
54728
|
+
"privacy": "private",
|
|
54729
|
+
"return": {
|
|
54730
|
+
"type": {
|
|
54731
|
+
"text": "Promise<any[]>"
|
|
54732
|
+
}
|
|
54733
|
+
},
|
|
54734
|
+
"parameters": [
|
|
54735
|
+
{
|
|
54736
|
+
"name": "SHARED_WORKSPACE_ID",
|
|
54737
|
+
"type": {
|
|
54738
|
+
"text": "string"
|
|
54739
|
+
}
|
|
54740
|
+
}
|
|
54741
|
+
]
|
|
54742
|
+
},
|
|
54743
|
+
{
|
|
54744
|
+
"kind": "method",
|
|
54745
|
+
"name": "loadSharedWorkspace",
|
|
54746
|
+
"return": {
|
|
54747
|
+
"type": {
|
|
54748
|
+
"text": "Promise<void>"
|
|
54749
|
+
}
|
|
54750
|
+
},
|
|
54751
|
+
"parameters": [
|
|
54752
|
+
{
|
|
54753
|
+
"name": "shared",
|
|
54754
|
+
"type": {
|
|
54755
|
+
"text": "{\n id: string;\n name: string;\n userName: string;\n createdOn?: string | number;\n modifiedOn?: string | number;\n data: string;\n }"
|
|
54756
|
+
}
|
|
54757
|
+
}
|
|
54758
|
+
]
|
|
54759
|
+
},
|
|
54760
|
+
{
|
|
54761
|
+
"kind": "method",
|
|
54762
|
+
"name": "deleteWorkspace",
|
|
54763
|
+
"return": {
|
|
54764
|
+
"type": {
|
|
54765
|
+
"text": "Promise<void>"
|
|
54766
|
+
}
|
|
54767
|
+
},
|
|
54768
|
+
"parameters": [
|
|
54769
|
+
{
|
|
54770
|
+
"name": "workspaceName",
|
|
54771
|
+
"type": {
|
|
54772
|
+
"text": "string"
|
|
54773
|
+
}
|
|
54774
|
+
}
|
|
54775
|
+
]
|
|
54776
|
+
},
|
|
54777
|
+
{
|
|
54778
|
+
"kind": "method",
|
|
54779
|
+
"name": "showDeleteConfirmation",
|
|
54780
|
+
"privacy": "private",
|
|
54781
|
+
"return": {
|
|
54782
|
+
"type": {
|
|
54783
|
+
"text": "void"
|
|
54784
|
+
}
|
|
54785
|
+
},
|
|
54786
|
+
"parameters": [
|
|
54787
|
+
{
|
|
54788
|
+
"name": "title",
|
|
54789
|
+
"type": {
|
|
54790
|
+
"text": "string"
|
|
54791
|
+
}
|
|
54792
|
+
},
|
|
54793
|
+
{
|
|
54794
|
+
"name": "body",
|
|
54795
|
+
"type": {
|
|
54796
|
+
"text": "string"
|
|
54797
|
+
}
|
|
54798
|
+
},
|
|
54799
|
+
{
|
|
54800
|
+
"name": "actionFunction",
|
|
54801
|
+
"type": {
|
|
54802
|
+
"text": "() => void"
|
|
54803
|
+
}
|
|
54804
|
+
},
|
|
54805
|
+
{
|
|
54806
|
+
"name": "dialogBoundary",
|
|
54807
|
+
"type": {
|
|
54808
|
+
"text": "HTMLElement"
|
|
54809
|
+
}
|
|
54810
|
+
}
|
|
54811
|
+
]
|
|
54812
|
+
},
|
|
54813
|
+
{
|
|
54814
|
+
"kind": "method",
|
|
54815
|
+
"name": "confirmDeleteWorkspace",
|
|
54816
|
+
"return": {
|
|
54817
|
+
"type": {
|
|
54818
|
+
"text": "void"
|
|
54819
|
+
}
|
|
54820
|
+
},
|
|
54821
|
+
"parameters": [
|
|
54822
|
+
{
|
|
54823
|
+
"name": "workspaceName",
|
|
54824
|
+
"type": {
|
|
54825
|
+
"text": "string"
|
|
54826
|
+
}
|
|
54827
|
+
}
|
|
54828
|
+
]
|
|
54829
|
+
},
|
|
54830
|
+
{
|
|
54831
|
+
"kind": "method",
|
|
54832
|
+
"name": "modifySharedWorkspace",
|
|
54833
|
+
"return": {
|
|
54834
|
+
"type": {
|
|
54835
|
+
"text": "Promise<void>"
|
|
54836
|
+
}
|
|
54837
|
+
},
|
|
54838
|
+
"parameters": [
|
|
54839
|
+
{
|
|
54840
|
+
"name": "sharedWorkspace",
|
|
54841
|
+
"type": {
|
|
54842
|
+
"text": "SharedWorkspace"
|
|
54843
|
+
}
|
|
54844
|
+
}
|
|
54845
|
+
]
|
|
54846
|
+
},
|
|
54847
|
+
{
|
|
54848
|
+
"kind": "method",
|
|
54849
|
+
"name": "deleteSharedWorkspace",
|
|
54850
|
+
"return": {
|
|
54851
|
+
"type": {
|
|
54852
|
+
"text": "Promise<void>"
|
|
54853
|
+
}
|
|
54854
|
+
},
|
|
54855
|
+
"parameters": [
|
|
54856
|
+
{
|
|
54857
|
+
"name": "sharedWorkspace",
|
|
54858
|
+
"type": {
|
|
54859
|
+
"text": "SharedWorkspace"
|
|
54860
|
+
}
|
|
54861
|
+
}
|
|
54862
|
+
]
|
|
54863
|
+
},
|
|
54864
|
+
{
|
|
54865
|
+
"kind": "method",
|
|
54866
|
+
"name": "confirmDeleteSharedWorkspace",
|
|
54867
|
+
"return": {
|
|
54868
|
+
"type": {
|
|
54869
|
+
"text": "void"
|
|
54870
|
+
}
|
|
54871
|
+
},
|
|
54872
|
+
"parameters": [
|
|
54873
|
+
{
|
|
54874
|
+
"name": "sharedWorkspace",
|
|
54875
|
+
"type": {
|
|
54876
|
+
"text": "SharedWorkspace"
|
|
54877
|
+
}
|
|
54878
|
+
}
|
|
54879
|
+
]
|
|
54880
|
+
},
|
|
54881
|
+
{
|
|
54882
|
+
"kind": "method",
|
|
54883
|
+
"name": "shareExistingWorkspace",
|
|
54884
|
+
"return": {
|
|
54885
|
+
"type": {
|
|
54886
|
+
"text": "Promise<void>"
|
|
54887
|
+
}
|
|
54888
|
+
},
|
|
54889
|
+
"parameters": [
|
|
54890
|
+
{
|
|
54891
|
+
"name": "workspaceName",
|
|
54892
|
+
"type": {
|
|
54893
|
+
"text": "string"
|
|
54894
|
+
}
|
|
54895
|
+
}
|
|
54896
|
+
]
|
|
54897
|
+
},
|
|
54898
|
+
{
|
|
54899
|
+
"kind": "method",
|
|
54900
|
+
"name": "openSaveDialog",
|
|
54901
|
+
"return": {
|
|
54902
|
+
"type": {
|
|
54903
|
+
"text": "Promise<void>"
|
|
54904
|
+
}
|
|
54905
|
+
}
|
|
54906
|
+
},
|
|
54907
|
+
{
|
|
54908
|
+
"kind": "method",
|
|
54909
|
+
"name": "isWorkspaceExisting",
|
|
54910
|
+
"return": {
|
|
54911
|
+
"type": {
|
|
54912
|
+
"text": "boolean"
|
|
54913
|
+
}
|
|
54914
|
+
},
|
|
54915
|
+
"parameters": [
|
|
54916
|
+
{
|
|
54917
|
+
"name": "workspaceName",
|
|
54918
|
+
"type": {
|
|
54919
|
+
"text": "string"
|
|
54920
|
+
}
|
|
54921
|
+
}
|
|
54922
|
+
]
|
|
54923
|
+
},
|
|
54924
|
+
{
|
|
54925
|
+
"kind": "method",
|
|
54926
|
+
"name": "saveModeChanged",
|
|
54927
|
+
"return": {
|
|
54928
|
+
"type": {
|
|
54929
|
+
"text": "void"
|
|
54930
|
+
}
|
|
54931
|
+
},
|
|
54932
|
+
"parameters": [
|
|
54933
|
+
{
|
|
54934
|
+
"name": "oldValue",
|
|
54935
|
+
"type": {
|
|
54936
|
+
"text": "string"
|
|
54937
|
+
}
|
|
54938
|
+
},
|
|
54939
|
+
{
|
|
54940
|
+
"name": "newValue",
|
|
54941
|
+
"type": {
|
|
54942
|
+
"text": "string"
|
|
54943
|
+
}
|
|
54944
|
+
}
|
|
54945
|
+
]
|
|
54946
|
+
},
|
|
54947
|
+
{
|
|
54948
|
+
"kind": "method",
|
|
54949
|
+
"name": "openLoadDialog",
|
|
54950
|
+
"return": {
|
|
54951
|
+
"type": {
|
|
54952
|
+
"text": "void"
|
|
54953
|
+
}
|
|
54954
|
+
}
|
|
54955
|
+
},
|
|
54956
|
+
{
|
|
54957
|
+
"kind": "method",
|
|
54958
|
+
"name": "closeSaveDialog",
|
|
54959
|
+
"return": {
|
|
54960
|
+
"type": {
|
|
54961
|
+
"text": "void"
|
|
54962
|
+
}
|
|
54963
|
+
}
|
|
54964
|
+
},
|
|
54965
|
+
{
|
|
54966
|
+
"kind": "method",
|
|
54967
|
+
"name": "closeLoadDialog",
|
|
54968
|
+
"return": {
|
|
54969
|
+
"type": {
|
|
54970
|
+
"text": "void"
|
|
54971
|
+
}
|
|
54972
|
+
}
|
|
54973
|
+
},
|
|
54974
|
+
{
|
|
54975
|
+
"kind": "field",
|
|
54976
|
+
"name": "_presentation",
|
|
54977
|
+
"type": {
|
|
54978
|
+
"text": "ComponentPresentation | null | undefined"
|
|
54979
|
+
},
|
|
54980
|
+
"privacy": "private",
|
|
54981
|
+
"default": "void 0",
|
|
54982
|
+
"inheritedFrom": {
|
|
54983
|
+
"name": "FoundationElement",
|
|
54984
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
54985
|
+
}
|
|
54986
|
+
},
|
|
54987
|
+
{
|
|
54988
|
+
"kind": "field",
|
|
54989
|
+
"name": "$presentation",
|
|
54990
|
+
"type": {
|
|
54991
|
+
"text": "ComponentPresentation | null"
|
|
54992
|
+
},
|
|
54993
|
+
"privacy": "public",
|
|
54994
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
54995
|
+
"inheritedFrom": {
|
|
54996
|
+
"name": "FoundationElement",
|
|
54997
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
54998
|
+
}
|
|
54999
|
+
},
|
|
55000
|
+
{
|
|
55001
|
+
"kind": "field",
|
|
55002
|
+
"name": "template",
|
|
55003
|
+
"type": {
|
|
55004
|
+
"text": "ElementViewTemplate | void | null"
|
|
55005
|
+
},
|
|
55006
|
+
"privacy": "public",
|
|
55007
|
+
"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.",
|
|
55008
|
+
"inheritedFrom": {
|
|
55009
|
+
"name": "FoundationElement",
|
|
55010
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
55011
|
+
}
|
|
55012
|
+
},
|
|
55013
|
+
{
|
|
55014
|
+
"kind": "method",
|
|
55015
|
+
"name": "templateChanged",
|
|
55016
|
+
"privacy": "protected",
|
|
55017
|
+
"return": {
|
|
55018
|
+
"type": {
|
|
55019
|
+
"text": "void"
|
|
55020
|
+
}
|
|
55021
|
+
},
|
|
55022
|
+
"inheritedFrom": {
|
|
55023
|
+
"name": "FoundationElement",
|
|
55024
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
55025
|
+
}
|
|
55026
|
+
},
|
|
55027
|
+
{
|
|
55028
|
+
"kind": "field",
|
|
55029
|
+
"name": "styles",
|
|
55030
|
+
"type": {
|
|
55031
|
+
"text": "ElementStyles | void | null"
|
|
55032
|
+
},
|
|
55033
|
+
"privacy": "public",
|
|
55034
|
+
"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.",
|
|
55035
|
+
"inheritedFrom": {
|
|
55036
|
+
"name": "FoundationElement",
|
|
55037
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
55038
|
+
}
|
|
55039
|
+
},
|
|
55040
|
+
{
|
|
55041
|
+
"kind": "method",
|
|
55042
|
+
"name": "stylesChanged",
|
|
55043
|
+
"privacy": "protected",
|
|
55044
|
+
"return": {
|
|
55045
|
+
"type": {
|
|
55046
|
+
"text": "void"
|
|
55047
|
+
}
|
|
55048
|
+
},
|
|
55049
|
+
"inheritedFrom": {
|
|
55050
|
+
"name": "FoundationElement",
|
|
55051
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
55052
|
+
}
|
|
55053
|
+
},
|
|
55054
|
+
{
|
|
55055
|
+
"kind": "method",
|
|
55056
|
+
"name": "compose",
|
|
55057
|
+
"privacy": "public",
|
|
55058
|
+
"static": true,
|
|
55059
|
+
"return": {
|
|
55060
|
+
"type": {
|
|
55061
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
55062
|
+
}
|
|
55063
|
+
},
|
|
55064
|
+
"parameters": [
|
|
55065
|
+
{
|
|
55066
|
+
"name": "this",
|
|
55067
|
+
"type": {
|
|
55068
|
+
"text": "K"
|
|
55069
|
+
}
|
|
55070
|
+
},
|
|
55071
|
+
{
|
|
55072
|
+
"name": "elementDefinition",
|
|
55073
|
+
"type": {
|
|
55074
|
+
"text": "T"
|
|
55075
|
+
},
|
|
55076
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
55077
|
+
}
|
|
55078
|
+
],
|
|
55079
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
55080
|
+
"inheritedFrom": {
|
|
55081
|
+
"name": "FoundationElement",
|
|
55082
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
55083
|
+
}
|
|
55084
|
+
}
|
|
55085
|
+
],
|
|
55086
|
+
"superclass": {
|
|
55087
|
+
"name": "FoundationElement",
|
|
55088
|
+
"package": "@microsoft/fast-foundation"
|
|
55089
|
+
}
|
|
55090
|
+
}
|
|
55091
|
+
],
|
|
55092
|
+
"exports": [
|
|
55093
|
+
{
|
|
55094
|
+
"kind": "js",
|
|
55095
|
+
"name": "WorkspaceManager",
|
|
55096
|
+
"declaration": {
|
|
55097
|
+
"name": "WorkspaceManager",
|
|
55098
|
+
"module": "src/workspace-manager/workspace-manager.ts"
|
|
55099
|
+
}
|
|
55100
|
+
},
|
|
55101
|
+
{
|
|
55102
|
+
"kind": "custom-element-definition",
|
|
55103
|
+
"name": "workspace-manager",
|
|
55104
|
+
"declaration": {
|
|
55105
|
+
"name": "WorkspaceManager",
|
|
55106
|
+
"module": "src/workspace-manager/workspace-manager.ts"
|
|
55107
|
+
}
|
|
55108
|
+
}
|
|
55109
|
+
]
|
|
55110
|
+
},
|
|
54307
55111
|
{
|
|
54308
55112
|
"kind": "javascript-module",
|
|
54309
55113
|
"path": "src/_config/styles/colors.ts",
|