@ibiz-template/vue3-util 0.3.1 → 0.3.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.
Files changed (94) hide show
  1. package/dist/index.min.css +1 -1
  2. package/dist/index.system.min.js +1 -1
  3. package/dist/index.system.min.js.map +1 -1
  4. package/es/common/code-list/code-list.d.ts +6 -2
  5. package/es/common/code-list/code-list.d.ts.map +1 -1
  6. package/es/common/code-list/code-list.mjs +14 -1
  7. package/es/common/control-base/control-base.d.ts.map +1 -1
  8. package/es/common/control-base/control-base.mjs +1 -0
  9. package/es/index.mjs +3 -0
  10. package/es/panel-component/index.d.ts +1 -0
  11. package/es/panel-component/index.d.ts.map +1 -1
  12. package/es/panel-component/index.mjs +3 -0
  13. package/es/panel-component/panel-container-image/index.d.ts +28 -0
  14. package/es/panel-component/panel-container-image/index.d.ts.map +1 -0
  15. package/es/panel-component/panel-container-image/index.mjs +21 -0
  16. package/es/panel-component/panel-container-image/panel-container-image.controller.d.ts +15 -0
  17. package/es/panel-component/panel-container-image/panel-container-image.controller.d.ts.map +1 -0
  18. package/es/panel-component/panel-container-image/panel-container-image.controller.mjs +12 -0
  19. package/es/panel-component/panel-container-image/panel-container-image.css +1 -0
  20. package/es/panel-component/panel-container-image/panel-container-image.d.ts +28 -0
  21. package/es/panel-component/panel-container-image/panel-container-image.d.ts.map +1 -0
  22. package/es/panel-component/panel-container-image/panel-container-image.mjs +93 -0
  23. package/es/panel-component/panel-container-image/panel-container-image.provider.d.ts +16 -0
  24. package/es/panel-component/panel-container-image/panel-container-image.provider.d.ts.map +1 -0
  25. package/es/panel-component/panel-container-image/panel-container-image.provider.mjs +15 -0
  26. package/es/panel-component/panel-container-image/panel-container-image.state.d.ts +13 -0
  27. package/es/panel-component/panel-container-image/panel-container-image.state.d.ts.map +1 -0
  28. package/es/panel-component/panel-container-image/panel-container-image.state.mjs +7 -0
  29. package/es/props/editor/array.d.ts +6 -0
  30. package/es/props/editor/array.d.ts.map +1 -1
  31. package/es/props/editor/autocomplete.d.ts +6 -0
  32. package/es/props/editor/autocomplete.d.ts.map +1 -1
  33. package/es/props/editor/cascader.d.ts +6 -0
  34. package/es/props/editor/cascader.d.ts.map +1 -1
  35. package/es/props/editor/check-box-list.d.ts +6 -0
  36. package/es/props/editor/check-box-list.d.ts.map +1 -1
  37. package/es/props/editor/check-box.d.ts +6 -0
  38. package/es/props/editor/check-box.d.ts.map +1 -1
  39. package/es/props/editor/code.d.ts +6 -0
  40. package/es/props/editor/code.d.ts.map +1 -1
  41. package/es/props/editor/color-picker.d.ts +6 -0
  42. package/es/props/editor/color-picker.d.ts.map +1 -1
  43. package/es/props/editor/common.d.ts +5 -0
  44. package/es/props/editor/common.d.ts.map +1 -1
  45. package/es/props/editor/common.mjs +5 -2
  46. package/es/props/editor/data-picker.d.ts +6 -0
  47. package/es/props/editor/data-picker.d.ts.map +1 -1
  48. package/es/props/editor/date-picker.d.ts +6 -0
  49. package/es/props/editor/date-picker.d.ts.map +1 -1
  50. package/es/props/editor/date-range.d.ts +6 -0
  51. package/es/props/editor/date-range.d.ts.map +1 -1
  52. package/es/props/editor/dropdown-list.d.ts +6 -0
  53. package/es/props/editor/dropdown-list.d.ts.map +1 -1
  54. package/es/props/editor/html.d.ts +6 -0
  55. package/es/props/editor/html.d.ts.map +1 -1
  56. package/es/props/editor/list-box.d.ts +6 -0
  57. package/es/props/editor/list-box.d.ts.map +1 -1
  58. package/es/props/editor/markdown.d.ts +6 -0
  59. package/es/props/editor/markdown.d.ts.map +1 -1
  60. package/es/props/editor/number-range.d.ts +6 -0
  61. package/es/props/editor/number-range.d.ts.map +1 -1
  62. package/es/props/editor/radio-button-list.d.ts +6 -0
  63. package/es/props/editor/radio-button-list.d.ts.map +1 -1
  64. package/es/props/editor/rate.d.ts +6 -0
  65. package/es/props/editor/rate.d.ts.map +1 -1
  66. package/es/props/editor/raw.d.ts +6 -0
  67. package/es/props/editor/raw.d.ts.map +1 -1
  68. package/es/props/editor/slider.d.ts +6 -0
  69. package/es/props/editor/slider.d.ts.map +1 -1
  70. package/es/props/editor/span.d.ts +6 -0
  71. package/es/props/editor/span.d.ts.map +1 -1
  72. package/es/props/editor/stepper.d.ts +6 -0
  73. package/es/props/editor/stepper.d.ts.map +1 -1
  74. package/es/props/editor/switch.d.ts +6 -0
  75. package/es/props/editor/switch.d.ts.map +1 -1
  76. package/es/props/editor/text-box.d.ts +18 -0
  77. package/es/props/editor/text-box.d.ts.map +1 -1
  78. package/es/props/editor/upload.d.ts +6 -0
  79. package/es/props/editor/upload.d.ts.map +1 -1
  80. package/es/view/common/view.d.ts.map +1 -1
  81. package/es/view/common/view.mjs +1 -0
  82. package/lib/index.cjs +15 -9
  83. package/package.json +5 -5
  84. package/src/common/code-list/code-list.tsx +14 -1
  85. package/src/common/control-base/control-base.tsx +1 -0
  86. package/src/panel-component/index.ts +1 -0
  87. package/src/panel-component/panel-container-image/index.ts +22 -0
  88. package/src/panel-component/panel-container-image/panel-container-image.controller.ts +18 -0
  89. package/src/panel-component/panel-container-image/panel-container-image.provider.ts +30 -0
  90. package/src/panel-component/panel-container-image/panel-container-image.scss +18 -0
  91. package/src/panel-component/panel-container-image/panel-container-image.state.ts +12 -0
  92. package/src/panel-component/panel-container-image/panel-container-image.tsx +95 -0
  93. package/src/props/editor/common.ts +3 -0
  94. package/src/view/common/view.tsx +1 -0
