@nmshd/content 2.0.0-beta.8 → 2.0.0

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 (437) hide show
  1. package/dist/attributes/AbstractAttribute.js.map +1 -1
  2. package/dist/attributes/AbstractAttributeQuery.d.ts +0 -3
  3. package/dist/attributes/AbstractAttributeQuery.js +0 -7
  4. package/dist/attributes/AbstractAttributeQuery.js.map +1 -1
  5. package/dist/attributes/AbstractAttributeValue.d.ts +1 -2
  6. package/dist/attributes/AbstractAttributeValue.js +0 -3
  7. package/dist/attributes/AbstractAttributeValue.js.map +1 -1
  8. package/dist/attributes/AttributeValueTypes.d.ts +46 -0
  9. package/dist/attributes/AttributeValueTypes.js +146 -0
  10. package/dist/attributes/AttributeValueTypes.js.map +1 -0
  11. package/dist/attributes/IdentityAttribute.d.ts +7 -6
  12. package/dist/attributes/IdentityAttribute.js +4 -4
  13. package/dist/attributes/IdentityAttribute.js.map +1 -1
  14. package/dist/attributes/IdentityAttributeQuery.d.ts +7 -2
  15. package/dist/attributes/IdentityAttributeQuery.js +12 -2
  16. package/dist/attributes/IdentityAttributeQuery.js.map +1 -1
  17. package/dist/attributes/RelationshipAttribute.d.ts +8 -36
  18. package/dist/attributes/RelationshipAttribute.js +8 -38
  19. package/dist/attributes/RelationshipAttribute.js.map +1 -1
  20. package/dist/attributes/RelationshipAttributeConfidentiality.d.ts +30 -0
  21. package/dist/attributes/RelationshipAttributeConfidentiality.js +35 -0
  22. package/dist/attributes/RelationshipAttributeConfidentiality.js.map +1 -0
  23. package/dist/attributes/RelationshipAttributeQuery.d.ts +35 -6
  24. package/dist/attributes/RelationshipAttributeQuery.js +59 -10
  25. package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
  26. package/dist/attributes/ThirdPartyRelationshipAttributeQuery.d.ts +20 -0
  27. package/dist/{forms/FormItem.js → attributes/ThirdPartyRelationshipAttributeQuery.js} +21 -31
  28. package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js.map +1 -0
  29. package/dist/attributes/constants/AttributeValueTypeQueryMapping.d.ts +1 -0
  30. package/dist/attributes/constants/AttributeValueTypeQueryMapping.js +7 -0
  31. package/dist/attributes/constants/AttributeValueTypeQueryMapping.js.map +1 -0
  32. package/dist/attributes/constants/index.d.ts +1 -0
  33. package/dist/attributes/constants/index.js +1 -0
  34. package/dist/attributes/constants/index.js.map +1 -1
  35. package/dist/attributes/hints/RenderHints.d.ts +3 -2
  36. package/dist/attributes/hints/RenderHints.js.map +1 -1
  37. package/dist/attributes/hints/ValueHints.d.ts +3 -2
  38. package/dist/attributes/hints/ValueHints.js.map +1 -1
  39. package/dist/attributes/hints/ValueHintsValue.d.ts +1 -1
  40. package/dist/attributes/hints/ValueHintsValue.js.map +1 -1
  41. package/dist/attributes/hints/index.d.ts +0 -1
  42. package/dist/attributes/hints/index.js +0 -1
  43. package/dist/attributes/hints/index.js.map +1 -1
  44. package/dist/attributes/index.d.ts +3 -1
  45. package/dist/attributes/index.js +3 -1
  46. package/dist/attributes/index.js.map +1 -1
  47. package/dist/attributes/types/AbstractBoolean.d.ts +1 -2
  48. package/dist/attributes/types/AbstractBoolean.js.map +1 -1
  49. package/dist/attributes/types/AbstractFloat.d.ts +1 -2
  50. package/dist/attributes/types/AbstractFloat.js.map +1 -1
  51. package/dist/attributes/types/AbstractInteger.d.ts +1 -3
  52. package/dist/attributes/types/AbstractInteger.js +0 -3
  53. package/dist/attributes/types/AbstractInteger.js.map +1 -1
  54. package/dist/attributes/types/AbstractString.d.ts +1 -2
  55. package/dist/attributes/types/AbstractString.js +2 -2
  56. package/dist/attributes/types/AbstractString.js.map +1 -1
  57. package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
  58. package/dist/attributes/types/address/City.d.ts +8 -2
  59. package/dist/attributes/types/address/City.js +3 -0
  60. package/dist/attributes/types/address/City.js.map +1 -1
  61. package/dist/attributes/types/address/Country.d.ts +9 -2
  62. package/dist/attributes/types/address/Country.js +5 -2
  63. package/dist/attributes/types/address/Country.js.map +1 -1
  64. package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +40 -39
  65. package/dist/attributes/types/address/DeliveryBoxAddress.js +6 -3
  66. package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
  67. package/dist/attributes/types/address/HouseNumber.d.ts +9 -2
  68. package/dist/attributes/types/address/HouseNumber.js +6 -0
  69. package/dist/attributes/types/address/HouseNumber.js.map +1 -1
  70. package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +30 -29
  71. package/dist/attributes/types/address/PostOfficeBoxAddress.js +3 -0
  72. package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
  73. package/dist/attributes/types/address/State.d.ts +8 -2
  74. package/dist/attributes/types/address/State.js +3 -0
  75. package/dist/attributes/types/address/State.js.map +1 -1
  76. package/dist/attributes/types/address/Street.d.ts +9 -2
  77. package/dist/attributes/types/address/Street.js +6 -0
  78. package/dist/attributes/types/address/Street.js.map +1 -1
  79. package/dist/attributes/types/address/StreetAddress.d.ts +49 -48
  80. package/dist/attributes/types/address/StreetAddress.js +3 -0
  81. package/dist/attributes/types/address/StreetAddress.js.map +1 -1
  82. package/dist/attributes/types/address/ZipCode.d.ts +9 -2
  83. package/dist/attributes/types/address/ZipCode.js +6 -0
  84. package/dist/attributes/types/address/ZipCode.js.map +1 -1
  85. package/dist/attributes/types/{name/LegalNameDE.d.ts → affiliation/Affiliation.d.ts} +43 -612
  86. package/dist/attributes/types/affiliation/Affiliation.js +80 -0
  87. package/dist/attributes/types/affiliation/Affiliation.js.map +1 -0
  88. package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +10 -0
  89. package/dist/attributes/types/affiliation/AffiliationOrganization.js +24 -0
  90. package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -0
  91. package/dist/attributes/types/affiliation/AffiliationRole.d.ts +10 -0
  92. package/dist/attributes/types/affiliation/AffiliationRole.js +24 -0
  93. package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -0
  94. package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +10 -0
  95. package/dist/attributes/types/affiliation/AffiliationUnit.js +24 -0
  96. package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -0
  97. package/dist/attributes/types/affiliation/index.d.ts +4 -0
  98. package/dist/{forms → attributes/types/affiliation}/index.js +4 -8
  99. package/dist/attributes/types/affiliation/index.js.map +1 -0
  100. package/dist/attributes/types/birth/BirthCity.d.ts +9 -2
  101. package/dist/attributes/types/birth/BirthCity.js +8 -2
  102. package/dist/attributes/types/birth/BirthCity.js.map +1 -1
  103. package/dist/attributes/types/birth/BirthCountry.d.ts +9 -2
  104. package/dist/attributes/types/birth/BirthCountry.js +8 -2
  105. package/dist/attributes/types/birth/BirthCountry.js.map +1 -1
  106. package/dist/attributes/types/birth/BirthDate.d.ts +40 -39
  107. package/dist/attributes/types/birth/BirthDate.js +3 -0
  108. package/dist/attributes/types/birth/BirthDate.js.map +1 -1
  109. package/dist/attributes/types/birth/BirthDay.d.ts +9 -2
  110. package/dist/attributes/types/birth/BirthDay.js +8 -2
  111. package/dist/attributes/types/birth/BirthDay.js.map +1 -1
  112. package/dist/attributes/types/birth/BirthMonth.d.ts +9 -2
  113. package/dist/attributes/types/birth/BirthMonth.js +6 -0
  114. package/dist/attributes/types/birth/BirthMonth.js.map +1 -1
  115. package/dist/attributes/types/birth/BirthPlace.d.ts +40 -39
  116. package/dist/attributes/types/birth/BirthPlace.js +3 -0
  117. package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
  118. package/dist/attributes/types/birth/BirthState.d.ts +9 -2
  119. package/dist/attributes/types/birth/BirthState.js +8 -2
  120. package/dist/attributes/types/birth/BirthState.js.map +1 -1
  121. package/dist/attributes/types/birth/BirthYear.d.ts +9 -2
  122. package/dist/attributes/types/birth/BirthYear.js +8 -2
  123. package/dist/attributes/types/birth/BirthYear.js.map +1 -1
  124. package/dist/attributes/types/communication/CommunicationLanguage.d.ts +9 -1
  125. package/dist/attributes/types/communication/CommunicationLanguage.js +6 -0
  126. package/dist/attributes/types/communication/CommunicationLanguage.js.map +1 -1
  127. package/dist/attributes/types/communication/EMailAddress.d.ts +9 -1
  128. package/dist/attributes/types/communication/EMailAddress.js +6 -0
  129. package/dist/attributes/types/communication/EMailAddress.js.map +1 -1
  130. package/dist/attributes/types/communication/FaxNumber.d.ts +11 -0
  131. package/dist/attributes/types/communication/{Fax.js → FaxNumber.js} +14 -8
  132. package/dist/attributes/types/communication/FaxNumber.js.map +1 -0
  133. package/dist/attributes/types/communication/PhoneNumber.d.ts +11 -0
  134. package/dist/attributes/types/communication/{Phone.js → PhoneNumber.js} +14 -8
  135. package/dist/attributes/types/communication/PhoneNumber.js.map +1 -0
  136. package/dist/attributes/types/communication/Website.d.ts +9 -1
  137. package/dist/attributes/types/communication/Website.js +6 -0
  138. package/dist/attributes/types/communication/Website.js.map +1 -1
  139. package/dist/attributes/types/communication/index.d.ts +2 -2
  140. package/dist/attributes/types/communication/index.js +2 -2
  141. package/dist/attributes/types/communication/index.js.map +1 -1
  142. package/dist/attributes/types/dates/AbstractDateString.js.map +1 -1
  143. package/dist/attributes/types/dates/AbstractDay.d.ts +8 -2
  144. package/dist/attributes/types/dates/AbstractDay.js.map +1 -1
  145. package/dist/attributes/types/dates/AbstractMonth.d.ts +8 -2
  146. package/dist/attributes/types/dates/AbstractMonth.js.map +1 -1
  147. package/dist/attributes/types/dates/AbstractYear.d.ts +7 -1
  148. package/dist/attributes/types/dates/AbstractYear.js.map +1 -1
  149. package/dist/attributes/types/identity/DisplayName.d.ts +10 -0
  150. package/dist/attributes/types/{name → identity}/DisplayName.js +6 -0
  151. package/dist/attributes/types/identity/DisplayName.js.map +1 -0
  152. package/dist/attributes/types/identity/FileReference.d.ts +11 -0
  153. package/dist/attributes/types/{files → identity}/FileReference.js +6 -0
  154. package/dist/attributes/types/identity/FileReference.js.map +1 -0
  155. package/dist/attributes/types/{files → identity}/index.d.ts +1 -0
  156. package/dist/attributes/types/{files → identity}/index.js +1 -0
  157. package/dist/attributes/types/identity/index.js.map +1 -0
  158. package/dist/attributes/types/index.d.ts +3 -3
  159. package/dist/attributes/types/index.js +3 -3
  160. package/dist/attributes/types/index.js.map +1 -1
  161. package/dist/attributes/types/measurements/AbstractLengthMeasurement.js.map +1 -1
  162. package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
  163. package/dist/attributes/types/name/BirthName.d.ts +9 -2
  164. package/dist/attributes/types/name/BirthName.js +6 -0
  165. package/dist/attributes/types/name/BirthName.js.map +1 -1
  166. package/dist/attributes/types/name/GivenName.d.ts +9 -2
  167. package/dist/attributes/types/name/GivenName.js +6 -0
  168. package/dist/attributes/types/name/GivenName.js.map +1 -1
  169. package/dist/attributes/types/name/HonorificPrefix.d.ts +9 -2
  170. package/dist/attributes/types/name/HonorificPrefix.js +6 -0
  171. package/dist/attributes/types/name/HonorificPrefix.js.map +1 -1
  172. package/dist/attributes/types/name/HonorificSuffix.d.ts +9 -2
  173. package/dist/attributes/types/name/HonorificSuffix.js +6 -0
  174. package/dist/attributes/types/name/HonorificSuffix.js.map +1 -1
  175. package/dist/attributes/types/name/MiddleName.d.ts +10 -0
  176. package/dist/attributes/types/name/MiddleName.js +24 -0
  177. package/dist/attributes/types/name/MiddleName.js.map +1 -0
  178. package/dist/attributes/types/name/{Salutation.d.ts → PersonName.d.ts} +68 -73
  179. package/dist/attributes/types/name/{Salutation.js → PersonName.js} +35 -23
  180. package/dist/attributes/types/name/PersonName.js.map +1 -0
  181. package/dist/attributes/types/name/Pseudonym.d.ts +9 -2
  182. package/dist/attributes/types/name/Pseudonym.js +6 -0
  183. package/dist/attributes/types/name/Pseudonym.js.map +1 -1
  184. package/dist/attributes/types/name/Surname.d.ts +9 -2
  185. package/dist/attributes/types/name/Surname.js +6 -0
  186. package/dist/attributes/types/name/Surname.js.map +1 -1
  187. package/dist/attributes/types/name/index.d.ts +2 -4
  188. package/dist/attributes/types/name/index.js +2 -4
  189. package/dist/attributes/types/name/index.js.map +1 -1
  190. package/dist/attributes/types/person/Citizenship.d.ts +10 -2
  191. package/dist/attributes/types/person/Citizenship.js +8 -2
  192. package/dist/attributes/types/person/Citizenship.js.map +1 -1
  193. package/dist/attributes/types/person/JobTitle.d.ts +10 -0
  194. package/dist/attributes/types/person/JobTitle.js +24 -0
  195. package/dist/attributes/types/person/JobTitle.js.map +1 -0
  196. package/dist/attributes/types/person/Nationality.d.ts +10 -2
  197. package/dist/attributes/types/person/Nationality.js +8 -2
  198. package/dist/attributes/types/person/Nationality.js.map +1 -1
  199. package/dist/attributes/types/person/Sex.d.ts +10 -3
  200. package/dist/attributes/types/person/Sex.js +8 -2
  201. package/dist/attributes/types/person/Sex.js.map +1 -1
  202. package/dist/attributes/types/person/index.d.ts +1 -2
  203. package/dist/attributes/types/person/index.js +1 -2
  204. package/dist/attributes/types/person/index.js.map +1 -1
  205. package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +5 -2
  206. package/dist/attributes/types/proprietary/ProprietaryBoolean.js +6 -0
  207. package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
  208. package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +5 -2
  209. package/dist/attributes/types/proprietary/ProprietaryCountry.js +6 -0
  210. package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -1
  211. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +5 -2
  212. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +6 -0
  213. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -1
  214. package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +5 -2
  215. package/dist/attributes/types/proprietary/ProprietaryFileReference.js +6 -0
  216. package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -1
  217. package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +5 -2
  218. package/dist/attributes/types/proprietary/ProprietaryFloat.js +6 -0
  219. package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
  220. package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +5 -2
  221. package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +6 -0
  222. package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -1
  223. package/dist/attributes/types/proprietary/ProprietaryInteger.d.ts +5 -4
  224. package/dist/attributes/types/proprietary/ProprietaryInteger.js +3 -0
  225. package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
  226. package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +5 -2
  227. package/dist/attributes/types/proprietary/ProprietaryLanguage.js +6 -0
  228. package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
  229. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +5 -2
  230. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +6 -0
  231. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
  232. package/dist/attributes/types/proprietary/ProprietaryString.d.ts +5 -2
  233. package/dist/attributes/types/proprietary/ProprietaryString.js +6 -0
  234. package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
  235. package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +5 -2
  236. package/dist/attributes/types/proprietary/ProprietaryURL.js +6 -0
  237. package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
  238. package/dist/attributes/types/proprietary/index.d.ts +0 -1
  239. package/dist/attributes/types/proprietary/index.js +0 -1
  240. package/dist/attributes/types/proprietary/index.js.map +1 -1
  241. package/dist/attributes/types/relationship/Consent.d.ts +18 -0
  242. package/dist/attributes/types/relationship/Consent.js +73 -0
  243. package/dist/attributes/types/relationship/Consent.js.map +1 -0
  244. package/dist/attributes/types/relationship/index.d.ts +1 -0
  245. package/dist/attributes/types/relationship/index.js +18 -0
  246. package/dist/attributes/types/relationship/index.js.map +1 -0
  247. package/dist/attributes/types/strings/AbstractCountry.js.map +1 -1
  248. package/dist/attributes/types/strings/AbstractEMailAddress.js +2 -2
  249. package/dist/attributes/types/strings/AbstractEMailAddress.js.map +1 -1
  250. package/dist/attributes/types/strings/AbstractFileReference.js.map +1 -1
  251. package/dist/attributes/types/strings/AbstractHEXColor.js.map +1 -1
  252. package/dist/attributes/types/strings/AbstractLanguage.js.map +1 -1
  253. package/dist/attributes/types/strings/AbstractPhoneNumber.js.map +1 -1
  254. package/dist/attributes/types/strings/AbstractURL.js.map +1 -1
  255. package/dist/attributes/types/strings/index.d.ts +0 -1
  256. package/dist/attributes/types/strings/index.js +0 -1
  257. package/dist/attributes/types/strings/index.js.map +1 -1
  258. package/dist/buildInformation.js +5 -5
  259. package/dist/index.d.ts +0 -2
  260. package/dist/index.js +0 -2
  261. package/dist/index.js.map +1 -1
  262. package/dist/messages/Mail.d.ts +3 -2
  263. package/dist/messages/Mail.js +2 -8
  264. package/dist/messages/Mail.js.map +1 -1
  265. package/dist/relationships/RelationshipCreationChangeRequestContent.d.ts +15 -0
  266. package/dist/relationships/{RelationshipCreationChangeRequestBody.js → RelationshipCreationChangeRequestContent.js} +11 -13
  267. package/dist/relationships/RelationshipCreationChangeRequestContent.js.map +1 -0
  268. package/dist/relationships/RelationshipTemplateContent.d.ts +24 -0
  269. package/dist/relationships/{RelationshipTemplateBody.js → RelationshipTemplateContent.js} +14 -11
  270. package/dist/relationships/RelationshipTemplateContent.js.map +1 -0
  271. package/dist/relationships/index.d.ts +2 -2
  272. package/dist/relationships/index.js +2 -2
  273. package/dist/relationships/index.js.map +1 -1
  274. package/dist/requests/Request.d.ts +3 -2
  275. package/dist/requests/Request.js +2 -2
  276. package/dist/requests/Request.js.map +1 -1
  277. package/dist/requests/RequestItem.d.ts +17 -6
  278. package/dist/requests/RequestItem.js +7 -2
  279. package/dist/requests/RequestItem.js.map +1 -1
  280. package/dist/requests/RequestItemGroup.d.ts +5 -4
  281. package/dist/requests/RequestItemGroup.js +2 -2
  282. package/dist/requests/RequestItemGroup.js.map +1 -1
  283. package/dist/requests/index.d.ts +0 -3
  284. package/dist/requests/index.js +0 -3
  285. package/dist/requests/index.js.map +1 -1
  286. package/dist/requests/items/authentication/AuthenticationRequestItem.d.ts +10 -0
  287. package/dist/requests/items/authentication/AuthenticationRequestItem.js +24 -0
  288. package/dist/requests/items/authentication/AuthenticationRequestItem.js.map +1 -0
  289. package/dist/requests/items/consent/ConsentRequestItem.d.ts +3 -4
  290. package/dist/requests/items/consent/ConsentRequestItem.js +8 -7
  291. package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
  292. package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.d.ts +14 -0
  293. package/dist/requests/items/{createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.js → createRelationshipAttribute/CreateAttributeAcceptResponseItem.js} +11 -8
  294. package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js.map +1 -0
  295. package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.d.ts +15 -0
  296. package/dist/requests/items/{createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.js → createRelationshipAttribute/CreateAttributeRequestItem.js} +13 -9
  297. package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js.map +1 -0
  298. package/dist/requests/items/index.d.ts +5 -2
  299. package/dist/requests/items/index.js +5 -2
  300. package/dist/requests/items/index.js.map +1 -1
  301. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.d.ts +2 -0
  302. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js +3 -0
  303. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js.map +1 -1
  304. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.d.ts +3 -1
  305. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js +9 -4
  306. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -1
  307. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts +2 -0
  308. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js +3 -0
  309. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -1
  310. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +6 -5
  311. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js +5 -3
  312. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
  313. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.d.ts +13 -0
  314. package/dist/{forms/items/FormItemSelect.js → requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js} +16 -16
  315. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -0
  316. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.d.ts +14 -0
  317. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js +35 -0
  318. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -0
  319. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts +2 -0
  320. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js +3 -0
  321. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -1
  322. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +3 -1
  323. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +3 -0
  324. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
  325. package/dist/requests/response/AcceptResponseItem.d.ts +6 -6
  326. package/dist/requests/response/AcceptResponseItem.js +2 -2
  327. package/dist/requests/response/AcceptResponseItem.js.map +1 -1
  328. package/dist/requests/response/ErrorResponseItem.d.ts +3 -2
  329. package/dist/requests/response/ErrorResponseItem.js +2 -2
  330. package/dist/requests/response/ErrorResponseItem.js.map +1 -1
  331. package/dist/requests/response/RejectResponseItem.d.ts +3 -2
  332. package/dist/requests/response/RejectResponseItem.js +2 -2
  333. package/dist/requests/response/RejectResponseItem.js.map +1 -1
  334. package/dist/requests/response/Response.d.ts +3 -2
  335. package/dist/requests/response/Response.js +2 -2
  336. package/dist/requests/response/Response.js.map +1 -1
  337. package/dist/requests/response/ResponseItem.d.ts +1 -1
  338. package/dist/requests/response/ResponseItem.js +2 -2
  339. package/dist/requests/response/ResponseItem.js.map +1 -1
  340. package/dist/requests/response/ResponseItemGroup.d.ts +3 -2
  341. package/dist/requests/response/ResponseItemGroup.js +2 -2
  342. package/dist/requests/response/ResponseItemGroup.js.map +1 -1
  343. package/lib-web/nmshd.content.js +4739 -5812
  344. package/lib-web/nmshd.content.min.js +1 -1
  345. package/package.json +18 -17
  346. package/dist/attributes/Attribute.d.ts +0 -24
  347. package/dist/attributes/Attribute.js +0 -66
  348. package/dist/attributes/Attribute.js.map +0 -1
  349. package/dist/attributes/hints/RelationshipAttributeCreationHints.d.ts +0 -31
  350. package/dist/attributes/hints/RelationshipAttributeCreationHints.js +0 -64
  351. package/dist/attributes/hints/RelationshipAttributeCreationHints.js.map +0 -1
  352. package/dist/attributes/types/AttributeList.d.ts +0 -1
  353. package/dist/attributes/types/AttributeList.js +0 -37
  354. package/dist/attributes/types/AttributeList.js.map +0 -1
  355. package/dist/attributes/types/AttributeTypeMapping.d.ts +0 -1
  356. package/dist/attributes/types/AttributeTypeMapping.js +0 -9
  357. package/dist/attributes/types/AttributeTypeMapping.js.map +0 -1
  358. package/dist/attributes/types/communication/Fax.d.ts +0 -3
  359. package/dist/attributes/types/communication/Fax.js.map +0 -1
  360. package/dist/attributes/types/communication/Phone.d.ts +0 -3
  361. package/dist/attributes/types/communication/Phone.js.map +0 -1
  362. package/dist/attributes/types/files/FileReference.d.ts +0 -3
  363. package/dist/attributes/types/files/FileReference.js.map +0 -1
  364. package/dist/attributes/types/files/index.js.map +0 -1
  365. package/dist/attributes/types/name/AbstractLegalName.d.ts +0 -3
  366. package/dist/attributes/types/name/AbstractLegalName.js +0 -8
  367. package/dist/attributes/types/name/AbstractLegalName.js.map +0 -1
  368. package/dist/attributes/types/name/DisplayName.d.ts +0 -3
  369. package/dist/attributes/types/name/DisplayName.js.map +0 -1
  370. package/dist/attributes/types/name/LegalNameDE.js +0 -92
  371. package/dist/attributes/types/name/LegalNameDE.js.map +0 -1
  372. package/dist/attributes/types/name/Salutation.js.map +0 -1
  373. package/dist/attributes/types/person/Age.d.ts +0 -6
  374. package/dist/attributes/types/person/Age.js +0 -34
  375. package/dist/attributes/types/person/Age.js.map +0 -1
  376. package/dist/attributes/types/person/Picture.d.ts +0 -3
  377. package/dist/attributes/types/person/Picture.js +0 -18
  378. package/dist/attributes/types/person/Picture.js.map +0 -1
  379. package/dist/attributes/types/proprietary/ProprietaryDataURL.d.ts +0 -14
  380. package/dist/attributes/types/proprietary/ProprietaryDataURL.js +0 -31
  381. package/dist/attributes/types/proprietary/ProprietaryDataURL.js.map +0 -1
  382. package/dist/attributes/types/strings/AbstractDataURL.d.ts +0 -7
  383. package/dist/attributes/types/strings/AbstractDataURL.js +0 -40
  384. package/dist/attributes/types/strings/AbstractDataURL.js.map +0 -1
  385. package/dist/forms/Form.d.ts +0 -18
  386. package/dist/forms/Form.js +0 -36
  387. package/dist/forms/Form.js.map +0 -1
  388. package/dist/forms/FormItem.d.ts +0 -35
  389. package/dist/forms/FormItem.js.map +0 -1
  390. package/dist/forms/index.d.ts +0 -8
  391. package/dist/forms/index.js.map +0 -1
  392. package/dist/forms/items/FormItemBoolean.d.ts +0 -7
  393. package/dist/forms/items/FormItemBoolean.js +0 -26
  394. package/dist/forms/items/FormItemBoolean.js.map +0 -1
  395. package/dist/forms/items/FormItemDate.d.ts +0 -15
  396. package/dist/forms/items/FormItemDate.js +0 -46
  397. package/dist/forms/items/FormItemDate.js.map +0 -1
  398. package/dist/forms/items/FormItemInvisible.d.ts +0 -7
  399. package/dist/forms/items/FormItemInvisible.js +0 -26
  400. package/dist/forms/items/FormItemInvisible.js.map +0 -1
  401. package/dist/forms/items/FormItemMultipleChoice.d.ts +0 -10
  402. package/dist/forms/items/FormItemMultipleChoice.js +0 -32
  403. package/dist/forms/items/FormItemMultipleChoice.js.map +0 -1
  404. package/dist/forms/items/FormItemMultipleChoiceItem.d.ts +0 -10
  405. package/dist/forms/items/FormItemMultipleChoiceItem.js +0 -30
  406. package/dist/forms/items/FormItemMultipleChoiceItem.js.map +0 -1
  407. package/dist/forms/items/FormItemSelect.d.ts +0 -10
  408. package/dist/forms/items/FormItemSelect.js.map +0 -1
  409. package/dist/forms/items/FormItemSelectItem.d.ts +0 -10
  410. package/dist/forms/items/FormItemSelectItem.js +0 -30
  411. package/dist/forms/items/FormItemSelectItem.js.map +0 -1
  412. package/dist/forms/items/FormItemString.d.ts +0 -15
  413. package/dist/forms/items/FormItemString.js +0 -46
  414. package/dist/forms/items/FormItemString.js.map +0 -1
  415. package/dist/forms/items/FormItemText.d.ts +0 -15
  416. package/dist/forms/items/FormItemText.js +0 -46
  417. package/dist/forms/items/FormItemText.js.map +0 -1
  418. package/dist/messages/RequestMail.d.ts +0 -14
  419. package/dist/messages/RequestMail.js +0 -51
  420. package/dist/messages/RequestMail.js.map +0 -1
  421. package/dist/relationships/RelationshipCreationChangeRequestBody.d.ts +0 -16
  422. package/dist/relationships/RelationshipCreationChangeRequestBody.js.map +0 -1
  423. package/dist/relationships/RelationshipTemplateBody.d.ts +0 -22
  424. package/dist/relationships/RelationshipTemplateBody.js.map +0 -1
  425. package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.d.ts +0 -12
  426. package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.js.map +0 -1
  427. package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.d.ts +0 -13
  428. package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.js.map +0 -1
  429. package/dist/requests/old/AttributesChangeRequest.d.ts +0 -54
  430. package/dist/requests/old/AttributesChangeRequest.js +0 -71
  431. package/dist/requests/old/AttributesChangeRequest.js.map +0 -1
  432. package/dist/requests/old/AttributesRequest.d.ts +0 -49
  433. package/dist/requests/old/AttributesRequest.js +0 -64
  434. package/dist/requests/old/AttributesRequest.js.map +0 -1
  435. package/dist/requests/old/AttributesShareRequest.d.ts +0 -52
  436. package/dist/requests/old/AttributesShareRequest.js +0 -59
  437. package/dist/requests/old/AttributesShareRequest.js.map +0 -1
