@tb-dev/vue-components 7.1.14 → 7.1.15
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/index.js
CHANGED
|
@@ -5484,12 +5484,18 @@ var NumberField_default = /* @__PURE__ */ defineComponent({
|
|
|
5484
5484
|
setup(__props, { emit: __emit }) {
|
|
5485
5485
|
const props = __props;
|
|
5486
5486
|
const emits = __emit;
|
|
5487
|
-
const forwarded = useForwardPropsEmits$1(reactiveOmit(props, "class"), emits);
|
|
5488
|
-
return (_ctx, _cache) => {
|
|
5489
|
-
return openBlock(), createBlock(unref(NumberFieldRoot), mergeProps(unref(forwarded), {
|
|
5490
|
-
|
|
5487
|
+
const forwarded = useForwardPropsEmits$1(reactiveOmit(props, "class", "formatOptions"), emits);
|
|
5488
|
+
return (_ctx, _cache) => {
|
|
5489
|
+
return openBlock(), createBlock(unref(NumberFieldRoot), mergeProps(unref(forwarded), {
|
|
5490
|
+
"format-options": {
|
|
5491
|
+
useGrouping: false,
|
|
5492
|
+
...props.formatOptions ?? {}
|
|
5493
|
+
},
|
|
5494
|
+
class: unref(cn)("grid gap-1.5", props.class)
|
|
5495
|
+
}), {
|
|
5496
|
+
default: withCtx((slotProps) => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps)))]),
|
|
5491
5497
|
_: 3
|
|
5492
|
-
}, 16, ["class"]);
|
|
5498
|
+
}, 16, ["format-options", "class"]);
|
|
5493
5499
|
};
|
|
5494
5500
|
}
|
|
5495
5501
|
});
|
|
@@ -6,7 +6,11 @@ type __VLS_Props = NumberFieldRootProps & {
|
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
7
|
attrs: Partial<{}>;
|
|
8
8
|
slots: {
|
|
9
|
-
default?(_: {
|
|
9
|
+
default?(_: {
|
|
10
|
+
modelValue: number | undefined;
|
|
11
|
+
textValue: string;
|
|
12
|
+
readonly: boolean;
|
|
13
|
+
}): any;
|
|
10
14
|
};
|
|
11
15
|
refs: {};
|
|
12
16
|
rootEl: any;
|
|
@@ -9,12 +9,12 @@ declare function __VLS_template(): {
|
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<SplitterPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
-
collapse: () => any;
|
|
13
12
|
expand: () => any;
|
|
13
|
+
collapse: () => any;
|
|
14
14
|
resize: (size: number, prevSize: number | undefined) => any;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<SplitterPanelProps> & Readonly<{
|
|
16
|
-
onCollapse?: (() => any) | undefined;
|
|
17
16
|
onExpand?: (() => any) | undefined;
|
|
17
|
+
onCollapse?: (() => any) | undefined;
|
|
18
18
|
onResize?: ((size: number, prevSize: number | undefined) => any) | undefined;
|
|
19
19
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/vue-components",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.15",
|
|
4
4
|
"description": "Vue components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"@tanstack/vue-table": "^8.21.3",
|
|
28
28
|
"@tb-dev/utils": "^7.3.16",
|
|
29
29
|
"@tb-dev/vue": "^4.0.18",
|
|
30
|
-
"@tb-dev/vue-sonner": "^0.
|
|
30
|
+
"@tb-dev/vue-sonner": "^1.0.0",
|
|
31
31
|
"@vueuse/core": "^14.2.1",
|
|
32
32
|
"class-variance-authority": "^0.7.1",
|
|
33
33
|
"clsx": "^2.1.1",
|
|
34
|
-
"reka-ui": "^2.9.
|
|
34
|
+
"reka-ui": "^2.9.5",
|
|
35
35
|
"tailwind-merge": "^3.5.0",
|
|
36
36
|
"tw-animate-css": "^1.4.0",
|
|
37
37
|
"vaul-vue": "^0.4.1",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"tailwindcss": "^4.2.2",
|
|
48
48
|
"tslib": "^2.8.1",
|
|
49
49
|
"typescript": "~6.0.2",
|
|
50
|
-
"vite": "^8.0.
|
|
50
|
+
"vite": "^8.0.7",
|
|
51
51
|
"vite-plugin-dts": "^4.5.4",
|
|
52
52
|
"vue-tsc": "^3.2.6"
|
|
53
53
|
},
|