@orbcharts/presets-basic 3.0.0-alpha.2 → 3.0.0-alpha.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/LICENSE +200 -200
  2. package/dist/orbcharts-presets-basic.es.js +196 -119
  3. package/dist/orbcharts-presets-basic.umd.js +1 -1
  4. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +3 -0
  5. package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +3 -0
  6. package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +3 -0
  7. package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +3 -0
  8. package/dist/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +3 -0
  9. package/dist/src/chartParamsFiles/index.d.ts +5 -0
  10. package/dist/src/index.d.ts +3 -0
  11. package/package.json +43 -43
  12. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +14 -0
  13. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  14. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +13 -13
  15. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  16. package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +13 -13
  17. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +14 -14
  18. package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +15 -0
  19. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +13 -13
  20. package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +13 -13
  21. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +14 -0
  22. package/src/chartParamsFiles/index.ts +9 -4
  23. package/src/createPreset.ts +87 -87
  24. package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +15 -15
  25. package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +14 -14
  26. package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +14 -14
  27. package/src/gridPluginParamsFiles/Bars/index.ts +1 -1
  28. package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +12 -14
  29. package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +14 -14
  30. package/src/gridPluginParamsFiles/Dots/index.ts +1 -1
  31. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +13 -13
  32. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +14 -14
  33. package/src/gridPluginParamsFiles/GridLegend/index.ts +1 -1
  34. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +11 -11
  35. package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +12 -12
  36. package/src/gridPluginParamsFiles/index.ts +5 -5
  37. package/src/index.ts +124 -114
  38. package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +11 -11
  39. package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +12 -12
  40. package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +14 -14
  41. package/src/seriesPluginParamsFiles/Pie/index.ts +1 -1
  42. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +13 -13
  43. package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +13 -13
  44. package/src/seriesPluginParamsFiles/PieLabels/index.ts +1 -1
  45. package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +11 -11
  46. package/src/seriesPluginParamsFiles/index.ts +3 -3
  47. package/src/types.ts +58 -58
  48. package/tsconfig.json +13 -13
  49. package/vite.config.js +44 -44
@@ -1,15 +1,50 @@
1
- const I = {
1
+ const l = {
2
+ id: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
3
+ description: "間距下面及左邊留空",
4
+ data: {
5
+ padding: {
6
+ top: 60,
7
+ right: 60,
8
+ bottom: 120,
9
+ left: 120
10
+ },
11
+ highlightTarget: "series"
12
+ }
13
+ }, O = {
14
+ id: "CP_BOTTOM_AND_LEFT_PADDING",
15
+ description: "間距下面及左邊留空",
16
+ data: {
17
+ padding: {
18
+ top: 60,
19
+ right: 60,
20
+ bottom: 120,
21
+ left: 120
22
+ }
23
+ }
24
+ }, E = {
2
25
  id: "CP_BOTTOM_LONG_PADDING",
3
26
  description: "間距下面加長留空",
4
27
  data: {
5
28
  padding: {
6
29
  top: 60,
7
30
  right: 60,
8
- bottom: 180,
31
+ bottom: 140,
9
32
  left: 60
10
33
  }
11
34
  }
12
35
  }, c = {
36
+ id: "CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",
37
+ description: "間距下面加長留空及highlight系列",
38
+ data: {
39
+ padding: {
40
+ top: 60,
41
+ right: 60,
42
+ bottom: 140,
43
+ left: 60
44
+ },
45
+ highlightTarget: "series"
46
+ }
47
+ }, D = {
13
48
  id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
14
49
  description: "間距下面留空及highlight群組",
15
50
  data: {
@@ -21,7 +56,19 @@ const I = {
21
56
  },
22
57
  highlightTarget: "group"
23
58
  }
24
- }, O = {
59
+ }, p = {
60
+ id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
61
+ description: "間距下面留空及highlight系列",
62
+ data: {
63
+ padding: {
64
+ top: 60,
65
+ right: 60,
66
+ bottom: 120,
67
+ left: 60
68
+ },
69
+ highlightTarget: "series"
70
+ }
71
+ }, N = {
25
72
  id: "CP_BOTTOM_PADDING",
26
73
  description: "間距下面留空",
27
74
  data: {
@@ -32,7 +79,7 @@ const I = {
32
79
  left: 60
33
80
  }
34
81
  }
35
- }, E = {
82
+ }, S = {
36
83
  id: "CP_LEFT_PADDING",
37
84
  description: "間距右邊留空",
38
85
  data: {
@@ -40,30 +87,46 @@ const I = {
40
87
  top: 60,
41
88
  right: 60,
42
89
  bottom: 60,
43
- left: 180
90
+ left: 120
44
91
  }
45
92
  }
46
- }, p = {
93
+ }, g = {
94
+ id: "CP_TOP_AND_NO_BOTTOM_PADDING",
95
+ description: "間距上面留空下面不留空",
96
+ data: {
97
+ padding: {
98
+ top: 140,
99
+ right: 120,
100
+ bottom: 0,
101
+ left: 60
102
+ }
103
+ }
104
+ }, G = {
47
105
  id: "CP_RIGHT_PADDING",
48
106
  description: "間距右邊留空",
49
107
  data: {
50
108
  padding: {
51
109
  top: 60,
52
- right: 180,
110
+ right: 120,
53
111
  bottom: 60,
54
112
  left: 60
55
113
  }
56
114
  }
57
- }, D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
115
+ }, L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58
116
  __proto__: null,
