@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.
Files changed (323) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/core/directives/loading/styles.css +1 -1
  3. package/core/plugins/modularity/README.md +347 -17
  4. package/core/plugins/modularity/loader.ts +248 -3
  5. package/dist/core/plugins/modularity/loader.d.ts +4 -0
  6. package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
  7. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts +2 -2
  8. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts.map +1 -1
  9. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts +2 -2
  10. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts.map +1 -1
  11. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts +2 -2
  12. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts.map +1 -1
  13. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts +3 -3
  14. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -1
  15. package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts +4 -4
  16. package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts.map +1 -1
  17. package/dist/shared/components/notifications/components/notification-container/index.d.ts +6 -6
  18. package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
  19. package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -1
  20. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
  21. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -2
  22. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
  23. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
  24. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
  25. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
  26. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
  27. package/dist/tsconfig.tsbuildinfo +1 -1
  28. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +2 -2
  29. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  30. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
  31. package/dist/ui/components/atoms/vc-icon/composables/index.d.ts +3 -0
  32. package/dist/ui/components/atoms/vc-icon/composables/index.d.ts.map +1 -0
  33. package/dist/ui/components/atoms/vc-icon/composables/use-icon-type.d.ts +22 -0
  34. package/dist/ui/components/atoms/vc-icon/composables/use-icon-type.d.ts.map +1 -0
  35. package/dist/ui/components/atoms/vc-icon/composables/use-icon.d.ts +30 -0
  36. package/dist/ui/components/atoms/vc-icon/composables/use-icon.d.ts.map +1 -0
  37. package/dist/ui/components/atoms/vc-icon/index.d.ts +1 -0
  38. package/dist/ui/components/atoms/vc-icon/index.d.ts.map +1 -1
  39. package/dist/ui/components/atoms/vc-icon/types.d.ts +31 -0
  40. package/dist/ui/components/atoms/vc-icon/types.d.ts.map +1 -0
  41. package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts +18 -4
  42. package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts.map +1 -1
  43. package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts +15 -2
  44. package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts.map +1 -1
  45. package/dist/ui/components/atoms/vc-icon/vc-icon-examples.vue.d.ts.map +1 -1
  46. package/dist/ui/components/atoms/vc-icon/vc-icon-test.vue.d.ts.map +1 -1
  47. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +11 -6
  48. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
  49. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts +21 -4
  50. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts.map +1 -1
  51. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +31 -5
  52. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
  53. package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts +33 -0
  54. package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts.map +1 -0
  55. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +2 -2
  56. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
  57. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
  58. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
  59. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +2 -2
  60. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
  61. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +3 -3
  62. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  63. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +2 -2
  64. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +3 -3
  65. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  66. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +4 -4
  67. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  68. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +6 -34
  69. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  70. package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +4 -0
  71. package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts.map +1 -0
  72. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +171 -0
  73. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -0
  74. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +2 -2
  75. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
  76. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +1 -1
  77. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
  78. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +2 -2
  79. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  80. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +3 -3
  81. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  82. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +1 -1
  83. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  84. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts +2 -2
  85. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts.map +1 -1
  86. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts +5 -5
  87. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts.map +1 -1
  88. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +3 -3
  89. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
  90. 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
  91. 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
  92. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +1 -1
  93. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +5 -5
  103. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  104. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
  105. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
  106. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  107. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +3 -3
  108. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  109. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +1 -1
  110. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
  111. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +4 -4
  112. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  113. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +1 -1
  114. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
  115. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +1 -1
  116. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
  117. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
  118. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
  119. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts +1 -1
  120. 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
  121. 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
  122. 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
  123. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts +1 -1
  124. 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
  125. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts +1 -1
  126. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts.map +1 -1
  127. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts +1 -1
  128. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts.map +1 -1
  129. package/dist/ui/components/organisms/vc-table/composables/useTableActions.d.ts +1 -1
  130. package/dist/ui/components/organisms/vc-table/composables/useTableActions.d.ts.map +1 -1
  131. package/dist/ui/components/organisms/vc-table/composables/useTableColumnReorder.d.ts +1 -1
  132. package/dist/ui/components/organisms/vc-table/composables/useTableColumnReorder.d.ts.map +1 -1
  133. package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts +1 -1
  134. package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts.map +1 -1
  135. package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts +1 -1
  136. package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts.map +1 -1
  137. package/dist/ui/components/organisms/vc-table/composables/useTableSelection.d.ts +1 -1
  138. package/dist/ui/components/organisms/vc-table/composables/useTableSelection.d.ts.map +1 -1
  139. package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts +1 -1
  140. package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts.map +1 -1
  141. package/dist/ui/components/organisms/vc-table/types.d.ts +36 -0
  142. package/dist/ui/components/organisms/vc-table/types.d.ts.map +1 -0
  143. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +2 -34
  144. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
  145. package/package.json +4 -4
  146. package/shared/components/common/popup/vc-popup-error.vue +3 -3
  147. package/shared/components/common/popup/vc-popup-info.vue +3 -3
  148. package/shared/components/common/popup/vc-popup-warning.vue +3 -3
  149. package/shared/components/dashboard-widget-card/dashboard-widget-card.vue +4 -4
  150. package/shared/components/generic-dropdown/generic-dropdown.vue +1 -1
  151. package/shared/components/settings-menu-item/settings-menu-item.vue +1 -6
  152. package/shared/components/user-dropdown-button/_internal/user-info.vue +3 -3
  153. package/ui/components/atoms/vc-badge/vc-badge.vue +2 -2
  154. package/ui/components/atoms/vc-icon/README.md +198 -220
  155. package/ui/components/atoms/vc-icon/composables/index.ts +2 -0
  156. package/ui/components/atoms/vc-icon/composables/use-icon-type.ts +83 -0
  157. package/ui/components/atoms/vc-icon/composables/use-icon.ts +129 -0
  158. package/ui/components/atoms/vc-icon/index.ts +1 -0
  159. package/ui/components/atoms/vc-icon/types.ts +36 -0
  160. package/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue +111 -10
  161. package/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue +119 -17
  162. package/ui/components/atoms/vc-icon/vc-icon-examples.vue +485 -124
  163. package/ui/components/atoms/vc-icon/vc-icon-test.vue +399 -209
  164. package/ui/components/atoms/vc-icon/vc-icon.stories.ts +501 -55
  165. package/ui/components/atoms/vc-icon/vc-icon.vue +240 -155
  166. package/ui/components/atoms/vc-icon/vc-lucide-icon.vue +163 -33
  167. package/ui/components/atoms/vc-icon/vc-material-icon.vue +136 -30
  168. package/ui/components/atoms/vc-icon/vc-svg-icon.vue +168 -0
  169. package/ui/components/atoms/vc-label/vc-label.vue +3 -3
  170. package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +3 -3
  171. package/ui/components/atoms/vc-widget/vc-widget.stories.ts +13 -0
  172. package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +4 -4
  173. package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +2 -2
  174. package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +1 -1
  175. package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +36 -115
  176. package/ui/components/molecules/vc-input-dropdown/index.ts +4 -0
  177. package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.stories.ts +763 -0
  178. package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +268 -0
  179. package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +3 -3
  180. package/ui/components/molecules/vc-pagination/vc-pagination.vue +23 -14
  181. package/ui/components/molecules/vc-rating/vc-rating.vue +2 -2
  182. package/ui/components/molecules/vc-textarea/vc-textarea.vue +2 -2
  183. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue +2 -2
  184. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue +3 -3
  185. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue +6 -6
  186. package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +6 -7
  187. package/ui/components/organisms/vc-app/vc-app.vue +2 -3
  188. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/props.ts +14 -0
  189. 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
  190. 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
  191. package/ui/components/organisms/vc-blade/vc-blade.vue +5 -5
  192. package/ui/components/organisms/vc-login-form/vc-login-form.vue +2 -2
  193. package/ui/components/organisms/vc-popup/vc-popup.vue +4 -4
  194. package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +1 -1
  195. package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +1 -1
  196. package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue +1 -1
  197. package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue +1 -1
  198. package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue +1 -1
  199. package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue +1 -1
  200. package/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue +1 -1
  201. package/ui/components/organisms/vc-table/composables/useTableActions.ts +1 -1
  202. package/ui/components/organisms/vc-table/composables/useTableColumnReorder.ts +1 -1
  203. package/ui/components/organisms/vc-table/composables/useTableColumnResize.ts +1 -1
  204. package/ui/components/organisms/vc-table/composables/useTableRowReorder.ts +1 -1
  205. package/ui/components/organisms/vc-table/composables/useTableSelection.ts +1 -1
  206. package/ui/components/organisms/vc-table/composables/useTableState.ts +1 -1
  207. package/ui/components/organisms/vc-table/types.ts +32 -0
  208. package/ui/components/organisms/vc-table/vc-table.vue +2 -30
  209. package/dist/apl-B2DGVGxc.js +0 -76
  210. package/dist/asciiarmor-2LVJmxlE.js +0 -34
  211. package/dist/asn1-jKiBa2Ya.js +0 -95
  212. package/dist/asterisk-DS281yxp.js +0 -271
  213. package/dist/brainfuck-C_p9pTT8.js +0 -34
  214. package/dist/clike-BUuHEmgZ.js +0 -620
  215. package/dist/clojure-CCKyeQKf.js +0 -800
  216. package/dist/cmake-CuaCgAKt.js +0 -28
  217. package/dist/cobol-BlTKFDRj.js +0 -72
  218. package/dist/coffeescript-BVCvwO8I.js +0 -179
  219. package/dist/commonlisp-D_kxz07b.js +0 -75
  220. package/dist/crystal-D309uH6_.js +0 -217
  221. package/dist/css-bIlmDBTK.js +0 -1560
  222. package/dist/cypher-BMq4Fwjl.js +0 -68
  223. package/dist/d-BZcgY6La.js +0 -127
  224. package/dist/diff-Cg9d_RX2.js +0 -18
  225. package/dist/dockerfile-DIy8NleC.js +0 -194
  226. package/dist/dtd-CtLokQ-U.js +0 -84
  227. package/dist/dylan-QYeExnWK.js +0 -234
  228. package/dist/ebnf-DUPDuY4r.js +0 -78
  229. package/dist/ecl-CiXN-g_D.js +0 -121
  230. package/dist/eiffel-yQhjl4T1.js +0 -110
  231. package/dist/elm-CNT9vbN0.js +0 -108
  232. package/dist/erlang-CFOYdy9e.js +0 -487
  233. package/dist/factor-DDOC7X6P.js +0 -65
  234. package/dist/fcl-CPC2WYrI.js +0 -103
  235. package/dist/forth-BmxRyE9S.js +0 -60
  236. package/dist/fortran-9bvPyrOW.js +0 -442
  237. package/dist/framework.js +0 -288
  238. package/dist/gas-BdfkXJT_.js +0 -183
  239. package/dist/gherkin-CJuwpceU.js +0 -34
  240. package/dist/groovy-DZeT_VM-.js +0 -146
  241. package/dist/haskell-Bvt3Qq1t.js +0 -375
  242. package/dist/haxe-70NVW1pR.js +0 -359
  243. package/dist/http-D9LttvKF.js +0 -44
  244. package/dist/idl-B6TRFYjl.js +0 -947
  245. package/dist/index-BBYKbiRX.js +0 -93
  246. package/dist/index-BDm0tcWn.js +0 -145680
  247. package/dist/index-BDqUaIyQ.js +0 -156
  248. package/dist/index-BdflTsg6.js +0 -308
  249. package/dist/index-BpBTtmQ6.js +0 -288
  250. package/dist/index-Br0y2YMn.js +0 -58
  251. package/dist/index-CIcET-ZI.js +0 -71
  252. package/dist/index-CYAMpxnu.js +0 -341
  253. package/dist/index-Cf2H7YZ1.js +0 -98
  254. package/dist/index-Ck055pN8.js +0 -134
  255. package/dist/index-D-fPN3yf.js +0 -75
  256. package/dist/index-DJOis7Nc.js +0 -299
  257. package/dist/index-DKtQMsy4.js +0 -538
  258. package/dist/index-DWTsz5bC.js +0 -611
  259. package/dist/index-DuY7BIGm.js +0 -265
  260. package/dist/index-o6aSdNED.js +0 -137
  261. package/dist/index-wfv8ehcx.js +0 -249
  262. package/dist/index.css +0 -9
  263. package/dist/javascript-WMWNx-Vj.js +0 -690
  264. package/dist/jinja2-DnB6dQmV.js +0 -154
  265. package/dist/julia-DpvXAuO6.js +0 -241
  266. package/dist/livescript-CanGTf8u.js +0 -272
  267. package/dist/lua-XplVlWi_.js +0 -217
  268. package/dist/mathematica-jaRHnSxC.js +0 -35
  269. package/dist/mbox-BctzC1hL.js +0 -76
  270. package/dist/mirc-CFBPAOaF.js +0 -72
  271. package/dist/mllike-BSnXJBGA.js +0 -272
  272. package/dist/modelica-vUgVs--1.js +0 -93
  273. package/dist/mscgen-Cpl0NYLN.js +0 -104
  274. package/dist/mumps-CQoS1kWX.js +0 -25
  275. package/dist/nginx-zDPm3Z74.js +0 -89
  276. package/dist/nsis-fePjrhq7.js +0 -62
  277. package/dist/ntriples-CsNjv2QF.js +0 -79
  278. package/dist/octave-C8PmmSRH.js +0 -143
  279. package/dist/oz-Ce8aN8oE.js +0 -151
  280. package/dist/pascal-De0D6mP7.js +0 -77
  281. package/dist/perl-B4bSCe1C.js +0 -915
  282. package/dist/pig-D24Z8EXi.js +0 -54
  283. package/dist/powershell-DkYVfTzP.js +0 -249
  284. package/dist/properties-Dn9wna3M.js +0 -26
  285. package/dist/protobuf-BPIjwpzm.js +0 -49
  286. package/dist/pug-BqUR2bBq.js +0 -248
  287. package/dist/puppet-nyd4dhjf.js +0 -45
  288. package/dist/python-B5QdSKoL.js +0 -313
  289. package/dist/q-DXjKs-tC.js +0 -83
  290. package/dist/r-LKEuhEGI.js +0 -104
  291. package/dist/rpm-IznJm2Xc.js +0 -57
  292. package/dist/ruby-CcYfvIk6.js +0 -228
  293. package/dist/sas-7E8yHoCW.js +0 -105
  294. package/dist/scheme-DjibxsNh.js +0 -124
  295. package/dist/shell-C0C2sNA_.js +0 -182
  296. package/dist/sieve-Bwz7vjP5.js +0 -72
  297. package/dist/simple-mode-B0dvCdAA.js +0 -89
  298. package/dist/smalltalk-Bhddl2pB.js +0 -48
  299. package/dist/solr-BNlsLglM.js +0 -41
  300. package/dist/sparql-FarWu_Gb.js +0 -197
  301. package/dist/spreadsheet-C-cy4P5N.js +0 -49
  302. package/dist/sql-mMre1Bo3.js +0 -282
  303. package/dist/stex-92raWT1r.js +0 -129
  304. package/dist/stylus-CAdqWld3.js +0 -250
  305. package/dist/swift-DSxqR9R6.js +0 -230
  306. package/dist/tcl-xfoLljhY.js +0 -81
  307. package/dist/textile-D1AWE-pc.js +0 -295
  308. package/dist/tiddlywiki-5wqsXtSk.js +0 -155
  309. package/dist/tiki-__Kn3CeS.js +0 -181
  310. package/dist/toml-BHiuTcfn.js +0 -49
  311. package/dist/troff-D2UO-fKf.js +0 -35
  312. package/dist/ttcn-Bsa4sfRm.js +0 -123
  313. package/dist/ttcn-cfg-Bac_acMi.js +0 -88
  314. package/dist/turtle-xwJUxoPV.js +0 -80
  315. package/dist/vb-c2kQGd6-.js +0 -74
  316. package/dist/vbscript-Dz1TtKsy.js +0 -324
  317. package/dist/velocity-DJd0pTTC.js +0 -96
  318. package/dist/verilog-C4VGD9n1.js +0 -263
  319. package/dist/vhdl-T9HkrbI2.js +0 -106
  320. package/dist/webidl-CjfDENEo.js +0 -155
  321. package/dist/xquery-BUQdORAS.js +0 -422
  322. package/dist/yacas-C0absKBh.js +0 -73
  323. package/dist/z80-C8rPtw-0.js +0 -61
