prizm-ui-vue 2.2.54 → 2.2.55
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.
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { ElDatePicker } from 'element-plus';
|
|
6
6
|
import 'element-plus/es/components/date-picker/style/css';
|
|
7
7
|
type ElDatePickerProps = InstanceType<typeof ElDatePicker>['$props'];
|
|
8
|
-
type PickedProps = Pick<ElDatePickerProps, 'type' | 'cellClassName' | 'clearable' | 'dateFormat' | 'disabled' | 'arrowControl' | 'isRange' | 'prefixIcon' | 'clearIcon' | 'format' | 'valueFormat' | 'name' | 'placeholder' | 'size'>;
|
|
8
|
+
type PickedProps = Pick<ElDatePickerProps, 'type' | 'cellClassName' | 'clearable' | 'dateFormat' | 'disabled' | 'arrowControl' | 'isRange' | 'prefixIcon' | 'clearIcon' | 'format' | 'valueFormat' | 'name' | 'rangeSeparator' | 'placeholder' | 'startPlaceholder' | 'endPlaceholder' | 'size' | 'shortcuts'>;
|
|
9
9
|
type Props = {
|
|
10
10
|
type?: PickedProps['type'];
|
|
11
11
|
cellClassName?: PickedProps['cellClassName'];
|
|
@@ -21,6 +21,10 @@ type Props = {
|
|
|
21
21
|
name?: PickedProps['name'];
|
|
22
22
|
placeholder?: PickedProps['placeholder'];
|
|
23
23
|
size?: PickedProps['size'];
|
|
24
|
+
shortcuts?: PickedProps['shortcuts'];
|
|
25
|
+
startPlaceholder?: PickedProps['startPlaceholder'];
|
|
26
|
+
endPlaceholder?: PickedProps['endPlaceholder'];
|
|
27
|
+
rangeSeparator?: PickedProps['rangeSeparator'];
|
|
24
28
|
onVisibility?: (visibility: boolean) => void;
|
|
25
29
|
onCalendarChange?: (val: [Date, null | Date]) => void;
|
|
26
30
|
onClear?: () => void;
|
|
@@ -298,6 +302,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
298
302
|
prefixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
299
303
|
format: string;
|
|
300
304
|
valueFormat: string;
|
|
305
|
+
rangeSeparator: string;
|
|
301
306
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
302
307
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
303
308
|
export default _default;
|