clickgo 5.18.1 → 5.18.3

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.
@@ -645,12 +645,24 @@ export interface INotifyContentOptions {
645
645
  }
646
646
  /** --- Dialog 选项 --- */
647
647
  export interface IFormDialogOptions {
648
+ /** --- dialog 窗体标题,不传则使用默认标题 dialog --- */
648
649
  'title'?: string;
650
+ /** --- dialog 内容,支持直接传布局字符串 --- */
649
651
  'content': string;
652
+ /** --- 底部按钮文本列表,默认使用当前语言的确定按钮文本 --- */
650
653
  'buttons'?: string[];
654
+ /** --- 点击按钮后是否自动将按钮文本写入 dialogResult,默认 true --- */
651
655
  'autoDialogResult'?: boolean;
656
+ /** --- dialog 控件内容布局方向,h 为横向,v 为纵向 --- */
652
657
  'direction'?: 'h' | 'v';
658
+ /** --- dialog 控件内容区项目间距,会透传给 dialog 控件 --- */
653
659
  'gutter'?: number | string;
660
+ /** --- dialog 控件宽度,传数字时为像素值,传 fill 时代表填充可用宽度 --- */
661
+ 'width'?: number | string;
662
+ /** --- dialog 控件高度,传数字时为像素值,传 fill 时代表填充可用高度 --- */
663
+ 'height'?: number | string;
664
+ /** --- dialog 控件内容区是否显示内边距,默认表现与控件自身一致 --- */
665
+ 'padding'?: boolean | string;
654
666
  /** --- 传值,需要用 data.x 读取 --- */
655
667
  'data'?: Record<string, any>;
656
668
  /** --- 传值,需要用 methods.x 读取 --- */