@@ -22,6 +22,9 @@ export declare function getDatePickerProps<C>(): {
22
22
  type: BooleanConstructor;
23
23
  default: boolean;
24
24
  };
25
+ overflowMode: {
26
+ type: StringConstructor;
27
+ };
25
28
  };
26
29
  /**
27
30
  * 获取表格日期选择器的props
@@ -50,5 +53,8 @@ export declare function getGridDatePickerProps<C>(): {
50
53
  type: BooleanConstructor;
51
54
  default: boolean;
52
55
  };
56
+ overflowMode: {
57
+ type: StringConstructor;
58
+ };
53
59
  };
54
60
  //# sourceMappingURL=date-picker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["../../../src/props/editor/date-picker.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,CAAC;;;;;;;;;;;;;;;EAEnC;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEvC"}
1
+ {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["../../../src/props/editor/date-picker.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEnC;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAEvC"}
@@ -20,6 +20,9 @@ export declare function getDateRangeProps<C>(): {
20
20
  type: BooleanConstructor;
21
21
  default: boolean;
22
22
  };
23
+ overflowMode: {
24
+ type: StringConstructor;
25
+ };
23
26
  };
24
27
  /**
25
28
  * 获取表格时间范围的props
@@ -46,5 +49,8 @@ export declare function getGridDateRangeProps<C>(): {
46
49
  type: BooleanConstructor;
47
50
  default: boolean;
48
51
  };
52
+ overflowMode: {
53
+ type: StringConstructor;
54
+ };
49
55
  };
50
56
  //# sourceMappingURL=date-range.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"date-range.d.ts","sourceRoot":"","sources":["../../../src/props/editor/date-range.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,CAAC;;;;;;;;;;;;;;;EAElC;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEtC"}
1
+ {"version":3,"file":"date-range.d.ts","sourceRoot":"","sources":["../../../src/props/editor/date-range.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAElC;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAEtC"}
@@ -22,6 +22,9 @@ export declare function getDropdownProps<C>(): {
22
22
  type: BooleanConstructor;
23
23
  default: boolean;
24
24
  };
25
+ overflowMode: {
26
+ type: StringConstructor;
27
+ };
25
28
  };
26
29
  /**
27
30
  * 获取表格下拉列表的props
@@ -50,5 +53,8 @@ export declare function getGridDropdownProps<C>(): {
50
53
  type: BooleanConstructor;
51
54
  default: boolean;
52
55
  };
56
+ overflowMode: {
57
+ type: StringConstructor;
58
+ };
53
59
  };
54
60
  //# sourceMappingURL=dropdown-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-list.d.ts","sourceRoot":"","sources":["../../../src/props/editor/dropdown-list.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,CAAC;;;;;;;;;;;;;;;EAEjC;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAErC"}
1
+ {"version":3,"file":"dropdown-list.d.ts","sourceRoot":"","sources":["../../../src/props/editor/dropdown-list.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEjC;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAErC"}
@@ -22,6 +22,9 @@ export declare function getHtmlProps<C>(): {
22
22
  type: BooleanConstructor;
23
23
  default: boolean;
24
24
  };
25
+ overflowMode: {
26
+ type: StringConstructor;
27
+ };
25
28
  };
26
29
  /**
27
30
  * 获取表格html编辑框的props
@@ -50,5 +53,8 @@ export declare function getGridHtmlProps<C>(): {
50
53
  type: BooleanConstructor;
51
54
  default: boolean;
52
55
  };
56
+ overflowMode: {
57
+ type: StringConstructor;
58
+ };
53
59
  };
54
60
  //# sourceMappingURL=html.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/props/editor/html.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,CAAC;;;;;;;;;;;;;;;EAE7B;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEjC"}
1
+ {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/props/editor/html.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAE7B;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAEjC"}
@@ -22,6 +22,9 @@ export declare function getListBoxProps<C>(): {
22
22
  type: BooleanConstructor;
23
23
  default: boolean;
24
24
  };
25
+ overflowMode: {
26
+ type: StringConstructor;
27
+ };
25
28
  };
26
29
  /**
27
30
  * 获取表格列表框的props
@@ -50,5 +53,8 @@ export declare function getGridListBoxProps<C>(): {
50
53
  type: BooleanConstructor;
51
54
  default: boolean;
52
55
  };
56
+ overflowMode: {
57
+ type: StringConstructor;
58
+ };
53
59
  };
54
60
  //# sourceMappingURL=list-box.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-box.d.ts","sourceRoot":"","sources":["../../../src/props/editor/list-box.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;EAEhC;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEpC"}
1
+ {"version":3,"file":"list-box.d.ts","sourceRoot":"","sources":["../../../src/props/editor/list-box.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEhC;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAEpC"}
@@ -29,6 +29,9 @@ export declare function getMarkDownProps<C>(): {
29
29
  type: BooleanConstructor;
30
30
  default: boolean;
31
31
  };
32
+ overflowMode: {
33
+ type: StringConstructor;
34
+ };
32
35
  };
33
36
  /**
34
37
  * 获取表格MARKDOWN的props
@@ -64,5 +67,8 @@ export declare function getGridMarkDownProps<C>(): {
64
67
  type: BooleanConstructor;
65
68
  default: boolean;
66
69
  };
70
+ overflowMode: {
71
+ type: StringConstructor;
72
+ };
67
73
  };
68
74
  //# sourceMappingURL=markdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/props/editor/markdown.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;EAUjC;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;EAErC"}
1
+ {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/props/editor/markdown.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;EAUjC;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAErC"}
@@ -20,6 +20,9 @@ export declare function getNumberRangeProps<C>(): {
20
20
  type: BooleanConstructor;
21
21
  default: boolean;
22
22
  };
23
+ overflowMode: {
24
+ type: StringConstructor;
25
+ };
23
26
  };
24
27
  /**
25
28
  * 获取表格数值范围的props
@@ -46,5 +49,8 @@ export declare function getGridNumberRangeProps<C>(): {
46
49
  type: BooleanConstructor;
47
50
  default: boolean;
48
51
  };
52
+ overflowMode: {
53
+ type: StringConstructor;
54
+ };
49
55
  };
50
56
  //# sourceMappingURL=number-range.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"number-range.d.ts","sourceRoot":"","sources":["../../../src/props/editor/number-range.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,CAAC;;;;;;;;;;;;;;;EAEpC;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAExC"}
1
+ {"version":3,"file":"number-range.d.ts","sourceRoot":"","sources":["../../../src/props/editor/number-range.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEpC;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAExC"}
@@ -22,6 +22,9 @@ export declare function getRadioProps<C>(): {
22
22
  type: BooleanConstructor;
23
23
  default: boolean;
24
24
  };
25
+ overflowMode: {
26
+ type: StringConstructor;
27
+ };
25
28
  };
26
29
  /**
27
30
  * 获取表格单选框的props
@@ -50,5 +53,8 @@ export declare function getGridRadioProps<C>(): {
50
53
  type: BooleanConstructor;
51
54
  default: boolean;
52
55
  };
56
+ overflowMode: {
57
+ type: StringConstructor;
58
+ };
53
59
  };
54
60
  //# sourceMappingURL=radio-button-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-button-list.d.ts","sourceRoot":"","sources":["../../../src/props/editor/radio-button-list.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,CAAC;;;;;;;;;;;;;;;EAE9B;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAElC"}
1
+ {"version":3,"file":"radio-button-list.d.ts","sourceRoot":"","sources":["../../../src/props/editor/radio-button-list.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAE9B;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAElC"}
@@ -20,6 +20,9 @@ export declare function getRateProps<C>(): {
20
20
  type: BooleanConstructor;
21
21
  default: boolean;
22
22
  };
23
+ overflowMode: {
24
+ type: StringConstructor;
25
+ };
23
26
  };
24
27
  /**
25
28
  * 获取表格评分器的props
@@ -46,5 +49,8 @@ export declare function getGridRateProps<C>(): {
46
49
  type: BooleanConstructor;
47
50
  default: boolean;
48
51
  };
52
+ overflowMode: {
53
+ type: StringConstructor;
54
+ };
49
55
  };
50
56
  //# sourceMappingURL=rate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["../../../src/props/editor/rate.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,CAAC;;;;;;;;;;;;;;;EAE7B;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEjC"}
1
+ {"version":3,"file":"rate.d.ts","sourceRoot":"","sources":["../../../src/props/editor/rate.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAE7B;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAEjC"}
@@ -20,6 +20,9 @@ export declare function getRawProps<C>(): {
20
20
  type: BooleanConstructor;
21
21
  default: boolean;
22
22
  };
23
+ overflowMode: {
24
+ type: StringConstructor;
25
+ };
23
26
  };
24
27
  /**
25
28
  * 获取表格步进器的props
@@ -46,5 +49,8 @@ export declare function getGridRawProps<C>(): {
46
49
  type: BooleanConstructor;
47
50
  default: boolean;
48
51
  };
52
+ overflowMode: {
53
+ type: StringConstructor;
54
+ };
49
55
  };
50
56
  //# sourceMappingURL=raw.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"raw.d.ts","sourceRoot":"","sources":["../../../src/props/editor/raw.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,CAAC;;;;;;;;;;;;;;;EAE5B;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEhC"}
1
+ {"version":3,"file":"raw.d.ts","sourceRoot":"","sources":["../../../src/props/editor/raw.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAE5B;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAEhC"}
@@ -20,6 +20,9 @@ export declare function getSliderProps<C>(): {
20
20
  type: BooleanConstructor;
21
21
  default: boolean;
22
22
  };
23
+ overflowMode: {
24
+ type: StringConstructor;
25
+ };
23
26
  };
24
27
  /**
25
28
  * 获取表格滑动输入条的props
@@ -46,5 +49,8 @@ export declare function getGridSliderProps<C>(): {
46
49
  type: BooleanConstructor;
47
50
  default: boolean;
48
51
  };
52
+ overflowMode: {
53
+ type: StringConstructor;
54
+ };
49
55
  };
50
56
  //# sourceMappingURL=slider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/props/editor/slider.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,CAAC;;;;;;;;;;;;;;;EAE/B;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEnC"}
1
+ {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/props/editor/slider.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAE/B;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAEnC"}
@@ -22,6 +22,9 @@ export declare function getSpanProps<C>(): {
22
22
  type: BooleanConstructor;
23
23
  default: boolean;
24
24
  };
25
+ overflowMode: {
26
+ type: StringConstructor;
27
+ };
25
28
  };
26
29
  /**
27
30
  * 获取表格标签的props
@@ -50,5 +53,8 @@ export declare function getGridSpanProps<C>(): {
50
53
  type: BooleanConstructor;
51
54
  default: boolean;
52
55
  };
56
+ overflowMode: {
57
+ type: StringConstructor;
58
+ };
53
59
  };
54
60
  //# sourceMappingURL=span.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"span.d.ts","sourceRoot":"","sources":["../../../src/props/editor/span.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,CAAC;;;;;;;;;;;;;;;EAE7B;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEjC"}
1
+ {"version":3,"file":"span.d.ts","sourceRoot":"","sources":["../../../src/props/editor/span.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAE7B;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAEjC"}
@@ -20,6 +20,9 @@ export declare function getStepperProps<C>(): {
20
20
  type: BooleanConstructor;
21
21
  default: boolean;
22
22
  };
23
+ overflowMode: {
24
+ type: StringConstructor;
25
+ };
23
26
  };
24
27
  /**
25
28
  * 获取表格步进器的props
@@ -46,5 +49,8 @@ export declare function getGridStepperProps<C>(): {
46
49
  type: BooleanConstructor;
47
50
  default: boolean;
48
51
  };
52
+ overflowMode: {
53
+ type: StringConstructor;
54
+ };
49
55
  };
50
56
  //# sourceMappingURL=stepper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stepper.d.ts","sourceRoot":"","sources":["../../../src/props/editor/stepper.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;EAEhC;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEpC"}
1
+ {"version":3,"file":"stepper.d.ts","sourceRoot":"","sources":["../../../src/props/editor/stepper.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEhC;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAEpC"}
@@ -20,6 +20,9 @@ export declare function getSwitchProps<C>(): {
20
20
  type: BooleanConstructor;
21
21
  default: boolean;
22
22
  };
23
+ overflowMode: {
24
+ type: StringConstructor;
25
+ };
23
26
  };
24
27
  /**
25
28
  * 获取表格步进器的props
@@ -46,5 +49,8 @@ export declare function getGridSwitchProps<C>(): {
46
49
  type: BooleanConstructor;
47
50
  default: boolean;
48
51
  };
52
+ overflowMode: {
53
+ type: StringConstructor;
54
+ };
49
55
  };
50
56
  //# sourceMappingURL=switch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/props/editor/switch.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,CAAC;;;;;;;;;;;;;;;EAE/B;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEnC"}
1
+ {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/props/editor/switch.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAE/B;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAEnC"}
@@ -22,6 +22,9 @@ export declare function getInputProps<C>(): {
22
22
  type: BooleanConstructor;
23
23
  default: boolean;
24
24
  };
25
+ overflowMode: {
26
+ type: StringConstructor;
27
+ };
25
28
  };
26
29
  /**
27
30
  * 获取表格文本框的props
@@ -50,6 +53,9 @@ export declare function getGridInputProps<C>(): {
50
53
  type: BooleanConstructor;
51
54
  default: boolean;
52
55
  };
56
+ overflowMode: {
57
+ type: StringConstructor;
58
+ };
53
59
  };
54
60
  /**
55
61
  * 获取数值框的props
@@ -75,6 +81,9 @@ export declare function getInputNumberProps<C>(): {
75
81
  type: BooleanConstructor;
76
82
  default: boolean;
77
83
  };
84
+ overflowMode: {
85
+ type: StringConstructor;
86
+ };
78
87
  };
79
88
  /**
80
89
  * 获取表格数值框的props
@@ -103,6 +112,9 @@ export declare function getGridInputNumberProps<C>(): {
103
112
  type: BooleanConstructor;
104
113
  default: boolean;
105
114
  };
115
+ overflowMode: {
116
+ type: StringConstructor;
117
+ };
106
118
  };
107
119
  /**
108
120
  * 获取ip框的props
@@ -128,6 +140,9 @@ export declare function getInputIpProps<C>(): {
128
140
  type: BooleanConstructor;
129
141
  default: boolean;
130
142
  };
143
+ overflowMode: {
144
+ type: StringConstructor;
145
+ };
131
146
  };
132
147
  /**
133
148
  * 获取表格ip框的props
@@ -156,5 +171,8 @@ export declare function getGridInputIpProps<C>(): {
156
171
  type: BooleanConstructor;
157
172
  default: boolean;
158
173
  };
174
+ overflowMode: {
175
+ type: StringConstructor;
176
+ };
159
177
  };
160
178
  //# sourceMappingURL=text-box.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-box.d.ts","sourceRoot":"","sources":["../../../src/props/editor/text-box.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,CAAC;;;;;;;;;;;;;;;EAE9B;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAElC;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,CAAC;;;;;;;;;;;;;;;EAEpC;AAED;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAExC;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;EAEhC;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEpC"}
1
+ {"version":3,"file":"text-box.d.ts","sourceRoot":"","sources":["../../../src/props/editor/text-box.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAE9B;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAElC;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEpC;AAED;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAExC;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEhC;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAEpC"}
@@ -22,6 +22,9 @@ export declare function getUploadProps<C>(): {
22
22
  type: BooleanConstructor;
23
23
  default: boolean;
24
24
  };
25
+ overflowMode: {
26
+ type: StringConstructor;
27
+ };
25
28
  };
26
29
  /**
27
30
  * 获取表格上传的props
@@ -50,5 +53,8 @@ export declare function getGridUploadProps<C>(): {
50
53
  type: BooleanConstructor;
51
54
  default: boolean;
52
55
  };
56
+ overflowMode: {
57
+ type: StringConstructor;
58
+ };
53
59
  };
54
60
  //# sourceMappingURL=upload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../../src/props/editor/upload.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,CAAC;;;;;;;;;;;;;;;EAE/B;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAEnC"}
1
+ {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../../src/props/editor/upload.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAE/B;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;EAEnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../src/view/common/view.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EACN,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACf,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAGL,QAAQ,EAST,MAAM,KAAK,CAAC;AACb,OAAO,aAAa,CAAC;AAGrB,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;uCA4BC,0BAA0B,KACrC,IAAI;kCA0B8B,KAAK,GAAG,QAAQ,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;MAmGhE,CAAC"}
1
+ {"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../src/view/common/view.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EACN,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACf,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAGL,QAAQ,EAST,MAAM,KAAK,CAAC;AACb,OAAO,aAAa,CAAC;AAGrB,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;uCA4BC,0BAA0B,KACrC,IAAI;kCA0B8B,KAAK,GAAG,QAAQ,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;MAoGhE,CAAC"}
@@ -129,6 +129,7 @@ const View = /* @__PURE__ */ defineComponent({
129
129
  context: this.c.context,
130
130
  params: this.c.params,
131
131
  provider,
132
+ container: this.c,
132
133
  onControllerAppear: this.onLayoutPanelCreated
133
134
  }, slots);
