@silver-formily/element-plus 2.0.0 → 2.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/LICENSE +21 -21
- package/README.md +35 -35
- package/esm/__builtins__/configs/index.mjs.map +1 -1
- package/esm/__builtins__/shared/hooks.mjs.map +1 -1
- package/esm/__builtins__/shared/loading.mjs.map +1 -1
- package/esm/__builtins__/shared/simple-version-compare.mjs.map +1 -1
- package/esm/__builtins__/shared/transform-component.d.ts +1 -2
- package/esm/__builtins__/shared/transform-component.mjs +1 -1
- package/esm/__builtins__/shared/transform-component.mjs.map +1 -1
- package/esm/__builtins__/shared/utils.mjs +1 -1
- package/esm/__builtins__/shared/utils.mjs.map +1 -1
- package/esm/array-base/index.mjs +39 -42
- package/esm/array-base/index.mjs.map +1 -1
- package/esm/array-base/symbols.mjs.map +1 -1
- package/esm/array-base/utils.mjs +29 -33
- package/esm/array-base/utils.mjs.map +1 -1
- package/esm/array-cards/array-cards.d.ts +1 -1
- package/esm/array-cards/index.d.ts +3 -3
- package/esm/array-cards/index.mjs +23 -25
- package/esm/array-cards/index.mjs.map +1 -1
- package/esm/array-collapse/array-collapse.d.ts +2 -2
- package/esm/array-collapse/index.d.ts +3 -3
- package/esm/array-collapse/index.mjs +87 -88
- package/esm/array-collapse/index.mjs.map +1 -1
- package/esm/array-collapse/utils.mjs +2 -8
- package/esm/array-collapse/utils.mjs.map +1 -1
- package/esm/array-items/index.mjs +29 -32
- package/esm/array-items/index.mjs.map +1 -1
- package/esm/array-list-tabs/array-list-tabs.d.ts +3 -3
- package/esm/array-list-tabs/index.d.ts +6 -6
- package/esm/array-list-tabs/index.mjs +88 -86
- package/esm/array-list-tabs/index.mjs.map +1 -1
- package/esm/array-list-tabs/utils.mjs +5 -11
- package/esm/array-list-tabs/utils.mjs.map +1 -1
- package/esm/array-table/array-table.d.ts +1 -1
- package/esm/array-table/index.d.ts +3 -3
- package/esm/array-table/index.mjs +48 -50
- package/esm/array-table/index.mjs.map +1 -1
- package/esm/array-table/types.d.ts +1 -1
- package/esm/array-table/utils.mjs +12 -18
- package/esm/array-table/utils.mjs.map +1 -1
- package/esm/array-tabs/index.mjs +26 -28
- package/esm/array-tabs/index.mjs.map +1 -1
- package/esm/cascader/cascader.d.ts +1 -6
- package/esm/cascader/index.d.ts +3 -16
- package/esm/cascader/index.mjs +26 -32
- package/esm/cascader/index.mjs.map +1 -1
- package/esm/checkbox/checkbox-group.d.ts +2 -15
- package/esm/checkbox/index.d.ts +3 -28
- package/esm/checkbox/index.mjs +33 -45
- package/esm/checkbox/index.mjs.map +1 -1
- package/esm/date-picker/index.d.ts +442 -1
- package/esm/date-picker/index.mjs +9 -18
- package/esm/date-picker/index.mjs.map +1 -1
- package/esm/editable/index.mjs +34 -36
- package/esm/editable/index.mjs.map +1 -1
- package/esm/form/form.mjs +7 -7
- package/esm/form/form.mjs.map +1 -1
- package/esm/form-button-group/index.mjs +20 -23
- package/esm/form-button-group/index.mjs.map +1 -1
- package/esm/form-button-group/utils.mjs +2 -8
- package/esm/form-button-group/utils.mjs.map +1 -1
- package/esm/form-collapse/index.mjs +31 -32
- package/esm/form-collapse/index.mjs.map +1 -1
- package/esm/form-collapse/utils.mjs.map +1 -1
- package/esm/form-dialog/index.mjs +18 -18
- package/esm/form-dialog/index.mjs.map +1 -1
- package/esm/form-drawer/index.mjs +17 -17
- package/esm/form-drawer/index.mjs.map +1 -1
- package/esm/form-grid/hooks.mjs.map +1 -1
- package/esm/form-grid/index.mjs +20 -23
- package/esm/form-grid/index.mjs.map +1 -1
- package/esm/form-item/index.mjs +30 -32
- package/esm/form-item/index.mjs.map +1 -1
- package/esm/form-item/utils.mjs.map +1 -1
- package/esm/form-layout/form-layout.mjs +11 -14
- package/esm/form-layout/form-layout.mjs.map +1 -1
- package/esm/form-layout/utils.mjs +19 -24
- package/esm/form-layout/utils.mjs.map +1 -1
- package/esm/form-step/index.mjs +22 -24
- package/esm/form-step/index.mjs.map +1 -1
- package/esm/form-step/utils.mjs.map +1 -1
- package/esm/form-tab/form-tab.d.ts +2 -2
- package/esm/form-tab/hooks.mjs +1 -1
- package/esm/form-tab/hooks.mjs.map +1 -1
- package/esm/form-tab/index.d.ts +5 -5
- package/esm/form-tab/index.mjs +28 -29
- package/esm/form-tab/index.mjs.map +1 -1
- package/esm/form-tab/types.d.ts +1 -1
- package/esm/form-tab/utils.mjs.map +1 -1
- package/esm/index.mjs +58 -58
- package/esm/input/index.d.ts +6 -38
- package/esm/input/index.mjs +36 -48
- package/esm/input/index.mjs.map +1 -1
- package/esm/input/input.d.ts +1 -8
- package/esm/input-number/index.d.ts +215 -1
- package/esm/input-number/index.mjs +8 -17
- package/esm/input-number/index.mjs.map +1 -1
- package/esm/pagination/components/jumper.mjs.map +1 -1
- package/esm/pagination/components/next.mjs.map +1 -1
- package/esm/pagination/components/pager.mjs.map +1 -1
- package/esm/pagination/components/prev.mjs.map +1 -1
- package/esm/pagination/components/total.mjs.map +1 -1
- package/esm/pagination/pagination.mjs +1 -1
- package/esm/pagination/pagination.mjs.map +1 -1
- package/esm/password/index.d.ts +6 -38
- package/esm/password/index.mjs +1 -1
- package/esm/password/index.mjs.map +1 -1
- package/esm/preview-text/cascader.d.ts +1 -1
- package/esm/preview-text/date-picker.d.ts +1 -1
- package/esm/preview-text/index.d.ts +13 -13
- package/esm/preview-text/index.mjs +115 -118
- package/esm/preview-text/index.mjs.map +1 -1
- package/esm/preview-text/input.d.ts +1 -1
- package/esm/preview-text/select.d.ts +1 -1
- package/esm/preview-text/time-picker.d.ts +1 -1
- package/esm/preview-text/tree.d.ts +1 -1
- package/esm/preview-text/utils.mjs.map +1 -1
- package/esm/radio/index.d.ts +3 -25
- package/esm/radio/index.mjs +34 -44
- package/esm/radio/index.mjs.map +1 -1
- package/esm/radio/radio-group.d.ts +2 -13
- package/esm/reset/index.mjs +1 -1
- package/esm/reset/index.mjs.map +1 -1
- package/esm/select/index.d.ts +3 -16
- package/esm/select/index.mjs +62 -70
- package/esm/select/index.mjs.map +1 -1
- package/esm/select/select.d.ts +1 -6
- package/esm/select-table/index.d.ts +5 -5
- package/esm/select-table/index.mjs +78 -81
- package/esm/select-table/index.mjs.map +1 -1
- package/esm/select-table/select-table.d.ts +2 -2
- package/esm/select-table/types.d.ts +1 -1
- package/esm/submit/index.mjs +1 -1
- package/esm/submit/index.mjs.map +1 -1
- package/esm/switch/index.d.ts +260 -1
- package/esm/switch/index.mjs +5 -11
- package/esm/switch/index.mjs.map +1 -1
- package/esm/time-picker/index.d.ts +442 -1
- package/esm/time-picker/index.mjs +8 -15
- package/esm/time-picker/index.mjs.map +1 -1
- package/esm/time-select/index.d.ts +124 -1
- package/esm/time-select/index.mjs +10 -17
- package/esm/time-select/index.mjs.map +1 -1
- package/esm/transfer/index.mjs +5 -5
- package/esm/transfer/index.mjs.map +1 -1
- package/esm/tree/index.d.ts +5 -5
- package/esm/tree/index.mjs +42 -45
- package/esm/tree/index.mjs.map +1 -1
- package/esm/tree/tree.d.ts +2 -2
- package/esm/tree/types.d.ts +1 -1
- package/esm/tree/utils.mjs.map +1 -1
- package/esm/tree-select/index.d.ts +3 -19
- package/esm/tree-select/index.mjs +22 -32
- package/esm/tree-select/index.mjs.map +1 -1
- package/esm/tree-select/tree-select.d.ts +1 -8
- package/esm/upload/index.d.ts +5 -5
- package/esm/upload/index.mjs +14 -16
- package/esm/upload/index.mjs.map +1 -1
- package/esm/upload/upload.d.ts +2 -2
- package/esm/vendor/sizes.mjs.map +1 -1
- package/package.json +114 -116
package/esm/input/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../src/input/input.vue","../../src/input/index.ts"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ElInput } from 'element-plus'\nimport { useCleanAttrs } from '../__builtins__/index'\n\ndefineOptions({\n name: 'FInput',\n inheritAttrs: false,\n})\
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../src/input/input.vue","../../src/input/index.ts"],"sourcesContent":["<script setup lang=\"ts\">\r\nimport { ElInput } from 'element-plus'\r\nimport { useCleanAttrs } from '../__builtins__/index'\r\n\r\ndefineOptions({\r\n name: 'FInput',\r\n inheritAttrs: false,\r\n})\r\n\r\nconst slots = defineSlots<{\r\n prefix?: () => any\r\n suffix?: () => any\r\n prepend?: () => any\r\n append?: () => any\r\n}>()\r\n\r\nconst { props: inputProps } = useCleanAttrs()\r\n</script>\r\n\r\n<template>\r\n <ElInput\r\n v-bind=\"inputProps\"\r\n >\r\n <template v-if=\"slots.prefix\" #prefix>\r\n <slot name=\"prefix\" />\r\n </template>\r\n <template v-if=\"slots.suffix\" #suffix>\r\n <slot name=\"suffix\" />\r\n </template>\r\n <template v-if=\"slots.prepend\" #prepend>\r\n <slot name=\"prepend\" />\r\n </template>\r\n <template v-if=\"slots.append\" #append>\r\n <slot name=\"append\" />\r\n </template>\r\n </ElInput>\r\n</template>\r\n","import { connect, mapProps } from '@silver-formily/vue'\r\nimport { composeExport, mapReadPretty } from '../__builtins__'\r\nimport { PreviewText } from '../preview-text'\r\nimport FInput from './input.vue'\r\n\r\nconst InnerInput = connect(\r\n FInput,\r\n mapProps({\r\n readOnly: 'readonly',\r\n }),\r\n mapReadPretty(PreviewText.Input),\r\n)\r\n\r\nconst TextArea = connect(\r\n FInput,\r\n mapProps((props) => {\r\n return {\r\n ...props,\r\n readonly: props.readOnly,\r\n type: 'textarea',\r\n }\r\n }),\r\n mapReadPretty(PreviewText.Input),\r\n)\r\n\r\nexport const Input = composeExport(InnerInput, {\r\n TextArea,\r\n})\r\n\r\nexport default Input\r\n"],"names":["slots","_useSlots","inputProps","useCleanAttrs","_openBlock","_createBlock","_unref","_createSlots","_renderSlot","_ctx","InnerInput","connect","FInput","mapProps","mapReadPretty","PreviewText","TextArea","props","Input","composeExport"],"mappings":";;;;;;;;;;;AASA,UAAMA,IAAQC,EAAA,GAOR,EAAE,OAAOC,EAAA,IAAeC,EAAA;sBAI5BC,KAAAC,EAeUC,UAdAA,EAAAJ,CAAA,CAAU,CAAA,GAAAK,EAAA,EAAA,GAAA,KAAA;AAAA,MAEFP,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBQ,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERT,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBQ,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERT,EAAM;cAAU;AAAA,cAC9B,MAAuB;AAAA,UAAvBQ,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;MAETT,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBQ,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;;;IC5BtBC,IAAaC;AAAA,EACjBC;AAAAA,EACAC,EAAS;AAAA,IACP,UAAU;AAAA,EAAA,CACX;AAAA,EACDC,EAAcC,EAAY,KAAK;AACjC,GAEMC,IAAWL;AAAA,EACfC;AAAAA,EACAC,EAAS,CAACI,OACD;AAAA,IACL,GAAGA;AAAA,IACH,UAAUA,EAAM;AAAA,IAChB,MAAM;AAAA,EAAA,EAET;AAAA,EACDH,EAAcC,EAAY,KAAK;AACjC,GAEaG,IAAQC,EAAcT,GAAY;AAAA,EAC7C,UAAAM;AACF,CAAC;"}
|
package/esm/input/input.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
value?: string | number;
|
|
3
|
-
};
|
|
4
1
|
declare function __VLS_template(): {
|
|
5
2
|
attrs: Partial<{}>;
|
|
6
3
|
slots: Readonly<{
|
|
@@ -18,11 +15,7 @@ declare function __VLS_template(): {
|
|
|
18
15
|
rootEl: any;
|
|
19
16
|
};
|
|
20
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
22
|
-
change: (value: string | number) => any;
|
|
23
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
-
onChange?: (value: string | number) => any;
|
|
25
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
20
|
export default _default;
|
|
28
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,218 @@
|
|
|
1
1
|
import { ElInputNumber } from 'element-plus';
|
|
2
2
|
export type InputNumberProps = typeof ElInputNumber;
|
|
3
|
-
export declare const InputNumber:
|
|
3
|
+
export declare const InputNumber: import('element-plus/es/utils/index.mjs').SFCWithInstall<{
|
|
4
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
5
|
+
readonly inputmode: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown, undefined, boolean>;
|
|
6
|
+
readonly align: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right") | ((new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right"))[], unknown, unknown, "center", boolean>;
|
|
7
|
+
readonly disabledScientific: BooleanConstructor;
|
|
8
|
+
readonly ariaLabel: StringConstructor;
|
|
9
|
+
readonly id: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
10
|
+
readonly step: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
11
|
+
readonly stepStrictly: BooleanConstructor;
|
|
12
|
+
readonly max: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
13
|
+
readonly min: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
14
|
+
readonly modelValue: {
|
|
15
|
+
readonly type: import('vue').PropType<any>;
|
|
16
|
+
readonly required: false;
|
|
17
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
18
|
+
__epPropKey: true;
|
|
19
|
+
};
|
|
20
|
+
readonly readonly: BooleanConstructor;
|
|
21
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
22
|
+
readonly size: {
|
|
23
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
24
|
+
readonly required: false;
|
|
25
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
|
+
__epPropKey: true;
|
|
27
|
+
};
|
|
28
|
+
readonly controls: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
29
|
+
readonly controlsPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "right", unknown, "", boolean>;
|
|
30
|
+
readonly valueOnClear: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null) | ((new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null))[], unknown, unknown, null, boolean>;
|
|
31
|
+
readonly name: StringConstructor;
|
|
32
|
+
readonly placeholder: StringConstructor;
|
|
33
|
+
readonly precision: {
|
|
34
|
+
readonly type: import('vue').PropType<number>;
|
|
35
|
+
readonly required: false;
|
|
36
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
|
+
__epPropKey: true;
|
|
38
|
+
};
|
|
39
|
+
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
40
|
+
}>> & {
|
|
41
|
+
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
|
|
42
|
+
onInput?: ((val: number | null | undefined) => any) | undefined;
|
|
43
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
44
|
+
onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
|
|
45
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
focus: () => void;
|
|
48
|
+
blur: () => void;
|
|
49
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
50
|
+
focus: (e: FocusEvent) => void;
|
|
51
|
+
"update:modelValue": (val: number | undefined) => void;
|
|
52
|
+
change: (cur: number | undefined, prev: number | undefined) => void;
|
|
53
|
+
input: (val: number | null | undefined) => void;
|
|
54
|
+
blur: (e: FocusEvent) => void;
|
|
55
|
+
}, import('vue').PublicProps, {
|
|
56
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
57
|
+
readonly id: string;
|
|
58
|
+
readonly valueOnClear: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null) | ((new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null))[], unknown, unknown>;
|
|
59
|
+
readonly min: number;
|
|
60
|
+
readonly max: number;
|
|
61
|
+
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
62
|
+
readonly inputmode: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
|
|
63
|
+
readonly readonly: boolean;
|
|
64
|
+
readonly align: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right") | ((new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right"))[], unknown, unknown>;
|
|
65
|
+
readonly step: number;
|
|
66
|
+
readonly controls: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
67
|
+
readonly controlsPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "right", unknown>;
|
|
68
|
+
readonly disabledScientific: boolean;
|
|
69
|
+
readonly stepStrictly: boolean;
|
|
70
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
71
|
+
P: {};
|
|
72
|
+
B: {};
|
|
73
|
+
D: {};
|
|
74
|
+
C: {};
|
|
75
|
+
M: {};
|
|
76
|
+
Defaults: {};
|
|
77
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
78
|
+
readonly inputmode: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown, undefined, boolean>;
|
|
79
|
+
readonly align: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right") | ((new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right"))[], unknown, unknown, "center", boolean>;
|
|
80
|
+
readonly disabledScientific: BooleanConstructor;
|
|
81
|
+
readonly ariaLabel: StringConstructor;
|
|
82
|
+
readonly id: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
83
|
+
readonly step: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
84
|
+
readonly stepStrictly: BooleanConstructor;
|
|
85
|
+
readonly max: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
86
|
+
readonly min: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
87
|
+
readonly modelValue: {
|
|
88
|
+
readonly type: import('vue').PropType<any>;
|
|
89
|
+
readonly required: false;
|
|
90
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
91
|
+
__epPropKey: true;
|
|
92
|
+
};
|
|
93
|
+
readonly readonly: BooleanConstructor;
|
|
94
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
95
|
+
readonly size: {
|
|
96
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
97
|
+
readonly required: false;
|
|
98
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
|
+
__epPropKey: true;
|
|
100
|
+
};
|
|
101
|
+
readonly controls: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
102
|
+
readonly controlsPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "right", unknown, "", boolean>;
|
|
103
|
+
readonly valueOnClear: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null) | ((new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null))[], unknown, unknown, null, boolean>;
|
|
104
|
+
readonly name: StringConstructor;
|
|
105
|
+
readonly placeholder: StringConstructor;
|
|
106
|
+
readonly precision: {
|
|
107
|
+
readonly type: import('vue').PropType<number>;
|
|
108
|
+
readonly required: false;
|
|
109
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
|
+
__epPropKey: true;
|
|
111
|
+
};
|
|
112
|
+
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
113
|
+
}>> & {
|
|
114
|
+
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
|
|
115
|
+
onInput?: ((val: number | null | undefined) => any) | undefined;
|
|
116
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
117
|
+
onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
|
|
118
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
119
|
+
}, {
|
|
120
|
+
focus: () => void;
|
|
121
|
+
blur: () => void;
|
|
122
|
+
}, {}, {}, {}, {
|
|
123
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
124
|
+
readonly id: string;
|
|
125
|
+
readonly valueOnClear: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null) | ((new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null))[], unknown, unknown>;
|
|
126
|
+
readonly min: number;
|
|
127
|
+
readonly max: number;
|
|
128
|
+
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
129
|
+
readonly inputmode: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
|
|
130
|
+
readonly readonly: boolean;
|
|
131
|
+
readonly align: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right") | ((new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right"))[], unknown, unknown>;
|
|
132
|
+
readonly step: number;
|
|
133
|
+
readonly controls: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
134
|
+
readonly controlsPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "right", unknown>;
|
|
135
|
+
readonly disabledScientific: boolean;
|
|
136
|
+
readonly stepStrictly: boolean;
|
|
137
|
+
}>;
|
|
138
|
+
__isFragment?: never;
|
|
139
|
+
__isTeleport?: never;
|
|
140
|
+
__isSuspense?: never;
|
|
141
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
142
|
+
readonly inputmode: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown, undefined, boolean>;
|
|
143
|
+
readonly align: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right") | ((new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right"))[], unknown, unknown, "center", boolean>;
|
|
144
|
+
readonly disabledScientific: BooleanConstructor;
|
|
145
|
+
readonly ariaLabel: StringConstructor;
|
|
146
|
+
readonly id: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
147
|
+
readonly step: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
148
|
+
readonly stepStrictly: BooleanConstructor;
|
|
149
|
+
readonly max: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
150
|
+
readonly min: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
151
|
+
readonly modelValue: {
|
|
152
|
+
readonly type: import('vue').PropType<any>;
|
|
153
|
+
readonly required: false;
|
|
154
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
155
|
+
__epPropKey: true;
|
|
156
|
+
};
|
|
157
|
+
readonly readonly: BooleanConstructor;
|
|
158
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
159
|
+
readonly size: {
|
|
160
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
161
|
+
readonly required: false;
|
|
162
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
163
|
+
__epPropKey: true;
|
|
164
|
+
};
|
|
165
|
+
readonly controls: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
166
|
+
readonly controlsPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "right", unknown, "", boolean>;
|
|
167
|
+
readonly valueOnClear: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null) | ((new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null))[], unknown, unknown, null, boolean>;
|
|
168
|
+
readonly name: StringConstructor;
|
|
169
|
+
readonly placeholder: StringConstructor;
|
|
170
|
+
readonly precision: {
|
|
171
|
+
readonly type: import('vue').PropType<number>;
|
|
172
|
+
readonly required: false;
|
|
173
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
174
|
+
__epPropKey: true;
|
|
175
|
+
};
|
|
176
|
+
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
177
|
+
}>> & {
|
|
178
|
+
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
|
|
179
|
+
onInput?: ((val: number | null | undefined) => any) | undefined;
|
|
180
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
181
|
+
onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
|
|
182
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
183
|
+
}, {
|
|
184
|
+
focus: () => void;
|
|
185
|
+
blur: () => void;
|
|
186
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
187
|
+
focus: (e: FocusEvent) => void;
|
|
188
|
+
"update:modelValue": (val: number | undefined) => void;
|
|
189
|
+
change: (cur: number | undefined, prev: number | undefined) => void;
|
|
190
|
+
input: (val: number | null | undefined) => void;
|
|
191
|
+
blur: (e: FocusEvent) => void;
|
|
192
|
+
}, string, {
|
|
193
|
+
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
194
|
+
readonly id: string;
|
|
195
|
+
readonly valueOnClear: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null) | ((new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null))[], unknown, unknown>;
|
|
196
|
+
readonly min: number;
|
|
197
|
+
readonly max: number;
|
|
198
|
+
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
199
|
+
readonly inputmode: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined))[], unknown, unknown>;
|
|
200
|
+
readonly readonly: boolean;
|
|
201
|
+
readonly align: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right") | ((new (...args: any[]) => "center" | "left" | "right") | (() => "center" | "left" | "right"))[], unknown, unknown>;
|
|
202
|
+
readonly step: number;
|
|
203
|
+
readonly controls: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
204
|
+
readonly controlsPosition: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "right", unknown>;
|
|
205
|
+
readonly disabledScientific: boolean;
|
|
206
|
+
readonly stepStrictly: boolean;
|
|
207
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
208
|
+
$slots: {
|
|
209
|
+
'decrease-icon'?: (props: {}) => any;
|
|
210
|
+
} & {
|
|
211
|
+
'increase-icon'?: (props: {}) => any;
|
|
212
|
+
} & {
|
|
213
|
+
prefix?: (props: {}) => any;
|
|
214
|
+
} & {
|
|
215
|
+
suffix?: (props: {}) => any;
|
|
216
|
+
};
|
|
217
|
+
})>;
|
|
4
218
|
export default InputNumber;
|
|
@@ -1,30 +1,21 @@
|
|
|
1
|
-
import { connect as r, mapProps as t } from "@formily/vue";
|
|
1
|
+
import { connect as r, mapProps as t } from "@silver-formily/vue";
|
|
2
2
|
import { ElInputNumber as e } from "element-plus";
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
|
|
6
|
-
import { PreviewText as a } from "../preview-text/index.mjs";
|
|
7
|
-
const l = m(
|
|
3
|
+
import { PreviewText as n } from "../preview-text/index.mjs";
|
|
4
|
+
import { mapReadPretty as m } from "../__builtins__/shared/transform-component.mjs";
|
|
5
|
+
const u = r(
|
|
8
6
|
e,
|
|
9
|
-
{
|
|
10
|
-
change: "update:modelValue"
|
|
11
|
-
}
|
|
12
|
-
), f = r(
|
|
13
|
-
l,
|
|
14
7
|
t(
|
|
15
8
|
{
|
|
16
|
-
value: "modelValue",
|
|
17
9
|
readOnly: "readonly"
|
|
18
10
|
},
|
|
19
11
|
(o) => ({
|
|
20
|
-
controlsPosition: o.controlsPosition ?? "right"
|
|
21
|
-
modelValue: o.modelValue
|
|
12
|
+
controlsPosition: o.controlsPosition ?? "right"
|
|
22
13
|
})
|
|
23
14
|
),
|
|
24
|
-
n
|
|
15
|
+
m(n.Input)
|
|
25
16
|
);
|
|
26
17
|
export {
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
u as InputNumber,
|
|
19
|
+
u as default
|
|
29
20
|
};
|
|
30
21
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../src/input-number/index.ts"],"sourcesContent":["import { connect, mapProps } from '@formily/vue'\nimport { ElInputNumber } from 'element-plus'\nimport { mapReadPretty
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../src/input-number/index.ts"],"sourcesContent":["import { connect, mapProps } from '@silver-formily/vue'\r\nimport { ElInputNumber } from 'element-plus'\r\nimport { mapReadPretty } from '../__builtins__'\r\nimport { PreviewText } from '../preview-text'\r\n\r\nexport type InputNumberProps = typeof ElInputNumber\r\n\r\nexport const InputNumber = connect<typeof ElInputNumber>(\r\n ElInputNumber,\r\n mapProps(\r\n {\r\n readOnly: 'readonly',\r\n },\r\n (props) => {\r\n return {\r\n controlsPosition: props.controlsPosition ?? 'right',\r\n }\r\n },\r\n ),\r\n mapReadPretty(PreviewText.Input),\r\n)\r\n\r\nexport default InputNumber\r\n"],"names":["InputNumber","connect","ElInputNumber","mapProps","props","mapReadPretty","PreviewText"],"mappings":";;;;AAOO,MAAMA,IAAcC;AAAA,EACzBC;AAAA,EACAC;AAAA,IACE;AAAA,MACE,UAAU;AAAA,IAAA;AAAA,IAEZ,CAACC,OACQ;AAAA,MACL,kBAAkBA,EAAM,oBAAoB;AAAA,IAAA;AAAA,EAEhD;AAAA,EAEFC,EAAcC,EAAY,KAAK;AACjC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jumper.mjs","sources":["../../../src/pagination/components/jumper.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport type Jumper from './jumper.vue'\nimport { componentSizes } from 'element-plus'\nimport { buildProps } from 'element-plus/es/utils/index'\n\nexport const paginationJumperProps = buildProps({\n size: {\n type: String,\n values: componentSizes,\n },\n} as const)\n\nexport type PaginationJumperProps = ExtractPropTypes<\n typeof paginationJumperProps\n>\n\nexport type PaginationJumperInstance = InstanceType<typeof Jumper> & unknown\n"],"names":["paginationJumperProps","buildProps","componentSizes"],"mappings":";;AAKO,MAAMA,IAAwBC,EAAW;AAAA,EAC9C,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,QAAQC;AAAA,EAAA;AAEZ,CAAU;"}
|
|
1
|
+
{"version":3,"file":"jumper.mjs","sources":["../../../src/pagination/components/jumper.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\r\nimport type Jumper from './jumper.vue'\r\nimport { componentSizes } from 'element-plus'\r\nimport { buildProps } from 'element-plus/es/utils/index'\r\n\r\nexport const paginationJumperProps = buildProps({\r\n size: {\r\n type: String,\r\n values: componentSizes,\r\n },\r\n} as const)\r\n\r\nexport type PaginationJumperProps = ExtractPropTypes<\r\n typeof paginationJumperProps\r\n>\r\n\r\nexport type PaginationJumperInstance = InstanceType<typeof Jumper> & unknown\r\n"],"names":["paginationJumperProps","buildProps","componentSizes"],"mappings":";;AAKO,MAAMA,IAAwBC,EAAW;AAAA,EAC9C,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,QAAQC;AAAA,EAAA;AAEZ,CAAU;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next.mjs","sources":["../../../src/pagination/components/next.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport type Next from './next.vue'\nimport { buildProps, iconPropType } from 'element-plus/es/utils/index'\n\nexport const paginationNextProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n pageCount: {\n type: Number,\n default: 50,\n },\n nextText: {\n type: String,\n },\n nextIcon: {\n type: iconPropType,\n },\n} as const)\n\nexport type PaginationNextProps = ExtractPropTypes<typeof paginationNextProps>\n\nexport type NextInstance = InstanceType<typeof Next> & unknown\n"],"names":["paginationNextProps","buildProps","iconPropType"],"mappings":";;AAIO,MAAMA,IAAsBC,EAAW;AAAA,EAC5C,UAAU;AAAA,EACV,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,WAAW;AAAA,IACT,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,UAAU;AAAA,IACR,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,IACR,MAAMC;AAAA,EAAA;AAEV,CAAU;"}
|
|
1
|
+
{"version":3,"file":"next.mjs","sources":["../../../src/pagination/components/next.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\r\nimport type Next from './next.vue'\r\nimport { buildProps, iconPropType } from 'element-plus/es/utils/index'\r\n\r\nexport const paginationNextProps = buildProps({\r\n disabled: Boolean,\r\n currentPage: {\r\n type: Number,\r\n default: 1,\r\n },\r\n pageCount: {\r\n type: Number,\r\n default: 50,\r\n },\r\n nextText: {\r\n type: String,\r\n },\r\n nextIcon: {\r\n type: iconPropType,\r\n },\r\n} as const)\r\n\r\nexport type PaginationNextProps = ExtractPropTypes<typeof paginationNextProps>\r\n\r\nexport type NextInstance = InstanceType<typeof Next> & unknown\r\n"],"names":["paginationNextProps","buildProps","iconPropType"],"mappings":";;AAIO,MAAMA,IAAsBC,EAAW;AAAA,EAC5C,UAAU;AAAA,EACV,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,WAAW;AAAA,IACT,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,UAAU;AAAA,IACR,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,IACR,MAAMC;AAAA,EAAA;AAEV,CAAU;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pager.mjs","sources":["../../../src/pagination/components/pager.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport type Pager from './pager.vue'\nimport { buildProps } from 'element-plus/es/utils/index'\n\nexport const paginationPagerProps = buildProps({\n currentPage: {\n type: Number,\n default: 1,\n },\n pageCount: {\n type: Number,\n required: true,\n },\n pagerCount: {\n type: Number,\n default: 7,\n },\n pageSize: {\n type: Number,\n },\n disabled: Boolean,\n} as const)\n\nexport type PaginationPagerProps = ExtractPropTypes<typeof paginationPagerProps>\n\nexport type PagerInstance = InstanceType<typeof Pager> & unknown\n"],"names":["paginationPagerProps","buildProps"],"mappings":";AAIO,MAAMA,IAAuBC,EAAW;AAAA,EAC7C,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,WAAW;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,EAAA;AAAA,EAEZ,YAAY;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,UAAU;AAAA,IACR,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AACZ,CAAU;"}
|
|
1
|
+
{"version":3,"file":"pager.mjs","sources":["../../../src/pagination/components/pager.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\r\nimport type Pager from './pager.vue'\r\nimport { buildProps } from 'element-plus/es/utils/index'\r\n\r\nexport const paginationPagerProps = buildProps({\r\n currentPage: {\r\n type: Number,\r\n default: 1,\r\n },\r\n pageCount: {\r\n type: Number,\r\n required: true,\r\n },\r\n pagerCount: {\r\n type: Number,\r\n default: 7,\r\n },\r\n pageSize: {\r\n type: Number,\r\n },\r\n disabled: Boolean,\r\n} as const)\r\n\r\nexport type PaginationPagerProps = ExtractPropTypes<typeof paginationPagerProps>\r\n\r\nexport type PagerInstance = InstanceType<typeof Pager> & unknown\r\n"],"names":["paginationPagerProps","buildProps"],"mappings":";AAIO,MAAMA,IAAuBC,EAAW;AAAA,EAC7C,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,WAAW;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,EAAA;AAAA,EAEZ,YAAY;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,UAAU;AAAA,IACR,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AACZ,CAAU;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prev.mjs","sources":["../../../src/pagination/components/prev.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport type Prev from './prev.vue'\nimport { buildProps, iconPropType } from 'element-plus/es/utils/index'\n\nexport const paginationPrevProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n prevText: {\n type: String,\n },\n prevIcon: {\n type: iconPropType,\n },\n} as const)\n\nexport const paginationPrevEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\n\nexport type PaginationPrevProps = ExtractPropTypes<typeof paginationPrevProps>\n\nexport type PrevInstance = InstanceType<typeof Prev> & unknown\n"],"names":["paginationPrevProps","buildProps","iconPropType","paginationPrevEmits","evt"],"mappings":";;AAIO,MAAMA,IAAsBC,EAAW;AAAA,EAC5C,UAAU;AAAA,EACV,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,UAAU;AAAA,IACR,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,IACR,MAAMC;AAAA,EAAA;AAEV,CAAU,GAEGC,IAAsB;AAAA,EACjC,OAAO,CAACC,MAAoBA,aAAe;AAC7C;"}
|
|
1
|
+
{"version":3,"file":"prev.mjs","sources":["../../../src/pagination/components/prev.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\r\nimport type Prev from './prev.vue'\r\nimport { buildProps, iconPropType } from 'element-plus/es/utils/index'\r\n\r\nexport const paginationPrevProps = buildProps({\r\n disabled: Boolean,\r\n currentPage: {\r\n type: Number,\r\n default: 1,\r\n },\r\n prevText: {\r\n type: String,\r\n },\r\n prevIcon: {\r\n type: iconPropType,\r\n },\r\n} as const)\r\n\r\nexport const paginationPrevEmits = {\r\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\r\n}\r\n\r\nexport type PaginationPrevProps = ExtractPropTypes<typeof paginationPrevProps>\r\n\r\nexport type PrevInstance = InstanceType<typeof Prev> & unknown\r\n"],"names":["paginationPrevProps","buildProps","iconPropType","paginationPrevEmits","evt"],"mappings":";;AAIO,MAAMA,IAAsBC,EAAW;AAAA,EAC5C,UAAU;AAAA,EACV,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,UAAU;AAAA,IACR,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,IACR,MAAMC;AAAA,EAAA;AAEV,CAAU,GAEGC,IAAsB;AAAA,EACjC,OAAO,CAACC,MAAoBA,aAAe;AAC7C;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"total.mjs","sources":["../../../src/pagination/components/total.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport type Total from './total.vue'\nimport { buildProps } from 'element-plus/es/utils/index'\n\nexport const paginationTotalProps = buildProps({\n total: {\n type: Number,\n default: 1000,\n },\n} as const)\n\nexport type PaginationTotalProps = ExtractPropTypes<typeof paginationTotalProps>\n\nexport type TotalInstance = InstanceType<typeof Total> & unknown\n"],"names":["paginationTotalProps","buildProps"],"mappings":";AAIO,MAAMA,IAAuBC,EAAW;AAAA,EAC7C,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb,CAAU;"}
|
|
1
|
+
{"version":3,"file":"total.mjs","sources":["../../../src/pagination/components/total.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\r\nimport type Total from './total.vue'\r\nimport { buildProps } from 'element-plus/es/utils/index'\r\n\r\nexport const paginationTotalProps = buildProps({\r\n total: {\r\n type: Number,\r\n default: 1000,\r\n },\r\n} as const)\r\n\r\nexport type PaginationTotalProps = ExtractPropTypes<typeof paginationTotalProps>\r\n\r\nexport type TotalInstance = InstanceType<typeof Total> & unknown\r\n"],"names":["paginationTotalProps","buildProps"],"mappings":";AAIO,MAAMA,IAAuBC,EAAW;AAAA,EAC7C,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb,CAAU;"}
|
|
@@ -5,7 +5,7 @@ import { paginationJumperProps as $e } from "./components/jumper.mjs";
|
|
|
5
5
|
import { paginationNextProps as Te } from "./components/next.mjs";
|
|
6
6
|
import { observable as te } from "@formily/reactive";
|
|
7
7
|
import { useObserver as Me } from "@formily/reactive-vue";
|
|
8
|
-
import { useField as we } from "@formily/vue";
|
|
8
|
+
import { useField as we } from "@silver-formily/vue";
|
|
9
9
|
import { paginationPagerProps as _e } from "./components/pager.mjs";
|
|
10
10
|
import { paginationPrevEmits as Le, paginationPrevProps as Be } from "./components/prev.mjs";
|
|
11
11
|
import { isEqual as Ie, isArr as Ae } from "@formily/shared";
|