yaml-flow 2.6.1 → 2.8.0
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/browser/ingest-board.js +296 -0
- package/browser/live-cards.js +303 -0
- package/browser/live-cards.schema.json +22 -2
- package/dist/card-compute/index.cjs +6751 -0
- package/dist/card-compute/index.cjs.map +1 -1
- package/dist/card-compute/index.d.cts +24 -1
- package/dist/card-compute/index.d.ts +24 -1
- package/dist/card-compute/index.js +6747 -1
- package/dist/card-compute/index.js.map +1 -1
- package/dist/index.cjs +6750 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6746 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/schema/live-cards.schema.json +22 -2
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"kind": {
|
|
117
117
|
"enum": ["metric", "table", "chart", "form", "filter", "list",
|
|
118
118
|
"notes", "todo", "alert", "narrative", "badge", "text",
|
|
119
|
-
"markdown", "custom"]
|
|
119
|
+
"markdown", "custom", "file-upload", "chat", "actions"]
|
|
120
120
|
},
|
|
121
121
|
"label": { "type": "string", "description": "Heading above this element" },
|
|
122
122
|
"className": { "type": "string", "description": "Bootstrap grid class, e.g. 'col-12 col-md-6'" },
|
|
@@ -141,7 +141,27 @@
|
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
"colorMap": { "type": "object", "description": "badge: value → Bootstrap color" },
|
|
144
|
-
"style": { "enum": ["heading", "muted", "default"], "description": "text: display style" }
|
|
144
|
+
"style": { "enum": ["heading", "muted", "default"], "description": "text: display style" },
|
|
145
|
+
"upload": { "type": "boolean", "default": true, "description": "file-upload: show drop zone (false = read-only file list)" },
|
|
146
|
+
"accept": { "type": "array", "items": { "type": "string" }, "description": "file-upload: allowed extensions" },
|
|
147
|
+
"multiple": { "type": "boolean", "default": true, "description": "file-upload: allow multiple files" },
|
|
148
|
+
"fileAttach": { "type": "boolean", "default": false, "description": "chat: enable inline file attachments" },
|
|
149
|
+
"fileAccept": { "type": "array", "items": { "type": "string" }, "description": "chat: allowed attachment extensions" },
|
|
150
|
+
"buttons": {
|
|
151
|
+
"type": "array",
|
|
152
|
+
"description": "actions: button definitions",
|
|
153
|
+
"items": {
|
|
154
|
+
"type": "object",
|
|
155
|
+
"required": ["id", "label"],
|
|
156
|
+
"properties": {
|
|
157
|
+
"id": { "type": "string" },
|
|
158
|
+
"label": { "type": "string" },
|
|
159
|
+
"style": { "type": "string", "description": "Bootstrap button variant, e.g. 'success', 'outline-danger'" },
|
|
160
|
+
"size": { "type": "string", "default": "sm" },
|
|
161
|
+
"disabled": { "oneOf": [{ "type": "boolean" }, { "type": "string", "description": "state path — truthy = disabled" }] }
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
145
165
|
}
|
|
146
166
|
}
|
|
147
167
|
}
|