@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,12 +0,0 @@
|
|
|
1
|
-
<component name="ProjectRunConfigurationManager">
|
|
2
|
-
<configuration default="false" name="Lint" type="js.build_tools.npm" nameIsGenerated="true">
|
|
3
|
-
<package-json value="$PROJECT_DIR$/package.json" />
|
|
4
|
-
<command value="run" />
|
|
5
|
-
<scripts>
|
|
6
|
-
<script value="Lint" />
|
|
7
|
-
</scripts>
|
|
8
|
-
<node-interpreter value="project" />
|
|
9
|
-
<envs />
|
|
10
|
-
<method v="2" />
|
|
11
|
-
</configuration>
|
|
12
|
-
</component>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<component name="ProjectRunConfigurationManager">
|
|
2
|
-
<configuration default="false" name="Rebuild Distributable" type="js.build_tools.npm">
|
|
3
|
-
<package-json value="$PROJECT_DIR$/package.json" />
|
|
4
|
-
<command value="run" />
|
|
5
|
-
<scripts>
|
|
6
|
-
<script value="Rebuild Distributable" />
|
|
7
|
-
</scripts>
|
|
8
|
-
<node-interpreter value="project" />
|
|
9
|
-
<envs />
|
|
10
|
-
<method v="2" />
|
|
11
|
-
</configuration>
|
|
12
|
-
</component>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<component name="ProjectRunConfigurationManager">
|
|
2
|
-
<configuration default="false" name="Start Workbenches" type="js.build_tools.npm" nameIsGenerated="true">
|
|
3
|
-
<package-json value="$PROJECT_DIR$/package.json" />
|
|
4
|
-
<command value="run" />
|
|
5
|
-
<scripts>
|
|
6
|
-
<script value="Start Workbenches" />
|
|
7
|
-
</scripts>
|
|
8
|
-
<node-interpreter value="project" />
|
|
9
|
-
<envs />
|
|
10
|
-
<method v="2" />
|
|
11
|
-
</configuration>
|
|
12
|
-
</component>
|
package/.idea/vcs.xml
DELETED
package/.pug-lintrc
DELETED
package/Project.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare module "*.vue" {
|
|
2
|
-
import type { DefineComponent } from "vue";
|
|
3
|
-
const component: DefineComponent<{ [key: string]: unknown; }, { [key: string]: unknown; }, unknown>;
|
|
4
|
-
export default component;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
declare module "*.pug" {
|
|
8
|
-
const template: string;
|
|
9
|
-
export default template;
|
|
10
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import type { _RouteLocationBase as VueRouterLocation, LocationQueryValue as VueRouterLocationQueryValue } from "vue-router";
|
|
2
|
-
import {
|
|
3
|
-
isString,
|
|
4
|
-
isUndefined,
|
|
5
|
-
isNotUndefined,
|
|
6
|
-
isEitherUndefinedOrNull
|
|
7
|
-
} from "@yamato-daiwa/es-extensions";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export default function extractVueRouteQueryParameterValueAsArrayOfStrings(
|
|
11
|
-
{
|
|
12
|
-
targetRoute,
|
|
13
|
-
targetQueryParameterKey,
|
|
14
|
-
arrayElementAdditionalValidator
|
|
15
|
-
}: Readonly<{
|
|
16
|
-
targetRoute: VueRouterLocation;
|
|
17
|
-
targetQueryParameterKey: string;
|
|
18
|
-
arrayElementAdditionalValidator?: (rawValue: string) => boolean;
|
|
19
|
-
}>
|
|
20
|
-
): Array<string> {
|
|
21
|
-
|
|
22
|
-
const queryParameterPotentialValue: VueRouterLocationQueryValue | Array<VueRouterLocationQueryValue> =
|
|
23
|
-
targetRoute.query[targetQueryParameterKey];
|
|
24
|
-
|
|
25
|
-
if (isEitherUndefinedOrNull(queryParameterPotentialValue)) {
|
|
26
|
-
return [];
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if (isString(queryParameterPotentialValue)) {
|
|
31
|
-
|
|
32
|
-
if (isNotUndefined(arrayElementAdditionalValidator)) {
|
|
33
|
-
return arrayElementAdditionalValidator(queryParameterPotentialValue) ? [ queryParameterPotentialValue ] : [];
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
return [ queryParameterPotentialValue ];
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
const queryParameterAccumulatingArrayedValue: Array<string> = [];
|
|
43
|
-
|
|
44
|
-
for (const oneElementOfArrayedValue of queryParameterPotentialValue) {
|
|
45
|
-
|
|
46
|
-
if (!isString(oneElementOfArrayedValue)) {
|
|
47
|
-
continue;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
if (isUndefined(arrayElementAdditionalValidator)) {
|
|
52
|
-
queryParameterAccumulatingArrayedValue.push(oneElementOfArrayedValue);
|
|
53
|
-
continue;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
if (arrayElementAdditionalValidator(oneElementOfArrayedValue)) {
|
|
58
|
-
queryParameterAccumulatingArrayedValue.push(oneElementOfArrayedValue);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
return queryParameterAccumulatingArrayedValue;
|
|
64
|
-
|
|
65
|
-
}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import type { ComponentPublicInstance } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
Logger,
|
|
4
|
-
DOM_ElementRetrievingFailedError,
|
|
5
|
-
isUndefined,
|
|
6
|
-
isNotUndefined,
|
|
7
|
-
UnexpectedEventError
|
|
8
|
-
} from "@yamato-daiwa/es-extensions";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export default function getElementByVueReference(
|
|
12
|
-
compoundParameter: Readonly<{
|
|
13
|
-
vueReferenceID: string;
|
|
14
|
-
parentVueComponent: ComponentPublicInstance;
|
|
15
|
-
mustExpectExactlyOneElement: true;
|
|
16
|
-
}>
|
|
17
|
-
): Element;
|
|
18
|
-
|
|
19
|
-
export default function getElementByVueReference(
|
|
20
|
-
compoundParameter: Readonly<{
|
|
21
|
-
vueReferenceID: string;
|
|
22
|
-
parentVueComponent: ComponentPublicInstance;
|
|
23
|
-
mustExpectExactlyOneElement: false;
|
|
24
|
-
}>
|
|
25
|
-
): Element | null;
|
|
26
|
-
|
|
27
|
-
export default function getElementByVueReference<DOM_ElementSubtype extends Element>(
|
|
28
|
-
compoundParameter: Readonly<{
|
|
29
|
-
vueReferenceID: string;
|
|
30
|
-
parentVueComponent: ComponentPublicInstance;
|
|
31
|
-
expectedDOM_ElementSubtype: new () => DOM_ElementSubtype;
|
|
32
|
-
mustExpectExactlyOneElement: true;
|
|
33
|
-
}>
|
|
34
|
-
): DOM_ElementSubtype;
|
|
35
|
-
|
|
36
|
-
export default function getElementByVueReference<DOM_ElementSubtype extends Element>(
|
|
37
|
-
compoundParameter: Readonly<{
|
|
38
|
-
vueReferenceID: string;
|
|
39
|
-
parentVueComponent: ComponentPublicInstance;
|
|
40
|
-
expectedDOM_ElementSubtype: new () => DOM_ElementSubtype;
|
|
41
|
-
mustExpectExactlyOneElement: false;
|
|
42
|
-
}>
|
|
43
|
-
): DOM_ElementSubtype | null;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
export default function getElementByVueReference<DOM_ElementSubtype extends Element>(
|
|
47
|
-
{
|
|
48
|
-
parentVueComponent,
|
|
49
|
-
vueReferenceID,
|
|
50
|
-
expectedDOM_ElementSubtype,
|
|
51
|
-
mustExpectExactlyOneElement
|
|
52
|
-
}: Readonly<{
|
|
53
|
-
vueReferenceID: string;
|
|
54
|
-
parentVueComponent: ComponentPublicInstance;
|
|
55
|
-
expectedDOM_ElementSubtype?: new () => DOM_ElementSubtype;
|
|
56
|
-
mustExpectExactlyOneElement: boolean;
|
|
57
|
-
}>
|
|
58
|
-
): DOM_ElementSubtype | null {
|
|
59
|
-
|
|
60
|
-
const referenceContent: unknown = parentVueComponent.$refs[vueReferenceID];
|
|
61
|
-
|
|
62
|
-
if (isUndefined(referenceContent)) {
|
|
63
|
-
|
|
64
|
-
if (mustExpectExactlyOneElement) {
|
|
65
|
-
Logger.throwErrorWithFormattedMessage({
|
|
66
|
-
errorInstance: new UnexpectedEventError(
|
|
67
|
-
`Expected that the Vue reference with ID "${ vueReferenceID }" refers to single DOM element while actually ` +
|
|
68
|
-
"no such mounted element."
|
|
69
|
-
),
|
|
70
|
-
title: UnexpectedEventError.localization.defaultTitle,
|
|
71
|
-
occurrenceLocation: "getElementByVueReference(compoundParameter)"
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
return null;
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
if (Array.isArray(referenceContent)) {
|
|
82
|
-
|
|
83
|
-
if (mustExpectExactlyOneElement) {
|
|
84
|
-
Logger.throwErrorWithFormattedMessage({
|
|
85
|
-
errorInstance: new UnexpectedEventError(
|
|
86
|
-
`Expected that the Vue reference with ID "${ vueReferenceID }" refers to single DOM element while actually ` +
|
|
87
|
-
"refers to multiples ones."
|
|
88
|
-
),
|
|
89
|
-
title: UnexpectedEventError.localization.defaultTitle,
|
|
90
|
-
occurrenceLocation: "getElementByVueReference(compoundParameter)"
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
return null;
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
if (!(referenceContent instanceof Element)) {
|
|
101
|
-
Logger.throwErrorWithFormattedMessage({
|
|
102
|
-
errorInstance: new DOM_ElementRetrievingFailedError({
|
|
103
|
-
customMessage:
|
|
104
|
-
`The Vue reference with ID "${ vueReferenceID }" refers to non-empty object while it is not the instance ` +
|
|
105
|
-
"of `Element`."
|
|
106
|
-
}),
|
|
107
|
-
occurrenceLocation: "getElementByVueReference(compoundParameter)",
|
|
108
|
-
title: DOM_ElementRetrievingFailedError.localization.defaultTitle
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
if (isNotUndefined(expectedDOM_ElementSubtype) && !(referenceContent instanceof expectedDOM_ElementSubtype)) {
|
|
114
|
-
Logger.throwErrorWithFormattedMessage({
|
|
115
|
-
errorInstance: new UnexpectedEventError(
|
|
116
|
-
`The Vue reference with ID "${ vueReferenceID }" refers instance of \`Element\` but contrary to expectations ` +
|
|
117
|
-
`it is not instance of ${ expectedDOM_ElementSubtype.name }".`
|
|
118
|
-
),
|
|
119
|
-
title: UnexpectedEventError.localization.defaultTitle,
|
|
120
|
-
occurrenceLocation: "getElementByVueReference(compoundParameter)"
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
return null;
|
|
126
|
-
|
|
127
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
<template lang="pug">
|
|
2
|
-
|
|
3
|
-
VerticallySlidingAlwaysMountedContainer.AdmonitionBlock--YDF(
|
|
4
|
-
v-model="isDisplaying"
|
|
5
|
-
role="alert"
|
|
6
|
-
:class="rootElementModifierCSS_Classes"
|
|
7
|
-
)
|
|
8
|
-
|
|
9
|
-
slot(
|
|
10
|
-
v-if="$slots.CustomSVG_Icon"
|
|
11
|
-
name="CustomSVG_Icon"
|
|
12
|
-
)
|
|
13
|
-
|
|
14
|
-
component.AdmonitionBlock--YDF-SVG_Icon(
|
|
15
|
-
v-else-if="hasDefaultSVG_Icon"
|
|
16
|
-
:is="defaultSVG_IconComponentName"
|
|
17
|
-
)
|
|
18
|
-
|
|
19
|
-
.AdmonitionBlock--YDF-Title(
|
|
20
|
-
v-if="title"
|
|
21
|
-
id=TITLE_HTML_ID
|
|
22
|
-
) {{ title }}
|
|
23
|
-
|
|
24
|
-
.AdmonitionBlock--YDF-MainContent(
|
|
25
|
-
:aria-labelledby="title ? TITLE_HTML_ID : null"
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
</template>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
<script lang="ts">
|
|
32
|
-
|
|
33
|
-
import { Component as VueComponentConfiguration, toNative as transformToOptionAPI_Component } from "vue-facing-decorator";
|
|
34
|
-
import AdmonitionBlockLogic from "./AdmonitionBlockLogic.vue";
|
|
35
|
-
import { Vue3SlideUpDown as VerticallySlidingAlwaysMountedContainer } from "vue3-slide-up-down";
|
|
36
|
-
import PencilIcon__Circled__Filled from "../../SVG_Icons/Pencil/PencilIcon__Circled__Filled.vue";
|
|
37
|
-
import ExclamationMarkIcon__Circled__Filled
|
|
38
|
-
from "../../SVG_Icons/ExclamationMark/ExclamationMarkIcon__Circled__Filled.vue";
|
|
39
|
-
import ExclamationMarkIcon__Triangled__Filled
|
|
40
|
-
from "../../SVG_Icons/ExclamationMark/ExclamationMarkIcon__Triangled__Filled.vue";
|
|
41
|
-
import CheckmarkIcon__Circled__Filled from "../../SVG_Icons/Checkmark/CheckmarkIcon__Circled__Filled.vue";
|
|
42
|
-
import InfoSignIcon__Circled__Filled from "../../SVG_Icons/InfoSign/InfoSignIcon__Circled__Filled.vue";
|
|
43
|
-
import QuestionMarkIcon__Circled__Filled from "../../SVG_Icons/QuestionMark/QuestionMarkIcon__Circled__Filled.vue";
|
|
44
|
-
import MultiplicationSignIcon__Boxed__Filled
|
|
45
|
-
from "../../SVG_Icons/MultiplicationSign/MultiplicationSignIcon__Boxed__Filled.vue";
|
|
46
|
-
|
|
47
|
-
@VueComponentConfiguration({
|
|
48
|
-
name: AdmonitionBlockLogic.CSS_NAMESPACE,
|
|
49
|
-
components: {
|
|
50
|
-
VerticallySlidingAlwaysMountedContainer,
|
|
51
|
-
PencilIcon__Circled__Filled,
|
|
52
|
-
ExclamationMarkIcon__Circled__Filled,
|
|
53
|
-
ExclamationMarkIcon__Triangled__Filled,
|
|
54
|
-
CheckmarkIcon__Circled__Filled,
|
|
55
|
-
InfoSignIcon__Circled__Filled,
|
|
56
|
-
QuestionMarkIcon__Circled__Filled,
|
|
57
|
-
MultiplicationSignIcon__Boxed__Filled
|
|
58
|
-
}
|
|
59
|
-
})
|
|
60
|
-
class AdmonitionBlock extends AdmonitionBlockLogic {}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
export default AdmonitionBlock.applyStaticMembersToInheritorTransformedToOptionAPI(
|
|
64
|
-
transformToOptionAPI_Component(AdmonitionBlock)
|
|
65
|
-
);
|
|
66
|
-
|
|
67
|
-
</script>
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { Vue as VueComponent } from "vue-facing-decorator";
|
|
2
|
-
import type { AdmonitionBlockLocalization } from "@yamato-daiwa/frontend";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default class AdmonitionBlock extends VueComponent {
|
|
6
|
-
|
|
7
|
-
public static readonly Themes: AdmonitionBlock.Themes;
|
|
8
|
-
|
|
9
|
-
public static defineThemes(themesNames: ReadonlyArray<string>): typeof AdmonitionBlock;
|
|
10
|
-
|
|
11
|
-
public static readonly GeometricVariations: AdmonitionBlock.GeometricVariations;
|
|
12
|
-
|
|
13
|
-
public static defineGeometricVariations(geometricVariationsNames: ReadonlyArray<string>): typeof AdmonitionBlock;
|
|
14
|
-
|
|
15
|
-
public static readonly DecorativeVariations: AdmonitionBlock.DecorativeVariations;
|
|
16
|
-
|
|
17
|
-
public static defineDecorativeVariations(decorativeVariationsNames: ReadonlyArray<string>): typeof AdmonitionBlock;
|
|
18
|
-
|
|
19
|
-
public static localization: AdmonitionBlockLocalization;
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export namespace AdmonitionBlock {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export type Themes = {
|
|
28
|
-
readonly regular: "REGULAR";
|
|
29
|
-
[themeName: string]: string;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export type GeometricVariations = {
|
|
33
|
-
readonly regular: "REGULAR";
|
|
34
|
-
readonly stickyNoteLike: "STICKY_NOTE_LIKE";
|
|
35
|
-
[variationName: string]: string;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export type DecorativeVariations = {
|
|
39
|
-
readonly notice: "NOTICE";
|
|
40
|
-
readonly error: "ERROR";
|
|
41
|
-
readonly warning: "WARNING";
|
|
42
|
-
readonly success: "SUCCESS";
|
|
43
|
-
readonly guidance: "GUIDANCE";
|
|
44
|
-
readonly question: "QUESTION";
|
|
45
|
-
[variationName: string]: string;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
}
|
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
/* ─── Assets ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
2
|
-
import type { AdmonitionBlockLocalization } from "@yamato-daiwa/frontend";
|
|
3
|
-
import { admonitionBlockYDF_ComponentLocalization__english } from "@yamato-daiwa/frontend";
|
|
4
|
-
|
|
5
|
-
/* ─── Validations ─────────────────────────────────────────────────────────────────────────────────────── */
|
|
6
|
-
import type VuePropertyValidator from "../_VuePropertiesValidators/VuePropertyValidator";
|
|
7
|
-
import ThemeVuePropertyValidator from "../_VuePropertiesValidators/ThemeVuePropertyValidator";
|
|
8
|
-
import BooleanVuePropertyValidator from "../_VuePropertiesValidators/BooleanVuePropertyValidator";
|
|
9
|
-
import NonEmptyStringVuePropertyValidator from "../_VuePropertiesValidators/NonEmptyStringVuePropertyValidator";
|
|
10
|
-
import GeometricVariationVuePropertyValidator from "../_VuePropertiesValidators/GeometricVariationVuePropertyValidator";
|
|
11
|
-
import DecorativeVariationVuePropertyValidator from "../_VuePropertiesValidators/DecorativeVariationVuePropertyValidator";
|
|
12
|
-
import preventNullForOptionalVueProperty from "../_Decorators/preventNullForOptionalVueProperty";
|
|
13
|
-
|
|
14
|
-
/* ─── Framework ──────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
15
|
-
import {
|
|
16
|
-
ComponentBase as VueComponentConfiguration,
|
|
17
|
-
Vue as VueComponent,
|
|
18
|
-
Prop as VueProperty
|
|
19
|
-
} from "vue-facing-decorator";
|
|
20
|
-
|
|
21
|
-
/* ─── Utils ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
22
|
-
import YDF_ComponentsCoordinator from "../YDF_ComponentsCoordinator";
|
|
23
|
-
import AccessibleFromTemplateAsNonReactive from "../_Decorators/AccessibleFromTemplateAsNonReactive";
|
|
24
|
-
import InfoSignIcon__Circled__Filled from "../../SVG_Icons/InfoSign/InfoSignIcon__Circled__Filled.vue";
|
|
25
|
-
import { Vue3SlideUpDown as VerticallySlidingAlwaysMountedContainer } from "vue3-slide-up-down";
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
@VueComponentConfiguration({
|
|
29
|
-
name: AdmonitionBlock.CSS_NAMESPACE,
|
|
30
|
-
components: {
|
|
31
|
-
InfoSignIcon__Circled__Filled,
|
|
32
|
-
VerticallySlidingAlwaysMountedContainer
|
|
33
|
-
}
|
|
34
|
-
})
|
|
35
|
-
class AdmonitionBlock extends VueComponent {
|
|
36
|
-
|
|
37
|
-
public static CSS_NAMESPACE: string = "AdmonitionBlock--YDF";
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
@VueProperty({
|
|
41
|
-
required: false,
|
|
42
|
-
get validator(): VuePropertyValidator {
|
|
43
|
-
return NonEmptyStringVuePropertyValidator({
|
|
44
|
-
propertyName: "title",
|
|
45
|
-
componentName: AdmonitionBlock.CSS_NAMESPACE,
|
|
46
|
-
isPropertyRequired: this.required === true
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
})
|
|
50
|
-
@preventNullForOptionalVueProperty
|
|
51
|
-
protected readonly title?: string;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
/* ━━━ Dismissing ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
|
|
55
|
-
@VueProperty({
|
|
56
|
-
default: false,
|
|
57
|
-
get validator(): VuePropertyValidator {
|
|
58
|
-
return BooleanVuePropertyValidator({
|
|
59
|
-
propertyName: "dismissible",
|
|
60
|
-
componentName: AdmonitionBlock.CSS_NAMESPACE,
|
|
61
|
-
isPropertyRequired: this.required === true
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
})
|
|
65
|
-
@preventNullForOptionalVueProperty
|
|
66
|
-
protected readonly dismissible!: boolean;
|
|
67
|
-
|
|
68
|
-
protected isDisplaying: boolean = true;
|
|
69
|
-
|
|
70
|
-
protected onClickDismissingButton(): void {
|
|
71
|
-
this.isDisplaying = false;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
/* ━━━ Theming ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
|
|
76
|
-
public static readonly Themes: AdmonitionBlock.Themes = { regular: "REGULAR" };
|
|
77
|
-
|
|
78
|
-
@VueProperty({
|
|
79
|
-
default: AdmonitionBlock.Themes.regular,
|
|
80
|
-
validator: ThemeVuePropertyValidator(AdmonitionBlock)
|
|
81
|
-
})
|
|
82
|
-
@preventNullForOptionalVueProperty
|
|
83
|
-
protected readonly theme!: string;
|
|
84
|
-
|
|
85
|
-
public static defineThemes(themesNames: ReadonlyArray<string>): typeof AdmonitionBlock {
|
|
86
|
-
return YDF_ComponentsCoordinator.defineThemes(themesNames, AdmonitionBlock);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
protected static areThemesCSS_ClassesCommon: boolean = YDF_ComponentsCoordinator.areThemesCSS_ClassesCommon;
|
|
90
|
-
|
|
91
|
-
public static considerThemesAsCommon(): void {
|
|
92
|
-
AdmonitionBlock.areThemesCSS_ClassesCommon = true;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@VueProperty({
|
|
96
|
-
default: AdmonitionBlock.areThemesCSS_ClassesCommon,
|
|
97
|
-
get validator(): VuePropertyValidator {
|
|
98
|
-
return BooleanVuePropertyValidator({
|
|
99
|
-
propertyName: "areThemesCSS_ClassesCommon",
|
|
100
|
-
componentName: AdmonitionBlock.CSS_NAMESPACE,
|
|
101
|
-
isPropertyRequired: this.required === true
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
})
|
|
105
|
-
@preventNullForOptionalVueProperty
|
|
106
|
-
protected readonly areThemesCSS_ClassesCommon!: boolean;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
/* ─── Geometry ─────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
110
|
-
public static readonly GeometricVariations: AdmonitionBlock.GeometricVariations = {
|
|
111
|
-
regular: "REGULAR",
|
|
112
|
-
stickyNoteLike: "STICKY_NOTE_LIKE"
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
@VueProperty({
|
|
116
|
-
default: AdmonitionBlock.GeometricVariations.regular,
|
|
117
|
-
validator: GeometricVariationVuePropertyValidator(AdmonitionBlock)
|
|
118
|
-
})
|
|
119
|
-
@preventNullForOptionalVueProperty
|
|
120
|
-
protected readonly geometricVariation!: string;
|
|
121
|
-
|
|
122
|
-
public static defineGeometricVariations(geometricVariationsNames: ReadonlyArray<string>): typeof AdmonitionBlock {
|
|
123
|
-
return YDF_ComponentsCoordinator.defineGeometricVariations(geometricVariationsNames, AdmonitionBlock);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
/* ─── Decoration ───────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
128
|
-
public static readonly DecorativeVariations: AdmonitionBlock.DecorativeVariations = {
|
|
129
|
-
notice: "NOTICE",
|
|
130
|
-
error: "ERROR",
|
|
131
|
-
warning: "WARNING",
|
|
132
|
-
success: "SUCCESS",
|
|
133
|
-
guidance: "GUIDANCE",
|
|
134
|
-
question: "QUESTION"
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
@VueProperty({
|
|
138
|
-
required: true,
|
|
139
|
-
validator: DecorativeVariationVuePropertyValidator(AdmonitionBlock)
|
|
140
|
-
})
|
|
141
|
-
protected readonly decorativeVariation!: string;
|
|
142
|
-
|
|
143
|
-
public static defineDecorativeVariations(decorativeVariationsNames: ReadonlyArray<string>): typeof AdmonitionBlock {
|
|
144
|
-
return YDF_ComponentsCoordinator.defineDecorativeVariations(decorativeVariationsNames, AdmonitionBlock);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
/* ━━━ SVG Icon ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
|
|
149
|
-
@VueProperty({
|
|
150
|
-
default: false,
|
|
151
|
-
get validator(): VuePropertyValidator {
|
|
152
|
-
return BooleanVuePropertyValidator({
|
|
153
|
-
propertyName: "hasDefaultSVG_Icon",
|
|
154
|
-
componentName: AdmonitionBlock.CSS_NAMESPACE,
|
|
155
|
-
isPropertyRequired: this.required === true
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
})
|
|
159
|
-
@preventNullForOptionalVueProperty
|
|
160
|
-
protected readonly hasDefaultSVG_Icon!: boolean;
|
|
161
|
-
|
|
162
|
-
protected get defaultSVG_IconComponentName(): string | null {
|
|
163
|
-
switch (this.decorativeVariation) {
|
|
164
|
-
case AdmonitionBlock.DecorativeVariations.notice: return "PencilIcon__Circled__Filled";
|
|
165
|
-
case AdmonitionBlock.DecorativeVariations.error: return "ExclamationMarkIcon__Circled__Filled";
|
|
166
|
-
case AdmonitionBlock.DecorativeVariations.warning: return "ExclamationMarkIcon__Triangled__Filled";
|
|
167
|
-
case AdmonitionBlock.DecorativeVariations.success: return "CheckmarkIcon__Circled__Filled";
|
|
168
|
-
case AdmonitionBlock.DecorativeVariations.guidance: return "InfoSignIcon__Circled__Filled";
|
|
169
|
-
case AdmonitionBlock.DecorativeVariations.question: return "QuestionMarkIcon__Circled__Filled";
|
|
170
|
-
default: return null;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
/* ━━━ CSS Classes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
|
|
176
|
-
protected get rootElementModifierCSS_Classes(): Array<string> {
|
|
177
|
-
return YDF_ComponentsCoordinator.generateRootElementModifierCSS_Classes({
|
|
178
|
-
CSS_Namespace: AdmonitionBlock.CSS_NAMESPACE,
|
|
179
|
-
activeTheme: this.theme,
|
|
180
|
-
allThemes: AdmonitionBlock.Themes,
|
|
181
|
-
areThemesCSS_ClassesCommon: this.areThemesCSS_ClassesCommon,
|
|
182
|
-
activeGeometricVariation: this.geometricVariation,
|
|
183
|
-
allGeometricVariations: AdmonitionBlock.GeometricVariations,
|
|
184
|
-
activeDecorativeVariation: this.decorativeVariation,
|
|
185
|
-
allDecorativeVariations: AdmonitionBlock.DecorativeVariations
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
/* ━━━ Localization ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
|
|
191
|
-
@AccessibleFromTemplateAsNonReactive
|
|
192
|
-
public static localization: AdmonitionBlockLocalization = admonitionBlockYDF_ComponentLocalization__english;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
/* ━━━ ID Generating ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
|
|
196
|
-
/* ─── Instance ID ──────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
197
|
-
protected readonly INSTANCE_ID: string = AdmonitionBlock.generateInstanceID();
|
|
198
|
-
protected static counterForInstanceID_Generating: number = 0;
|
|
199
|
-
|
|
200
|
-
public static generateInstanceID(): string {
|
|
201
|
-
AdmonitionBlock.counterForInstanceID_Generating++;
|
|
202
|
-
return `ADMONITION_BLOCK--YDF-${ AdmonitionBlock.counterForInstanceID_Generating }`;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
/* ─── Title HTML ID ────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
207
|
-
protected TITLE_HTML_ID: string = `${ this.INSTANCE_ID }-TITLE`;
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
/* ━━━ Transforming to Options API ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
|
|
211
|
-
public static applyStaticMembersToInheritorTransformedToOptionAPI(inheritedComponent: object): object {
|
|
212
|
-
return Object.defineProperties(
|
|
213
|
-
inheritedComponent,
|
|
214
|
-
{
|
|
215
|
-
Themes: { value: AdmonitionBlock.Themes },
|
|
216
|
-
defineThemes: { value: AdmonitionBlock.defineThemes },
|
|
217
|
-
GeometricVariations: { value: AdmonitionBlock.GeometricVariations },
|
|
218
|
-
defineGeometricVariations: { value: AdmonitionBlock.defineGeometricVariations },
|
|
219
|
-
DecorativeVariations: { value: AdmonitionBlock.DecorativeVariations },
|
|
220
|
-
defineDecorativeVariations: { value: AdmonitionBlock.defineDecorativeVariations }
|
|
221
|
-
}
|
|
222
|
-
);
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
namespace AdmonitionBlock {
|
|
229
|
-
|
|
230
|
-
export type Themes = {
|
|
231
|
-
readonly regular: "REGULAR";
|
|
232
|
-
[themeName: string]: string;
|
|
233
|
-
};
|
|
234
|
-
|
|
235
|
-
export type GeometricVariations = {
|
|
236
|
-
readonly regular: "REGULAR";
|
|
237
|
-
readonly stickyNoteLike: "STICKY_NOTE_LIKE";
|
|
238
|
-
[variationName: string]: string;
|
|
239
|
-
};
|
|
240
|
-
|
|
241
|
-
export type DecorativeVariations = {
|
|
242
|
-
readonly notice: "NOTICE";
|
|
243
|
-
readonly error: "ERROR";
|
|
244
|
-
readonly warning: "WARNING";
|
|
245
|
-
readonly success: "SUCCESS";
|
|
246
|
-
readonly guidance: "GUIDANCE";
|
|
247
|
-
readonly question: "QUESTION";
|
|
248
|
-
[variationName: string]: string;
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
export default AdmonitionBlock;
|