@merkaly/nuxt 0.4.2 → 0.4.3
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/module.json +1 -1
- package/dist/runtime/components/format/FormatIcon.d.vue.ts +7 -1
- package/dist/runtime/components/format/FormatIcon.vue +6 -2
- package/dist/runtime/components/format/FormatIcon.vue.d.ts +7 -1
- package/dist/runtime/components/input/InputAddress.d.vue.ts +1 -1
- package/dist/runtime/components/input/InputAddress.vue.d.ts +1 -1
- package/dist/runtime/components/table/TableDatagrid.vue +1 -1
- package/package.json +8 -8
package/dist/module.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ColorVariant } from 'bootstrap-vue-next';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
declare const
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
mode: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
@@ -93,5 +93,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
93
93
|
reversed: boolean;
|
|
94
94
|
spin: boolean;
|
|
95
95
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
96
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
96
97
|
declare const _default: typeof __VLS_export;
|
|
97
98
|
export default _default;
|
|
99
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
100
|
+
new (): {
|
|
101
|
+
$slots: S;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
@@ -12,6 +12,8 @@ const props = defineProps({
|
|
|
12
12
|
text: { type: String, default: () => "" },
|
|
13
13
|
variant: { type: String, default: () => "" }
|
|
14
14
|
});
|
|
15
|
+
const slots = defineSlots();
|
|
16
|
+
const hasContent = computed(() => Boolean(slots.default || props.text));
|
|
15
17
|
const iconName = computed(() => `${props.provider}-${props.name}`);
|
|
16
18
|
const iconMode = computed(() => `${props.provider}-${props.mode}`);
|
|
17
19
|
const animateSpin = computed(() => props.spin ? `${props.provider}-spin` : void 0);
|
|
@@ -29,10 +31,12 @@ const classList = computed(() => [
|
|
|
29
31
|
</script>
|
|
30
32
|
|
|
31
33
|
<template>
|
|
32
|
-
<template v-if="
|
|
34
|
+
<template v-if="hasContent">
|
|
33
35
|
<span :class="{ 'flex-row-reverse': props.reversed }" class="d-flex align-items-center">
|
|
34
36
|
<component :is="props.tag" :class="classList" />
|
|
35
|
-
<
|
|
37
|
+
<slot>
|
|
38
|
+
<span :class="fontColor" class="ps-1" v-text="props.text" />
|
|
39
|
+
</slot>
|
|
36
40
|
</span>
|
|
37
41
|
</template>
|
|
38
42
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ColorVariant } from 'bootstrap-vue-next';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
declare const
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
mode: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
@@ -93,5 +93,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
93
93
|
reversed: boolean;
|
|
94
94
|
spin: boolean;
|
|
95
95
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
96
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
96
97
|
declare const _default: typeof __VLS_export;
|
|
97
98
|
export default _default;
|
|
99
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
100
|
+
new (): {
|
|
101
|
+
$slots: S;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
@@ -81,8 +81,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
81
81
|
}>, {
|
|
82
82
|
mode: PlaceTypes;
|
|
83
83
|
disabled: boolean;
|
|
84
|
-
countries: string[];
|
|
85
84
|
placeholder: string;
|
|
85
|
+
countries: string[];
|
|
86
86
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
87
87
|
declare const _default: typeof __VLS_export;
|
|
88
88
|
export default _default;
|
|
@@ -81,8 +81,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
81
81
|
}>, {
|
|
82
82
|
mode: PlaceTypes;
|
|
83
83
|
disabled: boolean;
|
|
84
|
-
countries: string[];
|
|
85
84
|
placeholder: string;
|
|
85
|
+
countries: string[];
|
|
86
86
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
87
87
|
declare const _default: typeof __VLS_export;
|
|
88
88
|
export default _default;
|
|
@@ -203,7 +203,7 @@ function emitSearch() {
|
|
|
203
203
|
<BTr>
|
|
204
204
|
<BTd v-if="hasDetailsSlot" class="p-0 w-25px">
|
|
205
205
|
<BButton
|
|
206
|
-
class="w-25px h-100 rounded-0 p-0
|
|
206
|
+
class="w-25px h-100 rounded-0 p-0 border-end border-dashed"
|
|
207
207
|
size="sm"
|
|
208
208
|
variant="none"
|
|
209
209
|
@click="toggleDetails(item)">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@merkaly/nuxt",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/merkaly-io/nuxt.git"
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"test:watch": "vitest watch"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@auth0/auth0-spa-js": "^2.
|
|
45
|
+
"@auth0/auth0-spa-js": "^2.17.0",
|
|
46
46
|
"@bootstrap-vue-next/nuxt": "^0.43.0",
|
|
47
47
|
"@nuxt/devtools": "^3.2.1",
|
|
48
48
|
"@nuxt/eslint": "1.15.1",
|
|
49
49
|
"@nuxt/eslint-config": "^1.15.1",
|
|
50
50
|
"@nuxt/fonts": "0.14.0",
|
|
51
51
|
"@nuxt/image": "^2.0.0",
|
|
52
|
-
"@nuxt/kit": "^4.
|
|
52
|
+
"@nuxt/kit": "^4.4.2",
|
|
53
53
|
"@nuxtjs/plausible": "^3.0.1",
|
|
54
54
|
"@types/node": "latest",
|
|
55
55
|
"@types/vue-select": "^3.16.8",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"bootstrap-vue-next": "^0.43.0",
|
|
62
62
|
"change-case": "^5",
|
|
63
63
|
"class-transformer": "^0.5.1",
|
|
64
|
-
"class-validator": "^0.
|
|
64
|
+
"class-validator": "^0.15.1",
|
|
65
65
|
"eslint": "^9.39.1",
|
|
66
66
|
"filesize": "^11.0.2",
|
|
67
|
-
"nuxt": "^4.
|
|
67
|
+
"nuxt": "^4.4.2",
|
|
68
68
|
"reflect-metadata": "^0.2.2",
|
|
69
|
-
"sass": "^1.
|
|
69
|
+
"sass": "^1.98.0",
|
|
70
70
|
"typescript": "~5.9.3",
|
|
71
71
|
"v-money3": "^3.24.1",
|
|
72
72
|
"vite-svg-loader": "^5.1.0",
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@nuxt/module-builder": "^1.0.2",
|
|
79
|
-
"@nuxt/schema": "^4.
|
|
79
|
+
"@nuxt/schema": "^4.4.2",
|
|
80
80
|
"@nuxt/test-utils": "^4.0.0",
|
|
81
81
|
"changelogen": "^0.6.2",
|
|
82
82
|
"eslint-plugin-storybook": "^10.1.11",
|
|
83
|
-
"vitest": "^4.0
|
|
83
|
+
"vitest": "^4.1.0",
|
|
84
84
|
"vue-tsc": "^3.2.1"
|
|
85
85
|
},
|
|
86
86
|
"optionalDependencies": {
|