@cloudbase/weda-ui 3.5.1 → 3.5.2

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 (228) hide show
  1. package/README.md +3 -0
  2. package/dist/configs/components/button.d.ts +12 -12
  3. package/dist/configs/components/calendar.d.ts +26 -0
  4. package/dist/configs/components/calendar.js +80 -0
  5. package/dist/configs/components/carousel.json +1 -4
  6. package/dist/configs/components/chart/line.d.ts +28 -28
  7. package/dist/configs/components/common/form-input-required.d.ts +1 -1
  8. package/dist/configs/components/container.d.ts +1 -1
  9. package/dist/configs/components/customer-service.d.ts +10 -34
  10. package/dist/configs/components/customer-service.js +91 -92
  11. package/dist/configs/components/dataView.d.ts +21 -3
  12. package/dist/configs/components/dataView.js +165 -16
  13. package/dist/configs/components/echart.d.ts +4 -4
  14. package/dist/configs/components/form-checkbox.d.ts +18 -18
  15. package/dist/configs/components/form-checkbox.js +0 -4
  16. package/dist/configs/components/form-date.d.ts +14 -14
  17. package/dist/configs/components/form-date.js +0 -4
  18. package/dist/configs/components/form-depart-tree-select.d.ts +17 -14
  19. package/dist/configs/components/form-depart-tree-select.js +1 -4
  20. package/dist/configs/components/form-email.d.ts +10 -10
  21. package/dist/configs/components/form-email.js +0 -4
  22. package/dist/configs/components/form-image-uploader.d.ts +11 -8
  23. package/dist/configs/components/form-image-uploader.js +1 -4
  24. package/dist/configs/components/form-input.d.ts +16 -16
  25. package/dist/configs/components/form-input.js +0 -10
  26. package/dist/configs/components/form-location.d.ts +21 -12
  27. package/dist/configs/components/form-location.js +1 -4
  28. package/dist/configs/components/form-multi-region.d.ts +13 -10
  29. package/dist/configs/components/form-multi-region.js +1 -4
  30. package/dist/configs/components/form-phone.d.ts +10 -10
  31. package/dist/configs/components/form-phone.js +0 -4
  32. package/dist/configs/components/form-radio.d.ts +18 -18
  33. package/dist/configs/components/form-radio.js +0 -4
  34. package/dist/configs/components/form-region.d.ts +12 -12
  35. package/dist/configs/components/form-region.js +0 -4
  36. package/dist/configs/components/form-rich-text.d.ts +11 -8
  37. package/dist/configs/components/form-rich-text.js +1 -4
  38. package/dist/configs/components/form-select-multiple.d.ts +27 -24
  39. package/dist/configs/components/form-select-multiple.js +1 -4
  40. package/dist/configs/components/form-select.d.ts +27 -24
  41. package/dist/configs/components/form-select.js +1 -4
  42. package/dist/configs/components/form-switch.d.ts +6 -6
  43. package/dist/configs/components/form-switch.js +0 -4
  44. package/dist/configs/components/form-text-area.d.ts +10 -10
  45. package/dist/configs/components/form-text-area.js +0 -4
  46. package/dist/configs/components/form-time.d.ts +17 -14
  47. package/dist/configs/components/form-time.js +1 -4
  48. package/dist/configs/components/form-upload-file.d.ts +13 -10
  49. package/dist/configs/components/form-upload-file.js +1 -4
  50. package/dist/configs/components/form-url.d.ts +10 -10
  51. package/dist/configs/components/form-url.js +0 -4
  52. package/dist/configs/components/form-user-tree-select.d.ts +19 -16
  53. package/dist/configs/components/form-user-tree-select.js +1 -4
  54. package/dist/configs/components/formdetail.json +0 -4
  55. package/dist/configs/components/grid/col.d.ts +2 -4
  56. package/dist/configs/components/grid/grid.d.ts +2 -4
  57. package/dist/configs/components/grid/row.d.ts +2 -3
  58. package/dist/configs/components/image.d.ts +4 -4
  59. package/dist/configs/components/link.d.ts +8 -8
  60. package/dist/configs/components/listView.d.ts +78 -33
  61. package/dist/configs/components/listView.js +258 -51
  62. package/dist/configs/components/lottery.d.ts +67 -0
  63. package/dist/configs/components/lottery.js +178 -0
  64. package/dist/configs/components/modal.d.ts +2 -2
  65. package/dist/configs/components/qr_code.d.ts +11 -11
  66. package/dist/configs/components/repeater.d.ts +10 -91
  67. package/dist/configs/components/repeater.js +75 -87
  68. package/dist/configs/components/tabs.d.ts +4 -4
  69. package/dist/configs/components/text.d.ts +2 -2
  70. package/dist/configs/components/wd-bubble.d.ts +3 -8
  71. package/dist/configs/components/wd-button.d.ts +22 -34
  72. package/dist/configs/components/wd-card.d.ts +10 -10
  73. package/dist/configs/components/wd-card.js +10 -5
  74. package/dist/configs/components/wd-checkbox.d.ts +36 -81
  75. package/dist/configs/components/wd-date-range.d.ts +87 -131
  76. package/dist/configs/components/wd-date.d.ts +88 -132
  77. package/dist/configs/components/wd-date.js +1 -1
  78. package/dist/configs/components/wd-divider.d.ts +2 -2
  79. package/dist/configs/components/wd-form-detail.d.ts +9 -9
  80. package/dist/configs/components/wd-form.d.ts +54 -82
  81. package/dist/configs/components/wd-form.js +1 -1
  82. package/dist/configs/components/wd-icon.d.ts +8 -9
  83. package/dist/configs/components/wd-image-upload.d.ts +5 -5
  84. package/dist/configs/components/wd-image.d.ts +8 -12
  85. package/dist/configs/components/wd-input-email.d.ts +88 -156
  86. package/dist/configs/components/wd-input-number.d.ts +38 -179
  87. package/dist/configs/components/wd-input-number.js +1 -1
  88. package/dist/configs/components/wd-input-phone.d.ts +86 -156
  89. package/dist/configs/components/wd-input-url.d.ts +88 -156
  90. package/dist/configs/components/wd-input.d.ts +120 -164
  91. package/dist/configs/components/wd-layout.d.ts +1 -5
  92. package/dist/configs/components/wd-link.d.ts +14 -26
  93. package/dist/configs/components/wd-modal.d.ts +12 -8
  94. package/dist/configs/components/wd-modal.js +14 -14
  95. package/dist/configs/components/wd-official-account.d.ts +3 -5
  96. package/dist/configs/components/wd-official-account.js +3 -5
  97. package/dist/configs/components/wd-radio.d.ts +35 -80
  98. package/dist/configs/components/wd-switch.d.ts +21 -67
  99. package/dist/configs/components/wd-table.d.ts +95 -132
  100. package/dist/configs/components/wd-table.js +61 -17
  101. package/dist/configs/components/wd-text.d.ts +8 -8
  102. package/dist/configs/components/wd-textarea.d.ts +64 -110
  103. package/dist/configs/components/wd-time.d.ts +89 -133
  104. package/dist/configs/components/wd-tree.d.ts +243 -281
  105. package/dist/configs/components/wd-tree.js +1 -1
  106. package/dist/configs/components/web-view.d.ts +30 -10
  107. package/dist/configs/components/web-view.js +34 -33
  108. package/dist/configs/components/wedaVideo.d.ts +30 -0
  109. package/dist/configs/components/wedaVideo.js +98 -0
  110. package/dist/configs/components/wxOpenApi/phone.d.ts +6 -6
  111. package/dist/configs/components/wxOpenApi/phoneCode.d.ts +6 -62
  112. package/dist/configs/components/wxOpenApi/phoneCode.js +62 -70
  113. package/dist/configs/components/wxOpenApi/share.d.ts +12 -12
  114. package/dist/configs/components/wxOpenApi/userInfo.d.ts +7 -7
  115. package/dist/configs/index.d.ts +2515 -4367
  116. package/dist/configs/index.js +3 -3
  117. package/dist/configs/type-utils/error.d.ts +3 -3
  118. package/dist/configs/type-utils/index.d.ts +6 -6
  119. package/dist/configs/type-utils/index.js +2 -5
  120. package/dist/configs/type-utils/type-form.d.ts +95 -101
  121. package/dist/index.js +1 -1
  122. package/dist/style/index.scss +1 -1
  123. package/dist/web/components/chart/common/echarts.js +0 -1
  124. package/dist/web/components/customer-service/customer-service.js +1 -1
  125. package/dist/web/components/dataView/index.js +1 -1
  126. package/dist/web/components/echart/echart.js +22 -6
  127. package/dist/web/components/flow/common/components/index.js +1 -0
  128. package/dist/web/components/flow/common/hooks/index.js +1 -0
  129. package/dist/web/components/flow/common/index.js +1 -0
  130. package/dist/web/components/flow/modules/operations/components/index.js +1 -0
  131. package/dist/web/components/flow/modules/operations/components/user-select/index.js +1 -0
  132. package/dist/web/components/flow/modules/operations/config/index.js +1 -0
  133. package/dist/web/components/flow/modules/operations/controls-items/approval-drawer/drawer-form/index.js +1 -0
  134. package/dist/web/components/flow/process/constants.js +1 -3
  135. package/dist/web/components/flow-graph/graph.js +0 -1
  136. package/dist/web/components/form/checkbox/index.js +2 -2
  137. package/dist/web/components/form/enumSelect/MultipleSelect.js +1 -1
  138. package/dist/web/components/form/enumSelect/NormalSelect.js +1 -1
  139. package/dist/web/components/form/input/index.js +1 -1
  140. package/dist/web/components/form/location/components/LocationPC/location.PC.js +2 -2
  141. package/dist/web/components/form/radio/index.js +1 -1
  142. package/dist/web/components/form/select/dropdown-select/h5.js +5 -5
  143. package/dist/web/components/form/select/dropdown-select/pc.js +25 -28
  144. package/dist/web/components/form/select/dropdown-select/ui.d.ts +1 -1
  145. package/dist/web/components/form/select/dropdown-select/ui.js +5 -5
  146. package/dist/web/components/form/select/h5.js +10 -6
  147. package/dist/web/components/form/select/index.js +4 -2
  148. package/dist/web/components/form/selectMultiple/h5.js +1 -1
  149. package/dist/web/components/form/selectMultiple/index.js +1 -1
  150. package/dist/web/components/form/uploader/index.js +0 -1
  151. package/dist/web/components/form/uploader/uploader.pc.js +0 -1
  152. package/dist/web/components/form/uploaderFile/index.js +0 -1
  153. package/dist/web/components/form/uploaderFile/uploadFile.h5.js +6 -4
  154. package/dist/web/components/form/uploaderFile/uploadFile.pc.js +6 -4
  155. package/dist/web/components/form/userOrgSelect/common/fetch-data-service.d.ts +1 -1
  156. package/dist/web/components/form/userOrgSelect/common/fetch-data-service.js +19 -3
  157. package/dist/web/components/form/userOrgSelect/common/types.d.ts +2 -1
  158. package/dist/web/components/form/userOrgSelect/component/depart-select/index.js +1 -3
  159. package/dist/web/components/form/userOrgSelect/component/user-select-pc/user-select-pc.d.ts +1 -1
  160. package/dist/web/components/form/userOrgSelect/component/user-select-pc/user-select-pc.js +2 -2
  161. package/dist/web/components/form/userOrgSelect/hooks/use-depart-data.js +0 -1
  162. package/dist/web/components/form-date/index.d.ts +1 -1
  163. package/dist/web/components/form-depart-tree-select/index.d.ts +1 -1
  164. package/dist/web/components/form-email/index.d.ts +2 -2
  165. package/dist/web/components/form-input/index.d.ts +2 -2
  166. package/dist/web/components/form-input-hooks/index.js +12 -13
  167. package/dist/web/components/form-multi-region/index.d.ts +1 -1
  168. package/dist/web/components/form-phone/index.d.ts +1 -1
  169. package/dist/web/components/form-region/index.d.ts +1 -1
  170. package/dist/web/components/form-select/index.d.ts +1 -1
  171. package/dist/web/components/form-select-multiple/index.d.ts +1 -1
  172. package/dist/web/components/form-text-area/index.d.ts +2 -2
  173. package/dist/web/components/form-time/index.d.ts +1 -1
  174. package/dist/web/components/form-url/index.d.ts +2 -2
  175. package/dist/web/components/form-user-tree-select/index.d.ts +1 -1
  176. package/dist/web/components/form-user-tree-select/index.js +3 -2
  177. package/dist/web/components/listView/index.js +81 -14
  178. package/dist/web/components/listView/interface.d.ts +7 -1
  179. package/dist/web/components/lottery/index.d.ts +22 -14
  180. package/dist/web/components/lottery/index.js +1 -2
  181. package/dist/web/components/navigationBar/horizontalMenu.js +0 -1
  182. package/dist/web/components/phone/index.js +1 -1
  183. package/dist/web/components/richText/index.js +3 -2
  184. package/dist/web/components/share/index.js +1 -1
  185. package/dist/web/components/table/UserDepartment/utils.js +0 -2
  186. package/dist/web/components/wd-card/wd-card.js +1 -1
  187. package/dist/web/components/wd-checkbox-list/checkboxList.js +1 -1
  188. package/dist/web/components/wd-date/elements/Calendar.h5.js +1 -2
  189. package/dist/web/components/wd-department-select/h5.js +0 -1
  190. package/dist/web/components/wd-form/hooks/use-remote-value.js +20 -8
  191. package/dist/web/components/wd-form/index.d.ts +7 -7
  192. package/dist/web/components/wd-form/index.js +12 -10
  193. package/dist/web/components/wd-input/wd-input.d.ts +43 -43
  194. package/dist/web/components/wd-input-email/wd-input-email.d.ts +39 -39
  195. package/dist/web/components/wd-input-number/number.js +0 -1
  196. package/dist/web/components/wd-input-number/wd-input-number.js +10 -6
  197. package/dist/web/components/wd-input-phone/wd-input-phone.d.ts +43 -43
  198. package/dist/web/components/wd-input-url/wd-input-url.d.ts +39 -39
  199. package/dist/web/components/wd-member-select/h5.js +0 -1
  200. package/dist/web/components/wd-modal/wd-modal.js +8 -3
  201. package/dist/web/components/wd-official-account/index.js +1 -1
  202. package/dist/web/components/wd-radio-list/wd-radio-list.js +2 -2
  203. package/dist/web/components/wd-table/components/FieldRender/UserDepartment/utils.js +0 -2
  204. package/dist/web/components/wd-table/components/FieldRender/index.d.ts +1 -1
  205. package/dist/web/components/wd-table/components/FieldRender/index.js +9 -6
  206. package/dist/web/components/wd-table/components/ModalTable/index.js +0 -3
  207. package/dist/web/components/wd-table/components/Table/index.js +4 -0
  208. package/dist/web/components/wd-table/hooks/useAuthFields.d.ts +1 -1
  209. package/dist/web/components/wd-table/hooks/useAuthFields.js +18 -4
  210. package/dist/web/components/wd-table/utils/index.js +5 -4
  211. package/dist/web/components/wd-table/wd-table.js +41 -19
  212. package/dist/web/components/wd-tree/utils.js +0 -2
  213. package/dist/web/components/wd-tree/wd-tree.js +0 -1
  214. package/dist/web/components/wd-upload-image/wd-upload-image.js +0 -1
  215. package/dist/web/components/web-view/web-view.d.ts +23 -6
  216. package/dist/web/index.js +1 -0
  217. package/dist/web/utils/constant.js +0 -1
  218. package/dist/web/utils/hooks/useFormLegacy.d.ts +1 -1
  219. package/dist/web/utils/hooks/useFormLegacy.js +9 -3
  220. package/dist/web/utils/moment.js +1 -3
  221. package/dist/web/utils/platform.js +0 -3
  222. package/dist/web/utils/widget-api/index.d.ts +1 -1
  223. package/dist/web/utils/widget-api/index.js +19 -22
  224. package/dist/web/weda-ui.css +6 -0
  225. package/package.json +13 -6
  226. package/dist/configs/components/calendar.json +0 -83
  227. package/dist/configs/components/lottery.json +0 -166
  228. package/dist/configs/components/wedaVideo.json +0 -101
