@classic-homes/theme-mcp 0.5.10 → 0.5.12
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.
|
@@ -6,7 +6,7 @@ import { ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
6
6
|
|
|
7
7
|
// src/data/component-catalog.json
|
|
8
8
|
var component_catalog_default = {
|
|
9
|
-
version: "0.5.
|
|
9
|
+
version: "0.5.12",
|
|
10
10
|
components: [
|
|
11
11
|
{
|
|
12
12
|
name: "AccessInspector",
|
|
@@ -3049,6 +3049,20 @@ var component_catalog_default = {
|
|
|
3049
3049
|
required: false,
|
|
3050
3050
|
description: "Hide the toolbar"
|
|
3051
3051
|
},
|
|
3052
|
+
{
|
|
3053
|
+
name: "hideTitle",
|
|
3054
|
+
type: "boolean",
|
|
3055
|
+
default: "false",
|
|
3056
|
+
required: false,
|
|
3057
|
+
description: "Leave the file name out of the toolbar"
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
name: "allowDownload",
|
|
3061
|
+
type: "boolean",
|
|
3062
|
+
default: "true",
|
|
3063
|
+
required: false,
|
|
3064
|
+
description: "Offer Download in the toolbar and error state"
|
|
3065
|
+
},
|
|
3052
3066
|
{
|
|
3053
3067
|
name: "onready",
|
|
3054
3068
|
type: "() => void",
|
|
@@ -8000,7 +8014,7 @@ var component_catalog_default = {
|
|
|
8000
8014
|
type: "boolean",
|
|
8001
8015
|
default: "true",
|
|
8002
8016
|
required: false,
|
|
8003
|
-
description:
|
|
8017
|
+
description: "Offer Download in the toolbar and when a file cannot be shown"
|
|
8004
8018
|
},
|
|
8005
8019
|
{
|
|
8006
8020
|
name: "hideToolbar",
|
|
@@ -8009,6 +8023,20 @@ var component_catalog_default = {
|
|
|
8009
8023
|
required: false,
|
|
8010
8024
|
description: "Hide the viewer toolbar"
|
|
8011
8025
|
},
|
|
8026
|
+
{
|
|
8027
|
+
name: "hideTitle",
|
|
8028
|
+
type: "boolean",
|
|
8029
|
+
default: "false",
|
|
8030
|
+
required: false,
|
|
8031
|
+
description: "Leave the file name out of the toolbar (the host shows it)"
|
|
8032
|
+
},
|
|
8033
|
+
{
|
|
8034
|
+
name: "frame",
|
|
8035
|
+
type: "boolean",
|
|
8036
|
+
default: "true",
|
|
8037
|
+
required: false,
|
|
8038
|
+
description: "Draw the rounded border; `false` when the host already frames the viewer"
|
|
8039
|
+
},
|
|
8012
8040
|
{
|
|
8013
8041
|
name: "onload",
|
|
8014
8042
|
type: "(info: DocumentLoadInfo) => void",
|
|
@@ -8042,6 +8070,8 @@ var component_catalog_default = {
|
|
|
8042
8070
|
pdf: () => import('@classic-homes/viewer-svelte/pdf'),
|
|
8043
8071
|
docx: () => import('@classic-homes/viewer-svelte/docx'),
|
|
8044
8072
|
xlsx: () => import('@classic-homes/viewer-svelte/xlsx'),
|
|
8073
|
+
xls: () => import('@classic-homes/viewer-svelte/xlsx'),
|
|
8074
|
+
ods: () => import('@classic-homes/viewer-svelte/xlsx'),
|
|
8045
8075
|
csv: () => import('@classic-homes/viewer-svelte/xlsx'),
|
|
8046
8076
|
dxf: () => import('@classic-homes/viewer-svelte/cad'),
|
|
8047
8077
|
};
|
|
@@ -8093,6 +8123,20 @@ var component_catalog_default = {
|
|
|
8093
8123
|
required: false,
|
|
8094
8124
|
description: "Hide the toolbar"
|
|
8095
8125
|
},
|
|
8126
|
+
{
|
|
8127
|
+
name: "hideTitle",
|
|
8128
|
+
type: "boolean",
|
|
8129
|
+
default: "false",
|
|
8130
|
+
required: false,
|
|
8131
|
+
description: "Leave the file name out of the toolbar"
|
|
8132
|
+
},
|
|
8133
|
+
{
|
|
8134
|
+
name: "allowDownload",
|
|
8135
|
+
type: "boolean",
|
|
8136
|
+
default: "true",
|
|
8137
|
+
required: false,
|
|
8138
|
+
description: "Offer Download in the toolbar and error state"
|
|
8139
|
+
},
|
|
8096
8140
|
{
|
|
8097
8141
|
name: "onready",
|
|
8098
8142
|
type: "() => void",
|
|
@@ -9025,6 +9069,20 @@ var component_catalog_default = {
|
|
|
9025
9069
|
required: false,
|
|
9026
9070
|
description: "Hide the toolbar"
|
|
9027
9071
|
},
|
|
9072
|
+
{
|
|
9073
|
+
name: "hideTitle",
|
|
9074
|
+
type: "boolean",
|
|
9075
|
+
default: "false",
|
|
9076
|
+
required: false,
|
|
9077
|
+
description: "Leave the file name out of the toolbar"
|
|
9078
|
+
},
|
|
9079
|
+
{
|
|
9080
|
+
name: "allowDownload",
|
|
9081
|
+
type: "boolean",
|
|
9082
|
+
default: "true",
|
|
9083
|
+
required: false,
|
|
9084
|
+
description: "Offer Download in the toolbar and error state"
|
|
9085
|
+
},
|
|
9028
9086
|
{
|
|
9029
9087
|
name: "onready",
|
|
9030
9088
|
type: "() => void",
|
|
@@ -9461,6 +9519,12 @@ var component_catalog_default = {
|
|
|
9461
9519
|
required: true,
|
|
9462
9520
|
description: "Label of the root crumb"
|
|
9463
9521
|
},
|
|
9522
|
+
{
|
|
9523
|
+
name: "rootTitle",
|
|
9524
|
+
type: "string",
|
|
9525
|
+
required: false,
|
|
9526
|
+
description: "Tooltip on the root crumb, e.g. the drive's description"
|
|
9527
|
+
},
|
|
9464
9528
|
{
|
|
9465
9529
|
name: "path",
|
|
9466
9530
|
type: "string",
|
|
@@ -9529,7 +9593,7 @@ var component_catalog_default = {
|
|
|
9529
9593
|
name: "rootId",
|
|
9530
9594
|
type: "string",
|
|
9531
9595
|
required: false,
|
|
9532
|
-
description: "Current root (bindable). Defaults to the first root the caller can read"
|
|
9596
|
+
description: "Current root (bindable). Defaults to the first root the caller can read, keeping `path` and `file`; an unknown root starts at its top"
|
|
9533
9597
|
},
|
|
9534
9598
|
{
|
|
9535
9599
|
name: "path",
|
|
@@ -9552,9 +9616,35 @@ var component_catalog_default = {
|
|
|
9552
9616
|
},
|
|
9553
9617
|
{
|
|
9554
9618
|
name: "onnavigate",
|
|
9555
|
-
type: "(location: { rootId: string; path: string }) => void",
|
|
9619
|
+
type: "(location: { rootId: string; path: string; file?: string }) => void",
|
|
9620
|
+
required: false,
|
|
9621
|
+
description: "The drive and/or folder changed, in one call. Use it for URL sync. In pane mode also when a file opens, changes or closes (`file`)"
|
|
9622
|
+
},
|
|
9623
|
+
{
|
|
9624
|
+
name: "preview",
|
|
9625
|
+
type: "'dialog' | 'pane'",
|
|
9626
|
+
default: "'dialog'",
|
|
9627
|
+
required: false,
|
|
9628
|
+
description: "Open files in a modal dialog, or in place of the list with the folder tree beside them, focused on the open folder's branch"
|
|
9629
|
+
},
|
|
9630
|
+
{
|
|
9631
|
+
name: "file",
|
|
9632
|
+
type: "string",
|
|
9633
|
+
required: false,
|
|
9634
|
+
description: "Name of the open file in the current folder (bindable). Setting it opens the file; `undefined` closes it; one that doesn't resolve is cleared"
|
|
9635
|
+
},
|
|
9636
|
+
{
|
|
9637
|
+
name: "onfilechange",
|
|
9638
|
+
type: "(file: string | undefined) => void",
|
|
9639
|
+
required: false,
|
|
9640
|
+
description: "The user opened, switched or closed a file"
|
|
9641
|
+
},
|
|
9642
|
+
{
|
|
9643
|
+
name: "frame",
|
|
9644
|
+
type: "boolean",
|
|
9645
|
+
default: "true",
|
|
9556
9646
|
required: false,
|
|
9557
|
-
description: "
|
|
9647
|
+
description: "Rounded border; `false` for an edge-to-edge layout"
|
|
9558
9648
|
},
|
|
9559
9649
|
{
|
|
9560
9650
|
name: "viewers",
|
|
@@ -9668,7 +9758,16 @@ var component_catalog_default = {
|
|
|
9668
9758
|
description: "Classes for the outer element; give it a height"
|
|
9669
9759
|
}
|
|
9670
9760
|
],
|
|
9671
|
-
variants: [
|
|
9761
|
+
variants: [
|
|
9762
|
+
{
|
|
9763
|
+
name: "preview",
|
|
9764
|
+
values: [
|
|
9765
|
+
"dialog",
|
|
9766
|
+
"pane"
|
|
9767
|
+
],
|
|
9768
|
+
default: "dialog"
|
|
9769
|
+
}
|
|
9770
|
+
],
|
|
9672
9771
|
slots: [],
|
|
9673
9772
|
events: [],
|
|
9674
9773
|
examples: [
|
|
@@ -10023,6 +10122,19 @@ var component_catalog_default = {
|
|
|
10023
10122
|
required: false,
|
|
10024
10123
|
description: "Explanation read out for links (default: the shortcut message)"
|
|
10025
10124
|
},
|
|
10125
|
+
{
|
|
10126
|
+
name: "compact",
|
|
10127
|
+
type: "boolean",
|
|
10128
|
+
default: "false",
|
|
10129
|
+
required: false,
|
|
10130
|
+
description: "Name column only: no header row, size/date columns or row actions; tighter rows"
|
|
10131
|
+
},
|
|
10132
|
+
{
|
|
10133
|
+
name: "current",
|
|
10134
|
+
type: "string",
|
|
10135
|
+
required: false,
|
|
10136
|
+
description: "Path of the open file: `aria-current`, highlighted, kept in view"
|
|
10137
|
+
},
|
|
10026
10138
|
{
|
|
10027
10139
|
name: "class",
|
|
10028
10140
|
type: "string",
|
|
@@ -10131,6 +10243,30 @@ var component_catalog_default = {
|
|
|
10131
10243
|
required: false,
|
|
10132
10244
|
description: "The file couldn't be loaded for preview (a 401 included)"
|
|
10133
10245
|
},
|
|
10246
|
+
{
|
|
10247
|
+
name: "onclose",
|
|
10248
|
+
type: "() => void",
|
|
10249
|
+
required: false,
|
|
10250
|
+
description: "Show a trailing Close button that calls it; the preview becomes a region named after the file"
|
|
10251
|
+
},
|
|
10252
|
+
{
|
|
10253
|
+
name: "onprev",
|
|
10254
|
+
type: "() => void",
|
|
10255
|
+
required: false,
|
|
10256
|
+
description: "Previous file. The buttons show when `onprev` or `onnext` is set; a missing one is disabled"
|
|
10257
|
+
},
|
|
10258
|
+
{
|
|
10259
|
+
name: "onnext",
|
|
10260
|
+
type: "() => void",
|
|
10261
|
+
required: false,
|
|
10262
|
+
description: "Next file"
|
|
10263
|
+
},
|
|
10264
|
+
{
|
|
10265
|
+
name: "start",
|
|
10266
|
+
type: "Snippet",
|
|
10267
|
+
required: false,
|
|
10268
|
+
description: "Extra controls at the start of the header, before the name"
|
|
10269
|
+
},
|
|
10134
10270
|
{
|
|
10135
10271
|
name: "class",
|
|
10136
10272
|
type: "string",
|
|
@@ -16876,6 +17012,18 @@ var component_catalog_default = {
|
|
|
16876
17012
|
required: false,
|
|
16877
17013
|
description: "CSS selector (yours, never the model's) for regions the agent must never see, beside `[data-agent-ignore]`"
|
|
16878
17014
|
},
|
|
17015
|
+
{
|
|
17016
|
+
name: "agentUiSelector",
|
|
17017
|
+
type: "string",
|
|
17018
|
+
required: false,
|
|
17019
|
+
description: "CSS selector for the agent's own UI (chat window, dock, launcher): ignored, and named as the cover"
|
|
17020
|
+
},
|
|
17021
|
+
{
|
|
17022
|
+
name: "clearTheWay",
|
|
17023
|
+
type: "ClearTheWayHandler",
|
|
17024
|
+
required: false,
|
|
17025
|
+
description: "Called once when a call's target is under the agent's UI: move it and return `true`. See below"
|
|
17026
|
+
},
|
|
16879
17027
|
{
|
|
16880
17028
|
name: "chipLabel",
|
|
16881
17029
|
type: "string",
|
|
@@ -17115,6 +17263,20 @@ var component_catalog_default = {
|
|
|
17115
17263
|
required: false,
|
|
17116
17264
|
description: "Hide the toolbar"
|
|
17117
17265
|
},
|
|
17266
|
+
{
|
|
17267
|
+
name: "hideTitle",
|
|
17268
|
+
type: "boolean",
|
|
17269
|
+
default: "false",
|
|
17270
|
+
required: false,
|
|
17271
|
+
description: "Leave the file name out of the toolbar"
|
|
17272
|
+
},
|
|
17273
|
+
{
|
|
17274
|
+
name: "allowDownload",
|
|
17275
|
+
type: "boolean",
|
|
17276
|
+
default: "true",
|
|
17277
|
+
required: false,
|
|
17278
|
+
description: "Offer Download in the toolbar and error state"
|
|
17279
|
+
},
|
|
17118
17280
|
{
|
|
17119
17281
|
name: "onready",
|
|
17120
17282
|
type: "() => void",
|
|
@@ -21526,7 +21688,7 @@ var component_catalog_default = {
|
|
|
21526
21688
|
},
|
|
21527
21689
|
{
|
|
21528
21690
|
name: "SpreadsheetViewer",
|
|
21529
|
-
description: "Excel and CSV files as a read-only grid with number formats, styles, merged cells, frozen panes and sheet tabs",
|
|
21691
|
+
description: "Excel (.xlsx, .xls), OpenDocument (.ods) and CSV files as a read-only grid with number formats, styles, merged cells, frozen panes and sheet tabs",
|
|
21530
21692
|
category: "viewer",
|
|
21531
21693
|
importPath: "@classic-homes/viewer-svelte/xlsx",
|
|
21532
21694
|
props: [
|
|
@@ -21555,6 +21717,20 @@ var component_catalog_default = {
|
|
|
21555
21717
|
required: false,
|
|
21556
21718
|
description: "Hide the toolbar"
|
|
21557
21719
|
},
|
|
21720
|
+
{
|
|
21721
|
+
name: "hideTitle",
|
|
21722
|
+
type: "boolean",
|
|
21723
|
+
default: "false",
|
|
21724
|
+
required: false,
|
|
21725
|
+
description: "Leave the file name out of the toolbar"
|
|
21726
|
+
},
|
|
21727
|
+
{
|
|
21728
|
+
name: "allowDownload",
|
|
21729
|
+
type: "boolean",
|
|
21730
|
+
default: "true",
|
|
21731
|
+
required: false,
|
|
21732
|
+
description: "Offer Download in the toolbar and error state"
|
|
21733
|
+
},
|
|
21558
21734
|
{
|
|
21559
21735
|
name: "onready",
|
|
21560
21736
|
type: "() => void",
|
|
@@ -23994,7 +24170,7 @@ function registerComponentResources(server) {
|
|
|
23994
24170
|
|
|
23995
24171
|
// src/data/token-definitions.json
|
|
23996
24172
|
var token_definitions_default = {
|
|
23997
|
-
version: "0.5.
|
|
24173
|
+
version: "0.5.12",
|
|
23998
24174
|
colors: {
|
|
23999
24175
|
brand: [
|
|
24000
24176
|
{
|
|
@@ -24977,7 +25153,7 @@ function registerTokenResources(server) {
|
|
|
24977
25153
|
|
|
24978
25154
|
// src/data/styles-catalog.json
|
|
24979
25155
|
var styles_catalog_default = {
|
|
24980
|
-
version: "0.5.
|
|
25156
|
+
version: "0.5.12",
|
|
24981
25157
|
package: "@classic-homes/theme-styles",
|
|
24982
25158
|
description: "Base CSS styles, accessibility features, and utility classes for the Classic Theme design system",
|
|
24983
25159
|
integration: {
|
|
@@ -25360,7 +25536,7 @@ import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk
|
|
|
25360
25536
|
|
|
25361
25537
|
// src/data/pattern-library.json
|
|
25362
25538
|
var pattern_library_default = {
|
|
25363
|
-
version: "0.5.
|
|
25539
|
+
version: "0.5.12",
|
|
25364
25540
|
layouts: [
|
|
25365
25541
|
{
|
|
25366
25542
|
id: "dashboard-page",
|
|
@@ -26454,7 +26630,7 @@ function registerLayoutResources(server) {
|
|
|
26454
26630
|
|
|
26455
26631
|
// src/data/schema-catalog.json
|
|
26456
26632
|
var schema_catalog_default = {
|
|
26457
|
-
version: "0.5.
|
|
26633
|
+
version: "0.5.12",
|
|
26458
26634
|
packageName: "@classic-homes/theme-svelte",
|
|
26459
26635
|
importPath: "@classic-homes/theme-svelte",
|
|
26460
26636
|
generatedFrom: "packages/svelte/src/lib/schemas/index.ts",
|
|
@@ -27262,7 +27438,7 @@ import { ResourceTemplate as ResourceTemplate3 } from "@modelcontextprotocol/sdk
|
|
|
27262
27438
|
|
|
27263
27439
|
// src/data/auth-catalog.json
|
|
27264
27440
|
var auth_catalog_default = {
|
|
27265
|
-
version: "0.5.
|
|
27441
|
+
version: "0.5.12",
|
|
27266
27442
|
packageName: "@classic-homes/auth",
|
|
27267
27443
|
description: "Authentication services and Svelte bindings for Classic Theme apps",
|
|
27268
27444
|
subpackages: {
|
|
@@ -30569,7 +30745,7 @@ import { ResourceTemplate as ResourceTemplate4 } from "@modelcontextprotocol/sdk
|
|
|
30569
30745
|
|
|
30570
30746
|
// src/data/notifications-catalog.json
|
|
30571
30747
|
var notifications_catalog_default = {
|
|
30572
|
-
version: "0.5.
|
|
30748
|
+
version: "0.5.12",
|
|
30573
30749
|
packageName: "@classic-homes/notifications",
|
|
30574
30750
|
description: "Notification services and Svelte bindings for Classic Theme apps",
|
|
30575
30751
|
subpackages: {
|
|
@@ -31481,7 +31657,7 @@ function registerNotificationsResources(server) {
|
|
|
31481
31657
|
|
|
31482
31658
|
// src/data/docs-catalog.json
|
|
31483
31659
|
var docs_catalog_default = {
|
|
31484
|
-
version: "0.5.
|
|
31660
|
+
version: "0.5.12",
|
|
31485
31661
|
packageName: "@classic-homes/theme-docs",
|
|
31486
31662
|
description: "Markdown documentation components for the Classic theme system",
|
|
31487
31663
|
exports: {
|
|
@@ -33159,7 +33335,7 @@ function registerDocsResources(server) {
|
|
|
33159
33335
|
|
|
33160
33336
|
// src/data/charts-catalog.json
|
|
33161
33337
|
var charts_catalog_default = {
|
|
33162
|
-
version: "0.5.
|
|
33338
|
+
version: "0.5.12",
|
|
33163
33339
|
packageName: "@classic-homes/charts-core",
|
|
33164
33340
|
description: "Core utilities, types, and themes for Classic Theme chart components",
|
|
33165
33341
|
subpackages: {
|
|
@@ -37397,7 +37573,7 @@ interface SankeyData {
|
|
|
37397
37573
|
|
|
37398
37574
|
// src/data/gantt-catalog.json
|
|
37399
37575
|
var gantt_catalog_default = {
|
|
37400
|
-
version: "0.5.
|
|
37576
|
+
version: "0.5.12",
|
|
37401
37577
|
packageName: "@classic-homes/gantt-core",
|
|
37402
37578
|
description: "Framework-agnostic Gantt engine: working calendars, a critical-path scheduler, an editable project model with undo/redo, timeline geometry, drag math, accessible descriptions and import/export. No DOM, no framework, no runtime dependencies. @classic-homes/gantt-svelte renders it; a React package (@classic-homes/gantt-react) is planned.",
|
|
37403
37579
|
packages: {
|
|
@@ -38380,7 +38556,7 @@ function registerGanttResources(server) {
|
|
|
38380
38556
|
|
|
38381
38557
|
// src/data/maps-catalog.json
|
|
38382
38558
|
var maps_catalog_default = {
|
|
38383
|
-
version: "0.5.
|
|
38559
|
+
version: "0.5.12",
|
|
38384
38560
|
packageName: "@classic-homes/maps-core",
|
|
38385
38561
|
description: "Core utilities, types, and themes for Classic Theme MapLibre GL components",
|
|
38386
38562
|
subpackages: {
|
|
@@ -44012,7 +44188,7 @@ ${catalog6.quickReference.tailwindConfig}
|
|
|
44012
44188
|
|
|
44013
44189
|
// src/data/native-catalog.json
|
|
44014
44190
|
var native_catalog_default = {
|
|
44015
|
-
version: "0.5.
|
|
44191
|
+
version: "0.5.12",
|
|
44016
44192
|
packageName: "@classic-homes/native",
|
|
44017
44193
|
description: "Native device APIs for iOS and Android mobile apps. Uses Capacitor for native functionality with web fallbacks.",
|
|
44018
44194
|
subpackages: {
|
|
@@ -45722,9 +45898,9 @@ import { NativeGuard, usePlatformCheck } from '@classic-homes/native/react';
|
|
|
45722
45898
|
|
|
45723
45899
|
// src/data/viewer-catalog.json
|
|
45724
45900
|
var viewer_catalog_default = {
|
|
45725
|
-
version: "0.5.
|
|
45901
|
+
version: "0.5.12",
|
|
45726
45902
|
packageName: "@classic-homes/viewer-svelte",
|
|
45727
|
-
description: "Client-side, view-only document viewers: PDF, Word (.docx), Excel (.xlsx), CSV/TSV and CAD (DXF; DWG through the separate GPL package). Files are parsed and rendered in the browser; nothing is uploaded or converted on a server. Each format is a lazy-loaded subpath with an optional peer dependency, so apps only bundle what they register. Svelte 5 only; a React package (viewer-react) is planned.",
|
|
45903
|
+
description: "Client-side, view-only document viewers: PDF, Word (.docx), Excel (.xlsx and legacy .xls), OpenDocument (.ods), CSV/TSV and CAD (DXF; DWG through the separate GPL package). Files are parsed and rendered in the browser; nothing is uploaded or converted on a server. Each format is a lazy-loaded subpath with an optional peer dependency, so apps only bundle what they register. Svelte 5 only; a React package (viewer-react) is planned.",
|
|
45728
45904
|
packages: {
|
|
45729
45905
|
core: {
|
|
45730
45906
|
name: "@classic-homes/viewer-core",
|
|
@@ -45739,7 +45915,7 @@ var viewer_catalog_default = {
|
|
|
45739
45915
|
"@classic-homes/viewer-core/search": "findInText, findAll, nextMatch, prevMatch",
|
|
45740
45916
|
"@classic-homes/viewer-core/sanitize": "safeHref (http(s)/mailto allow-list) and EXTERNAL_LINK_ATTRS",
|
|
45741
45917
|
"@classic-homes/viewer-core/layout": "paged-stack layout and visible-page virtualisation",
|
|
45742
|
-
"@classic-homes/viewer-core/sheet": "read-only XLSX/CSV reader \u2192 plain cloneable Sheet model (openSheetReader, XlsxWorkbook, parseCsv)",
|
|
45918
|
+
"@classic-homes/viewer-core/sheet": "read-only XLSX/XLS/ODS/CSV reader \u2192 plain cloneable Sheet model (openSheetReader, XlsxWorkbook, XlsWorkbook, OdsWorkbook, parseCsv)",
|
|
45743
45919
|
"@classic-homes/viewer-core/sheet/worker": "Web Worker entry for the sheet reader",
|
|
45744
45920
|
"@classic-homes/viewer-core/zip": "SafeZip: size-checked ZIP reading, repack() for libraries without inflate limits",
|
|
45745
45921
|
"@classic-homes/viewer-core/cad": "readDxfHeader (version, code page \u2192 encoding, units, binary flag), dwgVersion, cadRelease, 2-D view math"
|
|
@@ -45757,7 +45933,7 @@ var viewer_catalog_default = {
|
|
|
45757
45933
|
subpaths: {
|
|
45758
45934
|
"@classic-homes/viewer-svelte": "DocumentViewer, ViewerFrame, ViewerToolbar, ViewerState, useFullscreen, createViewerShortcuts, downloadBytes, plus core re-exports (loadSource, detectKind, acceptFor, ViewerError, types)",
|
|
45759
45935
|
"@classic-homes/viewer-svelte/pdf": "PdfViewer (default export), configurePdf",
|
|
45760
|
-
"@classic-homes/viewer-svelte/xlsx": "SpreadsheetViewer (default export, xlsx + csv), SheetGrid, configureSpreadsheet",
|
|
45936
|
+
"@classic-homes/viewer-svelte/xlsx": "SpreadsheetViewer (default export, xlsx + xls + ods + csv), SheetGrid, configureSpreadsheet",
|
|
45761
45937
|
"@classic-homes/viewer-svelte/docx": "DocxViewer (default export)",
|
|
45762
45938
|
"@classic-homes/viewer-svelte/cad": "CadViewer (default export), configureCad",
|
|
45763
45939
|
"@classic-homes/viewer-svelte/cad/worker": "Web Worker entry for DXF parsing"
|
|
@@ -45829,6 +46005,46 @@ var viewer_catalog_default = {
|
|
|
45829
46005
|
"no recalculation"
|
|
45830
46006
|
]
|
|
45831
46007
|
},
|
|
46008
|
+
{
|
|
46009
|
+
kind: "xls",
|
|
46010
|
+
label: "Legacy Excel workbook (97\u20132003, 5.0/95)",
|
|
46011
|
+
component: "SpreadsheetViewer",
|
|
46012
|
+
import: "@classic-homes/viewer-svelte/xlsx",
|
|
46013
|
+
peer: null,
|
|
46014
|
+
configure: "same as xlsx",
|
|
46015
|
+
features: [
|
|
46016
|
+
"BIFF8 and BIFF5/7 cells, shared strings, number formats and dates (1900/1904)",
|
|
46017
|
+
"fonts, fills, borders, alignment from XF records; custom palettes",
|
|
46018
|
+
"merged cells, column widths, row heights, hidden rows/columns, frozen panes",
|
|
46019
|
+
"web links and in-workbook locations",
|
|
46020
|
+
"hidden and chart sheets listed like xlsx"
|
|
46021
|
+
],
|
|
46022
|
+
limits: [
|
|
46023
|
+
"cached formula results only; formula text is not decompiled",
|
|
46024
|
+
"no charts, images or conditional formatting (a note says when present)",
|
|
46025
|
+
"password-protected (FILEPASS) workbooks report encrypted",
|
|
46026
|
+
"HTML/XML tables saved with a .xls name report unsupported",
|
|
46027
|
+
"Excel 2\u20134 workbooks report unsupported"
|
|
46028
|
+
]
|
|
46029
|
+
},
|
|
46030
|
+
{
|
|
46031
|
+
kind: "ods",
|
|
46032
|
+
label: "OpenDocument spreadsheet",
|
|
46033
|
+
component: "SpreadsheetViewer",
|
|
46034
|
+
import: "@classic-homes/viewer-svelte/xlsx",
|
|
46035
|
+
peer: null,
|
|
46036
|
+
configure: "same as xlsx",
|
|
46037
|
+
features: [
|
|
46038
|
+
"display text as formatted by the producing app; typed values kept",
|
|
46039
|
+
"automatic cell styles: bold/italic/underline, colours, fills, borders, alignment",
|
|
46040
|
+
"repeated rows/columns, spans (merges), column widths, row heights, hidden columns/rows/sheets",
|
|
46041
|
+
"links; formula text in the status bar"
|
|
46042
|
+
],
|
|
46043
|
+
limits: [
|
|
46044
|
+
"named (non-automatic) styles, frozen panes and charts are not read",
|
|
46045
|
+
"every sheet is parsed on open (content.xml holds them all)"
|
|
46046
|
+
]
|
|
46047
|
+
},
|
|
45832
46048
|
{
|
|
45833
46049
|
kind: "csv",
|
|
45834
46050
|
label: "CSV / TSV",
|
|
@@ -45914,7 +46130,6 @@ var viewer_catalog_default = {
|
|
|
45914
46130
|
],
|
|
45915
46131
|
legacyFormats: {
|
|
45916
46132
|
doc: "Detected, not rendered: message suggests saving as .docx",
|
|
45917
|
-
xls: "Detected, not rendered: message suggests saving as .xlsx",
|
|
45918
46133
|
dwg: "Without @classic-homes/viewer-dwg registered: message names the AutoCAD release and suggests saving as DXF"
|
|
45919
46134
|
},
|
|
45920
46135
|
setup: {
|
|
@@ -45929,6 +46144,8 @@ var viewer_catalog_default = {
|
|
|
45929
46144
|
pdf: () => import('@classic-homes/viewer-svelte/pdf'),
|
|
45930
46145
|
docx: () => import('@classic-homes/viewer-svelte/docx'),
|
|
45931
46146
|
xlsx: () => import('@classic-homes/viewer-svelte/xlsx'),
|
|
46147
|
+
xls: () => import('@classic-homes/viewer-svelte/xlsx'),
|
|
46148
|
+
ods: () => import('@classic-homes/viewer-svelte/xlsx'),
|
|
45932
46149
|
csv: () => import('@classic-homes/viewer-svelte/xlsx'),
|
|
45933
46150
|
dxf: () => import('@classic-homes/viewer-svelte/cad'),
|
|
45934
46151
|
};
|
|
@@ -46034,7 +46251,7 @@ var viewer_catalog_default = {
|
|
|
46034
46251
|
errors: {
|
|
46035
46252
|
class: "ViewerError (code, message, kind?) from @classic-homes/viewer-core; isViewerError(e) to narrow",
|
|
46036
46253
|
codes: {
|
|
46037
|
-
unsupported: "no viewer registered, legacy .doc
|
|
46254
|
+
unsupported: "no viewer registered, legacy .doc, HTML/XML saved as .xls, binary DXF, no WebGL, DWG without viewer-dwg",
|
|
46038
46255
|
"too-large": "over maxBytes, or a DWG too big for WASM memory",
|
|
46039
46256
|
encrypted: "password-protected PDF or Office file",
|
|
46040
46257
|
corrupt: "the parser rejected the file",
|
|
@@ -46781,7 +46998,7 @@ function registerPrompts(server) {
|
|
|
46781
46998
|
// package.json
|
|
46782
46999
|
var package_default = {
|
|
46783
47000
|
name: "@classic-homes/theme-mcp",
|
|
46784
|
-
version: "0.5.
|
|
47001
|
+
version: "0.5.12",
|
|
46785
47002
|
description: "MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns",
|
|
46786
47003
|
type: "module",
|
|
46787
47004
|
main: "dist/index.js",
|
|
@@ -46880,4 +47097,4 @@ function createServer() {
|
|
|
46880
47097
|
export {
|
|
46881
47098
|
createServer
|
|
46882
47099
|
};
|
|
46883
|
-
//# sourceMappingURL=chunk-
|
|
47100
|
+
//# sourceMappingURL=chunk-N3I7O3V6.js.map
|