xmlui 0.11.4 → 0.11.6
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.
- package/dist/bin/index.cjs +8836 -0
- package/dist/bin/index.js +8825 -0
- package/dist/lib/{apiInterceptorWorker-QiltRtq1.js → apiInterceptorWorker-dwrAyq6l.js} +126 -151
- package/dist/lib/{index-Cq0EMm3L.js → index-x4orhWfi.js} +1888 -2133
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-DCigV4Zh.js → initMock-DrUirixi.js} +19 -22
- package/dist/lib/language-server-web-worker.js +13 -5
- package/dist/lib/language-server.js +11 -3
- package/dist/lib/{metadata-utils-BiolWMg9.js → metadata-utils-2bsMr4Gd.js} +58 -26
- package/dist/lib/{server-common-DyCHOk-z.js → server-common-DI3W4cob.js} +6297 -5930
- package/dist/lib/syntax-textmate.js +8 -2472
- package/dist/lib/testing.d.ts +1 -0
- package/dist/lib/testing.js +20 -23
- package/dist/lib/{transform-DHf9tQF7.js → transform-CQ_6R-43.js} +159 -126
- package/dist/lib/vite-xmlui-plugin.d.ts +10 -0
- package/dist/lib/vite-xmlui-plugin.js +8316 -0
- package/dist/lib/{xmlui-parser-CHN3mADy.js → xmlui-parser-CW8YmGjO.js} +10 -11
- package/dist/lib/xmlui-parser.js +2 -2
- package/dist/lib/{xmlui-serializer-CYNSHAlP.js → xmlui-serializer-CeCcgdVR.js} +19 -19
- package/dist/lib/xmlui.d.ts +122 -1
- package/dist/lib/xmlui.js +8 -3
- package/dist/metadata/{apiInterceptorWorker-Dql7QGw2.js → apiInterceptorWorker-Wgm2_zjg.js} +124 -149
- package/dist/metadata/{collectedComponentMetadata-CLaDZhmc.js → collectedComponentMetadata-BGdap_gu.js} +1919 -2124
- package/dist/metadata/{initMock-Buqah4JF.js → initMock-DlJ0S4Uy.js} +19 -22
- package/dist/metadata/xmlui-metadata.css +1 -0
- package/dist/metadata/xmlui-metadata.js +1 -1
- package/dist/metadata/xmlui-metadata.umd.cjs +3 -3
- package/dist/standalone/xmlui-standalone.es.d.ts +171 -2
- package/dist/standalone/xmlui-standalone.umd.js +36 -37
- package/package.json +20 -50
- package/dist/lib/vite-xmlui-plugin/index.js +0 -13985
- package/dist/lib/vite-xmlui-plugin/package.json +0 -3
- package/dist/metadata/style.css +0 -1
- package/dist/scripts/bin/bootstrap.cjs +0 -4
- package/dist/scripts/bin/build-lib.js +0 -126
- package/dist/scripts/bin/build.js +0 -266
- package/dist/scripts/bin/index.js +0 -167
- package/dist/scripts/bin/preview.js +0 -44
- package/dist/scripts/bin/start.js +0 -52
- package/dist/scripts/bin/vite-xmlui-plugin.js +0 -109
- package/dist/scripts/bin/viteConfig.js +0 -144
- package/dist/scripts/package.json +0 -285
- package/dist/scripts/src/abstractions/ActionDefs.js +0 -2
- package/dist/scripts/src/abstractions/AppContextDefs.js +0 -4
- package/dist/scripts/src/abstractions/ComponentDefs.js +0 -2
- package/dist/scripts/src/abstractions/ContainerDefs.js +0 -2
- package/dist/scripts/src/abstractions/ExtensionDefs.js +0 -2
- package/dist/scripts/src/abstractions/FunctionDefs.js +0 -2
- package/dist/scripts/src/abstractions/RendererDefs.js +0 -2
- package/dist/scripts/src/abstractions/ThemingDefs.js +0 -2
- package/dist/scripts/src/abstractions/scripting/BlockScope.js +0 -2
- package/dist/scripts/src/abstractions/scripting/Compilation.js +0 -2
- package/dist/scripts/src/abstractions/scripting/LogicalThread.js +0 -2
- package/dist/scripts/src/abstractions/scripting/LoopScope.js +0 -2
- package/dist/scripts/src/abstractions/scripting/ScriptParserError.js +0 -2
- package/dist/scripts/src/abstractions/scripting/Token.js +0 -2
- package/dist/scripts/src/abstractions/scripting/TryScope.js +0 -2
- package/dist/scripts/src/abstractions/scripting/TryScopeExp.js +0 -2
- package/dist/scripts/src/abstractions/scripting/modules.js +0 -2
- package/dist/scripts/src/components/APICall/APICall.js +0 -130
- package/dist/scripts/src/components/APICall/APICall.spec.js +0 -910
- package/dist/scripts/src/components/APICall/APICallNative.js +0 -36
- package/dist/scripts/src/components/Accordion/Accordion.js +0 -97
- package/dist/scripts/src/components/Accordion/Accordion.spec.js +0 -969
- package/dist/scripts/src/components/Accordion/AccordionContext.js +0 -20
- package/dist/scripts/src/components/Accordion/AccordionItem.js +0 -35
- package/dist/scripts/src/components/Accordion/AccordionItemNative.js +0 -95
- package/dist/scripts/src/components/Accordion/AccordionNative.js +0 -141
- package/dist/scripts/src/components/Animation/AnimationNative.js +0 -263
- package/dist/scripts/src/components/App/App.js +0 -581
- package/dist/scripts/src/components/App/App.spec.js +0 -331
- package/dist/scripts/src/components/App/AppLayoutContext.js +0 -49
- package/dist/scripts/src/components/App/AppNative.js +0 -308
- package/dist/scripts/src/components/App/AppStateContext.js +0 -9
- package/dist/scripts/src/components/App/IndexerContext.js +0 -44
- package/dist/scripts/src/components/App/LinkInfoContext.js +0 -9
- package/dist/scripts/src/components/App/SearchContext.js +0 -35
- package/dist/scripts/src/components/App/Sheet.js +0 -99
- package/dist/scripts/src/components/AppHeader/AppHeader.js +0 -58
- package/dist/scripts/src/components/AppHeader/AppHeader.spec.js +0 -169
- package/dist/scripts/src/components/AppHeader/AppHeaderNative.js +0 -72
- package/dist/scripts/src/components/AppState/AppState.js +0 -75
- package/dist/scripts/src/components/AppState/AppState.spec.js +0 -292
- package/dist/scripts/src/components/AppState/AppStateNative.js +0 -51
- package/dist/scripts/src/components/AutoComplete/AutoComplete.js +0 -109
- package/dist/scripts/src/components/AutoComplete/AutoComplete.spec.js +0 -546
- package/dist/scripts/src/components/AutoComplete/AutoCompleteContext.js +0 -19
- package/dist/scripts/src/components/AutoComplete/AutoCompleteNative.js +0 -498
- package/dist/scripts/src/components/Avatar/Avatar.js +0 -55
- package/dist/scripts/src/components/Avatar/Avatar.spec.js +0 -1514
- package/dist/scripts/src/components/Avatar/AvatarNative.js +0 -58
- package/dist/scripts/src/components/Backdrop/Backdrop.js +0 -40
- package/dist/scripts/src/components/Backdrop/Backdrop.spec.js +0 -131
- package/dist/scripts/src/components/Backdrop/BackdropNative.js +0 -25
- package/dist/scripts/src/components/Badge/Badge.js +0 -81
- package/dist/scripts/src/components/Badge/Badge.spec.js +0 -2214
- package/dist/scripts/src/components/Badge/BadgeNative.js +0 -46
- package/dist/scripts/src/components/Bookmark/Bookmark.js +0 -48
- package/dist/scripts/src/components/Bookmark/Bookmark.spec.js +0 -230
- package/dist/scripts/src/components/Bookmark/BookmarkNative.js +0 -55
- package/dist/scripts/src/components/Breakout/Breakout.js +0 -17
- package/dist/scripts/src/components/Breakout/Breakout.spec.js +0 -56
- package/dist/scripts/src/components/Breakout/BreakoutNative.js +0 -24
- package/dist/scripts/src/components/Button/Button-style.spec.js +0 -274
- package/dist/scripts/src/components/Button/Button.js +0 -171
- package/dist/scripts/src/components/Button/Button.spec.js +0 -425
- package/dist/scripts/src/components/Button/ButtonNative.js +0 -109
- package/dist/scripts/src/components/Card/Card.js +0 -89
- package/dist/scripts/src/components/Card/Card.spec.js +0 -150
- package/dist/scripts/src/components/Card/CardNative.js +0 -41
- package/dist/scripts/src/components/Carousel/Carousel.js +0 -133
- package/dist/scripts/src/components/Carousel/Carousel.spec.js +0 -557
- package/dist/scripts/src/components/Carousel/CarouselContext.js +0 -57
- package/dist/scripts/src/components/Carousel/CarouselItem.js +0 -15
- package/dist/scripts/src/components/Carousel/CarouselItemNative.js +0 -40
- package/dist/scripts/src/components/Carousel/CarouselNative.js +0 -195
- package/dist/scripts/src/components/ChangeListener/ChangeListener.js +0 -34
- package/dist/scripts/src/components/ChangeListener/ChangeListener.spec.js +0 -169
- package/dist/scripts/src/components/ChangeListener/ChangeListenerNative.js +0 -30
- package/dist/scripts/src/components/Charts/AreaChart/AreaChart.js +0 -92
- package/dist/scripts/src/components/Charts/AreaChart/AreaChart.spec.js +0 -999
- package/dist/scripts/src/components/Charts/AreaChart/AreaChartNative.js +0 -127
- package/dist/scripts/src/components/Charts/BarChart/BarChart.js +0 -97
- package/dist/scripts/src/components/Charts/BarChart/BarChart.spec.js +0 -597
- package/dist/scripts/src/components/Charts/BarChart/BarChartNative.js +0 -317
- package/dist/scripts/src/components/Charts/DonutChart/DonutChart.js +0 -60
- package/dist/scripts/src/components/Charts/DonutChart/DonutChart.spec.js +0 -608
- package/dist/scripts/src/components/Charts/LabelList/LabelList.js +0 -41
- package/dist/scripts/src/components/Charts/LabelList/LabelList.spec.js +0 -539
- package/dist/scripts/src/components/Charts/LabelList/LabelListNative.js +0 -25
- package/dist/scripts/src/components/Charts/Legend/Legend.js +0 -33
- package/dist/scripts/src/components/Charts/Legend/Legend.spec.js +0 -558
- package/dist/scripts/src/components/Charts/Legend/LegendNative.js +0 -64
- package/dist/scripts/src/components/Charts/LineChart/LineChart.js +0 -94
- package/dist/scripts/src/components/Charts/LineChart/LineChart.spec.js +0 -450
- package/dist/scripts/src/components/Charts/LineChart/LineChartNative.js +0 -192
- package/dist/scripts/src/components/Charts/PieChart/PieChart.js +0 -64
- package/dist/scripts/src/components/Charts/PieChart/PieChart.spec.js +0 -584
- package/dist/scripts/src/components/Charts/PieChart/PieChartNative.js +0 -167
- package/dist/scripts/src/components/Charts/RadarChart/RadarChart.js +0 -92
- package/dist/scripts/src/components/Charts/RadarChart/RadarChart.spec.js +0 -571
- package/dist/scripts/src/components/Charts/RadarChart/RadarChartNative.js +0 -125
- package/dist/scripts/src/components/Charts/Tooltip/TooltipContent.js +0 -27
- package/dist/scripts/src/components/Charts/Tooltip/TooltipContent.spec.js +0 -451
- package/dist/scripts/src/components/Charts/utils/ChartProvider.js +0 -65
- package/dist/scripts/src/components/Charts/utils/abstractions.js +0 -26
- package/dist/scripts/src/components/Checkbox/Checkbox.js +0 -81
- package/dist/scripts/src/components/Checkbox/Checkbox.spec.js +0 -900
- package/dist/scripts/src/components/CodeBlock/CodeBlock.js +0 -42
- package/dist/scripts/src/components/CodeBlock/CodeBlock.spec.js +0 -196
- package/dist/scripts/src/components/CodeBlock/CodeBlockNative.js +0 -127
- package/dist/scripts/src/components/CodeBlock/highlight-code.js +0 -273
- package/dist/scripts/src/components/ColorPicker/ColorPicker.js +0 -54
- package/dist/scripts/src/components/ColorPicker/ColorPicker.spec.js +0 -355
- package/dist/scripts/src/components/ColorPicker/ColorPickerNative.js +0 -86
- package/dist/scripts/src/components/Column/Column.js +0 -89
- package/dist/scripts/src/components/Column/ColumnNative.js +0 -49
- package/dist/scripts/src/components/Column/TableContext.js +0 -12
- package/dist/scripts/src/components/Column/doc-resources/list-component-data.js +0 -53
- package/dist/scripts/src/components/ComponentProvider.js +0 -811
- package/dist/scripts/src/components/ComponentRegistryContext.js +0 -44
- package/dist/scripts/src/components/ContentSeparator/ContentSeparator.js +0 -51
- package/dist/scripts/src/components/ContentSeparator/ContentSeparator.spec.js +0 -531
- package/dist/scripts/src/components/ContentSeparator/ContentSeparatorNative.js +0 -31
- package/dist/scripts/src/components/DataSource/DataSource.js +0 -124
- package/dist/scripts/src/components/DateInput/DateInput.js +0 -197
- package/dist/scripts/src/components/DateInput/DateInput.spec.js +0 -1023
- package/dist/scripts/src/components/DateInput/DateInputNative.js +0 -734
- package/dist/scripts/src/components/DatePicker/DatePicker.js +0 -146
- package/dist/scripts/src/components/DatePicker/DatePicker.spec.js +0 -394
- package/dist/scripts/src/components/DatePicker/DatePickerNative.js +0 -326
- package/dist/scripts/src/components/DropdownMenu/DropdownMenu.js +0 -196
- package/dist/scripts/src/components/DropdownMenu/DropdownMenu.spec.js +0 -331
- package/dist/scripts/src/components/DropdownMenu/DropdownMenuNative.js +0 -146
- package/dist/scripts/src/components/EmojiSelector/EmojiSelector.js +0 -26
- package/dist/scripts/src/components/EmojiSelector/EmojiSelector.spec.js +0 -29
- package/dist/scripts/src/components/EmojiSelector/EmojiSelectorNative.js +0 -71
- package/dist/scripts/src/components/ExpandableItem/ExpandableItem.js +0 -101
- package/dist/scripts/src/components/ExpandableItem/ExpandableItem.spec.js +0 -435
- package/dist/scripts/src/components/ExpandableItem/ExpandableItemNative.js +0 -109
- package/dist/scripts/src/components/FileInput/FileInput.js +0 -80
- package/dist/scripts/src/components/FileInput/FileInput.spec.js +0 -285
- package/dist/scripts/src/components/FileInput/FileInputNative.js +0 -161
- package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZone.js +0 -58
- package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZone.spec.js +0 -296
- package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZoneNative.js +0 -134
- package/dist/scripts/src/components/FlowLayout/FlowLayout.js +0 -65
- package/dist/scripts/src/components/FlowLayout/FlowLayout.spec.js +0 -518
- package/dist/scripts/src/components/FlowLayout/FlowLayoutNative.js +0 -153
- package/dist/scripts/src/components/Footer/Footer.js +0 -45
- package/dist/scripts/src/components/Footer/Footer.spec.js +0 -991
- package/dist/scripts/src/components/Footer/FooterNative.js +0 -35
- package/dist/scripts/src/components/Form/Form.js +0 -161
- package/dist/scripts/src/components/Form/Form.spec.js +0 -1719
- package/dist/scripts/src/components/Form/FormContext.js +0 -124
- package/dist/scripts/src/components/Form/FormNative.js +0 -463
- package/dist/scripts/src/components/Form/formActions.js +0 -115
- package/dist/scripts/src/components/FormItem/FormItem.js +0 -231
- package/dist/scripts/src/components/FormItem/FormItem.spec.js +0 -1022
- package/dist/scripts/src/components/FormItem/FormItemNative.js +0 -255
- package/dist/scripts/src/components/FormItem/HelperText.js +0 -27
- package/dist/scripts/src/components/FormItem/ItemWithLabel.js +0 -52
- package/dist/scripts/src/components/FormItem/Validations.js +0 -389
- package/dist/scripts/src/components/FormSection/FormSection.js +0 -56
- package/dist/scripts/src/components/Fragment/Fragment.js +0 -24
- package/dist/scripts/src/components/Fragment/Fragment.spec.js +0 -50
- package/dist/scripts/src/components/Heading/H1.spec.js +0 -66
- package/dist/scripts/src/components/Heading/H2.spec.js +0 -66
- package/dist/scripts/src/components/Heading/H3.spec.js +0 -66
- package/dist/scripts/src/components/Heading/H4.spec.js +0 -66
- package/dist/scripts/src/components/Heading/H5.spec.js +0 -66
- package/dist/scripts/src/components/Heading/H6.spec.js +0 -66
- package/dist/scripts/src/components/Heading/Heading.js +0 -396
- package/dist/scripts/src/components/Heading/Heading.spec.js +0 -966
- package/dist/scripts/src/components/Heading/HeadingNative.js +0 -98
- package/dist/scripts/src/components/Heading/abstractions.js +0 -4
- package/dist/scripts/src/components/HoverCard/HoverCard.js +0 -18
- package/dist/scripts/src/components/HoverCard/HovercardNative.js +0 -44
- package/dist/scripts/src/components/HtmlTags/HtmlTags.js +0 -1441
- package/dist/scripts/src/components/HtmlTags/HtmlTags.spec.js +0 -69
- package/dist/scripts/src/components/IFrame/IFrame.js +0 -77
- package/dist/scripts/src/components/IFrame/IFrame.spec.js +0 -527
- package/dist/scripts/src/components/IFrame/IFrameNative.js +0 -46
- package/dist/scripts/src/components/Icon/AdmonitionDanger.js +0 -10
- package/dist/scripts/src/components/Icon/AdmonitionInfo.js +0 -10
- package/dist/scripts/src/components/Icon/AdmonitionNote.js +0 -10
- package/dist/scripts/src/components/Icon/AdmonitionTip.js +0 -10
- package/dist/scripts/src/components/Icon/AdmonitionWarning.js +0 -10
- package/dist/scripts/src/components/Icon/ApiIcon.js +0 -10
- package/dist/scripts/src/components/Icon/ArrowDropDown.js +0 -11
- package/dist/scripts/src/components/Icon/ArrowDropUp.js +0 -11
- package/dist/scripts/src/components/Icon/ArrowLeft.js +0 -11
- package/dist/scripts/src/components/Icon/ArrowRight.js +0 -11
- package/dist/scripts/src/components/Icon/Attach.js +0 -10
- package/dist/scripts/src/components/Icon/Binding.js +0 -11
- package/dist/scripts/src/components/Icon/BoardIcon.js +0 -7
- package/dist/scripts/src/components/Icon/BoxIcon.js +0 -10
- package/dist/scripts/src/components/Icon/CheckIcon.js +0 -7
- package/dist/scripts/src/components/Icon/ChevronDownIcon.js +0 -7
- package/dist/scripts/src/components/Icon/ChevronLeft.js +0 -7
- package/dist/scripts/src/components/Icon/ChevronRight.js +0 -7
- package/dist/scripts/src/components/Icon/ChevronUpIcon.js +0 -7
- package/dist/scripts/src/components/Icon/CodeFileIcon.js +0 -10
- package/dist/scripts/src/components/Icon/CodeSandbox.js +0 -10
- package/dist/scripts/src/components/Icon/CompactListIcon.js +0 -7
- package/dist/scripts/src/components/Icon/ContentCopyIcon.js +0 -7
- package/dist/scripts/src/components/Icon/DarkToLightIcon.js +0 -10
- package/dist/scripts/src/components/Icon/DatabaseIcon.js +0 -11
- package/dist/scripts/src/components/Icon/DocFileIcon.js +0 -10
- package/dist/scripts/src/components/Icon/DocIcon.js +0 -10
- package/dist/scripts/src/components/Icon/DotMenuHorizontalIcon.js +0 -7
- package/dist/scripts/src/components/Icon/DotMenuIcon.js +0 -7
- package/dist/scripts/src/components/Icon/EmailIcon.js +0 -7
- package/dist/scripts/src/components/Icon/EmptyFolderIcon.js +0 -10
- package/dist/scripts/src/components/Icon/ErrorIcon.js +0 -7
- package/dist/scripts/src/components/Icon/ExpressionIcon.js +0 -10
- package/dist/scripts/src/components/Icon/FillPlusCricleIcon.js +0 -7
- package/dist/scripts/src/components/Icon/FilterIcon.js +0 -10
- package/dist/scripts/src/components/Icon/FolderIcon.js +0 -10
- package/dist/scripts/src/components/Icon/GlobeIcon.js +0 -7
- package/dist/scripts/src/components/Icon/HomeIcon.js +0 -7
- package/dist/scripts/src/components/Icon/HyperLinkIcon.js +0 -7
- package/dist/scripts/src/components/Icon/Icon.js +0 -42
- package/dist/scripts/src/components/Icon/Icon.spec.js +0 -527
- package/dist/scripts/src/components/Icon/IconNative.js +0 -127
- package/dist/scripts/src/components/Icon/ImageFileIcon.js +0 -10
- package/dist/scripts/src/components/Icon/Inspect.js +0 -10
- package/dist/scripts/src/components/Icon/LightToDark.js +0 -10
- package/dist/scripts/src/components/Icon/LinkIcon.js +0 -7
- package/dist/scripts/src/components/Icon/ListIcon.js +0 -7
- package/dist/scripts/src/components/Icon/LooseListIcon.js +0 -7
- package/dist/scripts/src/components/Icon/MoonIcon.js +0 -10
- package/dist/scripts/src/components/Icon/MoreOptionsIcon.js +0 -7
- package/dist/scripts/src/components/Icon/NoSortIcon.js +0 -8
- package/dist/scripts/src/components/Icon/PDFIcon.js +0 -10
- package/dist/scripts/src/components/Icon/PenIcon.js +0 -7
- package/dist/scripts/src/components/Icon/PhoneIcon.js +0 -7
- package/dist/scripts/src/components/Icon/PhotoIcon.js +0 -10
- package/dist/scripts/src/components/Icon/PlusIcon.js +0 -7
- package/dist/scripts/src/components/Icon/SearchIcon.js +0 -7
- package/dist/scripts/src/components/Icon/ShareIcon.js +0 -10
- package/dist/scripts/src/components/Icon/SortAscendingIcon.js +0 -8
- package/dist/scripts/src/components/Icon/SortDescendingIcon.js +0 -8
- package/dist/scripts/src/components/Icon/StarsIcon.js +0 -10
- package/dist/scripts/src/components/Icon/SunIcon.js +0 -10
- package/dist/scripts/src/components/Icon/TableDeleteColumnIcon.js +0 -7
- package/dist/scripts/src/components/Icon/TableDeleteRowIcon.js +0 -7
- package/dist/scripts/src/components/Icon/TableInsertColumnIcon.js +0 -7
- package/dist/scripts/src/components/Icon/TableInsertRowIcon.js +0 -7
- package/dist/scripts/src/components/Icon/TrashIcon.js +0 -7
- package/dist/scripts/src/components/Icon/TrendingDownIcon.js +0 -10
- package/dist/scripts/src/components/Icon/TrendingLevelIcon.js +0 -10
- package/dist/scripts/src/components/Icon/TrendingUpIcon.js +0 -10
- package/dist/scripts/src/components/Icon/TxtIcon.js +0 -10
- package/dist/scripts/src/components/Icon/UnknownFileIcon.js +0 -10
- package/dist/scripts/src/components/Icon/UnlinkIcon.js +0 -10
- package/dist/scripts/src/components/Icon/UserIcon.js +0 -7
- package/dist/scripts/src/components/Icon/WarningIcon.js +0 -7
- package/dist/scripts/src/components/Icon/XlsIcon.js +0 -10
- package/dist/scripts/src/components/IconProvider.js +0 -300
- package/dist/scripts/src/components/IconRegistryContext.js +0 -318
- package/dist/scripts/src/components/Image/Image.js +0 -52
- package/dist/scripts/src/components/Image/Image.spec.js +0 -198
- package/dist/scripts/src/components/Image/ImageNative.js +0 -73
- package/dist/scripts/src/components/Input/InputAdornment.js +0 -28
- package/dist/scripts/src/components/Input/InputDivider.js +0 -35
- package/dist/scripts/src/components/Input/InputLabel.js +0 -25
- package/dist/scripts/src/components/Input/PartialInput.js +0 -155
- package/dist/scripts/src/components/Input/index.js +0 -5
- package/dist/scripts/src/components/InspectButton/InspectButton.js +0 -35
- package/dist/scripts/src/components/Items/Items.js +0 -39
- package/dist/scripts/src/components/Items/Items.spec.js +0 -397
- package/dist/scripts/src/components/Items/ItemsNative.js +0 -33
- package/dist/scripts/src/components/Link/Link.js +0 -82
- package/dist/scripts/src/components/Link/Link.spec.js +0 -894
- package/dist/scripts/src/components/Link/LinkNative.js +0 -48
- package/dist/scripts/src/components/List/List.js +0 -130
- package/dist/scripts/src/components/List/List.spec.js +0 -927
- package/dist/scripts/src/components/List/ListNative.js +0 -433
- package/dist/scripts/src/components/List/doc-resources/list-component-data.js +0 -53
- package/dist/scripts/src/components/Logo/Logo.js +0 -30
- package/dist/scripts/src/components/Logo/LogoNative.js +0 -32
- package/dist/scripts/src/components/Markdown/CodeText.js +0 -38
- package/dist/scripts/src/components/Markdown/Markdown.js +0 -143
- package/dist/scripts/src/components/Markdown/Markdown.spec.js +0 -188
- package/dist/scripts/src/components/Markdown/MarkdownNative.js +0 -476
- package/dist/scripts/src/components/Markdown/parse-binding-expr.js +0 -60
- package/dist/scripts/src/components/Markdown/utils.js +0 -389
- package/dist/scripts/src/components/ModalDialog/ConfirmationModalContextProvider.js +0 -111
- package/dist/scripts/src/components/ModalDialog/Dialog.js +0 -20
- package/dist/scripts/src/components/ModalDialog/ModalDialog.js +0 -83
- package/dist/scripts/src/components/ModalDialog/ModalDialog.spec.js +0 -181
- package/dist/scripts/src/components/ModalDialog/ModalDialogNative.js +0 -217
- package/dist/scripts/src/components/ModalDialog/ModalVisibilityContext.js +0 -60
- package/dist/scripts/src/components/NavGroup/NavGroup.js +0 -70
- package/dist/scripts/src/components/NavGroup/NavGroup.spec.js +0 -304
- package/dist/scripts/src/components/NavGroup/NavGroupContext.js +0 -13
- package/dist/scripts/src/components/NavGroup/NavGroupNative.js +0 -133
- package/dist/scripts/src/components/NavLink/NavLink.js +0 -86
- package/dist/scripts/src/components/NavLink/NavLink.spec.js +0 -864
- package/dist/scripts/src/components/NavLink/NavLinkNative.js +0 -73
- package/dist/scripts/src/components/NavPanel/NavPanel.js +0 -53
- package/dist/scripts/src/components/NavPanel/NavPanel.spec.js +0 -864
- package/dist/scripts/src/components/NavPanel/NavPanelNative.js +0 -222
- package/dist/scripts/src/components/NestedApp/AppWithCodeView.js +0 -91
- package/dist/scripts/src/components/NestedApp/AppWithCodeViewNative.js +0 -84
- package/dist/scripts/src/components/NestedApp/NestedApp.js +0 -86
- package/dist/scripts/src/components/NestedApp/NestedAppNative.js +0 -231
- package/dist/scripts/src/components/NestedApp/Tooltip.js +0 -46
- package/dist/scripts/src/components/NestedApp/defaultProps.js +0 -12
- package/dist/scripts/src/components/NestedApp/utils.js +0 -67
- package/dist/scripts/src/components/NoResult/NoResult.js +0 -46
- package/dist/scripts/src/components/NoResult/NoResult.spec.js +0 -863
- package/dist/scripts/src/components/NoResult/NoResultNative.js +0 -31
- package/dist/scripts/src/components/NumberBox/NumberBox.js +0 -123
- package/dist/scripts/src/components/NumberBox/NumberBox.spec.js +0 -979
- package/dist/scripts/src/components/NumberBox/NumberBoxNative.js +0 -513
- package/dist/scripts/src/components/NumberBox/numberbox-abstractions.js +0 -109
- package/dist/scripts/src/components/Option/Option.js +0 -44
- package/dist/scripts/src/components/Option/Option.spec.js +0 -474
- package/dist/scripts/src/components/Option/OptionNative.js +0 -29
- package/dist/scripts/src/components/Option/OptionTypeProvider.js +0 -16
- package/dist/scripts/src/components/PageMetaTitle/PageMetaTilteNative.js +0 -13
- package/dist/scripts/src/components/PageMetaTitle/PageMetaTitle.js +0 -22
- package/dist/scripts/src/components/PageMetaTitle/PageMetaTitle.spec.js +0 -80
- package/dist/scripts/src/components/Pages/Pages.js +0 -54
- package/dist/scripts/src/components/Pages/PagesNative.js +0 -57
- package/dist/scripts/src/components/Pagination/Pagination.js +0 -107
- package/dist/scripts/src/components/Pagination/Pagination.spec.js +0 -1008
- package/dist/scripts/src/components/Pagination/PaginationNative.js +0 -157
- package/dist/scripts/src/components/PositionedContainer/PositionedContainer.js +0 -24
- package/dist/scripts/src/components/PositionedContainer/PositionedContainerNative.js +0 -14
- package/dist/scripts/src/components/ProfileMenu/ProfileMenu.js +0 -20
- package/dist/scripts/src/components/ProgressBar/ProgressBar.js +0 -38
- package/dist/scripts/src/components/ProgressBar/ProgressBar.spec.js +0 -166
- package/dist/scripts/src/components/ProgressBar/ProgressBarNative.js +0 -28
- package/dist/scripts/src/components/Queue/Queue.js +0 -85
- package/dist/scripts/src/components/Queue/Queue.spec.js +0 -624
- package/dist/scripts/src/components/Queue/QueueNative.js +0 -342
- package/dist/scripts/src/components/Queue/queueActions.js +0 -87
- package/dist/scripts/src/components/RadioGroup/RadioGroup.js +0 -61
- package/dist/scripts/src/components/RadioGroup/RadioGroup.spec.js +0 -490
- package/dist/scripts/src/components/RadioGroup/RadioGroupNative.js +0 -158
- package/dist/scripts/src/components/RadioGroup/RadioItem.js +0 -28
- package/dist/scripts/src/components/RadioGroup/RadioItemNative.js +0 -62
- package/dist/scripts/src/components/RealTimeAdapter/RealTimeAdapter.js +0 -24
- package/dist/scripts/src/components/RealTimeAdapter/RealTimeAdapterNative.js +0 -135
- package/dist/scripts/src/components/Redirect/Redirect.js +0 -31
- package/dist/scripts/src/components/Redirect/Redirect.spec.js +0 -527
- package/dist/scripts/src/components/ResponsiveBar/ResponsiveBar.js +0 -60
- package/dist/scripts/src/components/ResponsiveBar/ResponsiveBar.spec.js +0 -76
- package/dist/scripts/src/components/ResponsiveBar/ResponsiveBarNative.js +0 -313
- package/dist/scripts/src/components/Select/HiddenOption.js +0 -20
- package/dist/scripts/src/components/Select/OptionContext.js +0 -12
- package/dist/scripts/src/components/Select/Select.js +0 -131
- package/dist/scripts/src/components/Select/Select.spec.js +0 -763
- package/dist/scripts/src/components/Select/SelectContext.js +0 -16
- package/dist/scripts/src/components/Select/SelectNative.js +0 -440
- package/dist/scripts/src/components/SelectionStore/SelectionStore.js +0 -25
- package/dist/scripts/src/components/SelectionStore/SelectionStoreNative.js +0 -103
- package/dist/scripts/src/components/Slider/Slider.js +0 -115
- package/dist/scripts/src/components/Slider/Slider.spec.js +0 -677
- package/dist/scripts/src/components/Slider/SliderNative.js +0 -237
- package/dist/scripts/src/components/Slot/Slot.js +0 -17
- package/dist/scripts/src/components/Slot/Slot.spec.js +0 -368
- package/dist/scripts/src/components/SlotItem.js +0 -32
- package/dist/scripts/src/components/SpaceFiller/SpaceFiller.js +0 -20
- package/dist/scripts/src/components/SpaceFiller/SpaceFiller.spec.js +0 -184
- package/dist/scripts/src/components/SpaceFiller/SpaceFillerNative.js +0 -10
- package/dist/scripts/src/components/Spinner/Spinner.js +0 -39
- package/dist/scripts/src/components/Spinner/Spinner.spec.js +0 -161
- package/dist/scripts/src/components/Spinner/SpinnerNative.js +0 -48
- package/dist/scripts/src/components/Splitter/HSplitter.spec.js +0 -104
- package/dist/scripts/src/components/Splitter/Splitter.js +0 -163
- package/dist/scripts/src/components/Splitter/Splitter.spec.js +0 -856
- package/dist/scripts/src/components/Splitter/SplitterNative.js +0 -205
- package/dist/scripts/src/components/Splitter/VSplitter.spec.js +0 -104
- package/dist/scripts/src/components/Splitter/utils.js +0 -22
- package/dist/scripts/src/components/Stack/CHStack.spec.js +0 -86
- package/dist/scripts/src/components/Stack/CVStack.spec.js +0 -86
- package/dist/scripts/src/components/Stack/HStack.spec.js +0 -67
- package/dist/scripts/src/components/Stack/Stack.js +0 -156
- package/dist/scripts/src/components/Stack/Stack.spec.js +0 -654
- package/dist/scripts/src/components/Stack/StackNative.js +0 -45
- package/dist/scripts/src/components/Stack/VStack.spec.js +0 -67
- package/dist/scripts/src/components/StickyBox/StickyBox.js +0 -34
- package/dist/scripts/src/components/StickyBox/StickyBoxNative.js +0 -42
- package/dist/scripts/src/components/Switch/Switch.js +0 -80
- package/dist/scripts/src/components/Switch/Switch.spec.js +0 -834
- package/dist/scripts/src/components/Table/Table.js +0 -268
- package/dist/scripts/src/components/Table/Table.spec.js +0 -827
- package/dist/scripts/src/components/Table/TableNative.js +0 -670
- package/dist/scripts/src/components/Table/doc-resources/list-component-data.js +0 -53
- package/dist/scripts/src/components/Table/useRowSelection.js +0 -454
- package/dist/scripts/src/components/TableOfContents/TableOfContents.js +0 -76
- package/dist/scripts/src/components/TableOfContents/TableOfContents.spec.js +0 -838
- package/dist/scripts/src/components/TableOfContents/TableOfContentsNative.js +0 -81
- package/dist/scripts/src/components/Tabs/TabContext.js +0 -58
- package/dist/scripts/src/components/Tabs/TabItem.js +0 -44
- package/dist/scripts/src/components/Tabs/TabItemNative.js +0 -53
- package/dist/scripts/src/components/Tabs/Tabs.js +0 -95
- package/dist/scripts/src/components/Tabs/Tabs.spec.js +0 -1237
- package/dist/scripts/src/components/Tabs/TabsNative.js +0 -137
- package/dist/scripts/src/components/Text/Text.js +0 -181
- package/dist/scripts/src/components/Text/Text.spec.js +0 -1676
- package/dist/scripts/src/components/Text/TextNative.js +0 -244
- package/dist/scripts/src/components/TextArea/TextArea.js +0 -103
- package/dist/scripts/src/components/TextArea/TextArea.spec.js +0 -886
- package/dist/scripts/src/components/TextArea/TextAreaNative.js +0 -196
- package/dist/scripts/src/components/TextArea/TextAreaResizable.js +0 -73
- package/dist/scripts/src/components/TextArea/useComposedRef.js +0 -60
- package/dist/scripts/src/components/TextBox/TextBox.js +0 -133
- package/dist/scripts/src/components/TextBox/TextBox.spec.js +0 -758
- package/dist/scripts/src/components/TextBox/TextBoxNative.js +0 -142
- package/dist/scripts/src/components/Theme/NotificationToast.js +0 -64
- package/dist/scripts/src/components/Theme/Theme.js +0 -47
- package/dist/scripts/src/components/Theme/Theme.spec.js +0 -390
- package/dist/scripts/src/components/Theme/ThemeNative.js +0 -162
- package/dist/scripts/src/components/TimeInput/TimeInput.js +0 -149
- package/dist/scripts/src/components/TimeInput/TimeInput.spec.js +0 -1236
- package/dist/scripts/src/components/TimeInput/TimeInputNative.js +0 -650
- package/dist/scripts/src/components/TimeInput/utils.js +0 -197
- package/dist/scripts/src/components/Timer/Timer.js +0 -62
- package/dist/scripts/src/components/Timer/Timer.spec.js +0 -328
- package/dist/scripts/src/components/Timer/TimerNative.js +0 -178
- package/dist/scripts/src/components/Toggle/Toggle.js +0 -172
- package/dist/scripts/src/components/ToneChangerButton/ToneChangerButton.js +0 -63
- package/dist/scripts/src/components/ToneChangerButton/ToneChangerButton.spec.js +0 -414
- package/dist/scripts/src/components/ToneSwitch/ToneSwitch.js +0 -51
- package/dist/scripts/src/components/ToneSwitch/ToneSwitch.spec.js +0 -89
- package/dist/scripts/src/components/ToneSwitch/ToneSwitchNative.js +0 -42
- package/dist/scripts/src/components/Tooltip/Tooltip.js +0 -118
- package/dist/scripts/src/components/Tooltip/Tooltip.spec.js +0 -418
- package/dist/scripts/src/components/Tooltip/TooltipNative.js +0 -160
- package/dist/scripts/src/components/Tree/Tree-dynamic.spec.js +0 -2894
- package/dist/scripts/src/components/Tree/Tree-icons.spec.js +0 -206
- package/dist/scripts/src/components/Tree/Tree.spec.js +0 -2839
- package/dist/scripts/src/components/Tree/TreeComponent.js +0 -324
- package/dist/scripts/src/components/Tree/TreeNative.js +0 -1129
- package/dist/scripts/src/components/Tree/testData.js +0 -296
- package/dist/scripts/src/components/TreeDisplay/TreeDisplay.js +0 -49
- package/dist/scripts/src/components/TreeDisplay/TreeDisplayNative.js +0 -104
- package/dist/scripts/src/components/ValidationSummary/ValidationSummary.js +0 -64
- package/dist/scripts/src/components/VisuallyHidden.js +0 -21
- package/dist/scripts/src/components/abstractions.js +0 -341
- package/dist/scripts/src/components/chart-color-schemes.js +0 -43
- package/dist/scripts/src/components/collectedComponentMetadata.js +0 -316
- package/dist/scripts/src/components/component-utils.js +0 -29
- package/dist/scripts/src/components/container-helpers.js +0 -26
- package/dist/scripts/src/components/metadata-helpers.js +0 -269
- package/dist/scripts/src/components-core/ApiBoundComponent.js +0 -227
- package/dist/scripts/src/components-core/AppContext.js +0 -16
- package/dist/scripts/src/components-core/ComponentDecorator.js +0 -74
- package/dist/scripts/src/components-core/ComponentViewer.js +0 -69
- package/dist/scripts/src/components-core/CompoundComponent.js +0 -145
- package/dist/scripts/src/components-core/DebugViewProvider.js +0 -43
- package/dist/scripts/src/components-core/EngineError.js +0 -91
- package/dist/scripts/src/components-core/InspectorContext.js +0 -248
- package/dist/scripts/src/components-core/LoaderComponent.js +0 -109
- package/dist/scripts/src/components-core/RestApiProxy.js +0 -468
- package/dist/scripts/src/components-core/StandaloneApp.js +0 -821
- package/dist/scripts/src/components-core/StandaloneExtensionManager.js +0 -44
- package/dist/scripts/src/components-core/TableOfContentsContext.js +0 -168
- package/dist/scripts/src/components-core/abstractions/ComponentRenderer.js +0 -2
- package/dist/scripts/src/components-core/abstractions/LoaderRenderer.js +0 -2
- package/dist/scripts/src/components-core/abstractions/standalone.js +0 -2
- package/dist/scripts/src/components-core/abstractions/treeAbstractions.js +0 -2
- package/dist/scripts/src/components-core/action/APICall.js +0 -284
- package/dist/scripts/src/components-core/action/FileDownloadAction.js +0 -80
- package/dist/scripts/src/components-core/action/FileUploadAction.js +0 -88
- package/dist/scripts/src/components-core/action/NavigateAction.js +0 -20
- package/dist/scripts/src/components-core/action/TimedAction.js +0 -21
- package/dist/scripts/src/components-core/action/actions.js +0 -15
- package/dist/scripts/src/components-core/appContext/date-functions.js +0 -24
- package/dist/scripts/src/components-core/appContext/math-function.js +0 -27
- package/dist/scripts/src/components-core/appContext/misc-utils.js +0 -14
- package/dist/scripts/src/components-core/behaviors/Behavior.js +0 -2
- package/dist/scripts/src/components-core/behaviors/CoreBehaviors.js +0 -201
- package/dist/scripts/src/components-core/component-hooks.js +0 -25
- package/dist/scripts/src/components-core/constants.js +0 -18
- package/dist/scripts/src/components-core/descriptorHelper.js +0 -96
- package/dist/scripts/src/components-core/devtools/InspectorDialog.js +0 -135
- package/dist/scripts/src/components-core/devtools/InspectorDialogVisibilityContext.js +0 -8
- package/dist/scripts/src/components-core/event-handlers.js +0 -46
- package/dist/scripts/src/components-core/interception/ApiInterceptor.js +0 -247
- package/dist/scripts/src/components-core/interception/ApiInterceptorProvider.js +0 -167
- package/dist/scripts/src/components-core/interception/Backend.js +0 -141
- package/dist/scripts/src/components-core/interception/Errors.js +0 -129
- package/dist/scripts/src/components-core/interception/InMemoryDb.js +0 -41
- package/dist/scripts/src/components-core/interception/IndexedDb.js +0 -205
- package/dist/scripts/src/components-core/interception/ReadonlyCollection.js +0 -145
- package/dist/scripts/src/components-core/interception/abstractions.js +0 -2
- package/dist/scripts/src/components-core/interception/apiInterceptorWorker.js +0 -44
- package/dist/scripts/src/components-core/interception/initMock.js +0 -20
- package/dist/scripts/src/components-core/interception/useApiInterceptorContext.js +0 -9
- package/dist/scripts/src/components-core/loader/ApiLoader.js +0 -54
- package/dist/scripts/src/components-core/loader/DataLoader.js +0 -330
- package/dist/scripts/src/components-core/loader/ExternalDataLoader.js +0 -60
- package/dist/scripts/src/components-core/loader/Loader.js +0 -159
- package/dist/scripts/src/components-core/loader/MockLoaderRenderer.js +0 -43
- package/dist/scripts/src/components-core/loader/PageableLoader.js +0 -272
- package/dist/scripts/src/components-core/markup-check.js +0 -279
- package/dist/scripts/src/components-core/parts.js +0 -11
- package/dist/scripts/src/components-core/renderers.js +0 -76
- package/dist/scripts/src/components-core/rendering/AppContent.js +0 -400
- package/dist/scripts/src/components-core/rendering/AppRoot.js +0 -87
- package/dist/scripts/src/components-core/rendering/AppWrapper.js +0 -49
- package/dist/scripts/src/components-core/rendering/ComponentAdapter.js +0 -380
- package/dist/scripts/src/components-core/rendering/ComponentWrapper.js +0 -166
- package/dist/scripts/src/components-core/rendering/Container.js +0 -621
- package/dist/scripts/src/components-core/rendering/ContainerWrapper.js +0 -94
- package/dist/scripts/src/components-core/rendering/ErrorBoundary.js +0 -65
- package/dist/scripts/src/components-core/rendering/InvalidComponent.js +0 -17
- package/dist/scripts/src/components-core/rendering/StandaloneComponent.js +0 -39
- package/dist/scripts/src/components-core/rendering/StateContainer.js +0 -350
- package/dist/scripts/src/components-core/rendering/UnknownComponent.js +0 -15
- package/dist/scripts/src/components-core/rendering/buildProxy.js +0 -58
- package/dist/scripts/src/components-core/rendering/collectFnVarDeps.js +0 -49
- package/dist/scripts/src/components-core/rendering/containers.js +0 -19
- package/dist/scripts/src/components-core/rendering/nodeUtils.js +0 -6
- package/dist/scripts/src/components-core/rendering/reducer.js +0 -160
- package/dist/scripts/src/components-core/rendering/renderChild.js +0 -82
- package/dist/scripts/src/components-core/rendering/valueExtractor.js +0 -216
- package/dist/scripts/src/components-core/reportEngineError.js +0 -62
- package/dist/scripts/src/components-core/script-runner/AttributeValueParser.js +0 -117
- package/dist/scripts/src/components-core/script-runner/BindingTreeEvaluationContext.js +0 -33
- package/dist/scripts/src/components-core/script-runner/ParameterParser.js +0 -117
- package/dist/scripts/src/components-core/script-runner/ScriptingSourceTree.js +0 -45
- package/dist/scripts/src/components-core/script-runner/asyncProxy.js +0 -96
- package/dist/scripts/src/components-core/script-runner/bannedFunctions.js +0 -34
- package/dist/scripts/src/components-core/script-runner/eval-tree-async.js +0 -613
- package/dist/scripts/src/components-core/script-runner/eval-tree-common.js +0 -439
- package/dist/scripts/src/components-core/script-runner/eval-tree-sync.js +0 -522
- package/dist/scripts/src/components-core/script-runner/process-statement-async.js +0 -761
- package/dist/scripts/src/components-core/script-runner/process-statement-common.js +0 -208
- package/dist/scripts/src/components-core/script-runner/process-statement-sync.js +0 -746
- package/dist/scripts/src/components-core/script-runner/simplify-expression.js +0 -386
- package/dist/scripts/src/components-core/script-runner/statement-queue.js +0 -63
- package/dist/scripts/src/components-core/script-runner/visitors.js +0 -369
- package/dist/scripts/src/components-core/theming/StyleContext.js +0 -133
- package/dist/scripts/src/components-core/theming/StyleRegistry.js +0 -171
- package/dist/scripts/src/components-core/theming/ThemeContext.js +0 -53
- package/dist/scripts/src/components-core/theming/ThemeProvider.js +0 -342
- package/dist/scripts/src/components-core/theming/component-layout-resolver.js +0 -153
- package/dist/scripts/src/components-core/theming/extendThemeUtils.js +0 -47
- package/dist/scripts/src/components-core/theming/hvar.js +0 -105
- package/dist/scripts/src/components-core/theming/layout-resolver.js +0 -388
- package/dist/scripts/src/components-core/theming/parse-layout-props.js +0 -136
- package/dist/scripts/src/components-core/theming/themeVars.js +0 -62
- package/dist/scripts/src/components-core/theming/themes/base-utils.js +0 -15
- package/dist/scripts/src/components-core/theming/themes/palette.js +0 -57
- package/dist/scripts/src/components-core/theming/themes/root.js +0 -434
- package/dist/scripts/src/components-core/theming/themes/solid.js +0 -16
- package/dist/scripts/src/components-core/theming/themes/theme-colors.js +0 -561
- package/dist/scripts/src/components-core/theming/themes/xmlui.js +0 -57
- package/dist/scripts/src/components-core/theming/transformThemeVars.js +0 -733
- package/dist/scripts/src/components-core/theming/utils.js +0 -31
- package/dist/scripts/src/components-core/utils/DataLoaderQueryKeyGenerator.js +0 -41
- package/dist/scripts/src/components-core/utils/LruCache.js +0 -184
- package/dist/scripts/src/components-core/utils/actionUtils.js +0 -32
- package/dist/scripts/src/components-core/utils/audio-utils.js +0 -83
- package/dist/scripts/src/components-core/utils/base64-utils.js +0 -124
- package/dist/scripts/src/components-core/utils/compound-utils.js +0 -11
- package/dist/scripts/src/components-core/utils/css-utils.js +0 -179
- package/dist/scripts/src/components-core/utils/date-utils.js +0 -186
- package/dist/scripts/src/components-core/utils/extractParam.js +0 -281
- package/dist/scripts/src/components-core/utils/hooks.js +0 -400
- package/dist/scripts/src/components-core/utils/mergeProps.js +0 -45
- package/dist/scripts/src/components-core/utils/misc.js +0 -539
- package/dist/scripts/src/components-core/utils/request-params.js +0 -70
- package/dist/scripts/src/components-core/utils/statementUtils.js +0 -224
- package/dist/scripts/src/components-core/utils/treeUtils.js +0 -226
- package/dist/scripts/src/components-core/xmlui-parser.js +0 -548
- package/dist/scripts/src/index-standalone.js +0 -61
- package/dist/scripts/src/index.js +0 -158
- package/dist/scripts/src/language-server/server-common.js +0 -152
- package/dist/scripts/src/language-server/server-web-worker.js +0 -47
- package/dist/scripts/src/language-server/server.js +0 -42
- package/dist/scripts/src/language-server/services/common/docs-generation.js +0 -73
- package/dist/scripts/src/language-server/services/common/lsp-utils.js +0 -9
- package/dist/scripts/src/language-server/services/common/metadata-utils.js +0 -157
- package/dist/scripts/src/language-server/services/common/syntax-node-utilities.js +0 -127
- package/dist/scripts/src/language-server/services/completion.js +0 -288
- package/dist/scripts/src/language-server/services/diagnostic.js +0 -19
- package/dist/scripts/src/language-server/services/format.js +0 -569
- package/dist/scripts/src/language-server/services/hover.js +0 -164
- package/dist/scripts/src/language-server/xmlui-metadata-generated.js +0 -16276
- package/dist/scripts/src/logging/LoggerContext.js +0 -22
- package/dist/scripts/src/logging/LoggerInitializer.js +0 -14
- package/dist/scripts/src/logging/LoggerService.js +0 -60
- package/dist/scripts/src/logging/xmlui.js +0 -21
- package/dist/scripts/src/parsers/common/GenericToken.js +0 -2
- package/dist/scripts/src/parsers/common/InputStream.js +0 -59
- package/dist/scripts/src/parsers/common/utils.js +0 -19
- package/dist/scripts/src/parsers/scripting/Lexer.js +0 -1097
- package/dist/scripts/src/parsers/scripting/Parser.js +0 -2638
- package/dist/scripts/src/parsers/scripting/ParserError.js +0 -47
- package/dist/scripts/src/parsers/scripting/ScriptingNodeTypes.js +0 -50
- package/dist/scripts/src/parsers/scripting/TokenTrait.js +0 -108
- package/dist/scripts/src/parsers/scripting/TokenType.js +0 -109
- package/dist/scripts/src/parsers/scripting/code-behind-collect.js +0 -101
- package/dist/scripts/src/parsers/scripting/modules.js +0 -105
- package/dist/scripts/src/parsers/scripting/tree-visitor.js +0 -601
- package/dist/scripts/src/parsers/style-parser/StyleInputStream.js +0 -39
- package/dist/scripts/src/parsers/style-parser/StyleLexer.js +0 -623
- package/dist/scripts/src/parsers/style-parser/StyleParser.js +0 -453
- package/dist/scripts/src/parsers/style-parser/errors.js +0 -37
- package/dist/scripts/src/parsers/style-parser/source-tree.js +0 -2
- package/dist/scripts/src/parsers/style-parser/tokens.js +0 -43
- package/dist/scripts/src/parsers/xmlui-parser/CharacterCodes.js +0 -136
- package/dist/scripts/src/parsers/xmlui-parser/ParserError.js +0 -60
- package/dist/scripts/src/parsers/xmlui-parser/diagnostics.js +0 -172
- package/dist/scripts/src/parsers/xmlui-parser/fileExtensions.js +0 -6
- package/dist/scripts/src/parsers/xmlui-parser/index.js +0 -29
- package/dist/scripts/src/parsers/xmlui-parser/lint.js +0 -165
- package/dist/scripts/src/parsers/xmlui-parser/parser.js +0 -627
- package/dist/scripts/src/parsers/xmlui-parser/scanner.js +0 -415
- package/dist/scripts/src/parsers/xmlui-parser/syntax-kind.js +0 -123
- package/dist/scripts/src/parsers/xmlui-parser/syntax-node.js +0 -83
- package/dist/scripts/src/parsers/xmlui-parser/transform.js +0 -1131
- package/dist/scripts/src/parsers/xmlui-parser/utils.js +0 -83
- package/dist/scripts/src/parsers/xmlui-parser/xmlui-serializer.js +0 -582
- package/dist/scripts/src/parsers/xmlui-parser/xmlui-tree.js +0 -2
- package/dist/scripts/src/syntax/monaco/grammar.monacoLanguage.js +0 -286
- package/dist/scripts/src/syntax/monaco/index.js +0 -14
- package/dist/scripts/src/syntax/monaco/xmlui-dark.js +0 -25
- package/dist/scripts/src/syntax/monaco/xmlui-light.js +0 -25
- package/dist/scripts/src/syntax/monaco/xmluiscript.monacoLanguage.js +0 -310
- package/dist/scripts/src/syntax/textMate/index.js +0 -14
- package/dist/scripts/src/syntax/textMate/xmlui-dark.json +0 -631
- package/dist/scripts/src/syntax/textMate/xmlui-light.json +0 -565
- package/dist/scripts/src/syntax/textMate/xmlui.json +0 -564
- package/dist/scripts/src/syntax/textMate/xmlui.tmLanguage.json +0 -341
- package/dist/scripts/src/testing/ComponentDrivers.js +0 -1380
- package/dist/scripts/src/testing/assertions.js +0 -444
- package/dist/scripts/src/testing/component-test-helpers.js +0 -373
- package/dist/scripts/src/testing/drivers/DateInputDriver.js +0 -19
- package/dist/scripts/src/testing/drivers/ModalDialogDriver.js +0 -10
- package/dist/scripts/src/testing/drivers/NumberBoxDriver.js +0 -44
- package/dist/scripts/src/testing/drivers/TextBoxDriver.js +0 -20
- package/dist/scripts/src/testing/drivers/TimeInputDriver.js +0 -22
- package/dist/scripts/src/testing/drivers/TimerDriver.js +0 -64
- package/dist/scripts/src/testing/drivers/TreeDriver.js +0 -13
- package/dist/scripts/src/testing/drivers/index.js +0 -9
- package/dist/scripts/src/testing/fixtures.js +0 -519
- package/dist/scripts/src/testing/index.js +0 -69
- package/dist/scripts/src/testing/infrastructure/TestBed.js +0 -17
- package/dist/scripts/src/testing/infrastructure/main.js +0 -9
- package/dist/scripts/src/testing/infrastructure/public/mockServiceWorker.js +0 -266
- package/dist/scripts/src/testing/themed-app-test-helpers.js +0 -133
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.datePickerComponentRenderer = exports.DatePickerMd = void 0;
|
|
7
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
const DatePicker_module_scss_1 = __importDefault(require("./DatePicker.module.scss"));
|
|
9
|
-
const renderers_1 = require("../../components-core/renderers");
|
|
10
|
-
const themeVars_1 = require("../../components-core/theming/themeVars");
|
|
11
|
-
const metadata_helpers_1 = require("../metadata-helpers");
|
|
12
|
-
const DatePickerNative_1 = require("./DatePickerNative");
|
|
13
|
-
const COMP = "DatePicker";
|
|
14
|
-
exports.DatePickerMd = (0, metadata_helpers_1.createMetadata)({
|
|
15
|
-
status: "experimental",
|
|
16
|
-
description: "`DatePicker` provides an interactive calendar interface for selecting single dates " +
|
|
17
|
-
"or date ranges, with customizable formatting and validation options. It displays " +
|
|
18
|
-
"a text input that opens a calendar popup when clicked, offering both keyboard and " +
|
|
19
|
-
"mouse interaction.",
|
|
20
|
-
props: {
|
|
21
|
-
placeholder: (0, metadata_helpers_1.dPlaceholder)(),
|
|
22
|
-
initialValue: (0, metadata_helpers_1.dInitialValue)(),
|
|
23
|
-
autoFocus: (0, metadata_helpers_1.dAutoFocus)(),
|
|
24
|
-
readOnly: (0, metadata_helpers_1.dReadonly)(),
|
|
25
|
-
enabled: (0, metadata_helpers_1.dEnabled)(DatePickerNative_1.defaultProps.enabled),
|
|
26
|
-
validationStatus: (0, metadata_helpers_1.dValidationStatus)(DatePickerNative_1.defaultProps.validationStatus),
|
|
27
|
-
mode: {
|
|
28
|
-
description: "The mode of the datepicker (single or range)",
|
|
29
|
-
valueType: "string",
|
|
30
|
-
availableValues: DatePickerNative_1.DatePickerModeValues,
|
|
31
|
-
defaultValue: DatePickerNative_1.defaultProps.mode,
|
|
32
|
-
},
|
|
33
|
-
dateFormat: {
|
|
34
|
-
description: "The format of the date displayed in the input field",
|
|
35
|
-
valueType: "string",
|
|
36
|
-
defaultValue: DatePickerNative_1.defaultProps.dateFormat,
|
|
37
|
-
availableValues: DatePickerNative_1.dateFormats,
|
|
38
|
-
},
|
|
39
|
-
showWeekNumber: {
|
|
40
|
-
description: "Whether to show the week number in the calendar",
|
|
41
|
-
valueType: "boolean",
|
|
42
|
-
defaultValue: DatePickerNative_1.defaultProps.showWeekNumber,
|
|
43
|
-
},
|
|
44
|
-
weekStartsOn: {
|
|
45
|
-
description: "The first day of the week. 0 is Sunday, 1 is Monday, etc.",
|
|
46
|
-
valueType: "number",
|
|
47
|
-
defaultValue: DatePickerNative_1.defaultProps.weekStartsOn,
|
|
48
|
-
availableValues: [
|
|
49
|
-
{
|
|
50
|
-
value: DatePickerNative_1.WeekDays.Sunday,
|
|
51
|
-
description: "Sunday",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
value: DatePickerNative_1.WeekDays.Monday,
|
|
55
|
-
description: "Monday",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
value: DatePickerNative_1.WeekDays.Tuesday,
|
|
59
|
-
description: "Tuesday",
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
value: DatePickerNative_1.WeekDays.Wednesday,
|
|
63
|
-
description: "Wednesday",
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
value: DatePickerNative_1.WeekDays.Thursday,
|
|
67
|
-
description: "Thursday",
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
value: DatePickerNative_1.WeekDays.Friday,
|
|
71
|
-
description: "Friday",
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
value: DatePickerNative_1.WeekDays.Saturday,
|
|
75
|
-
description: "Saturday",
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
},
|
|
79
|
-
startDate: {
|
|
80
|
-
description: "The earliest month to start the month navigation from (inclusive). " +
|
|
81
|
-
"If not defined, the component allows any dates in the past. " +
|
|
82
|
-
"Accepts the same date format as the `initialValue`." +
|
|
83
|
-
"Example: '2023-01-01' ensures the first month to select a date from is January 2023.",
|
|
84
|
-
valueType: "string",
|
|
85
|
-
},
|
|
86
|
-
endDate: {
|
|
87
|
-
description: "The latest month to start the month navigation from (inclusive). " +
|
|
88
|
-
"If not defined, the component allows any future dates. " +
|
|
89
|
-
"Accepts the same date format as the `initialValue`." +
|
|
90
|
-
"Example: '2023-12-31' ensures the last month to select a date from is December 2023.",
|
|
91
|
-
valueType: "string",
|
|
92
|
-
},
|
|
93
|
-
disabledDates: {
|
|
94
|
-
description: "An optional array of dates that are to be disabled.",
|
|
95
|
-
valueType: "any",
|
|
96
|
-
},
|
|
97
|
-
inline: {
|
|
98
|
-
description: "If set to true, the calendar is always visible and its panel is rendered as part of the layout." +
|
|
99
|
-
" If false, the calendar is shown in a popup when the input is focused or clicked.",
|
|
100
|
-
valueType: "boolean",
|
|
101
|
-
defaultValue: DatePickerNative_1.defaultProps.inline,
|
|
102
|
-
},
|
|
103
|
-
startText: (0, metadata_helpers_1.dStartText)(),
|
|
104
|
-
startIcon: (0, metadata_helpers_1.dStartIcon)(),
|
|
105
|
-
endText: (0, metadata_helpers_1.dEndText)(),
|
|
106
|
-
endIcon: (0, metadata_helpers_1.dEndIcon)(),
|
|
107
|
-
},
|
|
108
|
-
events: {
|
|
109
|
-
didChange: (0, metadata_helpers_1.dDidChange)(COMP),
|
|
110
|
-
gotFocus: (0, metadata_helpers_1.dGotFocus)(COMP),
|
|
111
|
-
lostFocus: (0, metadata_helpers_1.dLostFocus)(COMP),
|
|
112
|
-
},
|
|
113
|
-
apis: {
|
|
114
|
-
focus: {
|
|
115
|
-
description: `Focus the ${COMP} component.`,
|
|
116
|
-
signature: "focus(): void",
|
|
117
|
-
},
|
|
118
|
-
value: {
|
|
119
|
-
description: `You can query the component's value. If no value is set, it will retrieve \`undefined\`.`,
|
|
120
|
-
signature: "get value(): any",
|
|
121
|
-
},
|
|
122
|
-
setValue: {
|
|
123
|
-
description: `This method sets the current value of the ${COMP}.`,
|
|
124
|
-
signature: "set value(value: any): void",
|
|
125
|
-
parameters: {
|
|
126
|
-
value: "The new value to set for the date picker.",
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
},
|
|
130
|
-
themeVars: (0, themeVars_1.parseScssVar)(DatePicker_module_scss_1.default.themeVars),
|
|
131
|
-
defaultThemeVars: {
|
|
132
|
-
[`boxShadow-menu-${COMP}`]: "$boxShadow-md",
|
|
133
|
-
[`borderRadius-menu-${COMP}`]: "$borderRadius",
|
|
134
|
-
[`textColor-value-${COMP}`]: "$textColor-primary",
|
|
135
|
-
[`borderColor-selectedItem-${COMP}`]: "$color-primary-200",
|
|
136
|
-
[`backgroundColor-menu-${COMP}`]: "$color-surface-50",
|
|
137
|
-
[`backgroundColor-item-${COMP}--hover`]: "$color-surface-100",
|
|
138
|
-
[`backgroundColor-item-${COMP}--active`]: "$color-surface-200",
|
|
139
|
-
[`paddingVertical-${COMP}`]: "$space-2",
|
|
140
|
-
[`paddingHorizontal-${COMP}`]: "$space-2",
|
|
141
|
-
},
|
|
142
|
-
});
|
|
143
|
-
exports.datePickerComponentRenderer = (0, renderers_1.createComponentRenderer)(COMP, exports.DatePickerMd, ({ node, state, updateState, extractValue, className, lookupEventHandler, registerComponentApi, }) => {
|
|
144
|
-
var _a;
|
|
145
|
-
return ((0, jsx_runtime_1.jsx)(DatePickerNative_1.DatePicker, { className: className, mode: extractValue((_a = node.props) === null || _a === void 0 ? void 0 : _a.mode), value: state === null || state === void 0 ? void 0 : state.value, initialValue: extractValue(node.props.initialValue), enabled: extractValue.asOptionalBoolean(node.props.enabled), placeholder: extractValue.asOptionalString(node.props.placeholder), validationStatus: extractValue(node.props.validationStatus), updateState: updateState, onDidChange: lookupEventHandler("didChange"), onFocus: lookupEventHandler("gotFocus"), onBlur: lookupEventHandler("lostFocus"), registerComponentApi: registerComponentApi, dateFormat: extractValue(node.props.dateFormat), showWeekNumber: extractValue.asOptionalBoolean(node.props.showWeekNumber), weekStartsOn: extractValue(node.props.weekStartsOn), startDate: extractValue(node.props.startDate), endDate: extractValue(node.props.endDate), disabledDates: extractValue(node.props.disabledDates), inline: extractValue.asOptionalBoolean(node.props.inline), startText: extractValue.asOptionalString(node.props.startText), startIcon: extractValue.asOptionalString(node.props.startIcon), endText: extractValue.asOptionalString(node.props.endText), endIcon: extractValue.asOptionalString(node.props.endIcon), readOnly: extractValue.asOptionalBoolean(node.props.readOnly), autoFocus: extractValue.asOptionalBoolean(node.props.autoFocus) }));
|
|
146
|
-
});
|
|
@@ -1,394 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const fixtures_1 = require("../../testing/fixtures");
|
|
13
|
-
const date_fns_1 = require("date-fns");
|
|
14
|
-
// =============================================================================
|
|
15
|
-
// BASIC FUNCTIONALITY TESTS
|
|
16
|
-
// =============================================================================
|
|
17
|
-
(0, fixtures_1.test)("component renders", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
18
|
-
yield initTestBed(`<DatePicker testId="datePicker" />`);
|
|
19
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toBeVisible();
|
|
20
|
-
}));
|
|
21
|
-
(0, fixtures_1.test)("component renders inline", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
22
|
-
yield initTestBed(`<DatePicker inline testId="datePicker" />`);
|
|
23
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toBeVisible();
|
|
24
|
-
}));
|
|
25
|
-
(0, fixtures_1.test)("component handles correct date format", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
26
|
-
yield initTestBed(`<DatePicker testId="datePicker" dateFormat="MM/dd/yyyy" initialValue="05/25/2024" />`);
|
|
27
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveText("05/25/2024");
|
|
28
|
-
}));
|
|
29
|
-
(0, fixtures_1.test)("component displays initialValue correctly (single)", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
30
|
-
yield initTestBed(`
|
|
31
|
-
<DatePicker
|
|
32
|
-
initialValue="05/25/2024"
|
|
33
|
-
dateFormat="MM/dd/yyyy"
|
|
34
|
-
testId="datePicker"
|
|
35
|
-
mode="single"
|
|
36
|
-
/>`);
|
|
37
|
-
yield (0, fixtures_1.expect)(page.getByText("05/25/2024")).toBeVisible();
|
|
38
|
-
}));
|
|
39
|
-
(0, fixtures_1.test)("component displays initialValue correctly (range)", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
40
|
-
yield initTestBed(`
|
|
41
|
-
<DatePicker
|
|
42
|
-
initialValue="{{ from: '05/25/2024', to: '05/26/2024' }}"
|
|
43
|
-
dateFormat="MM/dd/yyyy"
|
|
44
|
-
mode="range"
|
|
45
|
-
testId="datePicker"
|
|
46
|
-
/>`);
|
|
47
|
-
yield (0, fixtures_1.expect)(page.getByText("05/25/2024 - 05/26/2024")).toBeVisible();
|
|
48
|
-
}));
|
|
49
|
-
(0, fixtures_1.test)("component opens calendar when clicked", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
50
|
-
yield initTestBed(`<DatePicker testId="datePicker" />`);
|
|
51
|
-
yield page.getByTestId("datePicker").click();
|
|
52
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu")).toBeVisible();
|
|
53
|
-
}));
|
|
54
|
-
(0, fixtures_1.test)("component formats input to provided date format", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
55
|
-
yield initTestBed(`<DatePicker testId="datePicker" dateFormat="dd-MM-yyyy" initialValue="05/25/2024" />`);
|
|
56
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveText("25-05-2024");
|
|
57
|
-
}));
|
|
58
|
-
(0, fixtures_1.test)("component allows date selection in single mode", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
59
|
-
yield initTestBed(`
|
|
60
|
-
<DatePicker testId="datePicker" mode="single" dateFormat="MM/dd/yyyy" initialValue="05/25/2024" />
|
|
61
|
-
`);
|
|
62
|
-
yield page.getByTestId("datePicker").click();
|
|
63
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu")).toBeVisible();
|
|
64
|
-
yield page.getByRole("grid", { name: "May" }).getByLabel("26").click();
|
|
65
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveText("05/26/2024");
|
|
66
|
-
}));
|
|
67
|
-
(0, fixtures_1.test)("date changes when selecting a new date in single mode", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
68
|
-
yield initTestBed(`
|
|
69
|
-
<DatePicker testId="datePicker" mode="single" dateFormat="MM/dd/yyyy" initialValue="05/25/2024" />
|
|
70
|
-
`);
|
|
71
|
-
const datePicker = page.getByTestId("datePicker");
|
|
72
|
-
yield datePicker.click();
|
|
73
|
-
yield page.getByRole("grid", { name: "May" }).getByLabel("26").click();
|
|
74
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveText("05/26/2024");
|
|
75
|
-
yield datePicker.click();
|
|
76
|
-
yield page.getByRole("grid", { name: "May" }).getByLabel("27").click();
|
|
77
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveText("05/27/2024");
|
|
78
|
-
}));
|
|
79
|
-
(0, fixtures_1.test)("component allows date range selection", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
80
|
-
yield initTestBed(`<DatePicker testId="datePicker" mode="range" dateFormat="MM/dd/yyyy" initialValue="{{ from: '05/25/2024', to: '05/26/2024' }}" />`);
|
|
81
|
-
yield page.getByTestId("datePicker").click();
|
|
82
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu")).toBeVisible();
|
|
83
|
-
yield page.getByRole("grid", { name: "May" }).getByLabel("26").click();
|
|
84
|
-
yield page.getByRole("grid", { name: "May" }).getByLabel("27").click();
|
|
85
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveText("05/26/2024 - 05/27/2024");
|
|
86
|
-
}));
|
|
87
|
-
// =============================================================================
|
|
88
|
-
// ACCESSIBILITY TESTS
|
|
89
|
-
// =============================================================================
|
|
90
|
-
(0, fixtures_1.test)("component has correct accessibility attributes", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
91
|
-
yield initTestBed(`<DatePicker testId="datePicker" />`);
|
|
92
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveAttribute("aria-haspopup", "true");
|
|
93
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveAttribute("aria-expanded", "false");
|
|
94
|
-
}));
|
|
95
|
-
(0, fixtures_1.test)("component is focusable via label", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
96
|
-
yield initTestBed(`<DatePicker testId="datePicker" label="Birth Date" />`);
|
|
97
|
-
yield page.getByText("Birth Date").click();
|
|
98
|
-
// --- clicking the label to focus the input opens up the dialog
|
|
99
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu").getByRole("button", { name: "Go to the Previous Month" })).toBeFocused();
|
|
100
|
-
}));
|
|
101
|
-
(0, fixtures_1.test)("component respects autoFocus property", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
102
|
-
yield initTestBed(`<DatePicker testId="datePicker" autoFocus="true" />`);
|
|
103
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toBeFocused();
|
|
104
|
-
}));
|
|
105
|
-
(0, fixtures_1.test)("component is keyboard navigable: open/close calendar menu", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
106
|
-
yield initTestBed(`<DatePicker testId="datePicker" />`);
|
|
107
|
-
// Focus the button
|
|
108
|
-
yield page.getByTestId("datePicker").focus();
|
|
109
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toBeFocused();
|
|
110
|
-
// Press Enter to open calendar
|
|
111
|
-
yield page.keyboard.press("Enter");
|
|
112
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu")).toBeVisible();
|
|
113
|
-
// Press Escape to close
|
|
114
|
-
yield page.keyboard.press("Escape");
|
|
115
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu")).not.toBeVisible();
|
|
116
|
-
}));
|
|
117
|
-
(0, fixtures_1.test)("component is keyboard navigable: navigate controls inside calendar menu", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed, }) {
|
|
118
|
-
yield initTestBed(`<DatePicker testId="datePicker" initialValue="05/25/2024" dateFormat="MM/dd/yyyy" />`);
|
|
119
|
-
// Focus the button
|
|
120
|
-
yield page.getByTestId("datePicker").click();
|
|
121
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu")).toBeVisible();
|
|
122
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu").getByRole("button", { name: "Go to the Previous Month" })).toBeFocused();
|
|
123
|
-
// Tab to the calendar grid
|
|
124
|
-
yield page.keyboard.press("Tab");
|
|
125
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu").getByRole("button", { name: "Go to the Next Month" })).toBeFocused();
|
|
126
|
-
yield page.keyboard.press("Tab");
|
|
127
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu").getByLabel("Choose the Month")).toBeFocused();
|
|
128
|
-
yield page.keyboard.press("Tab");
|
|
129
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu").getByLabel("Choose the Year")).toBeFocused();
|
|
130
|
-
yield page.keyboard.press("Tab");
|
|
131
|
-
yield (0, fixtures_1.expect)(page.getByRole("grid", { name: "May" }).getByLabel("25")).toBeFocused();
|
|
132
|
-
}));
|
|
133
|
-
(0, fixtures_1.test)("component is keyboard navigable: navigate days inside calendar menu", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed, }) {
|
|
134
|
-
yield initTestBed(`<DatePicker testId="datePicker" initialValue="05/15/2024" dateFormat="MM/dd/yyyy" />`);
|
|
135
|
-
yield page.getByTestId("datePicker").click();
|
|
136
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu")).toBeVisible();
|
|
137
|
-
// The back navigation button is focused first
|
|
138
|
-
// Tab to next nav button
|
|
139
|
-
yield page.keyboard.press("Tab");
|
|
140
|
-
// Tab to month select
|
|
141
|
-
yield page.keyboard.press("Tab");
|
|
142
|
-
// Tab to year select
|
|
143
|
-
yield page.keyboard.press("Tab");
|
|
144
|
-
// Tab to the calendar grid
|
|
145
|
-
yield page.keyboard.press("Tab");
|
|
146
|
-
yield page.keyboard.press("ArrowLeft");
|
|
147
|
-
yield (0, fixtures_1.expect)(page.getByRole("grid", { name: "May" }).getByLabel("May 14th")).toBeFocused();
|
|
148
|
-
yield page.keyboard.press("ArrowUp");
|
|
149
|
-
yield (0, fixtures_1.expect)(page.getByRole("grid", { name: "May" }).getByLabel("May 7th")).toBeFocused();
|
|
150
|
-
yield page.keyboard.press("ArrowRight");
|
|
151
|
-
yield (0, fixtures_1.expect)(page.getByRole("grid", { name: "May" }).getByLabel("May 8th")).toBeFocused();
|
|
152
|
-
yield page.keyboard.press("ArrowDown");
|
|
153
|
-
yield (0, fixtures_1.expect)(page.getByRole("grid", { name: "May" }).getByLabel("May 15th")).toBeFocused();
|
|
154
|
-
}));
|
|
155
|
-
(0, fixtures_1.test)("component is keyboard navigable: enter new date", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
156
|
-
yield initTestBed(`<DatePicker testId="datePicker" initialValue="05/15/2024" dateFormat="MM/dd/yyyy"/>`);
|
|
157
|
-
yield page.getByTestId("datePicker").click();
|
|
158
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu")).toBeVisible();
|
|
159
|
-
// The back navigation button is focused first
|
|
160
|
-
// Tab to next nav button
|
|
161
|
-
yield page.keyboard.press("Tab");
|
|
162
|
-
// Tab to month select
|
|
163
|
-
yield page.keyboard.press("Tab");
|
|
164
|
-
// Tab to year select
|
|
165
|
-
yield page.keyboard.press("Tab");
|
|
166
|
-
// Tab to the calendar grid
|
|
167
|
-
yield page.keyboard.press("Tab");
|
|
168
|
-
yield page.keyboard.press("ArrowLeft");
|
|
169
|
-
yield (0, fixtures_1.expect)(page.getByRole("grid", { name: "May" }).getByLabel("May 14th")).toBeFocused();
|
|
170
|
-
yield page.keyboard.press("Enter");
|
|
171
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveText("05/14/2024");
|
|
172
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu")).not.toBeVisible();
|
|
173
|
-
}));
|
|
174
|
-
(0, fixtures_1.test)("component fires proper focus event on gotFocus", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
175
|
-
const { testStateDriver } = yield initTestBed(`
|
|
176
|
-
<DatePicker testId="datePicker" onGotFocus="testState = 'focused'" />
|
|
177
|
-
`);
|
|
178
|
-
yield page.getByTestId("datePicker").focus();
|
|
179
|
-
yield fixtures_1.expect.poll(testStateDriver.testState).toBe("focused");
|
|
180
|
-
}));
|
|
181
|
-
(0, fixtures_1.test)("component fires proper focus event on label focus", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
182
|
-
const { testStateDriver } = yield initTestBed(`
|
|
183
|
-
<DatePicker testId="datePicker" onGotFocus="testState = 'focused'" label="test" />
|
|
184
|
-
`);
|
|
185
|
-
yield page.getByText("test").click();
|
|
186
|
-
yield fixtures_1.expect.poll(testStateDriver.testState).toBe("focused");
|
|
187
|
-
}));
|
|
188
|
-
(0, fixtures_1.test)("component fires proper blur event on lostFocus", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
189
|
-
const { testStateDriver } = yield initTestBed(`
|
|
190
|
-
<DatePicker testId="datePicker" onLostFocus="testState = 'blurred'" />
|
|
191
|
-
`);
|
|
192
|
-
yield page.getByTestId("datePicker").focus();
|
|
193
|
-
yield page.getByTestId("datePicker").blur();
|
|
194
|
-
yield fixtures_1.expect.poll(testStateDriver.testState).toBe("blurred");
|
|
195
|
-
}));
|
|
196
|
-
// =============================================================================
|
|
197
|
-
// VISUAL STATE TESTS
|
|
198
|
-
// =============================================================================
|
|
199
|
-
(0, fixtures_1.test)("component shows error validation states", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
200
|
-
// Error state
|
|
201
|
-
yield initTestBed(`<DatePicker testId="datePicker" validationStatus="error" />`, {
|
|
202
|
-
testThemeVars: {
|
|
203
|
-
"borderColor-DatePicker--error": "rgb(220, 38, 38)",
|
|
204
|
-
"backgroundColor-DatePicker--error": "rgb(254, 202, 202)",
|
|
205
|
-
"textColor-DatePicker--error": "rgb(127, 29, 29)",
|
|
206
|
-
},
|
|
207
|
-
});
|
|
208
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveCSS("border-color", "rgb(220, 38, 38)");
|
|
209
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveCSS("background-color", "rgb(254, 202, 202)");
|
|
210
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveCSS("color", "rgb(127, 29, 29)");
|
|
211
|
-
}));
|
|
212
|
-
(0, fixtures_1.test)("component shows warning validation states", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
213
|
-
// Warning state
|
|
214
|
-
yield initTestBed(`<DatePicker testId="datePicker" validationStatus="warning" />`, {
|
|
215
|
-
testThemeVars: {
|
|
216
|
-
"borderColor-DatePicker--warning": "rgb(255, 165, 0)",
|
|
217
|
-
"backgroundColor-DatePicker--warning": "rgb(255, 235, 156)",
|
|
218
|
-
"textColor-DatePicker--warning": "rgb(127, 29, 29)",
|
|
219
|
-
},
|
|
220
|
-
});
|
|
221
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveCSS("border-color", "rgb(255, 165, 0)");
|
|
222
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveCSS("background-color", "rgb(255, 235, 156)");
|
|
223
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveCSS("color", "rgb(127, 29, 29)");
|
|
224
|
-
}));
|
|
225
|
-
(0, fixtures_1.test)("component shows valid validation states", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
226
|
-
// Valid state
|
|
227
|
-
yield initTestBed(`<DatePicker testId="datePicker" validationStatus="valid" />`, {
|
|
228
|
-
testThemeVars: {
|
|
229
|
-
"borderColor-DatePicker--success": "rgb(0, 128, 0)",
|
|
230
|
-
"backgroundColor-DatePicker--success": "rgb(220, 255, 220)",
|
|
231
|
-
"textColor-DatePicker--success": "rgb(0, 100, 0)",
|
|
232
|
-
},
|
|
233
|
-
});
|
|
234
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveCSS("border-color", "rgb(0, 128, 0)");
|
|
235
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveCSS("background-color", "rgb(220, 255, 220)");
|
|
236
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveCSS("color", "rgb(0, 100, 0)");
|
|
237
|
-
}));
|
|
238
|
-
(0, fixtures_1.test)("component displays placeholder text", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
239
|
-
yield initTestBed(`<DatePicker testId="datePicker" placeholder="Select a date" />`);
|
|
240
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toContainText("Select a date");
|
|
241
|
-
}));
|
|
242
|
-
(0, fixtures_1.test)("component shows week numbers when enabled", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
243
|
-
yield initTestBed(`<DatePicker testId="datePicker" showWeekNumber="true" />`);
|
|
244
|
-
yield page.getByTestId("datePicker").click();
|
|
245
|
-
yield (0, fixtures_1.expect)(page.locator("[role='rowheader']").first()).toBeVisible();
|
|
246
|
-
}));
|
|
247
|
-
(0, fixtures_1.test)("component renders with adornments", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
248
|
-
const startText = "From";
|
|
249
|
-
const endText = "Select";
|
|
250
|
-
yield initTestBed(`
|
|
251
|
-
<DatePicker
|
|
252
|
-
testId="datePicker"
|
|
253
|
-
startText="${startText}"
|
|
254
|
-
endText="${endText}"
|
|
255
|
-
startIcon="test"
|
|
256
|
-
endIcon="test"
|
|
257
|
-
/>
|
|
258
|
-
`, {
|
|
259
|
-
resources: {
|
|
260
|
-
"icon.test": "resources/bell.svg",
|
|
261
|
-
},
|
|
262
|
-
});
|
|
263
|
-
yield (0, fixtures_1.expect)(page.getByText(startText)).toBeVisible();
|
|
264
|
-
yield (0, fixtures_1.expect)(page.getByText(endText)).toBeVisible();
|
|
265
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker").locator("svg")).toHaveCount(2);
|
|
266
|
-
}));
|
|
267
|
-
// =============================================================================
|
|
268
|
-
// EDGE CASE TESTS
|
|
269
|
-
// =============================================================================
|
|
270
|
-
(0, fixtures_1.test)("component handles disabled state correctly", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
271
|
-
yield initTestBed(`<DatePicker testId="datePicker" enabled="false" />`);
|
|
272
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toBeDisabled();
|
|
273
|
-
}));
|
|
274
|
-
(0, fixtures_1.test)("disabled component does not react to user interactions", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
275
|
-
yield initTestBed(`<DatePicker testId="datePicker" enabled="false" />`);
|
|
276
|
-
yield page.getByTestId("datePicker").click({ force: true });
|
|
277
|
-
yield (0, fixtures_1.expect)(page.getByRole("menu")).not.toBeVisible();
|
|
278
|
-
}));
|
|
279
|
-
(0, fixtures_1.test)("component handles readOnly mode correctly", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
280
|
-
const initialDate = "05/25/2024";
|
|
281
|
-
yield initTestBed(`<DatePicker testId="datePicker" readOnly="true" initialValue="${initialDate}" dateFormat="MM/dd/yyyy" />`);
|
|
282
|
-
yield page.getByTestId("datePicker").click();
|
|
283
|
-
yield page.getByRole("grid", { name: "May" }).getByLabel("26").click();
|
|
284
|
-
// The date should not change
|
|
285
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveText(initialDate);
|
|
286
|
-
}));
|
|
287
|
-
(0, fixtures_1.test)("component handles startDate restrictions", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
288
|
-
yield initTestBed(`<DatePicker
|
|
289
|
-
testId="datePicker"
|
|
290
|
-
mode="range"
|
|
291
|
-
startDate="05/01/2024"
|
|
292
|
-
dateFormat="MM/dd/yyyy"
|
|
293
|
-
initialValue="{{ from: '05/26/2024', to: '05/27/2024' }}"
|
|
294
|
-
/>`);
|
|
295
|
-
yield page.getByTestId("datePicker").click();
|
|
296
|
-
yield (0, fixtures_1.expect)(page.getByRole('button', { name: 'Go to the Previous Month' })).toBeDisabled();
|
|
297
|
-
}));
|
|
298
|
-
(0, fixtures_1.test)("component handles endDate restrictions", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
299
|
-
yield initTestBed(`<DatePicker
|
|
300
|
-
testId="datePicker"
|
|
301
|
-
mode="range"
|
|
302
|
-
endDate="06/01/2024"
|
|
303
|
-
initialValue="{{ from: '05/26/2024', to: '05/27/2024' }}"
|
|
304
|
-
dateFormat="MM/dd/yyyy"
|
|
305
|
-
/>`);
|
|
306
|
-
yield page.getByTestId("datePicker").click();
|
|
307
|
-
yield (0, fixtures_1.expect)(page.getByRole('button', { name: 'Go to the Next Month' })).toBeDisabled();
|
|
308
|
-
}));
|
|
309
|
-
(0, fixtures_1.test)("component handles disabledDates correctly", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
310
|
-
const testDay = 15;
|
|
311
|
-
const today = new Date();
|
|
312
|
-
const testDayFormatted = (0, date_fns_1.format)(new Date(today.getFullYear(), today.getMonth(), testDay), "MM/dd/yyyy");
|
|
313
|
-
const testMonthName = (0, date_fns_1.format)(today, "LLLL");
|
|
314
|
-
yield initTestBed(`<DatePicker testId="datePicker" disabledDates="{['${testDayFormatted}']}" />`, {});
|
|
315
|
-
yield page.getByTestId("datePicker").click();
|
|
316
|
-
const testDayCell = page.getByRole("grid", { name: testMonthName }).getByLabel(testDay.toString());
|
|
317
|
-
yield (0, fixtures_1.expect)(testDayCell).toBeDisabled();
|
|
318
|
-
}));
|
|
319
|
-
// =============================================================================
|
|
320
|
-
// INTEGRATION TESTS
|
|
321
|
-
// =============================================================================
|
|
322
|
-
(0, fixtures_1.test)("component value API works", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
323
|
-
yield initTestBed(`
|
|
324
|
-
<Fragment>
|
|
325
|
-
<DatePicker id="datePicker" initialValue="05/25/2024" dateFormat="MM/dd/yyyy" />
|
|
326
|
-
<Text testId="text">{datePicker.value}</Text>
|
|
327
|
-
</Fragment>
|
|
328
|
-
`);
|
|
329
|
-
yield (0, fixtures_1.expect)(page.getByTestId("text")).toHaveText("05/25/2024");
|
|
330
|
-
}));
|
|
331
|
-
(0, fixtures_1.test)("component setValue API works", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
332
|
-
yield initTestBed(`
|
|
333
|
-
<Fragment>
|
|
334
|
-
<DatePicker id="datePicker" initialValue="05/25/2024" dateFormat="MM/dd/yyyy" />
|
|
335
|
-
<Button testId="btn" onClick="datePicker.setValue('06/01/2024')" />
|
|
336
|
-
</Fragment>
|
|
337
|
-
`);
|
|
338
|
-
yield page.getByTestId("btn").click();
|
|
339
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toHaveText("06/01/2024");
|
|
340
|
-
}));
|
|
341
|
-
(0, fixtures_1.test)("component focus API works", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
342
|
-
yield initTestBed(`
|
|
343
|
-
<Fragment>
|
|
344
|
-
<DatePicker id="datePicker" initialValue="05/25/2024" dateFormat="MM/dd/yyyy" />
|
|
345
|
-
<Button testId="focusBtn" onClick="datePicker.focus()" />
|
|
346
|
-
</Fragment>
|
|
347
|
-
`);
|
|
348
|
-
yield page.getByTestId("focusBtn").click();
|
|
349
|
-
yield (0, fixtures_1.expect)(page.getByTestId("datePicker")).toBeFocused();
|
|
350
|
-
}));
|
|
351
|
-
(0, fixtures_1.test)("component works correctly within a form", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
352
|
-
const { testStateDriver } = yield initTestBed(`
|
|
353
|
-
<Form onSubmit="(data) => testState = data.testField" data="{{ testField: '05/25/2024' }}">
|
|
354
|
-
<FormItem type="datePicker" label="Choose Date" bindTo="testField" />
|
|
355
|
-
</Form>
|
|
356
|
-
`);
|
|
357
|
-
const formElement = page.locator("form");
|
|
358
|
-
const dateInput = formElement.getByLabel("Choose Date");
|
|
359
|
-
yield (0, fixtures_1.expect)(dateInput).toBeVisible();
|
|
360
|
-
yield (0, fixtures_1.expect)(dateInput).toHaveText("05/25/2024");
|
|
361
|
-
// Submit the form
|
|
362
|
-
yield page.locator("[type=submit]").click();
|
|
363
|
-
// Check that the form was submitted
|
|
364
|
-
yield fixtures_1.expect.poll(testStateDriver.testState).toEqual("05/25/2024");
|
|
365
|
-
}));
|
|
366
|
-
// =============================================================================
|
|
367
|
-
// VISUAL STATE TESTS
|
|
368
|
-
// =============================================================================
|
|
369
|
-
(0, fixtures_1.test)("input has correct width in px", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
370
|
-
yield initTestBed(`<DatePicker width="200px" testId="test"/>`, {});
|
|
371
|
-
const input = page.getByTestId("test");
|
|
372
|
-
const { width } = yield input.boundingBox();
|
|
373
|
-
(0, fixtures_1.expect)(width).toBe(200);
|
|
374
|
-
}));
|
|
375
|
-
(0, fixtures_1.test)("input with label has correct width in px", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
376
|
-
yield initTestBed(`<DatePicker width="200px" label="test" testId="test"/>`, {});
|
|
377
|
-
const input = page.getByTestId("test");
|
|
378
|
-
const { width } = yield input.boundingBox();
|
|
379
|
-
(0, fixtures_1.expect)(width).toBe(200);
|
|
380
|
-
}));
|
|
381
|
-
(0, fixtures_1.test)("input has correct width in %", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
382
|
-
yield page.setViewportSize({ width: 400, height: 300 });
|
|
383
|
-
yield initTestBed(`<DatePicker width="50%" testId="test"/>`, {});
|
|
384
|
-
const input = page.getByTestId("test");
|
|
385
|
-
const { width } = yield input.boundingBox();
|
|
386
|
-
(0, fixtures_1.expect)(width).toBe(200);
|
|
387
|
-
}));
|
|
388
|
-
(0, fixtures_1.test)("input with label has correct width in %", (_a) => __awaiter(void 0, [_a], void 0, function* ({ page, initTestBed }) {
|
|
389
|
-
yield page.setViewportSize({ width: 400, height: 300 });
|
|
390
|
-
yield initTestBed(`<DatePicker width="50%" label="test" testId="test"/>`, {});
|
|
391
|
-
const input = page.getByTestId("test");
|
|
392
|
-
const { width } = yield input.boundingBox();
|
|
393
|
-
(0, fixtures_1.expect)(width).toBe(200);
|
|
394
|
-
}));
|