134
135
  }
package/lib/index.cjs CHANGED
@@ -41,10 +41,13 @@ var index$7 = require('./panel-component/single-data-container/index.cjs');
41
41
  var gridContainer_state = require('./panel-component/grid-container/grid-container.state.cjs');
42
42
  var gridContainer_controller = require('./panel-component/grid-container/grid-container.controller.cjs');
43
43
  var index$8 = require('./panel-component/grid-container/index.cjs');
44
+ var panelContainerImage_state = require('./panel-component/panel-container-image/panel-container-image.state.cjs');
45
+ var panelContainerImage_controller = require('./panel-component/panel-container-image/panel-container-image.controller.cjs');
46
+ var index$9 = require('./panel-component/panel-container-image/index.cjs');
44
47
  var appRedirectView = require('./view/app-redirect-view/app-redirect-view.cjs');
45
- var index$9 = require('./view/common/index.cjs');
48
+ var index$a = require('./view/common/index.cjs');
46
49
  var todoRedirect = require('./view/todo-redirect/todo-redirect.cjs');
47
- var index$a = require('./view/portal-view/index.cjs');
50
+ var index$b = require('./view/portal-view/index.cjs');
48
51
  var pluginFactory = require('./plugin/plugin-factory/plugin-factory.cjs');
49
52
  var clickOutside = require('./use/click-outside/click-outside.cjs');
