isobit-ui 0.2.42 → 0.2.44

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.
Files changed (2) hide show
  1. package/dist/index.js +14 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.2.41
2
+ * isobit-ui v0.2.43
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3165,6 +3165,13 @@ var script$a = {
3165
3165
  me.$children[j].getIndexByValue(v, function (ii, found) {
3166
3166
  if (ii > -1) {
3167
3167
  select.selectedIndex = ii + 1;
3168
+ var ffound = me.$children[j].getValueByIndex(select.selectedIndex - 1);
3169
+
3170
+ if (ffound == -1) {
3171
+ ffound = null;
3172
+ } else {
3173
+ ffound = me.$children[j].filterList[select.selectedIndex - 1];
3174
+ }
3168
3175
  /*if(me.$el.id){
3169
3176
  for(k=0;k<select.length;k++){
3170
3177
  console.log(k+'--'+select[k].value);
@@ -3173,6 +3180,7 @@ var script$a = {
3173
3180
  console.log('select.selectedIndex .'+me.$el.id+'='+select.selectedIndex);
3174
3181
  }*/
3175
3182
 
3183
+
3176
3184
  var a = Number(oldv);
3177
3185
 
3178
3186
  if (!isNaN(a)) {
@@ -3188,7 +3196,11 @@ var script$a = {
3188
3196
  }
3189
3197
 
3190
3198
  if (!a) {
3191
- if (me.$el.id) console.log('emit input .' + me.$el.id + '=' + JSON.stringify(v));
3199
+ if (me.$el.id) {
3200
+ console.log('emit input .' + me.$el.id + '=' + JSON.stringify(v));
3201
+ console.log('ffound=', ffound);
3202
+ }
3203
+
3192
3204
  me.$emit('input', v, found);
3193
3205
  }
3194
3206
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.2.42",
3
+ "version": "0.2.44",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [