@vc-shell/framework 1.1.4 → 1.1.6
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/CHANGELOG.md +20 -0
- package/core/directives/loading/styles.css +1 -1
- package/core/plugins/modularity/README.md +347 -17
- package/core/plugins/modularity/loader.ts +248 -3
- package/dist/core/plugins/modularity/loader.d.ts +4 -0
- package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts +2 -2
- package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts +2 -2
- package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts +2 -2
- package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts.map +1 -1
- package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts +3 -3
- package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -1
- package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts +4 -4
- package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts.map +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +6 -6
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-icon/composables/index.d.ts +3 -0
- package/dist/ui/components/atoms/vc-icon/composables/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/composables/use-icon-type.d.ts +22 -0
- package/dist/ui/components/atoms/vc-icon/composables/use-icon-type.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/composables/use-icon.d.ts +30 -0
- package/dist/ui/components/atoms/vc-icon/composables/use-icon.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/index.d.ts +1 -0
- package/dist/ui/components/atoms/vc-icon/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/types.d.ts +31 -0
- package/dist/ui/components/atoms/vc-icon/types.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts +18 -4
- package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts +15 -2
- package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon-examples.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon-test.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +11 -6
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts +21 -4
- package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +31 -5
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts +33 -0
- package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +4 -4
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +6 -34
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +4 -0
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +171 -0
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts +5 -5
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/props.d.ts +14 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/props.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +3 -14
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +5 -5
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableActions.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableActions.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnReorder.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableSelection.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableSelection.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/types.d.ts +36 -0
- package/dist/ui/components/organisms/vc-table/types.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +2 -34
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/components/common/popup/vc-popup-error.vue +3 -3
- package/shared/components/common/popup/vc-popup-info.vue +3 -3
- package/shared/components/common/popup/vc-popup-warning.vue +3 -3
- package/shared/components/dashboard-widget-card/dashboard-widget-card.vue +4 -4
- package/shared/components/generic-dropdown/generic-dropdown.vue +1 -1
- package/shared/components/settings-menu-item/settings-menu-item.vue +1 -6
- package/shared/components/user-dropdown-button/_internal/user-info.vue +3 -3
- package/ui/components/atoms/vc-badge/vc-badge.vue +2 -2
- package/ui/components/atoms/vc-icon/README.md +198 -220
- package/ui/components/atoms/vc-icon/composables/index.ts +2 -0
- package/ui/components/atoms/vc-icon/composables/use-icon-type.ts +83 -0
- package/ui/components/atoms/vc-icon/composables/use-icon.ts +129 -0
- package/ui/components/atoms/vc-icon/index.ts +1 -0
- package/ui/components/atoms/vc-icon/types.ts +36 -0
- package/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue +111 -10
- package/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue +119 -17
- package/ui/components/atoms/vc-icon/vc-icon-examples.vue +485 -124
- package/ui/components/atoms/vc-icon/vc-icon-test.vue +399 -209
- package/ui/components/atoms/vc-icon/vc-icon.stories.ts +501 -55
- package/ui/components/atoms/vc-icon/vc-icon.vue +240 -155
- package/ui/components/atoms/vc-icon/vc-lucide-icon.vue +163 -33
- package/ui/components/atoms/vc-icon/vc-material-icon.vue +136 -30
- package/ui/components/atoms/vc-icon/vc-svg-icon.vue +168 -0
- package/ui/components/atoms/vc-label/vc-label.vue +3 -3
- package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +3 -3
- package/ui/components/atoms/vc-widget/vc-widget.stories.ts +13 -0
- package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +4 -4
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +2 -2
- package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +1 -1
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +36 -115
- package/ui/components/molecules/vc-input-dropdown/index.ts +4 -0
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.stories.ts +763 -0
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +268 -0
- package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +3 -3
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +23 -14
- package/ui/components/molecules/vc-rating/vc-rating.vue +2 -2
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +2 -2
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue +2 -2
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue +3 -3
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue +6 -6
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +6 -7
- package/ui/components/organisms/vc-app/vc-app.vue +2 -3
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/props.ts +14 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue +1 -12
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue +1 -1
- package/ui/components/organisms/vc-blade/vc-blade.vue +5 -5
- package/ui/components/organisms/vc-login-form/vc-login-form.vue +2 -2
- package/ui/components/organisms/vc-popup/vc-popup.vue +4 -4
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue +1 -1
- package/ui/components/organisms/vc-table/composables/useTableActions.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableColumnReorder.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableColumnResize.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableRowReorder.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableSelection.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableState.ts +1 -1
- package/ui/components/organisms/vc-table/types.ts +32 -0
- package/ui/components/organisms/vc-table/vc-table.vue +2 -30
- package/dist/apl-B2DGVGxc.js +0 -76
- package/dist/asciiarmor-2LVJmxlE.js +0 -34
- package/dist/asn1-jKiBa2Ya.js +0 -95
- package/dist/asterisk-DS281yxp.js +0 -271
- package/dist/brainfuck-C_p9pTT8.js +0 -34
- package/dist/clike-BUuHEmgZ.js +0 -620
- package/dist/clojure-CCKyeQKf.js +0 -800
- package/dist/cmake-CuaCgAKt.js +0 -28
- package/dist/cobol-BlTKFDRj.js +0 -72
- package/dist/coffeescript-BVCvwO8I.js +0 -179
- package/dist/commonlisp-D_kxz07b.js +0 -75
- package/dist/crystal-D309uH6_.js +0 -217
- package/dist/css-bIlmDBTK.js +0 -1560
- package/dist/cypher-BMq4Fwjl.js +0 -68
- package/dist/d-BZcgY6La.js +0 -127
- package/dist/diff-Cg9d_RX2.js +0 -18
- package/dist/dockerfile-DIy8NleC.js +0 -194
- package/dist/dtd-CtLokQ-U.js +0 -84
- package/dist/dylan-QYeExnWK.js +0 -234
- package/dist/ebnf-DUPDuY4r.js +0 -78
- package/dist/ecl-CiXN-g_D.js +0 -121
- package/dist/eiffel-yQhjl4T1.js +0 -110
- package/dist/elm-CNT9vbN0.js +0 -108
- package/dist/erlang-CFOYdy9e.js +0 -487
- package/dist/factor-DDOC7X6P.js +0 -65
- package/dist/fcl-CPC2WYrI.js +0 -103
- package/dist/forth-BmxRyE9S.js +0 -60
- package/dist/fortran-9bvPyrOW.js +0 -442
- package/dist/framework.js +0 -288
- package/dist/gas-BdfkXJT_.js +0 -183
- package/dist/gherkin-CJuwpceU.js +0 -34
- package/dist/groovy-DZeT_VM-.js +0 -146
- package/dist/haskell-Bvt3Qq1t.js +0 -375
- package/dist/haxe-70NVW1pR.js +0 -359
- package/dist/http-D9LttvKF.js +0 -44
- package/dist/idl-B6TRFYjl.js +0 -947
- package/dist/index-BBYKbiRX.js +0 -93
- package/dist/index-BDm0tcWn.js +0 -145680
- package/dist/index-BDqUaIyQ.js +0 -156
- package/dist/index-BdflTsg6.js +0 -308
- package/dist/index-BpBTtmQ6.js +0 -288
- package/dist/index-Br0y2YMn.js +0 -58
- package/dist/index-CIcET-ZI.js +0 -71
- package/dist/index-CYAMpxnu.js +0 -341
- package/dist/index-Cf2H7YZ1.js +0 -98
- package/dist/index-Ck055pN8.js +0 -134
- package/dist/index-D-fPN3yf.js +0 -75
- package/dist/index-DJOis7Nc.js +0 -299
- package/dist/index-DKtQMsy4.js +0 -538
- package/dist/index-DWTsz5bC.js +0 -611
- package/dist/index-DuY7BIGm.js +0 -265
- package/dist/index-o6aSdNED.js +0 -137
- package/dist/index-wfv8ehcx.js +0 -249
- package/dist/index.css +0 -9
- package/dist/javascript-WMWNx-Vj.js +0 -690
- package/dist/jinja2-DnB6dQmV.js +0 -154
- package/dist/julia-DpvXAuO6.js +0 -241
- package/dist/livescript-CanGTf8u.js +0 -272
- package/dist/lua-XplVlWi_.js +0 -217
- package/dist/mathematica-jaRHnSxC.js +0 -35
- package/dist/mbox-BctzC1hL.js +0 -76
- package/dist/mirc-CFBPAOaF.js +0 -72
- package/dist/mllike-BSnXJBGA.js +0 -272
- package/dist/modelica-vUgVs--1.js +0 -93
- package/dist/mscgen-Cpl0NYLN.js +0 -104
- package/dist/mumps-CQoS1kWX.js +0 -25
- package/dist/nginx-zDPm3Z74.js +0 -89
- package/dist/nsis-fePjrhq7.js +0 -62
- package/dist/ntriples-CsNjv2QF.js +0 -79
- package/dist/octave-C8PmmSRH.js +0 -143
- package/dist/oz-Ce8aN8oE.js +0 -151
- package/dist/pascal-De0D6mP7.js +0 -77
- package/dist/perl-B4bSCe1C.js +0 -915
- package/dist/pig-D24Z8EXi.js +0 -54
- package/dist/powershell-DkYVfTzP.js +0 -249
- package/dist/properties-Dn9wna3M.js +0 -26
- package/dist/protobuf-BPIjwpzm.js +0 -49
- package/dist/pug-BqUR2bBq.js +0 -248
- package/dist/puppet-nyd4dhjf.js +0 -45
- package/dist/python-B5QdSKoL.js +0 -313
- package/dist/q-DXjKs-tC.js +0 -83
- package/dist/r-LKEuhEGI.js +0 -104
- package/dist/rpm-IznJm2Xc.js +0 -57
- package/dist/ruby-CcYfvIk6.js +0 -228
- package/dist/sas-7E8yHoCW.js +0 -105
- package/dist/scheme-DjibxsNh.js +0 -124
- package/dist/shell-C0C2sNA_.js +0 -182
- package/dist/sieve-Bwz7vjP5.js +0 -72
- package/dist/simple-mode-B0dvCdAA.js +0 -89
- package/dist/smalltalk-Bhddl2pB.js +0 -48
- package/dist/solr-BNlsLglM.js +0 -41
- package/dist/sparql-FarWu_Gb.js +0 -197
- package/dist/spreadsheet-C-cy4P5N.js +0 -49
- package/dist/sql-mMre1Bo3.js +0 -282
- package/dist/stex-92raWT1r.js +0 -129
- package/dist/stylus-CAdqWld3.js +0 -250
- package/dist/swift-DSxqR9R6.js +0 -230
- package/dist/tcl-xfoLljhY.js +0 -81
- package/dist/textile-D1AWE-pc.js +0 -295
- package/dist/tiddlywiki-5wqsXtSk.js +0 -155
- package/dist/tiki-__Kn3CeS.js +0 -181
- package/dist/toml-BHiuTcfn.js +0 -49
- package/dist/troff-D2UO-fKf.js +0 -35
- package/dist/ttcn-Bsa4sfRm.js +0 -123
- package/dist/ttcn-cfg-Bac_acMi.js +0 -88
- package/dist/turtle-xwJUxoPV.js +0 -80
- package/dist/vb-c2kQGd6-.js +0 -74
- package/dist/vbscript-Dz1TtKsy.js +0 -324
- package/dist/velocity-DJd0pTTC.js +0 -96
- package/dist/verilog-C4VGD9n1.js +0 -263
- package/dist/vhdl-T9HkrbI2.js +0 -106
- package/dist/webidl-CjfDENEo.js +0 -155
- package/dist/xquery-BUQdORAS.js +0 -422
- package/dist/yacas-C0absKBh.js +0 -73
- package/dist/z80-C8rPtw-0.js +0 -61
package/dist/cmake-CuaCgAKt.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
var c = /({)?[a-zA-Z0-9_]+(})?/;
|
|
2
|
-
function t(n, i) {
|
|
3
|
-
for (var e, r, u = !1; !n.eol() && (e = n.next()) != i.pending; ) {
|
|
4
|
-
if (e === "$" && r != "\\" && i.pending == '"') {
|
|
5
|
-
u = !0;
|
|
6
|
-
break;
|
|
7
|
-
}
|
|
8
|
-
r = e;
|
|
9
|
-
}
|
|
10
|
-
return u && n.backUp(1), e == i.pending ? i.continueString = !1 : i.continueString = !0, "string";
|
|
11
|
-
}
|
|
12
|
-
function f(n, i) {
|
|
13
|
-
var e = n.next();
|
|
14
|
-
return e === "$" ? n.match(c) ? "variableName.special" : "variable" : i.continueString ? (n.backUp(1), t(n, i)) : n.match(/(\s+)?\w+\(/) || n.match(/(\s+)?\w+\ \(/) ? (n.backUp(1), "def") : e == "#" ? (n.skipToEnd(), "comment") : e == "'" || e == '"' ? (i.pending = e, t(n, i)) : e == "(" || e == ")" ? "bracket" : e.match(/[0-9]/) ? "number" : (n.eatWhile(/[\w-]/), null);
|
|
15
|
-
}
|
|
16
|
-
const a = {
|
|
17
|
-
name: "cmake",
|
|
18
|
-
startState: function() {
|
|
19
|
-
var n = {};
|
|
20
|
-
return n.inDefinition = !1, n.inInclude = !1, n.continueString = !1, n.pending = !1, n;
|
|
21
|
-
},
|
|
22
|
-
token: function(n, i) {
|
|
23
|
-
return n.eatSpace() ? null : f(n, i);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
export {
|
|
27
|
-
a as cmake
|
|
28
|
-
};
|
package/dist/cobol-BlTKFDRj.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
var M = "builtin", e = "comment", C = "string", D = "atom", G = "number", n = "keyword", i = "header", B = "def", t = "link";
|
|
2
|
-
function L(E) {
|
|
3
|
-
for (var T = {}, I = E.split(" "), R = 0; R < I.length; ++R) T[I[R]] = !0;
|
|
4
|
-
return T;
|
|
5
|
-
}
|
|
6
|
-
var S = L("TRUE FALSE ZEROES ZEROS ZERO SPACES SPACE LOW-VALUE LOW-VALUES "), U = L(
|
|
7
|
-
"ACCEPT ACCESS ACQUIRE ADD ADDRESS ADVANCING AFTER ALIAS ALL ALPHABET ALPHABETIC ALPHABETIC-LOWER ALPHABETIC-UPPER ALPHANUMERIC ALPHANUMERIC-EDITED ALSO ALTER ALTERNATE AND ANY ARE AREA AREAS ARITHMETIC ASCENDING ASSIGN AT ATTRIBUTE AUTHOR AUTO AUTO-SKIP AUTOMATIC B-AND B-EXOR B-LESS B-NOT B-OR BACKGROUND-COLOR BACKGROUND-COLOUR BEEP BEFORE BELL BINARY BIT BITS BLANK BLINK BLOCK BOOLEAN BOTTOM BY CALL CANCEL CD CF CH CHARACTER CHARACTERS CLASS CLOCK-UNITS CLOSE COBOL CODE CODE-SET COL COLLATING COLUMN COMMA COMMIT COMMITMENT COMMON COMMUNICATION COMP COMP-0 COMP-1 COMP-2 COMP-3 COMP-4 COMP-5 COMP-6 COMP-7 COMP-8 COMP-9 COMPUTATIONAL COMPUTATIONAL-0 COMPUTATIONAL-1 COMPUTATIONAL-2 COMPUTATIONAL-3 COMPUTATIONAL-4 COMPUTATIONAL-5 COMPUTATIONAL-6 COMPUTATIONAL-7 COMPUTATIONAL-8 COMPUTATIONAL-9 COMPUTE CONFIGURATION CONNECT CONSOLE CONTAINED CONTAINS CONTENT CONTINUE CONTROL CONTROL-AREA CONTROLS CONVERTING COPY CORR CORRESPONDING COUNT CRT CRT-UNDER CURRENCY CURRENT CURSOR DATA DATE DATE-COMPILED DATE-WRITTEN DAY DAY-OF-WEEK DB DB-ACCESS-CONTROL-KEY DB-DATA-NAME DB-EXCEPTION DB-FORMAT-NAME DB-RECORD-NAME DB-SET-NAME DB-STATUS DBCS DBCS-EDITED DE DEBUG-CONTENTS DEBUG-ITEM DEBUG-LINE DEBUG-NAME DEBUG-SUB-1 DEBUG-SUB-2 DEBUG-SUB-3 DEBUGGING DECIMAL-POINT DECLARATIVES DEFAULT DELETE DELIMITED DELIMITER DEPENDING DESCENDING DESCRIBED DESTINATION DETAIL DISABLE DISCONNECT DISPLAY DISPLAY-1 DISPLAY-2 DISPLAY-3 DISPLAY-4 DISPLAY-5 DISPLAY-6 DISPLAY-7 DISPLAY-8 DISPLAY-9 DIVIDE DIVISION DOWN DROP DUPLICATE DUPLICATES DYNAMIC EBCDIC EGI EJECT ELSE EMI EMPTY EMPTY-CHECK ENABLE END END. END-ACCEPT END-ACCEPT. END-ADD END-CALL END-COMPUTE END-DELETE END-DISPLAY END-DIVIDE END-EVALUATE END-IF END-INVOKE END-MULTIPLY END-OF-PAGE END-PERFORM END-READ END-RECEIVE END-RETURN END-REWRITE END-SEARCH END-START END-STRING END-SUBTRACT END-UNSTRING END-WRITE END-XML ENTER ENTRY ENVIRONMENT EOP EQUAL EQUALS ERASE ERROR ESI EVALUATE EVERY EXCEEDS EXCEPTION EXCLUSIVE EXIT EXTEND EXTERNAL EXTERNALLY-DESCRIBED-KEY FD FETCH FILE FILE-CONTROL FILE-STREAM FILES FILLER FINAL FIND FINISH FIRST FOOTING FOR FOREGROUND-COLOR FOREGROUND-COLOUR FORMAT FREE FROM FULL FUNCTION GENERATE GET GIVING GLOBAL GO GOBACK GREATER GROUP HEADING HIGH-VALUE HIGH-VALUES HIGHLIGHT I-O I-O-CONTROL ID IDENTIFICATION IF IN INDEX INDEX-1 INDEX-2 INDEX-3 INDEX-4 INDEX-5 INDEX-6 INDEX-7 INDEX-8 INDEX-9 INDEXED INDIC INDICATE INDICATOR INDICATORS INITIAL INITIALIZE INITIATE INPUT INPUT-OUTPUT INSPECT INSTALLATION INTO INVALID INVOKE IS JUST JUSTIFIED KANJI KEEP KEY LABEL LAST LD LEADING LEFT LEFT-JUSTIFY LENGTH LENGTH-CHECK LESS LIBRARY LIKE LIMIT LIMITS LINAGE LINAGE-COUNTER LINE LINE-COUNTER LINES LINKAGE LOCAL-STORAGE LOCALE LOCALLY LOCK MEMBER MEMORY MERGE MESSAGE METACLASS MODE MODIFIED MODIFY MODULES MOVE MULTIPLE MULTIPLY NATIONAL NATIVE NEGATIVE NEXT NO NO-ECHO NONE NOT NULL NULL-KEY-MAP NULL-MAP NULLS NUMBER NUMERIC NUMERIC-EDITED OBJECT OBJECT-COMPUTER OCCURS OF OFF OMITTED ON ONLY OPEN OPTIONAL OR ORDER ORGANIZATION OTHER OUTPUT OVERFLOW OWNER PACKED-DECIMAL PADDING PAGE PAGE-COUNTER PARSE PERFORM PF PH PIC PICTURE PLUS POINTER POSITION POSITIVE PREFIX PRESENT PRINTING PRIOR PROCEDURE PROCEDURE-POINTER PROCEDURES PROCEED PROCESS PROCESSING PROGRAM PROGRAM-ID PROMPT PROTECTED PURGE QUEUE QUOTE QUOTES RANDOM RD READ READY REALM RECEIVE RECONNECT RECORD RECORD-NAME RECORDS RECURSIVE REDEFINES REEL REFERENCE REFERENCE-MONITOR REFERENCES RELATION RELATIVE RELEASE REMAINDER REMOVAL RENAMES REPEATED REPLACE REPLACING REPORT REPORTING REPORTS REPOSITORY REQUIRED RERUN RESERVE RESET RETAINING RETRIEVAL RETURN RETURN-CODE RETURNING REVERSE-VIDEO REVERSED REWIND REWRITE RF RH RIGHT RIGHT-JUSTIFY ROLLBACK ROLLING ROUNDED RUN SAME SCREEN SD SEARCH SECTION SECURE SECURITY SEGMENT SEGMENT-LIMIT SELECT SEND SENTENCE SEPARATE SEQUENCE SEQUENTIAL SET SHARED SIGN SIZE SKIP1 SKIP2 SKIP3 SORT SORT-MERGE SORT-RETURN SOURCE SOURCE-COMPUTER SPACE-FILL SPECIAL-NAMES STANDARD STANDARD-1 STANDARD-2 START STARTING STATUS STOP STORE STRING SUB-QUEUE-1 SUB-QUEUE-2 SUB-QUEUE-3 SUB-SCHEMA SUBFILE SUBSTITUTE SUBTRACT SUM SUPPRESS SYMBOLIC SYNC SYNCHRONIZED SYSIN SYSOUT TABLE TALLYING TAPE TENANT TERMINAL TERMINATE TEST TEXT THAN THEN THROUGH THRU TIME TIMES TITLE TO TOP TRAILING TRAILING-SIGN TRANSACTION TYPE TYPEDEF UNDERLINE UNEQUAL UNIT UNSTRING UNTIL UP UPDATE UPON USAGE USAGE-MODE USE USING VALID VALIDATE VALUE VALUES VARYING VLR WAIT WHEN WHEN-COMPILED WITH WITHIN WORDS WORKING-STORAGE WRITE XML XML-CODE XML-EVENT XML-NTEXT XML-TEXT ZERO ZERO-FILL "
|
|
8
|
-
), P = L("- * ** / + < <= = > >= "), N = {
|
|
9
|
-
digit: /\d/,
|
|
10
|
-
digit_or_colon: /[\d:]/,
|
|
11
|
-
hex: /[0-9a-f]/i,
|
|
12
|
-
sign: /[+-]/,
|
|
13
|
-
exponent: /e/i,
|
|
14
|
-
symbol: /[\w*+\-]/
|
|
15
|
-
};
|
|
16
|
-
function F(E, T) {
|
|
17
|
-
return E === "0" && T.eat(/x/i) ? (T.eatWhile(N.hex), !0) : ((E == "+" || E == "-") && N.digit.test(T.peek()) && (T.eat(N.sign), E = T.next()), N.digit.test(E) ? (T.eat(E), T.eatWhile(N.digit), T.peek() == "." && (T.eat("."), T.eatWhile(N.digit)), T.eat(N.exponent) && (T.eat(N.sign), T.eatWhile(N.digit)), !0) : !1);
|
|
18
|
-
}
|
|
19
|
-
const Y = {
|
|
20
|
-
name: "cobol",
|
|
21
|
-
startState: function() {
|
|
22
|
-
return {
|
|
23
|
-
indentStack: null,
|
|
24
|
-
indentation: 0,
|
|
25
|
-
mode: !1
|
|
26
|
-
};
|
|
27
|
-
},
|
|
28
|
-
token: function(E, T) {
|
|
29
|
-
if (T.indentStack == null && E.sol() && (T.indentation = 6), E.eatSpace())
|
|
30
|
-
return null;
|
|
31
|
-
var I = null;
|
|
32
|
-
switch (T.mode) {
|
|
33
|
-
case "string":
|
|
34
|
-
for (var R = !1; (R = E.next()) != null; )
|
|
35
|
-
if ((R == '"' || R == "'") && !E.match(/['"]/, !1)) {
|
|
36
|
-
T.mode = !1;
|
|
37
|
-
break;
|
|
38
|
-
}
|
|
39
|
-
I = C;
|
|
40
|
-
break;
|
|
41
|
-
default:
|
|
42
|
-
var O = E.next(), A = E.column();
|
|
43
|
-
if (A >= 0 && A <= 5)
|
|
44
|
-
I = B;
|
|
45
|
-
else if (A >= 72 && A <= 79)
|
|
46
|
-
E.skipToEnd(), I = i;
|
|
47
|
-
else if (O == "*" && A == 6)
|
|
48
|
-
E.skipToEnd(), I = e;
|
|
49
|
-
else if (O == '"' || O == "'")
|
|
50
|
-
T.mode = "string", I = C;
|
|
51
|
-
else if (O == "'" && !N.digit_or_colon.test(E.peek()))
|
|
52
|
-
I = D;
|
|
53
|
-
else if (O == ".")
|
|
54
|
-
I = t;
|
|
55
|
-
else if (F(O, E))
|
|
56
|
-
I = G;
|
|
57
|
-
else {
|
|
58
|
-
if (E.current().match(N.symbol))
|
|
59
|
-
for (; A < 71 && E.eat(N.symbol) !== void 0; )
|
|
60
|
-
A++;
|
|
61
|
-
U && U.propertyIsEnumerable(E.current().toUpperCase()) ? I = n : P && P.propertyIsEnumerable(E.current().toUpperCase()) ? I = M : S && S.propertyIsEnumerable(E.current().toUpperCase()) ? I = D : I = null;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
return I;
|
|
65
|
-
},
|
|
66
|
-
indent: function(E) {
|
|
67
|
-
return E.indentStack == null ? E.indentation : E.indentStack.indent;
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
export {
|
|
71
|
-
Y as cobol
|
|
72
|
-
};
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
var k = "error";
|
|
2
|
-
function p(e) {
|
|
3
|
-
return new RegExp("^((" + e.join(")|(") + "))\\b");
|
|
4
|
-
}
|
|
5
|
-
var g = /^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/, y = /^(?:[()\[\]{},:`=;]|\.\.?\.?)/, h = /^[_A-Za-z$][_A-Za-z$0-9]*/, w = /^@[_A-Za-z$][_A-Za-z$0-9]*/, z = p([
|
|
6
|
-
"and",
|
|
7
|
-
"or",
|
|
8
|
-
"not",
|
|
9
|
-
"is",
|
|
10
|
-
"isnt",
|
|
11
|
-
"in",
|
|
12
|
-
"instanceof",
|
|
13
|
-
"typeof"
|
|
14
|
-
]), l = [
|
|
15
|
-
"for",
|
|
16
|
-
"while",
|
|
17
|
-
"loop",
|
|
18
|
-
"if",
|
|
19
|
-
"unless",
|
|
20
|
-
"else",
|
|
21
|
-
"switch",
|
|
22
|
-
"try",
|
|
23
|
-
"catch",
|
|
24
|
-
"finally",
|
|
25
|
-
"class"
|
|
26
|
-
], a = [
|
|
27
|
-
"break",
|
|
28
|
-
"by",
|
|
29
|
-
"continue",
|
|
30
|
-
"debugger",
|
|
31
|
-
"delete",
|
|
32
|
-
"do",
|
|
33
|
-
"in",
|
|
34
|
-
"of",
|
|
35
|
-
"new",
|
|
36
|
-
"return",
|
|
37
|
-
"then",
|
|
38
|
-
"this",
|
|
39
|
-
"@",
|
|
40
|
-
"throw",
|
|
41
|
-
"when",
|
|
42
|
-
"until",
|
|
43
|
-
"extends"
|
|
44
|
-
], x = p(l.concat(a));
|
|
45
|
-
l = p(l);
|
|
46
|
-
var b = /^('{3}|\"{3}|['\"])/, A = /^(\/{3}|\/)/, S = ["Infinity", "NaN", "undefined", "null", "true", "false", "on", "off", "yes", "no"], O = p(S);
|
|
47
|
-
function u(e, n) {
|
|
48
|
-
if (e.sol()) {
|
|
49
|
-
n.scope.align === null && (n.scope.align = !1);
|
|
50
|
-
var i = n.scope.offset;
|
|
51
|
-
if (e.eatSpace()) {
|
|
52
|
-
var f = e.indentation();
|
|
53
|
-
return f > i && n.scope.type == "coffee" ? "indent" : f < i ? "dedent" : null;
|
|
54
|
-
} else
|
|
55
|
-
i > 0 && v(e, n);
|
|
56
|
-
}
|
|
57
|
-
if (e.eatSpace())
|
|
58
|
-
return null;
|
|
59
|
-
var r = e.peek();
|
|
60
|
-
if (e.match("####"))
|
|
61
|
-
return e.skipToEnd(), "comment";
|
|
62
|
-
if (e.match("###"))
|
|
63
|
-
return n.tokenize = R, n.tokenize(e, n);
|
|
64
|
-
if (r === "#")
|
|
65
|
-
return e.skipToEnd(), "comment";
|
|
66
|
-
if (e.match(/^-?[0-9\.]/, !1)) {
|
|
67
|
-
var c = !1;
|
|
68
|
-
if (e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i) && (c = !0), e.match(/^-?\d+\.\d*/) && (c = !0), e.match(/^-?\.\d+/) && (c = !0), c)
|
|
69
|
-
return e.peek() == "." && e.backUp(1), "number";
|
|
70
|
-
var o = !1;
|
|
71
|
-
if (e.match(/^-?0x[0-9a-f]+/i) && (o = !0), e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/) && (o = !0), e.match(/^-?0(?![\dx])/i) && (o = !0), o)
|
|
72
|
-
return "number";
|
|
73
|
-
}
|
|
74
|
-
if (e.match(b))
|
|
75
|
-
return n.tokenize = t(e.current(), !1, "string"), n.tokenize(e, n);
|
|
76
|
-
if (e.match(A)) {
|
|
77
|
-
if (e.current() != "/" || e.match(/^.*\//, !1))
|
|
78
|
-
return n.tokenize = t(e.current(), !0, "string.special"), n.tokenize(e, n);
|
|
79
|
-
e.backUp(1);
|
|
80
|
-
}
|
|
81
|
-
return e.match(g) || e.match(z) ? "operator" : e.match(y) ? "punctuation" : e.match(O) ? "atom" : e.match(w) || n.prop && e.match(h) ? "property" : e.match(x) ? "keyword" : e.match(h) ? "variable" : (e.next(), k);
|
|
82
|
-
}
|
|
83
|
-
function t(e, n, i) {
|
|
84
|
-
return function(f, r) {
|
|
85
|
-
for (; !f.eol(); )
|
|
86
|
-
if (f.eatWhile(/[^'"\/\\]/), f.eat("\\")) {
|
|
87
|
-
if (f.next(), n && f.eol())
|
|
88
|
-
return i;
|
|
89
|
-
} else {
|
|
90
|
-
if (f.match(e))
|
|
91
|
-
return r.tokenize = u, i;
|
|
92
|
-
f.eat(/['"\/]/);
|
|
93
|
-
}
|
|
94
|
-
return n && (r.tokenize = u), i;
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
function R(e, n) {
|
|
98
|
-
for (; !e.eol(); ) {
|
|
99
|
-
if (e.eatWhile(/[^#]/), e.match("###")) {
|
|
100
|
-
n.tokenize = u;
|
|
101
|
-
break;
|
|
102
|
-
}
|
|
103
|
-
e.eatWhile("#");
|
|
104
|
-
}
|
|
105
|
-
return "comment";
|
|
106
|
-
}
|
|
107
|
-
function d(e, n, i = "coffee") {
|
|
108
|
-
for (var f = 0, r = !1, c = null, o = n.scope; o; o = o.prev)
|
|
109
|
-
if (o.type === "coffee" || o.type == "}") {
|
|
110
|
-
f = o.offset + e.indentUnit;
|
|
111
|
-
break;
|
|
112
|
-
}
|
|
113
|
-
i !== "coffee" ? (r = null, c = e.column() + e.current().length) : n.scope.align && (n.scope.align = !1), n.scope = {
|
|
114
|
-
offset: f,
|
|
115
|
-
type: i,
|
|
116
|
-
prev: n.scope,
|
|
117
|
-
align: r,
|
|
118
|
-
alignOffset: c
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
function v(e, n) {
|
|
122
|
-
if (n.scope.prev)
|
|
123
|
-
if (n.scope.type === "coffee") {
|
|
124
|
-
for (var i = e.indentation(), f = !1, r = n.scope; r; r = r.prev)
|
|
125
|
-
if (i === r.offset) {
|
|
126
|
-
f = !0;
|
|
127
|
-
break;
|
|
128
|
-
}
|
|
129
|
-
if (!f)
|
|
130
|
-
return !0;
|
|
131
|
-
for (; n.scope.prev && n.scope.offset !== i; )
|
|
132
|
-
n.scope = n.scope.prev;
|
|
133
|
-
return !1;
|
|
134
|
-
} else
|
|
135
|
-
return n.scope = n.scope.prev, !1;
|
|
136
|
-
}
|
|
137
|
-
function E(e, n) {
|
|
138
|
-
var i = n.tokenize(e, n), f = e.current();
|
|
139
|
-
f === "return" && (n.dedent = !0), ((f === "->" || f === "=>") && e.eol() || i === "indent") && d(e, n);
|
|
140
|
-
var r = "[({".indexOf(f);
|
|
141
|
-
if (r !== -1 && d(e, n, "])}".slice(r, r + 1)), l.exec(f) && d(e, n), f == "then" && v(e, n), i === "dedent" && v(e, n))
|
|
142
|
-
return k;
|
|
143
|
-
if (r = "])}".indexOf(f), r !== -1) {
|
|
144
|
-
for (; n.scope.type == "coffee" && n.scope.prev; )
|
|
145
|
-
n.scope = n.scope.prev;
|
|
146
|
-
n.scope.type == f && (n.scope = n.scope.prev);
|
|
147
|
-
}
|
|
148
|
-
return n.dedent && e.eol() && (n.scope.type == "coffee" && n.scope.prev && (n.scope = n.scope.prev), n.dedent = !1), i == "indent" || i == "dedent" ? null : i;
|
|
149
|
-
}
|
|
150
|
-
const Z = {
|
|
151
|
-
name: "coffeescript",
|
|
152
|
-
startState: function() {
|
|
153
|
-
return {
|
|
154
|
-
tokenize: u,
|
|
155
|
-
scope: { offset: 0, type: "coffee", prev: null, align: !1 },
|
|
156
|
-
prop: !1,
|
|
157
|
-
dedent: 0
|
|
158
|
-
};
|
|
159
|
-
},
|
|
160
|
-
token: function(e, n) {
|
|
161
|
-
var i = n.scope.align === null && n.scope;
|
|
162
|
-
i && e.sol() && (i.align = !1);
|
|
163
|
-
var f = E(e, n);
|
|
164
|
-
return f && f != "comment" && (i && (i.align = !0), n.prop = f == "punctuation" && e.current() == "."), f;
|
|
165
|
-
},
|
|
166
|
-
indent: function(e, n) {
|
|
167
|
-
if (e.tokenize != u) return 0;
|
|
168
|
-
var i = e.scope, f = n && "])}".indexOf(n.charAt(0)) > -1;
|
|
169
|
-
if (f) for (; i.type == "coffee" && i.prev; ) i = i.prev;
|
|
170
|
-
var r = f && i.type === n.charAt(0);
|
|
171
|
-
return i.align ? i.alignOffset - (r ? 1 : 0) : (r ? i.prev : i).offset;
|
|
172
|
-
},
|
|
173
|
-
languageData: {
|
|
174
|
-
commentTokens: { line: "#" }
|
|
175
|
-
}
|
|
176
|
-
};
|
|
177
|
-
export {
|
|
178
|
-
Z as coffeeScript
|
|
179
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
var u = /^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/, c = /^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/, f = /^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/, d = /[^\s'`,@()\[\]";]/, l;
|
|
2
|
-
function i(e) {
|
|
3
|
-
for (var n; n = e.next(); )
|
|
4
|
-
if (n == "\\") e.next();
|
|
5
|
-
else if (!d.test(n)) {
|
|
6
|
-
e.backUp(1);
|
|
7
|
-
break;
|
|
8
|
-
}
|
|
9
|
-
return e.current();
|
|
10
|
-
}
|
|
11
|
-
function o(e, n) {
|
|
12
|
-
if (e.eatSpace())
|
|
13
|
-
return l = "ws", null;
|
|
14
|
-
if (e.match(f)) return "number";
|
|
15
|
-
var t = e.next();
|
|
16
|
-
if (t == "\\" && (t = e.next()), t == '"') return (n.tokenize = p)(e, n);
|
|
17
|
-
if (t == "(")
|
|
18
|
-
return l = "open", "bracket";
|
|
19
|
-
if (t == ")")
|
|
20
|
-
return l = "close", "bracket";
|
|
21
|
-
if (t == ";")
|
|
22
|
-
return e.skipToEnd(), l = "ws", "comment";
|
|
23
|
-
if (/['`,@]/.test(t)) return null;
|
|
24
|
-
if (t == "|")
|
|
25
|
-
return e.skipTo("|") ? (e.next(), "variableName") : (e.skipToEnd(), "error");
|
|
26
|
-
if (t == "#") {
|
|
27
|
-
var t = e.next();
|
|
28
|
-
return t == "(" ? (l = "open", "bracket") : /[+\-=\.']/.test(t) || /\d/.test(t) && e.match(/^\d*#/) ? null : t == "|" ? (n.tokenize = x)(e, n) : t == ":" ? (i(e), "meta") : t == "\\" ? (e.next(), i(e), "string.special") : "error";
|
|
29
|
-
} else {
|
|
30
|
-
var r = i(e);
|
|
31
|
-
return r == "." ? null : (l = "symbol", r == "nil" || r == "t" || r.charAt(0) == ":" ? "atom" : n.lastType == "open" && (u.test(r) || c.test(r)) ? "keyword" : r.charAt(0) == "&" ? "variableName.special" : "variableName");
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
function p(e, n) {
|
|
35
|
-
for (var t = !1, r; r = e.next(); ) {
|
|
36
|
-
if (r == '"' && !t) {
|
|
37
|
-
n.tokenize = o;
|
|
38
|
-
break;
|
|
39
|
-
}
|
|
40
|
-
t = !t && r == "\\";
|
|
41
|
-
}
|
|
42
|
-
return "string";
|
|
43
|
-
}
|
|
44
|
-
function x(e, n) {
|
|
45
|
-
for (var t, r; t = e.next(); ) {
|
|
46
|
-
if (t == "#" && r == "|") {
|
|
47
|
-
n.tokenize = o;
|
|
48
|
-
break;
|
|
49
|
-
}
|
|
50
|
-
r = t;
|
|
51
|
-
}
|
|
52
|
-
return l = "ws", "comment";
|
|
53
|
-
}
|
|
54
|
-
const s = {
|
|
55
|
-
name: "commonlisp",
|
|
56
|
-
startState: function() {
|
|
57
|
-
return { ctx: { prev: null, start: 0, indentTo: 0 }, lastType: null, tokenize: o };
|
|
58
|
-
},
|
|
59
|
-
token: function(e, n) {
|
|
60
|
-
e.sol() && typeof n.ctx.indentTo != "number" && (n.ctx.indentTo = n.ctx.start + 1), l = null;
|
|
61
|
-
var t = n.tokenize(e, n);
|
|
62
|
-
return l != "ws" && (n.ctx.indentTo == null ? l == "symbol" && c.test(e.current()) ? n.ctx.indentTo = n.ctx.start + e.indentUnit : n.ctx.indentTo = "next" : n.ctx.indentTo == "next" && (n.ctx.indentTo = e.column()), n.lastType = l), l == "open" ? n.ctx = { prev: n.ctx, start: e.column(), indentTo: null } : l == "close" && (n.ctx = n.ctx.prev || n.ctx), t;
|
|
63
|
-
},
|
|
64
|
-
indent: function(e) {
|
|
65
|
-
var n = e.ctx.indentTo;
|
|
66
|
-
return typeof n == "number" ? n : e.ctx.start + 1;
|
|
67
|
-
},
|
|
68
|
-
languageData: {
|
|
69
|
-
commentTokens: { line: ";;", block: { open: "#|", close: "|#" } },
|
|
70
|
-
closeBrackets: { brackets: ["(", "[", "{", '"'] }
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
export {
|
|
74
|
-
s as commonLisp
|
|
75
|
-
};
|
package/dist/crystal-D309uH6_.js
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
function l(n, e) {
|
|
2
|
-
return new RegExp((e ? "" : "^") + "(?:" + n.join("|") + ")" + (e ? "$" : "\\b"));
|
|
3
|
-
}
|
|
4
|
-
function o(n, e, r) {
|
|
5
|
-
return r.tokenize.push(n), n(e, r);
|
|
6
|
-
}
|
|
7
|
-
var v = /^(?:[-+/%|&^]|\*\*?|[<>]{2})/, z = /^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/, g = /^(?:\[\][?=]?)/, b = /^(?:\.(?:\.{2})?|->|[?:])/, p = /^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/, d = /^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/, E = l([
|
|
8
|
-
"abstract",
|
|
9
|
-
"alias",
|
|
10
|
-
"as",
|
|
11
|
-
"asm",
|
|
12
|
-
"begin",
|
|
13
|
-
"break",
|
|
14
|
-
"case",
|
|
15
|
-
"class",
|
|
16
|
-
"def",
|
|
17
|
-
"do",
|
|
18
|
-
"else",
|
|
19
|
-
"elsif",
|
|
20
|
-
"end",
|
|
21
|
-
"ensure",
|
|
22
|
-
"enum",
|
|
23
|
-
"extend",
|
|
24
|
-
"for",
|
|
25
|
-
"fun",
|
|
26
|
-
"if",
|
|
27
|
-
"include",
|
|
28
|
-
"instance_sizeof",
|
|
29
|
-
"lib",
|
|
30
|
-
"macro",
|
|
31
|
-
"module",
|
|
32
|
-
"next",
|
|
33
|
-
"of",
|
|
34
|
-
"out",
|
|
35
|
-
"pointerof",
|
|
36
|
-
"private",
|
|
37
|
-
"protected",
|
|
38
|
-
"rescue",
|
|
39
|
-
"return",
|
|
40
|
-
"require",
|
|
41
|
-
"select",
|
|
42
|
-
"sizeof",
|
|
43
|
-
"struct",
|
|
44
|
-
"super",
|
|
45
|
-
"then",
|
|
46
|
-
"type",
|
|
47
|
-
"typeof",
|
|
48
|
-
"uninitialized",
|
|
49
|
-
"union",
|
|
50
|
-
"unless",
|
|
51
|
-
"until",
|
|
52
|
-
"when",
|
|
53
|
-
"while",
|
|
54
|
-
"with",
|
|
55
|
-
"yield",
|
|
56
|
-
"__DIR__",
|
|
57
|
-
"__END_LINE__",
|
|
58
|
-
"__FILE__",
|
|
59
|
-
"__LINE__"
|
|
60
|
-
]), S = l(["true", "false", "nil", "self"]), T = [
|
|
61
|
-
"def",
|
|
62
|
-
"fun",
|
|
63
|
-
"macro",
|
|
64
|
-
"class",
|
|
65
|
-
"module",
|
|
66
|
-
"struct",
|
|
67
|
-
"lib",
|
|
68
|
-
"enum",
|
|
69
|
-
"union",
|
|
70
|
-
"do",
|
|
71
|
-
"for"
|
|
72
|
-
], A = l(T), s = ["if", "unless", "case", "while", "until", "begin", "then"], O = l(s), x = ["end", "else", "elsif", "rescue", "ensure"], K = l(x), I = ["\\)", "\\}", "\\]"], D = new RegExp("^(?:" + I.join("|") + ")$"), w = {
|
|
73
|
-
def: y,
|
|
74
|
-
fun: y,
|
|
75
|
-
macro: N,
|
|
76
|
-
class: c,
|
|
77
|
-
module: c,
|
|
78
|
-
struct: c,
|
|
79
|
-
lib: c,
|
|
80
|
-
enum: c,
|
|
81
|
-
union: c
|
|
82
|
-
}, k = { "[": "]", "{": "}", "(": ")", "<": ">" };
|
|
83
|
-
function _(n, e) {
|
|
84
|
-
if (n.eatSpace())
|
|
85
|
-
return null;
|
|
86
|
-
if (e.lastToken != "\\" && n.match("{%", !1))
|
|
87
|
-
return o(f("%", "%"), n, e);
|
|
88
|
-
if (e.lastToken != "\\" && n.match("{{", !1))
|
|
89
|
-
return o(f("{", "}"), n, e);
|
|
90
|
-
if (n.peek() == "#")
|
|
91
|
-
return n.skipToEnd(), "comment";
|
|
92
|
-
var r;
|
|
93
|
-
if (n.match(p))
|
|
94
|
-
return n.eat(/[?!]/), r = n.current(), n.eat(":") ? "atom" : e.lastToken == "." ? "property" : E.test(r) ? (A.test(r) ? !(r == "fun" && e.blocks.indexOf("lib") >= 0) && !(r == "def" && e.lastToken == "abstract") && (e.blocks.push(r), e.currentIndent += 1) : (e.lastStyle == "operator" || !e.lastStyle) && O.test(r) ? (e.blocks.push(r), e.currentIndent += 1) : r == "end" && (e.blocks.pop(), e.currentIndent -= 1), w.hasOwnProperty(r) && e.tokenize.push(w[r]), "keyword") : S.test(r) ? "atom" : "variable";
|
|
95
|
-
if (n.eat("@"))
|
|
96
|
-
return n.peek() == "[" ? o(h("[", "]", "meta"), n, e) : (n.eat("@"), n.match(p) || n.match(d), "propertyName");
|
|
97
|
-
if (n.match(d))
|
|
98
|
-
return "tag";
|
|
99
|
-
if (n.eat(":"))
|
|
100
|
-
return n.eat('"') ? o(F('"', "atom", !1), n, e) : n.match(p) || n.match(d) || n.match(v) || n.match(z) || n.match(g) ? "atom" : (n.eat(":"), "operator");
|
|
101
|
-
if (n.eat('"'))
|
|
102
|
-
return o(F('"', "string", !0), n, e);
|
|
103
|
-
if (n.peek() == "%") {
|
|
104
|
-
var t = "string", u = !0, i;
|
|
105
|
-
if (n.match("%r"))
|
|
106
|
-
t = "string.special", i = n.next();
|
|
107
|
-
else if (n.match("%w"))
|
|
108
|
-
u = !1, i = n.next();
|
|
109
|
-
else if (n.match("%q"))
|
|
110
|
-
u = !1, i = n.next();
|
|
111
|
-
else if (i = n.match(/^%([^\w\s=])/))
|
|
112
|
-
i = i[1];
|
|
113
|
-
else {
|
|
114
|
-
if (n.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))
|
|
115
|
-
return "meta";
|
|
116
|
-
if (n.eat("%"))
|
|
117
|
-
return "operator";
|
|
118
|
-
}
|
|
119
|
-
return k.hasOwnProperty(i) && (i = k[i]), o(F(i, t, u), n, e);
|
|
120
|
-
}
|
|
121
|
-
return (r = n.match(/^<<-('?)([A-Z]\w*)\1/)) ? o(Z(r[2], !r[1]), n, e) : n.eat("'") ? (n.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/), n.eat("'"), "atom") : n.eat("0") ? (n.eat("x") ? n.match(/^[0-9a-fA-F_]+/) : n.eat("o") ? n.match(/^[0-7_]+/) : n.eat("b") && n.match(/^[01_]+/), "number") : n.eat(/^\d/) ? (n.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/), "number") : n.match(v) ? (n.eat("="), "operator") : n.match(z) || n.match(b) ? "operator" : (r = n.match(/[({[]/, !1)) ? (r = r[0], o(h(r, k[r], null), n, e)) : n.eat("\\") ? (n.next(), "meta") : (n.next(), null);
|
|
122
|
-
}
|
|
123
|
-
function h(n, e, r, t) {
|
|
124
|
-
return function(u, i) {
|
|
125
|
-
if (!t && u.match(n))
|
|
126
|
-
return i.tokenize[i.tokenize.length - 1] = h(n, e, r, !0), i.currentIndent += 1, r;
|
|
127
|
-
var a = _(u, i);
|
|
128
|
-
return u.current() === e && (i.tokenize.pop(), i.currentIndent -= 1, a = r), a;
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
function f(n, e, r) {
|
|
132
|
-
return function(t, u) {
|
|
133
|
-
return !r && t.match("{" + n) ? (u.currentIndent += 1, u.tokenize[u.tokenize.length - 1] = f(n, e, !0), "meta") : t.match(e + "}") ? (u.currentIndent -= 1, u.tokenize.pop(), "meta") : _(t, u);
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
function N(n, e) {
|
|
137
|
-
if (n.eatSpace())
|
|
138
|
-
return null;
|
|
139
|
-
var r;
|
|
140
|
-
if (r = n.match(p)) {
|
|
141
|
-
if (r == "def")
|
|
142
|
-
return "keyword";
|
|
143
|
-
n.eat(/[?!]/);
|
|
144
|
-
}
|
|
145
|
-
return e.tokenize.pop(), "def";
|
|
146
|
-
}
|
|
147
|
-
function y(n, e) {
|
|
148
|
-
return n.eatSpace() ? null : (n.match(p) ? n.eat(/[!?]/) : n.match(v) || n.match(z) || n.match(g), e.tokenize.pop(), "def");
|
|
149
|
-
}
|
|
150
|
-
function c(n, e) {
|
|
151
|
-
return n.eatSpace() ? null : (n.match(d), e.tokenize.pop(), "def");
|
|
152
|
-
}
|
|
153
|
-
function F(n, e, r) {
|
|
154
|
-
return function(t, u) {
|
|
155
|
-
for (var i = !1; t.peek(); )
|
|
156
|
-
if (i)
|
|
157
|
-
t.next(), i = !1;
|
|
158
|
-
else {
|
|
159
|
-
if (t.match("{%", !1))
|
|
160
|
-
return u.tokenize.push(f("%", "%")), e;
|
|
161
|
-
if (t.match("{{", !1))
|
|
162
|
-
return u.tokenize.push(f("{", "}")), e;
|
|
163
|
-
if (r && t.match("#{", !1))
|
|
164
|
-
return u.tokenize.push(h("#{", "}", "meta")), e;
|
|
165
|
-
var a = t.next();
|
|
166
|
-
if (a == n)
|
|
167
|
-
return u.tokenize.pop(), e;
|
|
168
|
-
i = r && a == "\\";
|
|
169
|
-
}
|
|
170
|
-
return e;
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
function Z(n, e) {
|
|
174
|
-
return function(r, t) {
|
|
175
|
-
if (r.sol() && (r.eatSpace(), r.match(n)))
|
|
176
|
-
return t.tokenize.pop(), "string";
|
|
177
|
-
for (var u = !1; r.peek(); )
|
|
178
|
-
if (u)
|
|
179
|
-
r.next(), u = !1;
|
|
180
|
-
else {
|
|
181
|
-
if (r.match("{%", !1))
|
|
182
|
-
return t.tokenize.push(f("%", "%")), "string";
|
|
183
|
-
if (r.match("{{", !1))
|
|
184
|
-
return t.tokenize.push(f("{", "}")), "string";
|
|
185
|
-
if (e && r.match("#{", !1))
|
|
186
|
-
return t.tokenize.push(h("#{", "}", "meta")), "string";
|
|
187
|
-
u = r.next() == "\\" && e;
|
|
188
|
-
}
|
|
189
|
-
return "string";
|
|
190
|
-
};
|
|
191
|
-
}
|
|
192
|
-
const P = {
|
|
193
|
-
name: "crystal",
|
|
194
|
-
startState: function() {
|
|
195
|
-
return {
|
|
196
|
-
tokenize: [_],
|
|
197
|
-
currentIndent: 0,
|
|
198
|
-
lastToken: null,
|
|
199
|
-
lastStyle: null,
|
|
200
|
-
blocks: []
|
|
201
|
-
};
|
|
202
|
-
},
|
|
203
|
-
token: function(n, e) {
|
|
204
|
-
var r = e.tokenize[e.tokenize.length - 1](n, e), t = n.current();
|
|
205
|
-
return r && r != "comment" && (e.lastToken = t, e.lastStyle = r), r;
|
|
206
|
-
},
|
|
207
|
-
indent: function(n, e, r) {
|
|
208
|
-
return e = e.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g, ""), K.test(e) || D.test(e) ? r.unit * (n.currentIndent - 1) : r.unit * n.currentIndent;
|
|
209
|
-
},
|
|
210
|
-
languageData: {
|
|
211
|
-
indentOnInput: l(I.concat(x), !0),
|
|
212
|
-
commentTokens: { line: "#" }
|
|
213
|
-
}
|
|
214
|
-
};
|
|
215
|
-
export {
|
|
216
|
-
P as crystal
|
|
217
|
-
};
|