@orbcharts/presets-basic 3.0.0-alpha.4 → 3.0.0-alpha.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/dist/orbcharts-presets-basic.es.js +327 -138
  2. package/dist/orbcharts-presets-basic.umd.js +1 -1
  3. package/dist/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +3 -0
  4. package/dist/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +3 -0
  5. package/dist/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +3 -0
  6. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +3 -0
  7. package/dist/src/gridDataFormatterFiles/index.d.ts +4 -1
  8. package/dist/src/index.d.ts +8 -0
  9. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +3 -0
  10. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +3 -0
  11. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +3 -0
  12. package/dist/src/multiGridDataFormatterFiles/index.d.ts +3 -1
  13. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +4 -0
  14. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.d.ts +4 -0
  15. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +2 -0
  16. package/dist/src/multiGridPluginParamsFiles/index.d.ts +1 -1
  17. package/dist/src/types.d.ts +6 -2
  18. package/package.json +3 -3
  19. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +1 -1
  20. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +1 -1
  21. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +1 -1
  22. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +1 -1
  23. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +2 -2
  24. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +1 -1
  25. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +16 -0
  26. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +16 -0
  27. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +16 -0
  28. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +23 -0
  29. package/src/gridDataFormatterFiles/index.ts +4 -1
  30. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +2 -1
  31. package/src/index.ts +55 -8
  32. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +21 -0
  33. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +24 -0
  34. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +27 -0
  35. package/src/multiGridDataFormatterFiles/index.ts +3 -1
  36. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +14 -0
  37. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +21 -0
  38. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +2 -0
  39. package/src/multiGridPluginParamsFiles/index.ts +1 -1
  40. package/src/types.ts +5 -2
  41. package/tsconfig.dev.json +18 -0
  42. package/tsconfig.prod.json +18 -0
  43. package/dist/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.d.ts +0 -3
  44. package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +0 -16
@@ -1,4 +1,4 @@
1
- const l = {
1
+ const E = {
2
2
  id: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
3
3
  description: "間距下面及左邊留空",
4
4
  data: {
@@ -6,11 +6,11 @@ const l = {
6
6
  top: 60,
7
7
  right: 60,
8
8
  bottom: 120,
9
- left: 120
9
+ left: 160
10
10
  },
11
11
  highlightTarget: "series"
12
12
  }
13
- }, O = {
13
+ }, D = {
14
14
  id: "CP_BOTTOM_AND_LEFT_PADDING",
15
15
  description: "間距下面及左邊留空",
16
16
  data: {
@@ -18,17 +18,17 @@ const l = {
18
18
  top: 60,
19
19
  right: 60,
20
20
  bottom: 120,
21
- left: 120
21
+ left: 160
22
22
  }
23
23
  }
24
- }, E = {
24
+ }, O = {
25
25
  id: "CP_BOTTOM_LONG_PADDING",
26
26
  description: "間距下面加長留空",
27
27
  data: {
28
28
  padding: {
29
29
  top: 60,
30
30
  right: 60,
31
- bottom: 140,
31
+ bottom: 160,
32
32
  left: 60
33
33
  }
34
34
  }
@@ -39,12 +39,12 @@ const l = {
39
39
  padding: {
40
40
  top: 60,
41
41
  right: 60,
42
- bottom: 140,
42
+ bottom: 160,
43
43
  left: 60
44
44
  },
45
45
  highlightTarget: "series"
46
46
  }
47
- }, D = {
47
+ }, G = {
48
48
  id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
49
49
  description: "間距下面留空及highlight群組",
50
50
  data: {
@@ -56,7 +56,7 @@ const l = {
56
56
  },
57
57
  highlightTarget: "group"
58
58
  }
59
- }, N = {
59
+ }, S = {
60
60
  id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
61
61
  description: "間距下面留空及highlight系列",
62
62
  data: {
@@ -68,7 +68,7 @@ const l = {
68
68
  },
69
69
  highlightTarget: "series"
70
70
  }
71
- }, S = {
71
+ }, L = {
72
72
  id: "CP_BOTTOM_PADDING",
73
73
  description: "間距下面留空",
74
74
  data: {
@@ -79,29 +79,29 @@ const l = {
79
79
  left: 60
80
80
  }
81
81
  }
82
- }, p = {
82
+ }, R = {
83
83
  id: "CP_LEFT_PADDING",
84
- description: "間距右邊留空",
84
+ description: "間距左邊留空",
85
85
  data: {
86
86
  padding: {
87
87
  top: 60,
88
88
  right: 60,
89
89
  bottom: 60,
90
- left: 120
90
+ left: 160
91
91
  }
92
92
  }
93
- }, G = {
93
+ }, N = {
94
94
  id: "CP_TOP_AND_NO_BOTTOM_PADDING",
95
95
  description: "間距上面留空下面不留空",
96
96
  data: {
97
97
  padding: {
98
- top: 140,
98
+ top: 120,
99
99
  right: 120,
100
100
  bottom: 0,
101
101
  left: 60
102
102
  }
103
103
  }
104
- }, g = {
104
+ }, p = {
105
105
  id: "CP_RIGHT_PADDING",
106
106
  description: "間距右邊留空",
107
107
  data: {
@@ -112,18 +112,18 @@ const l = {
112
112
  left: 60
113
113
  }
114
114
  }
115
- }, L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
115
+ }, g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
116
116
  __proto__: null,
