@mixd-id/web-scaffold 0.1.230406274 → 0.1.230406275
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 +1 -1
- package/src/components/List.vue +3 -1
- package/src/components/Textbox.vue +4 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
package/src/components/List.vue
CHANGED
|
@@ -384,6 +384,8 @@ export default{
|
|
|
384
384
|
})
|
|
385
385
|
break
|
|
386
386
|
}
|
|
387
|
+
|
|
388
|
+
this.$emit('signal', event, items)
|
|
387
389
|
},
|
|
388
390
|
|
|
389
391
|
resize(){
|
|
@@ -395,7 +397,7 @@ export default{
|
|
|
395
397
|
|
|
396
398
|
components: {PresetBar, PresetSelector, VirtualGrid, VirtualTable},
|
|
397
399
|
|
|
398
|
-
emits: [ 'after-load', 'open-preset' ],
|
|
400
|
+
emits: [ 'after-load', 'open-preset', 'signal' ],
|
|
399
401
|
|
|
400
402
|
inject: [ 'socket', 'toast' ],
|
|
401
403
|
|
package/src/index.js
CHANGED
|
@@ -188,7 +188,7 @@ const util = {
|
|
|
188
188
|
window.addEventListener('mouseup', onMouseUp)
|
|
189
189
|
},
|
|
190
190
|
|
|
191
|
-
push: (arr, items, opt = {
|
|
191
|
+
push: (arr, items, opt = {}) => {
|
|
192
192
|
if(!Array.isArray(arr)) return
|
|
193
193
|
if(!Array.isArray(items)) items = [ items ]
|
|
194
194
|
if(!opt.key){
|