50
53
  var useControlController = require('./use/control/use-control-controller/use-control-controller.cjs');
@@ -52,7 +55,7 @@ var event = require('./use/event/event.cjs');
52
55
  var focusBlur = require('./use/focus-blur/focus-blur.cjs');
53
56
  var namespace = require('./use/namespace/namespace.cjs');
54
57
  var route = require('./use/route/route.cjs');
55
- var index$b = require('./use/util/index.cjs');
58
+ var index$c = require('./use/util/index.cjs');
56
59
  var useViewController = require('./use/view/use-view-controller/use-view-controller.cjs');
57
60
  var vue = require('./use/vue/vue.cjs');
58
61
  var overlayContainer = require('./util/overlay-container/overlay-container.cjs');
@@ -66,7 +69,7 @@ var render = require('./util/render/render.cjs');
66
69
  var overlayViewUtil = require('./util/overlay-view-util/overlay-view-util.cjs');
67
70
  var appStore = require('./util/store/app-store/app-store.cjs');
68
71
  var uiStore = require('./util/store/ui-store/ui-store.cjs');
69
- var index$c = require('./util/store/index.cjs');
72
+ var index$d = require('./util/store/index.cjs');
70
73
  var common = require('./props/common.cjs');
71
74
  var textBox = require('./props/editor/text-box.cjs');