117
- CP_BOTTOM_AND_LEFT_PADDING: O,
118
- CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: l,
119
- CP_BOTTOM_LONG_PADDING: E,
117
+ CP_BOTTOM_AND_LEFT_PADDING: D,
118
+ CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: E,
119
+ CP_BOTTOM_LONG_PADDING: O,
120
120
  CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT: c,
121
- CP_BOTTOM_PADDING: S,
122
- CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: D,
123
- CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: N,
124
- CP_LEFT_PADDING: p,
125
- CP_RIGHT_PADDING: g,
126
- CP_TOP_AND_NO_BOTTOM_PADDING: G
121
+ CP_BOTTOM_PADDING: L,
122
+ CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: G,
123
+ CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: S,
124
+ CP_LEFT_PADDING: R,
125
+ CP_RIGHT_PADDING: p,
126
+ CP_TOP_AND_NO_BOTTOM_PADDING: N
127
127
  }, Symbol.toStringTag, { value: "Module" })), m = {}, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
128
128
  __proto__: null,
129
129
  temp: m
@@ -135,7 +135,7 @@ const l = {
135
135
  data: {
136
136
  bubbleScaleType: "radius"
137
137
  }
138
- }, R = {
138
+ }, B = {
139
139
  id: "PP_PIE_DONUT",
140
140
  chartType: "series",
141
141
  pluginName: "Pie",
@@ -143,7 +143,7 @@ const l = {
143
143
  data: {
144
144
  innerRadius: 0.5
145
145
  }
146
- }, B = {
146
+ }, M = {
147
147
  id: "PP_PIE_HALF_DONUT",
148
148
  chartType: "series",
149
149
  pluginName: "Pie",
@@ -171,7 +171,7 @@ const l = {
171
171
  labelCentroid: 1.3,
172
172
  labelColorType: "primary"
173
173
  }
174
- }, M = {
174
+ }, U = {
175
175
  id: "PP_SERIES_LEGEND_BOTTOM",
176
176
  chartType: "series",
177
177
  pluginName: "SeriesLegend",
@@ -179,30 +179,80 @@ const l = {
179
179
  data: {
180
180
  listRectRadius: 7
181
181
  }
182
- }, b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
182
+ }, F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
183
183
  __proto__: null,
184
184
  PP_BUBBLES_SCALING_BY_RADIUS: u,
185
- PP_PIE_DONUT: R,
186
- PP_PIE_HALF_DONUT: B,
185
+ PP_PIE_DONUT: B,
186
+ PP_PIE_HALF_DONUT: M,
187
187
  PP_PIE_LABELS_HALF_ANGLE: H,
188
188
  PP_PIE_LABELS_INNER: h,
189
- PP_SERIES_LEGEND_ROUND: M
190
- }, Symbol.toStringTag, { value: "Module" })), C = {
191
- id: "DF_BOTTOM_VALUE_AXIS",
189
+ PP_SERIES_LEGEND_ROUND: U
190
+ }, Symbol.toStringTag, { value: "Module" })), b = {
191
+ id: "DF_GRID_BOTTOM_VALUE_AXIS",
192
192
  chartType: "grid",
193
193
  description: "底部橫向資料圖軸",
194
194
  data: {
195
- valueAxis: {
196
- position: "bottom"
195
+ grid: {
196
+ valueAxis: {
197
+ position: "bottom"
198
+ // position: 'top'
199
+ // position: 'left'
200
+ // position: 'right'
201
+ },
202
+ groupAxis: {
203
+ position: "left"
204
+ // position: 'right'
205
+ // position: 'bottom'
206
+ // position: 'top'
207
+ }
208
+ }
209
+ }
210
+ }, C = {
211
+ id: "DF_GRID_2_SERIES_SLOT",
212
+ chartType: "grid",
213
+ description: "2個Series Slot",
214
+ data: {
215
+ grid: {
216
+ seriesSlotIndexes: [0, 1]
217
+ },
218
+ container: {
219
+ rowAmount: 1,
220
+ columnAmount: 2
221
+ }
222
+ }
223
+ }, y = {
224
+ id: "DF_GRID_3_SERIES_SLOT",
225
+ chartType: "grid",
226
+ description: "3個Series Slot",
227
+ data: {
228
+ grid: {
229
+ seriesSlotIndexes: [0, 1, 2]
230
+ },
231
+ container: {
232
+ rowAmount: 1,
233
+ columnAmount: 3
234
+ }
235
+ }
236
+ }, f = {
237
+ id: "DF_GRID_4_SERIES_SLOT",
238
+ chartType: "grid",
239
+ description: "4個Series Slot",
240
+ data: {
241
+ grid: {
242
+ seriesSlotIndexes: [0, 1, 2, 3]
197
243
  },
198
- groupAxis: {
199
- position: "left"
244
+ container: {
245
+ rowAmount: 2,
246
+ columnAmount: 2
200
247
  }
201
248
  }
202
- }, U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
249
+ }, j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
203
250
  __proto__: null,
204
- DF_BOTTOM_VALUE_AXIS: C
205
- }, Symbol.toStringTag, { value: "Module" })), y = {
251
+ DF_GRID_2_SERIES_SLOT: C,
252
+ DF_GRID_3_SERIES_SLOT: y,
253
+ DF_GRID_4_SERIES_SLOT: f,
254
+ DF_GRID_BOTTOM_VALUE_AXIS: b
255
+ }, Symbol.toStringTag, { value: "Module" })), W = {
206
256
  id: "PP_BARS_ROUND",
207
257
  chartType: "grid",
208
258
  pluginName: "Bars",
@@ -213,7 +263,7 @@ const l = {
213
263
  barGroupPadding: 10,
214
264
  barRadius: !0
215
265
  }
216
- }, F = {
266
+ }, v = {
217
267
  id: "PP_BARS_THIN",
218
268
  chartType: "grid",
219
269
  pluginName: "Bars",
@@ -223,7 +273,7 @@ const l = {
223
273
  barPadding: 1,
224
274
  barGroupPadding: 10
225
275
  }
226
- }, f = {
276
+ }, x = {
227
277
  id: "PP_DOTS_ONLY_SHOW_HIGHLIGHTED",
228
278
  chartType: "grid",
229
279
  pluginName: "Dots",
@@ -231,7 +281,7 @@ const l = {
231
281
  data: {
232
282
  onlyShowHighlighted: !1
233
283
  }
234
- }, j = {
284
+ }, X = {
235
285
  id: "PP_DOTS_SOLID",
236
286
  chartType: "grid",
237
287
  pluginName: "Dots",
@@ -241,7 +291,7 @@ const l = {
241
291
  fillColorType: "series",
242
292
  onlyShowHighlighted: !1
243
293
  }
244
- }, W = {
294
+ }, V = {
245
295
  id: "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",
246
296
  chartType: "grid",
247
297
  pluginName: "GridLegend",
@@ -252,7 +302,7 @@ const l = {
252
302
  padding: 14,
253
303
  listRectHeight: 2
254
304
  }
255
- }, v = {
305
+ }, z = {
256
306
  id: "PP_GRID_LEGEND_BOTTOM",
257
307
  chartType: "grid",
258
308
  pluginName: "GridLegend",
@@ -262,15 +312,16 @@ const l = {
262
312
  justify: "center",
263
313
  padding: 14
264
314
  }
265
- }, V = {
315
+ }, w = {
266
316
  id: "PP_GROUP_AXIS_ROTATE_LABEL",
267
317
  chartType: "grid",
268
318
  pluginName: "GroupAxis",
269
319
  description: "群組圖軸標籤文字傾斜",
270
320
  data: {
271
- tickTextRotate: 40
321
+ tickPadding: 15,
322
+ tickTextRotate: -30
272
323
  }
273
- }, z = {
324
+ }, Y = {
274
325
  id: "PP_LINES_CURVE",
275
326
  chartType: "grid",
276
327
  pluginName: "Lines",
@@ -279,161 +330,299 @@ const l = {
279
330
  lineCurve: "curveMonotoneX",
280
331
  lineWidth: 3
281
332
  }
282
- }, X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
333
+ }, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
283
334
  __proto__: null,
