selectic 3.0.3 → 3.0.4
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/dist/selectic.common.js +9 -0
- package/dist/selectic.esm.js +10 -1
- package/package.json +1 -1
- package/src/index.tsx +8 -1
package/dist/selectic.common.js
CHANGED
|
@@ -2557,6 +2557,15 @@ __decorate([
|
|
|
2557
2557
|
__decorate([
|
|
2558
2558
|
vtyx.Watch('store.state.internalValue')
|
|
2559
2559
|
], Selectic.prototype, "onInternalValueChange", null);
|
|
2560
|
+
__decorate([
|
|
2561
|
+
vtyx.Emit('input'),
|
|
2562
|
+
vtyx.Emit('change'),
|
|
2563
|
+
vtyx.Emit('open'),
|
|
2564
|
+
vtyx.Emit('focus'),
|
|
2565
|
+
vtyx.Emit('close'),
|
|
2566
|
+
vtyx.Emit('blur'),
|
|
2567
|
+
vtyx.Emit('item:click')
|
|
2568
|
+
], Selectic.prototype, "render", null);
|
|
2560
2569
|
Selectic = __decorate([
|
|
2561
2570
|
vtyx.Component
|
|
2562
2571
|
], Selectic);
|
package/dist/selectic.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Prop, Watch, Component, Vue, h } from 'vtyx';
|
|
1
|
+
import { Prop, Watch, Component, Vue, h, Emit } from 'vtyx';
|
|
2
2
|
import { reactive, computed, unref, watch } from 'vue';
|
|
3
3
|
|
|
4
4
|
function styleInject(css, ref) {
|
|
@@ -2553,6 +2553,15 @@ __decorate([
|
|
|
2553
2553
|
__decorate([
|
|
2554
2554
|
Watch('store.state.internalValue')
|
|
2555
2555
|
], Selectic.prototype, "onInternalValueChange", null);
|
|
2556
|
+
__decorate([
|
|
2557
|
+
Emit('input'),
|
|
2558
|
+
Emit('change'),
|
|
2559
|
+
Emit('open'),
|
|
2560
|
+
Emit('focus'),
|
|
2561
|
+
Emit('close'),
|
|
2562
|
+
Emit('blur'),
|
|
2563
|
+
Emit('item:click')
|
|
2564
|
+
], Selectic.prototype, "render", null);
|
|
2556
2565
|
Selectic = __decorate([
|
|
2557
2566
|
Component
|
|
2558
2567
|
], Selectic);
|
package/package.json
CHANGED
package/src/index.tsx
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* close [component]: triggered when the list closes.
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
|
-
import {Vue, Component, Prop, Watch, h} from 'vtyx';
|
|
21
|
+
import {Vue, Component, Emit, Prop, Watch, h} from 'vtyx';
|
|
22
22
|
import './css/selectic.css';
|
|
23
23
|
|
|
24
24
|
import Store, {
|
|
@@ -844,6 +844,13 @@ export default class Selectic extends Vue<Props> {
|
|
|
844
844
|
|
|
845
845
|
/* }}} */
|
|
846
846
|
|
|
847
|
+
@Emit('input')
|
|
848
|
+
@Emit('change')
|
|
849
|
+
@Emit('open')
|
|
850
|
+
@Emit('focus')
|
|
851
|
+
@Emit('close')
|
|
852
|
+
@Emit('blur')
|
|
853
|
+
@Emit('item:click')
|
|
847
854
|
public render() {
|
|
848
855
|
const id = this.id || undefined;
|
|
849
856
|
const store = this.store;
|