@ebiz/designer-components 0.0.18-beta.24 → 0.0.18-beta.25
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,11 +1,11 @@
|
|
1
1
|
<template>
|
2
|
-
<
|
2
|
+
<tiny-tooltip :content="!isNormal && !apiConfig.apiId ? tooltipText : ''" placement="top">
|
3
3
|
|
4
|
-
<
|
4
|
+
<tiny-button :disabled="disabled" :type="type" :size="size" @click="click">
|
5
5
|
<slot>{{ text }}</slot>
|
6
|
-
</
|
6
|
+
</tiny-button>
|
7
7
|
|
8
|
-
</
|
8
|
+
</tiny-tooltip>
|
9
9
|
</template>
|
10
10
|
|
11
11
|
|
@@ -18,8 +18,8 @@ export default {
|
|
18
18
|
<script lang='js' setup>
|
19
19
|
|
20
20
|
import { ref, reactive, computed, toRef, toRefs } from 'vue';
|
21
|
+
import { TinyButton, TinyTooltip, TinyNotify } from '@opentiny/vue';
|
21
22
|
import dataService from '../apiService/simpleDataService';
|
22
|
-
import { Button as TButton, Tooltip as TTooltip} from 'tdesign-vue-next';
|
23
23
|
|
24
24
|
|
25
25
|
const props = defineProps({
|
@@ -35,11 +35,11 @@ const props = defineProps({
|
|
35
35
|
type: Boolean,
|
36
36
|
default: false
|
37
37
|
},
|
38
|
-
type: {//default
|
38
|
+
type: {//'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text'
|
39
39
|
type: String,
|
40
|
-
default: '
|
40
|
+
default: 'default'
|
41
41
|
},
|
42
|
-
size: {//small
|
42
|
+
size: {//'large' | 'medium' | 'small' | 'mini'
|
43
43
|
type: String,
|
44
44
|
default: 'medium'
|
45
45
|
},
|