59
- CP_BOTTOM_LONG_PADDING: I,
60
- CP_BOTTOM_PADDING: O,
61
- CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: c,
62
- CP_LEFT_PADDING: E,
63
- CP_RIGHT_PADDING: p
64
- }, Symbol.toStringTag, { value: "Module" })), S = {}, g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
117
+ CP_BOTTOM_AND_LEFT_PADDING: O,
118
+ CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: l,
119
+ CP_BOTTOM_LONG_PADDING: E,
120
+ CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT: c,
121
+ CP_BOTTOM_PADDING: N,
122
+ CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: D,
123
+ CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: p,
124
+ CP_LEFT_PADDING: S,
125
+ CP_RIGHT_PADDING: G,
126
+ CP_TOP_AND_NO_BOTTOM_PADDING: g
127
+ }, Symbol.toStringTag, { value: "Module" })), A = {}, m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
65
128
  __proto__: null,
66
- temp: S
129
+ temp: A
67
130
  }, Symbol.toStringTag, { value: "Module" })), u = {
68
131
  id: "PP_BUBBLES_SCALING_BY_RADIUS",
69
132
  chartType: "series",
@@ -72,7 +135,7 @@ const I = {
72
135
  data: {
73
136
  bubbleScaleType: "radius"
74
137
  }
75
- }, N = {
138
+ }, R = {
76
139
  id: "PP_PIE_DONUT",
77
140
  chartType: "series",
78
141
  pluginName: "Pie",
@@ -80,7 +143,7 @@ const I = {
80
143
  data: {
81
144
  innerRadius: 0.5
82
145
  }
83
- }, m = {
146
+ }, B = {
84
147
  id: "PP_PIE_HALF_DONUT",
85
148
  chartType: "series",
86
149
  pluginName: "Pie",
@@ -90,7 +153,7 @@ const I = {
90
153
  startAngle: -Math.PI / 2,
91
154
  endAngle: Math.PI / 2
92
155
  }
93
- }, L = {
156
+ }, H = {
94
157
  id: "PP_PIE_LABELS_HALF_ANGLE",
95
158
  chartType: "series",
96
159
  pluginName: "PieLabels",
@@ -99,7 +162,7 @@ const I = {
99
162
  startAngle: -Math.PI / 2,
100
163
  endAngle: Math.PI / 2
101
164
  }
102
- }, G = {
165
+ }, h = {
103
166
  id: "PP_PIE_LABELS_INNER",
104
167
  chartType: "series",
105
168
  pluginName: "PieLabels",
@@ -108,7 +171,7 @@ const I = {
108
171
  labelCentroid: 1.3,
109
172
  labelColorType: "primary"
110
173
  }
111
- }, R = {
174
+ }, M = {
112
175
  id: "PP_SERIES_LEGEND_BOTTOM",
113
176
  chartType: "series",
114
177
  pluginName: "SeriesLegend",
@@ -116,15 +179,15 @@ const I = {
116
179
  data: {
117
180
  listRectRadius: 7
118
181
  }
119
- }, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
182
+ }, b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
120
183
  __proto__: null,
121
184
  PP_BUBBLES_SCALING_BY_RADIUS: u,
122
- PP_PIE_DONUT: N,
123
- PP_PIE_HALF_DONUT: m,
124
- PP_PIE_LABELS_HALF_ANGLE: L,
125
- PP_PIE_LABELS_INNER: G,
126
- PP_SERIES_LEGEND_ROUND: R
127
- }, Symbol.toStringTag, { value: "Module" })), B = {
185
+ PP_PIE_DONUT: R,
186
+ PP_PIE_HALF_DONUT: B,
187
+ PP_PIE_LABELS_HALF_ANGLE: H,
188
+ PP_PIE_LABELS_INNER: h,
189
+ PP_SERIES_LEGEND_ROUND: M
190
+ }, Symbol.toStringTag, { value: "Module" })), C = {
128
191
  id: "DF_BOTTOM_VALUE_AXIS",
129
192
  chartType: "grid",
130
193
  description: "底部橫向資料圖軸",
@@ -136,10 +199,10 @@ const I = {
136
199
  position: "left"
137
200
  }
138
201
  }
139
- }, b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
202
+ }, y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
140
203
  __proto__: null,
