free-fe-core-modules 0.1.6 → 0.1.8

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.
@@ -83,7 +83,7 @@ import { useObjectData, objectDataProps } from '../../composible/useObjectData';
83
83
 
84
84
  export default defineComponent({
85
85
  name: 'SummaryHead',
86
- emits: ['clicked', 'onUpdate:modelValue'],
86
+ emits: ['clicked', 'update:modelValue'],
87
87
  props: {
88
88
  ...objectDataProps,
89
89
  has_multiple_head: { type: Boolean, default: false },
@@ -43,7 +43,7 @@ export default defineComponent({
43
43
  swipeable: { type: Boolean, default: true },
44
44
  thumbnails: { type: Boolean, default: true },
45
45
  },
46
- emits: ['onUpdate:modelValue'],
46
+ emits: ['update:modelValue'],
47
47
  setup(props, ctx) {
48
48
  const {
49
49
  data,
@@ -87,7 +87,7 @@ export default defineComponent({
87
87
  transitionPrev: { type: String, default: 'slide-up' },
88
88
  transitionNext: { type: String, default: 'slide-down' },
89
89
  },
90
- emits: ['onUpdate:modelValue'],
90
+ emits: ['update:modelValue'],
91
91
  setup(props, ctx) {
92
92
  const {
93
93
  data,
@@ -139,9 +139,9 @@ export default defineComponent({
139
139
  class: 'prefix',
140
140
  }, props.Field.Options?.Prefix));
141
141
 
142
- const append = slots.append ? slots.append() : (props.Field.Options?.Postfix && h('span',{
142
+ const append = slots.append ? slots.append() : (props.Field.Options?.Postfix ? () => h('span',{
143
143
  class: 'postfix',
144
- }, props.Field.Options?.Postfix));
144
+ }, props.Field.Options?.Postfix) : undefined);
145
145
 
146
146
  const mask = computed(() => {
147
147
  if (!props.Field?.Options) return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-fe-core-modules",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/freeeis/free-fe-core-modules.git",
6
6
  "author": "zhiquan",
@@ -87,7 +87,7 @@ export default defineComponent({
87
87
  showImportTextArea: false,
88
88
  };
89
89
  },
90
- emits: ['onUpdate:modelValue'],
90
+ emits: ['update:modelValue'],
91
91
  setup(props, ctx) {
92
92
  const {
93
93
  data,
@@ -98,7 +98,7 @@ export default defineComponent({
98
98
  ...objectDataProps,
99
99
  pagination: { type: Boolean, default: true },
100
100
  },
101
- emits: ['onUpdate:modelValue'],
101
+ emits: ['update:modelValue'],
102
102
  setup(props, ctx) {
103
103
  const {
104
104
  data,
@@ -98,7 +98,7 @@ export default defineComponent({
98
98
  editMenu: { type: Function, default: () => { } },
99
99
  deleteMenu: { type: Function, default: () => { } },
100
100
  },
101
- emits: ['onUpdate:modelValue'],
101
+ emits: ['update:modelValue'],
102
102
  setup(props, ctx) {
103
103
  const selectedMenuNode = ref({});
104
104
  const editingMenu = ref({});
@@ -89,7 +89,7 @@ export default defineComponent({
89
89
  ...objectDataProps,
90
90
  buttonsVisible: { type: Function, default: () => true },
91
91
  },
92
- emits: ['onUpdate:modelValue'],
92
+ emits: ['update:modelValue'],
93
93
  setup(props, ctx) {
94
94
  const {
95
95
  data,