@@ -1,27 +1,27 @@
1
1
  import { Simplify, Static, StaticEventsType } from '../type-utils';
2
2
  declare const data: import("@sinclair/typebox").TObject<{
3
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
4
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
3
+ name: import("@sinclair/typebox").TString;
4
+ label: import("@sinclair/typebox").TString;
5
5
  labelVisible: import("@sinclair/typebox").TBoolean;
6
- placeholder: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
7
- value: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
6
+ placeholder: import("@sinclair/typebox").TString;
7
+ value: import("@sinclair/typebox").TString;
8
8
  required: import("@sinclair/typebox").TBoolean;
9
9
  requiredFlag: import("@sinclair/typebox").TBoolean;
10
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
10
+ requiredMsg: import("@sinclair/typebox").TString;
11
11
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
12
12
  disabled: import("@sinclair/typebox").TBoolean;
13
13
  range: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
14
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
15
- value: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
14
+ label: import("@sinclair/typebox").TString;
15
+ value: import("@sinclair/typebox").TString;
16
16
  }>>;
17
17
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
18
18
  where: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>;
19
19
  format: import("@sinclair/typebox").TUnsafe<"x-enum" | "related" | "father-son" | "many-one">;
20
- viewId: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
21
- enumName: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
22
- tipBlock: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
23
- primaryField: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
24
- dataSourceName: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
20
+ viewId: import("@sinclair/typebox").TString;
21
+ enumName: import("@sinclair/typebox").TString;
22
+ tipBlock: import("@sinclair/typebox").TString;
23
+ primaryField: import("@sinclair/typebox").TString;
24
+ dataSourceName: import("@sinclair/typebox").TString;
25
25
  }>;