141
- DF_BOTTOM_VALUE_AXIS: B
142
- }, Symbol.toStringTag, { value: "Module" })), h = {
204
+ DF_BOTTOM_VALUE_AXIS: C
205
+ }, Symbol.toStringTag, { value: "Module" })), F = {
143
206
  id: "PP_BARS_ROUND",
144
207
  chartType: "grid",
145
208
  pluginName: "Bars",
@@ -150,7 +213,7 @@ const I = {
150
213
  barGroupPadding: 10,
151
214
  barRadius: !0
152
215
  }
153
- }, M = {
216
+ }, U = {
154
217
  id: "PP_BARS_THIN",
155
218
  chartType: "grid",
156
219
  pluginName: "Bars",
@@ -160,17 +223,15 @@ const I = {
160
223
  barPadding: 1,
161
224
  barGroupPadding: 10
162
225
  }
163
- }, H = {
226
+ }, f = {
164
227
  id: "PP_DOTS_ONLY_SHOW_HIGHLIGHTED",
165
228
  chartType: "grid",
166
229
  pluginName: "Dots",
167
230
  description: "顯示highlight圓點",
168
231
  data: {
169
- radius: 3,
170
- fillColorType: "series",
171
232
  onlyShowHighlighted: !1
172
233
  }
173
- }, y = {
234
+ }, j = {
174
235
  id: "PP_DOTS_SOLID",
175
236
  chartType: "grid",
176
237
  pluginName: "Dots",
@@ -180,7 +241,7 @@ const I = {
180
241
  fillColorType: "series",
181
242
  onlyShowHighlighted: !1
182
243
  }
183
- }, U = {
244
+ }, W = {
184
245
  id: "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",
185
246
  chartType: "grid",
186
247
  pluginName: "GridLegend",
@@ -191,7 +252,7 @@ const I = {
191
252
  padding: 14,
192
253
  listRectHeight: 2
193
254
  }
194
- }, f = {
255
+ }, v = {
195
256
  id: "PP_GRID_LEGEND_BOTTOM",
196
257
  chartType: "grid",
197
258
  pluginName: "GridLegend",
@@ -201,7 +262,7 @@ const I = {
201
262
  justify: "center",
202
263
  padding: 14
203
264
  }
204
- }, F = {
265
+ }, V = {
205
266
  id: "PP_GROUP_AXIS_ROTATE_LABEL",
206
267
  chartType: "grid",
207
268
  pluginName: "GroupAxis",
@@ -209,7 +270,7 @@ const I = {
209
270
  data: {
210
271
  tickTextRotate: 40
211
272
  }
212
- }, C = {
273
+ }, z = {
213
274
  id: "PP_LINES_CURVE",
214
275
  chartType: "grid",
215
276
  pluginName: "Lines",
@@ -218,140 +279,156 @@ const I = {
218
279
  lineCurve: "curveMonotoneX",
219
280
  lineWidth: 3
220
281
  }
221
- }, j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
282
+ }, X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
222
283
  __proto__: null,
223
- PP_BARS_ROUND: h,
224
- PP_BARS_THIN: M,
225
- PP_DOTS_ONLY_SHOW_HIGHLIGHTED: H,
226
- PP_DOTS_SOLID: y,
227
- PP_GRID_LEGEND_BOTTOM: f,
228
- PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: U,
229
- PP_GROUP_AXIS_ROTATE_LABEL: F,
230
- PP_LINES_CURVE: C
231
- }, Symbol.toStringTag, { value: "Module" })), v = {}, W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
284
+ PP_BARS_ROUND: F,
285
+ PP_BARS_THIN: U,
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({
232
293
  __proto__: null,
233
- temp: v
234
- }, Symbol.toStringTag, { value: "Module" })), z = {}, V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
294
+ temp: $
295
+ }, Symbol.toStringTag, { value: "Module" })), x = {}, Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
235
296
  __proto__: null,
236
- temp: z
237
- }, Symbol.toStringTag, { value: "Module" })), X = {}, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
297
+ temp: x
298
+ }, Symbol.toStringTag, { value: "Module" })), w = {}, k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
238
299
  __proto__: null,
239
- temp: X
240
- }, Symbol.toStringTag, { value: "Module" })), Y = {}, x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
300
+ temp: w
301
+ }, Symbol.toStringTag, { value: "Module" })), q = {}, J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
241
302
  __proto__: null,
242
- temp: Y
243
- }, Symbol.toStringTag, { value: "Module" })), Z = {}, w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
303
+ temp: q
304
+ }, Symbol.toStringTag, { value: "Module" })), K = {}, Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
244
305
  __proto__: null,
245
- temp: Z
246
- }, Symbol.toStringTag, { value: "Module" })), k = {}, q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
306
+ temp: K
307
+ }, Symbol.toStringTag, { value: "Module" })), __ = {}, t_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
247
308
  __proto__: null,
248
- temp: k
249
- }, Symbol.toStringTag, { value: "Module" })), J = {}, K = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
309
+ temp: __
310
+ }, Symbol.toStringTag, { value: "Module" })), e_ = {}, a_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
250
311
  __proto__: null,
251
- temp: J
252
- }, Symbol.toStringTag, { value: "Module" })), Q = {}, tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
312
+ temp: e_
313
+ }, Symbol.toStringTag, { value: "Module" })), i_ = {}, P_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
253
314
  __proto__: null,
