@yamato-daiwa/frontend-vue 0.3.0-alpha.1 → 0.3.0-alpha.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.

Potentially problematic release.


This version of @yamato-daiwa/frontend-vue might be problematic. Click here for more details.

Files changed (279) hide show
  1. package/Distributable/Functions/Routing/extractVueRouteQueryParameterAsArray.d.ts +6 -0
  2. package/Distributable/Functions/getElementByVueReference.d.ts +23 -0
  3. package/Distributable/GUI_Components/AdmonitionBlock/AdmonitionBlock.vue.d.ts +52 -0
  4. package/Distributable/GUI_Components/AdmonitionBlock/AdmonitionBlockLogic.vue.d.ts +51 -0
  5. package/Distributable/GUI_Components/Badge/Badge.vue.d.ts +61 -0
  6. package/Distributable/GUI_Components/Badge/LoadingPlaceholder/Badge-LoadingPlaceholder.vue.d.ts +10 -0
  7. package/Distributable/GUI_Components/ComponentsAuxiliaries.d.ts +42 -0
  8. package/Distributable/GUI_Components/Controls/Buttons/Closing/ClosingButton.vue.d.ts +54 -0
  9. package/Distributable/GUI_Components/Controls/Buttons/HamburgerMenu/HamburgerMenuButton-ForInheritance.vue.d.ts +56 -0
  10. package/Distributable/GUI_Components/Controls/Buttons/HamburgerMenu/HamburgerMenuButton.vue.d.ts +55 -0
  11. package/Distributable/GUI_Components/Controls/Buttons/Plain/Button.vue.d.ts +88 -0
  12. package/Distributable/GUI_Components/Controls/Buttons/Plain/LoadingPlaceholder/Button-LoadingPlaceholder.vue.d.ts +10 -0
  13. package/Distributable/GUI_Components/Controls/InputtableControl.d.ts +17 -0
  14. package/Distributable/GUI_Components/Controls/ValidatableControl.d.ts +51 -0
  15. package/Distributable/GUI_Components/Controls/ValidatableControlShell/ValidatableControlShell.vue.d.ts +92 -0
  16. package/Distributable/GUI_Components/Controls/Validatables/InputtableControl.d.ts +25 -0
  17. package/Distributable/GUI_Components/Controls/Validatables/InputtableControl.vue.d.ts +25 -0
  18. package/Distributable/GUI_Components/Controls/Validatables/TextBox/TextBox.vue.d.ts +124 -0
  19. package/Distributable/GUI_Components/Controls/Validatables/ValidatableControl.d.ts +54 -0
  20. package/Distributable/GUI_Components/Controls/Validatables/ValidatableControlsGroup.d.ts +38 -0
  21. package/Distributable/GUI_Components/YDF_ComponentsCoordinator.d.ts +103 -0
  22. package/Distributable/GUI_Components/_Decorators/AccessibleFromTemplateAsNonReactive.d.ts +2 -0
  23. package/Distributable/GUI_Components/_Decorators/NonReactiveData.d.ts +1 -0
  24. package/Distributable/GUI_Components/_Decorators/NonReactiveVueData.d.ts +1 -0
  25. package/Distributable/GUI_Components/_Decorators/OptionalButNotNullableVueProperty.d.ts +2 -0
  26. package/Distributable/GUI_Components/_Decorators/preventNullForOptionalVueProperty.d.ts +2 -0
  27. package/Distributable/GUI_Components/_Errors/ForbiddenNullValueOfOptionalVueProperty/ForbiddenNullValueOfOptionalVuePropertyError.d.ts +19 -0
  28. package/Distributable/GUI_Components/_Errors/ForbiddenNullValueOfOptionalVueProperty/ForbiddenNullValueOfOptionalVuePropertyErrorLocalization.english.d.ts +3 -0
  29. package/Distributable/GUI_Components/_Errors/InvalidVuePropertiesCombination/InvalidVuePropertiesCombinationError.d.ts +19 -0
  30. package/Distributable/GUI_Components/_Errors/InvalidVuePropertiesCombination/InvalidVuePropertiesCombinationErrorLocalization.english.d.ts +3 -0
  31. package/Distributable/GUI_Components/_Errors/InvalidVueProperty/InvalidVuePropertyError.d.ts +20 -0
  32. package/Distributable/GUI_Components/_Errors/InvalidVueProperty/InvalidVuePropertyErrorLocalization.english.d.ts +3 -0
  33. package/Distributable/GUI_Components/_Errors/VueComponentImplementationHasNotBeenSet/VueComponentImplementationHasNotBeenSet.d.ts +18 -0
  34. package/Distributable/GUI_Components/_Errors/VueComponentImplementationHasNotBeenSet/VueComponentImplementationHasNotBeenSetErrorLocalization.english.d.ts +3 -0
  35. package/Distributable/GUI_Components/_Errors/VueComponentNotFound/VueComponentNotFoundError.d.ts +22 -0
  36. package/Distributable/GUI_Components/_Errors/VueComponentNotFound/VueComponentNotFoundErrorLocalization.english.d.ts +3 -0
  37. package/Distributable/GUI_Components/_Utils/VuePropertiesValidationMessagesGenerators/generateInvalidDecorativeVariationVuePropertyValidationMessage.d.ts +4 -0
  38. package/Distributable/GUI_Components/_Utils/VuePropertiesValidationMessagesGenerators/generateInvalidGeometricVariationVuePropertyValidationMessage.d.ts +4 -0
  39. package/Distributable/GUI_Components/_Utils/VuePropertiesValidationMessagesGenerators/generateInvalidThemeVuePropertyValidationMessage.d.ts +4 -0
  40. package/Distributable/GUI_Components/_Utils/VuePropertiesValidationMessagesGenerators/generateVuePropertyMustBeEitherEmptyStringOrUndefinedValidationMessage.d.ts +2 -0
  41. package/Distributable/GUI_Components/_Utils/VuePropertiesValidationMessagesGenerators/generateVuePropertyMustBeNonEmptyStringOrUndefinedValidationMessage.d.ts +2 -0
  42. package/Distributable/GUI_Components/_Utils/validateVuePropertyAndLogIfInvalid.d.ts +4 -0
  43. package/Distributable/GUI_Components/_VuePropertiesValidators/BooleanVuePropertyValidator.d.ts +5 -0
  44. package/Distributable/GUI_Components/_VuePropertiesValidators/DecorativeModifiersVuePropertyValidator.d.ts +6 -0
  45. package/Distributable/GUI_Components/_VuePropertiesValidators/DecorativeVariationVuePropertyValidator.d.ts +6 -0
  46. package/Distributable/GUI_Components/_VuePropertiesValidators/ElementOfEnumerationVuePropertyValidator.d.ts +9 -0
  47. package/Distributable/GUI_Components/_VuePropertiesValidators/GeometricModifiersVuePropertyValidator.d.ts +6 -0
  48. package/Distributable/GUI_Components/_VuePropertiesValidators/GeometricVariationVuePropertyValidator.d.ts +6 -0
  49. package/Distributable/GUI_Components/_VuePropertiesValidators/NaturalNumberOrZeroVuePropertyValidator.d.ts +5 -0
  50. package/Distributable/GUI_Components/_VuePropertiesValidators/NonEmptyStringVuePropertyValidator.d.ts +5 -0
  51. package/Distributable/GUI_Components/_VuePropertiesValidators/ThemeVuePropertyValidator.d.ts +6 -0
  52. package/Distributable/GUI_Components/_VuePropertiesValidators/VuePropertyValidator.d.ts +10 -0
  53. package/{Source/index.ts → Distributable/index.d.ts} +151 -233
  54. package/Distributable/index.js +1 -0
  55. package/package.json +4 -1
  56. package/.idea/.name +0 -1
  57. package/.idea/Main.iml +0 -12
  58. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  59. package/.idea/file.template.settings.xml +0 -8
  60. package/.idea/fileTemplates/SVG Icon component.vue +0 -16
  61. package/.idea/icon.svg +0 -1
  62. package/.idea/inspectionProfiles/Project_Default.xml +0 -11
  63. package/.idea/misc.xml +0 -5
  64. package/.idea/modules.xml +0 -8
  65. package/.idea/runConfigurations/Generate_TypeScript_Types.xml +0 -12
  66. package/.idea/runConfigurations/Lint.xml +0 -12
  67. package/.idea/runConfigurations/Rebuild_Distributable.xml +0 -12
  68. package/.idea/runConfigurations/Start_Workbenches.xml +0 -12
  69. package/.idea/vcs.xml +0 -6
  70. package/.pug-lintrc +0 -4
  71. package/Project.d.ts +0 -10
  72. package/Source/Functions/Routing/extractVueRouteQueryParameterAsArray.ts +0 -65
  73. package/Source/Functions/getElementByVueReference.ts +0 -127
  74. package/Source/GUI_Components/AdmonitionBlock/AdmonitionBlock.vue +0 -67
  75. package/Source/GUI_Components/AdmonitionBlock/AdmonitionBlock.vue.d.ts +0 -48
  76. package/Source/GUI_Components/AdmonitionBlock/AdmonitionBlockLogic.vue.ts +0 -254
  77. package/Source/GUI_Components/Badge/Badge.vue.pug +0 -12
  78. package/Source/GUI_Components/Badge/Badge.vue.ts +0 -240
  79. package/Source/GUI_Components/Badge/LoadingPlaceholder/Badge-LoadingPlaceholder.vue.pug +0 -3
  80. package/Source/GUI_Components/Badge/LoadingPlaceholder/Badge-LoadingPlaceholder.vue.ts +0 -93
  81. package/Source/GUI_Components/Controls/Buttons/Closing/ClosingButton.vue.pug +0 -1
  82. package/Source/GUI_Components/Controls/Buttons/Closing/ClosingButton.vue.ts +0 -224
  83. package/Source/GUI_Components/Controls/Buttons/HamburgerMenu/HamburgerMenuButton-ForInheritance.vue.ts +0 -253
  84. package/Source/GUI_Components/Controls/Buttons/HamburgerMenu/HamburgerMenuButton.vue +0 -24
  85. package/Source/GUI_Components/Controls/Buttons/HamburgerMenu/HamburgerMenuButton.vue.d.ts +0 -45
  86. package/Source/GUI_Components/Controls/Buttons/HamburgerMenu/HamburgerMenuButton.vue.pug +0 -0
  87. package/Source/GUI_Components/Controls/Buttons/Plain/Button.vue.pug +0 -70
  88. package/Source/GUI_Components/Controls/Buttons/Plain/Button.vue.ts +0 -464
  89. package/Source/GUI_Components/Controls/Buttons/Plain/LoadingPlaceholder/Button-LoadingPlaceholder.vue.pug +0 -3
  90. package/Source/GUI_Components/Controls/Buttons/Plain/LoadingPlaceholder/Button-LoadingPlaceholder.vue.ts +0 -82
  91. package/Source/GUI_Components/Controls/ValidatableControlShell/ValidatableControlShell.vue.pug +0 -64
  92. package/Source/GUI_Components/Controls/ValidatableControlShell/ValidatableControlShell.vue.ts +0 -478
  93. package/Source/GUI_Components/Controls/Validatables/InputtableControl.vue.ts +0 -233
  94. package/Source/GUI_Components/Controls/Validatables/TextBox/TextBox.vue.pug +0 -67
  95. package/Source/GUI_Components/Controls/Validatables/TextBox/TextBox.vue.ts +0 -702
  96. package/Source/GUI_Components/Controls/Validatables/ValidatableControl.ts +0 -268
  97. package/Source/GUI_Components/Controls/Validatables/ValidatableControlsGroup.ts +0 -176
  98. package/Source/GUI_Components/OverflowSafeSingleLineLabel.vue +0 -32
  99. package/Source/GUI_Components/ThemesShowcase.vue +0 -123
  100. package/Source/GUI_Components/YDF_ComponentsCoordinator.ts +0 -317
  101. package/Source/GUI_Components/_Decorators/AccessibleFromTemplateAsNonReactive.ts +0 -67
  102. package/Source/GUI_Components/_Decorators/NonReactiveVueData.ts +0 -26
  103. package/Source/GUI_Components/_Decorators/preventNullForOptionalVueProperty.ts +0 -64
  104. package/Source/GUI_Components/_Errors/ForbiddenNullValueOfOptionalVueProperty/ForbiddenNullValueOfOptionalVuePropertyError.ts +0 -47
  105. package/Source/GUI_Components/_Errors/ForbiddenNullValueOfOptionalVueProperty/ForbiddenNullValueOfOptionalVuePropertyErrorLocalization.english.ts +0 -24
  106. package/Source/GUI_Components/_Errors/InvalidVuePropertiesCombination/InvalidVuePropertiesCombinationError.ts +0 -40
  107. package/Source/GUI_Components/_Errors/InvalidVuePropertiesCombination/InvalidVuePropertiesCombinationErrorLocalization.english.ts +0 -15
  108. package/Source/GUI_Components/_Errors/InvalidVueProperty/InvalidVuePropertyError.ts +0 -43
  109. package/Source/GUI_Components/_Errors/InvalidVueProperty/InvalidVuePropertyErrorLocalization.english.ts +0 -16
  110. package/Source/GUI_Components/_Errors/VueComponentImplementationHasNotBeenSet/VueComponentImplementationHasNotBeenSet.ts +0 -39
  111. package/Source/GUI_Components/_Errors/VueComponentImplementationHasNotBeenSet/VueComponentImplementationHasNotBeenSetErrorLocalization.english.ts +0 -17
  112. package/Source/GUI_Components/_Errors/VueComponentNotFound/VueComponentNotFoundError.ts +0 -46
  113. package/Source/GUI_Components/_Errors/VueComponentNotFound/VueComponentNotFoundErrorLocalization.english.ts +0 -22
  114. package/Source/GUI_Components/_VuePropertiesValidators/BooleanVuePropertyValidator.ts +0 -25
  115. package/Source/GUI_Components/_VuePropertiesValidators/DecorativeModifiersVuePropertyValidator.ts +0 -22
  116. package/Source/GUI_Components/_VuePropertiesValidators/DecorativeVariationVuePropertyValidator.ts +0 -23
  117. package/Source/GUI_Components/_VuePropertiesValidators/ElementOfEnumerationVuePropertyValidator.ts +0 -29
  118. package/Source/GUI_Components/_VuePropertiesValidators/GeometricModifiersVuePropertyValidator.ts +0 -22
  119. package/Source/GUI_Components/_VuePropertiesValidators/GeometricVariationVuePropertyValidator.ts +0 -23
  120. package/Source/GUI_Components/_VuePropertiesValidators/NaturalNumberOrZeroVuePropertyValidator.ts +0 -25
  121. package/Source/GUI_Components/_VuePropertiesValidators/NonEmptyStringVuePropertyValidator.ts +0 -25
  122. package/Source/GUI_Components/_VuePropertiesValidators/ThemeVuePropertyValidator.ts +0 -23
  123. package/Source/GUI_Components/_VuePropertiesValidators/VuePropertyValidator.ts +0 -51
  124. package/Source/SVG_Icons/Achievement/AchievementIcon__Filled.vue +0 -16
  125. package/Source/SVG_Icons/Achievement/AchievementIcon__Outlined.vue +0 -16
  126. package/Source/SVG_Icons/Bell/BellIcon__Filled.vue +0 -16
  127. package/Source/SVG_Icons/Bracket/CurlyBracketIcon__Closing.vue +0 -16
  128. package/Source/SVG_Icons/Bracket/CurlyBracketIcon__Opening.vue +0 -16
  129. package/Source/SVG_Icons/Bracket/RoundBracketIcon__Closing.vue +0 -16
  130. package/Source/SVG_Icons/Bracket/RoundBracketIcon__Opening.vue +0 -16
  131. package/Source/SVG_Icons/Bracket/SquareBracketIcon__Closing.vue +0 -16
  132. package/Source/SVG_Icons/Bracket/SquareBracketIcon__Opening.vue +0 -16
  133. package/Source/SVG_Icons/Calendar/CalendarIcon.vue +0 -16
  134. package/Source/SVG_Icons/Calendar/CalendarIcon__Date.vue +0 -16
  135. package/Source/SVG_Icons/Calendar/CalendarIcon__Repeat.vue +0 -16
  136. package/Source/SVG_Icons/Calendar/CalendarIcon__Time.vue +0 -16
  137. package/Source/SVG_Icons/Checkmark/CheckboxIcon__Checked.vue +0 -16
  138. package/Source/SVG_Icons/Checkmark/CheckboxIcon__Unchecked.vue +0 -16
  139. package/Source/SVG_Icons/Checkmark/CheckmarkIcon__Circled__Filled.vue +0 -16
  140. package/Source/SVG_Icons/Checkmark/CheckmarkIcon__Circled__Outlined.vue +0 -16
  141. package/Source/SVG_Icons/Chevron/ChevronIcon__Downward.vue +0 -16
  142. package/Source/SVG_Icons/Chevron/ChevronIcon__Leftward.vue +0 -16
  143. package/Source/SVG_Icons/Chevron/ChevronIcon__Rightward.vue +0 -16
  144. package/Source/SVG_Icons/Chevron/ChevronIcon__Upward.vue +0 -16
  145. package/Source/SVG_Icons/Comment/CommentIcon__Dots__Filled.vue +0 -16
  146. package/Source/SVG_Icons/Comment/CommentIcon__Dots__Outlined.vue +0 -16
  147. package/Source/SVG_Icons/Comment/CommentIcon__Lines__Filled.vue +0 -16
  148. package/Source/SVG_Icons/Comment/CommentIcon__Lines__Outlined.vue +0 -16
  149. package/Source/SVG_Icons/Comment/CommentIcon__Minus__Filled.vue +0 -16
  150. package/Source/SVG_Icons/Comment/CommentIcon__Minus__Outlined.vue +0 -16
  151. package/Source/SVG_Icons/Comment/CommentIcon__Pen__Filled.vue +0 -16
  152. package/Source/SVG_Icons/Comment/CommentIcon__Pen__Outlined.vue +0 -16
  153. package/Source/SVG_Icons/Comment/CommentIcon__Plus__Filled.vue +0 -16
  154. package/Source/SVG_Icons/Comment/CommentIcon__Plus__Outlined.vue +0 -16
  155. package/Source/SVG_Icons/Comment/CommentIcon__Qotemark__Filled.vue +0 -16
  156. package/Source/SVG_Icons/Comment/CommentIcon__Qotemark__Outlined.vue +0 -16
  157. package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Circled__Filled.vue +0 -16
  158. package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Circled__Outlined.vue +0 -16
  159. package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Octagoned__Filled.vue +0 -16
  160. package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Octagoned__Outlined.vue +0 -16
  161. package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Rectangled__Filled.vue +0 -16
  162. package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Rectangled__Outlined.vue +0 -16
  163. package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Triangled__Filled.vue +0 -16
  164. package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Triangled__Outlined.vue +0 -16
  165. package/Source/SVG_Icons/Filtering/FilteringIcon__Outlined.vue +0 -16
  166. package/Source/SVG_Icons/Folder/FolderIcon__ExclamationMark__Filled.vue +0 -16
  167. package/Source/SVG_Icons/Folder/FolderIcon__Filled.vue +0 -16
  168. package/Source/SVG_Icons/Folder/FolderIcon__MultiplicationSign__Filled.vue +0 -16
  169. package/Source/SVG_Icons/Folder/FolderIcon__Person__Filled.vue +0 -16
  170. package/Source/SVG_Icons/Folder/FolderIcon__Plus__Filled.vue +0 -16
  171. package/Source/SVG_Icons/Folder/FolderIcon__Stationery.vue +0 -16
  172. package/Source/SVG_Icons/HamburgerMenu/HamburgerMenuIcon.vue +0 -7
  173. package/Source/SVG_Icons/Heart/HeartIcon__Broken__Filled.vue +0 -16
  174. package/Source/SVG_Icons/Heart/HeartIcon__Broken__Outlined.vue +0 -16
  175. package/Source/SVG_Icons/Heart/HeartIcon__Filled.vue +0 -16
  176. package/Source/SVG_Icons/Heart/HeartIcon__Half.vue +0 -16
  177. package/Source/SVG_Icons/Heart/HeartIcon__Outlined.vue +0 -16
  178. package/Source/SVG_Icons/Inbox/InboxIcon.vue +0 -16
  179. package/Source/SVG_Icons/Inbox/InboxIcon__DownwardArrow.vue +0 -16
  180. package/Source/SVG_Icons/InfoSign/InfoSignIcon__Circled__Filled.vue +0 -16
  181. package/Source/SVG_Icons/InfoSign/InfoSignIcon__Circled__Outlined.vue +0 -16
  182. package/Source/SVG_Icons/Like/LikeIcon__Filled.vue +0 -16
  183. package/Source/SVG_Icons/Like/LikeIcon__Outlined.vue +0 -16
  184. package/Source/SVG_Icons/Like/UnlikeIcon__Filled.vue +0 -16
  185. package/Source/SVG_Icons/Like/UnlikeIcon__Outlined.vue +0 -16
  186. package/Source/SVG_Icons/List/ChecklistIcon.vue +0 -16
  187. package/Source/SVG_Icons/MagnifyingGlass/MagnifyingGlassIcon.vue +0 -16
  188. package/Source/SVG_Icons/MagnifyingGlass/ZoomInIcon__Filled.vue +0 -16
  189. package/Source/SVG_Icons/MagnifyingGlass/ZoomInIcon__Outlined.vue +0 -16
  190. package/Source/SVG_Icons/MagnifyingGlass/ZoomingInIcon__Outlined.vue +0 -16
  191. package/Source/SVG_Icons/MagnifyingGlass/ZoomingOutIcon__Filled.vue +0 -16
  192. package/Source/SVG_Icons/Mail/MailIcon__Filled.vue +0 -16
  193. package/Source/SVG_Icons/Mail/MailIcon__Outlined.vue +0 -16
  194. package/Source/SVG_Icons/MapAndLocation/LocationIcon.vue +0 -16
  195. package/Source/SVG_Icons/MapAndLocation/LocationIcon__BottomCircle.vue +0 -16
  196. package/Source/SVG_Icons/MapAndLocation/MapIcon__Clock.vue +0 -16
  197. package/Source/SVG_Icons/Menu/MenuIcon__ThreeDots__Horizontal.vue +0 -16
  198. package/Source/SVG_Icons/Menu/MenuIcon__ThreeDots__Horizontal__Circled__Filled.vue +0 -16
  199. package/Source/SVG_Icons/Menu/MenuIcon__ThreeDots__Horizontal__Circled__Outlined.vue +0 -16
  200. package/Source/SVG_Icons/Menu/MenuIcon__ThreeDots__Vertical.vue +0 -16
  201. package/Source/SVG_Icons/Menu/MenuIcon__ThreeDots__Vertical__Circled__Filled.vue +0 -16
  202. package/Source/SVG_Icons/Menu/MenuIcon__ThreeDots__Vertical__Circled__Outlined.vue +0 -16
  203. package/Source/SVG_Icons/MultiplicationSign/MultiplicationSignIcon.vue +0 -16
  204. package/Source/SVG_Icons/MultiplicationSign/MultiplicationSignIcon__Bold.vue +0 -16
  205. package/Source/SVG_Icons/MultiplicationSign/MultiplicationSignIcon__Boxed__Filled.vue +0 -16
  206. package/Source/SVG_Icons/MultiplicationSign/MultiplicationSignIcon__Boxed__Outlined.vue +0 -16
  207. package/Source/SVG_Icons/MultiplicationSign/MultiplicationSignIcon__Octagoned__Filled.vue +0 -16
  208. package/Source/SVG_Icons/MultiplicationSign/MultiplicationSignIcon__Octagoned__Outlined.vue +0 -16
  209. package/Source/SVG_Icons/Pencil/PencilIcon__Boxed__Filled.vue +0 -16
  210. package/Source/SVG_Icons/Pencil/PencilIcon__Boxed__Outlined.vue +0 -16
  211. package/Source/SVG_Icons/Pencil/PencilIcon__Circled__Filled.vue +0 -16
  212. package/Source/SVG_Icons/Pencil/PencilIcon__Circled__Outlined.vue +0 -16
  213. package/Source/SVG_Icons/Pencil/PencilIcon__Filled.vue +0 -16
  214. package/Source/SVG_Icons/Pencil/PencilIcon__Outlined.vue +0 -16
  215. package/Source/SVG_Icons/Pencil/PencilWithLockIcon__Filled.vue +0 -16
  216. package/Source/SVG_Icons/Pencil/PencilWithLockIcon__Outlined.vue +0 -16
  217. package/Source/SVG_Icons/Pencil/PencilWithPlusSignIcon__Filled.vue +0 -16
  218. package/Source/SVG_Icons/Pencil/PencilWithPlusSignIcon__Outlined.vue +0 -16
  219. package/Source/SVG_Icons/Person/PersonIcon__Clock__Rectangled__Filled.vue +0 -16
  220. package/Source/SVG_Icons/Phone/PhoneIcon__Filled.vue +0 -16
  221. package/Source/SVG_Icons/Phone/PhoneIcon__Outlined.vue +0 -16
  222. package/Source/SVG_Icons/Phone/TelephoneIcon__Filled.vue +0 -16
  223. package/Source/SVG_Icons/QuestionMark/QuestionMarkIcon__Circled__Filled.vue +0 -16
  224. package/Source/SVG_Icons/QuestionMark/QuestionMarkIcon__Circled__Outlined.vue +0 -16
  225. package/Source/SVG_Icons/QuoteMark/QuoteMarkIcon_Upward__Outlined.vue +0 -16
  226. package/Source/SVG_Icons/QuoteMark/QuoteMarkIcon__Downward__Filled.vue +0 -16
  227. package/Source/SVG_Icons/QuoteMark/QuoteMarkIcon__Downward__Outlined.vue +0 -16
  228. package/Source/SVG_Icons/QuoteMark/QuoteMarkIcon__Upward__Filled.vue +0 -16
  229. package/Source/SVG_Icons/SocialNetworks/FacebookIcon.vue +0 -16
  230. package/Source/SVG_Icons/SocialNetworks/GoogleIcon.vue +0 -16
  231. package/Source/SVG_Icons/SocialNetworks/InstagramIcon.vue +0 -16
  232. package/Source/SVG_Icons/SocialNetworks/LinkedInIcon.vue +0 -16
  233. package/Source/SVG_Icons/SocialNetworks/RSS_Icon.vue +0 -16
  234. package/Source/SVG_Icons/SocialNetworks/RedditIcon.vue +0 -16
  235. package/Source/SVG_Icons/SocialNetworks/SkypeIcon.vue +0 -16
  236. package/Source/SVG_Icons/SocialNetworks/TwitterIcon.vue +0 -16
  237. package/Source/SVG_Icons/SocialNetworks/YouTubeIcon.vue +0 -16
  238. package/Source/SVG_Icons/Star/StarIcon__Filled.vue +0 -16
  239. package/Source/SVG_Icons/Star/StarIcon__Half.vue +0 -16
  240. package/Source/SVG_Icons/Star/StarIcon__Outlined.vue +0 -16
  241. package/Source/SVG_Icons/Star/StarIcon__Plus__Filled.vue +0 -16
  242. package/Source/SVG_Icons/Star/StarIcon__Plus__Outlined.vue +0 -16
  243. package/Source/SVG_Icons/Timeline/TimelineIcon.vue +0 -16
  244. package/Source/SVG_Icons/TrashCan/TrashCanIcon__Filled.vue +0 -16
  245. package/Source/SVG_Icons/TrashCan/TrashCanIcon__Outlined.vue +0 -16
  246. package/Source/SVG_Icons/Triangle/TriangleIcon__Downward__Circled__Filled.vue +0 -16
  247. package/Source/SVG_Icons/Triangle/TriangleIcon__Downward__Filled.vue +0 -16
  248. package/Source/SVG_Icons/Triangle/TriangleIcon__Leftward__Circled__Filled.vue +0 -16
  249. package/Source/SVG_Icons/Triangle/TriangleIcon__Leftward__Filled.vue +0 -16
  250. package/Source/SVG_Icons/Triangle/TriangleIcon__Rightward__Circled__Filled.vue +0 -16
  251. package/Source/SVG_Icons/Triangle/TriangleIcon__Rightward__Filled.vue +0 -16
  252. package/Source/SVG_Icons/Triangle/TriangleIcon__Upward__Circled__Filled.vue +0 -16
  253. package/Source/SVG_Icons/Triangle/TriangleIcon__Upward__Filled.vue +0 -16
  254. package/Workbenches/Source/Decorators/Decorators.workbench.pug +0 -20
  255. package/Workbenches/Source/Decorators/Decorators.workbench.ts +0 -5
  256. package/Workbenches/Source/Decorators/DecoratorsWorkbench.vue +0 -69
  257. package/Workbenches/Source/GUI_Components/AdmonitionBlock/AdmonitionBlock.workbench.pug +0 -20
  258. package/Workbenches/Source/GUI_Components/AdmonitionBlock/AdmonitionBlock.workbench.ts +0 -5
  259. package/Workbenches/Source/GUI_Components/AdmonitionBlock/AdmonitionBlockComponentTestSite.vue +0 -44
  260. package/Workbenches/Source/GUI_Components/Badge/Badge.workbench.pug +0 -20
  261. package/Workbenches/Source/GUI_Components/Badge/Badge.workbench.ts +0 -5
  262. package/Workbenches/Source/GUI_Components/Badge/BadgeBlockComponentTestSite.vue +0 -44
  263. package/Workbenches/Source/GUI_Components/Controls/Buttons/Plain/Button.workbench.pug +0 -20
  264. package/Workbenches/Source/GUI_Components/Controls/Buttons/Plain/Button.workbench.ts +0 -5
  265. package/Workbenches/Source/GUI_Components/Controls/Buttons/Plain/ButtonComponentTestSite.vue +0 -60
  266. package/Workbenches/Source/GUI_Components/Controls/Validatable/TextBox/TextBox.workbench.pug +0 -20
  267. package/Workbenches/Source/GUI_Components/Controls/Validatable/TextBox/TextBox.workbench.ts +0 -5
  268. package/Workbenches/Source/GUI_Components/Controls/Validatable/TextBox/TextBoxWorkbench.vue +0 -86
  269. package/Workbenches/Source/GUI_Components/Controls/ValidatableControlShell/ValidatableControlShell.workbench.pug +0 -20
  270. package/Workbenches/Source/GUI_Components/Controls/ValidatableControlShell/ValidatableControlShell.workbench.ts +0 -5
  271. package/Workbenches/Source/GUI_Components/Controls/ValidatableControlShell/ValidatableControlShellTestSite.vue +0 -68
  272. package/Workbenches/Source/GUI_Components/OverflowSafeSingleLineLabel/OverflowSafeSingleLineLabel.workbench.pug +0 -20
  273. package/Workbenches/Source/GUI_Components/OverflowSafeSingleLineLabel/OverflowSafeSingleLineLabel.workbench.ts +0 -5
  274. package/Workbenches/Source/GUI_Components/OverflowSafeSingleLineLabel/OverflowSafeSingleLineLabelComponentTestSite.vue +0 -100
  275. package/Workbenches/Source/Workbenches.pug +0 -103
  276. package/eslint.config.js +0 -44
  277. package/tsconfig.declarations.json +0 -4
  278. package/tsconfig.json +0 -21
  279. package/yda.config.yaml +0 -120