@@ -1,40 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AbstractDataURL = void 0;
13
- const ts_serval_1 = require("@js-soft/ts-serval");
14
- const hints_1 = require("../../../attributes/hints");
15
- const AbstractString_1 = require("../AbstractString");
16
- class AbstractDataURL extends AbstractString_1.AbstractString {
17
- static get valueHints() {
18
- return super.valueHints.copyWith({
19
- min: 7,
20
- max: 4096
21
- });
22
- }
23
- static get renderHints() {
24
- return super.renderHints.copyWith({
25
- editType: hints_1.RenderHintsEditType.Upload,
26
- dataType: hints_1.RenderHintsDataType.DataURL
27
- });
28
- }
29
- }
30
- __decorate([
31
- (0, ts_serval_1.serialize)(),
32
- (0, ts_serval_1.validate)({
33
- min: 7,
34
- max: 4096,
35
- customValidator: (v) => (v.length > 4096 ? "must be less than 4096 characters" : undefined)
36
- }),
37
- __metadata("design:type", String)
38
- ], AbstractDataURL.prototype, "value", void 0);
39
- exports.AbstractDataURL = AbstractDataURL;
40
- //# sourceMappingURL=AbstractDataURL.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AbstractDataURL.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractDataURL.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,eAAgB,SAAQ,+BAAc;IASjD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,IAAI;SACZ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,MAAM;YACpC,QAAQ,EAAE,2BAAmB,CAAC,OAAO;SACxC,CAAC,CAAA;IACN,CAAC;CACJ;AAfG;IANC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,IAAI;QACT,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC,mCAAmC,CAAC,CAAC,CAAC,SAAS,CAAC;KAC9F,CAAC;;8CAC2B;AAPjC,0CAsBC"}
@@ -1,18 +0,0 @@
1
- import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
- import { ContentJSON } from "../ContentJSON";
3
- import { FormItem, FormItemJSON, IFormItem } from "./FormItem";
4
- export interface FormJSON extends ContentJSON {
5
- title?: string;
6
- description?: string;
7
- items: FormItemJSON[];
8
- }
9
- export interface IForm extends ISerializable {
10
- title?: string;
11
- description?: string;
12
- items: IFormItem[];
13
- }
14
- export declare class Form extends Serializable {
15
- title?: string;
16
- description?: string;
17
- items: FormItem[];
18
- }
@@ -1,36 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.Form = void 0;
13
- const ts_serval_1 = require("@js-soft/ts-serval");
14
- const FormItem_1 = require("./FormItem");
15
- let Form = class Form extends ts_serval_1.Serializable {
16
- };
17
- __decorate([
18
- (0, ts_serval_1.serialize)(),
19
- (0, ts_serval_1.validate)({ nullable: true }),
20
- __metadata("design:type", String)
21
- ], Form.prototype, "title", void 0);
22
- __decorate([
23
- (0, ts_serval_1.serialize)(),
24
- (0, ts_serval_1.validate)({ nullable: true }),
25
- __metadata("design:type", String)
26
- ], Form.prototype, "description", void 0);
27
- __decorate([
28
- (0, ts_serval_1.serialize)({ type: FormItem_1.FormItem }),
29
- (0, ts_serval_1.validate)(),
30
- __metadata("design:type", Array)
31
- ], Form.prototype, "items", void 0);
32
- Form = __decorate([
33
- (0, ts_serval_1.type)("Form")
34
- ], Form);
35
- exports.Form = Form;
36
- //# sourceMappingURL=Form.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Form.js","sourceRoot":"","sources":["../../src/forms/Form.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAE3F,yCAA8D;AAe9D,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,wBAAY;CAYrC,CAAA;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mCACR;AAIrB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACF;AAI3B;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,mBAAQ,EAAE,CAAC;IAC7B,IAAA,oBAAQ,GAAE;;mCACa;AAXf,IAAI;IADhB,IAAA,gBAAI,EAAC,MAAM,CAAC;GACA,IAAI,CAYhB;AAZY,oBAAI"}
@@ -1,35 +0,0 @@
1
- import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
- import { ContentJSON } from "../ContentJSON";
3
- export declare enum FormType {
4
- Invisible = "invisible",
5
- String = "string",
6
- Select = "select",
7
- Date = "date",
8
- Text = "text"
9
- }
10
- export interface FormItemJSON extends ContentJSON {
11
- key: string;
12
- type: string;
13
- }
14
- export interface FormItemVisibleJSON extends FormItemJSON {
15
- label: string;
16
- readonly?: boolean;
17
- help?: string;
18
- }
19
- export interface IFormItem extends ISerializable {
20
- key: string;
21
- type: FormType;
22
- }
23
- export declare abstract class FormItem extends Serializable implements IFormItem {
24
- key: string;
25
- type: FormType;
26
- }
27
- export interface IFormItemVisible extends IFormItem {
28
- readonly?: boolean;
29
- help?: string;
30
- }
31
- export declare abstract class FormItemVisible extends FormItem implements IFormItemVisible {
32
- label: string;
33
- readonly?: boolean;
34
- help?: string;
35
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormItem.js","sourceRoot":"","sources":["../../src/forms/FormItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AAGrF,IAAY,QAMX;AAND,WAAY,QAAQ;IAChB,mCAAuB,CAAA;IACvB,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,yBAAa,CAAA;AACjB,CAAC,EANW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAMnB;AAkBD,MAAsB,QAAS,SAAQ,wBAAY;CAQlD;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qCACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;sCACU;AAPzB,4BAQC;AAOD,MAAsB,eAAgB,SAAQ,QAAQ;CAYrD;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;8CACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACJ;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACT;AAXxB,0CAYC"}
@@ -1,8 +0,0 @@
1
- export * from "./Form";
2
- export * from "./FormItem";
3
- export * from "./items/FormItemDate";
4
- export * from "./items/FormItemInvisible";
5
- export * from "./items/FormItemSelect";
6
- export * from "./items/FormItemSelectItem";
7
- export * from "./items/FormItemString";
8
- export * from "./items/FormItemText";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/forms/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,6CAA0B;AAC1B,uDAAoC;AACpC,4DAAyC;AACzC,yDAAsC;AACtC,6DAA0C;AAC1C,yDAAsC;AACtC,uDAAoC"}
@@ -1,7 +0,0 @@
1
- import { FormItemVisible, FormItemVisibleJSON } from "../FormItem";
2
- export interface FormItemBooleanJSON extends FormItemVisibleJSON {
3
- value: boolean;
4
- }
5
- export declare class FormItemBoolean extends FormItemVisible {
6
- value: boolean;
7
- }
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.FormItemBoolean = void 0;
13
- const ts_serval_1 = require("@js-soft/ts-serval");
14
- const FormItem_1 = require("../FormItem");
15
- let FormItemBoolean = class FormItemBoolean extends FormItem_1.FormItemVisible {
16
- };
17
- __decorate([
18
- (0, ts_serval_1.serialize)(),
19
- (0, ts_serval_1.validate)({ nullable: true }),
20
- __metadata("design:type", Boolean)
21
- ], FormItemBoolean.prototype, "value", void 0);
22
- FormItemBoolean = __decorate([
23
- (0, ts_serval_1.type)("FormItemBoolean")
24
- ], FormItemBoolean);
25
- exports.FormItemBoolean = FormItemBoolean;
26
- //# sourceMappingURL=FormItemBoolean.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormItemBoolean.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemBoolean.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAkE;AAOlE,IAAa,eAAe,GAA5B,MAAa,eAAgB,SAAQ,0BAAe;CAInD,CAAA;AADG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACR;AAHZ,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAI3B;AAJY,0CAAe"}
@@ -1,15 +0,0 @@
1
- import { FormItemVisible, FormItemVisibleJSON } from "../FormItem";
2
- export interface FormItemDateJSON extends FormItemVisibleJSON {
3
- placeholder: string;
4
- value: string;
5
- minDate: string;
6
- maxDate: string;
7
- duration: string;
8
- }
9
- export declare class FormItemDate extends FormItemVisible {
10
- placeholder: string;
11
- value: string;
12
- minDate: string;
13
- maxDate: string;
14
- duration: string;
15
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.FormItemDate = void 0;
13
- const ts_serval_1 = require("@js-soft/ts-serval");
14
- const FormItem_1 = require("../FormItem");
15
- let FormItemDate = class FormItemDate extends FormItem_1.FormItemVisible {
16
- };
17
- __decorate([
18
- (0, ts_serval_1.serialize)(),
19
- (0, ts_serval_1.validate)({ nullable: true }),
20
- __metadata("design:type", String)
21
- ], FormItemDate.prototype, "placeholder", void 0);
22
- __decorate([
23
- (0, ts_serval_1.serialize)(),
24
- (0, ts_serval_1.validate)({ nullable: true }),
25
- __metadata("design:type", String)
26
- ], FormItemDate.prototype, "value", void 0);
27
- __decorate([
28
- (0, ts_serval_1.serialize)(),
29
- (0, ts_serval_1.validate)({ nullable: true }),
30
- __metadata("design:type", String)
31
- ], FormItemDate.prototype, "minDate", void 0);
32
- __decorate([
33
- (0, ts_serval_1.serialize)(),
34
- (0, ts_serval_1.validate)({ nullable: true }),
35
- __metadata("design:type", String)
36
- ], FormItemDate.prototype, "maxDate", void 0);
37
- __decorate([
38
- (0, ts_serval_1.serialize)(),
39
- (0, ts_serval_1.validate)({ nullable: true }),
40
- __metadata("design:type", String)
41
- ], FormItemDate.prototype, "duration", void 0);
42
- FormItemDate = __decorate([
43
- (0, ts_serval_1.type)("FormItemDate")
44
- ], FormItemDate);
45
- exports.FormItemDate = FormItemDate;
46
- //# sourceMappingURL=FormItemDate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormItemDate.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemDate.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAkE;AAWlE,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,0BAAe;CAoBhD,CAAA;AAjBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACH;AAI1B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACT;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACP;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACP;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACN;AAnBd,YAAY;IADxB,IAAA,gBAAI,EAAC,cAAc,CAAC;GACR,YAAY,CAoBxB;AApBY,oCAAY"}
@@ -1,7 +0,0 @@
1
- import { FormItem, FormItemJSON } from "../FormItem";
2
- export interface FormItemInvisibleJSON extends FormItemJSON {
3
- value: string;
4
- }
5
- export declare class FormItemInvisible extends FormItem {
6
- value: string;
7
- }
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.FormItemInvisible = void 0;
13
- const ts_serval_1 = require("@js-soft/ts-serval");
14
- const FormItem_1 = require("../FormItem");
15
- let FormItemInvisible = class FormItemInvisible extends FormItem_1.FormItem {
16
- };
17
- __decorate([
18
- (0, ts_serval_1.serialize)(),
19
- (0, ts_serval_1.validate)(),
20
- __metadata("design:type", String)
21
- ], FormItemInvisible.prototype, "value", void 0);
22
- FormItemInvisible = __decorate([
23
- (0, ts_serval_1.type)("FormItemInvisible")
24
- ], FormItemInvisible);
25
- exports.FormItemInvisible = FormItemInvisible;
26
- //# sourceMappingURL=FormItemInvisible.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormItemInvisible.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemInvisible.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAoD;AAOpD,IAAa,iBAAiB,GAA9B,MAAa,iBAAkB,SAAQ,mBAAQ;CAI9C,CAAA;AADG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;gDACS;AAHX,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CAI7B;AAJY,8CAAiB"}
@@ -1,10 +0,0 @@
1
- import { FormItemVisible, FormItemVisibleJSON } from "../FormItem";
2
- import { FormItemMultipleChoiceItem, FormItemMultipleChoiceItemJSON } from "./FormItemMultipleChoiceItem";
3
- export interface FormItemMultipleChoiceJSON extends FormItemVisibleJSON {
4
- items: FormItemMultipleChoiceItemJSON[];
5
- selectedKey: string;
6
- }
7
- export declare class FormItemMultipleChoice extends FormItemVisible {
8
- items: FormItemMultipleChoiceItem[];
9
- selectedKey: string;
10
- }
@@ -1,32 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.FormItemMultipleChoice = void 0;
13
- const ts_serval_1 = require("@js-soft/ts-serval");
14
- const FormItem_1 = require("../FormItem");
15
- const FormItemMultipleChoiceItem_1 = require("./FormItemMultipleChoiceItem");
16
- let FormItemMultipleChoice = class FormItemMultipleChoice extends FormItem_1.FormItemVisible {
17
- };
18
- __decorate([
19
- (0, ts_serval_1.serialize)({ type: FormItemMultipleChoiceItem_1.FormItemMultipleChoiceItem }),
20
- (0, ts_serval_1.validate)(),
21
- __metadata("design:type", Array)
22
- ], FormItemMultipleChoice.prototype, "items", void 0);
23
- __decorate([
24
- (0, ts_serval_1.serialize)(),
25
- (0, ts_serval_1.validate)({ nullable: true }),
26
- __metadata("design:type", String)
27
- ], FormItemMultipleChoice.prototype, "selectedKey", void 0);
28
- FormItemMultipleChoice = __decorate([
29
- (0, ts_serval_1.type)("FormItemMultipleChoice")
30
- ], FormItemMultipleChoice);
31
- exports.FormItemMultipleChoice = FormItemMultipleChoice;
32
- //# sourceMappingURL=FormItemMultipleChoice.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormItemMultipleChoice.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemMultipleChoice.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAkE;AAClE,6EAAyG;AAQzG,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,0BAAe;CAQ1D,CAAA;AALG;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uDAA0B,EAAE,CAAC;IAC/C,IAAA,oBAAQ,GAAE;;qDAC+B;AAI1C;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACH;AAPjB,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CAQlC;AARY,wDAAsB"}
@@ -1,10 +0,0 @@
1
- import { Serializable } from "@js-soft/ts-serval";
2
- import { ContentJSON } from "../../ContentJSON";
3
- export interface FormItemMultipleChoiceItemJSON extends ContentJSON {
4
- key: string;
5
- label: string;
6
- }
7
- export declare class FormItemMultipleChoiceItem extends Serializable {
8
- key: string;
9
- label: string;
10
- }
@@ -1,30 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.FormItemMultipleChoiceItem = void 0;
13
- const ts_serval_1 = require("@js-soft/ts-serval");
14
- let FormItemMultipleChoiceItem = class FormItemMultipleChoiceItem extends ts_serval_1.Serializable {
15
- };
16
- __decorate([
17
- (0, ts_serval_1.serialize)(),
18
- (0, ts_serval_1.validate)(),
19
- __metadata("design:type", String)
20
- ], FormItemMultipleChoiceItem.prototype, "key", void 0);
21
- __decorate([
22
- (0, ts_serval_1.serialize)(),
23
- (0, ts_serval_1.validate)(),
24
- __metadata("design:type", String)
25
- ], FormItemMultipleChoiceItem.prototype, "label", void 0);
26
- FormItemMultipleChoiceItem = __decorate([
27
- (0, ts_serval_1.type)("FormItemMultipleChoiceItem")
28
- ], FormItemMultipleChoiceItem);
29
- exports.FormItemMultipleChoiceItem = FormItemMultipleChoiceItem;
30
- //# sourceMappingURL=FormItemMultipleChoiceItem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormItemMultipleChoiceItem.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemMultipleChoiceItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4E;AAS5E,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,wBAAY;CAO3D,CAAA;AAJG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;uDACO;AAGlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;yDACS;AANX,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CAOtC;AAPY,gEAA0B"}
@@ -1,10 +0,0 @@
1
- import { FormItemVisible, FormItemVisibleJSON } from "../FormItem";
2
- import { FormItemSelectItem, FormItemSelectItemJSON } from "./FormItemSelectItem";
3
- export interface FormItemSelectJSON extends FormItemVisibleJSON {
4
- items: FormItemSelectItemJSON[];
5
- selectedKey: string;
6
- }
7
- export declare class FormItemSelect extends FormItemVisible {
8
- items: FormItemSelectItem[];
9
- selectedKey: string;
10
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormItemSelect.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemSelect.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAkE;AAClE,6DAAiF;AAQjF,IAAa,cAAc,GAA3B,MAAa,cAAe,SAAQ,0BAAe;CAQlD,CAAA;AALG;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uCAAkB,EAAE,CAAC;IACvC,IAAA,oBAAQ,GAAE;;6CACuB;AAIlC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACH;AAPjB,cAAc;IAD1B,IAAA,gBAAI,EAAC,gBAAgB,CAAC;GACV,cAAc,CAQ1B;AARY,wCAAc"}
@@ -1,10 +0,0 @@
1
- import { Serializable } from "@js-soft/ts-serval";
2
- import { ContentJSON } from "../../ContentJSON";
3
- export interface FormItemSelectItemJSON extends ContentJSON {
4
- key: string;
5
- label: string;
6
- }
7
- export declare class FormItemSelectItem extends Serializable {
8
- key: string;
9
- label: string;
10
- }
@@ -1,30 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.FormItemSelectItem = void 0;
13
- const ts_serval_1 = require("@js-soft/ts-serval");
14
- let FormItemSelectItem = class FormItemSelectItem extends ts_serval_1.Serializable {
15
- };
16
- __decorate([
17
- (0, ts_serval_1.serialize)(),
18
- (0, ts_serval_1.validate)(),
19
- __metadata("design:type", String)
20
- ], FormItemSelectItem.prototype, "key", void 0);
21
- __decorate([
22
- (0, ts_serval_1.serialize)(),
23
- (0, ts_serval_1.validate)(),
24
- __metadata("design:type", String)
25
- ], FormItemSelectItem.prototype, "label", void 0);
26
- FormItemSelectItem = __decorate([
27
- (0, ts_serval_1.type)("FormItemSelectItem")
28
- ], FormItemSelectItem);
29
- exports.FormItemSelectItem = FormItemSelectItem;
30
- //# sourceMappingURL=FormItemSelectItem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormItemSelectItem.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemSelectItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4E;AAS5E,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,wBAAY;CAOnD,CAAA;AAJG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;+CACO;AAGlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iDACS;AANX,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAO9B;AAPY,gDAAkB"}
@@ -1,15 +0,0 @@
1
- import { FormItemVisible, FormItemVisibleJSON } from "../FormItem";
2
- export interface FormItemStringJSON extends FormItemVisibleJSON {
3
- placeholder: string;
4
- value: string;
5
- minLength: number;
6
- maxLength: number;
7
- allowedRegex: string;
8
- }
9
- export declare class FormItemString extends FormItemVisible {
10
- placeholder: string;
11
- value: string;
12
- minLength: number;
13
- maxLength: number;
14
- allowedRegex: string;
15
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.FormItemString = void 0;
13
- const ts_serval_1 = require("@js-soft/ts-serval");
14
- const FormItem_1 = require("../FormItem");
15
- let FormItemString = class FormItemString extends FormItem_1.FormItemVisible {
16
- };
17
- __decorate([
18
- (0, ts_serval_1.serialize)(),
19
- (0, ts_serval_1.validate)({ nullable: true }),
20
- __metadata("design:type", String)
21
- ], FormItemString.prototype, "placeholder", void 0);
22
- __decorate([
23
- (0, ts_serval_1.serialize)(),
24
- (0, ts_serval_1.validate)({ nullable: true }),
25
- __metadata("design:type", String)
26
- ], FormItemString.prototype, "value", void 0);
27
- __decorate([
28
- (0, ts_serval_1.serialize)(),
29
- (0, ts_serval_1.validate)({ nullable: true }),
30
- __metadata("design:type", Number)
31
- ], FormItemString.prototype, "minLength", void 0);
32
- __decorate([
33
- (0, ts_serval_1.serialize)(),
34
- (0, ts_serval_1.validate)({ nullable: true }),
35
- __metadata("design:type", Number)
36
- ], FormItemString.prototype, "maxLength", void 0);
37
- __decorate([
38
- (0, ts_serval_1.serialize)(),
39
- (0, ts_serval_1.validate)({ nullable: true }),
40
- __metadata("design:type", String)
41
- ], FormItemString.prototype, "allowedRegex", void 0);
42
- FormItemString = __decorate([
43
- (0, ts_serval_1.type)("FormItemString")
44
- ], FormItemString);
45
- exports.FormItemString = FormItemString;
46
- //# sourceMappingURL=FormItemString.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormItemString.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAkE;AAWlE,IAAa,cAAc,GAA3B,MAAa,cAAe,SAAQ,0BAAe;CAoBlD,CAAA;AAjBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACH;AAI1B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACT;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACL;AAIxB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACL;AAIxB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACF;AAnBlB,cAAc;IAD1B,IAAA,gBAAI,EAAC,gBAAgB,CAAC;GACV,cAAc,CAoB1B;AApBY,wCAAc"}
@@ -1,15 +0,0 @@
1
- import { FormItemVisible, FormItemVisibleJSON } from "../FormItem";
2
- export interface FormItemTextJSON extends FormItemVisibleJSON {
3
- placeholder: string;
4
- value: string;
5
- minLength: number;
6
- maxLength: number;
7
- allowedRegex: string;
8
- }
9
- export declare class FormItemText extends FormItemVisible {
10
- placeholder: string;
11
- value: string;
12
- minLength: number;
13
- maxLength: number;
14
- allowedRegex: string;
15
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.FormItemText = void 0;
13
- const ts_serval_1 = require("@js-soft/ts-serval");
14
- const FormItem_1 = require("../FormItem");
15
- let FormItemText = class FormItemText extends FormItem_1.FormItemVisible {
16
- };
17
- __decorate([
18
- (0, ts_serval_1.serialize)(),
19
- (0, ts_serval_1.validate)({ nullable: true }),
20
- __metadata("design:type", String)
21
- ], FormItemText.prototype, "placeholder", void 0);
22
- __decorate([
23
- (0, ts_serval_1.serialize)(),
24
- (0, ts_serval_1.validate)({ nullable: true }),
25
- __metadata("design:type", String)
26
- ], FormItemText.prototype, "value", void 0);
27
- __decorate([
28
- (0, ts_serval_1.serialize)(),
29
- (0, ts_serval_1.validate)({ nullable: true }),
30
- __metadata("design:type", Number)
31
- ], FormItemText.prototype, "minLength", void 0);
32
- __decorate([
33
- (0, ts_serval_1.serialize)(),
34
- (0, ts_serval_1.validate)({ nullable: true }),
35
- __metadata("design:type", Number)
36
- ], FormItemText.prototype, "maxLength", void 0);
37
- __decorate([
38
- (0, ts_serval_1.serialize)(),
39
- (0, ts_serval_1.validate)({ nullable: true }),
40
- __metadata("design:type", String)
41
- ], FormItemText.prototype, "allowedRegex", void 0);
42
- FormItemText = __decorate([
43
- (0, ts_serval_1.type)("FormItemText")
44
- ], FormItemText);
45
- exports.FormItemText = FormItemText;
46
- //# sourceMappingURL=FormItemText.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormItemText.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemText.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAkE;AAWlE,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,0BAAe;CAoBhD,CAAA;AAjBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACH;AAI1B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACT;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACL;AAIxB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACL;AAIxB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACF;AAnBlB,YAAY;IADxB,IAAA,gBAAI,EAAC,cAAc,CAAC;GACR,YAAY,CAoBxB;AApBY,oCAAY"}
@@ -1,14 +0,0 @@
1
- import { AttributesChangeRequest, AttributesChangeRequestJSON, IAttributesChangeRequest } from "../requests/old/AttributesChangeRequest";
2
- import { AttributesShareRequest, AttributesShareRequestJSON, IAttributesShareRequest } from "../requests/old/AttributesShareRequest";
3
- import { IMail, Mail, MailJSON } from "./Mail";
4
- export interface RequestMailJSON extends MailJSON {
5
- requests: (AttributesChangeRequestJSON | AttributesShareRequestJSON)[];
6
- }
7
- export interface IRequestMail extends IMail {
8
- requests: (IAttributesChangeRequest | IAttributesShareRequest)[];
9
- }
10
- export declare class RequestMail extends Mail {
11
- requests: (AttributesChangeRequest | AttributesShareRequest)[];
12
- static from(value: IRequestMail): RequestMail;
13
- static fromJSON(value: RequestMailJSON): RequestMail;
14
- }