@gct-paas/word 0.1.73-patch.3 → 0.1.73-patch.5
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 +4 -1
- package/dist/base/modal/src/ModalRoot.vue.d.ts +1 -0
- package/dist/base/modal/src/modal.type.d.ts +5 -0
- package/dist/core/view/Doc.d.ts +21 -1
- package/dist/core/view/context/DocPubApiContext.d.ts +1 -0
- package/dist/index.es.js +307 -178
- package/dist/runtime/canvas/table/render/material-consume/bom-validator.d.ts +5 -5
- package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +1 -0
- package/dist/runtime/designer/panel/panel.vue.d.ts +1 -1
- package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +3 -1
- package/dist/sdk/types/index.d.ts +6 -1
- package/dist/suites/shared/panel/modules/field-dependency-module/field-dependency-modal.vue.d.ts +2 -0
- package/dist/suites/shared/panel/utils/open-design-modal.d.ts +7 -0
- package/dist/word.css +333 -308
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IBomEntry, IMaterialConsumeData
|
|
1
|
+
import { IBomEntry, IMaterialConsumeData } from '../../../../../domain/table/business/material/types';
|
|
2
2
|
export declare class BomEntryValidator {
|
|
3
3
|
bomEntry: IBomEntry;
|
|
4
4
|
/** 是否启用顺序投料 */
|
|
@@ -10,7 +10,7 @@ export declare class BomEntryValidator {
|
|
|
10
10
|
/** 表单实例的批次号 */
|
|
11
11
|
mainMaterialNo: string;
|
|
12
12
|
/** 物料消耗模式 */
|
|
13
|
-
|
|
13
|
+
noBomMode: boolean;
|
|
14
14
|
/** 该明细使用到的产品的id集合 */
|
|
15
15
|
productIds: string[];
|
|
16
16
|
/** 物料和code的映射 */
|
|
@@ -31,7 +31,7 @@ export declare class BomEntryValidator {
|
|
|
31
31
|
/** 表单实例的批次号 */
|
|
32
32
|
mainMaterialNo: string,
|
|
33
33
|
/** 物料消耗模式 */
|
|
34
|
-
|
|
34
|
+
noBomMode: boolean);
|
|
35
35
|
/**
|
|
36
36
|
* 翻译物料的code
|
|
37
37
|
* @param productId
|
|
@@ -90,7 +90,7 @@ export declare class BomEntriesValidator {
|
|
|
90
90
|
/** 表单实例的批次号 */
|
|
91
91
|
mainMaterialNo: string;
|
|
92
92
|
/** 物料消耗模式 */
|
|
93
|
-
|
|
93
|
+
noBomMode: boolean;
|
|
94
94
|
bomEntryValidators: BomEntryValidator[];
|
|
95
95
|
constructor(entries: IBomEntry[],
|
|
96
96
|
/** 是否启用顺序投料 */
|
|
@@ -102,7 +102,7 @@ export declare class BomEntriesValidator {
|
|
|
102
102
|
/** 表单实例的批次号 */
|
|
103
103
|
mainMaterialNo: string,
|
|
104
104
|
/** 物料消耗模式 */
|
|
105
|
-
|
|
105
|
+
noBomMode: boolean);
|
|
106
106
|
/**
|
|
107
107
|
* 翻译物料的code
|
|
108
108
|
* @param productId
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -33,8 +33,10 @@ export interface IDocPayload extends IDocTemplatePayload, IDocInstancePayload {
|
|
|
33
33
|
deviceConfig?: IDeviceConfig;
|
|
34
34
|
/** 是否是模拟填报 */
|
|
35
35
|
isMockReport: boolean;
|
|
36
|
-
/**
|
|
36
|
+
/** 是否是预览模式(隐藏设计器壳);与 refer 互斥 */
|
|
37
37
|
isPreview: boolean;
|
|
38
|
+
/** 设计器引用只读态(仅保留属性 panel);与 isPreview 互斥 */
|
|
39
|
+
isRefer?: boolean;
|
|
38
40
|
ctx: DesignSuiteContext;
|
|
39
41
|
/**
|
|
40
42
|
* 文档接口请求成功且引擎挂载完成后的回调(每轮成功加载触发一次)。
|
|
@@ -221,8 +221,13 @@ export interface UseWordOptions {
|
|
|
221
221
|
modelKey: string;
|
|
222
222
|
/** 套件 key(默认 'edhr') */
|
|
223
223
|
suiteKey?: string;
|
|
224
|
-
/**
|
|
224
|
+
/** 是否预览模式(隐藏 ribbon / toolkit / panel);与 isRefer 互斥 */
|
|
225
225
|
isPreview?: boolean;
|
|
226
|
+
/**
|
|
227
|
+
* 设计器引用只读态;与 isPreview 互斥。
|
|
228
|
+
* 仅保留右侧属性 panel,禁止修改文档与配置。
|
|
229
|
+
*/
|
|
230
|
+
isRefer?: boolean;
|
|
226
231
|
/** 是否模拟填报 */
|
|
227
232
|
isMockReport?: boolean;
|
|
228
233
|
/** 是否详情页(强制只读) */
|