@farris/ui-vue 1.3.1 → 1.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 (259) hide show
  1. package/components/accordion/index.esm.js +103 -99
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +301 -351
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/binding-selector/index.esm.js +444 -0
  6. package/components/binding-selector/index.umd.cjs +1 -0
  7. package/components/binding-selector/package.json +8 -0
  8. package/components/border-editor/index.esm.js +5 -3
  9. package/components/border-editor/index.umd.cjs +1 -1
  10. package/components/button-edit/index.esm.js +143 -139
  11. package/components/button-edit/index.umd.cjs +1 -1
  12. package/components/calendar/index.esm.js +407 -396
  13. package/components/calendar/index.umd.cjs +1 -1
  14. package/components/capsule/index.esm.js +266 -255
  15. package/components/capsule/index.umd.cjs +1 -1
  16. package/components/checkbox/index.esm.js +628 -641
  17. package/components/checkbox/index.umd.cjs +1 -1
  18. package/components/color-picker/index.esm.js +379 -374
  19. package/components/color-picker/index.umd.cjs +2 -2
  20. package/components/combo-list/index.esm.js +471 -471
  21. package/components/combo-list/index.umd.cjs +1 -1
  22. package/components/combo-tree/index.esm.js +155 -148
  23. package/components/combo-tree/index.umd.cjs +1 -1
  24. package/components/common/index.esm.js +487 -478
  25. package/components/common/index.umd.cjs +1 -1
  26. package/components/component/index.esm.js +330 -279
  27. package/components/component/index.umd.cjs +1 -1
  28. package/components/condition/index.esm.js +1171 -1277
  29. package/components/condition/index.umd.cjs +1 -1
  30. package/components/content-container/index.esm.js +220 -204
  31. package/components/content-container/index.umd.cjs +1 -1
  32. package/components/data-grid/index.esm.js +4743 -4641
  33. package/components/data-grid/index.umd.cjs +1 -1
  34. package/components/data-view/index.esm.js +2916 -3019
  35. package/components/data-view/index.umd.cjs +1 -1
  36. package/components/date-picker/index.esm.js +2375 -2590
  37. package/components/date-picker/index.umd.cjs +1 -1
  38. package/components/designer-canvas/index.css +1 -1
  39. package/components/designer-canvas/index.esm.js +9518 -1198
  40. package/components/designer-canvas/index.umd.cjs +1 -1
  41. package/components/designer-outline/index.esm.js +2 -1
  42. package/components/designer-outline/index.umd.cjs +1 -1
  43. package/components/drawer/index.esm.js +34 -38
  44. package/components/drawer/index.umd.cjs +1 -1
  45. package/components/dropdown/index.esm.js +149 -138
  46. package/components/dropdown/index.umd.cjs +2 -2
  47. package/components/dynamic-form/index.esm.js +1602 -1740
  48. package/components/dynamic-form/index.umd.cjs +1 -1
  49. package/components/dynamic-resolver/index.esm.js +159 -151
  50. package/components/dynamic-resolver/index.umd.cjs +1 -1
  51. package/components/dynamic-view/index.esm.js +218 -218
  52. package/components/dynamic-view/index.umd.cjs +1 -1
  53. package/components/event-parameter/index.esm.js +311 -0
  54. package/components/event-parameter/index.umd.cjs +1 -0
  55. package/components/event-parameter/package.json +8 -0
  56. package/components/events-editor/index.css +1 -1
  57. package/components/events-editor/index.esm.js +533 -563
  58. package/components/events-editor/index.umd.cjs +1 -1
  59. package/components/expression-editor/index.esm.js +95 -91
  60. package/components/expression-editor/index.umd.cjs +1 -1
  61. package/components/external-container/index.esm.js +2356 -2455
  62. package/components/external-container/index.umd.cjs +1 -1
  63. package/components/field-selector/index.esm.js +3048 -3308
  64. package/components/field-selector/index.umd.cjs +1 -1
  65. package/components/filter-bar/index.css +1 -1
  66. package/components/filter-bar/index.esm.js +10537 -3249
  67. package/components/filter-bar/index.umd.cjs +1 -1
  68. package/components/flow-canvas/index.css +1 -1
  69. package/components/flow-canvas/index.esm.js +9781 -1327
  70. package/components/flow-canvas/index.umd.cjs +1 -1
  71. package/components/image-cropper/index.esm.js +353 -341
  72. package/components/image-cropper/index.umd.cjs +1 -1
  73. package/components/input-group/index.esm.js +510 -827
  74. package/components/input-group/index.umd.cjs +1 -1
  75. package/components/layout/index.esm.js +278 -268
  76. package/components/layout/index.umd.cjs +1 -1
  77. package/components/list-nav/index.esm.js +144 -136
  78. package/components/list-nav/index.umd.cjs +1 -1
  79. package/components/list-view/index.esm.js +2139 -2237
  80. package/components/list-view/index.umd.cjs +1 -1
  81. package/components/lookup/index.esm.js +6414 -6367
  82. package/components/lookup/index.umd.cjs +1 -1
  83. package/components/mapping-editor/index.esm.js +5216 -5114
  84. package/components/mapping-editor/index.umd.cjs +1 -1
  85. package/components/message-box/index.esm.js +252 -252
  86. package/components/message-box/index.umd.cjs +1 -1
  87. package/components/modal/index.esm.js +70 -70
  88. package/components/modal/index.umd.cjs +1 -1
  89. package/components/nav/index.esm.js +486 -984
  90. package/components/nav/index.umd.cjs +3 -3
  91. package/components/number-range/index.esm.js +446 -498
  92. package/components/number-range/index.umd.cjs +1 -1
  93. package/components/number-spinner/index.esm.js +363 -388
  94. package/components/number-spinner/index.umd.cjs +1 -1
  95. package/components/order/index.esm.js +1050 -1308
  96. package/components/order/index.umd.cjs +1 -1
  97. package/components/page-footer/index.esm.js +134 -131
  98. package/components/page-footer/index.umd.cjs +1 -1
  99. package/components/page-header/index.esm.js +1072 -1082
  100. package/components/page-header/index.umd.cjs +1 -1
  101. package/components/pagination/index.esm.js +412 -910
  102. package/components/pagination/index.umd.cjs +1 -1
  103. package/components/progress/index.esm.js +214 -203
  104. package/components/progress/index.umd.cjs +3 -3
  105. package/components/property-editor/index.esm.js +1361 -1536
  106. package/components/property-editor/index.umd.cjs +2 -2
  107. package/components/property-panel/index.esm.js +650 -677
  108. package/components/property-panel/index.umd.cjs +1 -1
  109. package/components/query-solution/index.css +1 -1
  110. package/components/query-solution/index.esm.js +12344 -5048
  111. package/components/query-solution/index.umd.cjs +6 -1
  112. package/components/radio-button/index.esm.js +97 -97
  113. package/components/radio-button/index.umd.cjs +1 -1
  114. package/components/radio-group/index.css +1 -1
  115. package/components/radio-group/index.esm.js +1821 -565
  116. package/components/radio-group/index.umd.cjs +1 -1
  117. package/components/rate/index.esm.js +251 -244
  118. package/components/rate/index.umd.cjs +1 -1
  119. package/components/response-layout/index.esm.js +151 -140
  120. package/components/response-layout/index.umd.cjs +1 -1
  121. package/components/response-layout-editor/index.esm.js +707 -676
  122. package/components/response-layout-editor/index.umd.cjs +1 -1
  123. package/components/response-toolbar/index.esm.js +719 -740
  124. package/components/response-toolbar/index.umd.cjs +1 -1
  125. package/components/schema-selector/index.esm.js +4977 -5249
  126. package/components/schema-selector/index.umd.cjs +2 -2
  127. package/components/search-box/index.esm.js +145 -134
  128. package/components/search-box/index.umd.cjs +1 -1
  129. package/components/section/index.esm.js +348 -337
  130. package/components/section/index.umd.cjs +1 -1
  131. package/components/smoke-detector/index.esm.js +141 -130
  132. package/components/smoke-detector/index.umd.cjs +1 -1
  133. package/components/splitter/index.esm.js +311 -301
  134. package/components/splitter/index.umd.cjs +1 -1
  135. package/components/step/index.esm.js +231 -220
  136. package/components/step/index.umd.cjs +1 -1
  137. package/components/switch/index.esm.js +385 -432
  138. package/components/switch/index.umd.cjs +1 -1
  139. package/components/tabs/index.esm.js +1932 -1914
  140. package/components/tabs/index.umd.cjs +1 -1
  141. package/components/tags/index.esm.js +351 -340
  142. package/components/tags/index.umd.cjs +1 -1
  143. package/components/text/index.esm.js +209 -199
  144. package/components/text/index.umd.cjs +1 -1
  145. package/components/textarea/index.esm.js +388 -415
  146. package/components/textarea/index.umd.cjs +1 -1
  147. package/components/time-picker/index.esm.js +619 -666
  148. package/components/time-picker/index.umd.cjs +1 -1
  149. package/components/transfer/index.esm.js +493 -486
  150. package/components/transfer/index.umd.cjs +1 -1
  151. package/components/tree-grid/index.esm.js +3169 -3278
  152. package/components/tree-grid/index.umd.cjs +1 -1
  153. package/components/tree-view/index.esm.js +2320 -2418
  154. package/components/tree-view/index.umd.cjs +1 -1
  155. package/components/uploader/index.esm.js +563 -554
  156. package/components/uploader/index.umd.cjs +2 -2
  157. package/components/verify-detail/index.esm.js +287 -276
  158. package/components/verify-detail/index.umd.cjs +1 -1
  159. package/components/video/index.esm.js +368 -324
  160. package/components/video/index.umd.cjs +1 -1
  161. package/components/weather/index.esm.js +498 -487
  162. package/components/weather/index.umd.cjs +5 -5
  163. package/farris.all.esm.js +51302 -47651
  164. package/farris.all.umd.cjs +14 -9
  165. package/index.css +1 -1
  166. package/package.json +1 -1
  167. package/types/binding-selector/index.d.ts +55 -0
  168. package/types/binding-selector/src/binding-selector.component.d.ts +11 -0
  169. package/types/binding-selector/src/binding-selector.props.d.ts +52 -0
  170. package/types/binding-selector/src/components/binding-selector-container.component.d.ts +13 -0
  171. package/types/binding-selector/src/composition/use-field-selection.d.ts +9 -0
  172. package/types/combo-list/src/components/list-container.component.d.ts +6 -6
  173. package/types/combo-list/src/components/list-container.props.d.ts +1 -1
  174. package/types/combo-tree/src/components/tree-container.component.d.ts +5 -5
  175. package/types/common/entity/entity-schema.d.ts +26 -11
  176. package/types/common/index.d.ts +1 -0
  177. package/types/common/types.d.ts +2 -2
  178. package/types/condition/src/condition-fields.design.component.d.ts +18 -0
  179. package/types/condition/src/types.d.ts +6 -6
  180. package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +20 -0
  181. package/types/data-grid/src/{designer/data-grid-column.props.d.ts → data-grid-column.props.d.ts} +1 -1
  182. package/types/data-grid/src/data-grid.props.d.ts +2 -2
  183. package/types/data-grid/src/designer/grid-field-editor.component.d.ts +14 -14
  184. package/types/data-grid/src/schema/schema-resolver.d.ts +1 -1
  185. package/types/data-view/composition/types.d.ts +2 -2
  186. package/types/date-picker/src/components/calendar/calendar.component.d.ts +3 -3
  187. package/types/date-picker/src/components/month/month.component.d.ts +3 -3
  188. package/types/date-picker/src/components/year/year.component.d.ts +3 -3
  189. package/types/designer-canvas/index.d.ts +2 -1
  190. package/types/designer-canvas/src/composition/dg-control.d.ts +5 -0
  191. package/types/designer-canvas/src/composition/function/drag-resolve.d.ts +5 -0
  192. package/types/designer-canvas/src/composition/types.d.ts +49 -40
  193. package/types/designer-canvas/src/types.d.ts +8 -20
  194. package/types/dynamic-form/index.d.ts +1 -1
  195. package/types/dynamic-form/src/designer/form-group-use-designer-rules.d.ts +3 -0
  196. package/types/dynamic-form/src/schema/{schema-resolver.d.ts → response-form-schema-resolver.d.ts} +1 -1
  197. package/types/dynamic-form/src/types.d.ts +1 -1
  198. package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +5 -0
  199. package/types/dynamic-resolver/src/converter/row-number.converter.d.ts +3 -0
  200. package/types/entity-binding-selector/composition/use-entity-tree.d.ts +7 -0
  201. package/types/entity-binding-selector/entity-binding-selector.component.d.ts +11 -0
  202. package/types/entity-binding-selector/entity-binding-selector.props.d.ts +3 -0
  203. package/types/enum-editor/src/components/enum-editor-container.component.d.ts +3 -3
  204. package/types/enum-editor/src/enum-editor.component.d.ts +3 -3
  205. package/types/event-parameter/index.d.ts +31 -0
  206. package/types/event-parameter/src/composition/type.d.ts +77 -0
  207. package/types/event-parameter/src/composition/use-editor-combotree.d.ts +3 -0
  208. package/types/event-parameter/src/composition/use-editor-input.d.ts +3 -0
  209. package/types/event-parameter/src/composition/use-editor-select.d.ts +3 -0
  210. package/types/event-parameter/src/composition/use-editor-switch.d.ts +3 -0
  211. package/types/event-parameter/src/composition/use-editor.d.ts +3 -0
  212. package/types/event-parameter/src/event-parameter.component.d.ts +8 -0
  213. package/types/event-parameter/src/event-parameter.props.d.ts +34 -0
  214. package/types/external-container/src/designer/import-external-schema.component.d.ts +1 -1
  215. package/types/field-selector/src/field-selector.component.d.ts +1 -2
  216. package/types/field-selector/src/field-selector.props.d.ts +0 -9
  217. package/types/input-group/src/designer/use-input-group-rules.d.ts +1 -2
  218. package/types/list-view/src/designer/list-view-table.design.component.d.ts +15 -0
  219. package/types/list-view/src/list-view-table.component.d.ts +15 -0
  220. package/types/lookup/src/composition/use-user-data.d.ts +2 -2
  221. package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -6
  222. package/types/modal/src/composition/modal.service.d.ts +2 -1
  223. package/types/page-header/src/designer/page-header.design.component.d.ts +1 -1
  224. package/types/page-header/src/page-header.component.d.ts +1 -1
  225. package/types/property-panel/index.d.ts +2 -1
  226. package/types/property-panel/src/composition/entity/property-entity.d.ts +1 -1
  227. package/types/property-panel/src/composition/type.d.ts +0 -13
  228. package/types/query-solution/src/composition/types.d.ts +35 -4
  229. package/types/query-solution/src/composition/use-header.d.ts +21 -0
  230. package/types/query-solution/src/composition/{use-filter.d.ts → use-http.d.ts} +2 -2
  231. package/types/query-solution/src/composition/use-solution.d.ts +20 -0
  232. package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +17 -16
  233. package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +14 -14
  234. package/types/query-solution/src/property-config/query-solution.property-config.d.ts +3 -51
  235. package/types/query-solution/src/query-solution.d.ts +10 -2
  236. package/types/radio-group/src/designer/item-collection-editor-inner.component.d.ts +29 -0
  237. package/types/radio-group/src/designer/item-collection-editor.component.d.ts +29 -0
  238. package/types/radio-group/src/designer/item-collection-editor.props.d.ts +21 -0
  239. package/types/radio-group/src/schema/schema-mapper.d.ts +1 -0
  240. package/types/radio-group/src/schema/schema-resolver.d.ts +1 -0
  241. package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -0
  242. package/types/section/src/property-config/section.property-config.d.ts +17 -17
  243. package/types/section/src/schema/schema-resolver.d.ts +1 -2
  244. package/types/section/src/schema/toolbar-resolver.d.ts +1 -1
  245. package/types/tabs/src/composition/types.d.ts +4 -1
  246. package/types/tabs/src/property-config/tab-page.property-config.d.ts +9 -59
  247. package/types/tabs/src/property-config/tabs.property-config.d.ts +8 -71
  248. package/types/tabs/src/schema/schema-resolver.d.ts +1 -2
  249. package/types/text/src/composition/types.d.ts +4 -4
  250. package/types/textarea/src/property-config/textarea.property-config.d.ts +23 -0
  251. package/types/weather/src/composition/use-weather-charts.d.ts +15 -0
  252. package/types/weather/src/composition/use-weather-color.d.ts +15 -0
  253. package/types/weather/src/composition/use-weather-data.d.ts +15 -0
  254. package/types/weather/src/composition/use-weather-format-number.d.ts +15 -0
  255. package/types/property-panel/src/composition/entity/use-input-rules.d.ts +0 -3
  256. package/types/tree-grid/src/schema/column-resolver.d.ts +0 -3
  257. package/types/weather/src/composition/types.d.ts +0 -2
  258. /package/types/dynamic-form/src/designer/{use-designer-rules.d.ts → response-form-use-designer-rules.d.ts} +0 -0
  259. /package/types/dynamic-form/src/property-config/{form.property-config.d.ts → response-form.property-config.d.ts} +0 -0
