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,307 @@
|
|
|
1
|
+
import { m as o } from "./index-pU7JpcAp.js";
|
|
2
|
+
/*!-----------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
5
|
+
* Released under the MIT license
|
|
6
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
7
|
+
*-----------------------------------------------------------------------------*/
|
|
8
|
+
var a = Object.defineProperty, l = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, c = Object.prototype.hasOwnProperty, g = (t, e, n, s) => {
|
|
9
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
10
|
+
for (let r of p(e))
|
|
11
|
+
!c.call(t, r) && r !== n && a(t, r, { get: () => e[r], enumerable: !(s = l(e, r)) || s.enumerable });
|
|
12
|
+
return t;
|
|
13
|
+
}, d = (t, e, n) => (g(t, e, "default"), n), i = {};
|
|
14
|
+
d(i, o);
|
|
15
|
+
var m = {
|
|
16
|
+
comments: {
|
|
17
|
+
lineComment: "#",
|
|
18
|
+
blockComment: ["'''", "'''"]
|
|
19
|
+
},
|
|
20
|
+
brackets: [
|
|
21
|
+
["{", "}"],
|
|
22
|
+
["[", "]"],
|
|
23
|
+
["(", ")"]
|
|
24
|
+
],
|
|
25
|
+
autoClosingPairs: [
|
|
26
|
+
{ open: "{", close: "}" },
|
|
27
|
+
{ open: "[", close: "]" },
|
|
28
|
+
{ open: "(", close: ")" },
|
|
29
|
+
{ open: '"', close: '"', notIn: ["string"] },
|
|
30
|
+
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
|
31
|
+
],
|
|
32
|
+
surroundingPairs: [
|
|
33
|
+
{ open: "{", close: "}" },
|
|
34
|
+
{ open: "[", close: "]" },
|
|
35
|
+
{ open: "(", close: ")" },
|
|
36
|
+
{ open: '"', close: '"' },
|
|
37
|
+
{ open: "'", close: "'" }
|
|
38
|
+
],
|
|
39
|
+
onEnterRules: [
|
|
40
|
+
{
|
|
41
|
+
beforeText: new RegExp(
|
|
42
|
+
"^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"
|
|
43
|
+
),
|
|
44
|
+
action: { indentAction: i.languages.IndentAction.Indent }
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
folding: {
|
|
48
|
+
offSide: !0,
|
|
49
|
+
markers: {
|
|
50
|
+
start: new RegExp("^\\s*#region\\b"),
|
|
51
|
+
end: new RegExp("^\\s*#endregion\\b")
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}, f = {
|
|
55
|
+
defaultToken: "",
|
|
56
|
+
tokenPostfix: ".python",
|
|
57
|
+
keywords: [
|
|
58
|
+
// This section is the result of running
|
|
59
|
+
// `import keyword; for k in sorted(keyword.kwlist + keyword.softkwlist): print(" '" + k + "',")`
|
|
60
|
+
// in a Python REPL,
|
|
61
|
+
// though note that the output from Python 3 is not a strict superset of the
|
|
62
|
+
// output from Python 2.
|
|
63
|
+
"False",
|
|
64
|
+
// promoted to keyword.kwlist in Python 3
|
|
65
|
+
"None",
|
|
66
|
+
// promoted to keyword.kwlist in Python 3
|
|
67
|
+
"True",
|
|
68
|
+
// promoted to keyword.kwlist in Python 3
|
|
69
|
+
"_",
|
|
70
|
+
// new in Python 3.10
|
|
71
|
+
"and",
|
|
72
|
+
"as",
|
|
73
|
+
"assert",
|
|
74
|
+
"async",
|
|
75
|
+
// new in Python 3
|
|
76
|
+
"await",
|
|
77
|
+
// new in Python 3
|
|
78
|
+
"break",
|
|
79
|
+
"case",
|
|
80
|
+
// new in Python 3.10
|
|
81
|
+
"class",
|
|
82
|
+
"continue",
|
|
83
|
+
"def",
|
|
84
|
+
"del",
|
|
85
|
+
"elif",
|
|
86
|
+
"else",
|
|
87
|
+
"except",
|
|
88
|
+
"exec",
|
|
89
|
+
// Python 2, but not 3.
|
|
90
|
+
"finally",
|
|
91
|
+
"for",
|
|
92
|
+
"from",
|
|
93
|
+
"global",
|
|
94
|
+
"if",
|
|
95
|
+
"import",
|
|
96
|
+
"in",
|
|
97
|
+
"is",
|
|
98
|
+
"lambda",
|
|
99
|
+
"match",
|
|
100
|
+
// new in Python 3.10
|
|
101
|
+
"nonlocal",
|
|
102
|
+
// new in Python 3
|
|
103
|
+
"not",
|
|
104
|
+
"or",
|
|
105
|
+
"pass",
|
|
106
|
+
"print",
|
|
107
|
+
// Python 2, but not 3.
|
|
108
|
+
"raise",
|
|
109
|
+
"return",
|
|
110
|
+
"try",
|
|
111
|
+
"type",
|
|
112
|
+
// new in Python 3.12
|
|
113
|
+
"while",
|
|
114
|
+
"with",
|
|
115
|
+
"yield",
|
|
116
|
+
"int",
|
|
117
|
+
"float",
|
|
118
|
+
"long",
|
|
119
|
+
"complex",
|
|
120
|
+
"hex",
|
|
121
|
+
"abs",
|
|
122
|
+
"all",
|
|
123
|
+
"any",
|
|
124
|
+
"apply",
|
|
125
|
+
"basestring",
|
|
126
|
+
"bin",
|
|
127
|
+
"bool",
|
|
128
|
+
"buffer",
|
|
129
|
+
"bytearray",
|
|
130
|
+
"callable",
|
|
131
|
+
"chr",
|
|
132
|
+
"classmethod",
|
|
133
|
+
"cmp",
|
|
134
|
+
"coerce",
|
|
135
|
+
"compile",
|
|
136
|
+
"complex",
|
|
137
|
+
"delattr",
|
|
138
|
+
"dict",
|
|
139
|
+
"dir",
|
|
140
|
+
"divmod",
|
|
141
|
+
"enumerate",
|
|
142
|
+
"eval",
|
|
143
|
+
"execfile",
|
|
144
|
+
"file",
|
|
145
|
+
"filter",
|
|
146
|
+
"format",
|
|
147
|
+
"frozenset",
|
|
148
|
+
"getattr",
|
|
149
|
+
"globals",
|
|
150
|
+
"hasattr",
|
|
151
|
+
"hash",
|
|
152
|
+
"help",
|
|
153
|
+
"id",
|
|
154
|
+
"input",
|
|
155
|
+
"intern",
|
|
156
|
+
"isinstance",
|
|
157
|
+
"issubclass",
|
|
158
|
+
"iter",
|
|
159
|
+
"len",
|
|
160
|
+
"locals",
|
|
161
|
+
"list",
|
|
162
|
+
"map",
|
|
163
|
+
"max",
|
|
164
|
+
"memoryview",
|
|
165
|
+
"min",
|
|
166
|
+
"next",
|
|
167
|
+
"object",
|
|
168
|
+
"oct",
|
|
169
|
+
"open",
|
|
170
|
+
"ord",
|
|
171
|
+
"pow",
|
|
172
|
+
"print",
|
|
173
|
+
"property",
|
|
174
|
+
"reversed",
|
|
175
|
+
"range",
|
|
176
|
+
"raw_input",
|
|
177
|
+
"reduce",
|
|
178
|
+
"reload",
|
|
179
|
+
"repr",
|
|
180
|
+
"reversed",
|
|
181
|
+
"round",
|
|
182
|
+
"self",
|
|
183
|
+
"set",
|
|
184
|
+
"setattr",
|
|
185
|
+
"slice",
|
|
186
|
+
"sorted",
|
|
187
|
+
"staticmethod",
|
|
188
|
+
"str",
|
|
189
|
+
"sum",
|
|
190
|
+
"super",
|
|
191
|
+
"tuple",
|
|
192
|
+
"type",
|
|
193
|
+
"unichr",
|
|
194
|
+
"unicode",
|
|
195
|
+
"vars",
|
|
196
|
+
"xrange",
|
|
197
|
+
"zip",
|
|
198
|
+
"__dict__",
|
|
199
|
+
"__methods__",
|
|
200
|
+
"__members__",
|
|
201
|
+
"__class__",
|
|
202
|
+
"__bases__",
|
|
203
|
+
"__name__",
|
|
204
|
+
"__mro__",
|
|
205
|
+
"__subclasses__",
|
|
206
|
+
"__init__",
|
|
207
|
+
"__import__"
|
|
208
|
+
],
|
|
209
|
+
brackets: [
|
|
210
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
211
|
+
{ open: "[", close: "]", token: "delimiter.bracket" },
|
|
212
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
|
213
|
+
],
|
|
214
|
+
tokenizer: {
|
|
215
|
+
root: [
|
|
216
|
+
{ include: "@whitespace" },
|
|
217
|
+
{ include: "@numbers" },
|
|
218
|
+
{ include: "@strings" },
|
|
219
|
+
[/[,:;]/, "delimiter"],
|
|
220
|
+
[/[{}\[\]()]/, "@brackets"],
|
|
221
|
+
[/@[a-zA-Z_]\w*/, "tag"],
|
|
222
|
+
[
|
|
223
|
+
/[a-zA-Z_]\w*/,
|
|
224
|
+
{
|
|
225
|
+
cases: {
|
|
226
|
+
"@keywords": "keyword",
|
|
227
|
+
"@default": "identifier"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
],
|
|
232
|
+
// Deal with white space, including single and multi-line comments
|
|
233
|
+
whitespace: [
|
|
234
|
+
[/\s+/, "white"],
|
|
235
|
+
[/(^#.*$)/, "comment"],
|
|
236
|
+
[/'''/, "string", "@endDocString"],
|
|
237
|
+
[/"""/, "string", "@endDblDocString"]
|
|
238
|
+
],
|
|
239
|
+
endDocString: [
|
|
240
|
+
[/[^']+/, "string"],
|
|
241
|
+
[/\\'/, "string"],
|
|
242
|
+
[/'''/, "string", "@popall"],
|
|
243
|
+
[/'/, "string"]
|
|
244
|
+
],
|
|
245
|
+
endDblDocString: [
|
|
246
|
+
[/[^"]+/, "string"],
|
|
247
|
+
[/\\"/, "string"],
|
|
248
|
+
[/"""/, "string", "@popall"],
|
|
249
|
+
[/"/, "string"]
|
|
250
|
+
],
|
|
251
|
+
// Recognize hex, negatives, decimals, imaginaries, longs, and scientific notation
|
|
252
|
+
numbers: [
|
|
253
|
+
[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/, "number.hex"],
|
|
254
|
+
[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/, "number"]
|
|
255
|
+
],
|
|
256
|
+
// Recognize strings, including those broken across lines with \ (but not without)
|
|
257
|
+
strings: [
|
|
258
|
+
[/'$/, "string.escape", "@popall"],
|
|
259
|
+
[/f'{1,3}/, "string.escape", "@fStringBody"],
|
|
260
|
+
[/'/, "string.escape", "@stringBody"],
|
|
261
|
+
[/"$/, "string.escape", "@popall"],
|
|
262
|
+
[/f"{1,3}/, "string.escape", "@fDblStringBody"],
|
|
263
|
+
[/"/, "string.escape", "@dblStringBody"]
|
|
264
|
+
],
|
|
265
|
+
fStringBody: [
|
|
266
|
+
[/[^\\'\{\}]+$/, "string", "@popall"],
|
|
267
|
+
[/[^\\'\{\}]+/, "string"],
|
|
268
|
+
[/\{[^\}':!=]+/, "identifier", "@fStringDetail"],
|
|
269
|
+
[/\\./, "string"],
|
|
270
|
+
[/'/, "string.escape", "@popall"],
|
|
271
|
+
[/\\$/, "string"]
|
|
272
|
+
],
|
|
273
|
+
stringBody: [
|
|
274
|
+
[/[^\\']+$/, "string", "@popall"],
|
|
275
|
+
[/[^\\']+/, "string"],
|
|
276
|
+
[/\\./, "string"],
|
|
277
|
+
[/'/, "string.escape", "@popall"],
|
|
278
|
+
[/\\$/, "string"]
|
|
279
|
+
],
|
|
280
|
+
fDblStringBody: [
|
|
281
|
+
[/[^\\"\{\}]+$/, "string", "@popall"],
|
|
282
|
+
[/[^\\"\{\}]+/, "string"],
|
|
283
|
+
[/\{[^\}':!=]+/, "identifier", "@fStringDetail"],
|
|
284
|
+
[/\\./, "string"],
|
|
285
|
+
[/"/, "string.escape", "@popall"],
|
|
286
|
+
[/\\$/, "string"]
|
|
287
|
+
],
|
|
288
|
+
dblStringBody: [
|
|
289
|
+
[/[^\\"]+$/, "string", "@popall"],
|
|
290
|
+
[/[^\\"]+/, "string"],
|
|
291
|
+
[/\\./, "string"],
|
|
292
|
+
[/"/, "string.escape", "@popall"],
|
|
293
|
+
[/\\$/, "string"]
|
|
294
|
+
],
|
|
295
|
+
fStringDetail: [
|
|
296
|
+
[/[:][^}]+/, "string"],
|
|
297
|
+
[/[!][ars]/, "string"],
|
|
298
|
+
// only !a, !r, !s are supported by f-strings: https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals
|
|
299
|
+
[/=/, "string"],
|
|
300
|
+
[/\}/, "identifier", "@pop"]
|
|
301
|
+
]
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
export {
|
|
305
|
+
m as conf,
|
|
306
|
+
f as language
|
|
307
|
+
};
|
|
@@ -0,0 +1,307 @@
|
|
|
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
|
+
autoClosingPairs: [
|
|
17
|
+
{ open: "{", close: "}" },
|
|
18
|
+
{ open: "[", close: "]" },
|
|
19
|
+
{ open: "(", close: ")" },
|
|
20
|
+
{ open: '"', close: '"', notIn: ["string", "comment"] }
|
|
21
|
+
],
|
|
22
|
+
surroundingPairs: [
|
|
23
|
+
{ open: "{", close: "}" },
|
|
24
|
+
{ open: "[", close: "]" },
|
|
25
|
+
{ open: "(", close: ")" },
|
|
26
|
+
{ open: '"', close: '"' }
|
|
27
|
+
]
|
|
28
|
+
}, t = {
|
|
29
|
+
// Set defaultToken to invalid to see what you do not tokenize yet
|
|
30
|
+
keywords: [
|
|
31
|
+
"namespace",
|
|
32
|
+
"open",
|
|
33
|
+
"import",
|
|
34
|
+
"export",
|
|
35
|
+
"as",
|
|
36
|
+
"operation",
|
|
37
|
+
"function",
|
|
38
|
+
"body",
|
|
39
|
+
"adjoint",
|
|
40
|
+
"newtype",
|
|
41
|
+
"struct",
|
|
42
|
+
"controlled",
|
|
43
|
+
"if",
|
|
44
|
+
"elif",
|
|
45
|
+
"else",
|
|
46
|
+
"repeat",
|
|
47
|
+
"until",
|
|
48
|
+
"fixup",
|
|
49
|
+
"for",
|
|
50
|
+
"in",
|
|
51
|
+
"while",
|
|
52
|
+
"return",
|
|
53
|
+
"fail",
|
|
54
|
+
"within",
|
|
55
|
+
"apply",
|
|
56
|
+
"Adjoint",
|
|
57
|
+
"Controlled",
|
|
58
|
+
"Adj",
|
|
59
|
+
"Ctl",
|
|
60
|
+
"is",
|
|
61
|
+
"self",
|
|
62
|
+
"auto",
|
|
63
|
+
"distribute",
|
|
64
|
+
"invert",
|
|
65
|
+
"intrinsic",
|
|
66
|
+
"let",
|
|
67
|
+
"set",
|
|
68
|
+
"w/",
|
|
69
|
+
"new",
|
|
70
|
+
"not",
|
|
71
|
+
"and",
|
|
72
|
+
"or",
|
|
73
|
+
"use",
|
|
74
|
+
"borrow",
|
|
75
|
+
"using",
|
|
76
|
+
"borrowing",
|
|
77
|
+
"mutable",
|
|
78
|
+
"internal"
|
|
79
|
+
],
|
|
80
|
+
typeKeywords: [
|
|
81
|
+
"Unit",
|
|
82
|
+
"Int",
|
|
83
|
+
"BigInt",
|
|
84
|
+
"Double",
|
|
85
|
+
"Bool",
|
|
86
|
+
"String",
|
|
87
|
+
"Qubit",
|
|
88
|
+
"Result",
|
|
89
|
+
"Pauli",
|
|
90
|
+
"Range"
|
|
91
|
+
],
|
|
92
|
+
invalidKeywords: [
|
|
93
|
+
"abstract",
|
|
94
|
+
"base",
|
|
95
|
+
"bool",
|
|
96
|
+
"break",
|
|
97
|
+
"byte",
|
|
98
|
+
"case",
|
|
99
|
+
"catch",
|
|
100
|
+
"char",
|
|
101
|
+
"checked",
|
|
102
|
+
"class",
|
|
103
|
+
"const",
|
|
104
|
+
"continue",
|
|
105
|
+
"decimal",
|
|
106
|
+
"default",
|
|
107
|
+
"delegate",
|
|
108
|
+
"do",
|
|
109
|
+
"double",
|
|
110
|
+
"enum",
|
|
111
|
+
"event",
|
|
112
|
+
"explicit",
|
|
113
|
+
"extern",
|
|
114
|
+
"finally",
|
|
115
|
+
"fixed",
|
|
116
|
+
"float",
|
|
117
|
+
"foreach",
|
|
118
|
+
"goto",
|
|
119
|
+
"implicit",
|
|
120
|
+
"int",
|
|
121
|
+
"interface",
|
|
122
|
+
"lock",
|
|
123
|
+
"long",
|
|
124
|
+
"null",
|
|
125
|
+
"object",
|
|
126
|
+
"operator",
|
|
127
|
+
"out",
|
|
128
|
+
"override",
|
|
129
|
+
"params",
|
|
130
|
+
"private",
|
|
131
|
+
"protected",
|
|
132
|
+
"public",
|
|
133
|
+
"readonly",
|
|
134
|
+
"ref",
|
|
135
|
+
"sbyte",
|
|
136
|
+
"sealed",
|
|
137
|
+
"short",
|
|
138
|
+
"sizeof",
|
|
139
|
+
"stackalloc",
|
|
140
|
+
"static",
|
|
141
|
+
"string",
|
|
142
|
+
"switch",
|
|
143
|
+
"this",
|
|
144
|
+
"throw",
|
|
145
|
+
"try",
|
|
146
|
+
"typeof",
|
|
147
|
+
"unit",
|
|
148
|
+
"ulong",
|
|
149
|
+
"unchecked",
|
|
150
|
+
"unsafe",
|
|
151
|
+
"ushort",
|
|
152
|
+
"virtual",
|
|
153
|
+
"void",
|
|
154
|
+
"volatile"
|
|
155
|
+
],
|
|
156
|
+
constants: ["true", "false", "PauliI", "PauliX", "PauliY", "PauliZ", "One", "Zero"],
|
|
157
|
+
builtin: [
|
|
158
|
+
"X",
|
|
159
|
+
"Y",
|
|
160
|
+
"Z",
|
|
161
|
+
"H",
|
|
162
|
+
"HY",
|
|
163
|
+
"S",
|
|
164
|
+
"T",
|
|
165
|
+
"SWAP",
|
|
166
|
+
"CNOT",
|
|
167
|
+
"CCNOT",
|
|
168
|
+
"MultiX",
|
|
169
|
+
"R",
|
|
170
|
+
"RFrac",
|
|
171
|
+
"Rx",
|
|
172
|
+
"Ry",
|
|
173
|
+
"Rz",
|
|
174
|
+
"R1",
|
|
175
|
+
"R1Frac",
|
|
176
|
+
"Exp",
|
|
177
|
+
"ExpFrac",
|
|
178
|
+
"Measure",
|
|
179
|
+
"M",
|
|
180
|
+
"MultiM",
|
|
181
|
+
"Message",
|
|
182
|
+
"Length",
|
|
183
|
+
"Assert",
|
|
184
|
+
"AssertProb",
|
|
185
|
+
"AssertEqual"
|
|
186
|
+
],
|
|
187
|
+
operators: [
|
|
188
|
+
"and=",
|
|
189
|
+
"<-",
|
|
190
|
+
"->",
|
|
191
|
+
"*",
|
|
192
|
+
"*=",
|
|
193
|
+
"@",
|
|
194
|
+
"!",
|
|
195
|
+
"^",
|
|
196
|
+
"^=",
|
|
197
|
+
":",
|
|
198
|
+
"::",
|
|
199
|
+
".",
|
|
200
|
+
"..",
|
|
201
|
+
"==",
|
|
202
|
+
"...",
|
|
203
|
+
"=",
|
|
204
|
+
"=>",
|
|
205
|
+
">",
|
|
206
|
+
">=",
|
|
207
|
+
"<",
|
|
208
|
+
"<=",
|
|
209
|
+
"-",
|
|
210
|
+
"-=",
|
|
211
|
+
"!=",
|
|
212
|
+
"or=",
|
|
213
|
+
"%",
|
|
214
|
+
"%=",
|
|
215
|
+
"|",
|
|
216
|
+
"+",
|
|
217
|
+
"+=",
|
|
218
|
+
"?",
|
|
219
|
+
"/",
|
|
220
|
+
"/=",
|
|
221
|
+
"&&&",
|
|
222
|
+
"&&&=",
|
|
223
|
+
"^^^",
|
|
224
|
+
"^^^=",
|
|
225
|
+
">>>",
|
|
226
|
+
">>>=",
|
|
227
|
+
"<<<",
|
|
228
|
+
"<<<=",
|
|
229
|
+
"|||",
|
|
230
|
+
"|||=",
|
|
231
|
+
"~~~",
|
|
232
|
+
"_",
|
|
233
|
+
"w/",
|
|
234
|
+
"w/="
|
|
235
|
+
],
|
|
236
|
+
namespaceFollows: ["namespace", "open"],
|
|
237
|
+
importsFollows: ["import"],
|
|
238
|
+
symbols: /[=><!~?:&|+\-*\/\^%@._]+/,
|
|
239
|
+
escapes: /\\[\s\S]/,
|
|
240
|
+
// The main tokenizer for our languages
|
|
241
|
+
tokenizer: {
|
|
242
|
+
root: [
|
|
243
|
+
// identifiers and keywords
|
|
244
|
+
[
|
|
245
|
+
/[a-zA-Z_$][\w$]*/,
|
|
246
|
+
{
|
|
247
|
+
cases: {
|
|
248
|
+
"@namespaceFollows": {
|
|
249
|
+
token: "keyword.$0",
|
|
250
|
+
next: "@namespace"
|
|
251
|
+
},
|
|
252
|
+
"@importsFollows": {
|
|
253
|
+
token: "keyword.$0",
|
|
254
|
+
next: "@imports"
|
|
255
|
+
},
|
|
256
|
+
"@typeKeywords": "type",
|
|
257
|
+
"@keywords": "keyword",
|
|
258
|
+
"@constants": "constant",
|
|
259
|
+
"@builtin": "keyword",
|
|
260
|
+
"@invalidKeywords": "invalid",
|
|
261
|
+
"@default": "identifier"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
// whitespace
|
|
266
|
+
{ include: "@whitespace" },
|
|
267
|
+
// delimiters and operators
|
|
268
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
269
|
+
[/@symbols/, { cases: { "@operators": "operator", "@default": "" } }],
|
|
270
|
+
// numbers
|
|
271
|
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
272
|
+
[/\d+/, "number"],
|
|
273
|
+
// delimiter: after number because of .\d floats
|
|
274
|
+
[/[;,.]/, "delimiter"],
|
|
275
|
+
// strings
|
|
276
|
+
//[/"([^"\\]|\\.)*$/, 'string.invalid' ], // non-terminated string
|
|
277
|
+
[/"/, { token: "string.quote", bracket: "@open", next: "@string" }]
|
|
278
|
+
],
|
|
279
|
+
string: [
|
|
280
|
+
[/[^\\"]+/, "string"],
|
|
281
|
+
[/@escapes/, "string.escape"],
|
|
282
|
+
[/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
|
283
|
+
],
|
|
284
|
+
namespace: [
|
|
285
|
+
{ include: "@whitespace" },
|
|
286
|
+
[/[A-Za-z]\w*/, "namespace"],
|
|
287
|
+
[/[\.]/, "delimiter"],
|
|
288
|
+
["", "", "@pop"]
|
|
289
|
+
],
|
|
290
|
+
imports: [
|
|
291
|
+
{ include: "@whitespace" },
|
|
292
|
+
[/[A-Za-z]\w*(?=\.)/, "namespace"],
|
|
293
|
+
[/[A-Za-z]\w*/, "identifier"],
|
|
294
|
+
[/\*/, "wildcard"],
|
|
295
|
+
[/[\.,]/, "delimiter"],
|
|
296
|
+
["", "", "@pop"]
|
|
297
|
+
],
|
|
298
|
+
whitespace: [
|
|
299
|
+
[/[ \t\r\n]+/, "white"],
|
|
300
|
+
[/(\/\/).*/, "comment"]
|
|
301
|
+
]
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
export {
|
|
305
|
+
e as conf,
|
|
306
|
+
t as language
|
|
307
|
+
};
|