@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
|
*-----------------------------------------------------------------------------*/
|
|
@@ -327,19 +327,24 @@ var e = {
|
|
|
327
327
|
{ open: "[", close: "]", token: "delimiter.square" }
|
|
328
328
|
],
|
|
329
329
|
ident: /π|ℯ|\b(?!\d)\w+\b/,
|
|
330
|
+
// escape sequences
|
|
330
331
|
escape: /(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,
|
|
331
332
|
escapes: /\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,
|
|
333
|
+
// The main tokenizer for our languages
|
|
332
334
|
tokenizer: {
|
|
333
335
|
root: [
|
|
334
336
|
[/(::)\s*|\b(isa)\s+/, "keyword", "@typeanno"],
|
|
335
337
|
[/\b(isa)(\s*\(@ident\s*,\s*)/, ["keyword", { token: "", next: "@typeanno" }]],
|
|
336
338
|
[/\b(type|struct)[ \t]+/, "keyword", "@typeanno"],
|
|
339
|
+
// symbols
|
|
337
340
|
[/^\s*:@ident[!?]?/, "metatag"],
|
|
338
341
|
[/(return)(\s*:@ident[!?]?)/, ["keyword", "metatag"]],
|
|
339
342
|
[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/, ["", "metatag"]],
|
|
340
343
|
[/:\(/, "metatag", "@quote"],
|
|
344
|
+
// regular expressions
|
|
341
345
|
[/r"""/, "regexp.delim", "@tregexp"],
|
|
342
346
|
[/r"/, "regexp.delim", "@sregexp"],
|
|
347
|
+
// strings
|
|
343
348
|
[/raw"""/, "string.delim", "@rtstring"],
|
|
344
349
|
[/[bv]?"""/, "string.delim", "@dtstring"],
|
|
345
350
|
[/raw"/, "string.delim", "@rsstring"],
|
|
@@ -378,8 +383,11 @@ var e = {
|
|
|
378
383
|
[/\$\w+/, "key"],
|
|
379
384
|
[/\$\(/, "key", "@paste"],
|
|
380
385
|
[/@@@ident/, "annotation"],
|
|
386
|
+
// whitespace
|
|
381
387
|
{ include: "@whitespace" },
|
|
388
|
+
// characters
|
|
382
389
|
[/'(?:@escapes|.)'/, "string.character"],
|
|
390
|
+
// delimiters and operators
|
|
383
391
|
[/[()\[\]{}]/, "@brackets"],
|
|
384
392
|
[
|
|
385
393
|
/@allops/,
|
|
@@ -391,17 +399,20 @@ var e = {
|
|
|
391
399
|
}
|
|
392
400
|
],
|
|
393
401
|
[/[;,]/, "delimiter"],
|
|
402
|
+
// numbers
|
|
394
403
|
[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/, "number.hex"],
|
|
395
404
|
[/0[_oO][0-7](_?[0-7])*/, "number.octal"],
|
|
396
405
|
[/0[bB][01](_?[01])*/, "number.binary"],
|
|
397
406
|
[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/, "number"]
|
|
398
407
|
],
|
|
408
|
+
// type
|
|
399
409
|
typeanno: [
|
|
400
410
|
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@gen"],
|
|
401
411
|
[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/, ["type", "keyword"]],
|
|
402
412
|
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type", "@pop"],
|
|
403
413
|
["", "", "@pop"]
|
|
404
414
|
],
|
|
415
|
+
// generic type
|
|
405
416
|
gen: [
|
|
406
417
|
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@push"],
|
|
407
418
|
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type"],
|
|
@@ -410,18 +421,21 @@ var e = {
|
|
|
410
421
|
[/\}/, "type", "@pop"],
|
|
411
422
|
{ include: "@root" }
|
|
412
423
|
],
|
|
424
|
+
// $(...)
|
|
413
425
|
quote: [
|
|
414
426
|
[/\$\(/, "key", "@paste"],
|
|
415
427
|
[/\(/, "@brackets", "@paren"],
|
|
416
428
|
[/\)/, "metatag", "@pop"],
|
|
417
429
|
{ include: "@root" }
|
|
418
430
|
],
|
|
431
|
+
// :(...)
|
|
419
432
|
paste: [
|
|
420
433
|
[/:\(/, "metatag", "@quote"],
|
|
421
434
|
[/\(/, "@brackets", "@paren"],
|
|
422
435
|
[/\)/, "key", "@pop"],
|
|
423
436
|
{ include: "@root" }
|
|
424
437
|
],
|
|
438
|
+
// (...)
|
|
425
439
|
paren: [
|
|
426
440
|
[/\$\(/, "key", "@paste"],
|
|
427
441
|
[/:\(/, "metatag", "@quote"],
|
|
@@ -429,6 +443,7 @@ var e = {
|
|
|
429
443
|
[/\)/, "@brackets", "@pop"],
|
|
430
444
|
{ include: "@root" }
|
|
431
445
|
],
|
|
446
|
+
// r"egex string"
|
|
432
447
|
sregexp: [
|
|
433
448
|
[/^.*/, "invalid"],
|
|
434
449
|
[/[^\\"()\[\]{}]/, "regexp"],
|
|
@@ -443,6 +458,7 @@ var e = {
|
|
|
443
458
|
[/"(?!"")/, "string"],
|
|
444
459
|
[/"""[imsx]*/, "regexp.delim", "@pop"]
|
|
445
460
|
],
|
|
461
|
+
// raw"string"
|
|
446
462
|
rsstring: [
|
|
447
463
|
[/^.*/, "invalid"],
|
|
448
464
|
[/[^\\"]/, "string"],
|
|
@@ -455,6 +471,7 @@ var e = {
|
|
|
455
471
|
[/"(?!"")/, "string"],
|
|
456
472
|
[/"""/, "string.delim", "@pop"]
|
|
457
473
|
],
|
|
474
|
+
// "string".
|
|
458
475
|
dsstring: [
|
|
459
476
|
[/^.*/, "invalid"],
|
|
460
477
|
[/[^\\"\$]/, "string"],
|
|
@@ -471,12 +488,16 @@ var e = {
|
|
|
471
488
|
[/"(?!"")/, "string"],
|
|
472
489
|
[/"""/, "string.delim", "@pop"]
|
|
473
490
|
],
|
|
491
|
+
// interpolated sequence
|
|
474
492
|
interpolated: [
|
|
475
493
|
[/\(/, { token: "", switchTo: "@interpolated_compound" }],
|
|
476
494
|
[/[a-zA-Z_]\w*/, "identifier"],
|
|
477
495
|
["", "", "@pop"]
|
|
496
|
+
// just a $ is interpreted as a $
|
|
478
497
|
],
|
|
498
|
+
// any code
|
|
479
499
|
interpolated_compound: [[/\)/, "", "@pop"], { include: "@root" }],
|
|
500
|
+
// whitespace & comments
|
|
480
501
|
whitespace: [
|
|
481
502
|
[/[ \t\r\n]+/, ""],
|
|
482
503
|
[/#=/, "comment", "@multi_comment"],
|
|
@@ -1,10 +1,11 @@
|
|
|
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
|
*-----------------------------------------------------------------------------*/
|
|
7
7
|
var e = {
|
|
8
|
+
// the default separators except `@$`
|
|
8
9
|
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
|
9
10
|
comments: {
|
|
10
11
|
lineComment: "//",
|
|
@@ -159,15 +160,19 @@ var e = {
|
|
|
159
160
|
"$",
|
|
160
161
|
"_"
|
|
161
162
|
],
|
|
163
|
+
// we include these common regular expressions
|
|
162
164
|
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
163
165
|
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
164
166
|
digits: /\d+(_+\d+)*/,
|
|
165
167
|
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
|
166
168
|
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
|
167
169
|
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
|
170
|
+
// The main tokenizer for our languages
|
|
168
171
|
tokenizer: {
|
|
169
172
|
root: [
|
|
173
|
+
// class name highlighting
|
|
170
174
|
[/[A-Z][\w\$]*/, "type.identifier"],
|
|
175
|
+
// identifiers and keywords
|
|
171
176
|
[
|
|
172
177
|
/[a-zA-Z_$][\w$]*/,
|
|
173
178
|
{
|
|
@@ -177,7 +182,9 @@ var e = {
|
|
|
177
182
|
}
|
|
178
183
|
}
|
|
179
184
|
],
|
|
185
|
+
// whitespace
|
|
180
186
|
{ include: "@whitespace" },
|
|
187
|
+
// delimiters and operators
|
|
181
188
|
[/[{}()\[\]]/, "@brackets"],
|
|
182
189
|
[/[<>](?!@symbols)/, "@brackets"],
|
|
183
190
|
[
|
|
@@ -189,7 +196,9 @@ var e = {
|
|
|
189
196
|
}
|
|
190
197
|
}
|
|
191
198
|
],
|
|
199
|
+
// @ annotations.
|
|
192
200
|
[/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
|
|
201
|
+
// numbers
|
|
193
202
|
[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
|
|
194
203
|
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
|
|
195
204
|
[/0[xX](@hexdigits)[Ll]?/, "number.hex"],
|
|
@@ -197,10 +206,14 @@ var e = {
|
|
|
197
206
|
[/0[bB](@binarydigits)[Ll]?/, "number.binary"],
|
|
198
207
|
[/(@digits)[fFdD]/, "number.float"],
|
|
199
208
|
[/(@digits)[lL]?/, "number"],
|
|
209
|
+
// delimiter: after number because of .\d floats
|
|
200
210
|
[/[;,.]/, "delimiter"],
|
|
211
|
+
// strings
|
|
201
212
|
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
213
|
+
// non-teminated string
|
|
202
214
|
[/"""/, "string", "@multistring"],
|
|
203
215
|
[/"/, "string", "@string"],
|
|
216
|
+
// characters
|
|
204
217
|
[/'[^\\']'/, "string"],
|
|
205
218
|
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
|
206
219
|
[/'/, "string.invalid"]
|
|
@@ -217,6 +230,7 @@ var e = {
|
|
|
217
230
|
[/\*\//, "comment", "@pop"],
|
|
218
231
|
[/[\/*]/, "comment"]
|
|
219
232
|
],
|
|
233
|
+
//Identical copy of comment above, except for the addition of .doc
|
|
220
234
|
javadoc: [
|
|
221
235
|
[/[^\/*]+/, "comment.doc"],
|
|
222
236
|
[/\/\*/, "comment.doc", "@push"],
|
|
@@ -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,12 +1,13 @@
|
|
|
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
|
*-----------------------------------------------------------------------------*/
|
|
7
7
|
var e = {
|
|
8
8
|
comments: {
|
|
9
9
|
lineComment: "COMMENT"
|
|
10
|
+
// blockComment: ['COMMENT', '.'],
|
|
10
11
|
},
|
|
11
12
|
brackets: [["(", ")"]],
|
|
12
13
|
autoClosingPairs: [
|
|
@@ -32,6 +33,8 @@ var e = {
|
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
}, t = {
|
|
36
|
+
// Set defaultToken to invalid to see what you do not tokenize yet
|
|
37
|
+
// defaultToken: 'invalid',
|
|
35
38
|
tokenPostfix: ".lexon",
|
|
36
39
|
ignoreCase: !0,
|
|
37
40
|
keywords: [
|
|
@@ -69,10 +72,14 @@ var e = {
|
|
|
69
72
|
"be",
|
|
70
73
|
"certified"
|
|
71
74
|
],
|
|
75
|
+
// we include these common regular expressions
|
|
72
76
|
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
77
|
+
// The main tokenizer for our languages
|
|
73
78
|
tokenizer: {
|
|
74
79
|
root: [
|
|
80
|
+
// comment
|
|
75
81
|
[/^(\s*)(comment:?(?:\s.*|))$/, ["", "comment"]],
|
|
82
|
+
// special identifier cases
|
|
76
83
|
[
|
|
77
84
|
/"/,
|
|
78
85
|
{
|
|
@@ -98,6 +105,7 @@ var e = {
|
|
|
98
105
|
next: "@identifier_until_period"
|
|
99
106
|
}
|
|
100
107
|
],
|
|
108
|
+
// identifiers and keywords
|
|
101
109
|
[
|
|
102
110
|
/[a-z_$][\w$]*/,
|
|
103
111
|
{
|
|
@@ -109,14 +117,18 @@ var e = {
|
|
|
109
117
|
}
|
|
110
118
|
}
|
|
111
119
|
],
|
|
120
|
+
// whitespace
|
|
112
121
|
{ include: "@whitespace" },
|
|
122
|
+
// delimiters and operators
|
|
113
123
|
[/[{}()\[\]]/, "@brackets"],
|
|
114
124
|
[/[<>](?!@symbols)/, "@brackets"],
|
|
115
125
|
[/@symbols/, "delimiter"],
|
|
126
|
+
// numbers
|
|
116
127
|
[/\d*\.\d*\.\d*/, "number.semver"],
|
|
117
128
|
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
118
129
|
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
|
119
130
|
[/\d+/, "number"],
|
|
131
|
+
// delimiter: after number because of .\d floats
|
|
120
132
|
[/[;,.]/, "delimiter"]
|
|
121
133
|
],
|
|
122
134
|
quoted_identifier: [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as l } from "./CodeEditor-
|
|
1
|
+
import { m as l } from "./CodeEditor-Bf4L2rO_.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* Version: 0.
|
|
4
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
5
5
|
* Released under the MIT license
|
|
6
6
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
7
7
|
*-----------------------------------------------------------------------------*/
|
|
@@ -54,14 +54,20 @@ var a = [
|
|
|
54
54
|
],
|
|
55
55
|
onEnterRules: [
|
|
56
56
|
{
|
|
57
|
-
beforeText: new RegExp(
|
|
57
|
+
beforeText: new RegExp(
|
|
58
|
+
`<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
|
59
|
+
"i"
|
|
60
|
+
),
|
|
58
61
|
afterText: /^<\/(\w[\w\d]*)\s*>$/i,
|
|
59
62
|
action: {
|
|
60
63
|
indentAction: o.languages.IndentAction.IndentOutdent
|
|
61
64
|
}
|
|
62
65
|
},
|
|
63
66
|
{
|
|
64
|
-
beforeText: new RegExp(
|
|
67
|
+
beforeText: new RegExp(
|
|
68
|
+
`<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
|
69
|
+
"i"
|
|
70
|
+
),
|
|
65
71
|
action: { indentAction: o.languages.IndentAction.Indent }
|
|
66
72
|
}
|
|
67
73
|
]
|
|
@@ -161,6 +167,7 @@ var a = [
|
|
|
161
167
|
[/</, "delimiter.html"],
|
|
162
168
|
[/\{/, "delimiter.html"],
|
|
163
169
|
[/[^<{]+/]
|
|
170
|
+
// text
|
|
164
171
|
],
|
|
165
172
|
comment: [
|
|
166
173
|
[/\{\%\s*endcomment\s*\%\}/, "comment.end.liquid", "@pop"],
|
|
@@ -187,6 +194,7 @@ var a = [
|
|
|
187
194
|
[/[\w\-]+/, "attribute.name"],
|
|
188
195
|
[/=/, "delimiter"],
|
|
189
196
|
[/[ \t\r\n]+/]
|
|
197
|
+
// whitespace
|
|
190
198
|
],
|
|
191
199
|
liquidState: [
|
|
192
200
|
[/\{\{/, "delimiter.output.liquid"],
|
|
@@ -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
|
*-----------------------------------------------------------------------------*/
|
|
@@ -82,10 +82,13 @@ var e = {
|
|
|
82
82
|
"..",
|
|
83
83
|
"..."
|
|
84
84
|
],
|
|
85
|
+
// we include these common regular expressions
|
|
85
86
|
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
86
87
|
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
88
|
+
// The main tokenizer for our languages
|
|
87
89
|
tokenizer: {
|
|
88
90
|
root: [
|
|
91
|
+
// identifiers and keywords
|
|
89
92
|
[
|
|
90
93
|
/[a-zA-Z_]\w*/,
|
|
91
94
|
{
|
|
@@ -95,9 +98,12 @@ var e = {
|
|
|
95
98
|
}
|
|
96
99
|
}
|
|
97
100
|
],
|
|
101
|
+
// whitespace
|
|
98
102
|
{ include: "@whitespace" },
|
|
103
|
+
// keys
|
|
99
104
|
[/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["delimiter", "", "key", "", "delimiter"]],
|
|
100
105
|
[/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["@brackets", "", "key", "", "delimiter"]],
|
|
106
|
+
// delimiters and operators
|
|
101
107
|
[/[{}()\[\]]/, "@brackets"],
|
|
102
108
|
[
|
|
103
109
|
/@symbols/,
|
|
@@ -108,12 +114,17 @@ var e = {
|
|
|
108
114
|
}
|
|
109
115
|
}
|
|
110
116
|
],
|
|
117
|
+
// numbers
|
|
111
118
|
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
112
119
|
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
|
113
120
|
[/\d+?/, "number"],
|
|
121
|
+
// delimiter: after number because of .\d floats
|
|
114
122
|
[/[;,.]/, "delimiter"],
|
|
123
|
+
// strings: recover on non-terminated strings
|
|
115
124
|
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
125
|
+
// non-teminated string
|
|
116
126
|
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
127
|
+
// non-teminated string
|
|
117
128
|
[/"/, "string", '@string."'],
|
|
118
129
|
[/'/, "string", "@string.'"]
|
|
119
130
|
],
|
|
@@ -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
|
*-----------------------------------------------------------------------------*/
|
|
@@ -148,6 +148,7 @@ var e = {
|
|
|
148
148
|
escapes: /\\(?:[\\fnrt"']|[0-7]{3})/,
|
|
149
149
|
tokenizer: {
|
|
150
150
|
root: [
|
|
151
|
+
// Identifiers and keywords
|
|
151
152
|
[/_\w*/, "invalid"],
|
|
152
153
|
[
|
|
153
154
|
/[a-zA-Z][a-zA-Z0-9_]*/,
|
|
@@ -160,10 +161,13 @@ var e = {
|
|
|
160
161
|
}
|
|
161
162
|
}
|
|
162
163
|
],
|
|
164
|
+
// Whitespace
|
|
163
165
|
{ include: "@whitespace" },
|
|
164
166
|
[/[{}()\[\]]/, "@brackets"],
|
|
167
|
+
// Integer- and real literals
|
|
165
168
|
[/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/, "number.float"],
|
|
166
169
|
[/[0-9]+(?:\_[0-9a-fA-F]+)?L?/, "number"],
|
|
170
|
+
// Operators, relations, and delimiters
|
|
167
171
|
[
|
|
168
172
|
/@symbols/,
|
|
169
173
|
{
|
|
@@ -175,9 +179,11 @@ var e = {
|
|
|
175
179
|
}
|
|
176
180
|
}
|
|
177
181
|
],
|
|
182
|
+
// Character literals
|
|
178
183
|
[/'[^\\']'/, "string.char"],
|
|
179
184
|
[/(')(@escapes)(')/, ["string.char", "string.escape", "string.char"]],
|
|
180
185
|
[/'/, "invalid"],
|
|
186
|
+
// Text literals
|
|
181
187
|
[/"([^"\\]|\\.)*$/, "invalid"],
|
|
182
188
|
[/"/, "string.text", "@text"]
|
|
183
189
|
],
|
|
@@ -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
|
*-----------------------------------------------------------------------------*/
|
|
@@ -33,10 +33,13 @@ var e = {
|
|
|
33
33
|
}, t = {
|
|
34
34
|
defaultToken: "",
|
|
35
35
|
tokenPostfix: ".md",
|
|
36
|
+
// escape codes
|
|
36
37
|
control: /[\\`*_\[\]{}()#+\-\.!]/,
|
|
37
38
|
noncontrol: /[^\\`*_\[\]{}()#+\-\.!]/,
|
|
38
39
|
escapes: /\\(?:@control)/,
|
|
40
|
+
// escape codes for javascript/CSS strings
|
|
39
41
|
jsescapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
|
42
|
+
// non matched elements
|
|
40
43
|
empty: [
|
|
41
44
|
"area",
|
|
42
45
|
"base",
|
|
@@ -54,37 +57,55 @@ var e = {
|
|
|
54
57
|
],
|
|
55
58
|
tokenizer: {
|
|
56
59
|
root: [
|
|
60
|
+
// markdown tables
|
|
57
61
|
[/^\s*\|/, "@rematch", "@table_header"],
|
|
62
|
+
// headers (with #)
|
|
58
63
|
[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/, ["white", "keyword", "keyword", "keyword"]],
|
|
64
|
+
// headers (with =)
|
|
59
65
|
[/^\s*(=+|\-+)\s*$/, "keyword"],
|
|
66
|
+
// headers (with ***)
|
|
60
67
|
[/^\s*((\*[ ]?)+)\s*$/, "meta.separator"],
|
|
68
|
+
// quote
|
|
61
69
|
[/^\s*>+/, "comment"],
|
|
70
|
+
// list (starting with * or number)
|
|
62
71
|
[/^\s*([\*\-+:]|\d+\.)\s/, "keyword"],
|
|
72
|
+
// code block (4 spaces indent)
|
|
63
73
|
[/^(\t|[ ]{4})[^ ].*$/, "string"],
|
|
74
|
+
// code block (3 tilde)
|
|
64
75
|
[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/, { token: "string", next: "@codeblock" }],
|
|
76
|
+
// github style code blocks (with backticks and language)
|
|
65
77
|
[
|
|
66
78
|
/^\s*```\s*((?:\w|[\/\-#])+).*$/,
|
|
67
79
|
{ token: "string", next: "@codeblockgh", nextEmbedded: "$1" }
|
|
68
80
|
],
|
|
81
|
+
// github style code blocks (with backticks but no language)
|
|
69
82
|
[/^\s*```\s*$/, { token: "string", next: "@codeblock" }],
|
|
83
|
+
// markup within lines
|
|
70
84
|
{ include: "@linecontent" }
|
|
71
85
|
],
|
|
72
86
|
table_header: [
|
|
73
87
|
{ include: "@table_common" },
|
|
74
88
|
[/[^\|]+/, "keyword.table.header"]
|
|
89
|
+
// table header
|
|
75
90
|
],
|
|
76
91
|
table_body: [{ include: "@table_common" }, { include: "@linecontent" }],
|
|
77
92
|
table_common: [
|
|
78
93
|
[/\s*[\-:]+\s*/, { token: "keyword", switchTo: "table_body" }],
|
|
94
|
+
// header-divider
|
|
79
95
|
[/^\s*\|/, "keyword.table.left"],
|
|
96
|
+
// opening |
|
|
80
97
|
[/^\s*[^\|]/, "@rematch", "@pop"],
|
|
98
|
+
// exiting
|
|
81
99
|
[/^\s*$/, "@rematch", "@pop"],
|
|
100
|
+
// exiting
|
|
82
101
|
[
|
|
83
102
|
/\|/,
|
|
84
103
|
{
|
|
85
104
|
cases: {
|
|
86
105
|
"@eos": "keyword.table.right",
|
|
106
|
+
// closing |
|
|
87
107
|
"@default": "keyword.table.middle"
|
|
108
|
+
// inner |
|
|
88
109
|
}
|
|
89
110
|
}
|
|
90
111
|
]
|
|
@@ -94,24 +115,35 @@ var e = {
|
|
|
94
115
|
[/^\s*```\s*$/, { token: "string", next: "@pop" }],
|
|
95
116
|
[/.*$/, "variable.source"]
|
|
96
117
|
],
|
|
118
|
+
// github style code blocks
|
|
97
119
|
codeblockgh: [
|
|
98
120
|
[/```\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
|
|
99
121
|
[/[^`]+/, "variable.source"]
|
|
100
122
|
],
|
|
101
123
|
linecontent: [
|
|
124
|
+
// escapes
|
|
102
125
|
[/&\w+;/, "string.escape"],
|
|
103
126
|
[/@escapes/, "escape"],
|
|
127
|
+
// various markup
|
|
104
128
|
[/\b__([^\\_]|@escapes|_(?!_))+__\b/, "strong"],
|
|
105
129
|
[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/, "strong"],
|
|
106
130
|
[/\b_[^_]+_\b/, "emphasis"],
|
|
107
131
|
[/\*([^\\*]|@escapes)+\*/, "emphasis"],
|
|
108
132
|
[/`([^\\`]|@escapes)+`/, "variable"],
|
|
133
|
+
// links
|
|
109
134
|
[/\{+[^}]+\}+/, "string.target"],
|
|
110
135
|
[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/, ["string.link", "", "string.link"]],
|
|
111
136
|
[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/, "string.link"],
|
|
137
|
+
// or html
|
|
112
138
|
{ include: "html" }
|
|
113
139
|
],
|
|
140
|
+
// Note: it is tempting to rather switch to the real HTML mode instead of building our own here
|
|
141
|
+
// but currently there is a limitation in Monarch that prevents us from doing it: The opening
|
|
142
|
+
// '<' would start the HTML mode, however there is no way to jump 1 character back to let the
|
|
143
|
+
// HTML mode also tokenize the opening angle bracket. Thus, even though we could jump to HTML,
|
|
144
|
+
// we cannot correctly tokenize it in that mode yet.
|
|
114
145
|
html: [
|
|
146
|
+
// html tags
|
|
115
147
|
[/<(\w+)\/>/, "tag"],
|
|
116
148
|
[
|
|
117
149
|
/<(\w+)(\-|\w)*/,
|
|
@@ -131,6 +163,7 @@ var e = {
|
|
|
131
163
|
[/<!--/, "comment.content.invalid"],
|
|
132
164
|
[/[<\-]/, "comment.content"]
|
|
133
165
|
],
|
|
166
|
+
// Almost full HTML tag matching, complete with embedded scripts & styles
|
|
134
167
|
tag: [
|
|
135
168
|
[/[ \t\r\n]+/, "white"],
|
|
136
169
|
[
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as s } from "./CodeEditor-
|
|
1
|
+
import { m as s } from "./CodeEditor-Bf4L2rO_.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* Version: 0.
|
|
4
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
5
5
|
* Released under the MIT license
|
|
6
6
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
7
7
|
*-----------------------------------------------------------------------------*/
|