@ibiz-template/vue3-components 0.7.30-alpha.3 → 0.7.31-alpha.0

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 (167) hide show
  1. package/dist/chart-0UV2FAN6.js +1 -0
  2. package/dist/index-YQyitjSg.js +1 -0
  3. package/dist/index-maJGu4b8.js +4 -0
  4. package/dist/index-trS6uS3E.js +1 -0
  5. package/dist/index.min.css +1 -1
  6. package/dist/index.system.min.js +1 -1
  7. package/dist/wang-editor-AcjI1Mdj.js +1 -0
  8. package/dist/{xlsx-util-cTIccUxx.js → xlsx-util-OUxT4A8O.js} +1 -1
  9. package/es/common/fullscreen-toolbar/fullscreen-toolbar.css +1 -1
  10. package/es/common/fullscreen-toolbar/fullscreen-toolbar.mjs +10 -0
  11. package/es/common/index.mjs +2 -0
  12. package/es/common/pql-editor/components/index.d.ts +1 -0
  13. package/es/common/pql-editor/components/index.mjs +3 -0
  14. package/es/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.css +1 -0
  15. package/es/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.d.ts +28 -0
  16. package/es/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.mjs +49 -0
  17. package/es/common/pql-editor/pql-editor.css +1 -0
  18. package/es/common/pql-editor/pql-editor.d.ts +68 -0
  19. package/es/common/pql-editor/pql-editor.mjs +606 -0
  20. package/es/common/pql-editor/pql-editor.module.d.ts +47 -0
  21. package/es/common/pql-editor/pql-editor.module.mjs +176 -0
  22. package/es/common/pql-editor/utils/index.d.ts +15 -0
  23. package/es/common/pql-editor/utils/index.mjs +270 -0
  24. package/es/control/chart/chart.css +1 -1
  25. package/es/control/chart/chart.d.ts +5 -5
  26. package/es/control/chart/chart.mjs +60 -36
  27. package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +16 -13
  28. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
  29. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.d.ts +8 -0
  30. package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +12 -2
  31. package/es/control/dashboard/portlet/report-portlet/index.d.ts +1 -0
  32. package/es/control/dashboard/portlet/report-portlet/report-portlet.d.ts +1 -0
  33. package/es/control/dashboard/portlet/report-portlet/report-portlet.mjs +10 -2
  34. package/es/control/dashboard/portlet/report-portlet/report-portlet.provider.d.ts +2 -2
  35. package/es/control/drtab/drtab-control.util.mjs +1 -1
  36. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +15 -12
  37. package/es/control/grid/grid/grid.mjs +2 -2
  38. package/es/control/grid/grid-column/grid-field-column/grid-field-column.d.ts +4 -2
  39. package/es/control/grid/grid-column/grid-field-column/grid-field-column.mjs +32 -2
  40. package/es/control/grid/grid-column/grid-field-column/index.d.ts +4 -0
  41. package/es/control/list/list.mjs +13 -1
  42. package/es/control/search-bar/filter-tree/filter-tree.css +1 -1
  43. package/es/control/search-bar/filter-tree/filter-tree.d.ts +30 -3
  44. package/es/control/search-bar/filter-tree/filter-tree.mjs +83 -9
  45. package/es/control/search-bar/search-bar.mjs +10 -1
  46. package/es/control/tree-grid/index.d.ts +1 -0
  47. package/es/control/tree-grid/tree-grid.d.ts +1 -0
  48. package/es/control/tree-grid/tree-grid.mjs +4 -1
  49. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/index.d.ts +1 -1
  50. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.d.ts +1 -1
  51. package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.mjs +4 -9
  52. package/es/editor/array/ibiz-array/ibiz-array.d.ts +1 -1
  53. package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +1 -1
  54. package/es/editor/carousel/ibiz-carousel/ibiz-carousel.d.ts +1 -1
  55. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +1 -1
  56. package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +1 -1
  57. package/es/editor/check-box-list/checkbox-list-editor.controller.d.ts +7 -0
  58. package/es/editor/check-box-list/checkbox-list-editor.controller.mjs +11 -0
  59. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.css +1 -1
  60. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +1 -1
  61. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.mjs +2 -1
  62. package/es/editor/code/monaco-editor/monaco-editor.d.ts +1 -1
  63. package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +1 -1
  64. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +1 -1
  65. package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +1 -1
  66. package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.d.ts +1 -1
  67. package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +2 -2
  68. package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +1 -1
  69. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +1 -1
  70. package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +1 -1
  71. package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +1 -1
  72. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +1 -1
  73. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +1 -1
  74. package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +1 -1
  75. package/es/editor/html/wang-editor/wang-editor.d.ts +1 -1
  76. package/es/editor/html/wang-editor/wang-editor.mjs +3 -0
  77. package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +1 -1
  78. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +1 -1
  79. package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.d.ts +1 -1
  80. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
  81. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +1 -1
  82. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +2 -1
  83. package/es/editor/radio-button-list/radio-button-list.controller.d.ts +8 -0
  84. package/es/editor/radio-button-list/radio-button-list.controller.mjs +23 -0
  85. package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +1 -1
  86. package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +1 -1
  87. package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +1 -1
  88. package/es/editor/span/span/span.css +1 -1
  89. package/es/editor/span/span/span.d.ts +1 -1
  90. package/es/editor/span/span/span.mjs +2 -1
  91. package/es/editor/span/span-link/span-link.d.ts +1 -1
  92. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +1 -1
  93. package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +1 -1
  94. package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +1 -1
  95. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +1 -1
  96. package/es/editor/text-box/input/input.d.ts +1 -1
  97. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +1 -1
  98. package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +1 -1
  99. package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +1 -1
  100. package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.d.ts +1 -1
  101. package/es/interface/i-pql-item.d.ts +52 -0
  102. package/es/interface/i-pql-item.mjs +1 -0
  103. package/es/interface/i-pql-node.d.ts +37 -0
  104. package/es/interface/i-pql-node.mjs +1 -0
  105. package/es/interface/i-schema-field.d.ts +51 -0
  106. package/es/interface/i-schema-field.mjs +1 -0
  107. package/es/interface/index.d.ts +3 -0
  108. package/es/interface/index.mjs +5 -0
  109. package/es/locale/en/index.d.ts +9 -4
  110. package/es/locale/en/index.mjs +6 -6
  111. package/es/locale/zh-CN/index.d.ts +9 -4
  112. package/es/locale/zh-CN/index.mjs +6 -6
  113. package/es/panel-component/short-cut/index.d.ts +1 -1
  114. package/es/panel-component/short-cut/short-cut.d.ts +1 -1
  115. package/es/util/fullscreen/fullscreen-util.d.ts +8 -2
  116. package/es/util/fullscreen/fullscreen-util.mjs +22 -2
  117. package/es/view-engine/edit-view.engine.mjs +28 -32
  118. package/lib/common/fullscreen-toolbar/fullscreen-toolbar.cjs +10 -0
  119. package/lib/common/fullscreen-toolbar/fullscreen-toolbar.css +1 -1
  120. package/lib/common/index.cjs +2 -0
  121. package/lib/common/pql-editor/components/index.cjs +7 -0
  122. package/lib/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.cjs +51 -0
  123. package/lib/common/pql-editor/components/pql-editor-suggestion/pql-editor-suggestion.css +1 -0
  124. package/lib/common/pql-editor/pql-editor.cjs +608 -0
  125. package/lib/common/pql-editor/pql-editor.css +1 -0
  126. package/lib/common/pql-editor/pql-editor.module.cjs +182 -0
  127. package/lib/common/pql-editor/utils/index.cjs +280 -0
  128. package/lib/control/chart/chart.cjs +59 -35
  129. package/lib/control/chart/chart.css +1 -1
  130. package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +12 -2
  131. package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
  132. package/lib/control/dashboard/portlet/report-portlet/report-portlet.cjs +9 -1
  133. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  134. package/lib/control/grid/grid/grid.cjs +2 -2
  135. package/lib/control/grid/grid-column/grid-field-column/grid-field-column.cjs +32 -2
  136. package/lib/control/list/list.cjs +13 -1
  137. package/lib/control/search-bar/filter-tree/filter-tree.cjs +82 -8
  138. package/lib/control/search-bar/filter-tree/filter-tree.css +1 -1
  139. package/lib/control/search-bar/search-bar.cjs +10 -1
  140. package/lib/control/tree-grid/tree-grid.cjs +4 -1
  141. package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-field-column/tree-grid-ex-field-column.cjs +3 -8
  142. package/lib/editor/check-box-list/checkbox-list-editor.controller.cjs +11 -0
  143. package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.cjs +2 -1
  144. package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.css +1 -1
  145. package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +1 -1
  146. package/lib/editor/html/wang-editor/wang-editor.cjs +3 -0
  147. package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +2 -1
  148. package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
  149. package/lib/editor/radio-button-list/radio-button-list.controller.cjs +23 -0
  150. package/lib/editor/span/span/span.cjs +2 -1
  151. package/lib/editor/span/span/span.css +1 -1
  152. package/lib/interface/i-pql-item.cjs +3 -0
  153. package/lib/interface/i-pql-node.cjs +3 -0
  154. package/lib/interface/i-schema-field.cjs +3 -0
  155. package/lib/interface/index.cjs +7 -0
  156. package/lib/locale/en/index.cjs +6 -6
  157. package/lib/locale/zh-CN/index.cjs +6 -6
  158. package/lib/util/fullscreen/fullscreen-util.cjs +22 -2
  159. package/lib/view-engine/edit-view.engine.cjs +28 -32
  160. package/package.json +10 -9
  161. package/dist/chart-JFzIz6Oa.js +0 -1
  162. package/dist/index-Nw4GzACH.js +0 -1
  163. package/dist/index-Va9AxP7w.js +0 -4
  164. package/dist/index-qjfHTzTv.js +0 -1
  165. package/dist/wang-editor-YqnK5uQU.js +0 -1
  166. /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.28_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.30_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
  167. /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.28_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.30_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