@@ -1,464 +0,0 @@
1
- /* ─── Assets ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
2
- import componentVueTemplate from "./Button.vue.pug";
3
-
4
- /* ─── Validations ─────────────────────────────────────────────────────────────────────────────────────── */
5
- import VuePropertyValidator from "../../../_VuePropertiesValidators/VuePropertyValidator";
6
- import BooleanVuePropertyValidator from "../../../_VuePropertiesValidators/BooleanVuePropertyValidator";
7
- import ElementOfEnumerationVuePropertyValidator from "../../../_VuePropertiesValidators/ElementOfEnumerationVuePropertyValidator";
8
- import NonEmptyStringVuePropertyValidator from "../../../_VuePropertiesValidators/NonEmptyStringVuePropertyValidator";
9
- import ThemeVuePropertyValidator from "../../../_VuePropertiesValidators/ThemeVuePropertyValidator";
10
- import GeometricVariationVuePropertyValidator from "../../../_VuePropertiesValidators/GeometricVariationVuePropertyValidator";
11
- import GeometricModifiersVuePropertyValidator from "../../../_VuePropertiesValidators/GeometricModifiersVuePropertyValidator";
12
- import DecorativeVariationVuePropertyValidator from "../../../_VuePropertiesValidators/DecorativeVariationVuePropertyValidator";
13
- import DecorativeModifiersVuePropertyValidator from "../../../_VuePropertiesValidators/DecorativeModifiersVuePropertyValidator";
14
- import InvalidVuePropertiesCombinationError from
15
- "../../../_Errors/InvalidVuePropertiesCombination/InvalidVuePropertiesCombinationError";
16
- import preventNullForOptionalVueProperty from "../../../_Decorators/preventNullForOptionalVueProperty";
17
-
18
- /* ─── Framework ──────────────────────────────────────────────────────────────────────────────────────────────────── */
19
- import {
20
- ComponentBase as VueComponentConfiguration,
21
- Vue as VueComponent,
22
- Prop as VueProperty
23
- } from "vue-facing-decorator";
24
- import type { RouteLocationRaw as VueRouterRawLocation } from "vue-router";
25
-
26
- /* ─── Utils ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
27
- import YDF_ComponentsCoordinator from "../../../YDF_ComponentsCoordinator";
28
- import {
29
- Logger,
30
- isNumber,
31
- isNonEmptyString,
32
- isEitherUndefinedOrNull,
33
- isNeitherUndefinedNorNull,
34
- isArbitraryObject,
35
- emptyStringToNull,
36
- type ElementOfPseudoEnumeration
37
- } from "@yamato-daiwa/es-extensions";
38
-
39
-
40
- @VueComponentConfiguration({
41
- name: Button.CSS_NAMESPACE,
42
- template: componentVueTemplate
43
- })
44
- class Button extends VueComponent {
45
-
46
- /* ━━━ Static Fields ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
47
- public static CSS_NAMESPACE: string = "Button--YDF";
48
-
49
- public static HTML_Types: Button.HTML_Types = {
50
- regular: "BUTTON",
51
- submit: "SUBMIT",
52
- inputButton: "INPUT_BUTTON",
53
- inputSubmit: "INPUT_SUBMIT",
54
- inputReset: "INPUT_RESET"
55
- };
56
-
57
-
58
- /* ━━━ Non-reactive Instance Fields ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
59
- protected IS_NUXT!: boolean;
60
-
61
- private initializeNonReactiveClassFields(): void {
62
- this.IS_NUXT = "$nuxt" in window;
63
- }
64
-
65
-
66
- /* ━━━ Common Properties ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
67
- @VueProperty({
68
- default: Button.HTML_Types.regular,
69
- get validator(): VuePropertyValidator {
70
- return ElementOfEnumerationVuePropertyValidator({
71
- enumerationFullyQualifiedName: "Button.HTML_Types",
72
- enumeration: Button.HTML_Types,
73
- propertyName: "HTML_Type",
74
- componentName: Button.CSS_NAMESPACE,
75
- isPropertyRequired: this.required === true
76
- });
77
- }
78
- })
79
- @preventNullForOptionalVueProperty
80
- protected readonly HTML_Type!: ElementOfPseudoEnumeration<Button.HTML_Types>;
81
-
82
-
83
- /* ─── Textings ─────────────────────────────────────────────────────────────────────────────────────────────────── */
84
- @VueProperty({
85
- required: false,
86
- validator: VuePropertyValidator.create({
87
- checker: (rawValue: unknown): boolean =>
88
- isNonEmptyString(rawValue) || isNumber(rawValue, { mustConsiderNaN_AsNumber: true }),
89
- messageSpecificPart: "If specified, must be either non-empty string or number.",
90
- propertyName: "label",
91
- componentName: Button.CSS_NAMESPACE
92
- })
93
- })
94
- @preventNullForOptionalVueProperty
95
- protected readonly label?: string | number;
96
-
97
- @VueProperty({
98
- required: false,
99
- get validator(): VuePropertyValidator {
100
- return NonEmptyStringVuePropertyValidator({
101
- isPropertyRequired: this.required === true,
102
- propertyName: "accessibilityGuidance",
103
- componentName: Button.CSS_NAMESPACE
104
- });
105
- }
106
- })
107
- @preventNullForOptionalVueProperty
108
- protected readonly accessibilityGuidance?: string;
109
-
110
-
111
- /* ─── Links ────────────────────────────────────────────────────────────────────────────────────────────────────── */
112
- @VueProperty({
113
- required: false,
114
- validator: VuePropertyValidator.create({
115
- checker: (rawValue: unknown): boolean => isNonEmptyString(rawValue) || isArbitraryObject(rawValue),
116
- messageSpecificPart: "If specified, must be either non-empty string or an object.",
117
- propertyName: "route",
118
- componentName: Button.CSS_NAMESPACE
119
- })
120
- })
121
- @preventNullForOptionalVueProperty
122
- protected readonly route?: VueRouterRawLocation;
123
-
124
- @VueProperty({
125
- required: false,
126
- get validator(): VuePropertyValidator {
127
- return NonEmptyStringVuePropertyValidator({
128
- propertyName: "externalURI",
129
- isPropertyRequired: this.required === true,
130
- componentName: Button.CSS_NAMESPACE
131
- });
132
- }
133
- })
134
- @preventNullForOptionalVueProperty
135
- protected readonly externalURI?: string;
136
-
137
- @VueProperty({
138
- default: false,
139
- get validator(): VuePropertyValidator {
140
- return BooleanVuePropertyValidator({
141
- propertyName: "mustOpenLinkInNewTab",
142
- componentName: Button.CSS_NAMESPACE,
143
- isPropertyRequired: this.required === true
144
- });
145
- }
146
- })
147
- @preventNullForOptionalVueProperty
148
- protected readonly mustOpenLinkInNewTab!: boolean;
149
-
150
- @VueProperty({
151
- default: false,
152
- get validator(): VuePropertyValidator {
153
- return BooleanVuePropertyValidator({
154
- propertyName: "mustRequestNotFollowLinkForCrawlingToSearchEngine",
155
- componentName: Button.CSS_NAMESPACE,
156
- isPropertyRequired: this.required === true
157
- });
158
- }
159
- })
160
- @preventNullForOptionalVueProperty
161
- protected readonly mustRequestNotFollowLinkForCrawlingToSearchEngine!: boolean;
162
-
163
-
164
- /* ─── Status ───────────────────────────────────────────────────────────────────────────────────────────────────── */
165
- @VueProperty({
166
- default: false,
167
- get validator(): VuePropertyValidator {
168
- return BooleanVuePropertyValidator({
169
- propertyName: "disabled",
170
- componentName: Button.CSS_NAMESPACE,
171
- isPropertyRequired: this.required === true
172
- });
173
- }
174
- })
175
- @preventNullForOptionalVueProperty
176
- protected readonly disabled!: boolean;
177
-
178
- @VueProperty({
179
- default: false,
180
- get validator(): VuePropertyValidator {
181
- return BooleanVuePropertyValidator({
182
- propertyName: "toggled",
183
- componentName: Button.CSS_NAMESPACE,
184
- isPropertyRequired: this.required === true
185
- });
186
- }
187
- })
188
- @preventNullForOptionalVueProperty
189
- protected readonly toggled!: boolean;
190
-
191
-
192
- /* ━━━ Theming ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
193
- public static readonly Themes: Button.Themes = { regular: "REGULAR" };
194
-
195
- @VueProperty({
196
- default: Button.Themes.regular,
197
- validator: ThemeVuePropertyValidator(Button)
198
- })
199
- @preventNullForOptionalVueProperty
200
- protected readonly theme!: string;
201
-
202
- public static defineThemes(themesNames: ReadonlyArray<string>): typeof Button {
203
- return YDF_ComponentsCoordinator.defineThemes(themesNames, Button);
204
- }
205
-
206
- public static areThemesCSS_ClassesCommon: boolean = YDF_ComponentsCoordinator.areThemesCSS_ClassesCommon;
207
-
208
- public static considerThemesAsCommon(): void {
209
- Button.areThemesCSS_ClassesCommon = true;
210
- }
211
-
212
- @VueProperty({
213
- default: Button.areThemesCSS_ClassesCommon,
214
- get validator(): VuePropertyValidator {
215
- return BooleanVuePropertyValidator({
216
- propertyName: "areThemesCSS_ClassesCommon",
217
- componentName: Button.CSS_NAMESPACE,
218
- isPropertyRequired: this.required === true
219
- });
220
- }
221
- })
222
- @preventNullForOptionalVueProperty
223
- private readonly areThemesCSS_ClassesCommon!: boolean;
224
-
225
-
226
- /* ─── Geometry ─────────────────────────────────────────────────────────────────────────────────────────────────── */
227
- public static readonly GeometricVariations: Button.GeometricVariations = {
228
- regular: "REGULAR",
229
- small: "SMALL",
230
- linkLike: "LINK_LIKE"
231
- };
232
-
233
- @VueProperty({
234
- default: Button.GeometricVariations.regular,
235
- validator: GeometricVariationVuePropertyValidator(Button)
236
- })
237
- @preventNullForOptionalVueProperty
238
- protected readonly geometricVariation!: string;
239
-
240
- public static defineGeometricVariations(geometricVariationsNames: ReadonlyArray<string>): typeof Button {
241
- return YDF_ComponentsCoordinator.defineGeometricVariations(geometricVariationsNames, Button);
242
- }
243
-
244
- public static readonly GeometricModifiers: Button.GeometricModifiers = {
245
- pillShape: "PILL_SHAPE",
246
- squareShape: "SQUARE_SHAPE",
247
- squareShapeUnlessOverflowed: "SQUARE_SHAPE_UNLESS_OVERFLOWED",
248
- singleLine: "SINGLE_LINE",
249
- noLeftBorderAndRoundings: "NO_LEFT_BORDER_AND_ROUNDINGS",
250
- noRightBorderAndRoundings: "NO_RIGHT_BORDER_AND_ROUNDINGS",
251
- noTopBorderAndRoundings: "NO_TOP_BORDER_AND_ROUNDINGS",
252
- noBottomBorderAndRoundings: "NO_BOTTOM_BORDER_AND_ROUNDINGS",
253
- noRoundings: "NO_ROUNDINGS",
254
- horizontallyShrinkable: "HORIZONTALLY_SHRINKABLE"
255
- };
256
-
257
- @VueProperty({
258
- default: (): ReadonlyArray<ElementOfPseudoEnumeration<Button.GeometricModifiers>> => [],
259
- validator: GeometricModifiersVuePropertyValidator(Button)
260
- })
261
- @preventNullForOptionalVueProperty
262
- protected readonly geometricModifiers!: ReadonlyArray<ElementOfPseudoEnumeration<Button.GeometricModifiers>>;
263
-
264
-
265
- /* ─── Decoration ───────────────────────────────────────────────────────────────────────────────────────────────── */
266
- public static readonly DecorativeVariations: Button.DecorativeVariations = {
267
- regular: "REGULAR",
268
- accented: "ACCENTED",
269
- danger: "DANGER",
270
- linkLike: "LINK_LIKE"
271
- };
272
-
273
- @VueProperty({
274
- default: Button.DecorativeVariations.regular,
275
- validator: DecorativeVariationVuePropertyValidator(Button)
276
- })
277
- @preventNullForOptionalVueProperty
278
- protected readonly decorativeVariation!: string;
279
-
280
- public static defineDecorativeVariations(decorativeVariationsNames: ReadonlyArray<string>): typeof Button {
281
- return YDF_ComponentsCoordinator.defineDecorativeVariations(decorativeVariationsNames, Button);
282
- }
283
-
284
- public static readonly DecorativeModifiers: Button.DecorativeModifiers = {
285
- bordersDisguising: "BORDERS_DISGUISING",
286
- noBackground: "NO_BACKGROUND",
287
- noBackgroundInDefaultState: "NO_BACKGROUND_IN_DEFAULT_STATE"
288
- };
289
-
290
- @VueProperty({
291
- default: (): ReadonlyArray<ElementOfPseudoEnumeration<Button.DecorativeModifiers>> => [],
292
- validator: DecorativeModifiersVuePropertyValidator(Button)
293
- })
294
- protected readonly decorativeModifiers!: ReadonlyArray<ElementOfPseudoEnumeration<Button.DecorativeModifiers>>;
295
-
296
-
297
- /* ━━━ Lifecycle Hooks ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
298
- protected created(): void {
299
- this.initializeNonReactiveClassFields();
300
- this.validateProperties();
301
- }
302
-
303
- protected beforeUpdate(): void {
304
- this.validateProperties();
305
- }
306
-
307
-
308
- /* ━━━ Root Element Tag Name ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
309
- protected get isButtonTheTagNameOfRootElement(): boolean {
310
- return isEitherUndefinedOrNull(this.route) &&
311
- isEitherUndefinedOrNull(this.externalURI) &&
312
- (this.HTML_Type === Button.HTML_Types.regular || this.HTML_Type === Button.HTML_Types.submit);
313
- }
314
-
315
- protected get isInputTheTagNameOfRootElement(): boolean {
316
- return isEitherUndefinedOrNull(this.route) &&
317
- isEitherUndefinedOrNull(this.externalURI) &&
318
- (
319
- this.HTML_Type === Button.HTML_Types.inputButton ||
320
- this.HTML_Type === Button.HTML_Types.inputSubmit ||
321
- this.HTML_Type === Button.HTML_Types.inputReset
322
- );
323
- }
324
-
325
- private get isRouterLinkTheRootElement(): boolean {
326
- return isNeitherUndefinedNorNull(this.route);
327
- }
328
-
329
- private get isAnchorTheTagNameOfRootElement(): boolean {
330
- return isNeitherUndefinedNorNull(this.externalURI);
331
- }
332
-
333
-
334
- /* ━━━ Root Element Attributes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
335
- protected get typeAttributeValueOfButtonOrInputElement(): string | null {
336
-
337
- if (!this.isButtonTheTagNameOfRootElement && !this.isInputTheTagNameOfRootElement) {
338
- return null;
339
- }
340
-
341
-
342
- switch (this.HTML_Type) {
343
- case Button.HTML_Types.regular: return "button";
344
- case Button.HTML_Types.submit: return "submit";
345
- case Button.HTML_Types.inputButton: return "button";
346
- case Button.HTML_Types.inputSubmit: return "submit";
347
- case Button.HTML_Types.inputReset: return "reset";
348
- default: return null;
349
- }
350
-
351
- }
352
-
353
- protected get relAttributeValueOfAnchorElement(): string | null {
354
- return emptyStringToNull(
355
- [
356
- ...this.mustOpenLinkInNewTab ? [ "noopener", "noreferrer" ] : [],
357
- ...this.mustRequestNotFollowLinkForCrawlingToSearchEngine ? [ "nofollow" ] : []
358
- ].join(" ")
359
- );
360
- }
361
-
362
-
363
- /* ━━━ CSS Classes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
364
- protected get rootElementModifierCSS_Classes(): ReadonlyArray<string> {
365
- return YDF_ComponentsCoordinator.generateRootElementModifierCSS_Classes({
366
- CSS_Namespace: Button.CSS_NAMESPACE,
367
- activeTheme: this.theme,
368
- allThemes: Button.Themes,
369
- areThemesCSS_ClassesCommon: this.areThemesCSS_ClassesCommon,
370
- activeGeometricVariation: this.geometricVariation,
371
- allGeometricVariations: Button.GeometricVariations,
372
- activeGeometricModifiers: this.geometricModifiers,
373
- activeDecorativeVariation: this.decorativeVariation,
374
- allDecorativeVariations: Button.DecorativeVariations,
375
- activeDecorativeModifiers: this.decorativeModifiers,
376
- other: [
377
- ...(this.isAnchorTheTagNameOfRootElement || this.isRouterLinkTheRootElement) && this.disabled ?
378
- [ `${ Button.CSS_NAMESPACE }__DisabledState` ] : []
379
- ]
380
- });
381
- }
382
-
383
-
384
- /* ━━━ Properties Validation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
385
- protected validateProperties(): void {
386
-
387
- if (
388
- (!isNonEmptyString(this.label) && isNumber(this.label, { mustConsiderNaN_AsNumber: true })) &&
389
- (
390
- this.HTML_Type === Button.HTML_Types.inputButton ||
391
- this.HTML_Type === Button.HTML_Types.inputSubmit ||
392
- this.HTML_Type === Button.HTML_Types.inputReset
393
- )
394
- ) {
395
- Logger.throwErrorWithFormattedMessage({
396
- errorInstance: new InvalidVuePropertiesCombinationError({
397
- vueComponentName: Button.CSS_NAMESPACE,
398
- messageSpecificPart:
399
- "When button has HTML type \"inputButton\", \"inputSubmit\" or \"inputReset\", the \"label\" property " +
400
- "must be specified with non-empty string of number."
401
- }),
402
- title: InvalidVuePropertiesCombinationError.localization.defaultTitle,
403
- occurrenceLocation: `${ Button.CSS_NAMESPACE }.created/beforeUpdate()`
404
- });
405
- }
406
-
407
- }
408
-
409
- }
410
-
411
-
412
- namespace Button {
413
-
414
- export type HTML_Types = Readonly<{
415
- regular: "BUTTON";
416
- submit: "SUBMIT";
417
- inputButton: "INPUT_BUTTON";
418
- inputSubmit: "INPUT_SUBMIT";
419
- inputReset: "INPUT_RESET";
420
- }>;
421
-
422
- export type Themes = {
423
- readonly regular: "REGULAR";
424
- [themeName: string]: string;
425
- };
426
-
427
- export type GeometricVariations = {
428
- readonly regular: "REGULAR";
429
- readonly small: "SMALL";
430
- readonly linkLike: "LINK_LIKE";
431
- [variationName: string]: string;
432
- };
433
-
434
- export type GeometricModifiers = Readonly<{
435
- pillShape: "PILL_SHAPE";
436
- squareShape: "SQUARE_SHAPE";
437
- squareShapeUnlessOverflowed: "SQUARE_SHAPE_UNLESS_OVERFLOWED";
438
- singleLine: "SINGLE_LINE";
439
- noLeftBorderAndRoundings: "NO_LEFT_BORDER_AND_ROUNDINGS";
440
- noRightBorderAndRoundings: "NO_RIGHT_BORDER_AND_ROUNDINGS";
441
- noTopBorderAndRoundings: "NO_TOP_BORDER_AND_ROUNDINGS";
442
- noBottomBorderAndRoundings: "NO_BOTTOM_BORDER_AND_ROUNDINGS";
443
- noRoundings: "NO_ROUNDINGS";
444
- horizontallyShrinkable: "HORIZONTALLY_SHRINKABLE";
445
- }>;
446
-
447
- export type DecorativeVariations = {
448
- readonly regular: "REGULAR";
449
- readonly accented: "ACCENTED";
450
- readonly danger: "DANGER";
451
- readonly linkLike: "LINK_LIKE";
452
- [variationName: string]: string;
453
- };
454
-
455
- export type DecorativeModifiers = Readonly<{
456
- bordersDisguising: "BORDERS_DISGUISING";
457
- noBackground: "NO_BACKGROUND";
458
- noBackgroundInDefaultState: "NO_BACKGROUND_IN_DEFAULT_STATE";
459
- }>;
460
-
461
- }
462
-
463
-
464
- export default Button;
@@ -1,3 +0,0 @@
1
- span.Button--YDF.Button--YDF__LoadingPlaceholder(
2
- :class="rootElementModifierCSS_Classes"
3
- )
@@ -1,82 +0,0 @@
1
- /* ─── Assets ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
2
- import componentVueTemplate from "./Button-LoadingPlaceholder.vue.pug";
3
-
4
- /* ─── GUI Components ─────────────────────────────────────────────────────────────────────────────────────────────── */
5
- import Button from "../Button.vue";
6
-
7
- /* ─── Validations ─────────────────────────────────────────────────────────────────────────────────────── */
8
- import ThemeVuePropertyValidator from "../../../../_VuePropertiesValidators/ThemeVuePropertyValidator";
9
- import GeometricVariationVuePropertyValidator from "../../../../_VuePropertiesValidators/GeometricVariationVuePropertyValidator";
10
- import GeometricModifiersVuePropertyValidator from "../../../../_VuePropertiesValidators/GeometricModifiersVuePropertyValidator";
11
- import preventNullForOptionalVueProperty from "../../../../_Decorators/preventNullForOptionalVueProperty";
12
-
13
- /* ─── Framework ──────────────────────────────────────────────────────────────────────────────────────────────────── */
14
- import {
15
- ComponentBase as VueComponentConfiguration,
16
- Vue as VueComponent,
17
- Prop as VueProperty
18
- } from "vue-facing-decorator";
19
-
20
- /* ─── Utils ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
21
- import YDF_ComponentsCoordinator from "../../../../YDF_ComponentsCoordinator";
22
- import type { ElementOfPseudoEnumeration } from "@yamato-daiwa/es-extensions";
23
-
24
-
25
- @VueComponentConfiguration({
26
- name: "Button--YDF__LoadingPlaceholder",
27
- template: componentVueTemplate
28
- })
29
- export default class ButtonLoadingPlaceholder extends VueComponent {
30
-
31
- @VueProperty({
32
- type: String,
33
- default: Button.Themes.regular,
34
- validator: ThemeVuePropertyValidator({
35
- Themes: Button.Themes,
36
- CSS_NAMESPACE: "Button--YDF__LoadingPlaceholder"
37
- })
38
- })
39
- @preventNullForOptionalVueProperty
40
- protected readonly theme!: string;
41
-
42
- @VueProperty({ type: Boolean, default: Button.areThemesCSS_ClassesCommon })
43
- @preventNullForOptionalVueProperty
44
- protected readonly areThemesCSS_ClassesCommon!: boolean;
45
-
46
-
47
- @VueProperty({
48
- type: String,
49
- default: Button.GeometricVariations.regular,
50
- validator: GeometricVariationVuePropertyValidator({
51
- GeometricVariations: Button.GeometricVariations,
52
- CSS_NAMESPACE: "Button--YDF__LoadingPlaceholder"
53
- })
54
- })
55
- @preventNullForOptionalVueProperty
56
- protected readonly geometricVariation!: string;
57
-
58
- @VueProperty({
59
- type: Array,
60
- default: (): ReadonlyArray<Button.GeometricModifiers> => [],
61
- validator: GeometricModifiersVuePropertyValidator({
62
- GeometricModifiers: Button.GeometricModifiers,
63
- CSS_NAMESPACE: "Button--YDF__LoadingPlaceholder"
64
- })
65
- })
66
- @preventNullForOptionalVueProperty
67
- protected readonly geometricModifiers!: ReadonlyArray<ElementOfPseudoEnumeration<Button.GeometricModifiers>>;
68
-
69
-
70
- protected get rootElementModifierCSS_Classes(): ReadonlyArray<string> {
71
- return YDF_ComponentsCoordinator.generateRootElementModifierCSS_Classes({
72
- CSS_Namespace: Button.CSS_NAMESPACE,
73
- activeTheme: this.theme,
74
- allThemes: Button.Themes,
75
- areThemesCSS_ClassesCommon: this.areThemesCSS_ClassesCommon,
76
- activeGeometricVariation: this.geometricVariation,
77
- allGeometricVariations: Button.GeometricVariations,
78
- activeGeometricModifiers: this.geometricModifiers
79
- });
80
- }
81
-
82
- }
@@ -1,64 +0,0 @@
1
- .ValidatableControlShell--YDF(
2
- :class="rootElementModifierCSS_Classes"
3
- )
4
-
5
- .ValidatableControlShell--YDF-Header(
6
- v-if="mustDisplayHeader"
7
- )
8
-
9
- label.ValidatableControlShell--YDF-Label(
10
- v-if="label"
11
- :for="coreElementHTML_ID"
12
- :id="labelElementHTML_ID"
13
- ) {{ label }}
14
-
15
- Badge.ValidatableControlShell--YDF-Badge.ValidatableControlShell--YDF-Badge__Required(
16
- v-if="mustDisplayRequiredInputBadge"
17
- :valueLabel="localization.requirementBadges.required"
18
- :theme="badgeTheme"
19
- :geometricVariation="badgeGeometricVariation"
20
- :geometricModifiers="[ Badge.GeometricModifiers.pillShape ]"
21
- :decorativeVariation="requiredInputBadgeDecorativeVariation"
22
- )
23
-
24
- Badge.ValidatableControlShell--YDF-Badge.ValidatableControlShell--YDF-Badge__Optional(
25
- v-else-if="mustDisplayOptionalInputBadge"
26
- :valueLabel="localization.requirementBadges.optional"
27
- :theme="badgeTheme"
28
- :geometricVariation="badgeGeometricVariation"
29
- :geometricModifiers="[ Badge.GeometricModifiers.pillShape ]"
30
- :decorativeVariation="optionalInputBadgeDecorativeVariation"
31
- )
32
-
33
- Badge.ValidatableControlShell--YDF-Badge.ValidatableControlShell--YDF-Badge__Invisible(
34
- v-else-if="mustAddInvisibleBadgeForHeightEqualizingWhenNoBadge"
35
- :valueLabel="localization.requirementBadges.optional"
36
- :theme="badgeTheme"
37
- :geometricVariation="badgeGeometricVariation"
38
- :geometricModifiers="[ Badge.GeometricModifiers.pillShape ]"
39
- :decorativeVariation="optionalInputBadgeDecorativeVariation"
40
- )
41
-
42
-
43
- p.ValidatableControlShell--YDF-Guidance(
44
- v-if="formattedGuidance"
45
- v-html="formattedGuidance"
46
- )
47
-
48
-
49
- .ValidatableControlShell--YDF-MainSlotCustomizableWrapper(
50
- :class="mainSlotWrapperAdditionalCSS_Classes"
51
- )
52
- slot
53
-
54
-
55
- VerticallySlidingAlwaysMountedContainer.ValidatableControlShell--YDF-ValidationErrorsMessagesList(
56
- :modelValue="invalidInputHighlightingIfAnyValidationErrorsMessages && validationErrorsMessages.length > 0"
57
- tag="ul"
58
- :duration="errorsListExpandingAnimationDuration__milliseconds"
59
- )
60
-
61
- li.ValidatableControlShell--YDF-ValidationErrorsMessagesList-Item(
62
- v-for="validationErrorMessage of validationErrorsMessagesCopyForAnimating"
63
- :key="validationErrorMessage"
64
- ) {{ validationErrorMessage }}