@dcodegroup-au/dsg-vue 1.0.10-next → 1.0.12-next
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/{DsgTablePerPage.vue_vue_type_style_index_0_lang-DQk8doWV.cjs → DsgTablePerPage.vue_vue_type_style_index_0_lang-CX6n9ht7.cjs} +1201 -1201
- package/dist/{DsgTablePerPage.vue_vue_type_style_index_0_lang-CaBn8JMp.js → DsgTablePerPage.vue_vue_type_style_index_0_lang-o48o8k1B.js} +6272 -6230
- package/dist/components/Elements/DsgDatepicker.vue.d.ts +11 -3
- package/dist/dsg-vue.cjs +5 -5
- package/dist/dsg-vue.css +3 -3
- package/dist/dsg-vue.editor.cjs +110 -109
- package/dist/dsg-vue.editor.esm.js +3558 -3163
- package/dist/dsg-vue.esm.js +14 -17
- package/dist/dsg-vue.table.cjs +2 -2
- package/dist/dsg-vue.table.esm.js +137 -137
- package/dist/main.d.ts +3 -3
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { nextTick } from 'vue';
|
|
2
|
-
import { RangeConfig, UIConfig, FloatingConfig, TimeConfig, FormatsConfig } from '@vuepic/vue-datepicker';
|
|
2
|
+
import { RangeConfig, UIConfig, FloatingConfig, TimeConfig, FormatsConfig, TextInputConfig } from '@vuepic/vue-datepicker';
|
|
3
3
|
import { Locale } from 'date-fns';
|
|
4
4
|
/**
|
|
5
5
|
* ------------------------------------------------
|
|
@@ -14,6 +14,8 @@ export type DsgUiClasses = UIConfig;
|
|
|
14
14
|
export type DsgDatepickerFloatingConfig = FloatingConfig;
|
|
15
15
|
export type DsgDatepickerTimeConfig = TimeConfig;
|
|
16
16
|
export type DsgDatepickerFormatsConfig = FormatsConfig;
|
|
17
|
+
export type DsgDatepickerTextInputConfig = TextInputConfig;
|
|
18
|
+
export type DsgDatepickerTextInput = boolean | Partial<DsgDatepickerTextInputConfig>;
|
|
17
19
|
/**
|
|
18
20
|
* The model type determines the format of the v-model value.
|
|
19
21
|
* - `undefined` (default): returns `Date` objects
|
|
@@ -47,6 +49,12 @@ export interface DsgDatepickerProps {
|
|
|
47
49
|
*/
|
|
48
50
|
modelType?: DsgDatepickerModelType;
|
|
49
51
|
requiredLabel?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Enable keyboard editing in the input field.
|
|
54
|
+
* Pass `false` to disable, or a config object to customise parsing / submit behaviour.
|
|
55
|
+
* @see https://vue3datepicker.com/props/modes/#text-input
|
|
56
|
+
*/
|
|
57
|
+
textInput?: DsgDatepickerTextInput;
|
|
50
58
|
}
|
|
51
59
|
type __VLS_Props = DsgDatepickerProps;
|
|
52
60
|
type __VLS_PublicProps = {
|
|
@@ -127,7 +135,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
127
135
|
readonly inline?: boolean | {
|
|
128
136
|
input?: boolean;
|
|
129
137
|
} | undefined;
|
|
130
|
-
readonly textInput?: (boolean | Partial<
|
|
138
|
+
readonly textInput?: (boolean | Partial<TextInputConfig>) | undefined;
|
|
131
139
|
readonly sixWeeks?: (boolean | import('@vuepic/vue-datepicker').SixWeekMode) | undefined;
|
|
132
140
|
readonly actionRow?: Partial<import('@vuepic/vue-datepicker').ActionRowConfig> | undefined;
|
|
133
141
|
readonly focusStartDate?: boolean | undefined;
|
|
@@ -675,7 +683,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
675
683
|
open: boolean;
|
|
676
684
|
overlay: import('@vuepic/vue-datepicker').PickerSection;
|
|
677
685
|
}) => any) | undefined;
|
|
678
|
-
}>, "dark" | "loading" | "range" | "disableYearSelect" | "centered" | "ui" | "locale" | "transitions" | "hideNavigation" | "vertical" | "hideMonthYearSelect" | "yearRange" | "autoApply" | "disabledDates" | "hideOffsetDates" | "noToday" | "markers" | "presetDates" | "preventMinMaxNavigation" | "reverseYears" | "weekPicker" | "arrowNavigation" | "weekStart" | "monthPicker" | "yearPicker" | "modelAuto" | "multiDates" | "timePicker" | "inline" | "sixWeeks" | "focusStartDate" | "quarterPicker" | "yearFirst" | "
|
|
686
|
+
}>, "dark" | "loading" | "range" | "disableYearSelect" | "centered" | "ui" | "locale" | "openMenu" | "transitions" | "hideNavigation" | "vertical" | "hideMonthYearSelect" | "yearRange" | "autoApply" | "disabledDates" | "hideOffsetDates" | "noToday" | "markers" | "presetDates" | "preventMinMaxNavigation" | "reverseYears" | "weekPicker" | "arrowNavigation" | "weekStart" | "monthPicker" | "yearPicker" | "modelAuto" | "multiDates" | "timePicker" | "inline" | "sixWeeks" | "focusStartDate" | "quarterPicker" | "yearFirst" | "closeMenu" | "selectDate" | "clearValue" | "formatInputValue" | "updateInternalModelValue" | "setMonthYear" | "parseModel" | "switchView" | "handleFlow" | "toggleMenu" | "dpMenuRef" | "dpWrapMenuRef" | "inputRef"> & {
|
|
679
687
|
openMenu: () => void;
|
|
680
688
|
closeMenu: () => void;
|
|
681
689
|
selectDate: () => void;
|