@@ -2186,7 +2186,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
2186
2186
  srfsessionid: string;
2187
2187
  srfappid: string;
2188
2188
  srfsimple?: boolean | undefined;
2189
- srfpaginationviewid?: string | undefined;
2189
+ srfnavctrlid?: string | undefined;
2190
2190
  };
2191
2191
  readonly params: IParams;
2192
2192
  childNames: string[];
@@ -2201,6 +2201,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
2201
2201
  validate: (parentId?: string | undefined) => Promise<boolean>;
2202
2202
  setDataValue: (name: string, value: unknown) => Promise<void>;
2203
2203
  view: any;
2204
+ ctrlId: string;
2204
2205
  layoutPanel?: any | undefined;
2205
2206
  scheduler?: {
2206
2207
  logics: {
@@ -2316,7 +2317,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
2316
2317
  srfsessionid: string;
2317
2318
  srfappid: string;
2318
2319
  srfsimple?: boolean | undefined;
2319
- srfpaginationviewid?: string | undefined;
2320
+ srfnavctrlid?: string | undefined;
2320
2321
  };
2321
2322
  };
2322
2323
  readonly model: {
@@ -5095,7 +5096,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
5095
5096
  srfsessionid: string;
5096
5097
  srfappid: string;
5097
5098
  srfsimple?: boolean | undefined;
5098
- srfpaginationviewid?: string | undefined;
5099
+ srfnavctrlid?: string | undefined;
5099
5100
  };
5100
5101
  readonly params: IParams;
5101
5102
  childNames: string[];
@@ -5167,7 +5168,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
5167
5168
  srfsessionid: string;
5168
5169
  srfappid: string;
5169
5170
  srfsimple?: boolean | undefined;
5170
- srfpaginationviewid?: string | undefined;
5171
+ srfnavctrlid?: string | undefined;
5171
5172
  };
5172
5173
  srfactiveviewdata: IData | null;
5173
5174
  };
@@ -9141,7 +9142,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
9141
9142
  srfsessionid: string;
9142
9143
  srfappid: string;
9143
9144
  srfsimple?: boolean | undefined;
9144
- srfpaginationviewid?: string | undefined;
9145
+ srfnavctrlid?: string | undefined;
9145
9146
  };
