@nexxtmove/ui 0.1.62 → 0.1.64
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.d.ts +28 -27
- package/dist/index.js +1808 -1687
- package/package.json +1 -1
- package/src/components/Calendar/Calendar.vue +4 -0
- package/src/components/Calendar/_CalendarTimePicker.vue +98 -0
- package/src/components/Calendar/calendar.types.ts +1 -0
- package/src/components/DatePicker/DatePicker.vue +1 -1
- package/src/components/InputField/InputField.vue +38 -4
- package/src/components/Select/Select.vue +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -32,9 +32,9 @@ declare const __VLS_component: DefineComponent<NexxtButtonProps, {}, {}, {}, {},
|
|
|
32
32
|
declare const __VLS_component_10: DefineComponent<NexxtInfoBlockProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtInfoBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
33
33
|
|
|
34
34
|
declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
35
|
-
"update:modelValue": (value: string) => any;
|
|
35
|
+
"update:modelValue": (value: string | number) => any;
|
|
36
36
|
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
37
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
37
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
38
38
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
39
39
|
|
|
40
40
|
declare const __VLS_component_12: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -145,7 +145,7 @@ inputFieldRef: ({
|
|
|
145
145
|
$: ComponentInternalInstance;
|
|
146
146
|
$data: {};
|
|
147
147
|
$props: {
|
|
148
|
-
readonly modelValue?: string | undefined;
|
|
148
|
+
readonly modelValue?: string | number | undefined;
|
|
149
149
|
readonly placeholder?: string | undefined;
|
|
150
150
|
readonly label?: string | undefined;
|
|
151
151
|
readonly error?: boolean | undefined;
|
|
@@ -153,7 +153,7 @@ readonly errorMessage?: string | undefined;
|
|
|
153
153
|
readonly leftIcon?: InstanceType<typeof NexxtIcon>["name"] | undefined;
|
|
154
154
|
readonly rightIcon?: InstanceType<typeof NexxtIcon>["name"] | undefined;
|
|
155
155
|
readonly required?: boolean | undefined;
|
|
156
|
-
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
156
|
+
readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
157
157
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
158
158
|
$attrs: {
|
|
159
159
|
[x: string]: unknown;
|
|
@@ -167,14 +167,14 @@ $slots: Readonly<{
|
|
|
167
167
|
$root: ComponentPublicInstance | null;
|
|
168
168
|
$parent: ComponentPublicInstance | null;
|
|
169
169
|
$host: Element | null;
|
|
170
|
-
$emit: (event: "update:modelValue", value: string) => void;
|
|
170
|
+
$emit: (event: "update:modelValue", value: string | number) => void;
|
|
171
171
|
$el: HTMLDivElement;
|
|
172
172
|
$options: ComponentOptionsBase<Readonly<{
|
|
173
|
-
modelValue?: string;
|
|
173
|
+
modelValue?: string | number;
|
|
174
174
|
} & NexxtInputFieldProps> & Readonly<{
|
|
175
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
175
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
176
176
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
177
|
-
"update:modelValue": (value: string) => any;
|
|
177
|
+
"update:modelValue": (value: string | number) => any;
|
|
178
178
|
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
179
179
|
beforeCreate?: (() => void) | (() => void)[];
|
|
180
180
|
created?: (() => void) | (() => void)[];
|
|
@@ -196,9 +196,9 @@ $forceUpdate: () => void;
|
|
|
196
196
|
$nextTick: typeof nextTick;
|
|
197
197
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
198
198
|
} & Readonly<{}> & Omit<Readonly<{
|
|
199
|
-
modelValue?: string;
|
|
199
|
+
modelValue?: string | number;
|
|
200
200
|
} & NexxtInputFieldProps> & Readonly<{
|
|
201
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
201
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
202
202
|
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
203
203
|
$slots: {
|
|
204
204
|
right?(_: {}): any;
|
|
@@ -428,7 +428,7 @@ declare type __VLS_PublicProps_3 = {
|
|
|
428
428
|
} & __VLS_Props_4;
|
|
429
429
|
|
|
430
430
|
declare type __VLS_PublicProps_4 = {
|
|
431
|
-
modelValue?: string;
|
|
431
|
+
modelValue?: string | number;
|
|
432
432
|
} & __VLS_Props_5;
|
|
433
433
|
|
|
434
434
|
declare type __VLS_PublicProps_5 = {
|
|
@@ -573,7 +573,7 @@ declare function __VLS_template_4(): {
|
|
|
573
573
|
$: ComponentInternalInstance;
|
|
574
574
|
$data: {};
|
|
575
575
|
$props: {
|
|
576
|
-
readonly modelValue?: string | undefined;
|
|
576
|
+
readonly modelValue?: string | number | undefined;
|
|
577
577
|
readonly placeholder?: string | undefined;
|
|
578
578
|
readonly label?: string | undefined;
|
|
579
579
|
readonly error?: boolean | undefined;
|
|
@@ -581,7 +581,7 @@ declare function __VLS_template_4(): {
|
|
|
581
581
|
readonly leftIcon?: InstanceType<typeof NexxtIcon>["name"] | undefined;
|
|
582
582
|
readonly rightIcon?: InstanceType<typeof NexxtIcon>["name"] | undefined;
|
|
583
583
|
readonly required?: boolean | undefined;
|
|
584
|
-
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
584
|
+
readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
585
585
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
586
586
|
$attrs: {
|
|
587
587
|
[x: string]: unknown;
|
|
@@ -595,14 +595,14 @@ declare function __VLS_template_4(): {
|
|
|
595
595
|
$root: ComponentPublicInstance | null;
|
|
596
596
|
$parent: ComponentPublicInstance | null;
|
|
597
597
|
$host: Element | null;
|
|
598
|
-
$emit: (event: "update:modelValue", value: string) => void;
|
|
598
|
+
$emit: (event: "update:modelValue", value: string | number) => void;
|
|
599
599
|
$el: HTMLDivElement;
|
|
600
600
|
$options: ComponentOptionsBase<Readonly<{
|
|
601
|
-
modelValue?: string;
|
|
601
|
+
modelValue?: string | number;
|
|
602
602
|
} & NexxtInputFieldProps> & Readonly<{
|
|
603
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
603
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
604
604
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
605
|
-
"update:modelValue": (value: string) => any;
|
|
605
|
+
"update:modelValue": (value: string | number) => any;
|
|
606
606
|
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
607
607
|
beforeCreate?: (() => void) | (() => void)[];
|
|
608
608
|
created?: (() => void) | (() => void)[];
|
|
@@ -624,9 +624,9 @@ declare function __VLS_template_4(): {
|
|
|
624
624
|
$nextTick: typeof nextTick;
|
|
625
625
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
626
626
|
} & Readonly<{}> & Omit<Readonly<{
|
|
627
|
-
modelValue?: string;
|
|
627
|
+
modelValue?: string | number;
|
|
628
628
|
} & NexxtInputFieldProps> & Readonly<{
|
|
629
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
629
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
630
630
|
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
631
631
|
$slots: {
|
|
632
632
|
right?(_: {}): any;
|
|
@@ -1030,6 +1030,7 @@ declare interface NexxtCalendarProps {
|
|
|
1030
1030
|
maxDate?: Date;
|
|
1031
1031
|
monthYearPicker?: boolean;
|
|
1032
1032
|
timezone?: string;
|
|
1033
|
+
datetime?: boolean;
|
|
1033
1034
|
}
|
|
1034
1035
|
|
|
1035
1036
|
export declare const NexxtCard: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
@@ -1110,7 +1111,7 @@ inputFieldRef: ({
|
|
|
1110
1111
|
$: ComponentInternalInstance;
|
|
1111
1112
|
$data: {};
|
|
1112
1113
|
$props: {
|
|
1113
|
-
readonly modelValue?: string | undefined;
|
|
1114
|
+
readonly modelValue?: string | number | undefined;
|
|
1114
1115
|
readonly placeholder?: string | undefined;
|
|
1115
1116
|
readonly label?: string | undefined;
|
|
1116
1117
|
readonly error?: boolean | undefined;
|
|
@@ -1118,7 +1119,7 @@ readonly errorMessage?: string | undefined;
|
|
|
1118
1119
|
readonly leftIcon?: InstanceType<typeof NexxtIcon>["name"] | undefined;
|
|
1119
1120
|
readonly rightIcon?: InstanceType<typeof NexxtIcon>["name"] | undefined;
|
|
1120
1121
|
readonly required?: boolean | undefined;
|
|
1121
|
-
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1122
|
+
readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
1122
1123
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1123
1124
|
$attrs: {
|
|
1124
1125
|
[x: string]: unknown;
|
|
@@ -1132,14 +1133,14 @@ $slots: Readonly<{
|
|
|
1132
1133
|
$root: ComponentPublicInstance | null;
|
|
1133
1134
|
$parent: ComponentPublicInstance | null;
|
|
1134
1135
|
$host: Element | null;
|
|
1135
|
-
$emit: (event: "update:modelValue", value: string) => void;
|
|
1136
|
+
$emit: (event: "update:modelValue", value: string | number) => void;
|
|
1136
1137
|
$el: HTMLDivElement;
|
|
1137
1138
|
$options: ComponentOptionsBase<Readonly<{
|
|
1138
|
-
modelValue?: string;
|
|
1139
|
+
modelValue?: string | number;
|
|
1139
1140
|
} & NexxtInputFieldProps> & Readonly<{
|
|
1140
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1141
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
1141
1142
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1142
|
-
"update:modelValue": (value: string) => any;
|
|
1143
|
+
"update:modelValue": (value: string | number) => any;
|
|
1143
1144
|
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1144
1145
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1145
1146
|
created?: (() => void) | (() => void)[];
|
|
@@ -1161,9 +1162,9 @@ $forceUpdate: () => void;
|
|
|
1161
1162
|
$nextTick: nextTick;
|
|
1162
1163
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1163
1164
|
} & Readonly<{}> & Omit<Readonly<{
|
|
1164
|
-
modelValue?: string;
|
|
1165
|
+
modelValue?: string | number;
|
|
1165
1166
|
} & NexxtInputFieldProps> & Readonly<{
|
|
1166
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1167
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
1167
1168
|
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
1168
1169
|
$slots: {
|
|
1169
1170
|
right?(_: {}): any;
|