@dfsj/components 3.7.2 → 4.0.0-alpha.2
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/CHANGELOG.md +57 -449
- package/README.md +101 -24
- package/dist/_virtual/_rollupPluginBabelHelpers.js +13 -0
- package/dist/components/Boards/src/Boards.vue.js +10 -4
- package/dist/components/Boards/src/Boards.vue2.js +10 -147
- package/dist/components/Boards/src/hooKs/useStyle.d.ts +16 -4
- package/dist/components/Boards/src/hooKs/useStyle.js +10 -99
- package/dist/components/Boards/src/props.d.ts +6 -22
- package/dist/components/Boards/src/props.js +10 -55
- package/dist/components/ClickOutSide/src/ClickOutSide.vue.js +10 -4
- package/dist/components/ClickOutSide/src/ClickOutSide.vue2.js +10 -25
- package/dist/components/Descriptions/src/Descriptions.vue.js +10 -4
- package/dist/components/Descriptions/src/Descriptions.vue2.js +10 -150
- package/dist/components/Editor/src/Editor.vue.js +10 -4
- package/dist/components/Editor/src/Editor.vue2.js +10 -137
- package/dist/components/Form/src/Form.vue.js +10 -4
- package/dist/components/Form/src/Form.vue2.js +10 -388
- package/dist/components/Form/src/components/useRenderCheckbox.js +10 -32
- package/dist/components/Form/src/components/useRenderRadio.js +10 -32
- package/dist/components/Form/src/components/useRenderSelect.js +10 -51
- package/dist/components/Form/src/helper/componentMap.js +10 -34
- package/dist/components/Form/src/helper/index.js +10 -108
- package/dist/components/Form/src/types/index.d.ts +80 -84
- package/dist/components/Form/src/types/index.js +10 -30
- package/dist/components/Form/src/useForm.js +10 -289
- package/dist/components/Highlight/src/Highlight.vue.js +10 -4
- package/dist/components/Highlight/src/Highlight.vue2.js +10 -61
- package/dist/components/Icon/src/Icon.vue.js +10 -4
- package/dist/components/Icon/src/Icon.vue2.js +10 -122
- package/dist/components/Icon/src/SvgIcon.vue.js +10 -6
- package/dist/components/Icon/src/SvgIcon.vue2.js +10 -44
- package/dist/components/Icon/src/SvgIcon.vue3.js +10 -13
- package/dist/components/InputPassword/src/InputPassword.vue.js +10 -4
- package/dist/components/InputPassword/src/InputPassword.vue2.js +10 -57
- package/dist/components/Modal/src/BasicModal.vue.js +10 -4
- package/dist/components/Modal/src/BasicModal.vue2.js +10 -154
- package/dist/components/Modal/src/components/ModalFooter.vue.js +10 -4
- package/dist/components/Modal/src/components/ModalFooter.vue2.js +10 -39
- package/dist/components/Modal/src/components/ModalHeader.vue.js +10 -4
- package/dist/components/Modal/src/components/ModalHeader.vue2.js +10 -80
- package/dist/components/Modal/src/config.d.ts +3 -2
- package/dist/components/Modal/src/config.js +10 -28
- package/dist/components/Modal/src/hooks/useModalDrag.js +10 -109
- package/dist/components/Modal/src/hooks/useTimeout.js +10 -52
- package/dist/components/Modal/src/props.d.ts +16 -56
- package/dist/components/Modal/src/props.js +10 -130
- package/dist/components/Modal/src/utils/index.js +10 -85
- package/dist/components/NodeAxis/src/AbstractNodeProvider.js +10 -21
- package/dist/components/NodeAxis/src/CanvasNodeRender.d.ts +3 -12
- package/dist/components/NodeAxis/src/CanvasNodeRender.js +10 -411
- package/dist/components/NodeAxis/src/NodeAxis.vue.js +10 -4
- package/dist/components/NodeAxis/src/NodeAxis.vue2.js +10 -68
- package/dist/components/NodeAxis/src/NodeModel.js +10 -62
- package/dist/components/NodeAxis/src/NodeRender.js +10 -28
- package/dist/components/NodeAxis/src/NullLayerProvider.js +10 -86
- package/dist/components/NodeAxis/src/NullProvider.js +10 -65
- package/dist/components/NodeAxis/src/TimerNodePlayer.js +10 -148
- package/dist/components/NodeAxis/src/config/node-axis.options.js +10 -55
- package/dist/components/NodeAxis/src/enum/index.js +10 -19
- package/dist/components/NodeAxis/src/utils/assign.js +10 -42
- package/dist/components/Stateful/src/State.js +10 -78
- package/dist/components/Stateful/src/Stateful.vue.js +10 -4
- package/dist/components/Stateful/src/Stateful.vue2.js +10 -52
- package/dist/components/Stateful/src/props.d.ts +2 -6
- package/dist/components/Stateful/src/props.js +10 -28
- package/dist/components/Table/index.d.ts +3 -3
- package/dist/components/Table/src/Table.vue.js +10 -4
- package/dist/components/Table/src/Table.vue2.js +10 -583
- package/dist/components/Table/src/components/ColumnSetting.vue.js +10 -4
- package/dist/components/Table/src/components/ColumnSetting.vue2.js +10 -263
- package/dist/components/Table/src/components/TableActions.vue.js +10 -4
- package/dist/components/Table/src/components/TableActions.vue2.js +10 -107
- package/dist/components/Table/src/helper/index.js +10 -10
- package/dist/components/Table/src/types/index.d.ts +11 -13
- package/dist/components/Table/src/useTable.d.ts +36 -1
- package/dist/components/Table/src/useTable.js +10 -283
- package/dist/components/UnifyChart/src/ChartToolbox.vue.js +10 -4
- package/dist/components/UnifyChart/src/ChartToolbox.vue2.js +10 -82
- package/dist/components/UnifyChart/src/UnifyChart.vue.js +10 -4
- package/dist/components/UnifyChart/src/UnifyChart.vue2.js +10 -57
- package/dist/components/UnifyChart/src/hooks/useLoader.js +10 -92
- package/dist/components/UnifyChart/src/hooks/useRender.d.ts +8 -13
- package/dist/components/UnifyChart/src/hooks/useRender.js +10 -49
- package/dist/components/UnifyChart/src/props.d.ts +13 -59
- package/dist/components/UnifyChart/src/props.js +10 -32
- package/dist/components/UnifyChart/src/useDownLoad.js +10 -26
- package/dist/components/Visual/src/BufferLayerPlayer.d.ts +9 -5
- package/dist/components/Visual/src/BufferLayerPlayer.js +10 -288
- package/dist/components/Visual/src/ResolvableLayerProvider.js +10 -252
- package/dist/components/Visual/src/config/default.manager.js +10 -6
- package/dist/components/Visual/src/config/default.provider.js +10 -17
- package/dist/components/Visual/src/mapping.js +10 -6
- package/dist/components/Visual/src/resolvers/IntervalResolver.js +10 -168
- package/dist/components/Visual/src/resolvers/tools.resolver.js +10 -151
- package/dist/components/Visual/src/utils/NodeMath.js +10 -99
- package/dist/components/Windows/src/ModalWrap.vue.js +10 -4
- package/dist/components/Windows/src/ModalWrap.vue2.js +10 -132
- package/dist/components/Windows/src/Windows.vue.js +10 -6
- package/dist/components/Windows/src/Windows.vue2.js +10 -55
- package/dist/components/Windows/src/Windows.vue3.js +10 -24
- package/dist/components/Windows/src/props.js +10 -8
- package/dist/directives/clickOutside.js +10 -70
- package/dist/directives/repeatClick.js +10 -28
- package/dist/directives/resizable.js +10 -195
- package/dist/index.d.ts +0 -2
- package/dist/index.js +11 -53
- package/dist/index.min.css +3 -3
- package/dist/themes/index.js +9 -0
- package/dist/types/index.d.ts +3 -3
- package/dist/utils/index.js +10 -23
- package/package.json +93 -66
- package/dist/components/Boards/src/Boards.vue.d.ts +0 -102
- package/dist/components/ClickOutSide/src/ClickOutSide.vue.d.ts +0 -7
- package/dist/components/DatePicker/index.d.ts +0 -2
- package/dist/components/DatePicker/src/composables/use-month-range-header.d.ts +0 -16
- package/dist/components/DatePicker/src/composables/use-month-range-header.js +0 -52
- package/dist/components/DatePicker/src/composables/use-range-picker.d.ts +0 -173
- package/dist/components/DatePicker/src/composables/use-range-picker.js +0 -99
- package/dist/components/DatePicker/src/date-picker-com/panel-date-range.vue.d.ts +0 -19
- package/dist/components/DatePicker/src/date-picker-com/panel-date-range.vue.js +0 -5
- package/dist/components/DatePicker/src/date-picker-com/panel-date-range.vue2.js +0 -564
- package/dist/components/DatePicker/src/date-picker-com/panel-month-range.vue.d.ts +0 -16
- package/dist/components/DatePicker/src/date-picker-com/panel-month-range.vue.js +0 -5
- package/dist/components/DatePicker/src/date-picker-com/panel-month-range.vue2.js +0 -210
- package/dist/components/DatePicker/src/index.d.ts +0 -224
- package/dist/components/DatePicker/src/index.js +0 -87
- package/dist/components/DatePicker/src/panel-utils.d.ts +0 -2
- package/dist/components/DatePicker/src/panel-utils.js +0 -25
- package/dist/components/Descriptions/src/Descriptions.vue.d.ts +0 -97
- package/dist/components/Editor/src/Editor.vue.d.ts +0 -51
- package/dist/components/Form/src/Form.vue.d.ts +0 -838
- package/dist/components/Highlight/src/Highlight.vue.d.ts +0 -41
- package/dist/components/Icon/src/Icon.vue.d.ts +0 -49
- package/dist/components/Icon/src/SvgIcon.vue.d.ts +0 -45
- package/dist/components/InputPassword/src/InputPassword.vue.d.ts +0 -27
- package/dist/components/Modal/src/BasicModal.vue.d.ts +0 -419
- package/dist/components/Modal/src/components/ModalFooter.vue.d.ts +0 -86
- package/dist/components/Modal/src/components/ModalHeader.vue.d.ts +0 -241
- package/dist/components/NodeAxis/src/BCanvasNodeRender.d.ts +0 -19
- package/dist/components/NodeAxis/src/NodeAxis.vue.d.ts +0 -17
- package/dist/components/Stateful/src/Stateful.vue.d.ts +0 -22
- package/dist/components/Table/src/Table.vue.d.ts +0 -1535
- package/dist/components/Table/src/components/ColumnSetting.vue.d.ts +0 -30
- package/dist/components/Table/src/components/TableActions.vue.d.ts +0 -229
- package/dist/components/UnifyChart/src/ChartToolbox.vue.d.ts +0 -46
- package/dist/components/UnifyChart/src/UnifyChart.vue.d.ts +0 -95
- package/dist/components/Video/index.d.ts +0 -2
- package/dist/components/Video/src/VideoPlayer.vue.d.ts +0 -60
- package/dist/components/Video/src/VideoPlayer.vue.js +0 -5
- package/dist/components/Video/src/VideoPlayer.vue2.js +0 -107
- package/dist/components/Video/src/VideoPlayerToolbar.vue.d.ts +0 -34
- package/dist/components/Video/src/VideoPlayerToolbar.vue.js +0 -5
- package/dist/components/Video/src/VideoPlayerToolbar.vue2.js +0 -65
- package/dist/components/Video/src/abstract/AbstractVideoControl.d.ts +0 -7
- package/dist/components/Video/src/abstract/Observable.d.ts +0 -6
- package/dist/components/Video/src/abstract/Observable.js +0 -89
- package/dist/components/Video/src/abstract/VideoControl.d.ts +0 -32
- package/dist/components/Video/src/abstract/VideoControl.js +0 -48
- package/dist/components/Video/src/control/DaHua.d.ts +0 -12
- package/dist/components/Video/src/control/DaHua.js +0 -154
- package/dist/components/Video/src/control/Hikvision.d.ts +0 -28
- package/dist/components/Video/src/control/Hikvision.js +0 -249
- package/dist/components/Video/src/control/VideoFactory.d.ts +0 -3
- package/dist/components/Video/src/control/VideoFactory.js +0 -31
- package/dist/components/Video/src/enums/CommonEnum.d.ts +0 -26
- package/dist/components/Video/src/enums/CommonEnum.js +0 -31
- package/dist/components/Windows/src/ModalWrap.vue.d.ts +0 -14
- package/dist/components/Windows/src/Windows.vue.d.ts +0 -21
- package/dist/components/src/components/Boards/src/hooKs/useStyle.d.ts +0 -9
- package/dist/components/src/components/DatePicker/src/composables/use-month-range-header.d.ts +0 -16
- package/dist/components/src/components/DatePicker/src/composables/use-range-picker.d.ts +0 -173
- package/dist/components/src/components/DatePicker/src/date-picker-com/panel-date-range.vue.d.ts +0 -19
- package/dist/components/src/components/DatePicker/src/date-picker-com/panel-month-range.vue.d.ts +0 -16
- package/dist/components/src/components/Descriptions/src/Descriptions.vue.d.ts +0 -97
- package/dist/components/src/components/Form/src/components/useRenderCheckbox.d.ts +0 -4
- package/dist/components/src/components/Form/src/components/useRenderRadio.d.ts +0 -4
- package/dist/components/src/components/Form/src/components/useRenderSelect.d.ts +0 -4
- package/dist/components/src/components/Form/src/helper/componentMap.d.ts +0 -5
- package/dist/components/src/components/Form/src/helper/index.d.ts +0 -7
- package/dist/components/src/components/InputPassword/src/InputPassword.vue.d.ts +0 -27
- package/dist/components/src/components/Modal/src/hooks/useTimeout.d.ts +0 -15
- package/dist/components/src/components/Modal/src/utils/index.d.ts +0 -3
- package/dist/components/src/components/NodeAxis/src/BCanvasNodeRender.d.ts +0 -19
- package/dist/components/src/components/NodeAxis/src/NodeAxis.d.ts +0 -12
- package/dist/components/src/components/NodeAxis/src/NodeAxis.vue.d.ts +0 -17
- package/dist/components/src/components/NodeAxis/src/TimerNodePlayer.d.ts +0 -19
- package/dist/components/src/components/NodeAxis/src/interface/NodePlayer.d.ts +0 -9
- package/dist/components/src/components/Table/src/components/ColumnSetting.vue.d.ts +0 -30
- package/dist/components/src/components/Table/src/components/TableActions.vue.d.ts +0 -96
- package/dist/components/src/components/Table/src/helper/index.d.ts +0 -2
- package/dist/components/src/components/Video/src/VideoPlayerToolbar.vue.d.ts +0 -34
- package/dist/components/src/components/Video/src/abstract/AbstractVideoControl.d.ts +0 -7
- package/dist/components/src/components/Video/src/abstract/Observable.d.ts +0 -6
- package/dist/components/src/components/Video/src/abstract/VideoControl.d.ts +0 -32
- package/dist/components/src/components/Video/src/control/DaHua.d.ts +0 -12
- package/dist/components/src/components/Video/src/control/Hikvision.d.ts +0 -28
- package/dist/components/src/components/Video/src/control/VideoFactory.d.ts +0 -3
- package/dist/components/src/components/Video/src/enums/CommonEnum.d.ts +0 -26
- package/dist/components/src/helper/lang.d.ts +0 -1
- package/dist/components/src/themes/index.d.ts +0 -1
- package/dist/components/src/utils/index.d.ts +0 -11
- package/dist/helper/lang.d.ts +0 -1
- package/dist/helper/lang.js +0 -546
- package/dist/node_modules/.pnpm/@vueuse_core@10.11.1_vue@3.5.13_typescript@5.7.3_/node_modules/@vueuse/core/index.js +0 -335
- package/dist/node_modules/.pnpm/@vueuse_core@13.7.0_vue@3.5.19_typescript@5.9.2_/node_modules/@vueuse/core/index.js +0 -393
- package/dist/node_modules/.pnpm/@vueuse_shared@10.11.1_vue@3.5.13_typescript@5.7.3_/node_modules/@vueuse/shared/index.js +0 -40
- package/dist/node_modules/.pnpm/@vueuse_shared@13.7.0_vue@3.5.19_typescript@5.9.2_/node_modules/@vueuse/shared/index.js +0 -53
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { DescriptionsSchema } from './types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
title: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
5
|
-
default: string;
|
|
6
|
-
} & {
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
message: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
10
|
-
default: string;
|
|
11
|
-
} & {
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
collapse: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
border: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
column: import("vue-types").VueTypeValidableDef<number, import("vue-types/dist/types").ValidatorFunction<number>> & {
|
|
21
|
-
default: number;
|
|
22
|
-
} & {
|
|
23
|
-
default: number;
|
|
24
|
-
};
|
|
25
|
-
size: import("vue-types").VueTypeDef<string> & {
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
direction: import("vue-types").VueTypeDef<string> & {
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
extra: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
32
|
-
default: string;
|
|
33
|
-
} & {
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
schema: {
|
|
37
|
-
type: PropType<DescriptionsSchema[]>;
|
|
38
|
-
default: () => any[];
|
|
39
|
-
};
|
|
40
|
-
data: {
|
|
41
|
-
type: PropType<any>;
|
|
42
|
-
default: () => {};
|
|
43
|
-
};
|
|
44
|
-
}>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
-
title: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
46
|
-
default: string;
|
|
47
|
-
} & {
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
message: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
51
|
-
default: string;
|
|
52
|
-
} & {
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
collapse: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
58
|
-
border: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
59
|
-
default: boolean;
|
|
60
|
-
};
|
|
61
|
-
column: import("vue-types").VueTypeValidableDef<number, import("vue-types/dist/types").ValidatorFunction<number>> & {
|
|
62
|
-
default: number;
|
|
63
|
-
} & {
|
|
64
|
-
default: number;
|
|
65
|
-
};
|
|
66
|
-
size: import("vue-types").VueTypeDef<string> & {
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
|
-
direction: import("vue-types").VueTypeDef<string> & {
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
extra: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
73
|
-
default: string;
|
|
74
|
-
} & {
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
schema: {
|
|
78
|
-
type: PropType<DescriptionsSchema[]>;
|
|
79
|
-
default: () => any[];
|
|
80
|
-
};
|
|
81
|
-
data: {
|
|
82
|
-
type: PropType<any>;
|
|
83
|
-
default: () => {};
|
|
84
|
-
};
|
|
85
|
-
}>> & Readonly<{}>, {
|
|
86
|
-
title: string;
|
|
87
|
-
message: string;
|
|
88
|
-
collapse: boolean;
|
|
89
|
-
border: boolean;
|
|
90
|
-
column: number;
|
|
91
|
-
size: string;
|
|
92
|
-
direction: string;
|
|
93
|
-
extra: string;
|
|
94
|
-
schema: DescriptionsSchema[];
|
|
95
|
-
data: any;
|
|
96
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
97
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ColProps, FormSchema, PlaceholderModel } from '../types';
|
|
2
|
-
import { Recordable } from '../../../../types';
|
|
3
|
-
export declare const setTextPlaceholder: (schema: FormSchema) => PlaceholderModel;
|
|
4
|
-
export declare const setGridProp: (col?: ColProps) => ColProps;
|
|
5
|
-
export declare const setComponentProps: (item: FormSchema) => Recordable;
|
|
6
|
-
export declare const setItemComponentSlots: (slotsProps?: Recordable) => Recordable;
|
|
7
|
-
export declare const initModel: (schema: FormSchema[], formModel: Recordable) => Recordable;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
strength: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
3
|
-
default: boolean;
|
|
4
|
-
};
|
|
5
|
-
modelValue: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
6
|
-
default: string;
|
|
7
|
-
} & {
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
strength: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>> & {
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
modelValue: import("vue-types").VueTypeValidableDef<string, import("vue-types/dist/types").ValidatorFunction<string>> & {
|
|
17
|
-
default: string;
|
|
18
|
-
} & {
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{
|
|
22
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
23
|
-
}>, {
|
|
24
|
-
strength: boolean;
|
|
25
|
-
modelValue: string;
|
|
26
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare function isFunction(val: unknown): val is Function;
|
|
2
|
-
declare interface Fn<T = any, R = T> {
|
|
3
|
-
(...arg: T[]): R;
|
|
4
|
-
}
|
|
5
|
-
export declare function useTimeoutFn(handle: Fn<any>, wait: number, native?: boolean): {
|
|
6
|
-
readyRef: import("vue").Ref<boolean, boolean>;
|
|
7
|
-
stop: () => void;
|
|
8
|
-
start: () => void;
|
|
9
|
-
};
|
|
10
|
-
export declare function useTimeoutRef(wait: number): {
|
|
11
|
-
readyRef: import("vue").Ref<boolean, boolean>;
|
|
12
|
-
stop: () => void;
|
|
13
|
-
start: () => void;
|
|
14
|
-
};
|
|
15
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import NodeRender from "./NodeRender";
|
|
2
|
-
export default class BCanvasNodeRender extends NodeRender {
|
|
3
|
-
protected canvas: HTMLCanvasElement;
|
|
4
|
-
protected context: CanvasRenderingContext2D;
|
|
5
|
-
protected overlay: HTMLElement;
|
|
6
|
-
protected cache: any;
|
|
7
|
-
protected onMouseWheel(event: WheelEvent): void;
|
|
8
|
-
protected onMouseMove(event: MouseEvent): void;
|
|
9
|
-
protected onMouseLeave(event: any): void;
|
|
10
|
-
protected onMouseDown(event: any): void;
|
|
11
|
-
protected onMouseUp(event: any): void;
|
|
12
|
-
protected showOverlay(index: number): any;
|
|
13
|
-
initialize(container: HTMLElement, accept: Function): void;
|
|
14
|
-
resize(): void;
|
|
15
|
-
reset(): void;
|
|
16
|
-
dataChange(): void;
|
|
17
|
-
dispose(): void;
|
|
18
|
-
render(index?: number): void;
|
|
19
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import NodeRender from "./NodeRender";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
render: PropType<NodeRender>;
|
|
5
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:frame"[], "update:frame", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
render: PropType<NodeRender>;
|
|
9
|
-
}>> & Readonly<{
|
|
10
|
-
"onUpdate:frame"?: (...args: any[]) => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
config: ObjectConstructor;
|
|
3
|
-
res: {
|
|
4
|
-
type: ObjectConstructor;
|
|
5
|
-
};
|
|
6
|
-
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:frame" | "register")[], "update:frame" | "register", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
config: ObjectConstructor;
|
|
10
|
-
res: {
|
|
11
|
-
type: ObjectConstructor;
|
|
12
|
-
};
|
|
13
|
-
}>> & Readonly<{
|
|
14
|
-
"onUpdate:frame"?: (...args: any[]) => any;
|
|
15
|
-
onRegister?: (...args: any[]) => any;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import NodeModel from "./NodeModel";
|
|
2
|
-
import NodeRender from "./NodeRender";
|
|
3
|
-
import { NodeAxis } from "./types";
|
|
4
|
-
import NodePlayer from "./interface/NodePlayer";
|
|
5
|
-
export default class TimerNodePlayer implements NodePlayer {
|
|
6
|
-
protected renderer: NodeRender;
|
|
7
|
-
protected model: NodeModel;
|
|
8
|
-
protected timer: any;
|
|
9
|
-
protected options: NodeAxis.PlayOptions;
|
|
10
|
-
constructor(model: NodeModel, renderer: NodeRender, options?: NodeAxis.PlayOptions);
|
|
11
|
-
get playing(): boolean;
|
|
12
|
-
play(): void;
|
|
13
|
-
stop(): void;
|
|
14
|
-
reset(): void;
|
|
15
|
-
backward(loop: boolean): void;
|
|
16
|
-
forward(loop: boolean): void;
|
|
17
|
-
jump(index: number): void;
|
|
18
|
-
protected render(index?: number): void;
|
|
19
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { TableColumn } from '../types';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
columns: {
|
|
5
|
-
type: PropType<TableColumn[]>;
|
|
6
|
-
default: () => any[];
|
|
7
|
-
};
|
|
8
|
-
modelValue: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("confirm" | "update:modelValue")[], "confirm" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
columns: {
|
|
16
|
-
type: PropType<TableColumn[]>;
|
|
17
|
-
default: () => any[];
|
|
18
|
-
};
|
|
19
|
-
modelValue: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
}>> & Readonly<{
|
|
24
|
-
onConfirm?: (...args: any[]) => any;
|
|
25
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
26
|
-
}>, {
|
|
27
|
-
columns: TableColumn[];
|
|
28
|
-
modelValue: boolean;
|
|
29
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
|
-
export default _default;
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { TableColumn } from '../types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
columns: {
|
|
5
|
-
type: PropType<TableColumn[]>;
|
|
6
|
-
default: () => any[];
|
|
7
|
-
};
|
|
8
|
-
}>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("refresh" | "changSize" | "confirm")[], "refresh" | "changSize" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
columns: {
|
|
10
|
-
type: PropType<TableColumn[]>;
|
|
11
|
-
default: () => any[];
|
|
12
|
-
};
|
|
13
|
-
}>> & Readonly<{
|
|
14
|
-
onRefresh?: (...args: any[]) => any;
|
|
15
|
-
onChangSize?: (...args: any[]) => any;
|
|
16
|
-
onConfirm?: (...args: any[]) => any;
|
|
17
|
-
}>, {
|
|
18
|
-
columns: TableColumn[];
|
|
19
|
-
}, {}, {
|
|
20
|
-
ElDropdown: any;
|
|
21
|
-
ElDropdownMenu: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
22
|
-
onKeydown: {
|
|
23
|
-
readonly type: import("vue").PropType<(e: KeyboardEvent) => void>;
|
|
24
|
-
readonly required: false;
|
|
25
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
|
-
__epPropKey: true;
|
|
27
|
-
};
|
|
28
|
-
}, {
|
|
29
|
-
size: import("vue").ComputedRef<string> | undefined;
|
|
30
|
-
rovingFocusGroupRootStyle: import("vue").Ref<import("vue").StyleValue>;
|
|
31
|
-
tabIndex: import("vue").Ref<number>;
|
|
32
|
-
dropdownKls: import("vue").ComputedRef<string[]>;
|
|
33
|
-
role: import("vue").ComputedRef<string>;
|
|
34
|
-
triggerId: import("vue").ComputedRef<string>;
|
|
35
|
-
dropdownListWrapperRef: (el: Element | import("vue").ComponentPublicInstance | null) => void;
|
|
36
|
-
handleKeydown: (e: KeyboardEvent) => void;
|
|
37
|
-
onBlur: (e: Event) => void;
|
|
38
|
-
onFocus: (e: FocusEvent) => void;
|
|
39
|
-
onMousedown: (e: Event) => void;
|
|
40
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
-
onKeydown: {
|
|
42
|
-
readonly type: import("vue").PropType<(e: KeyboardEvent) => void>;
|
|
43
|
-
readonly required: false;
|
|
44
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
|
-
__epPropKey: true;
|
|
46
|
-
};
|
|
47
|
-
}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
48
|
-
ElDropdownItem: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
49
|
-
readonly command: import("element-plus/es/utils").EpPropFinalized<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown, () => {}, boolean>;
|
|
50
|
-
readonly disabled: BooleanConstructor;
|
|
51
|
-
readonly divided: BooleanConstructor;
|
|
52
|
-
readonly textValue: StringConstructor;
|
|
53
|
-
readonly icon: {
|
|
54
|
-
readonly type: import("vue").PropType<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>>;
|
|
55
|
-
readonly required: false;
|
|
56
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
57
|
-
__epPropKey: true;
|
|
58
|
-
};
|
|
59
|
-
}, {
|
|
60
|
-
handleClick: (event: PointerEvent) => void;
|
|
61
|
-
handlePointerMove: (event: PointerEvent) => void;
|
|
62
|
-
handlePointerLeave: (event: PointerEvent) => void;
|
|
63
|
-
textContent: import("vue").ComputedRef<string>;
|
|
64
|
-
propsAndAttrs: import("vue").ComputedRef<{
|
|
65
|
-
disabled: boolean;
|
|
66
|
-
icon: 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> | undefined;
|
|
67
|
-
onClick: ((...args: any[]) => any) | undefined;
|
|
68
|
-
onPointermove: ((...args: any[]) => any) | undefined;
|
|
69
|
-
onPointerleave: ((...args: any[]) => any) | undefined;
|
|
70
|
-
command: import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
71
|
-
divided: boolean;
|
|
72
|
-
textValue: string | undefined;
|
|
73
|
-
}>;
|
|
74
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "pointerleave" | "pointermove")[], "click" | "pointerleave" | "pointermove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
|
-
readonly command: import("element-plus/es/utils").EpPropFinalized<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown, () => {}, boolean>;
|
|
76
|
-
readonly disabled: BooleanConstructor;
|
|
77
|
-
readonly divided: BooleanConstructor;
|
|
78
|
-
readonly textValue: StringConstructor;
|
|
79
|
-
readonly icon: {
|
|
80
|
-
readonly type: import("vue").PropType<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>>;
|
|
81
|
-
readonly required: false;
|
|
82
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
83
|
-
__epPropKey: true;
|
|
84
|
-
};
|
|
85
|
-
}>> & {
|
|
86
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
87
|
-
onPointermove?: ((...args: any[]) => any) | undefined;
|
|
88
|
-
onPointerleave?: ((...args: any[]) => any) | undefined;
|
|
89
|
-
}, {
|
|
90
|
-
readonly disabled: boolean;
|
|
91
|
-
readonly command: import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
92
|
-
readonly divided: boolean;
|
|
93
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
94
|
-
ColumnSetting: import("vue").DefineComponent<{}, {}, any>;
|
|
95
|
-
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
96
|
-
export default _default;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
domRef: import("vue-types").VueTypeValidableDef<any, import("vue-types/dist/types").ValidatorFunction<any>>;
|
|
3
|
-
stop: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
4
|
-
default: (...args: any[]) => any;
|
|
5
|
-
};
|
|
6
|
-
play: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
7
|
-
default: (...args: any[]) => any;
|
|
8
|
-
};
|
|
9
|
-
isPlay: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>>;
|
|
10
|
-
isFullscreen: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>>;
|
|
11
|
-
toggleFullscreenFn: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
12
|
-
default: (...args: any[]) => any;
|
|
13
|
-
};
|
|
14
|
-
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
domRef: import("vue-types").VueTypeValidableDef<any, import("vue-types/dist/types").ValidatorFunction<any>>;
|
|
18
|
-
stop: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
19
|
-
default: (...args: any[]) => any;
|
|
20
|
-
};
|
|
21
|
-
play: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
22
|
-
default: (...args: any[]) => any;
|
|
23
|
-
};
|
|
24
|
-
isPlay: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>>;
|
|
25
|
-
isFullscreen: import("vue-types").VueTypeValidableDef<boolean, import("vue-types/dist/types").ValidatorFunction<boolean>>;
|
|
26
|
-
toggleFullscreenFn: import("vue-types").VueTypeValidableDef<(...args: any[]) => any, import("vue-types/dist/types").ValidatorFunction<(...args: any[]) => any>> & {
|
|
27
|
-
default: (...args: any[]) => any;
|
|
28
|
-
};
|
|
29
|
-
}>> & Readonly<{}>, {
|
|
30
|
-
stop: (...args: any[]) => any;
|
|
31
|
-
play: (...args: any[]) => any;
|
|
32
|
-
toggleFullscreenFn: (...args: any[]) => any;
|
|
33
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
|
-
export default _default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import AbstractVideoControl from "./AbstractVideoControl";
|
|
2
|
-
import Observable from "./Observable";
|
|
3
|
-
export interface VideoBaseOpt {
|
|
4
|
-
ip: string;
|
|
5
|
-
port: string | number;
|
|
6
|
-
channel: string | number;
|
|
7
|
-
username: string;
|
|
8
|
-
streamType: string | number;
|
|
9
|
-
password: string;
|
|
10
|
-
wrapEl: any;
|
|
11
|
-
canvasEl: any;
|
|
12
|
-
videoEl: any;
|
|
13
|
-
needPlugin: boolean;
|
|
14
|
-
needLogin: boolean;
|
|
15
|
-
}
|
|
16
|
-
export default class VideoControl extends Observable implements AbstractVideoControl {
|
|
17
|
-
ip: string;
|
|
18
|
-
port: string | number;
|
|
19
|
-
channel: string | number;
|
|
20
|
-
streamType: string | number;
|
|
21
|
-
username: string;
|
|
22
|
-
password: string;
|
|
23
|
-
wrapEl: any;
|
|
24
|
-
isPlayback: boolean;
|
|
25
|
-
playbackIndex: number;
|
|
26
|
-
state: object;
|
|
27
|
-
player: any;
|
|
28
|
-
needPlugin: boolean;
|
|
29
|
-
needLogin: boolean;
|
|
30
|
-
constructor(opt: Partial<VideoBaseOpt>);
|
|
31
|
-
get identify(): string;
|
|
32
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import VideoControl, { VideoBaseOpt } from "../abstract/VideoControl";
|
|
2
|
-
export default class DaHua extends VideoControl {
|
|
3
|
-
canvasEl: any;
|
|
4
|
-
videoEl: any;
|
|
5
|
-
constructor(opts: Partial<VideoBaseOpt>);
|
|
6
|
-
generateEl(): void;
|
|
7
|
-
removeEl(): void;
|
|
8
|
-
login(): void;
|
|
9
|
-
stop(): void;
|
|
10
|
-
play(isPlayback?: boolean): void;
|
|
11
|
-
dispose(): void;
|
|
12
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import VideoControl, { VideoBaseOpt } from '../abstract/VideoControl';
|
|
2
|
-
interface IHikvision {
|
|
3
|
-
elId: string;
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
szBasePath: string;
|
|
7
|
-
}
|
|
8
|
-
type HikvisionOpt = Partial<VideoBaseOpt> & IHikvision;
|
|
9
|
-
export default class Hikvision extends VideoControl {
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
elId: string;
|
|
13
|
-
container: any;
|
|
14
|
-
szBasePath: string;
|
|
15
|
-
constructor(opts: Partial<HikvisionOpt>);
|
|
16
|
-
get pluginElId(): string;
|
|
17
|
-
generateEl(): void;
|
|
18
|
-
removeEl(): void;
|
|
19
|
-
checkPlugin(): boolean;
|
|
20
|
-
play(): void;
|
|
21
|
-
stop(): void;
|
|
22
|
-
dispose(): void;
|
|
23
|
-
login(): void;
|
|
24
|
-
logout(): void;
|
|
25
|
-
fullScreen(flag: boolean): void;
|
|
26
|
-
downloadPlugin(): void;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare enum EHiStateCode {
|
|
2
|
-
ERROR_CODE_UNKNOWN = 1000,
|
|
3
|
-
ERROR_CODE_NETWORKERROR = 1001,
|
|
4
|
-
ERROR_CODE_PARAMERROR = 1002,
|
|
5
|
-
ERROR_CODE_LOGIN_NOLOGIN = 2000,
|
|
6
|
-
ERROR_CODE_LOGIN_REPEATLOGIN = 2001,
|
|
7
|
-
ERROR_CODE_LOGIN_NOSUPPORT = 2002,
|
|
8
|
-
ERROR_CODE_PLAY_PLUGININITFAIL = 3000,
|
|
9
|
-
ERROR_CODE_PLAY_NOREPEATPLAY = 3001,
|
|
10
|
-
ERROR_CODE_PLAY_PLAYBACKABNORMAL = 3002,
|
|
11
|
-
ERROR_CODE_PLAY_PLAYBACKSTOP = 3003,
|
|
12
|
-
ERROR_CODE_PLAY_NOFREESPACE = 3004,
|
|
13
|
-
ERROR_CODE_TALK_FAIL = 5000
|
|
14
|
-
}
|
|
15
|
-
export declare enum VideoType {
|
|
16
|
-
DaHua = "DaHua",
|
|
17
|
-
Hikvision = "Hikvision"
|
|
18
|
-
}
|
|
19
|
-
export declare enum EventEnum {
|
|
20
|
-
READY = "READY",
|
|
21
|
-
PLAY = "PLAY",
|
|
22
|
-
PAUSE = "PAUSE",
|
|
23
|
-
DISPOSE = "DISPOSE",
|
|
24
|
-
ERROR = "ERROR",
|
|
25
|
-
PLUGIN = "PLUGIN"
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getLabel: (filed: string) => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index.scss";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Fn, Recordable } from '../types';
|
|
2
|
-
export declare const withInstall: <T>(component: T, alias?: string) => T & Plugin;
|
|
3
|
-
export declare const humpToUnderline: (str: string) => string;
|
|
4
|
-
export declare const underlineToHump: (str: string) => string;
|
|
5
|
-
export declare const humpToDash: (str: string) => string;
|
|
6
|
-
export declare const setCssVar: (prop: string, val: any, dom?: HTMLElement) => void;
|
|
7
|
-
export declare const findIndex: <T = Recordable>(ary: Array<T>, fn: Fn) => number;
|
|
8
|
-
export declare const trim: (str: string) => string;
|
|
9
|
-
export declare function formatTime(time: Date | number | string, fmt: string): string;
|
|
10
|
-
export declare function toAnyString(): string;
|
|
11
|
-
export declare function firstUpperCase(str: string): string;
|
package/dist/helper/lang.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getLabel: (filed: string) => any;
|