@@ -1,690 +0,0 @@
1
- function fr(x) {
2
- var pr = x.statementIndent, ur = x.jsonld, br = x.json || ur, k = x.typescript, U = x.wordCharacters || /[\w$\xa1-\uffff]/, wr = function() {
3
- function r(y) {
4
- return { type: y, style: "keyword" };
5
- }
6
- var e = r("keyword a"), t = r("keyword b"), f = r("keyword c"), u = r("keyword d"), c = r("operator"), m = { type: "atom", style: "atom" };
7
- return {
8
- if: r("if"),
9
- while: e,
10
- with: e,
11
- else: t,
12
- do: t,
13
- try: t,
14
- finally: t,
15
- return: u,
16
- break: u,
17
- continue: u,
18
- new: r("new"),
19
- delete: f,
20
- void: f,
21
- throw: f,
22
- debugger: r("debugger"),
23
- var: r("var"),
24
- const: r("var"),
25
- let: r("var"),
26
- function: r("function"),
27
- catch: r("catch"),
28
- for: r("for"),
29
- switch: r("switch"),
30
- case: r("case"),
31
- default: r("default"),
32
- in: c,
33
- typeof: c,
34
- instanceof: c,
35
- true: m,
36
- false: m,
37
- null: m,
38
- undefined: m,
39
- NaN: m,
40
- Infinity: m,
41
- this: r("this"),
42
- class: r("class"),
43
- super: r("atom"),
44
- yield: f,
45
- export: r("export"),
46
- import: r("import"),
47
- extends: f,
48
- await: f
49
- };
50
- }(), hr = /[+\-*&%=<>!?|~^@]/, Or = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;
51
- function qr(r) {
52
- for (var e = !1, t, f = !1; (t = r.next()) != null; ) {
53
- if (!e) {
54
- if (t == "/" && !f) return;
55
- t == "[" ? f = !0 : f && t == "]" && (f = !1);
56
- }
57
- e = !e && t == "\\";
58
- }
59
- }
60
- var D, G;
61
- function b(r, e, t) {
62
- return D = r, G = t, e;
63
- }
64
- function S(r, e) {
65
- var t = r.next();
66
- if (t == '"' || t == "'")
67
- return e.tokenize = Nr(t), e.tokenize(r, e);
68
- if (t == "." && r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))
69
- return b("number", "number");
70
- if (t == "." && r.match(".."))
71
- return b("spread", "meta");
72
- if (/[\[\]{}\(\),;\:\.]/.test(t))
73
- return b(t);
74
- if (t == "=" && r.eat(">"))
75
- return b("=>", "operator");
76
- if (t == "0" && r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))
77
- return b("number", "number");
78
- if (/\d/.test(t))
79
- return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/), b("number", "number");
80
- if (t == "/")
81
- return r.eat("*") ? (e.tokenize = H, H(r, e)) : r.eat("/") ? (r.skipToEnd(), b("comment", "comment")) : ce(r, e, 1) ? (qr(r), r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/), b("regexp", "string.special")) : (r.eat("="), b("operator", "operator", r.current()));
82
- if (t == "`")
83
- return e.tokenize = L, L(r, e);
84
- if (t == "#" && r.peek() == "!")
85
- return r.skipToEnd(), b("meta", "meta");
86
- if (t == "#" && r.eatWhile(U))
87
- return b("variable", "property");
88
- if (t == "<" && r.match("!--") || t == "-" && r.match("->") && !/\S/.test(r.string.slice(0, r.start)))
89
- return r.skipToEnd(), b("comment", "comment");
90
- if (hr.test(t))
91
- return (t != ">" || !e.lexical || e.lexical.type != ">") && (r.eat("=") ? (t == "!" || t == "=") && r.eat("=") : /[<>*+\-|&?]/.test(t) && (r.eat(t), t == ">" && r.eat(t))), t == "?" && r.eat(".") ? b(".") : b("operator", "operator", r.current());
92
- if (U.test(t)) {
93
- r.eatWhile(U);
94
- var f = r.current();
95
- if (e.lastType != ".") {
96
- if (wr.propertyIsEnumerable(f)) {
97
- var u = wr[f];
98
- return b(u.type, u.style, f);
99
- }
100
- if (f == "async" && r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/, !1))
101
- return b("async", "keyword", f);
102
- }
103
- return b("variable", "variable", f);
104
- }
105
- }
106
- function Nr(r) {
107
- return function(e, t) {
108
- var f = !1, u;
109
- if (ur && e.peek() == "@" && e.match(Or))
110
- return t.tokenize = S, b("jsonld-keyword", "meta");
111
- for (; (u = e.next()) != null && !(u == r && !f); )
112
- f = !f && u == "\\";
113
- return f || (t.tokenize = S), b("string", "string");
114
- };
115
- }
116
- function H(r, e) {
117
- for (var t = !1, f; f = r.next(); ) {
118
- if (f == "/" && t) {
119
- e.tokenize = S;
120
- break;
121
- }
122
- t = f == "*";
123
- }
124
- return b("comment", "comment");
125
- }
126
- function L(r, e) {
127
- for (var t = !1, f; (f = r.next()) != null; ) {
128
- if (!t && (f == "`" || f == "$" && r.eat("{"))) {
129
- e.tokenize = S;
130
- break;
131
- }
132
- t = !t && f == "\\";
133
- }
134
- return b("quasi", "string.special", r.current());
135
- }
136
- var Br = "([{}])";
137
- function ar(r, e) {
138
- e.fatArrowAt && (e.fatArrowAt = null);
139
- var t = r.string.indexOf("=>", r.start);
140
- if (!(t < 0)) {
141
- if (k) {
142
- var f = /:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start, t));
143
- f && (t = f.index);
144
- }
145
- for (var u = 0, c = !1, m = t - 1; m >= 0; --m) {
146
- var y = r.string.charAt(m), v = Br.indexOf(y);
147
- if (v >= 0 && v < 3) {
148
- if (!u) {
149
- ++m;
150
- break;
151
- }
152
- if (--u == 0) {
153
- y == "(" && (c = !0);
154
- break;
155
- }
156
- } else if (v >= 3 && v < 6)
157
- ++u;
158
- else if (U.test(y))
159
- c = !0;
160
- else if (/["'\/`]/.test(y))
161
- for (; ; --m) {
162
- if (m == 0) return;
163
- var K = r.string.charAt(m - 1);
164
- if (K == y && r.string.charAt(m - 2) != "\\") {
165
- m--;
166
- break;
167
- }
168
- }
169
- else if (c && !u) {
170
- ++m;
171
- break;
172
- }
173
- }
174
- c && !u && (e.fatArrowAt = m);
175
- }
176
- }
177
- var Fr = {
178
- atom: !0,
179
- number: !0,
180
- variable: !0,
181
- string: !0,
182
- regexp: !0,
183
- this: !0,
184
- import: !0,
185
- "jsonld-keyword": !0
186
- };
187
- function xr(r, e, t, f, u, c) {
188
- this.indented = r, this.column = e, this.type = t, this.prev = u, this.info = c, f != null && (this.align = f);
189
- }
190
- function Jr(r, e) {
191
- for (var t = r.localVars; t; t = t.next)
192
- if (t.name == e) return !0;
193
- for (var f = r.context; f; f = f.prev)
194
- for (var t = f.vars; t; t = t.next)
195
- if (t.name == e) return !0;
196
- }
197
- function Mr(r, e, t, f, u) {
198
- var c = r.cc;
199
- for (i.state = r, i.stream = u, i.marked = null, i.cc = c, i.style = e, r.lexical.hasOwnProperty("align") || (r.lexical.align = !0); ; ) {
200
- var m = c.length ? c.pop() : br ? p : w;
201
- if (m(t, f)) {
202
- for (; c.length && c[c.length - 1].lex; )
203
- c.pop()();
204
- return i.marked ? i.marked : t == "variable" && Jr(r, f) ? "variableName.local" : e;
205
- }
206
- }
207
- }
208
- var i = { state: null, marked: null, cc: null };
209
- function o() {
210
- for (var r = arguments.length - 1; r >= 0; r--) i.cc.push(arguments[r]);
211
- }
212
- function n() {
213
- return o.apply(null, arguments), !0;
214
- }
215
- function or(r, e) {
216
- for (var t = e; t; t = t.next) if (t.name == r) return !0;
217
- return !1;
218
- }
219
- function q(r) {
220
- var e = i.state;
221
- if (i.marked = "def", e.context) {
222
- if (e.lexical.info == "var" && e.context && e.context.block) {
223
- var t = gr(r, e.context);
224
- if (t != null) {
225
- e.context = t;
226
- return;
227
- }
228
- } else if (!or(r, e.localVars)) {
229
- e.localVars = new Q(r, e.localVars);
230
- return;
231
- }
232
- }
233
- x.globalVars && !or(r, e.globalVars) && (e.globalVars = new Q(r, e.globalVars));
234
- }
235
- function gr(r, e) {
236
- if (e)
237
- if (e.block) {
238
- var t = gr(r, e.prev);
239
- return t ? t == e.prev ? e : new P(t, e.vars, !0) : null;
240
- } else return or(r, e.vars) ? e : new P(e.prev, new Q(r, e.vars), !1);
241
- else return null;
242
- }
243
- function X(r) {
244
- return r == "public" || r == "private" || r == "protected" || r == "abstract" || r == "readonly";
245
- }
246
- function P(r, e, t) {
247
- this.prev = r, this.vars = e, this.block = t;
248
- }
249
- function Q(r, e) {
250
- this.name = r, this.next = e;
251
- }
252
- var Dr = new Q("this", new Q("arguments", null));
253
- function E() {
254
- i.state.context = new P(i.state.context, i.state.localVars, !1), i.state.localVars = Dr;
255
- }
256
- function Y() {
257
- i.state.context = new P(i.state.context, i.state.localVars, !0), i.state.localVars = null;
258
- }
259
- E.lex = Y.lex = !0;
260
- function T() {
261
- i.state.localVars = i.state.context.vars, i.state.context = i.state.context.prev;
262
- }
263
- T.lex = !0;
264
- function s(r, e) {
265
- var t = function() {
266
- var f = i.state, u = f.indented;
267
- if (f.lexical.type == "stat") u = f.lexical.indented;
268
- else for (var c = f.lexical; c && c.type == ")" && c.align; c = c.prev)
269
- u = c.indented;
270
- f.lexical = new xr(u, i.stream.column(), r, null, f.lexical, e);
271
- };
272
- return t.lex = !0, t;
273
- }
274
- function a() {
275
- var r = i.state;
276
- r.lexical.prev && (r.lexical.type == ")" && (r.indented = r.lexical.indented), r.lexical = r.lexical.prev);
277
- }
278
- a.lex = !0;
279
- function l(r) {
280
- function e(t) {
281
- return t == r ? n() : r == ";" || t == "}" || t == ")" || t == "]" ? o() : n(e);
282
- }
283
- return e;
284
- }
285
- function w(r, e) {
286
- return r == "var" ? n(s("vardef", e), mr, l(";"), a) : r == "keyword a" ? n(s("form"), sr, w, a) : r == "keyword b" ? n(s("form"), w, a) : r == "keyword d" ? i.stream.match(/^\s*$/, !1) ? n() : n(s("stat"), N, l(";"), a) : r == "debugger" ? n(l(";")) : r == "{" ? n(s("}"), Y, rr, a, T) : r == ";" ? n() : r == "if" ? (i.state.lexical.info == "else" && i.state.cc[i.state.cc.length - 1] == a && i.state.cc.pop()(), n(s("form"), sr, w, a, jr)) : r == "function" ? n(_) : r == "for" ? n(s("form"), Y, zr, w, T, a) : r == "class" || k && e == "interface" ? (i.marked = "keyword", n(s("form", r == "class" ? r : e), Sr, a)) : r == "variable" ? k && e == "declare" ? (i.marked = "keyword", n(w)) : k && (e == "module" || e == "enum" || e == "type") && i.stream.match(/^\s*\w/, !1) ? (i.marked = "keyword", e == "enum" ? n($r) : e == "type" ? n(_r, l("operator"), d, l(";")) : n(s("form"), V, l("{"), s("}"), rr, a, a)) : k && e == "namespace" ? (i.marked = "keyword", n(s("form"), p, w, a)) : k && e == "abstract" ? (i.marked = "keyword", n(w)) : n(s("stat"), Kr) : r == "switch" ? n(
287
- s("form"),
288
- sr,
289
- l("{"),
290
- s("}", "switch"),
291
- Y,
292
- rr,
293
- a,
294
- a,
295
- T
296
- ) : r == "case" ? n(p, l(":")) : r == "default" ? n(l(":")) : r == "catch" ? n(s("form"), E, Lr, w, a, T) : r == "export" ? n(s("stat"), fe, a) : r == "import" ? n(s("stat"), ue, a) : r == "async" ? n(w) : e == "@" ? n(p, w) : o(s("stat"), p, l(";"), a);
297
- }
298
- function Lr(r) {
299
- if (r == "(") return n(O, l(")"));
300
- }
301
- function p(r, e) {
302
- return yr(r, e, !1);
303
- }
304
- function g(r, e) {
305
- return yr(r, e, !0);
306
- }
307
- function sr(r) {
308
- return r != "(" ? o() : n(s(")"), N, l(")"), a);
309
- }
310
- function yr(r, e, t) {
311
- if (i.state.fatArrowAt == i.stream.start) {
312
- var f = t ? Tr : vr;
313
- if (r == "(") return n(E, s(")"), h(O, ")"), a, l("=>"), f, T);
314
- if (r == "variable") return o(E, V, l("=>"), f, T);
315
- }
316
- var u = t ? B : I;
317
- return Fr.hasOwnProperty(r) ? n(u) : r == "function" ? n(_, u) : r == "class" || k && e == "interface" ? (i.marked = "keyword", n(s("form"), ie, a)) : r == "keyword c" || r == "async" ? n(t ? g : p) : r == "(" ? n(s(")"), N, l(")"), a, u) : r == "operator" || r == "spread" ? n(t ? g : p) : r == "[" ? n(s("]"), oe, a, u) : r == "{" ? R(C, "}", null, u) : r == "quasi" ? o(Z, u) : r == "new" ? n(Qr(t)) : n();
318
- }
319
- function N(r) {
320
- return r.match(/[;\}\)\],]/) ? o() : o(p);
321
- }
322
- function I(r, e) {
323
- return r == "," ? n(N) : B(r, e, !1);
324
- }
325
- function B(r, e, t) {
326
- var f = t == !1 ? I : B, u = t == !1 ? p : g;
327
- if (r == "=>") return n(E, t ? Tr : vr, T);
328
- if (r == "operator")
329
- return /\+\+|--/.test(e) || k && e == "!" ? n(f) : k && e == "<" && i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/, !1) ? n(s(">"), h(d, ">"), a, f) : e == "?" ? n(p, l(":"), u) : n(u);
330
- if (r == "quasi")
331
- return o(Z, f);
332
- if (r != ";") {
333
- if (r == "(") return R(g, ")", "call", f);
334
- if (r == ".") return n(Ur, f);
335
- if (r == "[") return n(s("]"), N, l("]"), a, f);
336
- if (k && e == "as")
337
- return i.marked = "keyword", n(d, f);
338
- if (r == "regexp")
339
- return i.state.lastType = i.marked = "operator", i.stream.backUp(i.stream.pos - i.stream.start - 1), n(u);
340
- }
341
- }
342
- function Z(r, e) {
343
- return r != "quasi" ? o() : e.slice(e.length - 2) != "${" ? n(Z) : n(N, Pr);
344
- }
345
- function Pr(r) {
346
- if (r == "}")
347
- return i.marked = "string.special", i.state.tokenize = L, n(Z);
348
- }
349
- function vr(r) {
350
- return ar(i.stream, i.state), o(r == "{" ? w : p);
351
- }
352
- function Tr(r) {
353
- return ar(i.stream, i.state), o(r == "{" ? w : g);
354
- }
355
- function Qr(r) {
356
- return function(e) {
357
- return e == "." ? n(r ? Wr : Rr) : e == "variable" && k ? n(Cr, r ? B : I) : o(r ? g : p);
358
- };
359
- }
360
- function Rr(r, e) {
361
- if (e == "target")
362
- return i.marked = "keyword", n(I);
363
- }
364
- function Wr(r, e) {
365
- if (e == "target")
366
- return i.marked = "keyword", n(B);
367
- }
368
- function Kr(r) {
369
- return r == ":" ? n(a, w) : o(I, l(";"), a);
370
- }
371
- function Ur(r) {
372
- if (r == "variable")
373
- return i.marked = "property", n();
374
- }
375
- function C(r, e) {
376
- if (r == "async")
377
- return i.marked = "property", n(C);
378
- if (r == "variable" || i.style == "keyword") {
379
- if (i.marked = "property", e == "get" || e == "set") return n(Gr);
380
- var t;
381
- return k && i.state.fatArrowAt == i.stream.start && (t = i.stream.match(/^\s*:\s*/, !1)) && (i.state.fatArrowAt = i.stream.pos + t[0].length), n($);
382
- } else {
383
- if (r == "number" || r == "string")
384
- return i.marked = ur ? "property" : i.style + " property", n($);
385
- if (r == "jsonld-keyword")
386
- return n($);
387
- if (k && X(e))
388
- return i.marked = "keyword", n(C);
389
- if (r == "[")
390
- return n(p, F, l("]"), $);
391
- if (r == "spread")
392
- return n(g, $);
393
- if (e == "*")
394
- return i.marked = "keyword", n(C);
395
- if (r == ":")
396
- return o($);
397
- }
398
- }
399
- function Gr(r) {
400
- return r != "variable" ? o($) : (i.marked = "property", n(_));
401
- }
402
- function $(r) {
403
- if (r == ":") return n(g);
404
- if (r == "(") return o(_);
405
- }
406
- function h(r, e, t) {
407
- function f(u, c) {
408
- if (t ? t.indexOf(u) > -1 : u == ",") {
409
- var m = i.state.lexical;
410
- return m.info == "call" && (m.pos = (m.pos || 0) + 1), n(function(y, v) {
411
- return y == e || v == e ? o() : o(r);
412
- }, f);
413
- }
414
- return u == e || c == e ? n() : t && t.indexOf(";") > -1 ? o(r) : n(l(e));
415
- }
416
- return function(u, c) {
417
- return u == e || c == e ? n() : o(r, f);
418
- };
419
- }
420
- function R(r, e, t) {
421
- for (var f = 3; f < arguments.length; f++)
422
- i.cc.push(arguments[f]);
423
- return n(s(e, t), h(r, e), a);
424
- }
425
- function rr(r) {
426
- return r == "}" ? n() : o(w, rr);
427
- }
428
- function F(r, e) {
429
- if (k) {
430
- if (r == ":") return n(d);
431
- if (e == "?") return n(F);
432
- }
433
- }
434
- function Hr(r, e) {
435
- if (k && (r == ":" || e == "in")) return n(d);
436
- }
437
- function Vr(r) {
438
- if (k && r == ":")
439
- return i.stream.match(/^\s*\w+\s+is\b/, !1) ? n(p, Xr, d) : n(d);
440
- }
441
- function Xr(r, e) {
442
- if (e == "is")
443
- return i.marked = "keyword", n();
444
- }
445
- function d(r, e) {
446
- if (e == "keyof" || e == "typeof" || e == "infer" || e == "readonly")
447
- return i.marked = "keyword", n(e == "typeof" ? g : d);
448
- if (r == "variable" || e == "void")
449
- return i.marked = "type", n(A);
450
- if (e == "|" || e == "&") return n(d);
451
- if (r == "string" || r == "number" || r == "atom") return n(A);
452
- if (r == "[") return n(s("]"), h(d, "]", ","), a, A);
453
- if (r == "{") return n(s("}"), lr, a, A);
454
- if (r == "(") return n(h(dr, ")"), Yr, A);
455
- if (r == "<") return n(h(d, ">"), d);
456
- if (r == "quasi") return o(cr, A);
457
- }
458
- function Yr(r) {
459
- if (r == "=>") return n(d);
460
- }
461
- function lr(r) {
462
- return r.match(/[\}\)\]]/) ? n() : r == "," || r == ";" ? n(lr) : o(W, lr);
463
- }
464
- function W(r, e) {
465
- if (r == "variable" || i.style == "keyword")
466
- return i.marked = "property", n(W);
467
- if (e == "?" || r == "number" || r == "string")
468
- return n(W);
469
- if (r == ":")
470
- return n(d);
471
- if (r == "[")
472
- return n(l("variable"), Hr, l("]"), W);
473
- if (r == "(")
474
- return o(M, W);
475
- if (!r.match(/[;\}\)\],]/))
476
- return n();
477
- }
478
- function cr(r, e) {
479
- return r != "quasi" ? o() : e.slice(e.length - 2) != "${" ? n(cr) : n(d, Zr);
480
- }
481
- function Zr(r) {
482
- if (r == "}")
483
- return i.marked = "string.special", i.state.tokenize = L, n(cr);
484
- }
485
- function dr(r, e) {
486
- return r == "variable" && i.stream.match(/^\s*[?:]/, !1) || e == "?" ? n(dr) : r == ":" ? n(d) : r == "spread" ? n(dr) : o(d);
487
- }
488
- function A(r, e) {
489
- if (e == "<") return n(s(">"), h(d, ">"), a, A);
490
- if (e == "|" || r == "." || e == "&") return n(d);
491
- if (r == "[") return n(d, l("]"), A);
492
- if (e == "extends" || e == "implements")
493
- return i.marked = "keyword", n(d);
494
- if (e == "?") return n(d, l(":"), d);
495
- }
496
- function Cr(r, e) {
497
- if (e == "<") return n(s(">"), h(d, ">"), a, A);
498
- }
499
- function er() {
500
- return o(d, re);
501
- }
502
- function re(r, e) {
503
- if (e == "=") return n(d);
504
- }
505
- function mr(r, e) {
506
- return e == "enum" ? (i.marked = "keyword", n($r)) : o(V, F, z, ne);
507
- }
508
- function V(r, e) {
509
- if (k && X(e))
510
- return i.marked = "keyword", n(V);
511
- if (r == "variable")
512
- return q(e), n();
513
- if (r == "spread") return n(V);
514
- if (r == "[") return R(ee, "]");
515
- if (r == "{") return R(Ar, "}");
516
- }
517
- function Ar(r, e) {
518
- return r == "variable" && !i.stream.match(/^\s*:/, !1) ? (q(e), n(z)) : (r == "variable" && (i.marked = "property"), r == "spread" ? n(V) : r == "}" ? o() : r == "[" ? n(p, l("]"), l(":"), Ar) : n(l(":"), V, z));
519
- }
520
- function ee() {
521
- return o(V, z);
522
- }
523
- function z(r, e) {
524
- if (e == "=") return n(g);
525
- }
526
- function ne(r) {
527
- if (r == ",") return n(mr);
528
- }
529
- function jr(r, e) {
530
- if (r == "keyword b" && e == "else") return n(s("form", "else"), w, a);
531
- }
532
- function zr(r, e) {
533
- if (e == "await") return n(zr);
534
- if (r == "(") return n(s(")"), te, a);
535
- }
536
- function te(r) {
537
- return r == "var" ? n(mr, J) : r == "variable" ? n(J) : o(J);
538
- }
539
- function J(r, e) {
540
- return r == ")" ? n() : r == ";" ? n(J) : e == "in" || e == "of" ? (i.marked = "keyword", n(p, J)) : o(p, J);
541
- }
542
- function _(r, e) {
543
- if (e == "*")
544
- return i.marked = "keyword", n(_);
545
- if (r == "variable")
546
- return q(e), n(_);
547
- if (r == "(") return n(E, s(")"), h(O, ")"), a, Vr, w, T);
548
- if (k && e == "<") return n(s(">"), h(er, ">"), a, _);
549
- }
550
- function M(r, e) {
551
- if (e == "*")
552
- return i.marked = "keyword", n(M);
553
- if (r == "variable")
554
- return q(e), n(M);
555
- if (r == "(") return n(E, s(")"), h(O, ")"), a, Vr, T);
556
- if (k && e == "<") return n(s(">"), h(er, ">"), a, M);
557
- }
558
- function _r(r, e) {
559
- if (r == "keyword" || r == "variable")
560
- return i.marked = "type", n(_r);
561
- if (e == "<")
562
- return n(s(">"), h(er, ">"), a);
563
- }
564
- function O(r, e) {
565
- return e == "@" && n(p, O), r == "spread" ? n(O) : k && X(e) ? (i.marked = "keyword", n(O)) : k && r == "this" ? n(F, z) : o(V, F, z);
566
- }
567
- function ie(r, e) {
568
- return r == "variable" ? Sr(r, e) : nr(r, e);
569
- }
570
- function Sr(r, e) {
571
- if (r == "variable")
572
- return q(e), n(nr);
573
- }
574
- function nr(r, e) {
575
- if (e == "<") return n(s(">"), h(er, ">"), a, nr);
576
- if (e == "extends" || e == "implements" || k && r == ",")
577
- return e == "implements" && (i.marked = "keyword"), n(k ? d : p, nr);
578
- if (r == "{") return n(s("}"), j, a);
579
- }
580
- function j(r, e) {
581
- if (r == "async" || r == "variable" && (e == "static" || e == "get" || e == "set" || k && X(e)) && i.stream.match(/^\s+#?[\w$\xa1-\uffff]/, !1))
582
- return i.marked = "keyword", n(j);
583
- if (r == "variable" || i.style == "keyword")
584
- return i.marked = "property", n(tr, j);
585
- if (r == "number" || r == "string") return n(tr, j);
586
- if (r == "[")
587
- return n(p, F, l("]"), tr, j);
588
- if (e == "*")
589
- return i.marked = "keyword", n(j);
590
- if (k && r == "(") return o(M, j);
591
- if (r == ";" || r == ",") return n(j);
592
- if (r == "}") return n();
593
- if (e == "@") return n(p, j);
594
- }
595
- function tr(r, e) {
596
- if (e == "!" || e == "?") return n(tr);
597
- if (r == ":") return n(d, z);
598
- if (e == "=") return n(g);
599
- var t = i.state.lexical.prev, f = t && t.info == "interface";
600
- return o(f ? M : _);
601
- }
602
- function fe(r, e) {
603
- return e == "*" ? (i.marked = "keyword", n(kr, l(";"))) : e == "default" ? (i.marked = "keyword", n(p, l(";"))) : r == "{" ? n(h(Er, "}"), kr, l(";")) : o(w);
604
- }
605
- function Er(r, e) {
606
- if (e == "as")
607
- return i.marked = "keyword", n(l("variable"));
608
- if (r == "variable") return o(g, Er);
609
- }
610
- function ue(r) {
611
- return r == "string" ? n() : r == "(" ? o(p) : r == "." ? o(I) : o(ir, Ir, kr);
612
- }
613
- function ir(r, e) {
614
- return r == "{" ? R(ir, "}") : (r == "variable" && q(e), e == "*" && (i.marked = "keyword"), n(ae));
615
- }
616
- function Ir(r) {
617
- if (r == ",") return n(ir, Ir);
618
- }
619
- function ae(r, e) {
620
- if (e == "as")
621
- return i.marked = "keyword", n(ir);
622
- }
623
- function kr(r, e) {
624
- if (e == "from")
625
- return i.marked = "keyword", n(p);
626
- }
627
- function oe(r) {
628
- return r == "]" ? n() : o(h(g, "]"));
629
- }
630
- function $r() {
631
- return o(s("form"), V, l("{"), s("}"), h(se, "}"), a, a);
632
- }
633
- function se() {
634
- return o(V, z);
635
- }
636
- function le(r, e) {
637
- return r.lastType == "operator" || r.lastType == "," || hr.test(e.charAt(0)) || /[,.]/.test(e.charAt(0));
638
- }
639
- function ce(r, e, t) {
640
- return e.tokenize == S && /^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType) || e.lastType == "quasi" && /\{\s*$/.test(r.string.slice(0, r.pos - t));
641
- }
642
- return {
643
- name: x.name,
644
- startState: function(r) {
645
- var e = {
646
- tokenize: S,
647
- lastType: "sof",
648
- cc: [],
649
- lexical: new xr(-r, 0, "block", !1),
650
- localVars: x.localVars,
651
- context: x.localVars && new P(null, null, !1),
652
- indented: 0
653
- };
654
- return x.globalVars && typeof x.globalVars == "object" && (e.globalVars = x.globalVars), e;
655
- },
656
- token: function(r, e) {
657
- if (r.sol() && (e.lexical.hasOwnProperty("align") || (e.lexical.align = !1), e.indented = r.indentation(), ar(r, e)), e.tokenize != H && r.eatSpace()) return null;
658
- var t = e.tokenize(r, e);
659
- return D == "comment" ? t : (e.lastType = D == "operator" && (G == "++" || G == "--") ? "incdec" : D, Mr(e, t, D, G, r));
660
- },
661
- indent: function(r, e, t) {
662
- if (r.tokenize == H || r.tokenize == L) return null;
663
- if (r.tokenize != S) return 0;
664
- var f = e && e.charAt(0), u = r.lexical, c;
665
- if (!/^\s*else\b/.test(e)) for (var m = r.cc.length - 1; m >= 0; --m) {
666
- var y = r.cc[m];
667
- if (y == a) u = u.prev;
668
- else if (y != jr && y != T) break;
669
- }
670
- for (; (u.type == "stat" || u.type == "form") && (f == "}" || (c = r.cc[r.cc.length - 1]) && (c == I || c == B) && !/^[,\.=+\-*:?[\(]/.test(e)); )
671
- u = u.prev;
672
- pr && u.type == ")" && u.prev.type == "stat" && (u = u.prev);
673
- var v = u.type, K = f == v;
674
- return v == "vardef" ? u.indented + (r.lastType == "operator" || r.lastType == "," ? u.info.length + 1 : 0) : v == "form" && f == "{" ? u.indented : v == "form" ? u.indented + t.unit : v == "stat" ? u.indented + (le(r, e) ? pr || t.unit : 0) : u.info == "switch" && !K && x.doubleIndentSwitch != !1 ? u.indented + (/^(?:case|default)\b/.test(e) ? t.unit : 2 * t.unit) : u.align ? u.column + (K ? 0 : 1) : u.indented + (K ? 0 : t.unit);
675
- },
676
- languageData: {
677
- indentOnInput: /^\s*(?:case .*?:|default:|\{|\})$/,
678
- commentTokens: br ? void 0 : { line: "//", block: { open: "/*", close: "*/" } },
679
- closeBrackets: { brackets: ["(", "[", "{", "'", '"', "`"] },
680
- wordChars: "$"
681
- }
682
- };
683
- }
684
- const de = fr({ name: "javascript" }), me = fr({ name: "json", json: !0 }), ke = fr({ name: "json", jsonld: !0 }), pe = fr({ name: "typescript", typescript: !0 });
685
- export {
686
- de as javascript,
687
- me as json,
688
- ke as jsonld,
689
- pe as typescript
690
- };