@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
@@ -27,9 +27,9 @@ import Drawer from './components/drawer.json';
27
27
  import RichText from './components/form/richText.json';
28
28
  import RichTextView from './components/richtextview.json';
29
29
  import Tabs from './components/tabs';
30
- import Calendar from './components/calendar.json';
30
+ import Calendar from './components/calendar';
31
31
  import NavLayout from './components/navLayout.json';
32
- import WedaVideo from './components/wedaVideo.json';
32
+ import WedaVideo from './components/wedaVideo';
33
33
  import showToast from './actions/showToast.json';
34
34
  import showModal from './actions/showModal.json';
35
35
  import showMessage from './actions/showMessage.json';
@@ -47,7 +47,7 @@ import Phone from './components/wxOpenApi/phone';
47
47
  import PhoneCode from './components/wxOpenApi/phoneCode';
48
48
  import Share from './components/wxOpenApi/share';
49
49
  import UserInfo from './components/wxOpenApi/userInfo';
50
- import Lottery from './components/lottery.json';
50
+ import Lottery from './components/lottery';
51
51
  import UserTreeSelect from './components/form/userTreeSelect.json';
52
52
  import DepartTreeSelect from './components/form/departTreeSelect.json';
53
53
  import FormDetail from './components/formdetail.json';
@@ -1,5 +1,5 @@
1
1
  export declare const genericErrorType: import("@sinclair/typebox").TObject<{
2
- requestid: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "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
- 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">;
4
- code: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
2
+ requestid: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
3
+ message: import("@sinclair/typebox").TString;
4
+ code: import("@sinclair/typebox").TString;
5
5
  }>;
@@ -1,4 +1,4 @@
1
- import { SchemaOptions, Static, StringOptions, TObject, TString, TUnknown, TypeBuilder as TypeboxTypeBuilder } from '@sinclair/typebox';
1
+ import { SchemaOptions, Static, StringOptions, TObject, TString, TUnknown, ExtendedTypeBuilder as TypeboxTypeBuilder } from '@sinclair/typebox';
2
2
  import type { Except, LiteralUnion, ReadonlyDeep, Simplify } from 'type-fest';
3
3
  import { LCDS } from '@cloudbase/cals';
4
4
  import React from 'react';
@@ -11,7 +11,7 @@ declare class TypeBuilder extends TypeboxTypeBuilder {
11
11
  StringEnum<T extends EnumSchemaOptions<string, XComponentUnion>>(options: T): import("@sinclair/typebox").TUnsafe<T["enum"][number]["value"]>;
12
12
  NumberEnum<XComponent extends XComponentUnion, T extends EnumSchemaOptions<number, XComponent>>(options: T): import("@sinclair/typebox").TUnsafe<T["enum"][number]["value"]>;
13
13
  Slot<T extends Except<SchemaOptions, 'x-index'>>(options?: T): import("@sinclair/typebox").TUnsafe<React.ReactNode>;
14
- String(options?: StringOptions<PropertyFormat>): TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "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
+ String(options?: StringOptions<PropertyFormat>): TString;
15
15
  BasicTypeUnion(options?: SchemaOptions): import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "number" | "boolean" | "object" | "array">[]>;
16
16
  FormatTypeUnion(options?: SchemaOptions): import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"string" | "boolean" | "object" | "function" | "time" | "tel" | "x-long-text" | "phone" | "datetime" | "date" | "array" | "email" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">[]>;
17
17
  BreakPoint<T extends SchemaOptions & {
@@ -76,11 +76,11 @@ interface EnumSchemaOptions<T extends string | number, XComponent extends XCompo
76
76
  readonly value: Readonly<T>;
77
77
  }[]>>;
78
78
  }
79
- export type Events = ReadonlyDeep<LCDS.IEvent & {
79
+ export type Events = Readonly<(LCDS.IEvent & {
80
80
  'x-platforms'?: XPlatform[];
81
81
  description?: string;
82
82
  detail?: TObject | TUnknown;
83
- }>[];
83
+ })[]>;
84
84
  type VisibleItem = 'APP' | 'COMPONENT';
85
85
  type ValidateRuleItem = {
86
86
  rule: string;
@@ -111,7 +111,7 @@ type ConfigMeta<D extends TObject> = Simplify<Readonly<{
111
111
  };
112
112
  contextData?: any;
113
113
  }>>;