9146
9147
  readonly params: IParams;
9147
9148
  childNames: string[];
@@ -9151,6 +9152,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
9151
9152
  destroyed: () => Promise<void>;
9152
9153
  force: (_callback?: (() => void) | undefined) => void;
9153
9154
  };
9155
+ readonly ctrlId: string;
9154
9156
  scheduler?: {
9155
9157
  logics: {
9156
9158
  appId: string;
@@ -12125,7 +12127,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
12125
12127
  srfsessionid: string;
12126
12128
  srfappid: string;
12127
12129
  srfsimple?: boolean | undefined;
12128
- srfpaginationviewid?: string | undefined;
12130
+ srfnavctrlid?: string | undefined;
12129
12131
  };
12130
12132
  readonly params: IParams;
12131
12133
  childNames: string[];
@@ -12276,7 +12278,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
12276
12278
  srfsessionid: string;
12277
12279
  srfappid: string;
12278
12280
  srfsimple?: boolean | undefined;
12279
- srfpaginationviewid?: string | undefined;
12281
+ srfnavctrlid?: string | undefined;
12280
12282
  };
12281
12283
  srfactiveviewdata: IData | null;
12282
12284
  };
@@ -16041,7 +16043,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
16041
16043
  srfsessionid: string;
16042
16044
  srfappid: string;
16043
16045
  srfsimple?: boolean | undefined;
16044
- srfpaginationviewid?: string | undefined;
16046
+ srfnavctrlid?: string | undefined;
16045
16047
  };
16046
16048
  readonly params: IParams;
16047
16049
  childNames: string[];
@@ -16051,6 +16053,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
16051
16053
  destroyed: () => Promise<void>;
16052
16054
  force: (_callback?: (() => void) | undefined) => void;
16053
16055
  };
16056
+ ctrlId: string;
16054
16057
  layoutPanel?: any | undefined;
16055
16058
  scheduler?: {
16056
16059
  logics: {
@@ -16166,7 +16169,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
16166
16169
  srfsessionid: string;
16167
16170
  srfappid: string;
16168
16171
  srfsimple?: boolean | undefined;
16169
- srfpaginationviewid?: string | undefined;
16172
+ srfnavctrlid?: string | undefined;
16170
16173
  };
16171
16174
  };
16172
16175
  readonly model: {
@@ -19005,7 +19008,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
19005
19008
  srfsessionid: string;
19006
19009
  srfappid: string;
19007
19010
  srfsimple?: boolean | undefined;
19008
- srfpaginationviewid?: string | undefined;
19011
+ srfnavctrlid?: string | undefined;
19009
19012
  };
19010
19013
  readonly params: IParams;
19011
19014
  childNames: string[];
@@ -21078,7 +21081,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
21078
21081
  srfsessionid: string;
21079
21082
  srfappid: string;
21080
21083
  srfsimple?: boolean | undefined;
21081
- srfpaginationviewid?: string | undefined;
21084
+ srfnavctrlid?: string | undefined;
21082
21085
  };
21083
21086
  };
21084
21087
  readonly context: {
@@ -21087,7 +21090,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
21087
21090
  srfsessionid: string;
21088
21091
  srfappid: string;
21089
21092
  srfsimple?: boolean | undefined;
21090
- srfpaginationviewid?: string | undefined;
21093
+ srfnavctrlid?: string | undefined;
21091
21094
  };
21092
21095
  name: string;
21093
21096
  evt: {
@@ -21133,7 +21136,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
21133
21136
  srfsessionid: string;
21134
21137
  srfappid: string;
21135
21138
  srfsimple?: boolean | undefined;
21136
- srfpaginationviewid?: string | undefined;
21139
+ srfnavctrlid?: string | undefined;
21137
21140
  };
21138
21141
  params: IParams;
21139
21142
  type: "data" | "public" | "personal";
