@plotdb/chart 0.0.2 → 0.0.3

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.
@@ -65,7 +65,7 @@
65
65
  return {
66
66
  sample: function(){
67
67
  return {
68
- raw: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100].map(function(val){
68
+ raw: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30].map(function(val){
69
69
  var ret;
70
70
  ret = {};
71
71
  (function(){
@@ -75,7 +75,8 @@
75
75
  }
76
76
  return results$;
77
77
  }()).map(function(i){
78
- return ret["val" + i] = Math.random() * (10 - Math.abs(10 - val)) + val;
78
+ var ref$;
79
+ return ret["val" + i] = (ref$ = i * Math.random() * (10 - Math.abs(10 - val)) + val) > 0 ? ref$ : 0;
79
80
  });
80
81
  ret.order = val;
81
82
  return ret;
@@ -98,7 +99,25 @@
98
99
  }
99
100
  };
100
101
  },
101
- config: {},
102
+ config: {
103
+ mode: {
104
+ type: 'choice',
105
+ values: ['line', 'area', 'streamgraph', 'bump'],
106
+ 'default': 'line'
107
+ },
108
+ stack: {
109
+ type: 'boolean'
110
+ },
111
+ line: {
112
+ type: 'choice',
113
+ values: ['curve', 'linear'],
114
+ 'default': 'linear'
115
+ },
116
+ showDot: {
117
+ type: 'boolean',
118
+ 'default': true
119
+ }
120
+ },
102
121
  dimension: {
103
122
  value: {
104
123
  type: 'R',
@@ -255,7 +274,7 @@
255
274
  }));
256
275
  },
