@k8slens/extensions 5.3.0-git.18e1c76b8f.0 → 5.3.0-git.1ce2e727af.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 (169) hide show
  1. package/__mocks__/electron.ts +2 -2
  2. package/dist/src/common/__tests__/system-ca.test.d.ts +1 -0
  3. package/dist/src/common/k8s-api/endpoints/cluster-role-binding.api.d.ts +1 -1
  4. package/dist/src/common/k8s-api/endpoints/cluster-role.api.d.ts +1 -1
  5. package/dist/src/common/k8s-api/endpoints/cluster.api.d.ts +1 -1
  6. package/dist/src/common/k8s-api/endpoints/configmap.api.d.ts +1 -1
  7. package/dist/src/common/k8s-api/endpoints/crd.api.d.ts +1 -1
  8. package/dist/src/common/k8s-api/endpoints/cron-job.api.d.ts +1 -1
  9. package/dist/src/common/k8s-api/endpoints/daemon-set.api.d.ts +1 -1
  10. package/dist/src/common/k8s-api/endpoints/deployment.api.d.ts +1 -1
  11. package/dist/src/common/k8s-api/endpoints/endpoint.api.d.ts +1 -1
  12. package/dist/src/common/k8s-api/endpoints/events.api.d.ts +1 -1
  13. package/dist/src/common/k8s-api/endpoints/hpa.api.d.ts +1 -1
  14. package/dist/src/common/k8s-api/endpoints/ingress.api.d.ts +11 -8
  15. package/dist/src/common/k8s-api/endpoints/job.api.d.ts +1 -1
  16. package/dist/src/common/k8s-api/endpoints/limit-range.api.d.ts +1 -1
  17. package/dist/src/common/k8s-api/endpoints/namespaces.api.d.ts +1 -1
  18. package/dist/src/common/k8s-api/endpoints/network-policy.api.d.ts +1 -1
  19. package/dist/src/common/k8s-api/endpoints/nodes.api.d.ts +1 -1
  20. package/dist/src/common/k8s-api/endpoints/persistent-volume-claims.api.d.ts +1 -1
  21. package/dist/src/common/k8s-api/endpoints/persistent-volume.api.d.ts +1 -1
  22. package/dist/src/common/k8s-api/endpoints/pod-metrics.api.d.ts +1 -1
  23. package/dist/src/common/k8s-api/endpoints/poddisruptionbudget.api.d.ts +1 -1
  24. package/dist/src/common/k8s-api/endpoints/pods.api.d.ts +29 -33
  25. package/dist/src/common/k8s-api/endpoints/podsecuritypolicy.api.d.ts +1 -1
  26. package/dist/src/common/k8s-api/endpoints/replica-set.api.d.ts +1 -1
  27. package/dist/src/common/k8s-api/endpoints/resource-quota.api.d.ts +1 -1
  28. package/dist/src/common/k8s-api/endpoints/role-binding.api.d.ts +1 -1
  29. package/dist/src/common/k8s-api/endpoints/role.api.d.ts +1 -1
  30. package/dist/src/common/k8s-api/endpoints/secret.api.d.ts +1 -1
  31. package/dist/src/common/k8s-api/endpoints/selfsubjectrulesreviews.api.d.ts +1 -1
  32. package/dist/src/common/k8s-api/endpoints/service-accounts.api.d.ts +1 -1
  33. package/dist/src/common/k8s-api/endpoints/service.api.d.ts +2 -2
  34. package/dist/src/common/k8s-api/endpoints/stateful-set.api.d.ts +1 -1
  35. package/dist/src/common/k8s-api/endpoints/storage-class.api.d.ts +1 -1
  36. package/dist/src/common/k8s-api/index.d.ts +1 -1
  37. package/dist/src/common/k8s-api/kube-json-api.d.ts +2 -0
  38. package/dist/src/common/system-ca.d.ts +20 -1
  39. package/dist/src/common/user-store/preferences-helpers.d.ts +2 -6
  40. package/dist/src/common/user-store/user-store.d.ts +2 -7
  41. package/dist/src/common/utils/base64.d.ts +12 -4
  42. package/dist/src/common/utils/index.d.ts +2 -2
  43. package/dist/src/{main → common/utils}/promise-exec.d.ts +0 -0
  44. package/dist/src/extensions/0.extension-api.js +15 -0
  45. package/dist/src/extensions/1.extension-api.js +15 -0
  46. package/dist/src/extensions/10.extension-api.js +15 -0
  47. package/dist/src/extensions/11.extension-api.js +15 -0
  48. package/dist/src/extensions/12.extension-api.js +15 -0
  49. package/dist/src/extensions/13.extension-api.js +15 -0
  50. package/dist/src/extensions/14.extension-api.js +15 -0
  51. package/dist/src/extensions/15.extension-api.js +15 -0
  52. package/dist/src/extensions/16.extension-api.js +15 -0
  53. package/dist/src/extensions/17.extension-api.js +15 -0
  54. package/dist/src/extensions/18.extension-api.js +15 -0
  55. package/dist/src/extensions/19.extension-api.js +15 -0
  56. package/dist/src/extensions/2.extension-api.js +543 -0
  57. package/dist/src/extensions/20.extension-api.js +15 -0
  58. package/dist/src/extensions/21.extension-api.js +15 -0
  59. package/dist/src/extensions/22.extension-api.js +15 -0
  60. package/dist/src/extensions/23.extension-api.js +15 -0
  61. package/dist/src/extensions/24.extension-api.js +15 -0
  62. package/dist/src/extensions/25.extension-api.js +15 -0
  63. package/dist/src/extensions/26.extension-api.js +15 -0
  64. package/dist/src/extensions/27.extension-api.js +15 -0
  65. package/dist/src/extensions/28.extension-api.js +15 -0
  66. package/dist/src/extensions/29.extension-api.js +15 -0
  67. package/dist/src/extensions/3.extension-api.js +423 -0
  68. package/dist/src/extensions/30.extension-api.js +15 -0
  69. package/dist/src/extensions/31.extension-api.js +15 -0
  70. package/dist/src/extensions/32.extension-api.js +15 -0
  71. package/dist/src/extensions/33.extension-api.js +15 -0
  72. package/dist/src/extensions/34.extension-api.js +15 -0
  73. package/dist/src/extensions/35.extension-api.js +15 -0
  74. package/dist/src/extensions/36.extension-api.js +15 -0
  75. package/dist/src/extensions/37.extension-api.js +15 -0
  76. package/dist/src/extensions/38.extension-api.js +15 -0
  77. package/dist/src/extensions/39.extension-api.js +15 -0
  78. package/dist/src/extensions/4.extension-api.js +363 -0
  79. package/dist/src/extensions/40.extension-api.js +15 -0
  80. package/dist/src/extensions/41.extension-api.js +15 -0
  81. package/dist/src/extensions/42.extension-api.js +15 -0
  82. package/dist/src/extensions/43.extension-api.js +15 -0
  83. package/dist/src/extensions/44.extension-api.js +15 -0
  84. package/dist/src/extensions/45.extension-api.js +15 -0
  85. package/dist/src/extensions/46.extension-api.js +15 -0
  86. package/dist/src/extensions/47.extension-api.js +15 -0
  87. package/dist/src/extensions/48.extension-api.js +15 -0
  88. package/dist/src/extensions/49.extension-api.js +15 -0
  89. package/dist/src/extensions/5.extension-api.js +51 -0
  90. package/dist/src/extensions/50.extension-api.js +15 -0
  91. package/dist/src/extensions/51.extension-api.js +15 -0
  92. package/dist/src/extensions/52.extension-api.js +15 -0
  93. package/dist/src/extensions/53.extension-api.js +15 -0
  94. package/dist/src/extensions/54.extension-api.js +15 -0
  95. package/dist/src/extensions/55.extension-api.js +15 -0
  96. package/dist/src/extensions/56.extension-api.js +15 -0
  97. package/dist/src/extensions/57.extension-api.js +15 -0
  98. package/dist/src/extensions/58.extension-api.js +15 -0
  99. package/dist/src/extensions/59.extension-api.js +15 -0
  100. package/dist/src/extensions/6.extension-api.js +27 -0
  101. package/dist/src/extensions/60.extension-api.js +15 -0
  102. package/dist/src/extensions/61.extension-api.js +15 -0
  103. package/dist/src/extensions/62.extension-api.js +15 -0
  104. package/dist/src/extensions/63.extension-api.js +15 -0
  105. package/dist/src/extensions/64.extension-api.js +15 -0
  106. package/dist/src/extensions/65.extension-api.js +15 -0
  107. package/dist/src/extensions/66.extension-api.js +15 -0
  108. package/dist/src/extensions/67.extension-api.js +15 -0
  109. package/dist/src/extensions/68.extension-api.js +15 -0
  110. package/dist/src/extensions/69.extension-api.js +15 -0
  111. package/dist/src/extensions/7.extension-api.js +15 -0
  112. package/dist/src/extensions/70.extension-api.js +15 -0
  113. package/dist/src/extensions/71.extension-api.js +15 -0
  114. package/dist/src/extensions/72.extension-api.js +15 -0
  115. package/dist/src/extensions/73.extension-api.js +15 -0
  116. package/dist/src/extensions/74.extension-api.js +15 -0
  117. package/dist/src/extensions/75.extension-api.js +15 -0
  118. package/dist/src/extensions/76.extension-api.js +15 -0
  119. package/dist/src/extensions/77.extension-api.js +15 -0
  120. package/dist/src/extensions/78.extension-api.js +15 -0
  121. package/dist/src/extensions/79.extension-api.js +15 -0
  122. package/dist/src/extensions/8.extension-api.js +15 -0
  123. package/dist/src/extensions/9.extension-api.js +15 -0
  124. package/dist/src/extensions/common-api/app.d.ts +2 -0
  125. package/dist/src/extensions/common-api/index.d.ts +1 -1
  126. package/dist/src/extensions/common-api/user-preferences.d.ts +24 -0
  127. package/dist/src/extensions/extension-api.js +5720 -1563
  128. package/dist/src/main/index.d.ts +0 -1
  129. package/dist/src/main/kubectl.d.ts +1 -1
  130. package/dist/src/main/proxy-functions/shell-api-request.d.ts +14 -0
  131. package/dist/src/main/shell-session/node-shell-session.d.ts +2 -2
  132. package/dist/src/main/shell-session/shell-session.d.ts +89 -7
  133. package/dist/src/migrations/user-store/index.d.ts +1 -1
  134. package/dist/src/preload.d.ts +1 -1
  135. package/dist/src/renderer/api/terminal-api.d.ts +5 -6
  136. package/dist/src/renderer/components/+add-cluster/add-cluster.d.ts +0 -1
  137. package/dist/src/renderer/components/+apps-helm-charts/helm-chart-details.d.ts +3 -3
  138. package/dist/src/renderer/components/+apps-releases/release-menu.d.ts +3 -3
  139. package/dist/src/renderer/components/+catalog/catalog-add-button.d.ts +7 -1
  140. package/dist/src/renderer/components/+namespaces/namespace-select-filter.d.ts +3 -0
  141. package/dist/src/renderer/components/+namespaces/namespace.store.d.ts +55 -2
  142. package/dist/src/renderer/components/+workloads-deployments/deployment-scale-dialog.d.ts +1 -0
  143. package/dist/src/renderer/components/+workloads-pods/pod-details-affinities.d.ts +1 -2
  144. package/dist/src/renderer/components/+workloads-replicasets/replicaset-scale-dialog.d.ts +1 -0
  145. package/dist/src/renderer/components/+workloads-statefulsets/statefulset-scale-dialog.d.ts +1 -0
  146. package/dist/src/renderer/components/dock/create-resource.d.ts +2 -2
  147. package/dist/src/renderer/components/dock/dock.store.d.ts +20 -2
  148. package/dist/src/renderer/components/dock/edit-resource.d.ts +2 -2
  149. package/dist/src/renderer/components/dock/editor-panel.d.ts +11 -17
  150. package/dist/src/renderer/components/dock/install-chart.d.ts +6 -5
  151. package/dist/src/renderer/components/dock/terminal-window.d.ts +2 -3
  152. package/dist/src/renderer/components/dock/upgrade-chart.d.ts +2 -1
  153. package/dist/src/renderer/components/drawer/drawer.d.ts +1 -0
  154. package/dist/src/renderer/components/kubeconfig-dialog/kubeconfig-dialog.d.ts +0 -1
  155. package/dist/src/renderer/components/layout/__tests__/sidebar-cluster.test.d.ts +21 -0
  156. package/dist/src/renderer/components/layout/sidebar-cluster.d.ts +24 -0
  157. package/dist/src/renderer/components/layout/sidebar.d.ts +1 -4
  158. package/dist/src/renderer/components/list/list.d.ts +1 -1
  159. package/dist/src/renderer/components/menu/menu.d.ts +1 -0
  160. package/dist/src/renderer/components/monaco-editor/index.d.ts +23 -0
  161. package/dist/src/renderer/components/monaco-editor/monaco-editor.d.ts +93 -0
  162. package/dist/src/renderer/components/{dock/monaco-model-manager.d.ts → monaco-editor/monaco-themes.d.ts} +8 -21
  163. package/dist/src/renderer/components/monaco-editor/monaco-validators.d.ts +9 -0
  164. package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
  165. package/dist/src/renderer/lens-app.d.ts +0 -1
  166. package/dist/src/renderer/port-forward/index.d.ts +1 -0
  167. package/dist/src/renderer/port-forward/port-forward-notify.d.ts +21 -0
  168. package/dist/src/renderer/theme.store.d.ts +4 -15
  169. package/package.json +1 -1
