@onereach/ui-components 2.62.7-beta.1929.0 → 2.62.7-beta.1932.0
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/v2/{OrInlineInput-8455f9da.js → OrInlineInput-f00cba5e.js} +5 -4
- package/dist/v2/{OrInlineTextarea-1127e512.js → OrInlineTextarea-75de33d0.js} +5 -4
- package/dist/v2/{OrSegmentedControl-908d951a.js → OrSegmentedControl-17df63b8.js} +5 -0
- package/dist/v2/index.js +3 -3
- package/dist/v2/index2.js +3 -3
- package/dist/v2/index34.js +1 -1
- package/dist/v2/index36.js +1 -1
- package/dist/v2/index63.js +1 -1
- package/dist/v3/{OrInlineInput-a080b0a3.js → OrInlineInput-bac4abdd.js} +3 -2
- package/dist/v3/{OrInlineTextarea-08767485.js → OrInlineTextarea-d1ec1bba.js} +3 -2
- package/dist/v3/{OrSegmentedControl-e6fdc79b.js → OrSegmentedControl-2bbc0f22.js} +2 -1
- package/dist/v3/index.js +3 -3
- package/dist/v3/index2.js +3 -3
- package/dist/v3/index34.js +1 -1
- package/dist/v3/index36.js +1 -1
- package/dist/v3/index63.js +1 -1
- package/package.json +1 -1
- package/src/components/or-inline-input-v3/OrInlineInput.vue +2 -2
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +2 -2
- package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +0 -2
- package/src/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue +1 -0
- package/src/hooks/useClassAttribute.ts +1 -1
|
@@ -129,14 +129,15 @@ var script = defineComponent({
|
|
|
129
129
|
activated.value = false;
|
|
130
130
|
}
|
|
131
131
|
function reset() {
|
|
132
|
+
var _a;
|
|
132
133
|
if (draftModelValue.value !== proxyModelValue.value) {
|
|
133
|
-
draftModelValue.value = proxyModelValue.value;
|
|
134
|
+
draftModelValue.value = (_a = proxyModelValue.value) !== null && _a !== void 0 ? _a : '';
|
|
134
135
|
}
|
|
135
136
|
activated.value = false;
|
|
136
137
|
}
|
|
137
138
|
// Effects
|
|
138
139
|
watch(proxyModelValue, value => {
|
|
139
|
-
draftModelValue.value = value;
|
|
140
|
+
draftModelValue.value = value !== null && value !== void 0 ? value : '';
|
|
140
141
|
}, {
|
|
141
142
|
immediate: true
|
|
142
143
|
});
|
|
@@ -160,7 +161,7 @@ var script = defineComponent({
|
|
|
160
161
|
}
|
|
161
162
|
});
|
|
162
163
|
|
|
163
|
-
var css_248z = "input[data-v-
|
|
164
|
+
var css_248z = "input[data-v-a3435312]{min-width:0;background:0 0;outline:0}input[type=number][data-v-a3435312]::-webkit-inner-spin-button{display:none}input[type=search][data-v-a3435312]::-webkit-search-cancel-button{display:none}";
|
|
164
165
|
styleInject(css_248z);
|
|
165
166
|
|
|
166
167
|
/* script */
|
|
@@ -333,7 +334,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
333
334
|
/* style */
|
|
334
335
|
const __vue_inject_styles__ = undefined;
|
|
335
336
|
/* scoped */
|
|
336
|
-
const __vue_scope_id__ = "data-v-
|
|
337
|
+
const __vue_scope_id__ = "data-v-a3435312";
|
|
337
338
|
/* module identifier */
|
|
338
339
|
const __vue_module_identifier__ = undefined;
|
|
339
340
|
/* functional template */
|
|
@@ -115,14 +115,15 @@ var script = defineComponent({
|
|
|
115
115
|
activated.value = false;
|
|
116
116
|
}
|
|
117
117
|
function reset() {
|
|
118
|
+
var _a;
|
|
118
119
|
if (draftModelValue.value !== proxyModelValue.value) {
|
|
119
|
-
draftModelValue.value = proxyModelValue.value;
|
|
120
|
+
draftModelValue.value = (_a = proxyModelValue.value) !== null && _a !== void 0 ? _a : '';
|
|
120
121
|
}
|
|
121
122
|
activated.value = false;
|
|
122
123
|
}
|
|
123
124
|
// Effects
|
|
124
125
|
watch(proxyModelValue, value => {
|
|
125
|
-
draftModelValue.value = value;
|
|
126
|
+
draftModelValue.value = value !== null && value !== void 0 ? value : '';
|
|
126
127
|
}, {
|
|
127
128
|
immediate: true
|
|
128
129
|
});
|
|
@@ -146,7 +147,7 @@ var script = defineComponent({
|
|
|
146
147
|
}
|
|
147
148
|
});
|
|
148
149
|
|
|
149
|
-
var css_248z = "textarea[data-v-
|
|
150
|
+
var css_248z = "textarea[data-v-314d21b0]{min-width:0;background:0 0;outline:0}";
|
|
150
151
|
styleInject(css_248z);
|
|
151
152
|
|
|
152
153
|
/* script */
|
|
@@ -245,7 +246,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
245
246
|
/* style */
|
|
246
247
|
const __vue_inject_styles__ = undefined;
|
|
247
248
|
/* scoped */
|
|
248
|
-
const __vue_scope_id__ = "data-v-
|
|
249
|
+
const __vue_scope_id__ = "data-v-314d21b0";
|
|
249
250
|
/* module identifier */
|
|
250
251
|
const __vue_module_identifier__ = undefined;
|
|
251
252
|
/* functional template */
|
|
@@ -77,6 +77,11 @@ var __vue_render__$1 = function () {
|
|
|
77
77
|
attrs: {
|
|
78
78
|
"selected": _vm.selected ? '' : null,
|
|
79
79
|
"disabled": _vm.disabled ? '' : null
|
|
80
|
+
},
|
|
81
|
+
on: {
|
|
82
|
+
"click": function ($event) {
|
|
83
|
+
return _vm.$emit('click', $event);
|
|
84
|
+
}
|
|
80
85
|
}
|
|
81
86
|
}, 'div', _vm.$attrs, false), [_c('div', {
|
|
82
87
|
class: ['truncate']
|
package/dist/v2/index.js
CHANGED
|
@@ -32,9 +32,9 @@ export { _ as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-7cd104
|
|
|
32
32
|
export { I as IconButtonColor, _ as OrIconButtonV3 } from './OrIconButton-2088a37f.js';
|
|
33
33
|
export { a as IconSize, I as IconVariant, _ as OrIconV3 } from './OrIcon-124f3bad.js';
|
|
34
34
|
export { I as InlineInputBoxSize, I as InlineInputSize, _ as OrInlineInputBoxV3 } from './OrInlineInputBox-6a15ea2b.js';
|
|
35
|
-
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-
|
|
35
|
+
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-f00cba5e.js';
|
|
36
36
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-60227e46.js';
|
|
37
|
-
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
37
|
+
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-75de33d0.js';
|
|
38
38
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-208dceac.js';
|
|
39
39
|
export { I as InputType, _ as OrInputV3 } from './OrInput-24028f23.js';
|
|
40
40
|
export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from './OrPassword-a8b36c5b.js';
|
|
@@ -63,7 +63,7 @@ export { _ as OrRadio } from './OrRadio-514e8de8.js';
|
|
|
63
63
|
export { _ as OrRadioGroup } from './OrRadioGroup-11424644.js';
|
|
64
64
|
export { _ as OrRadioV3 } from './OrRadio-4ba56887.js';
|
|
65
65
|
export { _ as OrSearchV3 } from './OrSearch-978a3a6e.js';
|
|
66
|
-
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-
|
|
66
|
+
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-17df63b8.js';
|
|
67
67
|
export { _ as OrSelect } from './OrSelect-ea27a70e.js';
|
|
68
68
|
export { _ as OrSelectV3 } from './OrSelect-c6d0a69e.js';
|
|
69
69
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-feacf13a.js';
|
package/dist/v2/index2.js
CHANGED
|
@@ -32,9 +32,9 @@ export { _ as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-7cd104
|
|
|
32
32
|
export { I as IconButtonColor, _ as OrIconButtonV3 } from './OrIconButton-2088a37f.js';
|
|
33
33
|
export { a as IconSize, I as IconVariant, _ as OrIconV3 } from './OrIcon-124f3bad.js';
|
|
34
34
|
export { I as InlineInputBoxSize, I as InlineInputSize, _ as OrInlineInputBoxV3 } from './OrInlineInputBox-6a15ea2b.js';
|
|
35
|
-
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-
|
|
35
|
+
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-f00cba5e.js';
|
|
36
36
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-60227e46.js';
|
|
37
|
-
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
37
|
+
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-75de33d0.js';
|
|
38
38
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-208dceac.js';
|
|
39
39
|
export { I as InputType, _ as OrInputV3 } from './OrInput-24028f23.js';
|
|
40
40
|
export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from './OrPassword-a8b36c5b.js';
|
|
@@ -63,7 +63,7 @@ export { _ as OrRadio } from './OrRadio-514e8de8.js';
|
|
|
63
63
|
export { _ as OrRadioGroup } from './OrRadioGroup-11424644.js';
|
|
64
64
|
export { _ as OrRadioV3 } from './OrRadio-4ba56887.js';
|
|
65
65
|
export { _ as OrSearchV3 } from './OrSearch-978a3a6e.js';
|
|
66
|
-
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-
|
|
66
|
+
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-17df63b8.js';
|
|
67
67
|
export { _ as OrSelect } from './OrSelect-ea27a70e.js';
|
|
68
68
|
export { _ as OrSelectV3 } from './OrSelect-c6d0a69e.js';
|
|
69
69
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-feacf13a.js';
|
package/dist/v2/index34.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-
|
|
1
|
+
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-f00cba5e.js';
|
|
2
2
|
export { I as InlineInputSize } from './OrInlineInputBox-6a15ea2b.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import './useClassAttribute-47fdb016.js';
|
package/dist/v2/index36.js
CHANGED
package/dist/v2/index63.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-
|
|
1
|
+
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-17df63b8.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import './useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -129,14 +129,15 @@ var script = defineComponent({
|
|
|
129
129
|
activated.value = false;
|
|
130
130
|
}
|
|
131
131
|
function reset() {
|
|
132
|
+
var _a;
|
|
132
133
|
if (draftModelValue.value !== proxyModelValue.value) {
|
|
133
|
-
draftModelValue.value = proxyModelValue.value;
|
|
134
|
+
draftModelValue.value = (_a = proxyModelValue.value) !== null && _a !== void 0 ? _a : '';
|
|
134
135
|
}
|
|
135
136
|
activated.value = false;
|
|
136
137
|
}
|
|
137
138
|
// Effects
|
|
138
139
|
watch(proxyModelValue, value => {
|
|
139
|
-
draftModelValue.value = value;
|
|
140
|
+
draftModelValue.value = value !== null && value !== void 0 ? value : '';
|
|
140
141
|
}, {
|
|
141
142
|
immediate: true
|
|
142
143
|
});
|
|
@@ -115,14 +115,15 @@ var script = defineComponent({
|
|
|
115
115
|
activated.value = false;
|
|
116
116
|
}
|
|
117
117
|
function reset() {
|
|
118
|
+
var _a;
|
|
118
119
|
if (draftModelValue.value !== proxyModelValue.value) {
|
|
119
|
-
draftModelValue.value = proxyModelValue.value;
|
|
120
|
+
draftModelValue.value = (_a = proxyModelValue.value) !== null && _a !== void 0 ? _a : '';
|
|
120
121
|
}
|
|
121
122
|
activated.value = false;
|
|
122
123
|
}
|
|
123
124
|
// Effects
|
|
124
125
|
watch(proxyModelValue, value => {
|
|
125
|
-
draftModelValue.value = value;
|
|
126
|
+
draftModelValue.value = value !== null && value !== void 0 ? value : '';
|
|
126
127
|
}, {
|
|
127
128
|
immediate: true
|
|
128
129
|
});
|
|
@@ -73,7 +73,8 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73
73
|
}, _ctx.$attrs, {
|
|
74
74
|
class: _ctx.rootStyles,
|
|
75
75
|
selected: _ctx.selected ? '' : null,
|
|
76
|
-
disabled: _ctx.disabled ? '' : null
|
|
76
|
+
disabled: _ctx.disabled ? '' : null,
|
|
77
|
+
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('click', $event))
|
|
77
78
|
}), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")])], 16 /* FULL_PROPS */, _hoisted_1);
|
|
78
79
|
}
|
|
79
80
|
|
package/dist/v3/index.js
CHANGED
|
@@ -29,9 +29,9 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-e23028
|
|
|
29
29
|
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-5fb3a9aa.js';
|
|
30
30
|
export { a as IconSize, I as IconVariant, s as OrIconV3 } from './OrIcon-b3906e35.js';
|
|
31
31
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-1b473796.js';
|
|
32
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
32
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-bac4abdd.js';
|
|
33
33
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-455a2d64.js';
|
|
34
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
34
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-d1ec1bba.js';
|
|
35
35
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-634230b1.js';
|
|
36
36
|
export { I as InputType, s as OrInputV3 } from './OrInput-256d2530.js';
|
|
37
37
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-2874026c.js';
|
|
@@ -58,7 +58,7 @@ export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
|
58
58
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
59
59
|
export { s as OrRadioV3 } from './OrRadio-0c1883f2.js';
|
|
60
60
|
export { s as OrSearchV3 } from './OrSearch-375eab55.js';
|
|
61
|
-
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-
|
|
61
|
+
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-2bbc0f22.js';
|
|
62
62
|
export { s as OrSelect } from './OrSelect-056731af.js';
|
|
63
63
|
export { s as OrSelectV3 } from './OrSelect-52cfb10d.js';
|
|
64
64
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
package/dist/v3/index2.js
CHANGED
|
@@ -29,9 +29,9 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-e23028
|
|
|
29
29
|
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-5fb3a9aa.js';
|
|
30
30
|
export { a as IconSize, I as IconVariant, s as OrIconV3 } from './OrIcon-b3906e35.js';
|
|
31
31
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-1b473796.js';
|
|
32
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
32
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-bac4abdd.js';
|
|
33
33
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-455a2d64.js';
|
|
34
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
34
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-d1ec1bba.js';
|
|
35
35
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-634230b1.js';
|
|
36
36
|
export { I as InputType, s as OrInputV3 } from './OrInput-256d2530.js';
|
|
37
37
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-2874026c.js';
|
|
@@ -58,7 +58,7 @@ export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
|
58
58
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
59
59
|
export { s as OrRadioV3 } from './OrRadio-0c1883f2.js';
|
|
60
60
|
export { s as OrSearchV3 } from './OrSearch-375eab55.js';
|
|
61
|
-
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-
|
|
61
|
+
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-2bbc0f22.js';
|
|
62
62
|
export { s as OrSelect } from './OrSelect-056731af.js';
|
|
63
63
|
export { s as OrSelectV3 } from './OrSelect-52cfb10d.js';
|
|
64
64
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
package/dist/v3/index34.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
1
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-bac4abdd.js';
|
|
2
2
|
export { I as InlineInputSize } from './OrInlineInputBox-1b473796.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import './useClassAttribute-47fdb016.js';
|
package/dist/v3/index36.js
CHANGED
package/dist/v3/index63.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-
|
|
1
|
+
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-2bbc0f22.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import './useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
package/package.json
CHANGED
|
@@ -217,7 +217,7 @@ export default defineComponent({
|
|
|
217
217
|
|
|
218
218
|
function reset(): void {
|
|
219
219
|
if (draftModelValue.value !== proxyModelValue.value) {
|
|
220
|
-
draftModelValue.value = proxyModelValue.value;
|
|
220
|
+
draftModelValue.value = proxyModelValue.value ?? '';
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
activated.value = false;
|
|
@@ -225,7 +225,7 @@ export default defineComponent({
|
|
|
225
225
|
|
|
226
226
|
// Effects
|
|
227
227
|
watch(proxyModelValue, (value) => {
|
|
228
|
-
draftModelValue.value = value;
|
|
228
|
+
draftModelValue.value = value ?? '';
|
|
229
229
|
}, { immediate: true });
|
|
230
230
|
|
|
231
231
|
return {
|
|
@@ -205,7 +205,7 @@ export default defineComponent({
|
|
|
205
205
|
|
|
206
206
|
function reset(): void {
|
|
207
207
|
if (draftModelValue.value !== proxyModelValue.value) {
|
|
208
|
-
draftModelValue.value = proxyModelValue.value;
|
|
208
|
+
draftModelValue.value = proxyModelValue.value ?? '';
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
activated.value = false;
|
|
@@ -213,7 +213,7 @@ export default defineComponent({
|
|
|
213
213
|
|
|
214
214
|
// Effects
|
|
215
215
|
watch(proxyModelValue, (value) => {
|
|
216
|
-
draftModelValue.value = value;
|
|
216
|
+
draftModelValue.value = value ?? '';
|
|
217
217
|
}, { immediate: true });
|
|
218
218
|
|
|
219
219
|
return {
|
|
@@ -8,7 +8,7 @@ export function useClassAttribute(): UseClassAttributeReturn {
|
|
|
8
8
|
|
|
9
9
|
// Functions
|
|
10
10
|
function composeClass(): UnwrapRef<UseClassAttributeReturn> {
|
|
11
|
-
const { staticClass = '', class: classProperty } = (currentInstance?.vnode as VNode).data ?? {};
|
|
11
|
+
const { staticClass = '', class: classProperty } = (currentInstance?.vnode as unknown as VNode).data ?? {};
|
|
12
12
|
|
|
13
13
|
if (!classProperty) {
|
|
14
14
|
return staticClass || undefined;
|