@pusdn/pgz-comp-elep 0.2.13 → 0.2.14
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/lib/adaptive-page/index.d.ts +17096 -0
- package/lib/adaptive-page/src/index.vue.d.ts +5731 -0
- package/lib/adaptive-page/src/type.d.ts +9 -0
- package/lib/button/index.d.ts +134 -0
- package/lib/button/src/index.vue.d.ts +67 -0
- package/lib/button/src/type.d.ts +10 -0
- package/lib/chart/index.d.ts +164 -0
- package/lib/chart/src/index.vue.d.ts +77 -0
- package/lib/chart/src/type.d.ts +7 -0
- package/lib/checkbox/index.d.ts +206 -0
- package/lib/checkbox/src/checkbox.d.ts +5 -0
- package/lib/checkbox/src/index.vue.d.ts +91 -0
- package/lib/components.d.ts +57 -0
- package/lib/date-picker/index.d.ts +170 -0
- package/lib/date-picker/src/index.vue.d.ts +77 -0
- package/lib/date-picker/src/type.d.ts +10 -0
- package/lib/detail/index.d.ts +182 -0
- package/lib/detail/src/index.vue.d.ts +88 -0
- package/lib/detail/src/renderLabel.vue.d.ts +8 -0
- package/lib/detail/src/renderTooltip.vue.d.ts +8 -0
- package/lib/detail/src/type.d.ts +27 -0
- package/lib/favicon.ico +0 -0
- package/lib/form/index.d.ts +308 -0
- package/lib/form/src/index.vue.d.ts +125 -0
- package/lib/form/src/renderBtn.vue.d.ts +8 -0
- package/lib/form/src/renderComp.vue.d.ts +8 -0
- package/lib/form/src/type.d.ts +26 -0
- package/lib/index.d.ts +42 -0
- package/lib/input/index.d.ts +215 -0
- package/lib/input/src/index.vue.d.ts +109 -0
- package/lib/input/src/type.d.ts +13 -0
- package/lib/layout-page/index.d.ts +114 -0
- package/lib/layout-page/src/index.vue.d.ts +62 -0
- package/lib/layout-page-item/index.d.ts +35 -0
- package/lib/layout-page-item/src/index.vue.d.ts +14 -0
- package/lib/module-form/index.d.ts +530 -0
- package/lib/module-form/src/index.vue.d.ts +243 -0
- package/lib/module-form/src/moduleDetail.vue.d.ts +30 -0
- package/lib/module-form/src/moduleForm.vue.d.ts +36 -0
- package/lib/module-form/src/type.d.ts +19 -0
- package/lib/pgz-checkbox/index.d.ts +149 -0
- package/lib/pgz-checkbox/src/index.vue.d.ts +65 -0
- package/lib/pgz-checkbox/src/type.d.ts +12 -0
- package/lib/pgz-comp-elep.es.js +39723 -0
- package/lib/pgz-comp-elep.es.js.gz +0 -0
- package/lib/pgz-comp-elep.umd.js +261 -0
- package/lib/pgz-comp-elep.umd.js.gz +0 -0
- package/lib/pgz-html-preview-modal/index.d.ts +77 -0
- package/lib/pgz-html-preview-modal/src/index.vue.d.ts +22 -0
- package/lib/pgz-html-preview-modal/src/type.d.ts +7 -0
- package/lib/pgz-search-select/index.d.ts +5 -0
- package/lib/pgz-search-select/src/index.vue.d.ts +194 -0
- package/lib/pgz-search-select/src/type.d.ts +16 -0
- package/lib/pgz-tdt-mark/index.d.ts +407 -0
- package/lib/pgz-tdt-mark/src/env.d.ts +7 -0
- package/lib/pgz-tdt-mark/src/index.vue.d.ts +167 -0
- package/lib/pgz-tdt-mark/src/props.d.ts +63 -0
- package/lib/pgz-tdt-mark/src/types/index.d.ts +1 -0
- package/lib/pgz-tdt-mark/src/types/tdt.d.ts +88 -0
- package/lib/pgz-tdt-ploygon/index.d.ts +401 -0
- package/lib/pgz-tdt-ploygon/src/env.d.ts +7 -0
- package/lib/pgz-tdt-ploygon/src/index.vue.d.ts +164 -0
- package/lib/pgz-tdt-ploygon/src/props.d.ts +35 -0
- package/lib/pgz-tdt-ploygon/src/tmp-fix.d.ts +10 -0
- package/lib/pgz-tdt-ploygon/src/types/index.d.ts +1 -0
- package/lib/pgz-tdt-ploygon/src/types/tdt.d.ts +120 -0
- package/lib/pgz-tdt-ploygon/src/types.d.ts +27 -0
- package/lib/pgz-video-xg-modal/index.d.ts +181 -0
- package/lib/pgz-video-xg-modal/src/env.d.ts +7 -0
- package/lib/pgz-video-xg-modal/src/index.vue.d.ts +73 -0
- package/lib/pgz-video-xg-modal/src/types/xgplayer.d.ts +59 -0
- package/lib/query-condition/index.d.ts +701 -0
- package/lib/query-condition/src/index.vue.d.ts +326 -0
- package/lib/query-condition/src/moreChoose.vue.d.ts +37 -0
- package/lib/query-condition/src/renderComp.vue.d.ts +8 -0
- package/lib/query-condition/src/type.d.ts +21 -0
- package/lib/query-condition/src/useComputed.d.ts +27 -0
- package/lib/radio/index.d.ts +206 -0
- package/lib/radio/src/index.vue.d.ts +91 -0
- package/lib/radio/src/radio.d.ts +12 -0
- package/lib/select/index.d.ts +371 -0
- package/lib/select/src/index.vue.d.ts +200 -0
- package/lib/select/src/type.d.ts +42 -0
- package/lib/select-icon/index.d.ts +174 -0
- package/lib/select-icon/src/index.vue.d.ts +89 -0
- package/lib/select-table/index.d.ts +2165 -0
- package/lib/select-table/src/index.vue.d.ts +963 -0
- package/lib/select-table/src/renderCol.vue.d.ts +20 -0
- package/lib/select-table/src/type.d.ts +56 -0
- package/lib/select-table/src/useVirtualized.d.ts +11 -0
- package/lib/step-wizard/index.d.ts +146 -0
- package/lib/step-wizard/src/index.vue.d.ts +71 -0
- package/lib/step-wizard/src/type.d.ts +25 -0
- package/lib/style.css +1 -0
- package/lib/style.css.gz +0 -0
- package/lib/table/index.d.ts +2540 -0
- package/lib/table/src/ColumnSet.vue.d.ts +148 -0
- package/lib/table/src/TTableColumn.vue.d.ts +173 -0
- package/lib/table/src/index.vue.d.ts +941 -0
- package/lib/table/src/operator.vue.d.ts +80 -0
- package/lib/table/src/renderCol.vue.d.ts +20 -0
- package/lib/table/src/renderHeader.vue.d.ts +16 -0
- package/lib/table/src/singleEdit.vue.d.ts +122 -0
- package/lib/table/src/singleEditCell.vue.d.ts +120 -0
- package/lib/table/src/tableProps.d.ts +100 -0
- package/lib/table/src/useExpose.d.ts +16 -0
- package/lib/table/src/useVirtualized.d.ts +9 -0
- package/lib/tabs/index.d.ts +69 -0
- package/lib/tabs/src/index.vue.d.ts +34 -0
- package/lib/timer-btn/index.d.ts +92 -0
- package/lib/timer-btn/src/index.vue.d.ts +43 -0
- package/lib/utils/directives/click-outside/index.d.ts +3 -0
- package/lib/utils/http/api.d.ts +76 -0
- package/lib/utils/http/index.d.ts +79 -0
- package/lib/utils/http/types.d.ts +13 -0
- package/lib/utils/index.d.ts +40 -0
- package/lib/withInstall.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { PropType } from "vue";
|
|
2
|
+
import type { OptionsProps } from "./checkbox";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
type: {
|
|
5
|
+
type: PropType<"button" | "check">;
|
|
6
|
+
validator: (value: string) => boolean;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
options: {
|
|
10
|
+
type: any;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
type: PropType<"default" | "small" | "large">;
|
|
15
|
+
validator: (value: string) => boolean;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
border: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
props: {
|
|
23
|
+
type: ObjectConstructor;
|
|
24
|
+
default: () => {};
|
|
25
|
+
};
|
|
26
|
+
}>, {
|
|
27
|
+
checkProps: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
type: {
|
|
29
|
+
type: PropType<"button" | "check">;
|
|
30
|
+
validator: (value: string) => boolean;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
options: {
|
|
34
|
+
type: any;
|
|
35
|
+
default: () => never[];
|
|
36
|
+
};
|
|
37
|
+
size: {
|
|
38
|
+
type: PropType<"default" | "small" | "large">;
|
|
39
|
+
validator: (value: string) => boolean;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
border: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
props: {
|
|
47
|
+
type: ObjectConstructor;
|
|
48
|
+
default: () => {};
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{}> & {}>;
|
|
51
|
+
checkType: import("vue").ComputedRef<string>;
|
|
52
|
+
optionsProps: import("vue").Ref<{
|
|
53
|
+
value: string;
|
|
54
|
+
label: string;
|
|
55
|
+
disabled: string;
|
|
56
|
+
}, OptionsProps | {
|
|
57
|
+
value: string;
|
|
58
|
+
label: string;
|
|
59
|
+
disabled: string;
|
|
60
|
+
}>;
|
|
61
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
+
type: {
|
|
63
|
+
type: PropType<"button" | "check">;
|
|
64
|
+
validator: (value: string) => boolean;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
options: {
|
|
68
|
+
type: any;
|
|
69
|
+
default: () => never[];
|
|
70
|
+
};
|
|
71
|
+
size: {
|
|
72
|
+
type: PropType<"default" | "small" | "large">;
|
|
73
|
+
validator: (value: string) => boolean;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
border: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
props: {
|
|
81
|
+
type: ObjectConstructor;
|
|
82
|
+
default: () => {};
|
|
83
|
+
};
|
|
84
|
+
}>> & Readonly<{}>, {
|
|
85
|
+
props: Record<string, any>;
|
|
86
|
+
type: "button" | "check";
|
|
87
|
+
border: boolean;
|
|
88
|
+
size: "default" | "small" | "large";
|
|
89
|
+
options: any;
|
|
90
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
91
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import TLayoutPage from "./layout-page/src/index.vue"
|
|
2
|
+
import TLayoutPageItem from "./layout-page-item/src/index.vue"
|
|
3
|
+
import TQueryCondition from "./query-condition/src/index.vue"
|
|
4
|
+
import TTable from "./table/src/index.vue"
|
|
5
|
+
import TForm from "./form/src/index.vue"
|
|
6
|
+
import TSelect from "./select/src/index.vue"
|
|
7
|
+
import TSelectTable from "./select-table/src/index.vue"
|
|
8
|
+
import TDetail from "./detail/src/index.vue"
|
|
9
|
+
import TButton from "./button/src/index.vue"
|
|
10
|
+
import TStepWizard from "./step-wizard/src/index.vue"
|
|
11
|
+
import TTimerBtn from "./timer-btn/src/index.vue"
|
|
12
|
+
import TModuleForm from "./module-form/src/index.vue"
|
|
13
|
+
import TAdaptivePage from "./adaptive-page/src/index.vue"
|
|
14
|
+
import TDatePicker from "./date-picker/src/index.vue"
|
|
15
|
+
import TRadio from "./radio/src/index.vue"
|
|
16
|
+
import TCheckbox from "./checkbox/src/index.vue"
|
|
17
|
+
import TChart from "./chart/src/index.vue"
|
|
18
|
+
import TTabs from "./tabs/src/index.vue"
|
|
19
|
+
import TSelectIcon from "./select-icon/src/index.vue"
|
|
20
|
+
import TInput from "./input/src/index.vue"
|
|
21
|
+
import PgzCheckbox from "./pgz-checkbox/src/index.vue"
|
|
22
|
+
import PgzHtmlPreviewModal from "./pgz-html-preview-modal/src/index.vue"
|
|
23
|
+
import PgzSearchSelect from "./pgz-search-select/src/index.vue"
|
|
24
|
+
import PgzTdtMark from "./pgz-tdt-mark/src/index.vue"
|
|
25
|
+
import PgzTdtPloygon from "./pgz-tdt-ploygon/src/index.vue"
|
|
26
|
+
import PgzVideoXgModal from "./pgz-video-xg-modal/src/index.vue"
|
|
27
|
+
|
|
28
|
+
declare module "vue" {
|
|
29
|
+
export interface GlobalComponents {
|
|
30
|
+
TLayoutPage: typeof TLayoutPage
|
|
31
|
+
TLayoutPageItem: typeof TLayoutPageItem
|
|
32
|
+
TQueryCondition: typeof TQueryCondition
|
|
33
|
+
TTable: typeof TTable
|
|
34
|
+
TForm: typeof TForm
|
|
35
|
+
TSelect: typeof TSelect
|
|
36
|
+
TSelectTable: typeof TSelectTable
|
|
37
|
+
TDetail: typeof TDetail
|
|
38
|
+
TButton: typeof TButton
|
|
39
|
+
TStepWizard: typeof TStepWizard
|
|
40
|
+
TTimerBtn: typeof TTimerBtn
|
|
41
|
+
TModuleForm: typeof TModuleForm
|
|
42
|
+
TAdaptivePage: typeof TAdaptivePage
|
|
43
|
+
TDatePicker: typeof TDatePicker
|
|
44
|
+
TRadio: typeof TRadio
|
|
45
|
+
TCheckbox: typeof TCheckbox
|
|
46
|
+
TChart: typeof TChart
|
|
47
|
+
TTabs: typeof TTabs
|
|
48
|
+
TSelectIcon: typeof TSelectIcon
|
|
49
|
+
TInput: typeof TInput
|
|
50
|
+
PgzCheckbox: typeof PgzCheckbox
|
|
51
|
+
PgzHtmlPreviewModal: typeof PgzHtmlPreviewModal
|
|
52
|
+
PgzSearchSelect: typeof PgzSearchSelect
|
|
53
|
+
PgzTdtMark: typeof PgzTdtMark
|
|
54
|
+
PgzTdtPloygon: typeof PgzTdtPloygon
|
|
55
|
+
PgzVideoXgModal: typeof PgzVideoXgModal
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import DatePicker from "./src/index.vue";
|
|
2
|
+
export type TDatePickerInstance = InstanceType<typeof DatePicker>;
|
|
3
|
+
declare const TDatePicker: ({
|
|
4
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: null;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
plusTime: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
required: false;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
type: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: false;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
shortcuts: {
|
|
20
|
+
type: ArrayConstructor;
|
|
21
|
+
required: false;
|
|
22
|
+
};
|
|
23
|
+
isPickerOptions: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
required: false;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}>> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
props: any;
|
|
33
|
+
emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
34
|
+
attrs: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
slots: Readonly<{
|
|
38
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
time: import("vue").WritableComputedRef<any, any>;
|
|
41
|
+
DatePicker: import("vue").Ref<any, any>;
|
|
42
|
+
attrsBind: import("vue").ComputedRef<any>;
|
|
43
|
+
state: {
|
|
44
|
+
dateOptions: any;
|
|
45
|
+
};
|
|
46
|
+
getShortcuts: (type: string) => any;
|
|
47
|
+
subtractDays: (date: Date, days: number) => Date;
|
|
48
|
+
subtractMonths: (date: Date, months: number) => Date;
|
|
49
|
+
dateChange: (val: any[]) => void;
|
|
50
|
+
clear: () => void;
|
|
51
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], import("vue").PublicProps, {
|
|
52
|
+
type: string;
|
|
53
|
+
plusTime: boolean;
|
|
54
|
+
isPickerOptions: boolean;
|
|
55
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
56
|
+
P: {};
|
|
57
|
+
B: {};
|
|
58
|
+
D: {};
|
|
59
|
+
C: {};
|
|
60
|
+
M: {};
|
|
61
|
+
Defaults: {};
|
|
62
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
modelValue: {
|
|
64
|
+
type: null;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
plusTime: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
required: false;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
type: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
required: false;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
shortcuts: {
|
|
78
|
+
type: ArrayConstructor;
|
|
79
|
+
required: false;
|
|
80
|
+
};
|
|
81
|
+
isPickerOptions: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
required: false;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
}>> & Readonly<{
|
|
87
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
88
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
}>, {
|
|
90
|
+
props: any;
|
|
91
|
+
emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
92
|
+
attrs: {
|
|
93
|
+
[x: string]: unknown;
|
|
94
|
+
};
|
|
95
|
+
slots: Readonly<{
|
|
96
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
97
|
+
}>;
|
|
98
|
+
time: import("vue").WritableComputedRef<any, any>;
|
|
99
|
+
DatePicker: import("vue").Ref<any, any>;
|
|
100
|
+
attrsBind: import("vue").ComputedRef<any>;
|
|
101
|
+
state: {
|
|
102
|
+
dateOptions: any;
|
|
103
|
+
};
|
|
104
|
+
getShortcuts: (type: string) => any;
|
|
105
|
+
subtractDays: (date: Date, days: number) => Date;
|
|
106
|
+
subtractMonths: (date: Date, months: number) => Date;
|
|
107
|
+
dateChange: (val: any[]) => void;
|
|
108
|
+
clear: () => void;
|
|
109
|
+
}, {}, {}, {}, {
|
|
110
|
+
type: string;
|
|
111
|
+
plusTime: boolean;
|
|
112
|
+
isPickerOptions: boolean;
|
|
113
|
+
}>;
|
|
114
|
+
__isFragment?: undefined;
|
|
115
|
+
__isTeleport?: undefined;
|
|
116
|
+
__isSuspense?: undefined;
|
|
117
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
118
|
+
modelValue: {
|
|
119
|
+
type: null;
|
|
120
|
+
required: true;
|
|
121
|
+
};
|
|
122
|
+
plusTime: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
required: false;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
type: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
required: false;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
shortcuts: {
|
|
133
|
+
type: ArrayConstructor;
|
|
134
|
+
required: false;
|
|
135
|
+
};
|
|
136
|
+
isPickerOptions: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
required: false;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
}>> & Readonly<{
|
|
142
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
144
|
+
}>, {
|
|
145
|
+
props: any;
|
|
146
|
+
emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
147
|
+
attrs: {
|
|
148
|
+
[x: string]: unknown;
|
|
149
|
+
};
|
|
150
|
+
slots: Readonly<{
|
|
151
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
152
|
+
}>;
|
|
153
|
+
time: import("vue").WritableComputedRef<any, any>;
|
|
154
|
+
DatePicker: import("vue").Ref<any, any>;
|
|
155
|
+
attrsBind: import("vue").ComputedRef<any>;
|
|
156
|
+
state: {
|
|
157
|
+
dateOptions: any;
|
|
158
|
+
};
|
|
159
|
+
getShortcuts: (type: string) => any;
|
|
160
|
+
subtractDays: (date: Date, days: number) => Date;
|
|
161
|
+
subtractMonths: (date: Date, months: number) => Date;
|
|
162
|
+
dateChange: (val: any[]) => void;
|
|
163
|
+
clear: () => void;
|
|
164
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", {
|
|
165
|
+
type: string;
|
|
166
|
+
plusTime: boolean;
|
|
167
|
+
isPickerOptions: boolean;
|
|
168
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>) & Record<string, any>;
|
|
169
|
+
export default TDatePicker;
|
|
170
|
+
export * from './src/type';
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: null;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
plusTime: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
required: false;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
type: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: false;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
shortcuts: {
|
|
17
|
+
type: ArrayConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
};
|
|
20
|
+
isPickerOptions: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
required: false;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
}>, {
|
|
26
|
+
props: any;
|
|
27
|
+
emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
28
|
+
attrs: {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
};
|
|
31
|
+
slots: Readonly<{
|
|
32
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
33
|
+
}>;
|
|
34
|
+
time: import("vue").WritableComputedRef<any, any>;
|
|
35
|
+
DatePicker: import("vue").Ref<any, any>;
|
|
36
|
+
attrsBind: import("vue").ComputedRef<any>;
|
|
37
|
+
state: {
|
|
38
|
+
dateOptions: any;
|
|
39
|
+
};
|
|
40
|
+
getShortcuts: (type: string) => any;
|
|
41
|
+
subtractDays: (date: Date, days: number) => Date;
|
|
42
|
+
subtractMonths: (date: Date, months: number) => Date;
|
|
43
|
+
dateChange: (val: any[]) => void;
|
|
44
|
+
clear: () => void;
|
|
45
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
+
modelValue: {
|
|
47
|
+
type: null;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
plusTime: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
required: false;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
type: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
required: false;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
shortcuts: {
|
|
61
|
+
type: ArrayConstructor;
|
|
62
|
+
required: false;
|
|
63
|
+
};
|
|
64
|
+
isPickerOptions: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
required: false;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
}>> & Readonly<{
|
|
70
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
}>, {
|
|
73
|
+
type: string;
|
|
74
|
+
plusTime: boolean;
|
|
75
|
+
isPickerOptions: boolean;
|
|
76
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { DatePickerProps } from 'element-plus';
|
|
2
|
+
import type { Mutable } from 'element-plus/es/utils';
|
|
3
|
+
export interface TDatePickerSelfProps {
|
|
4
|
+
modelValue: string | Date | Array<string | Date> | undefined;
|
|
5
|
+
plusTime?: boolean;
|
|
6
|
+
type?: "date" | "week" | "month" | "year" | "dates" | "months" | "years" | "daterange" | "monthrange" | "datetime" | "datetimerange";
|
|
7
|
+
shortcuts?: any[];
|
|
8
|
+
isPickerOptions?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type TDatePickerProps = TDatePickerSelfProps & Partial<Mutable<DatePickerProps>>;
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import Detail from "./src/index.vue";
|
|
2
|
+
declare const TDetail: ({
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
descColumn: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
required: false;
|
|
7
|
+
default: number;
|
|
8
|
+
};
|
|
9
|
+
dataList: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
required: false;
|
|
12
|
+
default: () => {};
|
|
13
|
+
};
|
|
14
|
+
listTypeInfo: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
required: false;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
descData: {
|
|
20
|
+
type: ArrayConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
default: () => never[];
|
|
23
|
+
};
|
|
24
|
+
isColon: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
required: false;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
isLabelBold: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
required: false;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
}>> & Readonly<{}>, {
|
|
35
|
+
constantEscape: (value: any, list: any[], key?: string, label?: string) => string | undefined;
|
|
36
|
+
RenderTooltip: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
37
|
+
render: FunctionConstructor;
|
|
38
|
+
item: ObjectConstructor;
|
|
39
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
render: FunctionConstructor;
|
|
41
|
+
item: ObjectConstructor;
|
|
42
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
RenderLabel: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
44
|
+
render: FunctionConstructor;
|
|
45
|
+
item: ObjectConstructor;
|
|
46
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
render: FunctionConstructor;
|
|
48
|
+
item: ObjectConstructor;
|
|
49
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
readonly Warning: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
52
|
+
listTypeInfo: Record<string, any>;
|
|
53
|
+
descColumn: number;
|
|
54
|
+
dataList: Record<string, any>;
|
|
55
|
+
descData: unknown[];
|
|
56
|
+
isColon: boolean;
|
|
57
|
+
isLabelBold: boolean;
|
|
58
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
59
|
+
P: {};
|
|
60
|
+
B: {};
|
|
61
|
+
D: {};
|
|
62
|
+
C: {};
|
|
63
|
+
M: {};
|
|
64
|
+
Defaults: {};
|
|
65
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
66
|
+
descColumn: {
|
|
67
|
+
type: NumberConstructor;
|
|
68
|
+
required: false;
|
|
69
|
+
default: number;
|
|
70
|
+
};
|
|
71
|
+
dataList: {
|
|
72
|
+
type: ObjectConstructor;
|
|
73
|
+
required: false;
|
|
74
|
+
default: () => {};
|
|
75
|
+
};
|
|
76
|
+
listTypeInfo: {
|
|
77
|
+
type: ObjectConstructor;
|
|
78
|
+
required: false;
|
|
79
|
+
default: () => {};
|
|
80
|
+
};
|
|
81
|
+
descData: {
|
|
82
|
+
type: ArrayConstructor;
|
|
83
|
+
required: true;
|
|
84
|
+
default: () => never[];
|
|
85
|
+
};
|
|
86
|
+
isColon: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
required: false;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
isLabelBold: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
required: false;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
}>> & Readonly<{}>, {
|
|
97
|
+
constantEscape: (value: any, list: any[], key?: string, label?: string) => string | undefined;
|
|
98
|
+
RenderTooltip: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
99
|
+
render: FunctionConstructor;
|
|
100
|
+
item: ObjectConstructor;
|
|
101
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
+
render: FunctionConstructor;
|
|
103
|
+
item: ObjectConstructor;
|
|
104
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
105
|
+
RenderLabel: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
106
|
+
render: FunctionConstructor;
|
|
107
|
+
item: ObjectConstructor;
|
|
108
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
+
render: FunctionConstructor;
|
|
110
|
+
item: ObjectConstructor;
|
|
111
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
112
|
+
readonly Warning: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
113
|
+
}, {}, {}, {}, {
|
|
114
|
+
listTypeInfo: Record<string, any>;
|
|
115
|
+
descColumn: number;
|
|
116
|
+
dataList: Record<string, any>;
|
|
117
|
+
descData: unknown[];
|
|
118
|
+
isColon: boolean;
|
|
119
|
+
isLabelBold: boolean;
|
|
120
|
+
}>;
|
|
121
|
+
__isFragment?: undefined;
|
|
122
|
+
__isTeleport?: undefined;
|
|
123
|
+
__isSuspense?: undefined;
|
|
124
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
125
|
+
descColumn: {
|
|
126
|
+
type: NumberConstructor;
|
|
127
|
+
required: false;
|
|
128
|
+
default: number;
|
|
129
|
+
};
|
|
130
|
+
dataList: {
|
|
131
|
+
type: ObjectConstructor;
|
|
132
|
+
required: false;
|
|
133
|
+
default: () => {};
|
|
134
|
+
};
|
|
135
|
+
listTypeInfo: {
|
|
136
|
+
type: ObjectConstructor;
|
|
137
|
+
required: false;
|
|
138
|
+
default: () => {};
|
|
139
|
+
};
|
|
140
|
+
descData: {
|
|
141
|
+
type: ArrayConstructor;
|
|
142
|
+
required: true;
|
|
143
|
+
default: () => never[];
|
|
144
|
+
};
|
|
145
|
+
isColon: {
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
required: false;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
isLabelBold: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
required: false;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
}>> & Readonly<{}>, {
|
|
156
|
+
constantEscape: (value: any, list: any[], key?: string, label?: string) => string | undefined;
|
|
157
|
+
RenderTooltip: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
158
|
+
render: FunctionConstructor;
|
|
159
|
+
item: ObjectConstructor;
|
|
160
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
161
|
+
render: FunctionConstructor;
|
|
162
|
+
item: ObjectConstructor;
|
|
163
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
164
|
+
RenderLabel: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
165
|
+
render: FunctionConstructor;
|
|
166
|
+
item: ObjectConstructor;
|
|
167
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
168
|
+
render: FunctionConstructor;
|
|
169
|
+
item: ObjectConstructor;
|
|
170
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
171
|
+
readonly Warning: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
172
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
173
|
+
listTypeInfo: Record<string, any>;
|
|
174
|
+
descColumn: number;
|
|
175
|
+
dataList: Record<string, any>;
|
|
176
|
+
descData: unknown[];
|
|
177
|
+
isColon: boolean;
|
|
178
|
+
isLabelBold: boolean;
|
|
179
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>) & Record<string, any>;
|
|
180
|
+
export default TDetail;
|
|
181
|
+
export type TDetailInstance = InstanceType<typeof Detail>;
|
|
182
|
+
export * from './src/type';
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
descColumn: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
dataList: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
required: false;
|
|
10
|
+
default: () => {};
|
|
11
|
+
};
|
|
12
|
+
listTypeInfo: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
default: () => {};
|
|
16
|
+
};
|
|
17
|
+
descData: {
|
|
18
|
+
type: ArrayConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
isColon: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
required: false;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
isLabelBold: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
required: false;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>, {
|
|
33
|
+
constantEscape: (value: any, list: any[], key?: string, label?: string) => string | undefined;
|
|
34
|
+
RenderTooltip: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
35
|
+
render: FunctionConstructor;
|
|
36
|
+
item: ObjectConstructor;
|
|
37
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
render: FunctionConstructor;
|
|
39
|
+
item: ObjectConstructor;
|
|
40
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
RenderLabel: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
42
|
+
render: FunctionConstructor;
|
|
43
|
+
item: ObjectConstructor;
|
|
44
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
+
render: FunctionConstructor;
|
|
46
|
+
item: ObjectConstructor;
|
|
47
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
48
|
+
readonly Warning: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
descColumn: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
required: false;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
dataList: {
|
|
56
|
+
type: ObjectConstructor;
|
|
57
|
+
required: false;
|
|
58
|
+
default: () => {};
|
|
59
|
+
};
|
|
60
|
+
listTypeInfo: {
|
|
61
|
+
type: ObjectConstructor;
|
|
62
|
+
required: false;
|
|
63
|
+
default: () => {};
|
|
64
|
+
};
|
|
65
|
+
descData: {
|
|
66
|
+
type: ArrayConstructor;
|
|
67
|
+
required: true;
|
|
68
|
+
default: () => never[];
|
|
69
|
+
};
|
|
70
|
+
isColon: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
required: false;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
isLabelBold: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
required: false;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
}>> & Readonly<{}>, {
|
|
81
|
+
listTypeInfo: Record<string, any>;
|
|
82
|
+
descColumn: number;
|
|
83
|
+
dataList: Record<string, any>;
|
|
84
|
+
descData: unknown[];
|
|
85
|
+
isColon: boolean;
|
|
86
|
+
isLabelBold: boolean;
|
|
87
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
88
|
+
export default _sfc_main;
|