@v-c/picker 0.0.7 → 1.0.1
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/package.json +11 -11
- package/dist/PickerInput/Popup/Footer.cjs +0 -115
- package/dist/PickerInput/Popup/PopupPanel.cjs +0 -413
- package/dist/PickerInput/Popup/PresetPanel.cjs +0 -54
- package/dist/PickerInput/Popup/index.cjs +0 -526
- package/dist/PickerInput/RangePicker.cjs +0 -1911
- package/dist/PickerInput/Selector/Icon.cjs +0 -89
- package/dist/PickerInput/Selector/Input.cjs +0 -376
- package/dist/PickerInput/Selector/MaskFormat.cjs +0 -72
- package/dist/PickerInput/Selector/RangeSelector.cjs +0 -1393
- package/dist/PickerInput/Selector/SingleSelector/MultipleDates.cjs +0 -110
- package/dist/PickerInput/Selector/SingleSelector/index.cjs +0 -1361
- package/dist/PickerInput/Selector/hooks/useClearIcon.cjs +0 -17
- package/dist/PickerInput/Selector/hooks/useInputHooks.cjs +0 -125
- package/dist/PickerInput/Selector/hooks/useRootProps.cjs +0 -14
- package/dist/PickerInput/Selector/util.cjs +0 -32
- package/dist/PickerInput/SinglePicker.cjs +0 -1881
- package/dist/PickerInput/context.cjs +0 -12
- package/dist/PickerInput/hooks/useCellRender.cjs +0 -25
- package/dist/PickerInput/hooks/useDelayState.cjs +0 -37
- package/dist/PickerInput/hooks/useDisabledBoundary.cjs +0 -15
- package/dist/PickerInput/hooks/useFieldFormat.cjs +0 -17
- package/dist/PickerInput/hooks/useFieldsInvalidate.cjs +0 -24
- package/dist/PickerInput/hooks/useFilledProps.cjs +0 -103
- package/dist/PickerInput/hooks/useInputReadOnly.cjs +0 -13
- package/dist/PickerInput/hooks/useInvalidate.cjs +0 -34
- package/dist/PickerInput/hooks/useLockEffect.cjs +0 -16
- package/dist/PickerInput/hooks/useOpen.cjs +0 -15
- package/dist/PickerInput/hooks/usePresets.cjs +0 -21
- package/dist/PickerInput/hooks/useRangeActive.cjs +0 -57
- package/dist/PickerInput/hooks/useRangeDisabledDate.cjs +0 -21
- package/dist/PickerInput/hooks/useRangePickerValue.cjs +0 -100
- package/dist/PickerInput/hooks/useRangeValue.cjs +0 -135
- package/dist/PickerInput/hooks/useShowNow.cjs +0 -15
- package/dist/PickerPanel/DatePanel/index.cjs +0 -294
- package/dist/PickerPanel/DateTimePanel/index.cjs +0 -180
- package/dist/PickerPanel/DecadePanel/index.cjs +0 -230
- package/dist/PickerPanel/MonthPanel/index.cjs +0 -219
- package/dist/PickerPanel/PanelBody.cjs +0 -157
- package/dist/PickerPanel/PanelHeader.cjs +0 -132
- package/dist/PickerPanel/QuarterPanel/index.cjs +0 -211
- package/dist/PickerPanel/TimePanel/TimePanelBody/TimeColumn.cjs +0 -145
- package/dist/PickerPanel/TimePanel/TimePanelBody/index.cjs +0 -286
- package/dist/PickerPanel/TimePanel/TimePanelBody/useScrollTo.cjs +0 -65
- package/dist/PickerPanel/TimePanel/index.cjs +0 -173
- package/dist/PickerPanel/WeekPanel/index.cjs +0 -179
- package/dist/PickerPanel/YearPanel/index.cjs +0 -239
- package/dist/PickerPanel/context.cjs +0 -61
- package/dist/PickerPanel/index.cjs +0 -473
- package/dist/PickerTrigger/index.cjs +0 -139
- package/dist/PickerTrigger/util.cjs +0 -13
- package/dist/_virtual/rolldown_runtime.cjs +0 -21
- package/dist/generate/dateFns.cjs +0 -80
- package/dist/generate/dayjs.cjs +0 -117
- package/dist/generate/index.cjs +0 -1
- package/dist/generate/luxon.cjs +0 -75
- package/dist/generate/moment.cjs +0 -107
- package/dist/hooks/useLocale.cjs +0 -45
- package/dist/hooks/useSemantic.cjs +0 -18
- package/dist/hooks/useSyncState.cjs +0 -29
- package/dist/hooks/useTimeConfig.cjs +0 -161
- package/dist/hooks/useTimeInfo.cjs +0 -114
- package/dist/hooks/useToggleDates.cjs +0 -16
- package/dist/index.cjs +0 -12
- package/dist/interface.cjs +0 -1
- package/dist/locale/am_ET.cjs +0 -34
- package/dist/locale/ar_EG.cjs +0 -32
- package/dist/locale/az_AZ.cjs +0 -33
- package/dist/locale/bg_BG.cjs +0 -32
- package/dist/locale/bn_BD.cjs +0 -33
- package/dist/locale/by_BY.cjs +0 -33
- package/dist/locale/ca_ES.cjs +0 -32
- package/dist/locale/common.cjs +0 -8
- package/dist/locale/cs_CZ.cjs +0 -32
- package/dist/locale/da_DK.cjs +0 -32
- package/dist/locale/de_DE.cjs +0 -32
- package/dist/locale/el_GR.cjs +0 -32
- package/dist/locale/en_GB.cjs +0 -32
- package/dist/locale/en_US.cjs +0 -33
- package/dist/locale/es_ES.cjs +0 -32
- package/dist/locale/es_MX.cjs +0 -33
- package/dist/locale/et_EE.cjs +0 -32
- package/dist/locale/eu_ES.cjs +0 -34
- package/dist/locale/fa_IR.cjs +0 -32
- package/dist/locale/fi_FI.cjs +0 -32
- package/dist/locale/fr_BE.cjs +0 -32
- package/dist/locale/fr_CA.cjs +0 -33
- package/dist/locale/fr_FR.cjs +0 -33
- package/dist/locale/ga_IE.cjs +0 -33
- package/dist/locale/gl_ES.cjs +0 -32
- package/dist/locale/he_IL.cjs +0 -33
- package/dist/locale/hi_IN.cjs +0 -33
- package/dist/locale/hr_HR.cjs +0 -33
- package/dist/locale/hu_HU.cjs +0 -33
- package/dist/locale/id_ID.cjs +0 -33
- package/dist/locale/is_IS.cjs +0 -32
- package/dist/locale/it_IT.cjs +0 -55
- package/dist/locale/ja_JP.cjs +0 -35
- package/dist/locale/ka_GE.cjs +0 -33
- package/dist/locale/kk_KZ.cjs +0 -32
- package/dist/locale/km_KH.cjs +0 -34
- package/dist/locale/kmr_IQ.cjs +0 -32
- package/dist/locale/kn_IN.cjs +0 -33
- package/dist/locale/ko_KR.cjs +0 -34
- package/dist/locale/lt_LT.cjs +0 -34
- package/dist/locale/lv_LV.cjs +0 -32
- package/dist/locale/mk_MK.cjs +0 -32
- package/dist/locale/ml_IN.cjs +0 -33
- package/dist/locale/mn_MN.cjs +0 -34
- package/dist/locale/mr_IN.cjs +0 -59
- package/dist/locale/ms_MY.cjs +0 -34
- package/dist/locale/my_MM.cjs +0 -33
- package/dist/locale/nb_NO.cjs +0 -34
- package/dist/locale/ne_NP.cjs +0 -33
- package/dist/locale/nl_BE.cjs +0 -32
- package/dist/locale/nl_NL.cjs +0 -32
- package/dist/locale/pl_PL.cjs +0 -32
- package/dist/locale/pt_BR.cjs +0 -56
- package/dist/locale/pt_PT.cjs +0 -55
- package/dist/locale/ro_RO.cjs +0 -33
- package/dist/locale/ru_RU.cjs +0 -32
- package/dist/locale/si_LK.cjs +0 -34
- package/dist/locale/sk_SK.cjs +0 -32
- package/dist/locale/sl_SI.cjs +0 -32
- package/dist/locale/sr_Cyrl_RS.cjs +0 -32
- package/dist/locale/sr_RS.cjs +0 -32
- package/dist/locale/sv_SE.cjs +0 -32
- package/dist/locale/ta_IN.cjs +0 -33
- package/dist/locale/te_IN.cjs +0 -33
- package/dist/locale/th_TH.cjs +0 -32
- package/dist/locale/tk_TK.cjs +0 -32
- package/dist/locale/tr_TR.cjs +0 -55
- package/dist/locale/ug_CN.cjs +0 -35
- package/dist/locale/uk_UA.cjs +0 -32
- package/dist/locale/ur_PK.cjs +0 -33
- package/dist/locale/uz_UZ.cjs +0 -33
- package/dist/locale/vi_VN.cjs +0 -33
- package/dist/locale/zh_CN.cjs +0 -36
- package/dist/locale/zh_TW.cjs +0 -36
- package/dist/utils/dateUtil.cjs +0 -105
- package/dist/utils/getClearIcon.cjs +0 -7
- package/dist/utils/miscUtil.cjs +0 -46
- package/dist/utils/uiUtil.cjs +0 -6
- package/dist/utils/warnUtil.cjs +0 -8
|
@@ -1,526 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports, {
|
|
2
|
-
__esModule: { value: true },
|
|
3
|
-
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
-
});
|
|
5
|
-
const require_rolldown_runtime = require("../../_virtual/rolldown_runtime.cjs");
|
|
6
|
-
const require_context = require("../context.cjs");
|
|
7
|
-
const require_miscUtil = require("../../utils/miscUtil.cjs");
|
|
8
|
-
const require_Footer = require("./Footer.cjs");
|
|
9
|
-
const require_PopupPanel = require("./PopupPanel.cjs");
|
|
10
|
-
const require_PresetPanel = require("./PresetPanel.cjs");
|
|
11
|
-
let vue = require("vue");
|
|
12
|
-
let _v_c_util = require("@v-c/util");
|
|
13
|
-
let _v_c_resize_observer = require("@v-c/resize-observer");
|
|
14
|
-
var Popup = /* @__PURE__ */ (0, vue.defineComponent)((props) => {
|
|
15
|
-
const activeInfo = (0, vue.computed)(() => props.activeInfo || [
|
|
16
|
-
0,
|
|
17
|
-
0,
|
|
18
|
-
0
|
|
19
|
-
]);
|
|
20
|
-
const ctx = require_context.usePickerContext();
|
|
21
|
-
const panelPrefixCls = (0, vue.computed)(() => `${ctx.value.prefixCls}-panel`);
|
|
22
|
-
const rtl = (0, vue.computed)(() => props.direction === "rtl");
|
|
23
|
-
const arrowRef = (0, vue.ref)();
|
|
24
|
-
const wrapperRef = (0, vue.ref)();
|
|
25
|
-
const containerRef = (0, vue.ref)();
|
|
26
|
-
const containerWidth = (0, vue.ref)(0);
|
|
27
|
-
const containerOffset = (0, vue.ref)(0);
|
|
28
|
-
const arrowOffset = (0, vue.ref)(0);
|
|
29
|
-
const onResize = (info) => {
|
|
30
|
-
if (info.width) containerWidth.value = info.width;
|
|
31
|
-
};
|
|
32
|
-
const rangeEnabled = (0, vue.ref)(props.range);
|
|
33
|
-
(0, vue.watch)(() => props.range, (val) => {
|
|
34
|
-
rangeEnabled.value = val;
|
|
35
|
-
});
|
|
36
|
-
(0, _v_c_resize_observer.useResizeObserver)(rangeEnabled, containerRef, onResize);
|
|
37
|
-
const retryTimes = (0, vue.ref)(0);
|
|
38
|
-
const calculateOffsets = () => {
|
|
39
|
-
const [activeInputLeft, activeInputRight, selectorWidth] = activeInfo.value;
|
|
40
|
-
if (props.range && wrapperRef.value) {
|
|
41
|
-
const arrowWidth = arrowRef.value?.offsetWidth || 0;
|
|
42
|
-
const wrapperRect = wrapperRef.value.getBoundingClientRect();
|
|
43
|
-
if (!wrapperRect.height || wrapperRect.right < 0) {
|
|
44
|
-
if (retryTimes.value > 0) {
|
|
45
|
-
retryTimes.value--;
|
|
46
|
-
requestAnimationFrame(() => {
|
|
47
|
-
calculateOffsets();
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
arrowOffset.value = (rtl.value ? activeInputRight - arrowWidth : activeInputLeft) - wrapperRect.left;
|
|
53
|
-
if (containerWidth.value && containerWidth.value < selectorWidth) {
|
|
54
|
-
const offset = rtl.value ? wrapperRect.right - (activeInputRight - arrowWidth + containerWidth.value) : activeInputLeft + arrowWidth - wrapperRect.left - containerWidth.value;
|
|
55
|
-
containerOffset.value = Math.max(0, offset);
|
|
56
|
-
} else containerOffset.value = 0;
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
(0, vue.watch)(() => props.activeInfo, async () => {
|
|
60
|
-
retryTimes.value = 10;
|
|
61
|
-
await (0, vue.nextTick)();
|
|
62
|
-
calculateOffsets();
|
|
63
|
-
}, { immediate: true });
|
|
64
|
-
(0, vue.watch)([
|
|
65
|
-
rtl,
|
|
66
|
-
containerWidth,
|
|
67
|
-
() => props.range
|
|
68
|
-
], async () => {
|
|
69
|
-
await (0, vue.nextTick)();
|
|
70
|
-
calculateOffsets();
|
|
71
|
-
}, { flush: "post" });
|
|
72
|
-
function filterEmpty(list) {
|
|
73
|
-
return list.filter((item) => item);
|
|
74
|
-
}
|
|
75
|
-
const valueList = (0, vue.computed)(() => filterEmpty(require_miscUtil.toArray(props.value)));
|
|
76
|
-
const isTimePickerEmptyValue = (0, vue.computed)(() => props.picker === "time" && !valueList.value.length);
|
|
77
|
-
const footerSubmitValue = (0, vue.computed)(() => {
|
|
78
|
-
if (isTimePickerEmptyValue.value) return filterEmpty([props.defaultOpenValue]);
|
|
79
|
-
return valueList.value;
|
|
80
|
-
});
|
|
81
|
-
const popupPanelValue = (0, vue.computed)(() => isTimePickerEmptyValue.value ? props.defaultOpenValue : valueList.value);
|
|
82
|
-
const disableSubmit = (0, vue.computed)(() => {
|
|
83
|
-
if (!footerSubmitValue.value.length) return true;
|
|
84
|
-
return footerSubmitValue.value.some((val) => props.isInvalid(val));
|
|
85
|
-
});
|
|
86
|
-
const onFooterSubmit = () => {
|
|
87
|
-
if (isTimePickerEmptyValue.value) props.onSelect?.(props.defaultOpenValue);
|
|
88
|
-
props.onOk();
|
|
89
|
-
props.onSubmit();
|
|
90
|
-
};
|
|
91
|
-
return () => {
|
|
92
|
-
const { classNames, panelRender, multiple, showNow, picker, range, presets, onPresetSubmit, onPresetHover, internalMode, styles, onFocus, onBlur, onPanelMouseDown } = props;
|
|
93
|
-
const onPanelFocusIn = (event) => {
|
|
94
|
-
onFocus?.(event);
|
|
95
|
-
};
|
|
96
|
-
const onPanelFocusOut = (event) => {
|
|
97
|
-
onBlur?.(event);
|
|
98
|
-
};
|
|
99
|
-
const prefixCls = ctx.value.prefixCls;
|
|
100
|
-
let mergedNodes = (0, vue.createVNode)("div", { "class": `${prefixCls}-panel-layout` }, [(0, vue.createVNode)(require_PresetPanel.default, {
|
|
101
|
-
"prefixCls": prefixCls,
|
|
102
|
-
"presets": presets,
|
|
103
|
-
"onClick": onPresetSubmit,
|
|
104
|
-
"onHover": onPresetHover
|
|
105
|
-
}, null), (0, vue.createVNode)("div", null, [(0, vue.createVNode)(require_PopupPanel.default, (0, vue.mergeProps)(props, { "value": popupPanelValue.value }), null), (0, vue.createVNode)(require_Footer.default, (0, vue.mergeProps)((0, _v_c_util.omit)(props, ["onSubmit"]), {
|
|
106
|
-
"showNow": multiple ? false : showNow,
|
|
107
|
-
"invalid": disableSubmit.value,
|
|
108
|
-
"onSubmit": onFooterSubmit
|
|
109
|
-
}), null)])]);
|
|
110
|
-
if (panelRender) mergedNodes = panelRender(mergedNodes);
|
|
111
|
-
const containerPrefixCls = `${panelPrefixCls.value}-container`;
|
|
112
|
-
const marginLeft = "marginLeft";
|
|
113
|
-
const marginRight = "marginRight";
|
|
114
|
-
let renderNode = (0, vue.createVNode)("div", {
|
|
115
|
-
"ref": range ? containerRef : void 0,
|
|
116
|
-
"onMousedown": onPanelMouseDown,
|
|
117
|
-
"tabindex": -1,
|
|
118
|
-
"class": (0, _v_c_util.clsx)(containerPrefixCls, `${ctx.value.prefixCls}-${internalMode}-panel-container`, classNames?.popup?.container),
|
|
119
|
-
"style": {
|
|
120
|
-
[rtl.value ? marginRight : marginLeft]: `${containerOffset.value}px`,
|
|
121
|
-
[rtl.value ? marginLeft : marginRight]: "auto",
|
|
122
|
-
...styles?.popup?.container
|
|
123
|
-
},
|
|
124
|
-
"onFocusin": onPanelFocusIn,
|
|
125
|
-
"onFocusout": onPanelFocusOut
|
|
126
|
-
}, [mergedNodes]);
|
|
127
|
-
if (range) renderNode = (0, vue.createVNode)("div", {
|
|
128
|
-
"onMousedown": onPanelMouseDown,
|
|
129
|
-
"ref": wrapperRef,
|
|
130
|
-
"class": (0, _v_c_util.clsx)(`${ctx.value.prefixCls}-range-wrapper`, `${ctx.value.prefixCls}-${picker}-range-wrapper`)
|
|
131
|
-
}, [(0, vue.createVNode)("div", {
|
|
132
|
-
"ref": arrowRef,
|
|
133
|
-
"class": `${ctx.value.prefixCls}-range-arrow`,
|
|
134
|
-
"style": { left: `${arrowOffset.value}px` }
|
|
135
|
-
}, null), renderNode]);
|
|
136
|
-
return renderNode;
|
|
137
|
-
};
|
|
138
|
-
}, {
|
|
139
|
-
props: {
|
|
140
|
-
onFocus: {
|
|
141
|
-
type: Function,
|
|
142
|
-
required: false,
|
|
143
|
-
default: void 0
|
|
144
|
-
},
|
|
145
|
-
onBlur: {
|
|
146
|
-
type: Function,
|
|
147
|
-
required: false,
|
|
148
|
-
default: void 0
|
|
149
|
-
},
|
|
150
|
-
mode: {
|
|
151
|
-
type: String,
|
|
152
|
-
required: false,
|
|
153
|
-
default: void 0
|
|
154
|
-
},
|
|
155
|
-
internalMode: {
|
|
156
|
-
type: String,
|
|
157
|
-
required: true,
|
|
158
|
-
default: void 0
|
|
159
|
-
},
|
|
160
|
-
renderExtraFooter: {
|
|
161
|
-
type: Function,
|
|
162
|
-
required: false,
|
|
163
|
-
default: void 0
|
|
164
|
-
},
|
|
165
|
-
showNow: {
|
|
166
|
-
type: Boolean,
|
|
167
|
-
required: false,
|
|
168
|
-
default: void 0
|
|
169
|
-
},
|
|
170
|
-
generateConfig: {
|
|
171
|
-
type: Object,
|
|
172
|
-
required: false,
|
|
173
|
-
default: void 0
|
|
174
|
-
},
|
|
175
|
-
disabledDate: {
|
|
176
|
-
type: Function,
|
|
177
|
-
required: false,
|
|
178
|
-
default: void 0
|
|
179
|
-
},
|
|
180
|
-
showTime: {
|
|
181
|
-
type: Object,
|
|
182
|
-
required: false,
|
|
183
|
-
default: void 0
|
|
184
|
-
},
|
|
185
|
-
invalid: {
|
|
186
|
-
type: Boolean,
|
|
187
|
-
required: false,
|
|
188
|
-
default: void 0
|
|
189
|
-
},
|
|
190
|
-
onSubmit: {
|
|
191
|
-
type: Function,
|
|
192
|
-
required: true,
|
|
193
|
-
default: void 0
|
|
194
|
-
},
|
|
195
|
-
needConfirm: {
|
|
196
|
-
type: [Boolean, null],
|
|
197
|
-
required: true,
|
|
198
|
-
default: void 0
|
|
199
|
-
},
|
|
200
|
-
onNow: {
|
|
201
|
-
type: Function,
|
|
202
|
-
required: true,
|
|
203
|
-
default: void 0
|
|
204
|
-
},
|
|
205
|
-
multiplePanel: {
|
|
206
|
-
type: Boolean,
|
|
207
|
-
required: false,
|
|
208
|
-
default: void 0
|
|
209
|
-
},
|
|
210
|
-
range: {
|
|
211
|
-
type: Boolean,
|
|
212
|
-
required: false,
|
|
213
|
-
default: void 0
|
|
214
|
-
},
|
|
215
|
-
onPickerValueChange: {
|
|
216
|
-
type: Function,
|
|
217
|
-
required: true,
|
|
218
|
-
default: void 0
|
|
219
|
-
},
|
|
220
|
-
onPanelChange: {
|
|
221
|
-
type: Function,
|
|
222
|
-
required: false,
|
|
223
|
-
default: void 0
|
|
224
|
-
},
|
|
225
|
-
prefixCls: {
|
|
226
|
-
type: String,
|
|
227
|
-
required: false,
|
|
228
|
-
default: void 0
|
|
229
|
-
},
|
|
230
|
-
direction: {
|
|
231
|
-
type: String,
|
|
232
|
-
required: false,
|
|
233
|
-
default: void 0
|
|
234
|
-
},
|
|
235
|
-
onSelect: {
|
|
236
|
-
type: Function,
|
|
237
|
-
required: false,
|
|
238
|
-
default: void 0
|
|
239
|
-
},
|
|
240
|
-
defaultPickerValue: {
|
|
241
|
-
required: false,
|
|
242
|
-
default: void 0
|
|
243
|
-
},
|
|
244
|
-
pickerValue: {
|
|
245
|
-
required: false,
|
|
246
|
-
default: void 0
|
|
247
|
-
},
|
|
248
|
-
picker: {
|
|
249
|
-
type: String,
|
|
250
|
-
required: false,
|
|
251
|
-
default: void 0
|
|
252
|
-
},
|
|
253
|
-
showWeek: {
|
|
254
|
-
type: Boolean,
|
|
255
|
-
required: false,
|
|
256
|
-
default: void 0
|
|
257
|
-
},
|
|
258
|
-
cellRender: {
|
|
259
|
-
type: Function,
|
|
260
|
-
required: false,
|
|
261
|
-
default: void 0
|
|
262
|
-
},
|
|
263
|
-
dateRender: {
|
|
264
|
-
type: Function,
|
|
265
|
-
required: false,
|
|
266
|
-
default: void 0
|
|
267
|
-
},
|
|
268
|
-
monthCellRender: {
|
|
269
|
-
type: Function,
|
|
270
|
-
required: false,
|
|
271
|
-
default: void 0
|
|
272
|
-
},
|
|
273
|
-
hoverValue: {
|
|
274
|
-
type: Array,
|
|
275
|
-
required: false,
|
|
276
|
-
default: void 0
|
|
277
|
-
},
|
|
278
|
-
hoverRangeValue: {
|
|
279
|
-
type: Array,
|
|
280
|
-
required: false,
|
|
281
|
-
default: void 0
|
|
282
|
-
},
|
|
283
|
-
onHover: {
|
|
284
|
-
type: Function,
|
|
285
|
-
required: false,
|
|
286
|
-
default: void 0
|
|
287
|
-
},
|
|
288
|
-
components: {
|
|
289
|
-
type: Object,
|
|
290
|
-
required: false,
|
|
291
|
-
default: void 0
|
|
292
|
-
},
|
|
293
|
-
hideHeader: {
|
|
294
|
-
type: Boolean,
|
|
295
|
-
required: false,
|
|
296
|
-
default: void 0
|
|
297
|
-
},
|
|
298
|
-
locale: {
|
|
299
|
-
type: Object,
|
|
300
|
-
required: false,
|
|
301
|
-
default: void 0
|
|
302
|
-
},
|
|
303
|
-
minDate: {
|
|
304
|
-
required: false,
|
|
305
|
-
default: void 0
|
|
306
|
-
},
|
|
307
|
-
maxDate: {
|
|
308
|
-
required: false,
|
|
309
|
-
default: void 0
|
|
310
|
-
},
|
|
311
|
-
prevIcon: {
|
|
312
|
-
type: [
|
|
313
|
-
Object,
|
|
314
|
-
Function,
|
|
315
|
-
String,
|
|
316
|
-
Number,
|
|
317
|
-
null,
|
|
318
|
-
Boolean,
|
|
319
|
-
Array
|
|
320
|
-
],
|
|
321
|
-
required: false,
|
|
322
|
-
default: void 0
|
|
323
|
-
},
|
|
324
|
-
nextIcon: {
|
|
325
|
-
type: [
|
|
326
|
-
Object,
|
|
327
|
-
Function,
|
|
328
|
-
String,
|
|
329
|
-
Number,
|
|
330
|
-
null,
|
|
331
|
-
Boolean,
|
|
332
|
-
Array
|
|
333
|
-
],
|
|
334
|
-
required: false,
|
|
335
|
-
default: void 0
|
|
336
|
-
},
|
|
337
|
-
superPrevIcon: {
|
|
338
|
-
type: [
|
|
339
|
-
Object,
|
|
340
|
-
Function,
|
|
341
|
-
String,
|
|
342
|
-
Number,
|
|
343
|
-
null,
|
|
344
|
-
Boolean,
|
|
345
|
-
Array
|
|
346
|
-
],
|
|
347
|
-
required: false,
|
|
348
|
-
default: void 0
|
|
349
|
-
},
|
|
350
|
-
superNextIcon: {
|
|
351
|
-
type: [
|
|
352
|
-
Object,
|
|
353
|
-
Function,
|
|
354
|
-
String,
|
|
355
|
-
Number,
|
|
356
|
-
null,
|
|
357
|
-
Boolean,
|
|
358
|
-
Array
|
|
359
|
-
],
|
|
360
|
-
required: false,
|
|
361
|
-
default: void 0
|
|
362
|
-
},
|
|
363
|
-
format: {
|
|
364
|
-
type: String,
|
|
365
|
-
required: false,
|
|
366
|
-
default: void 0
|
|
367
|
-
},
|
|
368
|
-
showHour: {
|
|
369
|
-
type: Boolean,
|
|
370
|
-
required: false,
|
|
371
|
-
default: void 0
|
|
372
|
-
},
|
|
373
|
-
showMinute: {
|
|
374
|
-
type: Boolean,
|
|
375
|
-
required: false,
|
|
376
|
-
default: void 0
|
|
377
|
-
},
|
|
378
|
-
showSecond: {
|
|
379
|
-
type: Boolean,
|
|
380
|
-
required: false,
|
|
381
|
-
default: void 0
|
|
382
|
-
},
|
|
383
|
-
showMillisecond: {
|
|
384
|
-
type: Boolean,
|
|
385
|
-
required: false,
|
|
386
|
-
default: void 0
|
|
387
|
-
},
|
|
388
|
-
use12Hours: {
|
|
389
|
-
type: Boolean,
|
|
390
|
-
required: false,
|
|
391
|
-
default: void 0
|
|
392
|
-
},
|
|
393
|
-
hourStep: {
|
|
394
|
-
required: false,
|
|
395
|
-
default: void 0
|
|
396
|
-
},
|
|
397
|
-
minuteStep: {
|
|
398
|
-
required: false,
|
|
399
|
-
default: void 0
|
|
400
|
-
},
|
|
401
|
-
secondStep: {
|
|
402
|
-
required: false,
|
|
403
|
-
default: void 0
|
|
404
|
-
},
|
|
405
|
-
millisecondStep: {
|
|
406
|
-
required: false,
|
|
407
|
-
default: void 0
|
|
408
|
-
},
|
|
409
|
-
hideDisabledOptions: {
|
|
410
|
-
type: Boolean,
|
|
411
|
-
required: false,
|
|
412
|
-
default: void 0
|
|
413
|
-
},
|
|
414
|
-
defaultValue: {
|
|
415
|
-
type: [Array, null],
|
|
416
|
-
required: false,
|
|
417
|
-
default: void 0
|
|
418
|
-
},
|
|
419
|
-
defaultOpenValue: {
|
|
420
|
-
type: void 0,
|
|
421
|
-
required: false,
|
|
422
|
-
default: void 0
|
|
423
|
-
},
|
|
424
|
-
disabledHours: {
|
|
425
|
-
type: Function,
|
|
426
|
-
required: false,
|
|
427
|
-
default: void 0
|
|
428
|
-
},
|
|
429
|
-
disabledMinutes: {
|
|
430
|
-
type: Function,
|
|
431
|
-
required: false,
|
|
432
|
-
default: void 0
|
|
433
|
-
},
|
|
434
|
-
disabledSeconds: {
|
|
435
|
-
type: Function,
|
|
436
|
-
required: false,
|
|
437
|
-
default: void 0
|
|
438
|
-
},
|
|
439
|
-
disabledTime: {
|
|
440
|
-
type: Function,
|
|
441
|
-
required: false,
|
|
442
|
-
default: void 0
|
|
443
|
-
},
|
|
444
|
-
changeOnScroll: {
|
|
445
|
-
type: Boolean,
|
|
446
|
-
required: false,
|
|
447
|
-
default: void 0
|
|
448
|
-
},
|
|
449
|
-
tabindex: {
|
|
450
|
-
type: [
|
|
451
|
-
Number,
|
|
452
|
-
String,
|
|
453
|
-
null
|
|
454
|
-
],
|
|
455
|
-
required: false,
|
|
456
|
-
default: void 0
|
|
457
|
-
},
|
|
458
|
-
multiple: {
|
|
459
|
-
type: Boolean,
|
|
460
|
-
required: false,
|
|
461
|
-
default: void 0
|
|
462
|
-
},
|
|
463
|
-
value: {
|
|
464
|
-
required: false,
|
|
465
|
-
default: void 0
|
|
466
|
-
},
|
|
467
|
-
onChange: {
|
|
468
|
-
type: Function,
|
|
469
|
-
required: false,
|
|
470
|
-
default: void 0
|
|
471
|
-
},
|
|
472
|
-
styles: {
|
|
473
|
-
type: Object,
|
|
474
|
-
required: false,
|
|
475
|
-
default: void 0
|
|
476
|
-
},
|
|
477
|
-
classNames: {
|
|
478
|
-
type: Object,
|
|
479
|
-
required: false,
|
|
480
|
-
default: void 0
|
|
481
|
-
},
|
|
482
|
-
panelRender: {
|
|
483
|
-
type: Function,
|
|
484
|
-
required: false,
|
|
485
|
-
default: void 0
|
|
486
|
-
},
|
|
487
|
-
presets: {
|
|
488
|
-
type: Array,
|
|
489
|
-
required: true,
|
|
490
|
-
default: void 0
|
|
491
|
-
},
|
|
492
|
-
onPresetHover: {
|
|
493
|
-
type: Function,
|
|
494
|
-
required: true,
|
|
495
|
-
default: void 0
|
|
496
|
-
},
|
|
497
|
-
onPresetSubmit: {
|
|
498
|
-
type: Function,
|
|
499
|
-
required: true,
|
|
500
|
-
default: void 0
|
|
501
|
-
},
|
|
502
|
-
activeInfo: {
|
|
503
|
-
type: Array,
|
|
504
|
-
required: false,
|
|
505
|
-
default: void 0
|
|
506
|
-
},
|
|
507
|
-
isInvalid: {
|
|
508
|
-
type: Function,
|
|
509
|
-
required: true,
|
|
510
|
-
default: void 0
|
|
511
|
-
},
|
|
512
|
-
onOk: {
|
|
513
|
-
required: true,
|
|
514
|
-
default: void 0
|
|
515
|
-
},
|
|
516
|
-
onPanelMouseDown: {
|
|
517
|
-
type: Function,
|
|
518
|
-
required: false,
|
|
519
|
-
default: void 0
|
|
520
|
-
}
|
|
521
|
-
},
|
|
522
|
-
name: "Popup",
|
|
523
|
-
inheritAttrs: false
|
|
524
|
-
});
|
|
525
|
-
var Popup_default = Popup;
|
|
526
|
-
exports.default = Popup_default;
|