@nuraly/runtime 0.1.7 → 0.1.9
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 +9 -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 +360 -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 +17 -13
- package/components/ui/components/inputs/Select/Select.ts +44 -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 +213 -0
- package/components/ui/components/layout/Grid/Row.style.ts +73 -0
- package/components/ui/components/layout/Grid/Row.ts +170 -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 +484 -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-B1gNuvPb.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-D82-gS78.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-CYRLpyjt.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-R8Efxi60.js} +38 -4
- package/dist/{hcl-6NT8Kbna.js → hcl-YBvpaUqf.js} +13 -1
- package/dist/{html-C6wR7sMB.js → html-czhjovcp.js} +37 -4
- package/dist/htmlMode-DpyKDYYs.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-DwqkMEdb.js} +3 -2
- package/dist/jsonMode-Cmxxe0W9.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-2spuEcBh.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-BjBXyEeR.js} +2 -2
- package/dist/{micro-app-entry-xdTX5-ut.js → micro-app-entry-DYAnCRDo.js} +8132 -9649
- package/dist/micro-app.bundle.js +3 -3
- package/dist/micro-app.js +3565 -6710
- 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-DLI1ji08.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-oAnIJsrL.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-D_PMsbjK.js +976 -0
- package/dist/{twig-B1AUPVB_.js → twig-L2MkztkV.js} +76 -1
- package/dist/{typescript-DrlYcCUn.js → typescript-Bu3ZbtQI.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-CNSSkPqy.js} +8 -2
- package/dist/{yaml-CT7GOvXu.js → yaml-5RF_PGNe.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 +22 -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
|
*-----------------------------------------------------------------------------*/
|
|
@@ -81,10 +81,13 @@ var e = {
|
|
|
81
81
|
"mtlo",
|
|
82
82
|
"move"
|
|
83
83
|
],
|
|
84
|
+
// we include these common regular expressions
|
|
84
85
|
symbols: /[\.,\:]+/,
|
|
85
86
|
escapes: /\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
87
|
+
// The main tokenizer for our languages
|
|
86
88
|
tokenizer: {
|
|
87
89
|
root: [
|
|
90
|
+
// identifiers and keywords
|
|
88
91
|
[/\$[a-zA-Z_]\w*/, "variable.predefined"],
|
|
89
92
|
[
|
|
90
93
|
/[.a-zA-Z_]\w*/,
|
|
@@ -96,19 +99,26 @@ var e = {
|
|
|
96
99
|
}
|
|
97
100
|
}
|
|
98
101
|
],
|
|
102
|
+
// whitespace
|
|
99
103
|
[/[ \t\r\n]+/, ""],
|
|
104
|
+
// Comments
|
|
100
105
|
[/#.*$/, "comment"],
|
|
106
|
+
// regular expressions
|
|
101
107
|
["///", { token: "regexp", next: "@hereregexp" }],
|
|
102
108
|
[/^(\s*)(@regEx)/, ["", "regexp"]],
|
|
103
109
|
[/(\,)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
104
110
|
[/(\:)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
111
|
+
// delimiters
|
|
105
112
|
[/@symbols/, "delimiter"],
|
|
113
|
+
// numbers
|
|
106
114
|
[/\d+[eE]([\-+]?\d+)?/, "number.float"],
|
|
107
115
|
[/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
108
116
|
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
|
109
117
|
[/0[0-7]+(?!\d)/, "number.octal"],
|
|
110
118
|
[/\d+/, "number"],
|
|
119
|
+
// delimiter: after number because of .\d floats
|
|
111
120
|
[/[,.]/, "delimiter"],
|
|
121
|
+
// strings:
|
|
112
122
|
[/"""/, "string", '@herestring."""'],
|
|
113
123
|
[/'''/, "string", "@herestring.'''"],
|
|
114
124
|
[
|
|
@@ -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
|
*-----------------------------------------------------------------------------*/
|
|
@@ -31,6 +31,7 @@ var E = {
|
|
|
31
31
|
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
|
32
32
|
],
|
|
33
33
|
keywords: [
|
|
34
|
+
// Query keywords
|
|
34
35
|
"VAR",
|
|
35
36
|
"RETURN",
|
|
36
37
|
"NOT",
|
|
@@ -45,6 +46,7 @@ var E = {
|
|
|
45
46
|
"ASC",
|
|
46
47
|
"DESC",
|
|
47
48
|
"IN",
|
|
49
|
+
// Datatable types
|
|
48
50
|
"BOOLEAN",
|
|
49
51
|
"DOUBLE",
|
|
50
52
|
"INTEGER",
|
|
@@ -53,6 +55,7 @@ var E = {
|
|
|
53
55
|
"STRING"
|
|
54
56
|
],
|
|
55
57
|
functions: [
|
|
58
|
+
// Relational
|
|
56
59
|
"CLOSINGBALANCEMONTH",
|
|
57
60
|
"CLOSINGBALANCEQUARTER",
|
|
58
61
|
"CLOSINGBALANCEYEAR",
|
|
@@ -182,6 +185,7 @@ var E = {
|
|
|
182
185
|
"VARX.S",
|
|
183
186
|
"XIRR",
|
|
184
187
|
"XNPV",
|
|
188
|
+
// Scalar
|
|
185
189
|
"DATE",
|
|
186
190
|
"DATEDIFF",
|
|
187
191
|
"DATEVALUE",
|
|
@@ -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
|
*-----------------------------------------------------------------------------*/
|
|
@@ -37,6 +37,7 @@ var E = {
|
|
|
37
37
|
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
|
38
38
|
],
|
|
39
39
|
keywords: [
|
|
40
|
+
// This list is generated using `keywords.js`
|
|
40
41
|
"ACCESSIBLE",
|
|
41
42
|
"ADD",
|
|
42
43
|
"ALL",
|
|
@@ -805,7 +806,9 @@ var E = {
|
|
|
805
806
|
"YEAR",
|
|
806
807
|
"YEARWEEK"
|
|
807
808
|
],
|
|
808
|
-
builtinVariables: [
|
|
809
|
+
builtinVariables: [
|
|
810
|
+
// NOT SUPPORTED
|
|
811
|
+
],
|
|
809
812
|
tokenizer: {
|
|
810
813
|
root: [
|
|
811
814
|
{ include: "@comments" },
|
|
@@ -838,6 +841,9 @@ var E = {
|
|
|
838
841
|
],
|
|
839
842
|
comment: [
|
|
840
843
|
[/[^*/]+/, "comment"],
|
|
844
|
+
// Not supporting nested comments, as nested comments seem to not be standard?
|
|
845
|
+
// i.e. http://stackoverflow.com/questions/728172/are-there-multiline-comment-delimiters-in-sql-that-are-vendor-agnostic
|
|
846
|
+
// [/\/\*/, { token: 'comment.quote', next: '@push' }], // nested comment not allowed :-(
|
|
841
847
|
[/\*\//, { token: "comment.quote", next: "@pop" }],
|
|
842
848
|
[/./, "comment"]
|
|
843
849
|
],
|
|
@@ -867,7 +873,9 @@ var E = {
|
|
|
867
873
|
[/``/, "identifier"],
|
|
868
874
|
[/`/, { token: "identifier.quote", next: "@pop" }]
|
|
869
875
|
],
|
|
870
|
-
scopes: [
|
|
876
|
+
scopes: [
|
|
877
|
+
// NOT SUPPORTED
|
|
878
|
+
]
|
|
871
879
|
}
|
|
872
880
|
};
|
|
873
881
|
export {
|
|
@@ -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
|
*-----------------------------------------------------------------------------*/
|
|
@@ -160,6 +160,7 @@ var e = {
|
|
|
160
160
|
}
|
|
161
161
|
]
|
|
162
162
|
],
|
|
163
|
+
// Recognize strings, including those broken across lines with \ (but not without)
|
|
163
164
|
strings: [
|
|
164
165
|
[/'$/, "string.escape", "@popall"],
|
|
165
166
|
[/'/, "string.escape", "@stringBody"],
|
|
@@ -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: "//",
|
|
@@ -188,9 +189,12 @@ var e = {
|
|
|
188
189
|
"^",
|
|
189
190
|
"%"
|
|
190
191
|
],
|
|
192
|
+
// we include these common regular expressions
|
|
191
193
|
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
|
194
|
+
// The main tokenizer for our languages
|
|
192
195
|
tokenizer: {
|
|
193
196
|
root: [
|
|
197
|
+
// identifiers and keywords
|
|
194
198
|
[
|
|
195
199
|
/[a-zA-Z_][\w]*/,
|
|
196
200
|
{
|
|
@@ -200,7 +204,9 @@ var e = {
|
|
|
200
204
|
}
|
|
201
205
|
}
|
|
202
206
|
],
|
|
207
|
+
// whitespace
|
|
203
208
|
{ include: "@whitespace" },
|
|
209
|
+
// delimiters and operators
|
|
204
210
|
[/[{}()\[\]]/, "@brackets"],
|
|
205
211
|
[/[<>](?!@symbols)/, "@brackets"],
|
|
206
212
|
[
|
|
@@ -212,18 +218,24 @@ var e = {
|
|
|
212
218
|
}
|
|
213
219
|
}
|
|
214
220
|
],
|
|
221
|
+
// numbers
|
|
215
222
|
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
216
223
|
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
|
217
224
|
[/\d+/, "number"],
|
|
225
|
+
// delimiter: after number because of .\d floats
|
|
218
226
|
[/[;,.]/, "delimiter"],
|
|
227
|
+
// strings
|
|
219
228
|
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
229
|
+
// non-teminated string
|
|
220
230
|
[/'/, "string", "@string"],
|
|
231
|
+
// characters
|
|
221
232
|
[/'[^\\']'/, "string"],
|
|
222
233
|
[/'/, "string.invalid"],
|
|
223
234
|
[/\#\d+/, "string"]
|
|
224
235
|
],
|
|
225
236
|
comment: [
|
|
226
237
|
[/[^\*\}]+/, "comment"],
|
|
238
|
+
//[/\(\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
|
227
239
|
[/\}/, "comment", "@pop"],
|
|
228
240
|
[/[\{]/, "comment"]
|
|
229
241
|
],
|
|
@@ -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
|
*-----------------------------------------------------------------------------*/
|
|
@@ -101,9 +101,12 @@ var e = {
|
|
|
101
101
|
"^",
|
|
102
102
|
"%"
|
|
103
103
|
],
|
|
104
|
+
// we include these common regular expressions
|
|
104
105
|
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
|
106
|
+
// The main tokenizer for our languages
|
|
105
107
|
tokenizer: {
|
|
106
108
|
root: [
|
|
109
|
+
// identifiers and keywords
|
|
107
110
|
[
|
|
108
111
|
/[a-zA-Z_][\w]*/,
|
|
109
112
|
{
|
|
@@ -113,7 +116,9 @@ var e = {
|
|
|
113
116
|
}
|
|
114
117
|
}
|
|
115
118
|
],
|
|
119
|
+
// whitespace
|
|
116
120
|
{ include: "@whitespace" },
|
|
121
|
+
// delimiters and operators
|
|
117
122
|
[/[{}()\[\]]/, "@brackets"],
|
|
118
123
|
[/[<>](?!@symbols)/, "@brackets"],
|
|
119
124
|
[
|
|
@@ -125,18 +130,25 @@ var e = {
|
|
|
125
130
|
}
|
|
126
131
|
}
|
|
127
132
|
],
|
|
133
|
+
// numbers
|
|
128
134
|
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
129
135
|
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
|
130
136
|
[/\d+/, "number"],
|
|
137
|
+
// delimiter: after number because of .\d floats
|
|
131
138
|
[/[;,.]/, "delimiter"],
|
|
139
|
+
// strings
|
|
132
140
|
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
141
|
+
// non-teminated string
|
|
133
142
|
[/'/, "string", "@string"],
|
|
143
|
+
// characters
|
|
134
144
|
[/'[^\\']'/, "string"],
|
|
135
145
|
[/'/, "string.invalid"],
|
|
136
146
|
[/\#\d+/, "string"]
|
|
137
147
|
],
|
|
148
|
+
/* */
|
|
138
149
|
comment: [
|
|
139
150
|
[/[^\(\*]+/, "comment"],
|
|
151
|
+
//[/\(\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
|
140
152
|
[/\*\)/, "comment", "@pop"],
|
|
141
153
|
[/\(\*/, "comment"]
|
|
142
154
|
],
|
|
@@ -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
|
*-----------------------------------------------------------------------------*/
|
|
@@ -37,6 +37,8 @@ var e = {
|
|
|
37
37
|
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
|
38
38
|
{ token: "delimiter.square", open: "[", close: "]" }
|
|
39
39
|
],
|
|
40
|
+
// https://learn.perl.org/docs/keywords.html
|
|
41
|
+
// Perl syntax
|
|
40
42
|
keywords: [
|
|
41
43
|
"__DATA__",
|
|
42
44
|
"else",
|
|
@@ -72,6 +74,7 @@ var e = {
|
|
|
72
74
|
"__DIE__",
|
|
73
75
|
"__WARN__"
|
|
74
76
|
],
|
|
77
|
+
// Perl functions
|
|
75
78
|
builtinFunctions: [
|
|
76
79
|
"-A",
|
|
77
80
|
"END",
|
|
@@ -309,7 +312,9 @@ var e = {
|
|
|
309
312
|
"lcfirst",
|
|
310
313
|
"setnetent"
|
|
311
314
|
],
|
|
315
|
+
// File handlers
|
|
312
316
|
builtinFileHandlers: ["ARGV", "STDERR", "STDOUT", "ARGVOUT", "STDIN", "ENV"],
|
|
317
|
+
// Perl variables
|
|
313
318
|
builtinVariables: [
|
|
314
319
|
"$!",
|
|
315
320
|
"$^RE_TRIE_MAXBUF",
|
|
@@ -442,9 +447,11 @@ var e = {
|
|
|
442
447
|
"$^RE_DEBUG_FLAGS",
|
|
443
448
|
"$LAST_PAREN_MATCH"
|
|
444
449
|
],
|
|
450
|
+
// operators
|
|
445
451
|
symbols: /[:+\-\^*$&%@=<>!?|\/~\.]/,
|
|
446
452
|
quoteLikeOps: ["qr", "m", "s", "q", "qq", "qx", "qw", "tr", "y"],
|
|
447
453
|
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
454
|
+
// The main tokenizer for our languages
|
|
448
455
|
tokenizer: {
|
|
449
456
|
root: [
|
|
450
457
|
{ include: "@whitespace" },
|
|
@@ -463,6 +470,7 @@ var e = {
|
|
|
463
470
|
}
|
|
464
471
|
}
|
|
465
472
|
],
|
|
473
|
+
// Perl variables
|
|
466
474
|
[
|
|
467
475
|
/[\$@%][*@#?\+\-\$!\w\\\^><~:;\.]+/,
|
|
468
476
|
{
|
|
@@ -474,9 +482,12 @@ var e = {
|
|
|
474
482
|
],
|
|
475
483
|
{ include: "@strings" },
|
|
476
484
|
{ include: "@dblStrings" },
|
|
485
|
+
// Perl Doc
|
|
477
486
|
{ include: "@perldoc" },
|
|
487
|
+
// Here Doc
|
|
478
488
|
{ include: "@heredoc" },
|
|
479
489
|
[/[{}\[\]()]/, "@brackets"],
|
|
490
|
+
// RegExp
|
|
480
491
|
[/[\/](?:(?:\[(?:\\]|[^\]])+\])|(?:\\\/|[^\]\/]))*[\/]\w*\s*(?=[).,;]|$)/, "regexp"],
|
|
481
492
|
[/@symbols/, "operators"],
|
|
482
493
|
{ include: "@numbers" },
|
|
@@ -492,12 +503,14 @@ var e = {
|
|
|
492
503
|
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
|
493
504
|
[/\d+/, "number"]
|
|
494
505
|
],
|
|
506
|
+
// Single quote string
|
|
495
507
|
strings: [[/'/, "string", "@stringBody"]],
|
|
496
508
|
stringBody: [
|
|
497
509
|
[/'/, "string", "@popall"],
|
|
498
510
|
[/\\'/, "string.escape"],
|
|
499
511
|
[/./, "string"]
|
|
500
512
|
],
|
|
513
|
+
// Double quote string
|
|
501
514
|
dblStrings: [[/"/, "string", "@dblStringBody"]],
|
|
502
515
|
dblStringBody: [
|
|
503
516
|
[/"/, "string", "@popall"],
|
|
@@ -506,6 +519,9 @@ var e = {
|
|
|
506
519
|
{ include: "@variables" },
|
|
507
520
|
[/./, "string"]
|
|
508
521
|
],
|
|
522
|
+
// Quoted constructs
|
|
523
|
+
// Percent strings in Ruby are similar to quote-like operators in Perl.
|
|
524
|
+
// This is adapted from pstrings in ../ruby/ruby.ts.
|
|
509
525
|
quotedConstructs: [
|
|
510
526
|
[/(q|qw|tr|y)\s*\(/, { token: "string.delim", switchTo: "@qstring.(.)" }],
|
|
511
527
|
[/(q|qw|tr|y)\s*\[/, { token: "string.delim", switchTo: "@qstring.[.]" }],
|
|
@@ -529,6 +545,10 @@ var e = {
|
|
|
529
545
|
[/(qq|qx)\s*([^A-Za-z0-9#\s])/, { token: "string.delim", switchTo: "@qqstring.$2.$2" }],
|
|
530
546
|
[/(qq|qx)\s+(\w)/, { token: "string.delim", switchTo: "@qqstring.$2.$2" }]
|
|
531
547
|
],
|
|
548
|
+
// Non-expanded quoted string
|
|
549
|
+
// qstring<open>.<close>
|
|
550
|
+
// open = open delimiter
|
|
551
|
+
// close = close delimiter
|
|
532
552
|
qstring: [
|
|
533
553
|
[/\\./, "string.escape"],
|
|
534
554
|
[
|
|
@@ -537,11 +557,16 @@ var e = {
|
|
|
537
557
|
cases: {
|
|
538
558
|
"$#==$S3": { token: "string.delim", next: "@pop" },
|
|
539
559
|
"$#==$S2": { token: "string.delim", next: "@push" },
|
|
560
|
+
// nested delimiters
|
|
540
561
|
"@default": "string"
|
|
541
562
|
}
|
|
542
563
|
}
|
|
543
564
|
]
|
|
544
565
|
],
|
|
566
|
+
// Quoted regexp
|
|
567
|
+
// qregexp.<open>.<close>
|
|
568
|
+
// open = open delimiter
|
|
569
|
+
// close = close delimiter
|
|
545
570
|
qregexp: [
|
|
546
571
|
{ include: "@variables" },
|
|
547
572
|
[/\\./, "regexp.escape"],
|
|
@@ -554,12 +579,17 @@ var e = {
|
|
|
554
579
|
next: "@regexpModifiers"
|
|
555
580
|
},
|
|
556
581
|
"$#==$S2": { token: "regexp.delim", next: "@push" },
|
|
582
|
+
// nested delimiters
|
|
557
583
|
"@default": "regexp"
|
|
558
584
|
}
|
|
559
585
|
}
|
|
560
586
|
]
|
|
561
587
|
],
|
|
562
588
|
regexpModifiers: [[/[msixpodualngcer]+/, { token: "regexp.modifier", next: "@popall" }]],
|
|
589
|
+
// Expanded quoted string
|
|
590
|
+
// qqstring.<open>.<close>
|
|
591
|
+
// open = open delimiter
|
|
592
|
+
// close = close delimiter
|
|
563
593
|
qqstring: [{ include: "@variables" }, { include: "@qstring" }],
|
|
564
594
|
heredoc: [
|
|
565
595
|
[/<<\s*['"`]?([\w\-]+)['"`]?/, { token: "string.heredoc.delimiter", next: "@heredocBody.$1" }]
|
|
@@ -588,8 +618,11 @@ var e = {
|
|
|
588
618
|
],
|
|
589
619
|
variables: [
|
|
590
620
|
[/\$\w+/, "variable"],
|
|
621
|
+
// scalar
|
|
591
622
|
[/@\w+/, "variable"],
|
|
623
|
+
// array
|
|
592
624
|
[/%\w+/, "variable"]
|
|
625
|
+
// key/value
|
|
593
626
|
]
|
|
594
627
|
}
|
|
595
628
|
};
|
|
@@ -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
|
*-----------------------------------------------------------------------------*/
|
|
@@ -37,6 +37,7 @@ var e = {
|
|
|
37
37
|
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
|
38
38
|
],
|
|
39
39
|
keywords: [
|
|
40
|
+
// This list is generated using `keywords.js`
|
|
40
41
|
"ALL",
|
|
41
42
|
"ANALYSE",
|
|
42
43
|
"ANALYZE",
|
|
@@ -773,8 +774,12 @@ var e = {
|
|
|
773
774
|
"xpath",
|
|
774
775
|
"xpath_exists"
|
|
775
776
|
],
|
|
776
|
-
builtinVariables: [
|
|
777
|
-
|
|
777
|
+
builtinVariables: [
|
|
778
|
+
// NOT SUPPORTED
|
|
779
|
+
],
|
|
780
|
+
pseudoColumns: [
|
|
781
|
+
// NOT SUPPORTED
|
|
782
|
+
],
|
|
778
783
|
tokenizer: {
|
|
779
784
|
root: [
|
|
780
785
|
{ include: "@comments" },
|
|
@@ -807,6 +812,9 @@ var e = {
|
|
|
807
812
|
],
|
|
808
813
|
comment: [
|
|
809
814
|
[/[^*/]+/, "comment"],
|
|
815
|
+
// Not supporting nested comments, as nested comments seem to not be standard?
|
|
816
|
+
// i.e. http://stackoverflow.com/questions/728172/are-there-multiline-comment-delimiters-in-sql-that-are-vendor-agnostic
|
|
817
|
+
// [/\/\*/, { token: 'comment.quote', next: '@push' }], // nested comment not allowed :-(
|
|
810
818
|
[/\*\//, { token: "comment.quote", next: "@pop" }],
|
|
811
819
|
[/./, "comment"]
|
|
812
820
|
],
|
|
@@ -838,7 +846,9 @@ var e = {
|
|
|
838
846
|
[/""/, "identifier"],
|
|
839
847
|
[/"/, { token: "identifier.quote", next: "@pop" }]
|
|
840
848
|
],
|
|
841
|
-
scopes: [
|
|
849
|
+
scopes: [
|
|
850
|
+
// NOT SUPPORTED
|
|
851
|
+
]
|
|
842
852
|
}
|
|
843
853
|
};
|
|
844
854
|
export {
|
|
@@ -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
|
*-----------------------------------------------------------------------------*/
|
|
@@ -31,6 +31,8 @@ var e = {
|
|
|
31
31
|
}, t = {
|
|
32
32
|
defaultToken: "",
|
|
33
33
|
tokenPostfix: "",
|
|
34
|
+
// ignoreCase: true,
|
|
35
|
+
// The main tokenizer for our languages
|
|
34
36
|
tokenizer: {
|
|
35
37
|
root: [
|
|
36
38
|
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.root" }],
|
|
@@ -43,6 +45,7 @@ var e = {
|
|
|
43
45
|
[/(<\/)(\w+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
|
44
46
|
[/</, "delimiter.html"],
|
|
45
47
|
[/[^<]+/]
|
|
48
|
+
// text
|
|
46
49
|
],
|
|
47
50
|
doctype: [
|
|
48
51
|
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.comment" }],
|
|
@@ -63,7 +66,10 @@ var e = {
|
|
|
63
66
|
[/[\w\-]+/, "attribute.name"],
|
|
64
67
|
[/=/, "delimiter"],
|
|
65
68
|
[/[ \t\r\n]+/]
|
|
69
|
+
// whitespace
|
|
66
70
|
],
|
|
71
|
+
// -- BEGIN <script> tags handling
|
|
72
|
+
// After <script
|
|
67
73
|
script: [
|
|
68
74
|
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.script" }],
|
|
69
75
|
[/type/, "attribute.name", "@scriptAfterType"],
|
|
@@ -80,11 +86,13 @@ var e = {
|
|
|
80
86
|
}
|
|
81
87
|
],
|
|
82
88
|
[/[ \t\r\n]+/],
|
|
89
|
+
// whitespace
|
|
83
90
|
[
|
|
84
91
|
/(<\/)(script\s*)(>)/,
|
|
85
92
|
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
|
86
93
|
]
|
|
87
94
|
],
|
|
95
|
+
// After <script ... type
|
|
88
96
|
scriptAfterType: [
|
|
89
97
|
[
|
|
90
98
|
/<\?((php)|=)?/,
|
|
@@ -102,9 +110,12 @@ var e = {
|
|
|
102
110
|
nextEmbedded: "text/javascript"
|
|
103
111
|
}
|
|
104
112
|
],
|
|
113
|
+
// cover invalid e.g. <script type>
|
|
105
114
|
[/[ \t\r\n]+/],
|
|
115
|
+
// whitespace
|
|
106
116
|
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
|
107
117
|
],
|
|
118
|
+
// After <script ... type =
|
|
108
119
|
scriptAfterTypeEquals: [
|
|
109
120
|
[
|
|
110
121
|
/<\?((php)|=)?/,
|
|
@@ -135,9 +146,12 @@ var e = {
|
|
|
135
146
|
nextEmbedded: "text/javascript"
|
|
136
147
|
}
|
|
137
148
|
],
|
|
149
|
+
// cover invalid e.g. <script type=>
|
|
138
150
|
[/[ \t\r\n]+/],
|
|
151
|
+
// whitespace
|
|
139
152
|
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
|
140
153
|
],
|
|
154
|
+
// After <script ... type = $S2
|
|
141
155
|
scriptWithCustomType: [
|
|
142
156
|
[
|
|
143
157
|
/<\?((php)|=)?/,
|
|
@@ -159,6 +173,7 @@ var e = {
|
|
|
159
173
|
[/[\w\-]+/, "attribute.name"],
|
|
160
174
|
[/=/, "delimiter"],
|
|
161
175
|
[/[ \t\r\n]+/],
|
|
176
|
+
// whitespace
|
|
162
177
|
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
|
163
178
|
],
|
|
164
179
|
scriptEmbedded: [
|
|
@@ -172,6 +187,9 @@ var e = {
|
|
|
172
187
|
],
|
|
173
188
|
[/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
|
174
189
|
],
|
|
190
|
+
// -- END <script> tags handling
|
|
191
|
+
// -- BEGIN <style> tags handling
|
|
192
|
+
// After <style
|
|
175
193
|
style: [
|
|
176
194
|
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.style" }],
|
|
177
195
|
[/type/, "attribute.name", "@styleAfterType"],
|
|
@@ -188,11 +206,13 @@ var e = {
|
|
|
188
206
|
}
|
|
189
207
|
],
|
|
190
208
|
[/[ \t\r\n]+/],
|
|
209
|
+
// whitespace
|
|
191
210
|
[
|
|
192
211
|
/(<\/)(style\s*)(>)/,
|
|
193
212
|
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
|
194
213
|
]
|
|
195
214
|
],
|
|
215
|
+
// After <style ... type
|
|
196
216
|
styleAfterType: [
|
|
197
217
|
[
|
|
198
218
|
/<\?((php)|=)?/,
|
|
@@ -210,9 +230,12 @@ var e = {
|
|
|
210
230
|
nextEmbedded: "text/css"
|
|
211
231
|
}
|
|
212
232
|
],
|
|
233
|
+
// cover invalid e.g. <style type>
|
|
213
234
|
[/[ \t\r\n]+/],
|
|
235
|
+
// whitespace
|
|
214
236
|
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
|
215
237
|
],
|
|
238
|
+
// After <style ... type =
|
|
216
239
|
styleAfterTypeEquals: [
|
|
217
240
|
[
|
|
218
241
|
/<\?((php)|=)?/,
|
|
@@ -243,9 +266,12 @@ var e = {
|
|
|
243
266
|
nextEmbedded: "text/css"
|
|
244
267
|
}
|
|
245
268
|
],
|
|
269
|
+
// cover invalid e.g. <style type=>
|
|
246
270
|
[/[ \t\r\n]+/],
|
|
271
|
+
// whitespace
|
|
247
272
|
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
|
248
273
|
],
|
|
274
|
+
// After <style ... type = $S2
|
|
249
275
|
styleWithCustomType: [
|
|
250
276
|
[
|
|
251
277
|
/<\?((php)|=)?/,
|
|
@@ -267,6 +293,7 @@ var e = {
|
|
|
267
293
|
[/[\w\-]+/, "attribute.name"],
|
|
268
294
|
[/=/, "delimiter"],
|
|
269
295
|
[/[ \t\r\n]+/],
|
|
296
|
+
// whitespace
|
|
270
297
|
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
|
271
298
|
],
|
|
272
299
|
styleEmbedded: [
|
|
@@ -280,6 +307,7 @@ var e = {
|
|
|
280
307
|
],
|
|
281
308
|
[/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
|
282
309
|
],
|
|
310
|
+
// -- END <style> tags handling
|
|
283
311
|
phpInSimpleState: [
|
|
284
312
|
[/<\?((php)|=)?/, "metatag.php"],
|
|
285
313
|
[/\?>/, { token: "metatag.php", switchTo: "@$S2.$S3" }],
|
|
@@ -319,16 +347,23 @@ var e = {
|
|
|
319
347
|
}
|
|
320
348
|
}
|
|
321
349
|
],
|
|
350
|
+
// brackets
|
|
322
351
|
[/[{}]/, "delimiter.bracket.php"],
|
|
323
352
|
[/[\[\]]/, "delimiter.array.php"],
|
|
324
353
|
[/[()]/, "delimiter.parenthesis.php"],
|
|
354
|
+
// whitespace
|
|
325
355
|
[/[ \t\r\n]+/],
|
|
356
|
+
// comments
|
|
326
357
|
[/(#|\/\/)$/, "comment.php"],
|
|
327
358
|
[/(#|\/\/)/, "comment.php", "@phpLineComment"],
|
|
359
|
+
// block comments
|
|
328
360
|
[/\/\*/, "comment.php", "@phpComment"],
|
|
361
|
+
// strings
|
|
329
362
|
[/"/, "string.php", "@phpDoubleQuoteString"],
|
|
330
363
|
[/'/, "string.php", "@phpSingleQuoteString"],
|
|
364
|
+
// delimiters
|
|
331
365
|
[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/, "delimiter.php"],
|
|
366
|
+
// numbers
|
|
332
367
|
[/\d*\d+[eE]([\-+]?\d+)?/, "number.float.php"],
|
|
333
368
|
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.php"],
|
|
334
369
|
[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.php"],
|