@@ -1 +1 @@
1
- .ibiz-portlet-layout{--ibiz-portlet-layout-bg-color:transparent;--ibiz-portlet-layout-header-height:50px;--ibiz-portlet-layout-header-padding:calc(var(--ibiz-spacing-base-tight) + 2px) var(--ibiz-spacing-base);--ibiz-portlet-layout-header-margin:var(--ibiz-spacing-none);--ibiz-portlet-layout-header-bg-color:var(--ibiz-color-bg-1);--ibiz-portlet-layout-header-border-bottom:var(--ibiz-border);--ibiz-portlet-layout-caption-max-width:300px;--ibiz-portlet-layout-caption-font-weight:var(--ibiz-font-weight-regular);--ibiz-portlet-layout-caption-font-size:var(--ibiz-font-size-header-5);--ibiz-portlet-layout-caption-color:var(--ibiz-text-color-primary);--ibiz-portlet-layout-content-bg-color:var(--ibiz-color-bg-1);--ibiz-portlet-layout-content-padding:var(--ibiz-spacing-none);--ibiz-portlet-layout-content-margin:var(--ibiz-spacing-none);--ibiz-portlet-layout-padding:var(--ibiz-spacing-tight);width:100%;height:100%;padding:var(--ibiz-portlet-layout-padding);background-color:var(--ibiz-portlet-layout-bg-color)}.ibiz-portlet-layout__caption{max-width:var(--ibiz-portlet-layout-caption-max-width);height:100%;padding:var(--ibiz-spacing-none) var(--ibiz-spacing-none) var(--ibiz-spacing-none) var(--ibiz-spacing-base)}.ibiz-portlet-layout__caption-text{font-size:var(--ibiz-portlet-layout-caption-font-size);font-weight:var(--ibiz-portlet-layout-caption-font-weight);line-height:var(--ibiz-portlet-layout-caption-font-size);color:var(--ibiz-portlet-layout-caption-color)}.ibiz-portlet-layout__caption::before{position:absolute;top:50%;left:0;width:4px;height:var(--ibiz-width-icon-large);content:"";background-color:var(--ibiz-color-primary);border-radius:var(--ibiz-border-radius-extra-small);transform:translateY(-50%)}.ibiz-portlet-layout.is-no-header>.ibiz-portlet-layout-content{height:100%}.ibiz-portlet-layout-header{display:flex;justify-content:space-between;height:var(--ibiz-portlet-layout-header-height);padding:var(--ibiz-portlet-layout-header-padding);margin:var(--ibiz-portlet-layout-header-margin);background-color:var(--ibiz-portlet-layout-header-bg-color);border-bottom:var(--ibiz-portlet-layout-header-border-bottom)}.ibiz-portlet-layout-header__left{position:relative}.ibiz-portlet-layout-content{height:calc(100% - var(--ibiz-portlet-layout-header-height));padding:var(--ibiz-portlet-layout-content-padding);margin:var(--ibiz-portlet-layout-content-margin);overflow-y:scroll;background-color:var(--ibiz-portlet-layout-content-bg-color)}
1
+ .ibiz-portlet-layout{--ibiz-portlet-layout-bg-color:transparent;--ibiz-portlet-layout-header-height:50px;--ibiz-portlet-layout-header-padding:calc(var(--ibiz-spacing-base-tight) + 2px) var(--ibiz-spacing-base);--ibiz-portlet-layout-header-margin:var(--ibiz-spacing-none);--ibiz-portlet-layout-header-bg-color:var(--ibiz-color-bg-1);--ibiz-portlet-layout-header-border-bottom:var(--ibiz-border);--ibiz-portlet-layout-caption-max-width:300px;--ibiz-portlet-layout-caption-font-weight:var(--ibiz-font-weight-regular);--ibiz-portlet-layout-caption-font-size:var(--ibiz-font-size-header-5);--ibiz-portlet-layout-caption-color:var(--ibiz-text-color-primary);--ibiz-portlet-layout-content-bg-color:var(--ibiz-color-bg-1);--ibiz-portlet-layout-content-padding:var(--ibiz-spacing-none);--ibiz-portlet-layout-content-margin:var(--ibiz-spacing-none);--ibiz-portlet-layout-padding:var(--ibiz-spacing-tight);width:100%;height:100%;padding:var(--ibiz-portlet-layout-padding);background-color:var(--ibiz-portlet-layout-bg-color)}.ibiz-portlet-layout__caption{max-width:var(--ibiz-portlet-layout-caption-max-width);height:100%;padding:var(--ibiz-spacing-none) var(--ibiz-spacing-none) var(--ibiz-spacing-none) var(--ibiz-spacing-base)}.ibiz-portlet-layout__caption-text{font-size:var(--ibiz-portlet-layout-caption-font-size);font-weight:var(--ibiz-portlet-layout-caption-font-weight);line-height:var(--ibiz-portlet-layout-caption-font-size);color:var(--ibiz-portlet-layout-caption-color)}.ibiz-portlet-layout__caption::before{position:absolute;top:50%;left:0;width:4px;height:var(--ibiz-width-icon-large);content:"";background-color:var(--ibiz-color-primary);border-radius:var(--ibiz-border-radius-extra-small);transform:translateY(-50%)}.ibiz-portlet-layout__caption.is-link{cursor:pointer}.ibiz-portlet-layout__caption.is-link:hover{color:var(--ibiz-color-link)}.ibiz-portlet-layout.is-no-header>.ibiz-portlet-layout-content{height:100%}.ibiz-portlet-layout-header{display:flex;justify-content:space-between;height:var(--ibiz-portlet-layout-header-height);padding:var(--ibiz-portlet-layout-header-padding);margin:var(--ibiz-portlet-layout-header-margin);background-color:var(--ibiz-portlet-layout-header-bg-color);border-bottom:var(--ibiz-portlet-layout-header-border-bottom)}.ibiz-portlet-layout-header__left{position:relative}.ibiz-portlet-layout-content{height:calc(100% - var(--ibiz-portlet-layout-header-height));padding:var(--ibiz-portlet-layout-content-padding);margin:var(--ibiz-portlet-layout-content-margin);overflow-y:scroll;background-color:var(--ibiz-portlet-layout-content-bg-color)}
@@ -1,3 +1,4 @@
1
+ import { PropType } from 'vue';
1
2
  import { IUIActionGroupDetail } from '@ibiz/model-core';
2
3
  import './portlet-layout.scss';
3
4
  import { PortletPartController } from '@ibiz-template/runtime';
@@ -9,6 +10,9 @@ export declare const PortletLayout: import("vue").DefineComponent<{
9
10
  type: typeof PortletPartController;
10
11
  required: true;
11
12
  };