254
- temp: Q
315
+ temp: i_
255
316
  }, Symbol.toStringTag, { value: "Module" })), o = {
256
- series: g,
257
- grid: b,
258
- multiGrid: W,
259
- multiValue: $,
260
- relationship: w,
261
- tree: K
262
- }, r = {
263
- series: A,
264
- grid: j,
265
- multiGrid: V,
266
- multiValue: x,
267
- relationship: q,
268
- tree: tt
269
- }, s = (t, _) => {
270
- const n = _.chartParamsId ? D[_.chartParamsId].data : void 0, d = o[t][_.dataFormatterId] ? o[t][_.dataFormatterId].data : void 0, l = _.allPluginParamsIds ? _.allPluginParamsIds.reduce((P, i) => {
271
- if (r[t][i]) {
272
- const T = r[t][i].pluginName;
273
- P[T] = r[t][i].data;
317
+ series: m,
318
+ grid: y,
319
+ multiGrid: Y,
320
+ multiValue: k,
321
+ relationship: Q,
322
+ tree: a_
323
+ }, P = {
324
+ series: b,
325
+ grid: X,
326
+ multiGrid: Z,
327
+ multiValue: J,
328
+ relationship: t_,
329
+ tree: P_
330
+ }, s = (t, e) => {
331
+ const n = e.chartParamsId ? L[e.chartParamsId].data : void 0, d = o[t][e.dataFormatterId] ? o[t][e.dataFormatterId].data : void 0, T = e.allPluginParamsIds ? e.allPluginParamsIds.reduce((r, i) => {
332
+ if (P[t][i]) {
333
+ const I = P[t][i].pluginName;
334
+ r[I] = P[t][i].data;
274
335
  }
275
- return P;
336
+ return r;
276
337
  }, {}) : void 0;
277
338
  return {
278
339
  chartParams: n,
279
340
  dataFormatter: d,
280
- allPluginParams: l
341
+ allPluginParams: T
281
342
  };
282
- }, a = (t) => s("series", t), e = (t) => s("grid", t), et = a({
343
+ }, a = (t) => s("series", t), _ = (t) => s("grid", t), r_ = a({
283
344
  // chartParamsId: 'CP_RIGHT_PADDING',
284
345
  allPluginParamsIds: [],
285
346
  description: "基本Series參數"
286
- }), _t = a({
347
+ }), o_ = a({
287
348
  // chartParamsId: 'CP_RIGHT_PADDING',
288
349
  allPluginParamsIds: ["PP_BUBBLES_SCALING_BY_RADIUS", "PP_SERIES_LEGEND_ROUND"],
289
350
  description: "以半徑尺寸為比例的泡泡圖"
290
- }), at = a({
351
+ }), s_ = a({
291
352
  // chartParamsId: 'CP_RIGHT_PADDING',
292
353
  allPluginParamsIds: ["PP_PIE_LABELS_INNER", "PP_SERIES_LEGEND_ROUND"],
293
354
  description: "圓餅圖及內部資料標籤"
294
- }), it = a({
355
+ }), n_ = a({
295
356
  // chartParamsId: 'CP_RIGHT_PADDING',
296
357
  allPluginParamsIds: ["PP_PIE_DONUT", "PP_SERIES_LEGEND_ROUND"],
297
358
  description: "甜甜圈圖"
298
- }), rt = a({
299
- // chartParamsId: 'CP_RIGHT_PADDING',
359
+ }), d_ = a({
360
+ chartParamsId: "CP_TOP_AND_NO_BOTTOM_PADDING",
300
361
  allPluginParamsIds: ["PP_PIE_HALF_DONUT", "PP_PIE_LABELS_HALF_ANGLE", "PP_SERIES_LEGEND_ROUND"],
301
362
  description: "半圓甜甜圈圖"
302
- }), Pt = e({
303
- chartParamsId: "CP_BOTTOM_LONG_PADDING",
363
+ }), T_ = _({
364
+ chartParamsId: "CP_BOTTOM_PADDING",
304
365
  allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
305
366
  description: "基本Grid參數"
306
- }), ot = e({
307
- chartParamsId: "CP_BOTTOM_PADDING",
367
+ }), I_ = _({
368
+ chartParamsId: "CP_BOTTOM_LONG_PADDING",
308
369
  allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
309
370
  description: "傾斜標籤"
310
- }), st = e({
311
- chartParamsId: "CP_BOTTOM_PADDING",
371
+ }), l_ = _({
372
+ chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
312
373
  dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
313
374
  allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
314
375
  description: "橫向圓角長條圖"
315
- }), nt = e({
376
+ }), O_ = _({
316
377
  chartParamsId: "CP_BOTTOM_PADDING",
317
378
  allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
318
379
  description: "圓角長條圖"
319
- }), dt = e({
320
- chartParamsId: "CP_BOTTOM_PADDING",
380
+ }), E_ = _({
381
+ chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
321
382
  dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
322
383
  allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
323
384
  description: "橫向圓角長條圖"
324
- }), lt = e({
385
+ }), c_ = _({
325
386
  chartParamsId: "CP_BOTTOM_PADDING",
326
387
  allPluginParamsIds: ["PP_BARS_THIN", "PP_GRID_LEGEND_BOTTOM"],
327
388
  description: "細長條圖"
328
- }), Tt = e({
329
- chartParamsId: "CP_BOTTOM_PADDING",
389
+ }), D_ = _({
390
+ chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING",
330
391
  dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
331
392
  allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
332
393
  description: "橫向圓角長條圖"
333
- }), It = e({
334
- chartParamsId: "CP_BOTTOM_PADDING",
394
+ }), p_ = _({
395
+ chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
396
+ allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
397
+ description: "基本Grid參數"
398
+ }), N_ = _({
399
+ chartParamsId: "CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",
400
+ allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
401
+ description: "傾斜標籤"
402
+ }), S_ = _({
403
+ chartParamsId: "CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",
404
+ dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
405
+ allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
406
+ description: "橫向圓角長條圖"
407
+ }), g_ = _({
408
+ chartParamsId: "CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",
335
409
  allPluginParamsIds: ["PP_LINES_CURVE", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
336
410
  description: "弧線折線圖"
337
- }), ct = e({
411
+ }), G_ = _({
338
412
  chartParamsId: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
339
413
  allPluginParamsIds: ["PP_DOTS_ONLY_SHOW_HIGHLIGHTED", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
340
414
  description: "折線圖及Highlight Group圓點"
341
415
  });
342
416
  export {
343
- dt as PRESET_BARS_HORIZONTAL_AND_ROUND,
344
- Tt as PRESET_BARS_HORIZONTAL_AND_THIN,
345
- nt as PRESET_BARS_ROUND,
346
- lt as PRESET_BARS_THIN,
347
- _t as PRESET_BUBBLES_SCALING_BY_RADIUS,
348
- Pt as PRESET_GRID_BASIC,
349
- st as PRESET_GRID_HORIZONTAL,
350
- ot as PRESET_GRID_ROTATE_AXIS_LABEL,
351
- It as PRESET_LINES_CURVE,
352
- ct as PRESET_LINES_HIGHLIGHT_GROUP_DOTS,
353
- it as PRESET_PIE_DONUT,
354
- rt as PRESET_PIE_HALF_DONUT,
355
- at as PRESET_PIE_WITH_INNER_LABELS,
356
- et as PRESET_SERIES_BASIC
417
+ E_ as PRESET_BARS_HORIZONTAL_AND_ROUND,
418
+ D_ as PRESET_BARS_HORIZONTAL_AND_THIN,
419
+ O_ as PRESET_BARS_ROUND,
420
+ c_ as PRESET_BARS_THIN,
421
+ o_ as PRESET_BUBBLES_SCALING_BY_RADIUS,
422
+ T_ as PRESET_GRID_BASIC,
423
+ l_ as PRESET_GRID_HORIZONTAL,
424
+ I_ as PRESET_GRID_ROTATE_AXIS_LABEL,
425
+ p_ as PRESET_LINES_BASIC,
426
+ g_ as PRESET_LINES_CURVE,
427
+ G_ as PRESET_LINES_HIGHLIGHT_GROUP_DOTS,
428
+ S_ as PRESET_LINES_HORIZONTAL,
429
+ N_ as PRESET_LINES_ROTATE_AXIS_LABEL,
430
+ n_ as PRESET_PIE_DONUT,
431
+ d_ as PRESET_PIE_HALF_DONUT,
432
+ s_ as PRESET_PIE_WITH_INNER_LABELS,
433
+ r_ as PRESET_SERIES_BASIC
357
434
  };
@@ -1 +1 @@
1
- (function(_,a){typeof exports=="object"&&typeof module<"u"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(_=typeof globalThis<"u"?globalThis:_||self,a(_["orbcharts-presets-basic"]={}))})(this,function(_){"use strict";const d=Object.freeze(Object.defineProperty({__proto__:null,CP_BOTTOM_LONG_PADDING:{id:"CP_BOTTOM_LONG_PADDING",description:"間距下面加長留空",data:{padding:{top:60,right:60,bottom:180,left:60}}},CP_BOTTOM_PADDING:{id:"CP_BOTTOM_PADDING",description:"間距下面留空",data:{padding:{top:60,right:60,bottom:120,left:60}}},CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight群組",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"group"}},CP_LEFT_PADDING:{id:"CP_LEFT_PADDING",description:"間距右邊留空",data:{padding:{top:60,right:60,bottom:60,left:180}}},CP_RIGHT_PADDING:{id:"CP_RIGHT_PADDING",description:"間距右邊留空",data:{padding:{top:60,right:180,bottom:60,left:60}}}},Symbol.toStringTag,{value:"Module"})),l=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),I={id:"PP_BUBBLES_SCALING_BY_RADIUS",chartType:"series",pluginName:"Bubbles",description:"以半徑尺寸為比例的泡泡圖",data:{bubbleScaleType:"radius"}},E={id:"PP_PIE_DONUT",chartType:"series",pluginName:"Pie",description:"甜甜圈圖",data:{innerRadius:.5}},O={id:"PP_PIE_HALF_DONUT",chartType:"series",pluginName:"Pie",description:"半圓甜甜圈圖",data:{innerRadius:.5,startAngle:-Math.PI/2,endAngle:Math.PI/2}},S={id:"PP_PIE_LABELS_HALF_ANGLE",chartType:"series",pluginName:"PieLabels",description:"半圓甜甜圈資料標籤",data:{startAngle:-Math.PI/2,endAngle:Math.PI/2}},c=Object.freeze(Object.defineProperty({__proto__:null,PP_BUBBLES_SCALING_BY_RADIUS:I,PP_PIE_DONUT:E,PP_PIE_HALF_DONUT:O,PP_PIE_LABELS_HALF_ANGLE:S,PP_PIE_LABELS_INNER:{id:"PP_PIE_LABELS_INNER",chartType:"series",pluginName:"PieLabels",description:"圖內資料標籤",data:{labelCentroid:1.3,labelColorType:"primary"}},PP_SERIES_LEGEND_ROUND:{id:"PP_SERIES_LEGEND_BOTTOM",chartType:"series",pluginName:"SeriesLegend",description:"圓型圖例列點",data:{listRectRadius:7}}},Symbol.toStringTag,{value:"Module"})),D=Object.freeze(Object.defineProperty({__proto__:null,DF_BOTTOM_VALUE_AXIS:{id:"DF_BOTTOM_VALUE_AXIS",chartType:"grid",description:"底部橫向資料圖軸",data:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}}},Symbol.toStringTag,{value:"Module"})),N=Object.freeze(Object.defineProperty({__proto__:null,PP_BARS_ROUND:{id:"PP_BARS_ROUND",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0}},PP_BARS_THIN:{id:"PP_BARS_THIN",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:20,barPadding:1,barGroupPadding:10}},PP_DOTS_ONLY_SHOW_HIGHLIGHTED:{id:"PP_DOTS_ONLY_SHOW_HIGHLIGHTED",chartType:"grid",pluginName:"Dots",description:"顯示highlight圓點",data:{radius:3,fillColorType:"series",onlyShowHighlighted:!1}},PP_DOTS_SOLID:{id:"PP_DOTS_SOLID",chartType:"grid",pluginName:"Dots",description:"實心圓點",data:{radius:3,fillColorType:"series",onlyShowHighlighted:!1}},PP_GRID_LEGEND_BOTTOM:{id:"PP_GRID_LEGEND_BOTTOM",chartType:"grid",pluginName:"GridLegend",description:"底部圖例",data:{position:"bottom",justify:"center",padding:14}},PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST:{id:"PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",chartType:"grid",pluginName:"GridLegend",description:"底部圖例及線條列點",data:{position:"bottom",justify:"center",padding:14,listRectHeight:2}},PP_GROUP_AXIS_ROTATE_LABEL:{id:"PP_GROUP_AXIS_ROTATE_LABEL",chartType:"grid",pluginName:"GroupAxis",description:"群組圖軸標籤文字傾斜",data:{tickTextRotate:40}},PP_LINES_CURVE:{id:"PP_LINES_CURVE",chartType:"grid",pluginName:"Lines",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX",lineWidth:3}}},Symbol.toStringTag,{value:"Module"})),R=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),p=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),L=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),m=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),u=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),G=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),A=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),g=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),n={series:l,grid:D,multiGrid:R,multiValue:L,relationship:u,tree:A},r={series:c,grid:N,multiGrid:p,multiValue:m,relationship:G,tree:g},s=(e,P)=>{const $=P.chartParamsId?d[P.chartParamsId].data:void 0,z=n[e][P.dataFormatterId]?n[e][P.dataFormatterId].data:void 0,X=P.allPluginParamsIds?P.allPluginParamsIds.reduce((T,o)=>{if(r[e][o]){const Y=r[e][o].pluginName;T[Y]=r[e][o].data}return T},{}):void 0;return{chartParams:$,dataFormatter:z,allPluginParams:X}},i=e=>s("series",e),t=e=>s("grid",e),B=i({allPluginParamsIds:[],description:"基本Series參數"}),H=i({allPluginParamsIds:["PP_BUBBLES_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的泡泡圖"}),b=i({allPluginParamsIds:["PP_PIE_LABELS_INNER","PP_SERIES_LEGEND_ROUND"],description:"圓餅圖及內部資料標籤"}),h=i({allPluginParamsIds:["PP_PIE_DONUT","PP_SERIES_LEGEND_ROUND"],description:"甜甜圈圖"}),M=i({allPluginParamsIds:["PP_PIE_HALF_DONUT","PP_PIE_LABELS_HALF_ANGLE","PP_SERIES_LEGEND_ROUND"],description:"半圓甜甜圈圖"}),U=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"基本Grid參數"}),y=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"傾斜標籤"}),f=t({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),C=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"圓角長條圖"}),F=t({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),j=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_THIN","PP_GRID_LEGEND_BOTTOM"],description:"細長條圖"}),v=t({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),W=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_LINES_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),V=t({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"});_.PRESET_BARS_HORIZONTAL_AND_ROUND=F,_.PRESET_BARS_HORIZONTAL_AND_THIN=v,_.PRESET_BARS_ROUND=C,_.PRESET_BARS_THIN=j,_.PRESET_BUBBLES_SCALING_BY_RADIUS=H,_.PRESET_GRID_BASIC=U,_.PRESET_GRID_HORIZONTAL=f,_.PRESET_GRID_ROTATE_AXIS_LABEL=y,_.PRESET_LINES_CURVE=W,_.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=V,_.PRESET_PIE_DONUT=h,_.PRESET_PIE_HALF_DONUT=M,_.PRESET_PIE_WITH_INNER_LABELS=b,_.PRESET_SERIES_BASIC=B,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
1
+ (function(_,a){typeof exports=="object"&&typeof module<"u"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(_=typeof globalThis<"u"?globalThis:_||self,a(_["orbcharts-presets-basic"]={}))})(this,function(_){"use strict";const n=Object.freeze(Object.defineProperty({__proto__:null,CP_BOTTOM_AND_LEFT_PADDING:{id:"CP_BOTTOM_AND_LEFT_PADDING",description:"間距下面及左邊留空",data:{padding:{top:60,right:60,bottom:120,left:120}}},CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",description:"間距下面及左邊留空",data:{padding:{top:60,right:60,bottom:120,left:120},highlightTarget:"series"}},CP_BOTTOM_LONG_PADDING:{id:"CP_BOTTOM_LONG_PADDING",description:"間距下面加長留空",data:{padding:{top:60,right:60,bottom:140,left:60}}},CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",description:"間距下面加長留空及highlight系列",data:{padding:{top:60,right:60,bottom:140,left:60},highlightTarget:"series"}},CP_BOTTOM_PADDING:{id:"CP_BOTTOM_PADDING",description:"間距下面留空",data:{padding:{top:60,right:60,bottom:120,left:60}}},CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight群組",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"group"}},CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight系列",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"series"}},CP_LEFT_PADDING:{id:"CP_LEFT_PADDING",description:"間距右邊留空",data:{padding:{top:60,right:60,bottom:60,left:120}}},CP_RIGHT_PADDING:{id:"CP_RIGHT_PADDING",description:"間距右邊留空",data:{padding:{top:60,right:120,bottom:60,left:60}}},CP_TOP_AND_NO_BOTTOM_PADDING:{id:"CP_TOP_AND_NO_BOTTOM_PADDING",description:"間距上面留空下面不留空",data:{padding:{top:140,right:120,bottom:0,left:60}}}},Symbol.toStringTag,{value:"Module"})),d=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),s={id:"PP_BUBBLES_SCALING_BY_RADIUS",chartType:"series",pluginName:"Bubbles",description:"以半徑尺寸為比例的泡泡圖",data:{bubbleScaleType:"radius"}},O={id:"PP_PIE_DONUT",chartType:"series",pluginName:"Pie",description:"甜甜圈圖",data:{innerRadius:.5}},l={id:"PP_PIE_HALF_DONUT",chartType:"series",pluginName:"Pie",description:"半圓甜甜圈圖",data:{innerRadius:.5,startAngle:-Math.PI/2,endAngle:Math.PI/2}},D={id:"PP_PIE_LABELS_HALF_ANGLE",chartType:"series",pluginName:"PieLabels",description:"半圓甜甜圈資料標籤",data:{startAngle:-Math.PI/2,endAngle:Math.PI/2}},S=Object.freeze(Object.defineProperty({__proto__:null,PP_BUBBLES_SCALING_BY_RADIUS:s,PP_PIE_DONUT:O,PP_PIE_HALF_DONUT:l,PP_PIE_LABELS_HALF_ANGLE:D,PP_PIE_LABELS_INNER:{id:"PP_PIE_LABELS_INNER",chartType:"series",pluginName:"PieLabels",description:"圖內資料標籤",data:{labelCentroid:1.3,labelColorType:"primary"}},PP_SERIES_LEGEND_ROUND:{id:"PP_SERIES_LEGEND_BOTTOM",chartType:"series",pluginName:"SeriesLegend",description:"圓型圖例列點",data:{listRectRadius:7}}},Symbol.toStringTag,{value:"Module"})),N=Object.freeze(Object.defineProperty({__proto__:null,DF_BOTTOM_VALUE_AXIS:{id:"DF_BOTTOM_VALUE_AXIS",chartType:"grid",description:"底部橫向資料圖軸",data:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}}},Symbol.toStringTag,{value:"Module"})),c=Object.freeze(Object.defineProperty({__proto__:null,PP_BARS_ROUND:{id:"PP_BARS_ROUND",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0}},PP_BARS_THIN:{id:"PP_BARS_THIN",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:20,barPadding:1,barGroupPadding:10}},PP_DOTS_ONLY_SHOW_HIGHLIGHTED:{id:"PP_DOTS_ONLY_SHOW_HIGHLIGHTED",chartType:"grid",pluginName:"Dots",description:"顯示highlight圓點",data:{onlyShowHighlighted:!1}},PP_DOTS_SOLID:{id:"PP_DOTS_SOLID",chartType:"grid",pluginName:"Dots",description:"實心圓點",data:{radius:3,fillColorType:"series",onlyShowHighlighted:!1}},PP_GRID_LEGEND_BOTTOM:{id:"PP_GRID_LEGEND_BOTTOM",chartType:"grid",pluginName:"GridLegend",description:"底部圖例",data:{position:"bottom",justify:"center",padding:14}},PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST:{id:"PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",chartType:"grid",pluginName:"GridLegend",description:"底部圖例及線條列點",data:{position:"bottom",justify:"center",padding:14,listRectHeight:2}},PP_GROUP_AXIS_ROTATE_LABEL:{id:"PP_GROUP_AXIS_ROTATE_LABEL",chartType:"grid",pluginName:"GroupAxis",description:"群組圖軸標籤文字傾斜",data:{tickTextRotate:40}},PP_LINES_CURVE:{id:"PP_LINES_CURVE",chartType:"grid",pluginName:"Lines",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX",lineWidth:3}}},Symbol.toStringTag,{value:"Module"})),G=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),L=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),A=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),R=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),p=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),g=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),m=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),B=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),r={series:d,grid:N,multiGrid:G,multiValue:A,relationship:p,tree:m},T={series:S,grid:c,multiGrid:L,multiValue:R,relationship:g,tree:B},o=(P,e)=>{const Y=e.chartParamsId?n[e.chartParamsId].data:void 0,Z=r[P][e.dataFormatterId]?r[P][e.dataFormatterId].data:void 0,w=e.allPluginParamsIds?e.allPluginParamsIds.reduce((E,I)=>{if(T[P][I]){const k=T[P][I].pluginName;E[k]=T[P][I].data}return E},{}):void 0;return{chartParams:Y,dataFormatter:Z,allPluginParams:w}},i=P=>o("series",P),t=P=>o("grid",P),H=i({allPluginParamsIds:[],description:"基本Series參數"}),u=i({allPluginParamsIds:["PP_BUBBLES_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的泡泡圖"}),h=i({allPluginParamsIds:["PP_PIE_LABELS_INNER","PP_SERIES_LEGEND_ROUND"],description:"圓餅圖及內部資料標籤"}),M=i({allPluginParamsIds:["PP_PIE_DONUT","PP_SERIES_LEGEND_ROUND"],description:"甜甜圈圖"}),b=i({chartParamsId:"CP_TOP_AND_NO_BOTTOM_PADDING",allPluginParamsIds:["PP_PIE_HALF_DONUT","PP_PIE_LABELS_HALF_ANGLE","PP_SERIES_LEGEND_ROUND"],description:"半圓甜甜圈圖"}),C=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"基本Grid參數"}),U=t({chartParamsId:"CP_BOTTOM_LONG_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"傾斜標籤"}),f=t({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),F=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"圓角長條圖"}),y=t({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),W=t({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_THIN","PP_GRID_LEGEND_BOTTOM"],description:"細長條圖"}),j=t({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),v=t({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"基本Grid參數"}),V=t({chartParamsId:"CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"傾斜標籤"}),X=t({chartParamsId:"CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),$=t({chartParamsId:"CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT",allPluginParamsIds:["PP_LINES_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),z=t({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"});_.PRESET_BARS_HORIZONTAL_AND_ROUND=y,_.PRESET_BARS_HORIZONTAL_AND_THIN=j,_.PRESET_BARS_ROUND=F,_.PRESET_BARS_THIN=W,_.PRESET_BUBBLES_SCALING_BY_RADIUS=u,_.PRESET_GRID_BASIC=C,_.PRESET_GRID_HORIZONTAL=f,_.PRESET_GRID_ROTATE_AXIS_LABEL=U,_.PRESET_LINES_BASIC=v,_.PRESET_LINES_CURVE=$,_.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=z,_.PRESET_LINES_HORIZONTAL=X,_.PRESET_LINES_ROTATE_AXIS_LABEL=V,_.PRESET_PIE_DONUT=M,_.PRESET_PIE_HALF_DONUT=b,_.PRESET_PIE_WITH_INNER_LABELS=h,_.PRESET_SERIES_BASIC=H,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,3 @@
1
+ import { ChartParamsFile } from '../types';
2
+
3
+ export declare const CP_BOTTOM_AND_LEFT_PADDING: ChartParamsFile;
@@ -0,0 +1,3 @@
1
+ import { ChartParamsFile } from '../types';
2
+
3
+ export declare const CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile;
@@ -0,0 +1,3 @@
1
+ import { ChartParamsFile } from '../types';
2
+
3
+ export declare const CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile;
@@ -0,0 +1,3 @@
1
+ import { ChartParamsFile } from '../types';
2
+
3
+ export declare const CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT: ChartParamsFile;
@@ -0,0 +1,3 @@
1
+ import { ChartParamsFile } from '../types';
2
+
3
+ export declare const CP_TOP_AND_NO_BOTTOM_PADDING: ChartParamsFile;
@@ -1,5 +1,10 @@
1
+ export { CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT } from './CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT';
2
+ export { CP_BOTTOM_AND_LEFT_PADDING } from './CP_BOTTOM_AND_LEFT_PADDING';
1
3
  export { CP_BOTTOM_LONG_PADDING } from './CP_BOTTOM_LONG_PADDING';
4
+ export { CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT } from './CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT';
2
5
  export { CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT } from './CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT';
6
+ export { CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT } from './CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT';
3
7
  export { CP_BOTTOM_PADDING } from './CP_BOTTOM_PADDING';
4
8
  export { CP_LEFT_PADDING } from './CP_LEFT_PADDING';
9
+ export { CP_TOP_AND_NO_BOTTOM_PADDING } from './CP_TOP_AND_NO_BOTTOM_PADDING';
5
10
  export { CP_RIGHT_PADDING } from './CP_RIGHT_PADDING';
@@ -10,5 +10,8 @@ export declare const PRESET_BARS_ROUND: import('@orbcharts/core').PresetPartial<
10
10
  export declare const PRESET_BARS_HORIZONTAL_AND_ROUND: import('@orbcharts/core').PresetPartial<"grid">;
11
11
  export declare const PRESET_BARS_THIN: import('@orbcharts/core').PresetPartial<"grid">;
12
12
  export declare const PRESET_BARS_HORIZONTAL_AND_THIN: import('@orbcharts/core').PresetPartial<"grid">;
13
+ export declare const PRESET_LINES_BASIC: import('@orbcharts/core').PresetPartial<"grid">;
14
+ export declare const PRESET_LINES_ROTATE_AXIS_LABEL: import('@orbcharts/core').PresetPartial<"grid">;
15
+ export declare const PRESET_LINES_HORIZONTAL: import('@orbcharts/core').PresetPartial<"grid">;
13
16
  export declare const PRESET_LINES_CURVE: import('@orbcharts/core').PresetPartial<"grid">;
14
17
  export declare const PRESET_LINES_HIGHLIGHT_GROUP_DOTS: import('@orbcharts/core').PresetPartial<"grid">;