@@ -16,10 +16,11 @@
16
16
  import type { App } from 'vue';
17
17
  import FPropertyPanel from './src/property-panel.component';
18
18
  import { BaseControlProperty } from './src/composition/entity/base-property';
19
+ import { SchemaDOMMapping } from './src/composition/entity/schema-dom-mapping';
19
20
  export * from './src/composition/props/property-panel-item.props';
20
21
  export * from './src/composition/props/property-panel.props';
21
22
  export * from './src/composition/type';
22
- export { FPropertyPanel, BaseControlProperty };
23
+ export { FPropertyPanel, BaseControlProperty, SchemaDOMMapping };
23
24
  declare const _default: {
24
25
  install(app: App): void;
25
26
  };
@@ -34,7 +34,7 @@ export interface PropertyEntity {
34
34
  /**
35
35
  * 是否可见,默认true
36
36
  */
37
- visible?: () => boolean;
37
+ visible: boolean | (() => boolean);
38
38
  /**
39
39
  * 最小值
40
40
  */
@@ -56,19 +56,6 @@ export interface FormUnifiedColumnLayout {
56
56
  uniqueColClassInLG: number;
57
57
  uniqueColClassInEL: number;
58
58
  }
59
- /**
60
- * dom Json ViewModel 节点中states实体
61
- */
62
- export declare class FormVariable {
63
- id: string;
64
- code: string;
65
- name: string;
66
- value?: any;
67
- type: string;
68
- category: string;
69
- fields?: any[];
70
- defaultValue?: any;
71
- }
72
59
  export interface IPropertyConfig {
73
60
  getPropertyConfig(propertyData: any, eventsEditorUtils: any): any;
74
61
  }
@@ -1,8 +1,39 @@
1
- import { FieldConfig } from '../../../condition';
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
2
16
  import { QuerySolution } from '../query-solution';
3
- export interface UseFilter {
17
+ import { JSX } from "vue/jsx-runtime";
18
+ import { AxiosResponse } from 'axios';
19
+ export type TransferItme = {
20
+ id: string;
21
+ name: string;
22
+ };
23
+ export interface UseSolution {
4
24
  /**
5
- * 切换单选按钮事件
25
+ * 生成默认筛选方案
6
26
  */
7
- filterCondition: (fields: FieldConfig[], solutions: QuerySolution[]) => QuerySolution[];
27
+ getDefaultSolution: () => QuerySolution;
28
+ loadAllSolution: () => void;
29
+ getGuid: () => string;
30
+ }
31
+ export interface UseHeader {
32
+ renderHeader: () => JSX.Element;
33
+ }
34
+ export interface UseHttp {
35
+ createSolution: (solution: any) => Promise<AxiosResponse<any, any>>;
36
+ loadSolution: () => Promise<AxiosResponse<any, any>>;
37
+ updateSolution: (solution: any) => Promise<AxiosResponse<any, any>>;
38
+ getAuth: (type: string) => Promise<AxiosResponse<any, any>>;
8
39
  }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { UseHeader, UseHttp, UseSolution } from './types';
17
+ import { Ref, SetupContext } from 'vue';
18
+ import { QuerySolutionProps } from '../query-solution.props';
19
+ import { QuerySolution } from '../query-solution';
20
+ import { FieldConfig } from '../../../condition';
21
+ export declare function useHeader(props: QuerySolutionProps, context: SetupContext, useHttpComposition: UseHttp, useSolutionComposition: UseSolution, solutions: Ref<QuerySolution[]>, currentSolution: Ref<QuerySolution | null>, fields: Ref<FieldConfig[]>): UseHeader;
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { UseFilter } from './types';
16
+ import { UseHttp } from './types';
17
17
  import { SetupContext } from 'vue';
18
18
  import { QuerySolutionProps } from '../query-solution.props';
19
- export declare function useFilter(props: QuerySolutionProps, context: SetupContext): UseFilter;
19
+ export declare function useHttp(props: QuerySolutionProps, context: SetupContext): UseHttp;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { UseHttp, UseSolution } from './types';
17
+ import { Ref, SetupContext } from 'vue';
18
+ import { QuerySolutionProps } from '../query-solution.props';
19
+ import { QuerySolution } from '../query-solution';
20
+ export declare function useSolution(props: QuerySolutionProps, context: SetupContext, useHttpComposition: UseHttp, solutions: Ref<QuerySolution[]>, currentSolution: Ref<QuerySolution | null>): UseSolution;
@@ -16,7 +16,7 @@
16
16
  import { Ref } from "vue";
17
17
  import { TransFerItem } from '../query-solution-config.props';
18
18
  import { JSX } from "vue/jsx-runtime";
19
- export type ControlType = 'text' | 'single-number' | 'number' | 'dropdown' | 'help' | 'combolist-help' | 'date' | 'single-date' | 'date-time' | 'single-date-time' | 'month' | 'single-year' | 'radio' | 'input-group';
19
+ export type ControlType = 'number-spinner' | 'number-range' | 'combo-list' | 'lookup' | 'combo-lookup' | 'date-range' | 'date-picker' | 'date-time' | 'single-date-time' | 'month' | 'single-year' | 'radio-group' | 'input-group';
20
20
  export interface UseTransfer {
21
21
  selectPanels: Ref<TransFerItem[]>;
22
22
  /**
@@ -27,20 +27,6 @@ export interface UseTransfer {
27
27
  confirm: () => void;
28
28
  cancel: () => void;
29
29
  }
30
- export interface UsePanel {
31
- renderPanel: () => JSX.Element | null;
32
- getExtendSchemaProerty: (controlType: ControlType) => Partial<PropertyItem>;
33
- }
34
- export interface UseProperty {
35
- getPropertyConfig: (propertyData: PropertyItem) => PropertyConfig;
36
- }
37
- export interface PropertyConfig {
38
- description: string;
39
- title: string;
40
- type: string;
41
- readonly?: boolean;
42
- categories: any;
43
- }
44
30
  export interface PropertyItem {
45
31
  id: string;
46
32
  code: string;
@@ -48,12 +34,13 @@ export interface PropertyItem {
48
34
  name: string;
49
35
  isExtend?: string;
50
36
  controlType: ControlType;
51
- className?: string;
37
+ class?: string;
52
38
  require?: boolean;
53
39
  precision?: number;
54
40
  maxValue?: number;
55
41
  minValue?: number;
56
42
  uri?: string;
43
+ displayName?: string;
57
44
  multiSelect?: boolean;
58
45
  valueType?: Array<any>;
59
46
  enumValue?: string;
@@ -76,3 +63,17 @@ export interface PropertyItem {
76
63
  showLabel?: boolean;
77
64
  [prop: string]: any;
78
65
  }
66
+ export interface PropertyConfig {
67
+ description: string;
68
+ title: string;
69
+ type: string;
70
+ readonly?: boolean;
71
+ categories: any;
72
+ }
73
+ export interface UsePanel {
74
+ renderPanel: () => JSX.Element | null;
75
+ getExtendSchemaProerty: (controlType: ControlType) => Partial<PropertyItem>;
76
+ }
77
+ export interface UseProperty {
78
+ getPropertyConfig: (propertyData: PropertyItem) => PropertyConfig;
79
+ }
@@ -1,18 +1,18 @@
1
1
  /**
2
- * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
16
  import { ExtractPropTypes } from 'vue';
17
17
  export type TransFerItem = {
18
18
  id: string;
@@ -1,60 +1,12 @@
1
1
  import { InputBaseProperty } from "../../../property-panel/src/composition/entity/input-base-property";
2
2
  import { DesignerComponentInstance } from "../../../designer-canvas/src/types";
3
- import { PropertyItem } from "../designer/query-solution-config/composition/types";
4
3
  export declare class QuerySolutionPropertyConfig extends InputBaseProperty {
5
4
  getPropertyConfig(propertyData: any, componentInstance: DesignerComponentInstance): {
6
5
  type: string;
7
- categories: {
8
- basic: any;
9
- appearance: any;
10
- behavior: {
11
- description: string;
12
- title: string;
13
- properties: {
14
- isControlInline: {
15
- description: string;
16
- type: string;
17
- title: string;
18
- };
19
- presetQuerySolutionName: {
20
- description: string;
21
- type: string;
22
- title: string;
23
- };
24
- filterText: {
25
- description: string;
26
- type: string;
27
- title: string;
28
- };
29
- expanded: {
30
- description: string;
31
- type: string;
32
- title: string;
33
- };
34
- openAdvancedMode: {
35
- description: string;
36
- type: string;
37
- title: string;
38
- };
39
- };
40
- };
41
- lookup: {
42
- description: string;
43
- title: string;
44
- properties: {
45
- fields: {
46
- description: string;
47
- title: string;
48
- type: string;
49
- editor: {
50
- type: string;
51
- fields: PropertyItem[];
52
- };
53
- };
54
- };
55
- };
56
- };
6
+ categories: {};
57
7
  };
8
+ getBasicPropConfig(): void;
58
9
  private getBehaviorConfig;
59
10
  private getQuerySolutionConfig;
11
+ private getEventPropConfig;
60
12
  }
@@ -7,6 +7,10 @@ export interface QuerySolution {
7
7
  * 唯一性标识
8
8
  */
9
9
  id: string;
10
+ /**
11
+ * 所属表单
12
+ */
13
+ belongId: string;
10
14
  /**
11
15
  * 查询方案编号
12
16
  */
@@ -18,11 +22,15 @@ export interface QuerySolution {
18
22
  /**
19
23
  * 查询条件
20
24
  */
21
- conditions: Condition[];
25
+ conditions: Partial<Condition>[];
26
+ /**
27
+ * 数据存储格式
28
+ */
29
+ queryConditionString?: string;
22
30
  /**
23
31
  * 是否系统预置查询方案
24
32
  */
25
- isPreset: boolean;
33
+ isSystem: boolean;
26
34
  /**
27
35
  * 是否默认查询方案
28
36
  * 初始时,为false
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft selectItem., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /**
17
+ * 先假定 valueField和idField是同一个字段
18
+ * ToDo 支持不同字段
19
+ */
20
+ declare const _default: import("vue").DefineComponent<{
21
+ [x: string]: any;
22
+ }, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{
23
+ [x: string]: any;
24
+ }> & Readonly<{
25
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
26
+ }>, {
27
+ [x: string]: any;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
+ export default _default;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft selectItem., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /**
17
+ * 先假定 valueField和idField是同一个字段
18
+ * ToDo 支持不同字段
19
+ */
20
+ declare const _default: import("vue").DefineComponent<{
21
+ [x: string]: any;
22
+ }, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").PublicProps, Readonly<{
23
+ [x: string]: any;
24
+ }> & Readonly<{
25
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
26
+ }>, {
27
+ [x: string]: any;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
+ export default _default;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright (c) 2020 - present, Inspur Genersoft Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ExtractPropTypes } from 'vue';
17
+ export declare const itemCollectionEditorProps: Record<string, any>;
18
+ export type ItemCollectionEditorProps = ExtractPropTypes<typeof itemCollectionEditorProps>;
19
+ export declare const itemCollectionEditorPropsResolver: (schemaValue?: Record<string, any>) => Record<string, any>;
20
+ export declare const itemCollectionEditorInnerProps: Record<string, any>;
21
+ export type ItemCollectionEditorInnerProps = ExtractPropTypes<typeof itemCollectionEditorProps>;
@@ -1,2 +1,3 @@
1
1
  import { MapperFunction } from '../../../dynamic-resolver';
2
2
  export declare const schemaMapper: Map<string, string | MapperFunction>;
3
+ export declare const itemCollectionEditorSchemaMapper: Map<string, string | MapperFunction>;
@@ -1,2 +1,3 @@
1
1
  import { DynamicResolver } from "../../../dynamic-resolver";
2
2
  export declare function schemaResolver(resolver: DynamicResolver, schema: Record<string, any>, context: Record<string, any>): Record<string, any>;
3
+ export declare function itemCollectionEditorSchemaResolver(resolver: DynamicResolver, schema: Record<string, any>, context: Record<string, any>): Record<string, any>;
@@ -5,6 +5,7 @@ export declare class ResponseToolbarProperty extends BaseControlProperty {
5
5
  type: string;
6
6
  categories: {};
7
7
  };
8
+ getAppearancePropConfig(propertyData: any): any;
8
9
  getBasicPropConfig(propertyData: any): void;
9
10
  private getBehaviorProperties;
10
11
  }
@@ -27,24 +27,7 @@ export declare const sectionPropertyConfigs: {
27
27
  }[];
28
28
  };
29
29
  };
30
- mainTitle: {
31
- title: string;
32
- type: string;
33
- description: string;
34
- visible: {
35
- showHeader: boolean;
36
- };
37
- };
38
- subTitle: {
39
- title: string;
40
- type: string;
41
- description: string;
42
- visible: {
43
- showHeader: boolean;
44
- };
45
- };
46
30
  };