72
75
  var span = require('./props/editor/span.cjs');
@@ -129,10 +132,13 @@ exports.IBizSingleDataContainer = index$7.IBizSingleDataContainer;
129
132
  exports.GridContainerState = gridContainer_state.GridContainerState;
130
133
  exports.GridContainerController = gridContainer_controller.GridContainerController;
131
134
  exports.IBizGridContainer = index$8.IBizGridContainer;
135
+ exports.PanelContainerImageState = panelContainerImage_state.PanelContainerImageState;
136
+ exports.PanelContainerImageController = panelContainerImage_controller.PanelContainerImageController;
137
+ exports.IBizPanelContainerImage = index$9.IBizPanelContainerImage;
132
138
  exports.AppRedirectView = appRedirectView.AppRedirectView;
133
- exports.IBizView = index$9.IBizView;
139
+ exports.IBizView = index$a.IBizView;
134
140
  exports.TodoRedirect = todoRedirect.TodoRedirect;
135
- exports.IBizPortalView = index$a.IBizPortalView;
141
+ exports.IBizPortalView = index$b.IBizPortalView;
136
142
  exports.PluginFactory = pluginFactory.PluginFactory;
137
143
  exports.useClickOutside = clickOutside.useClickOutside;
138
144
  exports.useControlController = useControlController.useControlController;
