@wlydfe/pro-ui 0.2.8 → 0.2.10

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.
Files changed (53) hide show
  1. package/es/components/form/src/index.vue2.mjs +5 -5
  2. package/es/components/page/index.d.ts +48 -3
  3. package/es/components/page/src/index.vue.d.ts +52 -97
  4. package/es/components/search/src/index.vue2.mjs +1 -1
  5. package/es/components/table/index.d.ts +19 -0
  6. package/es/components/table/src/index.vue.d.ts +3 -0
  7. package/es/components/table/src/index.vue2.mjs +5 -3
  8. package/es/components/table/src/table-action-bar.vue.d.ts +6 -2
  9. package/es/components/table/src/table-action-bar.vue2.mjs +3 -1
  10. package/es/components/table/src/table-column-index.vue2.mjs +1 -1
  11. package/es/components/table/src/table-column.vue2.mjs +8 -1
  12. package/es/components/table/src/type.d.ts +2 -0
  13. package/es/directives/click/index.mjs +1 -0
  14. package/es/index.css +13 -13
  15. package/index.js +24 -13
  16. package/index.min.js +2 -2
  17. package/index.min.mjs +2 -2
  18. package/index.mjs +24 -13
  19. package/lib/components/form/src/index.vue2.js +5 -5
  20. package/lib/components/page/index.d.ts +48 -3
  21. package/lib/components/page/src/index.vue.d.ts +52 -97
  22. package/lib/components/search/src/index.vue2.js +1 -1
  23. package/lib/components/table/index.d.ts +19 -0
  24. package/lib/components/table/src/index.vue.d.ts +3 -0
  25. package/lib/components/table/src/index.vue2.js +5 -3
  26. package/lib/components/table/src/table-action-bar.vue.d.ts +6 -2
  27. package/lib/components/table/src/table-action-bar.vue2.js +3 -1
  28. package/lib/components/table/src/table-column-index.vue2.js +1 -1
  29. package/lib/components/table/src/table-column.vue2.js +8 -1
  30. package/lib/components/table/src/type.d.ts +2 -0
  31. package/lib/directives/click/index.js +1 -0
  32. package/lib/{index.css → display-item.css} +14 -14
  33. package/locale/en.js +1 -1
  34. package/locale/en.min.js +1 -1
  35. package/locale/en.min.mjs +1 -1
  36. package/locale/en.mjs +1 -1
  37. package/locale/ja.js +1 -1
  38. package/locale/ja.min.js +1 -1
  39. package/locale/ja.min.mjs +1 -1
  40. package/locale/ja.mjs +1 -1
  41. package/locale/ko.js +1 -1
  42. package/locale/ko.min.js +1 -1
  43. package/locale/ko.min.mjs +1 -1
  44. package/locale/ko.mjs +1 -1
  45. package/locale/zh-cn.js +1 -1
  46. package/locale/zh-cn.min.js +1 -1
  47. package/locale/zh-cn.min.mjs +1 -1
  48. package/locale/zh-cn.mjs +1 -1
  49. package/locale/zh-tw.js +1 -1
  50. package/locale/zh-tw.min.js +1 -1
  51. package/locale/zh-tw.min.mjs +1 -1
  52. package/locale/zh-tw.mjs +1 -1
  53. package/package.json +1 -1
@@ -17,7 +17,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  modelValue: { default: () => ({}) },
18
18
  defaultValues: { default: () => ({}) },
19
19
  columns: { default: () => [] },
20
- labelWidth: { default: "80px" },
20
+ labelWidth: { default: "110px" },
21
21
  labelPosition: { default: "left" },
22
22
  rowProps: { default: () => ({}) },
23
23
  colProps: { default: () => ({}) },
