@genesislcap/foundation-ui 14.405.0 → 14.406.0-workspaces.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/custom-elements.json +1074 -186
  2. package/dist/dts/workspace/index.d.ts +5 -0
  3. package/dist/dts/workspace/index.d.ts.map +1 -0
  4. package/dist/dts/workspace/workspace-di.d.ts +13 -0
  5. package/dist/dts/workspace/workspace-di.d.ts.map +1 -0
  6. package/dist/dts/workspace/workspace-registry.types.d.ts +34 -0
  7. package/dist/dts/workspace/workspace-registry.types.d.ts.map +1 -0
  8. package/dist/dts/workspace/workspace-state.types.d.ts +37 -0
  9. package/dist/dts/workspace/workspace-state.types.d.ts.map +1 -0
  10. package/dist/dts/workspace/workspace.types.d.ts +25 -0
  11. package/dist/dts/workspace/workspace.types.d.ts.map +1 -0
  12. package/dist/dts/workspace-manager/index.d.ts +2 -0
  13. package/dist/dts/workspace-manager/index.d.ts.map +1 -0
  14. package/dist/dts/workspace-manager/workspace-manager.d.ts +62 -0
  15. package/dist/dts/workspace-manager/workspace-manager.d.ts.map +1 -0
  16. package/dist/dts/workspace-manager/workspace-manager.styles.d.ts +2 -0
  17. package/dist/dts/workspace-manager/workspace-manager.styles.d.ts.map +1 -0
  18. package/dist/dts/workspace-manager/workspace-manager.template.d.ts +4 -0
  19. package/dist/dts/workspace-manager/workspace-manager.template.d.ts.map +1 -0
  20. package/dist/esm/workspace/index.js +4 -0
  21. package/dist/esm/workspace/workspace-di.js +9 -0
  22. package/dist/esm/workspace/workspace-registry.types.js +1 -0
  23. package/dist/esm/workspace/workspace-state.types.js +1 -0
  24. package/dist/esm/workspace/workspace.types.js +1 -0
  25. package/dist/esm/workspace-manager/index.js +1 -0
  26. package/dist/esm/workspace-manager/workspace-manager.js +432 -0
  27. package/dist/esm/workspace-manager/workspace-manager.styles.js +138 -0
  28. package/dist/esm/workspace-manager/workspace-manager.template.js +259 -0
  29. 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/_config/index.ts",
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": "./styles"
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": "./tokens"
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": "./values"
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,894 @@
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": "WORKSPACE_DESCRIPTION_MAX",
54467
+ "type": {
54468
+ "text": "number"
54469
+ },
54470
+ "default": "200"
54471
+ },
54472
+ {
54473
+ "kind": "variable",
54474
+ "name": "WorkspaceManagerTemplate",
54475
+ "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`"
54476
+ }
54477
+ ],
54478
+ "exports": [
54479
+ {
54480
+ "kind": "js",
54481
+ "name": "WORKSPACE_DESCRIPTION_MAX",
54482
+ "declaration": {
54483
+ "name": "WORKSPACE_DESCRIPTION_MAX",
54484
+ "module": "src/workspace-manager/workspace-manager.template.ts"
54485
+ }
54486
+ },
54487
+ {
54488
+ "kind": "js",
54489
+ "name": "WorkspaceManagerTemplate",
54490
+ "declaration": {
54491
+ "name": "WorkspaceManagerTemplate",
54492
+ "module": "src/workspace-manager/workspace-manager.template.ts"
54493
+ }
54494
+ }
54495
+ ]
54496
+ },
54497
+ {
54498
+ "kind": "javascript-module",
54499
+ "path": "src/workspace-manager/workspace-manager.ts",
54500
+ "declarations": [
54501
+ {
54502
+ "kind": "class",
54503
+ "description": "",
54504
+ "name": "WorkspaceManager",
54505
+ "members": [
54506
+ {
54507
+ "kind": "field",
54508
+ "name": "workspaceName",
54509
+ "type": {
54510
+ "text": "string"
54511
+ },
54512
+ "default": "''"
54513
+ },
54514
+ {
54515
+ "kind": "field",
54516
+ "name": "workspaceDescription",
54517
+ "type": {
54518
+ "text": "string"
54519
+ },
54520
+ "default": "''"
54521
+ },
54522
+ {
54523
+ "kind": "field",
54524
+ "name": "savedWorkspaces",
54525
+ "type": {
54526
+ "text": "SavedWorkspace[]"
54527
+ },
54528
+ "default": "[]"
54529
+ },
54530
+ {
54531
+ "kind": "field",
54532
+ "name": "sharedWorkspaces",
54533
+ "type": {
54534
+ "text": "SharedWorkspace[]"
54535
+ },
54536
+ "default": "[]"
54537
+ },
54538
+ {
54539
+ "kind": "field",
54540
+ "name": "isLoading",
54541
+ "type": {
54542
+ "text": "boolean"
54543
+ },
54544
+ "default": "false"
54545
+ },
54546
+ {
54547
+ "kind": "field",
54548
+ "name": "applyingWorkspace",
54549
+ "type": {
54550
+ "text": "boolean"
54551
+ },
54552
+ "default": "false"
54553
+ },
54554
+ {
54555
+ "kind": "field",
54556
+ "name": "loadMode",
54557
+ "type": {
54558
+ "text": "LoadMode"
54559
+ },
54560
+ "default": "'MY'"
54561
+ },
54562
+ {
54563
+ "kind": "field",
54564
+ "name": "saveModal",
54565
+ "type": {
54566
+ "text": "Modal"
54567
+ }
54568
+ },
54569
+ {
54570
+ "kind": "field",
54571
+ "name": "loadModal",
54572
+ "type": {
54573
+ "text": "Modal"
54574
+ }
54575
+ },
54576
+ {
54577
+ "kind": "field",
54578
+ "name": "saveMode",
54579
+ "type": {
54580
+ "text": "'create' | 'overwrite' | 'shared'"
54581
+ },
54582
+ "default": "'create'"
54583
+ },
54584
+ {
54585
+ "kind": "field",
54586
+ "name": "selectedWorkspaceToOverwrite",
54587
+ "type": {
54588
+ "text": "string"
54589
+ },
54590
+ "default": "''"
54591
+ },
54592
+ {
54593
+ "kind": "field",
54594
+ "name": "workspaceToShare",
54595
+ "type": {
54596
+ "text": "string"
54597
+ },
54598
+ "default": "''"
54599
+ },
54600
+ {
54601
+ "kind": "field",
54602
+ "name": "dialogBoundary",
54603
+ "type": {
54604
+ "text": "HTMLElement"
54605
+ }
54606
+ },
54607
+ {
54608
+ "kind": "field",
54609
+ "name": "sharedWorkspaceDialogBoundary",
54610
+ "type": {
54611
+ "text": "HTMLElement"
54612
+ }
54613
+ },
54614
+ {
54615
+ "kind": "field",
54616
+ "name": "layoutRegistry",
54617
+ "type": {
54618
+ "text": "ILayoutRegistry"
54619
+ }
54620
+ },
54621
+ {
54622
+ "kind": "field",
54623
+ "name": "gridRegistry",
54624
+ "type": {
54625
+ "text": "IGridRegistry"
54626
+ }
54627
+ },
54628
+ {
54629
+ "kind": "field",
54630
+ "name": "filterRegistry",
54631
+ "type": {
54632
+ "text": "IFilterRegistry"
54633
+ }
54634
+ },
54635
+ {
54636
+ "kind": "field",
54637
+ "name": "workspaceState",
54638
+ "type": {
54639
+ "text": "IWorkspaceState"
54640
+ }
54641
+ },
54642
+ {
54643
+ "kind": "field",
54644
+ "name": "connect",
54645
+ "type": {
54646
+ "text": "Connect"
54647
+ }
54648
+ },
54649
+ {
54650
+ "kind": "field",
54651
+ "name": "auth",
54652
+ "type": {
54653
+ "text": "Auth"
54654
+ }
54655
+ },
54656
+ {
54657
+ "kind": "field",
54658
+ "name": "canShareWorkspace",
54659
+ "type": {
54660
+ "text": "boolean"
54661
+ }
54662
+ },
54663
+ {
54664
+ "kind": "method",
54665
+ "name": "sanitizeDescription",
54666
+ "privacy": "private",
54667
+ "return": {
54668
+ "type": {
54669
+ "text": "string"
54670
+ }
54671
+ },
54672
+ "parameters": [
54673
+ {
54674
+ "name": "input",
54675
+ "type": {
54676
+ "text": "string"
54677
+ }
54678
+ }
54679
+ ]
54680
+ },
54681
+ {
54682
+ "kind": "method",
54683
+ "name": "updateWorkspaceDescription",
54684
+ "return": {
54685
+ "type": {
54686
+ "text": "void"
54687
+ }
54688
+ },
54689
+ "parameters": [
54690
+ {
54691
+ "name": "raw",
54692
+ "type": {
54693
+ "text": "string"
54694
+ }
54695
+ }
54696
+ ]
54697
+ },
54698
+ {
54699
+ "kind": "method",
54700
+ "name": "setDescriptionFromSelectedWorkspace",
54701
+ "privacy": "private",
54702
+ "return": {
54703
+ "type": {
54704
+ "text": "void"
54705
+ }
54706
+ }
54707
+ },
54708
+ {
54709
+ "kind": "method",
54710
+ "name": "refreshSavedWorkspaces",
54711
+ "return": {
54712
+ "type": {
54713
+ "text": "Promise<void>"
54714
+ }
54715
+ }
54716
+ },
54717
+ {
54718
+ "kind": "method",
54719
+ "name": "refreshSharedWorkspaces",
54720
+ "return": {
54721
+ "type": {
54722
+ "text": "Promise<void>"
54723
+ }
54724
+ }
54725
+ },
54726
+ {
54727
+ "kind": "method",
54728
+ "name": "notifyError",
54729
+ "privacy": "private",
54730
+ "return": {
54731
+ "type": {
54732
+ "text": "void"
54733
+ }
54734
+ },
54735
+ "parameters": [
54736
+ {
54737
+ "name": "body",
54738
+ "default": "'Error'"
54739
+ }
54740
+ ]
54741
+ },
54742
+ {
54743
+ "kind": "method",
54744
+ "name": "saveWorkspace",
54745
+ "return": {
54746
+ "type": {
54747
+ "text": "Promise<void>"
54748
+ }
54749
+ }
54750
+ },
54751
+ {
54752
+ "kind": "method",
54753
+ "name": "applyWorkspace",
54754
+ "privacy": "private",
54755
+ "return": {
54756
+ "type": {
54757
+ "text": "Promise<void>"
54758
+ }
54759
+ },
54760
+ "parameters": [
54761
+ {
54762
+ "name": "workspace",
54763
+ "type": {
54764
+ "text": "SavedWorkspace"
54765
+ }
54766
+ }
54767
+ ]
54768
+ },
54769
+ {
54770
+ "kind": "method",
54771
+ "name": "loadWorkspace",
54772
+ "return": {
54773
+ "type": {
54774
+ "text": "Promise<void>"
54775
+ }
54776
+ },
54777
+ "parameters": [
54778
+ {
54779
+ "name": "workspaceName",
54780
+ "type": {
54781
+ "text": "string"
54782
+ }
54783
+ }
54784
+ ]
54785
+ },
54786
+ {
54787
+ "kind": "method",
54788
+ "name": "requestSharedWorkspace",
54789
+ "privacy": "private",
54790
+ "return": {
54791
+ "type": {
54792
+ "text": "Promise<any[]>"
54793
+ }
54794
+ },
54795
+ "parameters": [
54796
+ {
54797
+ "name": "SHARED_WORKSPACE_ID",
54798
+ "type": {
54799
+ "text": "string"
54800
+ }
54801
+ }
54802
+ ]
54803
+ },
54804
+ {
54805
+ "kind": "method",
54806
+ "name": "loadSharedWorkspace",
54807
+ "return": {
54808
+ "type": {
54809
+ "text": "Promise<void>"
54810
+ }
54811
+ },
54812
+ "parameters": [
54813
+ {
54814
+ "name": "shared",
54815
+ "type": {
54816
+ "text": "{\n id: string;\n name: string;\n userName: string;\n createdOn?: string | number;\n modifiedOn?: string | number;\n data: string;\n }"
54817
+ }
54818
+ }
54819
+ ]
54820
+ },
54821
+ {
54822
+ "kind": "method",
54823
+ "name": "deleteWorkspace",
54824
+ "return": {
54825
+ "type": {
54826
+ "text": "Promise<void>"
54827
+ }
54828
+ },
54829
+ "parameters": [
54830
+ {
54831
+ "name": "workspaceName",
54832
+ "type": {
54833
+ "text": "string"
54834
+ }
54835
+ }
54836
+ ]
54837
+ },
54838
+ {
54839
+ "kind": "method",
54840
+ "name": "showDeleteConfirmation",
54841
+ "privacy": "private",
54842
+ "return": {
54843
+ "type": {
54844
+ "text": "void"
54845
+ }
54846
+ },
54847
+ "parameters": [
54848
+ {
54849
+ "name": "title",
54850
+ "type": {
54851
+ "text": "string"
54852
+ }
54853
+ },
54854
+ {
54855
+ "name": "body",
54856
+ "type": {
54857
+ "text": "string"
54858
+ }
54859
+ },
54860
+ {
54861
+ "name": "actionFunction",
54862
+ "type": {
54863
+ "text": "() => void"
54864
+ }
54865
+ },
54866
+ {
54867
+ "name": "dialogBoundary",
54868
+ "type": {
54869
+ "text": "HTMLElement"
54870
+ }
54871
+ }
54872
+ ]
54873
+ },
54874
+ {
54875
+ "kind": "method",
54876
+ "name": "confirmDeleteWorkspace",
54877
+ "return": {
54878
+ "type": {
54879
+ "text": "void"
54880
+ }
54881
+ },
54882
+ "parameters": [
54883
+ {
54884
+ "name": "workspaceName",
54885
+ "type": {
54886
+ "text": "string"
54887
+ }
54888
+ }
54889
+ ]
54890
+ },
54891
+ {
54892
+ "kind": "method",
54893
+ "name": "modifySharedWorkspace",
54894
+ "return": {
54895
+ "type": {
54896
+ "text": "Promise<void>"
54897
+ }
54898
+ },
54899
+ "parameters": [
54900
+ {
54901
+ "name": "sharedWorkspace",
54902
+ "type": {
54903
+ "text": "SharedWorkspace"
54904
+ }
54905
+ }
54906
+ ]
54907
+ },
54908
+ {
54909
+ "kind": "method",
54910
+ "name": "deleteSharedWorkspace",
54911
+ "return": {
54912
+ "type": {
54913
+ "text": "Promise<void>"
54914
+ }
54915
+ },
54916
+ "parameters": [
54917
+ {
54918
+ "name": "sharedWorkspace",
54919
+ "type": {
54920
+ "text": "SharedWorkspace"
54921
+ }
54922
+ }
54923
+ ]
54924
+ },
54925
+ {
54926
+ "kind": "method",
54927
+ "name": "confirmDeleteSharedWorkspace",
54928
+ "return": {
54929
+ "type": {
54930
+ "text": "void"
54931
+ }
54932
+ },
54933
+ "parameters": [
54934
+ {
54935
+ "name": "sharedWorkspace",
54936
+ "type": {
54937
+ "text": "SharedWorkspace"
54938
+ }
54939
+ }
54940
+ ]
54941
+ },
54942
+ {
54943
+ "kind": "method",
54944
+ "name": "shareExistingWorkspace",
54945
+ "return": {
54946
+ "type": {
54947
+ "text": "Promise<void>"
54948
+ }
54949
+ },
54950
+ "parameters": [
54951
+ {
54952
+ "name": "workspaceName",
54953
+ "type": {
54954
+ "text": "string"
54955
+ }
54956
+ }
54957
+ ]
54958
+ },
54959
+ {
54960
+ "kind": "method",
54961
+ "name": "openSaveDialog",
54962
+ "return": {
54963
+ "type": {
54964
+ "text": "Promise<void>"
54965
+ }
54966
+ }
54967
+ },
54968
+ {
54969
+ "kind": "method",
54970
+ "name": "isWorkspaceExisting",
54971
+ "return": {
54972
+ "type": {
54973
+ "text": "boolean"
54974
+ }
54975
+ },
54976
+ "parameters": [
54977
+ {
54978
+ "name": "workspaceName",
54979
+ "type": {
54980
+ "text": "string"
54981
+ }
54982
+ }
54983
+ ]
54984
+ },
54985
+ {
54986
+ "kind": "method",
54987
+ "name": "saveModeChanged",
54988
+ "return": {
54989
+ "type": {
54990
+ "text": "void"
54991
+ }
54992
+ },
54993
+ "parameters": [
54994
+ {
54995
+ "name": "oldValue",
54996
+ "type": {
54997
+ "text": "string"
54998
+ }
54999
+ },
55000
+ {
55001
+ "name": "newValue",
55002
+ "type": {
55003
+ "text": "string"
55004
+ }
55005
+ }
55006
+ ]
55007
+ },
55008
+ {
55009
+ "kind": "method",
55010
+ "name": "selectedWorkspaceToOverwriteChanged",
55011
+ "return": {
55012
+ "type": {
55013
+ "text": "void"
55014
+ }
55015
+ },
55016
+ "parameters": [
55017
+ {
55018
+ "name": "oldValue",
55019
+ "type": {
55020
+ "text": "string"
55021
+ }
55022
+ },
55023
+ {
55024
+ "name": "newValue",
55025
+ "type": {
55026
+ "text": "string"
55027
+ }
55028
+ }
55029
+ ]
55030
+ },
55031
+ {
55032
+ "kind": "method",
55033
+ "name": "openLoadDialog",
55034
+ "return": {
55035
+ "type": {
55036
+ "text": "void"
55037
+ }
55038
+ }
55039
+ },
55040
+ {
55041
+ "kind": "method",
55042
+ "name": "closeSaveDialog",
55043
+ "return": {
55044
+ "type": {
55045
+ "text": "void"
55046
+ }
55047
+ }
55048
+ },
55049
+ {
55050
+ "kind": "method",
55051
+ "name": "closeLoadDialog",
55052
+ "return": {
55053
+ "type": {
55054
+ "text": "void"
55055
+ }
55056
+ }
55057
+ },
55058
+ {
55059
+ "kind": "field",
55060
+ "name": "_presentation",
55061
+ "type": {
55062
+ "text": "ComponentPresentation | null | undefined"
55063
+ },
55064
+ "privacy": "private",
55065
+ "default": "void 0",
55066
+ "inheritedFrom": {
55067
+ "name": "FoundationElement",
55068
+ "module": "src/foundation-element/foundation-element.ts"
55069
+ }
55070
+ },
55071
+ {
55072
+ "kind": "field",
55073
+ "name": "$presentation",
55074
+ "type": {
55075
+ "text": "ComponentPresentation | null"
55076
+ },
55077
+ "privacy": "public",
55078
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
55079
+ "inheritedFrom": {
55080
+ "name": "FoundationElement",
55081
+ "module": "src/foundation-element/foundation-element.ts"
55082
+ }
55083
+ },
55084
+ {
55085
+ "kind": "field",
55086
+ "name": "template",
55087
+ "type": {
55088
+ "text": "ElementViewTemplate | void | null"
55089
+ },
55090
+ "privacy": "public",
55091
+ "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.",
55092
+ "inheritedFrom": {
55093
+ "name": "FoundationElement",
55094
+ "module": "src/foundation-element/foundation-element.ts"
55095
+ }
55096
+ },
55097
+ {
55098
+ "kind": "method",
55099
+ "name": "templateChanged",
55100
+ "privacy": "protected",
55101
+ "return": {
55102
+ "type": {
55103
+ "text": "void"
55104
+ }
55105
+ },
55106
+ "inheritedFrom": {
55107
+ "name": "FoundationElement",
55108
+ "module": "src/foundation-element/foundation-element.ts"
55109
+ }
55110
+ },
55111
+ {
55112
+ "kind": "field",
55113
+ "name": "styles",
55114
+ "type": {
55115
+ "text": "ElementStyles | void | null"
55116
+ },
55117
+ "privacy": "public",
55118
+ "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.",
55119
+ "inheritedFrom": {
55120
+ "name": "FoundationElement",
55121
+ "module": "src/foundation-element/foundation-element.ts"
55122
+ }
55123
+ },
55124
+ {
55125
+ "kind": "method",
55126
+ "name": "stylesChanged",
55127
+ "privacy": "protected",
55128
+ "return": {
55129
+ "type": {
55130
+ "text": "void"
55131
+ }
55132
+ },
55133
+ "inheritedFrom": {
55134
+ "name": "FoundationElement",
55135
+ "module": "src/foundation-element/foundation-element.ts"
55136
+ }
55137
+ },
55138
+ {
55139
+ "kind": "method",
55140
+ "name": "compose",
55141
+ "privacy": "public",
55142
+ "static": true,
55143
+ "return": {
55144
+ "type": {
55145
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
55146
+ }
55147
+ },
55148
+ "parameters": [
55149
+ {
55150
+ "name": "this",
55151
+ "type": {
55152
+ "text": "K"
55153
+ }
55154
+ },
55155
+ {
55156
+ "name": "elementDefinition",
55157
+ "type": {
55158
+ "text": "T"
55159
+ },
55160
+ "description": "The definition of the element to create the registry\nfunction for."
55161
+ }
55162
+ ],
55163
+ "description": "Defines an element registry function with a set of element definition defaults.",
55164
+ "inheritedFrom": {
55165
+ "name": "FoundationElement",
55166
+ "module": "src/foundation-element/foundation-element.ts"
55167
+ }
55168
+ }
55169
+ ],
55170
+ "superclass": {
55171
+ "name": "FoundationElement",
55172
+ "package": "@microsoft/fast-foundation"
55173
+ }
55174
+ }
55175
+ ],
55176
+ "exports": [
55177
+ {
55178
+ "kind": "js",
55179
+ "name": "WorkspaceManager",
55180
+ "declaration": {
55181
+ "name": "WorkspaceManager",
55182
+ "module": "src/workspace-manager/workspace-manager.ts"
55183
+ }
55184
+ },
55185
+ {
55186
+ "kind": "custom-element-definition",
55187
+ "name": "workspace-manager",
55188
+ "declaration": {
55189
+ "name": "WorkspaceManager",
55190
+ "module": "src/workspace-manager/workspace-manager.ts"
55191
+ }
55192
+ }
55193
+ ]
55194
+ },
54307
55195
  {
54308
55196
  "kind": "javascript-module",
54309
55197
  "path": "src/_config/styles/colors.ts",