@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,21 +1,21 @@
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
  range: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
7
- 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">;
8
- 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">;
7
+ label: import("@sinclair/typebox").TString;
8
+ value: import("@sinclair/typebox").TString;
9
9
  }>>;
10
- 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">>;
10
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
11
11
  required: import("@sinclair/typebox").TBoolean;
12
12
  requiredFlag: import("@sinclair/typebox").TBoolean;
13
- 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
+ requiredMsg: import("@sinclair/typebox").TString;
14
14
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
15
15
  disabled: import("@sinclair/typebox").TBoolean;
16
- format: 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">;
17
- 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">;
18
- 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">;
16
+ format: import("@sinclair/typebox").TString;
17
+ enumName: import("@sinclair/typebox").TString;
18
+ tipBlock: import("@sinclair/typebox").TString;
19
19
  }>;
20
20
  declare const events: readonly [{
21
21
  readonly title: "值改变";
@@ -24,22 +24,22 @@ declare const events: readonly [{
24
24
  declare const config: {
25
25
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
26
26
  readonly data: import("@sinclair/typebox").TObject<{
27
- 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">;
28
- 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">;
27
+ name: import("@sinclair/typebox").TString;
28
+ label: import("@sinclair/typebox").TString;
29
29
  labelVisible: import("@sinclair/typebox").TBoolean;
30
30
  range: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
31
- 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">;
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
+ label: import("@sinclair/typebox").TString;
32
+ value: import("@sinclair/typebox").TString;
33
33
  }>>;
34
- 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">>;
34
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
35
35
  required: import("@sinclair/typebox").TBoolean;
36
36
  requiredFlag: import("@sinclair/typebox").TBoolean;
37
- 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">;
37
+ requiredMsg: import("@sinclair/typebox").TString;
38
38
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
39
39
  disabled: import("@sinclair/typebox").TBoolean;
40
- format: 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
- 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">;
42
- 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">;
40
+ format: import("@sinclair/typebox").TString;
41
+ enumName: import("@sinclair/typebox").TString;
42
+ tipBlock: import("@sinclair/typebox").TString;
43
43
  }>;
44
44
  readonly events: readonly [{
45
45
  readonly title: "值改变";
@@ -111,10 +111,6 @@ const data = Type.Object({
111
111
  default: '',
112
112
  description: '默认选中的选项',
113
113
  'x-index': 25,
114
- inputProp: {
115
- changeEvent: 'change',
116
- valueFromEvent: 'event.detail.value',
117
- },
118
114
  'x-category': '基础属性',
119
115
  }),
120
116
  required: Type.Boolean({
@@ -1,17 +1,17 @@
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
  mode: import("@sinclair/typebox").TUnsafe<"datetime" | "month" | "year" | "day">;
8
- 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">;
9
- 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">;
10
- 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">;
8
+ value: import("@sinclair/typebox").TString;
9
+ start: import("@sinclair/typebox").TString;
10
+ end: import("@sinclair/typebox").TString;
11
11
  clearable: import("@sinclair/typebox").TBoolean;
12
12
  required: import("@sinclair/typebox").TBoolean;
13
13
  requiredFlag: import("@sinclair/typebox").TBoolean;
14
- 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">;
14
+ requiredMsg: import("@sinclair/typebox").TString;
15
15
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
16
16
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
17
17
  disabled: import("@sinclair/typebox").TBoolean;
@@ -26,18 +26,18 @@ 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
  mode: import("@sinclair/typebox").TUnsafe<"datetime" | "month" | "year" | "day">;
34
- 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">;
35
- 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">;
36
- 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">;
34
+ value: import("@sinclair/typebox").TString;
35
+ start: import("@sinclair/typebox").TString;
36
+ end: import("@sinclair/typebox").TString;
37
37
  clearable: import("@sinclair/typebox").TBoolean;
38
38
  required: import("@sinclair/typebox").TBoolean;
39
39
  requiredFlag: import("@sinclair/typebox").TBoolean;
40
- 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">;
40
+ requiredMsg: import("@sinclair/typebox").TString;
41
41
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
42
42
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
43
43
  disabled: import("@sinclair/typebox").TBoolean;
@@ -91,10 +91,6 @@ const data = Type.Object({
91
91
  'x-runtime-default': '',
92
92
  'x-index': 30,
93
93
  dataType: 'number',
94
- inputProp: {
95
- changeEvent: 'change',
96
- valueFromEvent: 'event.detail.value',
97
- },
98
94
  'x-category': '基础属性',
99
95
  'x-component': 'year',
100
96
  'x-component-props': {
@@ -1,20 +1,20 @@
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<"noneDepart" | "confirmDepart">;
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">;
12
+ requiredMsg: import("@sinclair/typebox").TString;
13
13
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
14
14
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
15
15
  disabled: import("@sinclair/typebox").TBoolean;
16
16
  multiple: import("@sinclair/typebox").TBoolean;
17
- departmentScope: 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">>;
17
+ departmentScope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
18
18
  }>;
19
19
  declare const events: readonly [{
20
20
  readonly title: "值改变";
@@ -24,21 +24,24 @@ declare const events: readonly [{
24
24
  declare const config: {
25
25
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
26
26
  readonly data: import("@sinclair/typebox").TObject<{
27
- 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">;
28
- 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">;
27
+ name: import("@sinclair/typebox").TString;
28
+ label: import("@sinclair/typebox").TString;
29
29
  labelVisible: import("@sinclair/typebox").TBoolean;
30
- 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">;
30
+ placeholder: import("@sinclair/typebox").TString;
31
31
  defaultValueType: import("@sinclair/typebox").TUnsafe<"noneDepart" | "confirmDepart">;
32
- 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">;
33
- 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">;
32
+ confirmValue: import("@sinclair/typebox").TString;
33
+ value: import("@sinclair/typebox").TString;
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
39
  disabled: import("@sinclair/typebox").TBoolean;
40
40
  multiple: import("@sinclair/typebox").TBoolean;
41
- departmentScope: 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
+ departmentScope: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
42
+ }>;
43
+ readonly properties: import("@sinclair/typebox").TObject<{
44
+ value: import("@sinclair/typebox").TString;
42
45
  }>;
43
46
  readonly events: readonly [{
44
47
  readonly title: "值改变";
@@ -71,10 +71,6 @@ const data = Type.Object({
71
71
  display: false,
72
72
  'x-index': 50,
73
73
  dataType: 'string',
74
- inputProp: {
75
- changeEvent: 'change',
76
- valueFromEvent: 'event.detail.value',
77
- },
78
74
  'x-category': '基础属性',
79
75
  'x-component': 'jsontext',
80
76
  }),
@@ -195,6 +191,7 @@ const events = [
195
191
  const config = defineConfig({
196
192
  $schema: 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json',
197
193
  data,
194
+ properties: Type.Pick(data, ['value']),
198
195
  events,
199
196
  compConfig: {
200
197
  componentType: 'formField',
@@ -1,10 +1,10 @@
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">;
7
- 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
+ value: import("@sinclair/typebox").TString;
7
+ placeholder: import("@sinclair/typebox").TString;
8
8
  focus: import("@sinclair/typebox").TBoolean;
9
9
  disabled: import("@sinclair/typebox").TBoolean;
10
10
  maxLength: import("@sinclair/typebox").TNumber;
@@ -12,7 +12,7 @@ declare const data: import("@sinclair/typebox").TObject<{
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,11 +34,11 @@ 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">;
41
- 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;
41
+ placeholder: import("@sinclair/typebox").TString;
42
42
  focus: import("@sinclair/typebox").TBoolean;
43
43
  disabled: import("@sinclair/typebox").TBoolean;
44
44
  maxLength: import("@sinclair/typebox").TNumber;
@@ -46,7 +46,7 @@ declare const config: {
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 events: readonly [{
@@ -42,10 +42,6 @@ const data = Type.Object({
42
42
  description: '邮箱输入框中的默认值',
43
43
  'x-index': 130,
44
44
  dataType: 'string',
45
- inputProp: {
46
- changeEvent: 'change',
47
- valueFromEvent: 'event.detail.value',
48
- },
49
45
  'x-category': '基础属性',
50
46
  }),
51
47
  placeholder: Type.String({
@@ -1,16 +1,16 @@
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
- title: 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
+ title: 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">;
8
+ requiredMsg: import("@sinclair/typebox").TString;
9
9
  acceptTypes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"image/png" | "image/bmp" | "image/jpeg" | "image/gif" | "image/*">>;
10
10
  maxSize: import("@sinclair/typebox").TNumber;
11
11
  single: import("@sinclair/typebox").TBoolean;
12
12
  maxUploadCount: import("@sinclair/typebox").TNumber;
13
- 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">>;
13
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
14
14
  showShape: import("@sinclair/typebox").TUnsafe<"circular" | "roundedTectangle" | "ectangle">;
15
15
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
16
16
  disabled: import("@sinclair/typebox").TBoolean;
@@ -30,23 +30,26 @@ 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
- title: 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
+ title: 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">;
38
+ requiredMsg: import("@sinclair/typebox").TString;
39
39
  acceptTypes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"image/png" | "image/bmp" | "image/jpeg" | "image/gif" | "image/*">>;
40
40
  maxSize: import("@sinclair/typebox").TNumber;
41
41
  single: import("@sinclair/typebox").TBoolean;
42
42
  maxUploadCount: import("@sinclair/typebox").TNumber;
43
- 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">>;
43
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
44
44
  showShape: import("@sinclair/typebox").TUnsafe<"circular" | "roundedTectangle" | "ectangle">;
45
45
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
46
46
  disabled: import("@sinclair/typebox").TBoolean;
47
47
  isChooseAvatar: import("@sinclair/typebox").TBoolean;
48
48
  disableMultiSwitch: import("@sinclair/typebox").TBoolean;
49
49
  }>;
50
+ readonly properties: import("@sinclair/typebox").TObject<{
51
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
52
+ }>;
50
53
  readonly compConfig: {
51
54
  readonly componentType: "formField";
52
55
  };
@@ -159,10 +159,6 @@ const data = Type.Object({
159
159
  title: '初始值',
160
160
  'x-group': '基础属性',
161
161
  'x-index': 66,
162
- inputProp: {
163
- changeEvent: 'change',
164
- valueFromEvent: 'event.detail.value',
165
- },
166
162
  'x-component': 'jsontext',
167
163
  }),
168
164
  showShape: Type.StringEnum({
@@ -276,6 +272,7 @@ const events = [
276
272
  const config = defineConfig({
277
273
  $schema: 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json',
278
274
  data,
275
+ properties: Type.Pick(data, ['value']),
279
276
  compConfig: {
280
277
  componentType: 'formField',
281
278
  },
@@ -2,21 +2,21 @@ import { Simplify, Static } from '../type-utils';
2
2
  export type DataType = Simplify<Static<typeof data>>;
3
3
  declare const data: import("@sinclair/typebox").TObject<{
4
4
  rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
5
- format: 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
- message: 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
- pattern: 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">;
5
+ format: import("@sinclair/typebox").TString;
6
+ message: import("@sinclair/typebox").TString;
7
+ pattern: import("@sinclair/typebox").TString;
8
8
  }>>;
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">;
9
+ value: import("@sinclair/typebox").TString;
10
10
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
11
11
  validateStatus: import("@sinclair/typebox").TUnsafe<"success" | "error" | "warn">;
12
12
  isNickNameType: import("@sinclair/typebox").TBoolean;
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">;
16
- 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">;
17
- 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
+ requiredMsg: import("@sinclair/typebox").TString;
16
+ name: import("@sinclair/typebox").TString;
17
+ label: import("@sinclair/typebox").TString;
18
18
  labelVisible: import("@sinclair/typebox").TBoolean;
19
- 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">;
19
+ placeholder: import("@sinclair/typebox").TString;
20
20
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
21
21
  type: import("@sinclair/typebox").TUnsafe<"number" | "text" | "idcard" | "digit">;
22
22
  maxLength: import("@sinclair/typebox").TNumber;
@@ -29,21 +29,21 @@ declare const _default: {
29
29
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
30
30
  readonly data: import("@sinclair/typebox").TObject<{
31
31
  rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
32
- format: 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
- message: 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
- pattern: 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
+ format: import("@sinclair/typebox").TString;
33
+ message: import("@sinclair/typebox").TString;
34
+ pattern: import("@sinclair/typebox").TString;
35
35
  }>>;
36
- 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">;
36
+ value: import("@sinclair/typebox").TString;
37
37
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
38
38
  validateStatus: import("@sinclair/typebox").TUnsafe<"success" | "error" | "warn">;
39
39
  isNickNameType: import("@sinclair/typebox").TBoolean;
40
40
  required: import("@sinclair/typebox").TBoolean;
41
41
  requiredFlag: import("@sinclair/typebox").TBoolean;
42
- 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
- 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">;
44
- 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">;
42
+ requiredMsg: import("@sinclair/typebox").TString;
43
+ name: import("@sinclair/typebox").TString;
44
+ label: import("@sinclair/typebox").TString;
45
45
  labelVisible: import("@sinclair/typebox").TBoolean;
46
- 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">;
46
+ placeholder: import("@sinclair/typebox").TString;
47
47
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
48
48
  type: import("@sinclair/typebox").TUnsafe<"number" | "text" | "idcard" | "digit">;
49
49
  maxLength: import("@sinclair/typebox").TNumber;
@@ -314,16 +314,6 @@ const data = Type.Object({
314
314
  description: '组件输入框中的默认值',
315
315
  'x-index': 5,
316
316
  dataType: 'string',
317
- inputProp: [
318
- {
319
- changeEvent: 'change',
320
- valueFromEvent: 'event.detail.value',
321
- },
322
- {
323
- changeEvent: 'clear',
324
- valueFromEvent: 'event.detail.value',
325
- },
326
- ],
327
317
  'x-group': '基础属性',
328
318
  }),
329
319
  layout: Type.StringEnum({
@@ -4,17 +4,17 @@ declare const events: readonly [{
4
4
  readonly name: "change";
5
5
  }];
6
6
  declare const data: import("@sinclair/typebox").TObject<{
7
- 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">;
8
- 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">;
7
+ name: import("@sinclair/typebox").TString;
8
+ label: import("@sinclair/typebox").TString;
9
9
  labelVisible: import("@sinclair/typebox").TBoolean;
10
- dataSource: import("@sinclair/typebox").TRecord<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">, import("@sinclair/typebox").TUnknown>;
10
+ dataSource: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
11
11
  locationRange: import("@sinclair/typebox").TUnsafe<0 | -1 | 100 | 500 | 2000 | 1000 | 300>;
12
12
  customRange: import("@sinclair/typebox").TNumber;
13
13
  locationType: import("@sinclair/typebox").TUnsafe<2 | 1>;
14
14
  defauleShowLocation: import("@sinclair/typebox").TBoolean;
15
15
  required: import("@sinclair/typebox").TBoolean;
16
16
  requiredFlag: import("@sinclair/typebox").TBoolean;
17
- 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">;
17
+ requiredMsg: import("@sinclair/typebox").TString;
18
18
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
19
19
  showLngLat: import("@sinclair/typebox").TBoolean;
20
20
  showMap: import("@sinclair/typebox").TBoolean;
@@ -23,9 +23,9 @@ declare const data: import("@sinclair/typebox").TObject<{
23
23
  disabled: import("@sinclair/typebox").TBoolean;
24
24
  validateStatus: import("@sinclair/typebox").TUnsafe<"success" | "error" | "warn">;
25
25
  value: import("@sinclair/typebox").TObject<{
26
- address: 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
+ address: import("@sinclair/typebox").TString;
27
27
  geopoint: import("@sinclair/typebox").TObject<{
28
- type: 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
+ type: import("@sinclair/typebox").TString;
29
29
  coordinates: import("@sinclair/typebox").TTuple<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNumber]>;
30
30
  }>;
31
31
  }>;
@@ -33,17 +33,17 @@ declare const data: import("@sinclair/typebox").TObject<{
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
- dataSource: import("@sinclair/typebox").TRecord<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">, import("@sinclair/typebox").TUnknown>;
39
+ dataSource: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
40
40
  locationRange: import("@sinclair/typebox").TUnsafe<0 | -1 | 100 | 500 | 2000 | 1000 | 300>;
41
41
  customRange: import("@sinclair/typebox").TNumber;
42
42
  locationType: import("@sinclair/typebox").TUnsafe<2 | 1>;
43
43
  defauleShowLocation: import("@sinclair/typebox").TBoolean;
44
44
  required: import("@sinclair/typebox").TBoolean;
45
45
  requiredFlag: import("@sinclair/typebox").TBoolean;
46
- 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">;
46
+ requiredMsg: import("@sinclair/typebox").TString;
47
47
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
48
48
  showLngLat: import("@sinclair/typebox").TBoolean;
49
49
  showMap: import("@sinclair/typebox").TBoolean;
@@ -52,9 +52,18 @@ declare const config: {
52
52
  disabled: import("@sinclair/typebox").TBoolean;
53
53
  validateStatus: import("@sinclair/typebox").TUnsafe<"success" | "error" | "warn">;
54
54
  value: import("@sinclair/typebox").TObject<{
55
- address: 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
+ address: import("@sinclair/typebox").TString;
56
56
  geopoint: import("@sinclair/typebox").TObject<{
57
- type: 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
+ type: import("@sinclair/typebox").TString;
58
+ coordinates: import("@sinclair/typebox").TTuple<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNumber]>;
59
+ }>;
60
+ }>;
61
+ }>;
62
+ readonly properties: import("@sinclair/typebox").TObject<{
63
+ value: import("@sinclair/typebox").TObject<{
64
+ address: import("@sinclair/typebox").TString;
65
+ geopoint: import("@sinclair/typebox").TObject<{
66
+ type: import("@sinclair/typebox").TString;
58
67
  coordinates: import("@sinclair/typebox").TTuple<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNumber]>;
59
68
  }>;
60
69
  }>;