284
- PP_BARS_ROUND: y,
285
- PP_BARS_THIN: F,
286
- PP_DOTS_ONLY_SHOW_HIGHLIGHTED: f,
287
- PP_DOTS_SOLID: j,
288
- PP_GRID_LEGEND_BOTTOM: v,
289
- PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: W,
290
- PP_GROUP_AXIS_ROTATE_LABEL: V,
291
- PP_LINES_CURVE: z
292
- }, Symbol.toStringTag, { value: "Module" })), $ = {}, Y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
335
+ PP_BARS_ROUND: W,
336
+ PP_BARS_THIN: v,
337
+ PP_DOTS_ONLY_SHOW_HIGHLIGHTED: x,
338
+ PP_DOTS_SOLID: X,
339
+ PP_GRID_LEGEND_BOTTOM: z,
340
+ PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: V,
341
+ PP_GROUP_AXIS_ROTATE_LABEL: w,
342
+ PP_LINES_CURVE: Y
343
+ }, Symbol.toStringTag, { value: "Module" })), Z = {
344
+ id: "DF_MULTI_GRID_2_GRID_SLOT",
345
+ chartType: "multiGrid",
346
+ description: "2個Grid Slot",
347
+ data: {
348
+ gridList: [
349
+ {
350
+ slotIndex: 0
351
+ },
352
+ {
353
+ slotIndex: 1
354
+ }
355
+ ],
356
+ container: {
357
+ rowAmount: 1,
358
+ columnAmount: 2
359
+ }
360
+ }
361
+ }, k = {
362
+ id: "DF_MULTI_GRID_3_GRID_SLOT",
363
+ chartType: "multiGrid",
364
+ description: "3個Grid Slot",
365
+ data: {
366
+ gridList: [
367
+ {
368
+ slotIndex: 0
369
+ },
370
+ {
371
+ slotIndex: 1
372
+ },
373
+ {
374
+ slotIndex: 2
375
+ }
376
+ ],
377
+ container: {
378
+ rowAmount: 1,
379
+ columnAmount: 3
380
+ }
381
+ }
382
+ }, q = {
383
+ id: "DF_MULTI_GRID_4_GRID_SLOT",
384
+ chartType: "multiGrid",
385
+ description: "4個Grid Slot",
386
+ data: {
387
+ gridList: [
388
+ {
389
+ slotIndex: 0
390
+ },
391
+ {
392
+ slotIndex: 1
393
+ },
394
+ {
395
+ slotIndex: 2
396
+ },
397
+ {
398
+ slotIndex: 3
399
+ }
400
+ ],
401
+ container: {
402
+ rowAmount: 2,
403
+ columnAmount: 2
404
+ }
405
+ }
406
+ }, J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
293
407
  __proto__: null,