26
26
  declare const events: readonly [{
27
27
  readonly title: "值改变";
@@ -33,28 +33,31 @@ declare const events: readonly [{
33
33
  declare const config: {
34
34
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
35
35
  readonly data: import("@sinclair/typebox").TObject<{
36
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
37
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
36
+ name: import("@sinclair/typebox").TString;
37
+ label: import("@sinclair/typebox").TString;
38
38
  labelVisible: import("@sinclair/typebox").TBoolean;
39
- placeholder: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
40
- value: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
39
+ placeholder: import("@sinclair/typebox").TString;
40
+ value: import("@sinclair/typebox").TString;
41
41
  required: import("@sinclair/typebox").TBoolean;
42
42
  requiredFlag: import("@sinclair/typebox").TBoolean;
43
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
43
+ requiredMsg: import("@sinclair/typebox").TString;
44
44
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
45
45
  disabled: import("@sinclair/typebox").TBoolean;
46
46
  range: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
47
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
48
- value: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
47
+ label: import("@sinclair/typebox").TString;
48
+ value: import("@sinclair/typebox").TString;
49
49
  }>>;
50
50
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
51
51
  where: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>;
52
52
  format: import("@sinclair/typebox").TUnsafe<"x-enum" | "related" | "father-son" | "many-one">;
53
- viewId: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
54
- enumName: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
55
- tipBlock: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
56
- primaryField: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
57
- dataSourceName: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
53
+ viewId: import("@sinclair/typebox").TString;
54
+ enumName: import("@sinclair/typebox").TString;
55
+ tipBlock: import("@sinclair/typebox").TString;
56
+ primaryField: import("@sinclair/typebox").TString;
57
+ dataSourceName: import("@sinclair/typebox").TString;
58
+ }>;
59
+ readonly properties: import("@sinclair/typebox").TObject<{
60
+ value: import("@sinclair/typebox").TString;
58
61
  }>;
59
62
  readonly events: readonly [{
60
63
  readonly title: "值改变";
@@ -48,10 +48,6 @@ const data = Type.Object({
48
48
  'x-runtime-default': '',
49
49
  description: '默认选中的选项',
50
50
  'x-index': 25,
51
- inputProp: {
52
- changeEvent: 'change',
53
- valueFromEvent: 'event.detail.value',
54
- },
55
51
  'x-category': '基础属性',
56
52
  }),
57
53
  required: Type.Boolean({
@@ -327,6 +323,7 @@ const events = [
327
323
  const config = defineConfig({
328
324
  $schema: 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json',
329
325
  data,
326
+ properties: Type.Pick(data, ['value']),
330
327
  events,
331
328
  compConfig: {
332
329
  componentType: 'formField',
@@ -1,12 +1,12 @@
1
1
  import { Simplify, Static, StaticEventsType } from '../type-utils';
2
2
  declare const data: import("@sinclair/typebox").TObject<{
3
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
4
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
3
+ name: import("@sinclair/typebox").TString;
4
+ label: import("@sinclair/typebox").TString;
5
5
  labelVisible: import("@sinclair/typebox").TBoolean;
6
6
  value: import("@sinclair/typebox").TBoolean;
7
7
  required: import("@sinclair/typebox").TBoolean;
8
8
  requiredFlag: import("@sinclair/typebox").TBoolean;
9
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
9
+ requiredMsg: import("@sinclair/typebox").TString;
10
10
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
11
11
  disabled: import("@sinclair/typebox").TBoolean;
12
12
  }>;
@@ -17,13 +17,13 @@ declare const events: readonly [{
17
17
  declare const config: {
18
18
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
19
19
  readonly data: import("@sinclair/typebox").TObject<{
20
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
21
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
20
+ name: import("@sinclair/typebox").TString;
21
+ label: import("@sinclair/typebox").TString;
22
22
  labelVisible: import("@sinclair/typebox").TBoolean;
23
23
  value: import("@sinclair/typebox").TBoolean;
24
24
  required: import("@sinclair/typebox").TBoolean;
25
25
  requiredFlag: import("@sinclair/typebox").TBoolean;
26
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
26
+ requiredMsg: import("@sinclair/typebox").TString;
27
27
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
28
28
  disabled: import("@sinclair/typebox").TBoolean;
29
29
  }>;
@@ -41,10 +41,6 @@ const data = Type.Object({
41
41
  description: '开关的默认开关状态',
42
42
  'x-index': 20,
43
43
  dataType: 'boolean',
44
- inputProp: {
45
- changeEvent: 'change',
46
- valueFromEvent: 'event.detail.value',
47
- },
48
44
  'x-category': '基础属性',
49
45
  }),
50
46
  required: Type.Boolean({
@@ -1,13 +1,13 @@
1
1
  import { Simplify, Static, StaticEventsType } from '../type-utils';
2
2
  declare const data: import("@sinclair/typebox").TObject<{
3
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
4
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
3
+ name: import("@sinclair/typebox").TString;
4
+ label: import("@sinclair/typebox").TString;
5
5
  labelVisible: import("@sinclair/typebox").TBoolean;
6
- placeholder: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
7
- value: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
6
+ placeholder: import("@sinclair/typebox").TString;
7
+ value: import("@sinclair/typebox").TString;
8
8
  required: import("@sinclair/typebox").TBoolean;
9
9
  requiredFlag: import("@sinclair/typebox").TBoolean;
10
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
10
+ requiredMsg: import("@sinclair/typebox").TString;
11
11
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
12
12
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
13
13
  counterVisible: import("@sinclair/typebox").TBoolean;
@@ -34,14 +34,14 @@ declare const events: readonly [{
34
34
  declare const config: {
35
35
  $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
36
36
  data: import("@sinclair/typebox").TObject<{
37
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
38
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
37
+ name: import("@sinclair/typebox").TString;
38
+ label: import("@sinclair/typebox").TString;
39
39
  labelVisible: import("@sinclair/typebox").TBoolean;
40
- placeholder: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
41
- value: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
40
+ placeholder: import("@sinclair/typebox").TString;
41
+ value: import("@sinclair/typebox").TString;
42
42
  required: import("@sinclair/typebox").TBoolean;
43
43
  requiredFlag: import("@sinclair/typebox").TBoolean;
44
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
44
+ requiredMsg: import("@sinclair/typebox").TString;
45
45
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
46
46
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
47
47
  counterVisible: import("@sinclair/typebox").TBoolean;
@@ -50,10 +50,6 @@ const data = Type.Object({
50
50
  description: '组件输入框中的默认值',
51
51
  'x-index': 25,
52
52
  dataType: 'string',
53
- inputProp: {
54
- changeEvent: 'change',
55
- valueFromEvent: 'event.detail.value',
56
- },
57
53
  'x-comment': 'x-rtf 是给生成表单容器用的',
58
54
  'x-category': '基础属性',
59
55
  }),
@@ -1,18 +1,18 @@
1
1
  import { Simplify, Static, StaticEventsType } from '../type-utils';
2
2
  declare const data: import("@sinclair/typebox").TObject<{
3
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
4
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
3
+ name: import("@sinclair/typebox").TString;
4
+ label: import("@sinclair/typebox").TString;
5
5
  labelVisible: import("@sinclair/typebox").TBoolean;
6
- placeholder: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
7
- value: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
6
+ placeholder: import("@sinclair/typebox").TString;
7
+ value: import("@sinclair/typebox").TString;
8
8
  clearable: import("@sinclair/typebox").TBoolean;
9
9
  required: import("@sinclair/typebox").TBoolean;
10
10
  requiredFlag: import("@sinclair/typebox").TBoolean;
11
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
11
+ requiredMsg: import("@sinclair/typebox").TString;
12
12
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
13
13
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
14
- start: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
15
- end: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
14
+ start: import("@sinclair/typebox").TString;
15
+ end: import("@sinclair/typebox").TString;
16
16
  disabled: import("@sinclair/typebox").TBoolean;
17
17
  }>;
18
18
  declare const events: readonly [{
@@ -25,19 +25,19 @@ declare const events: readonly [{
25
25
  declare const config: {
26
26
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
27
27
  readonly data: import("@sinclair/typebox").TObject<{
28
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
29
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
28
+ name: import("@sinclair/typebox").TString;
29
+ label: import("@sinclair/typebox").TString;
30
30
  labelVisible: import("@sinclair/typebox").TBoolean;
31
- placeholder: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
32
- value: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
31
+ placeholder: import("@sinclair/typebox").TString;
32
+ value: import("@sinclair/typebox").TString;
33
33
  clearable: import("@sinclair/typebox").TBoolean;
34
34
  required: import("@sinclair/typebox").TBoolean;
35
35
  requiredFlag: import("@sinclair/typebox").TBoolean;
36
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
36
+ requiredMsg: import("@sinclair/typebox").TString;
37
37
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
38
38
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
39
- start: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
40
- end: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
39
+ start: import("@sinclair/typebox").TString;
40
+ end: import("@sinclair/typebox").TString;
41
41
  disabled: import("@sinclair/typebox").TBoolean;
42
42
  }>;
43
43
  readonly compConfig: {
@@ -61,6 +61,9 @@ declare const config: {
61
61
  readonly componentOrder: 410;
62
62
  readonly visible: readonly ["APP", "COMPONENT"];
63
63
  };
64
+ readonly properties: import("@sinclair/typebox").TObject<{
65
+ value: import("@sinclair/typebox").TString;
66
+ }>;
64
67
  readonly configMeta: {
65
68
  readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/FormTime";
66
69
  readonly shortcut: {
@@ -50,10 +50,6 @@ const data = Type.Object({
50
50
  description: '默认选中的时间',
51
51
  'x-index': 25,
52
52
  dataType: 'number',
53
- inputProp: {
54
- changeEvent: 'change',
55
- valueFromEvent: 'event.detail.value',
56
- },
57
53
  'x-category': '基础属性',
58
54
  'x-component': 'time',
59
55
  'x-component-props': {
@@ -209,6 +205,7 @@ const config = defineConfig({
209
205
  componentOrder: 410,
210
206
  visible: ['APP', 'COMPONENT'],
211
207
  },
208
+ properties: Type.Pick(data, ['value']),
212
209
  configMeta: {
213
210
  docsUrl: 'https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/FormTime',
214
211
  shortcut: {
@@ -1,15 +1,15 @@
1
1
  import { Simplify, Static, StaticEventsType } from '../type-utils';
2
2
  declare const data: import("@sinclair/typebox").TObject<{
3
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
4
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
3
+ name: import("@sinclair/typebox").TString;
4
+ label: import("@sinclair/typebox").TString;
5
5
  labelVisible: import("@sinclair/typebox").TBoolean;
6
6
  required: import("@sinclair/typebox").TBoolean;
7
7
  requiredFlag: import("@sinclair/typebox").TBoolean;
8
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
9
- value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
8
+ requiredMsg: import("@sinclair/typebox").TString;
9
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
10
10
  maxSize: import("@sinclair/typebox").TNumber;
11
11
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
12
- acceptTypes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
12
+ acceptTypes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
13
13
  downloadVisible: import("@sinclair/typebox").TBoolean;
14
14
  deleteVisible: import("@sinclair/typebox").TBoolean;
15
15
  disabled: import("@sinclair/typebox").TBoolean;
@@ -30,16 +30,16 @@ declare const events: readonly [{
30
30
  declare const config: {
31
31
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
32
32
  readonly data: import("@sinclair/typebox").TObject<{
33
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
34
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
33
+ name: import("@sinclair/typebox").TString;
34
+ label: import("@sinclair/typebox").TString;
35
35
  labelVisible: import("@sinclair/typebox").TBoolean;
36
36
  required: import("@sinclair/typebox").TBoolean;
37
37
  requiredFlag: import("@sinclair/typebox").TBoolean;
38
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
39
- value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
38
+ requiredMsg: import("@sinclair/typebox").TString;
39
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
40
40
  maxSize: import("@sinclair/typebox").TNumber;
41
41
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
42
- acceptTypes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
42
+ acceptTypes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
43
43
  downloadVisible: import("@sinclair/typebox").TBoolean;
44
44
  deleteVisible: import("@sinclair/typebox").TBoolean;
45
45
  disabled: import("@sinclair/typebox").TBoolean;
@@ -47,6 +47,9 @@ declare const config: {
47
47
  single: import("@sinclair/typebox").TBoolean;
48
48
  maxUploadCount: import("@sinclair/typebox").TNumber;
49
49
  }>;
50
+ readonly properties: import("@sinclair/typebox").TObject<{
51
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
52
+ }>;
50
53
  readonly events: readonly [{
51
54
  readonly title: "值改变";
52
55
  readonly name: "change";
@@ -73,10 +73,6 @@ const data = Type.Object({
73
73
  display: false,
74
74
  'x-index': 101,
75
75
  dataType: 'string',
76
- inputProp: {
77
- changeEvent: 'change',
78
- valueFromEvent: 'event.detail.value',
79
- },
80
76
  'x-category': '基础属性',
81
77
  'x-component': 'jsontext',
82
78
  }),
@@ -233,6 +229,7 @@ const events = [
233
229
  const config = defineConfig({
234
230
  $schema: 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json',
235
231
  data,
232
+ properties: Type.Pick(data, ['value']),
236
233
  events,
237
234
  compConfig: {
238
235
  componentType: 'formField',
@@ -1,18 +1,18 @@
1
1
  import { Simplify, Static, StaticEventsType } from '../type-utils';
2
2
  declare const data: import("@sinclair/typebox").TObject<{
3
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
4
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
3
+ name: import("@sinclair/typebox").TString;
4
+ label: import("@sinclair/typebox").TString;
5
5
  labelVisible: import("@sinclair/typebox").TBoolean;
6
- value: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
6
+ value: import("@sinclair/typebox").TString;
7
7
  maxLength: import("@sinclair/typebox").TNumber;
8
- placeholder: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
8
+ placeholder: import("@sinclair/typebox").TString;
9
9
  disabled: import("@sinclair/typebox").TBoolean;
10
10
  focus: import("@sinclair/typebox").TBoolean;
11
11
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
12
12
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
13
13
  required: import("@sinclair/typebox").TBoolean;
14
14
  requiredFlag: import("@sinclair/typebox").TBoolean;
15
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
15
+ requiredMsg: import("@sinclair/typebox").TString;
16
16
  clearable: import("@sinclair/typebox").TBoolean;
17
17
  }>;
18
18
  declare const events: readonly [{
@@ -34,19 +34,19 @@ declare const events: readonly [{
34
34
  declare const config: {
35
35
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
36
36
  readonly data: import("@sinclair/typebox").TObject<{
37
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
38
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
37
+ name: import("@sinclair/typebox").TString;
38
+ label: import("@sinclair/typebox").TString;
39
39
  labelVisible: import("@sinclair/typebox").TBoolean;
40
- value: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
40
+ value: import("@sinclair/typebox").TString;
41
41
  maxLength: import("@sinclair/typebox").TNumber;
42
- placeholder: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
42
+ placeholder: import("@sinclair/typebox").TString;
43
43
  disabled: import("@sinclair/typebox").TBoolean;
44
44
  focus: import("@sinclair/typebox").TBoolean;
45
45
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
46
46
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
47
47
  required: import("@sinclair/typebox").TBoolean;
48
48
  requiredFlag: import("@sinclair/typebox").TBoolean;
49
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
49
+ requiredMsg: import("@sinclair/typebox").TString;
50
50
  clearable: import("@sinclair/typebox").TBoolean;
51
51
  }>;
52
52
  readonly compConfig: {
@@ -42,10 +42,6 @@ const data = Type.Object({
42
42
  description: '网址输入框中的默认值',
43
43
  'x-index': 30,
44
44
  dataType: 'string',
45
- inputProp: {
46
- changeEvent: 'change',
47
- valueFromEvent: 'event.detail !== undefined && event.detail.value !== undefined ? event.detail.value : event.detail',
48
- },
49
45
  'x-category': '基础属性',
50
46
  }),
51
47
  maxLength: Type.Number({
@@ -1,18 +1,18 @@
1
1
  import { Simplify, Static, StaticEventsType } from '../type-utils';
2
2
  declare const data: import("@sinclair/typebox").TObject<{
3
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
4
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
3
+ name: import("@sinclair/typebox").TString;
4
+ label: import("@sinclair/typebox").TString;
5
5
  labelVisible: import("@sinclair/typebox").TBoolean;
6
- placeholder: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
6
+ placeholder: import("@sinclair/typebox").TString;
7
7
  defaultValueType: import("@sinclair/typebox").TUnsafe<"noneUser" | "confirmUser" | "loginUser">;
8
- confirmValue: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
9
- value: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
8
+ confirmValue: import("@sinclair/typebox").TString;
9
+ value: import("@sinclair/typebox").TString;
10
10
  required: import("@sinclair/typebox").TBoolean;
11
11
  requiredFlag: import("@sinclair/typebox").TBoolean;
12
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
13
- secondDisplay: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
12
+ requiredMsg: import("@sinclair/typebox").TString;
13
+ secondDisplay: import("@sinclair/typebox").TString;
14
14
  where: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>;
15
- corpScope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
15
+ corpScope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
16
16
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
17
17
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
18
18
  disabled: import("@sinclair/typebox").TBoolean;
@@ -26,24 +26,27 @@ declare const events: readonly [{
26
26
  declare const config: {
27
27
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
28
28
  readonly data: import("@sinclair/typebox").TObject<{
29
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
30
- label: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
29
+ name: import("@sinclair/typebox").TString;
30
+ label: import("@sinclair/typebox").TString;
31
31
  labelVisible: import("@sinclair/typebox").TBoolean;
32
- placeholder: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
32
+ placeholder: import("@sinclair/typebox").TString;
33
33
  defaultValueType: import("@sinclair/typebox").TUnsafe<"noneUser" | "confirmUser" | "loginUser">;
34
- confirmValue: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
35
- value: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
34
+ confirmValue: import("@sinclair/typebox").TString;
35
+ value: import("@sinclair/typebox").TString;
36
36
  required: import("@sinclair/typebox").TBoolean;
37
37
  requiredFlag: import("@sinclair/typebox").TBoolean;
38
- requiredMsg: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
39
- secondDisplay: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
38
+ requiredMsg: import("@sinclair/typebox").TString;
39
+ secondDisplay: import("@sinclair/typebox").TString;
40
40
  where: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>;
41
- corpScope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
41
+ corpScope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
42
42
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
43
43
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
44
44
  disabled: import("@sinclair/typebox").TBoolean;
45
45
  multiple: import("@sinclair/typebox").TBoolean;
46
46
  }>;
47
+ readonly properties: import("@sinclair/typebox").TObject<{
48
+ value: import("@sinclair/typebox").TString;
49
+ }>;
47
50
  readonly compConfig: {
48
51
  readonly componentType: "formField";
49
52
  };
@@ -73,10 +73,6 @@ const data = Type.Object({
73
73
  display: false,
74
74
  'x-index': 50,
75
75
  dataType: 'string',
76
- inputProp: {
77
- changeEvent: 'change',
78
- valueFromEvent: 'event.detail.value',
79
- },
80
76
  'x-category': '基础属性',
81
77
  }),
82
78
  required: Type.Boolean({
@@ -283,6 +279,7 @@ const events = [
283
279
  const config = defineConfig({
284
280
  $schema: 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json',
285
281
  data,
282
+ properties: Type.Pick(data, ['value']),
286
283
  compConfig: {
287
284
  componentType: 'formField',
288
285
  },
@@ -29,10 +29,6 @@
29
29
  "description": "用来传递数组的初始值",
30
30
  "x-index": 2,
31
31
  "dataType": "array",
32
- "inputProp": {
33
- "changeEvent": "change",
34
- "valueFromEvent": "event.detail.value"
35
- },
36
32
  "x-category": "基础属性",
37
33
  "x-platforms": [""]
38
34
  },