@gct-paas/word 0.1.74-beta.32 → 0.1.74-beta.33
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/dist/base/select/src/basic-select.vue.d.ts +5 -0
- package/dist/domain/constants/enum/device.d.ts +1 -1
- package/dist/domain/table/business/shared/production-identification-scan-api.d.ts +6 -2
- package/dist/domain/table/business/warehouse/shared/inventory-scan-api.d.ts +6 -2
- package/dist/domain/table/runtime/api/biz-service-api.d.ts +3 -1
- package/dist/index.es.js +573 -417
- package/dist/suites/shared/panel/config/editor/qrcode-parse-editor/barcode-parsing-rules-group-editor.vue.d.ts +28 -0
- package/dist/word.css +84 -60
- package/package.json +2 -2
|
@@ -22,6 +22,8 @@ type __VLS_Props = {
|
|
|
22
22
|
disabled?: boolean;
|
|
23
23
|
/** 不显示右侧箭头 */
|
|
24
24
|
noArrow?: boolean;
|
|
25
|
+
/** 多选模式下也显示右侧箭头 */
|
|
26
|
+
multipleArrow?: boolean;
|
|
25
27
|
/** 是否允许清除 */
|
|
26
28
|
allowClear?: boolean;
|
|
27
29
|
/** 弹窗选择模式:编辑态外观,点击不展开下拉 */
|
|
@@ -30,6 +32,8 @@ type __VLS_Props = {
|
|
|
30
32
|
grouped?: boolean;
|
|
31
33
|
/** 是否支持输入创建 tag */
|
|
32
34
|
allowCreate?: boolean;
|
|
35
|
+
/** 下拉选项是否可搜索 */
|
|
36
|
+
searchable?: boolean;
|
|
33
37
|
};
|
|
34
38
|
declare function __VLS_template(): {
|
|
35
39
|
attrs: Partial<{}>;
|
|
@@ -79,6 +83,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
79
83
|
options: DropdownOption[];
|
|
80
84
|
placeholder: string;
|
|
81
85
|
allowClear: boolean;
|
|
86
|
+
searchable: boolean;
|
|
82
87
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
83
88
|
dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
84
89
|
P: {};
|
|
@@ -7,7 +7,11 @@ export declare const PRODUCTION_IDENTIFICATION_SCAN_API: BizServiceApiDef;
|
|
|
7
7
|
export declare function hasProductionIdentificationScanKey(parsed: IRuleParseData): boolean;
|
|
8
8
|
/** 条码解析结果 → 扫码接口入参(字段名与后端约定一致,含 vaildate_ 拼写) */
|
|
9
9
|
export declare function buildProductionIdentificationScanBody(parsed: IRuleParseData): Record<string, unknown>;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/**
|
|
11
|
+
* 调用生产标识扫码匹配接口
|
|
12
|
+
* - 接口失败(宿主拦截器已提示):返回 null,调用方直接中止
|
|
13
|
+
* - 成功:返回 0/1/N 条候选
|
|
14
|
+
*/
|
|
15
|
+
export declare function matchProductionIdentificationScanRecords(parsed: IRuleParseData): Promise<Record<string, unknown>[] | null>;
|
|
12
16
|
/** 多条候选 → 公共多选弹框 */
|
|
13
17
|
export declare function pickProductionIdentificationScanRecord(records: Record<string, unknown>[]): Promise<Record<string, unknown> | undefined>;
|
|
@@ -7,8 +7,12 @@ export declare const INVENTORY_PRODUCTION_IDENTIFICATION_SCAN_API: BizServiceApi
|
|
|
7
7
|
export declare function hasLotOrUniqueCode(parsed: IRuleParseData): boolean;
|
|
8
8
|
/** 条码解析结果 + 当前仓库 → 扫码接口入参 */
|
|
9
9
|
export declare function buildInventoryScanRequestBody(parsed: IRuleParseData, warehouseId?: string): Record<string, unknown>;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/**
|
|
11
|
+
* 调用库存扫码匹配接口
|
|
12
|
+
* - 接口失败(拦截器已提示):返回 null,调用方直接中止
|
|
13
|
+
* - 成功:返回 0/1/N 条候选
|
|
14
|
+
*/
|
|
15
|
+
export declare function matchInventoryScanRecords(parsed: IRuleParseData, warehouseId?: string): Promise<Record<string, unknown>[] | null>;
|
|
12
16
|
/** 多条候选 → 公共多选弹框 */
|
|
13
17
|
export declare function pickInventoryScanRecord(records: Record<string, unknown>[]): Promise<Record<string, unknown> | undefined>;
|
|
14
18
|
/** 解析扫码数量,缺省为 1 */
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { BizServiceApiDef } from '../../types';
|
|
2
|
-
export declare function callBizService(apiDef: BizServiceApiDef, body: Record<string, unknown
|
|
2
|
+
export declare function callBizService(apiDef: BizServiceApiDef, body: Record<string, unknown>, options?: {
|
|
3
|
+
__useWordMessage?: boolean;
|
|
4
|
+
}): Promise<unknown>;
|
|
3
5
|
/** 判断 biz-service 是否失败(网络异常或业务 ok:false) */
|
|
4
6
|
export declare function isBizServiceFailure(res: unknown): boolean;
|
|
5
7
|
/** 解析 biz-service 返回体 */
|