@vuetify/nightly 3.8.0-beta.0-dev.2025-03-26 → 3.8.0-beta.0-dev.2025-03-31
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/CHANGELOG.md +7 -3
- package/dist/_component-variables-labs.sass +1 -0
- package/dist/json/attributes.json +3154 -3038
- package/dist/json/importMap-labs.json +24 -20
- package/dist/json/importMap.json +176 -176
- package/dist/json/tags.json +34 -0
- package/dist/json/web-types.json +5829 -5511
- package/dist/vuetify-labs.cjs +204 -13
- package/dist/vuetify-labs.css +4590 -4409
- package/dist/vuetify-labs.d.ts +527 -230
- package/dist/vuetify-labs.esm.js +204 -13
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +204 -13
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +31 -13
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +2980 -2976
- package/dist/vuetify.d.ts +118 -143
- package/dist/vuetify.esm.js +31 -13
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +31 -13
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +18 -17
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VConfirmEdit/VConfirmEdit.d.ts +31 -6
- package/lib/components/VConfirmEdit/VConfirmEdit.js +17 -2
- package/lib/components/VConfirmEdit/VConfirmEdit.js.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.d.ts +33 -78
- package/lib/components/VDatePicker/VDatePickerMonth.d.ts +33 -78
- package/lib/composables/calendar.d.ts +12 -35
- package/lib/composables/calendar.js +11 -8
- package/lib/composables/calendar.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +58 -57
- package/lib/framework.js +1 -1
- package/lib/labs/VCalendar/VCalendar.d.ts +33 -78
- package/lib/labs/VDateInput/VDateInput.d.ts +33 -78
- package/lib/labs/VDateInput/VDateInput.js +4 -0
- package/lib/labs/VDateInput/VDateInput.js.map +1 -1
- package/lib/labs/VIconBtn/VIconBtn.css +178 -0
- package/lib/labs/VIconBtn/VIconBtn.d.ts +608 -0
- package/lib/labs/VIconBtn/VIconBtn.js +184 -0
- package/lib/labs/VIconBtn/VIconBtn.js.map +1 -0
- package/lib/labs/VIconBtn/VIconBtn.scss +110 -0
- package/lib/labs/VIconBtn/_variables.scss +36 -0
- package/lib/labs/VIconBtn/index.d.ts +1 -0
- package/lib/labs/VIconBtn/index.js +2 -0
- package/lib/labs/VIconBtn/index.js.map +1 -0
- package/lib/labs/components.d.ts +1 -0
- package/lib/labs/components.js +1 -0
- package/lib/labs/components.js.map +1 -1
- package/lib/styles/main.css +4 -0
- package/lib/styles/settings/_utilities.scss +5 -0
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Ref, VNode } from 'vue';
|
1
|
+
import type { PropType, Ref, VNode } from 'vue';
|
2
2
|
import type { GenericProps } from "../../util/index.js";
|
3
3
|
export type VConfirmEditSlots<T> = {
|
4
4
|
default: {
|
@@ -14,14 +14,15 @@ export declare const makeVConfirmEditProps: <Defaults extends {
|
|
14
14
|
color?: unknown;
|
15
15
|
cancelText?: unknown;
|
16
16
|
okText?: unknown;
|
17
|
+
disabled?: unknown;
|
17
18
|
hideActions?: unknown;
|
18
19
|
} = {}>(defaults?: Defaults | undefined) => {
|
19
20
|
modelValue: unknown extends Defaults["modelValue"] ? null : {
|
20
|
-
type:
|
21
|
+
type: PropType<unknown extends Defaults["modelValue"] ? any : any>;
|
21
22
|
default: unknown extends Defaults["modelValue"] ? any : any;
|
22
23
|
};
|
23
24
|
color: unknown extends Defaults["color"] ? StringConstructor : {
|
24
|
-
type:
|
25
|
+
type: PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
|
25
26
|
default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
|
26
27
|
};
|
27
28
|
cancelText: unknown extends Defaults["cancelText"] ? {
|
@@ -31,7 +32,7 @@ export declare const makeVConfirmEditProps: <Defaults extends {
|
|
31
32
|
type: StringConstructor;
|
32
33
|
default: string;
|
33
34
|
}, "type" | "default"> & {
|
34
|
-
type:
|
35
|
+
type: PropType<unknown extends Defaults["cancelText"] ? string : string | Defaults["cancelText"]>;
|
35
36
|
default: unknown extends Defaults["cancelText"] ? string : string | Defaults["cancelText"];
|
36
37
|
};
|
37
38
|
okText: unknown extends Defaults["okText"] ? {
|
@@ -41,11 +42,21 @@ export declare const makeVConfirmEditProps: <Defaults extends {
|
|
41
42
|
type: StringConstructor;
|
42
43
|
default: string;
|
43
44
|
}, "type" | "default"> & {
|
44
|
-
type:
|
45
|
+
type: PropType<unknown extends Defaults["okText"] ? string : string | Defaults["okText"]>;
|
45
46
|
default: unknown extends Defaults["okText"] ? string : string | Defaults["okText"];
|
46
47
|
};
|
48
|
+
disabled: unknown extends Defaults["disabled"] ? {
|
49
|
+
type: PropType<boolean | ("save" | "cancel")[]>;
|
50
|
+
default: undefined;
|
51
|
+
} : Omit<{
|
52
|
+
type: PropType<boolean | ("save" | "cancel")[]>;
|
53
|
+
default: undefined;
|
54
|
+
}, "type" | "default"> & {
|
55
|
+
type: PropType<unknown extends Defaults["disabled"] ? boolean | ("cancel" | "save")[] : boolean | ("cancel" | "save")[] | Defaults["disabled"]>;
|
56
|
+
default: unknown extends Defaults["disabled"] ? boolean | ("cancel" | "save")[] : Defaults["disabled"] | NonNullable<boolean | ("cancel" | "save")[]>;
|
57
|
+
};
|
47
58
|
hideActions: unknown extends Defaults["hideActions"] ? BooleanConstructor : {
|
48
|
-
type:
|
59
|
+
type: PropType<unknown extends Defaults["hideActions"] ? boolean : boolean | Defaults["hideActions"]>;
|
49
60
|
default: unknown extends Defaults["hideActions"] ? boolean : boolean | Defaults["hideActions"];
|
50
61
|
};
|
51
62
|
};
|
@@ -56,6 +67,7 @@ export declare const VConfirmEdit: {
|
|
56
67
|
hideActions: boolean;
|
57
68
|
} & {
|
58
69
|
color?: string | undefined;
|
70
|
+
disabled?: boolean | ("cancel" | "save")[] | undefined;
|
59
71
|
} & {
|
60
72
|
onCancel?: (() => any) | undefined;
|
61
73
|
}, {
|
@@ -67,6 +79,7 @@ export declare const VConfirmEdit: {
|
|
67
79
|
save: (value: any) => true;
|
68
80
|
'update:modelValue': (value: any) => true;
|
69
81
|
}, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "save">, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
82
|
+
disabled: boolean | ("cancel" | "save")[];
|
70
83
|
cancelText: string;
|
71
84
|
okText: string;
|
72
85
|
hideActions: boolean;
|
@@ -91,6 +104,7 @@ export declare const VConfirmEdit: {
|
|
91
104
|
hideActions: boolean;
|
92
105
|
} & {
|
93
106
|
color?: string | undefined;
|
107
|
+
disabled?: boolean | ("cancel" | "save")[] | undefined;
|
94
108
|
} & {
|
95
109
|
onCancel?: (() => any) | undefined;
|
96
110
|
}, {
|
@@ -98,6 +112,7 @@ export declare const VConfirmEdit: {
|
|
98
112
|
cancel: () => void;
|
99
113
|
isPristine: import("vue").ComputedRef<boolean>;
|
100
114
|
}, {}, {}, {}, {
|
115
|
+
disabled: boolean | ("cancel" | "save")[];
|
101
116
|
cancelText: string;
|
102
117
|
okText: string;
|
103
118
|
hideActions: boolean;
|
@@ -111,6 +126,7 @@ export declare const VConfirmEdit: {
|
|
111
126
|
hideActions: boolean;
|
112
127
|
} & {
|
113
128
|
color?: string | undefined;
|
129
|
+
disabled?: boolean | ("cancel" | "save")[] | undefined;
|
114
130
|
} & {
|
115
131
|
onCancel?: (() => any) | undefined;
|
116
132
|
}, {
|
@@ -122,6 +138,7 @@ export declare const VConfirmEdit: {
|
|
122
138
|
save: (value: any) => true;
|
123
139
|
'update:modelValue': (value: any) => true;
|
124
140
|
}, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "save">, string, {
|
141
|
+
disabled: boolean | ("cancel" | "save")[];
|
125
142
|
cancelText: string;
|
126
143
|
okText: string;
|
127
144
|
hideActions: boolean;
|
@@ -148,6 +165,10 @@ export declare const VConfirmEdit: {
|
|
148
165
|
type: StringConstructor;
|
149
166
|
default: string;
|
150
167
|
};
|
168
|
+
disabled: {
|
169
|
+
type: PropType<boolean | ("save" | "cancel")[]>;
|
170
|
+
default: undefined;
|
171
|
+
};
|
151
172
|
hideActions: BooleanConstructor;
|
152
173
|
}, import("vue").ExtractPropTypes<{
|
153
174
|
modelValue: null;
|
@@ -160,6 +181,10 @@ export declare const VConfirmEdit: {
|
|
160
181
|
type: StringConstructor;
|
161
182
|
default: string;
|
162
183
|
};
|
184
|
+
disabled: {
|
185
|
+
type: PropType<boolean | ("save" | "cancel")[]>;
|
186
|
+
default: undefined;
|
187
|
+
};
|
163
188
|
hideActions: BooleanConstructor;
|
164
189
|
}>>;
|
165
190
|
export type VConfirmEdit = InstanceType<typeof VConfirmEdit>;
|
@@ -16,6 +16,10 @@ export const makeVConfirmEditProps = propsFactory({
|
|
16
16
|
type: String,
|
17
17
|
default: '$vuetify.confirmEdit.ok'
|
18
18
|
},
|
19
|
+
disabled: {
|
20
|
+
type: [Boolean, Array],
|
21
|
+
default: undefined
|
22
|
+
},
|
19
23
|
hideActions: Boolean
|
20
24
|
}, 'VConfirmEdit');
|
21
25
|
export const VConfirmEdit = genericComponent()({
|
@@ -42,6 +46,17 @@ export const VConfirmEdit = genericComponent()({
|
|
42
46
|
const isPristine = computed(() => {
|
43
47
|
return deepEqual(model.value, internalModel.value);
|
44
48
|
});
|
49
|
+
function isActionDisabled(action) {
|
50
|
+
if (typeof props.disabled === 'boolean') {
|
51
|
+
return props.disabled;
|
52
|
+
}
|
53
|
+
if (Array.isArray(props.disabled)) {
|
54
|
+
return props.disabled.includes(action);
|
55
|
+
}
|
56
|
+
return isPristine.value;
|
57
|
+
}
|
58
|
+
const isSaveDisabled = computed(() => isActionDisabled('save'));
|
59
|
+
const isCancelDisabled = computed(() => isActionDisabled('cancel'));
|
45
60
|
function save() {
|
46
61
|
model.value = internalModel.value;
|
47
62
|
emit('save', internalModel.value);
|
@@ -52,13 +67,13 @@ export const VConfirmEdit = genericComponent()({
|
|
52
67
|
}
|
53
68
|
function actions(actionsProps) {
|
54
69
|
return _createVNode(_Fragment, null, [_createVNode(VBtn, _mergeProps({
|
55
|
-
"disabled":
|
70
|
+
"disabled": isCancelDisabled.value,
|
56
71
|
"variant": "text",
|
57
72
|
"color": props.color,
|
58
73
|
"onClick": cancel,
|
59
74
|
"text": t(props.cancelText)
|
60
75
|
}, actionsProps), null), _createVNode(VBtn, _mergeProps({
|
61
|
-
"disabled":
|
76
|
+
"disabled": isSaveDisabled.value,
|
62
77
|
"variant": "text",
|
63
78
|
"color": props.color,
|
64
79
|
"onClick": save,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VConfirmEdit.js","names":["VBtn","useLocale","useProxiedModel","computed","ref","toRaw","watchEffect","deepEqual","genericComponent","propsFactory","useRender","makeVConfirmEditProps","modelValue","color","String","cancelText","type","default","okText","
|
1
|
+
{"version":3,"file":"VConfirmEdit.js","names":["VBtn","useLocale","useProxiedModel","computed","ref","toRaw","watchEffect","deepEqual","genericComponent","propsFactory","useRender","makeVConfirmEditProps","modelValue","color","String","cancelText","type","default","okText","disabled","Boolean","Array","undefined","hideActions","VConfirmEdit","name","props","emits","cancel","save","value","setup","_ref","emit","slots","model","internalModel","structuredClone","t","isPristine","isActionDisabled","action","isArray","includes","isSaveDisabled","isCancelDisabled","actions","actionsProps","_createVNode","_Fragment","_mergeProps","actionsUsed"],"sources":["../../../src/components/VConfirmEdit/VConfirmEdit.tsx"],"sourcesContent":["// Components\nimport { VBtn } from '@/components/VBtn'\n\n// Composables\nimport { useLocale } from '@/composables'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref, toRaw, watchEffect } from 'vue'\nimport { deepEqual, genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType, Ref, VNode } from 'vue'\nimport type { GenericProps } from '@/util'\n\nexport type VConfirmEditSlots<T> = {\n default: {\n model: Ref<T>\n save: () => void\n cancel: () => void\n isPristine: boolean\n get actions (): (props?: {}) => VNode\n }\n}\n\nexport const makeVConfirmEditProps = propsFactory({\n modelValue: null,\n color: String,\n cancelText: {\n type: String,\n default: '$vuetify.confirmEdit.cancel',\n },\n okText: {\n type: String,\n default: '$vuetify.confirmEdit.ok',\n },\n disabled: {\n type: [Boolean, Array] as PropType<boolean | ('save' | 'cancel')[]>,\n default: undefined,\n },\n hideActions: Boolean,\n}, 'VConfirmEdit')\n\nexport const VConfirmEdit = genericComponent<new <T> (\n props: {\n modelValue?: T\n 'onUpdate:modelValue'?: (value: T) => void\n 'onSave'?: (value: T) => void\n },\n slots: VConfirmEditSlots<T>\n) => GenericProps<typeof props, typeof slots>>()({\n name: 'VConfirmEdit',\n\n props: makeVConfirmEditProps(),\n\n emits: {\n cancel: () => true,\n save: (value: any) => true,\n 'update:modelValue': (value: any) => true,\n },\n\n setup (props, { emit, slots }) {\n const model = useProxiedModel(props, 'modelValue')\n const internalModel = ref()\n watchEffect(() => {\n internalModel.value = structuredClone(toRaw(model.value))\n })\n\n const { t } = useLocale()\n\n const isPristine = computed(() => {\n return deepEqual(model.value, internalModel.value)\n })\n\n function isActionDisabled (action: 'save' | 'cancel') {\n if (typeof props.disabled === 'boolean') {\n return props.disabled\n }\n\n if (Array.isArray(props.disabled)) {\n return props.disabled.includes(action)\n }\n\n return isPristine.value\n }\n\n const isSaveDisabled = computed(() => isActionDisabled('save'))\n const isCancelDisabled = computed(() => isActionDisabled('cancel'))\n\n function save () {\n model.value = internalModel.value\n emit('save', internalModel.value)\n }\n\n function cancel () {\n internalModel.value = structuredClone(toRaw(model.value))\n emit('cancel')\n }\n\n function actions (actionsProps?: {}) {\n return (\n <>\n <VBtn\n disabled={ isCancelDisabled.value }\n variant=\"text\"\n color={ props.color }\n onClick={ cancel }\n text={ t(props.cancelText) }\n { ...actionsProps }\n />\n\n <VBtn\n disabled={ isSaveDisabled.value }\n variant=\"text\"\n color={ props.color }\n onClick={ save }\n text={ t(props.okText) }\n { ...actionsProps }\n />\n </>\n )\n }\n\n let actionsUsed = false\n useRender(() => {\n return (\n <>\n {\n slots.default?.({\n model: internalModel,\n save,\n cancel,\n isPristine: isPristine.value,\n get actions () {\n actionsUsed = true\n return actions\n },\n })\n }\n\n { !props.hideActions && !actionsUsed && actions() }\n </>\n )\n })\n\n return {\n save,\n cancel,\n isPristine,\n }\n },\n})\n\nexport type VConfirmEdit = InstanceType<typeof VConfirmEdit>\n"],"mappings":";AAAA;AAAA,SACSA,IAAI,4BAEb;AAAA,SACSC,SAAS;AAAA,SACTC,eAAe,6CAExB;AACA,SAASC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,EAAEC,WAAW,QAAQ,KAAK;AAAA,SAC9CC,SAAS,EAAEC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,+BAE7D;AAcA,OAAO,MAAMC,qBAAqB,GAAGF,YAAY,CAAC;EAChDG,UAAU,EAAE,IAAI;EAChBC,KAAK,EAAEC,MAAM;EACbC,UAAU,EAAE;IACVC,IAAI,EAAEF,MAAM;IACZG,OAAO,EAAE;EACX,CAAC;EACDC,MAAM,EAAE;IACNF,IAAI,EAAEF,MAAM;IACZG,OAAO,EAAE;EACX,CAAC;EACDE,QAAQ,EAAE;IACRH,IAAI,EAAE,CAACI,OAAO,EAAEC,KAAK,CAA8C;IACnEJ,OAAO,EAAEK;EACX,CAAC;EACDC,WAAW,EAAEH;AACf,CAAC,EAAE,cAAc,CAAC;AAElB,OAAO,MAAMI,YAAY,GAAGhB,gBAAgB,CAOG,CAAC,CAAC;EAC/CiB,IAAI,EAAE,cAAc;EAEpBC,KAAK,EAAEf,qBAAqB,CAAC,CAAC;EAE9BgB,KAAK,EAAE;IACLC,MAAM,EAAEA,CAAA,KAAM,IAAI;IAClBC,IAAI,EAAGC,KAAU,IAAK,IAAI;IAC1B,mBAAmB,EAAGA,KAAU,IAAK;EACvC,CAAC;EAEDC,KAAKA,CAAEL,KAAK,EAAAM,IAAA,EAAmB;IAAA,IAAjB;MAAEC,IAAI;MAAEC;IAAM,CAAC,GAAAF,IAAA;IAC3B,MAAMG,KAAK,GAAGjC,eAAe,CAACwB,KAAK,EAAE,YAAY,CAAC;IAClD,MAAMU,aAAa,GAAGhC,GAAG,CAAC,CAAC;IAC3BE,WAAW,CAAC,MAAM;MAChB8B,aAAa,CAACN,KAAK,GAAGO,eAAe,CAAChC,KAAK,CAAC8B,KAAK,CAACL,KAAK,CAAC,CAAC;IAC3D,CAAC,CAAC;IAEF,MAAM;MAAEQ;IAAE,CAAC,GAAGrC,SAAS,CAAC,CAAC;IAEzB,MAAMsC,UAAU,GAAGpC,QAAQ,CAAC,MAAM;MAChC,OAAOI,SAAS,CAAC4B,KAAK,CAACL,KAAK,EAAEM,aAAa,CAACN,KAAK,CAAC;IACpD,CAAC,CAAC;IAEF,SAASU,gBAAgBA,CAAEC,MAAyB,EAAE;MACpD,IAAI,OAAOf,KAAK,CAACP,QAAQ,KAAK,SAAS,EAAE;QACvC,OAAOO,KAAK,CAACP,QAAQ;MACvB;MAEA,IAAIE,KAAK,CAACqB,OAAO,CAAChB,KAAK,CAACP,QAAQ,CAAC,EAAE;QACjC,OAAOO,KAAK,CAACP,QAAQ,CAACwB,QAAQ,CAACF,MAAM,CAAC;MACxC;MAEA,OAAOF,UAAU,CAACT,KAAK;IACzB;IAEA,MAAMc,cAAc,GAAGzC,QAAQ,CAAC,MAAMqC,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAC/D,MAAMK,gBAAgB,GAAG1C,QAAQ,CAAC,MAAMqC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAEnE,SAASX,IAAIA,CAAA,EAAI;MACfM,KAAK,CAACL,KAAK,GAAGM,aAAa,CAACN,KAAK;MACjCG,IAAI,CAAC,MAAM,EAAEG,aAAa,CAACN,KAAK,CAAC;IACnC;IAEA,SAASF,MAAMA,CAAA,EAAI;MACjBQ,aAAa,CAACN,KAAK,GAAGO,eAAe,CAAChC,KAAK,CAAC8B,KAAK,CAACL,KAAK,CAAC,CAAC;MACzDG,IAAI,CAAC,QAAQ,CAAC;IAChB;IAEA,SAASa,OAAOA,CAAEC,YAAiB,EAAE;MACnC,OAAAC,YAAA,CAAAC,SAAA,SAAAD,YAAA,CAAAhD,IAAA,EAAAkD,WAAA;QAAA,YAGiBL,gBAAgB,CAACf,KAAK;QAAA;QAAA,SAEzBJ,KAAK,CAACb,KAAK;QAAA,WACTe,MAAM;QAAA,QACTU,CAAC,CAACZ,KAAK,CAACX,UAAU;MAAC,GACrBgC,YAAY,UAAAC,YAAA,CAAAhD,IAAA,EAAAkD,WAAA;QAAA,YAINN,cAAc,CAACd,KAAK;QAAA;QAAA,SAEvBJ,KAAK,CAACb,KAAK;QAAA,WACTgB,IAAI;QAAA,QACPS,CAAC,CAACZ,KAAK,CAACR,MAAM;MAAC,GACjB6B,YAAY;IAIzB;IAEA,IAAII,WAAW,GAAG,KAAK;IACvBzC,SAAS,CAAC,MAAM;MACd,OAAAsC,YAAA,CAAAC,SAAA,SAGMf,KAAK,CAACjB,OAAO,GAAG;QACdkB,KAAK,EAAEC,aAAa;QACpBP,IAAI;QACJD,MAAM;QACNW,UAAU,EAAEA,UAAU,CAACT,KAAK;QAC5B,IAAIgB,OAAOA,CAAA,EAAI;UACbK,WAAW,GAAG,IAAI;UAClB,OAAOL,OAAO;QAChB;MACF,CAAC,CAAC,EAGF,CAACpB,KAAK,CAACH,WAAW,IAAI,CAAC4B,WAAW,IAAIL,OAAO,CAAC,CAAC;IAGvD,CAAC,CAAC;IAEF,OAAO;MACLjB,IAAI;MACJD,MAAM;MACNW;IACF,CAAC;EACH;AACF,CAAC,CAAC","ignoreList":[]}
|
@@ -214,44 +214,14 @@ export declare const makeVDatePickerProps: <Defaults extends {
|
|
214
214
|
default: unknown extends Defaults["showAdjacentMonths"] ? boolean : boolean | Defaults["showAdjacentMonths"];
|
215
215
|
};
|
216
216
|
weekdays: unknown extends Defaults["weekdays"] ? {
|
217
|
-
type:
|
218
|
-
(arrayLength: number): number[];
|
219
|
-
(...items: number[]): number[];
|
220
|
-
new (arrayLength: number): number[];
|
221
|
-
new (...items: number[]): number[];
|
222
|
-
isArray(arg: any): arg is any[];
|
223
|
-
readonly prototype: any[];
|
224
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
225
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
226
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
227
|
-
from<T, U_1>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U_1, thisArg?: any): U_1[];
|
228
|
-
of<T>(...items: T[]): T[];
|
229
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
230
|
-
fromAsync<T, U_2>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U_2, thisArg?: any): Promise<Awaited<U_2>[]>;
|
231
|
-
readonly [Symbol.species]: ArrayConstructor;
|
232
|
-
};
|
217
|
+
type: import("vue").PropType<import("../../composables/calendar.js").CalendarWeekdays[]>;
|
233
218
|
default: () => number[];
|
234
219
|
} : Omit<{
|
235
|
-
type:
|
236
|
-
(arrayLength: number): number[];
|
237
|
-
(...items: number[]): number[];
|
238
|
-
new (arrayLength: number): number[];
|
239
|
-
new (...items: number[]): number[];
|
240
|
-
isArray(arg: any): arg is any[];
|
241
|
-
readonly prototype: any[];
|
242
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
243
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
244
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
245
|
-
from<T, U_1>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U_1, thisArg?: any): U_1[];
|
246
|
-
of<T>(...items: T[]): T[];
|
247
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
248
|
-
fromAsync<T, U_2>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U_2, thisArg?: any): Promise<Awaited<U_2>[]>;
|
249
|
-
readonly [Symbol.species]: ArrayConstructor;
|
250
|
-
};
|
220
|
+
type: import("vue").PropType<import("../../composables/calendar.js").CalendarWeekdays[]>;
|
251
221
|
default: () => number[];
|
252
222
|
}, "type" | "default"> & {
|
253
|
-
type: import("vue").PropType<unknown extends Defaults["weekdays"] ?
|
254
|
-
default: unknown extends Defaults["weekdays"] ?
|
223
|
+
type: import("vue").PropType<unknown extends Defaults["weekdays"] ? import("../../composables/calendar.js").CalendarWeekdays[] : import("../../composables/calendar.js").CalendarWeekdays[] | Defaults["weekdays"]>;
|
224
|
+
default: unknown extends Defaults["weekdays"] ? import("../../composables/calendar.js").CalendarWeekdays[] : import("../../composables/calendar.js").CalendarWeekdays[] | Defaults["weekdays"];
|
255
225
|
};
|
256
226
|
weeksInMonth: unknown extends Defaults["weeksInMonth"] ? Omit<{
|
257
227
|
type: import("vue").PropType<"dynamic" | "static">;
|
@@ -269,7 +239,13 @@ export declare const makeVDatePickerProps: <Defaults extends {
|
|
269
239
|
type: import("vue").PropType<unknown extends Defaults["weeksInMonth"] ? "static" | "dynamic" : "static" | "dynamic" | Defaults["weeksInMonth"]>;
|
270
240
|
default: unknown extends Defaults["weeksInMonth"] ? "static" | "dynamic" : NonNullable<"static" | "dynamic"> | Defaults["weeksInMonth"];
|
271
241
|
};
|
272
|
-
firstDayOfWeek: unknown extends Defaults["firstDayOfWeek"] ?
|
242
|
+
firstDayOfWeek: unknown extends Defaults["firstDayOfWeek"] ? {
|
243
|
+
type: (StringConstructor | NumberConstructor)[];
|
244
|
+
default: number;
|
245
|
+
} : Omit<{
|
246
|
+
type: (StringConstructor | NumberConstructor)[];
|
247
|
+
default: number;
|
248
|
+
}, "type" | "default"> & {
|
273
249
|
type: import("vue").PropType<unknown extends Defaults["firstDayOfWeek"] ? string | number : string | number | Defaults["firstDayOfWeek"]>;
|
274
250
|
default: unknown extends Defaults["firstDayOfWeek"] ? string | number : NonNullable<string | number> | Defaults["firstDayOfWeek"];
|
275
251
|
};
|
@@ -400,8 +376,9 @@ export declare const VDatePicker: {
|
|
400
376
|
modeIcon: import("../../composables/icons.js").IconValue;
|
401
377
|
viewMode: "month" | "year" | "months";
|
402
378
|
showAdjacentMonths: boolean;
|
403
|
-
weekdays:
|
379
|
+
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
404
380
|
weeksInMonth: "static" | "dynamic";
|
381
|
+
firstDayOfWeek: string | number;
|
405
382
|
hideWeekdays: boolean;
|
406
383
|
showWeek: boolean;
|
407
384
|
} & {
|
@@ -428,7 +405,6 @@ export declare const VDatePicker: {
|
|
428
405
|
bgColor?: string | undefined;
|
429
406
|
controlHeight?: string | number | undefined;
|
430
407
|
headerColor?: string | undefined;
|
431
|
-
firstDayOfWeek?: string | number | undefined;
|
432
408
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
433
409
|
} & {
|
434
410
|
"onUpdate:month"?: ((date: any) => any) | undefined;
|
@@ -458,8 +434,9 @@ export declare const VDatePicker: {
|
|
458
434
|
modeIcon: import("../../composables/icons.js").IconValue;
|
459
435
|
viewMode: "month" | "year" | "months";
|
460
436
|
showAdjacentMonths: boolean;
|
461
|
-
weekdays:
|
437
|
+
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
462
438
|
weeksInMonth: "static" | "dynamic";
|
439
|
+
firstDayOfWeek: string | number;
|
463
440
|
hideWeekdays: boolean;
|
464
441
|
showWeek: boolean;
|
465
442
|
}, true, {}, import("vue").SlotsType<Partial<{
|
@@ -494,8 +471,9 @@ export declare const VDatePicker: {
|
|
494
471
|
modeIcon: import("../../composables/icons.js").IconValue;
|
495
472
|
viewMode: "month" | "year" | "months";
|
496
473
|
showAdjacentMonths: boolean;
|
497
|
-
weekdays:
|
474
|
+
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
498
475
|
weeksInMonth: "static" | "dynamic";
|
476
|
+
firstDayOfWeek: string | number;
|
499
477
|
hideWeekdays: boolean;
|
500
478
|
showWeek: boolean;
|
501
479
|
} & {
|
@@ -522,7 +500,6 @@ export declare const VDatePicker: {
|
|
522
500
|
bgColor?: string | undefined;
|
523
501
|
controlHeight?: string | number | undefined;
|
524
502
|
headerColor?: string | undefined;
|
525
|
-
firstDayOfWeek?: string | number | undefined;
|
526
503
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
527
504
|
} & {
|
528
505
|
"onUpdate:month"?: ((date: any) => any) | undefined;
|
@@ -547,8 +524,9 @@ export declare const VDatePicker: {
|
|
547
524
|
modeIcon: import("../../composables/icons.js").IconValue;
|
548
525
|
viewMode: "month" | "year" | "months";
|
549
526
|
showAdjacentMonths: boolean;
|
550
|
-
weekdays:
|
527
|
+
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
551
528
|
weeksInMonth: "static" | "dynamic";
|
529
|
+
firstDayOfWeek: string | number;
|
552
530
|
hideWeekdays: boolean;
|
553
531
|
showWeek: boolean;
|
554
532
|
}>;
|
@@ -572,8 +550,9 @@ export declare const VDatePicker: {
|
|
572
550
|
modeIcon: import("../../composables/icons.js").IconValue;
|
573
551
|
viewMode: "month" | "year" | "months";
|
574
552
|
showAdjacentMonths: boolean;
|
575
|
-
weekdays:
|
553
|
+
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
576
554
|
weeksInMonth: "static" | "dynamic";
|
555
|
+
firstDayOfWeek: string | number;
|
577
556
|
hideWeekdays: boolean;
|
578
557
|
showWeek: boolean;
|
579
558
|
} & {
|
@@ -600,7 +579,6 @@ export declare const VDatePicker: {
|
|
600
579
|
bgColor?: string | undefined;
|
601
580
|
controlHeight?: string | number | undefined;
|
602
581
|
headerColor?: string | undefined;
|
603
|
-
firstDayOfWeek?: string | number | undefined;
|
604
582
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
605
583
|
} & {
|
606
584
|
"onUpdate:month"?: ((date: any) => any) | undefined;
|
@@ -630,8 +608,9 @@ export declare const VDatePicker: {
|
|
630
608
|
modeIcon: import("../../composables/icons.js").IconValue;
|
631
609
|
viewMode: "month" | "year" | "months";
|
632
610
|
showAdjacentMonths: boolean;
|
633
|
-
weekdays:
|
611
|
+
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
634
612
|
weeksInMonth: "static" | "dynamic";
|
613
|
+
firstDayOfWeek: string | number;
|
635
614
|
hideWeekdays: boolean;
|
636
615
|
showWeek: boolean;
|
637
616
|
}, {}, string, import("vue").SlotsType<Partial<{
|
@@ -698,22 +677,7 @@ export declare const VDatePicker: {
|
|
698
677
|
month: (StringConstructor | NumberConstructor)[];
|
699
678
|
showAdjacentMonths: BooleanConstructor;
|
700
679
|
weekdays: {
|
701
|
-
type:
|
702
|
-
(arrayLength: number): number[];
|
703
|
-
(...items: number[]): number[];
|
704
|
-
new (arrayLength: number): number[];
|
705
|
-
new (...items: number[]): number[];
|
706
|
-
isArray(arg: any): arg is any[];
|
707
|
-
readonly prototype: any[];
|
708
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
709
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
710
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
711
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
712
|
-
of<T>(...items: T[]): T[];
|
713
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
714
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
715
|
-
readonly [Symbol.species]: ArrayConstructor;
|
716
|
-
};
|
680
|
+
type: import("vue").PropType<import("../../composables/calendar.js").CalendarWeekdays[]>;
|
717
681
|
default: () => number[];
|
718
682
|
};
|
719
683
|
weeksInMonth: Omit<{
|
@@ -723,7 +687,10 @@ export declare const VDatePicker: {
|
|
723
687
|
type: import("vue").PropType<"static" | "dynamic">;
|
724
688
|
default: NonNullable<"static" | "dynamic">;
|
725
689
|
};
|
726
|
-
firstDayOfWeek:
|
690
|
+
firstDayOfWeek: {
|
691
|
+
type: (StringConstructor | NumberConstructor)[];
|
692
|
+
default: number;
|
693
|
+
};
|
727
694
|
allowedDates: import("vue").PropType<unknown[] | ((date: unknown) => boolean)>;
|
728
695
|
hideWeekdays: BooleanConstructor;
|
729
696
|
multiple: import("vue").PropType<boolean | "range" | number | (string & {})>;
|
@@ -815,22 +782,7 @@ export declare const VDatePicker: {
|
|
815
782
|
month: (StringConstructor | NumberConstructor)[];
|
816
783
|
showAdjacentMonths: BooleanConstructor;
|
817
784
|
weekdays: {
|
818
|
-
type:
|
819
|
-
(arrayLength: number): number[];
|
820
|
-
(...items: number[]): number[];
|
821
|
-
new (arrayLength: number): number[];
|
822
|
-
new (...items: number[]): number[];
|
823
|
-
isArray(arg: any): arg is any[];
|
824
|
-
readonly prototype: any[];
|
825
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
826
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
827
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
828
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
829
|
-
of<T>(...items: T[]): T[];
|
830
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
831
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
832
|
-
readonly [Symbol.species]: ArrayConstructor;
|
833
|
-
};
|
785
|
+
type: import("vue").PropType<import("../../composables/calendar.js").CalendarWeekdays[]>;
|
834
786
|
default: () => number[];
|
835
787
|
};
|
836
788
|
weeksInMonth: Omit<{
|
@@ -840,7 +792,10 @@ export declare const VDatePicker: {
|
|
840
792
|
type: import("vue").PropType<"static" | "dynamic">;
|
841
793
|
default: NonNullable<"static" | "dynamic">;
|
842
794
|
};
|
843
|
-
firstDayOfWeek:
|
795
|
+
firstDayOfWeek: {
|
796
|
+
type: (StringConstructor | NumberConstructor)[];
|
797
|
+
default: number;
|
798
|
+
};
|
844
799
|
allowedDates: import("vue").PropType<unknown[] | ((date: unknown) => boolean)>;
|
845
800
|
hideWeekdays: BooleanConstructor;
|
846
801
|
multiple: import("vue").PropType<boolean | "range" | number | (string & {})>;
|
@@ -62,44 +62,14 @@ export declare const makeVDatePickerMonthProps: <Defaults extends {
|
|
62
62
|
default: unknown extends Defaults["showAdjacentMonths"] ? boolean : boolean | Defaults["showAdjacentMonths"];
|
63
63
|
};
|
64
64
|
weekdays: unknown extends Defaults["weekdays"] ? {
|
65
|
-
type:
|
66
|
-
(arrayLength: number): number[];
|
67
|
-
(...items: number[]): number[];
|
68
|
-
new (arrayLength: number): number[];
|
69
|
-
new (...items: number[]): number[];
|
70
|
-
isArray(arg: any): arg is any[];
|
71
|
-
readonly prototype: any[];
|
72
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
73
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
74
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
75
|
-
from<T, U_1>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U_1, thisArg?: any): U_1[];
|
76
|
-
of<T>(...items: T[]): T[];
|
77
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
78
|
-
fromAsync<T, U_2>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U_2, thisArg?: any): Promise<Awaited<U_2>[]>;
|
79
|
-
readonly [Symbol.species]: ArrayConstructor;
|
80
|
-
};
|
65
|
+
type: PropType<import("../../composables/calendar.js").CalendarWeekdays[]>;
|
81
66
|
default: () => number[];
|
82
67
|
} : Omit<{
|
83
|
-
type:
|
84
|
-
(arrayLength: number): number[];
|
85
|
-
(...items: number[]): number[];
|
86
|
-
new (arrayLength: number): number[];
|
87
|
-
new (...items: number[]): number[];
|
88
|
-
isArray(arg: any): arg is any[];
|
89
|
-
readonly prototype: any[];
|
90
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
91
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
92
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
93
|
-
from<T, U_1>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U_1, thisArg?: any): U_1[];
|
94
|
-
of<T>(...items: T[]): T[];
|
95
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
96
|
-
fromAsync<T, U_2>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U_2, thisArg?: any): Promise<Awaited<U_2>[]>;
|
97
|
-
readonly [Symbol.species]: ArrayConstructor;
|
98
|
-
};
|
68
|
+
type: PropType<import("../../composables/calendar.js").CalendarWeekdays[]>;
|
99
69
|
default: () => number[];
|
100
70
|
}, "type" | "default"> & {
|
101
|
-
type: PropType<unknown extends Defaults["weekdays"] ?
|
102
|
-
default: unknown extends Defaults["weekdays"] ?
|
71
|
+
type: PropType<unknown extends Defaults["weekdays"] ? import("../../composables/calendar.js").CalendarWeekdays[] : import("../../composables/calendar.js").CalendarWeekdays[] | Defaults["weekdays"]>;
|
72
|
+
default: unknown extends Defaults["weekdays"] ? import("../../composables/calendar.js").CalendarWeekdays[] : import("../../composables/calendar.js").CalendarWeekdays[] | Defaults["weekdays"];
|
103
73
|
};
|
104
74
|
weeksInMonth: unknown extends Defaults["weeksInMonth"] ? {
|
105
75
|
type: PropType<"dynamic" | "static">;
|
@@ -111,7 +81,13 @@ export declare const makeVDatePickerMonthProps: <Defaults extends {
|
|
111
81
|
type: PropType<unknown extends Defaults["weeksInMonth"] ? "static" | "dynamic" : "static" | "dynamic" | Defaults["weeksInMonth"]>;
|
112
82
|
default: unknown extends Defaults["weeksInMonth"] ? "static" | "dynamic" : NonNullable<"static" | "dynamic"> | Defaults["weeksInMonth"];
|
113
83
|
};
|
114
|
-
firstDayOfWeek: unknown extends Defaults["firstDayOfWeek"] ?
|
84
|
+
firstDayOfWeek: unknown extends Defaults["firstDayOfWeek"] ? {
|
85
|
+
type: (StringConstructor | NumberConstructor)[];
|
86
|
+
default: number;
|
87
|
+
} : Omit<{
|
88
|
+
type: (StringConstructor | NumberConstructor)[];
|
89
|
+
default: number;
|
90
|
+
}, "type" | "default"> & {
|
115
91
|
type: PropType<unknown extends Defaults["firstDayOfWeek"] ? string | number : string | number | Defaults["firstDayOfWeek"]>;
|
116
92
|
default: unknown extends Defaults["firstDayOfWeek"] ? string | number : NonNullable<string | number> | Defaults["firstDayOfWeek"];
|
117
93
|
};
|
@@ -162,8 +138,9 @@ export declare const VDatePickerMonth: {
|
|
162
138
|
disabled: boolean;
|
163
139
|
reverseTransition: string;
|
164
140
|
showAdjacentMonths: boolean;
|
165
|
-
weekdays:
|
141
|
+
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
166
142
|
weeksInMonth: "static" | "dynamic";
|
143
|
+
firstDayOfWeek: string | number;
|
167
144
|
hideWeekdays: boolean;
|
168
145
|
showWeek: boolean;
|
169
146
|
} & {
|
@@ -174,7 +151,6 @@ export declare const VDatePickerMonth: {
|
|
174
151
|
month?: string | number | undefined;
|
175
152
|
year?: string | number | undefined;
|
176
153
|
modelValue?: unknown[] | undefined;
|
177
|
-
firstDayOfWeek?: string | number | undefined;
|
178
154
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
179
155
|
} & {
|
180
156
|
$children?: {} | import("vue").VNodeChild | {
|
@@ -216,8 +192,9 @@ export declare const VDatePickerMonth: {
|
|
216
192
|
disabled: boolean;
|
217
193
|
reverseTransition: string;
|
218
194
|
showAdjacentMonths: boolean;
|
219
|
-
weekdays:
|
195
|
+
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
220
196
|
weeksInMonth: "static" | "dynamic";
|
197
|
+
firstDayOfWeek: string | number;
|
221
198
|
hideWeekdays: boolean;
|
222
199
|
showWeek: boolean;
|
223
200
|
}, true, {}, import("vue").SlotsType<Partial<{
|
@@ -240,8 +217,9 @@ export declare const VDatePickerMonth: {
|
|
240
217
|
disabled: boolean;
|
241
218
|
reverseTransition: string;
|
242
219
|
showAdjacentMonths: boolean;
|
243
|
-
weekdays:
|
220
|
+
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
244
221
|
weeksInMonth: "static" | "dynamic";
|
222
|
+
firstDayOfWeek: string | number;
|
245
223
|
hideWeekdays: boolean;
|
246
224
|
showWeek: boolean;
|
247
225
|
} & {
|
@@ -252,7 +230,6 @@ export declare const VDatePickerMonth: {
|
|
252
230
|
month?: string | number | undefined;
|
253
231
|
year?: string | number | undefined;
|
254
232
|
modelValue?: unknown[] | undefined;
|
255
|
-
firstDayOfWeek?: string | number | undefined;
|
256
233
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
257
234
|
} & {
|
258
235
|
$children?: {} | import("vue").VNodeChild | {
|
@@ -290,8 +267,9 @@ export declare const VDatePickerMonth: {
|
|
290
267
|
disabled: boolean;
|
291
268
|
reverseTransition: string;
|
292
269
|
showAdjacentMonths: boolean;
|
293
|
-
weekdays:
|
270
|
+
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
294
271
|
weeksInMonth: "static" | "dynamic";
|
272
|
+
firstDayOfWeek: string | number;
|
295
273
|
hideWeekdays: boolean;
|
296
274
|
showWeek: boolean;
|
297
275
|
}>;
|
@@ -303,8 +281,9 @@ export declare const VDatePickerMonth: {
|
|
303
281
|
disabled: boolean;
|
304
282
|
reverseTransition: string;
|
305
283
|
showAdjacentMonths: boolean;
|
306
|
-
weekdays:
|
284
|
+
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
307
285
|
weeksInMonth: "static" | "dynamic";
|
286
|
+
firstDayOfWeek: string | number;
|
308
287
|
hideWeekdays: boolean;
|
309
288
|
showWeek: boolean;
|
310
289
|
} & {
|
@@ -315,7 +294,6 @@ export declare const VDatePickerMonth: {
|
|
315
294
|
month?: string | number | undefined;
|
316
295
|
year?: string | number | undefined;
|
317
296
|
modelValue?: unknown[] | undefined;
|
318
|
-
firstDayOfWeek?: string | number | undefined;
|
319
297
|
allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
|
320
298
|
} & {
|
321
299
|
$children?: {} | import("vue").VNodeChild | {
|
@@ -357,8 +335,9 @@ export declare const VDatePickerMonth: {
|
|
357
335
|
disabled: boolean;
|
358
336
|
reverseTransition: string;
|
359
337
|
showAdjacentMonths: boolean;
|
360
|
-
weekdays:
|
338
|
+
weekdays: import("../../composables/calendar.js").CalendarWeekdays[];
|
361
339
|
weeksInMonth: "static" | "dynamic";
|
340
|
+
firstDayOfWeek: string | number;
|
362
341
|
hideWeekdays: boolean;
|
363
342
|
showWeek: boolean;
|
364
343
|
}, {}, string, import("vue").SlotsType<Partial<{
|
@@ -381,29 +360,17 @@ export declare const VDatePickerMonth: {
|
|
381
360
|
modelValue: PropType<unknown[]>;
|
382
361
|
showAdjacentMonths: BooleanConstructor;
|
383
362
|
weekdays: {
|
384
|
-
type:
|
385
|
-
(arrayLength: number): number[];
|
386
|
-
(...items: number[]): number[];
|
387
|
-
new (arrayLength: number): number[];
|
388
|
-
new (...items: number[]): number[];
|
389
|
-
isArray(arg: any): arg is any[];
|
390
|
-
readonly prototype: any[];
|
391
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
392
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
393
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
394
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
395
|
-
of<T>(...items: T[]): T[];
|
396
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
397
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
398
|
-
readonly [Symbol.species]: ArrayConstructor;
|
399
|
-
};
|
363
|
+
type: PropType<import("../../composables/calendar.js").CalendarWeekdays[]>;
|
400
364
|
default: () => number[];
|
401
365
|
};
|
402
366
|
weeksInMonth: {
|
403
367
|
type: PropType<"dynamic" | "static">;
|
404
368
|
default: string;
|
405
369
|
};
|
406
|
-
firstDayOfWeek:
|
370
|
+
firstDayOfWeek: {
|
371
|
+
type: (StringConstructor | NumberConstructor)[];
|
372
|
+
default: number;
|
373
|
+
};
|
407
374
|
allowedDates: PropType<unknown[] | ((date: unknown) => boolean)>;
|
408
375
|
color: StringConstructor;
|
409
376
|
hideWeekdays: BooleanConstructor;
|
@@ -429,29 +396,17 @@ export declare const VDatePickerMonth: {
|
|
429
396
|
modelValue: PropType<unknown[]>;
|
430
397
|
showAdjacentMonths: BooleanConstructor;
|
431
398
|
weekdays: {
|
432
|
-
type:
|
433
|
-
(arrayLength: number): number[];
|
434
|
-
(...items: number[]): number[];
|
435
|
-
new (arrayLength: number): number[];
|
436
|
-
new (...items: number[]): number[];
|
437
|
-
isArray(arg: any): arg is any[];
|
438
|
-
readonly prototype: any[];
|
439
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
440
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
441
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
442
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
443
|
-
of<T>(...items: T[]): T[];
|
444
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
445
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
446
|
-
readonly [Symbol.species]: ArrayConstructor;
|
447
|
-
};
|
399
|
+
type: PropType<import("../../composables/calendar.js").CalendarWeekdays[]>;
|
448
400
|
default: () => number[];
|
449
401
|
};
|
450
402
|
weeksInMonth: {
|
451
403
|
type: PropType<"dynamic" | "static">;
|
452
404
|
default: string;
|
453
405
|
};
|
454
|
-
firstDayOfWeek:
|
406
|
+
firstDayOfWeek: {
|
407
|
+
type: (StringConstructor | NumberConstructor)[];
|
408
|
+
default: number;
|
409
|
+
};
|
455
410
|
allowedDates: PropType<unknown[] | ((date: unknown) => boolean)>;
|
456
411
|
color: StringConstructor;
|
457
412
|
hideWeekdays: BooleanConstructor;
|