@gct-paas/word 0.1.62 → 0.1.63-beta.1
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 +1 -1
- package/dist/assets/svgs/table/index.d.ts +2 -0
- package/dist/assets/svgs/toolkit/index.d.ts +10 -0
- package/dist/base/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
- package/dist/base/button/src/button.type.d.ts +1 -1
- package/dist/base/calendar/src/calendar.vue.d.ts +3 -3
- package/dist/base/calendar/src/time.vue.d.ts +2 -2
- package/dist/base/checkbox/src/checkbox-group.vue.d.ts +2 -2
- package/dist/base/checkbox/src/checkbox.vue.d.ts +2 -2
- package/dist/base/color-picker/src/ColorPicker.vue.d.ts +1 -1
- package/dist/base/dropdown/src/dropdown-basic-select.vue.d.ts +2 -2
- package/dist/base/form-item/src/form-item.vue.d.ts +8 -2
- package/dist/base/input/src/input-number.vue.d.ts +4 -4
- package/dist/base/input/src/input.vue.d.ts +9 -9
- package/dist/base/input/src/text-area.vue.d.ts +8 -8
- package/dist/base/modal/src/ModalRoot.vue.d.ts +2 -0
- package/dist/base/modal/src/modal.type.d.ts +4 -0
- package/dist/base/radio/src/radio-group.vue.d.ts +2 -2
- package/dist/base/radio/src/radio.vue.d.ts +2 -2
- package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +3 -3
- package/dist/base/segment-slider/src/segment-slider.vue.d.ts +2 -2
- package/dist/base/select/src/basic-select.vue.d.ts +7 -2
- package/dist/base/select/src/searchable-select.vue.d.ts +2 -2
- package/dist/base/slider/src/slider.vue.d.ts +2 -2
- package/dist/base/switch/src/switch.vue.d.ts +2 -2
- package/dist/base/tree-select/src/tree-select.vue.d.ts +2 -2
- package/dist/base/utils/image-size-util.d.ts +2 -0
- package/dist/core/command/commands/SetWsecSize.d.ts +10 -0
- package/dist/core/command/types.d.ts +10 -2
- package/dist/core/constants/index.d.ts +10 -7
- package/dist/core/cursor/layout/baseMeta.d.ts +1 -1
- package/dist/core/data/DataManager.d.ts +2 -29
- package/dist/core/data/enrichers/build-field-enrichers.d.ts +1 -15
- package/dist/core/data/enrichers/companion-enricher.d.ts +24 -0
- package/dist/core/data/enrichers/enrich-utils.d.ts +6 -0
- package/dist/core/data/enrichers/hydrate-utils.d.ts +6 -0
- package/dist/core/data/enrichers/hyperlink-enricher.d.ts +3 -2
- package/dist/core/data/enrichers/id-enricher.d.ts +1 -1
- package/dist/core/data/enrichers/label-enricher.d.ts +1 -37
- package/dist/core/data/enrichers/label-resolve.d.ts +40 -0
- package/dist/core/data/enrichers/static-label-enrichers.d.ts +1 -1
- package/dist/core/data/index.d.ts +10 -0
- package/dist/core/data/{derived-fields.d.ts → paths/field-paths.d.ts} +0 -10
- package/dist/core/data/paths/path-templates.d.ts +2 -0
- package/dist/core/data/paths/subtable-path.d.ts +43 -0
- package/dist/core/data/post-change-pipeline.d.ts +7 -24
- package/dist/core/data/submit/fields.d.ts +8 -0
- package/dist/core/data/{subtable-row.d.ts → subtable/row.d.ts} +4 -2
- package/dist/core/data/types/change.d.ts +17 -0
- package/dist/core/data/{enricher-types.d.ts → types/enricher.d.ts} +1 -1
- package/dist/core/data/types/index.d.ts +4 -0
- package/dist/core/data/types/pipeline.d.ts +23 -0
- package/dist/core/data/types/runtime-config.d.ts +10 -0
- package/dist/core/data/updates/field-updates.d.ts +27 -0
- package/dist/core/event/handlers/InteractionHandler.d.ts +1 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/interaction/InteractionController.d.ts +5 -0
- package/dist/core/interaction/types.d.ts +10 -1
- package/dist/core/interaction/useInteraction.d.ts +7 -0
- package/dist/core/model/document/WsecPr.d.ts +14 -1
- package/dist/core/model/document/wtcRegionRef.d.ts +2 -2
- package/dist/core/model/logic/subtable/repeating/MaterialConsumeTableRegion.d.ts +3 -0
- package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +14 -1
- package/dist/core/utils/unit-converter-util.d.ts +2 -0
- package/dist/core/view/Doc.d.ts +5 -1
- package/dist/core/view/Section.d.ts +16 -7
- package/dist/core/widget/e-sop-view.d.ts +4 -0
- package/dist/domain/active/active-types.d.ts +12 -2
- package/dist/domain/constants/field-state.d.ts +9 -0
- package/dist/domain/field/field-props-schema-type.d.ts +2 -2
- package/dist/domain/field/field-type.d.ts +29 -1
- package/dist/domain/field/index.d.ts +1 -0
- package/dist/domain/field/of-inst-num/index.d.ts +1 -0
- package/dist/domain/field/of-inst-num/of-inst-num-enricher.d.ts +23 -0
- package/dist/domain/table/business/check/check-table/actions/fetch-check-items.d.ts +9 -0
- package/dist/domain/table/business/check/check-table/actions/index.d.ts +1 -0
- package/dist/domain/table/business/check/check-table/index.d.ts +3 -1
- package/dist/domain/table/business/check/check-table/profile/field-keys.d.ts +48 -0
- package/dist/domain/table/business/check/check-table/profile/index.d.ts +1 -1
- package/dist/{suites/edhr/check-table → domain/table/business/check/check-table/runtime}/check-table-dyn-value.d.ts +4 -4
- package/dist/domain/table/business/check/check-table/runtime/check-table-label-enricher.d.ts +1 -1
- package/dist/{sdk/doc-runtime/check-table → domain/table/business/check/check-table/runtime}/expand-runtime-json.d.ts +10 -6
- package/dist/domain/table/business/check/check-table/runtime/index.d.ts +4 -1
- package/dist/{sdk/doc-runtime/check-table → domain/table/business/check/check-table/runtime}/map-check-table-item-infos.d.ts +2 -4
- package/dist/domain/table/business/check/check-table/runtime/prepare-check-table-init.d.ts +15 -0
- package/dist/{sdk/doc-runtime → domain/table/business/check}/check-table/types.d.ts +13 -8
- package/dist/domain/table/business/material/material-balance/actions/fetch-material-consume-data.d.ts +7 -0
- package/dist/domain/table/business/material/material-balance/actions/index.d.ts +3 -0
- package/dist/domain/table/business/material/material-balance/actions/open-consume-modal.d.ts +7 -0
- package/dist/{suites/edhr/panel-schema/warehouse-inventory-table/WarehouseInventoryTablePanel.vue.d.ts → domain/table/business/material/material-balance/components/material-consume-modal.vue.d.ts} +2 -4
- package/dist/domain/table/business/material/material-balance/index.d.ts +1 -0
- package/dist/domain/table/business/material/material-balance/profile/field-keys.d.ts +25 -0
- package/dist/domain/table/business/material/material-balance/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/material/material-balance/profile/index.d.ts +1 -0
- package/dist/domain/table/business/material/material-balance/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/material/material-balance/runtime/use-consume-modal-cleanup.d.ts +3 -0
- package/dist/domain/table/business/material/material-consume/profile/index.d.ts +1 -0
- package/dist/domain/table/business/material/material-consume/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/material/material-consume/runtime/row-change-handlers.d.ts +2 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/change-parse-rule.d.ts +7 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/index.d.ts +2 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/scan.d.ts +7 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/index.d.ts +2 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +45 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/index.d.ts +3 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/remote-sync-apply.d.ts +2 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/row-change-handlers.d.ts +25 -0
- package/dist/domain/table/business/shared/change-parse-rule.d.ts +10 -0
- package/dist/domain/table/business/shared/scan-action.d.ts +25 -0
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/change-parse-rule.d.ts +7 -0
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/index.d.ts +2 -0
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/scan.d.ts +7 -0
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/index.d.ts +2 -0
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +28 -0
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/index.d.ts +3 -0
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/remote-sync-apply.d.ts +2 -0
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/row-change-handlers.d.ts +5 -0
- package/dist/domain/table/business/warehouse/warehouse-allocate/profile/field-keys.d.ts +0 -3
- package/dist/domain/table/business/warehouse/warehouse-allocate/profile/index.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-in-out/profile/field-keys.d.ts +8 -0
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +10 -14
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/index.d.ts +1 -0
- package/dist/domain/table/design/autofill-expander.d.ts +3 -1
- package/dist/domain/table/runtime/api/biz-service-api.d.ts +2 -0
- package/dist/domain/table/runtime/engines/init-load-engine.d.ts +1 -0
- package/dist/domain/table/runtime/engines/linkage-engine.d.ts +1 -3
- package/dist/domain/table/runtime/engines/remote-sync-engine.d.ts +2 -3
- package/dist/domain/table/runtime/engines/row-runtime-engine.d.ts +1 -2
- package/dist/domain/table/runtime/engines/rule-engine.d.ts +1 -1
- package/dist/domain/table/runtime/row-change-utils.d.ts +25 -0
- package/dist/domain/table/runtime/runtime-handlers.d.ts +15 -11
- package/dist/domain/table/runtime/table-runtime-context.d.ts +4 -4
- package/dist/domain/table/runtime/table-runtime-utils.d.ts +4 -35
- package/dist/domain/table/runtime/table-runtime.d.ts +12 -2
- package/dist/domain/table/types.d.ts +53 -4
- package/dist/index.es.js +30962 -26923
- package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +13 -2
- package/dist/runtime/canvas/table/render/material-consume/tmpl-bom-controller.d.ts +1 -1
- package/dist/runtime/canvas/table/render/material-consume/uom-convert-runtime.d.ts +36 -0
- package/dist/runtime/canvas/table/utils/useTableSelection.d.ts +7 -0
- package/dist/runtime/designer/ribbon/components/text-color-select.vue.d.ts +1 -1
- package/dist/runtime/designer/toolkit/svg/toolkit-svg-icon.vue.d.ts +9 -0
- package/dist/runtime/designer/toolkit/toolkit-item.vue.d.ts +5 -3
- package/dist/runtime/designer/toolkit/toolkit.vue.d.ts +18 -18
- package/dist/runtime/factories/createValidateFactory.d.ts +2 -0
- package/dist/runtime/factories/useFormValidator.d.ts +9 -1
- package/dist/runtime/interface/computed.d.ts +14 -2
- package/dist/runtime/interface/context-defaults.d.ts +9 -0
- package/dist/runtime/interface/fetchers.d.ts +28 -6
- package/dist/runtime/interface/render.d.ts +0 -24
- package/dist/runtime/renderer/dialogs/device-scan/device-scan-dialog.vue.d.ts +20 -20
- package/dist/runtime/renderer/dialogs/signature/logic.d.ts +2 -0
- package/dist/runtime/renderer/dialogs/signature/signature-dialog.vue.d.ts +2 -0
- package/dist/runtime/renderer/dialogs/signature/validate-signature-config.d.ts +5 -0
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/biz.d.ts +22 -0
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/rdo-ref.d.ts +17 -0
- package/dist/runtime/renderer/dropdowns/components/tables/component/device-type-select.vue.d.ts +2 -2
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useTableDropdown.d.ts +1 -1
- package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +20 -20
- package/dist/runtime/renderer/dropdowns/components/tables/strategy/merge-select-source.d.ts +10 -0
- package/dist/runtime/renderer/dropdowns/components/tables/strategy/selectStrategy.d.ts +3 -2
- package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +20 -20
- package/dist/sdk/doc-runtime/composables/useDocOperations.d.ts +3 -0
- package/dist/sdk/doc-runtime/factories/runtime-json-builder.d.ts +2 -2
- package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +1 -12
- package/dist/sdk/engine/index.d.ts +2 -2
- package/dist/sdk/types/index.d.ts +16 -1
- package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +7 -0
- package/dist/suites/edhr/manifest/field/business/of-inst-num-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/logic/e-sop-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/logic/e-sop-version-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/trace/material-container-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/trace/production-container-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/trace/shopfloor-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/trace/sterilization-container-manifest.d.ts +2 -0
- package/dist/suites/edhr/panel-schema/data-init/utils/index.d.ts +3 -1
- package/dist/suites/edhr/panel-schema/entrust-steril-batch-list-table/entrust-steril-batch-list-table.basic.d.ts +1 -0
- package/dist/suites/edhr/panel-schema/index.d.ts +8 -0
- package/dist/suites/edhr/panel-schema/material-balance-table/material-balance-table.basic.d.ts +1 -0
- package/dist/suites/edhr/panel-schema/paper/modules/page-size-config.vue.d.ts +2 -0
- package/dist/suites/edhr/panel-schema/paper/modules/signature-config.vue.d.ts +2 -0
- package/dist/suites/edhr/panel-schema/paper/modules/table-setting-config.vue.d.ts +2 -0
- package/dist/suites/edhr/panel-schema/pretreatment-list-table/pretreatment-list-table.basic.d.ts +1 -0
- package/dist/suites/edhr/panel-schema/rule/RulePanel.vue.d.ts +2 -0
- package/dist/suites/edhr/panel-schema/rule/components/add-rule-button.vue.d.ts +6 -0
- package/dist/suites/edhr/panel-schema/rule/components/field-map-row.vue.d.ts +35 -0
- package/dist/suites/edhr/panel-schema/rule/components/rule-item-card.vue.d.ts +12 -0
- package/dist/suites/edhr/panel-schema/rule/components/rule-section.vue.d.ts +11 -0
- package/dist/suites/edhr/panel-schema/rule/constants/builtin-field-maps.d.ts +10 -0
- package/dist/suites/edhr/panel-schema/rule/modals/open-rule-modal.d.ts +2 -0
- package/dist/suites/edhr/panel-schema/rule/modals/unit-field-map-modal.vue.d.ts +11 -0
- package/dist/suites/edhr/panel-schema/rule/rule.basic.d.ts +5 -0
- package/dist/suites/edhr/panel-schema/rule/types.d.ts +47 -0
- package/dist/suites/edhr/panel-schema/rule/use-rules-config.d.ts +48 -0
- package/dist/suites/edhr/panel-schema/rule/utils/rule-field-map.d.ts +29 -0
- package/dist/suites/edhr/panel-schema/rule/utils/uom-convert-rule.d.ts +26 -0
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/autofill-runtime.d.ts +15 -0
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-node.vue.d.ts +19 -0
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +26 -0
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-utils.d.ts +22 -0
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/from-field-tree-utils.d.ts +5 -0
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/to-field-tree-utils.d.ts +19 -0
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/types.d.ts +11 -0
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/utils.d.ts +2 -0
- package/dist/suites/shared/panel/modules/online-form-tmpl-module/online-form-tmpl-utils.d.ts +3 -0
- package/dist/types/material.type.d.ts +10 -0
- package/dist/utils/TriggerUtil.d.ts +1 -1
- package/dist/utils/composables/usePagesToPdf.d.ts +2 -2
- package/dist/utils/func/core.d.ts +4 -0
- package/dist/utils/func/form.d.ts +8 -0
- package/dist/word.css +1122 -489
- package/package.json +1 -1
- package/dist/core/data/emit-source.d.ts +0 -15
- package/dist/core/data/pipeline-logger.d.ts +0 -72
- package/dist/core/directives/index.d.ts +0 -2
- package/dist/core/directives/stopPointer.d.ts +0 -13
- package/dist/domain/table/business/check/check-table/runtime/check-table-value-fields.d.ts +0 -3
- package/dist/mock/2.d.ts +0 -6
- package/dist/sdk/doc-runtime/check-table/index.d.ts +0 -4
- package/dist/sdk/doc-runtime/check-table/resolve-check-table-item-infos.d.ts +0 -5
- package/dist/suites/edhr/panel-schema/check-table/types.d.ts +0 -20
- package/dist/suites/edhr/panel-schema/warehouse-allocate-table/WarehouseAllocateTablePanel.vue.d.ts +0 -8
package/README.md
CHANGED
|
@@ -221,7 +221,7 @@ if (!errors) {
|
|
|
221
221
|
当前包主入口为 `@gct-paas/word`,可直接使用以下能力:
|
|
222
222
|
|
|
223
223
|
- 初始化 API:`setupPlatformAdapters`、`setupVueRuntime`
|
|
224
|
-
- 引擎/类型:`useWord`、`DocModeTypeConst`、`
|
|
224
|
+
- 引擎/类型:`useWord`、`DocModeTypeConst`、`PaperSizeConst`、`BuiltinComponentTypeConst`、`WordRuntime`、`DocController` 等
|
|
225
225
|
- Vue 组件:`DocDesignLayout`、`DocRenderLayout`、`GctLayout`
|
|
226
226
|
- 插件能力:`registerSuite`、`WordSuitePlugin`、`edhrSuitePlugin`、`registerPanelSchemas`
|
|
227
227
|
|
|
@@ -18,6 +18,8 @@ export declare const TABLE_BUSINESS_SVG: {
|
|
|
18
18
|
readonly 'material-consume': string;
|
|
19
19
|
readonly 'material-balance': string;
|
|
20
20
|
readonly 'check-table': string;
|
|
21
|
+
readonly 'pretreatment-list': string;
|
|
22
|
+
readonly 'entrust-steril-batch-list': string;
|
|
21
23
|
};
|
|
22
24
|
/**
|
|
23
25
|
* Ribbon 下拉项 value → SVG URL
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Toolkit 项图标 */
|
|
2
|
+
export declare const TOOLKIT_SVG: {
|
|
3
|
+
readonly config: string;
|
|
4
|
+
readonly script: string;
|
|
5
|
+
readonly field: string;
|
|
6
|
+
readonly data: string;
|
|
7
|
+
readonly component: string;
|
|
8
|
+
readonly rule: string;
|
|
9
|
+
};
|
|
10
|
+
export type ToolkitSvgKey = keyof typeof TOOLKIT_SVG;
|
|
@@ -13,8 +13,8 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
-
path: string;
|
|
17
16
|
disabled: boolean;
|
|
17
|
+
path: string;
|
|
18
18
|
isLast: boolean;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -11,14 +11,14 @@ type __VLS_Props = {
|
|
|
11
11
|
showClearBtn?: boolean;
|
|
12
12
|
};
|
|
13
13
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
-
change: (value: Date | null) => any;
|
|
15
14
|
"update:modelValue": (value: Date | null) => any;
|
|
15
|
+
change: (value: Date | null) => any;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
-
onChange?: ((value: Date | null) => any) | undefined;
|
|
18
17
|
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
18
|
+
onChange?: ((value: Date | null) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
|
-
mode: "datetime" | "date";
|
|
21
20
|
showClearBtn: boolean;
|
|
21
|
+
mode: "datetime" | "date";
|
|
22
22
|
weekStart: number;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
24
|
export default _default;
|
|
@@ -10,10 +10,10 @@ type __VLS_Props = {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
change: (...args: any[]) => void;
|
|
14
13
|
"update:modelValue": (...args: any[]) => void;
|
|
14
|
+
change: (...args: any[]) => void;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
17
16
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
19
|
export default _default;
|
|
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
change: (...args: any[]) => void;
|
|
17
16
|
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
change: (...args: any[]) => void;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
19
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
disabled: boolean;
|
|
23
23
|
size: string;
|
|
@@ -15,11 +15,11 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
-
change: (...args: any[]) => void;
|
|
19
18
|
"update:modelValue": (...args: any[]) => void;
|
|
19
|
+
change: (...args: any[]) => void;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
21
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
23
23
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
24
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
25
|
export default _default;
|
|
@@ -9,8 +9,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
} & {
|
|
10
10
|
change: (val: string) => any;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
onChange?: ((val: string) => any) | undefined;
|
|
13
12
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
13
|
+
onChange?: ((val: string) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
tooltip: string;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -62,13 +62,13 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
62
62
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
63
63
|
getRef: import('vue').Ref<any, any>;
|
|
64
64
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
65
|
-
change: (...args: any[]) => void;
|
|
66
65
|
edit: (...args: any[]) => void;
|
|
67
66
|
"update:modelValue": (...args: any[]) => void;
|
|
67
|
+
change: (...args: any[]) => void;
|
|
68
68
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
70
69
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
71
70
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
73
|
options: DropdownOption[] | DropdownOptionGroup[];
|
|
74
74
|
showCheck: boolean;
|
|
@@ -2,7 +2,11 @@ type __VLS_Props = {
|
|
|
2
2
|
label?: string;
|
|
3
3
|
inline?: boolean;
|
|
4
4
|
required?: boolean;
|
|
5
|
-
size?:
|
|
5
|
+
size?: 'small' | 'default' | 'large';
|
|
6
|
+
/** 是否取消与上一项之间的间距 */
|
|
7
|
+
disableSpacing?: boolean;
|
|
8
|
+
/** 标签后是否显示冒号 */
|
|
9
|
+
colon?: boolean;
|
|
6
10
|
};
|
|
7
11
|
declare function __VLS_template(): {
|
|
8
12
|
attrs: Partial<{}>;
|
|
@@ -17,8 +21,10 @@ declare function __VLS_template(): {
|
|
|
17
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
22
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
23
|
required: boolean;
|
|
20
|
-
size:
|
|
24
|
+
size: "small" | "default" | "large";
|
|
21
25
|
inline: boolean;
|
|
26
|
+
disableSpacing: boolean;
|
|
27
|
+
colon: boolean;
|
|
22
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
30
|
export default _default;
|
|
@@ -32,13 +32,13 @@ declare function __VLS_template(): {
|
|
|
32
32
|
};
|
|
33
33
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
34
34
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
35
|
-
blur: () => any;
|
|
36
|
-
change: (val: string | number | null) => any;
|
|
37
35
|
"update:modelValue": (val: string | number | null) => any;
|
|
36
|
+
change: (val: string | number | null) => any;
|
|
37
|
+
blur: () => any;
|
|
38
38
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
|
-
onBlur?: (() => any) | undefined;
|
|
40
|
-
onChange?: ((val: string | number | null) => any) | undefined;
|
|
41
39
|
"onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
|
|
40
|
+
onChange?: ((val: string | number | null) => any) | undefined;
|
|
41
|
+
onBlur?: (() => any) | undefined;
|
|
42
42
|
}>, {
|
|
43
43
|
disabled: boolean;
|
|
44
44
|
modelValue: ValueType;
|
|
@@ -19,26 +19,26 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
19
19
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
20
20
|
input: (value: string | number, event: Event) => any;
|
|
21
21
|
search: (value: string | number) => any;
|
|
22
|
-
|
|
23
|
-
change: (value: string | number, event: Event) => any;
|
|
22
|
+
clear: () => any;
|
|
24
23
|
focus: (event: FocusEvent) => any;
|
|
24
|
+
"update:modelValue": (value: string | number) => any;
|
|
25
|
+
change: (value: string | number, event: Event) => any;
|
|
26
|
+
blur: (event: FocusEvent) => any;
|
|
25
27
|
keydown: (event: KeyboardEvent) => any;
|
|
26
28
|
keypress: (event: KeyboardEvent) => any;
|
|
27
29
|
keyup: (event: KeyboardEvent) => any;
|
|
28
|
-
clear: () => any;
|
|
29
|
-
"update:modelValue": (value: string | number) => any;
|
|
30
30
|
pressEnter: (event: KeyboardEvent) => any;
|
|
31
31
|
}, string, import('vue').PublicProps, Readonly<GctInputProps> & Readonly<{
|
|
32
32
|
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
33
33
|
onSearch?: ((value: string | number) => any) | undefined;
|
|
34
|
-
|
|
35
|
-
onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
34
|
+
onClear?: (() => any) | undefined;
|
|
36
35
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
36
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
37
|
+
onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
38
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
37
39
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
38
40
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
39
41
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
40
|
-
onClear?: (() => any) | undefined;
|
|
41
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
42
42
|
onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
43
43
|
}>, {
|
|
44
44
|
name: string;
|
|
@@ -47,8 +47,8 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
47
47
|
readonly: boolean;
|
|
48
48
|
disabled: boolean;
|
|
49
49
|
size: import('./types').InputSize;
|
|
50
|
-
suffix: string;
|
|
51
50
|
placeholder: string;
|
|
51
|
+
suffix: string;
|
|
52
52
|
modelValue: string | number;
|
|
53
53
|
prefix: string;
|
|
54
54
|
addonBefore: string;
|
|
@@ -17,26 +17,26 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
17
17
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
18
|
input: (value: string | number, event: Event) => any;
|
|
19
19
|
search: (value: string | number) => any;
|
|
20
|
-
|
|
21
|
-
change: (value: string | number, event: Event) => any;
|
|
20
|
+
clear: () => any;
|
|
22
21
|
focus: (event: FocusEvent) => any;
|
|
22
|
+
"update:modelValue": (value: string | number) => any;
|
|
23
|
+
change: (value: string | number, event: Event) => any;
|
|
24
|
+
blur: (event: FocusEvent) => any;
|
|
23
25
|
keydown: (event: KeyboardEvent) => any;
|
|
24
26
|
keypress: (event: KeyboardEvent) => any;
|
|
25
27
|
keyup: (event: KeyboardEvent) => any;
|
|
26
|
-
clear: () => any;
|
|
27
|
-
"update:modelValue": (value: string | number) => any;
|
|
28
28
|
pressEnter: (event: KeyboardEvent) => any;
|
|
29
29
|
}, string, import('vue').PublicProps, Readonly<GctInputProps> & Readonly<{
|
|
30
30
|
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
31
31
|
onSearch?: ((value: string | number) => any) | undefined;
|
|
32
|
-
|
|
33
|
-
onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
32
|
+
onClear?: (() => any) | undefined;
|
|
34
33
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
34
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
35
|
+
onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
36
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
35
37
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
36
38
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
37
39
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
38
|
-
onClear?: (() => any) | undefined;
|
|
39
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
40
40
|
onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
41
41
|
}>, {
|
|
42
42
|
name: string;
|
|
@@ -14,6 +14,8 @@ declare const _default: import('vue').DefineComponent<IModalProps, {}, {}, {}, {
|
|
|
14
14
|
confirmText: string;
|
|
15
15
|
confirmContinueText: string;
|
|
16
16
|
cancelText: string;
|
|
17
|
+
draggable: boolean;
|
|
18
|
+
showMask: boolean;
|
|
17
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
20
|
bodyRef: unknown;
|
|
19
21
|
}, any>;
|
|
@@ -24,6 +24,10 @@ export interface IModalOptions {
|
|
|
24
24
|
confirmText?: string;
|
|
25
25
|
confirmContinueText?: string;
|
|
26
26
|
cancelText?: string;
|
|
27
|
+
/** 是否可拖拽移动 */
|
|
28
|
+
draggable?: boolean;
|
|
29
|
+
/** 是否显示遮罩,draggable 时默认 false */
|
|
30
|
+
showMask?: boolean;
|
|
27
31
|
onConfirm?: (ins: IModalInstance) => Promise<void> | void;
|
|
28
32
|
onConfirmContinue?: (ins: IModalInstance) => Promise<void> | void;
|
|
29
33
|
onCancel?: (ins: IModalInstance) => Promise<void> | void;
|
|
@@ -14,11 +14,11 @@ declare function __VLS_template(): {
|
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
-
change: (...args: any[]) => void;
|
|
18
17
|
"update:modelValue": (...args: any[]) => void;
|
|
18
|
+
change: (...args: any[]) => void;
|
|
19
19
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
21
20
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
size: string;
|
|
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
change: (...args: any[]) => void;
|
|
17
16
|
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
change: (...args: any[]) => void;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
19
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
@@ -14,18 +14,18 @@ type __VLS_Props = {
|
|
|
14
14
|
showSearch?: boolean;
|
|
15
15
|
};
|
|
16
16
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
-
change: (value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any;
|
|
18
17
|
"update:modelValue": (value?: string | null | undefined) => any;
|
|
18
|
+
change: (value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any;
|
|
19
19
|
"update:fullPathValue": (value?: string | null | undefined) => any;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
-
onChange?: ((value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any) | undefined;
|
|
22
21
|
"onUpdate:modelValue"?: ((value?: string | null | undefined) => any) | undefined;
|
|
22
|
+
onChange?: ((value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any) | undefined;
|
|
23
23
|
"onUpdate:fullPathValue"?: ((value?: string | null | undefined) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
disabled: boolean;
|
|
26
26
|
modelCategory: string;
|
|
27
|
-
pageSize: number;
|
|
28
27
|
placeholder: string;
|
|
28
|
+
pageSize: number;
|
|
29
29
|
popperWidth: number;
|
|
30
30
|
allowClear: boolean;
|
|
31
31
|
disabledParent: boolean;
|
|
@@ -18,11 +18,11 @@ type __VLS_Props = {
|
|
|
18
18
|
multiple?: boolean;
|
|
19
19
|
};
|
|
20
20
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
|
-
change: (v: any) => any;
|
|
22
21
|
"update:modelValue": (v: any) => any;
|
|
22
|
+
change: (v: any) => any;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
-
onChange?: ((v: any) => any) | undefined;
|
|
25
24
|
"onUpdate:modelValue"?: ((v: any) => any) | undefined;
|
|
25
|
+
onChange?: ((v: any) => any) | undefined;
|
|
26
26
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
27
|
rootRef: HTMLDivElement;
|
|
28
28
|
}, HTMLDivElement>;
|
|
@@ -22,6 +22,10 @@ type __VLS_Props = {
|
|
|
22
22
|
disabled?: boolean;
|
|
23
23
|
/** 不显示右侧箭头 */
|
|
24
24
|
noArrow?: boolean;
|
|
25
|
+
/** 是否允许清除 */
|
|
26
|
+
allowClear?: boolean;
|
|
27
|
+
/** 弹窗选择模式:编辑态外观,点击不展开下拉 */
|
|
28
|
+
picker?: boolean;
|
|
25
29
|
/** 是否需要分组展示 */
|
|
26
30
|
grouped?: boolean;
|
|
27
31
|
};
|
|
@@ -58,17 +62,18 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
58
62
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
59
63
|
getRef: import('vue').Ref<any, any>;
|
|
60
64
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
61
|
-
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
62
65
|
edit: (option: DropdownOption) => any;
|
|
63
66
|
"update:modelValue": (val: string | number | (string | number)[]) => any;
|
|
67
|
+
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
64
68
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
65
|
-
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
66
69
|
onEdit?: ((option: DropdownOption) => any) | undefined;
|
|
67
70
|
"onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
|
|
71
|
+
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
68
72
|
}>, {
|
|
69
73
|
disabled: boolean;
|
|
70
74
|
options: DropdownOption[];
|
|
71
75
|
placeholder: string;
|
|
76
|
+
allowClear: boolean;
|
|
72
77
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
73
78
|
dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
74
79
|
P: {};
|
|
@@ -9,11 +9,11 @@ type __VLS_Props = {
|
|
|
9
9
|
popperWidth?: number;
|
|
10
10
|
};
|
|
11
11
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
-
change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
|
|
13
12
|
"update:modelValue": (val?: string | number | undefined) => any;
|
|
13
|
+
change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
|
|
16
15
|
"onUpdate:modelValue"?: ((val?: string | number | undefined) => any) | undefined;
|
|
16
|
+
onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
readonly: boolean;
|
|
19
19
|
disabled: boolean;
|
|
@@ -6,11 +6,11 @@ type __VLS_Props = {
|
|
|
6
6
|
tooltipConvert?: (v: number) => string | number;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
-
change: (...args: any[]) => void;
|
|
10
9
|
"update:modelValue": (...args: any[]) => void;
|
|
10
|
+
change: (...args: any[]) => void;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
13
12
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
modelValue: number;
|
|
16
16
|
step: number;
|
|
@@ -4,11 +4,11 @@ type __VLS_Props = {
|
|
|
4
4
|
size?: string;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
change: (...args: any[]) => void;
|
|
8
7
|
"update:modelValue": (...args: any[]) => void;
|
|
8
|
+
change: (...args: any[]) => void;
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
11
10
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
size: string;
|
|
@@ -22,13 +22,13 @@ type __VLS_Props = {
|
|
|
22
22
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
23
23
|
getRef: import('vue').Ref<any, any>;
|
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
25
|
-
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
26
25
|
edit: (option: DropdownOption) => any;
|
|
27
26
|
"update:modelValue": (val: string | number | (string | number)[]) => any;
|
|
27
|
+
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
28
28
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
-
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
30
29
|
onEdit?: ((option: DropdownOption) => any) | undefined;
|
|
31
30
|
"onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
|
|
31
|
+
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
placeholder: string;
|
|
34
34
|
popperWidth: number;
|
|
@@ -16,5 +16,7 @@ export interface ImageSizeOptions {
|
|
|
16
16
|
* 根据图片原始尺寸 + 配置,计算最终显示尺寸
|
|
17
17
|
*/
|
|
18
18
|
export declare function computeImageDisplaySize(natural: ImageSize, opts?: ImageSizeOptions): ImageSize;
|
|
19
|
+
/** 将签名姓名绘制为图片 DataURL */
|
|
20
|
+
export declare function createSignatureImageDataUrl(name: string, width: number, height: number): string;
|
|
19
21
|
/** 创建签名图片 */
|
|
20
22
|
export declare function createSignatureImage(name: string, width: number, height: number): Promise<unknown>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Doc } from '../../view/Doc';
|
|
2
|
+
import { CommandPayloadMap } from '../types';
|
|
3
|
+
import { CommandBase, PostCommandContext } from '../base/CommandBase';
|
|
4
|
+
/**
|
|
5
|
+
* 设置 Wsec 大小
|
|
6
|
+
*/
|
|
7
|
+
export declare class SetWsecSize extends CommandBase {
|
|
8
|
+
constructor(doc: Doc, payload: CommandPayloadMap['setWsecSize']);
|
|
9
|
+
protected execute(): Promise<PostCommandContext>;
|
|
10
|
+
}
|
|
@@ -4,6 +4,7 @@ import { WidgetMeta } from '../widget/widget-meta';
|
|
|
4
4
|
import { WordHighlight } from '../model/types';
|
|
5
5
|
import { PointerHitResult } from '../cursor/hit/types';
|
|
6
6
|
import { SubTableLayoutType, SubTableRegionType } from '../model/document/wtcRegionRef';
|
|
7
|
+
import { PaperSize } from '../constants';
|
|
7
8
|
export interface CursorMeta {
|
|
8
9
|
nodeId: string;
|
|
9
10
|
offset: number;
|
|
@@ -27,6 +28,7 @@ export interface ICommand<T extends CommandType = CommandType> {
|
|
|
27
28
|
}
|
|
28
29
|
export type CommandConstructor = new (doc: Doc, payload?: any) => ICommand<any>;
|
|
29
30
|
export declare const CommandType: {
|
|
31
|
+
readonly setWsecSize: "setWsecSize";
|
|
30
32
|
readonly setOrient: "setOrient";
|
|
31
33
|
readonly setPadding: "setPadding";
|
|
32
34
|
readonly setHeaderFooterConfig: "setHeaderFooterConfig";
|
|
@@ -112,13 +114,19 @@ export type CommandPayloadMap = {
|
|
|
112
114
|
delete: CommandPayload & Record<string, never>;
|
|
113
115
|
backspace: CommandPayload & Record<string, never>;
|
|
114
116
|
enter: CommandPayload & Record<string, never>;
|
|
117
|
+
setWsecSize: CommandPayload & {
|
|
118
|
+
paperSize: PaperSize;
|
|
119
|
+
twipWidth: number;
|
|
120
|
+
twipHeight: number;
|
|
121
|
+
secRefId: string;
|
|
122
|
+
};
|
|
115
123
|
setOrient: CommandPayload & {
|
|
116
124
|
orient: VOrientationType;
|
|
117
|
-
|
|
125
|
+
secRefId: string;
|
|
118
126
|
};
|
|
119
127
|
setPadding: CommandPayload & {
|
|
120
128
|
padding: [number, number, number, number];
|
|
121
|
-
|
|
129
|
+
secRefId: string;
|
|
122
130
|
};
|
|
123
131
|
setHeaderFooterConfig: CommandPayload & {
|
|
124
132
|
headerMargin?: number;
|
|
@@ -36,7 +36,7 @@ export declare const DocModeTypeConst: {
|
|
|
36
36
|
};
|
|
37
37
|
export type DocModeType = ValueOf<typeof DocModeTypeConst>;
|
|
38
38
|
/** 纸张大小 */
|
|
39
|
-
export declare const
|
|
39
|
+
export declare const PaperSizeConst: {
|
|
40
40
|
/** A3 */
|
|
41
41
|
readonly A3: "A3";
|
|
42
42
|
/** A4 */
|
|
@@ -46,13 +46,16 @@ export declare const PageSizeEnumConst: {
|
|
|
46
46
|
/** 自定义 */
|
|
47
47
|
readonly CUSTOM: "CUSTOM";
|
|
48
48
|
};
|
|
49
|
+
export type PaperSize = ValueOf<typeof PaperSizeConst>;
|
|
50
|
+
export type StandardPaperSize = Exclude<PaperSize, 'CUSTOM'>;
|
|
51
|
+
export interface IPaperInfo {
|
|
52
|
+
paperSize: PaperSize;
|
|
53
|
+
mmWidth: number;
|
|
54
|
+
mmHeight: number;
|
|
55
|
+
}
|
|
49
56
|
/** 纸张大小 单位: mm */
|
|
50
|
-
export declare const
|
|
51
|
-
|
|
52
|
-
A4: number[];
|
|
53
|
-
A5: number[];
|
|
54
|
-
};
|
|
55
|
-
export type PageSizeEnum = ValueOf<typeof PageSizeEnumConst>;
|
|
57
|
+
export declare const PaperSizeMmMap: Record<StandardPaperSize, [number, number]>;
|
|
58
|
+
/** 默认纸张大小 单位: mm */
|
|
56
59
|
export declare const DEFAULT_PAGE_SIZE: {
|
|
57
60
|
width: number;
|
|
58
61
|
height: number;
|
|
@@ -7,8 +7,8 @@ export declare function getBaseMetaInfo(node: BaseMetaNode): {
|
|
|
7
7
|
isPlaceholder: boolean;
|
|
8
8
|
/** model 侧 run 的 id,布局重建后可用于重锚定 */
|
|
9
9
|
modelId: string | undefined;
|
|
10
|
-
path: string[];
|
|
11
10
|
id: string;
|
|
11
|
+
path: string[];
|
|
12
12
|
pathIndex: number[];
|
|
13
13
|
pageId: string;
|
|
14
14
|
preId: string;
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
import { Doc } from '../view/Doc';
|
|
2
|
-
import { PostChangePipelineContext } from './
|
|
3
|
-
import { EmitSource } from './emit-source';
|
|
4
|
-
export type { EmitSource } from './emit-source';
|
|
5
|
-
export { EMIT_SOURCE_DESC } from './emit-source';
|
|
6
|
-
/** 单字段变更明细(path 作为 FieldChangeMap 的 key) */
|
|
7
|
-
export interface FieldChangeDetail {
|
|
8
|
-
oldValue: unknown;
|
|
9
|
-
newValue: unknown;
|
|
10
|
-
source: EmitSource;
|
|
11
|
-
}
|
|
12
|
-
/** 本批次字段变更:path → 变更明细 */
|
|
13
|
-
export type FieldChangeMap = Record<string, FieldChangeDetail>;
|
|
14
|
-
export type Data = Record<string, any>;
|
|
15
|
-
export type PartialData = Partial<Data>;
|
|
2
|
+
import { EmitSource, Data, PartialData, FieldRuntimeSpecificConfig, PostChangePipelineContext } from './types';
|
|
16
3
|
type JsonPath = string;
|
|
17
4
|
type SubscriptionCallback = (newValue: any, oldValue: any) => void;
|
|
18
|
-
/** 组件依赖按 runtime valuePath 写入的运行时配置(子表各行独立) */
|
|
19
|
-
export type FieldRuntimeSpecificConfig = {
|
|
20
|
-
newReadonly?: boolean;
|
|
21
|
-
newRequired?: boolean;
|
|
22
|
-
newDisabled?: boolean;
|
|
23
|
-
/** assignment 策略「始终覆盖」时按行不可输入 */
|
|
24
|
-
cannotInput?: boolean;
|
|
25
|
-
};
|
|
26
5
|
/**
|
|
27
6
|
* 数据管理器
|
|
28
7
|
* 用于保存和操作原始 JSON 数据,支持基于 jsonpath 的读写操作
|
|
@@ -257,18 +236,11 @@ export declare class DataManager {
|
|
|
257
236
|
* 不处理主体轴(如 f_ewb / f_jianyan1),避免覆盖接口行或误扩纵向轴。
|
|
258
237
|
*/
|
|
259
238
|
private syncSubTableRowsToLayout;
|
|
260
|
-
/** 子表在 rawData 中的行数(支持尚未转成数组的 { data: [] } 接口形态,此时返回 0 且不在此阶段强转) */
|
|
261
|
-
private countSubTableDataRows;
|
|
262
239
|
/**
|
|
263
240
|
* 为检验表关联轴补足铺砖行:占位标记 + __gw_x_uid(与 push/insert 行为一致)。
|
|
264
241
|
*/
|
|
265
242
|
private ensureCheckTableLinkLayoutRows;
|
|
266
243
|
private applyInitDataCrossWildcard;
|
|
267
|
-
/**
|
|
268
|
-
* 解析子表初始化行数:接口已有行数、版面数据分组槽位。
|
|
269
|
-
* layoutRows 为 0(如二维表纵向 f_ewb)时不按分组扩行,仅保证至少 1 行可绑定。
|
|
270
|
-
*/
|
|
271
|
-
private resolveInitRowCount;
|
|
272
244
|
/**
|
|
273
245
|
* 将子表数组补齐到指定行数。
|
|
274
246
|
* @param asPlaceholder true:push/insert 用的系统占位行(带 __gw_default);false:applyInitData 物化行(空对象)
|
|
@@ -387,3 +359,4 @@ export declare class DataManager {
|
|
|
387
359
|
*/
|
|
388
360
|
clear(): void;
|
|
389
361
|
}
|
|
362
|
+
export {};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Doc } from '../../view/Doc';
|
|
2
|
-
import {
|
|
3
|
-
import { PostChangePipelineContext } from '../post-change-pipeline';
|
|
4
|
-
import { DataEnricherRegistration } from '../enricher-types';
|
|
2
|
+
import { PostChangePipelineContext, DataEnricherRegistration } from '../types';
|
|
5
3
|
import { FieldComputedConfig } from '../../../domain/field/field-props-schema-type';
|
|
6
4
|
/**
|
|
7
5
|
* 解析 enricher 用的 widget props
|
|
@@ -16,15 +14,3 @@ export declare function resolveEnricherWidgetProps(instance: {
|
|
|
16
14
|
}): Record<string, unknown>;
|
|
17
15
|
/** 根据文档 widget 列表构建全部 enricher 注册项 */
|
|
18
16
|
export declare function buildFieldEnricherRegistrations(instances: any[], ctx: PostChangePipelineContext, doc: Doc): DataEnricherRegistration[];
|
|
19
|
-
/**
|
|
20
|
-
* 将设计/初始化路径模板展开为运行时具体路径(含 [n] / [n_y][n_x])
|
|
21
|
-
*/
|
|
22
|
-
export declare function expandInitPathTemplates(templatePath: string, rawData: Record<string, any>): string[];
|
|
23
|
-
/**
|
|
24
|
-
* 收集 init / 换数后需要跑 hydrate 的运行时路径(仅 rawData 中已有值的字段)
|
|
25
|
-
*/
|
|
26
|
-
export declare function collectInitialEnrichPaths(instances: Wr[], rawData: Record<string, any>): string[];
|
|
27
|
-
/** 收集子表指定行的 widget 字段路径(扫码 / 批量写行后补跑 label enrich) */
|
|
28
|
-
export declare function collectSubtableRowEnrichPaths(instances: Wr[], subFieldKey: string, rowIndexes: number[]): string[];
|
|
29
|
-
/** 子表指定行补跑 label / 派生字段 hydrate(enrichment 或整表 user 写入后不触发 enricher) */
|
|
30
|
-
export declare function hydrateSubtableRowLabels(doc: Doc, subFieldKey: string, rowIndexes: number[]): Promise<void>;
|