@gct-paas/word 0.2.15-beta.0 → 0.2.15
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/assets/svgs/table/index.d.ts +0 -1
- package/dist/base/dropdown/src/dropdown-basic-select.vue.d.ts +0 -6
- package/dist/base/input/src/input-number.vue.d.ts +0 -1
- package/dist/base/message/src/Message.vue.d.ts +0 -2
- package/dist/base/message/src/message.d.ts +0 -2
- package/dist/base/modal/src/modal.type.d.ts +1 -3
- package/dist/base/select/src/basic-select.vue.d.ts +7 -16
- package/dist/base/utils/image-size-util.d.ts +6 -12
- package/dist/capabilities/model-field-runtime/types/field.d.ts +0 -4
- package/dist/core/command/commands/DeleteCol.d.ts +1 -1
- package/dist/core/command/commands/DeleteRow.d.ts +1 -1
- package/dist/core/command/commands/InsertTable.d.ts +1 -0
- package/dist/core/command/types.d.ts +0 -21
- package/dist/core/data/DataManager.d.ts +1 -6
- package/dist/core/data/types/runtime-config.d.ts +0 -13
- package/dist/core/event/handlers/IMEHandler.d.ts +0 -1
- package/dist/core/index.d.ts +0 -2
- package/dist/core/model/document/WtblPr.d.ts +0 -2
- package/dist/core/model/document/Wtc.d.ts +0 -2
- package/dist/core/model/document/wtcRegionRef.d.ts +1 -1
- package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +1 -4
- package/dist/core/model/logic/subtable/shared/dataGroupSlotCount.d.ts +1 -37
- package/dist/core/model/overlays/Wlayout.d.ts +0 -4
- package/dist/core/view/Doc.d.ts +0 -5
- package/dist/core/view/TableCell.d.ts +0 -3
- package/dist/core/widget/types.d.ts +2 -2
- package/dist/domain/active/active-types.d.ts +1 -3
- package/dist/domain/field/field-props-schema-type.d.ts +1 -1
- package/dist/domain/field/field-type.d.ts +2 -68
- package/dist/domain/field/form-value.d.ts +0 -6
- package/dist/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
- package/dist/domain/table/business/material/types.d.ts +1 -2
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +1 -1
- package/dist/domain/table/business/warehouse/shared/inventory-scan-api.d.ts +1 -1
- package/dist/domain/table/business/warehouse/shared/inventory-scan-columns.d.ts +6 -0
- package/dist/domain/table/design/ribbon-options.d.ts +0 -2
- package/dist/domain/table/design/sub-model-matcher.d.ts +0 -2
- package/dist/domain/table/index.d.ts +0 -3
- package/dist/domain/table/registry.d.ts +2 -5
- package/dist/domain/table/runtime/table-runtime.d.ts +0 -3
- package/dist/domain/table/types.d.ts +3 -13
- package/dist/index.es.js +9906 -31989
- package/dist/runtime/canvas/doc-layout.vue.d.ts +2 -1
- package/dist/runtime/canvas/table/render/material-consume/bom-validator.d.ts +2 -10
- package/dist/runtime/canvas/table/render/material-consume/material-consume-group-merge.d.ts +0 -1
- package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +0 -6
- package/dist/runtime/canvas/table/shared/table-lines.vue.d.ts +0 -1
- package/dist/runtime/interface/computed.d.ts +1 -1
- package/dist/runtime/renderer/dialogs/signature/signature-dialog.vue.d.ts +1 -54
- package/dist/runtime/renderer/dialogs/upload-image/base-upload-image.vue.d.ts +0 -1
- package/dist/runtime/renderer/dialogs/upload-image/upload-image-dialog.vue.d.ts +0 -1
- package/dist/runtime/validation/layout.d.ts +0 -20
- package/dist/runtime/validation/merge.d.ts +2 -14
- package/dist/runtime/validation/state.d.ts +20 -3
- package/dist/runtime/validation/useFormValidator.d.ts +1 -5
- package/dist/sdk/doc-runtime/factories/document-initializer.d.ts +0 -1
- package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +0 -5
- package/dist/sdk/engine/index.d.ts +1 -3
- package/dist/sdk/setup.d.ts +0 -6
- package/dist/sdk/types/index.d.ts +0 -8
- package/dist/sdk/vue/index.d.ts +0 -6
- package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +3 -3
- package/dist/suites/edhr/panel-schema/index.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/rule/components/add-rule-button.vue.d.ts +3 -8
- package/dist/suites/edhr/panel-schema/rule/types.d.ts +0 -3
- package/dist/suites/edhr/panel-schema/rule/use-rules-config.d.ts +0 -12
- package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields.util.d.ts +2 -2
- package/dist/suites/shared/panel/modules/field-formula-module/field-formula-module.vue.d.ts +0 -1
- package/dist/utils/adapters/ServiceUtil.d.ts +0 -9
- package/dist/word.css +1357 -1754
- package/package.json +4 -4
- package/dist/core/command/base/FloatingFieldCommand.d.ts +0 -9
- package/dist/core/command/commands/InsertFloatingField.d.ts +0 -9
- package/dist/core/command/commands/MoveFloatingField.d.ts +0 -10
- package/dist/core/command/commands/RemoveFloatingField.d.ts +0 -12
- package/dist/core/command/commands/SetTableBorder.d.ts +0 -14
- package/dist/core/data/enrichers/inspection-module-qty-enricher.d.ts +0 -19
- package/dist/core/data/enrichers/udi-enricher.d.ts +0 -23
- package/dist/core/data/formula/business-functions.d.ts +0 -10
- package/dist/core/data/formula/formula-params-cache.d.ts +0 -15
- package/dist/core/model/types/table-border.d.ts +0 -18
- package/dist/core/runtime/DocumentRuntimeManager.d.ts +0 -34
- package/dist/core/table/border-selection.d.ts +0 -9
- package/dist/core/table/borders.d.ts +0 -42
- package/dist/domain/document-business/business/product-release/profile.d.ts +0 -2
- package/dist/domain/document-business/business/product-release/service.d.ts +0 -2
- package/dist/domain/document-business/index.d.ts +0 -2
- package/dist/domain/document-business/registry.d.ts +0 -2
- package/dist/domain/document-business/runtime/field-query-runtime.d.ts +0 -4
- package/dist/domain/document-business/types.d.ts +0 -24
- package/dist/domain/document-rule/index.d.ts +0 -3
- package/dist/domain/document-rule/runtime/decision-rule-evaluator.d.ts +0 -13
- package/dist/domain/document-rule/runtime/document-rule-runtime.d.ts +0 -19
- package/dist/domain/document-rule/types.d.ts +0 -50
- package/dist/domain/field/query-filter.d.ts +0 -15
- package/dist/domain/field/seal/seal-binding.d.ts +0 -19
- package/dist/domain/field/seal/seal-display.d.ts +0 -32
- package/dist/domain/field/seal/seal-value.d.ts +0 -39
- package/dist/domain/table/business/device/maintenance/index.d.ts +0 -1
- package/dist/domain/table/business/device/maintenance/profile/field-keys.d.ts +0 -9
- package/dist/domain/table/business/device/maintenance/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/device/maintenance/profile/index.d.ts +0 -3
- package/dist/domain/table/business/device/point-inspection/index.d.ts +0 -1
- package/dist/domain/table/business/device/point-inspection/profile/field-keys.d.ts +0 -9
- package/dist/domain/table/business/device/point-inspection/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/device/point-inspection/profile/index.d.ts +0 -3
- package/dist/domain/table/business/device/runtime/device-signature-lock-engine.d.ts +0 -13
- package/dist/domain/table/business/device/signature-lock.d.ts +0 -26
- package/dist/domain/table/business/material/material-consume/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/material/material-substitution/actions/scan.d.ts +0 -3
- package/dist/domain/table/business/material/material-substitution/index.d.ts +0 -3
- package/dist/domain/table/business/material/material-substitution/profile/field-keys.d.ts +0 -41
- package/dist/domain/table/business/material/material-substitution/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/material/material-substitution/profile/index.d.ts +0 -4
- package/dist/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -4
- package/dist/domain/table/design/hooks/on-bounded-default-props.d.ts +0 -3
- package/dist/domain/table/design/validate-nested-table-insert.d.ts +0 -3
- package/dist/domain/table/runtime/option-fill-updates.d.ts +0 -6
- package/dist/runtime/canvas/__common__/context-menu/resolve-table-context.d.ts +0 -10
- package/dist/runtime/canvas/node/seal-overlay.vue.d.ts +0 -6
- package/dist/runtime/canvas/print-capture.d.ts +0 -12
- package/dist/runtime/canvas/table/table-presentation.d.ts +0 -16
- package/dist/runtime/canvas/table/utils/paint-table-borders.d.ts +0 -4
- package/dist/runtime/designer/ribbon/hooks/useDhrEdition.d.ts +0 -7
- package/dist/runtime/designer/ribbon/svg/table-border-icon.vue.d.ts +0 -6
- package/dist/runtime/interface/sterilization-date.d.ts +0 -9
- package/dist/runtime/renderer/dialogs/document-rule-prompt/document-rule-prompt.vue.d.ts +0 -5
- package/dist/runtime/renderer/dialogs/document-rule-prompt/open-document-rule-prompt.d.ts +0 -2
- package/dist/runtime/renderer/dialogs/seal/open-seal-flow.d.ts +0 -3
- package/dist/runtime/renderer/dialogs/seal/seal-api.d.ts +0 -17
- package/dist/runtime/renderer/dialogs/seal/seal-auth-dialog.vue.d.ts +0 -60
- package/dist/runtime/renderer/dialogs/seal/seal-confirm-dialog.vue.d.ts +0 -9
- package/dist/runtime/renderer/dialogs/seal/seal-runtime.d.ts +0 -30
- package/dist/runtime/renderer/dialogs/seal/types.d.ts +0 -24
- package/dist/runtime/renderer/dialogs/seal/use-seal-confirm.d.ts +0 -27
- package/dist/runtime/renderer/dialogs/signature/authentication/signature-authentication.vue.d.ts +0 -27
- package/dist/runtime/renderer/dialogs/signature/authentication/types.d.ts +0 -30
- package/dist/runtime/renderer/dialogs/signature/authentication/useSignatureAuthentication.d.ts +0 -29
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/material-consume-history.d.ts +0 -17
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useMaterialSubstitutionSource.d.ts +0 -7
- package/dist/sdk/doc-runtime/composables/useDocumentRulePrompt.d.ts +0 -3
- package/dist/sdk/doc-runtime/queries/template-placed-fields.d.ts +0 -7
- package/dist/sdk/types/placed-form-field.d.ts +0 -6
- package/dist/suites/edhr/component/gct-seal-render.vue.d.ts +0 -7
- package/dist/suites/edhr/manifest/field/business/inspection-module-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/product-release-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/udi-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/seal-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/device-parameter-object-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/inspection-parameter-object-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/process-parameter-object-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/inspection-container-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/sterilization-date-manifest.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/material-substitution-table/material-substitution-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/rule/components/decision-rule-condition.vue.d.ts +0 -19
- package/dist/suites/edhr/panel-schema/rule/components/decision-rule-group.vue.d.ts +0 -16
- package/dist/suites/edhr/panel-schema/rule/modals/inspection-decision-modal.vue.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/rule/modals/open-inspection-decision-modal.d.ts +0 -8
- package/dist/suites/edhr/panel-schema/rule/utils/decision-rule.d.ts +0 -34
- package/dist/suites/shared/panel/utils/default-value-visibility.d.ts +0 -3
- package/dist/utils/pdf/collect-seal-draw-ops.d.ts +0 -4
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 物料替换表(MATERIAL_SUBSTITUTION)字段 key
|
|
3
|
-
*/
|
|
4
|
-
export declare const F: {
|
|
5
|
-
/** 工序节点 */
|
|
6
|
-
readonly routingOperation: "routing_operation_id_";
|
|
7
|
-
/** SN */
|
|
8
|
-
readonly productionContainer: "production_container_id_";
|
|
9
|
-
/** 被替换物料批号 */
|
|
10
|
-
readonly sourceMaterialNo: "source_material_no_";
|
|
11
|
-
/** 被替换物料 */
|
|
12
|
-
readonly sourceProduct: "source_product_id_";
|
|
13
|
-
/** 被替换物料名称 */
|
|
14
|
-
readonly sourceProductName: "source_product_id_name_";
|
|
15
|
-
/** 被替换物料编码 */
|
|
16
|
-
readonly sourceProductCode: "source_product_id_code_";
|
|
17
|
-
/** 被替换物料规格 */
|
|
18
|
-
readonly sourceProductSpec: "source_product_id_spec_";
|
|
19
|
-
/** 原上料数量 */
|
|
20
|
-
readonly sourceQtyConsumed: "source_qty_consumed_";
|
|
21
|
-
/** 替换物料批号 */
|
|
22
|
-
readonly targetMaterialNo: "target_material_no_";
|
|
23
|
-
/** 替换物料 */
|
|
24
|
-
readonly targetProduct: "target_product_id_";
|
|
25
|
-
/** 替换物料名称 */
|
|
26
|
-
readonly targetProductName: "target_product_id_name_";
|
|
27
|
-
/** 替换物料编码 */
|
|
28
|
-
readonly targetProductCode: "target_product_id_code_";
|
|
29
|
-
/** 替换物料规格 */
|
|
30
|
-
readonly targetProductSpec: "target_product_id_spec_";
|
|
31
|
-
/** 替换数量 */
|
|
32
|
-
readonly targetQtyConsumed: "target_qty_consumed_";
|
|
33
|
-
};
|
|
34
|
-
export type MaterialSubstitutionFieldKey = (typeof F)[keyof typeof F];
|
|
35
|
-
/** 设计态固定禁用、运行态只读的物料信息字段 */
|
|
36
|
-
export declare const DISABLED_INPUT_FIELDS: readonly ["source_material_no_", "source_product_id_name_", "source_product_id_code_", "source_product_id_spec_", "source_qty_consumed_", "target_product_id_name_", "target_product_id_code_", "target_product_id_spec_"];
|
|
37
|
-
export declare const CLEAR_ON_SOURCE_PRODUCT_EMPTY: readonly ["source_material_no_", "source_product_id_name_", "source_product_id_code_", "source_product_id_spec_", "source_qty_consumed_"];
|
|
38
|
-
/** 替换物料批号清空 / 手输时需清空的物料字段 */
|
|
39
|
-
export declare const CLEAR_ON_TARGET_MATERIAL_NO_EMPTY: readonly ["target_product_id_name_", "target_product_id_code_", "target_product_id_spec_"];
|
|
40
|
-
/** 替换料清空时同步清除批次、数量和物料信息。 */
|
|
41
|
-
export declare const CLEAR_ON_TARGET_PRODUCT_EMPTY: readonly ["target_material_no_", "target_product_id_name_", "target_product_id_code_", "target_product_id_spec_", "target_qty_consumed_"];
|
package/dist/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Doc } from '../../../../../../core';
|
|
2
|
-
export declare function handleTargetMaterialNoChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
|
|
3
|
-
export declare function handleSourceProductChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
|
|
4
|
-
export declare function handleTargetProductChange(doc: Doc, subFieldKey: string, rowIndex: number): void;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
interface OptionFillWriter {
|
|
2
|
-
setMultiple(updates: Record<string, unknown>, source: 'user' | 'enrichment'): unknown;
|
|
3
|
-
}
|
|
4
|
-
/** 选中值保留用户事件;同行回填使用 enrichment,避免触发被填字段的手工变更副作用。 */
|
|
5
|
-
export declare function applyOptionFillUpdates(writer: OptionFillWriter, nextValues: Record<string, unknown>, optionFill: Record<string, unknown>, inputValues: Record<string, unknown>, optionFillSource?: 'user' | 'enrichment'): void;
|
|
6
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type TablePathNode = {
|
|
2
|
-
component?: string;
|
|
3
|
-
};
|
|
4
|
-
/** 布局路径按外到内排列,右键操作应定位命中位置所属的最内层表格。 */
|
|
5
|
-
export declare function resolveInnermostTableContext<T extends TablePathNode>(nodes: readonly (T | undefined)[]): {
|
|
6
|
-
table?: T;
|
|
7
|
-
tableRow?: T;
|
|
8
|
-
tableCell?: T;
|
|
9
|
-
};
|
|
10
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { OverlayLayout } from '../../../core';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
widget: OverlayLayout;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as Konva } from 'konva';
|
|
2
|
-
import { PaperItem } from '../../utils/composables/usePagesToPdf';
|
|
3
|
-
export declare const TABLE_BORDER_GUIDE_NAME = "table-border-guide";
|
|
4
|
-
/** Export at document scale; border painting uses the export bitmap's own pixel grid. */
|
|
5
|
-
export declare function capturePagesAtDocumentScale(stage: Konva.Stage, pages: readonly {
|
|
6
|
-
id: string;
|
|
7
|
-
width: number;
|
|
8
|
-
height: number;
|
|
9
|
-
}[], pageOffsets: Record<string, {
|
|
10
|
-
left: number;
|
|
11
|
-
top: number;
|
|
12
|
-
}>): Record<string, PaperItem>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Doc } from '../../../core/view/Doc';
|
|
2
|
-
import { Table } from '../../../core/view/Table';
|
|
3
|
-
import { FormTmplBomController } from './render/material-consume/tmpl-bom-controller';
|
|
4
|
-
import { Row, MergeRect } from './types/table';
|
|
5
|
-
type Controllers = FormTmplBomController['tableControllers'];
|
|
6
|
-
/** The controller belongs to this document, including exports without a mounted canvas. */
|
|
7
|
-
export declare function setTablePresentationContext(doc: Doc, getControllers: () => Controllers | undefined): void;
|
|
8
|
-
export declare function getTableRows(table: Table): Row[];
|
|
9
|
-
export declare function collectTableMergeRects(rows: readonly Row[]): MergeRect[];
|
|
10
|
-
/** Page-local display projection shared by preview, print and vector PDF. */
|
|
11
|
-
export declare function resolveTablePresentationRows(rows: readonly Row[], data: Record<string, any>, controllers?: Controllers): Row[];
|
|
12
|
-
export declare function getTablePresentation(table: Table): {
|
|
13
|
-
rows: Row[];
|
|
14
|
-
mergeRects: MergeRect[];
|
|
15
|
-
};
|
|
16
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Context } from 'konva/lib/Context';
|
|
2
|
-
import { TableBorderSegment } from '../../../../core/table/borders';
|
|
3
|
-
/** Snap in the destination bitmap, including ancestor zoom, DPR and export crop. */
|
|
4
|
-
export declare function paintTableBorder(context: Context, line: TableBorderSegment, dashed?: boolean): void;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { TableBorderPreset } from '../../../../core/model/types/table-border';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
preset: TableBorderPreset;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
6
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FieldDataBindingMeta } from '../../core/widget';
|
|
2
|
-
type FieldInstance = {
|
|
3
|
-
widgetMeta?: {
|
|
4
|
-
field?: FieldDataBindingMeta;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
/** 用 detail 返回的交易实例查询灭菌日期,统一回填主、子表字段。 */
|
|
8
|
-
export declare function fillSterilizationDate(txnInstId: string | undefined, instances: FieldInstance[], rawData: Record<string, unknown>): Promise<void>;
|
|
9
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
message: string;
|
|
3
|
-
};
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { api } from '../../../../utils/adapters/api';
|
|
2
|
-
export interface SealDetail {
|
|
3
|
-
id?: string;
|
|
4
|
-
name?: string;
|
|
5
|
-
code?: string;
|
|
6
|
-
sealImage?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const sealRequestConfig: NonNullable<Parameters<typeof api.platform.sealManagement.getInfo>[1]> & {
|
|
9
|
-
errorMessageMode: 'none';
|
|
10
|
-
};
|
|
11
|
-
export declare const getSealDetail: (id: string) => Promise<SealDetail>;
|
|
12
|
-
export declare const verifySealPassword: (request: {
|
|
13
|
-
id: string;
|
|
14
|
-
password: string;
|
|
15
|
-
}) => Promise<boolean>;
|
|
16
|
-
export declare const getSealUserTime: () => string;
|
|
17
|
-
export declare function isValidSealDetail(detail: SealDetail, id: string): boolean;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { AuthenticationAttempt, AuthenticationState } from '../signature/authentication/types';
|
|
2
|
-
import { AuthResult, SealStepContext } from './types';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
context: SealStepContext;
|
|
5
|
-
onResult(result: AuthResult): void;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
8
|
-
authRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
9
|
-
defaultLoginAccount?: string;
|
|
10
|
-
enableSignPassword?: number;
|
|
11
|
-
imageDirection?: string;
|
|
12
|
-
showForm?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
submitCard: (code: string) => Promise<void>;
|
|
15
|
-
}> & Readonly<{
|
|
16
|
-
"onState-change"?: ((state: AuthenticationState) => any) | undefined;
|
|
17
|
-
"onCard-complete"?: (() => any) | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
authenticatePassword(): Promise<AuthenticationAttempt | undefined>;
|
|
20
|
-
authenticateCard(code: string): Promise<AuthenticationAttempt>;
|
|
21
|
-
hasInput(): boolean;
|
|
22
|
-
reset(): void;
|
|
23
|
-
invalidate(): void;
|
|
24
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
25
|
-
"state-change": (state: AuthenticationState) => any;
|
|
26
|
-
"card-complete": () => any;
|
|
27
|
-
}, import('vue').PublicProps, {
|
|
28
|
-
disabled: boolean;
|
|
29
|
-
enableSignPassword: number;
|
|
30
|
-
showForm: boolean;
|
|
31
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
32
|
-
P: {};
|
|
33
|
-
B: {};
|
|
34
|
-
D: {};
|
|
35
|
-
C: {};
|
|
36
|
-
M: {};
|
|
37
|
-
Defaults: {};
|
|
38
|
-
}, Readonly<{
|
|
39
|
-
defaultLoginAccount?: string;
|
|
40
|
-
enableSignPassword?: number;
|
|
41
|
-
imageDirection?: string;
|
|
42
|
-
showForm?: boolean;
|
|
43
|
-
disabled?: boolean;
|
|
44
|
-
submitCard: (code: string) => Promise<void>;
|
|
45
|
-
}> & Readonly<{
|
|
46
|
-
"onState-change"?: ((state: AuthenticationState) => any) | undefined;
|
|
47
|
-
"onCard-complete"?: (() => any) | undefined;
|
|
48
|
-
}>, {
|
|
49
|
-
authenticatePassword(): Promise<AuthenticationAttempt | undefined>;
|
|
50
|
-
authenticateCard(code: string): Promise<AuthenticationAttempt>;
|
|
51
|
-
hasInput(): boolean;
|
|
52
|
-
reset(): void;
|
|
53
|
-
invalidate(): void;
|
|
54
|
-
}, {}, {}, {}, {
|
|
55
|
-
disabled: boolean;
|
|
56
|
-
enableSignPassword: number;
|
|
57
|
-
showForm: boolean;
|
|
58
|
-
}> | null;
|
|
59
|
-
}, HTMLDivElement>;
|
|
60
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SignInfo } from '../signature/logic';
|
|
2
|
-
import { ConfirmResult, SealStepContext } from './types';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
context: SealStepContext;
|
|
5
|
-
info: SignInfo;
|
|
6
|
-
onResult(result: ConfirmResult): void;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
-
export default _default;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Doc } from '../../../../core/view/Doc';
|
|
2
|
-
import { SealFieldEntry } from '../../../../domain/field/seal/seal-binding';
|
|
3
|
-
import { SealPosition } from '../../../../domain/field/seal/seal-value';
|
|
4
|
-
export declare function sealPermissions(doc: Doc, entry: SealFieldEntry): {
|
|
5
|
-
canMove: boolean;
|
|
6
|
-
canStamp: boolean;
|
|
7
|
-
};
|
|
8
|
-
/** The flow belongs to the field, not to a layout component that is recreated after a move. */
|
|
9
|
-
export declare class SealRuntime {
|
|
10
|
-
private doc;
|
|
11
|
-
private initializeField?;
|
|
12
|
-
private pending;
|
|
13
|
-
private busy;
|
|
14
|
-
private disposed;
|
|
15
|
-
private epoch;
|
|
16
|
-
private off;
|
|
17
|
-
constructor(doc: Doc, initializeField?: ((field: SealFieldEntry["field"]) => void) | undefined);
|
|
18
|
-
onInit(): Promise<void>;
|
|
19
|
-
onHydrate(): void;
|
|
20
|
-
onFieldChanges(): void;
|
|
21
|
-
private prune;
|
|
22
|
-
private cancel;
|
|
23
|
-
destroy(): void;
|
|
24
|
-
private entry;
|
|
25
|
-
isBusy(id: string): boolean;
|
|
26
|
-
stamp(id: string): Promise<void>;
|
|
27
|
-
clear(id: string): void;
|
|
28
|
-
move(id: string, position: SealPosition): void;
|
|
29
|
-
}
|
|
30
|
-
export declare function getSealRuntime(doc: Doc, initializeField?: (field: SealFieldEntry['field']) => void): SealRuntime;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { SignInfo } from '../signature/logic';
|
|
2
|
-
import { SealStamp } from '../../../../domain/field/seal/seal-value';
|
|
3
|
-
export interface SealFlowContext {
|
|
4
|
-
sealId: string;
|
|
5
|
-
defaultLoginAccount?: string;
|
|
6
|
-
enableSignPassword?: number;
|
|
7
|
-
signal?: AbortSignal;
|
|
8
|
-
isActive(): boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface SealStepContext extends SealFlowContext {
|
|
11
|
-
registerInvalidate(invalidate: () => void): void;
|
|
12
|
-
}
|
|
13
|
-
export type AuthResult = {
|
|
14
|
-
action: 'next';
|
|
15
|
-
info: SignInfo;
|
|
16
|
-
} | {
|
|
17
|
-
action: 'cancel';
|
|
18
|
-
};
|
|
19
|
-
export type ConfirmResult = {
|
|
20
|
-
action: 'done';
|
|
21
|
-
stamp: SealStamp;
|
|
22
|
-
} | {
|
|
23
|
-
action: 'back' | 'cancel';
|
|
24
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { SignInfo } from '../signature/logic';
|
|
2
|
-
import { SealStamp } from '../../../../domain/field/seal/seal-value';
|
|
3
|
-
import { SealDetail } from './seal-api';
|
|
4
|
-
export interface SealConfirmDependencies {
|
|
5
|
-
sealId: string;
|
|
6
|
-
info: SignInfo;
|
|
7
|
-
isActive(): boolean;
|
|
8
|
-
fetchDetail(id: string): Promise<SealDetail>;
|
|
9
|
-
verifyPassword(request: {
|
|
10
|
-
id: string;
|
|
11
|
-
password: string;
|
|
12
|
-
}): Promise<boolean>;
|
|
13
|
-
now(): string;
|
|
14
|
-
}
|
|
15
|
-
export declare function useSealConfirm(deps: SealConfirmDependencies): {
|
|
16
|
-
detail: import('vue').Ref<SealDetail | undefined, SealDetail | undefined>;
|
|
17
|
-
loading: import('vue').Ref<boolean, boolean>;
|
|
18
|
-
submitting: import('vue').Ref<boolean, boolean>;
|
|
19
|
-
password: import('vue').Ref<string, string>;
|
|
20
|
-
passwordStatus: import('vue').Ref<"idle" | "invalid" | "validating" | "valid", "idle" | "invalid" | "validating" | "valid">;
|
|
21
|
-
passwordError: import('vue').Ref<string, string>;
|
|
22
|
-
error: import('vue').Ref<string, string>;
|
|
23
|
-
loadDetail: () => Promise<void>;
|
|
24
|
-
validatePassword: () => Promise<boolean>;
|
|
25
|
-
confirm: () => Promise<SealStamp | undefined>;
|
|
26
|
-
dispose: () => void;
|
|
27
|
-
};
|
package/dist/runtime/renderer/dialogs/signature/authentication/signature-authentication.vue.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AuthenticationState } from './types';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
defaultLoginAccount?: string;
|
|
4
|
-
enableSignPassword?: number;
|
|
5
|
-
imageDirection?: string;
|
|
6
|
-
showForm?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
submitCard: (code: string) => Promise<void>;
|
|
9
|
-
};
|
|
10
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
11
|
-
authenticatePassword(): Promise<import('./types').AuthenticationAttempt | undefined>;
|
|
12
|
-
authenticateCard(code: string): Promise<import('./types').AuthenticationAttempt>;
|
|
13
|
-
hasInput(): boolean;
|
|
14
|
-
reset(): void;
|
|
15
|
-
invalidate(): void;
|
|
16
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
-
"state-change": (state: AuthenticationState) => any;
|
|
18
|
-
"card-complete": () => any;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
-
"onState-change"?: ((state: AuthenticationState) => any) | undefined;
|
|
21
|
-
"onCard-complete"?: (() => any) | undefined;
|
|
22
|
-
}>, {
|
|
23
|
-
disabled: boolean;
|
|
24
|
-
enableSignPassword: number;
|
|
25
|
-
showForm: boolean;
|
|
26
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
|
-
export default _default;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { SignInfo } from '../logic';
|
|
2
|
-
export type AuthenticationMethod = 'PASSWORD' | 'CARD';
|
|
3
|
-
export type AuthenticationCardStatus = 'waiting' | 'success' | 'warning' | 'error';
|
|
4
|
-
export interface AuthenticationAttempt {
|
|
5
|
-
info: SignInfo;
|
|
6
|
-
/** Recheck after asynchronous business validation, before committing. */
|
|
7
|
-
isCurrent(): boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface AuthenticationOptions {
|
|
10
|
-
defaultLoginAccount(): string | undefined;
|
|
11
|
-
enableSignPassword(): number;
|
|
12
|
-
imageDirection(): string | undefined;
|
|
13
|
-
isActive?: () => boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface AuthenticationExpose {
|
|
16
|
-
authenticatePassword(): Promise<AuthenticationAttempt | undefined>;
|
|
17
|
-
authenticateCard(code: string): Promise<AuthenticationAttempt>;
|
|
18
|
-
hasInput(): boolean;
|
|
19
|
-
reset(): void;
|
|
20
|
-
invalidate(): void;
|
|
21
|
-
}
|
|
22
|
-
export interface AuthenticationState {
|
|
23
|
-
ready: boolean;
|
|
24
|
-
loading: boolean;
|
|
25
|
-
method: AuthenticationMethod | '';
|
|
26
|
-
cardStatus: AuthenticationCardStatus;
|
|
27
|
-
}
|
|
28
|
-
export declare class AuthenticationCancelled extends Error {
|
|
29
|
-
constructor();
|
|
30
|
-
}
|
package/dist/runtime/renderer/dialogs/signature/authentication/useSignatureAuthentication.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { AuthenticationAttempt, AuthenticationMethod, AuthenticationOptions } from './types';
|
|
2
|
-
type Field = 'username' | 'password';
|
|
3
|
-
export declare function useSignatureAuthentication(options: AuthenticationOptions): {
|
|
4
|
-
formState: {
|
|
5
|
-
username?: string | undefined;
|
|
6
|
-
password?: string | undefined;
|
|
7
|
-
};
|
|
8
|
-
errors: {
|
|
9
|
-
password: string;
|
|
10
|
-
username: string;
|
|
11
|
-
};
|
|
12
|
-
methods: import('vue').ComputedRef<("CARD" | "PASSWORD")[]>;
|
|
13
|
-
signMethod: import('vue').Ref<"" | AuthenticationMethod, "" | AuthenticationMethod>;
|
|
14
|
-
signWay: import('vue').ComputedRef<{
|
|
15
|
-
label: string;
|
|
16
|
-
type: string;
|
|
17
|
-
}>;
|
|
18
|
-
configLoading: import('vue').Ref<boolean, boolean>;
|
|
19
|
-
configError: import('vue').Ref<string, string>;
|
|
20
|
-
busy: import('vue').Ref<boolean, boolean>;
|
|
21
|
-
ready: import('vue').ComputedRef<boolean>;
|
|
22
|
-
authenticatePassword: () => Promise<AuthenticationAttempt | undefined>;
|
|
23
|
-
authenticateCard: (code: string) => Promise<AuthenticationAttempt>;
|
|
24
|
-
validateField: (field: Field) => Promise<void>;
|
|
25
|
-
hasInput: () => boolean;
|
|
26
|
-
reset: () => void;
|
|
27
|
-
invalidate: () => void;
|
|
28
|
-
};
|
|
29
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const materialConsumeHistoryColumns: ({
|
|
2
|
-
field: string;
|
|
3
|
-
type: string;
|
|
4
|
-
minWidth: number;
|
|
5
|
-
width: number;
|
|
6
|
-
showOverflow: boolean;
|
|
7
|
-
} | {
|
|
8
|
-
title: string;
|
|
9
|
-
field: string;
|
|
10
|
-
minWidth: number;
|
|
11
|
-
formatter: ({ row }: any) => unknown;
|
|
12
|
-
} | {
|
|
13
|
-
title: string;
|
|
14
|
-
field: string;
|
|
15
|
-
minWidth: number;
|
|
16
|
-
formatter?: undefined;
|
|
17
|
-
})[];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { Doc } from '../../../../../../core';
|
|
3
|
-
/** 被替换物料仅按当前行生产批查询,未选择时阻断;仅允许 SN 查询历史消耗。 */
|
|
4
|
-
export declare function useMaterialSubstitutionSource(doc: Ref<Doc>, enabled: () => boolean, runtimeValuePath: () => string, fieldName: () => string | undefined): {
|
|
5
|
-
message: import('vue').ComputedRef<string>;
|
|
6
|
-
resolveQuery: () => Promise<Record<string, unknown> | null>;
|
|
7
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PlacedFormField } from '../../types/placed-form-field';
|
|
2
|
-
/** 从已保存的 Word 模板数据提取指定类型的拖入字段。 */
|
|
3
|
-
export declare function collectPlacedFieldsFromTemplateJson(runtimeJson: string | object | null | undefined, mainModelKey: string | undefined, fieldType: string): PlacedFormField[];
|
|
4
|
-
/** 按模板 ID 查询已保存 Word 表单中拖入的指定类型字段,无需调用 useWord。 */
|
|
5
|
-
export declare function getPlacedFieldsByType(fieldType: string, templateId: string): Promise<PlacedFormField[]>;
|
|
6
|
-
/** 按模板 ID 查询已保存 Word 表单中拖入的印章字段。 */
|
|
7
|
-
export declare function getPlacedSealFields(templateId: string): Promise<PlacedFormField[]>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ImageWidget } from '../../../core/view/runs/ImageWidget';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
widget: ImageWidget;
|
|
4
|
-
modelId?: string;
|
|
5
|
-
};
|
|
6
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const schema: import('../../../..').PanelSchema;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { DecisionRuleCondition } from '../types';
|
|
2
|
-
import { DecisionRuleFieldOption } from '../utils/decision-rule';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
condition: DecisionRuleCondition;
|
|
5
|
-
fields: DecisionRuleFieldOption[];
|
|
6
|
-
usedFieldValues: string[];
|
|
7
|
-
removable: boolean;
|
|
8
|
-
error?: boolean;
|
|
9
|
-
};
|
|
10
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
|
-
remove: () => any;
|
|
12
|
-
add: () => any;
|
|
13
|
-
change: () => any;
|
|
14
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
onRemove?: (() => any) | undefined;
|
|
16
|
-
onAdd?: (() => any) | undefined;
|
|
17
|
-
onChange?: (() => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { DecisionRuleGroup } from '../types';
|
|
2
|
-
import { DecisionRuleFieldOption } from '../utils/decision-rule';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
group: DecisionRuleGroup;
|
|
5
|
-
fields: DecisionRuleFieldOption[];
|
|
6
|
-
usedFieldValues: string[];
|
|
7
|
-
invalidKeys: Set<string>;
|
|
8
|
-
};
|
|
9
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
|
-
remove: () => any;
|
|
11
|
-
change: () => any;
|
|
12
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
-
onRemove?: (() => any) | undefined;
|
|
14
|
-
onChange?: (() => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Doc } from '../../../../../core';
|
|
2
|
-
import { InspectionDecisionRule } from '../types';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
item: InspectionDecisionRule;
|
|
5
|
-
doc: Doc;
|
|
6
|
-
};
|
|
7
|
-
declare function onSave(): Promise<InspectionDecisionRule | null>;
|
|
8
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
9
|
-
onSave: typeof onSave;
|
|
10
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Doc } from '../../../../../core';
|
|
2
|
-
import { InspectionDecisionRule } from '../types';
|
|
3
|
-
interface InspectionDecisionModalContext {
|
|
4
|
-
item: InspectionDecisionRule;
|
|
5
|
-
doc: Doc;
|
|
6
|
-
}
|
|
7
|
-
export declare function openInspectionDecisionModal(ctx: InspectionDecisionModalContext): Promise<InspectionDecisionRule | null>;
|
|
8
|
-
export {};
|