@openziti/ziti-console-lib 0.12.10 → 1.0.0

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 (445) hide show
  1. package/assets/fonts/icomoon.eot +0 -0
  2. package/assets/fonts/icomoon.svg +6 -1
  3. package/assets/fonts/icomoon.ttf +0 -0
  4. package/assets/fonts/icomoon.woff +0 -0
  5. package/assets/fonts/icomoon.woff2 +0 -0
  6. package/assets/styles/global.scss +431 -24
  7. package/assets/styles/icons.scss +644 -0
  8. package/assets/svgs/Icon_Log_Logout.svg +43 -0
  9. package/assets/svgs/clients.svg +6 -0
  10. package/assets/svgs/identity-marker.svg +8 -0
  11. package/assets/svgs/router-marker.svg +7 -0
  12. package/assets/svgs/ziti-logo.svg +23 -0
  13. package/esm2022/lib/ZAC_VERSION.mjs +4 -0
  14. package/esm2022/lib/default-app-config.mjs +5 -0
  15. package/esm2022/lib/features/card/card.component.mjs +4 -5
  16. package/esm2022/lib/features/card-list/card-list.component.mjs +2 -4
  17. package/esm2022/lib/features/config-editor/config-editor.component.mjs +2 -3
  18. package/esm2022/lib/features/confirm/confirm.component.mjs +4 -5
  19. package/esm2022/lib/features/creation-summary-dialog/creation-summary-dialog.component.mjs +2 -3
  20. package/esm2022/lib/features/custom-tags/custom-tags.component.mjs +4 -5
  21. package/esm2022/lib/features/data-table/cells/table-cell-menu/table-cell-menu.component.mjs +2 -3
  22. package/esm2022/lib/features/data-table/cells/table-cell-name/table-cell-name.component.mjs +2 -3
  23. package/esm2022/lib/features/data-table/cells/table-cell-select/table-cell-select.component.mjs +4 -5
  24. package/esm2022/lib/features/data-table/cells/table-cell-token/table-cell-token.component.mjs +2 -3
  25. package/esm2022/lib/features/data-table/column-headers/table-column-default/table-column-default.component.mjs +2 -3
  26. package/esm2022/lib/features/data-table/column-headers/table-column-filter/table-column-filter.component.mjs +2 -3
  27. package/esm2022/lib/features/data-table/column-headers/table-column-menu/table-column-menu.component.mjs +2 -3
  28. package/esm2022/lib/features/data-table/column-headers/table-column-select/table-column-select.component.mjs +4 -5
  29. package/esm2022/lib/features/data-table/data-table-filter.service.mjs +2 -3
  30. package/esm2022/lib/features/data-table/data-table.component.mjs +4 -5
  31. package/esm2022/lib/features/data-table/data-table.service.mjs +2 -3
  32. package/esm2022/lib/features/data-table/table-filter-bar/filter-bar.component.mjs +4 -5
  33. package/esm2022/lib/features/data-table/table-hidden-columns-bar/hidden-columns-bar.component.mjs +2 -3
  34. package/esm2022/lib/features/data-table/tooltips/os-tooltip.component.mjs +2 -3
  35. package/esm2022/lib/features/data-table/tooltips/sdk-tooltip.component.mjs +2 -3
  36. package/esm2022/lib/features/dynamic-widgets/boolean/boolean-toggle-input.component.mjs +2 -3
  37. package/esm2022/lib/features/dynamic-widgets/checkbox-list/checkbox-list-input.component.mjs +2 -3
  38. package/esm2022/lib/features/dynamic-widgets/forwarding-config/forwarding-config.component.mjs +2 -3
  39. package/esm2022/lib/features/dynamic-widgets/forwarding-config/forwarding-config.service.mjs +2 -3
  40. package/esm2022/lib/features/dynamic-widgets/number/number-input.component.mjs +2 -3
  41. package/esm2022/lib/features/dynamic-widgets/object/object.component.mjs +4 -5
  42. package/esm2022/lib/features/dynamic-widgets/password/password-input.component.mjs +2 -3
  43. package/esm2022/lib/features/dynamic-widgets/port-ranges/port-ranges.component.mjs +2 -3
  44. package/esm2022/lib/features/dynamic-widgets/protocol-address-port/protocol-address-port-input.component.mjs +2 -3
  45. package/esm2022/lib/features/dynamic-widgets/selector/selector-input.component.mjs +2 -3
  46. package/esm2022/lib/features/dynamic-widgets/string/string-input.component.mjs +2 -3
  47. package/esm2022/lib/features/dynamic-widgets/text-list/text-list-input.component.mjs +2 -3
  48. package/esm2022/lib/features/extendable/extendable.component.mjs +2 -3
  49. package/esm2022/lib/features/extendable/extensions-noop.service.mjs +3 -3
  50. package/esm2022/lib/features/header-bar/header-bar.component.mjs +105 -0
  51. package/esm2022/lib/features/json-view/json-view.component.mjs +4 -5
  52. package/esm2022/lib/features/list-page-features/list-page-form/list-page-form.component.mjs +2 -3
  53. package/esm2022/lib/features/list-page-features/list-page-header/list-page-header.component.mjs +4 -5
  54. package/esm2022/lib/features/loading-indicator/loading-indicator.component.mjs +2 -3
  55. package/esm2022/lib/features/login/login-dialog.component.mjs +10 -12
  56. package/esm2022/lib/features/messaging/growler.component.mjs +4 -5
  57. package/esm2022/lib/features/messaging/growler.module.mjs +2 -3
  58. package/esm2022/lib/features/messaging/growler.service.mjs +2 -3
  59. package/esm2022/lib/features/messaging/logger.service.mjs +2 -3
  60. package/esm2022/lib/features/multi-action-button/multi-action-button.component.mjs +2 -3
  61. package/esm2022/lib/features/no-items/no-items.component.mjs +2 -3
  62. package/esm2022/lib/features/overrides/overrides.component.mjs +2 -3
  63. package/esm2022/lib/features/overrides/overrides.service.mjs +2 -3
  64. package/esm2022/lib/features/preview-list/preview-list.component.mjs +4 -5
  65. package/esm2022/lib/features/preview-selections/preview-selections.component.mjs +2 -3
  66. package/esm2022/lib/features/progress-meter/progress-meter.component.mjs +2 -3
  67. package/esm2022/lib/features/progress-wizard/progress-wizard.component.mjs +2 -3
  68. package/esm2022/lib/features/projectable-forms/api-session/api-session-form.component.mjs +5 -9
  69. package/esm2022/lib/features/projectable-forms/api-session/api-session-form.service.mjs +2 -3
  70. package/esm2022/lib/features/projectable-forms/auth-policy/auth-policy-form.component.mjs +5 -9
  71. package/esm2022/lib/features/projectable-forms/auth-policy/auth-policy-form.service.mjs +2 -3
  72. package/esm2022/lib/features/projectable-forms/certificate-authority/certificate-authority-form.component.mjs +5 -9
  73. package/esm2022/lib/features/projectable-forms/certificate-authority/certificate-authority-form.service.mjs +2 -3
  74. package/esm2022/lib/features/projectable-forms/certificate-authority/verify-certificate/verify-certificate.component.mjs +4 -8
  75. package/esm2022/lib/features/projectable-forms/certificate-authority/verify-certificate/verify-certificate.service.mjs +2 -3
  76. package/esm2022/lib/features/projectable-forms/config-type/config-type-form.component.mjs +5 -9
  77. package/esm2022/lib/features/projectable-forms/config-type/config-type-form.service.mjs +2 -3
  78. package/esm2022/lib/features/projectable-forms/configuration/configuration-form.component.mjs +5 -9
  79. package/esm2022/lib/features/projectable-forms/configuration/configuration.service.mjs +2 -3
  80. package/esm2022/lib/features/projectable-forms/edge-router/edge-router-form.component.mjs +34 -26
  81. package/esm2022/lib/features/projectable-forms/edge-router/edge-router-form.service.mjs +2 -3
  82. package/esm2022/lib/features/projectable-forms/edge-router-policy/edge-router-policy-form.component.mjs +8 -12
  83. package/esm2022/lib/features/projectable-forms/edge-router-policy/edge-router-policy-form.service.mjs +2 -3
  84. package/esm2022/lib/features/projectable-forms/form-field-container/form-field-container.component.mjs +4 -5
  85. package/esm2022/lib/features/projectable-forms/form-field-toggle/form-field-toggle.component.mjs +4 -5
  86. package/esm2022/lib/features/projectable-forms/form-header/form-header.component.mjs +4 -5
  87. package/esm2022/lib/features/projectable-forms/identity/identity-form.component.mjs +25 -21
  88. package/esm2022/lib/features/projectable-forms/identity/identity-form.service.mjs +2 -3
  89. package/esm2022/lib/features/projectable-forms/jwt-signer/jwt-signer-form.component.mjs +5 -12
  90. package/esm2022/lib/features/projectable-forms/jwt-signer/jwt-signer-form.service.mjs +2 -3
  91. package/esm2022/lib/features/projectable-forms/posture-check/posture-check-form.component.mjs +5 -9
  92. package/esm2022/lib/features/projectable-forms/posture-check/posture-check-form.service.mjs +2 -3
  93. package/esm2022/lib/features/projectable-forms/projectable-form.class.mjs +36 -74
  94. package/esm2022/lib/features/projectable-forms/service/service-form.component.mjs +6 -9
  95. package/esm2022/lib/features/projectable-forms/service/service-form.service.mjs +2 -3
  96. package/esm2022/lib/features/projectable-forms/service/simple-service/simple-service.component.mjs +57 -19
  97. package/esm2022/lib/features/projectable-forms/service-edge-router-policy/service-edge-router-policy-form.component.mjs +8 -12
  98. package/esm2022/lib/features/projectable-forms/service-edge-router-policy/service-edge-router-policy-form.service.mjs +2 -3
  99. package/esm2022/lib/features/projectable-forms/service-policy/service-policy-form.component.mjs +8 -12
  100. package/esm2022/lib/features/projectable-forms/service-policy/service-policy-form.service.mjs +3 -4
  101. package/esm2022/lib/features/projectable-forms/session/session-form.component.mjs +5 -9
  102. package/esm2022/lib/features/projectable-forms/session/session-form.service.mjs +2 -3
  103. package/esm2022/lib/features/projectable-forms/terminator/terminator-form.component.mjs +4 -8
  104. package/esm2022/lib/features/projectable-forms/terminator/terminator-form.service.mjs +2 -3
  105. package/esm2022/lib/features/projectable-forms/transit-router/transit-router-form.component.mjs +7 -11
  106. package/esm2022/lib/features/projectable-forms/transit-router/transit-router-form.service.mjs +2 -3
  107. package/esm2022/lib/features/qr-code/qr-code.component.mjs +4 -5
  108. package/esm2022/lib/features/quick-add/quick-add.component.mjs +50 -0
  109. package/esm2022/lib/features/reset-enrollment/reset-enrollment.component.mjs +4 -5
  110. package/esm2022/lib/features/reset-enrollment/reset-enrollment.service.mjs +2 -3
  111. package/esm2022/lib/features/side-modal/side-modal.component.mjs +2 -3
  112. package/esm2022/lib/features/side-navigator/side-navigator.component.mjs +127 -0
  113. package/esm2022/lib/features/sidebars/side-navbar/side-navbar.component.mjs +4 -5
  114. package/esm2022/lib/features/tag-selector/tag-selector.component.mjs +2 -3
  115. package/esm2022/lib/features/visualizer/identity-service-path/identity-service-path.component.mjs +2 -3
  116. package/esm2022/lib/features/visualizer/identity-service-path/identity-service-path.helper.mjs +2 -3
  117. package/esm2022/lib/features/visualizer/network-visualizer/network-visualizer.component.mjs +2 -3
  118. package/esm2022/lib/features/visualizer/network-visualizer/network-visualizer.helper.mjs +2 -3
  119. package/esm2022/lib/features/visualizer/network-visualizer/network-visualizer.treenodeprocessor.mjs +2 -3
  120. package/esm2022/lib/features/visualizer/visualizer-service.class.mjs +2 -3
  121. package/esm2022/lib/pages/api-sessions/api-sessions-page.component.mjs +2 -3
  122. package/esm2022/lib/pages/api-sessions/api-sessions-page.service.mjs +2 -3
  123. package/esm2022/lib/pages/attributes/attributes.component.mjs +104 -0
  124. package/esm2022/lib/pages/auth-policies/auth-policies-page.component.mjs +2 -3
  125. package/esm2022/lib/pages/auth-policies/auth-policies-page.service.mjs +6 -6
  126. package/esm2022/lib/pages/callback/callback.component.mjs +2 -3
  127. package/esm2022/lib/pages/certificate-authorities/certificate-authorities-page.component.mjs +2 -3
  128. package/esm2022/lib/pages/certificate-authorities/certificate-authorities-page.service.mjs +2 -3
  129. package/esm2022/lib/pages/config-types/config-types-page.component.mjs +2 -3
  130. package/esm2022/lib/pages/config-types/config-types-page.service.mjs +2 -3
  131. package/esm2022/lib/pages/configurations/configurations-page.component.mjs +2 -3
  132. package/esm2022/lib/pages/configurations/configurations-page.service.mjs +2 -3
  133. package/esm2022/lib/pages/edge-router-policies/edge-router-policies-page.component.mjs +6 -13
  134. package/esm2022/lib/pages/edge-router-policies/edge-router-policies-page.service.mjs +2 -3
  135. package/esm2022/lib/pages/edge-routers/edge-routers-page.component.mjs +5 -16
  136. package/esm2022/lib/pages/edge-routers/edge-routers-page.service.mjs +2 -4
  137. package/esm2022/lib/pages/geolocate/geolocate.component.mjs +130 -0
  138. package/esm2022/lib/pages/identities/identities-page.component.mjs +5 -16
  139. package/esm2022/lib/pages/identities/identities-page.service.mjs +2 -3
  140. package/esm2022/lib/pages/jwt-signers/jwt-signers-page.component.mjs +2 -3
  141. package/esm2022/lib/pages/jwt-signers/jwt-signers-page.service.mjs +2 -3
  142. package/esm2022/lib/pages/posture-checks/posture-checks-page.component.mjs +3 -4
  143. package/esm2022/lib/pages/posture-checks/posture-checks-page.service.mjs +2 -3
  144. package/esm2022/lib/pages/profile/profile.component.mjs +58 -0
  145. package/esm2022/lib/pages/service-edge-router-policies/service-edge-router-policies-page.component.mjs +6 -13
  146. package/esm2022/lib/pages/service-edge-router-policies/service-edge-router-policies-page.service.mjs +2 -3
  147. package/esm2022/lib/pages/service-policies/service-policies-page.component.mjs +6 -13
  148. package/esm2022/lib/pages/service-policies/service-policies-page.service.mjs +2 -3
  149. package/esm2022/lib/pages/services/services-page.component.mjs +6 -13
  150. package/esm2022/lib/pages/services/services-page.service.mjs +2 -3
  151. package/esm2022/lib/pages/sessions/sessions-page.component.mjs +2 -3
  152. package/esm2022/lib/pages/sessions/sessions-page.service.mjs +2 -3
  153. package/esm2022/lib/pages/settings/settings.component.mjs +61 -0
  154. package/esm2022/lib/pages/terminators/terminators-page.component.mjs +3 -4
  155. package/esm2022/lib/pages/terminators/terminators-page.service.mjs +2 -3
  156. package/esm2022/lib/pages/transit-routers/transit-routers-page.component.mjs +5 -16
  157. package/esm2022/lib/pages/transit-routers/transit-routers-page.service.mjs +2 -3
  158. package/esm2022/lib/safe.pipe.mjs +2 -3
  159. package/esm2022/lib/services/auth.service.mjs +2 -3
  160. package/esm2022/lib/services/console-events.service.mjs +2 -14
  161. package/esm2022/lib/services/csv-download.service.mjs +2 -3
  162. package/esm2022/lib/services/deactivate-guard.service.mjs +2 -3
  163. package/esm2022/lib/services/login-service.class.mjs +2 -3
  164. package/esm2022/lib/services/node-data.service.mjs +24 -3
  165. package/esm2022/lib/services/noop-login.service.mjs +2 -3
  166. package/esm2022/lib/services/schema.service.mjs +2 -3
  167. package/esm2022/lib/services/settings-service.class.mjs +5 -18
  168. package/esm2022/lib/services/settings.service.mjs +14 -11
  169. package/esm2022/lib/services/tab-name.service.mjs +9 -6
  170. package/esm2022/lib/services/validation.service.mjs +2 -3
  171. package/esm2022/lib/services/ziti-controller-data.service.mjs +18 -3
  172. package/esm2022/lib/services/ziti-data.service.mjs +2 -3
  173. package/esm2022/lib/shared/list-page-component.class.mjs +6 -3
  174. package/esm2022/lib/shared/list-page-service.class.mjs +2 -3
  175. package/esm2022/lib/zac-routing.module.mjs +3 -10
  176. package/esm2022/lib/ziti-console-lib.module.mjs +43 -24
  177. package/esm2022/lib/ziti-console.constants.mjs +2 -1
  178. package/esm2022/public-api.mjs +9 -8
  179. package/fesm2022/openziti-ziti-console-lib.mjs +3535 -4325
  180. package/fesm2022/openziti-ziti-console-lib.mjs.map +1 -1
  181. package/lib/ZAC_VERSION.d.ts +4 -0
  182. package/lib/ZAC_VERSION.d.ts.map +1 -0
  183. package/lib/default-app-config.d.ts +9 -0
  184. package/lib/default-app-config.d.ts.map +1 -0
  185. package/lib/features/card-list/card-list.component.d.ts +0 -1
  186. package/lib/features/card-list/card-list.component.d.ts.map +1 -1
  187. package/lib/features/extendable/extensions-noop.service.d.ts +2 -0
  188. package/lib/features/extendable/extensions-noop.service.d.ts.map +1 -1
  189. package/lib/features/header-bar/header-bar.component.d.ts +29 -0
  190. package/lib/features/header-bar/header-bar.component.d.ts.map +1 -0
  191. package/lib/features/login/login-dialog.component.d.ts +2 -1
  192. package/lib/features/login/login-dialog.component.d.ts.map +1 -1
  193. package/lib/features/projectable-forms/api-session/api-session-form.component.d.ts +1 -2
  194. package/lib/features/projectable-forms/api-session/api-session-form.component.d.ts.map +1 -1
  195. package/lib/features/projectable-forms/auth-policy/auth-policy-form.component.d.ts +1 -2
  196. package/lib/features/projectable-forms/auth-policy/auth-policy-form.component.d.ts.map +1 -1
  197. package/lib/features/projectable-forms/certificate-authority/certificate-authority-form.component.d.ts +1 -2
  198. package/lib/features/projectable-forms/certificate-authority/certificate-authority-form.component.d.ts.map +1 -1
  199. package/lib/features/projectable-forms/certificate-authority/verify-certificate/verify-certificate.component.d.ts +1 -2
  200. package/lib/features/projectable-forms/certificate-authority/verify-certificate/verify-certificate.component.d.ts.map +1 -1
  201. package/lib/features/projectable-forms/config-type/config-type-form.component.d.ts +1 -2
  202. package/lib/features/projectable-forms/config-type/config-type-form.component.d.ts.map +1 -1
  203. package/lib/features/projectable-forms/configuration/configuration-form.component.d.ts +1 -2
  204. package/lib/features/projectable-forms/configuration/configuration-form.component.d.ts.map +1 -1
  205. package/lib/features/projectable-forms/edge-router/edge-router-form.component.d.ts +6 -3
  206. package/lib/features/projectable-forms/edge-router/edge-router-form.component.d.ts.map +1 -1
  207. package/lib/features/projectable-forms/edge-router-policy/edge-router-policy-form.component.d.ts +1 -2
  208. package/lib/features/projectable-forms/edge-router-policy/edge-router-policy-form.component.d.ts.map +1 -1
  209. package/lib/features/projectable-forms/identity/identity-form.component.d.ts +2 -2
  210. package/lib/features/projectable-forms/identity/identity-form.component.d.ts.map +1 -1
  211. package/lib/features/projectable-forms/jwt-signer/jwt-signer-form.component.d.ts +1 -2
  212. package/lib/features/projectable-forms/jwt-signer/jwt-signer-form.component.d.ts.map +1 -1
  213. package/lib/features/projectable-forms/posture-check/posture-check-form.component.d.ts +1 -2
  214. package/lib/features/projectable-forms/posture-check/posture-check-form.component.d.ts.map +1 -1
  215. package/lib/features/projectable-forms/projectable-form.class.d.ts +11 -7
  216. package/lib/features/projectable-forms/projectable-form.class.d.ts.map +1 -1
  217. package/lib/features/projectable-forms/service/service-form.component.d.ts +0 -1
  218. package/lib/features/projectable-forms/service/service-form.component.d.ts.map +1 -1
  219. package/lib/features/projectable-forms/service/simple-service/simple-service.component.d.ts +9 -2
  220. package/lib/features/projectable-forms/service/simple-service/simple-service.component.d.ts.map +1 -1
  221. package/lib/features/projectable-forms/service-edge-router-policy/service-edge-router-policy-form.component.d.ts +1 -2
  222. package/lib/features/projectable-forms/service-edge-router-policy/service-edge-router-policy-form.component.d.ts.map +1 -1
  223. package/lib/features/projectable-forms/service-policy/service-policy-form.component.d.ts +1 -2
  224. package/lib/features/projectable-forms/service-policy/service-policy-form.component.d.ts.map +1 -1
  225. package/lib/features/projectable-forms/session/session-form.component.d.ts +1 -2
  226. package/lib/features/projectable-forms/session/session-form.component.d.ts.map +1 -1
  227. package/lib/features/projectable-forms/terminator/terminator-form.component.d.ts +1 -2
  228. package/lib/features/projectable-forms/terminator/terminator-form.component.d.ts.map +1 -1
  229. package/lib/features/projectable-forms/transit-router/transit-router-form.component.d.ts +1 -2
  230. package/lib/features/projectable-forms/transit-router/transit-router-form.component.d.ts.map +1 -1
  231. package/lib/features/quick-add/quick-add.component.d.ts +15 -0
  232. package/lib/features/quick-add/quick-add.component.d.ts.map +1 -0
  233. package/lib/features/side-navigator/side-navigator.component.d.ts +33 -0
  234. package/lib/features/side-navigator/side-navigator.component.d.ts.map +1 -0
  235. package/lib/pages/attributes/attributes.component.d.ts +31 -0
  236. package/lib/pages/attributes/attributes.component.d.ts.map +1 -0
  237. package/lib/pages/auth-policies/auth-policies-page.service.d.ts.map +1 -1
  238. package/lib/pages/edge-router-policies/edge-router-policies-page.component.d.ts +1 -3
  239. package/lib/pages/edge-router-policies/edge-router-policies-page.component.d.ts.map +1 -1
  240. package/lib/pages/edge-routers/edge-routers-page.component.d.ts +1 -3
  241. package/lib/pages/edge-routers/edge-routers-page.component.d.ts.map +1 -1
  242. package/lib/pages/edge-routers/edge-routers-page.service.d.ts.map +1 -1
  243. package/lib/pages/geolocate/geolocate.component.d.ts +32 -0
  244. package/lib/pages/geolocate/geolocate.component.d.ts.map +1 -0
  245. package/lib/pages/identities/identities-page.component.d.ts +1 -3
  246. package/lib/pages/identities/identities-page.component.d.ts.map +1 -1
  247. package/lib/pages/profile/profile.component.d.ts +17 -0
  248. package/lib/pages/profile/profile.component.d.ts.map +1 -0
  249. package/lib/pages/service-edge-router-policies/service-edge-router-policies-page.component.d.ts +1 -3
  250. package/lib/pages/service-edge-router-policies/service-edge-router-policies-page.component.d.ts.map +1 -1
  251. package/lib/pages/service-policies/service-policies-page.component.d.ts +1 -3
  252. package/lib/pages/service-policies/service-policies-page.component.d.ts.map +1 -1
  253. package/lib/pages/services/services-page.component.d.ts +1 -3
  254. package/lib/pages/services/services-page.component.d.ts.map +1 -1
  255. package/lib/pages/settings/settings.component.d.ts +23 -0
  256. package/lib/pages/settings/settings.component.d.ts.map +1 -0
  257. package/lib/pages/transit-routers/transit-routers-page.component.d.ts +1 -3
  258. package/lib/pages/transit-routers/transit-routers-page.component.d.ts.map +1 -1
  259. package/lib/services/console-events.service.d.ts.map +1 -1
  260. package/lib/services/node-data.service.d.ts +1 -0
  261. package/lib/services/node-data.service.d.ts.map +1 -1
  262. package/lib/services/settings-service.class.d.ts +0 -2
  263. package/lib/services/settings-service.class.d.ts.map +1 -1
  264. package/lib/services/settings.service.d.ts.map +1 -1
  265. package/lib/services/tab-name.service.d.ts.map +1 -1
  266. package/lib/services/ziti-controller-data.service.d.ts +1 -0
  267. package/lib/services/ziti-controller-data.service.d.ts.map +1 -1
  268. package/lib/services/ziti-data.service.d.ts +1 -0
  269. package/lib/services/ziti-data.service.d.ts.map +1 -1
  270. package/lib/shared/list-page-component.class.d.ts.map +1 -1
  271. package/lib/zac-routing.module.d.ts.map +1 -1
  272. package/lib/ziti-console-lib.module.d.ts +114 -110
  273. package/lib/ziti-console-lib.module.d.ts.map +1 -1
  274. package/lib/ziti-console.constants.d.ts +1 -0
  275. package/lib/ziti-console.constants.d.ts.map +1 -1
  276. package/package.json +1 -1
  277. package/public-api.d.ts +8 -7
  278. package/public-api.d.ts.map +1 -1
  279. package/assets/components/add.html +0 -1
  280. package/assets/components/api.html +0 -12
  281. package/assets/components/customtags.html +0 -4
  282. package/assets/components/line.html +0 -1
  283. package/assets/components/noitems.html +0 -1
  284. package/assets/components/save.html +0 -4
  285. package/assets/components/search.html +0 -8
  286. package/assets/components/tabIdentities.html +0 -5
  287. package/assets/components/tabPolicies.html +0 -7
  288. package/assets/components/tabRouters.html +0 -5
  289. package/assets/components/tabServers.html +0 -4
  290. package/assets/components/tabServices.html +0 -6
  291. package/assets/components/tabSessions.html +0 -4
  292. package/assets/data/mail.json +0 -0
  293. package/assets/data/services.json +0 -6
  294. package/assets/data/site.json +0 -31
  295. package/assets/data/tags.json +0 -7
  296. package/assets/data/templates.json +0 -1
  297. package/assets/fonts/zac.eot +0 -0
  298. package/assets/fonts/zac.svg +0 -57
  299. package/assets/fonts/zac.ttf +0 -0
  300. package/assets/fonts/zac.woff +0 -0
  301. package/assets/fonts/zac.woff2 +0 -0
  302. package/assets/html/api-sessions.htm +0 -152
  303. package/assets/html/attributes.htm +0 -260
  304. package/assets/html/auth-policies.htm +0 -410
  305. package/assets/html/cas.htm +0 -439
  306. package/assets/html/config-types.htm +0 -167
  307. package/assets/html/configs.htm +0 -238
  308. package/assets/html/deprecated/fabric-links.htm +0 -336
  309. package/assets/html/deprecated/fabric-routers.htm +0 -72
  310. package/assets/html/deprecated/fabric-services.htm +0 -494
  311. package/assets/html/identities.htm +0 -934
  312. package/assets/html/index.htm +0 -179
  313. package/assets/html/jwt-signers.htm +0 -260
  314. package/assets/html/known.htm +0 -115
  315. package/assets/html/login.htm +0 -131
  316. package/assets/html/organization.htm +0 -223
  317. package/assets/html/posture-checks.htm +0 -393
  318. package/assets/html/profile.htm +0 -52
  319. package/assets/html/recipes.htm +0 -455
  320. package/assets/html/router-policies.htm +0 -168
  321. package/assets/html/routers.htm +0 -323
  322. package/assets/html/servers.htm +0 -236
  323. package/assets/html/service-policies.htm +0 -197
  324. package/assets/html/service-router-policies.htm +0 -170
  325. package/assets/html/services.htm +0 -634
  326. package/assets/html/sessions.htm +0 -157
  327. package/assets/html/settings.htm +0 -146
  328. package/assets/html/terminators.htm +0 -244
  329. package/assets/html/transit-routers.htm +0 -173
  330. package/assets/resources/avatar/man.svg +0 -78
  331. package/assets/resources/avatar/woman.svg +0 -96
  332. package/assets/resources/icon/analysis.svg +0 -104
  333. package/assets/resources/icon/appwans.svg +0 -20
  334. package/assets/resources/icon/architecture.svg +0 -1
  335. package/assets/resources/icon/bike.svg +0 -94
  336. package/assets/resources/icon/bus.svg +0 -64
  337. package/assets/resources/icon/cas.svg +0 -46
  338. package/assets/resources/icon/clusters.svg +0 -28
  339. package/assets/resources/icon/computer.svg +0 -1
  340. package/assets/resources/icon/data.svg +0 -1
  341. package/assets/resources/icon/delivery-truck.svg +0 -1
  342. package/assets/resources/icon/explosion.svg +0 -81
  343. package/assets/resources/icon/fabricServices.svg +0 -31
  344. package/assets/resources/icon/fabrics.svg +0 -136
  345. package/assets/resources/icon/front.svg +0 -83
  346. package/assets/resources/icon/gateway.svg +0 -49
  347. package/assets/resources/icon/gear.svg +0 -122
  348. package/assets/resources/icon/house.svg +0 -72
  349. package/assets/resources/icon/language.svg +0 -1
  350. package/assets/resources/icon/objective.svg +0 -55
  351. package/assets/resources/icon/route.svg +0 -97
  352. package/assets/resources/icon/routers.svg +0 -27
  353. package/assets/resources/icon/startup.svg +0 -112
  354. package/assets/resources/icon/switch.svg +0 -101
  355. package/assets/scripts/chart.min.js +0 -7
  356. package/assets/scripts/commands.js +0 -112
  357. package/assets/scripts/components/codemirror/codemirror.css +0 -356
  358. package/assets/scripts/components/codemirror/codemirror.js +0 -9741
  359. package/assets/scripts/components/codemirror/modes/addons/closetags.js +0 -200
  360. package/assets/scripts/components/codemirror/modes/addons/colorize.js +0 -40
  361. package/assets/scripts/components/codemirror/modes/addons/css-hint.js +0 -66
  362. package/assets/scripts/components/codemirror/modes/addons/formatting.js +0 -124
  363. package/assets/scripts/components/codemirror/modes/addons/html-hint.js +0 -366
  364. package/assets/scripts/components/codemirror/modes/addons/javascript-hint.js +0 -159
  365. package/assets/scripts/components/codemirror/modes/addons/show-hint.css +0 -36
  366. package/assets/scripts/components/codemirror/modes/addons/show-hint.js +0 -482
  367. package/assets/scripts/components/codemirror/modes/css.js +0 -831
  368. package/assets/scripts/components/codemirror/modes/htmlmixed.js +0 -152
  369. package/assets/scripts/components/codemirror/modes/javascript.js +0 -930
  370. package/assets/scripts/components/codemirror/modes/xml.js +0 -413
  371. package/assets/scripts/components/column.css +0 -184
  372. package/assets/scripts/components/column.js +0 -165
  373. package/assets/scripts/components/flows.css +0 -0
  374. package/assets/scripts/components/flows.js +0 -48
  375. package/assets/scripts/components/moment.js +0 -4602
  376. package/assets/scripts/components/multiselect.js +0 -333
  377. package/assets/scripts/components/resources.js +0 -26
  378. package/assets/scripts/components/selector-new.js +0 -300
  379. package/assets/scripts/components/selector.js +0 -300
  380. package/assets/scripts/components/spectrum.js +0 -2323
  381. package/assets/scripts/components/timezone.js +0 -1545
  382. package/assets/scripts/context.js +0 -177
  383. package/assets/scripts/dragging.js +0 -58
  384. package/assets/scripts/forms/forms.js +0 -74
  385. package/assets/scripts/forms/host.v1.htm +0 -43
  386. package/assets/scripts/forms/intercept.v1.htm +0 -0
  387. package/assets/scripts/forms/schema.js +0 -693
  388. package/assets/scripts/growler.js +0 -137
  389. package/assets/scripts/header.js +0 -163
  390. package/assets/scripts/jquery-3.6.3.min.js +0 -2
  391. package/assets/scripts/jquery.datetimepicker.js +0 -2930
  392. package/assets/scripts/locale.js +0 -47
  393. package/assets/scripts/modal.js +0 -65
  394. package/assets/scripts/model/data.js +0 -558
  395. package/assets/scripts/model/fabric.js +0 -55
  396. package/assets/scripts/model/fabricServices.js +0 -45
  397. package/assets/scripts/model/known.js +0 -43
  398. package/assets/scripts/model/links.js +0 -44
  399. package/assets/scripts/model/routers.js +0 -51
  400. package/assets/scripts/model/series.js +0 -70
  401. package/assets/scripts/model/sessions.js +0 -61
  402. package/assets/scripts/model/settings.js +0 -60
  403. package/assets/scripts/model/summary.js +0 -49
  404. package/assets/scripts/model/tags.js +0 -310
  405. package/assets/scripts/model/templates.js +0 -42
  406. package/assets/scripts/model/user.js +0 -40
  407. package/assets/scripts/restrictions.js +0 -34
  408. package/assets/scripts/service.js +0 -76
  409. package/assets/scripts/validation-tools.js +0 -5119
  410. package/assets/scripts/ziti.js +0 -372
  411. package/assets/styles/chart.min.css +0 -1
  412. package/assets/styles/datetimepicker.css +0 -1
  413. package/assets/styles/forms.css +0 -521
  414. package/assets/styles/growler.css +0 -190
  415. package/assets/styles/header.css +0 -232
  416. package/assets/styles/icons.css +0 -182
  417. package/assets/styles/navigation.css +0 -183
  418. package/assets/styles/select2.css +0 -481
  419. package/assets/styles/spectrum.css +0 -507
  420. package/assets/styles/tables.css +0 -449
  421. package/assets/styles/tooltip.css +0 -134
  422. package/assets/styles/ziti.css +0 -3271
  423. package/assets/templates/footer.htm +0 -183
  424. package/assets/templates/header.htm +0 -297
  425. package/esm2022/lib/features/sidebars/side-banner/side-banner.component.mjs +0 -17
  426. package/esm2022/lib/features/sidebars/side-toolbar/side-toolbar.component.mjs +0 -129
  427. package/esm2022/lib/features/wrappers/node-wrapper.service.mjs +0 -51
  428. package/esm2022/lib/features/wrappers/zac-wrapper-service.class.mjs +0 -95
  429. package/esm2022/lib/features/wrappers/zac-wrapper.component.mjs +0 -148
  430. package/esm2022/lib/features/wrappers/zac-wrapper.service.mjs +0 -981
  431. package/esm2022/lib/version.mjs +0 -4
  432. package/lib/features/sidebars/side-banner/side-banner.component.d.ts +0 -7
  433. package/lib/features/sidebars/side-banner/side-banner.component.d.ts.map +0 -1
  434. package/lib/features/sidebars/side-toolbar/side-toolbar.component.d.ts +0 -34
  435. package/lib/features/sidebars/side-toolbar/side-toolbar.component.d.ts.map +0 -1
  436. package/lib/features/wrappers/node-wrapper.service.d.ts +0 -24
  437. package/lib/features/wrappers/node-wrapper.service.d.ts.map +0 -1
  438. package/lib/features/wrappers/zac-wrapper-service.class.d.ts +0 -38
  439. package/lib/features/wrappers/zac-wrapper-service.class.d.ts.map +0 -1
  440. package/lib/features/wrappers/zac-wrapper.component.d.ts +0 -31
  441. package/lib/features/wrappers/zac-wrapper.component.d.ts.map +0 -1
  442. package/lib/features/wrappers/zac-wrapper.service.d.ts +0 -58
  443. package/lib/features/wrappers/zac-wrapper.service.d.ts.map +0 -1
  444. package/lib/version.d.ts +0 -4
  445. package/lib/version.d.ts.map +0 -1