114
- export type StaticEventsType<T extends Readonly<Events>> = {
114
+ export type StaticEventsType<T extends Events> = {
115
115
  events: {
116
116
  [E in T[number] as E['name']]: (eventDetail: E['detail'] extends TObject ? Static<E['detail']> : unknown, ...args: unknown[]) => unknown;
117
117
  };
@@ -145,4 +145,4 @@ type Schema<D extends TObject, P extends TObject> = Simplify<ReadonlyDeep<Except
145
145
  /** @deprecated no meant to be public */
146
146
  configMeta?: ConfigMeta<D>;
147
147
  }>>;
148
- export declare function defineConfig<T extends Schema<any, any>>(config: T): T;
148
+ export declare function defineConfig<T extends Schema<TObject, TObject>>(config: T): T;
@@ -1,4 +1,4 @@
1
- import { Type as T, TypeBuilder as TypeboxTypeBuilder, } from '@sinclair/typebox';
1
+ import { Type as T, ExtendedTypeBuilder as TypeboxTypeBuilder, } from '@sinclair/typebox';
2
2
  // https://git.woa.com/QBase/lcap/datasource/blob/main/packages/ds-helper/src/datasource-field-type.ts
3
3
  const dataSourceFormat = [
4
4
  'string',
@@ -32,11 +32,8 @@ const jsonBasicType = [
32
32
  'object',
33
33
  'boolean',
34
34
  ];
35
- // type BasicType = keyof typeof jsonBasicType;
36
35
  class TypeBuilder extends TypeboxTypeBuilder {
37
- makeEnumOptions(
38
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
39
- options) {
36
+ makeEnumOptions(options) {
40
37
  const { enum: enumProp, 'x-index?': xIndex, 'x-component-props': XComponentProps, ...restOpt } = options;
41
38
  const opts = {
42
39
  enum: enumProp.map((item) => item.value),
@@ -25,39 +25,39 @@ export declare const X_CATEGORY: {
25
25
  };
26
26
  export declare const FORM_ITEM_DATA: {
27
27
  /** 通用 */
28
- name: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
28
+ name: import("@sinclair/typebox").TString;
29
29
  mode: import("@sinclair/typebox").TUnsafe<string>;
30
30
  _modeInTime: import("@sinclair/typebox").TUnsafe<string>;
31
31
  dateFormat: import("@sinclair/typebox").TUnsafe<string>;
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">;
32
+ value: import("@sinclair/typebox").TString;
33
33
  _valueInDate: import("@sinclair/typebox").TAny;
34
34
  _valueInTime: import("@sinclair/typebox").TAny;
35
35
  start: import("@sinclair/typebox").TAny;
36
36
  end: import("@sinclair/typebox").TAny;
37
- inputValue: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "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<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "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
+ inputValue: import("@sinclair/typebox").TString;
38
+ placeholder: import("@sinclair/typebox").TString;
39
39
  size: import("@sinclair/typebox").TUnsafe<string>;
40
40
  block: import("@sinclair/typebox").TBoolean;
41
41
  /** 标题 */
42
- 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
+ label: import("@sinclair/typebox").TString;
43
43
  labelVisible: import("@sinclair/typebox").TBoolean;
44
44
  labelAlign: import("@sinclair/typebox").TUnsafe<string>;
45
45
  labelWrap: import("@sinclair/typebox").TBoolean;
46
46
  layout: import("@sinclair/typebox").TUnsafe<string>;
47
- labelWidth: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
48
- labelTips: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "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
+ labelWidth: import("@sinclair/typebox").TString;
48
+ labelTips: import("@sinclair/typebox").TString;
49
49
  /** 输入 */
50
50
  clearable: import("@sinclair/typebox").TBoolean;
51
- before: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "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
- after: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "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
+ before: import("@sinclair/typebox").TString;
52
+ after: import("@sinclair/typebox").TString;
53
53
  isUnionValue: import("@sinclair/typebox").TBoolean;
54
54
  prefixType: import("@sinclair/typebox").TUnsafe<string>;
55
55
  prefixIcon: import("@sinclair/typebox").TUnsafe<string>;
56
- prefixSrc: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
56
+ prefixSrc: import("@sinclair/typebox").TString;
57
57
  suffixType: import("@sinclair/typebox").TUnsafe<string>;
58
58
  suffixIcon: import("@sinclair/typebox").TUnsafe<string>;
59
- suffixSrc: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
60
- extra: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
59
+ suffixSrc: import("@sinclair/typebox").TString;
60
+ extra: import("@sinclair/typebox").TString;
61
61
  password: import("@sinclair/typebox").TBoolean;
62
62
  type: import("@sinclair/typebox").TUnsafe<string>;
63
63
  counterVisible: import("@sinclair/typebox").TBoolean;
@@ -69,56 +69,56 @@ export declare const FORM_ITEM_DATA: {
69
69
  /** 状态/校验 */
70
70
  maxLength: import("@sinclair/typebox").TNumber;
71
71
  rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
72
- 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">;
73
- 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">;
74
- pattern: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
72
+ format: import("@sinclair/typebox").TString;
73
+ message: import("@sinclair/typebox").TString;
74
+ pattern: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
75
75
  }>>;
76
76
  validateStatus: import("@sinclair/typebox").TUnsafe<string>;
77
77
  status: import("@sinclair/typebox").TUnsafe<string>;
78
78
  required: import("@sinclair/typebox").TBoolean;
79
79
  requiredFlag: import("@sinclair/typebox").TBoolean;
80
- 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">;
80
+ requiredMsg: import("@sinclair/typebox").TString;
81
81
  /** 提供给widget挂载的属性 */
82
82
  visible: import("@sinclair/typebox").TBoolean;
83
83
  disabled: import("@sinclair/typebox").TBoolean;
84
84
  readOnly: import("@sinclair/typebox").TBoolean;
85
- selectedLabel: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
85
+ selectedLabel: import("@sinclair/typebox").TString;
86
86
  };
87
87
  export declare const FORM_ITEM_DATA_TITLE: Pick<{
88
88
  /** 通用 */
89
- 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">;
89
+ name: import("@sinclair/typebox").TString;
90
90
  mode: import("@sinclair/typebox").TUnsafe<string>;
91
91
  _modeInTime: import("@sinclair/typebox").TUnsafe<string>;
92
92
  dateFormat: import("@sinclair/typebox").TUnsafe<string>;
93
- 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">;
93
+ value: import("@sinclair/typebox").TString;
94
94
  _valueInDate: import("@sinclair/typebox").TAny;
95
95
  _valueInTime: import("@sinclair/typebox").TAny;
96
96
  start: import("@sinclair/typebox").TAny;
97
97
  end: import("@sinclair/typebox").TAny;
98
- inputValue: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
99
- 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">;
98
+ inputValue: import("@sinclair/typebox").TString;
99
+ placeholder: import("@sinclair/typebox").TString;
100
100
  size: import("@sinclair/typebox").TUnsafe<string>;
101
101
  block: import("@sinclair/typebox").TBoolean;
102
102
  /** 标题 */
103
- 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">;
103
+ label: import("@sinclair/typebox").TString;
104
104
  labelVisible: import("@sinclair/typebox").TBoolean;
105
105
  labelAlign: import("@sinclair/typebox").TUnsafe<string>;
106
106
  labelWrap: import("@sinclair/typebox").TBoolean;
107
107
  layout: import("@sinclair/typebox").TUnsafe<string>;
108
- labelWidth: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
109
- labelTips: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
108
+ labelWidth: import("@sinclair/typebox").TString;
109
+ labelTips: import("@sinclair/typebox").TString;
110
110
  /** 输入 */
111
111
  clearable: import("@sinclair/typebox").TBoolean;
112
- before: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
113
- after: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
112
+ before: import("@sinclair/typebox").TString;
113
+ after: import("@sinclair/typebox").TString;
114
114
  isUnionValue: import("@sinclair/typebox").TBoolean;
115
115
  prefixType: import("@sinclair/typebox").TUnsafe<string>;
116
116
  prefixIcon: import("@sinclair/typebox").TUnsafe<string>;
117
- prefixSrc: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
117
+ prefixSrc: import("@sinclair/typebox").TString;
118
118
  suffixType: import("@sinclair/typebox").TUnsafe<string>;
119
119
  suffixIcon: import("@sinclair/typebox").TUnsafe<string>;
120
- suffixSrc: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
121
- extra: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
120
+ suffixSrc: import("@sinclair/typebox").TString;
121
+ extra: import("@sinclair/typebox").TString;
122
122
  password: import("@sinclair/typebox").TBoolean;
123
123
  type: import("@sinclair/typebox").TUnsafe<string>;
124
124
  counterVisible: import("@sinclair/typebox").TBoolean;
@@ -130,23 +130,23 @@ export declare const FORM_ITEM_DATA_TITLE: Pick<{
130
130
  /** 状态/校验 */
131
131
  maxLength: import("@sinclair/typebox").TNumber;
132
132
  rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
133
- 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">;
134
- 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">;
135
- pattern: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
133
+ format: import("@sinclair/typebox").TString;
134
+ message: import("@sinclair/typebox").TString;
135
+ pattern: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
136
136
  }>>;
137
137
  validateStatus: import("@sinclair/typebox").TUnsafe<string>;
138
138
  status: import("@sinclair/typebox").TUnsafe<string>;
139
139
  required: import("@sinclair/typebox").TBoolean;
140
140
  requiredFlag: import("@sinclair/typebox").TBoolean;
141
- 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">;
141
+ requiredMsg: import("@sinclair/typebox").TString;
142
142
  /** 提供给widget挂载的属性 */
143
143
  visible: import("@sinclair/typebox").TBoolean;
144
144
  disabled: import("@sinclair/typebox").TBoolean;
145
145
  readOnly: import("@sinclair/typebox").TBoolean;
146
- selectedLabel: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
146
+ selectedLabel: import("@sinclair/typebox").TString;
147
147
  }, "label" | "layout" | "labelVisible" | "labelWidth" | "labelAlign" | "labelWrap" | "labelTips">;
148
148
  export declare const DEFAULT_DETAIL: import("@sinclair/typebox").TObject<{
149
- 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">;
149
+ value: import("@sinclair/typebox").TString;
150
150
  }>;
151
151
  export declare const DEFAULT_DETAIL_NUMBER: import("@sinclair/typebox").TObject<{
152
152
  value: import("@sinclair/typebox").TNumber;
@@ -156,35 +156,35 @@ export declare const FORM_ITEM_EVENTS: {
156
156
  readonly name: "change";
157
157
  readonly title: "值改变";
158
158
  readonly detail: import("@sinclair/typebox").TObject<{
159
- 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">;
159
+ value: import("@sinclair/typebox").TString;
160
160
  }>;
161
161
  };
162
162
  readonly focus: {
163
163
  readonly name: "focus";
164
164
  readonly title: "聚焦";
165
165
  readonly detail: import("@sinclair/typebox").TObject<{
166
- 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">;
166
+ value: import("@sinclair/typebox").TString;
167
167
  }>;
168
168
  };
169
169
  readonly blur: {
170
170
  readonly name: "blur";
171
171
  readonly title: "失焦";
172
172
  readonly detail: import("@sinclair/typebox").TObject<{
173
- 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">;
173
+ value: import("@sinclair/typebox").TString;
174
174
  }>;
175
175
  };
176
176
  readonly confirm: {
177
177
  readonly name: "confirm";
178
178
  readonly title: "确认";
179
179
  readonly detail: import("@sinclair/typebox").TObject<{
180
- 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">;
180
+ value: import("@sinclair/typebox").TString;
181
181
  }>;
182
182
  };
183
183
  readonly clear: {
184
184
  readonly name: "clear";
185
185
  readonly title: "清除内容";
186
186
  readonly detail: import("@sinclair/typebox").TObject<{
187
- originValue: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
187
+ originValue: import("@sinclair/typebox").TString;
188
188
  }>;
189
189
  };
190
190
  readonly cancel: {
@@ -312,67 +312,61 @@ export declare const FORM_ITEM_META: {
312
312
  visible: any;
313
313
  category: string;
314
314
  };
315
- export declare const ItemData: import("@sinclair/typebox").TPartial<import("@sinclair/typebox").TObject<{
316
- /** 通用 */
317
- 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">;
318
- mode: import("@sinclair/typebox").TUnsafe<string>;
319
- _modeInTime: import("@sinclair/typebox").TUnsafe<string>;
320
- dateFormat: import("@sinclair/typebox").TUnsafe<string>;
321
- 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">;
322
- _valueInDate: import("@sinclair/typebox").TAny;
323
- _valueInTime: import("@sinclair/typebox").TAny;
324
- start: import("@sinclair/typebox").TAny;
325
- end: import("@sinclair/typebox").TAny;
326
- inputValue: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
327
- 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">;
328
- size: import("@sinclair/typebox").TUnsafe<string>;
329
- block: import("@sinclair/typebox").TBoolean;
330
- /** 标题 */
331
- 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">;
332
- labelVisible: import("@sinclair/typebox").TBoolean;
333
- labelAlign: import("@sinclair/typebox").TUnsafe<string>;
334
- labelWrap: import("@sinclair/typebox").TBoolean;
335
- layout: import("@sinclair/typebox").TUnsafe<string>;
336
- labelWidth: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
337
- labelTips: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
338
- /** 输入 */
339
- clearable: import("@sinclair/typebox").TBoolean;
340
- before: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
341
- after: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
342
- isUnionValue: import("@sinclair/typebox").TBoolean;
343
- prefixType: import("@sinclair/typebox").TUnsafe<string>;
344
- prefixIcon: import("@sinclair/typebox").TUnsafe<string>;
345
- prefixSrc: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
346
- suffixType: import("@sinclair/typebox").TUnsafe<string>;
347
- suffixIcon: import("@sinclair/typebox").TUnsafe<string>;
348
- suffixSrc: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
349
- extra: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
350
- password: import("@sinclair/typebox").TBoolean;
351
- type: import("@sinclair/typebox").TUnsafe<string>;
352
- counterVisible: import("@sinclair/typebox").TBoolean;
353
- focus: import("@sinclair/typebox").TBoolean;
354
- borderedH5: import("@sinclair/typebox").TBoolean;
355
- borderedPc: import("@sinclair/typebox").TBoolean;
356
- /** 小程序能力 */
357
- isNickNameType: import("@sinclair/typebox").TBoolean;
358
- /** 状态/校验 */
359
- maxLength: import("@sinclair/typebox").TNumber;
360
- rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
361
- 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">;
362
- 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">;
363
- pattern: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">>;
364
- }>>;
365
- validateStatus: import("@sinclair/typebox").TUnsafe<string>;
366
- status: import("@sinclair/typebox").TUnsafe<string>;
367
- required: import("@sinclair/typebox").TBoolean;
368
- requiredFlag: import("@sinclair/typebox").TBoolean;
369
- 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">;
370
- /** 提供给widget挂载的属性 */
371
- visible: import("@sinclair/typebox").TBoolean;
372
- disabled: import("@sinclair/typebox").TBoolean;
373
- readOnly: import("@sinclair/typebox").TBoolean;
374
- selectedLabel: import("@sinclair/typebox").TString<"string" | "boolean" | "object" | "function" | "tel" | "x-long-text" | "phone" | "datetime" | "array" | "url" | "x-image" | "x-rtf" | "x-enum" | "x-location" | "x-file" | "x-autonumber" | "x-area-code" | "related" | "father-son" | "many-many">;
375
- }>>;
315
+ export declare const ItemData: import("@sinclair/typebox").TObject<{
316
+ name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
317
+ mode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
318
+ _modeInTime: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
319
+ dateFormat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
320
+ value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
321
+ _valueInDate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
322
+ _valueInTime: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
323
+ start: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
324
+ end: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
325
+ inputValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
326
+ placeholder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
327
+ size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
328
+ block: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
329
+ label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
330
+ labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
331
+ labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
332
+ labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
333
+ layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
334
+ labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
335
+ labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
336
+ clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
337
+ before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
338
+ after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
339
+ isUnionValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
340
+ prefixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
341
+ prefixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
342
+ prefixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
343
+ suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
344
+ suffixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
345
+ suffixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
346
+ extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
347
+ password: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
348
+ type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
349
+ counterVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
350
+ focus: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
351
+ borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
352
+ borderedPc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
353
+ isNickNameType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
354
+ maxLength: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
355
+ rules: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
356
+ format: import("@sinclair/typebox").TString;
357
+ message: import("@sinclair/typebox").TString;
358
+ pattern: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
359
+ }>>>;
360
+ validateStatus: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
361
+ status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
362
+ required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
363
+ requiredFlag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
364
+ requiredMsg: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
365
+ visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
366
+ disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
367
+ readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
368
+ selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
369
+ }>;
376
370
  type ItemDataType = Simplify<Static<typeof ItemData>>;
377
371
  export interface WdFormItemProps extends CommonPropsType, Pick<ItemDataType, 'label' | 'labelVisible' | 'labelAlign' | 'labelWrap' | 'layout' | 'labelWidth' | 'labelTips' | 'extra' | 'required' | 'requiredFlag' | 'borderedH5' | 'borderedPc' | 'size' | 'disabled' | 'readOnly' | 'block'> {
378
372
  /** 仅用于 jest 测试 */
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* eslint-disable import/export, rulesdir/no-export-all */
1
+ /* eslint-disable rulesdir/no-export-all */
2
2
  export * from './web/index';
3
3
  export { default as default } from './web/index';
4
4
  export { useFormInputTrait } from './web/components/form-input-hooks/index';