@@ -140,7 +140,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
140
140
  }), {
141
141
  default: withCtx(() => [
142
142
  renderSlot(_ctx.$slots, "default", {}, () => [
143
- createCommentVNode(" \u5206\u7EC4\u8868\u5355 "),
143
+ createCommentVNode(" group form "),
144
144
  subGroup.value ? (openBlock(true), createElementBlock(
145
145
  Fragment,
146
146
  { key: 0 },
@@ -220,7 +220,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
220
220
  Fragment,
221
221
  { key: 1 },
222
222
  [
223
- createCommentVNode(" \u666E\u901A\u8868\u5355 "),
223
+ createCommentVNode(" normal form "),
224
224
  createVNode(PlusFormContent, {
225
225
  modelValue: values.value,
226
226
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => values.value = $event),
@@ -264,7 +264,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
264
264
  onClick: handleReset
265
265
  }, {
266
266
  default: withCtx(() => [
267
- createCommentVNode(" \u91CD\u7F6E "),
267
+ createCommentVNode(" reset "),
268
268
  createTextVNode(
269
269
  " " + toDisplayString(_ctx.resetText || unref(t)("plus.form.resetText")),
270
270
  1
@@ -280,7 +280,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
280
280
  onClick: handleSubmit
281
281
  }, {
282
282
  default: withCtx(() => [
283
- createCommentVNode(" \u63D0\u4EA4 "),
283
+ createCommentVNode(" submit "),
284
284
  createTextVNode(
285
285
  " " + toDisplayString(_ctx.submitText || unref(t)("plus.form.submitText")),
286
286
  1
@@ -2896,6 +2896,7 @@ export declare const PlusPage: {
2896
2896
  $: ComponentInternalInstance;
2897
2897
  $data: {};
2898
2898
  $props: Partial<{
2899
+ showOverflowTooltip: boolean;
2899
2900
  columns: PlusColumn[];
2900
2901
  data: RecordType[];
2901
2902
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -2939,6 +2940,7 @@ export declare const PlusPage: {
2939
2940
  timeout?: number | undefined;
2940
2941
  };
2941
2942
  }> & Omit<{
2943
+ readonly showOverflowTooltip: boolean;
2942
2944
  readonly columns: PlusColumn[];
2943
2945
  readonly data: RecordType[];
2944
2946
  readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -2995,6 +2997,10 @@ export declare const PlusPage: {
2995
2997
  onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
2996
2998
  onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
2997
2999
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
3000
+ showOverflowTooltip: {
3001
+ type: PropType<boolean>;
3002
+ default: boolean;
3003
+ };
2998
3004
  columns: {
2999
3005
  type: PropType< PlusColumn[]>;
3000
3006
  default: () => never[];
@@ -3136,7 +3142,7 @@ export declare const PlusPage: {
3136
3142
  "onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
3137
3143
  onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
3138
3144
  onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
3139
- }, "columns" | "data" | "headerCellStyle" | "rowKey" | "tableData" | "defaultSize" | "pagination" | "actionBar" | "hasIndexColumn" | "titleBar" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "dragSortableTableColumnProps" | "indexTableColumnProps" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "indexContentStyle" | "editable" | "adaptive">;
3145
+ }, "showOverflowTooltip" | "columns" | "data" | "headerCellStyle" | "rowKey" | "tableData" | "defaultSize" | "pagination" | "actionBar" | "hasIndexColumn" | "titleBar" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "dragSortableTableColumnProps" | "indexTableColumnProps" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "indexContentStyle" | "editable" | "adaptive">;
3140
3146
  $attrs: {
3141
3147
  [x: string]: unknown;
3142
3148
  };
@@ -3151,6 +3157,10 @@ export declare const PlusPage: {
3151
3157
  $emit: ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "refresh") => void) & ((event: "edited") => void) & ((event: "cell-click", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "cell-dblclick", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "filterTableHeader", columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void) & ((event: "radioChange", row: RecordType, index: number, value: boolean) => void);
3152
3158
  $el: any;
3153
3159
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
3160
+ showOverflowTooltip: {
3161
+ type: PropType<boolean>;
3162
+ default: boolean;
3163
+ };
3154
3164
  columns: {
3155
3165
  type: PropType< PlusColumn[]>;
3156
3166
  default: () => never[];
@@ -3856,6 +3866,7 @@ export declare const PlusPage: {
3856
3866
  filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
3857
3867
  radioChange: (row: RecordType, index: number, value: boolean) => void;
3858
3868
  }, string, {
3869
+ showOverflowTooltip: boolean;
3859
3870
  columns: PlusColumn[];
3860
3871
  data: RecordType[];
3861
3872
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -3919,6 +3930,10 @@ export declare const PlusPage: {
3919
3930
  $nextTick: nextTick;
3920
3931
  $watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
3921
3932
  } & Omit<Readonly< ExtractPropTypes<{
3933
+ showOverflowTooltip: {
3934
+ type: PropType<boolean>;
3935
+ default: boolean;
3936
+ };
3922
3937
  columns: {
3923
3938
  type: PropType< PlusColumn[]>;
3924
3939
  default: () => never[];
@@ -7648,6 +7663,7 @@ export declare const PlusPage: {
7648
7663
  $: ComponentInternalInstance;
7649
7664
  $data: {};
7650
7665
  $props: Partial<{
7666
+ showOverflowTooltip: boolean;
7651
7667
  columns: PlusColumn[];
7652
7668
  data: RecordType[];
7653
7669
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -7691,6 +7707,7 @@ export declare const PlusPage: {
7691
7707
  timeout?: number | undefined;
7692
7708
  };
7693
7709
  }> & Omit<{
7710
+ readonly showOverflowTooltip: boolean;
7694
7711
  readonly columns: PlusColumn[];
7695
7712
  readonly data: RecordType[];
7696
7713
  readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -7747,6 +7764,10 @@ export declare const PlusPage: {
7747
7764
  onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
7748
7765
  onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
7749
7766
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
7767
+ showOverflowTooltip: {
7768
+ type: PropType<boolean>;
7769
+ default: boolean;
7770
+ };
7750
7771
  columns: {
7751
7772
  type: PropType< PlusColumn[]>;
7752
7773
  default: () => never[];
@@ -7888,7 +7909,7 @@ export declare const PlusPage: {
7888
7909
  "onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
7889
7910
  onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
7890
7911
  onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
7891
- }, "columns" | "data" | "headerCellStyle" | "rowKey" | "tableData" | "defaultSize" | "pagination" | "actionBar" | "hasIndexColumn" | "titleBar" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "dragSortableTableColumnProps" | "indexTableColumnProps" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "indexContentStyle" | "editable" | "adaptive">;
7912
+ }, "showOverflowTooltip" | "columns" | "data" | "headerCellStyle" | "rowKey" | "tableData" | "defaultSize" | "pagination" | "actionBar" | "hasIndexColumn" | "titleBar" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "dragSortableTableColumnProps" | "indexTableColumnProps" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "indexContentStyle" | "editable" | "adaptive">;
7892
7913
  $attrs: {
7893
7914
  [x: string]: unknown;
7894
7915
  };
@@ -7903,6 +7924,10 @@ export declare const PlusPage: {
7903
7924
  $emit: ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "refresh") => void) & ((event: "edited") => void) & ((event: "cell-click", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "cell-dblclick", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "filterTableHeader", columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void) & ((event: "radioChange", row: RecordType, index: number, value: boolean) => void);
7904
7925
  $el: any;
7905
7926
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
7927
+ showOverflowTooltip: {
7928
+ type: PropType<boolean>;
7929
+ default: boolean;
7930
+ };
7906
7931
  columns: {
7907
7932
  type: PropType< PlusColumn[]>;
7908
7933
  default: () => never[];
@@ -8608,6 +8633,7 @@ export declare const PlusPage: {
8608
8633
  filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
8609
8634
  radioChange: (row: RecordType, index: number, value: boolean) => void;
8610
8635
  }, string, {
8636
+ showOverflowTooltip: boolean;
8611
8637
  columns: PlusColumn[];
8612
8638
  data: RecordType[];
8613
8639
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -8671,6 +8697,10 @@ export declare const PlusPage: {
8671
8697
  $nextTick: nextTick;
8672
8698
  $watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
8673
8699
  } & Omit<Readonly< ExtractPropTypes<{
8700
+ showOverflowTooltip: {
8701
+ type: PropType<boolean>;
8702
+ default: boolean;
8703
+ };
8674
8704
  columns: {
8675
8705
  type: PropType< PlusColumn[]>;
8676
8706
  default: () => never[];
@@ -12303,6 +12333,7 @@ export declare const PlusPage: {
12303
12333
  $: ComponentInternalInstance;
12304
12334
  $data: {};
12305
12335
  $props: Partial<{
12336
+ showOverflowTooltip: boolean;
12306
12337
  columns: PlusColumn[];
12307
12338
  data: RecordType[];
12308
12339
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -12346,6 +12377,7 @@ export declare const PlusPage: {
12346
12377
  timeout?: number | undefined;
12347
12378
  };
12348
12379
  }> & Omit<{
12380
+ readonly showOverflowTooltip: boolean;
12349
12381
  readonly columns: PlusColumn[];
12350
12382
  readonly data: RecordType[];
12351
12383
  readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -12402,6 +12434,10 @@ export declare const PlusPage: {
12402
12434
  onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
12403
12435
  onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
12404
12436
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
12437
+ showOverflowTooltip: {
12438
+ type: PropType<boolean>;
12439
+ default: boolean;
12440
+ };
12405
12441
  columns: {
12406
12442
  type: PropType< PlusColumn[]>;
12407
12443
  default: () => never[];
@@ -12543,7 +12579,7 @@ export declare const PlusPage: {
12543
12579
  "onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
12544
12580
  onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
12545
12581
  onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
12546
- }, "columns" | "data" | "headerCellStyle" | "rowKey" | "tableData" | "defaultSize" | "pagination" | "actionBar" | "hasIndexColumn" | "titleBar" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "dragSortableTableColumnProps" | "indexTableColumnProps" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "indexContentStyle" | "editable" | "adaptive">;
12582
+ }, "showOverflowTooltip" | "columns" | "data" | "headerCellStyle" | "rowKey" | "tableData" | "defaultSize" | "pagination" | "actionBar" | "hasIndexColumn" | "titleBar" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "dragSortableTableColumnProps" | "indexTableColumnProps" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "indexContentStyle" | "editable" | "adaptive">;
12547
12583
  $attrs: {
12548
12584
  [x: string]: unknown;
12549
12585
  };
@@ -12558,6 +12594,10 @@ export declare const PlusPage: {
12558
12594
  $emit: ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "refresh") => void) & ((event: "edited") => void) & ((event: "cell-click", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "cell-dblclick", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "filterTableHeader", columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void) & ((event: "radioChange", row: RecordType, index: number, value: boolean) => void);
12559
12595
  $el: any;
12560
12596
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
12597
+ showOverflowTooltip: {
12598
+ type: PropType<boolean>;
12599
+ default: boolean;
12600
+ };
12561
12601
  columns: {
12562
12602
  type: PropType< PlusColumn[]>;
12563
12603
  default: () => never[];
@@ -13263,6 +13303,7 @@ export declare const PlusPage: {
13263
13303
  filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
13264
13304
  radioChange: (row: RecordType, index: number, value: boolean) => void;
13265
13305
  }, string, {
13306
+ showOverflowTooltip: boolean;
13266
13307
  columns: PlusColumn[];
13267
13308
  data: RecordType[];
13268
13309
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
@@ -13326,6 +13367,10 @@ export declare const PlusPage: {
13326
13367
  $nextTick: nextTick;
13327
13368
  $watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
13328
13369
  } & Omit<Readonly< ExtractPropTypes<{
13370
+ showOverflowTooltip: {
13371
+ type: PropType<boolean>;
13372
+ default: boolean;
13373
+ };
13329
13374
  columns: {
13330
13375
  type: PropType< PlusColumn[]>;
13331
13376
  default: () => never[];