vuesp-components 5.4.0 → 6.0.0
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 +20 -0
- package/README.md +14 -1
- package/dist/{VDialog.vue_vue_type_script_setup_true_lang-Bh-tnwGM.js → VDialog.vue_vue_type_script_setup_true_lang-Eo7yIqxr.js} +168 -165
- package/dist/components/dashboard/cards/CardDate.vue.d.ts +2 -0
- package/dist/components/dashboard/cards/CardDate.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.es.js +5256 -3345
- package/dist/components/modbus/ModbusConnectionCard.vue.d.ts +37 -0
- package/dist/components/modbus/ModbusConnectionCard.vue.d.ts.map +1 -0
- package/dist/components/modbus/ModbusDeleteDialog.vue.d.ts +10 -0
- package/dist/components/modbus/ModbusDeleteDialog.vue.d.ts.map +1 -0
- package/dist/components/modbus/ModbusDeviceDialog.vue.d.ts +16 -0
- package/dist/components/modbus/ModbusDeviceDialog.vue.d.ts.map +1 -0
- package/dist/components/modbus/ModbusDeviceList.vue.d.ts +12 -0
- package/dist/components/modbus/ModbusDeviceList.vue.d.ts.map +1 -0
- package/dist/components/modbus/ModbusMapDetails.vue.d.ts +12 -0
- package/dist/components/modbus/ModbusMapDetails.vue.d.ts.map +1 -0
- package/dist/components/modbus/ModbusMapTable.vue.d.ts +10 -0
- package/dist/components/modbus/ModbusMapTable.vue.d.ts.map +1 -0
- package/dist/components/modbus/ModbusPointDialog.vue.d.ts +28 -0
- package/dist/components/modbus/ModbusPointDialog.vue.d.ts.map +1 -0
- package/dist/components/modbus/ModbusPointList.vue.d.ts +16 -0
- package/dist/components/modbus/ModbusPointList.vue.d.ts.map +1 -0
- package/dist/components/modbus/ModbusProfileToolbar.vue.d.ts +16 -0
- package/dist/components/modbus/ModbusProfileToolbar.vue.d.ts.map +1 -0
- package/dist/components/modbus/ModbusSlaveDialog.vue.d.ts +22 -0
- package/dist/components/modbus/ModbusSlaveDialog.vue.d.ts.map +1 -0
- package/dist/components/modbus/ModbusSlaveValueList.vue.d.ts +12 -0
- package/dist/components/modbus/ModbusSlaveValueList.vue.d.ts.map +1 -0
- package/dist/components/modbus/ModbusVarDialog.vue.d.ts +18 -0
- package/dist/components/modbus/ModbusVarDialog.vue.d.ts.map +1 -0
- package/dist/components/modbus/ModbusVarList.vue.d.ts +12 -0
- package/dist/components/modbus/ModbusVarList.vue.d.ts.map +1 -0
- package/dist/components/modbus/index.d.ts +16 -0
- package/dist/components/modbus/index.d.ts.map +1 -0
- package/dist/components/modbus/modbusMapTypes.d.ts +31 -0
- package/dist/components/modbus/modbusMapTypes.d.ts.map +1 -0
- package/dist/components/modbus/types.d.ts +310 -0
- package/dist/components/modbus/types.d.ts.map +1 -0
- package/dist/components/script/ScriptDeleteDialog.vue.d.ts +10 -0
- package/dist/components/script/ScriptDeleteDialog.vue.d.ts.map +1 -0
- package/dist/components/script/ScriptDetailsDialog.vue.d.ts +8 -0
- package/dist/components/script/ScriptDetailsDialog.vue.d.ts.map +1 -0
- package/dist/components/script/ScriptDiscardDialog.vue.d.ts +11 -0
- package/dist/components/script/ScriptDiscardDialog.vue.d.ts.map +1 -0
- package/dist/components/script/ScriptRenameDialog.vue.d.ts +10 -0
- package/dist/components/script/ScriptRenameDialog.vue.d.ts.map +1 -0
- package/dist/components/script/ScriptStudioActionBar.vue.d.ts +10 -0
- package/dist/components/script/ScriptStudioActionBar.vue.d.ts.map +1 -0
- package/dist/components/script/ScriptStudioLogs.vue.d.ts +15 -0
- package/dist/components/script/ScriptStudioLogs.vue.d.ts.map +1 -0
- package/dist/components/script/ScriptStudioMetrics.vue.d.ts +19 -0
- package/dist/components/script/ScriptStudioMetrics.vue.d.ts.map +1 -0
- package/dist/components/script/ScriptStudioTabs.vue.d.ts +18 -0
- package/dist/components/script/ScriptStudioTabs.vue.d.ts.map +1 -0
- package/dist/components/script/ScriptStudioToolbar.vue.d.ts +35 -0
- package/dist/components/script/ScriptStudioToolbar.vue.d.ts.map +1 -0
- package/dist/components/script/editor/suggestions.d.ts +1 -1
- package/dist/components/script/editor/suggestions.d.ts.map +1 -1
- package/dist/components/script/helpers.d.ts +28 -0
- package/dist/components/script/helpers.d.ts.map +1 -0
- package/dist/components/script/index.d.ts +11 -5
- package/dist/components/script/index.d.ts.map +1 -1
- package/dist/components/script/types.d.ts +112 -3
- package/dist/components/script/types.d.ts.map +1 -1
- package/dist/components/serial/SerialConsole.vue.d.ts.map +1 -1
- package/dist/components/ui/select/VSelect.vue.d.ts.map +1 -1
- package/dist/components/ui/select/types.d.ts +1 -0
- package/dist/components/ui/select/types.d.ts.map +1 -1
- package/dist/components/ui/tabs/VTabs.vue.d.ts.map +1 -1
- package/dist/components/ui/text-field/types.d.ts +2 -0
- package/dist/components/ui/text-field/types.d.ts.map +1 -1
- package/dist/components/ui/text-field/useTextField.d.ts +2 -2
- package/dist/components/ui/text-field/useTextField.d.ts.map +1 -1
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/composables/index.es.js +101 -512
- package/dist/composables/useI18n.d.ts +3 -0
- package/dist/composables/useI18n.d.ts.map +1 -0
- package/dist/composables/useScriptStudioLogs.d.ts +30 -0
- package/dist/composables/useScriptStudioLogs.d.ts.map +1 -0
- package/dist/composables/useSerialConsole.d.ts +1 -1
- package/dist/helpers/index.d.ts +0 -1
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.es.js +60 -77
- package/dist/index.es.js +1 -1
- package/dist/pages/kit/KitShowcase.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/{useDialog-Buvn63AR.js → useDialog-XDF9alzt.js} +2 -2
- package/dist/useSerialConsole-DaedwQe_.js +564 -0
- package/package.json +1 -1
- package/dist/app-3Zj29UoC.js +0 -64
- package/dist/components/script/dialog/ScriptDialog.vue.d.ts +0 -10
- package/dist/components/script/dialog/ScriptDialog.vue.d.ts.map +0 -1
- package/dist/components/script/dialog/types.d.ts +0 -8
- package/dist/components/script/dialog/types.d.ts.map +0 -1
- package/dist/components/script/editor/ScriptEditor.vue.d.ts +0 -10
- package/dist/components/script/editor/ScriptEditor.vue.d.ts.map +0 -1
- package/dist/components/script/editor/format.d.ts +0 -3
- package/dist/components/script/editor/format.d.ts.map +0 -1
- package/dist/components/script/editor/highlighters/index.d.ts +0 -3
- package/dist/components/script/editor/highlighters/index.d.ts.map +0 -1
- package/dist/components/script/editor/plugins/autoSemicolon.d.ts +0 -3
- package/dist/components/script/editor/plugins/autoSemicolon.d.ts.map +0 -1
- package/dist/components/script/editor/plugins/autocomplete.d.ts +0 -4
- package/dist/components/script/editor/plugins/autocomplete.d.ts.map +0 -1
- package/dist/components/script/editor/plugins/index.d.ts +0 -3
- package/dist/components/script/editor/plugins/index.d.ts.map +0 -1
- package/dist/components/script/editor/plugins/render/index.d.ts +0 -7
- package/dist/components/script/editor/plugins/render/index.d.ts.map +0 -1
- package/dist/components/script/editor/plugins/types.d.ts +0 -24
- package/dist/components/script/editor/plugins/types.d.ts.map +0 -1
- package/dist/components/script/editor/types.d.ts +0 -10
- package/dist/components/script/editor/types.d.ts.map +0 -1
- package/dist/components/script/viewDocs/ScriptViewDocs.vue.d.ts +0 -13
- package/dist/components/script/viewDocs/ScriptViewDocs.vue.d.ts.map +0 -1
- package/dist/components/script/viewDocs/types.d.ts +0 -4
- package/dist/components/script/viewDocs/types.d.ts.map +0 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IModbusConnectionCardProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<IModbusConnectionCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
address: (value: string) => any;
|
|
13
|
+
role: (item: import('../../types').IListItem<number>) => any;
|
|
14
|
+
"toggle-settings": () => any;
|
|
15
|
+
"toggle-connection": () => any;
|
|
16
|
+
baud: (item: import('../../types').IListItem<number>) => any;
|
|
17
|
+
parity: (item: import('../../types').IListItem<number>) => any;
|
|
18
|
+
"stop-bits": (item: import('../../types').IListItem<number>) => any;
|
|
19
|
+
pin: (key: "tx" | "rx" | "de", value: string) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<IModbusConnectionCardProps> & Readonly<{
|
|
21
|
+
onAddress?: ((value: string) => any) | undefined;
|
|
22
|
+
onRole?: ((item: import('../../types').IListItem<number>) => any) | undefined;
|
|
23
|
+
"onToggle-settings"?: (() => any) | undefined;
|
|
24
|
+
"onToggle-connection"?: (() => any) | undefined;
|
|
25
|
+
onBaud?: ((item: import('../../types').IListItem<number>) => any) | undefined;
|
|
26
|
+
onParity?: ((item: import('../../types').IListItem<number>) => any) | undefined;
|
|
27
|
+
"onStop-bits"?: ((item: import('../../types').IListItem<number>) => any) | undefined;
|
|
28
|
+
onPin?: ((key: "tx" | "rx" | "de", value: string) => any) | undefined;
|
|
29
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=ModbusConnectionCard.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusConnectionCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusConnectionCard.vue"],"names":[],"mappings":"AAsIA,OAAO,KAAK,EAA8B,0BAA0B,EAAE,MAAM,SAAS,CAAC;AA4BtF,iBAAS,cAAc;WAiaT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;kFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IModbusDeleteDialogProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IModbusDeleteDialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
close: () => any;
|
|
4
|
+
confirm: () => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<IModbusDeleteDialogProps> & Readonly<{
|
|
6
|
+
onClose?: (() => any) | undefined;
|
|
7
|
+
onConfirm?: (() => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=ModbusDeleteDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusDeleteDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusDeleteDialog.vue"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAA4B,wBAAwB,EAAE,MAAM,SAAS,CAAC;;;;;;;;AA+HlF,wBAQG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IModbusDeviceDialogProps, IModbusDeviceModel } from './types';
|
|
2
|
+
type __VLS_Props = IModbusDeviceDialogProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue: IModbusDeviceModel;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
close: () => any;
|
|
8
|
+
save: () => any;
|
|
9
|
+
"update:modelValue": (value: IModbusDeviceModel) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
|
+
onClose?: (() => any) | undefined;
|
|
12
|
+
onSave?: (() => any) | undefined;
|
|
13
|
+
"onUpdate:modelValue"?: ((value: IModbusDeviceModel) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=ModbusDeviceDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusDeviceDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusDeviceDialog.vue"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAA4B,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAEtG,KAAK,WAAW,GAAG,wBAAwB,CAAC;AAY5C,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,kBAAkB,CAAC;CAC9B,GAAG,WAAW,CAAC;;;;;;;;;;AAyShB,wBAQG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IModbusDeviceListProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IModbusDeviceListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
remove: (index: number) => any;
|
|
4
|
+
edit: (index: number) => any;
|
|
5
|
+
add: () => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<IModbusDeviceListProps> & Readonly<{
|
|
7
|
+
onRemove?: ((index: number) => any) | undefined;
|
|
8
|
+
onEdit?: ((index: number) => any) | undefined;
|
|
9
|
+
onAdd?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=ModbusDeviceList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusDeviceList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusDeviceList.vue"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EAA0B,sBAAsB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;AA8M9E,wBAOG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IMapDetails } from './modbusMapTypes';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
details: IMapDetails;
|
|
4
|
+
closable?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
close: () => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClose?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=ModbusMapDetails.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusMapDetails.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusMapDetails.vue"],"names":[],"mappings":"AAqEA;AAAA,OAqFO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAOpD,KAAK,WAAW,GAAG;IAAE,OAAO,EAAE,WAAW,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;;;;;;AA0RhE,wBAQG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IModbusMapTableProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IModbusMapTableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
click: (item: import('./modbusMapTypes').IMapItem) => any;
|
|
4
|
+
close: () => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<IModbusMapTableProps> & Readonly<{
|
|
6
|
+
onClick?: ((item: import('./modbusMapTypes').IMapItem) => any) | undefined;
|
|
7
|
+
onClose?: (() => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=ModbusMapTable.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusMapTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusMapTable.vue"],"names":[],"mappings":"AA2CA,OAAO,KAAK,EAAwB,oBAAoB,EAAE,MAAM,SAAS,CAAC;;;;;;;;AAwJ1E,wBAQG"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IModbusPointDialogProps, IModbusPointModel } from './types';
|
|
2
|
+
type __VLS_Props = IModbusPointDialogProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue: IModbusPointModel;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
close: () => any;
|
|
8
|
+
save: () => any;
|
|
9
|
+
"update:modelValue": (value: IModbusPointModel) => any;
|
|
10
|
+
"update:point-tab": (value: number) => any;
|
|
11
|
+
"update:test-auto-crc": (value: boolean) => any;
|
|
12
|
+
"update:test-frame": (value: string) => any;
|
|
13
|
+
"update:type": (value: number) => any;
|
|
14
|
+
rebuild: () => any;
|
|
15
|
+
test: () => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
+
onClose?: (() => any) | undefined;
|
|
18
|
+
onSave?: (() => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((value: IModbusPointModel) => any) | undefined;
|
|
20
|
+
"onUpdate:point-tab"?: ((value: number) => any) | undefined;
|
|
21
|
+
"onUpdate:test-auto-crc"?: ((value: boolean) => any) | undefined;
|
|
22
|
+
"onUpdate:test-frame"?: ((value: string) => any) | undefined;
|
|
23
|
+
"onUpdate:type"?: ((value: number) => any) | undefined;
|
|
24
|
+
onRebuild?: (() => any) | undefined;
|
|
25
|
+
onTest?: (() => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=ModbusPointDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusPointDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusPointDialog.vue"],"names":[],"mappings":"AA0IA,OAAO,KAAK,EAA2B,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEnG,KAAK,WAAW,GAAG,uBAAuB,CAAC;AAsC3C,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,iBAAiB,CAAC;CAC7B,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;AAgsBhB,wBAQG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IModbusPointListProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IModbusPointListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
remove: (index: number) => any;
|
|
4
|
+
edit: (index: number) => any;
|
|
5
|
+
add: () => any;
|
|
6
|
+
write: (index: number) => any;
|
|
7
|
+
"update:write-value": (index: number, value: string) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<IModbusPointListProps> & Readonly<{
|
|
9
|
+
onRemove?: ((index: number) => any) | undefined;
|
|
10
|
+
onEdit?: ((index: number) => any) | undefined;
|
|
11
|
+
onAdd?: (() => any) | undefined;
|
|
12
|
+
onWrite?: ((index: number) => any) | undefined;
|
|
13
|
+
"onUpdate:write-value"?: ((index: number, value: string) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=ModbusPointList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusPointList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusPointList.vue"],"names":[],"mappings":"AAgEA,OAAO,KAAK,EAAyB,qBAAqB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;AA+R5E,wBAOG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IModbusProfileToolbarProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IModbusProfileToolbarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
save: () => any;
|
|
4
|
+
export: () => any;
|
|
5
|
+
import: (file: File) => any;
|
|
6
|
+
apply: () => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<IModbusProfileToolbarProps> & Readonly<{
|
|
8
|
+
onSave?: (() => any) | undefined;
|
|
9
|
+
onExport?: (() => any) | undefined;
|
|
10
|
+
onImport?: ((file: File) => any) | undefined;
|
|
11
|
+
onApply?: (() => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
13
|
+
fileInput: HTMLInputElement;
|
|
14
|
+
}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=ModbusProfileToolbar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusProfileToolbar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusProfileToolbar.vue"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAA8B,0BAA0B,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;AAgRtF,wBASG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IModbusSlaveDialogProps, IModbusSlaveForm } from './types';
|
|
2
|
+
type __VLS_Props = IModbusSlaveDialogProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue: IModbusSlaveForm;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
close: () => any;
|
|
8
|
+
save: () => any;
|
|
9
|
+
"update:modelValue": (value: IModbusSlaveForm) => any;
|
|
10
|
+
"source-kind": (value: string) => any;
|
|
11
|
+
"pick-source": () => any;
|
|
12
|
+
"update:advanced": (value: boolean) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
onClose?: (() => any) | undefined;
|
|
15
|
+
onSave?: (() => any) | undefined;
|
|
16
|
+
"onUpdate:modelValue"?: ((value: IModbusSlaveForm) => any) | undefined;
|
|
17
|
+
"onSource-kind"?: ((value: string) => any) | undefined;
|
|
18
|
+
"onPick-source"?: (() => any) | undefined;
|
|
19
|
+
"onUpdate:advanced"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=ModbusSlaveDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusSlaveDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusSlaveDialog.vue"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EAA2B,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAElG,KAAK,WAAW,GAAG,uBAAuB,CAAC;AAY3C,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,gBAAgB,CAAC;CAC5B,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;AA0fhB,wBAQG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IModbusSlaveListProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IModbusSlaveListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
remove: (index: number) => any;
|
|
4
|
+
edit: (index: number) => any;
|
|
5
|
+
add: () => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<IModbusSlaveListProps> & Readonly<{
|
|
7
|
+
onRemove?: ((index: number) => any) | undefined;
|
|
8
|
+
onEdit?: ((index: number) => any) | undefined;
|
|
9
|
+
onAdd?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=ModbusSlaveValueList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusSlaveValueList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusSlaveValueList.vue"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAAyB,qBAAqB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;AAwN5E,wBAOG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IModbusVarDialogProps, IModbusVarModel } from './types';
|
|
2
|
+
type __VLS_Props = IModbusVarDialogProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue: IModbusVarModel;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
close: () => any;
|
|
8
|
+
save: () => any;
|
|
9
|
+
"update:modelValue": (value: IModbusVarModel) => any;
|
|
10
|
+
"update:type": (value: number) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
onClose?: (() => any) | undefined;
|
|
13
|
+
onSave?: (() => any) | undefined;
|
|
14
|
+
"onUpdate:modelValue"?: ((value: IModbusVarModel) => any) | undefined;
|
|
15
|
+
"onUpdate:type"?: ((value: number) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=ModbusVarDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusVarDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusVarDialog.vue"],"names":[],"mappings":"AA4DA,OAAO,KAAK,EAAyB,qBAAqB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE7F,KAAK,WAAW,GAAG,qBAAqB,CAAC;AAYzC,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,eAAe,CAAC;CAC3B,GAAG,WAAW,CAAC;;;;;;;;;;;;AA2RhB,wBAQG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IModbusVarListProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IModbusVarListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
remove: (index: number) => any;
|
|
4
|
+
edit: (index: number) => any;
|
|
5
|
+
add: () => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<IModbusVarListProps> & Readonly<{
|
|
7
|
+
onRemove?: ((index: number) => any) | undefined;
|
|
8
|
+
onEdit?: ((index: number) => any) | undefined;
|
|
9
|
+
onAdd?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=ModbusVarList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModbusVarList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/ModbusVarList.vue"],"names":[],"mappings":"AAgDA,OAAO,KAAK,EAAuB,mBAAmB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;AAwNxE,wBAOG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { default as ModbusConnectionCard } from './ModbusConnectionCard.vue';
|
|
2
|
+
export { default as ModbusDeleteDialog } from './ModbusDeleteDialog.vue';
|
|
3
|
+
export { default as ModbusDeviceDialog } from './ModbusDeviceDialog.vue';
|
|
4
|
+
export { default as ModbusDeviceList } from './ModbusDeviceList.vue';
|
|
5
|
+
export { default as ModbusMapDetails } from './ModbusMapDetails.vue';
|
|
6
|
+
export { default as ModbusMapTable } from './ModbusMapTable.vue';
|
|
7
|
+
export { default as ModbusPointDialog } from './ModbusPointDialog.vue';
|
|
8
|
+
export { default as ModbusPointList } from './ModbusPointList.vue';
|
|
9
|
+
export { default as ModbusProfileToolbar } from './ModbusProfileToolbar.vue';
|
|
10
|
+
export { default as ModbusSlaveDialog } from './ModbusSlaveDialog.vue';
|
|
11
|
+
export { default as ModbusSlaveValueList } from './ModbusSlaveValueList.vue';
|
|
12
|
+
export { default as ModbusVarDialog } from './ModbusVarDialog.vue';
|
|
13
|
+
export { default as ModbusVarList } from './ModbusVarList.vue';
|
|
14
|
+
export * from './modbusMapTypes';
|
|
15
|
+
export * from './types';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAE/D,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface IMapItem {
|
|
2
|
+
key: string;
|
|
3
|
+
type: string;
|
|
4
|
+
address: string;
|
|
5
|
+
target: string;
|
|
6
|
+
fc: number;
|
|
7
|
+
start: number;
|
|
8
|
+
count: number;
|
|
9
|
+
access: string;
|
|
10
|
+
child?: boolean;
|
|
11
|
+
pointIndex?: number;
|
|
12
|
+
notApplied?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface IMapDetails {
|
|
15
|
+
title: string;
|
|
16
|
+
subtitle?: string;
|
|
17
|
+
type: string;
|
|
18
|
+
address: string;
|
|
19
|
+
fc: number;
|
|
20
|
+
count: number;
|
|
21
|
+
countLabel: string;
|
|
22
|
+
access: string;
|
|
23
|
+
hex?: string;
|
|
24
|
+
source?: string;
|
|
25
|
+
live?: string;
|
|
26
|
+
readFrame: string;
|
|
27
|
+
responseFrame?: string;
|
|
28
|
+
note?: string;
|
|
29
|
+
notApplied?: boolean;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=modbusMapTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modbusMapTypes.d.ts","sourceRoot":"","sources":["../../../src/components/modbus/modbusMapTypes.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import { IListItem } from '../../types';
|
|
2
|
+
export interface IModbusDeviceModel {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
address: number;
|
|
6
|
+
enabled: number;
|
|
7
|
+
interval: number;
|
|
8
|
+
timeout: number;
|
|
9
|
+
retries: number;
|
|
10
|
+
}
|
|
11
|
+
export interface IModbusPointModel {
|
|
12
|
+
device: number;
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
fc: number;
|
|
16
|
+
address: number;
|
|
17
|
+
type: number;
|
|
18
|
+
flags: number;
|
|
19
|
+
registers: number;
|
|
20
|
+
decimals: number;
|
|
21
|
+
scale: number;
|
|
22
|
+
offset: number;
|
|
23
|
+
unit: string;
|
|
24
|
+
var: number;
|
|
25
|
+
}
|
|
26
|
+
export interface IModbusVarModel {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
type: number;
|
|
30
|
+
flags: number;
|
|
31
|
+
unit: string;
|
|
32
|
+
decimals: number;
|
|
33
|
+
point: number;
|
|
34
|
+
source: string;
|
|
35
|
+
}
|
|
36
|
+
export interface IModbusVarValueModel {
|
|
37
|
+
quality?: number;
|
|
38
|
+
value?: number;
|
|
39
|
+
text?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface IModbusStatusModel {
|
|
42
|
+
role: number;
|
|
43
|
+
address: number;
|
|
44
|
+
baud: number;
|
|
45
|
+
dataBits: number;
|
|
46
|
+
parity: number;
|
|
47
|
+
stopBits: number;
|
|
48
|
+
txPin?: number;
|
|
49
|
+
rxPin?: number;
|
|
50
|
+
dePin?: number;
|
|
51
|
+
status: number;
|
|
52
|
+
lastError: number;
|
|
53
|
+
requests: number;
|
|
54
|
+
errors: number;
|
|
55
|
+
lastFunction: number;
|
|
56
|
+
lastAddress: number;
|
|
57
|
+
varCount?: number;
|
|
58
|
+
vars?: IModbusVarValueModel[];
|
|
59
|
+
}
|
|
60
|
+
export type TModbusSlaveSourceKind = 'data' | 'script';
|
|
61
|
+
export type TModbusProfileAction = 'apply' | 'save';
|
|
62
|
+
export type TModbusDeleteKind = 'device' | 'point' | 'var';
|
|
63
|
+
export interface IModbusSlaveForm {
|
|
64
|
+
sourceKind: TModbusSlaveSourceKind;
|
|
65
|
+
sourcePath: string;
|
|
66
|
+
id: string;
|
|
67
|
+
name: string;
|
|
68
|
+
address: number;
|
|
69
|
+
type: number;
|
|
70
|
+
scale: number;
|
|
71
|
+
offset: number;
|
|
72
|
+
decimals: number;
|
|
73
|
+
unit: string;
|
|
74
|
+
writable: boolean;
|
|
75
|
+
}
|
|
76
|
+
export interface IModbusDeleteTarget {
|
|
77
|
+
kind: TModbusDeleteKind;
|
|
78
|
+
index: number;
|
|
79
|
+
name: string;
|
|
80
|
+
}
|
|
81
|
+
export interface IModbusDeviceView {
|
|
82
|
+
index: number;
|
|
83
|
+
title: string;
|
|
84
|
+
meta: string;
|
|
85
|
+
}
|
|
86
|
+
export interface IModbusPointView {
|
|
87
|
+
index: number;
|
|
88
|
+
title: string;
|
|
89
|
+
meta: string;
|
|
90
|
+
value: string;
|
|
91
|
+
quality: string;
|
|
92
|
+
qualityClass: string;
|
|
93
|
+
isWritable: boolean;
|
|
94
|
+
writeValue: string;
|
|
95
|
+
}
|
|
96
|
+
export interface IModbusVarView {
|
|
97
|
+
index: number;
|
|
98
|
+
title: string;
|
|
99
|
+
meta: string;
|
|
100
|
+
value: string;
|
|
101
|
+
quality: string;
|
|
102
|
+
qualityClass: string;
|
|
103
|
+
}
|
|
104
|
+
export interface IModbusSlaveView {
|
|
105
|
+
index: number;
|
|
106
|
+
title: string;
|
|
107
|
+
meta: string;
|
|
108
|
+
value: string;
|
|
109
|
+
quality: string;
|
|
110
|
+
qualityClass: string;
|
|
111
|
+
}
|
|
112
|
+
export interface IModbusConnectionForm {
|
|
113
|
+
role: number;
|
|
114
|
+
address: number;
|
|
115
|
+
baud: number;
|
|
116
|
+
parity: number;
|
|
117
|
+
stopBits: number;
|
|
118
|
+
txPin: number;
|
|
119
|
+
rxPin: number;
|
|
120
|
+
dePin: number;
|
|
121
|
+
}
|
|
122
|
+
export interface IModbusStatusItem {
|
|
123
|
+
label: string;
|
|
124
|
+
value: string;
|
|
125
|
+
className: string;
|
|
126
|
+
}
|
|
127
|
+
export interface IModbusConnectionCardProps {
|
|
128
|
+
form: IModbusConnectionForm;
|
|
129
|
+
status: IModbusStatusModel;
|
|
130
|
+
isConnected: boolean;
|
|
131
|
+
isDirty: boolean;
|
|
132
|
+
isSettingsOpen: boolean;
|
|
133
|
+
roles: IListItem<number>[];
|
|
134
|
+
bauds: IListItem<number>[];
|
|
135
|
+
parities: IListItem<number>[];
|
|
136
|
+
stopBits: IListItem<number>[];
|
|
137
|
+
statusItems: IModbusStatusItem[];
|
|
138
|
+
roleName: string;
|
|
139
|
+
baudName: string;
|
|
140
|
+
parityName: string;
|
|
141
|
+
stopBitsName: string;
|
|
142
|
+
formatText: string;
|
|
143
|
+
statusText: string;
|
|
144
|
+
statusDotClass: string;
|
|
145
|
+
}
|
|
146
|
+
export interface IModbusConnectionCardEmits {
|
|
147
|
+
'toggle-settings': [];
|
|
148
|
+
'toggle-connection': [];
|
|
149
|
+
role: [item: IListItem<number>];
|
|
150
|
+
baud: [item: IListItem<number>];
|
|
151
|
+
parity: [item: IListItem<number>];
|
|
152
|
+
'stop-bits': [item: IListItem<number>];
|
|
153
|
+
address: [value: string];
|
|
154
|
+
pin: [key: 'tx' | 'rx' | 'de', value: string];
|
|
155
|
+
}
|
|
156
|
+
export interface IModbusProfileToolbarProps {
|
|
157
|
+
isDirty: boolean;
|
|
158
|
+
isLoading: boolean;
|
|
159
|
+
isSending: TModbusProfileAction | null;
|
|
160
|
+
message: string;
|
|
161
|
+
error: string;
|
|
162
|
+
isValid: boolean;
|
|
163
|
+
}
|
|
164
|
+
export interface IModbusProfileToolbarEmits {
|
|
165
|
+
import: [file: File];
|
|
166
|
+
export: [];
|
|
167
|
+
apply: [];
|
|
168
|
+
save: [];
|
|
169
|
+
}
|
|
170
|
+
export interface IModbusDeviceListProps {
|
|
171
|
+
items: IModbusDeviceView[];
|
|
172
|
+
countLabel: string;
|
|
173
|
+
canAdd: boolean;
|
|
174
|
+
isDisabled: boolean;
|
|
175
|
+
}
|
|
176
|
+
export interface IModbusDeviceListEmits {
|
|
177
|
+
add: [];
|
|
178
|
+
edit: [index: number];
|
|
179
|
+
remove: [index: number];
|
|
180
|
+
}
|
|
181
|
+
export interface IModbusPointListProps {
|
|
182
|
+
items: IModbusPointView[];
|
|
183
|
+
countLabel: string;
|
|
184
|
+
canAdd: boolean;
|
|
185
|
+
isDisabled: boolean;
|
|
186
|
+
}
|
|
187
|
+
export interface IModbusPointListEmits {
|
|
188
|
+
add: [];
|
|
189
|
+
edit: [index: number];
|
|
190
|
+
remove: [index: number];
|
|
191
|
+
write: [index: number];
|
|
192
|
+
'update:write-value': [index: number, value: string];
|
|
193
|
+
}
|
|
194
|
+
export interface IModbusVarListProps {
|
|
195
|
+
items: IModbusVarView[];
|
|
196
|
+
countLabel: string;
|
|
197
|
+
canAdd: boolean;
|
|
198
|
+
isDisabled: boolean;
|
|
199
|
+
}
|
|
200
|
+
export interface IModbusVarListEmits {
|
|
201
|
+
add: [];
|
|
202
|
+
edit: [index: number];
|
|
203
|
+
remove: [index: number];
|
|
204
|
+
}
|
|
205
|
+
export interface IModbusSlaveListProps {
|
|
206
|
+
items: IModbusSlaveView[];
|
|
207
|
+
countLabel: string;
|
|
208
|
+
canAdd: boolean;
|
|
209
|
+
isDisabled: boolean;
|
|
210
|
+
}
|
|
211
|
+
export interface IModbusSlaveListEmits {
|
|
212
|
+
add: [];
|
|
213
|
+
edit: [index: number];
|
|
214
|
+
remove: [index: number];
|
|
215
|
+
}
|
|
216
|
+
export interface IModbusDeviceDialogProps {
|
|
217
|
+
title: string;
|
|
218
|
+
errors: Record<string, string>;
|
|
219
|
+
enabledItems: IListItem<number>[];
|
|
220
|
+
}
|
|
221
|
+
export interface IModbusDeviceDialogEmits {
|
|
222
|
+
save: [];
|
|
223
|
+
close: [];
|
|
224
|
+
}
|
|
225
|
+
export interface IModbusVarDialogProps {
|
|
226
|
+
title: string;
|
|
227
|
+
errors: Record<string, string>;
|
|
228
|
+
typeItems: IListItem<number>[];
|
|
229
|
+
pointItems: IListItem<number>[];
|
|
230
|
+
}
|
|
231
|
+
export interface IModbusVarDialogEmits {
|
|
232
|
+
save: [];
|
|
233
|
+
close: [];
|
|
234
|
+
'update:type': [value: number];
|
|
235
|
+
}
|
|
236
|
+
export interface IModbusSlaveDialogProps {
|
|
237
|
+
title: string;
|
|
238
|
+
errors: Record<string, string>;
|
|
239
|
+
sourceKindItems: IListItem<TModbusSlaveSourceKind>[];
|
|
240
|
+
sourceKindName: string;
|
|
241
|
+
sourcePath: string;
|
|
242
|
+
typeItems: IListItem<number>[];
|
|
243
|
+
typeText: string;
|
|
244
|
+
writableHint: boolean;
|
|
245
|
+
advanced: boolean;
|
|
246
|
+
}
|
|
247
|
+
export interface IModbusSlaveDialogEmits {
|
|
248
|
+
save: [];
|
|
249
|
+
close: [];
|
|
250
|
+
'source-kind': [value: string];
|
|
251
|
+
'pick-source': [];
|
|
252
|
+
'update:advanced': [value: boolean];
|
|
253
|
+
}
|
|
254
|
+
export interface IModbusPointDialogProps {
|
|
255
|
+
title: string;
|
|
256
|
+
errors: Record<string, string>;
|
|
257
|
+
deviceItems: IListItem<number>[];
|
|
258
|
+
fcItems: IListItem<number>[];
|
|
259
|
+
typeItems: IListItem<number>[];
|
|
260
|
+
varItems: IListItem<number>[];
|
|
261
|
+
pointTabs: Array<{
|
|
262
|
+
title: string;
|
|
263
|
+
}>;
|
|
264
|
+
pointTab: number;
|
|
265
|
+
testAutoCrc: boolean;
|
|
266
|
+
testFrame: string;
|
|
267
|
+
testPending: boolean;
|
|
268
|
+
testValid: boolean;
|
|
269
|
+
testError: string;
|
|
270
|
+
testSummary: string;
|
|
271
|
+
testElapsed: string;
|
|
272
|
+
testResult: boolean;
|
|
273
|
+
testStatusName: string;
|
|
274
|
+
testStatusClass: string;
|
|
275
|
+
testResponse: string;
|
|
276
|
+
testDecoded: string;
|
|
277
|
+
testException: number | null;
|
|
278
|
+
}
|
|
279
|
+
export interface IModbusPointDialogEmits {
|
|
280
|
+
save: [];
|
|
281
|
+
close: [];
|
|
282
|
+
'update:point-tab': [value: number];
|
|
283
|
+
'update:test-auto-crc': [value: boolean];
|
|
284
|
+
'update:test-frame': [value: string];
|
|
285
|
+
'update:type': [value: number];
|
|
286
|
+
rebuild: [];
|
|
287
|
+
test: [];
|
|
288
|
+
}
|
|
289
|
+
export interface IModbusDeleteDialogProps {
|
|
290
|
+
hint: string;
|
|
291
|
+
}
|
|
292
|
+
export interface IModbusDeleteDialogEmits {
|
|
293
|
+
confirm: [];
|
|
294
|
+
close: [];
|
|
295
|
+
}
|
|
296
|
+
export interface IModbusMapTableProps {
|
|
297
|
+
headers: Array<{
|
|
298
|
+
name: string;
|
|
299
|
+
key: string;
|
|
300
|
+
className: string;
|
|
301
|
+
}>;
|
|
302
|
+
items: import('./modbusMapTypes').IMapItem[];
|
|
303
|
+
details: import('./modbusMapTypes').IMapDetails | null;
|
|
304
|
+
isDesktop: boolean;
|
|
305
|
+
}
|
|
306
|
+
export interface IModbusMapTableEmits {
|
|
307
|
+
click: [item: import('./modbusMapTypes').IMapItem];
|
|
308
|
+
close: [];
|
|
309
|
+
}
|
|
310
|
+
//# sourceMappingURL=types.d.ts.map
|