mx-ui-components-pkg 0.0.717-alpha.121
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/License +21 -0
- package/README.md +40 -0
- package/dist/abap-D0Neqhq6.js +1404 -0
- package/dist/apex-B5LhxkeG.js +332 -0
- package/dist/azcli-BrBH0QTU.js +74 -0
- package/dist/bat-BfzAov64.js +106 -0
- package/dist/bicep-C3bCSWel.js +108 -0
- package/dist/cameligo-sFL5plcd.js +180 -0
- package/dist/clojure-CfeExRz0.js +767 -0
- package/dist/coffee-Xws5K0WL.js +238 -0
- package/dist/cpp-CqOUEpxN.js +395 -0
- package/dist/csharp-DVLiBOZb.js +332 -0
- package/dist/csp-DVFp9bw5.js +59 -0
- package/dist/css-DwARn2R6.js +193 -0
- package/dist/cssMode-gQuT1ggz.js +1577 -0
- package/dist/cypher-uY0Mffat.js +269 -0
- package/dist/dart-D27H-mX_.js +287 -0
- package/dist/dockerfile-CmV85WZK.js +136 -0
- package/dist/ecl--fKn7yzB.js +462 -0
- package/dist/elixir-DUhH17ON.js +575 -0
- package/dist/flow9-B3Dx2LLe.js +148 -0
- package/dist/freemarker2-jL3Z0LEU.js +995 -0
- package/dist/fsharp-SyqBfUAR.js +223 -0
- package/dist/go-BbMR2tdT.js +224 -0
- package/dist/graphql-DDJE6tIl.js +157 -0
- package/dist/handlebars-DuQel7zv.js +425 -0
- package/dist/hcl-YBvpaUqf.js +189 -0
- package/dist/html-B1x_Q1d4.js +314 -0
- package/dist/htmlMode-c4xQ8n2E.js +1587 -0
- package/dist/htmx.esm-lFhJjLHa.js +2282 -0
- package/dist/index-pU7JpcAp.js +362117 -0
- package/dist/index.es-DLivPq7o.js +5627 -0
- package/dist/index.js +179 -0
- package/dist/index.umd.cjs +5918 -0
- package/dist/ini-Ct73dBtM.js +77 -0
- package/dist/java-C_jlkwoG.js +238 -0
- package/dist/javascript-Bp25c6Zh.js +76 -0
- package/dist/jsonMode-D9GsVC9K.js +2002 -0
- package/dist/julia-D8WE5U1e.js +517 -0
- package/dist/kotlin-Zy9aq5yB.js +259 -0
- package/dist/less-sZ0iHtE8.js +168 -0
- package/dist/lexon-CsdNL29A.js +163 -0
- package/dist/liquid-D1vivIqf.js +246 -0
- package/dist/lua-C2YJo0zw.js +168 -0
- package/dist/m3-CPLP40SG.js +216 -0
- package/dist/markdown-B1mf5e0R.js +235 -0
- package/dist/mdx-DQaBMjnU.js +171 -0
- package/dist/mips-DA33BZX1.js +204 -0
- package/dist/msdax-CCYFIQsP.js +381 -0
- package/dist/mysql-hjmIjL-D.js +884 -0
- package/dist/objective-c-RRCpEmqC.js +189 -0
- package/dist/pascal-CeV8XfxB.js +257 -0
- package/dist/pascaligo-IEEGVJAJ.js +170 -0
- package/dist/perl-B5-QbHq_.js +632 -0
- package/dist/pgsql-s6kqEJmi.js +857 -0
- package/dist/php-CWWqzOo8.js +506 -0
- package/dist/pla-FSvb_YP_.js +143 -0
- package/dist/postiats-DQdscQXO.js +913 -0
- package/dist/powerquery-CtA5JA1I.js +896 -0
- package/dist/powershell-DglEq96N.js +245 -0
- package/dist/protobuf-BSepub3e.js +426 -0
- package/dist/pug-B1847F4G.js +408 -0
- package/dist/purify.es-DHbHSKL1.js +528 -0
- package/dist/python-BNIU3jAC.js +307 -0
- package/dist/qsharp-D4i0Nqg9.js +307 -0
- package/dist/r-cdRigKxa.js +249 -0
- package/dist/razor-BmTFWDiN.js +556 -0
- package/dist/redis-D9MFxvE8.js +308 -0
- package/dist/redshift-CmCnsvL-.js +815 -0
- package/dist/restructuredtext-CWy8J51t.js +180 -0
- package/dist/ruby-WP-c36m5.js +517 -0
- package/dist/rust-Q9FLdYpu.js +349 -0
- package/dist/sb-C54-JBGT.js +121 -0
- package/dist/scala-CzbFImc5.js +376 -0
- package/dist/scheme-BhfDmYN3.js +114 -0
- package/dist/scss-CEmiBXpS.js +268 -0
- package/dist/shell-Bmc1VhG0.js +227 -0
- package/dist/solidity-C9Q2I8Hh.js +1373 -0
- package/dist/sophia-jWa1UyKz.js +205 -0
- package/dist/sparql-CM7jctbc.js +207 -0
- package/dist/sql-WzihTkbg.js +859 -0
- package/dist/st-6y7_3aup.js +422 -0
- package/dist/style.css +10 -0
- package/dist/swift-k-0zxG_D.js +318 -0
- package/dist/systemverilog-Pnr5_rIP.js +582 -0
- package/dist/tcl-fNPXval8.js +238 -0
- package/dist/tsMode-YqbVSHNM.js +895 -0
- package/dist/twig-L2MkztkV.js +398 -0
- package/dist/types/src/assets/Scripts/TailwindCss.d.ts +1 -0
- package/dist/types/src/assets/Scripts/htmxLoader.d.ts +2 -0
- package/dist/types/src/assets/data/country-flags.d.ts +17 -0
- package/dist/types/src/hooks.d.ts +0 -0
- package/dist/types/src/hooks.server.d.ts +0 -0
- package/dist/types/src/lib/A/index.d.ts +2 -0
- package/dist/types/src/lib/Accordion/Accordion.svelte.d.ts +12 -0
- package/dist/types/src/lib/Accordion/AccordionContent.svelte.d.ts +10 -0
- package/dist/types/src/lib/Accordion/AccordionHeader.svelte.d.ts +32 -0
- package/dist/types/src/lib/Accordion/AccordionItem.svelte.d.ts +8 -0
- package/dist/types/src/lib/Accordion/index.d.ts +5 -0
- package/dist/types/src/lib/ActionMounter/MobiusActionMounter.d.ts +7 -0
- package/dist/types/src/lib/AgentCard/AgentCard.svelte.d.ts +9 -0
- package/dist/types/src/lib/Areachart/Areachart.d.ts +14 -0
- package/dist/types/src/lib/AudioPlayer/AudioPlayer.d.ts +28 -0
- package/dist/types/src/lib/AudioRecorder/AudioRecord.svelte.d.ts +25 -0
- package/dist/types/src/lib/AudioRecorder/AudioRecordedTextGroup.d.ts +60 -0
- package/dist/types/src/lib/AudioRecorder/CommandPanelCheckboxes.d.ts +10 -0
- package/dist/types/src/lib/AudioRecorder/index.d.ts +2 -0
- package/dist/types/src/lib/AudioSummary/AudioSummary.d.ts +13 -0
- package/dist/types/src/lib/Autocomplete/Autocomplete.d.ts +16 -0
- package/dist/types/src/lib/Avatar/Avatar.svelte.d.ts +12 -0
- package/dist/types/src/lib/Avatar/index.d.ts +2 -0
- package/dist/types/src/lib/Badge/Badge.svelte.d.ts +18 -0
- package/dist/types/src/lib/Badge/BadgeGroup.d.ts +23 -0
- package/dist/types/src/lib/Badge/index.d.ts +2 -0
- package/dist/types/src/lib/Banner/Banner.svelte.d.ts +18 -0
- package/dist/types/src/lib/Banner/index.d.ts +2 -0
- package/dist/types/src/lib/Barchart/Barchart.d.ts +14 -0
- package/dist/types/src/lib/BlockQuote/Blockquote.svelte.d.ts +16 -0
- package/dist/types/src/lib/BlockQuote/index.d.ts +2 -0
- package/dist/types/src/lib/Calendar/index.d.ts +2 -0
- package/dist/types/src/lib/Card/Card-header.svelte.d.ts +10 -0
- package/dist/types/src/lib/Card/Card.svelte.d.ts +40 -0
- package/dist/types/src/lib/Card/Chats-card.d.ts +10 -0
- package/dist/types/src/lib/Card/index.d.ts +2 -0
- package/dist/types/src/lib/Card/mobius-methods.d.ts +16 -0
- package/dist/types/src/lib/Card/utils.d.ts +54 -0
- package/dist/types/src/lib/Carousel/Carousel.svelte.d.ts +22 -0
- package/dist/types/src/lib/ChatDialog/ChatDialog.svelte.d.ts +30 -0
- package/dist/types/src/lib/ChatDialog/index.d.ts +2 -0
- package/dist/types/src/lib/ChatMessage/ChatMessage.svelte.d.ts +77 -0
- package/dist/types/src/lib/ChatMessage/index.d.ts +2 -0
- package/dist/types/src/lib/Checkbox/index.d.ts +2 -0
- package/dist/types/src/lib/ColorPicker/ColorPicker.d.ts +11 -0
- package/dist/types/src/lib/Command/Command.d.ts +55 -0
- package/dist/types/src/lib/Command/CommandsWrapper.d.ts +26 -0
- package/dist/types/src/lib/ComplexAccordion/ComplexAccordion.d.ts +50 -0
- package/dist/types/src/lib/ComplexCards/ComplexCards.d.ts +51 -0
- package/dist/types/src/lib/ConditionalRenderer/ConditionalRenderer.d.ts +10 -0
- package/dist/types/src/lib/ConditionalRenderer/ConditionalRendererDom.d.ts +12 -0
- package/dist/types/src/lib/ConnectionFlow/ConnectionFlow.d.ts +44 -0
- package/dist/types/src/lib/Counter/APIComponent.svelte.d.ts +19 -0
- package/dist/types/src/lib/Counter/BaseComponent.d.ts +149 -0
- package/dist/types/src/lib/Counter/Breadcrumb.svelte.d.ts +14 -0
- package/dist/types/src/lib/Counter/Button.svelte.d.ts +9 -0
- package/dist/types/src/lib/Counter/ChatBot.d.ts +11 -0
- package/dist/types/src/lib/Counter/Child.svelte.d.ts +12 -0
- package/dist/types/src/lib/Counter/Common.svelte.d.ts +7 -0
- package/dist/types/src/lib/Counter/CustomButton.d.ts +13 -0
- package/dist/types/src/lib/Counter/CustomCheckbox.svelte.d.ts +28 -0
- package/dist/types/src/lib/Counter/CustomForm.svelte.d.ts +8 -0
- package/dist/types/src/lib/Counter/CustomInput.svelte.d.ts +9 -0
- package/dist/types/src/lib/Counter/CustomInputError.svelte.d.ts +7 -0
- package/dist/types/src/lib/Counter/CustomKeyEvents.d.ts +19 -0
- package/dist/types/src/lib/Counter/Drawer.svelte.d.ts +20 -0
- package/dist/types/src/lib/Counter/DropDown.d.ts +13 -0
- package/dist/types/src/lib/Counter/Dropdown.svelte.d.ts +26 -0
- package/dist/types/src/lib/Counter/DropdownContainer.d.ts +9 -0
- package/dist/types/src/lib/Counter/DropdownInput.d.ts +13 -0
- package/dist/types/src/lib/Counter/DropdownInputContainer.d.ts +12 -0
- package/dist/types/src/lib/Counter/DropdownItem.svelte.d.ts +22 -0
- package/dist/types/src/lib/Counter/DropdownList.d.ts +0 -0
- package/dist/types/src/lib/Counter/DropdownMenu.svelte.d.ts +27 -0
- package/dist/types/src/lib/Counter/Input.svelte.d.ts +6 -0
- package/dist/types/src/lib/Counter/Label.svelte.d.ts +7 -0
- package/dist/types/src/lib/Counter/ListGroup.d.ts +11 -0
- package/dist/types/src/lib/Counter/ListItem.d.ts +19 -0
- package/dist/types/src/lib/Counter/MobiusAppComponent.d.ts +8 -0
- package/dist/types/src/lib/Counter/MobiusBreadCrumbItem.svelte.d.ts +14 -0
- package/dist/types/src/lib/Counter/MobiusBreadCrumbNav.svelte.d.ts +11 -0
- package/dist/types/src/lib/Counter/MobiusContainer.d.ts +27 -0
- package/dist/types/src/lib/Counter/MobiusHtmlBaseElement/MobiusHTMLElement.d.ts +14 -0
- package/dist/types/src/lib/Counter/MobiusHtmlBaseElement/actions.d.ts +7 -0
- package/dist/types/src/lib/Counter/MobiusHtmlBaseElement/component-factory.d.ts +3 -0
- package/dist/types/src/lib/Counter/MobiusHtmlBaseElement/counter-component.d.ts +6 -0
- package/dist/types/src/lib/Counter/MobiusHtmlBaseElement/dynamic-signals.d.ts +1 -0
- package/dist/types/src/lib/Counter/MobiusHtmlBaseElement/message-component.d.ts +6 -0
- package/dist/types/src/lib/Counter/MobiusHtmlBaseElement/metadata-renderer.d.ts +5 -0
- package/dist/types/src/lib/Counter/MobiusHtmlBaseElement/store.d.ts +17 -0
- package/dist/types/src/lib/Counter/MobiusHtmlBaseElement/text-display-component.d.ts +6 -0
- package/dist/types/src/lib/Counter/OverlayPanel.d.ts +17 -0
- package/dist/types/src/lib/Counter/Parent.svelte.d.ts +12 -0
- package/dist/types/src/lib/Counter/Provider.svelte.d.ts +8 -0
- package/dist/types/src/lib/Counter/RangeInput.svelte.d.ts +17 -0
- package/dist/types/src/lib/Counter/Router.svelte.d.ts +7 -0
- package/dist/types/src/lib/Counter/RouterInit.d.ts +17 -0
- package/dist/types/src/lib/Counter/Store.svelte.d.ts +15 -0
- package/dist/types/src/lib/Counter/TailwindCss.d.ts +1 -0
- package/dist/types/src/lib/Counter/TextAudio.svelte.d.ts +22 -0
- package/dist/types/src/lib/Counter/counter-component.svelte.d.ts +13 -0
- package/dist/types/src/lib/Counter/store/actions.d.ts +5 -0
- package/dist/types/src/lib/Counter/store/signals.d.ts +10 -0
- package/dist/types/src/lib/Counter/store/store.d.ts +14 -0
- package/dist/types/src/lib/CountryFlagElement/CountryFlagElement.d.ts +22 -0
- package/dist/types/src/lib/CountryFlagElement/CountryFlagElement.svelte.d.ts +22 -0
- package/dist/types/src/lib/CustomDatePicker/CustomDatePicker.d.ts +89 -0
- package/dist/types/src/lib/CustomNode/CustomNode.d.ts +11 -0
- package/dist/types/src/lib/CustomOntology/CustomOntologyBase.d.ts +23 -0
- package/dist/types/src/lib/CustomProgressNotificationComponent/CustomProgressNotificationComponent.d.ts +22 -0
- package/dist/types/src/lib/CustomSearchBox/CustomSeachInputBox.d.ts +17 -0
- package/dist/types/src/lib/CustomSearchBox/CustomSearchBox.d.ts +27 -0
- package/dist/types/src/lib/CustomWorkflowViewer/CustomWorkflowViewer.d.ts +47 -0
- package/dist/types/src/lib/CustomWorkflowViewer/workflow.types.d.ts +80 -0
- package/dist/types/src/lib/Datepicker/index.d.ts +2 -0
- package/dist/types/src/lib/Div/Div.svelte.d.ts +16 -0
- package/dist/types/src/lib/Div/index.d.ts +2 -0
- package/dist/types/src/lib/DoughnutChart/Doughnut.d.ts +14 -0
- package/dist/types/src/lib/DrawflowEditor/DrawflowEditor.d.ts +32 -0
- package/dist/types/src/lib/Dropdown/MobiusDropdown.d.ts +27 -0
- package/dist/types/src/lib/DynamicDataElement/DynamicDataElement.svelte.d.ts +16 -0
- package/dist/types/src/lib/DynamicForm/dynamicForm.d.ts +10 -0
- package/dist/types/src/lib/DynamicForm/index.d.ts +2 -0
- package/dist/types/src/lib/EditableDiv/EditableDiv.d.ts +10 -0
- package/dist/types/src/lib/FetchInterceptor/MobiusFetchInterceptor.d.ts +8 -0
- package/dist/types/src/lib/FileInput/Fileupload.svelte.d.ts +26 -0
- package/dist/types/src/lib/FileInput/index.d.ts +2 -0
- package/dist/types/src/lib/FileUpload/FileUpload.d.ts +58 -0
- package/dist/types/src/lib/FirstComponent/FirstComponent.svelte.d.ts +6 -0
- package/dist/types/src/lib/Funnel/Funnel.d.ts +14 -0
- package/dist/types/src/lib/GoogleButton/MobiusGoogleOAuth.d.ts +10 -0
- package/dist/types/src/lib/Group-Structure/GroupStructure.d.ts +21 -0
- package/dist/types/src/lib/H1/H1.svelte.d.ts +4 -0
- package/dist/types/src/lib/H1/index.d.ts +2 -0
- package/dist/types/src/lib/H2/H2.svelte.d.ts +4 -0
- package/dist/types/src/lib/H2/index.d.ts +2 -0
- package/dist/types/src/lib/H3/H3.svelte.d.ts +4 -0
- package/dist/types/src/lib/H3/index.d.ts +2 -0
- package/dist/types/src/lib/H4/index.d.ts +2 -0
- package/dist/types/src/lib/H5/index.d.ts +2 -0
- package/dist/types/src/lib/H6/index.d.ts +2 -0
- package/dist/types/src/lib/Heatmap/Heatmap.d.ts +14 -0
- package/dist/types/src/lib/Helpers/Util.d.ts +2 -0
- package/dist/types/src/lib/Hr/index.d.ts +2 -0
- package/dist/types/src/lib/IconBubble/IconBubble.d.ts +20 -0
- package/dist/types/src/lib/Iframe/iframeNew.d.ts +9 -0
- package/dist/types/src/lib/Img/Img.svelte.d.ts +7 -0
- package/dist/types/src/lib/Input/Input.svelte.d.ts +14 -0
- package/dist/types/src/lib/InputBaseComponent/InputBaseComponent.d.ts +59 -0
- package/dist/types/src/lib/JSONInputField/jsonInput.d.ts +12 -0
- package/dist/types/src/lib/KBD/index.d.ts +2 -0
- package/dist/types/src/lib/LayoutCards/LayoutCards.d.ts +6 -0
- package/dist/types/src/lib/Leaflet/Leaflet.d.ts +18 -0
- package/dist/types/src/lib/Li/index.d.ts +2 -0
- package/dist/types/src/lib/LineChart/lineChart.d.ts +26 -0
- package/dist/types/src/lib/Link/MobiusLink.d.ts +12 -0
- package/dist/types/src/lib/ListGroup/index.d.ts +2 -0
- package/dist/types/src/lib/MegaMenu/index.d.ts +2 -0
- package/dist/types/src/lib/MobiusAccordion/CustomMobiusAccordianItem.d.ts +11 -0
- package/dist/types/src/lib/MobiusAccordion/CustomMobiusAccordionContent.d.ts +13 -0
- package/dist/types/src/lib/MobiusAccordion/CustomMobiusAccordionHeader.d.ts +11 -0
- package/dist/types/src/lib/MobiusAccordion/CustomMobiusAccordionWrapper.d.ts +9 -0
- package/dist/types/src/lib/MobiusButton/Button.d.ts +16 -0
- package/dist/types/src/lib/MobiusButtonGroup/ButtonGroup.d.ts +9 -0
- package/dist/types/src/lib/MobiusButtonGroup/ButtonGroupButton.d.ts +10 -0
- package/dist/types/src/lib/MobiusLoop/MobiusLoop.d.ts +37 -0
- package/dist/types/src/lib/Modal/Modal.svelte.d.ts +26 -0
- package/dist/types/src/lib/Modal/index.d.ts +2 -0
- package/dist/types/src/lib/MultiBarChart/ MultiBarChart.d.ts +14 -0
- package/dist/types/src/lib/OrgChart/OrgChart.d.ts +53 -0
- package/dist/types/src/lib/P/MobiusP.d.ts +8 -0
- package/dist/types/src/lib/Pagination/MobiusPagination.d.ts +29 -0
- package/dist/types/src/lib/PieChart/PieChart.d.ts +14 -0
- package/dist/types/src/lib/ProgressBar/ProgressBar.svelte.d.ts +75 -0
- package/dist/types/src/lib/Radial/RadialChart.d.ts +14 -0
- package/dist/types/src/lib/RadialRelationship/RadialRelationship.d.ts +11 -0
- package/dist/types/src/lib/RadialRelationship/utils.d.ts +23 -0
- package/dist/types/src/lib/Radio/index.d.ts +2 -0
- package/dist/types/src/lib/Range/index.d.ts +2 -0
- package/dist/types/src/lib/Rating/Rating.svelte.d.ts +15 -0
- package/dist/types/src/lib/Rating/index.d.ts +2 -0
- package/dist/types/src/lib/RingGaugeChart/RingGaugeChart.d.ts +14 -0
- package/dist/types/src/lib/SVG/svg.d.ts +7 -0
- package/dist/types/src/lib/ScatterChart/Scatter.d.ts +14 -0
- package/dist/types/src/lib/SecondComponent/SecondComponent.svelte.d.ts +6 -0
- package/dist/types/src/lib/SocketIoSubscriber/MobiusSocketIoSubscriber.d.ts +5 -0
- package/dist/types/src/lib/Span/Span.d.ts +12 -0
- package/dist/types/src/lib/Span/index.d.ts +2 -0
- package/dist/types/src/lib/SpeechPrompt/SpeechPrompt.d.ts +19 -0
- package/dist/types/src/lib/SpeechPrompt/SpeechPromptDynamic.d.ts +66 -0
- package/dist/types/src/lib/Split/MobiusSplit.d.ts +8 -0
- package/dist/types/src/lib/StackedAreaChart/StackedAreaChart.d.ts +14 -0
- package/dist/types/src/lib/StackedBarchart/StackedBarchart.d.ts +14 -0
- package/dist/types/src/lib/StackedLineChart/StackedLineChart.d.ts +14 -0
- package/dist/types/src/lib/Stepper/Stepper.svelte.d.ts +91 -0
- package/dist/types/src/lib/Stepper/index.d.ts +2 -0
- package/dist/types/src/lib/StringManipulation/StringManipulation.d.ts +9 -0
- package/dist/types/src/lib/Tab/MobiusTab.d.ts +18 -0
- package/dist/types/src/lib/Tab/MobiusTabs.d.ts +27 -0
- package/dist/types/src/lib/Table/MobiusTable.d.ts +67 -0
- package/dist/types/src/lib/Table/Td/MobiusTd.d.ts +17 -0
- package/dist/types/src/lib/Table/Th/MobiusTh.d.ts +11 -0
- package/dist/types/src/lib/Table/Tr/MobiusTr.d.ts +21 -0
- package/dist/types/src/lib/Table/index.d.ts +5 -0
- package/dist/types/src/lib/TimeNode/index.d.ts +2 -0
- package/dist/types/src/lib/Timeline/index.d.ts +2 -0
- package/dist/types/src/lib/TimelineDial/index.d.ts +2 -0
- package/dist/types/src/lib/TimerComponent/TimerComponent.svelte.d.ts +13 -0
- package/dist/types/src/lib/Toast/Toast.svelte.d.ts +18 -0
- package/dist/types/src/lib/Toast/Toaster.d.ts +24 -0
- package/dist/types/src/lib/Toast/index.d.ts +2 -0
- package/dist/types/src/lib/ToggleSwitch/MobiusBaseToggle.d.ts +11 -0
- package/dist/types/src/lib/ToggleSwitch/Toggle.d.ts +6 -0
- package/dist/types/src/lib/ToggleSwitch/ToggleCheckBox.d.ts +7 -0
- package/dist/types/src/lib/ToggleSwitch/index.d.ts +4 -0
- package/dist/types/src/lib/Tooltip/index.d.ts +2 -0
- package/dist/types/src/lib/Ul/index.d.ts +2 -0
- package/dist/types/src/lib/UsabilityIntelligence/UsabilityIntelligence.svelte.d.ts +32 -0
- package/dist/types/src/lib/UsabilityIntelligence/index.d.ts +2 -0
- package/dist/types/src/lib/Video/MobiusVideo.d.ts +17 -0
- package/dist/types/src/lib/Video/Video.svelte.d.ts +22 -0
- package/dist/types/src/lib/Video/index.d.ts +2 -0
- package/dist/types/src/lib/WebsocketService/Notification.d.ts +36 -0
- package/dist/types/src/lib/WebsocketService/NotificationComponent.d.ts +9 -0
- package/dist/types/src/lib/WebsocketService/WebsocketService.d.ts +25 -0
- package/dist/types/src/lib/WrapperComponent/WrapperComponent.svelte.d.ts +9 -0
- package/dist/types/src/lib/WysiwygEditor/ConvertJsonToDita.d.ts +14 -0
- package/dist/types/src/lib/WysiwygEditor/Nodes/CustomLink.d.ts +1 -0
- package/dist/types/src/lib/WysiwygEditor/Nodes/FocusIcons.d.ts +2 -0
- package/dist/types/src/lib/WysiwygEditor/Nodes/ImageNode.d.ts +3 -0
- package/dist/types/src/lib/WysiwygEditor/Nodes/SectionNode.d.ts +3 -0
- package/dist/types/src/lib/WysiwygEditor/Nodes/SectionTitleNode.d.ts +3 -0
- package/dist/types/src/lib/WysiwygEditor/Nodes/TitleNode.d.ts +3 -0
- package/dist/types/src/lib/WysiwygEditor/Nodes/TopicNode.d.ts +3 -0
- package/dist/types/src/lib/WysiwygEditor/Nodes/VideoNode.d.ts +3 -0
- package/dist/types/src/lib/WysiwygEditor/Nodes/VideoPlaceholderNode.d.ts +3 -0
- package/dist/types/src/lib/WysiwygEditor/Nodes/dropdown.d.ts +91 -0
- package/dist/types/src/lib/WysiwygEditor/WysiwygEditor.d.ts +148 -0
- package/dist/types/src/lib/WysiwygEditor/index.d.ts +2 -0
- package/dist/types/src/lib/XmlEditor/FormatHTML.d.ts +1 -0
- package/dist/types/src/lib/XmlEditor/FormatJson.d.ts +1 -0
- package/dist/types/src/lib/XmlEditor/FormatXML.d.ts +1 -0
- package/dist/types/src/lib/XmlEditor/FormatYaml.d.ts +3 -0
- package/dist/types/src/lib/XmlEditor/ValidateHTML.d.ts +2 -0
- package/dist/types/src/lib/XmlEditor/XmlEditor.d.ts +34 -0
- package/dist/types/src/lib/XmlEditor/index.d.ts +2 -0
- package/dist/types/src/lib/i18n.d.ts +0 -0
- package/dist/types/src/lib/index.d.ts +168 -0
- package/dist/types/src/lib/inlang.d.ts +1 -0
- package/dist/types/src/lib/mobiusRadio/mobiusRadio.d.ts +6 -0
- package/dist/types/src/lib/utils/Base.d.ts +14 -0
- package/dist/types/src/lib/utils/BaseDiv.d.ts +9 -0
- package/dist/types/src/lib/utils/ExtractAssetDetails.d.ts +5 -0
- package/dist/types/src/lib/utils/common.d.ts +148 -0
- package/dist/types/src/lib/utils/dita.d.ts +11 -0
- package/dist/types/src/lib/utils/fetchTopics.d.ts +6 -0
- package/dist/types/src/lib/utils/loader.d.ts +38 -0
- package/dist/types/src/lib/utils/macProductMetaData.d.ts +254 -0
- package/dist/types/src/lib/utils/xmlToDita.d.ts +1 -0
- package/dist/types/src/lib/utils/xslt.d.ts +1 -0
- package/dist/types/src/messages/en.d.ts +0 -0
- package/dist/types/src/routes/+layout.server.d.ts +14182 -0
- package/dist/types/src/routes/+page.server.d.ts +1 -0
- package/dist/types/src/routes/api/megamenu/+server.d.ts +1 -0
- package/dist/types/src/routes/api/mobius/+server.d.ts +1 -0
- package/dist/types/src/routes/api/progressbar/+server.d.ts +1 -0
- package/dist/types/src/routes/api/stepper/+server.d.ts +1 -0
- package/dist/types/src/routes/htmxLoader.d.ts +3 -0
- package/dist/types/src/services/ServiceManager.d.ts +11 -0
- package/dist/types/src/services/SocketIOService.d.ts +28 -0
- package/dist/types/src/services/ToastService.d.ts +11 -0
- package/dist/types/src/services/helpers.d.ts +2 -0
- package/dist/types/src/services/service.d.ts +11 -0
- package/dist/types/tests/alert.test.d.ts +1 -0
- package/dist/types/tests/components.test.d.ts +1 -0
- package/dist/types/tests/forms.test.d.ts +1 -0
- package/dist/types/tests/home.test.d.ts +1 -0
- package/dist/types/tests/other.test.d.ts +1 -0
- package/dist/types/tests/typography.test.d.ts +1 -0
- package/dist/types/vite.config.d.ts +3 -0
- package/dist/typescript-BOMzHmQp.js +349 -0
- package/dist/typespec-Cqqo-3Pt.js +123 -0
- package/dist/vb-B5YC2xN9.js +378 -0
- package/dist/wgsl-B-_uRex7.js +445 -0
- package/dist/xml-B0r1kHUg.js +101 -0
- package/dist/yaml-BhIhwuQg.js +212 -0
- package/package.json +204 -0
|
@@ -0,0 +1,575 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/
|
|
7
|
+
var e = {
|
|
8
|
+
comments: {
|
|
9
|
+
lineComment: "#"
|
|
10
|
+
},
|
|
11
|
+
brackets: [
|
|
12
|
+
["{", "}"],
|
|
13
|
+
["[", "]"],
|
|
14
|
+
["(", ")"]
|
|
15
|
+
],
|
|
16
|
+
surroundingPairs: [
|
|
17
|
+
{ open: "{", close: "}" },
|
|
18
|
+
{ open: "[", close: "]" },
|
|
19
|
+
{ open: "(", close: ")" },
|
|
20
|
+
{ open: "'", close: "'" },
|
|
21
|
+
{ open: '"', close: '"' }
|
|
22
|
+
],
|
|
23
|
+
autoClosingPairs: [
|
|
24
|
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
|
25
|
+
{ open: '"', close: '"', notIn: ["comment"] },
|
|
26
|
+
{ open: '"""', close: '"""' },
|
|
27
|
+
{ open: "`", close: "`", notIn: ["string", "comment"] },
|
|
28
|
+
{ open: "(", close: ")" },
|
|
29
|
+
{ open: "{", close: "}" },
|
|
30
|
+
{ open: "[", close: "]" },
|
|
31
|
+
{ open: "<<", close: ">>" }
|
|
32
|
+
],
|
|
33
|
+
indentationRules: {
|
|
34
|
+
increaseIndentPattern: /^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,
|
|
35
|
+
decreaseIndentPattern: /^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/
|
|
36
|
+
}
|
|
37
|
+
}, t = {
|
|
38
|
+
defaultToken: "source",
|
|
39
|
+
tokenPostfix: ".elixir",
|
|
40
|
+
brackets: [
|
|
41
|
+
{ open: "[", close: "]", token: "delimiter.square" },
|
|
42
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
|
43
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
44
|
+
{ open: "<<", close: ">>", token: "delimiter.angle.special" }
|
|
45
|
+
],
|
|
46
|
+
// Below are lists/regexps to which we reference later.
|
|
47
|
+
declarationKeywords: [
|
|
48
|
+
"def",
|
|
49
|
+
"defp",
|
|
50
|
+
"defn",
|
|
51
|
+
"defnp",
|
|
52
|
+
"defguard",
|
|
53
|
+
"defguardp",
|
|
54
|
+
"defmacro",
|
|
55
|
+
"defmacrop",
|
|
56
|
+
"defdelegate",
|
|
57
|
+
"defcallback",
|
|
58
|
+
"defmacrocallback",
|
|
59
|
+
"defmodule",
|
|
60
|
+
"defprotocol",
|
|
61
|
+
"defexception",
|
|
62
|
+
"defimpl",
|
|
63
|
+
"defstruct"
|
|
64
|
+
],
|
|
65
|
+
operatorKeywords: ["and", "in", "not", "or", "when"],
|
|
66
|
+
namespaceKeywords: ["alias", "import", "require", "use"],
|
|
67
|
+
otherKeywords: [
|
|
68
|
+
"after",
|
|
69
|
+
"case",
|
|
70
|
+
"catch",
|
|
71
|
+
"cond",
|
|
72
|
+
"do",
|
|
73
|
+
"else",
|
|
74
|
+
"end",
|
|
75
|
+
"fn",
|
|
76
|
+
"for",
|
|
77
|
+
"if",
|
|
78
|
+
"quote",
|
|
79
|
+
"raise",
|
|
80
|
+
"receive",
|
|
81
|
+
"rescue",
|
|
82
|
+
"super",
|
|
83
|
+
"throw",
|
|
84
|
+
"try",
|
|
85
|
+
"unless",
|
|
86
|
+
"unquote_splicing",
|
|
87
|
+
"unquote",
|
|
88
|
+
"with"
|
|
89
|
+
],
|
|
90
|
+
constants: ["true", "false", "nil"],
|
|
91
|
+
nameBuiltin: ["__MODULE__", "__DIR__", "__ENV__", "__CALLER__", "__STACKTRACE__"],
|
|
92
|
+
// Matches any of the operator names:
|
|
93
|
+
// <<< >>> ||| &&& ^^^ ~~~ === !== ~>> <~> |~> <|> == != <= >= && || \\ <> ++ -- |> =~ -> <- ~> <~ :: .. = < > + - * / | . ^ & !
|
|
94
|
+
operator: /-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,
|
|
95
|
+
// See https://hexdocs.pm/elixir/syntax-reference.html#variables
|
|
96
|
+
variableName: /[a-z_][a-zA-Z0-9_]*[?!]?/,
|
|
97
|
+
// See https://hexdocs.pm/elixir/syntax-reference.html#atoms
|
|
98
|
+
atomName: /[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,
|
|
99
|
+
specialAtomName: /\.\.\.|<<>>|%\{\}|%|\{\}/,
|
|
100
|
+
aliasPart: /[A-Z][a-zA-Z0-9_]*/,
|
|
101
|
+
moduleName: /@aliasPart(?:\.@aliasPart)*/,
|
|
102
|
+
// Sigil pairs are: """ """, ''' ''', " ", ' ', / /, | |, < >, { }, [ ], ( )
|
|
103
|
+
sigilSymmetricDelimiter: /"""|'''|"|'|\/|\|/,
|
|
104
|
+
sigilStartDelimiter: /@sigilSymmetricDelimiter|<|\{|\[|\(/,
|
|
105
|
+
sigilEndDelimiter: /@sigilSymmetricDelimiter|>|\}|\]|\)/,
|
|
106
|
+
sigilModifiers: /[a-zA-Z0-9]*/,
|
|
107
|
+
decimal: /\d(?:_?\d)*/,
|
|
108
|
+
hex: /[0-9a-fA-F](_?[0-9a-fA-F])*/,
|
|
109
|
+
octal: /[0-7](_?[0-7])*/,
|
|
110
|
+
binary: /[01](_?[01])*/,
|
|
111
|
+
// See https://hexdocs.pm/elixir/master/String.html#module-escape-characters
|
|
112
|
+
escape: /\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,
|
|
113
|
+
// The keys below correspond to tokenizer states.
|
|
114
|
+
// We start from the root state and match against its rules
|
|
115
|
+
// until we explicitly transition into another state.
|
|
116
|
+
// The `include` simply brings in all operations from the given state
|
|
117
|
+
// and is useful for improving readability.
|
|
118
|
+
tokenizer: {
|
|
119
|
+
root: [
|
|
120
|
+
{ include: "@whitespace" },
|
|
121
|
+
{ include: "@comments" },
|
|
122
|
+
// Keywords start as either an identifier or a string,
|
|
123
|
+
// but end with a : so it's important to match this first.
|
|
124
|
+
{ include: "@keywordsShorthand" },
|
|
125
|
+
{ include: "@numbers" },
|
|
126
|
+
{ include: "@identifiers" },
|
|
127
|
+
{ include: "@strings" },
|
|
128
|
+
{ include: "@atoms" },
|
|
129
|
+
{ include: "@sigils" },
|
|
130
|
+
{ include: "@attributes" },
|
|
131
|
+
{ include: "@symbols" }
|
|
132
|
+
],
|
|
133
|
+
// Whitespace
|
|
134
|
+
whitespace: [[/\s+/, "white"]],
|
|
135
|
+
// Comments
|
|
136
|
+
comments: [[/(#)(.*)/, ["comment.punctuation", "comment"]]],
|
|
137
|
+
// Keyword list shorthand
|
|
138
|
+
keywordsShorthand: [
|
|
139
|
+
[/(@atomName)(:)(\s+)/, ["constant", "constant.punctuation", "white"]],
|
|
140
|
+
// Use positive look-ahead to ensure the string is followed by :
|
|
141
|
+
// and should be considered a keyword.
|
|
142
|
+
[
|
|
143
|
+
/"(?=([^"]|#\{.*?\}|\\")*":)/,
|
|
144
|
+
{ token: "constant.delimiter", next: "@doubleQuotedStringKeyword" }
|
|
145
|
+
],
|
|
146
|
+
[
|
|
147
|
+
/'(?=([^']|#\{.*?\}|\\')*':)/,
|
|
148
|
+
{ token: "constant.delimiter", next: "@singleQuotedStringKeyword" }
|
|
149
|
+
]
|
|
150
|
+
],
|
|
151
|
+
doubleQuotedStringKeyword: [
|
|
152
|
+
[/":/, { token: "constant.delimiter", next: "@pop" }],
|
|
153
|
+
{ include: "@stringConstantContentInterpol" }
|
|
154
|
+
],
|
|
155
|
+
singleQuotedStringKeyword: [
|
|
156
|
+
[/':/, { token: "constant.delimiter", next: "@pop" }],
|
|
157
|
+
{ include: "@stringConstantContentInterpol" }
|
|
158
|
+
],
|
|
159
|
+
// Numbers
|
|
160
|
+
numbers: [
|
|
161
|
+
[/0b@binary/, "number.binary"],
|
|
162
|
+
[/0o@octal/, "number.octal"],
|
|
163
|
+
[/0x@hex/, "number.hex"],
|
|
164
|
+
[/@decimal\.@decimal([eE]-?@decimal)?/, "number.float"],
|
|
165
|
+
[/@decimal/, "number"]
|
|
166
|
+
],
|
|
167
|
+
// Identifiers
|
|
168
|
+
identifiers: [
|
|
169
|
+
// Tokenize identifier name in function-like definitions.
|
|
170
|
+
// Note: given `def a + b, do: nil`, `a` is not a function name,
|
|
171
|
+
// so we use negative look-ahead to ensure there's no operator.
|
|
172
|
+
[
|
|
173
|
+
/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,
|
|
174
|
+
[
|
|
175
|
+
"keyword.declaration",
|
|
176
|
+
"white",
|
|
177
|
+
{
|
|
178
|
+
cases: {
|
|
179
|
+
unquote: "keyword",
|
|
180
|
+
"@default": "function"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
],
|
|
185
|
+
// Tokenize function calls
|
|
186
|
+
[
|
|
187
|
+
// In-scope call - an identifier followed by ( or .(
|
|
188
|
+
/(@variableName)(?=\s*\.?\s*\()/,
|
|
189
|
+
{
|
|
190
|
+
cases: {
|
|
191
|
+
// Tokenize as keyword in cases like `if(..., do: ..., else: ...)`
|
|
192
|
+
"@declarationKeywords": "keyword.declaration",
|
|
193
|
+
"@namespaceKeywords": "keyword",
|
|
194
|
+
"@otherKeywords": "keyword",
|
|
195
|
+
"@default": "function.call"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
[
|
|
200
|
+
// Referencing function in a module
|
|
201
|
+
/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,
|
|
202
|
+
["type.identifier", "white", "operator", "white", "function.call"]
|
|
203
|
+
],
|
|
204
|
+
[
|
|
205
|
+
// Referencing function in an Erlang module
|
|
206
|
+
/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,
|
|
207
|
+
["constant.punctuation", "constant", "white", "operator", "white", "function.call"]
|
|
208
|
+
],
|
|
209
|
+
[
|
|
210
|
+
// Piping into a function (tokenized separately as it may not have parentheses)
|
|
211
|
+
/(\|>)(\s*)(@variableName)/,
|
|
212
|
+
[
|
|
213
|
+
"operator",
|
|
214
|
+
"white",
|
|
215
|
+
{
|
|
216
|
+
cases: {
|
|
217
|
+
"@otherKeywords": "keyword",
|
|
218
|
+
"@default": "function.call"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
],
|
|
223
|
+
[
|
|
224
|
+
// Function reference passed to another function
|
|
225
|
+
/(&)(\s*)(@variableName)/,
|
|
226
|
+
["operator", "white", "function.call"]
|
|
227
|
+
],
|
|
228
|
+
// Language keywords, builtins, constants and variables
|
|
229
|
+
[
|
|
230
|
+
/@variableName/,
|
|
231
|
+
{
|
|
232
|
+
cases: {
|
|
233
|
+
"@declarationKeywords": "keyword.declaration",
|
|
234
|
+
"@operatorKeywords": "keyword.operator",
|
|
235
|
+
"@namespaceKeywords": "keyword",
|
|
236
|
+
"@otherKeywords": "keyword",
|
|
237
|
+
"@constants": "constant.language",
|
|
238
|
+
"@nameBuiltin": "variable.language",
|
|
239
|
+
"_.*": "comment.unused",
|
|
240
|
+
"@default": "identifier"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
// Module names
|
|
245
|
+
[/@moduleName/, "type.identifier"]
|
|
246
|
+
],
|
|
247
|
+
// Strings
|
|
248
|
+
strings: [
|
|
249
|
+
[/"""/, { token: "string.delimiter", next: "@doubleQuotedHeredoc" }],
|
|
250
|
+
[/'''/, { token: "string.delimiter", next: "@singleQuotedHeredoc" }],
|
|
251
|
+
[/"/, { token: "string.delimiter", next: "@doubleQuotedString" }],
|
|
252
|
+
[/'/, { token: "string.delimiter", next: "@singleQuotedString" }]
|
|
253
|
+
],
|
|
254
|
+
doubleQuotedHeredoc: [
|
|
255
|
+
[/"""/, { token: "string.delimiter", next: "@pop" }],
|
|
256
|
+
{ include: "@stringContentInterpol" }
|
|
257
|
+
],
|
|
258
|
+
singleQuotedHeredoc: [
|
|
259
|
+
[/'''/, { token: "string.delimiter", next: "@pop" }],
|
|
260
|
+
{ include: "@stringContentInterpol" }
|
|
261
|
+
],
|
|
262
|
+
doubleQuotedString: [
|
|
263
|
+
[/"/, { token: "string.delimiter", next: "@pop" }],
|
|
264
|
+
{ include: "@stringContentInterpol" }
|
|
265
|
+
],
|
|
266
|
+
singleQuotedString: [
|
|
267
|
+
[/'/, { token: "string.delimiter", next: "@pop" }],
|
|
268
|
+
{ include: "@stringContentInterpol" }
|
|
269
|
+
],
|
|
270
|
+
// Atoms
|
|
271
|
+
atoms: [
|
|
272
|
+
[/(:)(@atomName)/, ["constant.punctuation", "constant"]],
|
|
273
|
+
[/:"/, { token: "constant.delimiter", next: "@doubleQuotedStringAtom" }],
|
|
274
|
+
[/:'/, { token: "constant.delimiter", next: "@singleQuotedStringAtom" }]
|
|
275
|
+
],
|
|
276
|
+
doubleQuotedStringAtom: [
|
|
277
|
+
[/"/, { token: "constant.delimiter", next: "@pop" }],
|
|
278
|
+
{ include: "@stringConstantContentInterpol" }
|
|
279
|
+
],
|
|
280
|
+
singleQuotedStringAtom: [
|
|
281
|
+
[/'/, { token: "constant.delimiter", next: "@pop" }],
|
|
282
|
+
{ include: "@stringConstantContentInterpol" }
|
|
283
|
+
],
|
|
284
|
+
// Sigils
|
|
285
|
+
// See https://elixir-lang.org/getting-started/sigils.html
|
|
286
|
+
// Sigils allow for typing values using their textual representation.
|
|
287
|
+
// All sigils start with ~ followed by a letter or
|
|
288
|
+
// multi-letter uppercase starting at Elixir v1.15.0, indicating sigil type
|
|
289
|
+
// and then a delimiter pair enclosing the textual representation.
|
|
290
|
+
// Optional modifiers are allowed after the closing delimiter.
|
|
291
|
+
// For instance a regular expressions can be written as:
|
|
292
|
+
// ~r/foo|bar/ ~r{foo|bar} ~r/foo|bar/g
|
|
293
|
+
//
|
|
294
|
+
// In general lowercase sigils allow for interpolation
|
|
295
|
+
// and escaped characters, whereas uppercase sigils don't
|
|
296
|
+
//
|
|
297
|
+
// During tokenization we want to distinguish some
|
|
298
|
+
// specific sigil types, namely string and regexp,
|
|
299
|
+
// so that they cen be themed separately.
|
|
300
|
+
//
|
|
301
|
+
// To reasonably handle all those combinations we leverage
|
|
302
|
+
// dot-separated states, so if we transition to @sigilStart.interpol.s.{.}
|
|
303
|
+
// then "sigilStart.interpol.s" state will match and also all
|
|
304
|
+
// the individual dot-separated parameters can be accessed.
|
|
305
|
+
sigils: [
|
|
306
|
+
[/~[a-z]@sigilStartDelimiter/, { token: "@rematch", next: "@sigil.interpol" }],
|
|
307
|
+
[/~([A-Z]+)@sigilStartDelimiter/, { token: "@rematch", next: "@sigil.noInterpol" }]
|
|
308
|
+
],
|
|
309
|
+
sigil: [
|
|
310
|
+
[/~([a-z]|[A-Z]+)\{/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.{.}" }],
|
|
311
|
+
[/~([a-z]|[A-Z]+)\[/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.[.]" }],
|
|
312
|
+
[/~([a-z]|[A-Z]+)\(/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.(.)" }],
|
|
313
|
+
[/~([a-z]|[A-Z]+)\</, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.<.>" }],
|
|
314
|
+
[
|
|
315
|
+
/~([a-z]|[A-Z]+)(@sigilSymmetricDelimiter)/,
|
|
316
|
+
{ token: "@rematch", switchTo: "@sigilStart.$S2.$1.$2.$2" }
|
|
317
|
+
]
|
|
318
|
+
],
|
|
319
|
+
// The definitions below expect states to be of the form:
|
|
320
|
+
//
|
|
321
|
+
// sigilStart.<interpol-or-noInterpol>.<sigil-letter>.<start-delimiter>.<end-delimiter>
|
|
322
|
+
// sigilContinue.<interpol-or-noInterpol>.<sigil-letter>.<start-delimiter>.<end-delimiter>
|
|
323
|
+
//
|
|
324
|
+
// The sigilStart state is used only to properly classify the token (as string/regex/sigil)
|
|
325
|
+
// and immediately switches to the sigilContinue sate, which handles the actual content
|
|
326
|
+
// and waits for the corresponding end delimiter.
|
|
327
|
+
"sigilStart.interpol.s": [
|
|
328
|
+
[
|
|
329
|
+
/~s@sigilStartDelimiter/,
|
|
330
|
+
{
|
|
331
|
+
token: "string.delimiter",
|
|
332
|
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
333
|
+
}
|
|
334
|
+
]
|
|
335
|
+
],
|
|
336
|
+
"sigilContinue.interpol.s": [
|
|
337
|
+
[
|
|
338
|
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
|
339
|
+
{
|
|
340
|
+
cases: {
|
|
341
|
+
"$1==$S5": { token: "string.delimiter", next: "@pop" },
|
|
342
|
+
"@default": "string"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
{ include: "@stringContentInterpol" }
|
|
347
|
+
],
|
|
348
|
+
"sigilStart.noInterpol.S": [
|
|
349
|
+
[
|
|
350
|
+
/~S@sigilStartDelimiter/,
|
|
351
|
+
{
|
|
352
|
+
token: "string.delimiter",
|
|
353
|
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
354
|
+
}
|
|
355
|
+
]
|
|
356
|
+
],
|
|
357
|
+
"sigilContinue.noInterpol.S": [
|
|
358
|
+
// Ignore escaped sigil end
|
|
359
|
+
[/(^|[^\\])\\@sigilEndDelimiter/, "string"],
|
|
360
|
+
[
|
|
361
|
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
|
362
|
+
{
|
|
363
|
+
cases: {
|
|
364
|
+
"$1==$S5": { token: "string.delimiter", next: "@pop" },
|
|
365
|
+
"@default": "string"
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
],
|
|
369
|
+
{ include: "@stringContent" }
|
|
370
|
+
],
|
|
371
|
+
"sigilStart.interpol.r": [
|
|
372
|
+
[
|
|
373
|
+
/~r@sigilStartDelimiter/,
|
|
374
|
+
{
|
|
375
|
+
token: "regexp.delimiter",
|
|
376
|
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
],
|
|
380
|
+
"sigilContinue.interpol.r": [
|
|
381
|
+
[
|
|
382
|
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
|
383
|
+
{
|
|
384
|
+
cases: {
|
|
385
|
+
"$1==$S5": { token: "regexp.delimiter", next: "@pop" },
|
|
386
|
+
"@default": "regexp"
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
{ include: "@regexpContentInterpol" }
|
|
391
|
+
],
|
|
392
|
+
"sigilStart.noInterpol.R": [
|
|
393
|
+
[
|
|
394
|
+
/~R@sigilStartDelimiter/,
|
|
395
|
+
{
|
|
396
|
+
token: "regexp.delimiter",
|
|
397
|
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
398
|
+
}
|
|
399
|
+
]
|
|
400
|
+
],
|
|
401
|
+
"sigilContinue.noInterpol.R": [
|
|
402
|
+
// Ignore escaped sigil end
|
|
403
|
+
[/(^|[^\\])\\@sigilEndDelimiter/, "regexp"],
|
|
404
|
+
[
|
|
405
|
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
|
406
|
+
{
|
|
407
|
+
cases: {
|
|
408
|
+
"$1==$S5": { token: "regexp.delimiter", next: "@pop" },
|
|
409
|
+
"@default": "regexp"
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
{ include: "@regexpContent" }
|
|
414
|
+
],
|
|
415
|
+
// Fallback to the generic sigil by default
|
|
416
|
+
"sigilStart.interpol": [
|
|
417
|
+
[
|
|
418
|
+
/~([a-z]|[A-Z]+)@sigilStartDelimiter/,
|
|
419
|
+
{
|
|
420
|
+
token: "sigil.delimiter",
|
|
421
|
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
422
|
+
}
|
|
423
|
+
]
|
|
424
|
+
],
|
|
425
|
+
"sigilContinue.interpol": [
|
|
426
|
+
[
|
|
427
|
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
|
428
|
+
{
|
|
429
|
+
cases: {
|
|
430
|
+
"$1==$S5": { token: "sigil.delimiter", next: "@pop" },
|
|
431
|
+
"@default": "sigil"
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
{ include: "@sigilContentInterpol" }
|
|
436
|
+
],
|
|
437
|
+
"sigilStart.noInterpol": [
|
|
438
|
+
[
|
|
439
|
+
/~([a-z]|[A-Z]+)@sigilStartDelimiter/,
|
|
440
|
+
{
|
|
441
|
+
token: "sigil.delimiter",
|
|
442
|
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
],
|
|
446
|
+
"sigilContinue.noInterpol": [
|
|
447
|
+
// Ignore escaped sigil end
|
|
448
|
+
[/(^|[^\\])\\@sigilEndDelimiter/, "sigil"],
|
|
449
|
+
[
|
|
450
|
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
|
451
|
+
{
|
|
452
|
+
cases: {
|
|
453
|
+
"$1==$S5": { token: "sigil.delimiter", next: "@pop" },
|
|
454
|
+
"@default": "sigil"
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
],
|
|
458
|
+
{ include: "@sigilContent" }
|
|
459
|
+
],
|
|
460
|
+
// Attributes
|
|
461
|
+
attributes: [
|
|
462
|
+
// Module @doc* attributes - tokenized as comments
|
|
463
|
+
[
|
|
464
|
+
/\@(module|type)?doc (~[sS])?"""/,
|
|
465
|
+
{
|
|
466
|
+
token: "comment.block.documentation",
|
|
467
|
+
next: "@doubleQuotedHeredocDocstring"
|
|
468
|
+
}
|
|
469
|
+
],
|
|
470
|
+
[
|
|
471
|
+
/\@(module|type)?doc (~[sS])?'''/,
|
|
472
|
+
{
|
|
473
|
+
token: "comment.block.documentation",
|
|
474
|
+
next: "@singleQuotedHeredocDocstring"
|
|
475
|
+
}
|
|
476
|
+
],
|
|
477
|
+
[
|
|
478
|
+
/\@(module|type)?doc (~[sS])?"/,
|
|
479
|
+
{
|
|
480
|
+
token: "comment.block.documentation",
|
|
481
|
+
next: "@doubleQuotedStringDocstring"
|
|
482
|
+
}
|
|
483
|
+
],
|
|
484
|
+
[
|
|
485
|
+
/\@(module|type)?doc (~[sS])?'/,
|
|
486
|
+
{
|
|
487
|
+
token: "comment.block.documentation",
|
|
488
|
+
next: "@singleQuotedStringDocstring"
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
[/\@(module|type)?doc false/, "comment.block.documentation"],
|
|
492
|
+
// Module attributes
|
|
493
|
+
[/\@(@variableName)/, "variable"]
|
|
494
|
+
],
|
|
495
|
+
doubleQuotedHeredocDocstring: [
|
|
496
|
+
[/"""/, { token: "comment.block.documentation", next: "@pop" }],
|
|
497
|
+
{ include: "@docstringContent" }
|
|
498
|
+
],
|
|
499
|
+
singleQuotedHeredocDocstring: [
|
|
500
|
+
[/'''/, { token: "comment.block.documentation", next: "@pop" }],
|
|
501
|
+
{ include: "@docstringContent" }
|
|
502
|
+
],
|
|
503
|
+
doubleQuotedStringDocstring: [
|
|
504
|
+
[/"/, { token: "comment.block.documentation", next: "@pop" }],
|
|
505
|
+
{ include: "@docstringContent" }
|
|
506
|
+
],
|
|
507
|
+
singleQuotedStringDocstring: [
|
|
508
|
+
[/'/, { token: "comment.block.documentation", next: "@pop" }],
|
|
509
|
+
{ include: "@docstringContent" }
|
|
510
|
+
],
|
|
511
|
+
// Operators, punctuation, brackets
|
|
512
|
+
symbols: [
|
|
513
|
+
// Code point operator (either with regular character ?a or an escaped one ?\n)
|
|
514
|
+
[/\?(\\.|[^\\\s])/, "number.constant"],
|
|
515
|
+
// Anonymous function arguments
|
|
516
|
+
[/&\d+/, "operator"],
|
|
517
|
+
// Bitshift operators (must go before delimiters, so that << >> don't match first)
|
|
518
|
+
[/<<<|>>>/, "operator"],
|
|
519
|
+
// Delimiter pairs
|
|
520
|
+
[/[()\[\]\{\}]|<<|>>/, "@brackets"],
|
|
521
|
+
// Triple dot is a valid name (must go before operators, so that .. doesn't match instead)
|
|
522
|
+
[/\.\.\./, "identifier"],
|
|
523
|
+
// Punctuation => (must go before operators, so it's not tokenized as = then >)
|
|
524
|
+
[/=>/, "punctuation"],
|
|
525
|
+
// Operators
|
|
526
|
+
[/@operator/, "operator"],
|
|
527
|
+
// Punctuation
|
|
528
|
+
[/[:;,.%]/, "punctuation"]
|
|
529
|
+
],
|
|
530
|
+
// Generic helpers
|
|
531
|
+
stringContentInterpol: [
|
|
532
|
+
{ include: "@interpolation" },
|
|
533
|
+
{ include: "@escapeChar" },
|
|
534
|
+
{ include: "@stringContent" }
|
|
535
|
+
],
|
|
536
|
+
stringContent: [[/./, "string"]],
|
|
537
|
+
stringConstantContentInterpol: [
|
|
538
|
+
{ include: "@interpolation" },
|
|
539
|
+
{ include: "@escapeChar" },
|
|
540
|
+
{ include: "@stringConstantContent" }
|
|
541
|
+
],
|
|
542
|
+
stringConstantContent: [[/./, "constant"]],
|
|
543
|
+
regexpContentInterpol: [
|
|
544
|
+
{ include: "@interpolation" },
|
|
545
|
+
{ include: "@escapeChar" },
|
|
546
|
+
{ include: "@regexpContent" }
|
|
547
|
+
],
|
|
548
|
+
regexpContent: [
|
|
549
|
+
// # may be a regular regexp char, so we use a heuristic
|
|
550
|
+
// assuming a # surrounded by whitespace is actually a comment.
|
|
551
|
+
[/(\s)(#)(\s.*)$/, ["white", "comment.punctuation", "comment"]],
|
|
552
|
+
[/./, "regexp"]
|
|
553
|
+
],
|
|
554
|
+
sigilContentInterpol: [
|
|
555
|
+
{ include: "@interpolation" },
|
|
556
|
+
{ include: "@escapeChar" },
|
|
557
|
+
{ include: "@sigilContent" }
|
|
558
|
+
],
|
|
559
|
+
sigilContent: [[/./, "sigil"]],
|
|
560
|
+
docstringContent: [[/./, "comment.block.documentation"]],
|
|
561
|
+
escapeChar: [[/@escape/, "constant.character.escape"]],
|
|
562
|
+
interpolation: [[/#{/, { token: "delimiter.bracket.embed", next: "@interpolationContinue" }]],
|
|
563
|
+
interpolationContinue: [
|
|
564
|
+
[/}/, { token: "delimiter.bracket.embed", next: "@pop" }],
|
|
565
|
+
// Interpolation brackets may contain arbitrary code,
|
|
566
|
+
// so we simply match against all the root rules,
|
|
567
|
+
// until we reach interpolation end (the above matches).
|
|
568
|
+
{ include: "@root" }
|
|
569
|
+
]
|
|
570
|
+
}
|
|
571
|
+
};
|
|
572
|
+
export {
|
|
573
|
+
e as conf,
|
|
574
|
+
t as language
|
|
575
|
+
};
|