257
276
  bind: function(){
258
- var binds, dd, ys, i$, to$, i, b, last, this$ = this, results$ = [];
277
+ var binds, dd, sums, ref$, smin, smax, line0, i$, to$, i, p, b, line1, this$ = this, results$ = [];
259
278
  binds = this.binding.value;
260
279
  binds = this.binding.value.map(function(b, i){
261
280
  return {
@@ -265,7 +284,7 @@
265
284
  }).filter(function(d, i){
266
285
  return this$.legend.isSelected(d.b.key);
267
286
  });
268
- if (this.cfg.bump) {
287
+ if (this.cfg.mode === 'bump') {
269
288
  this.parsed = [];
270
289
  dd = this.data.map(function(d){
271
290
  var ret, v;
@@ -305,50 +324,51 @@
305
324
  return ret;
306
325
  });
307
326
  }
308
- this.parsed = binds.map(function(b, i){
309
- return {
310
- pts: (dd || this$.data).map(function(d, j){
311
- return {
312
- data: d,
313
- y0: 0,
314
- y1: d.value[b.i],
315
- x: d._order,
316
- v: d.originalValue
317
- ? d.originalValue[i]
318
- : d.value[i]
319
- };
320
- }),
327
+ dd = dd || this.data;
328
+ if (this.cfg.mode === 'streamgraph') {
329
+ sums = dd.map(function(d){
330
+ var sum, i$, to$, i;
331
+ sum = 0;
332
+ for (i$ = 0, to$ = d.value.length; i$ < to$; ++i$) {
333
+ i = i$;
334
+ sum += d.value[i];
335
+ }
336
+ return sum;
337
+ });
338
+ ref$ = [Math.min.apply(Math, sums), Math.max.apply(Math, sums)], smin = ref$[0], smax = ref$[1];
339
+ } else {
340
+ ref$ = [
341
+ dd.map(function(){
342
+ return 0;
343
+ }), 0, 0
344
+ ], sums = ref$[0], smin = ref$[1], smax = ref$[2];
345
+ }
346
+ this.parsed = [];
347
+ line0 = dd.map(function(){
348
+ return 0;
349
+ });
350
+ for (i$ = 0, to$ = binds.length; i$ < to$; ++i$) {
351
+ i = i$;
352
+ ref$ = [i > 0 ? binds[i - 1] : null, binds[i]], p = ref$[0], b = ref$[1];
353
+ line1 = dd.map(fn$);
354
+ this.parsed.push({
355
+ pts: (dd || this.data).map(fn1$),
321
356
  bind: b.b,
322
357
  color: b.b.name || b.b.key
323
- };
324
- });
325
- if (this.cfg.stack) {
326
- ys = this.data.map(function(it){
327
- return it.value.reduce(function(a, b){
328
- return a + b;
329
- }, 0);
330
358
  });
331
- this.parsed = [];
332
- for (i$ = 0, to$ = binds.length; i$ < to$; ++i$) {
333
- i = i$;
334
- b = binds[i].b;
335
- last = this.parsed[i - 1] || null;
336
- results$.push(this.parsed.push({
337
- pts: this.data.map(fn$),
338
- bind: b,
339
- color: b.name || b.key
340
- }));
359
+ if ((this.cfg.stack && this.cfg.mode !== 'bump') || ((ref$ = this.cfg.mode) === 'streamgraph' || ref$ === 'area')) {
360
+ results$.push(line0 = line1);
341
361
  }
342
- return results$;
343
362
  }
363
+ return results$;
344
364
  function fn$(d, j){
365
+ return d.value[b.i] + line0[j];
366
+ }
367
+ function fn1$(d, j){
345
368
  return {
346
- y1: d.value[i] + (!last
347
- ? 0
348
- : last.pts[j].y1),
349
- y0: !last
350
- ? 0
351
- : last.pts[j].y1,
369
+ data: d,
370
+ y0: line0[j] - sums[j] / 2 + (smax - smin) / 2,
371
+ y1: line1[j] - sums[j] / 2 + (smax - smin) / 2,
352
372
  x: d._order,
353
373
  v: d.originalValue
354
374
  ? d.originalValue[i]
@@ -358,6 +378,12 @@
358
378
  },
359
379
  resize: function(){
360
380
  var ref$, miny, maxy, i$, to$, i, j$, to1$, j, p, w, h, maxTick, yticks, ref1$, yfmt, units, v, box, r, results$ = [];
381
+ this.line.curve(this.cfg.line === 'curve'
382
+ ? d3.curveCatmullRom
383
+ : d3.curveLinear);
384
+ this.area.curve(this.cfg.line === 'curve'
385
+ ? d3.curveCatmullRom
386
+ : d3.curveLinear);
361
387
  this.tip.toggle(((ref$ = this.cfg).tip || (ref$.tip = {})).enabled != null ? this.cfg.tip.enabled : true);
362
388
  ref$ = [0, 0], miny = ref$[0], maxy = ref$[1];
363
389
  for (i$ = 0, to$ = this.parsed.length; i$ < to$; ++i$) {
@@ -383,15 +409,15 @@
383
409
  x: d3.extent(this.data, function(it){
384
410
  return it._order;
385
411
  }),
386
- y: [this.cfg.bump ? miny > 1 ? miny : 1 : miny, maxy === miny ? miny + 1 : maxy]
412
+ y: [this.cfg.mode === 'bump' ? miny > 1 ? miny : 1 : miny, maxy === miny ? miny + 1 : maxy]
387
413
  };
388
414
  this.scale.x.domain(this.extent.x);
389
- this.scale.y.domain(this.cfg.bump
415
+ this.scale.y.domain(this.cfg.mode === 'bump'
390
416
  ? [this.extent.y[1], this.extent.y[0]]
391
417
  : this.extent.y);
392
418
  ref$ = [this.box.width, this.box.height], w = ref$[0], h = ref$[1];
393
419
  maxTick = (ref$ = Math.ceil(this.layout.getBox('yaxis').height / 40)) > 2 ? ref$ : 2;
394
- yticks = this.cfg.bump
420
+ yticks = this.cfg.mode === 'bump'
395
421
  ? (function(){
396
422
  var i$, to$, ref$, results$ = [];
397
423
  for (i$ = 1, to$ = (ref$ = this.parsed.length || 1) > 1 ? ref$ : 1; i$ <= to$; ++i$) {
@@ -406,7 +432,7 @@
406
432
  this.yaxis.config(this.cfg.yaxis);
407
433
  this.yaxis.ticks(yticks);
408
434
  this.yaxis.scale(this.scale.y);
409
- if (this.cfg.bump) {
435
+ if (this.cfg.mode === 'bump') {
410
436
  this.yaxis.caption(t('rank'));
411
437
  } else {
412
438
  if (this.parsed.length > 1) {
@@ -459,7 +485,8 @@
459
485
  });
460
486
  x$.exit().remove();
461
487
  x$.enter().append('path').attr('class', 'data').attr('fill', 'none').attr('d', function(d, i){
462
- if (this$.cfg.stack || this$.cfg.area) {
488
+ var ref$;
489
+ if ((ref$ = this$.cfg.mode) === 'streamgraph' || ref$ === 'area') {
463
490
  return this$.area(d.pts);
464
491
  } else {
465
492
  return this$.line(d.pts);
@@ -474,7 +501,8 @@
474
501
  return 0.3;
475
502
  }
476
503
  }).attr('d', function(d, i){
477
- if (this$.cfg.stack || this$.cfg.area) {
504
+ var ref$;
505
+ if ((ref$ = this$.cfg.mode) === 'streamgraph' || ref$ === 'area') {
478
506
  return this$.area(d.pts);
479
507
  } else {
480
508
  return this$.line(d.pts);
@@ -482,7 +510,8 @@
482
510
  }).attr('stroke', function(d, i){
483
511
  return this$.tint.get(d.color);
484
512
  }).attr('fill', function(d, i){
485
- if (this$.cfg.stack || this$.cfg.area) {
513
+ var ref$;
514
+ if ((ref$ = this$.cfg.mode) === 'streamgraph' || ref$ === 'area') {
486
515
  return this$.tint.get(d.color);
487
516
  } else {
488
517
  return 'none';
@@ -490,7 +519,9 @@
490
519
  }).attr('fill-opacity', function(){
491
520
  return '0.5';
492
521
  });
493
- y$ = this.g.view.selectAll('g.dot').data(this.parsed, function(it){
522
+ y$ = this.g.view.selectAll('g.dot').data(this.cfg.showDot
523
+ ? this.parsed
524
+ : [], function(it){
494
525
  return it.bind.key;
495
526
  });
496
527
  y$.exit().remove();
@@ -0,0 +1,202 @@
1
+ <div><div plug="layout"><div class="pdl-layout"><div data-type="layout"><div class="pdl-cell" data-name="view"></div><div class="pdl-cell" data-name="legend">123</div></div><div data-type="render"></div></div></div><style type="text/css">.pdl-layout > div[data-type=layout] {
2
+ display: grid;
3
+ grid-template-columns: 1fr fit-content(5em);
4
+ }
5
+ </style><script type="@plotdb/block">(function(it){
6
+ return it();
7
+ })(function(){
8
+ var blockFactory, mod;
9
+ blockFactory = {
10
+ pkg: {
11
+ name: 'taiwancounty',
12
+ version: '0.0.1',
13
+ extend: {
14
+ name: "base",
15
+ version: "0.0.1"
16
+ },
17
+ dependencies: [
18
+ {
19
+ url: "https://d3js.org/topojson.v2.min.js",
20
+ async: false
21
+ }, {
22
+ url: "https://d3js.org/d3-geo.v2.min.js",
23
+ async: false
24
+ }, {
25
+ name: "pdmaptw",
26
+ version: "local",
27
+ path: "index.min.js",
28
+ async: false
29
+ }, {
30
+ name: "pdmaptw",
31
+ version: "local",
32
+ path: "county.map.js"
33
+ }
34
+ ]
35
+ },
36
+ init: function(arg$){
37
+ var root, context, pubsub;
38
+ root = arg$.root, context = arg$.context, pubsub = arg$.pubsub;
39
+ return pubsub.fire('init', {
40
+ mod: mod({
41
+ context: context
42
+ })
43
+ }).then(function(it){
44
+ return it[0];
45
+ });
46
+ }
47
+ };
48
+ mod = function(arg$){
49
+ var context, chart, d3, ldcolor, pdmaptw, topojson;
50
+ context = arg$.context;
51
+ chart = context.chart, d3 = context.d3, ldcolor = context.ldcolor, pdmaptw = context.pdmaptw, topojson = context.topojson;
52
+ return {
53
+ sample: function(){
54
+ return pdmaptw.get('county').then(function(arg$){
55
+ var meta, topo;
56
+ meta = arg$.meta, topo = arg$.topo;
57
+ return {
58
+ raw: meta.name.map(function(it){
59
+ return {
60
+ val: Math.random(),
61
+ name: pdmaptw.normalize(it)
62
+ };
63
+ }),
64
+ binding: {
65
+ color: {
66
+ key: 'val'
67
+ },
68
+ name: {
69
+ key: 'name'
70
+ }
71
+ }
72
+ };
73
+ });
74
+ },
75
+ config: {
76
+ palette: {
77
+ type: 'palette'
78
+ }
79
+ },
80
+ dimension: {
81
+ name: {
82
+ type: 'N',
83
+ name: "國家"
84
+ },
85
+ color: {
86
+ type: 'R',
87
+ name: "顏色"
88
+ }
89
+ },
90
+ init: function(){
91
+ var scale, this$ = this;
92
+ this.g = this.layout.getGroup('view');
93
+ this.obj = new pdmaptw({
94
+ root: this.g,
95
+ type: 'county'
96
+ });
97
+ this.scale = scale = {
98
+ color: d3.interpolateTurbo
99
+ };
100
+ this.legend = new chart.utils.legend({
101
+ root: this.root,
102
+ name: 'legend',
103
+ layout: this.layout,
104
+ shape: function(d){
105
+ return d3.select(this).attr('fill', scale.color(d.key));
106
+ }
107
+ });
108
+ this.tip = new chart.utils.tip({
109
+ root: this.root,
110
+ accessor: function(arg$){
111
+ var evt, data;
112
+ evt = arg$.evt;
113
+ if (!(evt.target && (data = d3.select(evt.target).datum()))) {
114
+ return null;
115
+ }
116
+ return {
117
+ name: data.data.name,
118
+ value: data.data.color
119
+ };
120
+ },
121
+ range: function(){
122
+ return this$.layout.getNode('view').getBoundingClientRect();
123
+ }
124
+ });
125
+ return this.obj.init().then(function(){
126
+ return this$.obj.fit({
127
+ node: this$.g,
128
+ box: this$.layout.getNode('view').getBoundingClientRect()
129
+ });
130
+ });
131
+ },
132
+ parse: function(){
133
+ var this$ = this;
134
+ this.extent = {
135
+ c: [undefined, undefined]
136
+ };
137
+ return d3.select(this.svg).selectAll('path').each(function(d, i){
138
+ d.data = this$.data.filter(function(it){
139
+ return it.name === d.properties.name;
140
+ })[0] || {};
141
+ if (!(this$.extent.c[0] != null) || d.data.color < this$.extent.c[0]) {
142
+ this$.extent.c[0] = d.data.color;
143
+ }
144
+ if (!(this$.extent.c[1] != null) || d.data.color > this$.extent.c[1]) {
145
+ return this$.extent.c[1] = d.data.color;
146
+ }
147
+ });
148
+ },
149
+ resize: function(){
150
+ var ref$, pal, len, this$ = this;
151
+ this.tip.toggle(((ref$ = this.cfg).tip || (ref$.tip = {})).enabled != null ? this.cfg.tip.enabled : true);
152
+ this.obj.fit(this.layout.getBox('view'));
153
+ pal = this.cfg.palette
154
+ ? this.cfg.palette.colors
155
+ : ['#f00', '#999', '#00f'];
156
+ len = pal.length;
157
+ this.ticks = d3.quantize(function(it){
158
+ return (1 - it) * (this$.extent.c[1] - this$.extent.c[0]) + this$.extent.c[0];
159
+ }, len).map(function(it){
160
+ var that;
161
+ return {
162
+ key: it,
163
+ text: d3.format(this$.cfg.legendFormat || '.2f')(it) + ((that = this$.binding.color.unit) ? that : '')
164
+ };
165
+ });
166
+ this.ticks.sort(function(a, b){
167
+ return a.key - b.key;
168
+ });
169
+ if (this.cfg.palette) {
170
+ this.scale.color = d3.scaleLinear().domain(this.ticks.map(function(it){
171
+ return it.key;
172
+ })).range(pal.map(function(it){
173
+ return ldcolor.web(it.value || it);
174
+ }));
175
+ }
176
+ this.legend.data(this.ticks);
177
+ return this.obj.fit({
178
+ node: this.g,
179
+ box: this.layout.getBox('view')
180
+ });
181
+ },
182
+ render: function(){
183
+ var this$ = this;
184
+ d3.select(this.svg).selectAll('path').transition().duration(350).attr('fill', function(d, i){
185
+ return this$.scale.color(d.data.color);
186
+ }).attr('fill-opacity', function(d, i){
187
+ if (this$.cfg.dimEmpty) {
188
+ if (d.data.color != null) {
189
+ return 1;
190
+ } else {
191
+ return 0.2;
192
+ }
193
+ } else {
194
+ return 1;
195
+ }
196
+ });
197
+ return this.legend.render();
198
+ }
199
+ };
200
+ };
201
+ return blockFactory;
202
+ });</script></div>
@@ -1,10 +1,10 @@
1
- <!DOCTYPE html><html><head><link rel="stylesheet" type="text/css" href="/assets/lib/bootstrap/main/css/bootstrap.min.css"><link rel="stylesheet" type="text/css" href="/assets/lib/bootstrap.ldui/main/bootstrap.ldui.min.css"><link rel="stylesheet" type="text/css" href="/assets/lib/@loadingio/loading.css/main/loading.min.css"><link rel="stylesheet" type="text/css" href="/css/index.css"><link rel="stylesheet" type="text/css" href="/assets/lib/ldpalettepicker/main/index.min.css"><style type="text/css">html,
1
+ <!DOCTYPE html><html><head><link rel="stylesheet" type="text/css" href="/assets/lib/bootstrap/main/css/bootstrap.min.css"><link rel="stylesheet" type="text/css" href="/assets/lib/@loadingio/bootstrap.ext/main/index.min.css"><link rel="stylesheet" type="text/css" href="/assets/lib/@loadingio/loading.css/main/loading.min.css"><link rel="stylesheet" type="text/css" href="/css/index.css"><link rel="stylesheet" type="text/css" href="/assets/lib/ldpalettepicker/main/index.min.css"><style type="text/css">html,
2
2
  body {
3
3
  width: 100%;
4
4
  height: 100%;
5
5
  color: #345;
6
6
  }
7
- </style></head><body><div class="w-100 h-100" ld-scope="viewer"><div class="w-100 h-100 p-4 d-flex flex-column"><div><h5>Chart Testing Suite</h5><div class="d-flex flex-grow-1 mb-4"><select class="form-control" ld="choice"><option value="" disabled selected>選擇圖表 ...</option><option value="bar-race">bar-race</option><option value="bar-list">bar-list</option><option value="sheet">sheet</option><option value="percent-list">percent-list</option><option value="table">table</option><option value="scatter">scatter</option><option value="gauge">gauge</option><option value="number">number</option><option value="curve-bar">curve-bar</option><option value="dumbbell">dumbbell</option><option value="pie">pie</option><option value="axis">axis</option><option value="wordcloud">wordcloud</option><option value="axis-bubble">axis-bubble</option><option value="bubble">bubble</option><option value="treemap">treemap</option><option value="worldmap">worldmap</option><option value="taiwantown">taiwantown</option><option value="taiwanvillage">taiwanvillage</option><option value="pie-bubble">pie-bubble</option><option value="bar">bar</option><option value="voronoi-treemap">voronoi-treemap</option><option value="radar">radar</option><option value="line">line</option></select><div class="ml-2 btn btn-outline-secondary" ld="palette">Palette</div><div class="ml-2 btn btn-outline-secondary" ld="filter">Filter</div></div></div><div class="flex-grow-1 d-flex overflow-hidden"><div class="w-100 h-100 bg-light border shadow-sm rounded"><div class="w-100 h-100 rounded" id="root"></div></div><div class="border ml-4 bg-light border shadow-sm rounded p-4" style="width:320px;font-size:14px;overflow-y:scroll" ld="konfig"><div class="d-none"><div ld-scope="" ld="template"><div class="font-weight-bold text-lg mb-2" ld="name"></div><div class="mb-3" ld-each="ctrl"></div><div class="mb-4" ld-each="tab"></div></div></div></div></div></div></div><script type="text/javascript" src="https://polyfill.io/v3/polyfill.min.js?features=ResizeObserver"></script><script type="text/javascript" src="/assets/lib/@loadingio/ldquery/main/ldq.min.js"></script><script type="text/javascript" src="/assets/lib/ldview/main/index.min.js"></script><script type="text/javascript" src="/assets/lib/proxise/main/proxise.js"></script><script type="text/javascript" src="/assets/lib/@loadingio/debounce.js/main/debounce.min.js"></script><script type="text/javascript" src="/assets/lib/@plotdb/csscope/main/csscope.js"></script><script type="text/javascript" src="/assets/lib/@plotdb/rescope/main/rescope.js"></script><script type="text/javascript" src="/assets/lib/@plotdb/block/main/block.js"></script><script type="text/javascript" src="/assets/lib/@plotdb/konfig/main/konfig.js"></script><script type="text/javascript" src="/assets/lib/@plotdb/konfig/main/konfig.widget.bootstrap.js"></script><script type="text/javascript" src="/assets/lib/ldpalettepicker/main/ldpp.min.js"></script><script type="text/javascript" src="/assets/lib/ldpalettepicker/main/all.palettes.js"></script><!--+script("/assets/block/cache.js")--><script>(function(it){
7
+ </style></head><body><div class="w-100 h-100" ld-scope="viewer"><div class="w-100 h-100 p-4 d-flex flex-column"><div><h5>Chart Testing Suite</h5><div class="d-flex flex-grow-1 mb-4"><select class="form-control" ld="choice"><option value="" disabled selected>選擇圖表 ...</option><option value="bar-race">bar-race</option><option value="bar-list">bar-list</option><option value="sheet">sheet</option><option value="percent-list">percent-list</option><option value="table">table</option><option value="scatter">scatter</option><option value="gauge">gauge</option><option value="number">number</option><option value="curve-bar">curve-bar</option><option value="dumbbell">dumbbell</option><option value="pie">pie</option><option value="axis">axis</option><option value="wordcloud">wordcloud</option><option value="axis-bubble">axis-bubble</option><option value="bubble">bubble</option><option value="treemap">treemap</option><option value="worldmap">worldmap</option><option value="taiwantown">taiwantown</option><option value="taiwanvillage">taiwanvillage</option><option value="pie-bubble">pie-bubble</option><option value="bar">bar</option><option value="voronoi-treemap">voronoi-treemap</option><option value="radar">radar</option><option value="line">line</option></select><div class="ml-2 btn btn-outline-secondary" ld="palette">Palette</div><div class="ml-2 btn btn-outline-secondary" ld="filter">Filter</div></div></div><div class="flex-grow-1 d-flex overflow-hidden"><div class="w-100 h-100 bg-light border shadow-sm rounded"><div class="w-100 h-100 rounded" id="root"></div></div><div class="border ml-4 bg-light border shadow-sm rounded p-4" style="width:320px;font-size:14px;overflow-y:scroll" ld="konfig"><div class="d-none"><div ld-scope="" ld="template"><div class="font-weight-bold text-lg mb-2" ld="name"></div><div class="mb-3" ld-each="ctrl"></div><div class="mb-4" ld-each="tab"></div></div></div></div></div></div></div><script type="text/javascript" src="/assets/lib/bootstrap.native/main/bootstrap-native-v4.min.js"></script><script type="text/javascript" src="https://polyfill.io/v3/polyfill.min.js?features=ResizeObserver"></script><script type="text/javascript" src="/assets/lib/@loadingio/ldquery/main/ldq.min.js"></script><script type="text/javascript" src="/assets/lib/ldview/main/index.min.js"></script><script type="text/javascript" src="/assets/lib/proxise/main/proxise.js"></script><script type="text/javascript" src="/assets/lib/@loadingio/debounce.js/main/debounce.min.js"></script><script type="text/javascript" src="/assets/lib/@plotdb/csscope/main/index.min.js"></script><script type="text/javascript" src="/assets/lib/@plotdb/rescope/main/index.min.js"></script><script type="text/javascript" src="/assets/lib/@plotdb/block/main/index.min.js"></script><script type="text/javascript" src="/assets/lib/@plotdb/konfig/main/index.min.js"></script><script type="text/javascript" src="/assets/lib/@plotdb/konfig/main/konfig.widget.bootstrap.js"></script><script type="text/javascript" src="/assets/lib/ldpalettepicker/main/ldpp.min.js"></script><script type="text/javascript" src="/assets/lib/ldpalettepicker/main/all.palettes.js"></script><script>(function(it){
8
8
  return it.apply({});
9
9
  })(function(){
10
10
  var lc, blockPrepare, manager;