294
- temp: $
295
- }, Symbol.toStringTag, { value: "Module" })), x = {}, Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
408
+ DF_MULTI_GRID_2_GRID_SLOT: Z,
409
+ DF_MULTI_GRID_3_GRID_SLOT: k,
410
+ DF_MULTI_GRID_4_GRID_SLOT: q
411
+ }, Symbol.toStringTag, { value: "Module" })), K = {
412
+ id: "PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST",
413
+ chartType: "multiGrid",
414
+ pluginName: "MultiGridLegend",
415
+ description: "底部圖例及線條列點",
416
+ data: {
417
+ position: "bottom",
418
+ justify: "center",
419
+ padding: 14,
420
+ gridList: [
421
+ {},
422
+ {
423
+ listRectHeight: 2
424
+ }
425
+ ]
426
+ }
427
+ }, Q = {
428
+ id: "PP_MULTI_GRID_LEGEND_BOTTOM",
429
+ chartType: "multiGrid",
430
+ pluginName: "MultiGridLegend",
431
+ description: "底部圖例",
432
+ data: {
433
+ position: "bottom",
434
+ justify: "center",
435
+ padding: 14
436
+ }
437
+ }, __ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
296
438
  __proto__: null,
297
- temp: x
298
- }, Symbol.toStringTag, { value: "Module" })), w = {}, k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
439
+ PP_MULTI_GRID_LEGEND_BOTTOM: Q,
440
+ PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST: K
441
+ }, Symbol.toStringTag, { value: "Module" })), t_ = {}, i_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
299
442
  __proto__: null,
