vueless 0.0.280 → 0.0.281
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/service.platform/index.js +45 -0
- package/service.ui/index.js +135 -233
- package/ui.button/index.vue +12 -12
- package/ui.button-link/index.vue +17 -17
- package/ui.button-toggle/index.vue +10 -10
- package/ui.button-toggle-item/index.vue +9 -9
- package/ui.container-accordion/index.vue +2 -2
- package/ui.container-card/index.vue +3 -3
- package/ui.container-col/index.vue +6 -6
- package/ui.container-divider/index.vue +12 -12
- package/ui.container-group/index.vue +4 -4
- package/ui.container-modal/index.vue +9 -9
- package/ui.container-modal-confirm/index.stories.js +5 -3
- package/ui.container-modal-confirm/index.vue +5 -5
- package/ui.container-page/composables/attrs.composable.js +2 -1
- package/ui.container-page/index.vue +6 -6
- package/ui.container-row/index.vue +7 -7
- package/ui.data-list/index.vue +7 -7
- package/ui.data-table/index.vue +5 -5
- package/ui.dropdown-badge/index.vue +10 -10
- package/ui.dropdown-button/index.vue +13 -13
- package/ui.dropdown-link/index.vue +12 -12
- package/ui.dropdown-list/index.vue +7 -6
- package/ui.form-calendar/index.vue +7 -7
- package/ui.form-checkbox/index.vue +6 -6
- package/ui.form-checkbox-group/index.vue +4 -4
- package/ui.form-checkbox-multi-state/index.vue +5 -5
- package/ui.form-color-picker/index.vue +5 -5
- package/ui.form-date-picker/index.vue +11 -11
- package/ui.form-date-picker-range/index.vue +9 -9
- package/ui.form-input/index.vue +7 -8
- package/ui.form-input-file/index.vue +7 -7
- package/ui.form-input-money/index.vue +12 -12
- package/ui.form-input-number/index.vue +2 -2
- package/ui.form-input-rating/index.vue +6 -6
- package/ui.form-input-search/index.vue +6 -6
- package/ui.form-label/index.vue +5 -5
- package/ui.form-radio/index.vue +6 -6
- package/ui.form-radio-group/index.vue +4 -4
- package/ui.form-select/index.vue +14 -13
- package/ui.form-switch/index.vue +7 -7
- package/ui.form-textarea/index.vue +8 -8
- package/ui.image-avatar/index.vue +6 -6
- package/ui.image-icon/index.vue +6 -6
- package/ui.loader/index.vue +4 -4
- package/ui.loader-rendering/index.vue +2 -2
- package/ui.loader-top/index.vue +3 -2
- package/ui.navigation-pagination/index.vue +11 -11
- package/ui.navigation-progress/index.vue +5 -5
- package/ui.navigation-tab/index.vue +3 -3
- package/ui.navigation-tabs/index.vue +3 -3
- package/ui.other-dot/index.vue +3 -3
- package/ui.text-alert/index.vue +7 -7
- package/ui.text-badge/index.vue +5 -5
- package/ui.text-block/index.vue +4 -4
- package/ui.text-empty/index.vue +2 -2
- package/ui.text-file/index.vue +2 -2
- package/ui.text-files/index.vue +3 -3
- package/ui.text-header/index.vue +7 -7
- package/ui.text-money/index.vue +12 -12
- package/ui.text-notify/index.vue +4 -4
- package/web-types.json +2 -2
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
<script setup>
|
|
53
53
|
import { computed } from "vue";
|
|
54
54
|
|
|
55
|
-
import
|
|
55
|
+
import { getDefault } from "../service.ui";
|
|
56
56
|
import useAttrs from "./composables/attrs.composable";
|
|
57
57
|
|
|
58
58
|
import defaultConfig from "./configs/default.config";
|
|
@@ -88,7 +88,7 @@ const props = defineProps({
|
|
|
88
88
|
*/
|
|
89
89
|
size: {
|
|
90
90
|
type: String,
|
|
91
|
-
default:
|
|
91
|
+
default: getDefault(defaultConfig, UProgress).size,
|
|
92
92
|
},
|
|
93
93
|
|
|
94
94
|
/**
|
|
@@ -97,7 +97,7 @@ const props = defineProps({
|
|
|
97
97
|
*/
|
|
98
98
|
color: {
|
|
99
99
|
type: String,
|
|
100
|
-
default:
|
|
100
|
+
default: getDefault(defaultConfig, UProgress).color,
|
|
101
101
|
},
|
|
102
102
|
|
|
103
103
|
/**
|
|
@@ -106,7 +106,7 @@ const props = defineProps({
|
|
|
106
106
|
*/
|
|
107
107
|
variant: {
|
|
108
108
|
type: String,
|
|
109
|
-
default:
|
|
109
|
+
default: getDefault(defaultConfig, UProgress).variant,
|
|
110
110
|
},
|
|
111
111
|
|
|
112
112
|
/**
|
|
@@ -114,7 +114,7 @@ const props = defineProps({
|
|
|
114
114
|
*/
|
|
115
115
|
indicator: {
|
|
116
116
|
type: Boolean,
|
|
117
|
-
default:
|
|
117
|
+
default: getDefault(defaultConfig, UProgress).indicator,
|
|
118
118
|
},
|
|
119
119
|
|
|
120
120
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<script setup>
|
|
11
11
|
import { computed, inject, toValue } from "vue";
|
|
12
12
|
|
|
13
|
-
import
|
|
13
|
+
import { getDefault } from "../service.ui";
|
|
14
14
|
|
|
15
15
|
import { UTab } from "./constants";
|
|
16
16
|
import defaultConfig from "./configs/default.config";
|
|
@@ -47,7 +47,7 @@ const props = defineProps({
|
|
|
47
47
|
*/
|
|
48
48
|
disabled: {
|
|
49
49
|
type: Boolean,
|
|
50
|
-
default:
|
|
50
|
+
default: getDefault(defaultConfig, UTab).disabled,
|
|
51
51
|
},
|
|
52
52
|
|
|
53
53
|
/**
|
|
@@ -72,7 +72,7 @@ const selected = computed(() => {
|
|
|
72
72
|
});
|
|
73
73
|
|
|
74
74
|
const size = computed(() => {
|
|
75
|
-
return toValue(getUTabsSize) ||
|
|
75
|
+
return toValue(getUTabsSize) || getDefault(defaultConfig, UTab).size;
|
|
76
76
|
});
|
|
77
77
|
|
|
78
78
|
const { wrapperAttrs } = useAttrs(props, { selected, size });
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
import { computed, provide } from "vue";
|
|
21
21
|
|
|
22
22
|
import UTab from "../ui.navigation-tab";
|
|
23
|
-
import
|
|
23
|
+
import { getDefault } from "../service.ui";
|
|
24
24
|
|
|
25
25
|
import { UTabs } from "./constants";
|
|
26
26
|
import defaultConfig from "./configs/default.config";
|
|
@@ -58,7 +58,7 @@ const props = defineProps({
|
|
|
58
58
|
*/
|
|
59
59
|
size: {
|
|
60
60
|
type: String,
|
|
61
|
-
default:
|
|
61
|
+
default: getDefault(defaultConfig, UTabs).size,
|
|
62
62
|
},
|
|
63
63
|
|
|
64
64
|
/**
|
|
@@ -66,7 +66,7 @@ const props = defineProps({
|
|
|
66
66
|
*/
|
|
67
67
|
underlined: {
|
|
68
68
|
type: Boolean,
|
|
69
|
-
default:
|
|
69
|
+
default: getDefault(defaultConfig, UTabs).underlined,
|
|
70
70
|
},
|
|
71
71
|
|
|
72
72
|
/**
|
package/ui.other-dot/index.vue
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup>
|
|
6
|
-
import
|
|
6
|
+
import { getDefault } from "../service.ui";
|
|
7
7
|
|
|
8
8
|
import { UDot } from "./constants";
|
|
9
9
|
import defaultConfig from "./configs/default.config";
|
|
@@ -19,7 +19,7 @@ const props = defineProps({
|
|
|
19
19
|
*/
|
|
20
20
|
color: {
|
|
21
21
|
type: String,
|
|
22
|
-
default:
|
|
22
|
+
default: getDefault(defaultConfig, UDot).color,
|
|
23
23
|
},
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -28,7 +28,7 @@ const props = defineProps({
|
|
|
28
28
|
*/
|
|
29
29
|
size: {
|
|
30
30
|
type: String,
|
|
31
|
-
default:
|
|
31
|
+
default: getDefault(defaultConfig, UDot).size,
|
|
32
32
|
},
|
|
33
33
|
|
|
34
34
|
/**
|
package/ui.text-alert/index.vue
CHANGED
|
@@ -71,7 +71,7 @@ import { onMounted, ref, computed } from "vue";
|
|
|
71
71
|
import UIcon from "../ui.image-icon";
|
|
72
72
|
import UButton from "../ui.button";
|
|
73
73
|
import UText from "../ui.text-block";
|
|
74
|
-
import
|
|
74
|
+
import { getDefault } from "../service.ui";
|
|
75
75
|
|
|
76
76
|
import { UAlert } from "./constatns";
|
|
77
77
|
import defaultConfig from "./configs/default.config";
|
|
@@ -103,7 +103,7 @@ const props = defineProps({
|
|
|
103
103
|
*/
|
|
104
104
|
variant: {
|
|
105
105
|
type: String,
|
|
106
|
-
default:
|
|
106
|
+
default: getDefault(defaultConfig, UAlert).variant,
|
|
107
107
|
},
|
|
108
108
|
|
|
109
109
|
/**
|
|
@@ -112,7 +112,7 @@ const props = defineProps({
|
|
|
112
112
|
*/
|
|
113
113
|
size: {
|
|
114
114
|
type: String,
|
|
115
|
-
default:
|
|
115
|
+
default: getDefault(defaultConfig, UAlert).size,
|
|
116
116
|
},
|
|
117
117
|
|
|
118
118
|
/**
|
|
@@ -120,7 +120,7 @@ const props = defineProps({
|
|
|
120
120
|
* @values brand, grayscale, gray, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose, white */
|
|
121
121
|
color: {
|
|
122
122
|
type: String,
|
|
123
|
-
default:
|
|
123
|
+
default: getDefault(defaultConfig, UAlert).color,
|
|
124
124
|
},
|
|
125
125
|
|
|
126
126
|
/**
|
|
@@ -128,7 +128,7 @@ const props = defineProps({
|
|
|
128
128
|
*/
|
|
129
129
|
bordered: {
|
|
130
130
|
type: Boolean,
|
|
131
|
-
default:
|
|
131
|
+
default: getDefault(defaultConfig, UAlert).bordered,
|
|
132
132
|
},
|
|
133
133
|
|
|
134
134
|
/**
|
|
@@ -136,7 +136,7 @@ const props = defineProps({
|
|
|
136
136
|
*/
|
|
137
137
|
timeout: {
|
|
138
138
|
type: Number,
|
|
139
|
-
default:
|
|
139
|
+
default: getDefault(defaultConfig, UAlert).timeout,
|
|
140
140
|
},
|
|
141
141
|
|
|
142
142
|
/**
|
|
@@ -144,7 +144,7 @@ const props = defineProps({
|
|
|
144
144
|
*/
|
|
145
145
|
closable: {
|
|
146
146
|
type: Boolean,
|
|
147
|
-
default:
|
|
147
|
+
default: getDefault(defaultConfig, UAlert).closable,
|
|
148
148
|
},
|
|
149
149
|
|
|
150
150
|
/**
|
package/ui.text-badge/index.vue
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<script setup>
|
|
30
30
|
import { ref } from "vue";
|
|
31
31
|
|
|
32
|
-
import
|
|
32
|
+
import { getDefault } from "../service.ui";
|
|
33
33
|
|
|
34
34
|
import { UBadge } from "./constants";
|
|
35
35
|
import useAttrs from "./composables/attrs.composable";
|
|
@@ -54,7 +54,7 @@ const props = defineProps({
|
|
|
54
54
|
*/
|
|
55
55
|
variant: {
|
|
56
56
|
type: String,
|
|
57
|
-
default:
|
|
57
|
+
default: getDefault(defaultConfig, UBadge).variant,
|
|
58
58
|
},
|
|
59
59
|
|
|
60
60
|
/**
|
|
@@ -63,7 +63,7 @@ const props = defineProps({
|
|
|
63
63
|
*/
|
|
64
64
|
size: {
|
|
65
65
|
type: String,
|
|
66
|
-
default:
|
|
66
|
+
default: getDefault(defaultConfig, UBadge).size,
|
|
67
67
|
},
|
|
68
68
|
|
|
69
69
|
/**
|
|
@@ -72,7 +72,7 @@ const props = defineProps({
|
|
|
72
72
|
*/
|
|
73
73
|
weight: {
|
|
74
74
|
type: String,
|
|
75
|
-
default:
|
|
75
|
+
default: getDefault(defaultConfig, UBadge).weight,
|
|
76
76
|
},
|
|
77
77
|
|
|
78
78
|
/**
|
|
@@ -81,7 +81,7 @@ const props = defineProps({
|
|
|
81
81
|
*/
|
|
82
82
|
color: {
|
|
83
83
|
type: String,
|
|
84
|
-
default:
|
|
84
|
+
default: getDefault(defaultConfig, UBadge).color,
|
|
85
85
|
},
|
|
86
86
|
|
|
87
87
|
/**
|
package/ui.text-block/index.vue
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
</template>
|
|
8
8
|
|
|
9
9
|
<script setup>
|
|
10
|
-
import
|
|
10
|
+
import { getDefault } from "../service.ui";
|
|
11
11
|
|
|
12
12
|
import { UText } from "./constatns";
|
|
13
13
|
import defaultConfig from "./configs/default.config";
|
|
@@ -31,7 +31,7 @@ const props = defineProps({
|
|
|
31
31
|
*/
|
|
32
32
|
size: {
|
|
33
33
|
type: String,
|
|
34
|
-
default:
|
|
34
|
+
default: getDefault(defaultConfig, UText).size,
|
|
35
35
|
},
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -40,7 +40,7 @@ const props = defineProps({
|
|
|
40
40
|
*/
|
|
41
41
|
align: {
|
|
42
42
|
type: String,
|
|
43
|
-
default:
|
|
43
|
+
default: getDefault(defaultConfig, UText).align,
|
|
44
44
|
},
|
|
45
45
|
|
|
46
46
|
/**
|
|
@@ -48,7 +48,7 @@ const props = defineProps({
|
|
|
48
48
|
*/
|
|
49
49
|
line: {
|
|
50
50
|
type: Boolean,
|
|
51
|
-
default:
|
|
51
|
+
default: getDefault(defaultConfig, UText).line,
|
|
52
52
|
},
|
|
53
53
|
|
|
54
54
|
/**
|
package/ui.text-empty/index.vue
CHANGED
|
@@ -32,7 +32,7 @@ import { computed } from "vue";
|
|
|
32
32
|
|
|
33
33
|
import UIcon from "../ui.image-icon";
|
|
34
34
|
import UHeader from "../ui.text-header";
|
|
35
|
-
import
|
|
35
|
+
import { getDefault } from "../service.ui";
|
|
36
36
|
|
|
37
37
|
import { UEmpty } from "./constants";
|
|
38
38
|
import defaultConfig from "./configs/default.config";
|
|
@@ -64,7 +64,7 @@ const props = defineProps({
|
|
|
64
64
|
*/
|
|
65
65
|
size: {
|
|
66
66
|
type: String,
|
|
67
|
-
default:
|
|
67
|
+
default: getDefault(defaultConfig, UEmpty).size,
|
|
68
68
|
},
|
|
69
69
|
|
|
70
70
|
/**
|
package/ui.text-file/index.vue
CHANGED
|
@@ -32,7 +32,7 @@ import { computed, ref } from "vue";
|
|
|
32
32
|
import ULink from "../ui.button-link";
|
|
33
33
|
import UIcon from "../ui.image-icon";
|
|
34
34
|
|
|
35
|
-
import
|
|
35
|
+
import { getRandomId, getDefault } from "../service.ui";
|
|
36
36
|
|
|
37
37
|
import useAttrs from "./composables/attrs.composable";
|
|
38
38
|
import { UFile } from "./constants";
|
|
@@ -72,7 +72,7 @@ const props = defineProps({
|
|
|
72
72
|
*/
|
|
73
73
|
size: {
|
|
74
74
|
type: String,
|
|
75
|
-
default:
|
|
75
|
+
default: getDefault(defaultConfig, UFile).size,
|
|
76
76
|
},
|
|
77
77
|
|
|
78
78
|
/**
|
package/ui.text-files/index.vue
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<script setup>
|
|
36
36
|
import UFile from "../ui.text-file";
|
|
37
37
|
import ULabel from "../ui.form-label";
|
|
38
|
-
import
|
|
38
|
+
import { getDefault } from "../service.ui";
|
|
39
39
|
|
|
40
40
|
import { UFiles } from "./constants";
|
|
41
41
|
import defaultConfig from "./configs/default.config";
|
|
@@ -68,7 +68,7 @@ const props = defineProps({
|
|
|
68
68
|
*/
|
|
69
69
|
placement: {
|
|
70
70
|
type: String,
|
|
71
|
-
default:
|
|
71
|
+
default: getDefault(defaultConfig, UFiles).placement,
|
|
72
72
|
},
|
|
73
73
|
|
|
74
74
|
/**
|
|
@@ -85,7 +85,7 @@ const props = defineProps({
|
|
|
85
85
|
*/
|
|
86
86
|
size: {
|
|
87
87
|
type: String,
|
|
88
|
-
default:
|
|
88
|
+
default: getDefault(defaultConfig, UFiles).size,
|
|
89
89
|
},
|
|
90
90
|
|
|
91
91
|
/**
|
package/ui.text-header/index.vue
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<script setup>
|
|
8
|
-
import
|
|
8
|
+
import { getDefault } from "../service.ui";
|
|
9
9
|
|
|
10
10
|
import { UHeader } from "./constants";
|
|
11
11
|
import defaultConfig from "./configs/default.config";
|
|
@@ -29,7 +29,7 @@ const props = defineProps({
|
|
|
29
29
|
*/
|
|
30
30
|
size: {
|
|
31
31
|
type: String,
|
|
32
|
-
default:
|
|
32
|
+
default: getDefault(defaultConfig, UHeader).size,
|
|
33
33
|
},
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -38,7 +38,7 @@ const props = defineProps({
|
|
|
38
38
|
*/
|
|
39
39
|
weight: {
|
|
40
40
|
type: String,
|
|
41
|
-
default:
|
|
41
|
+
default: getDefault(defaultConfig, UHeader).weight,
|
|
42
42
|
},
|
|
43
43
|
|
|
44
44
|
/**
|
|
@@ -47,7 +47,7 @@ const props = defineProps({
|
|
|
47
47
|
*/
|
|
48
48
|
color: {
|
|
49
49
|
type: String,
|
|
50
|
-
default:
|
|
50
|
+
default: getDefault(defaultConfig, UHeader).color,
|
|
51
51
|
},
|
|
52
52
|
|
|
53
53
|
/**
|
|
@@ -55,7 +55,7 @@ const props = defineProps({
|
|
|
55
55
|
*/
|
|
56
56
|
tag: {
|
|
57
57
|
type: String,
|
|
58
|
-
default:
|
|
58
|
+
default: getDefault(defaultConfig, UHeader).tag,
|
|
59
59
|
},
|
|
60
60
|
|
|
61
61
|
/**
|
|
@@ -63,7 +63,7 @@ const props = defineProps({
|
|
|
63
63
|
*/
|
|
64
64
|
multiline: {
|
|
65
65
|
type: Boolean,
|
|
66
|
-
default:
|
|
66
|
+
default: getDefault(defaultConfig, UHeader).multiline,
|
|
67
67
|
},
|
|
68
68
|
|
|
69
69
|
/**
|
|
@@ -71,7 +71,7 @@ const props = defineProps({
|
|
|
71
71
|
*/
|
|
72
72
|
underlined: {
|
|
73
73
|
type: Boolean,
|
|
74
|
-
default:
|
|
74
|
+
default: getDefault(defaultConfig, UHeader).underlined,
|
|
75
75
|
},
|
|
76
76
|
|
|
77
77
|
/**
|
package/ui.text-money/index.vue
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<script setup>
|
|
34
34
|
import { computed } from "vue";
|
|
35
35
|
|
|
36
|
-
import
|
|
36
|
+
import { getDefault } from "../service.ui";
|
|
37
37
|
|
|
38
38
|
import { UMoney } from "./constants";
|
|
39
39
|
import defaultConfig from "./configs/default.config";
|
|
@@ -65,7 +65,7 @@ const props = defineProps({
|
|
|
65
65
|
*/
|
|
66
66
|
planned: {
|
|
67
67
|
type: Boolean,
|
|
68
|
-
default:
|
|
68
|
+
default: getDefault(defaultConfig, UMoney).planned,
|
|
69
69
|
},
|
|
70
70
|
|
|
71
71
|
/**
|
|
@@ -73,7 +73,7 @@ const props = defineProps({
|
|
|
73
73
|
*/
|
|
74
74
|
integer: {
|
|
75
75
|
type: Boolean,
|
|
76
|
-
default:
|
|
76
|
+
default: getDefault(defaultConfig, UMoney).integer,
|
|
77
77
|
},
|
|
78
78
|
|
|
79
79
|
/**
|
|
@@ -82,7 +82,7 @@ const props = defineProps({
|
|
|
82
82
|
*/
|
|
83
83
|
sign: {
|
|
84
84
|
type: String,
|
|
85
|
-
default:
|
|
85
|
+
default: getDefault(defaultConfig, UMoney).sign,
|
|
86
86
|
},
|
|
87
87
|
|
|
88
88
|
/**
|
|
@@ -91,7 +91,7 @@ const props = defineProps({
|
|
|
91
91
|
*/
|
|
92
92
|
symbolAlign: {
|
|
93
93
|
type: String,
|
|
94
|
-
default:
|
|
94
|
+
default: getDefault(defaultConfig, UMoney).symbolAlign,
|
|
95
95
|
},
|
|
96
96
|
|
|
97
97
|
/**
|
|
@@ -100,7 +100,7 @@ const props = defineProps({
|
|
|
100
100
|
*/
|
|
101
101
|
size: {
|
|
102
102
|
type: String,
|
|
103
|
-
default:
|
|
103
|
+
default: getDefault(defaultConfig, UMoney).size,
|
|
104
104
|
},
|
|
105
105
|
|
|
106
106
|
/**
|
|
@@ -109,7 +109,7 @@ const props = defineProps({
|
|
|
109
109
|
*/
|
|
110
110
|
weight: {
|
|
111
111
|
type: String,
|
|
112
|
-
default:
|
|
112
|
+
default: getDefault(defaultConfig, UMoney).weight,
|
|
113
113
|
},
|
|
114
114
|
|
|
115
115
|
/**
|
|
@@ -118,7 +118,7 @@ const props = defineProps({
|
|
|
118
118
|
*/
|
|
119
119
|
color: {
|
|
120
120
|
type: String,
|
|
121
|
-
default:
|
|
121
|
+
default: getDefault(defaultConfig, UMoney).color,
|
|
122
122
|
},
|
|
123
123
|
|
|
124
124
|
/**
|
|
@@ -126,7 +126,7 @@ const props = defineProps({
|
|
|
126
126
|
*/
|
|
127
127
|
decimalScale: {
|
|
128
128
|
type: Number,
|
|
129
|
-
default:
|
|
129
|
+
default: getDefault(defaultConfig, UMoney).decimalScale,
|
|
130
130
|
},
|
|
131
131
|
|
|
132
132
|
/**
|
|
@@ -134,7 +134,7 @@ const props = defineProps({
|
|
|
134
134
|
*/
|
|
135
135
|
delimiter: {
|
|
136
136
|
type: String,
|
|
137
|
-
default:
|
|
137
|
+
default: getDefault(defaultConfig, UMoney).delimiter,
|
|
138
138
|
},
|
|
139
139
|
|
|
140
140
|
/**
|
|
@@ -143,7 +143,7 @@ const props = defineProps({
|
|
|
143
143
|
*/
|
|
144
144
|
align: {
|
|
145
145
|
type: String,
|
|
146
|
-
default:
|
|
146
|
+
default: getDefault(defaultConfig, UMoney).align,
|
|
147
147
|
},
|
|
148
148
|
|
|
149
149
|
/**
|
|
@@ -156,7 +156,7 @@ const props = defineProps({
|
|
|
156
156
|
|
|
157
157
|
divided: {
|
|
158
158
|
type: Boolean,
|
|
159
|
-
default:
|
|
159
|
+
default: getDefault(defaultConfig, UMoney).divided,
|
|
160
160
|
},
|
|
161
161
|
|
|
162
162
|
/**
|
package/ui.text-notify/index.vue
CHANGED
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
import { computed, onBeforeUnmount, onMounted, ref } from "vue";
|
|
81
81
|
import { merge } from "lodash-es";
|
|
82
82
|
|
|
83
|
-
import
|
|
83
|
+
import { globalComponentConfig, cx, getDefault } from "../service.ui";
|
|
84
84
|
|
|
85
85
|
import { useLocale } from "../composable.locale";
|
|
86
86
|
import useAttrs from "./composables/attrs.composable";
|
|
@@ -100,7 +100,7 @@ const props = defineProps({
|
|
|
100
100
|
*/
|
|
101
101
|
xPosition: {
|
|
102
102
|
type: String,
|
|
103
|
-
default:
|
|
103
|
+
default: getDefault(defaultConfig, UNotify).xPosition,
|
|
104
104
|
},
|
|
105
105
|
|
|
106
106
|
/**
|
|
@@ -109,7 +109,7 @@ const props = defineProps({
|
|
|
109
109
|
*/
|
|
110
110
|
yPosition: {
|
|
111
111
|
type: String,
|
|
112
|
-
default:
|
|
112
|
+
default: getDefault(defaultConfig, UNotify).yPosition,
|
|
113
113
|
},
|
|
114
114
|
|
|
115
115
|
/**
|
|
@@ -117,7 +117,7 @@ const props = defineProps({
|
|
|
117
117
|
*/
|
|
118
118
|
html: {
|
|
119
119
|
type: Boolean,
|
|
120
|
-
default:
|
|
120
|
+
default: getDefault(defaultConfig, UNotify).html,
|
|
121
121
|
},
|
|
122
122
|
|
|
123
123
|
/**
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "vueless",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.281",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -6013,7 +6013,7 @@
|
|
|
6013
6013
|
"kind": "expression",
|
|
6014
6014
|
"type": "boolean"
|
|
6015
6015
|
},
|
|
6016
|
-
"default": "
|
|
6016
|
+
"default": "getDefault(defaultConfig, UNotify).html"
|
|
6017
6017
|
},
|
|
6018
6018
|
{
|
|
6019
6019
|
"name": "config",
|