47
- setPropertyRelates(changeObject: any, prop: any): void;
48
31
  };
49
32
  appearance: {
50
33
  title: string;
@@ -63,6 +46,22 @@ export declare const sectionPropertyConfigs: {
63
46
  type: string;
64
47
  description: string;
65
48
  };
49
+ mainTitle: {
50
+ title: string;
51
+ type: string;
52
+ description: string;
53
+ visible: {
54
+ showHeader: boolean;
55
+ };
56
+ };
57
+ subTitle: {
58
+ title: string;
59
+ type: string;
60
+ description: string;
61
+ visible: {
62
+ showHeader: boolean;
63
+ };
64
+ };
66
65
  fill: {
67
66
  title: string;
68
67
  type: string;
@@ -77,6 +76,7 @@ export declare const sectionPropertyConfigs: {
77
76
  };
78
77
  };
79
78
  };
79
+ setPropertyRelates(changeObject: any, prop: any): void;
80
80
  };
81
81
  extends: {
82
82
  title: string;
@@ -1,3 +1,2 @@
1
- import { DesignerHostService } from "@/components/designer-canvas/src/composition/types";
2
1
  import { DynamicResolver } from "../../../dynamic-resolver";
3
- export declare function schemaResolver(resolver: DynamicResolver, schema: Record<string, any>, context: Record<string, any>, designerHostService: DesignerHostService): Record<string, any>;
2
+ export declare function schemaResolver(resolver: DynamicResolver, schema: Record<string, any>, context: Record<string, any>): Record<string, any>;
@@ -1,5 +1,5 @@
1
1
  export declare function resolveSectionToolbar(key: string, toolbarObject: {
2
- contents: any[];
2
+ buttons: any[];
3
3
  position: string;
4
4
  }): {
5
5
  buttons: any[];
@@ -59,8 +59,11 @@ export interface UseDesignTabs {
59
59
  toolbarItems: Ref<any[]>;
60
60
  removeDesignTab: (payload: MouseEvent, tabId: string) => void;
61
61
  selectDesignTab: (payload: MouseEvent, tabId: string, componentInstance: DesignerComponentInstance) => void;
62
- selectDesignTabToolbar: (payload: MouseEvent, tabId: string) => void;
63
62
  toolbarSchema: Ref<ComponentSchema>;
63
+ changeToolbarItems: () => void;
64
+ addTabPageToolbar: (payload: MouseEvent, tabId: string) => void;
65
+ listenTabNavElementScroll: () => void;
66
+ setHorizontalScrollbarPosition: () => void;
64
67
  }
65
68
  export interface UseNav {
66
69
  previousButtonClass: ComputedRef<Record<string, boolean>>;
@@ -1,60 +1,10 @@
1
- export declare const tabPagePropertyConfig: {
2
- title: string;
3
- description: string;
4
- type: string;
5
- categories: {
6
- basic: {
7
- description: string;
8
- title: string;
9
- properties: {
10
- id: {
11
- description: string;
12
- title: string;
13
- type: string;
14
- readonly: boolean;
15
- };
16
- title: {
17
- description: string;
18
- title: string;
19
- type: string;
20
- };
21
- };
22
- setPropertyRelates(changeObject: any, prop: any): void;
23
- };
24
- appearance: {
25
- description: string;
26
- title: string;
27
- properties: {
28
- class: {
29
- description: string;
30
- title: string;
31
- };
32
- style: {
33
- description: string;
34
- title: string;
35
- };
36
- width: {
37
- description: string;
38
- title: string;
39
- type: string;
40
- };
41
- height: {
42
- description: string;
43
- title: string;
44
- type: string;
45
- };
46
- };
47
- };
48
- behavior: {
49
- description: string;
50
- title: string;
51
- properties: {
52
- removeable: {
53
- description: string;
54
- type: string;
55
- title: string;
56
- };
57
- };
58
- };
1
+ import { BaseControlProperty } from "../../../property-panel/src/composition/entity/base-property";
2
+ export declare class TabPageProperty extends BaseControlProperty {
3
+ constructor(componentId: string, designerHostService: any);
4
+ getPropertyConfig(propertyData: any): {
5
+ type: string;
6
+ categories: {};
59
7
  };
60
- };
8
+ getBehaviorProperties(propertyData: any): void;
9
+ getBasicPropConfig(propertyData: any): void;
10
+ }