@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
@@ -282,10 +282,6 @@ const data = Type.Object({
282
282
  format: 'x-location',
283
283
  display: false,
284
284
  dataType: 'object',
285
- inputProp: {
286
- changeEvent: 'change',
287
- valueFromEvent: 'event.detail.value',
288
- },
289
285
  'x-category': '基础属性',
290
286
  'x-component': 'jsontext',
291
287
  }),
@@ -293,6 +289,7 @@ const data = Type.Object({
293
289
  const config = defineConfig({
294
290
  $schema: 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json',
295
291
  data,
292
+ properties: Type.Pick(data, ['value']),
296
293
  compConfig: {
297
294
  componentType: 'formField',
298
295
  },
@@ -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
- 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
  regionType: import("@sinclair/typebox").TUnsafe<"levelOne" | "levelTwo" | "levelThree">;
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
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
11
11
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
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
  }>;
16
16
  declare const events: readonly [{
17
17
  readonly title: "值改变";
@@ -23,18 +23,21 @@ declare const events: readonly [{
23
23
  declare const config: {
24
24
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
25
25
  readonly data: import("@sinclair/typebox").TObject<{
26
- 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">;
27
- 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">;
26
+ name: import("@sinclair/typebox").TString;
27
+ label: import("@sinclair/typebox").TString;
28
28
  labelVisible: import("@sinclair/typebox").TBoolean;
29
- 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">;
29
+ value: import("@sinclair/typebox").TString;
30
30
  regionType: import("@sinclair/typebox").TUnsafe<"levelOne" | "levelTwo" | "levelThree">;
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">;
31
+ placeholder: import("@sinclair/typebox").TString;
32
32
  disabled: import("@sinclair/typebox").TBoolean;
33
33
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
34
34
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
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
+ }>;
39
+ readonly properties: import("@sinclair/typebox").TObject<{
40
+ value: import("@sinclair/typebox").TString;
38
41
  }>;
39
42
  readonly compConfig: {
40
43
  readonly componentType: "formField";
@@ -40,10 +40,6 @@ const data = Type.Object({
40
40
  format: 'x-area-code',
41
41
  default: '',
42
42
  'x-index': 130,
43
- inputProp: {
44
- changeEvent: 'change',
45
- valueFromEvent: 'event.detail.value',
46
- },
47
43
  'x-category': '基础属性',
48
44
  description: '省市区之间请用,分隔',
49
45
  }),
@@ -175,6 +171,7 @@ const events = [
175
171
  const config = defineConfig({
176
172
  $schema: 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json',
177
173
  data,
174
+ properties: Type.Pick(data, ['value']),
178
175
  compConfig: {
179
176
  componentType: 'formField',
180
177
  },
@@ -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
- 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
  disabled: import("@sinclair/typebox").TBoolean;
9
9
  focus: import("@sinclair/typebox").TBoolean;
10
10
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
11
11
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
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
  clearable: import("@sinclair/typebox").TBoolean;
16
16
  }>;
17
17
  declare const events: readonly [{
@@ -33,18 +33,18 @@ 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
- 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<"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").TString;
40
+ placeholder: import("@sinclair/typebox").TString;
41
41
  disabled: import("@sinclair/typebox").TBoolean;
42
42
  focus: import("@sinclair/typebox").TBoolean;
43
43
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
44
44
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
45
45
  required: import("@sinclair/typebox").TBoolean;
46
46
  requiredFlag: import("@sinclair/typebox").TBoolean;
47
- 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">;
47
+ requiredMsg: import("@sinclair/typebox").TString;
48
48
  clearable: import("@sinclair/typebox").TBoolean;
49
49
  }>;
50
50
  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.value',
48
- },
49
45
  'x-category': '基础属性',
50
46
  }),
51
47
  placeholder: Type.String({
@@ -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
- 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
  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
  range: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
13
- 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">;
14
- 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">;
13
+ label: import("@sinclair/typebox").TString;
14
+ value: import("@sinclair/typebox").TString;
15
15
  }>>;
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
- 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">;
30
+ value: import("@sinclair/typebox").TString;
31
31
  required: import("@sinclair/typebox").TBoolean;
32
32
  requiredFlag: import("@sinclair/typebox").TBoolean;
33
- 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">;
33
+ requiredMsg: import("@sinclair/typebox").TString;
34
34
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
35
35
  disabled: import("@sinclair/typebox").TBoolean;
36
36
  range: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
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">;
38
- 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">;
37
+ label: import("@sinclair/typebox").TString;
38
+ value: import("@sinclair/typebox").TString;
39
39
  }>>;
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: "值改变";
@@ -40,10 +40,6 @@ const data = Type.Object({
40
40
  default: '',
41
41
  description: '默认选中的选项',
42
42
  'x-index': 25,
43
- inputProp: {
44
- changeEvent: 'change',
45
- valueFromEvent: 'event.detail.value',
46
- },
47
43
  'x-category': '基础属性',
48
44
  }),
49
45
  required: Type.Boolean({
@@ -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
- 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").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">>;
6
+ placeholder: import("@sinclair/typebox").TString;
7
+ value: import("@sinclair/typebox").TArray<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
- separator: 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
+ separator: import("@sinclair/typebox").TString;
13
13
  disabled: import("@sinclair/typebox").TBoolean;
14
14
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
15
15
  }>;
@@ -23,16 +23,16 @@ declare const events: readonly [{
23
23
  declare const config: {
24
24
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
25
25
  readonly data: import("@sinclair/typebox").TObject<{
26
- 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">;
27
- 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">;
26
+ name: import("@sinclair/typebox").TString;
27
+ label: import("@sinclair/typebox").TString;
28
28
  labelVisible: import("@sinclair/typebox").TBoolean;
29
- 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
- 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">>;
29
+ placeholder: import("@sinclair/typebox").TString;
30
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
31
31
  required: import("@sinclair/typebox").TBoolean;
32
32
  requiredFlag: import("@sinclair/typebox").TBoolean;
33
- 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">;
33
+ requiredMsg: import("@sinclair/typebox").TString;
34
34
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
35
- separator: 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
+ separator: import("@sinclair/typebox").TString;
36
36
  disabled: import("@sinclair/typebox").TBoolean;
37
37
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
38
38
  }>;
@@ -52,10 +52,6 @@ const data = Type.Object({
52
52
  default: [],
53
53
  description: '省市区的默认值',
54
54
  'x-index': 25,
55
- inputProp: {
56
- changeEvent: 'change',
57
- valueFromEvent: 'event.detail.value',
58
- },
59
55
  'x-category': '基础属性',
60
56
  }),
61
57
  required: Type.Boolean({
@@ -2,13 +2,13 @@ import { Simplify, Static, StaticEventsType } from '../type-utils';
2
2
  declare const data: import("@sinclair/typebox").TObject<{
3
3
  maxSize: import("@sinclair/typebox").TNumber;
4
4
  acceptTypes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"image/png" | "image/tif" | "image/bmp" | "image/jpeg" | "image/tiff" | "image/*">>;
5
- 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">;
6
- 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">;
5
+ name: import("@sinclair/typebox").TString;
6
+ title: import("@sinclair/typebox").TString;
7
7
  titleVisible: import("@sinclair/typebox").TBoolean;
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">;
11
- 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">;
10
+ requiredMsg: import("@sinclair/typebox").TString;
11
+ value: import("@sinclair/typebox").TString;
12
12
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
13
13
  disabled: import("@sinclair/typebox").TBoolean;
14
14
  readOnly: import("@sinclair/typebox").TBoolean;
@@ -24,17 +24,20 @@ declare const config: {
24
24
  readonly data: import("@sinclair/typebox").TObject<{
25
25
  maxSize: import("@sinclair/typebox").TNumber;
26
26
  acceptTypes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"image/png" | "image/tif" | "image/bmp" | "image/jpeg" | "image/tiff" | "image/*">>;
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
- 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">;
27
+ name: import("@sinclair/typebox").TString;
28
+ title: import("@sinclair/typebox").TString;
29
29
  titleVisible: import("@sinclair/typebox").TBoolean;
30
30
  required: import("@sinclair/typebox").TBoolean;
31
31
  requiredFlag: import("@sinclair/typebox").TBoolean;
32
- 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">;
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
+ requiredMsg: import("@sinclair/typebox").TString;
33
+ value: import("@sinclair/typebox").TString;
34
34
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
35
35
  disabled: import("@sinclair/typebox").TBoolean;
36
36
  readOnly: import("@sinclair/typebox").TBoolean;
37
37
  }>;
38
+ readonly properties: import("@sinclair/typebox").TObject<{
39
+ value: import("@sinclair/typebox").TString;
40
+ }>;
38
41
  readonly events: readonly [{
39
42
  readonly title: "值改变";
40
43
  readonly name: "change";
@@ -118,10 +118,6 @@ const data = Type.Object({
118
118
  default: '',
119
119
  'x-index': 50,
120
120
  dataType: 'string',
121
- inputProp: {
122
- changeEvent: 'change',
123
- valueFromEvent: 'event.detail.value',
124
- },
125
121
  'x-category': '基础属性',
126
122
  description: '组件的默认富文本内容',
127
123
  }),
@@ -174,6 +170,7 @@ const events = [
174
170
  const config = defineConfig({
175
171
  $schema: 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json',
176
172
  data,
173
+ properties: Type.Pick(data, ['value']),
177
174
  events,
178
175
  compConfig: {
179
176
  componentType: 'formField',
@@ -1,26 +1,26 @@
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").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">>;
6
+ placeholder: import("@sinclair/typebox").TString;
7
+ value: import("@sinclair/typebox").TArray<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
  format: import("@sinclair/typebox").TUnsafe<"many-many" | "one-many">;
19
- 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">;
20
- 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">;
21
- 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">;
22
- 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">;
23
- 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">;
19
+ viewId: import("@sinclair/typebox").TString;
20
+ enumName: import("@sinclair/typebox").TString;
21
+ tipBlock: import("@sinclair/typebox").TString;
22
+ primaryField: import("@sinclair/typebox").TString;
23
+ dataSourceName: import("@sinclair/typebox").TString;
24
24
  }>;
25
25
  declare const events: readonly [{
26
26
  readonly title: "值改变";
@@ -32,27 +32,30 @@ declare const events: readonly [{
32
32
  declare const config: {
33
33
  readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
34
34
  readonly data: import("@sinclair/typebox").TObject<{
35
- 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">;
36
- 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">;
35
+ name: import("@sinclair/typebox").TString;
36
+ label: import("@sinclair/typebox").TString;
37
37
  labelVisible: import("@sinclair/typebox").TBoolean;
38
- 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">;
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
+ placeholder: import("@sinclair/typebox").TString;
39
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
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">;
42
+ requiredMsg: import("@sinclair/typebox").TString;
43
43
  layout: import("@sinclair/typebox").TUnsafe<"" | "vertical" | "horizontal">;
44
44
  disabled: import("@sinclair/typebox").TBoolean;
45
45
  range: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
46
- 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">;
47
- 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">;
46
+ label: import("@sinclair/typebox").TString;
47
+ value: import("@sinclair/typebox").TString;
48
48
  }>>;
49
49
  size: import("@sinclair/typebox").TUnsafe<"s" | "m" | "l" | "full">;
50
50
  format: import("@sinclair/typebox").TUnsafe<"many-many" | "one-many">;
51
- 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">;
52
- 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">;
53
- 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">;
54
- 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">;
55
- 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">;
51
+ viewId: import("@sinclair/typebox").TString;
52
+ enumName: import("@sinclair/typebox").TString;
53
+ tipBlock: import("@sinclair/typebox").TString;
54
+ primaryField: import("@sinclair/typebox").TString;
55
+ dataSourceName: import("@sinclair/typebox").TString;
56
+ }>;
57
+ readonly properties: import("@sinclair/typebox").TObject<{
58
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
56
59
  }>;
57
60
  readonly events: readonly [{
58
61
  readonly title: "值改变";
@@ -51,10 +51,6 @@ const data = Type.Object({
51
51
  default: [],
52
52
  description: '默认选中的选项',
53
53
  'x-index': 25,
54
- inputProp: {
55
- changeEvent: 'change',
56
- valueFromEvent: 'event.detail.value',
57
- },
58
54
  'x-category': '基础属性',
59
55
  }),
60
56
  required: Type.Boolean({
@@ -328,6 +324,7 @@ const events = [
328
324
  const config = defineConfig({
329
325
  $schema: 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json',
330
326
  data,
327
+ properties: Type.Pick(data, ['value']),
331
328
  events,
332
329
  compConfig: {
333
330
  componentType: 'formField',