@mixd-id/web-scaffold 0.1.230406340 → 0.1.230406341

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406340",
4
+ "version": "0.1.230406341",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
package/src/index.js CHANGED
@@ -208,7 +208,7 @@ const util = {
208
208
  window.addEventListener('mouseup', onMouseUp)
209
209
  },
210
210
 
211
- push: (arr, items, opt = { key:'uid', update:true }) => {
211
+ push: (arr, items, opt = { update:true }) => {
212
212
  if(!Array.isArray(arr)) return
213
213
  if(!Array.isArray(items)) items = [ items ]
214
214
  if(!opt.key){
@@ -6,7 +6,7 @@
6
6
  <div class="flex-1">
7
7
  <Bar :style="barStyles"
8
8
  :options="chartOptions"
9
- :data="chartData" />
9
+ :data="chartData"/>
10
10
  </div>
11
11
 
12
12
  <div v-if="yAxeMultiple" class="flex flex-row justify-center gap-1">
@@ -83,6 +83,10 @@ export default{
83
83
  }
84
84
  },
85
85
  }
86
+ },
87
+ onClick: function(evt, evt2) {
88
+ console.log(evt);
89
+ console.log(evt2);
86
90
  }
87
91
  }
88
92
  },
@@ -142,6 +146,8 @@ export default{
142
146
  segments: Array,
143
147
  xAxesGroup: String,
144
148
 
149
+ yAxeOnClick: Array,
150
+
145
151
  value: Object
146
152
 
147
153
  },