@nuraly/runtime 0.1.7 → 0.1.8
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/README.md +83 -765
- package/components/ui/components/Event/EventValue/EventValue.ts +13 -8
- package/components/ui/components/ToastContainer/ToastContainer.ts +1 -1
- package/components/ui/components/advanced/AIChat/AIChat.ts +1 -2
- package/components/ui/components/advanced/Collapse/Collapse.ts +5 -2
- package/components/ui/components/advanced/Collections/Collections.ts +2 -2
- package/components/ui/components/advanced/MicroApp/MicroApp.ts +3 -11
- package/components/ui/components/advanced/RefComponent/RefComponent.ts +2 -2
- package/components/ui/components/advanced/RichText/RichText.ts +5 -4
- package/components/ui/components/advanced/RichText/RichTextEditor.ts +0 -167
- package/components/ui/components/base/BaseElement/base-change-detection.ts +1 -5
- package/components/ui/components/base/BaseElement.ts +229 -610
- package/components/ui/components/base/FormRegisterable.ts +83 -0
- package/components/ui/components/base/controllers/DragDropController.ts +175 -0
- package/components/ui/components/base/controllers/ErrorController.ts +180 -0
- package/components/ui/components/base/controllers/EventController.ts +112 -0
- package/components/ui/components/base/controllers/InputHandlerController.ts +298 -0
- package/components/ui/components/base/controllers/SelectionController.ts +323 -0
- package/components/ui/components/base/controllers/StyleHandlerController.ts +286 -0
- package/components/ui/components/base/controllers/index.ts +11 -0
- package/components/ui/components/base/mixins/EditorModeMixin.ts +185 -0
- package/components/ui/components/base/mixins/index.ts +6 -0
- package/components/ui/components/base/types/base-element.types.ts +138 -0
- package/components/ui/components/base/types/index.ts +21 -0
- package/components/ui/components/base/utils/event-debouncer.ts +209 -0
- package/components/ui/components/base/utils/index.ts +11 -0
- package/components/ui/components/base/utils/style-cache.ts +94 -0
- package/components/ui/components/display/BoxModel/BoxModel.ts +177 -116
- package/components/ui/components/display/Code/Code.ts +40 -26
- package/components/ui/components/display/Divider/Divider.ts +2 -2
- package/components/ui/components/display/Icon/Icon.ts +2 -3
- package/components/ui/components/display/Image/Image.ts +72 -46
- package/components/ui/components/display/Tag/Tag.ts +2 -3
- package/components/ui/components/display/Video/Video.ts +91 -31
- package/components/ui/components/inputs/Button/Button.ts +2 -2
- package/components/ui/components/inputs/Checkbox/Checkbox.ts +14 -40
- package/components/ui/components/inputs/ColorPicker/colorpicker.ts +3 -4
- package/components/ui/components/inputs/DatePicker/DatePicker.ts +47 -25
- package/components/ui/components/inputs/Dropdown/Dropdown.ts +2 -2
- package/components/ui/components/inputs/Form/Form.style.ts +26 -0
- package/components/ui/components/inputs/Form/Form.ts +352 -0
- package/components/ui/components/inputs/IconPicker/IconPicker.ts +22 -18
- package/components/ui/components/inputs/InsertDropdown/InsertDropdown.ts +0 -20
- package/components/ui/components/inputs/NumberInput/NumberInput.ts +0 -4
- package/components/ui/components/inputs/RadioButton/Radio-button.ts +11 -13
- package/components/ui/components/inputs/Select/Select.ts +38 -24
- package/components/ui/components/inputs/TextInput/TextInput.ts +15 -9
- package/components/ui/components/inputs/Textarea/Textarea.ts +30 -30
- package/components/ui/components/inputs/UsersDropdown/UsersDropdown.ts +1 -1
- package/components/ui/components/layout/Card/Card.ts +112 -10
- package/components/ui/components/layout/Containers/Container.style.ts +18 -0
- package/components/ui/components/layout/Containers/Container.ts +11 -5
- package/components/ui/components/layout/Grid/Col.style.ts +27 -0
- package/components/ui/components/layout/Grid/Col.ts +209 -0
- package/components/ui/components/layout/Grid/Row.style.ts +73 -0
- package/components/ui/components/layout/Grid/Row.ts +166 -0
- package/components/ui/components/layout/Grid/index.ts +7 -0
- package/components/ui/components/layout/Panel/Panel.ts +2 -2
- package/components/ui/components/layout/Tabs/Tabs.ts +0 -1
- package/components/ui/components/navigation/EmbedURL/EmbedURL.ts +62 -26
- package/components/ui/components/navigation/Link/Link.ts +27 -16
- package/components/ui/components/navigation/Menu/Menu.ts +26 -48
- package/components/ui/components/runtime/MicroApp/MicroApp.ts +7 -147
- package/components/ui/components/runtime/MicroApp/MicroAppDataLoader.ts +6 -2
- package/components/ui/components/studio/FunctionsPanel/FunctionsPanel.ts +472 -0
- package/components/ui/components/studio/FunctionsPanel/index.ts +1 -0
- package/components/ui/components/utility/AccessRoles/AccessRoles.style.ts +242 -0
- package/components/ui/components/utility/AccessRoles/AccessRoles.ts +476 -0
- package/components/ui/components/utility/Border/Border.ts +0 -14
- package/components/ui/components/utility/BorderManager/BorderManager.style.ts +237 -0
- package/components/ui/components/utility/BorderManager/BorderManager.ts +503 -0
- package/components/ui/components/utility/BoxShadow/BoxShadow.ts +0 -16
- package/components/ui/components/utility/Document/Document.ts +54 -25
- package/components/ui/components/utility/Export-Import/Export-Import.ts +8 -7
- package/components/ui/components/utility/Handlers/Handlers.ts +14 -17
- package/components/ui/components/utility/ValidationRules/ValidationRules.ts +440 -0
- package/components/ui/components/wrappers/GenerikWrapper/DragWrapper/DragWrapper.ts +1 -0
- package/components/ui/components/wrappers/GenerikWrapper/GenerikWrapper.ts +1 -24
- package/components/ui/nuraly-ui/src/components/badge/badge.style.ts +4 -3
- package/components/ui/nuraly-ui/src/components/datepicker/datepicker.component.ts +2 -0
- package/components/ui/nuraly-ui/src/components/radio-group/radio-group.component.ts +12 -6
- package/components/ui/nuraly-ui/src/components/radio-group/radio-group.style.ts +23 -0
- package/dist/{index-B4yIOSMd.js → BaseElement-BNBn_IJk.js} +2920 -267
- package/dist/{CodeEditor-YsOapSut.js → CodeEditor-Bf4L2rO_.js} +84127 -76319
- package/dist/{CodeEditor-BiNku87K.js → CodeEditor-Cpph-xRc.js} +7 -7
- package/dist/{abap-B2diVmjb.js → abap-D0Neqhq6.js} +91 -1
- package/dist/{apex-3NuJ-nsI.js → apex-B5LhxkeG.js} +18 -1
- package/dist/assets/editor.worker-DcwbJ0PV.js +12 -0
- package/dist/assets/html.worker-BTMxskjR.js +461 -0
- package/dist/assets/json.worker-D3vTGdf_.js +49 -0
- package/dist/assets/ts.worker-BsM1BXac.js +51334 -0
- package/dist/{azcli-XGXuUsMB.js → azcli-BrBH0QTU.js} +1 -1
- package/dist/{bat-B8Vhm634.js → bat-BfzAov64.js} +12 -1
- package/dist/{bicep-Cc8X5S_k.js → bicep-C3bCSWel.js} +1 -1
- package/dist/{cameligo-Bo3wBh9T.js → cameligo-sFL5plcd.js} +13 -1
- package/dist/{clojure-CPoQlpIK.js → clojure-CfeExRz0.js} +14 -1
- package/dist/{coffee-BxvTGz39.js → coffee-Xws5K0WL.js} +11 -1
- package/dist/{cpp-5RpEV7vC.js → cpp-CqOUEpxN.js} +28 -23
- package/dist/{csharp-slXXP3fo.js → csharp-DVLiBOZb.js} +13 -1
- package/dist/{csp-B98p6-gH.js → csp-DVFp9bw5.js} +3 -1
- package/dist/{css-BDsDSAin.js → css-DwARn2R6.js} +8 -1
- package/dist/cssMode-DMsdy1N0.js +1577 -0
- package/dist/{cypher-Dc4IMouD.js → cypher-uY0Mffat.js} +8 -1
- package/dist/{dart-LhvE3yD2.js → dart-D27H-mX_.js} +18 -1
- package/dist/{dockerfile-CwzplJeZ.js → dockerfile-CmV85WZK.js} +5 -1
- package/dist/{ecl-DxW3FiJi.js → ecl--fKn7yzB.js} +9 -1
- package/dist/{elixir-BI40g7TU.js → elixir-DUhH17ON.js} +87 -1
- package/dist/{flow9-tR2v0bGz.js → flow9-B3Dx2LLe.js} +8 -1
- package/dist/{freemarker2-Bfqhwyij.js → freemarker2-D51H9HYi.js} +359 -7
- package/dist/{fsharp-BLAma0OT.js → fsharp-SyqBfUAR.js} +14 -1
- package/dist/{go-nYcD3y4Z.js → go-BbMR2tdT.js} +17 -1
- package/dist/{graphql-Dp1cHWmP.js → graphql-DDJE6tIl.js} +17 -1
- package/dist/{handlebars-DCgKNBmn.js → handlebars-CF6gdAX4.js} +38 -4
- package/dist/{hcl-6NT8Kbna.js → hcl-YBvpaUqf.js} +13 -1
- package/dist/{html-C6wR7sMB.js → html-c2n_zkM3.js} +37 -4
- package/dist/htmlMode-9IJTuZUh.js +1587 -0
- package/dist/{ini-BZCOLrEc.js → ini-Ct73dBtM.js} +10 -1
- package/dist/{java-DAMcfJbX.js → java-C_jlkwoG.js} +18 -1
- package/dist/{javascript-D1L5MTmg.js → javascript-DhEEBMxD.js} +3 -2
- package/dist/jsonMode-CB6k-4rp.js +2002 -0
- package/dist/{julia-CQ46G71H.js → julia-D8WE5U1e.js} +22 -1
- package/dist/{kotlin-CEjVo_6E.js → kotlin-Zy9aq5yB.js} +15 -1
- package/dist/{less-DreV99nP.js → less-sZ0iHtE8.js} +1 -1
- package/dist/{lexon-DBVJhqLb.js → lexon-CsdNL29A.js} +13 -1
- package/dist/{liquid-D_pDYIs1.js → liquid-CwtPiwnW.js} +12 -4
- package/dist/{lua-Dcc_j6L-.js → lua-C2YJo0zw.js} +12 -1
- package/dist/{m3-B9SlZL4n.js → m3-CPLP40SG.js} +7 -1
- package/dist/{markdown-CuGw9_MP.js → markdown-B1mf5e0R.js} +34 -1
- package/dist/{mdx-CKsJ3cF4.js → mdx-LewPRYF8.js} +2 -2
- package/dist/{micro-app-entry-xdTX5-ut.js → micro-app-entry-C3RDIukG.js} +8082 -9628
- package/dist/micro-app.bundle.js +3 -3
- package/dist/micro-app.js +3585 -6759
- package/dist/{mips-BUWqP-OH.js → mips-DA33BZX1.js} +11 -1
- package/dist/{msdax-DtkouYCg.js → msdax-CCYFIQsP.js} +5 -1
- package/dist/{mysql-IkAsWSmF.js → mysql-hjmIjL-D.js} +11 -3
- package/dist/{objective-c-B2-ronfg.js → objective-c-RRCpEmqC.js} +2 -1
- package/dist/{pascal-Bsnz2eJA.js → pascal-CeV8XfxB.js} +13 -1
- package/dist/{pascaligo-D_sMUn0Q.js → pascaligo-IEEGVJAJ.js} +13 -1
- package/dist/{perl-BPzHt9SS.js → perl-B5-QbHq_.js} +34 -1
- package/dist/{pgsql-DlTJB0PD.js → pgsql-s6kqEJmi.js} +14 -4
- package/dist/{php-Dmq5OjwK.js → php-CWWqzOo8.js} +36 -1
- package/dist/{pla-HJcccrBy.js → pla-FSvb_YP_.js} +13 -1
- package/dist/{postiats-OQn6DKv-.js → postiats-DQdscQXO.js} +370 -1
- package/dist/{powerquery-DKaMYC8w.js → powerquery-CtA5JA1I.js} +7 -1
- package/dist/{powershell-DWeJHik1.js → powershell-DglEq96N.js} +13 -1
- package/dist/{protobuf-CBn_IseU.js → protobuf-BSepub3e.js} +5 -1
- package/dist/{pug-BoRpCINl.js → pug-B1847F4G.js} +16 -1
- package/dist/{python-zPpZYwLF.js → python-h5Z2g-yl.js} +59 -11
- package/dist/{qsharp-4rGyVZOw.js → qsharp-D4i0Nqg9.js} +28 -3
- package/dist/{r-DsgLhBOb.js → r-cdRigKxa.js} +5 -1
- package/dist/{razor-B_fCUeGX.js → razor-D5ep1Doy.js} +48 -4
- package/dist/{redis-B2fdL4Bg.js → redis-D9MFxvE8.js} +16 -6
- package/dist/{redshift-DoaeyCkH.js → redshift-CmCnsvL-.js} +13 -4
- package/dist/{restructuredtext-D-6OFBY9.js → restructuredtext-CWy8J51t.js} +19 -1
- package/dist/{ruby-D1DD6baV.js → ruby-WP-c36m5.js} +76 -3
- package/dist/runtime.js +34 -45
- package/dist/{rust-DssUV39M.js → rust-Q9FLdYpu.js} +13 -1
- package/dist/{sb-Dmb6tAdv.js → sb-C54-JBGT.js} +12 -1
- package/dist/{scala-Co3ETaym.js → scala-CzbFImc5.js} +24 -1
- package/dist/{scheme-CMrqXTty.js → scheme-BhfDmYN3.js} +1 -1
- package/dist/{scss-DkGudv8Q.js → scss-CEmiBXpS.js} +25 -1
- package/dist/{shell-BHN2BI4L.js → shell-Bmc1VhG0.js} +4 -1
- package/dist/{solidity-b-R-raGB.js → solidity-C9Q2I8Hh.js} +23 -1
- package/dist/{sophia-Y4GjyxNB.js → sophia-jWa1UyKz.js} +16 -1
- package/dist/{sparql-CDAPZb88.js → sparql-CM7jctbc.js} +15 -1
- package/dist/{sql-DkkpPiUq.js → sql-WzihTkbg.js} +42 -1
- package/dist/{st-CSPV91Ej.js → st-6y7_3aup.js} +8 -1
- package/dist/style.css +1 -1
- package/dist/{swift-DdSC5O48.js → swift-k-0zxG_D.js} +4 -1
- package/dist/{systemverilog-CI03XpAv.js → systemverilog-Pnr5_rIP.js} +29 -3
- package/dist/{tcl-B8DayMSI.js → tcl-fNPXval8.js} +7 -1
- package/dist/tsMode-B_6LiBE1.js +976 -0
- package/dist/{twig-B1AUPVB_.js → twig-L2MkztkV.js} +76 -1
- package/dist/{typescript-DrlYcCUn.js → typescript-BBG0jH4p.js} +23 -2
- package/dist/typespec-Cqqo-3Pt.js +123 -0
- package/dist/{vb-BIC7ccdG.js → vb-B5YC2xN9.js} +15 -1
- package/dist/{wgsl-C9yjop46.js → wgsl-D9BRtftY.js} +26 -1
- package/dist/{xml-BzP9D0eZ.js → xml-DgLB7rE6.js} +8 -2
- package/dist/{yaml-CT7GOvXu.js → yaml-DiI4HpSv.js} +30 -2
- package/handlers/compiler.ts +196 -16
- package/handlers/context-setup.ts +10 -5
- package/handlers/handler-api-factory.ts +358 -0
- package/handlers/handler-api.ts +379 -0
- package/handlers/handler-executor.ts +25 -5
- package/handlers/handler-scope.ts +398 -0
- package/handlers/index.ts +34 -2
- package/handlers/runtime-api/component-properties.ts +0 -8
- package/handlers/runtime-api/index.ts +1 -1
- package/handlers/runtime-api/toast.ts +1 -1
- package/index.ts +14 -115
- package/micro-app/README.md +10 -10
- package/micro-app/state/MicroAppRuntimeContext.ts +1 -28
- package/micro-app-entry.ts +0 -5
- package/package.json +19 -1
- package/redux/actions/application/index.ts +0 -1
- package/redux/actions/component/addComponentAction.ts +15 -4
- package/redux/actions/component/moveDraggedComponent.ts +1 -2
- package/redux/actions/component/update-component-name.ts +1 -1
- package/redux/actions/component/updateComponentAttributes.ts +7 -2
- package/redux/handlers/functions/build-function-handler.ts +11 -3
- package/redux/handlers/functions/deploy-function-handler.ts +11 -3
- package/redux/handlers/functions/invoke-function-handler.ts +11 -3
- package/redux/handlers/functions/load-functions-handler.ts +2 -1
- package/redux/handlers/functions/update-function-handler.ts +2 -1
- package/redux/store/component/component.interface.ts +8 -2
- package/redux/store/component/store.ts +1 -4
- package/state/runtime-context.ts +1 -23
- package/utils/RuntimeContextHelpers.ts +221 -90
- package/utils/change-detection.ts +125 -1
- package/utils/clipboard-utils.ts +18 -8
- package/utils/component-registry.ts +118 -0
- package/utils/index.ts +14 -1
- package/utils/naming-generator.ts +3 -1
- package/utils/randomness.ts +3 -1
- package/utils/register-components.ts +21 -29
- package/utils/render-util.ts +27 -48
- package/utils/toast.ts +97 -0
- package/vite.config.ts +29 -12
- package/components/ui/components/Event/EventAttribute/EventAttribute.style.ts +0 -11
- package/components/ui/components/Event/EventAttribute/EventAttribute.ts +0 -28
- package/components/ui/components/base/BaseElement/calculateStyles.ts +0 -31
- package/components/ui/components/base/BaseElement/drag-events.helpers.ts +0 -71
- package/components/ui/components/base/BaseElement/execute-event.helpers.ts +0 -45
- package/components/ui/components/base/BaseElement/interactions.helpers.ts +0 -14
- package/components/ui/components/wrappers/ComponentTitle/ComponentTitle.ts +0 -95
- package/components/ui/components/wrappers/GenerikWrapper/ResizeWrapper/ResizeWrapper.style.ts +0 -102
- package/components/ui/components/wrappers/GenerikWrapper/ResizeWrapper/ResizeWrapper.ts +0 -258
- package/components/ui/components/wrappers/PreviewWrapper.ts +0 -28
- package/components/ui/components/wrappers/RectangleSelection/RectangleSelection.ts +0 -154
- package/components/ui/nuraly-ui/packages/common/dist/constants/index.d.ts +0 -2
- package/components/ui/nuraly-ui/packages/common/dist/constants/index.js +0 -2
- package/components/ui/nuraly-ui/packages/common/dist/constants.d.ts +0 -17
- package/components/ui/nuraly-ui/packages/common/dist/constants.js +0 -7
- package/components/ui/nuraly-ui/packages/common/dist/controllers/index.d.ts +0 -2
- package/components/ui/nuraly-ui/packages/common/dist/controllers/index.js +0 -2
- package/components/ui/nuraly-ui/packages/common/dist/controllers.d.ts +0 -21
- package/components/ui/nuraly-ui/packages/common/dist/controllers.js +0 -22
- package/components/ui/nuraly-ui/packages/common/dist/index.d.ts +0 -25
- package/components/ui/nuraly-ui/packages/common/dist/index.js +0 -27
- package/components/ui/nuraly-ui/packages/common/dist/mixins/index.d.ts +0 -2
- package/components/ui/nuraly-ui/packages/common/dist/mixins/index.js +0 -3
- package/components/ui/nuraly-ui/packages/common/dist/mixins.d.ts +0 -26
- package/components/ui/nuraly-ui/packages/common/dist/mixins.js +0 -29
- package/components/ui/nuraly-ui/packages/common/dist/shared/base-mixin.d.ts +0 -42
- package/components/ui/nuraly-ui/packages/common/dist/shared/base-mixin.js +0 -38
- package/components/ui/nuraly-ui/packages/common/dist/shared/constants.d.ts +0 -1
- package/components/ui/nuraly-ui/packages/common/dist/shared/constants.js +0 -2
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.controller.d.ts +0 -77
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.controller.js +0 -341
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.interface.d.ts +0 -37
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.interface.js +0 -2
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/index.d.ts +0 -4
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/index.js +0 -4
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/theme.controller.d.ts +0 -48
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/theme.controller.js +0 -133
- package/components/ui/nuraly-ui/packages/common/dist/shared/dependency-mixin.d.ts +0 -37
- package/components/ui/nuraly-ui/packages/common/dist/shared/dependency-mixin.js +0 -141
- package/components/ui/nuraly-ui/packages/common/dist/shared/event-handler-mixin.d.ts +0 -64
- package/components/ui/nuraly-ui/packages/common/dist/shared/event-handler-mixin.js +0 -95
- package/components/ui/nuraly-ui/packages/common/dist/shared/index.d.ts +0 -13
- package/components/ui/nuraly-ui/packages/common/dist/shared/index.js +0 -17
- package/components/ui/nuraly-ui/packages/common/dist/shared/theme-mixin.d.ts +0 -78
- package/components/ui/nuraly-ui/packages/common/dist/shared/theme-mixin.js +0 -194
- package/components/ui/nuraly-ui/packages/common/dist/shared/themes.d.ts +0 -44
- package/components/ui/nuraly-ui/packages/common/dist/shared/themes.js +0 -85
- package/components/ui/nuraly-ui/packages/common/dist/shared/utils.d.ts +0 -60
- package/components/ui/nuraly-ui/packages/common/dist/shared/utils.js +0 -85
- package/components/ui/nuraly-ui/packages/common/dist/shared/validation.types.d.ts +0 -108
- package/components/ui/nuraly-ui/packages/common/dist/shared/validation.types.js +0 -17
- package/components/ui/nuraly-ui/packages/common/dist/themes/index.d.ts +0 -2
- package/components/ui/nuraly-ui/packages/common/dist/themes/index.js +0 -2
- package/components/ui/nuraly-ui/packages/common/dist/themes.d.ts +0 -22
- package/components/ui/nuraly-ui/packages/common/dist/themes.js +0 -23
- package/components/ui/nuraly-ui/packages/common/dist/utils/index.d.ts +0 -2
- package/components/ui/nuraly-ui/packages/common/dist/utils/index.js +0 -2
- package/components/ui/nuraly-ui/packages/common/dist/utils.d.ts +0 -21
- package/components/ui/nuraly-ui/packages/common/dist/utils.js +0 -22
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/LICENSE +0 -15
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/README.md +0 -294
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/copy/copy-sync.js +0 -171
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/copy/copy.js +0 -175
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/copy/index.js +0 -7
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/empty/index.js +0 -39
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/ensure/file.js +0 -66
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/ensure/index.js +0 -23
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/ensure/link.js +0 -64
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -101
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -34
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/ensure/symlink.js +0 -67
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/fs/index.js +0 -146
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/index.js +0 -16
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/json/index.js +0 -16
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/json/output-json.js +0 -12
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -27
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/mkdirs/utils.js +0 -21
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/move/index.js +0 -7
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/move/move-sync.js +0 -55
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/move/move.js +0 -59
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/output-file/index.js +0 -31
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/path-exists/index.js +0 -12
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/remove/index.js +0 -17
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/util/async.js +0 -29
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/util/stat.js +0 -159
- package/components/ui/nuraly-ui/packages/forms/node_modules/fs-extra/lib/util/utimes.js +0 -36
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/LICENSE +0 -15
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/README.md +0 -294
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/copy/copy-sync.js +0 -171
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/copy/copy.js +0 -175
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/copy/index.js +0 -7
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/empty/index.js +0 -39
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/ensure/file.js +0 -66
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/ensure/index.js +0 -23
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/ensure/link.js +0 -64
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -101
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -34
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/ensure/symlink.js +0 -67
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/fs/index.js +0 -146
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/index.js +0 -16
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/json/index.js +0 -16
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/json/output-json.js +0 -12
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -27
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/mkdirs/utils.js +0 -21
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/move/index.js +0 -7
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/move/move-sync.js +0 -55
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/move/move.js +0 -59
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/output-file/index.js +0 -31
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/path-exists/index.js +0 -12
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/remove/index.js +0 -17
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/util/async.js +0 -29
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/util/stat.js +0 -159
- package/components/ui/nuraly-ui/packages/layout/node_modules/fs-extra/lib/util/utimes.js +0 -36
- package/dist/SmartAttributeHandler-C4EliaG0.js +0 -153
- package/dist/SmartAttributeHandler-u-ZHGueR.js +0 -193
- package/dist/assets/editor.worker-C_S4Avdt.js +0 -11
- package/dist/assets/html.worker-DfuQASUV.js +0 -458
- package/dist/assets/json.worker-Cucz4wxY.js +0 -42
- package/dist/assets/ts.worker-Dme6S0YK.js +0 -37021
- package/dist/cssMode-CqMQ6Xsa.js +0 -1443
- package/dist/htmlMode-KglxyZXm.js +0 -1453
- package/dist/jsonMode-B3rqxD-b.js +0 -1863
- package/dist/tsMode-DEiq8fQ0.js +0 -800
- package/redux/actions/application/loadApplicationPermissionAction.ts +0 -10
- package/utils/styleUtil.ts +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
@@ -40,25 +40,36 @@ var e = {
|
|
|
40
40
|
{ token: "delimiter.square", open: "[", close: "]" }
|
|
41
41
|
],
|
|
42
42
|
keywords: /call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,
|
|
43
|
+
// we include these common regular expressions
|
|
43
44
|
symbols: /[=><!~?&|+\-*\/\^;\.,]+/,
|
|
44
45
|
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
46
|
+
// The main tokenizer for our languages
|
|
45
47
|
tokenizer: {
|
|
46
48
|
root: [
|
|
47
49
|
[/^(\s*)(rem(?:\s.*|))$/, ["", "comment"]],
|
|
48
50
|
[/(\@?)(@keywords)(?!\w)/, [{ token: "keyword" }, { token: "keyword.$2" }]],
|
|
51
|
+
// whitespace
|
|
49
52
|
[/[ \t\r\n]+/, ""],
|
|
53
|
+
// blocks
|
|
50
54
|
[/setlocal(?!\w)/, "keyword.tag-setlocal"],
|
|
51
55
|
[/endlocal(?!\w)/, "keyword.tag-setlocal"],
|
|
56
|
+
// words
|
|
52
57
|
[/[a-zA-Z_]\w*/, ""],
|
|
58
|
+
// labels
|
|
53
59
|
[/:\w*/, "metatag"],
|
|
60
|
+
// variables
|
|
54
61
|
[/%[^%]+%/, "variable"],
|
|
55
62
|
[/%%[\w]+(?!\w)/, "variable"],
|
|
63
|
+
// punctuations
|
|
56
64
|
[/[{}()\[\]]/, "@brackets"],
|
|
57
65
|
[/@symbols/, "delimiter"],
|
|
66
|
+
// numbers
|
|
58
67
|
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
59
68
|
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
|
60
69
|
[/\d+/, "number"],
|
|
70
|
+
// punctuation: after number because of .\d floats
|
|
61
71
|
[/[;,.]/, "delimiter"],
|
|
72
|
+
// strings:
|
|
62
73
|
[/"/, "string", '@string."'],
|
|
63
74
|
[/'/, "string", "@string.'"]
|
|
64
75
|
],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
@@ -111,9 +111,12 @@ var e = {
|
|
|
111
111
|
"&&",
|
|
112
112
|
"||"
|
|
113
113
|
],
|
|
114
|
+
// we include these common regular expressions
|
|
114
115
|
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
|
116
|
+
// The main tokenizer for our languages
|
|
115
117
|
tokenizer: {
|
|
116
118
|
root: [
|
|
119
|
+
// identifiers and keywords
|
|
117
120
|
[
|
|
118
121
|
/[a-zA-Z_][\w]*/,
|
|
119
122
|
{
|
|
@@ -123,7 +126,9 @@ var e = {
|
|
|
123
126
|
}
|
|
124
127
|
}
|
|
125
128
|
],
|
|
129
|
+
// whitespace
|
|
126
130
|
{ include: "@whitespace" },
|
|
131
|
+
// delimiters and operators
|
|
127
132
|
[/[{}()\[\]]/, "@brackets"],
|
|
128
133
|
[/[<>](?!@symbols)/, "@brackets"],
|
|
129
134
|
[
|
|
@@ -135,18 +140,25 @@ var e = {
|
|
|
135
140
|
}
|
|
136
141
|
}
|
|
137
142
|
],
|
|
143
|
+
// numbers
|
|
138
144
|
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
139
145
|
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
|
140
146
|
[/\d+/, "number"],
|
|
147
|
+
// delimiter: after number because of .\d floats
|
|
141
148
|
[/[;,.]/, "delimiter"],
|
|
149
|
+
// strings
|
|
142
150
|
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
151
|
+
// non-teminated string
|
|
143
152
|
[/'/, "string", "@string"],
|
|
153
|
+
// characters
|
|
144
154
|
[/'[^\\']'/, "string"],
|
|
145
155
|
[/'/, "string.invalid"],
|
|
146
156
|
[/\#\d+/, "string"]
|
|
147
157
|
],
|
|
158
|
+
/* */
|
|
148
159
|
comment: [
|
|
149
160
|
[/[^\(\*]+/, "comment"],
|
|
161
|
+
//[/\(\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
|
150
162
|
[/\*\)/, "comment", "@pop"],
|
|
151
163
|
[/\(\*/, "comment"]
|
|
152
164
|
],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
@@ -35,9 +35,13 @@ var e = {
|
|
|
35
35
|
{ open: "{", close: "}", token: "delimiter.curly" }
|
|
36
36
|
],
|
|
37
37
|
constants: ["true", "false", "nil"],
|
|
38
|
+
// delimiters: /[\\\[\]\s"#'(),;@^`{}~]|$/,
|
|
38
39
|
numbers: /^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,
|
|
39
40
|
characters: /^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,
|
|
40
41
|
escapes: /^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
42
|
+
// simple-namespace := /^[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*/
|
|
43
|
+
// simple-symbol := /^(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)/
|
|
44
|
+
// qualified-symbol := (<simple-namespace>(<.><simple-namespace>)*</>)?<simple-symbol>
|
|
41
45
|
qualifiedSymbols: /^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,
|
|
42
46
|
specialForms: [
|
|
43
47
|
".",
|
|
@@ -710,18 +714,27 @@ var e = {
|
|
|
710
714
|
],
|
|
711
715
|
tokenizer: {
|
|
712
716
|
root: [
|
|
717
|
+
// whitespaces and comments
|
|
713
718
|
{ include: "@whitespace" },
|
|
719
|
+
// numbers
|
|
714
720
|
[/@numbers/, "number"],
|
|
721
|
+
// characters
|
|
715
722
|
[/@characters/, "string"],
|
|
723
|
+
// strings
|
|
716
724
|
{ include: "@string" },
|
|
725
|
+
// brackets
|
|
717
726
|
[/[()\[\]{}]/, "@brackets"],
|
|
727
|
+
// regular expressions
|
|
718
728
|
[/\/#"(?:\.|(?:")|[^"\n])*"\/g/, "regexp"],
|
|
729
|
+
// reader macro characters
|
|
719
730
|
[/[#'@^`~]/, "meta"],
|
|
731
|
+
// symbols
|
|
720
732
|
[
|
|
721
733
|
/@qualifiedSymbols/,
|
|
722
734
|
{
|
|
723
735
|
cases: {
|
|
724
736
|
"^:.+$": "constant",
|
|
737
|
+
// Clojure keywords (e.g., `:foo/bar`)
|
|
725
738
|
"@specialForms": "keyword",
|
|
726
739
|
"@coreSymbols": "keyword",
|
|
727
740
|
"@constants": "constant",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
@@ -91,10 +91,13 @@ var e = {
|
|
|
91
91
|
"by",
|
|
92
92
|
"when"
|
|
93
93
|
],
|
|
94
|
+
// we include these common regular expressions
|
|
94
95
|
symbols: /[=><!~?&%|+\-*\/\^\.,\:]+/,
|
|
95
96
|
escapes: /\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
97
|
+
// The main tokenizer for our languages
|
|
96
98
|
tokenizer: {
|
|
97
99
|
root: [
|
|
100
|
+
// identifiers and keywords
|
|
98
101
|
[/\@[a-zA-Z_]\w*/, "variable.predefined"],
|
|
99
102
|
[
|
|
100
103
|
/[a-zA-Z_]\w*/,
|
|
@@ -106,9 +109,12 @@ var e = {
|
|
|
106
109
|
}
|
|
107
110
|
}
|
|
108
111
|
],
|
|
112
|
+
// whitespace
|
|
109
113
|
[/[ \t\r\n]+/, ""],
|
|
114
|
+
// Comments
|
|
110
115
|
[/###/, "comment", "@comment"],
|
|
111
116
|
[/#.*$/, "comment"],
|
|
117
|
+
// regular expressions
|
|
112
118
|
["///", { token: "regexp", next: "@hereregexp" }],
|
|
113
119
|
[/^(\s*)(@regEx)/, ["", "regexp"]],
|
|
114
120
|
[/(\()(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
|
@@ -122,6 +128,7 @@ var e = {
|
|
|
122
128
|
[/(\?)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
123
129
|
[/(\{)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
|
124
130
|
[/(\;)(\s*)(@regEx)/, ["", "", "regexp"]],
|
|
131
|
+
// delimiters
|
|
125
132
|
[
|
|
126
133
|
/}/,
|
|
127
134
|
{
|
|
@@ -136,12 +143,15 @@ var e = {
|
|
|
136
143
|
],
|
|
137
144
|
[/[{}()\[\]]/, "@brackets"],
|
|
138
145
|
[/@symbols/, "delimiter"],
|
|
146
|
+
// numbers
|
|
139
147
|
[/\d+[eE]([\-+]?\d+)?/, "number.float"],
|
|
140
148
|
[/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
141
149
|
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
|
142
150
|
[/0[0-7]+(?!\d)/, "number.octal"],
|
|
143
151
|
[/\d+/, "number"],
|
|
152
|
+
// delimiter: after number because of .\d floats
|
|
144
153
|
[/[,.]/, "delimiter"],
|
|
154
|
+
// strings:
|
|
145
155
|
[/"""/, "string", '@herestring."""'],
|
|
146
156
|
[/'''/, "string", "@herestring.'''"],
|
|
147
157
|
[
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
@@ -34,7 +34,7 @@ var e = {
|
|
|
34
34
|
end: new RegExp("^\\s*#pragma\\s+endregion\\b")
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
},
|
|
37
|
+
}, n = {
|
|
38
38
|
defaultToken: "",
|
|
39
39
|
tokenPostfix: ".cpp",
|
|
40
40
|
brackets: [
|
|
@@ -142,6 +142,7 @@ var e = {
|
|
|
142
142
|
"where",
|
|
143
143
|
"while",
|
|
144
144
|
"_asm",
|
|
145
|
+
// reserved word with one underscores
|
|
145
146
|
"_based",
|
|
146
147
|
"_cdecl",
|
|
147
148
|
"_declspec",
|
|
@@ -156,6 +157,7 @@ var e = {
|
|
|
156
157
|
"_virtual_inheritance",
|
|
157
158
|
"_w64",
|
|
158
159
|
"__abstract",
|
|
160
|
+
// reserved word with two underscores
|
|
159
161
|
"__alignof",
|
|
160
162
|
"__asm",
|
|
161
163
|
"__assume",
|
|
@@ -251,7 +253,6 @@ var e = {
|
|
|
251
253
|
"%",
|
|
252
254
|
"<<",
|
|
253
255
|
">>",
|
|
254
|
-
">>>",
|
|
255
256
|
"+=",
|
|
256
257
|
"-=",
|
|
257
258
|
"*=",
|
|
@@ -261,17 +262,20 @@ var e = {
|
|
|
261
262
|
"^=",
|
|
262
263
|
"%=",
|
|
263
264
|
"<<=",
|
|
264
|
-
">>="
|
|
265
|
-
">>>="
|
|
265
|
+
">>="
|
|
266
266
|
],
|
|
267
|
+
// we include these common regular expressions
|
|
267
268
|
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
268
269
|
escapes: /\\(?:[0abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
269
270
|
integersuffix: /([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/,
|
|
270
271
|
floatsuffix: /[fFlL]?/,
|
|
271
272
|
encoding: /u|u8|U|L/,
|
|
273
|
+
// The main tokenizer for our languages
|
|
272
274
|
tokenizer: {
|
|
273
275
|
root: [
|
|
276
|
+
// C++ 11 Raw String
|
|
274
277
|
[/@encoding?R\"(?:([^ ()\\\t]*))\(/, { token: "string.raw.begin", next: "@raw.$1" }],
|
|
278
|
+
// identifiers and keywords
|
|
275
279
|
[
|
|
276
280
|
/[a-zA-Z_]\w*/,
|
|
277
281
|
{
|
|
@@ -281,12 +285,18 @@ var e = {
|
|
|
281
285
|
}
|
|
282
286
|
}
|
|
283
287
|
],
|
|
288
|
+
// The preprocessor checks must be before whitespace as they check /^\s*#/ which
|
|
289
|
+
// otherwise fails to match later after other whitespace has been removed.
|
|
290
|
+
// Inclusion
|
|
284
291
|
[/^\s*#\s*include/, { token: "keyword.directive.include", next: "@include" }],
|
|
292
|
+
// Preprocessor directive
|
|
285
293
|
[/^\s*#\s*\w+/, "keyword.directive"],
|
|
294
|
+
// whitespace
|
|
286
295
|
{ include: "@whitespace" },
|
|
296
|
+
// [[ attributes ]].
|
|
287
297
|
[/\[\s*\[/, { token: "annotation", next: "@annotation" }],
|
|
288
|
-
|
|
289
|
-
[/[
|
|
298
|
+
// delimiters and operators
|
|
299
|
+
[/[{}()<>\[\]]/, "@brackets"],
|
|
290
300
|
[
|
|
291
301
|
/@symbols/,
|
|
292
302
|
{
|
|
@@ -296,6 +306,7 @@ var e = {
|
|
|
296
306
|
}
|
|
297
307
|
}
|
|
298
308
|
],
|
|
309
|
+
// numbers
|
|
299
310
|
[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
300
311
|
[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
301
312
|
[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, "number.hex"],
|
|
@@ -303,9 +314,13 @@ var e = {
|
|
|
303
314
|
[/0[bB][0-1']*[0-1](@integersuffix)/, "number.binary"],
|
|
304
315
|
[/\d[\d']*\d(@integersuffix)/, "number"],
|
|
305
316
|
[/\d(@integersuffix)/, "number"],
|
|
317
|
+
// delimiter: after number because of .\d floats
|
|
306
318
|
[/[;,.]/, "delimiter"],
|
|
319
|
+
// strings
|
|
307
320
|
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
321
|
+
// non-teminated string
|
|
308
322
|
[/"/, "string", "@string"],
|
|
323
|
+
// characters
|
|
309
324
|
[/'[^\\']'/, "string"],
|
|
310
325
|
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
|
311
326
|
[/'/, "string.invalid"]
|
|
@@ -322,10 +337,12 @@ var e = {
|
|
|
322
337
|
[/\*\//, "comment", "@pop"],
|
|
323
338
|
[/[\/*]/, "comment"]
|
|
324
339
|
],
|
|
340
|
+
//For use with continuous line comments
|
|
325
341
|
linecomment: [
|
|
326
342
|
[/.*[^\\]$/, "comment", "@pop"],
|
|
327
343
|
[/[^]+/, "comment"]
|
|
328
344
|
],
|
|
345
|
+
//Identical copy of comment above, except for the addition of .doc
|
|
329
346
|
doccomment: [
|
|
330
347
|
[/[^\/*]+/, "comment.doc"],
|
|
331
348
|
[/\*\//, "comment.doc", "@pop"],
|
|
@@ -338,21 +355,9 @@ var e = {
|
|
|
338
355
|
[/"/, "string", "@pop"]
|
|
339
356
|
],
|
|
340
357
|
raw: [
|
|
341
|
-
[
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
cases: {
|
|
345
|
-
"$3==$S2": [
|
|
346
|
-
"string.raw",
|
|
347
|
-
"string.raw.end",
|
|
348
|
-
"string.raw.end",
|
|
349
|
-
{ token: "string.raw.end", next: "@pop" }
|
|
350
|
-
],
|
|
351
|
-
"@default": ["string.raw", "string.raw", "string.raw", "string.raw"]
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
],
|
|
355
|
-
[/.*/, "string.raw"]
|
|
358
|
+
[/[^)]+/, "string.raw"],
|
|
359
|
+
[/\)$S2\"/, { token: "string.raw.end", next: "@pop" }],
|
|
360
|
+
[/\)/, "string.raw"]
|
|
356
361
|
],
|
|
357
362
|
annotation: [
|
|
358
363
|
{ include: "@whitespace" },
|
|
@@ -386,5 +391,5 @@ var e = {
|
|
|
386
391
|
};
|
|
387
392
|
export {
|
|
388
393
|
e as conf,
|
|
389
|
-
|
|
394
|
+
n as language
|
|
390
395
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
@@ -192,9 +192,12 @@ var e = {
|
|
|
192
192
|
"=>"
|
|
193
193
|
],
|
|
194
194
|
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
195
|
+
// escape sequences
|
|
195
196
|
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
197
|
+
// The main tokenizer for our languages
|
|
196
198
|
tokenizer: {
|
|
197
199
|
root: [
|
|
200
|
+
// identifiers and keywords
|
|
198
201
|
[
|
|
199
202
|
/\@?[a-zA-Z_]\w*/,
|
|
200
203
|
{
|
|
@@ -211,7 +214,9 @@ var e = {
|
|
|
211
214
|
}
|
|
212
215
|
}
|
|
213
216
|
],
|
|
217
|
+
// whitespace
|
|
214
218
|
{ include: "@whitespace" },
|
|
219
|
+
// delimiters and operators
|
|
215
220
|
[
|
|
216
221
|
/}/,
|
|
217
222
|
{
|
|
@@ -239,16 +244,22 @@ var e = {
|
|
|
239
244
|
}
|
|
240
245
|
}
|
|
241
246
|
],
|
|
247
|
+
// numbers
|
|
242
248
|
[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/, "number.float"],
|
|
243
249
|
[/0[xX][0-9a-fA-F_]+/, "number.hex"],
|
|
244
250
|
[/0[bB][01_]+/, "number.hex"],
|
|
251
|
+
// binary: use same theme style as hex
|
|
245
252
|
[/[0-9_]+/, "number"],
|
|
253
|
+
// delimiter: after number because of .\d floats
|
|
246
254
|
[/[;,.]/, "delimiter"],
|
|
255
|
+
// strings
|
|
247
256
|
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
257
|
+
// non-teminated string
|
|
248
258
|
[/"/, { token: "string.quote", next: "@string" }],
|
|
249
259
|
[/\$\@"/, { token: "string.quote", next: "@litinterpstring" }],
|
|
250
260
|
[/\@"/, { token: "string.quote", next: "@litstring" }],
|
|
251
261
|
[/\$"/, { token: "string.quote", next: "@interpolatedstring" }],
|
|
262
|
+
// characters
|
|
252
263
|
[/'[^\\']'/, "string"],
|
|
253
264
|
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
|
254
265
|
[/'/, "string.invalid"]
|
|
@@ -274,6 +285,7 @@ var e = {
|
|
|
274
285
|
],
|
|
275
286
|
comment: [
|
|
276
287
|
[/[^\/*]+/, "comment"],
|
|
288
|
+
// [/\/\*/, 'comment', '@push' ], // no nested comments :-(
|
|
277
289
|
["\\*/", "comment", "@pop"],
|
|
278
290
|
[/[\/*]/, "comment"]
|
|
279
291
|
],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
@@ -9,6 +9,8 @@ var t = {
|
|
|
9
9
|
autoClosingPairs: [],
|
|
10
10
|
surroundingPairs: []
|
|
11
11
|
}, r = {
|
|
12
|
+
// Set defaultToken to invalid to see what you do not tokenize yet
|
|
13
|
+
// defaultToken: 'invalid',
|
|
12
14
|
keywords: [],
|
|
13
15
|
typeKeywords: [],
|
|
14
16
|
tokenPostfix: ".csp",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
@@ -39,6 +39,7 @@ var e = {
|
|
|
39
39
|
tokenPostfix: ".css",
|
|
40
40
|
ws: `[
|
|
41
41
|
\r\f]*`,
|
|
42
|
+
// whitespaces (referenced in several rules)
|
|
42
43
|
identifier: "-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
|
|
43
44
|
brackets: [
|
|
44
45
|
{ open: "{", close: "}", token: "delimiter.bracket" },
|
|
@@ -68,17 +69,21 @@ var e = {
|
|
|
68
69
|
],
|
|
69
70
|
{ include: "@selectorname" },
|
|
70
71
|
["[\\*]", "tag"],
|
|
72
|
+
// selector symbols
|
|
71
73
|
["[>\\+,]", "delimiter"],
|
|
74
|
+
// selector operators
|
|
72
75
|
["\\[", { token: "delimiter.bracket", next: "@selectorattribute" }],
|
|
73
76
|
["{", { token: "delimiter.bracket", next: "@selectorbody" }]
|
|
74
77
|
],
|
|
75
78
|
selectorbody: [
|
|
76
79
|
{ include: "@comments" },
|
|
77
80
|
["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))", "attribute.name", "@rulevalue"],
|
|
81
|
+
// rule definition: to distinguish from a nested selector check for whitespace, number or a semicolon
|
|
78
82
|
["}", { token: "delimiter.bracket", next: "@pop" }]
|
|
79
83
|
],
|
|
80
84
|
selectorname: [
|
|
81
85
|
["(\\.|#(?=[^{])|%|(@identifier)|:)+", "tag"]
|
|
86
|
+
// selector (.foo, div, ...)
|
|
82
87
|
],
|
|
83
88
|
selectorattribute: [{ include: "@term" }, ["]", { token: "delimiter.bracket", next: "@pop" }]],
|
|
84
89
|
term: [
|
|
@@ -105,6 +110,7 @@ var e = {
|
|
|
105
110
|
["!important", "keyword"],
|
|
106
111
|
[";", "delimiter", "@pop"],
|
|
107
112
|
["(?=})", { token: "", next: "@pop" }]
|
|
113
|
+
// missing semicolon
|
|
108
114
|
],
|
|
109
115
|
warndebug: [["[@](warn|debug)", { token: "keyword", next: "@declarationbody" }]],
|
|
110
116
|
import: [["[@](import)", { token: "keyword", next: "@declarationbody" }]],
|
|
@@ -122,6 +128,7 @@ var e = {
|
|
|
122
128
|
{ include: "@term" },
|
|
123
129
|
[";", "delimiter", "@pop"],
|
|
124
130
|
["(?=})", { token: "", next: "@pop" }]
|
|
131
|
+
// missing semicolon
|
|
125
132
|
],
|
|
126
133
|
comments: [
|
|
127
134
|
["\\/\\*", "comment", "@comment"],
|