@gct-paas/render-web 0.1.6-dev.9 → 6.0.0-dev.10
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/README.md +161 -0
- package/dist/index.min.css +1 -1
- package/dist/loader.esm.min.js +2 -1
- package/es/Event/Events.d.ts +1 -0
- package/es/Event/Events.mjs +7 -3
- package/es/_virtual/_rolldown/runtime.mjs +13 -0
- package/es/components/base-vxe-table/base-vxe-table.vue.d.ts +80 -0
- package/es/components/base-vxe-table/base-vxe-table.vue.mjs +7 -0
- package/es/components/base-vxe-table/base-vxe-table.vue_vue_type_script_setup_true_name_base-vxe-table_lang.mjs +154 -0
- package/es/components/base-vxe-table/base-vxe-table.vue_vue_type_style_index_0_scoped_bf4b3774_lang.css +10 -0
- package/es/components/base-vxe-table/utils.d.ts +25 -0
- package/es/components/base-vxe-table/utils.mjs +25 -0
- package/es/components/card-view-render/card-view-render.d.ts +2 -2
- package/es/components/card-view-render/card-view-render.mjs +21 -1
- package/es/components/collapse-detail/components/collapse-list.vue.d.ts +24 -0
- package/es/components/collapse-detail/components/collapse-list.vue.mjs +5 -0
- package/es/components/collapse-detail/components/collapse-list.vue_vue_type_script_setup_true_lang.mjs +103 -0
- package/es/components/collapse-detail/components/enum-tag-label.vue.d.ts +6 -0
- package/es/components/collapse-detail/components/enum-tag-label.vue.mjs +5 -0
- package/es/components/collapse-detail/components/enum-tag-label.vue_vue_type_script_setup_true_lang.mjs +61 -0
- package/es/components/collapse-detail/components/instance-status-label.vue.d.ts +34 -0
- package/es/components/collapse-detail/components/instance-status-label.vue.mjs +7 -0
- package/es/components/collapse-detail/components/instance-status-label.vue_vue_type_script_setup_true_lang.mjs +76 -0
- package/es/components/collapse-detail/components/instance-status-label.vue_vue_type_style_index_0_scoped_610b0bb3_lang.css +77 -0
- package/es/components/collapse-detail/components/label-tag.vue.d.ts +6 -0
- package/es/components/collapse-detail/components/label-tag.vue.mjs +7 -0
- package/es/components/collapse-detail/components/label-tag.vue_vue_type_script_setup_true_lang.mjs +34 -0
- package/es/components/collapse-detail/components/label-tag.vue_vue_type_style_index_0_scoped_b25afce5_lang.css +39 -0
- package/es/components/collapse-detail/constants/instance-theme-config.d.ts +64 -0
- package/es/components/collapse-detail/constants/instance-theme-config.mjs +100 -0
- package/es/components/collapse-detail/constants/status.d.ts +36 -0
- package/es/components/collapse-detail/constants/status.mjs +34 -0
- package/es/components/collapse-detail/index.d.ts +3 -0
- package/es/components/collapse-detail/index.mjs +1 -0
- package/es/components/collapse-detail/index.vue.d.ts +37 -0
- package/es/components/collapse-detail/index.vue.mjs +7 -0
- package/es/components/collapse-detail/index.vue_vue_type_script_setup_true_name_collapse-detail_lang.mjs +90 -0
- package/es/components/collapse-detail/index.vue_vue_type_style_index_0_scoped_b4b9903c_lang.css +83 -0
- package/es/components/collapse-detail/typing.d.ts +44 -0
- package/es/components/collapse-detail/typing.mjs +17 -0
- package/es/components/field-search-cascader/field-cascader.vue.d.ts +17 -0
- package/es/components/field-search-cascader/field-cascader.vue.mjs +8 -0
- package/es/components/field-search-cascader/field-cascader.vue_vue_type_script_setup_true_lang.mjs +297 -0
- package/es/components/field-search-cascader/field-cascader.vue_vue_type_style_index_0_scoped_cb5e4d67_lang.css +52 -0
- package/es/components/field-search-cascader/field-cascader.vue_vue_type_style_index_1_lang.css +3 -0
- package/es/components/field-search-cascader/index.d.ts +2 -0
- package/es/components/field-search-cascader/index.mjs +1 -0
- package/es/components/form-component/FieldSelect.css +22 -0
- package/es/components/form-component/FieldSelect.d.ts +9 -0
- package/es/components/form-component/FieldSelect.mjs +19 -8
- package/es/components/form-component/field-label/tag-label.vue.d.ts +1 -0
- package/es/components/form-component/field-label/tag-label.vue.mjs +2 -2
- package/es/components/form-component/field-label/tag-label.vue_vue_type_script_setup_true_name_TagLabel_lang.mjs +15 -13
- package/es/components/form-component/field-label/tag-label.vue_vue_type_style_index_0_scoped_5e1146da_lang.css +18 -0
- package/es/components/form-component/field-label/tag-span.vue.mjs +1 -1
- package/es/components/form-component/field-readonly.vue_vue_type_script_setup_true_lang.mjs +26 -44
- package/es/components/index.d.ts +7 -0
- package/es/components/index.mjs +9 -0
- package/es/components/layouts/basic-page/basic-page.vue.d.ts +30 -0
- package/es/components/layouts/basic-page/basic-page.vue.mjs +7 -0
- package/es/components/layouts/basic-page/basic-page.vue_vue_type_script_setup_true_name_basic-page_lang.mjs +30 -0
- package/es/components/layouts/basic-page/basic-page.vue_vue_type_style_index_0_scoped_23453a1b_lang.css +20 -0
- package/es/components/layouts/basic-page-render/basic-page-render.vue.d.ts +30 -0
- package/es/components/layouts/basic-page-render/basic-page-render.vue.mjs +7 -0
- package/es/components/layouts/basic-page-render/basic-page-render.vue_vue_type_script_setup_true_name_BasicPageRender_lang.mjs +30 -0
- package/es/components/layouts/basic-page-render/basic-page-render.vue_vue_type_style_index_0_scoped_3c6aba55_lang.css +20 -0
- package/es/components/multi-field/multi-field-display.vue.mjs +2 -2
- package/es/components/multi-field/multi-field-display.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/multi-field/{multi-field-display.vue_vue_type_style_index_0_scoped_0f2f02cc_lang.css → multi-field-display.vue_vue_type_style_index_0_scoped_a62c7691_lang.css} +1 -1
- package/es/components/rich-editor/index.d.ts +2 -0
- package/es/components/rich-editor/index.mjs +1 -0
- package/es/components/rich-editor/rich-editor.vue.d.ts +22 -0
- package/es/components/rich-editor/rich-editor.vue.mjs +5 -0
- package/es/components/rich-editor/rich-editor.vue_vue_type_script_setup_true_lang.mjs +150 -0
- package/es/components/rich-editor/style.css +747 -0
- package/es/constants/xlsx-parser.d.ts +15 -0
- package/es/constants/xlsx-parser.mjs +58 -0
- package/es/enums/xlsx-parser.d.ts +293 -0
- package/es/enums/xlsx-parser.mjs +36 -0
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/refCardList.d.ts +12 -2
- package/es/hooks/refCardList.mjs +74 -11
- package/es/hooks/useQuickSearch.d.ts +8 -0
- package/es/hooks/useQuickSearch.mjs +96 -0
- package/es/index.d.ts +3 -0
- package/es/index.mjs +14 -2
- package/es/interface/xlsx-parser/base.d.ts +151 -0
- package/es/interface/xlsx-parser/index.d.ts +246 -0
- package/es/locale/auto-register.d.ts +2 -0
- package/es/locale/auto-register.mjs +31 -0
- package/es/locale/sys/appDesigner.d.ts +11 -0
- package/es/locale/sys/appDesigner.mjs +11 -0
- package/es/locale/sys/bi.d.ts +4 -0
- package/es/locale/sys/bi.mjs +6 -0
- package/es/locale/sys/bpmn.d.ts +10 -0
- package/es/locale/sys/bpmn.mjs +12 -0
- package/es/locale/sys/component.d.ts +15 -0
- package/es/locale/sys/component.mjs +15 -0
- package/es/locale/sys/developer.d.ts +6 -0
- package/es/locale/sys/developer.mjs +6 -0
- package/es/locale/sys/edhr.d.ts +19 -0
- package/es/locale/sys/edhr.mjs +15 -0
- package/es/locale/sys/message.d.ts +4 -0
- package/es/locale/sys/message.mjs +6 -0
- package/es/locale/sys/model.d.ts +34 -0
- package/es/locale/sys/model.mjs +38 -0
- package/es/locale/sys/onlineForm.d.ts +8 -0
- package/es/locale/sys/onlineForm.mjs +12 -0
- package/es/locale/sys/pageDesigner.d.ts +7 -0
- package/es/locale/sys/pageDesigner.mjs +9 -0
- package/es/locale/sys.d.ts +10 -0
- package/es/locale/sys.mjs +14 -0
- package/es/modules/app-mqtt/app-mqtt.interface.d.ts +26 -0
- package/es/modules/app-mqtt/app-mqtt.service.d.ts +73 -0
- package/es/modules/app-mqtt/app-mqtt.service.mjs +134 -0
- package/es/modules/app-mqtt/index.d.ts +2 -0
- package/es/modules/app-mqtt/index.mjs +1 -0
- package/es/plugins/render-card-field/render-card-field.css +171 -0
- package/es/plugins/render-card-field/render-card-field.d.ts +48 -0
- package/es/plugins/render-card-field/render-card-field.mjs +176 -0
- package/es/plugins/render-card-field/render-card-field.provider.d.ts +7 -0
- package/es/plugins/render-card-field/render-card-field.provider.mjs +10 -0
- package/es/plugins/render-card-view-page/render-card-view-page.css +72 -0
- package/es/plugins/render-card-view-page/render-card-view-page.d.ts +33 -0
- package/es/plugins/render-card-view-page/render-card-view-page.mjs +61 -0
- package/es/plugins/render-card-view-page/render-card-view-page.provider.d.ts +7 -0
- package/es/plugins/render-card-view-page/render-card-view-page.provider.mjs +10 -0
- package/es/plugins/render-design-editor/index.d.ts +5 -0
- package/es/plugins/render-design-editor/upload-file/index.d.ts +4 -0
- package/es/plugins/render-design-editor/upload-file/upload-file.d.ts +51 -0
- package/es/plugins/render-design-editor/upload-image/index.d.ts +4 -0
- package/es/plugins/render-design-editor/upload-image/upload-image.d.ts +51 -0
- package/es/plugins/render-design-editor/user-signature/index.d.ts +4 -0
- package/es/plugins/render-design-editor/user-signature/user-signature.d.ts +51 -0
- package/es/setup-app.d.ts +2 -0
- package/es/setup-app.mjs +22 -0
- package/es/types/shims-modules.d.ts +11 -0
- package/es/utils/cell-border.d.ts +73 -0
- package/es/utils/cell-border.mjs +203 -0
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.mjs +1 -0
- package/es/utils/xlsx-parser.d.ts +141 -0
- package/es/utils/xlsx-parser.mjs +262 -0
- package/package.json +23 -12
- package/es/components/form-component/field-label/tag-label.vue_vue_type_style_index_0_scoped_6c507fe8_lang.css +0 -15
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IPaper } from '../interface/xlsx-parser/index';
|
|
2
|
+
import { FIELD_TYPE } from '@gct-paas/core';
|
|
3
|
+
export declare const DEFAULT_ROW_HEIGHT = 30;
|
|
4
|
+
export declare const DEFAULT_COL_WIDTH = 75;
|
|
5
|
+
export declare const DefaultPaper: IPaper;
|
|
6
|
+
/**
|
|
7
|
+
* 导入用
|
|
8
|
+
* 字段属性与文本映射
|
|
9
|
+
*/
|
|
10
|
+
export declare const FIELD_PROP_LABEL_MAP: Record<string, string>;
|
|
11
|
+
/**
|
|
12
|
+
* 导入用
|
|
13
|
+
* 字段类型与文本映射
|
|
14
|
+
*/
|
|
15
|
+
export declare const FIELD_TYPE_LABEL_MAP: Partial<Record<FIELD_TYPE, string>>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Orientation } from "../enums/xlsx-parser.mjs";
|
|
2
|
+
import { FIELD_TYPE, t } from "@gct-paas/core";
|
|
3
|
+
var DefaultPaper = {
|
|
4
|
+
sheetId: "1",
|
|
5
|
+
padding: {
|
|
6
|
+
t: 10,
|
|
7
|
+
r: 10,
|
|
8
|
+
b: 10,
|
|
9
|
+
l: 10
|
|
10
|
+
},
|
|
11
|
+
orientation: Orientation.Portrait,
|
|
12
|
+
cols: Array(10).fill("").map(() => ({ width: 75 })),
|
|
13
|
+
rows: Array(20).fill("").map(() => ({ height: 30 })),
|
|
14
|
+
cells: Array(20).fill("").map(() => Array(12).fill("").map(() => ({}))),
|
|
15
|
+
mergedCells: []
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* 导入用
|
|
19
|
+
* 字段属性与文本映射
|
|
20
|
+
*/
|
|
21
|
+
var FIELD_PROP_LABEL_MAP = {
|
|
22
|
+
key: t("sys.onlineForm.fieldKey"),
|
|
23
|
+
name: t("sys.FieldName"),
|
|
24
|
+
type: t("sys.bi.fieldType"),
|
|
25
|
+
required: t("sys.requiredOrNot"),
|
|
26
|
+
uniqueConstraint: t("sys.model.uniqueOrNot"),
|
|
27
|
+
disabled: t("sys.onlineForm.disabledStatus")
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* 导入用
|
|
31
|
+
* 字段类型与文本映射
|
|
32
|
+
*/
|
|
33
|
+
var FIELD_TYPE_LABEL_MAP = {
|
|
34
|
+
[FIELD_TYPE.TEXT]: t("sys.text"),
|
|
35
|
+
[FIELD_TYPE.LONG_TEXT]: t("sys.component.dataConnection.modelField.long_text"),
|
|
36
|
+
[FIELD_TYPE.INTEGER]: t("sys.component.dataConnection.modelField.integer"),
|
|
37
|
+
[FIELD_TYPE.LONG]: t("sys.component.dataConnection.modelField.long"),
|
|
38
|
+
[FIELD_TYPE.DOUBLE]: t("sys.component.dataConnection.modelField.double"),
|
|
39
|
+
[FIELD_TYPE.DECIMAL]: t("sys.component.dataConnection.modelField.decimal"),
|
|
40
|
+
[FIELD_TYPE.BOOLEAN]: t("sys.component.dataConnection.modelField.boolean"),
|
|
41
|
+
[FIELD_TYPE.DATE]: t("sys.component.dataConnection.modelField.date"),
|
|
42
|
+
[FIELD_TYPE.TIME]: t("sys.tableColumnDate"),
|
|
43
|
+
[FIELD_TYPE.DATE_TIME]: t("sys.component.dataConnection.modelField.date_time"),
|
|
44
|
+
[FIELD_TYPE.IMAGE]: t("sys.appDesigner.appLogoImage"),
|
|
45
|
+
[FIELD_TYPE.ATTACHMENT]: t("sys.component.dataConnection.modelField.attachment"),
|
|
46
|
+
[FIELD_TYPE.USER]: t("sys.component.dataConnection.modelField.user"),
|
|
47
|
+
[FIELD_TYPE.USER_MULTI]: t("sys.component.dataConnection.modelField.user_multi"),
|
|
48
|
+
[FIELD_TYPE.ORG]: t("sys.component.dataConnection.modelField.org"),
|
|
49
|
+
[FIELD_TYPE.ORG_MULTI]: t("sys.component.dataConnection.modelField.org_multi"),
|
|
50
|
+
[FIELD_TYPE.OPTION]: t("sys.model.option"),
|
|
51
|
+
[FIELD_TYPE.OPTION_MULTI]: t("sys.component.dataConnection.modelField.enum_multi"),
|
|
52
|
+
[FIELD_TYPE.SIGNATURE]: t("sys.signatureImage"),
|
|
53
|
+
[FIELD_TYPE.MATERIAL_NO]: "LOT/SN",
|
|
54
|
+
[FIELD_TYPE.PRODUCT]: t("sys.model.product"),
|
|
55
|
+
[FIELD_TYPE.DEVICE]: t("sys.developer.devive.index")
|
|
56
|
+
};
|
|
57
|
+
//#endregion
|
|
58
|
+
export { DefaultPaper, FIELD_PROP_LABEL_MAP, FIELD_TYPE_LABEL_MAP };
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
/** 排列方式 */
|
|
2
|
+
export declare enum Orientation {
|
|
3
|
+
/**
|
|
4
|
+
* 纵
|
|
5
|
+
*/
|
|
6
|
+
Portrait = "portrait",// 纵
|
|
7
|
+
/**
|
|
8
|
+
* 横
|
|
9
|
+
*/
|
|
10
|
+
Landscape = "landscape"
|
|
11
|
+
}
|
|
12
|
+
/** 文字前后位置 */
|
|
13
|
+
export declare enum LabelPosition {
|
|
14
|
+
/**
|
|
15
|
+
* 文字在前
|
|
16
|
+
*/
|
|
17
|
+
Before = "before",
|
|
18
|
+
/**
|
|
19
|
+
* 文字在后
|
|
20
|
+
*/
|
|
21
|
+
After = "after"
|
|
22
|
+
}
|
|
23
|
+
/** 单元格内容类型 */
|
|
24
|
+
export declare enum CellType {
|
|
25
|
+
/** 默认 */
|
|
26
|
+
Default = "Default",
|
|
27
|
+
/** 组件 */
|
|
28
|
+
Widget = "Widget",
|
|
29
|
+
/** 字段 */
|
|
30
|
+
Field = "Field"
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* 子表类型
|
|
34
|
+
*/
|
|
35
|
+
export declare enum SubTableType {
|
|
36
|
+
DEFAULT = "DEFAULT",
|
|
37
|
+
_2D = "2D",
|
|
38
|
+
CHECK = "CHECK",
|
|
39
|
+
FIXED = "FIXED",
|
|
40
|
+
/** 物料消耗表 */
|
|
41
|
+
MATERIAL_CONSUMPTION = "MATERIAL_CONSUMPTION",
|
|
42
|
+
/** 物料平衡表 */
|
|
43
|
+
MATERIAL_BALANCE = "MATERIAL_BALANCE"
|
|
44
|
+
}
|
|
45
|
+
export declare enum ParamModelTypeEnum {
|
|
46
|
+
/** 组件参数 */
|
|
47
|
+
CompParam = "comp_param",
|
|
48
|
+
/** 内置参数 */
|
|
49
|
+
BuiltinParam = "builtin_param"
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* 电子表单 子表模型类型
|
|
53
|
+
*/
|
|
54
|
+
export declare enum onlineFormMasterModelTypeEnum {
|
|
55
|
+
/** 基础模型 */
|
|
56
|
+
BASE = "BASE",
|
|
57
|
+
/** 动态表单 */
|
|
58
|
+
DYNAMIC_FORM = "DYNAMIC_FORM",
|
|
59
|
+
/** 物料消耗 */
|
|
60
|
+
MATERIAL_CONSUME = "MATERIAL_CONSUME",
|
|
61
|
+
/** 物料余额 */
|
|
62
|
+
MATERIAL_BALANCE = "MATERIAL_BALANCE",
|
|
63
|
+
/** 检验 */
|
|
64
|
+
INSPECTION = "INSPECTION"
|
|
65
|
+
}
|
|
66
|
+
/** 查看时渲染方式 */
|
|
67
|
+
export declare enum CellWidgetViewState {
|
|
68
|
+
/** 文本显示 */
|
|
69
|
+
Readonly = "readonly",
|
|
70
|
+
/** 组件显示-禁用 */
|
|
71
|
+
Disabled = "disabled",
|
|
72
|
+
/** 组件显示-跟随设计 */
|
|
73
|
+
Auto = "auto"
|
|
74
|
+
}
|
|
75
|
+
/** 字段的上下限校验模式 */
|
|
76
|
+
export declare enum RangeValidateMode {
|
|
77
|
+
/** 不校验 */
|
|
78
|
+
No_Validate = "NoValidate",
|
|
79
|
+
/** 固定输入校验 */
|
|
80
|
+
Fixed_Number = "FixedNumber",
|
|
81
|
+
/** 变量校验 */
|
|
82
|
+
Variable_Validate = "VariableValidate"
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* 小数显示模式
|
|
86
|
+
*/
|
|
87
|
+
export declare enum DecimalDisplayMode {
|
|
88
|
+
/** 显示百分比(%) */
|
|
89
|
+
PERCENT = "percent",
|
|
90
|
+
/** 显示原始数值 */
|
|
91
|
+
ORIGIN = "origin"
|
|
92
|
+
}
|
|
93
|
+
/** 布尔显示方式 */
|
|
94
|
+
export declare enum BooleanShowMode {
|
|
95
|
+
/**
|
|
96
|
+
* 只显示真
|
|
97
|
+
*/
|
|
98
|
+
OnlyTrue = "onlyTrue",
|
|
99
|
+
/**
|
|
100
|
+
* 只显示真
|
|
101
|
+
*/
|
|
102
|
+
OnlyFalse = "onlyFalse",
|
|
103
|
+
/**
|
|
104
|
+
* 同时显示真和假
|
|
105
|
+
*/
|
|
106
|
+
Both = "both"
|
|
107
|
+
}
|
|
108
|
+
/** 签名显示方式 */
|
|
109
|
+
export declare enum SignShowTypeEnum {
|
|
110
|
+
/** 垂直显示 */
|
|
111
|
+
VERTICAL = "vertical",
|
|
112
|
+
/** 水平显示 */
|
|
113
|
+
HORIZONTAL = "horizontal"
|
|
114
|
+
}
|
|
115
|
+
/** 签名日期配置 */
|
|
116
|
+
export declare enum SignatureTimeTypeEnum {
|
|
117
|
+
/** 跟随签名 */
|
|
118
|
+
FOLLOW_SIGNATURE = "follow_signature",
|
|
119
|
+
/** 填充新字段 */
|
|
120
|
+
POPULATE_FIELD = "populate_field"
|
|
121
|
+
}
|
|
122
|
+
/** 图片显示模式 */
|
|
123
|
+
export declare enum ImageDisplayModeEnum {
|
|
124
|
+
/** 自定义 */
|
|
125
|
+
CUSTOM = "CUSTOM",
|
|
126
|
+
/** 自适应 */
|
|
127
|
+
ADAPTIVE = "ADAPTIVE"
|
|
128
|
+
}
|
|
129
|
+
/** 签名人数配置 */
|
|
130
|
+
export declare enum SignatureNumberTypeEnum {
|
|
131
|
+
/** 单人签名 */
|
|
132
|
+
SIGNATURE_SINGLE = "signature_single",
|
|
133
|
+
/** 多人签名 */
|
|
134
|
+
SIGNATURE_MULTIPLE = "signature_multiple"
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* 页面组件值类型
|
|
138
|
+
*/
|
|
139
|
+
export declare enum PaperWidgeValueType {
|
|
140
|
+
Fixed = "fixed",
|
|
141
|
+
Field = "field",
|
|
142
|
+
Formula = "formula"
|
|
143
|
+
}
|
|
144
|
+
export declare enum BwipCodeType {
|
|
145
|
+
Code39 = "code39",
|
|
146
|
+
Code128 = "code128",
|
|
147
|
+
QRCode = "qrcode",
|
|
148
|
+
GS1DataMatrix = "gs1datamatrix"
|
|
149
|
+
}
|
|
150
|
+
/** 分栏的方向 */
|
|
151
|
+
export declare enum DiagonalDirection {
|
|
152
|
+
/** 从左上到右下 \ */
|
|
153
|
+
Forward = "forward",
|
|
154
|
+
/** 从右上到左下 / */
|
|
155
|
+
Backward = "backward"
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* 图片组件高宽呈现模式
|
|
159
|
+
*/
|
|
160
|
+
export declare enum WidgetImageSizeMode {
|
|
161
|
+
/**
|
|
162
|
+
* 自适应,响应式的适应外层容器的大小
|
|
163
|
+
*/
|
|
164
|
+
RESPONSIVE = "responsive",
|
|
165
|
+
/**
|
|
166
|
+
* 固定值,高宽设了多少就是多少
|
|
167
|
+
*/
|
|
168
|
+
FIXED = "fixed"
|
|
169
|
+
}
|
|
170
|
+
/** 线条类型 */
|
|
171
|
+
export declare enum LineType {
|
|
172
|
+
/** 实线 */
|
|
173
|
+
Solid = "solid",
|
|
174
|
+
/** 虚线 */
|
|
175
|
+
Dashed = "dashed",
|
|
176
|
+
/** 点线 */
|
|
177
|
+
Dotted = "dotted"
|
|
178
|
+
}
|
|
179
|
+
/** 线条方向 */
|
|
180
|
+
export declare enum LineDirection {
|
|
181
|
+
/**纵向 */
|
|
182
|
+
vertical = "vertical",
|
|
183
|
+
/**横向 */
|
|
184
|
+
horizontal = "horizontal"
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* 页面组件类型
|
|
188
|
+
*/
|
|
189
|
+
export declare enum PaperWidgeType {
|
|
190
|
+
Text = "text",
|
|
191
|
+
Image = "image",
|
|
192
|
+
Barcode = "barcode",
|
|
193
|
+
Qrcode = "qrcode",
|
|
194
|
+
Pagination = "pagination",
|
|
195
|
+
Watermark = "watermark",
|
|
196
|
+
Diagonal = "diagonal",
|
|
197
|
+
RangeLimit = "rangelimit",
|
|
198
|
+
Line = "line",
|
|
199
|
+
Serialnumber = "serialnumber",
|
|
200
|
+
Power = "power",
|
|
201
|
+
TimeDiff = "timediff"
|
|
202
|
+
}
|
|
203
|
+
export declare enum CellWidgetCategory {
|
|
204
|
+
Text = "text",
|
|
205
|
+
DateTime = "date-time",
|
|
206
|
+
Integer = "integer",
|
|
207
|
+
Double = "double",
|
|
208
|
+
Decimal = "decimal",
|
|
209
|
+
Boolean = "boolean",
|
|
210
|
+
File = "file",
|
|
211
|
+
Image = "image",
|
|
212
|
+
Enum = "enum",
|
|
213
|
+
Signature = "signature",
|
|
214
|
+
User = "user",
|
|
215
|
+
Org = "org",
|
|
216
|
+
Expression = "expression",
|
|
217
|
+
Agg = "agg",
|
|
218
|
+
Ref = "ref",
|
|
219
|
+
/** 追溯字段 */
|
|
220
|
+
Trace = "trace"
|
|
221
|
+
}
|
|
222
|
+
export declare enum CellWidgetRenderComp {
|
|
223
|
+
Input = "input",
|
|
224
|
+
Textarea = "textarea",
|
|
225
|
+
Radio = "radio",
|
|
226
|
+
Checkbox = "checkbox",
|
|
227
|
+
Switch = "switch",
|
|
228
|
+
Select = "select",
|
|
229
|
+
DateTime = "date-time",
|
|
230
|
+
Image = "image",
|
|
231
|
+
Attachment = "attachment",
|
|
232
|
+
Integer = "integer",
|
|
233
|
+
Double = "double",
|
|
234
|
+
Decimal = "decimal",
|
|
235
|
+
Enum = "enum",
|
|
236
|
+
Signature = "signature",
|
|
237
|
+
User = "user",
|
|
238
|
+
Org = "org",
|
|
239
|
+
Expression = "expression",
|
|
240
|
+
Agg = "agg",
|
|
241
|
+
Ref = "ref"
|
|
242
|
+
}
|
|
243
|
+
export declare enum PanelType {
|
|
244
|
+
Paper = 0,
|
|
245
|
+
Cell = 1,
|
|
246
|
+
PaperHeader = 2,
|
|
247
|
+
PaperFooter = 3,
|
|
248
|
+
PaperHeaderWidget = 4,
|
|
249
|
+
PaperFooterWidget = 5,
|
|
250
|
+
DynamicTable = 6,
|
|
251
|
+
_2DTable = 7,
|
|
252
|
+
FixedTable = 8,
|
|
253
|
+
CheckTable = 9,
|
|
254
|
+
DataGroup = 10,
|
|
255
|
+
DataGroup2D = 11,
|
|
256
|
+
TableHeader = 12,
|
|
257
|
+
GlobalConfig = 13,
|
|
258
|
+
DataInitConfig = 14,
|
|
259
|
+
TmplConfig = 15,
|
|
260
|
+
MaterialConsumptionTable = 16,
|
|
261
|
+
MaterialBalanceTable = 17
|
|
262
|
+
}
|
|
263
|
+
export declare enum TimeDiffFormat {
|
|
264
|
+
D_H_MIN_S = "D_H_MIN_S",// 默认值
|
|
265
|
+
Y_M_D_H_MIN_S = "Y_M_D_H_MIN_S",
|
|
266
|
+
H_MIN_S = "H_MIN_S",
|
|
267
|
+
Y = "Y",
|
|
268
|
+
M = "M",
|
|
269
|
+
D = "D",
|
|
270
|
+
H = "H",
|
|
271
|
+
MIN = "MIN",
|
|
272
|
+
S = "S"
|
|
273
|
+
}
|
|
274
|
+
export declare enum FIELD_TYPE_BUSINESS {
|
|
275
|
+
ROUTING_OPERATION = "routing_operation",
|
|
276
|
+
GOOD_QTY = "good_qty",
|
|
277
|
+
NOT_GOOD_QTY = "not_good_qty",
|
|
278
|
+
REPORT_START_TIME = "report_start_time",
|
|
279
|
+
REPORT_END_TIME = "report_end_time",
|
|
280
|
+
WORK_HOURS = "work_hours",
|
|
281
|
+
PRODUCTION_DATE = "production_date",
|
|
282
|
+
REPORTER = "reporter",
|
|
283
|
+
NOT_GOOD_REASON = "not_good_reason",
|
|
284
|
+
NOT_GOOD_GROUP = "not_good_group",
|
|
285
|
+
SCRAP_REASON = "scrap_reason",
|
|
286
|
+
SCRAP_GROUP = "scrap_group",
|
|
287
|
+
SCRAP_QTY = "scrap_qty",
|
|
288
|
+
SCRAP_MATERIAL = "scrap_material",
|
|
289
|
+
SCRAP_MATERIAL_NO = "scrap_material_no",
|
|
290
|
+
DESTRUCTIVE_TEST_QTY = "destructive_test_qty",
|
|
291
|
+
PRODUCT_CHECK_QTY = "product_check_qty",
|
|
292
|
+
MATERIAL_CHECK_QTY = "material_check_qty"
|
|
293
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/enums/xlsx-parser.ts
|
|
2
|
+
/** 排列方式 */
|
|
3
|
+
var Orientation = /* @__PURE__ */ function(Orientation) {
|
|
4
|
+
/**
|
|
5
|
+
* 纵
|
|
6
|
+
*/
|
|
7
|
+
Orientation["Portrait"] = "portrait";
|
|
8
|
+
/**
|
|
9
|
+
* 横
|
|
10
|
+
*/
|
|
11
|
+
Orientation["Landscape"] = "landscape";
|
|
12
|
+
return Orientation;
|
|
13
|
+
}({});
|
|
14
|
+
var FIELD_TYPE_BUSINESS = /* @__PURE__ */ function(FIELD_TYPE_BUSINESS) {
|
|
15
|
+
FIELD_TYPE_BUSINESS["ROUTING_OPERATION"] = "routing_operation";
|
|
16
|
+
FIELD_TYPE_BUSINESS["GOOD_QTY"] = "good_qty";
|
|
17
|
+
FIELD_TYPE_BUSINESS["NOT_GOOD_QTY"] = "not_good_qty";
|
|
18
|
+
FIELD_TYPE_BUSINESS["REPORT_START_TIME"] = "report_start_time";
|
|
19
|
+
FIELD_TYPE_BUSINESS["REPORT_END_TIME"] = "report_end_time";
|
|
20
|
+
FIELD_TYPE_BUSINESS["WORK_HOURS"] = "work_hours";
|
|
21
|
+
FIELD_TYPE_BUSINESS["PRODUCTION_DATE"] = "production_date";
|
|
22
|
+
FIELD_TYPE_BUSINESS["REPORTER"] = "reporter";
|
|
23
|
+
FIELD_TYPE_BUSINESS["NOT_GOOD_REASON"] = "not_good_reason";
|
|
24
|
+
FIELD_TYPE_BUSINESS["NOT_GOOD_GROUP"] = "not_good_group";
|
|
25
|
+
FIELD_TYPE_BUSINESS["SCRAP_REASON"] = "scrap_reason";
|
|
26
|
+
FIELD_TYPE_BUSINESS["SCRAP_GROUP"] = "scrap_group";
|
|
27
|
+
FIELD_TYPE_BUSINESS["SCRAP_QTY"] = "scrap_qty";
|
|
28
|
+
FIELD_TYPE_BUSINESS["SCRAP_MATERIAL"] = "scrap_material";
|
|
29
|
+
FIELD_TYPE_BUSINESS["SCRAP_MATERIAL_NO"] = "scrap_material_no";
|
|
30
|
+
FIELD_TYPE_BUSINESS["DESTRUCTIVE_TEST_QTY"] = "destructive_test_qty";
|
|
31
|
+
FIELD_TYPE_BUSINESS["PRODUCT_CHECK_QTY"] = "product_check_qty";
|
|
32
|
+
FIELD_TYPE_BUSINESS["MATERIAL_CHECK_QTY"] = "material_check_qty";
|
|
33
|
+
return FIELD_TYPE_BUSINESS;
|
|
34
|
+
}({});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { FIELD_TYPE_BUSINESS, Orientation };
|
package/es/hooks/index.d.ts
CHANGED
package/es/hooks/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FIELD_TYPE } from '@gct-paas/core';
|
|
1
|
+
import { FIELD_TYPE, IFieldCodeChain } from '@gct-paas/core';
|
|
2
2
|
import { Select } from '@gct-paas/schema';
|
|
3
3
|
export declare function useRefCardData(props: {
|
|
4
4
|
widget: Select;
|
|
@@ -17,7 +17,17 @@ export declare function useGetRefCard(): {
|
|
|
17
17
|
modelKey: any;
|
|
18
18
|
refCardId: any;
|
|
19
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* 从卡片设计节点中提取关联模型钻取字段
|
|
22
|
+
* 参考 useDependency / getRefInfoId 中 foreignFields 用法:关联路径 + '.*'
|
|
23
|
+
*/
|
|
24
|
+
export declare function getCardForeignFields(nodes?: IObject): string[];
|
|
25
|
+
/**
|
|
26
|
+
* 根据卡片字段取值路径读取关联模型字段值
|
|
27
|
+
* fieldCodeChain.fieldLink + key => __FOREIGN__['link.key']
|
|
28
|
+
*/
|
|
29
|
+
export declare function getCardFieldValue(data?: IObject, fieldKey?: string, fieldCodeChain?: IFieldCodeChain | string | null): any;
|
|
20
30
|
export declare function getDataByModelType({ fieldType, modelKey }: {
|
|
21
31
|
fieldType: FIELD_TYPE;
|
|
22
32
|
modelKey: string;
|
|
23
|
-
}, id: string): Promise<IObject
|
|
33
|
+
}, id: string, foreignFields?: string[]): Promise<IObject>;
|
package/es/hooks/refCardList.mjs
CHANGED
|
@@ -29,28 +29,91 @@ function useGetRefCard() {
|
|
|
29
29
|
refCardId
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
/**
|
|
33
|
+
* 从卡片设计节点中提取关联模型钻取字段
|
|
34
|
+
* 参考 useDependency / getRefInfoId 中 foreignFields 用法:关联路径 + '.*'
|
|
35
|
+
*/
|
|
36
|
+
function getCardForeignFields(nodes = {}) {
|
|
37
|
+
const foreignFields = /* @__PURE__ */ new Set();
|
|
38
|
+
Object.values(nodes).forEach((node) => {
|
|
39
|
+
const fieldLink = parseFieldCodeChain(node?.data?.fieldCodeChain)?.fieldLink;
|
|
40
|
+
if (!fieldLink?.length) return;
|
|
41
|
+
foreignFields.add(`${fieldLink.join(".")}.*`);
|
|
42
|
+
});
|
|
43
|
+
return Array.from(foreignFields);
|
|
44
|
+
}
|
|
45
|
+
function parseFieldCodeChain(fieldCodeChain) {
|
|
46
|
+
if (!fieldCodeChain) return;
|
|
47
|
+
if (typeof fieldCodeChain === "string") try {
|
|
48
|
+
return JSON.parse(fieldCodeChain);
|
|
49
|
+
} catch {
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
return fieldCodeChain;
|
|
53
|
+
}
|
|
54
|
+
/** 翻译关联字段(__FOREIGN__ 中为 path.key 扁平结构) */
|
|
55
|
+
function transformForeignToDict(foreign = {}, dict = {}) {
|
|
56
|
+
return Object.keys(foreign).reduce((total, curr) => {
|
|
57
|
+
const value = foreign[curr];
|
|
58
|
+
if (value && typeof value === "object" && !Array.isArray(value)) {
|
|
59
|
+
total[curr] = transformForeignToDict(value, dict);
|
|
60
|
+
return total;
|
|
61
|
+
}
|
|
62
|
+
const leafKey = curr.includes(".") ? curr.split(".").pop() : curr;
|
|
63
|
+
const map = dict[curr] ?? dict[leafKey];
|
|
64
|
+
try {
|
|
65
|
+
total[curr] = value ? String(value).split(",").map((k) => map?.[k] ?? k).join(",") : value;
|
|
66
|
+
} catch {
|
|
67
|
+
total[curr] = value;
|
|
68
|
+
}
|
|
69
|
+
return total;
|
|
70
|
+
}, {});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 根据卡片字段取值路径读取关联模型字段值
|
|
74
|
+
* fieldCodeChain.fieldLink + key => __FOREIGN__['link.key']
|
|
75
|
+
*/
|
|
76
|
+
function getCardFieldValue(data = {}, fieldKey, fieldCodeChain) {
|
|
77
|
+
if (!fieldKey) return "";
|
|
78
|
+
const chain = parseFieldCodeChain(fieldCodeChain);
|
|
79
|
+
if (chain?.fieldLink?.length) {
|
|
80
|
+
const path = [...chain.fieldLink, fieldKey].join(".");
|
|
81
|
+
return data?.__FOREIGN__?.[path] ?? data?.[path] ?? "";
|
|
82
|
+
}
|
|
83
|
+
return data?.[fieldKey] ?? "";
|
|
84
|
+
}
|
|
85
|
+
async function getDataByModelType({ fieldType, modelKey }, id, foreignFields = []) {
|
|
86
|
+
const fields = foreignFields?.length ? foreignFields : [];
|
|
87
|
+
console.log("getDataByModelType", foreignFields, fields);
|
|
33
88
|
if (fieldType === FIELD_TYPE.RDO_REF) {
|
|
34
|
-
const { data = {}, dict = {} } = await _api.apaas.modelComprehensive.
|
|
89
|
+
const { data = {}, dict = {} } = await _api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey({
|
|
35
90
|
modelKey,
|
|
36
91
|
bsKey: "rdoGetVersionByRefId",
|
|
37
92
|
modelCategory: EntityModelCategoryEnum.ENTITY
|
|
38
|
-
}, {
|
|
93
|
+
}, {
|
|
39
94
|
includeDeleted: 1,
|
|
40
95
|
refId: id
|
|
41
|
-
});
|
|
42
|
-
return
|
|
96
|
+
}, { foreignFields: fields });
|
|
97
|
+
return transformCardData(data, dict);
|
|
43
98
|
} else {
|
|
44
|
-
const { data = {}, dict = {} } = await _api.apaas.modelComprehensive.
|
|
99
|
+
const { data = {}, dict = {} } = await _api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey({
|
|
45
100
|
modelKey,
|
|
46
101
|
bsKey: "getOne",
|
|
47
102
|
modelCategory: EntityModelCategoryEnum.ENTITY
|
|
48
|
-
}, {
|
|
103
|
+
}, { includeDeleted: 1 }, {
|
|
49
104
|
query: { "id_.eq": id },
|
|
50
|
-
foreignFields:
|
|
51
|
-
}
|
|
52
|
-
return
|
|
105
|
+
foreignFields: fields
|
|
106
|
+
});
|
|
107
|
+
return transformCardData(data, dict);
|
|
53
108
|
}
|
|
54
109
|
}
|
|
110
|
+
function transformCardData(data = {}, dict = {}) {
|
|
111
|
+
const foreign = data.__FOREIGN__;
|
|
112
|
+
const mainData = { ...data };
|
|
113
|
+
delete mainData.__FOREIGN__;
|
|
114
|
+
const result = transformDataToDict(mainData, dict);
|
|
115
|
+
if (foreign) result.__FOREIGN__ = transformForeignToDict(foreign, dict);
|
|
116
|
+
return result;
|
|
117
|
+
}
|
|
55
118
|
//#endregion
|
|
56
|
-
export { getDataByModelType, useGetRefCard, useRefCardData };
|
|
119
|
+
export { getCardFieldValue, getCardForeignFields, getDataByModelType, useGetRefCard, useRefCardData };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { QuickSearchEnum } from '@gct-paas/core';
|
|
2
|
+
/**
|
|
3
|
+
* 快速搜索功能模块
|
|
4
|
+
*/
|
|
5
|
+
export declare function useSearchEvent(): {
|
|
6
|
+
quickSearchEvent: (type: QuickSearchEnum, key: string, searchName: string, categoryId: string) => Promise<void>;
|
|
7
|
+
};
|
|
8
|
+
export declare function useQuickNext(callback: Fn, onMounted?: Fn): void;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ModelTypeEnum, PageTypeEnum, PrintTypeEnum, QuickSearchEnum, ScriptTypeEnum } from "@gct-paas/core";
|
|
2
|
+
//#region src/hooks/useQuickSearch.ts
|
|
3
|
+
var searchEventCallback;
|
|
4
|
+
/**
|
|
5
|
+
* 快速搜索功能模块
|
|
6
|
+
*/
|
|
7
|
+
function useSearchEvent() {
|
|
8
|
+
const route = _gct.router.currentRoute.value;
|
|
9
|
+
async function quickSearchEvent(type, key, searchName, categoryId) {
|
|
10
|
+
const { name, module } = goRouterMeta[type];
|
|
11
|
+
if (route.name !== name) {
|
|
12
|
+
const searchStr = JSON.stringify({
|
|
13
|
+
module,
|
|
14
|
+
key,
|
|
15
|
+
searchName,
|
|
16
|
+
categoryId
|
|
17
|
+
});
|
|
18
|
+
await _gct.router.push({
|
|
19
|
+
name,
|
|
20
|
+
query: { searchStr: encodeURI(searchStr) }
|
|
21
|
+
});
|
|
22
|
+
} else searchEventCallback?.({
|
|
23
|
+
module,
|
|
24
|
+
key,
|
|
25
|
+
searchName,
|
|
26
|
+
categoryId
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
return { quickSearchEvent };
|
|
30
|
+
}
|
|
31
|
+
function useQuickNext(callback, onMounted) {
|
|
32
|
+
searchEventCallback = callback;
|
|
33
|
+
const searchStr = _gct.router.currentRoute.value.query.searchStr;
|
|
34
|
+
if (searchStr) {
|
|
35
|
+
const { module, key, searchName, categoryId } = JSON.parse(decodeURI(searchStr));
|
|
36
|
+
callback({
|
|
37
|
+
module,
|
|
38
|
+
key,
|
|
39
|
+
searchName,
|
|
40
|
+
categoryId
|
|
41
|
+
});
|
|
42
|
+
} else onMounted?.();
|
|
43
|
+
}
|
|
44
|
+
var goRouterMeta = {
|
|
45
|
+
[QuickSearchEnum.MODEL_ENITY]: {
|
|
46
|
+
name: "ModelDesigner",
|
|
47
|
+
module: ModelTypeEnum.ENTITY
|
|
48
|
+
},
|
|
49
|
+
[QuickSearchEnum.MODEL_ENUM]: {
|
|
50
|
+
name: "ModelDesigner",
|
|
51
|
+
module: ModelTypeEnum.ENUM
|
|
52
|
+
},
|
|
53
|
+
[QuickSearchEnum.MODEL_VIEW]: {
|
|
54
|
+
name: "ModelDesigner",
|
|
55
|
+
module: ModelTypeEnum.VIEW
|
|
56
|
+
},
|
|
57
|
+
[QuickSearchEnum.MODEL_DATA]: {
|
|
58
|
+
name: "ModelDesigner",
|
|
59
|
+
module: ModelTypeEnum.DATA
|
|
60
|
+
},
|
|
61
|
+
[QuickSearchEnum.WEB_PAGE]: {
|
|
62
|
+
name: "PageDesigner",
|
|
63
|
+
module: PageTypeEnum.WEB
|
|
64
|
+
},
|
|
65
|
+
[QuickSearchEnum.MOBILE_PAGE]: {
|
|
66
|
+
name: "PageDesigner",
|
|
67
|
+
module: PageTypeEnum.MOBILE
|
|
68
|
+
},
|
|
69
|
+
[QuickSearchEnum.PAD_PAGE]: {
|
|
70
|
+
name: "PageDesigner",
|
|
71
|
+
module: PageTypeEnum.PAD
|
|
72
|
+
},
|
|
73
|
+
[QuickSearchEnum.LABLE_PRINT]: {
|
|
74
|
+
name: "PrintDesign",
|
|
75
|
+
module: PrintTypeEnum.LABEL
|
|
76
|
+
},
|
|
77
|
+
[QuickSearchEnum.DOCUMENT_PRINT]: {
|
|
78
|
+
name: "PrintDesign",
|
|
79
|
+
module: PrintTypeEnum.RECEIPT
|
|
80
|
+
},
|
|
81
|
+
[QuickSearchEnum.PROCESS_DESIGNER]: { name: "Process" },
|
|
82
|
+
[QuickSearchEnum.DEV_SCRIPT]: {
|
|
83
|
+
name: "LogicDevelop",
|
|
84
|
+
module: ScriptTypeEnum.DEFAULT
|
|
85
|
+
},
|
|
86
|
+
[QuickSearchEnum.DEV_LOGIC]: {
|
|
87
|
+
name: "LogicDevelop",
|
|
88
|
+
module: ScriptTypeEnum.ORCHESTRATION
|
|
89
|
+
},
|
|
90
|
+
[QuickSearchEnum.DEV_METHOD]: {
|
|
91
|
+
name: "LogicDevelop",
|
|
92
|
+
module: ScriptTypeEnum.GLOBAL_METHOD
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
//#endregion
|
|
96
|
+
export { useQuickNext, useSearchEvent };
|
package/es/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export { setupPageEvent, usePageEvent, type ContextPcType, type EventsPC, } from './Event/Events';
|
|
2
|
+
export * from './modules/app-mqtt';
|
|
2
3
|
export * from './components/index';
|
|
3
4
|
export * from './hooks';
|
|
5
|
+
export { renderWebSetupApp } from './setup-app';
|
|
6
|
+
export * from './utils';
|
|
4
7
|
export declare function run(): void;
|