@@ -141,8 +147,8 @@ exports.useFocusAndBlur = focusBlur.useFocusAndBlur;
141
147
  exports.useNamespace = namespace.useNamespace;
142
148
  exports.useRouteKey = route.useRouteKey;
143
149
  exports.useRouterQuery = route.useRouterQuery;
144
- exports.useCtx = index$b.useCtx;
145
- exports.useMobCtx = index$b.useMobCtx;
150
+ exports.useCtx = index$c.useCtx;
151
+ exports.useMobCtx = index$c.useMobCtx;
146
152
  exports.useViewController = useViewController.useViewController;
147
153
  exports.EmptyVNode = vue.EmptyVNode;
148
154
  exports.getOrigin = vue.getOrigin;
@@ -176,7 +182,7 @@ exports.openViewModal = overlayViewUtil.openViewModal;
176
182
  exports.openViewPopover = overlayViewUtil.openViewPopover;
177
183
  exports.useAppStore = appStore.useAppStore;
178
184
  exports.useUIStore = uiStore.useUIStore;
179
- exports.piniaInstance = index$c.piniaInstance;
185
+ exports.piniaInstance = index$d.piniaInstance;
180
186
  exports.RequiredProp = common.RequiredProp;
181
187
  exports.getGridInputIpProps = textBox.getGridInputIpProps;