@@ -1,366 +0,0 @@
1
- /*
2
- Copyright NetFoundry Inc.
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- https://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
16
-
17
- // CodeMirror, copyright (c) by Marijn Haverbeke and others
18
- // Distributed under an MIT license: https://codemirror.net/LICENSE
19
-
20
- (function(mod) {
21
- if (typeof exports == "object" && typeof module == "object") // CommonJS
22
- mod(require("../../lib/codemirror"), require("./xml-hint"));
23
- else if (typeof define == "function" && define.amd) // AMD
24
- define(["../../lib/codemirror", "./xml-hint"], mod);
25
- else // Plain browser env
26
- mod(CodeMirror);
27
- })(function(CodeMirror) {
28
- "use strict";
29
-
30
- var langs = "ab aa af ak sq am ar an hy as av ae ay az bm ba eu be bn bh bi bs br bg my ca ch ce ny zh cv kw co cr hr cs da dv nl dz en eo et ee fo fj fi fr ff gl ka de el gn gu ht ha he hz hi ho hu ia id ie ga ig ik io is it iu ja jv kl kn kr ks kk km ki rw ky kv kg ko ku kj la lb lg li ln lo lt lu lv gv mk mg ms ml mt mi mr mh mn na nv nb nd ne ng nn no ii nr oc oj cu om or os pa pi fa pl ps pt qu rm rn ro ru sa sc sd se sm sg sr gd sn si sk sl so st es su sw ss sv ta te tg th ti bo tk tl tn to tr ts tt tw ty ug uk ur uz ve vi vo wa cy wo fy xh yi yo za zu".split(" ");
31
- var targets = ["_blank", "_self", "_top", "_parent"];
32
- var charsets = ["ascii", "utf-8", "utf-16", "latin1", "latin1"];
33
- var methods = ["get", "post", "put", "delete"];
34
- var encs = ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"];
35
- var media = ["all", "screen", "print", "embossed", "braille", "handheld", "print", "projection", "screen", "tty", "tv", "speech",
36
- "3d-glasses", "resolution [>][<][=] [X]", "device-aspect-ratio: X/Y", "orientation:portrait",
37
- "orientation:landscape", "device-height: [X]", "device-width: [X]"];
38
- var s = { attrs: {} }; // Simple tag, reused for a whole lot of tags
39
-
40
- var data = {
41
- a: {
42
- attrs: {
43
- href: null, ping: null, type: null,
44
- media: media,
45
- target: targets,
46
- hreflang: langs
47
- }
48
- },
49
- abbr: s,
50
- acronym: s,
51
- address: s,
52
- applet: s,
53
- area: {
54
- attrs: {
55
- alt: null, coords: null, href: null, target: null, ping: null,
56
- media: media, hreflang: langs, type: null,
57
- shape: ["default", "rect", "circle", "poly"]
58
- }
59
- },
60
- article: s,
61
- aside: s,
62
- audio: {
63
- attrs: {
64
- src: null, mediagroup: null,
65
- crossorigin: ["anonymous", "use-credentials"],
66
- preload: ["none", "metadata", "auto"],
67
- autoplay: ["", "autoplay"],
68
- loop: ["", "loop"],
69
- controls: ["", "controls"]
70
- }
71
- },
72
- b: s,
73
- base: { attrs: { href: null, target: targets } },
74
- basefont: s,
75
- bdi: s,
76
- bdo: s,
77
- big: s,
78
- blockquote: { attrs: { cite: null } },
79
- body: s,
80
- br: s,
81
- button: {
82
- attrs: {
83
- form: null, formaction: null, name: null, value: null,
84
- autofocus: ["", "autofocus"],
85
- disabled: ["", "autofocus"],
86
- formenctype: encs,
87
- formmethod: methods,
88
- formnovalidate: ["", "novalidate"],
89
- formtarget: targets,
90
- type: ["submit", "reset", "button"]
91
- }
92
- },
93
- canvas: { attrs: { width: null, height: null } },
94
- caption: s,
95
- center: s,
96
- cite: s,
97
- code: s,
98
- col: { attrs: { span: null } },
99
- colgroup: { attrs: { span: null } },
100
- command: {
101
- attrs: {
102
- type: ["command", "checkbox", "radio"],
103
- label: null, icon: null, radiogroup: null, command: null, title: null,
104
- disabled: ["", "disabled"],
105
- checked: ["", "checked"]
106
- }
107
- },
108
- data: { attrs: { value: null } },
109
- datagrid: { attrs: { disabled: ["", "disabled"], multiple: ["", "multiple"] } },
110
- datalist: { attrs: { data: null } },
111
- dd: s,
112
- del: { attrs: { cite: null, datetime: null } },
113
- details: { attrs: { open: ["", "open"] } },
114
- dfn: s,
115
- dir: s,
116
- div: s,
117
- dl: s,
118
- dt: s,
119
- em: s,
120
- embed: { attrs: { src: null, type: null, width: null, height: null } },
121
- eventsource: { attrs: { src: null } },
122
- fieldset: { attrs: { disabled: ["", "disabled"], form: null, name: null } },
123
- figcaption: s,
124
- figure: s,
125
- font: s,
126
- footer: s,
127
- form: {
128
- attrs: {
129
- action: null, name: null,
130
- "accept-charset": charsets,
131
- autocomplete: ["on", "off"],
132
- enctype: encs,
133
- method: methods,
134
- novalidate: ["", "novalidate"],
135
- target: targets
136
- }
137
- },
138
- frame: s,
139
- frameset: s,
140
- h1: s, h2: s, h3: s, h4: s, h5: s, h6: s,
141
- head: {
142
- attrs: {},
143
- children: ["title", "base", "link", "style", "meta", "script", "noscript", "command"]
144
- },
145
- header: s,
146
- hgroup: s,
147
- hr: s,
148
- html: {
149
- attrs: { manifest: null },
150
- children: ["head", "body"]
151
- },
152
- i: s,
153
- iframe: {
154
- attrs: {
155
- src: null, srcdoc: null, name: null, width: null, height: null,
156
- sandbox: ["allow-top-navigation", "allow-same-origin", "allow-forms", "allow-scripts"],
157
- seamless: ["", "seamless"]
158
- }
159
- },
160
- img: {
161
- attrs: {
162
- alt: null, src: null, ismap: null, usemap: null, width: null, height: null,
163
- crossorigin: ["anonymous", "use-credentials"]
164
- }
165
- },
166
- input: {
167
- attrs: {
168
- alt: null, dirname: null, form: null, formaction: null,
169
- height: null, list: null, max: null, maxlength: null, min: null,
170
- name: null, pattern: null, placeholder: null, size: null, src: null,
171
- step: null, value: null, width: null,
172
- accept: ["audio/*", "video/*", "image/*"],
173
- autocomplete: ["on", "off"],
174
- autofocus: ["", "autofocus"],
175
- checked: ["", "checked"],
176
- disabled: ["", "disabled"],
177
- formenctype: encs,
178
- formmethod: methods,
179
- formnovalidate: ["", "novalidate"],
180
- formtarget: targets,
181
- multiple: ["", "multiple"],
182
- readonly: ["", "readonly"],
183
- required: ["", "required"],
184
- type: ["hidden", "text", "search", "tel", "url", "email", "password", "datetime", "date", "month",
185
- "week", "time", "datetime-local", "number", "range", "color", "checkbox", "radio",
186
- "file", "submit", "image", "reset", "button"]
187
- }
188
- },
189
- ins: { attrs: { cite: null, datetime: null } },
190
- kbd: s,
191
- keygen: {
192
- attrs: {
193
- challenge: null, form: null, name: null,
194
- autofocus: ["", "autofocus"],
195
- disabled: ["", "disabled"],
196
- keytype: ["RSA"]
197
- }
198
- },
199
- label: { attrs: { "for": null, form: null } },
200
- legend: s,
201
- li: { attrs: { value: null } },
202
- link: {
203
- attrs: {
204
- href: null, type: null,
205
- hreflang: langs,
206
- media: media,
207
- sizes: ["all", "16x16", "16x16 32x32", "16x16 32x32 64x64"]
208
- }
209
- },
210
- map: { attrs: { name: null } },
211
- mark: s,
212
- menu: { attrs: { label: null, type: ["list", "context", "toolbar"] } },
213
- meta: {
214
- attrs: {
215
- content: null,
216
- charset: charsets,
217
- name: ["viewport", "application-name", "author", "description", "generator", "keywords"],
218
- "http-equiv": ["content-language", "content-type", "default-style", "refresh"]
219
- }
220
- },
221
- meter: { attrs: { value: null, min: null, low: null, high: null, max: null, optimum: null } },
222
- nav: s,
223
- noframes: s,
224
- noscript: s,
225
- object: {
226
- attrs: {
227
- data: null, type: null, name: null, usemap: null, form: null, width: null, height: null,
228
- typemustmatch: ["", "typemustmatch"]
229
- }
230
- },
231
- ol: { attrs: { reversed: ["", "reversed"], start: null, type: ["1", "a", "A", "i", "I"] } },
232
- optgroup: { attrs: { disabled: ["", "disabled"], label: null } },
233
- option: { attrs: { disabled: ["", "disabled"], label: null, selected: ["", "selected"], value: null } },
234
- output: { attrs: { "for": null, form: null, name: null } },
235
- p: s,
236
- param: { attrs: { name: null, value: null } },
237
- pre: s,
238
- progress: { attrs: { value: null, max: null } },
239
- q: { attrs: { cite: null } },
240
- rp: s,
241
- rt: s,
242
- ruby: s,
243
- s: s,
244
- samp: s,
245
- script: {
246
- attrs: {
247
- type: ["text/javascript"],
248
- src: null,
249
- async: ["", "async"],
250
- defer: ["", "defer"],
251
- charset: charsets
252
- }
253
- },
254
- section: s,
255
- select: {
256
- attrs: {
257
- form: null, name: null, size: null,
258
- autofocus: ["", "autofocus"],
259
- disabled: ["", "disabled"],
260
- multiple: ["", "multiple"]
261
- }
262
- },
263
- small: s,
264
- source: { attrs: { src: null, type: null, media: null } },
265
- span: s,
266
- strike: s,
267
- strong: s,
268
- style: {
269
- attrs: {
270
- type: ["text/css"],
271
- media: media,
272
- scoped: null
273
- }
274
- },
275
- sub: s,
276
- summary: s,
277
- sup: s,
278
- table: s,
279
- tbody: s,
280
- td: { attrs: { colspan: null, rowspan: null, headers: null } },
281
- textarea: {
282
- attrs: {
283
- dirname: null, form: null, maxlength: null, name: null, placeholder: null,
284
- rows: null, cols: null,
285
- autofocus: ["", "autofocus"],
286
- disabled: ["", "disabled"],
287
- readonly: ["", "readonly"],
288
- required: ["", "required"],
289
- wrap: ["soft", "hard"]
290
- }
291
- },
292
- tfoot: s,
293
- th: { attrs: { colspan: null, rowspan: null, headers: null, scope: ["row", "col", "rowgroup", "colgroup"] } },
294
- thead: s,
295
- time: { attrs: { datetime: null } },
296
- title: s,
297
- tr: s,
298
- track: {
299
- attrs: {
300
- src: null, label: null, "default": null,
301
- kind: ["subtitles", "captions", "descriptions", "chapters", "metadata"],
302
- srclang: langs
303
- }
304
- },
305
- tt: s,
306
- u: s,
307
- ul: s,
308
- "var": s,
309
- video: {
310
- attrs: {
311
- src: null, poster: null, width: null, height: null,
312
- crossorigin: ["anonymous", "use-credentials"],
313
- preload: ["auto", "metadata", "none"],
314
- autoplay: ["", "autoplay"],
315
- mediagroup: ["movie"],
316
- muted: ["", "muted"],
317
- controls: ["", "controls"]
318
- }
319
- },
320
- wbr: s
321
- };
322
-
323
- var globalAttrs = {
324
- accesskey: ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
325
- "class": null,
326
- contenteditable: ["true", "false"],
327
- contextmenu: null,
328
- dir: ["ltr", "rtl", "auto"],
329
- draggable: ["true", "false", "auto"],
330
- dropzone: ["copy", "move", "link", "string:", "file:"],
331
- hidden: ["hidden"],
332
- id: null,
333
- inert: ["inert"],
334
- itemid: null,
335
- itemprop: null,
336
- itemref: null,
337
- itemscope: ["itemscope"],
338
- itemtype: null,
339
- lang: ["en", "es"],
340
- spellcheck: ["true", "false"],
341
- autocorrect: ["true", "false"],
342
- autocapitalize: ["true", "false"],
343
- style: null,
344
- tabindex: ["1", "2", "3", "4", "5", "6", "7", "8", "9"],
345
- title: null,
346
- translate: ["yes", "no"],
347
- onclick: null,
348
- rel: ["stylesheet", "alternate", "author", "bookmark", "help", "license", "next", "nofollow", "noreferrer", "prefetch", "prev", "search", "tag"]
349
- };
350
- function populate(obj) {
351
- for (var attr in globalAttrs) if (globalAttrs.hasOwnProperty(attr))
352
- obj.attrs[attr] = globalAttrs[attr];
353
- }
354
-
355
- populate(s);
356
- for (var tag in data) if (data.hasOwnProperty(tag) && data[tag] != s)
357
- populate(data[tag]);
358
-
359
- CodeMirror.htmlSchema = data;
360
- function htmlHint(cm, options) {
361
- var local = {schemaInfo: data};
362
- if (options) for (var opt in options) local[opt] = options[opt];
363
- return CodeMirror.hint.xml(cm, local);
364
- }
365
- CodeMirror.registerHelper("hint", "html", htmlHint);
366
- });
@@ -1,159 +0,0 @@
1
- // CodeMirror, copyright (c) by Marijn Haverbeke and others
2
- // Distributed under an MIT license: https://codemirror.net/LICENSE
3
-
4
- (function(mod) {
5
- if (typeof exports == "object" && typeof module == "object") // CommonJS
6
- mod(require("../../lib/codemirror"));
7
- else if (typeof define == "function" && define.amd) // AMD
8
- define(["../../lib/codemirror"], mod);
9
- else // Plain browser env
10
- mod(CodeMirror);
11
- })(function(CodeMirror) {
12
- var Pos = CodeMirror.Pos;
13
-
14
- function forEach(arr, f) {
15
- for (var i = 0, e = arr.length; i < e; ++i) f(arr[i]);
16
- }
17
-
18
- function arrayContains(arr, item) {
19
- if (!Array.prototype.indexOf) {
20
- var i = arr.length;
21
- while (i--) {
22
- if (arr[i] === item) {
23
- return true;
24
- }
25
- }
26
- return false;
27
- }
28
- return arr.indexOf(item) != -1;
29
- }
30
-
31
- function scriptHint(editor, keywords, getToken, options) {
32
- // Find the token at the cursor
33
- var cur = editor.getCursor(), token = getToken(editor, cur);
34
- if (/\b(?:string|comment)\b/.test(token.type)) return;
35
- var innerMode = CodeMirror.innerMode(editor.getMode(), token.state);
36
- if (innerMode.mode.helperType === "json") return;
37
- token.state = innerMode.state;
38
-
39
- // If it's not a 'word-style' token, ignore the token.
40
- if (!/^[\w$_]*$/.test(token.string)) {
41
- token = {start: cur.ch, end: cur.ch, string: "", state: token.state,
42
- type: token.string == "." ? "property" : null};
43
- } else if (token.end > cur.ch) {
44
- token.end = cur.ch;
45
- token.string = token.string.slice(0, cur.ch - token.start);
46
- }
47
-
48
- var tprop = token;
49
- // If it is a property, find out what it is a property of.
50
- while (tprop.type == "property") {
51
- tprop = getToken(editor, Pos(cur.line, tprop.start));
52
- if (tprop.string != ".") return;
53
- tprop = getToken(editor, Pos(cur.line, tprop.start));
54
- if (!context) var context = [];
55
- context.push(tprop);
56
- }
57
- return {list: getCompletions(token, context, keywords, options),
58
- from: Pos(cur.line, token.start),
59
- to: Pos(cur.line, token.end)};
60
- }
61
-
62
- function javascriptHint(editor, options) {
63
- return scriptHint(editor, javascriptKeywords,
64
- function (e, cur) {return e.getTokenAt(cur);},
65
- options);
66
- };
67
- CodeMirror.registerHelper("hint", "javascript", javascriptHint);
68
-
69
- function getCoffeeScriptToken(editor, cur) {
70
- // This getToken, it is for coffeescript, imitates the behavior of
71
- // getTokenAt method in javascript.js, that is, returning "property"
72
- // type and treat "." as indepenent token.
73
- var token = editor.getTokenAt(cur);
74
- if (cur.ch == token.start + 1 && token.string.charAt(0) == '.') {
75
- token.end = token.start;
76
- token.string = '.';
77
- token.type = "property";
78
- }
79
- else if (/^\.[\w$_]*$/.test(token.string)) {
80
- token.type = "property";
81
- token.start++;
82
- token.string = token.string.replace(/\./, '');
83
- }
84
- return token;
85
- }
86
-
87
- function coffeescriptHint(editor, options) {
88
- return scriptHint(editor, coffeescriptKeywords, getCoffeeScriptToken, options);
89
- }
90
- CodeMirror.registerHelper("hint", "coffeescript", coffeescriptHint);
91
-
92
- var stringProps = ("charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight " +
93
- "toUpperCase toLowerCase split concat match replace search").split(" ");
94
- var arrayProps = ("length concat join splice push pop shift unshift slice reverse sort indexOf " +
95
- "lastIndexOf every some filter forEach map reduce reduceRight ").split(" ");
96
- var funcProps = "prototype apply call bind".split(" ");
97
- var javascriptKeywords = ("break case catch class const continue debugger default delete do else export extends false finally for function " +
98
- "if in import instanceof new null return super switch this throw true try typeof var void while with yield").split(" ");
99
- var coffeescriptKeywords = ("and break catch class continue delete do else extends false finally for " +
100
- "if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes").split(" ");
101
-
102
- function forAllProps(obj, callback) {
103
- if (!Object.getOwnPropertyNames || !Object.getPrototypeOf) {
104
- for (var name in obj) callback(name)
105
- } else {
106
- for (var o = obj; o; o = Object.getPrototypeOf(o))
107
- Object.getOwnPropertyNames(o).forEach(callback)
108
- }
109
- }
110
-
111
- function getCompletions(token, context, keywords, options) {
112
- var found = [], start = token.string, global = options && options.globalScope || window;
113
- function maybeAdd(str) {
114
- if (str.lastIndexOf(start, 0) == 0 && !arrayContains(found, str)) found.push(str);
115
- }
116
- function gatherCompletions(obj) {
117
- if (typeof obj == "string") forEach(stringProps, maybeAdd);
118
- else if (obj instanceof Array) forEach(arrayProps, maybeAdd);
119
- else if (obj instanceof Function) forEach(funcProps, maybeAdd);
120
- forAllProps(obj, maybeAdd)
121
- }
122
-
123
- if (context && context.length) {
124
- // If this is a property, see if it belongs to some object we can
125
- // find in the current environment.
126
- var obj = context.pop(), base;
127
- if (obj.type && obj.type.indexOf("variable") === 0) {
128
- if (options && options.additionalContext)
129
- base = options.additionalContext[obj.string];
130
- if (!options || options.useGlobalScope !== false)
131
- base = base || global[obj.string];
132
- } else if (obj.type == "string") {
133
- base = "";
134
- } else if (obj.type == "atom") {
135
- base = 1;
136
- } else if (obj.type == "function") {
137
- if (global.jQuery != null && (obj.string == '$' || obj.string == 'jQuery') &&
138
- (typeof global.jQuery == 'function'))
139
- base = global.jQuery();
140
- else if (global._ != null && (obj.string == '_') && (typeof global._ == 'function'))
141
- base = global._();
142
- }
143
- while (base != null && context.length)
144
- base = base[context.pop().string];
145
- if (base != null) gatherCompletions(base);
146
- } else {
147
- // If not, just look in the global object and any local scope
148
- // (reading into JS mode internals to get at the local and global variables)
149
- for (var v = token.state.localVars; v; v = v.next) maybeAdd(v.name);
150
- for (var c = token.state.context; c; c = c.prev)
151
- for (var v = c.vars; v; v = v.next) maybeAdd(v.name)
152
- for (var v = token.state.globalVars; v; v = v.next) maybeAdd(v.name);
153
- if (!options || options.useGlobalScope !== false)
154
- gatherCompletions(global);
155
- forEach(keywords, maybeAdd);
156
- }
157
- return found;
158
- }
159
- });
@@ -1,36 +0,0 @@
1
- .CodeMirror-hints {
2
- position: absolute;
3
- z-index: 10;
4
- overflow: hidden;
5
- list-style: none;
6
-
7
- margin: 0;
8
- padding: 0.125rem;
9
-
10
- -webkit-box-shadow: 0.125rem 0.1875rem 0.3125rem rgba(0,0,0,.2);
11
- -moz-box-shadow: 0.125rem 0.1875rem 0.3125rem rgba(0,0,0,.2);
12
- box-shadow: 0.125rem 0.1875rem 0.3125rem rgba(0,0,0,.2);
13
- border-radius: 0.1875rem;
14
- border: 0.0625rem solid silver;
15
-
16
- background: white;
17
- font-size: 90%;
18
- font-family: monospace;
19
-
20
- max-height: 20em;
21
- overflow-y: auto;
22
- }
23
-
24
- .CodeMirror-hint {
25
- margin: 0;
26
- padding: 0 0.25rem;
27
- border-radius: 0.125rem;
28
- white-space: pre;
29
- color: black;
30
- cursor: pointer;
31
- }
32
-
33
- li.CodeMirror-hint-active {
34
- background: #08f;
35
- color: white;
36
- }