@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.
- package/Distributable/Functions/Routing/extractVueRouteQueryParameterAsArray.d.ts +6 -0
- package/Distributable/Functions/getElementByVueReference.d.ts +23 -0
- package/Distributable/GUI_Components/AdmonitionBlock/AdmonitionBlock.vue.d.ts +52 -0
- package/Distributable/GUI_Components/AdmonitionBlock/AdmonitionBlockLogic.vue.d.ts +51 -0
- package/Distributable/GUI_Components/Badge/Badge.vue.d.ts +61 -0
- package/Distributable/GUI_Components/Badge/LoadingPlaceholder/Badge-LoadingPlaceholder.vue.d.ts +10 -0
- package/Distributable/GUI_Components/ComponentsAuxiliaries.d.ts +42 -0
- package/Distributable/GUI_Components/Controls/Buttons/Closing/ClosingButton.vue.d.ts +54 -0
- package/Distributable/GUI_Components/Controls/Buttons/HamburgerMenu/HamburgerMenuButton-ForInheritance.vue.d.ts +56 -0
- package/Distributable/GUI_Components/Controls/Buttons/HamburgerMenu/HamburgerMenuButton.vue.d.ts +55 -0
- package/Distributable/GUI_Components/Controls/Buttons/Plain/Button.vue.d.ts +88 -0
- package/Distributable/GUI_Components/Controls/Buttons/Plain/LoadingPlaceholder/Button-LoadingPlaceholder.vue.d.ts +10 -0
- package/Distributable/GUI_Components/Controls/InputtableControl.d.ts +17 -0
- package/Distributable/GUI_Components/Controls/ValidatableControl.d.ts +51 -0
- package/Distributable/GUI_Components/Controls/ValidatableControlShell/ValidatableControlShell.vue.d.ts +92 -0
- package/Distributable/GUI_Components/Controls/Validatables/InputtableControl.d.ts +25 -0
- package/Distributable/GUI_Components/Controls/Validatables/InputtableControl.vue.d.ts +25 -0
- package/Distributable/GUI_Components/Controls/Validatables/TextBox/TextBox.vue.d.ts +124 -0
- package/Distributable/GUI_Components/Controls/Validatables/ValidatableControl.d.ts +54 -0
- package/Distributable/GUI_Components/Controls/Validatables/ValidatableControlsGroup.d.ts +38 -0
- package/Distributable/GUI_Components/YDF_ComponentsCoordinator.d.ts +103 -0
- package/Distributable/GUI_Components/_Decorators/AccessibleFromTemplateAsNonReactive.d.ts +2 -0
- package/Distributable/GUI_Components/_Decorators/NonReactiveData.d.ts +1 -0
- package/Distributable/GUI_Components/_Decorators/NonReactiveVueData.d.ts +1 -0
- package/Distributable/GUI_Components/_Decorators/OptionalButNotNullableVueProperty.d.ts +2 -0
- package/Distributable/GUI_Components/_Decorators/preventNullForOptionalVueProperty.d.ts +2 -0
- package/Distributable/GUI_Components/_Errors/ForbiddenNullValueOfOptionalVueProperty/ForbiddenNullValueOfOptionalVuePropertyError.d.ts +19 -0
- package/Distributable/GUI_Components/_Errors/ForbiddenNullValueOfOptionalVueProperty/ForbiddenNullValueOfOptionalVuePropertyErrorLocalization.english.d.ts +3 -0
- package/Distributable/GUI_Components/_Errors/InvalidVuePropertiesCombination/InvalidVuePropertiesCombinationError.d.ts +19 -0
- package/Distributable/GUI_Components/_Errors/InvalidVuePropertiesCombination/InvalidVuePropertiesCombinationErrorLocalization.english.d.ts +3 -0
- package/Distributable/GUI_Components/_Errors/InvalidVueProperty/InvalidVuePropertyError.d.ts +20 -0
- package/Distributable/GUI_Components/_Errors/InvalidVueProperty/InvalidVuePropertyErrorLocalization.english.d.ts +3 -0
- package/Distributable/GUI_Components/_Errors/VueComponentImplementationHasNotBeenSet/VueComponentImplementationHasNotBeenSet.d.ts +18 -0
- package/Distributable/GUI_Components/_Errors/VueComponentImplementationHasNotBeenSet/VueComponentImplementationHasNotBeenSetErrorLocalization.english.d.ts +3 -0
- package/Distributable/GUI_Components/_Errors/VueComponentNotFound/VueComponentNotFoundError.d.ts +22 -0
- package/Distributable/GUI_Components/_Errors/VueComponentNotFound/VueComponentNotFoundErrorLocalization.english.d.ts +3 -0
- package/Distributable/GUI_Components/_Utils/VuePropertiesValidationMessagesGenerators/generateInvalidDecorativeVariationVuePropertyValidationMessage.d.ts +4 -0
- package/Distributable/GUI_Components/_Utils/VuePropertiesValidationMessagesGenerators/generateInvalidGeometricVariationVuePropertyValidationMessage.d.ts +4 -0
- package/Distributable/GUI_Components/_Utils/VuePropertiesValidationMessagesGenerators/generateInvalidThemeVuePropertyValidationMessage.d.ts +4 -0
- package/Distributable/GUI_Components/_Utils/VuePropertiesValidationMessagesGenerators/generateVuePropertyMustBeEitherEmptyStringOrUndefinedValidationMessage.d.ts +2 -0
- package/Distributable/GUI_Components/_Utils/VuePropertiesValidationMessagesGenerators/generateVuePropertyMustBeNonEmptyStringOrUndefinedValidationMessage.d.ts +2 -0
- package/Distributable/GUI_Components/_Utils/validateVuePropertyAndLogIfInvalid.d.ts +4 -0
- package/Distributable/GUI_Components/_VuePropertiesValidators/BooleanVuePropertyValidator.d.ts +5 -0
- package/Distributable/GUI_Components/_VuePropertiesValidators/DecorativeModifiersVuePropertyValidator.d.ts +6 -0
- package/Distributable/GUI_Components/_VuePropertiesValidators/DecorativeVariationVuePropertyValidator.d.ts +6 -0
- package/Distributable/GUI_Components/_VuePropertiesValidators/ElementOfEnumerationVuePropertyValidator.d.ts +9 -0
- package/Distributable/GUI_Components/_VuePropertiesValidators/GeometricModifiersVuePropertyValidator.d.ts +6 -0
- package/Distributable/GUI_Components/_VuePropertiesValidators/GeometricVariationVuePropertyValidator.d.ts +6 -0
- package/Distributable/GUI_Components/_VuePropertiesValidators/NaturalNumberOrZeroVuePropertyValidator.d.ts +5 -0
- package/Distributable/GUI_Components/_VuePropertiesValidators/NonEmptyStringVuePropertyValidator.d.ts +5 -0
- package/Distributable/GUI_Components/_VuePropertiesValidators/ThemeVuePropertyValidator.d.ts +6 -0
- package/Distributable/GUI_Components/_VuePropertiesValidators/VuePropertyValidator.d.ts +10 -0
- package/{Source/index.ts → Distributable/index.d.ts} +151 -233
- package/Distributable/index.js +1 -0
- package/package.json +4 -1
- package/.idea/.name +0 -1
- package/.idea/Main.iml +0 -12
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/file.template.settings.xml +0 -8
- package/.idea/fileTemplates/SVG Icon component.vue +0 -16
- package/.idea/icon.svg +0 -1
- package/.idea/inspectionProfiles/Project_Default.xml +0 -11
- package/.idea/misc.xml +0 -5
- package/.idea/modules.xml +0 -8
- package/.idea/runConfigurations/Generate_TypeScript_Types.xml +0 -12
- package/.idea/runConfigurations/Lint.xml +0 -12
- package/.idea/runConfigurations/Rebuild_Distributable.xml +0 -12
- package/.idea/runConfigurations/Start_Workbenches.xml +0 -12
- package/.idea/vcs.xml +0 -6
- package/.pug-lintrc +0 -4
- package/Project.d.ts +0 -10
- package/Source/Functions/Routing/extractVueRouteQueryParameterAsArray.ts +0 -65
- package/Source/Functions/getElementByVueReference.ts +0 -127
- package/Source/GUI_Components/AdmonitionBlock/AdmonitionBlock.vue +0 -67
- package/Source/GUI_Components/AdmonitionBlock/AdmonitionBlock.vue.d.ts +0 -48
- package/Source/GUI_Components/AdmonitionBlock/AdmonitionBlockLogic.vue.ts +0 -254
- package/Source/GUI_Components/Badge/Badge.vue.pug +0 -12
- package/Source/GUI_Components/Badge/Badge.vue.ts +0 -240
- package/Source/GUI_Components/Badge/LoadingPlaceholder/Badge-LoadingPlaceholder.vue.pug +0 -3
- package/Source/GUI_Components/Badge/LoadingPlaceholder/Badge-LoadingPlaceholder.vue.ts +0 -93
- package/Source/GUI_Components/Controls/Buttons/Closing/ClosingButton.vue.pug +0 -1
- package/Source/GUI_Components/Controls/Buttons/Closing/ClosingButton.vue.ts +0 -224
- package/Source/GUI_Components/Controls/Buttons/HamburgerMenu/HamburgerMenuButton-ForInheritance.vue.ts +0 -253
- package/Source/GUI_Components/Controls/Buttons/HamburgerMenu/HamburgerMenuButton.vue +0 -24
- package/Source/GUI_Components/Controls/Buttons/HamburgerMenu/HamburgerMenuButton.vue.d.ts +0 -45
- package/Source/GUI_Components/Controls/Buttons/HamburgerMenu/HamburgerMenuButton.vue.pug +0 -0
- package/Source/GUI_Components/Controls/Buttons/Plain/Button.vue.pug +0 -70
- package/Source/GUI_Components/Controls/Buttons/Plain/Button.vue.ts +0 -464
- package/Source/GUI_Components/Controls/Buttons/Plain/LoadingPlaceholder/Button-LoadingPlaceholder.vue.pug +0 -3
- package/Source/GUI_Components/Controls/Buttons/Plain/LoadingPlaceholder/Button-LoadingPlaceholder.vue.ts +0 -82
- package/Source/GUI_Components/Controls/ValidatableControlShell/ValidatableControlShell.vue.pug +0 -64
- package/Source/GUI_Components/Controls/ValidatableControlShell/ValidatableControlShell.vue.ts +0 -478
- package/Source/GUI_Components/Controls/Validatables/InputtableControl.vue.ts +0 -233
- package/Source/GUI_Components/Controls/Validatables/TextBox/TextBox.vue.pug +0 -67
- package/Source/GUI_Components/Controls/Validatables/TextBox/TextBox.vue.ts +0 -702
- package/Source/GUI_Components/Controls/Validatables/ValidatableControl.ts +0 -268
- package/Source/GUI_Components/Controls/Validatables/ValidatableControlsGroup.ts +0 -176
- package/Source/GUI_Components/OverflowSafeSingleLineLabel.vue +0 -32
- package/Source/GUI_Components/ThemesShowcase.vue +0 -123
- package/Source/GUI_Components/YDF_ComponentsCoordinator.ts +0 -317
- package/Source/GUI_Components/_Decorators/AccessibleFromTemplateAsNonReactive.ts +0 -67
- package/Source/GUI_Components/_Decorators/NonReactiveVueData.ts +0 -26
- package/Source/GUI_Components/_Decorators/preventNullForOptionalVueProperty.ts +0 -64
- package/Source/GUI_Components/_Errors/ForbiddenNullValueOfOptionalVueProperty/ForbiddenNullValueOfOptionalVuePropertyError.ts +0 -47
- package/Source/GUI_Components/_Errors/ForbiddenNullValueOfOptionalVueProperty/ForbiddenNullValueOfOptionalVuePropertyErrorLocalization.english.ts +0 -24
- package/Source/GUI_Components/_Errors/InvalidVuePropertiesCombination/InvalidVuePropertiesCombinationError.ts +0 -40
- package/Source/GUI_Components/_Errors/InvalidVuePropertiesCombination/InvalidVuePropertiesCombinationErrorLocalization.english.ts +0 -15
- package/Source/GUI_Components/_Errors/InvalidVueProperty/InvalidVuePropertyError.ts +0 -43
- package/Source/GUI_Components/_Errors/InvalidVueProperty/InvalidVuePropertyErrorLocalization.english.ts +0 -16
- package/Source/GUI_Components/_Errors/VueComponentImplementationHasNotBeenSet/VueComponentImplementationHasNotBeenSet.ts +0 -39
- package/Source/GUI_Components/_Errors/VueComponentImplementationHasNotBeenSet/VueComponentImplementationHasNotBeenSetErrorLocalization.english.ts +0 -17
- package/Source/GUI_Components/_Errors/VueComponentNotFound/VueComponentNotFoundError.ts +0 -46
- package/Source/GUI_Components/_Errors/VueComponentNotFound/VueComponentNotFoundErrorLocalization.english.ts +0 -22
- package/Source/GUI_Components/_VuePropertiesValidators/BooleanVuePropertyValidator.ts +0 -25
- package/Source/GUI_Components/_VuePropertiesValidators/DecorativeModifiersVuePropertyValidator.ts +0 -22
- package/Source/GUI_Components/_VuePropertiesValidators/DecorativeVariationVuePropertyValidator.ts +0 -23
- package/Source/GUI_Components/_VuePropertiesValidators/ElementOfEnumerationVuePropertyValidator.ts +0 -29
- package/Source/GUI_Components/_VuePropertiesValidators/GeometricModifiersVuePropertyValidator.ts +0 -22
- package/Source/GUI_Components/_VuePropertiesValidators/GeometricVariationVuePropertyValidator.ts +0 -23
- package/Source/GUI_Components/_VuePropertiesValidators/NaturalNumberOrZeroVuePropertyValidator.ts +0 -25
- package/Source/GUI_Components/_VuePropertiesValidators/NonEmptyStringVuePropertyValidator.ts +0 -25
- package/Source/GUI_Components/_VuePropertiesValidators/ThemeVuePropertyValidator.ts +0 -23
- package/Source/GUI_Components/_VuePropertiesValidators/VuePropertyValidator.ts +0 -51
- package/Source/SVG_Icons/Achievement/AchievementIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Achievement/AchievementIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/Bell/BellIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Bracket/CurlyBracketIcon__Closing.vue +0 -16
- package/Source/SVG_Icons/Bracket/CurlyBracketIcon__Opening.vue +0 -16
- package/Source/SVG_Icons/Bracket/RoundBracketIcon__Closing.vue +0 -16
- package/Source/SVG_Icons/Bracket/RoundBracketIcon__Opening.vue +0 -16
- package/Source/SVG_Icons/Bracket/SquareBracketIcon__Closing.vue +0 -16
- package/Source/SVG_Icons/Bracket/SquareBracketIcon__Opening.vue +0 -16
- package/Source/SVG_Icons/Calendar/CalendarIcon.vue +0 -16
- package/Source/SVG_Icons/Calendar/CalendarIcon__Date.vue +0 -16
- package/Source/SVG_Icons/Calendar/CalendarIcon__Repeat.vue +0 -16
- package/Source/SVG_Icons/Calendar/CalendarIcon__Time.vue +0 -16
- package/Source/SVG_Icons/Checkmark/CheckboxIcon__Checked.vue +0 -16
- package/Source/SVG_Icons/Checkmark/CheckboxIcon__Unchecked.vue +0 -16
- package/Source/SVG_Icons/Checkmark/CheckmarkIcon__Circled__Filled.vue +0 -16
- package/Source/SVG_Icons/Checkmark/CheckmarkIcon__Circled__Outlined.vue +0 -16
- package/Source/SVG_Icons/Chevron/ChevronIcon__Downward.vue +0 -16
- package/Source/SVG_Icons/Chevron/ChevronIcon__Leftward.vue +0 -16
- package/Source/SVG_Icons/Chevron/ChevronIcon__Rightward.vue +0 -16
- package/Source/SVG_Icons/Chevron/ChevronIcon__Upward.vue +0 -16
- package/Source/SVG_Icons/Comment/CommentIcon__Dots__Filled.vue +0 -16
- package/Source/SVG_Icons/Comment/CommentIcon__Dots__Outlined.vue +0 -16
- package/Source/SVG_Icons/Comment/CommentIcon__Lines__Filled.vue +0 -16
- package/Source/SVG_Icons/Comment/CommentIcon__Lines__Outlined.vue +0 -16
- package/Source/SVG_Icons/Comment/CommentIcon__Minus__Filled.vue +0 -16
- package/Source/SVG_Icons/Comment/CommentIcon__Minus__Outlined.vue +0 -16
- package/Source/SVG_Icons/Comment/CommentIcon__Pen__Filled.vue +0 -16
- package/Source/SVG_Icons/Comment/CommentIcon__Pen__Outlined.vue +0 -16
- package/Source/SVG_Icons/Comment/CommentIcon__Plus__Filled.vue +0 -16
- package/Source/SVG_Icons/Comment/CommentIcon__Plus__Outlined.vue +0 -16
- package/Source/SVG_Icons/Comment/CommentIcon__Qotemark__Filled.vue +0 -16
- package/Source/SVG_Icons/Comment/CommentIcon__Qotemark__Outlined.vue +0 -16
- package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Circled__Filled.vue +0 -16
- package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Circled__Outlined.vue +0 -16
- package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Octagoned__Filled.vue +0 -16
- package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Octagoned__Outlined.vue +0 -16
- package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Rectangled__Filled.vue +0 -16
- package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Rectangled__Outlined.vue +0 -16
- package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Triangled__Filled.vue +0 -16
- package/Source/SVG_Icons/ExclamationMark/ExclamationMarkIcon__Triangled__Outlined.vue +0 -16
- package/Source/SVG_Icons/Filtering/FilteringIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/Folder/FolderIcon__ExclamationMark__Filled.vue +0 -16
- package/Source/SVG_Icons/Folder/FolderIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Folder/FolderIcon__MultiplicationSign__Filled.vue +0 -16
- package/Source/SVG_Icons/Folder/FolderIcon__Person__Filled.vue +0 -16
- package/Source/SVG_Icons/Folder/FolderIcon__Plus__Filled.vue +0 -16
- package/Source/SVG_Icons/Folder/FolderIcon__Stationery.vue +0 -16
- package/Source/SVG_Icons/HamburgerMenu/HamburgerMenuIcon.vue +0 -7
- package/Source/SVG_Icons/Heart/HeartIcon__Broken__Filled.vue +0 -16
- package/Source/SVG_Icons/Heart/HeartIcon__Broken__Outlined.vue +0 -16
- package/Source/SVG_Icons/Heart/HeartIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Heart/HeartIcon__Half.vue +0 -16
- package/Source/SVG_Icons/Heart/HeartIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/Inbox/InboxIcon.vue +0 -16
- package/Source/SVG_Icons/Inbox/InboxIcon__DownwardArrow.vue +0 -16
- package/Source/SVG_Icons/InfoSign/InfoSignIcon__Circled__Filled.vue +0 -16
- package/Source/SVG_Icons/InfoSign/InfoSignIcon__Circled__Outlined.vue +0 -16
- package/Source/SVG_Icons/Like/LikeIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Like/LikeIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/Like/UnlikeIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Like/UnlikeIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/List/ChecklistIcon.vue +0 -16
- package/Source/SVG_Icons/MagnifyingGlass/MagnifyingGlassIcon.vue +0 -16
- package/Source/SVG_Icons/MagnifyingGlass/ZoomInIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/MagnifyingGlass/ZoomInIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/MagnifyingGlass/ZoomingInIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/MagnifyingGlass/ZoomingOutIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Mail/MailIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Mail/MailIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/MapAndLocation/LocationIcon.vue +0 -16
- package/Source/SVG_Icons/MapAndLocation/LocationIcon__BottomCircle.vue +0 -16
- package/Source/SVG_Icons/MapAndLocation/MapIcon__Clock.vue +0 -16
- package/Source/SVG_Icons/Menu/MenuIcon__ThreeDots__Horizontal.vue +0 -16
- package/Source/SVG_Icons/Menu/MenuIcon__ThreeDots__Horizontal__Circled__Filled.vue +0 -16
- package/Source/SVG_Icons/Menu/MenuIcon__ThreeDots__Horizontal__Circled__Outlined.vue +0 -16
- package/Source/SVG_Icons/Menu/MenuIcon__ThreeDots__Vertical.vue +0 -16
- package/Source/SVG_Icons/Menu/MenuIcon__ThreeDots__Vertical__Circled__Filled.vue +0 -16
- package/Source/SVG_Icons/Menu/MenuIcon__ThreeDots__Vertical__Circled__Outlined.vue +0 -16
- package/Source/SVG_Icons/MultiplicationSign/MultiplicationSignIcon.vue +0 -16
- package/Source/SVG_Icons/MultiplicationSign/MultiplicationSignIcon__Bold.vue +0 -16
- package/Source/SVG_Icons/MultiplicationSign/MultiplicationSignIcon__Boxed__Filled.vue +0 -16
- package/Source/SVG_Icons/MultiplicationSign/MultiplicationSignIcon__Boxed__Outlined.vue +0 -16
- package/Source/SVG_Icons/MultiplicationSign/MultiplicationSignIcon__Octagoned__Filled.vue +0 -16
- package/Source/SVG_Icons/MultiplicationSign/MultiplicationSignIcon__Octagoned__Outlined.vue +0 -16
- package/Source/SVG_Icons/Pencil/PencilIcon__Boxed__Filled.vue +0 -16
- package/Source/SVG_Icons/Pencil/PencilIcon__Boxed__Outlined.vue +0 -16
- package/Source/SVG_Icons/Pencil/PencilIcon__Circled__Filled.vue +0 -16
- package/Source/SVG_Icons/Pencil/PencilIcon__Circled__Outlined.vue +0 -16
- package/Source/SVG_Icons/Pencil/PencilIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Pencil/PencilIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/Pencil/PencilWithLockIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Pencil/PencilWithLockIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/Pencil/PencilWithPlusSignIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Pencil/PencilWithPlusSignIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/Person/PersonIcon__Clock__Rectangled__Filled.vue +0 -16
- package/Source/SVG_Icons/Phone/PhoneIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Phone/PhoneIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/Phone/TelephoneIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/QuestionMark/QuestionMarkIcon__Circled__Filled.vue +0 -16
- package/Source/SVG_Icons/QuestionMark/QuestionMarkIcon__Circled__Outlined.vue +0 -16
- package/Source/SVG_Icons/QuoteMark/QuoteMarkIcon_Upward__Outlined.vue +0 -16
- package/Source/SVG_Icons/QuoteMark/QuoteMarkIcon__Downward__Filled.vue +0 -16
- package/Source/SVG_Icons/QuoteMark/QuoteMarkIcon__Downward__Outlined.vue +0 -16
- package/Source/SVG_Icons/QuoteMark/QuoteMarkIcon__Upward__Filled.vue +0 -16
- package/Source/SVG_Icons/SocialNetworks/FacebookIcon.vue +0 -16
- package/Source/SVG_Icons/SocialNetworks/GoogleIcon.vue +0 -16
- package/Source/SVG_Icons/SocialNetworks/InstagramIcon.vue +0 -16
- package/Source/SVG_Icons/SocialNetworks/LinkedInIcon.vue +0 -16
- package/Source/SVG_Icons/SocialNetworks/RSS_Icon.vue +0 -16
- package/Source/SVG_Icons/SocialNetworks/RedditIcon.vue +0 -16
- package/Source/SVG_Icons/SocialNetworks/SkypeIcon.vue +0 -16
- package/Source/SVG_Icons/SocialNetworks/TwitterIcon.vue +0 -16
- package/Source/SVG_Icons/SocialNetworks/YouTubeIcon.vue +0 -16
- package/Source/SVG_Icons/Star/StarIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/Star/StarIcon__Half.vue +0 -16
- package/Source/SVG_Icons/Star/StarIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/Star/StarIcon__Plus__Filled.vue +0 -16
- package/Source/SVG_Icons/Star/StarIcon__Plus__Outlined.vue +0 -16
- package/Source/SVG_Icons/Timeline/TimelineIcon.vue +0 -16
- package/Source/SVG_Icons/TrashCan/TrashCanIcon__Filled.vue +0 -16
- package/Source/SVG_Icons/TrashCan/TrashCanIcon__Outlined.vue +0 -16
- package/Source/SVG_Icons/Triangle/TriangleIcon__Downward__Circled__Filled.vue +0 -16
- package/Source/SVG_Icons/Triangle/TriangleIcon__Downward__Filled.vue +0 -16
- package/Source/SVG_Icons/Triangle/TriangleIcon__Leftward__Circled__Filled.vue +0 -16
- package/Source/SVG_Icons/Triangle/TriangleIcon__Leftward__Filled.vue +0 -16
- package/Source/SVG_Icons/Triangle/TriangleIcon__Rightward__Circled__Filled.vue +0 -16
- package/Source/SVG_Icons/Triangle/TriangleIcon__Rightward__Filled.vue +0 -16
- package/Source/SVG_Icons/Triangle/TriangleIcon__Upward__Circled__Filled.vue +0 -16
- package/Source/SVG_Icons/Triangle/TriangleIcon__Upward__Filled.vue +0 -16
- package/Workbenches/Source/Decorators/Decorators.workbench.pug +0 -20
- package/Workbenches/Source/Decorators/Decorators.workbench.ts +0 -5
- package/Workbenches/Source/Decorators/DecoratorsWorkbench.vue +0 -69
- package/Workbenches/Source/GUI_Components/AdmonitionBlock/AdmonitionBlock.workbench.pug +0 -20
- package/Workbenches/Source/GUI_Components/AdmonitionBlock/AdmonitionBlock.workbench.ts +0 -5
- package/Workbenches/Source/GUI_Components/AdmonitionBlock/AdmonitionBlockComponentTestSite.vue +0 -44
- package/Workbenches/Source/GUI_Components/Badge/Badge.workbench.pug +0 -20
- package/Workbenches/Source/GUI_Components/Badge/Badge.workbench.ts +0 -5
- package/Workbenches/Source/GUI_Components/Badge/BadgeBlockComponentTestSite.vue +0 -44
- package/Workbenches/Source/GUI_Components/Controls/Buttons/Plain/Button.workbench.pug +0 -20
- package/Workbenches/Source/GUI_Components/Controls/Buttons/Plain/Button.workbench.ts +0 -5
- package/Workbenches/Source/GUI_Components/Controls/Buttons/Plain/ButtonComponentTestSite.vue +0 -60
- package/Workbenches/Source/GUI_Components/Controls/Validatable/TextBox/TextBox.workbench.pug +0 -20
- package/Workbenches/Source/GUI_Components/Controls/Validatable/TextBox/TextBox.workbench.ts +0 -5
- package/Workbenches/Source/GUI_Components/Controls/Validatable/TextBox/TextBoxWorkbench.vue +0 -86
- package/Workbenches/Source/GUI_Components/Controls/ValidatableControlShell/ValidatableControlShell.workbench.pug +0 -20
- package/Workbenches/Source/GUI_Components/Controls/ValidatableControlShell/ValidatableControlShell.workbench.ts +0 -5
- package/Workbenches/Source/GUI_Components/Controls/ValidatableControlShell/ValidatableControlShellTestSite.vue +0 -68
- package/Workbenches/Source/GUI_Components/OverflowSafeSingleLineLabel/OverflowSafeSingleLineLabel.workbench.pug +0 -20
- package/Workbenches/Source/GUI_Components/OverflowSafeSingleLineLabel/OverflowSafeSingleLineLabel.workbench.ts +0 -5
- package/Workbenches/Source/GUI_Components/OverflowSafeSingleLineLabel/OverflowSafeSingleLineLabelComponentTestSite.vue +0 -100
- package/Workbenches/Source/Workbenches.pug +0 -103
- package/eslint.config.js +0 -44
- package/tsconfig.declarations.json +0 -4
- package/tsconfig.json +0 -21
- package/yda.config.yaml +0 -120
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
/* ─── Assets ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
2
|
-
import componentVueTemplate from "./Badge.vue.pug";
|
|
3
|
-
|
|
4
|
-
/* ─── Validations ─────────────────────────────────────────────────────────────────────────────────────── */
|
|
5
|
-
import VuePropertyValidator from "../_VuePropertiesValidators/VuePropertyValidator";
|
|
6
|
-
import ThemeVuePropertyValidator from "../_VuePropertiesValidators/ThemeVuePropertyValidator";
|
|
7
|
-
import GeometricVariationVuePropertyValidator from "../_VuePropertiesValidators/GeometricVariationVuePropertyValidator";
|
|
8
|
-
import GeometricModifiersVuePropertyValidator from "../_VuePropertiesValidators/GeometricModifiersVuePropertyValidator";
|
|
9
|
-
import DecorativeVariationVuePropertyValidator from "../_VuePropertiesValidators/DecorativeVariationVuePropertyValidator";
|
|
10
|
-
import DecorativeModifiersVuePropertyValidator from "../_VuePropertiesValidators/DecorativeModifiersVuePropertyValidator";
|
|
11
|
-
import NonEmptyStringVuePropertyValidator from "../_VuePropertiesValidators/NonEmptyStringVuePropertyValidator";
|
|
12
|
-
import BooleanVuePropertyValidator from "../_VuePropertiesValidators/BooleanVuePropertyValidator";
|
|
13
|
-
import preventNullForOptionalVueProperty from "../_Decorators/preventNullForOptionalVueProperty";
|
|
14
|
-
|
|
15
|
-
/* ─── Framework ──────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
16
|
-
import {
|
|
17
|
-
ComponentBase as VueComponentConfiguration,
|
|
18
|
-
Vue as VueComponent,
|
|
19
|
-
Prop as VueProperty
|
|
20
|
-
} from "vue-facing-decorator";
|
|
21
|
-
|
|
22
|
-
/* ─── Utils ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
23
|
-
import YDF_ComponentsCoordinator from "../YDF_ComponentsCoordinator";
|
|
24
|
-
import { isNonEmptyString, type ElementOfPseudoEnumeration } from "@yamato-daiwa/es-extensions";
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
@VueComponentConfiguration({
|
|
28
|
-
name: Badge.CSS_NAMESPACE,
|
|
29
|
-
template: componentVueTemplate
|
|
30
|
-
})
|
|
31
|
-
class Badge extends VueComponent {
|
|
32
|
-
|
|
33
|
-
public static CSS_NAMESPACE: string = "Badge--YDF";
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
@VueProperty({
|
|
37
|
-
required: false,
|
|
38
|
-
get validator(): VuePropertyValidator {
|
|
39
|
-
return NonEmptyStringVuePropertyValidator({
|
|
40
|
-
propertyName: "keyLabel",
|
|
41
|
-
componentName: Badge.CSS_NAMESPACE,
|
|
42
|
-
isPropertyRequired: this.required === true
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
})
|
|
46
|
-
@preventNullForOptionalVueProperty
|
|
47
|
-
protected readonly keyLabel?: string;
|
|
48
|
-
|
|
49
|
-
@VueProperty({
|
|
50
|
-
required: true,
|
|
51
|
-
get validator(): VuePropertyValidator {
|
|
52
|
-
return NonEmptyStringVuePropertyValidator({
|
|
53
|
-
propertyName: "valueLabel",
|
|
54
|
-
componentName: Badge.CSS_NAMESPACE,
|
|
55
|
-
isPropertyRequired: this.required === true
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
})
|
|
59
|
-
protected readonly valueLabel!: string;
|
|
60
|
-
|
|
61
|
-
@VueProperty({
|
|
62
|
-
default: "span",
|
|
63
|
-
validator: VuePropertyValidator.create({
|
|
64
|
-
checker: isNonEmptyString,
|
|
65
|
-
messageSpecificPart: "If specified, must be the valid HTML tag name",
|
|
66
|
-
propertyName: "rootElementTag",
|
|
67
|
-
componentName: Badge.CSS_NAMESPACE
|
|
68
|
-
})
|
|
69
|
-
})
|
|
70
|
-
@preventNullForOptionalVueProperty
|
|
71
|
-
protected readonly rootElementTag!: string;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
/* ━━━ Theming ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
|
|
75
|
-
public static readonly Themes: Badge.Themes = { regular: "REGULAR" };
|
|
76
|
-
|
|
77
|
-
@VueProperty({
|
|
78
|
-
default: Badge.Themes.regular,
|
|
79
|
-
validator: ThemeVuePropertyValidator(Badge)
|
|
80
|
-
})
|
|
81
|
-
@preventNullForOptionalVueProperty
|
|
82
|
-
protected readonly theme!: string;
|
|
83
|
-
|
|
84
|
-
public static defineThemes(themesNames: ReadonlyArray<string>): typeof Badge {
|
|
85
|
-
return YDF_ComponentsCoordinator.defineThemes(themesNames, Badge);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
public static areThemesCSS_ClassesCommon: boolean = YDF_ComponentsCoordinator.areThemesCSS_ClassesCommon;
|
|
89
|
-
|
|
90
|
-
public static considerThemesAsCommon(): void {
|
|
91
|
-
Badge.areThemesCSS_ClassesCommon = true;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
@VueProperty({
|
|
95
|
-
default: Badge.areThemesCSS_ClassesCommon,
|
|
96
|
-
get validator(): VuePropertyValidator {
|
|
97
|
-
return BooleanVuePropertyValidator({
|
|
98
|
-
propertyName: "areThemesCSS_ClassesCommon",
|
|
99
|
-
componentName: Badge.CSS_NAMESPACE,
|
|
100
|
-
isPropertyRequired: this.required === true
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
})
|
|
104
|
-
@preventNullForOptionalVueProperty
|
|
105
|
-
protected readonly areThemesCSS_ClassesCommon!: boolean;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
/* ─── Geometry ─────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
109
|
-
public static readonly GeometricVariations: Badge.GeometricVariations = {
|
|
110
|
-
regular: "REGULAR",
|
|
111
|
-
small: "SMALL"
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
@VueProperty({
|
|
115
|
-
default: Badge.GeometricVariations.regular,
|
|
116
|
-
validator: GeometricVariationVuePropertyValidator(Badge)
|
|
117
|
-
})
|
|
118
|
-
@preventNullForOptionalVueProperty
|
|
119
|
-
protected readonly geometricVariation!: string;
|
|
120
|
-
|
|
121
|
-
public static defineGeometricVariations(geometricVariationsNames: ReadonlyArray<string>): typeof Badge {
|
|
122
|
-
return YDF_ComponentsCoordinator.defineGeometricVariations(geometricVariationsNames, Badge);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
public static readonly GeometricModifiers: Badge.GeometricModifiers = {
|
|
126
|
-
pillShape: "PILL_SHAPE",
|
|
127
|
-
singleLine: "SINGLE_LINE"
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
@VueProperty({
|
|
131
|
-
default: (): ReadonlyArray<ElementOfPseudoEnumeration<Badge.GeometricModifiers>> => [],
|
|
132
|
-
validator: GeometricModifiersVuePropertyValidator(Badge)
|
|
133
|
-
})
|
|
134
|
-
@preventNullForOptionalVueProperty
|
|
135
|
-
protected readonly geometricModifiers!: ReadonlyArray<ElementOfPseudoEnumeration<Badge.GeometricModifiers>>;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
/* ─── Decoration ───────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
139
|
-
public static readonly DecorativeVariations: Badge.DecorativeVariations = {
|
|
140
|
-
veryCatchyBright: "VERY_CATCHY_BRIGHT",
|
|
141
|
-
catchyBright: "CATCHY_BRIGHT",
|
|
142
|
-
modestlyCatchyBright: "MODESTLY_CATCHY_BRIGHT",
|
|
143
|
-
neutralBright: "NEUTRAL_BRIGHT",
|
|
144
|
-
modestlyCalmingBright: "MODESTLY_CALMING_BRIGHT",
|
|
145
|
-
calmingBright: "CALMING_BRIGHT",
|
|
146
|
-
achromaticBright: "ACHROMATIC_BRIGHT",
|
|
147
|
-
veryCatchyPastel: "VERY_CATCHY_PASTEL",
|
|
148
|
-
catchyPastel: "CATCHY_PASTEL",
|
|
149
|
-
modestlyCatchyPastel: "MODESTLY_CATCHY_PASTEL",
|
|
150
|
-
neutralPastel: "NEUTRAL_PASTEL",
|
|
151
|
-
modestlyCalmingPastel: "MODESTLY_CALMING_PASTEL",
|
|
152
|
-
calmingPastel: "CALMING_PASTEL",
|
|
153
|
-
achromaticPastel: "ACHROMATIC_PASTEL"
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
@VueProperty({
|
|
157
|
-
required: true,
|
|
158
|
-
validator: DecorativeVariationVuePropertyValidator(Badge)
|
|
159
|
-
})
|
|
160
|
-
protected readonly decorativeVariation!: string;
|
|
161
|
-
|
|
162
|
-
public static defineDecorativeVariations(decorativeVariationsNames: ReadonlyArray<string>): typeof Badge {
|
|
163
|
-
return YDF_ComponentsCoordinator.defineDecorativeVariations(decorativeVariationsNames, Badge);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
public static readonly DecorativeModifiers: Badge.DecorativeModifiers = {
|
|
167
|
-
bordersDisguising: "BORDERS_DISGUISING",
|
|
168
|
-
noBackground: "NO_BACKGROUND"
|
|
169
|
-
};
|
|
170
|
-
|
|
171
|
-
@VueProperty({
|
|
172
|
-
default: (): ReadonlyArray<ElementOfPseudoEnumeration<Badge.DecorativeModifiers>> => [],
|
|
173
|
-
validator: DecorativeModifiersVuePropertyValidator(Badge)
|
|
174
|
-
})
|
|
175
|
-
protected readonly decorativeModifiers!: ReadonlyArray<ElementOfPseudoEnumeration<Badge.DecorativeModifiers>>;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
/* ━━━ CSS Classes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
|
|
179
|
-
protected get rootElementModifierCSS_Classes(): ReadonlyArray<string> {
|
|
180
|
-
return YDF_ComponentsCoordinator.generateRootElementModifierCSS_Classes({
|
|
181
|
-
CSS_Namespace: Badge.CSS_NAMESPACE,
|
|
182
|
-
activeTheme: this.theme,
|
|
183
|
-
allThemes: Badge.Themes,
|
|
184
|
-
areThemesCSS_ClassesCommon: this.areThemesCSS_ClassesCommon,
|
|
185
|
-
activeGeometricVariation: this.geometricVariation,
|
|
186
|
-
allGeometricVariations: Badge.GeometricVariations,
|
|
187
|
-
activeGeometricModifiers: this.geometricModifiers,
|
|
188
|
-
activeDecorativeVariation: this.decorativeVariation,
|
|
189
|
-
allDecorativeVariations: Badge.DecorativeVariations,
|
|
190
|
-
activeDecorativeModifiers: this.decorativeModifiers
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
namespace Badge {
|
|
198
|
-
|
|
199
|
-
export type Themes = {
|
|
200
|
-
readonly regular: "REGULAR";
|
|
201
|
-
[themeName: string]: string;
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
export type GeometricVariations = {
|
|
205
|
-
readonly regular: "REGULAR";
|
|
206
|
-
[variationName: string]: string;
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
export type GeometricModifiers = Readonly<{
|
|
210
|
-
pillShape: "PILL_SHAPE";
|
|
211
|
-
singleLine: "SINGLE_LINE";
|
|
212
|
-
}>;
|
|
213
|
-
|
|
214
|
-
export type DecorativeVariations = {
|
|
215
|
-
readonly veryCatchyBright: "VERY_CATCHY_BRIGHT";
|
|
216
|
-
readonly catchyBright: "CATCHY_BRIGHT";
|
|
217
|
-
readonly modestlyCatchyBright: "MODESTLY_CATCHY_BRIGHT";
|
|
218
|
-
readonly neutralBright: "NEUTRAL_BRIGHT";
|
|
219
|
-
readonly modestlyCalmingBright: "MODESTLY_CALMING_BRIGHT";
|
|
220
|
-
readonly calmingBright: "CALMING_BRIGHT";
|
|
221
|
-
readonly achromaticBright: "ACHROMATIC_BRIGHT";
|
|
222
|
-
readonly veryCatchyPastel: "VERY_CATCHY_PASTEL";
|
|
223
|
-
readonly catchyPastel: "CATCHY_PASTEL";
|
|
224
|
-
readonly modestlyCatchyPastel: "MODESTLY_CATCHY_PASTEL";
|
|
225
|
-
readonly neutralPastel: "NEUTRAL_PASTEL";
|
|
226
|
-
readonly modestlyCalmingPastel: "MODESTLY_CALMING_PASTEL";
|
|
227
|
-
readonly calmingPastel: "CALMING_PASTEL";
|
|
228
|
-
readonly achromaticPastel: "ACHROMATIC_PASTEL";
|
|
229
|
-
[variationName: string]: string;
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
export type DecorativeModifiers = Readonly<{
|
|
233
|
-
bordersDisguising: "BORDERS_DISGUISING";
|
|
234
|
-
noBackground: "NO_BACKGROUND";
|
|
235
|
-
}>;
|
|
236
|
-
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
export default Badge;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/* ─── Assets ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
2
|
-
import componentVueTemplate from "./Badge-LoadingPlaceholder.vue.pug";
|
|
3
|
-
|
|
4
|
-
/* ─── GUI Components ─────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
5
|
-
import Badge from "../Badge.vue";
|
|
6
|
-
|
|
7
|
-
/* ─── Validations ─────────────────────────────────────────────────────────────────────────────────────── */
|
|
8
|
-
import type VuePropertyValidator from "../../_VuePropertiesValidators/VuePropertyValidator";
|
|
9
|
-
import ThemeVuePropertyValidator from "../../_VuePropertiesValidators/ThemeVuePropertyValidator";
|
|
10
|
-
import GeometricVariationVuePropertyValidator from "../../_VuePropertiesValidators/GeometricVariationVuePropertyValidator";
|
|
11
|
-
import GeometricModifiersVuePropertyValidator from "../../_VuePropertiesValidators/GeometricModifiersVuePropertyValidator";
|
|
12
|
-
import preventNullForOptionalVueProperty from "../../_Decorators/preventNullForOptionalVueProperty";
|
|
13
|
-
import BooleanVuePropertyValidator from "../../_VuePropertiesValidators/BooleanVuePropertyValidator";
|
|
14
|
-
|
|
15
|
-
/* ─── Framework ──────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
16
|
-
import {
|
|
17
|
-
ComponentBase as VueComponentConfiguration,
|
|
18
|
-
Vue as VueComponent,
|
|
19
|
-
Prop as VueProperty
|
|
20
|
-
} from "vue-facing-decorator";
|
|
21
|
-
|
|
22
|
-
/* ─── Utils ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
23
|
-
import YDF_ComponentsCoordinator from "../../YDF_ComponentsCoordinator";
|
|
24
|
-
import { type ElementOfPseudoEnumeration } from "@yamato-daiwa/es-extensions";
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
@VueComponentConfiguration({
|
|
28
|
-
name: "Badge--YDF__LoadingPlaceholder",
|
|
29
|
-
template: componentVueTemplate
|
|
30
|
-
})
|
|
31
|
-
export default class BadgeLoadingPlaceholder extends VueComponent {
|
|
32
|
-
|
|
33
|
-
@VueProperty({
|
|
34
|
-
default: Badge.Themes.regular,
|
|
35
|
-
validator: ThemeVuePropertyValidator({
|
|
36
|
-
Themes: Badge.Themes,
|
|
37
|
-
CSS_NAMESPACE: "Badge--YDF__LoadingPlaceholder"
|
|
38
|
-
})
|
|
39
|
-
})
|
|
40
|
-
@preventNullForOptionalVueProperty
|
|
41
|
-
protected readonly theme!: string;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
@VueProperty({
|
|
45
|
-
default: Badge.areThemesCSS_ClassesCommon,
|
|
46
|
-
get validator(): VuePropertyValidator {
|
|
47
|
-
return BooleanVuePropertyValidator({
|
|
48
|
-
propertyName: "areThemesCSS_ClassesCommon",
|
|
49
|
-
componentName: Badge.name,
|
|
50
|
-
isPropertyRequired: this.required === true
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
})
|
|
54
|
-
@preventNullForOptionalVueProperty
|
|
55
|
-
protected readonly areThemesCSS_ClassesCommon!: boolean;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
@VueProperty({
|
|
59
|
-
default: Badge.GeometricVariations.regular,
|
|
60
|
-
validator: GeometricVariationVuePropertyValidator({
|
|
61
|
-
GeometricVariations: Badge.GeometricVariations,
|
|
62
|
-
CSS_NAMESPACE: "Badge--YDF__LoadingPlaceholder"
|
|
63
|
-
})
|
|
64
|
-
})
|
|
65
|
-
@preventNullForOptionalVueProperty
|
|
66
|
-
protected readonly geometricVariation!: string;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
@VueProperty({
|
|
70
|
-
default: (): ReadonlyArray<Badge.GeometricModifiers> => [],
|
|
71
|
-
validator: GeometricModifiersVuePropertyValidator({
|
|
72
|
-
GeometricModifiers: Badge.GeometricModifiers,
|
|
73
|
-
CSS_NAMESPACE: "Badge--YDF__LoadingPlaceholder"
|
|
74
|
-
})
|
|
75
|
-
})
|
|
76
|
-
@preventNullForOptionalVueProperty
|
|
77
|
-
protected readonly geometricModifiers!: ReadonlyArray<ElementOfPseudoEnumeration<Badge.GeometricModifiers>>;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
protected get rootElementModifierCSS_Classes(): ReadonlyArray<string> {
|
|
81
|
-
return YDF_ComponentsCoordinator.generateRootElementModifierCSS_Classes({
|
|
82
|
-
CSS_Namespace: Badge.CSS_NAMESPACE,
|
|
83
|
-
activeTheme: this.theme,
|
|
84
|
-
allThemes: Badge.Themes,
|
|
85
|
-
areThemesCSS_ClassesCommon: this.areThemesCSS_ClassesCommon,
|
|
86
|
-
activeGeometricVariation: this.geometricVariation,
|
|
87
|
-
allGeometricVariations: Badge.GeometricVariations,
|
|
88
|
-
activeGeometricModifiers: this.geometricModifiers
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ClosingButton--YDF Closing!
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
/* ─── Assets ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
2
|
-
import componentVueTemplate from "./ClosingButton.vue.pug";
|
|
3
|
-
|
|
4
|
-
/* ─── Validations ─────────────────────────────────────────────────────────────────────────────────────── */
|
|
5
|
-
import type 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 preventNullForOptionalVueProperty from "../../../_Decorators/preventNullForOptionalVueProperty";
|
|
15
|
-
|
|
16
|
-
/* ─── Framework ──────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
17
|
-
import {
|
|
18
|
-
ComponentBase as VueComponentConfiguration,
|
|
19
|
-
Vue as VueComponent,
|
|
20
|
-
Prop as VueProperty
|
|
21
|
-
} from "vue-facing-decorator";
|
|
22
|
-
|
|
23
|
-
/* ─── Utils ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
24
|
-
import YDF_ComponentsCoordinator from "../../../YDF_ComponentsCoordinator";
|
|
25
|
-
import { type ElementOfPseudoEnumeration } from "@yamato-daiwa/es-extensions";
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
@VueComponentConfiguration({
|
|
29
|
-
name: ClosingButton.CSS_NAMESPACE,
|
|
30
|
-
template: componentVueTemplate
|
|
31
|
-
})
|
|
32
|
-
class ClosingButton extends VueComponent {
|
|
33
|
-
|
|
34
|
-
/* ━━━ Static Fields ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
|
|
35
|
-
public static CSS_NAMESPACE: string = "ClosingButton--YDF";
|
|
36
|
-
|
|
37
|
-
public static LabelLetterCases: ClosingButton.LabelLetterCases = {
|
|
38
|
-
uppercase: "UPPERCASE",
|
|
39
|
-
lowercase: "LOWERCASE",
|
|
40
|
-
capitalisation: "CAPITALISATION"
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
/* ━━━ Common Properties ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
|
|
45
|
-
/* ─── Textings ─────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
46
|
-
@VueProperty({
|
|
47
|
-
required: false,
|
|
48
|
-
get validator(): VuePropertyValidator {
|
|
49
|
-
return NonEmptyStringVuePropertyValidator({
|
|
50
|
-
isPropertyRequired: this.required === true,
|
|
51
|
-
propertyName: "customLabel",
|
|
52
|
-
componentName: ClosingButton.CSS_NAMESPACE
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
})
|
|
56
|
-
@preventNullForOptionalVueProperty
|
|
57
|
-
protected readonly customLabel?: string;
|
|
58
|
-
|
|
59
|
-
@VueProperty({
|
|
60
|
-
default: false,
|
|
61
|
-
get validator(): VuePropertyValidator {
|
|
62
|
-
return BooleanVuePropertyValidator({
|
|
63
|
-
propertyName: "noLabel",
|
|
64
|
-
componentName: ClosingButton.CSS_NAMESPACE,
|
|
65
|
-
isPropertyRequired: this.required === true
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
})
|
|
69
|
-
@preventNullForOptionalVueProperty
|
|
70
|
-
protected readonly noLabel!: boolean;
|
|
71
|
-
|
|
72
|
-
@VueProperty({
|
|
73
|
-
default: ClosingButton.LabelLetterCases.lowercase,
|
|
74
|
-
get validator(): VuePropertyValidator {
|
|
75
|
-
return ElementOfEnumerationVuePropertyValidator({
|
|
76
|
-
enumerationFullyQualifiedName: "ClosingButton.LabelLetterCases",
|
|
77
|
-
enumeration: ClosingButton.LabelLetterCases,
|
|
78
|
-
propertyName: "labelLetterCase",
|
|
79
|
-
componentName: ClosingButton.CSS_NAMESPACE,
|
|
80
|
-
isPropertyRequired: this.required === true
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
})
|
|
84
|
-
@preventNullForOptionalVueProperty
|
|
85
|
-
protected readonly labelLetterCase!: ElementOfPseudoEnumeration<ClosingButton.LabelLetterCases>;
|
|
86
|
-
|
|
87
|
-
@VueProperty({
|
|
88
|
-
required: false,
|
|
89
|
-
get validator(): VuePropertyValidator {
|
|
90
|
-
return NonEmptyStringVuePropertyValidator({
|
|
91
|
-
isPropertyRequired: this.required === true,
|
|
92
|
-
propertyName: "accessibilityGuidance",
|
|
93
|
-
componentName: ClosingButton.CSS_NAMESPACE
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
})
|
|
97
|
-
@preventNullForOptionalVueProperty
|
|
98
|
-
protected readonly accessibilityGuidance?: string;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
/* ━━━ Theming ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
|
|
102
|
-
public static readonly Themes: ClosingButton.Themes = { regular: "REGULAR" };
|
|
103
|
-
|
|
104
|
-
@VueProperty({
|
|
105
|
-
default: ClosingButton.Themes.regular,
|
|
106
|
-
validator: ThemeVuePropertyValidator(ClosingButton)
|
|
107
|
-
})
|
|
108
|
-
@preventNullForOptionalVueProperty
|
|
109
|
-
protected readonly theme!: string;
|
|
110
|
-
|
|
111
|
-
public static defineThemes(themesNames: ReadonlyArray<string>): typeof ClosingButton {
|
|
112
|
-
return YDF_ComponentsCoordinator.defineThemes(themesNames, ClosingButton);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
public static areThemesCSS_ClassesCommon: boolean = YDF_ComponentsCoordinator.areThemesCSS_ClassesCommon;
|
|
116
|
-
|
|
117
|
-
public static considerThemesAsCommon(): void {
|
|
118
|
-
ClosingButton.areThemesCSS_ClassesCommon = true;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@VueProperty({
|
|
122
|
-
default: ClosingButton.areThemesCSS_ClassesCommon,
|
|
123
|
-
get validator(): VuePropertyValidator {
|
|
124
|
-
return BooleanVuePropertyValidator({
|
|
125
|
-
propertyName: "areThemesCSS_ClassesCommon",
|
|
126
|
-
componentName: ClosingButton.CSS_NAMESPACE,
|
|
127
|
-
isPropertyRequired: this.required === true
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
})
|
|
131
|
-
@preventNullForOptionalVueProperty
|
|
132
|
-
protected readonly areThemesCSS_ClassesCommon!: boolean;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
/* ─── Geometry ─────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
136
|
-
public static readonly GeometricVariations: ClosingButton.GeometricVariations = { regular: "REGULAR" };
|
|
137
|
-
|
|
138
|
-
@VueProperty({
|
|
139
|
-
default: ClosingButton.GeometricVariations.regular,
|
|
140
|
-
validator: GeometricVariationVuePropertyValidator(ClosingButton)
|
|
141
|
-
})
|
|
142
|
-
@preventNullForOptionalVueProperty
|
|
143
|
-
protected readonly geometricVariation!: string;
|
|
144
|
-
|
|
145
|
-
public static defineGeometricVariations(geometricVariationsNames: ReadonlyArray<string>): typeof ClosingButton {
|
|
146
|
-
return YDF_ComponentsCoordinator.defineGeometricVariations(geometricVariationsNames, ClosingButton);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
public static readonly GeometricModifiers: ClosingButton.GeometricModifiers = { noRoundings: "NO_ROUNDINGS" };
|
|
150
|
-
|
|
151
|
-
@VueProperty({
|
|
152
|
-
default: (): ReadonlyArray<ElementOfPseudoEnumeration<ClosingButton.GeometricModifiers>> => [],
|
|
153
|
-
validator: GeometricModifiersVuePropertyValidator(ClosingButton)
|
|
154
|
-
})
|
|
155
|
-
@preventNullForOptionalVueProperty
|
|
156
|
-
protected readonly geometricModifiers!: ReadonlyArray<ElementOfPseudoEnumeration<ClosingButton.GeometricModifiers>>;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
/* ─── Decoration ───────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
160
|
-
public static readonly DecorativeVariations: ClosingButton.DecorativeVariations = { regular: "REGULAR" };
|
|
161
|
-
|
|
162
|
-
@VueProperty({
|
|
163
|
-
default: ClosingButton.DecorativeVariations.regular,
|
|
164
|
-
validator: DecorativeVariationVuePropertyValidator(ClosingButton)
|
|
165
|
-
})
|
|
166
|
-
@preventNullForOptionalVueProperty
|
|
167
|
-
protected readonly decorativeVariation!: string;
|
|
168
|
-
|
|
169
|
-
public static defineDecorativeVariations(decorativeVariationsNames: ReadonlyArray<string>): typeof ClosingButton {
|
|
170
|
-
return YDF_ComponentsCoordinator.defineDecorativeVariations(decorativeVariationsNames, ClosingButton);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
public static readonly DecorativeModifiers: ClosingButton.DecorativeModifiers = {
|
|
174
|
-
bordersDisguising: "BORDERS_DISGUISING",
|
|
175
|
-
noBackground: "NO_BACKGROUND",
|
|
176
|
-
noBackgroundInDefaultState: "NO_BACKGROUND_IN_DEFAULT_STATE"
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
@VueProperty({
|
|
180
|
-
default: (): ReadonlyArray<ElementOfPseudoEnumeration<ClosingButton.DecorativeModifiers>> => [],
|
|
181
|
-
validator: DecorativeModifiersVuePropertyValidator(ClosingButton)
|
|
182
|
-
})
|
|
183
|
-
protected readonly decorativeModifiers!: ReadonlyArray<ElementOfPseudoEnumeration<ClosingButton.DecorativeModifiers>>;
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
namespace ClosingButton {
|
|
189
|
-
|
|
190
|
-
export type LabelLetterCases = Readonly<{
|
|
191
|
-
uppercase: "UPPERCASE";
|
|
192
|
-
lowercase: "LOWERCASE";
|
|
193
|
-
capitalisation: "CAPITALISATION";
|
|
194
|
-
}>;
|
|
195
|
-
|
|
196
|
-
export type Themes = {
|
|
197
|
-
readonly regular: "REGULAR";
|
|
198
|
-
[themeName: string]: string;
|
|
199
|
-
};
|
|
200
|
-
|
|
201
|
-
export type GeometricVariations = {
|
|
202
|
-
readonly regular: "REGULAR";
|
|
203
|
-
[variationName: string]: string;
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
export type GeometricModifiers = Readonly<{
|
|
207
|
-
noRoundings: "NO_ROUNDINGS";
|
|
208
|
-
}>;
|
|
209
|
-
|
|
210
|
-
export type DecorativeVariations = {
|
|
211
|
-
readonly regular: "REGULAR";
|
|
212
|
-
[variationName: string]: string;
|
|
213
|
-
};
|
|
214
|
-
|
|
215
|
-
export type DecorativeModifiers = Readonly<{
|
|
216
|
-
bordersDisguising: "BORDERS_DISGUISING";
|
|
217
|
-
noBackground: "NO_BACKGROUND";
|
|
218
|
-
noBackgroundInDefaultState: "NO_BACKGROUND_IN_DEFAULT_STATE";
|
|
219
|
-
}>;
|
|
220
|
-
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
export default ClosingButton;
|