@wisemen/vue-core-components 1.5.3 → 1.5.5
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/{AlertCircleIcon-CAI875i_.js → AlertCircleIcon-Db1eFEVE.js} +1 -1
- package/dist/AlertTriangleIcon-BS8P9dko.js +24 -0
- package/dist/{ArrowDownIcon-BKDnOZw0.js → ArrowDownIcon-COOg5BGH.js} +1 -1
- package/dist/{ArrowLeftIcon-CBc5LZTd.js → ArrowLeftIcon-l0zrplco.js} +1 -1
- package/dist/{ArrowRightIcon-6tSoyW26.js → ArrowRightIcon-BGfazYOC.js} +1 -1
- package/dist/{ArrowUpIcon-tZccou4Q.js → ArrowUpIcon-DgZGXtUT.js} +1 -1
- package/dist/{CalendarIcon-BFyon0sr.js → CalendarIcon-C5ZuHzrW.js} +1 -1
- package/dist/{CheckCircleIcon-o86pw669.js → CheckCircleIcon-Dl2ugKb1.js} +1 -1
- package/dist/{CheckIcon-BJ-LROqY.js → CheckIcon-HTWHeEZp.js} +1 -1
- package/dist/{ChevronLeftDoubleIcon-C8JOJk79.js → ChevronLeftDoubleIcon-ZoHd4T44.js} +1 -1
- package/dist/{ChevronLeftIcon-CtXh_vN0.js → ChevronLeftIcon-BeO0sDwr.js} +1 -1
- package/dist/{ChevronRightDoubleIcon-Brl7fAS7.js → ChevronRightDoubleIcon-BdgffOF8.js} +1 -1
- package/dist/{ChevronRightIcon-Cks8B81U.js → ChevronRightIcon-C4m5LsJe.js} +1 -1
- package/dist/{CloseIcon-B0gK1Ou8.js → CloseIcon-mJ7e-OeI.js} +1 -1
- package/dist/{EyeIcon-DFjHJbTJ.js → EyeIcon-BJv96FIw.js} +1 -1
- package/dist/{EyeOffIcon-ZoSG0Aij.js → EyeOffIcon-Dinv6Vot.js} +1 -1
- package/dist/{InfoCircleIcon-CQu5nLMs.js → InfoCircleIcon-Bjo6rLyX.js} +1 -1
- package/dist/{MinusIcon-CihagYaW.js → MinusIcon-CnbVK7V6.js} +1 -1
- package/dist/{PlusIcon-C9z7hlEe.js → PlusIcon-3VGYibUf.js} +1 -1
- package/dist/{SearchIcon-Dzzb2JN9.js → SearchIcon-D2Xg6acy.js} +1 -1
- package/dist/{SelectIconRight-CujZz4Za.js → SelectIconRight-B8xAq4GL.js} +1 -1
- package/dist/{StarsIcon-DaJr238N.js → StarsIcon-5_UArOlj.js} +1 -1
- package/dist/{SwitchVerticalIcon-JMNIeT6a.js → SwitchVerticalIcon-9JtELxWS.js} +1 -1
- package/dist/{TranslateIcon-CgtmwbrJ.js → TranslateIcon-ksZu32tC.js} +1 -1
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/form-field/formField.style.d.ts +3 -0
- package/dist/components/form-field/parts/FormFieldRoot.d.ts +1 -0
- package/dist/components/number-field/parts/NumberFieldRoot.d.ts +1 -1
- package/dist/components/select/style/select.style.d.ts +3 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/textarea/parts/TextareaRoot.d.ts +1 -1
- package/dist/components/time-field/TimeField.d.ts +17 -25
- package/dist/components/time-field/parts/TimeFieldRoot.d.ts +17 -47
- package/dist/composables/appearance/appearance.composable.d.ts +2 -1
- package/dist/icons/AlertTriangleIcon.d.ts +2 -0
- package/dist/icons/icons.d.ts +1 -0
- package/dist/{index-rJHhNScb.js → index-J-EP8TMW.js} +2210 -2185
- package/dist/index.js +18 -17
- package/dist/index.umd +5 -5
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
import { _ as n } from "./index-J-EP8TMW.js";
|
|
3
|
+
const s = {}, l = {
|
|
4
|
+
width: "100%",
|
|
5
|
+
height: "100%",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function i(c, e) {
|
|
11
|
+
return t(), o("svg", l, e[0] || (e[0] = [
|
|
12
|
+
r("path", {
|
|
13
|
+
d: "M11.9998 8.99999V13M11.9998 17H12.0098M10.6151 3.89171L2.39019 18.0983C1.93398 18.8863 1.70588 19.2803 1.73959 19.6037C1.769 19.8857 1.91677 20.142 2.14613 20.3088C2.40908 20.5 2.86435 20.5 3.77487 20.5H20.2246C21.1352 20.5 21.5904 20.5 21.8534 20.3088C22.0827 20.142 22.2305 19.8857 22.2599 19.6037C22.2936 19.2803 22.0655 18.8863 21.6093 18.0983L13.3844 3.89171C12.9299 3.10654 12.7026 2.71396 12.4061 2.58211C12.1474 2.4671 11.8521 2.4671 11.5935 2.58211C11.2969 2.71396 11.0696 3.10655 10.6151 3.89171Z",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
"stroke-width": "2",
|
|
16
|
+
"stroke-linecap": "round",
|
|
17
|
+
"stroke-linejoin": "round"
|
|
18
|
+
}, null, -1)
|
|
19
|
+
]));
|
|
20
|
+
}
|
|
21
|
+
const _ = /* @__PURE__ */ n(s, [["render", i]]);
|
|
22
|
+
export {
|
|
23
|
+
_ as default
|
|
24
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { useDialog as useVcDialog } from './dialog.composable';
|
|
2
2
|
export type { DialogProps as VcDialogProps } from './dialog.props';
|
|
3
|
+
export type { DialogTriggerProps as VcDialogTriggerProps } from './dialog.type';
|
|
3
4
|
export { default as VcDialog } from './Dialog';
|
|
4
5
|
export { default as VcDialogContainer } from './DialogContainer';
|
|
5
6
|
export { default as VcDialogCloseButton } from './parts/DialogCloseButton';
|
|
@@ -4,6 +4,7 @@ export declare const createFormFieldStyle: import('tailwind-variants').TVReturnT
|
|
|
4
4
|
}, {
|
|
5
5
|
asterisk: string;
|
|
6
6
|
error: string;
|
|
7
|
+
errorIcon: string;
|
|
7
8
|
hint: string;
|
|
8
9
|
label: string;
|
|
9
10
|
labelContainer: string;
|
|
@@ -13,6 +14,7 @@ export declare const createFormFieldStyle: import('tailwind-variants').TVReturnT
|
|
|
13
14
|
}, {
|
|
14
15
|
asterisk: string;
|
|
15
16
|
error: string;
|
|
17
|
+
errorIcon: string;
|
|
16
18
|
hint: string;
|
|
17
19
|
label: string;
|
|
18
20
|
labelContainer: string;
|
|
@@ -22,6 +24,7 @@ export declare const createFormFieldStyle: import('tailwind-variants').TVReturnT
|
|
|
22
24
|
}, {
|
|
23
25
|
asterisk: string;
|
|
24
26
|
error: string;
|
|
27
|
+
errorIcon: string;
|
|
25
28
|
hint: string;
|
|
26
29
|
label: string;
|
|
27
30
|
labelContainer: string;
|
|
@@ -19,6 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<FormFieldProps, {},
|
|
|
19
19
|
classConfig: {
|
|
20
20
|
asterisk?: string | undefined;
|
|
21
21
|
error?: string | undefined;
|
|
22
|
+
errorIcon?: string | undefined;
|
|
22
23
|
hint?: string | undefined;
|
|
23
24
|
label?: string | undefined;
|
|
24
25
|
labelContainer?: string | undefined;
|
|
@@ -28,8 +28,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
28
28
|
iconRight: import('../../..').Icon | null;
|
|
29
29
|
label: string | null;
|
|
30
30
|
hint: string | null;
|
|
31
|
-
isLoading: boolean;
|
|
32
31
|
placeholder: string | null;
|
|
32
|
+
isLoading: boolean;
|
|
33
33
|
testId: string | null;
|
|
34
34
|
isDisabled: boolean;
|
|
35
35
|
id: string | null;
|
|
@@ -15,6 +15,7 @@ export declare const createSelectStyle: import('tailwind-variants').TVReturnType
|
|
|
15
15
|
item: string;
|
|
16
16
|
itemIndicator: string;
|
|
17
17
|
loader: string;
|
|
18
|
+
placeholder: string;
|
|
18
19
|
root: string;
|
|
19
20
|
searchInput: string;
|
|
20
21
|
separator: string;
|
|
@@ -34,6 +35,7 @@ export declare const createSelectStyle: import('tailwind-variants').TVReturnType
|
|
|
34
35
|
item: string;
|
|
35
36
|
itemIndicator: string;
|
|
36
37
|
loader: string;
|
|
38
|
+
placeholder: string;
|
|
37
39
|
root: string;
|
|
38
40
|
searchInput: string;
|
|
39
41
|
separator: string;
|
|
@@ -53,6 +55,7 @@ export declare const createSelectStyle: import('tailwind-variants').TVReturnType
|
|
|
53
55
|
item: string;
|
|
54
56
|
itemIndicator: string;
|
|
55
57
|
loader: string;
|
|
58
|
+
placeholder: string;
|
|
56
59
|
root: string;
|
|
57
60
|
searchInput: string;
|
|
58
61
|
separator: string;
|
|
@@ -9,3 +9,4 @@ export { default as VcTabsIndicator } from './shared/parts/TabsIndicator';
|
|
|
9
9
|
export { default as VcTabsList } from './shared/parts/TabsList';
|
|
10
10
|
export { default as VcTabsRoot } from './shared/parts/TabsRoot';
|
|
11
11
|
export type { RouterLinkTabsItemProps as VcRouterLinkTabsItemProps, TabsProps as VcTabsProps, } from './shared/tabs.props';
|
|
12
|
+
export { createTabsStyle } from './shared/tabs.style';
|
|
@@ -25,8 +25,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
25
25
|
variant: null;
|
|
26
26
|
label: string | null;
|
|
27
27
|
hint: string | null;
|
|
28
|
-
resize: "auto-vertical" | "both" | "horizontal" | "none" | "vertical";
|
|
29
28
|
placeholder: string | null;
|
|
29
|
+
resize: "auto-vertical" | "both" | "horizontal" | "none" | "vertical";
|
|
30
30
|
testId: string | null;
|
|
31
31
|
isDisabled: boolean;
|
|
32
32
|
id: string | null;
|
|
@@ -1,30 +1,22 @@
|
|
|
1
|
+
import { TimeFieldEmits } from './timeField.emits';
|
|
1
2
|
import { TimeFieldProps } from './timeField.props';
|
|
2
3
|
import { TimeFieldSlots } from './timeField.slots';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
declare const _default: <TValue extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
|
+
readonly onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
7
|
+
readonly onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
8
|
+
readonly "onUpdate:modelValue"?: ((value: TValue | null) => any) | undefined;
|
|
9
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onUpdate:modelValue"> & ({
|
|
10
|
+
modelValue: TValue | null;
|
|
11
|
+
} & TimeFieldProps) & Partial<{}>> & import('vue').PublicProps;
|
|
12
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
13
|
+
attrs: any;
|
|
9
14
|
slots: Readonly<TimeFieldSlots> & TimeFieldSlots;
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
emit: TimeFieldEmits & ((evt: "update:modelValue", value: TValue | null) => void);
|
|
16
|
+
}>) => import('vue').VNode & {
|
|
17
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
12
18
|
};
|
|
13
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
-
"update:modelValue": (value: string | null) => any;
|
|
16
|
-
} & {
|
|
17
|
-
focus: (e: FocusEvent) => any;
|
|
18
|
-
blur: (e: FocusEvent) => any;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
-
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
21
|
-
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
22
|
-
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
23
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
19
|
export default _default;
|
|
26
|
-
type
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
30
|
-
};
|
|
20
|
+
type __VLS_PrettifyLocal<T> = {
|
|
21
|
+
[K in keyof T]: T[K];
|
|
22
|
+
} & {};
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
+
import { TimeFieldEmits } from '../timeField.emits';
|
|
1
2
|
import { TimeFieldProps } from '../timeField.props';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
declare const _default: <TValue extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
+
readonly onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
6
|
+
readonly onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
7
|
+
readonly "onUpdate:modelValue"?: ((value: TValue | null) => any) | undefined;
|
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onUpdate:modelValue"> & ({
|
|
9
|
+
modelValue: TValue | null;
|
|
10
|
+
} & TimeFieldProps) & Partial<{}>> & import('vue').PublicProps;
|
|
11
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
12
|
+
attrs: any;
|
|
8
13
|
slots: {
|
|
9
14
|
default?(_: {
|
|
10
15
|
segments: {
|
|
@@ -13,46 +18,11 @@ declare function __VLS_template(): {
|
|
|
13
18
|
}[];
|
|
14
19
|
}): any;
|
|
15
20
|
};
|
|
16
|
-
|
|
17
|
-
|
|
21
|
+
emit: TimeFieldEmits & ((evt: "update:modelValue", value: TValue | null) => void);
|
|
22
|
+
}>) => import('vue').VNode & {
|
|
23
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
24
|
};
|
|
19
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (value: string | null) => any;
|
|
22
|
-
} & {
|
|
23
|
-
focus: (e: FocusEvent) => any;
|
|
24
|
-
blur: (e: FocusEvent) => any;
|
|
25
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
|
-
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
27
|
-
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
28
|
-
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
29
|
-
}>, {
|
|
30
|
-
variant: null;
|
|
31
|
-
iconLeft: import('../../..').Icon | null;
|
|
32
|
-
iconRight: import('../../..').Icon | null;
|
|
33
|
-
label: string | null;
|
|
34
|
-
hint: string | null;
|
|
35
|
-
isLoading: boolean;
|
|
36
|
-
testId: string | null;
|
|
37
|
-
isDisabled: boolean;
|
|
38
|
-
id: string | null;
|
|
39
|
-
isRequired: boolean;
|
|
40
|
-
isTouched: boolean;
|
|
41
|
-
errorMessage: string | null;
|
|
42
|
-
classConfig: {
|
|
43
|
-
iconLeft?: string | undefined;
|
|
44
|
-
iconRight?: string | undefined;
|
|
45
|
-
input?: string | undefined;
|
|
46
|
-
inputs?: string | undefined;
|
|
47
|
-
loader?: string | undefined;
|
|
48
|
-
root?: string | undefined;
|
|
49
|
-
} | null;
|
|
50
|
-
autocomplete: "off" | "on";
|
|
51
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
52
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
25
|
export default _default;
|
|
54
|
-
type
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
};
|
|
58
|
-
};
|
|
26
|
+
type __VLS_PrettifyLocal<T> = {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} & {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
export type Appearance = 'dark' | 'light' | 'system';
|
|
3
3
|
/**
|
|
4
|
-
* @deprecated -
|
|
4
|
+
* @deprecated - `useAppearance` has been deprecated. Please use `useStorage`
|
|
5
|
+
* directly in your project moving forward. It will be removed in the next major version.
|
|
5
6
|
*/
|
|
6
7
|
export declare function useAppearance(): Ref<Appearance>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|