plotleaf 0.3.2 → 0.4.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/README.md +24 -1
- package/dist/assets/base.js +1 -1
- package/dist/assets/charts.js +17 -17
- package/dist/assets/styles.css +131 -0
- package/dist/cli.js +1343 -919
- package/examples/interactions/control-views.json +412 -0
- package/examples/interactions/regional-views.json +409 -0
- package/examples/interactions/report.md +30 -0
- package/examples/report.md +11 -1
- package/package.json +3 -1
- package/schema/components.json +377 -2
- package/skills/plotleaf/SKILL.md +61 -1
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
{
|
|
2
|
+
"inputs": [
|
|
3
|
+
{
|
|
4
|
+
"id": "cadence",
|
|
5
|
+
"type": "segmented",
|
|
6
|
+
"label": "Cadence",
|
|
7
|
+
"default": "weekly",
|
|
8
|
+
"options": [
|
|
9
|
+
{
|
|
10
|
+
"value": "weekly",
|
|
11
|
+
"label": "Weekly"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"value": "monthly",
|
|
15
|
+
"label": "Monthly"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "priority",
|
|
21
|
+
"type": "toggle",
|
|
22
|
+
"label": "Priority accounts",
|
|
23
|
+
"default": false
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "product",
|
|
27
|
+
"type": "text",
|
|
28
|
+
"label": "Product (all or notebook)",
|
|
29
|
+
"default": "all",
|
|
30
|
+
"options": [
|
|
31
|
+
{
|
|
32
|
+
"value": "all",
|
|
33
|
+
"label": "All"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"value": "notebook",
|
|
37
|
+
"label": "Notebook"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "quantity",
|
|
43
|
+
"type": "number",
|
|
44
|
+
"label": "Quantity (10 or 20)",
|
|
45
|
+
"default": 10,
|
|
46
|
+
"options": [
|
|
47
|
+
{
|
|
48
|
+
"value": 10,
|
|
49
|
+
"label": "10"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"value": 20,
|
|
53
|
+
"label": "20"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"views": [
|
|
59
|
+
{
|
|
60
|
+
"id": "weekly-standard-all-10",
|
|
61
|
+
"label": "Weekly / standard / all / 10",
|
|
62
|
+
"when": {
|
|
63
|
+
"cadence": "weekly",
|
|
64
|
+
"priority": false,
|
|
65
|
+
"product": "all",
|
|
66
|
+
"quantity": 10
|
|
67
|
+
},
|
|
68
|
+
"markdown": "### Weekly / standard / all / 10\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"240\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
69
|
+
"datasets": {
|
|
70
|
+
"scenario.json": [
|
|
71
|
+
{
|
|
72
|
+
"cadence": "weekly",
|
|
73
|
+
"priority": false,
|
|
74
|
+
"product": "all",
|
|
75
|
+
"quantity": 10,
|
|
76
|
+
"orders": 240
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "weekly-standard-all-20",
|
|
83
|
+
"label": "Weekly / standard / all / 20",
|
|
84
|
+
"when": {
|
|
85
|
+
"cadence": "weekly",
|
|
86
|
+
"priority": false,
|
|
87
|
+
"product": "all",
|
|
88
|
+
"quantity": 20
|
|
89
|
+
},
|
|
90
|
+
"markdown": "### Weekly / standard / all / 20\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"250\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
91
|
+
"datasets": {
|
|
92
|
+
"scenario.json": [
|
|
93
|
+
{
|
|
94
|
+
"cadence": "weekly",
|
|
95
|
+
"priority": false,
|
|
96
|
+
"product": "all",
|
|
97
|
+
"quantity": 20,
|
|
98
|
+
"orders": 250
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"id": "weekly-standard-notebook-10",
|
|
105
|
+
"label": "Weekly / standard / notebook / 10",
|
|
106
|
+
"when": {
|
|
107
|
+
"cadence": "weekly",
|
|
108
|
+
"priority": false,
|
|
109
|
+
"product": "notebook",
|
|
110
|
+
"quantity": 10
|
|
111
|
+
},
|
|
112
|
+
"markdown": "### Weekly / standard / notebook / 10\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"80\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
113
|
+
"datasets": {
|
|
114
|
+
"scenario.json": [
|
|
115
|
+
{
|
|
116
|
+
"cadence": "weekly",
|
|
117
|
+
"priority": false,
|
|
118
|
+
"product": "notebook",
|
|
119
|
+
"quantity": 10,
|
|
120
|
+
"orders": 80
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "weekly-standard-notebook-20",
|
|
127
|
+
"label": "Weekly / standard / notebook / 20",
|
|
128
|
+
"when": {
|
|
129
|
+
"cadence": "weekly",
|
|
130
|
+
"priority": false,
|
|
131
|
+
"product": "notebook",
|
|
132
|
+
"quantity": 20
|
|
133
|
+
},
|
|
134
|
+
"markdown": "### Weekly / standard / notebook / 20\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"90\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
135
|
+
"datasets": {
|
|
136
|
+
"scenario.json": [
|
|
137
|
+
{
|
|
138
|
+
"cadence": "weekly",
|
|
139
|
+
"priority": false,
|
|
140
|
+
"product": "notebook",
|
|
141
|
+
"quantity": 20,
|
|
142
|
+
"orders": 90
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"id": "weekly-priority-all-10",
|
|
149
|
+
"label": "Weekly / priority / all / 10",
|
|
150
|
+
"when": {
|
|
151
|
+
"cadence": "weekly",
|
|
152
|
+
"priority": true,
|
|
153
|
+
"product": "all",
|
|
154
|
+
"quantity": 10
|
|
155
|
+
},
|
|
156
|
+
"markdown": "### Weekly / priority / all / 10\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"260\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
157
|
+
"datasets": {
|
|
158
|
+
"scenario.json": [
|
|
159
|
+
{
|
|
160
|
+
"cadence": "weekly",
|
|
161
|
+
"priority": true,
|
|
162
|
+
"product": "all",
|
|
163
|
+
"quantity": 10,
|
|
164
|
+
"orders": 260
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "weekly-priority-all-20",
|
|
171
|
+
"label": "Weekly / priority / all / 20",
|
|
172
|
+
"when": {
|
|
173
|
+
"cadence": "weekly",
|
|
174
|
+
"priority": true,
|
|
175
|
+
"product": "all",
|
|
176
|
+
"quantity": 20
|
|
177
|
+
},
|
|
178
|
+
"markdown": "### Weekly / priority / all / 20\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"270\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
179
|
+
"datasets": {
|
|
180
|
+
"scenario.json": [
|
|
181
|
+
{
|
|
182
|
+
"cadence": "weekly",
|
|
183
|
+
"priority": true,
|
|
184
|
+
"product": "all",
|
|
185
|
+
"quantity": 20,
|
|
186
|
+
"orders": 270
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"id": "weekly-priority-notebook-10",
|
|
193
|
+
"label": "Weekly / priority / notebook / 10",
|
|
194
|
+
"when": {
|
|
195
|
+
"cadence": "weekly",
|
|
196
|
+
"priority": true,
|
|
197
|
+
"product": "notebook",
|
|
198
|
+
"quantity": 10
|
|
199
|
+
},
|
|
200
|
+
"markdown": "### Weekly / priority / notebook / 10\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"100\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
201
|
+
"datasets": {
|
|
202
|
+
"scenario.json": [
|
|
203
|
+
{
|
|
204
|
+
"cadence": "weekly",
|
|
205
|
+
"priority": true,
|
|
206
|
+
"product": "notebook",
|
|
207
|
+
"quantity": 10,
|
|
208
|
+
"orders": 100
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "weekly-priority-notebook-20",
|
|
215
|
+
"label": "Weekly / priority / notebook / 20",
|
|
216
|
+
"when": {
|
|
217
|
+
"cadence": "weekly",
|
|
218
|
+
"priority": true,
|
|
219
|
+
"product": "notebook",
|
|
220
|
+
"quantity": 20
|
|
221
|
+
},
|
|
222
|
+
"markdown": "### Weekly / priority / notebook / 20\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"110\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
223
|
+
"datasets": {
|
|
224
|
+
"scenario.json": [
|
|
225
|
+
{
|
|
226
|
+
"cadence": "weekly",
|
|
227
|
+
"priority": true,
|
|
228
|
+
"product": "notebook",
|
|
229
|
+
"quantity": 20,
|
|
230
|
+
"orders": 110
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"id": "monthly-standard-all-10",
|
|
237
|
+
"label": "Monthly / standard / all / 10",
|
|
238
|
+
"when": {
|
|
239
|
+
"cadence": "monthly",
|
|
240
|
+
"priority": false,
|
|
241
|
+
"product": "all",
|
|
242
|
+
"quantity": 10
|
|
243
|
+
},
|
|
244
|
+
"markdown": "### Monthly / standard / all / 10\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"960\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
245
|
+
"datasets": {
|
|
246
|
+
"scenario.json": [
|
|
247
|
+
{
|
|
248
|
+
"cadence": "monthly",
|
|
249
|
+
"priority": false,
|
|
250
|
+
"product": "all",
|
|
251
|
+
"quantity": 10,
|
|
252
|
+
"orders": 960
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"id": "monthly-standard-all-20",
|
|
259
|
+
"label": "Monthly / standard / all / 20",
|
|
260
|
+
"when": {
|
|
261
|
+
"cadence": "monthly",
|
|
262
|
+
"priority": false,
|
|
263
|
+
"product": "all",
|
|
264
|
+
"quantity": 20
|
|
265
|
+
},
|
|
266
|
+
"markdown": "### Monthly / standard / all / 20\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"970\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
267
|
+
"datasets": {
|
|
268
|
+
"scenario.json": [
|
|
269
|
+
{
|
|
270
|
+
"cadence": "monthly",
|
|
271
|
+
"priority": false,
|
|
272
|
+
"product": "all",
|
|
273
|
+
"quantity": 20,
|
|
274
|
+
"orders": 970
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"id": "monthly-standard-notebook-10",
|
|
281
|
+
"label": "Monthly / standard / notebook / 10",
|
|
282
|
+
"when": {
|
|
283
|
+
"cadence": "monthly",
|
|
284
|
+
"priority": false,
|
|
285
|
+
"product": "notebook",
|
|
286
|
+
"quantity": 10
|
|
287
|
+
},
|
|
288
|
+
"markdown": "### Monthly / standard / notebook / 10\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"320\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
289
|
+
"datasets": {
|
|
290
|
+
"scenario.json": [
|
|
291
|
+
{
|
|
292
|
+
"cadence": "monthly",
|
|
293
|
+
"priority": false,
|
|
294
|
+
"product": "notebook",
|
|
295
|
+
"quantity": 10,
|
|
296
|
+
"orders": 320
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "monthly-standard-notebook-20",
|
|
303
|
+
"label": "Monthly / standard / notebook / 20",
|
|
304
|
+
"when": {
|
|
305
|
+
"cadence": "monthly",
|
|
306
|
+
"priority": false,
|
|
307
|
+
"product": "notebook",
|
|
308
|
+
"quantity": 20
|
|
309
|
+
},
|
|
310
|
+
"markdown": "### Monthly / standard / notebook / 20\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"330\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
311
|
+
"datasets": {
|
|
312
|
+
"scenario.json": [
|
|
313
|
+
{
|
|
314
|
+
"cadence": "monthly",
|
|
315
|
+
"priority": false,
|
|
316
|
+
"product": "notebook",
|
|
317
|
+
"quantity": 20,
|
|
318
|
+
"orders": 330
|
|
319
|
+
}
|
|
320
|
+
]
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"id": "monthly-priority-all-10",
|
|
325
|
+
"label": "Monthly / priority / all / 10",
|
|
326
|
+
"when": {
|
|
327
|
+
"cadence": "monthly",
|
|
328
|
+
"priority": true,
|
|
329
|
+
"product": "all",
|
|
330
|
+
"quantity": 10
|
|
331
|
+
},
|
|
332
|
+
"markdown": "### Monthly / priority / all / 10\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"980\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
333
|
+
"datasets": {
|
|
334
|
+
"scenario.json": [
|
|
335
|
+
{
|
|
336
|
+
"cadence": "monthly",
|
|
337
|
+
"priority": true,
|
|
338
|
+
"product": "all",
|
|
339
|
+
"quantity": 10,
|
|
340
|
+
"orders": 980
|
|
341
|
+
}
|
|
342
|
+
]
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"id": "monthly-priority-all-20",
|
|
347
|
+
"label": "Monthly / priority / all / 20",
|
|
348
|
+
"when": {
|
|
349
|
+
"cadence": "monthly",
|
|
350
|
+
"priority": true,
|
|
351
|
+
"product": "all",
|
|
352
|
+
"quantity": 20
|
|
353
|
+
},
|
|
354
|
+
"markdown": "### Monthly / priority / all / 20\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"990\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
355
|
+
"datasets": {
|
|
356
|
+
"scenario.json": [
|
|
357
|
+
{
|
|
358
|
+
"cadence": "monthly",
|
|
359
|
+
"priority": true,
|
|
360
|
+
"product": "all",
|
|
361
|
+
"quantity": 20,
|
|
362
|
+
"orders": 990
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"id": "monthly-priority-notebook-10",
|
|
369
|
+
"label": "Monthly / priority / notebook / 10",
|
|
370
|
+
"when": {
|
|
371
|
+
"cadence": "monthly",
|
|
372
|
+
"priority": true,
|
|
373
|
+
"product": "notebook",
|
|
374
|
+
"quantity": 10
|
|
375
|
+
},
|
|
376
|
+
"markdown": "### Monthly / priority / notebook / 10\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"340\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
377
|
+
"datasets": {
|
|
378
|
+
"scenario.json": [
|
|
379
|
+
{
|
|
380
|
+
"cadence": "monthly",
|
|
381
|
+
"priority": true,
|
|
382
|
+
"product": "notebook",
|
|
383
|
+
"quantity": 10,
|
|
384
|
+
"orders": 340
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"id": "monthly-priority-notebook-20",
|
|
391
|
+
"label": "Monthly / priority / notebook / 20",
|
|
392
|
+
"when": {
|
|
393
|
+
"cadence": "monthly",
|
|
394
|
+
"priority": true,
|
|
395
|
+
"product": "notebook",
|
|
396
|
+
"quantity": 20
|
|
397
|
+
},
|
|
398
|
+
"markdown": "### Monthly / priority / notebook / 20\n\nFictional, independently prepared scenario.\n\n::metric{label=\"Prepared orders\" value=\"350\"}\n\n::table{data=\"./scenario.json\" title=\"Selected scenario\"}\n",
|
|
399
|
+
"datasets": {
|
|
400
|
+
"scenario.json": [
|
|
401
|
+
{
|
|
402
|
+
"cadence": "monthly",
|
|
403
|
+
"priority": true,
|
|
404
|
+
"product": "notebook",
|
|
405
|
+
"quantity": 20,
|
|
406
|
+
"orders": 350
|
|
407
|
+
}
|
|
408
|
+
]
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
]
|
|
412
|
+
}
|