@@ -28,6 +28,6 @@ export default {
28
28
  },
29
29
  dialog: jest.fn(),
30
30
  ipcRenderer: {
31
- on: jest.fn()
32
- }
31
+ on: jest.fn(),
32
+ },
33
33
  };
@@ -0,0 +1 @@
1
+ export {};
@@ -26,4 +26,4 @@ export declare class ClusterRoleBinding extends KubeObject {
26
26
  * Only available within kubernetes cluster pages
27
27
  */
28
28
  declare let clusterRoleBindingApi: KubeApi<ClusterRoleBinding>;
29
- export { clusterRoleBindingApi };
29
+ export { clusterRoleBindingApi, };
@@ -43,4 +43,4 @@ export declare class ClusterRole extends KubeObject {
43
43
  * Only available within kubernetes cluster pages
44
44
  */
45
45
  declare let clusterRoleApi: KubeApi<ClusterRole>;
46
- export { clusterRoleApi };
46
+ export { clusterRoleApi, };
@@ -89,4 +89,4 @@ export declare class Cluster extends KubeObject {
89
89
  * Only available within kubernetes cluster pages
90
90
  */
91
91
  declare let clusterApi: ClusterApi;
92
- export { clusterApi };
92
+ export { clusterApi, };
@@ -37,4 +37,4 @@ export declare class ConfigMap extends KubeObject {
37
37
  * Only available within kubernetes cluster pages
38
38
  */
39
39
  declare let configMapApi: KubeApi<ConfigMap>;
40
- export { configMapApi };
40
+ export { configMapApi, };
@@ -128,4 +128,4 @@ export declare class CustomResourceDefinition extends KubeObject {
128
128
  * Only available within kubernetes cluster pages
129
129
  */
130
130
  declare let crdApi: KubeApi<CustomResourceDefinition>;
131
- export { crdApi };
131
+ export { crdApi, };
@@ -85,4 +85,4 @@ export declare class CronJob extends KubeObject {
85
85
  * Only available within kubernetes cluster pages
86
86
  */
87
87
  declare let cronJobApi: CronJobApi;
88
- export { cronJobApi };
88
+ export { cronJobApi, };
@@ -88,4 +88,4 @@ export declare function getMetricsForDaemonSets(daemonsets: DaemonSet[], namespa
88
88
  * Only available within kubernetes cluster pages
89
89
  */
90
90
  declare let daemonSetApi: DaemonSetApi;
91
- export { daemonSetApi };
91
+ export { daemonSetApi, };
@@ -180,4 +180,4 @@ export declare class Deployment extends WorkloadKubeObject {
180
180
  getReplicas(): number;
181
181
  }
182
182
  declare let deploymentApi: DeploymentApi;
183
- export { deploymentApi };
183
+ export { deploymentApi, };
@@ -82,4 +82,4 @@ export declare class Endpoint extends KubeObject {
82
82
  toString(): string;
83
83
  }
84
84
  declare let endpointApi: KubeApi<Endpoint>;
85
- export { endpointApi };
85
+ export { endpointApi, };
@@ -54,4 +54,4 @@ export declare class KubeEvent extends KubeObject {
54
54
  getLastSeenTime(): string;
55
55
  }
56
56
  declare let eventApi: KubeApi<KubeEvent>;
57
- export { eventApi };
57
+ export { eventApi, };
@@ -101,4 +101,4 @@ export declare class HorizontalPodAutoscaler extends KubeObject {
101
101
  getMetricValues(metric: IHpaMetric): string;
102
102
  }
103
103
  declare let hpaApi: KubeApi<HorizontalPodAutoscaler>;
104
- export { hpaApi };
104
+ export { hpaApi, };
@@ -22,6 +22,7 @@ import { KubeObject } from "../kube-object";
22
22
  import { IMetrics } from "./metrics.api";
23
23
  import { KubeApi } from "../kube-api";
24
24
  import type { KubeJsonApiData } from "../kube-json-api";
25
+ import type { RequireExactlyOne } from "type-fest";
25
26
  export declare class IngressApi extends KubeApi<Ingress> {
26
27
  }
27
28
  export declare function getMetricsForIngress(ingress: string, namespace: string): Promise<IIngressMetrics>;
@@ -38,7 +39,7 @@ export interface ILoadBalancerIngress {
38
39
  }
39
40
  interface IExtensionsBackend {
40
41
  serviceName: string;
41
- servicePort: number;
42
+ servicePort: number | string;
42
43
  }
43
44
  interface INetworkingBackend {
44
45
  service: IIngressService;
@@ -70,13 +71,18 @@ export interface Ingress {
70
71
  };
71
72
  }[];
72
73
  backend?: IExtensionsBackend;
73
- defaultBackend?: INetworkingBackend & {
74
+ /**
75
+ * The default backend which is exactly on of:
76
+ * - service
77
+ * - resource
78
+ */
79
+ defaultBackend?: RequireExactlyOne<INetworkingBackend & {
74
80
  resource: {
75
81
  apiGroup: string;
76
82
  kind: string;
77
83
  name: string;
78
84
  };
79
- };
85
+ }>;
80
86
  };
81
87
  status: {
82
88
  loadBalancer: {
@@ -90,13 +96,10 @@ export declare class Ingress extends KubeObject {
90
96
  static apiBase: string;
91
97
  constructor(data: KubeJsonApiData);
92
98
  getRoutes(): string[];
93
- getServiceNamePort(): {
94
- serviceName: string;
95
- servicePort: string | number;
96
- };
99
+ getServiceNamePort(): IExtensionsBackend;
97
100
  getHosts(): string[];
98
101
  getPorts(): string;
99
102
  getLoadBalancers(): string[];
100
103
  }
101
104
  declare let ingressApi: IngressApi;
102
- export { ingressApi };
105
+ export { ingressApi, };
@@ -102,4 +102,4 @@ export declare class JobApi extends KubeApi<Job> {
102
102
  }
103
103
  export declare function getMetricsForJobs(jobs: Job[], namespace: string, selector?: string): Promise<IPodMetrics>;
104
104
  declare let jobApi: JobApi;
105
- export { jobApi };
105
+ export { jobApi, };
@@ -58,4 +58,4 @@ export declare class LimitRange extends KubeObject {
58
58
  getPVCLimits(): LimitRangeItem[];
59
59
  }
60
60
  declare let limitRangeApi: KubeApi<LimitRange>;
61
- export { limitRangeApi };
61
+ export { limitRangeApi, };
@@ -42,4 +42,4 @@ export declare class NamespaceApi extends KubeApi<Namespace> {
42
42
  }
43
43
  export declare function getMetricsForNamespace(namespace: string, selector?: string): Promise<IPodMetrics>;
44
44
  declare let namespacesApi: NamespaceApi;
45
- export { namespacesApi };
45
+ export { namespacesApi, };
@@ -72,4 +72,4 @@ export declare class NetworkPolicy extends KubeObject {
72
72
  getTypes(): string[];
73
73
  }
74
74
  declare let networkPolicyApi: KubeApi<NetworkPolicy>;
75
- export { networkPolicyApi };
75
+ export { networkPolicyApi, };
@@ -135,4 +135,4 @@ export declare class Node extends KubeObject {
135
135
  isUnschedulable(): boolean;
136
136
  }
137
137
  declare let nodesApi: NodesApi;
138
- export { nodesApi };
138
+ export { nodesApi, };
@@ -71,4 +71,4 @@ export declare class PersistentVolumeClaim extends KubeObject {
71
71
  getStatus(): string;
72
72
  }
73
73
  declare let pvcApi: PersistentVolumeClaimsApi;
74
- export { pvcApi };
74
+ export { pvcApi, };
@@ -69,4 +69,4 @@ export declare class PersistentVolume extends KubeObject {
69
69
  getStorageClassName(): string;
70
70
  }
71
71
  declare let persistentVolumeApi: KubeApi<PersistentVolume>;
72
- export { persistentVolumeApi };
72
+ export { persistentVolumeApi, };
@@ -37,4 +37,4 @@ export declare class PodMetrics extends KubeObject {
37
37
  static apiBase: string;
38
38
  }
39
39
  declare let podMetricsApi: KubeApi<PodMetrics>;
40
- export { podMetricsApi };
40
+ export { podMetricsApi, };
@@ -50,4 +50,4 @@ export declare class PodDisruptionBudget extends KubeObject {
50
50
  getDesiredHealthy(): number;
51
51
  }
52
52
  declare let pdbApi: KubeApi<PodDisruptionBudget>;
53
- export { pdbApi };
53
+ export { pdbApi, };
@@ -133,40 +133,36 @@ interface IContainerProbe {
133
133
  successThreshold?: number;
134
134
  failureThreshold?: number;
135
135
  }
136
+ export interface ContainerStateRunning {
137
+ startedAt: string;
138
+ }
139
+ export interface ContainerStateWaiting {
140
+ reason: string;
141
+ message: string;
142
+ }
143
+ export interface ContainerStateTerminated {
144
+ startedAt: string;
145
+ finishedAt: string;
146
+ exitCode: number;
147
+ reason: string;
148
+ containerID?: string;
149
+ message?: string;
150
+ signal?: number;
151
+ }
152
+ /**
153
+ * ContainerState holds a possible state of container. Only one of its members
154
+ * may be specified. If none of them is specified, the default one is
155
+ * `ContainerStateWaiting`.
156
+ */
157
+ export interface ContainerState {
158
+ running?: ContainerStateRunning;
159
+ waiting?: ContainerStateWaiting;
160
+ terminated?: ContainerStateTerminated;
161
+ }
136
162
  export interface IPodContainerStatus {
137
163
  name: string;
138
- state?: {
139
- [index: string]: object;
140
- running?: {
141
- startedAt: string;
142
- };
143
- waiting?: {
144
- reason: string;
145
- message: string;
146
- };
147
- terminated?: {
148
- startedAt: string;
149
- finishedAt: string;
150
- exitCode: number;
151
- reason: string;
152
- };
153
- };
154
- lastState?: {
155
- [index: string]: object;
156
- running?: {
157
- startedAt: string;
158
- };
159
- waiting?: {
160
- reason: string;
161
- message: string;
162
- };
163
- terminated?: {
164
- startedAt: string;
165
- finishedAt: string;
166
- exitCode: number;
167
- reason: string;
168
- };
169
- };
164
+ state?: ContainerState;
165
+ lastState?: ContainerState;
170
166
  ready: boolean;
171
167
  restartCount: number;
172
168
  image: string;
@@ -310,4 +306,4 @@ export declare class Pod extends WorkloadKubeObject {
310
306
  getIPs(): string[];
311
307
  }
312
308
  declare let podsApi: PodsApi;
313
- export { podsApi };
309
+ export { podsApi, };
@@ -110,4 +110,4 @@ export declare class PodSecurityPolicy extends KubeObject {
110
110
  };
111
111
  }
112
112
  declare let pspApi: KubeApi<PodSecurityPolicy>;
113
- export { pspApi };
113
+ export { pspApi, };
@@ -80,4 +80,4 @@ export declare class ReplicaSet extends WorkloadKubeObject {
80
80
  getImages(): string[];
81
81
  }
82
82
  declare let replicaSetApi: ReplicaSetApi;
83
- export { replicaSetApi };
83
+ export { replicaSetApi, };
@@ -68,4 +68,4 @@ export declare class ResourceQuota extends KubeObject {
68
68
  }[];
69
69
  }
70
70
  declare let resourceQuotaApi: KubeApi<ResourceQuota>;
71
- export { resourceQuotaApi };
71
+ export { resourceQuotaApi, };
@@ -45,4 +45,4 @@ export declare class RoleBinding extends KubeObject {
45
45
  getSubjectNames(): string;
46
46
  }
47
47
  declare let roleBindingApi: KubeApi<RoleBinding>;
48
- export { roleBindingApi };
48
+ export { roleBindingApi, };
@@ -40,4 +40,4 @@ export declare class Role extends KubeObject {
40
40
  }[];
41
41
  }
42
42
  declare let roleApi: KubeApi<Role>;
43
- export { roleApi };
43
+ export { roleApi, };
@@ -50,4 +50,4 @@ export declare class Secret extends KubeObject {
50
50
  getToken(): string;
51
51
  }
52
52
  declare let secretsApi: KubeApi<Secret>;
53
- export { secretsApi };
53
+ export { secretsApi, };
@@ -51,4 +51,4 @@ export declare class SelfSubjectRulesReview extends KubeObject {
51
51
  protected normalize(rule: ISelfSubjectReviewRule): ISelfSubjectReviewRule;
52
52
  }
53
53
  declare let selfSubjectRulesReviewApi: SelfSubjectRulesReviewApi;
54
- export { selfSubjectRulesReviewApi };
54
+ export { selfSubjectRulesReviewApi, };
@@ -42,4 +42,4 @@ export declare class ServiceAccount extends KubeObject {
42
42
  }[];
43
43
  }
44
44
  declare let serviceAccountsApi: KubeApi<ServiceAccount>;
45
- export { serviceAccountsApi };
45
+ export { serviceAccountsApi, };
@@ -38,7 +38,7 @@ export interface Service {
38
38
  clusterIP: string;
39
39
  clusterIPs?: string[];
40
40
  externalTrafficPolicy?: string;
41
- externalName: string;
41
+ externalName?: string;
42
42
  loadBalancerIP?: string;
43
43
  loadBalancerSourceRanges?: string[];
44
44
  sessionAffinity: string;
@@ -87,4 +87,4 @@ export declare class Service extends KubeObject {
87
87
  getIpFamilyPolicy(): string;
88
88
  }
89
89
  declare let serviceApi: KubeApi<Service>;
90
- export { serviceApi };
90
+ export { serviceApi, };
@@ -108,4 +108,4 @@ export declare class StatefulSet extends WorkloadKubeObject {
108
108
  getImages(): string[];
109
109
  }
110
110
  declare let statefulSetApi: StatefulSetApi;
111
- export { statefulSetApi };
111
+ export { statefulSetApi, };
@@ -40,4 +40,4 @@ export declare class StorageClass extends KubeObject {
40
40
  getReclaimPolicy(): string;
41
41
  }
42
42
  declare let storageClassApi: KubeApi<StorageClass>;
43
- export { storageClassApi };
43
+ export { storageClassApi, };
@@ -22,4 +22,4 @@ import { JsonApi } from "./json-api";
22
22
  import { KubeJsonApi } from "./kube-json-api";
23
23
  declare let apiBase: JsonApi;
24
24
  declare let apiKube: KubeJsonApi;
25
- export { apiBase, apiKube };
25
+ export { apiBase, apiKube, };
@@ -20,6 +20,7 @@
20
20
  */
21
21
  import { JsonApi, JsonApiData, JsonApiError } from "./json-api";
22
22
  import type { Response } from "node-fetch";
23
+ import type { Cluster } from "../../main/cluster";
23
24
  export interface KubeJsonApiListMetadata {
24
25
  resourceVersion: string;
25
26
  selfLink?: string;
@@ -63,5 +64,6 @@ export interface KubeJsonApiError extends JsonApiError {
63
64
  };
64
65
  }
65
66
  export declare class KubeJsonApi extends JsonApi<KubeJsonApiData> {
67
+ static forCluster(cluster: Cluster): KubeJsonApi;
66
68
  protected parseError(error: KubeJsonApiError | any, res: Response): string[];
67
69
  }
@@ -18,4 +18,23 @@
18
18
  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
19
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
20
  */
21
- export {};
21
+ export declare const DSTRootCAX3 = "-----BEGIN CERTIFICATE-----\nMIIDSjCCAjKgAwIBAgIQRK+wgNajJ7qJMDmGLvhAazANBgkqhkiG9w0BAQUFADA/\nMSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT\nDkRTVCBSb290IENBIFgzMB4XDTAwMDkzMDIxMTIxOVoXDTIxMDkzMDE0MDExNVow\nPzEkMCIGA1UEChMbRGlnaXRhbCBTaWduYXR1cmUgVHJ1c3QgQ28uMRcwFQYDVQQD\nEw5EU1QgUm9vdCBDQSBYMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\nAN+v6ZdQCINXtMxiZfaQguzH0yxrMMpb7NnDfcdAwRgUi+DoM3ZJKuM/IUmTrE4O\nrz5Iy2Xu/NMhD2XSKtkyj4zl93ewEnu1lcCJo6m67XMuegwGMoOifooUMM0RoOEq\nOLl5CjH9UL2AZd+3UWODyOKIYepLYYHsUmu5ouJLGiifSKOeDNoJjj4XLh7dIN9b\nxiqKqy69cK3FCxolkHRyxXtqqzTWMIn/5WgTe1QLyNau7Fqckh49ZLOMxt+/yUFw\n7BZy1SbsOFU5Q9D8/RhcQPGX69Wam40dutolucbY38EVAjqr2m7xPi71XAicPNaD\naeQQmxkqtilX4+U9m5/wAl0CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNV\nHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFMSnsaR7LHH62+FLkHX/xBVghYkQMA0GCSqG\nSIb3DQEBBQUAA4IBAQCjGiybFwBcqR7uKGY3Or+Dxz9LwwmglSBd49lZRNI+DT69\nikugdB/OEIKcdBodfpga3csTS7MgROSR6cz8faXbauX+5v3gTt23ADq1cEmv8uXr\nAvHRAosZy5Q6XkjEGB5YGV8eAlrwDPGxrancWYaLbumR9YbK+rlmM6pZW87ipxZz\nR8srzJmwN0jP41ZL9c8PDHIyh8bwRLtTcm1D9SZImlJnt1ir/md2cXjbDaJWFBM5\nJDGFoqgCWjBH4d1QB7wCCZAA62RjYJsWvIjJEubSfZGL+T0yjWW06XyxV3bqxbYo\nOb8VZRzI9neWagqNdwvYkQsEjgfbKbYK7p2CNTUQ\n-----END CERTIFICATE-----\n";
22
+ export declare function isCertActive(cert: string): boolean;
23
+ /**
24
+ * Get root CA certificate from MacOSX system keychain
25
+ * Only return non-expred certificates.
26
+ */
27
+ export declare function getMacRootCA(): Promise<string[]>;
28
+ /**
29
+ * Get root CA certificate from Windows system certificate store.
30
+ * Only return non-expred certificates.
31
+ */
32
+ export declare function getWinRootCA(): Promise<string[]>;
33
+ /**
34
+ * Add (or merge) CAs to https.globalAgent.options.ca
35
+ */
36
+ export declare function injectCAs(CAs: string[]): void;
37
+ /**
38
+ * Inject CAs found in OS's (Windoes/MacOSX only) root certificate store to https.globalAgent.options.ca
39
+ */
40
+ export declare function injectSystemCAs(): Promise<void>;
@@ -20,17 +20,13 @@
20
20
  */
21
21
  /// <reference types="node" />
22
22
  import { ObservableToggleSet } from "../utils";
23
- import type { monaco } from "react-monaco-editor";
23
+ import type { editor } from "monaco-editor";
24
24
  export interface KubeconfigSyncEntry extends KubeconfigSyncValue {
25
25
  filePath: string;
26
26
  }
27
27
  export interface KubeconfigSyncValue {
28
28
  }
29
- export interface EditorConfiguration {
30
- miniMap?: monaco.editor.IEditorMinimapOptions;
31
- lineNumbers?: monaco.editor.LineNumbersType;
32
- tabSize?: number;
33
- }
29
+ export declare type EditorConfiguration = Pick<editor.IStandaloneEditorConstructionOptions, "minimap" | "tabSize" | "lineNumbers">;
34
30
  export declare const defaultEditorConfig: EditorConfiguration;
35
31
  interface PreferenceDescription<T, R = T> {
36
32
  fromStore(val: T | undefined): R;
@@ -20,8 +20,7 @@
20
20
  */
21
21
  import { BaseStore } from "../base-store";
22
22
  import { ObservableToggleSet } from "../../renderer/utils";
23
- import { KubeconfigSyncValue, UserPreferencesModel, EditorConfiguration } from "./preferences-helpers";
24
- import type { monaco } from "react-monaco-editor";
23
+ import { EditorConfiguration, KubeconfigSyncValue, UserPreferencesModel } from "./preferences-helpers";
25
24
  export interface UserStoreModel {
26
25
  lastSeenAppVersion: string;
27
26
  preferences: UserPreferencesModel;
@@ -67,12 +66,8 @@ export declare class UserStore extends BaseStore<UserStoreModel> {
67
66
  syncKubeconfigEntries: import("mobx").ObservableMap<string, KubeconfigSyncValue>;
68
67
  get isNewVersion(): boolean;
69
68
  get resolvedShell(): string | undefined;
70
- readonly isAllowedToDowngrade: boolean;
69
+ get isAllowedToDowngrade(): boolean;
71
70
  startMainReactions(): void;
72
- getEditorOptions(): monaco.editor.IStandaloneEditorConstructionOptions;
73
- setEditorLineNumbers(lineNumbers: monaco.editor.LineNumbersType): void;
74
- setEditorTabSize(tabSize: number): void;
75
- enableEditorMinimap(miniMap: boolean): void;
76
71
  /**
77
72
  * Checks if a column (by ID) for a table (by ID) is configured to be hidden
78
73
  * @param tableId The ID of the table to be checked against
@@ -18,7 +18,15 @@
18
18
  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
19
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
20
  */
21
- export declare const base64: {
22
- decode(data: string): any;
23
- encode(data: string): any;
24
- };
21
+ /**
22
+ * Computes utf-8 from base64
23
+ * @param data A Base64 encoded string
24
+ * @returns The original utf-8 string
25
+ */
26
+ export declare function decode(data: string): string;
27
+ /**
28
+ * Computes base64 from utf-8
29
+ * @param data A normal string
30
+ * @returns A base64 encoded version
31
+ */
32
+ export declare function encode(data: string): string;
@@ -24,7 +24,6 @@
24
24
  export declare function noop<T extends any[]>(...args: T): void;
25
25
  export * from "./app-version";
26
26
  export * from "./autobind";
27
- export * from "./base64";
28
27
  export * from "./camelCase";
29
28
  export * from "./cloneJson";
30
29
  export * from "./cluster-id-url-parsing";
@@ -57,4 +56,5 @@ export * from "./types";
57
56
  import * as iter from "./iter";
58
57
  import * as array from "./array";
59
58
  import * as tuple from "./tuple";
60
- export { iter, array, tuple, };
59
+ import * as base64 from "./base64";
60
+ export { iter, array, tuple, base64, };
@@ -0,0 +1,15 @@
1
+ (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{
2
+
3
+ /***/ "./node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.js":
4
+ /*!**********************************************************************!*\
5
+ !*** ./node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.js ***!
6
+ \**********************************************************************/
7
+ /*! exports provided: conf, language */
8
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9
+
10
+ "use strict";
11
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"conf\", function() { return conf; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"language\", function() { return language; });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nvar conf = {\n comments: {\n lineComment: '//',\n blockComment: ['/*', '*/']\n },\n brackets: [\n ['{', '}'],\n ['[', ']'],\n ['(', ')']\n ],\n autoClosingPairs: [\n { open: '[', close: ']' },\n { open: '{', close: '}' },\n { open: '(', close: ')' },\n { open: \"'\", close: \"'\", notIn: ['string', 'comment'] },\n { open: '\"', close: '\"', notIn: ['string'] }\n ],\n surroundingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n folding: {\n markers: {\n start: new RegExp('^\\\\s*#pragma\\\\s+region\\\\b'),\n end: new RegExp('^\\\\s*#pragma\\\\s+endregion\\\\b')\n }\n }\n};\nvar language = {\n defaultToken: '',\n tokenPostfix: '.cpp',\n brackets: [\n { token: 'delimiter.curly', open: '{', close: '}' },\n { token: 'delimiter.parenthesis', open: '(', close: ')' },\n { token: 'delimiter.square', open: '[', close: ']' },\n { token: 'delimiter.angle', open: '<', close: '>' }\n ],\n keywords: [\n 'abstract',\n 'amp',\n 'array',\n 'auto',\n 'bool',\n 'break',\n 'case',\n 'catch',\n 'char',\n 'class',\n 'const',\n 'constexpr',\n 'const_cast',\n 'continue',\n 'cpu',\n 'decltype',\n 'default',\n 'delegate',\n 'delete',\n 'do',\n 'double',\n 'dynamic_cast',\n 'each',\n 'else',\n 'enum',\n 'event',\n 'explicit',\n 'export',\n 'extern',\n 'false',\n 'final',\n 'finally',\n 'float',\n 'for',\n 'friend',\n 'gcnew',\n 'generic',\n 'goto',\n 'if',\n 'in',\n 'initonly',\n 'inline',\n 'int',\n 'interface',\n 'interior_ptr',\n 'internal',\n 'literal',\n 'long',\n 'mutable',\n 'namespace',\n 'new',\n 'noexcept',\n 'nullptr',\n '__nullptr',\n 'operator',\n 'override',\n 'partial',\n 'pascal',\n 'pin_ptr',\n 'private',\n 'property',\n 'protected',\n 'public',\n 'ref',\n 'register',\n 'reinterpret_cast',\n 'restrict',\n 'return',\n 'safe_cast',\n 'sealed',\n 'short',\n 'signed',\n 'sizeof',\n 'static',\n 'static_assert',\n 'static_cast',\n 'struct',\n 'switch',\n 'template',\n 'this',\n 'thread_local',\n 'throw',\n 'tile_static',\n 'true',\n 'try',\n 'typedef',\n 'typeid',\n 'typename',\n 'union',\n 'unsigned',\n 'using',\n 'virtual',\n 'void',\n 'volatile',\n 'wchar_t',\n 'where',\n 'while',\n '_asm',\n '_based',\n '_cdecl',\n '_declspec',\n '_fastcall',\n '_if_exists',\n '_if_not_exists',\n '_inline',\n '_multiple_inheritance',\n '_pascal',\n '_single_inheritance',\n '_stdcall',\n '_virtual_inheritance',\n '_w64',\n '__abstract',\n '__alignof',\n '__asm',\n '__assume',\n '__based',\n '__box',\n '__builtin_alignof',\n '__cdecl',\n '__clrcall',\n '__declspec',\n '__delegate',\n '__event',\n '__except',\n '__fastcall',\n '__finally',\n '__forceinline',\n '__gc',\n '__hook',\n '__identifier',\n '__if_exists',\n '__if_not_exists',\n '__inline',\n '__int128',\n '__int16',\n '__int32',\n '__int64',\n '__int8',\n '__interface',\n '__leave',\n '__m128',\n '__m128d',\n '__m128i',\n '__m256',\n '__m256d',\n '__m256i',\n '__m64',\n '__multiple_inheritance',\n '__newslot',\n '__nogc',\n '__noop',\n '__nounwind',\n '__novtordisp',\n '__pascal',\n '__pin',\n '__pragma',\n '__property',\n '__ptr32',\n '__ptr64',\n '__raise',\n '__restrict',\n '__resume',\n '__sealed',\n '__single_inheritance',\n '__stdcall',\n '__super',\n '__thiscall',\n '__try',\n '__try_cast',\n '__typeof',\n '__unaligned',\n '__unhook',\n '__uuidof',\n '__value',\n '__virtual_inheritance',\n '__w64',\n '__wchar_t'\n ],\n operators: [\n '=',\n '>',\n '<',\n '!',\n '~',\n '?',\n ':',\n '==',\n '<=',\n '>=',\n '!=',\n '&&',\n '||',\n '++',\n '--',\n '+',\n '-',\n '*',\n '/',\n '&',\n '|',\n '^',\n '%',\n '<<',\n '>>',\n '>>>',\n '+=',\n '-=',\n '*=',\n '/=',\n '&=',\n '|=',\n '^=',\n '%=',\n '<<=',\n '>>=',\n '>>>='\n ],\n // we include these common regular expressions\n symbols: /[=><!~?:&|+\\-*\\/\\^%]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n integersuffix: /([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/,\n floatsuffix: /[fFlL]?/,\n encoding: /u|u8|U|L/,\n // The main tokenizer for our languages\n tokenizer: {\n root: [\n // C++ 11 Raw String\n [/@encoding?R\\\"(?:([^ ()\\\\\\t]*))\\(/, { token: 'string.raw.begin', next: '@raw.$1' }],\n // identifiers and keywords\n [\n /[a-zA-Z_]\\w*/,\n {\n cases: {\n '@keywords': { token: 'keyword.$0' },\n '@default': 'identifier'\n }\n }\n ],\n // The preprocessor checks must be before whitespace as they check /^\\s*#/ which\n // otherwise fails to match later after other whitespace has been removed.\n // Inclusion\n [/^\\s*#\\s*include/, { token: 'keyword.directive.include', next: '@include' }],\n // Preprocessor directive\n [/^\\s*#\\s*\\w+/, 'keyword.directive'],\n // whitespace\n { include: '@whitespace' },\n // [[ attributes ]].\n [/\\[\\s*\\[/, { token: 'annotation', next: '@annotation' }],\n // delimiters and operators\n [/[{}()\\[\\]]/, '@brackets'],\n [/[<>](?!@symbols)/, '@brackets'],\n [\n /@symbols/,\n {\n cases: {\n '@operators': 'delimiter',\n '@default': ''\n }\n }\n ],\n // numbers\n [/\\d*\\d+[eE]([\\-+]?\\d+)?(@floatsuffix)/, 'number.float'],\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?(@floatsuffix)/, 'number.float'],\n [/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, 'number.hex'],\n [/0[0-7']*[0-7](@integersuffix)/, 'number.octal'],\n [/0[bB][0-1']*[0-1](@integersuffix)/, 'number.binary'],\n [/\\d[\\d']*\\d(@integersuffix)/, 'number'],\n [/\\d(@integersuffix)/, 'number'],\n // delimiter: after number because of .\\d floats\n [/[;,.]/, 'delimiter'],\n // strings\n [/\"([^\"\\\\]|\\\\.)*$/, 'string.invalid'],\n [/\"/, 'string', '@string'],\n // characters\n [/'[^\\\\']'/, 'string'],\n [/(')(@escapes)(')/, ['string', 'string.escape', 'string']],\n [/'/, 'string.invalid']\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, ''],\n [/\\/\\*\\*(?!\\/)/, 'comment.doc', '@doccomment'],\n [/\\/\\*/, 'comment', '@comment'],\n [/\\/\\/.*\\\\$/, 'comment', '@linecomment'],\n [/\\/\\/.*$/, 'comment']\n ],\n comment: [\n [/[^\\/*]+/, 'comment'],\n [/\\*\\//, 'comment', '@pop'],\n [/[\\/*]/, 'comment']\n ],\n //For use with continuous line comments\n linecomment: [\n [/.*[^\\\\]$/, 'comment', '@pop'],\n [/[^]+/, 'comment']\n ],\n //Identical copy of comment above, except for the addition of .doc\n doccomment: [\n [/[^\\/*]+/, 'comment.doc'],\n [/\\*\\//, 'comment.doc', '@pop'],\n [/[\\/*]/, 'comment.doc']\n ],\n string: [\n [/[^\\\\\"]+/, 'string'],\n [/@escapes/, 'string.escape'],\n [/\\\\./, 'string.escape.invalid'],\n [/\"/, 'string', '@pop']\n ],\n raw: [\n [\n /(.*)(\\))(?:([^ ()\\\\\\t\"]*))(\\\")/,\n {\n cases: {\n '$3==$S2': [\n 'string.raw',\n 'string.raw.end',\n 'string.raw.end',\n { token: 'string.raw.end', next: '@pop' }\n ],\n '@default': ['string.raw', 'string.raw', 'string.raw', 'string.raw']\n }\n }\n ],\n [/.*/, 'string.raw']\n ],\n annotation: [\n { include: '@whitespace' },\n [/using|alignas/, 'keyword'],\n [/[a-zA-Z0-9_]+/, 'annotation'],\n [/[,:]/, 'delimiter'],\n [/[()]/, '@brackets'],\n [/\\]\\s*\\]/, { token: 'annotation', next: '@pop' }]\n ],\n include: [\n [\n /(\\s*)(<)([^<>]*)(>)/,\n [\n '',\n 'keyword.directive.include.begin',\n 'string.include.identifier',\n { token: 'keyword.directive.include.end', next: '@pop' }\n ]\n ],\n [\n /(\\s*)(\")([^\"]*)(\")/,\n [\n '',\n 'keyword.directive.include.begin',\n 'string.include.identifier',\n { token: 'keyword.directive.include.end', next: '@pop' }\n ]\n ]\n ]\n }\n};\n\n\n//# sourceURL=webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.js?");
12
+
13
+ /***/ })
14
+
15
+ }]);
@@ -0,0 +1,15 @@
1
+ (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],{
2
+
3
+ /***/ "./node_modules/monaco-editor/esm/vs/basic-languages/systemverilog/systemverilog.js":
4
+ /*!******************************************************************************************!*\
5
+ !*** ./node_modules/monaco-editor/esm/vs/basic-languages/systemverilog/systemverilog.js ***!
6
+ \******************************************************************************************/
7
+ /*! exports provided: conf, language */
8
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9
+
10
+ "use strict";
11
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"conf\", function() { return conf; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"language\", function() { return language; });\n/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\nvar conf = {\n comments: {\n lineComment: '//',\n blockComment: ['/*', '*/']\n },\n brackets: [\n ['{', '}'],\n ['[', ']'],\n ['(', ')'],\n ['begin', 'end'],\n ['case', 'endcase'],\n ['casex', 'endcase'],\n ['casez', 'endcase'],\n ['checker', 'endchecker'],\n ['class', 'endclass'],\n ['clocking', 'endclocking'],\n ['config', 'endconfig'],\n ['function', 'endfunction'],\n ['generate', 'endgenerate'],\n ['group', 'endgroup'],\n ['interface', 'endinterface'],\n ['module', 'endmodule'],\n ['package', 'endpackage'],\n ['primitive', 'endprimitive'],\n ['program', 'endprogram'],\n ['property', 'endproperty'],\n ['specify', 'endspecify'],\n ['sequence', 'endsequence'],\n ['table', 'endtable'],\n ['task', 'endtask']\n ],\n autoClosingPairs: [\n { open: '[', close: ']' },\n { open: '{', close: '}' },\n { open: '(', close: ')' },\n { open: \"'\", close: \"'\", notIn: ['string', 'comment'] },\n { open: '\"', close: '\"', notIn: ['string'] }\n ],\n surroundingPairs: [\n { open: '{', close: '}' },\n { open: '[', close: ']' },\n { open: '(', close: ')' },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n folding: {\n offSide: false,\n markers: {\n start: new RegExp('^(?:\\\\s*|.*(?!\\\\/[\\\\/\\\\*])[^\\\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\\\b'),\n end: new RegExp('^(?:\\\\s*|.*(?!\\\\/[\\\\/\\\\*])[^\\\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\\\b')\n }\n }\n};\nvar language = {\n defaultToken: '',\n tokenPostfix: '.sv',\n brackets: [\n { token: 'delimiter.curly', open: '{', close: '}' },\n { token: 'delimiter.parenthesis', open: '(', close: ')' },\n { token: 'delimiter.square', open: '[', close: ']' },\n { token: 'delimiter.angle', open: '<', close: '>' }\n ],\n keywords: [\n 'accept_on',\n 'alias',\n 'always',\n 'always_comb',\n 'always_ff',\n 'always_latch',\n 'and',\n 'assert',\n 'assign',\n 'assume',\n 'automatic',\n 'before',\n 'begin',\n 'bind',\n 'bins',\n 'binsof',\n 'bit',\n 'break',\n 'buf',\n 'bufif0',\n 'bufif1',\n 'byte',\n 'case',\n 'casex',\n 'casez',\n 'cell',\n 'chandle',\n 'checker',\n 'class',\n 'clocking',\n 'cmos',\n 'config',\n 'const',\n 'constraint',\n 'context',\n 'continue',\n 'cover',\n 'covergroup',\n 'coverpoint',\n 'cross',\n 'deassign',\n 'default',\n 'defparam',\n 'design',\n 'disable',\n 'dist',\n 'do',\n 'edge',\n 'else',\n 'end',\n 'endcase',\n 'endchecker',\n 'endclass',\n 'endclocking',\n 'endconfig',\n 'endfunction',\n 'endgenerate',\n 'endgroup',\n 'endinterface',\n 'endmodule',\n 'endpackage',\n 'endprimitive',\n 'endprogram',\n 'endproperty',\n 'endspecify',\n 'endsequence',\n 'endtable',\n 'endtask',\n 'enum',\n 'event',\n 'eventually',\n 'expect',\n 'export',\n 'extends',\n 'extern',\n 'final',\n 'first_match',\n 'for',\n 'force',\n 'foreach',\n 'forever',\n 'fork',\n 'forkjoin',\n 'function',\n 'generate',\n 'genvar',\n 'global',\n 'highz0',\n 'highz1',\n 'if',\n 'iff',\n 'ifnone',\n 'ignore_bins',\n 'illegal_bins',\n 'implements',\n 'implies',\n 'import',\n 'incdir',\n 'include',\n 'initial',\n 'inout',\n 'input',\n 'inside',\n 'instance',\n 'int',\n 'integer',\n 'interconnect',\n 'interface',\n 'intersect',\n 'join',\n 'join_any',\n 'join_none',\n 'large',\n 'let',\n 'liblist',\n 'library',\n 'local',\n 'localparam',\n 'logic',\n 'longint',\n 'macromodule',\n 'matches',\n 'medium',\n 'modport',\n 'module',\n 'nand',\n 'negedge',\n 'nettype',\n 'new',\n 'nexttime',\n 'nmos',\n 'nor',\n 'noshowcancelled',\n 'not',\n 'notif0',\n 'notif1',\n 'null',\n 'or',\n 'output',\n 'package',\n 'packed',\n 'parameter',\n 'pmos',\n 'posedge',\n 'primitive',\n 'priority',\n 'program',\n 'property',\n 'protected',\n 'pull0',\n 'pull1',\n 'pulldown',\n 'pullup',\n 'pulsestyle_ondetect',\n 'pulsestyle_onevent',\n 'pure',\n 'rand',\n 'randc',\n 'randcase',\n 'randsequence',\n 'rcmos',\n 'real',\n 'realtime',\n 'ref',\n 'reg',\n 'reject_on',\n 'release',\n 'repeat',\n 'restrict',\n 'return',\n 'rnmos',\n 'rpmos',\n 'rtran',\n 'rtranif0',\n 'rtranif1',\n 's_always',\n 's_eventually',\n 's_nexttime',\n 's_until',\n 's_until_with',\n 'scalared',\n 'sequence',\n 'shortint',\n 'shortreal',\n 'showcancelled',\n 'signed',\n 'small',\n 'soft',\n 'solve',\n 'specify',\n 'specparam',\n 'static',\n 'string',\n 'strong',\n 'strong0',\n 'strong1',\n 'struct',\n 'super',\n 'supply0',\n 'supply1',\n 'sync_accept_on',\n 'sync_reject_on',\n 'table',\n 'tagged',\n 'task',\n 'this',\n 'throughout',\n 'time',\n 'timeprecision',\n 'timeunit',\n 'tran',\n 'tranif0',\n 'tranif1',\n 'tri',\n 'tri0',\n 'tri1',\n 'triand',\n 'trior',\n 'trireg',\n 'type',\n 'typedef',\n 'union',\n 'unique',\n 'unique0',\n 'unsigned',\n 'until',\n 'until_with',\n 'untyped',\n 'use',\n 'uwire',\n 'var',\n 'vectored',\n 'virtual',\n 'void',\n 'wait',\n 'wait_order',\n 'wand',\n 'weak',\n 'weak0',\n 'weak1',\n 'while',\n 'wildcard',\n 'wire',\n 'with',\n 'within',\n 'wor',\n 'xnor',\n 'xor'\n ],\n builtin_gates: [\n 'and',\n 'nand',\n 'nor',\n 'or',\n 'xor',\n 'xnor',\n 'buf',\n 'not',\n 'bufif0',\n 'bufif1',\n 'notif1',\n 'notif0',\n 'cmos',\n 'nmos',\n 'pmos',\n 'rcmos',\n 'rnmos',\n 'rpmos',\n 'tran',\n 'tranif1',\n 'tranif0',\n 'rtran',\n 'rtranif1',\n 'rtranif0'\n ],\n operators: [\n // assignment operators\n '=',\n '+=',\n '-=',\n '*=',\n '/=',\n '%=',\n '&=',\n '|=',\n '^=',\n '<<=',\n '>>+',\n '<<<=',\n '>>>=',\n // conditional expression\n '?',\n ':',\n // Unary operators\n '+',\n '-',\n '!',\n '~',\n '&',\n '~&',\n '|',\n '~|',\n '^',\n '~^',\n '^~',\n //binary operators\n '+',\n '-',\n '*',\n '/',\n '%',\n '==',\n '!=',\n '===',\n '!==',\n '==?',\n '!=?',\n '&&',\n '||',\n '**',\n '<',\n '<=',\n '>',\n '>=',\n '&',\n '|',\n '^',\n '>>',\n '<<',\n '>>>',\n '<<<',\n // increment or decrement operator\n '++',\n '--',\n //binary logical operator\n '->',\n '<->',\n // binary set membership operator\n 'inside',\n // binary distrubution operator\n 'dist',\n '::',\n '+:',\n '-:',\n '*>',\n '&&&',\n '|->',\n '|=>',\n '#=#'\n ],\n // we include these common regular expressions\n symbols: /[=><!~?:&|+\\-*\\/\\^%#]+/,\n escapes: /%%|\\\\(?:[antvf\\\\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,\n identifier: /(?:[a-zA-Z_][a-zA-Z0-9_$\\.]*|\\\\\\S+ )/,\n systemcall: /[$][a-zA-Z0-9_]+/,\n timeunits: /s|ms|us|ns|ps|fs/,\n // The main tokenizer for our languages\n tokenizer: {\n root: [\n // module instances\n [\n /^(\\s*)(@identifier)/,\n [\n '',\n {\n cases: {\n '@builtin_gates': {\n token: 'keyword.$2',\n next: '@module_instance'\n },\n table: {\n token: 'keyword.$2',\n next: '@table'\n },\n '@keywords': { token: 'keyword.$2' },\n '@default': {\n token: 'identifier',\n next: '@module_instance'\n }\n }\n }\n ]\n ],\n // include statements\n [/^\\s*`include/, { token: 'keyword.directive.include', next: '@include' }],\n // Preprocessor directives\n [/^\\s*`\\s*\\w+/, 'keyword'],\n // identifiers and keywords\n { include: '@identifier_or_keyword' },\n // whitespace and comments\n { include: '@whitespace' },\n // (* attributes *).\n [/\\(\\*.*\\*\\)/, 'annotation'],\n // Systemcall\n [/@systemcall/, 'variable.predefined'],\n // delimiters and operators\n [/[{}()\\[\\]]/, '@brackets'],\n [/[<>](?!@symbols)/, '@brackets'],\n [\n /@symbols/,\n {\n cases: {\n '@operators': 'delimiter',\n '@default': ''\n }\n }\n ],\n // numbers\n { include: '@numbers' },\n // delimiter: after number because of .\\d floats\n [/[;,.]/, 'delimiter'],\n // strings\n { include: '@strings' }\n ],\n identifier_or_keyword: [\n [\n /@identifier/,\n {\n cases: {\n '@keywords': { token: 'keyword.$0' },\n '@default': 'identifier'\n }\n }\n ]\n ],\n numbers: [\n [/\\d+?[\\d_]*(?:\\.[\\d_]+)?[eE][\\-+]?\\d+/, 'number.float'],\n [/\\d+?[\\d_]*\\.[\\d_]+(?:\\s*@timeunits)?/, 'number.float'],\n [/(?:\\d+?[\\d_]*\\s*)?'[sS]?[dD]\\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/, 'number'],\n [/(?:\\d+?[\\d_]*\\s*)?'[sS]?[bB]\\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/, 'number.binary'],\n [/(?:\\d+?[\\d_]*\\s*)?'[sS]?[oO]\\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/, 'number.octal'],\n [/(?:\\d+?[\\d_]*\\s*)?'[sS]?[hH]\\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/, 'number.hex'],\n [/1step/, 'number'],\n [/[\\dxXzZ]+?[\\dxXzZ_]*(?:\\s*@timeunits)?/, 'number'],\n [/'[01xXzZ]+/, 'number']\n ],\n module_instance: [\n { include: '@whitespace' },\n [/(#?)(\\()/, ['', { token: '@brackets', next: '@port_connection' }]],\n [/@identifier\\s*[;={}\\[\\],]/, { token: '@rematch', next: '@pop' }],\n [/@symbols|[;={}\\[\\],]/, { token: '@rematch', next: '@pop' }],\n [/@identifier/, 'type'],\n [/;/, 'delimiter', '@pop']\n ],\n port_connection: [\n { include: '@identifier_or_keyword' },\n { include: '@whitespace' },\n [/@systemcall/, 'variable.predefined'],\n { include: '@numbers' },\n { include: '@strings' },\n [/[,]/, 'delimiter'],\n [/\\(/, '@brackets', '@port_connection'],\n [/\\)/, '@brackets', '@pop']\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, ''],\n [/\\/\\*/, 'comment', '@comment'],\n [/\\/\\/.*$/, 'comment']\n ],\n comment: [\n [/[^\\/*]+/, 'comment'],\n [/\\*\\//, 'comment', '@pop'],\n [/[\\/*]/, 'comment']\n ],\n strings: [\n [/\"([^\"\\\\]|\\\\.)*$/, 'string.invalid'],\n [/\"/, 'string', '@string']\n ],\n string: [\n [/[^\\\\\"]+/, 'string'],\n [/@escapes/, 'string.escape'],\n [/\\\\./, 'string.escape.invalid'],\n [/\"/, 'string', '@pop']\n ],\n include: [\n [\n /(\\s*)(\")([\\w*\\/*]*)(.\\w*)(\")/,\n [\n '',\n 'string.include.identifier',\n 'string.include.identifier',\n 'string.include.identifier',\n { token: 'string.include.identifier', next: '@pop' }\n ]\n ],\n [\n /(\\s*)(<)([\\w*\\/*]*)(.\\w*)(>)/,\n [\n '',\n 'string.include.identifier',\n 'string.include.identifier',\n 'string.include.identifier',\n { token: 'string.include.identifier', next: '@pop' }\n ]\n ]\n ],\n table: [\n { include: '@whitespace' },\n [/[()]/, '@brackets'],\n [/[:;]/, 'delimiter'],\n [/[01\\-*?xXbBrRfFpPnN]/, 'variable.predefined'],\n ['endtable', 'keyword.endtable', '@pop']\n ]\n }\n};\n\n\n//# sourceURL=webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/systemverilog/systemverilog.js?");
12
+
13
+ /***/ })
14
+
15
+ }]);