182
188
  exports.getGridInputNumberProps = textBox.getGridInputNumberProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/vue3-util",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "vue3 工具包",
5
5
  "type": "module",
6
6
  "module": "es/index.mjs",
@@ -32,7 +32,7 @@
32
32
  "devDependencies": {
33
33
  "@ibiz-template/cli": "0.3.2",
34
34
  "@ibiz-template/core": "^0.3.0",
35
- "@ibiz-template/runtime": "^0.3.1",
35
+ "@ibiz-template/runtime": "^0.3.3",
36
36
  "@ibiz-template/theme": "^0.3.0",
37
37
  "@ibiz/model-core": "^0.0.20",
38
38
  "@types/path-browserify": "^1.0.2",
@@ -49,8 +49,8 @@
49
49
  "vue-tsc": "^1.8.22"
50
50
  },
51
51
  "peerDependencies": {
52
- "@ibiz-template/core": "^0.2.13",
53
- "@ibiz-template/runtime": "^0.2.13",
52
+ "@ibiz-template/core": "^0.3.0",
53
+ "@ibiz-template/runtime": "^0.3.1",
54
54
  "@ibiz/model-core": "^0.0.20",
55
55
  "dayjs": "^1.11.10",
56
56
  "path-browserify": "^1.0.1",
@@ -61,5 +61,5 @@
61
61
  "vue": "^3.3.4",
62
62
  "vue-router": "^4.2.4"
63
63
  },