300
- temp: w
301
- }, Symbol.toStringTag, { value: "Module" })), q = {}, J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
443
+ temp: t_
444
+ }, Symbol.toStringTag, { value: "Module" })), e_ = {}, a_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
302
445
  __proto__: null,
303
- temp: q
304
- }, Symbol.toStringTag, { value: "Module" })), K = {}, Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
446
+ temp: e_
447
+ }, Symbol.toStringTag, { value: "Module" })), r_ = {}, P_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
305
448
  __proto__: null,
306
- temp: K
307
- }, Symbol.toStringTag, { value: "Module" })), __ = {}, t_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
449
+ temp: r_
450
+ }, Symbol.toStringTag, { value: "Module" })), I_ = {}, o_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
308
451
  __proto__: null,
309
- temp: __
310
- }, Symbol.toStringTag, { value: "Module" })), e_ = {}, a_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
452
+ temp: I_
453
+ }, Symbol.toStringTag, { value: "Module" })), T_ = {}, d_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
311
454
  __proto__: null,
312
- temp: e_
313
- }, Symbol.toStringTag, { value: "Module" })), i_ = {}, P_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
455
+ temp: T_
456
+ }, Symbol.toStringTag, { value: "Module" })), s_ = {}, n_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
314
457
  __proto__: null,
