@gct-paas/word 0.2.41-beta.1 → 0.2.41-beta.2

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.
@@ -26,5 +26,6 @@ export * from './tree';
26
26
  export * from './tree-select';
27
27
  export * from './rdo-tree-select';
28
28
  export * from './date-time-picker';
29
+ export * from './time-picker';
29
30
  export * from './color-picker';
30
31
  export * from './avatar';
@@ -0,0 +1 @@
1
+ export { default as GctTimePicker } from './src/TimePicker.vue';
@@ -0,0 +1,29 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string;
3
+ format?: 'HH:mm:ss' | 'HH:mm' | 'HH';
4
+ placeholder?: string;
5
+ disabled?: boolean;
6
+ /** 最早可以选择的时间,例如 08:30:00。 */
7
+ minTime?: string;
8
+ /** 最晚可以选择的时间,例如 18:00:00。 */
9
+ maxTime?: string;
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
+ "update:modelValue": (value: string | undefined) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
15
+ }>, {
16
+ placeholder: string;
17
+ disabled: boolean;
18
+ format: "HH:mm:ss" | "HH:mm" | "HH";
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
20
+ dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
21
+ P: {};
22
+ B: {};
23
+ D: {};
24
+ C: {};
25
+ M: {};
26
+ Defaults: {};
27
+ }, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
28
+ }, HTMLDivElement>;
29
+ export default _default;
@@ -386,8 +386,9 @@ export declare class DataManager {
386
386
  * @param targetPath 依赖值计算后需写入的字段路径
387
387
  * @param expr 计算公式字符串
388
388
  * @param callback 回调函数
389
+ * @param skipWriteOnUndefined 整条公式返回 undefined 时是否跳过赋值
389
390
  */
390
- registerFieldDependency(targetPath: string, expr: string, callback?: (res: any) => any): void;
391
+ registerFieldDependency(targetPath: string, expr: string, callback?: (res: any) => any, skipWriteOnUndefined?: boolean): void;
391
392
  /** 收集依赖 */
392
393
  private collectDependencies;
393
394
  /** 统一执行组件依赖 */
@@ -0,0 +1,4 @@
1
+ import { Doc } from '../../view/Doc';
2
+ import { Wr } from '../../model/document';
3
+ /** 未填报且未保存的表单依次使用已有值、模板默认值、检验事务收检数量。 */
4
+ export declare function initializeReceivedQty(doc: Doc, instances: readonly Wr[]): Promise<void>;
@@ -346,6 +346,8 @@ export declare const BUSINESS_FIELD_TYPE: {
346
346
  * 检验数量
347
347
  */
348
348
  readonly INSPECTION_MODULE_QTY: "inspection_module_qty";
349
+ /** 收检数量 */
350
+ readonly QUANTITY_RECEIVED_QTY: "quantity_received_qty";
349
351
  /**
350
352
  * 工序接收数量
351
353
  */
@@ -598,6 +600,8 @@ export declare const FIELD_TYPE: {
598
600
  * 检验数量
599
601
  */
600
602
  readonly INSPECTION_MODULE_QTY: "inspection_module_qty";
603
+ /** 收检数量 */
604
+ readonly QUANTITY_RECEIVED_QTY: "quantity_received_qty";
601
605
  /**
602
606
  * 工序接收数量
603
607
  */