13
+ linkAction: {
14
+ type: PropType<IUIActionGroupDetail>;
15
+ };
12
16
  }, {
13
17
  c: PortletPartController<import("@ibiz/model-core").IDBPortletPart>;
14
18
  ns: import("@ibiz-template/core").Namespace;
@@ -16,9 +20,13 @@ export declare const PortletLayout: import("vue").DefineComponent<{
16
20
  portletType: string;
17
21
  isShowHeader: import("vue").ComputedRef<string | import("@ibiz/model-core").ISysImage | import("@ibiz/model-core").IUIActionGroup | undefined>;
18
22
  onActionClick: (detail: IUIActionGroupDetail, event: MouseEvent) => Promise<void>;
23
+ openLink: (event: MouseEvent) => void;
19
24
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
25
  controller: {
21
26
  type: typeof PortletPartController;
22
27
  required: true;
23
28
  };
29
+ linkAction: {
30
+ type: PropType<IUIActionGroupDetail>;
31
+ };
24
32
  }>>, {}, {}>;
@@ -11,6 +11,9 @@ const PortletLayout = /* @__PURE__ */ defineComponent({
11
11
  controller: {
12
12
  type: PortletPartController,
13
13
  required: true
14
+ },
15
+ linkAction: {
16
+ type: Object
14
17
  }
15
18
  },
16
19
  setup(props) {
@@ -32,13 +35,19 @@ const PortletLayout = /* @__PURE__ */ defineComponent({
32
35
  const onActionClick = async (detail, event) => {
33
36
  await props.controller.onActionClick(detail, event);
34
37
  };
38
+ const openLink = (event) => {
39
+ if (props.linkAction) {
40
+ props.controller.onActionClick(props.linkAction, event);
41
+ }
42
+ };
35
43
  return {
36
44
  c,
37
45
  ns,
38
46
  popperClass,
39
47
  portletType,
40
48
  isShowHeader,
41
- onActionClick
49
+ onActionClick,
50
+ openLink
42
51
  };
43
52
  },
44
53
  render() {
@@ -55,7 +64,8 @@ const PortletLayout = /* @__PURE__ */ defineComponent({
55
64
  }, [createVNode("div", {
56
65
  "class": this.ns.be("header", "left")
57
66
  }, [model.showTitleBar && createVNode("div", {
58
- "class": this.ns.e("caption")
67
+ "class": [this.ns.e("caption"), this.ns.is("link", !!this.linkAction)],
68
+ "onClick": this.openLink
59
69
  }, [createVNode(resolveComponent("iBizIcon"), {
60
70
  "class": this.ns.e("caption-icon"),
61
71
  "icon": model.sysImage
@@ -11,6 +11,7 @@ export declare const IBizReportPortlet: import("@ibiz-template/vue3-util").TypeW
11
11
  }, {
12
12
  ns: import("@ibiz-template/core").Namespace;
13
13
  report: import("@ibiz/model-core").IControl | undefined;
14
+ linkAction: import("vue").ComputedRef<import("@ibiz/model-core").IUIActionGroupDetail | undefined>;
14
15
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
16
  modelData: {
16
17
  type: import("vue").PropType<import("@ibiz/model-core").IDBSysPortletPart>;
@@ -12,6 +12,7 @@ export declare const ReportPortlet: import("vue").DefineComponent<{
12
12
  }, {
13
13
  ns: import("@ibiz-template/core").Namespace;
14
14
  report: import("@ibiz/model-core").IControl | undefined;
15
+ linkAction: import("vue").ComputedRef<import("@ibiz/model-core").IUIActionGroupDetail | undefined>;
15
16
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
17
  modelData: {
17
18
  type: PropType<import("@ibiz/model-core").IDBSysPortletPart>;
@@ -1,4 +1,4 @@
1
- import { isVNode, onMounted, onBeforeUnmount, resolveComponent, h, createVNode, defineComponent } from 'vue';
1
+ import { isVNode, computed, onMounted, onBeforeUnmount, resolveComponent, h, createVNode, defineComponent } from 'vue';
2
2
  import { useNamespace } from '@ibiz-template/vue3-util';
3
3
  import { ReportPortletController, ControlType } from '@ibiz-template/runtime';
4
4
 
@@ -24,6 +24,12 @@ const ReportPortlet = /* @__PURE__ */ defineComponent({
24
24
  const report = (_b = props.modelData.controls) == null ? void 0 : _b.find((item) => {
25
25
  return item.controlType === ControlType.REPORT_PANEL;
26
26
  });
27
+ const linkAction = computed(() => {
28
+ const {
29
+ uiactionGroupDetails = []
30
+ } = props.controller.model.uiactionGroup || {};
31
+ return uiactionGroupDetails.find((x) => x.uiactionId && x.uiactionId.startsWith("bi_report_view"));
32
+ });
27
33
  let timerTag;
28
34
  onMounted(() => {
29
35
  const timer = props.controller.model.timer;
@@ -38,7 +44,8 @@ const ReportPortlet = /* @__PURE__ */ defineComponent({
38
44
  });
39
45
  return {
40
46
  ns,
41
- report
47
+ report,
48
+ linkAction
42
49
  };
43
50
  },
44
51
  render() {
@@ -50,6 +57,7 @@ const ReportPortlet = /* @__PURE__ */ defineComponent({
50
57
  } = this.controller;
51
58
  return createVNode(resolveComponent("iBizPortletLayout"), {
52
59
  "controller": this.controller,
60
+ "linkAction": this.linkAction,
53
61
  "class": classArr
54
62
  }, _isSlot(_slot = h(resolveComponent("IBizControlShell"), {
55
63
  context,
@@ -1,5 +1,5 @@
1
1
  import { IDashboardController, IPortletContainerController, IPortletProvider, ReportPortletController } from '@ibiz-template/runtime';
2
- import { IDBReportPortlet } from '@ibiz/model-core';
2
+ import { IDBReportPortletPart } from '@ibiz/model-core';
3
3
  /**
4
4
  * 报表门户部件适配器
5
5
  *
@@ -11,5 +11,5 @@ import { IDBReportPortlet } from '@ibiz/model-core';
11
11
  */
12
12
  export declare class ReportPortletProvider implements IPortletProvider {
13
13
  component: string;
14
- createController(portletModel: IDBReportPortlet, dashboard: IDashboardController, parent?: IPortletContainerController): Promise<ReportPortletController>;
14
+ createController(portletModel: IDBReportPortletPart, dashboard: IDashboardController, parent?: IPortletContainerController): Promise<ReportPortletController>;
15
15
  }
@@ -1,5 +1,5 @@
1
1
  import { ref, watch, watchEffect, onUnmounted } from 'vue';
2
- import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.28_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
2
+ import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.30_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
3
3
 
4
4
  "use strict";
5
5
  function useAppDRTab(c, controlRef, counterData) {
@@ -160,7 +160,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
160
160
  srfsessionid: string;
161
161
  srfappid: string;
162
162
  srfsimple?: boolean | undefined;
163
- srfpaginationviewid?: string | undefined;
163
+ srfnavctrlid?: string | undefined;
164
164
  };
165
165
  readonly params: IParams;
166
166
  childNames: string[];
@@ -175,6 +175,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
175
175
  validate: (parentId?: string | undefined) => Promise<boolean>;
176
176
  setDataValue: (name: string, value: unknown) => Promise<void>;
177
177
  view: any;
178
+ ctrlId: string;
178
179
  layoutPanel?: any | undefined;
179
180
  scheduler?: {
180
181
  logics: {
@@ -290,7 +291,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
290
291
  srfsessionid: string;
291
292
  srfappid: string;
292
293
  srfsimple?: boolean | undefined;
293
- srfpaginationviewid?: string | undefined;
294
+ srfnavctrlid?: string | undefined;
294
295
  };
295
296
  };
296
297
  readonly model: {
@@ -3129,7 +3130,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
3129
3130
  srfsessionid: string;
3130
3131
  srfappid: string;
3131
3132
  srfsimple?: boolean | undefined;
3132
- srfpaginationviewid?: string | undefined;
3133
+ srfnavctrlid?: string | undefined;
3133
3134
  };
3134
3135
  readonly params: IParams;
3135
3136
  childNames: string[];
@@ -3201,7 +3202,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
3201
3202
  srfsessionid: string;
3202
3203
  srfappid: string;
3203
3204
  srfsimple?: boolean | undefined;
3204
- srfpaginationviewid?: string | undefined;
3205
+ srfnavctrlid?: string | undefined;
3205
3206
  };
3206
3207
  srfactiveviewdata: IData | null;
3207
3208
  };
@@ -7235,7 +7236,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
7235
7236
  srfsessionid: string;
7236
7237
  srfappid: string;
7237
7238
  srfsimple?: boolean | undefined;
7238
- srfpaginationviewid?: string | undefined;
7239
+ srfnavctrlid?: string | undefined;
7239
7240
  };
7240
7241
  readonly params: IParams;
7241
7242
  childNames: string[];
@@ -7245,6 +7246,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
7245
7246
  destroyed: () => Promise<void>;
7246
7247
  force: (_callback?: (() => void) | undefined) => void;
7247
7248
  };
7249
+ ctrlId: string;
7248
7250
  layoutPanel?: {
7249
7251
  hooks: {
7250
7252
  validate: {
@@ -7312,7 +7314,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
7312
7314
  srfsessionid: string;
7313
7315
  srfappid: string;
7314
7316
  srfsimple?: boolean | undefined;
7315
- srfpaginationviewid?: string | undefined;
7317
+ srfnavctrlid?: string | undefined;
7316
7318
  };
7317
7319
  readonly params: IParams;
7318
7320
  childNames: string[];
@@ -7463,7 +7465,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
7463
7465
  srfsessionid: string;
7464
7466
  srfappid: string;
7465
7467
  srfsimple?: boolean | undefined;
7466
- srfpaginationviewid?: string | undefined;
7468
+ srfnavctrlid?: string | undefined;
7467
7469
  };
7468
7470
  srfactiveviewdata: IData | null;
7469
7471
  };
@@ -11437,7 +11439,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
11437
11439
  srfsessionid: string;
11438
11440
  srfappid: string;
11439
11441
  srfsimple?: boolean | undefined;
11440
- srfpaginationviewid?: string | undefined;
11442
+ srfnavctrlid?: string | undefined;
11441
11443
  };
11442
11444
  readonly params: IParams;
11443
11445
  childNames: string[];
@@ -11447,6 +11449,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
11447
11449
  destroyed: () => Promise<void>;
11448
11450
  force: (_callback?: (() => void) | undefined) => void;
11449
11451
  };
11452
+ ctrlId: string;
11450
11453
  layoutPanel?: any | undefined;
11451
11454
  scheduler?: {
11452
11455
  logics: {
@@ -11562,7 +11565,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
11562
11565
  srfsessionid: string;
11563
11566
  srfappid: string;
11564
11567
  srfsimple?: boolean | undefined;
11565
- srfpaginationviewid?: string | undefined;
11568
+ srfnavctrlid?: string | undefined;
11566
11569
  };
11567
11570
  };
11568
11571
  readonly model: {
@@ -14401,7 +14404,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
14401
14404
  srfsessionid: string;
14402
14405
  srfappid: string;
14403
14406
  srfsimple?: boolean | undefined;
14404
- srfpaginationviewid?: string | undefined;
14407
+ srfnavctrlid?: string | undefined;
14405
14408
  };
14406
14409
  readonly params: IParams;
14407
14410
  childNames: string[];
@@ -14528,7 +14531,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
14528
14531
  srfsessionid: string;
14529
14532
  srfappid: string;
14530
14533
  srfsimple?: boolean | undefined;
14531
- srfpaginationviewid?: string | undefined;
14534
+ srfnavctrlid?: string | undefined;
14532
14535
  };
14533
14536
  };
14534
14537
  readonly model: {
@@ -18762,7 +18765,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
18762
18765
  srfsessionid: string;
18763
18766
  srfappid: string;
18764
18767
  srfsimple?: boolean | undefined;
18765
- srfpaginationviewid?: string | undefined;
18768
+ srfnavctrlid?: string | undefined;
18766
18769
  };
18767
18770
  readonly params: IParams;
18768
18771
  childNames: string[];
@@ -334,7 +334,7 @@ const GridControl = /* @__PURE__ */ defineComponent({
334
334
  "controller": this.c,
335
335
  "style": this.headerCssVars
336
336
  }, {
337
- default: () => [createVNode(resolveComponent("el-table"), {
337
+ default: () => [createVNode(resolveComponent("el-table"), mergeProps({
338
338
  "ref": "tableRef",
339
339
  "class": this.ns.e("table"),
340
340
  "default-sort": this.defaultSort,
@@ -355,7 +355,7 @@ const GridControl = /* @__PURE__ */ defineComponent({
355
355
  "onHeaderDragend": this.headerDragend,
356
356
  "tooltip-effect": "light",
357
357
  "scrollbar-always-on": true
358
- }, {
358
+ }, this.$attrs), {
359
359
  empty: this.renderNoData,
360
360
  default: () => {
361
361
  return [this.c.enableRowEditOrder && this.renderDragIconColumn(), !state.singleSelect && createVNode(resolveComponent("el-table-column"), {
@@ -1,5 +1,5 @@
1
- import { IUIActionGroupDetail } from '@ibiz/model-core';
2
- import { Ref } from 'vue';
1
+ import { ILayoutPanel, IPanel, IUIActionGroupDetail } from '@ibiz/model-core';
2
+ import { Ref, VNode } from 'vue';
3
3
  import './grid-field-column.scss';
4
4
  import { GridFieldColumnController, GridRowState } from '@ibiz-template/runtime';
5
5
  export declare const GridFieldColumn: import("vue").DefineComponent<{
@@ -25,6 +25,8 @@ export declare const GridFieldColumn: import("vue").DefineComponent<{
25
25
  tooltip: import("vue").ComputedRef<string | undefined>;
26
26
  zIndex: number | undefined;
27
27
  codeListItems: Ref<readonly IData[]>;
28
+ findLayoutPanel: () => IPanel | undefined;
29
+ renderPanelItemLayout: (item: IData, modelData: ILayoutPanel) => VNode;
28
30
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
31
  controller: {
30
32
  type: typeof GridFieldColumnController;
@@ -37,7 +37,8 @@ const GridFieldColumn = /* @__PURE__ */ defineComponent({
37
37
  watch(() => props.row, async () => {
38
38
  CustomHtml.value = await props.controller.getCustomHtml(props.row);
39
39
  }, {
40
- deep: true
40
+ deep: true,
41
+ immediate: true
41
42
  });
42
43
  const fieldValue = computed(() => props.row.data[props.controller.fieldName]);
43
44
  const formatValue = computed(() => props.controller.formatValue(fieldValue.value));
@@ -85,6 +86,25 @@ const GridFieldColumn = /* @__PURE__ */ defineComponent({
85
86
  }
86
87
  };
87
88
  useCodeListListen(props.controller.model.appCodeListId, props.controller.context.srfappid, fn);
89
+ const findLayoutPanel = () => {
90
+ var _a;
91
+ const {
92
+ controlRenders = []
93
+ } = props.controller.model;
94
+ return (_a = controlRenders.find((renderItem) => renderItem.renderType === "LAYOUTPANEL")) == null ? void 0 : _a.layoutPanel;
95
+ };
96
+ const renderPanelItemLayout = (item, modelData) => {
97
+ const {
98
+ context,
99
+ params
100
+ } = props.controller;
101
+ return createVNode(resolveComponent("iBizControlShell"), {
102
+ "data": item,
103
+ "modelData": modelData,
104
+ "context": context,
105
+ "params": params
106
+ }, null);
107
+ };
88
108
  return {
89
109
  ns,
90
110
  onCellClick,
@@ -98,7 +118,9 @@ const GridFieldColumn = /* @__PURE__ */ defineComponent({
98
118
  codeListValue,
99
119
  tooltip,
100
120
  zIndex,
101
- codeListItems
121
+ codeListItems,
122
+ findLayoutPanel,
123
+ renderPanelItemLayout
102
124
  };
103
125
  },
104
126
  render() {
@@ -113,11 +135,19 @@ const GridFieldColumn = /* @__PURE__ */ defineComponent({
113
135
  "zIndex": this.zIndex
114
136
  }, null) : null;
115
137
  let content = null;
138
+ const panel = this.findLayoutPanel();
116
139
  if (c.isCustomCode) {
117
140
  content = createVNode("span", {
118
141
  "class": this.ns.e("script"),
119
142
  "innerHTML": this.CustomHtml
120
143
  }, null);
144
+ } else if (panel) {
145
+ content = createVNode(resolveComponent("iBizControlShell"), {
146
+ "data": this.row.data,
147
+ "modelData": panel,
148
+ "context": c.context,
149
+ "params": c.params
150
+ }, null);
121
151
  } else if (c.codeList) {
122
152
  content = createVNode(resolveComponent("iBizCodeList"), {
123
153
  "class": this.ns.e("text"),
@@ -21,6 +21,10 @@ export declare const IBizGridFieldColumn: import("@ibiz-template/vue3-util").Typ
21
21
  tooltip: import("vue").ComputedRef<string | undefined>;
22
22
  zIndex: number | undefined;
23
23
  codeListItems: import("vue").Ref<readonly IData[]>;
24
+ findLayoutPanel: () => import("@ibiz/model-core").IPanel | undefined;
25
+ renderPanelItemLayout: (item: IData, modelData: import("@ibiz/model-core").IPanel) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
+ [key: string]: any;
27
+ }>;
24
28
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
29
  controller: {
26
30
  type: typeof import("@ibiz-template/runtime").GridFieldColumnController;
@@ -81,6 +81,15 @@ const ListControl = /* @__PURE__ */ defineComponent({
81
81
  });
82
82
  const infiniteScroll = ref();
83
83
  const infiniteScrollKey = ref(createUUID());
84
+ const defaultOpens = ref();
85
+ if (c.controlParams.defaultexpandall === "true") {
86
+ watch(() => c.state.groups, () => {
87
+ if (c.state.groups.length > 0) {
88
+ defaultOpens.value = c.state.groups.map((x) => x.key);
89
+ }
90
+ });
91
+ defaultOpens.value = c.state.groups.map((x) => x.key);
92
+ }
84
93
  watch(() => c.state.curPage, () => {
85
94
  var _a, _b;
86
95
  if (c.state.curPage === 1 && (c.model.pagingMode === 2 || c.model.pagingMode === 3)) {
@@ -127,7 +136,8 @@ const ListControl = /* @__PURE__ */ defineComponent({
127
136
  const panel = props.modelData.itemLayoutPanel;
128
137
  return createVNode(resolveComponent("el-collapse-item"), {
129
138
  "title": showTitle(group.caption),
130
- "class": ns.be("group-content", "item")
139
+ "class": ns.be("group-content", "item"),
140
+ "name": group.key
131
141
  }, {
132
142
  default: () => [group.children.length > 0 ? group.children.map((item) => {
133
143
  return panel ? renderPanelItem(item, panel) : renderDefaultItem(item);
@@ -140,6 +150,8 @@ const ListControl = /* @__PURE__ */ defineComponent({
140
150
  let _slot;
141
151
  if (c.model.enableGroup && !c.state.isSimple) {
142
152
  return createVNode(resolveComponent("el-collapse"), {
153
+ "modelValue": defaultOpens.value,
154
+ "onUpdate:modelValue": ($event) => defaultOpens.value = $event,
143
155
  "class": [ns.b("group-content"), ns.b("content")]
144
156
  }, {
145
157
  default: () => {
@@ -1 +1 @@
1
- .ibiz-filter-tree{padding:var(--ibiz-spacing-base)}.ibiz-filter-tree__editor{display:inline-block;width:180px;margin-right:var(--ibiz-spacing-tight)}.ibiz-filter-tree__field-select{width:185px;margin-right:var(--ibiz-spacing-tight)}.ibiz-filter-tree__mode-select{width:185px;margin-right:var(--ibiz-spacing-tight)}.ibiz-filter-tree-group{padding:var(--ibiz-spacing-tight);border:1px solid var(--ibiz-color-border)}.ibiz-filter-tree-group__actions{padding-bottom:var(--ibiz-spacing-base)}.ibiz-filter-tree-group__logic-type{width:80px;margin-left:var(--ibiz-spacing-tight)}.ibiz-filter-tree-group__list-item{position:relative;display:flex;align-items:center;justify-content:flex-start;padding-right:var(--ibiz-spacing-base);padding-bottom:var(--ibiz-spacing-base)}.ibiz-filter-tree-group__list-item-left{align-self:flex-start;width:32px;margin:var(--ibiz-spacing-extra-tight) var(--ibiz-spacing-tight) var(--ibiz-spacing-none);font-size:var(--ibiz-font-size-regular);color:var(--ibiz-editor-default-text-color)}.ibiz-filter-tree-group__list-item-right{position:absolute;top:8px;right:0;color:var(--ibiz-color-danger);cursor:pointer}.ibiz-filter-tree-group__list-item-right:hover{color:var(--ibiz-color-danger-hover)}.ibiz-filter-tree-group--items>.ibiz-filter-tree-group__actions{display:flex}.ibiz-filter-tree-group--items>.ibiz-filter-tree-group__actions>.ibiz-filter-tree-item{width:auto}.ibiz-filter-tree-item{display:flex;align-items:center;justify-content:flex-start;width:574px}.ibiz-filter-tree-footer{margin-top:var(--ibiz-spacing-tight);text-align:right}
1
+ .ibiz-filter-tree{padding:var(--ibiz-spacing-base)}.ibiz-filter-tree__editor{display:inline-block;width:180px;margin-right:var(--ibiz-spacing-tight)}.ibiz-filter-tree__field-select{width:185px;margin-right:var(--ibiz-spacing-tight)}.ibiz-filter-tree__mode-select{width:185px;margin-right:var(--ibiz-spacing-tight)}.ibiz-filter-tree-group{padding:var(--ibiz-spacing-tight);border:1px solid var(--ibiz-color-border)}.ibiz-filter-tree-group__editor{width:600px;height:270px}.ibiz-filter-tree-group__actions{padding-bottom:var(--ibiz-spacing-base)}.ibiz-filter-tree-group__logic-type{width:80px;margin-left:var(--ibiz-spacing-tight)}.ibiz-filter-tree-group__list-item{position:relative;display:flex;align-items:center;justify-content:flex-start;padding-right:var(--ibiz-spacing-base);padding-bottom:var(--ibiz-spacing-base)}.ibiz-filter-tree-group__list-item-left{align-self:flex-start;width:32px;margin:var(--ibiz-spacing-extra-tight) var(--ibiz-spacing-tight) var(--ibiz-spacing-none);font-size:var(--ibiz-font-size-regular);color:var(--ibiz-editor-default-text-color)}.ibiz-filter-tree-group__list-item-right{position:absolute;top:8px;right:0;color:var(--ibiz-color-danger);cursor:pointer}.ibiz-filter-tree-group__list-item-right:hover{color:var(--ibiz-color-danger-hover)}.ibiz-filter-tree-group--items>.ibiz-filter-tree-group__actions{display:flex}.ibiz-filter-tree-group--items>.ibiz-filter-tree-group__actions>.ibiz-filter-tree-item{width:auto}.ibiz-filter-tree-item{display:flex;align-items:center;justify-content:flex-start;width:574px}.ibiz-filter-tree-footer{margin-top:var(--ibiz-spacing-tight);text-align:right}
@@ -25,15 +25,27 @@ export declare const FilterTreeControl: import("vue").DefineComponent<{
25
25
  type: StringConstructor;
26
26
  required: true;
27
27
  };
28
+ filterMode: {
29
+ type: PropType<"default" | "pql">;
30
+ default: string;
31
+ };
32
+ customCond: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ context: {
37
+ type: PropType<IContext>;
38
+ };
28
39
  }, {
29
40
  ns: import("@ibiz-template/core").Namespace;
30
- renderFilterGroup: (node: IFilterNodeGroup | IFilterNodeItems, itemsC?: SearchBarFilterItemsController) => any;
41
+ renderFilterGroup: (node: IFilterNodeGroup | IFilterNodeItems, itemsC?: SearchBarFilterItemsController, root?: boolean) => any;
31
42
  renderFilterItem: (node: IFilterNodeField, itemsC?: SearchBarFilterItemsController) => JSX.Element | undefined;
32
43
  onConfirm: () => void;
33
44
  onCancel: () => void;
34
45
  isInSearchBar: import("vue").ComputedRef<boolean>;
35
46
  UiFilterNodes: import("vue").ComputedRef<IFilterNode[]>;
36
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "change" | "confirm")[], "cancel" | "change" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
+ pqlEditor: import("vue").Ref<any>;
48
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "change" | "confirm" | "customCondChange")[], "cancel" | "change" | "confirm" | "customCondChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
49
  /**
38
50
  * 过滤项控制器集合
39
51
  */
@@ -55,8 +67,23 @@ export declare const FilterTreeControl: import("vue").DefineComponent<{
55
67
  type: StringConstructor;
56
68
  required: true;
57
69
  };
70
+ filterMode: {
71
+ type: PropType<"default" | "pql">;
72
+ default: string;
73
+ };
74
+ customCond: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ context: {
79
+ type: PropType<IContext>;
80
+ };
58
81
  }>> & {
59
82
  onChange?: ((...args: any[]) => any) | undefined;
60
83
  onConfirm?: ((...args: any[]) => any) | undefined;
61
84
  onCancel?: ((...args: any[]) => any) | undefined;
62
- }, {}, {}>;
85
+ onCustomCondChange?: ((...args: any[]) => any) | undefined;
86
+ }, {
87
+ customCond: string;
88
+ filterMode: "default" | "pql";
89
+ }, {}>;