prizm-ui-vue 2.2.54 → 2.2.56
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.
|
@@ -8,9 +8,8 @@ type Slots = {
|
|
|
8
8
|
default?: unknown;
|
|
9
9
|
};
|
|
10
10
|
type ElCheckboxProps = InstanceType<typeof ElCheckbox>['$props'];
|
|
11
|
-
type PickedProps = Pick<ElCheckboxProps, '
|
|
11
|
+
type PickedProps = Pick<ElCheckboxProps, 'name' | 'disabled' | 'falseValue' | 'validateEvent' | 'size' | 'value' | 'label' | 'checked'>;
|
|
12
12
|
type Props = {
|
|
13
|
-
class?: PickedProps['class'];
|
|
14
13
|
name?: PickedProps['name'];
|
|
15
14
|
disabled?: PickedProps['disabled'];
|
|
16
15
|
falseValue?: PickedProps['falseValue'];
|
|
@@ -23,7 +22,7 @@ type Props = {
|
|
|
23
22
|
type __VLS_Slots = Slots;
|
|
24
23
|
type __VLS_Props = Props;
|
|
25
24
|
type __VLS_PublicProps = __VLS_Props & {
|
|
26
|
-
modelValue
|
|
25
|
+
modelValue: string | number | boolean;
|
|
27
26
|
};
|
|
28
27
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
29
28
|
checkboxRef: Readonly<import("vue").ShallowRef<({
|
|
@@ -250,10 +249,12 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
250
249
|
};
|
|
251
250
|
}) | null>>;
|
|
252
251
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
253
|
-
"update:modelValue": (value: string | number | boolean
|
|
252
|
+
"update:modelValue": (value: string | number | boolean) => any;
|
|
254
253
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
255
|
-
"onUpdate:modelValue"?: ((value: string | number | boolean
|
|
256
|
-
}>, {
|
|
254
|
+
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
255
|
+
}>, {
|
|
256
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>;
|
|
257
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
257
258
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
258
259
|
export default _default;
|
|
259
260
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -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;
|