315
- temp: i_
316
- }, Symbol.toStringTag, { value: "Module" })), s = {
458
+ temp: s_
459
+ }, Symbol.toStringTag, { value: "Module" })), T = {
317
460
  series: A,
318
- grid: U,
319
- multiGrid: Y,
320
- multiValue: k,
321
- relationship: Q,
322
- tree: a_
461
+ grid: j,
462
+ multiGrid: J,
463
+ multiValue: i_,
464
+ relationship: P_,
465
+ tree: d_
323
466
  }, P = {
324
- series: b,
325
- grid: X,
326
- multiGrid: Z,
327
- multiValue: J,
328
- relationship: t_,
329
- tree: P_
330
- }, r = (t, e) => {
331
- const T = e.chartParamsId ? L[e.chartParamsId].data : void 0, n = s[t][e.dataFormatterId] ? s[t][e.dataFormatterId].data : void 0, d = e.allPluginParamsIds ? e.allPluginParamsIds.reduce((o, i) => {
332
- if (P[t][i]) {
333
- const I = P[t][i].pluginName;
334
- o[I] = P[t][i].data;
467
+ series: F,
468
+ grid: $,
469
+ multiGrid: __,
470
+ multiValue: a_,
471
+ relationship: o_,
472
+ tree: n_
473
+ }, I = (t, e) => {
474
+ const d = e.chartParamsId ? g[e.chartParamsId].data : void 0, s = T[t][e.dataFormatterId] ? T[t][e.dataFormatterId].data : void 0, n = e.allPluginParamsIds ? e.allPluginParamsIds.reduce((o, r) => {
475
+ if (P[t][r]) {
476
+ const l = P[t][r].pluginName;
477
+ o[l] = P[t][r].data;
335
478
  }
336
479
  return o;
337
480
  }, {}) : void 0;
338
481
  return {
339
- chartParams: T,
340
- dataFormatter: n,
341
- allPluginParams: d
482
+ chartParams: d,
483
+ dataFormatter: s,
484
+ allPluginParams: n
342
485
  };
343
- }, a = (t) => r("series", t), _ = (t) => r("grid", t), r_ = (t) => r("multiGrid", t), o_ = a({
486
+ }, i = (t) => I("series", t), _ = (t) => I("grid", t), a = (t) => I("multiGrid", t), l_ = i({
344
487
  // chartParamsId: 'CP_RIGHT_PADDING',
345
488
  allPluginParamsIds: [],
346
489
  description: "基本Series參數"
347
- }), s_ = a({
490
+ }), E_ = i({
491
+ // chartParamsId: 'CP_RIGHT_PADDING',
492
+ allPluginParamsIds: ["PP_SERIES_LEGEND_ROUND"],
493
+ description: "基本泡泡圖"
494
+ }), D_ = i({
348
495
  // chartParamsId: 'CP_RIGHT_PADDING',
349
496
  allPluginParamsIds: ["PP_BUBBLES_SCALING_BY_RADIUS", "PP_SERIES_LEGEND_ROUND"],
350
497
  description: "以半徑尺寸為比例的泡泡圖"
351
- }), T_ = a({
498
+ }), O_ = i({
499
+ // chartParamsId: 'CP_RIGHT_PADDING',
500
+ allPluginParamsIds: ["PP_SERIES_LEGEND_ROUND"],
501
+ description: "基本圓餅圖"
502
+ }), c_ = i({
352
503
  // chartParamsId: 'CP_RIGHT_PADDING',
353
504
  allPluginParamsIds: ["PP_PIE_LABELS_INNER", "PP_SERIES_LEGEND_ROUND"],
354
505
  description: "圓餅圖及內部資料標籤"
355
- }), n_ = a({
506
+ }), G_ = i({
356
507
  // chartParamsId: 'CP_RIGHT_PADDING',
357
508
  allPluginParamsIds: ["PP_PIE_DONUT", "PP_SERIES_LEGEND_ROUND"],
358
509
  description: "甜甜圈圖"
359
- }), d_ = a({
510
+ }), S_ = i({
360
511
  chartParamsId: "CP_TOP_AND_NO_BOTTOM_PADDING",
361
512
  allPluginParamsIds: ["PP_PIE_HALF_DONUT", "PP_PIE_LABELS_HALF_ANGLE", "PP_SERIES_LEGEND_ROUND"],
362
513
  description: "半圓甜甜圈圖"
363
- }), I_ = _({
514
+ }), L_ = _({
364
515
  chartParamsId: "CP_BOTTOM_PADDING",
365
516
  allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
366
517
  description: "基本Grid參數"
367
- }), l_ = _({
518
+ }), R_ = _({
368
519
  chartParamsId: "CP_BOTTOM_LONG_PADDING",
369
520
  allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
370
521
  description: "傾斜標籤"
371
- }), O_ = _({
522
+ }), N_ = _({
372
523
  chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
373
- dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
524
+ dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
374
525
  allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
375
- description: "橫向圓角長條圖"
376
- }), E_ = _({
526
+ description: "橫向圖"
527
+ }), p_ = _({
528
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
529
+ dataFormatterId: "DF_GRID_2_SERIES_SLOT",
530
+ allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
531
+ description: "2組Series圖表"
532
+ }), g_ = _({
533
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
534
+ dataFormatterId: "DF_GRID_3_SERIES_SLOT",
535
+ allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM", "PP_GROUP_AXIS_ROTATE_LABEL"],
536
+ description: "3組Series圖表"
537
+ }), m_ = _({
538
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
539
+ dataFormatterId: "DF_GRID_4_SERIES_SLOT",
540
+ allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
541
+ description: "4組Series圖表"
542
+ }), A_ = _({
377
543
  chartParamsId: "CP_BOTTOM_PADDING",
378
544
  allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
379
545
  description: "圓角長條圖"
380
- }), c_ = _({
546
+ }), u_ = _({
381
547
  chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
382
- dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
548
+ dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
383
549
  allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
384
550
  description: "橫向圓角長條圖"
385
- }), D_ = _({
551
+ }), B_ = _({
386
552
  chartParamsId: "CP_BOTTOM_PADDING",
387
553
  allPluginParamsIds: ["PP_BARS_THIN", "PP_GRID_LEGEND_BOTTOM"],
388
554
  description: "細長條圖"
389
- }), N_ = _({
555
+ }), M_ = _({
390
556
  chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
391
- dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
557
+ dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
392
558
  allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
393
559
  description: "橫向圓角長條圖"
394
- }), S_ = _({
560
+ }), H_ = _({
395
561
  chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
396
562
  allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
397
563
  description: "基本Grid參數"
398
- }), p_ = _({
564
+ }), h_ = _({
399
565
  chartParamsId: "CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",
400
566
  allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
401
567
  description: "傾斜標籤"
402
- }), G_ = _({
568
+ }), U_ = _({
403
569
  chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
404
- dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
570
+ dataFormatterId: "DF_GRID_BOTTOM_VALUE_AXIS",
405
571
  allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
406
572
  description: "橫向圓角長條圖"
407
- }), g_ = _({
573
+ }), F_ = _({
408
574
  chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
409
575
  allPluginParamsIds: ["PP_LINES_CURVE", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
410
576
  description: "弧線折線圖"
411
- }), L_ = _({
577
+ }), b_ = _({
412
578
  chartParamsId: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
413
579
  allPluginParamsIds: ["PP_DOTS_ONLY_SHOW_HIGHLIGHTED", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
414
580
  description: "折線圖及Highlight Group圓點"
415
- }), m_ = r_({
416
- // chartParamsId: 'CP_BOTTOM_PADDING',
417
- allPluginParamsIds: [],
581
+ }), C_ = a({
582
+ chartParamsId: "CP_BOTTOM_PADDING",
583
+ allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST"],
418
584
  description: "基本MultiGrid參數"
585
+ }), y_ = a({
586
+ chartParamsId: "CP_BOTTOM_PADDING",
587
+ dataFormatterId: "DF_MULTI_GRID_2_GRID_SLOT",
588
+ allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM"],
589
+ description: "2組Grid圖表"
590
+ }), f_ = a({
591
+ chartParamsId: "CP_BOTTOM_PADDING",
592
+ dataFormatterId: "DF_MULTI_GRID_3_GRID_SLOT",
593
+ allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM"],
594
+ description: "3組Grid圖表"
595
+ }), j_ = a({
596
+ chartParamsId: "CP_BOTTOM_PADDING",
597
+ dataFormatterId: "DF_MULTI_GRID_4_GRID_SLOT",
598
+ allPluginParamsIds: ["PP_MULTI_GRID_LEGEND_BOTTOM"],
599
+ description: "4組Grid圖表"
419
600
  });
420
601
  export {
421
- c_ as PRESET_BARS_HORIZONTAL_AND_ROUND,
422
- N_ as PRESET_BARS_HORIZONTAL_AND_THIN,
423
- E_ as PRESET_BARS_ROUND,
424
- D_ as PRESET_BARS_THIN,
425
- s_ as PRESET_BUBBLES_SCALING_BY_RADIUS,
426
- I_ as PRESET_GRID_BASIC,
427
- O_ as PRESET_GRID_HORIZONTAL,
428
- l_ as PRESET_GRID_ROTATE_AXIS_LABEL,
429
- S_ as PRESET_LINES_BASIC,
430
- g_ as PRESET_LINES_CURVE,
431
- L_ as PRESET_LINES_HIGHLIGHT_GROUP_DOTS,
432
- G_ as PRESET_LINES_HORIZONTAL,
433
- p_ as PRESET_LINES_ROTATE_AXIS_LABEL,
434
- m_ as PRESET_MULTI_GRID_BASIC,
435
- n_ as PRESET_PIE_DONUT,
436
- d_ as PRESET_PIE_HALF_DONUT,
437
- T_ as PRESET_PIE_WITH_INNER_LABELS,
438
- o_ as PRESET_SERIES_BASIC
602
+ u_ as PRESET_BARS_HORIZONTAL_AND_ROUND,
603
+ M_ as PRESET_BARS_HORIZONTAL_AND_THIN,
604
+ A_ as PRESET_BARS_ROUND,
605
+ B_ as PRESET_BARS_THIN,
606
+ E_ as PRESET_BUBBLES_BASIC,
607
+ D_ as PRESET_BUBBLES_SCALING_BY_RADIUS,
608
+ p_ as PRESET_GRID_2_SERIES_SLOT,
609
+ g_ as PRESET_GRID_3_SERIES_SLOT,
610
+ m_ as PRESET_GRID_4_SERIES_SLOT,
611
+ L_ as PRESET_GRID_BASIC,
612
+ N_ as PRESET_GRID_HORIZONTAL,
613
+ R_ as PRESET_GRID_ROTATE_AXIS_LABEL,
614
+ H_ as PRESET_LINES_BASIC,
615
+ F_ as PRESET_LINES_CURVE,
616
+ b_ as PRESET_LINES_HIGHLIGHT_GROUP_DOTS,
617
+ U_ as PRESET_LINES_HORIZONTAL,
618
+ h_ as PRESET_LINES_ROTATE_AXIS_LABEL,
619
+ y_ as PRESET_MULTI_GRID_2_GRID_SLOT,
620
+ f_ as PRESET_MULTI_GRID_3_GRID_SLOT,
621
+ j_ as PRESET_MULTI_GRID_4_GRID_SLOT,
622
+ C_ as PRESET_MULTI_GRID_BASIC,
623
+ O_ as PRESET_PIE_BASIC,
624
+ G_ as PRESET_PIE_DONUT,
625
+ S_ as PRESET_PIE_HALF_DONUT,
626
+ c_ as PRESET_PIE_WITH_INNER_LABELS,
627
+ l_ as PRESET_SERIES_BASIC
439
628
  };