64
- "gitHead": "2827c2bd507c4ab3efafa7ebb4990c18e198823a"
64
+ "gitHead": "7f8e0137d5d235f6eebab383f046dd91a22ce94c"
65
65
  }
@@ -19,10 +19,23 @@ export const IBizCodeList = defineComponent({
19
19
  type: [String, Number],
20
20
  },
21
21
  },
22
- setup(props) {
22
+ emits: {
23
+ infoTextChange: (_text: string) => true,
24
+ },
25
+ setup(props, { emit }) {
23
26
  const ns = useNamespace('code-list');
24
27
  const items = ref<IData[]>([]);
25
28
 
29
+ watch(items, newVal => {
30
+ let infoText = '';
31
+ if (newVal.length > 0) {
32
+ infoText = newVal
33
+ .map(item => item.text)
34
+ .join(props.codeList?.textSeparator);
35
+ }
36
+ emit('infoTextChange', infoText);
37
+ });
38
+
26
39
  const findCodeListItem = (
27
40
  codelist: CodeListItem[] | undefined,
28
41
  value: string | number,
@@ -106,6 +106,7 @@ export const IBizControlBase: any = defineComponent({
106
106
  context: this.controller.context,
107
107
  params: this.controller.params,
108
108
  provider,
109
+ container: this.controller,
109
110
  onControllerAppear: this.onLayoutPanelCreated,
110
111
  },
111
112
  slots,
@@ -7,3 +7,4 @@ export * from './panel-rawitem';
7
7
  export * from './multi-data-container';
8
8
  export * from './single-data-container';
9
9
  export * from './grid-container';
10
+ export * from './panel-container-image';
@@ -0,0 +1,22 @@
1
+ import { App } from 'vue';
2
+ import { registerPanelItemProvider } from '@ibiz-template/runtime';
3
+ import { withInstall } from '../../util';
4
+ import { PanelContainerImage } from './panel-container-image';
5
+ import { PanelContainerImageProvider } from './panel-container-image.provider';
6
+ import { PanelContainerImageState } from './panel-container-image.state';
7
+ import { PanelContainerImageController } from './panel-container-image.controller';
8
+
9
+ export { PanelContainerImageState, PanelContainerImageController };
10
+
11
+ export const IBizPanelContainerImage = withInstall(
12
+ PanelContainerImage,
13
+ function (v: App) {
14
+ v.component(PanelContainerImage.name, PanelContainerImage);
15
+ registerPanelItemProvider(
16
+ 'CONTAINER_CONTAINER_IMAGE',
17
+ () => new PanelContainerImageProvider(),
18
+ );
19
+ },
20
+ );
21
+
22
+ export default IBizPanelContainerImage;
@@ -0,0 +1,18 @@
1
+ import { PanelItemController } from '@ibiz-template/runtime';
2
+ import { IPanelContainer } from '@ibiz/model-core';
3
+ import { PanelContainerImageState } from './panel-container-image.state';
4
+
5
+ /**
6
+ * 面板图片容器控制器
7
+ *
8
+ * @export
9
+ * @class PanelContainerImageController
10
+ * @extends {PanelItemController}
11
+ */
12
+ export class PanelContainerImageController extends PanelItemController<IPanelContainer> {
13
+ declare state: PanelContainerImageState;
14
+
15
+ protected createState(): PanelContainerImageState {
16
+ return new PanelContainerImageState(this.parent?.state);
17
+ }
18
+ }