bitboss-ui 2.0.3 → 2.0.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/components/BaseDatePicker/BaseDatePicker.vue.d.ts +10 -99
- package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +24 -0
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +56 -0
- package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +21 -0
- package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +21 -0
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +1 -46
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -47
- package/dist/components/BbTab/BbTab.vue.d.ts +9 -0
- package/dist/components/Transitions/Slide.vue.d.ts +43 -0
- package/dist/components/Transitions/SlideBack.vue.d.ts +43 -0
- package/dist/composables/useLogger.d.ts +1 -0
- package/dist/index103.js +150 -126
- package/dist/index103.js.map +1 -1
- package/dist/index105.js +5 -5
- package/dist/index113.js +1 -1
- package/dist/index115.js +5 -5
- package/dist/index115.js.map +1 -1
- package/dist/index117.js +1 -1
- package/dist/index12.js +1 -1
- package/dist/index121.js +1 -1
- package/dist/index122.js +1 -1
- package/dist/index123.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index14.js +3 -3
- package/dist/index16.js +2 -2
- package/dist/index18.js +176 -482
- package/dist/index18.js.map +1 -1
- package/dist/index198.js +3 -5
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +5 -158
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +199 -190
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +16 -84
- package/dist/index200.js.map +1 -1
- package/dist/{index223.js → index201.js} +3 -3
- package/dist/{index223.js.map → index201.js.map} +1 -1
- package/dist/index202.js +19 -3
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +19 -3
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +26 -34
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +3 -6
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +2 -7
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +8 -2
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +245 -122
- package/dist/index208.js.map +1 -1
- package/dist/index210.js +51 -122
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +37 -19
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -2
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +41 -2
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +2 -174
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +4 -42
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +5 -0
- package/dist/index216.js.map +1 -0
- package/dist/index217.js +2 -13
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +42 -369
- package/dist/index218.js.map +1 -1
- package/dist/index22.js +5 -5
- package/dist/index220.js +13 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +158 -2
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +84 -16
- package/dist/index222.js.map +1 -1
- package/dist/index224.js +3 -19
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +34 -26
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +6 -8
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +7 -2
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +126 -3
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +123 -3
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +2 -18
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +173 -105
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +8 -0
- package/dist/index232.js.map +1 -0
- package/dist/index233.js +367 -98
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +6 -0
- package/dist/index234.js.map +1 -0
- package/dist/index235.js +17 -9
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +106 -3
- package/dist/index236.js.map +1 -1
- package/dist/index238.js +100 -23
- package/dist/index238.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +2 -16
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +10 -9
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +3 -3
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +224 -12
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +280 -8
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +6 -9
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +2 -17
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +2 -224
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +2 -431
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +2 -89
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +2 -281
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +2 -6
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +3 -2
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +2 -2
- package/dist/index254.js +2 -2
- package/dist/index255.js +2 -126
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +28 -3
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +25 -0
- package/dist/index257.js.map +1 -0
- package/dist/index259.js +6 -3
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +3 -3
- package/dist/index260.js +4 -2
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +8 -68
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +23 -200
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +3 -5
- package/dist/index263.js.map +1 -1
- package/dist/index265.js +6 -127
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +16 -2
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +9 -2
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +3 -2
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +12 -2
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +7 -26
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +9 -3
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +17 -3
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +426 -206
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +92 -0
- package/dist/index274.js.map +1 -0
- package/dist/index275.js +2 -4
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +69 -4
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +5 -59
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +200 -15
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +2 -35
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +2 -2
- package/dist/index280.js +125 -10
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +21 -1
- package/dist/index281.js.map +1 -1
- package/dist/{index264.js → index283.js} +2 -2
- package/dist/{index264.js.map → index283.js.map} +1 -1
- package/dist/index284.js +123 -417
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +3 -47
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +6 -0
- package/dist/index286.js.map +1 -0
- package/dist/index287.js +214 -0
- package/dist/index287.js.map +1 -0
- package/dist/index289.js +18 -0
- package/dist/index289.js.map +1 -0
- package/dist/index290.js +10 -0
- package/dist/index290.js.map +1 -0
- package/dist/index291.js +22 -0
- package/dist/index291.js.map +1 -0
- package/dist/index292.js +10 -0
- package/dist/index292.js.map +1 -0
- package/dist/index293.js +7 -0
- package/dist/index293.js.map +1 -0
- package/dist/index294.js +7 -0
- package/dist/index294.js.map +1 -0
- package/dist/index295.js +62 -0
- package/dist/index295.js.map +1 -0
- package/dist/index296.js +38 -0
- package/dist/index296.js.map +1 -0
- package/dist/index297.js +14 -0
- package/dist/index297.js.map +1 -0
- package/dist/index298.js +5 -0
- package/dist/index298.js.map +1 -0
- package/dist/{index282.js → index299.js} +3 -3
- package/dist/{index282.js.map → index299.js.map} +1 -1
- package/dist/index30.js +2 -2
- package/dist/index301.js +424 -0
- package/dist/index301.js.map +1 -0
- package/dist/index302.js +50 -0
- package/dist/index302.js.map +1 -0
- package/dist/index32.js +3 -3
- package/dist/index34.js +44 -42
- package/dist/index34.js.map +1 -1
- package/dist/index36.js +4 -4
- package/dist/index38.js +2 -2
- package/dist/index40.js +2 -2
- package/dist/index42.js +6 -6
- package/dist/index44.js +2 -2
- package/dist/index46.js +2 -2
- package/dist/index52.js +1 -1
- package/dist/index54.js +1 -1
- package/dist/index58.js +2 -2
- package/dist/index66.js +16 -23
- package/dist/index66.js.map +1 -1
- package/dist/index70.js +4 -4
- package/dist/index74.js +2 -2
- package/dist/index76.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index83.js +3 -3
- package/dist/index85.js +1 -1
- package/dist/style.css +1 -1
- package/dist/utilities/functions/chunk.d.ts +1 -0
- package/dist/utilities/functions/negative.d.ts +1 -0
- package/dist/utilities/functions/pipe.d.ts +3 -0
- package/dist/utilities/functions/range.d.ts +1 -0
- package/dist/utilities/functions/sort.d.ts +6 -0
- package/package.json +2 -2
- package/dist/index209.js +0 -8
- package/dist/index209.js.map +0 -1
- package/dist/index219.js +0 -5
- package/dist/index219.js.map +0 -1
- package/dist/index237.js +0 -12
- package/dist/index237.js.map +0 -1
- package/dist/index239.js +0 -9
- package/dist/index239.js.map +0 -1
- package/dist/index258.js +0 -10
- package/dist/index258.js.map +0 -1
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { default as dayjs, Dayjs } from 'dayjs';
|
|
2
1
|
import { default as it } from 'dayjs/locale/it';
|
|
3
|
-
import { InputHTMLAttributes } from 'vue';
|
|
4
2
|
|
|
5
3
|
export type BaseDatePickerProps = {
|
|
6
4
|
/**
|
|
7
5
|
* Disables the component
|
|
8
6
|
*/
|
|
9
7
|
disabled?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Shows or hides the header of the component
|
|
10
|
+
*/
|
|
11
|
+
header?: boolean;
|
|
10
12
|
/**
|
|
11
13
|
* Defines the first day of the week with `0` meaning Sunday and `6` meaning Saturday
|
|
12
14
|
*/
|
|
@@ -34,112 +36,26 @@ export type BaseDatePickerProps = {
|
|
|
34
36
|
/**
|
|
35
37
|
* Sets the input in a readonly state.
|
|
36
38
|
*/
|
|
37
|
-
readonly?:
|
|
39
|
+
readonly?: boolean;
|
|
38
40
|
/**
|
|
39
41
|
* Function that accepts a `Date` object and returns a boolean. `false` meaning the date cannot be selected
|
|
40
42
|
* @param date
|
|
41
43
|
*/
|
|
42
44
|
selectable?: (date: Date) => boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Width of the calendar
|
|
45
|
-
*/
|
|
46
|
-
width?: number | string;
|
|
47
45
|
};
|
|
48
|
-
|
|
49
|
-
buttonId: string;
|
|
50
|
-
current: boolean;
|
|
51
|
-
disabled: boolean;
|
|
52
|
-
first: boolean;
|
|
53
|
-
highlighted: boolean;
|
|
54
|
-
id: string;
|
|
55
|
-
label: string;
|
|
56
|
-
last: boolean;
|
|
57
|
-
middle: boolean;
|
|
58
|
-
original: Dayjs;
|
|
59
|
-
selected: boolean;
|
|
60
|
-
slotName: string;
|
|
61
|
-
today: boolean;
|
|
62
|
-
};
|
|
63
|
-
export type BaseDatePickerSlots = {
|
|
64
|
-
day?: (props: {
|
|
65
|
-
first: Cell['first'];
|
|
66
|
-
highlighted: Cell['highlighted'];
|
|
67
|
-
item: Cell['original'];
|
|
68
|
-
label: Cell['label'];
|
|
69
|
-
last: Cell['last'];
|
|
70
|
-
middle: Cell['middle'];
|
|
71
|
-
selected: Cell['selected'];
|
|
72
|
-
}) => any;
|
|
73
|
-
} & {
|
|
74
|
-
[key: string]: (props: {
|
|
75
|
-
first: Cell['first'];
|
|
76
|
-
highlighted: Cell['highlighted'];
|
|
77
|
-
item: Cell['original'];
|
|
78
|
-
label: Cell['label'];
|
|
79
|
-
last: Cell['last'];
|
|
80
|
-
middle: Cell['middle'];
|
|
81
|
-
selected: Cell['selected'];
|
|
82
|
-
}) => any;
|
|
83
|
-
};
|
|
84
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseDatePickerProps>, {
|
|
85
|
-
width: number;
|
|
46
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseDatePickerProps>, {
|
|
86
47
|
firstDayOfWeek: number;
|
|
87
48
|
}>, {
|
|
88
|
-
|
|
89
|
-
setSelectionModeToDay: () => string;
|
|
90
|
-
isDateDisabled: (date: dayjs.Dayjs) => boolean;
|
|
91
|
-
setCursor: (value: string | string[] | null) => void;
|
|
49
|
+
resetStatus: () => void;
|
|
92
50
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
93
|
-
"update:modelValue": (
|
|
51
|
+
"update:modelValue": (value: any) => void;
|
|
94
52
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseDatePickerProps>, {
|
|
95
|
-
width: number;
|
|
96
53
|
firstDayOfWeek: number;
|
|
97
54
|
}>>> & {
|
|
98
|
-
"onUpdate:modelValue"?: ((
|
|
55
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
99
56
|
}, {
|
|
100
|
-
width: string | number;
|
|
101
57
|
firstDayOfWeek: number;
|
|
102
|
-
}, {}
|
|
103
|
-
day?: ((props: {
|
|
104
|
-
first: boolean;
|
|
105
|
-
highlighted: boolean;
|
|
106
|
-
item: dayjs.Dayjs;
|
|
107
|
-
label: string;
|
|
108
|
-
last: boolean;
|
|
109
|
-
middle: boolean;
|
|
110
|
-
selected: boolean;
|
|
111
|
-
}) => any) | undefined;
|
|
112
|
-
} & {
|
|
113
|
-
[key: string]: (props: {
|
|
114
|
-
first: boolean;
|
|
115
|
-
highlighted: boolean;
|
|
116
|
-
item: dayjs.Dayjs;
|
|
117
|
-
label: string;
|
|
118
|
-
last: boolean;
|
|
119
|
-
middle: boolean;
|
|
120
|
-
selected: boolean;
|
|
121
|
-
}) => any;
|
|
122
|
-
}> & {
|
|
123
|
-
day?: ((props: {
|
|
124
|
-
first: boolean;
|
|
125
|
-
highlighted: boolean;
|
|
126
|
-
item: dayjs.Dayjs;
|
|
127
|
-
label: string;
|
|
128
|
-
last: boolean;
|
|
129
|
-
middle: boolean;
|
|
130
|
-
selected: boolean;
|
|
131
|
-
}) => any) | undefined;
|
|
132
|
-
} & {
|
|
133
|
-
[key: string]: (props: {
|
|
134
|
-
first: boolean;
|
|
135
|
-
highlighted: boolean;
|
|
136
|
-
item: dayjs.Dayjs;
|
|
137
|
-
label: string;
|
|
138
|
-
last: boolean;
|
|
139
|
-
middle: boolean;
|
|
140
|
-
selected: boolean;
|
|
141
|
-
}) => any;
|
|
142
|
-
}>;
|
|
58
|
+
}, {}>;
|
|
143
59
|
export default _default;
|
|
144
60
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
145
61
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -158,8 +74,3 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
158
74
|
type __VLS_Prettify<T> = {
|
|
159
75
|
[K in keyof T]: T[K];
|
|
160
76
|
} & {};
|
|
161
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
162
|
-
new (): {
|
|
163
|
-
$slots: S;
|
|
164
|
-
};
|
|
165
|
-
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
cursor: Dayjs;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
hidden: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"mode:year": () => void;
|
|
10
|
+
"mode:month": () => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
12
|
+
"onMode:year"?: (() => any) | undefined;
|
|
13
|
+
"onMode:month"?: (() => any) | undefined;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { default as dayjs, Dayjs } from 'dayjs';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
cursor: Dayjs;
|
|
5
|
+
current: boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
firstDayOfWeek: number;
|
|
8
|
+
/**
|
|
9
|
+
* Used by v-model. Can be null, a single string, or an array of strings based on whether a range or single date is needed
|
|
10
|
+
*/
|
|
11
|
+
modelValue: string | string[] | null;
|
|
12
|
+
max?: Date | string | number;
|
|
13
|
+
min?: Date | string | number;
|
|
14
|
+
selectable?: (date: Date) => boolean;
|
|
15
|
+
range?: boolean;
|
|
16
|
+
multiple?: boolean;
|
|
17
|
+
readonly?: boolean;
|
|
18
|
+
};
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: any) => void;
|
|
21
|
+
"update:cursor": (value: dayjs.Dayjs) => void;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
23
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
24
|
+
"onUpdate:cursor"?: ((value: dayjs.Dayjs) => any) | undefined;
|
|
25
|
+
}, {}, {}>, Partial<Record<"day", (_: {
|
|
26
|
+
first: boolean;
|
|
27
|
+
highlighted: boolean;
|
|
28
|
+
item: dayjs.Dayjs;
|
|
29
|
+
label: string;
|
|
30
|
+
last: boolean;
|
|
31
|
+
middle: boolean;
|
|
32
|
+
selected: boolean;
|
|
33
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
34
|
+
first: boolean;
|
|
35
|
+
highlighted: boolean;
|
|
36
|
+
item: dayjs.Dayjs;
|
|
37
|
+
label: string;
|
|
38
|
+
last: boolean;
|
|
39
|
+
middle: boolean;
|
|
40
|
+
selected: boolean;
|
|
41
|
+
}) => any>>>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: import('vue').PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
cursor: Dayjs;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:month": (value: number) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
10
|
+
"onUpdate:month"?: ((value: number) => any) | undefined;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
|
|
3
|
+
type Props = {
|
|
4
|
+
cursor: Dayjs;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:year": (value: number) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
10
|
+
"onUpdate:year"?: ((value: number) => any) | undefined;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Dayjs } from 'dayjs';
|
|
2
1
|
import { default as it } from 'dayjs/locale/it';
|
|
3
2
|
import { HTMLAttributes, InputHTMLAttributes } from 'vue';
|
|
4
3
|
|
|
@@ -71,7 +70,7 @@ export type BaseDatePickerInputProps = {
|
|
|
71
70
|
/**
|
|
72
71
|
* Sets the input in a readonly state.
|
|
73
72
|
*/
|
|
74
|
-
readonly?:
|
|
73
|
+
readonly?: boolean;
|
|
75
74
|
/**
|
|
76
75
|
* Sets the input as required.
|
|
77
76
|
*/
|
|
@@ -124,28 +123,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
124
123
|
append?: ((props: object) => any) | undefined;
|
|
125
124
|
'append-outer'?: ((props: object) => any) | undefined;
|
|
126
125
|
suffix?: ((props: object) => any) | undefined;
|
|
127
|
-
} & {
|
|
128
|
-
day?: ((props: {
|
|
129
|
-
first: boolean;
|
|
130
|
-
highlighted: boolean;
|
|
131
|
-
item: Dayjs;
|
|
132
|
-
label: string;
|
|
133
|
-
last: boolean;
|
|
134
|
-
middle: boolean;
|
|
135
|
-
selected: boolean;
|
|
136
|
-
}) => any) | undefined; /**
|
|
137
|
-
* String displayed when there's no data.
|
|
138
|
-
*/
|
|
139
|
-
} & {
|
|
140
|
-
[key: string]: (props: {
|
|
141
|
-
first: boolean;
|
|
142
|
-
highlighted: boolean;
|
|
143
|
-
item: Dayjs;
|
|
144
|
-
label: string;
|
|
145
|
-
last: boolean;
|
|
146
|
-
middle: boolean;
|
|
147
|
-
selected: boolean;
|
|
148
|
-
}) => any;
|
|
149
126
|
}> & {
|
|
150
127
|
'prepend-outer'?: ((props: object) => any) | undefined;
|
|
151
128
|
prepend?: ((props: object) => any) | undefined;
|
|
@@ -153,28 +130,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
153
130
|
append?: ((props: object) => any) | undefined;
|
|
154
131
|
'append-outer'?: ((props: object) => any) | undefined;
|
|
155
132
|
suffix?: ((props: object) => any) | undefined;
|
|
156
|
-
} & {
|
|
157
|
-
day?: ((props: {
|
|
158
|
-
first: boolean;
|
|
159
|
-
highlighted: boolean;
|
|
160
|
-
item: Dayjs;
|
|
161
|
-
label: string;
|
|
162
|
-
last: boolean;
|
|
163
|
-
middle: boolean;
|
|
164
|
-
selected: boolean;
|
|
165
|
-
}) => any) | undefined; /**
|
|
166
|
-
* String displayed when there's no data.
|
|
167
|
-
*/
|
|
168
|
-
} & {
|
|
169
|
-
[key: string]: (props: {
|
|
170
|
-
first: boolean;
|
|
171
|
-
highlighted: boolean;
|
|
172
|
-
item: Dayjs;
|
|
173
|
-
label: string;
|
|
174
|
-
last: boolean;
|
|
175
|
-
middle: boolean;
|
|
176
|
-
selected: boolean;
|
|
177
|
-
}) => any;
|
|
178
133
|
}>;
|
|
179
134
|
export default _default;
|
|
180
135
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -99,7 +99,7 @@ export type BbDatePickerInputProps = {
|
|
|
99
99
|
/**
|
|
100
100
|
* Sets the input in a readonly state.
|
|
101
101
|
*/
|
|
102
|
-
readonly?:
|
|
102
|
+
readonly?: boolean;
|
|
103
103
|
/**
|
|
104
104
|
* Sets the input as required.
|
|
105
105
|
*/
|
|
@@ -146,29 +146,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
146
146
|
text: string;
|
|
147
147
|
hasErrors: boolean;
|
|
148
148
|
}) => any) | undefined;
|
|
149
|
-
} & {
|
|
150
|
-
day?: ((props: {
|
|
151
|
-
first: boolean;
|
|
152
|
-
highlighted: boolean;
|
|
153
|
-
item: import('dayjs').Dayjs;
|
|
154
|
-
label: string;
|
|
155
|
-
last: boolean;
|
|
156
|
-
middle: boolean;
|
|
157
|
-
selected: boolean;
|
|
158
|
-
}) => any) | undefined;
|
|
159
|
-
} & {
|
|
160
|
-
[key: string]: (props: {
|
|
161
|
-
first: boolean;
|
|
162
|
-
highlighted: boolean;
|
|
163
|
-
item: import('dayjs').Dayjs;
|
|
164
|
-
label: string;
|
|
165
|
-
last: boolean;
|
|
166
|
-
/**
|
|
167
|
-
* Selects a range of dates between two dates. It selects all of the days between start and end
|
|
168
|
-
*/
|
|
169
|
-
middle: boolean;
|
|
170
|
-
selected: boolean;
|
|
171
|
-
}) => any;
|
|
172
149
|
}> & {
|
|
173
150
|
'prepend-outer'?: ((props: object) => any) | undefined;
|
|
174
151
|
prepend?: ((props: object) => any) | undefined;
|
|
@@ -178,29 +155,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
178
155
|
text: string;
|
|
179
156
|
hasErrors: boolean;
|
|
180
157
|
}) => any) | undefined;
|
|
181
|
-
} & {
|
|
182
|
-
day?: ((props: {
|
|
183
|
-
first: boolean;
|
|
184
|
-
highlighted: boolean;
|
|
185
|
-
item: import('dayjs').Dayjs;
|
|
186
|
-
label: string;
|
|
187
|
-
last: boolean;
|
|
188
|
-
middle: boolean;
|
|
189
|
-
selected: boolean;
|
|
190
|
-
}) => any) | undefined;
|
|
191
|
-
} & {
|
|
192
|
-
[key: string]: (props: {
|
|
193
|
-
first: boolean;
|
|
194
|
-
highlighted: boolean;
|
|
195
|
-
item: import('dayjs').Dayjs;
|
|
196
|
-
label: string;
|
|
197
|
-
last: boolean;
|
|
198
|
-
/**
|
|
199
|
-
* Selects a range of dates between two dates. It selects all of the days between start and end
|
|
200
|
-
*/
|
|
201
|
-
middle: boolean;
|
|
202
|
-
selected: boolean;
|
|
203
|
-
}) => any;
|
|
204
158
|
}>;
|
|
205
159
|
export default _default;
|
|
206
160
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -18,6 +18,10 @@ export type BbTabItem = Pick<CommonProps, 'disabled'> & {
|
|
|
18
18
|
label?: string;
|
|
19
19
|
};
|
|
20
20
|
export type BbTabProps = Pick<CommonProps, 'disabled' | 'eager' | 'id'> & {
|
|
21
|
+
/**
|
|
22
|
+
* Enables transitions
|
|
23
|
+
*/
|
|
24
|
+
animate?: boolean;
|
|
21
25
|
/**
|
|
22
26
|
* Direction of the tabs component
|
|
23
27
|
*/
|
|
@@ -52,18 +56,21 @@ declare const props: Readonly<{
|
|
|
52
56
|
navigation: boolean | undefined;
|
|
53
57
|
replace: boolean | undefined;
|
|
54
58
|
}> & {
|
|
59
|
+
readonly animate: boolean;
|
|
55
60
|
readonly direction: "horizontal" | "vertical";
|
|
56
61
|
readonly querykey: string;
|
|
57
62
|
} & {
|
|
58
63
|
readonly replace: boolean;
|
|
59
64
|
readonly disabled: boolean;
|
|
60
65
|
readonly eager: boolean;
|
|
66
|
+
readonly animate: boolean;
|
|
61
67
|
readonly navigation: boolean;
|
|
62
68
|
};
|
|
63
69
|
export type BbTabEvents = {
|
|
64
70
|
(e: 'update:modelValue', value: (typeof props.items)[number]['key']): void;
|
|
65
71
|
};
|
|
66
72
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbTabProps>, {
|
|
73
|
+
animate: boolean;
|
|
67
74
|
direction: string;
|
|
68
75
|
querykey: string;
|
|
69
76
|
}>, {
|
|
@@ -75,12 +82,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
75
82
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
76
83
|
"update:modelValue": (value: string) => void;
|
|
77
84
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BbTabProps>, {
|
|
85
|
+
animate: boolean;
|
|
78
86
|
direction: string;
|
|
79
87
|
querykey: string;
|
|
80
88
|
}>>> & {
|
|
81
89
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
82
90
|
}, {
|
|
83
91
|
direction: "horizontal" | "vertical";
|
|
92
|
+
animate: boolean;
|
|
84
93
|
querykey: string;
|
|
85
94
|
}, {}>, Readonly<{
|
|
86
95
|
'header:prepend'?: ((props: {
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
direction?: 'left' | 'right' | 'bottom' | 'top';
|
|
3
|
+
duration?: number;
|
|
4
|
+
gap?: number;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
7
|
+
direction: string;
|
|
8
|
+
duration: number;
|
|
9
|
+
gap: number;
|
|
10
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
11
|
+
direction: string;
|
|
12
|
+
duration: number;
|
|
13
|
+
gap: number;
|
|
14
|
+
}>>>, {
|
|
15
|
+
direction: "left" | "right" | "top" | "bottom";
|
|
16
|
+
duration: number;
|
|
17
|
+
gap: number;
|
|
18
|
+
}, {}>, {
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Prettify<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
direction?: 'left' | 'right' | 'bottom' | 'top';
|
|
3
|
+
duration?: number;
|
|
4
|
+
gap?: number;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
7
|
+
direction: string;
|
|
8
|
+
duration: number;
|
|
9
|
+
gap: number;
|
|
10
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
11
|
+
direction: string;
|
|
12
|
+
duration: number;
|
|
13
|
+
gap: number;
|
|
14
|
+
}>>>, {
|
|
15
|
+
direction: "left" | "right" | "top" | "bottom";
|
|
16
|
+
duration: number;
|
|
17
|
+
gap: number;
|
|
18
|
+
}, {}>, {
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Prettify<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|