@perses-dev/victorialogs-plugin 0.4.0-rc.1 → 0.5.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__mf/js/{VictoriaLogs.cc2c1a55.js → VictoriaLogs.72a4d689.js} +3 -3
- package/__mf/js/async/1522.e41aa623.js +22 -0
- package/__mf/js/async/1616.f91f6c7b.js +1 -0
- package/__mf/js/async/198.4b388f96.js +2 -0
- package/__mf/js/async/2377.1627ef61.js +1 -0
- package/__mf/js/async/2786.4ba35a40.js +2 -0
- package/__mf/js/async/2901.21debf59.js +1 -0
- package/__mf/js/async/3865.3eba8e7a.js +1 -0
- package/__mf/js/async/392.8532b8b9.js +2 -0
- package/__mf/js/async/4121.43679b06.js +2 -0
- package/__mf/js/async/4248.f3720fee.js +1 -0
- package/__mf/js/async/4960.813e0b59.js +2 -0
- package/__mf/js/async/5019.a912bf58.js +1 -0
- package/__mf/js/async/5440.e2ea1262.js +2 -0
- package/__mf/js/async/5587.144f3899.js +1 -0
- package/__mf/js/async/560.ebacb2ba.js +37 -0
- package/__mf/js/async/5623.6fc3cf67.js +1 -0
- package/__mf/js/async/5706.38c46b8c.js +1 -0
- package/__mf/js/async/6274.efc9c64a.js +2 -0
- package/__mf/js/async/663.cccc183b.js +1 -0
- package/__mf/js/async/7155.68cbed18.js +7 -0
- package/__mf/js/async/7155.68cbed18.js.LICENSE.txt +102 -0
- package/__mf/js/async/7192.9670a853.js +1 -0
- package/__mf/js/async/7740.c8cb2613.js +101 -0
- package/__mf/js/async/7817.620f3116.js +2 -0
- package/__mf/js/async/7862.e6de7017.js +2 -0
- package/__mf/js/async/7873.4d25d71e.js +2 -0
- package/__mf/js/async/7968.69cffbaf.js +1 -0
- package/__mf/js/async/8356.d0bcc56a.js +1 -0
- package/__mf/js/async/8470.6cf8f7b1.js +2 -0
- package/__mf/js/async/9235.bfe14cc5.js +1 -0
- package/__mf/js/async/941.73cfe62f.js +2 -0
- package/__mf/js/async/9440.37da95ff.js +10 -0
- package/__mf/js/async/9700.72a5372d.js +3 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsDatasource.db12b897.js +2 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.59ed2274.js +2 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.fcbe16ef.js +2 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsLogQuery.803dba77.js +1 -0
- package/__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.6d5fdbb1.js +1 -0
- package/__mf/js/{main.beb4c281.js → main.00381beb.js} +2 -2
- package/lib/bootstrap.js +2 -2
- package/lib/components/index.js +1 -1
- package/lib/components/index.js.map +1 -1
- package/lib/components/logsql-editor.d.ts +2 -2
- package/lib/components/logsql-editor.d.ts.map +1 -1
- package/lib/components/logsql-editor.js +4 -4
- package/lib/components/logsql-editor.js.map +1 -1
- package/lib/components/logsql-extension.d.ts +1 -1
- package/lib/components/logsql-extension.d.ts.map +1 -1
- package/lib/components/logsql-extension.js +3 -3
- package/lib/components/logsql-extension.js.map +1 -1
- package/lib/components/logsql-highlight.js +1 -1
- package/lib/datasources/index.js +1 -1
- package/lib/datasources/index.js.map +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.d.ts +3 -3
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.d.ts.map +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.js +2 -2
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasource.js.map +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.d.ts +2 -2
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.d.ts.map +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.js +1 -1
- package/lib/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.js.map +1 -1
- package/lib/datasources/victorialogs-datasource/index.js +3 -3
- package/lib/datasources/victorialogs-datasource/index.js.map +1 -1
- package/lib/datasources/victorialogs-datasource/types.d.ts +1 -1
- package/lib/datasources/victorialogs-datasource/types.d.ts.map +1 -1
- package/lib/datasources/victorialogs-datasource/types.js.map +1 -1
- package/lib/getPluginModule.d.ts +1 -1
- package/lib/getPluginModule.d.ts.map +1 -1
- package/lib/getPluginModule.js +3 -1
- package/lib/getPluginModule.js.map +1 -1
- package/lib/index-federation.js +1 -1
- package/lib/index.js +4 -4
- package/lib/index.js.map +1 -1
- package/lib/model/client.d.ts +1 -1
- package/lib/model/client.d.ts.map +1 -1
- package/lib/model/client.js.map +1 -1
- package/lib/model/index.js +3 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/selectors.d.ts +2 -2
- package/lib/model/selectors.d.ts.map +1 -1
- package/lib/model/selectors.js +1 -1
- package/lib/model/selectors.js.map +1 -1
- package/lib/queries/index.js +2 -2
- package/lib/queries/index.js.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.d.ts +2 -2
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.js +4 -6
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQuery.js.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.d.ts +3 -3
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.js +7 -7
- package/lib/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.js.map +1 -1
- package/lib/queries/victorialogs-log-query/index.js +4 -4
- package/lib/queries/victorialogs-log-query/index.js.map +1 -1
- package/lib/queries/victorialogs-log-query/query.d.ts +2 -2
- package/lib/queries/victorialogs-log-query/query.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/query.js +2 -2
- package/lib/queries/victorialogs-log-query/query.js.map +1 -1
- package/lib/queries/victorialogs-log-query/types.d.ts +1 -1
- package/lib/queries/victorialogs-log-query/types.d.ts.map +1 -1
- package/lib/queries/victorialogs-log-query/types.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.d.ts +2 -2
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.d.ts.map +1 -1
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.js +4 -6
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.d.ts +3 -3
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.d.ts.map +1 -1
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.js +7 -7
- package/lib/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/index.js +4 -4
- package/lib/queries/victorialogs-time-series-query/index.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/query.d.ts +2 -2
- package/lib/queries/victorialogs-time-series-query/query.d.ts.map +1 -1
- package/lib/queries/victorialogs-time-series-query/query.js +4 -4
- package/lib/queries/victorialogs-time-series-query/query.js.map +1 -1
- package/lib/queries/victorialogs-time-series-query/types.d.ts +1 -1
- package/lib/queries/victorialogs-time-series-query/types.d.ts.map +1 -1
- package/lib/queries/victorialogs-time-series-query/types.js.map +1 -1
- package/lib/setup-tests.d.ts +1 -1
- package/lib/setup-tests.d.ts.map +1 -1
- package/lib/setup-tests.js +2 -2
- package/lib/setup-tests.js.map +1 -1
- package/lib/variables/index.js +2 -2
- package/lib/variables/index.js.map +1 -1
- package/lib/variables/types.d.ts +2 -2
- package/lib/variables/types.d.ts.map +1 -1
- package/lib/variables/types.js.map +1 -1
- package/lib/variables/utils.d.ts +5 -5
- package/lib/variables/utils.d.ts.map +1 -1
- package/lib/variables/utils.js +2 -2
- package/lib/variables/utils.js.map +1 -1
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.d.ts +2 -2
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.d.ts.map +1 -1
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.js +4 -4
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.js.map +1 -1
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.d.ts +3 -3
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.d.ts.map +1 -1
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.js +5 -5
- package/lib/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.js.map +1 -1
- package/lib/variables/victorialogs-field-names/index.js +1 -1
- package/lib/variables/victorialogs-field-names/index.js.map +1 -1
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.d.ts +2 -2
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.d.ts.map +1 -1
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.js +4 -4
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.js.map +1 -1
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.d.ts +3 -3
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.d.ts.map +1 -1
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.js +6 -6
- package/lib/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.js.map +1 -1
- package/lib/variables/victorialogs-field-values/index.js +1 -1
- package/lib/variables/victorialogs-field-values/index.js.map +1 -1
- package/mf-manifest.json +117 -230
- package/mf-stats.json +117 -242
- package/package.json +20 -12
- package/__mf/js/async/1170.532d9fb3.js +0 -101
- package/__mf/js/async/1616.5a6b8ab3.js +0 -1
- package/__mf/js/async/1728.fbf15584.js +0 -1
- package/__mf/js/async/1969.fc35e1b4.js +0 -1
- package/__mf/js/async/198.fbb67f8a.js +0 -2
- package/__mf/js/async/2043.b149adfd.js +0 -2
- package/__mf/js/async/2043.b149adfd.js.LICENSE.txt +0 -24
- package/__mf/js/async/2377.9265b0a7.js +0 -1
- package/__mf/js/async/2728.fd6779e6.js +0 -1
- package/__mf/js/async/2749.71c38fe0.js +0 -2
- package/__mf/js/async/2842.9ea83634.js +0 -1
- package/__mf/js/async/3059.fe1cdfc3.js +0 -1
- package/__mf/js/async/392.c6e57bd8.js +0 -2
- package/__mf/js/async/3981.15a0f189.js +0 -3
- package/__mf/js/async/3998.3a757c00.js +0 -2
- package/__mf/js/async/4121.5468ac01.js +0 -2
- package/__mf/js/async/4225.744952e9.js +0 -10
- package/__mf/js/async/4248.9b99209c.js +0 -1
- package/__mf/js/async/5019.51d94aab.js +0 -1
- package/__mf/js/async/5071.6ac86637.js +0 -1
- package/__mf/js/async/5405.004a286a.js +0 -2
- package/__mf/js/async/5405.004a286a.js.LICENSE.txt +0 -37
- package/__mf/js/async/5440.7765ad14.js +0 -2
- package/__mf/js/async/5481.b7b48b8f.js +0 -2
- package/__mf/js/async/5587.12959dbf.js +0 -1
- package/__mf/js/async/5706.55b9ef2f.js +0 -1
- package/__mf/js/async/6274.0634d636.js +0 -2
- package/__mf/js/async/6408.2bc7e8f4.js +0 -7
- package/__mf/js/async/6408.2bc7e8f4.js.LICENSE.txt +0 -39
- package/__mf/js/async/6410.63a88be6.js +0 -1
- package/__mf/js/async/6592.24e266ac.js +0 -1
- package/__mf/js/async/6854.21ddded3.js +0 -1
- package/__mf/js/async/6864.66bc6315.js +0 -2
- package/__mf/js/async/7177.dfbac40a.js +0 -1
- package/__mf/js/async/7192.339adba2.js +0 -1
- package/__mf/js/async/7793.43841fdc.js +0 -1
- package/__mf/js/async/7817.5e96b0dd.js +0 -2
- package/__mf/js/async/7968.d586d9f8.js +0 -1
- package/__mf/js/async/7978.895bbb5f.js +0 -1
- package/__mf/js/async/7984.4808a362.js +0 -22
- package/__mf/js/async/8356.053c21d0.js +0 -1
- package/__mf/js/async/8470.cb89de3b.js +0 -2
- package/__mf/js/async/873.4df0ea19.js +0 -1
- package/__mf/js/async/8787.c3298397.js +0 -2
- package/__mf/js/async/9235.3e1de7b9.js +0 -1
- package/__mf/js/async/941.a44f722e.js +0 -2
- package/__mf/js/async/9588.c379dd44.js +0 -1
- package/__mf/js/async/9836.fd9de3af.js +0 -1
- package/__mf/js/async/9877.8b83de3c.js +0 -38
- package/__mf/js/async/9944.4d41cb7b.js +0 -1
- package/__mf/js/async/__federation_expose_VictoriaLogsDatasource.87d7c015.js +0 -2
- package/__mf/js/async/__federation_expose_VictoriaLogsFieldNamesVariable.51d0e04a.js +0 -1
- package/__mf/js/async/__federation_expose_VictoriaLogsFieldValuesVariable.f025329d.js +0 -1
- package/__mf/js/async/__federation_expose_VictoriaLogsLogQuery.e5f5470b.js +0 -1
- package/__mf/js/async/__federation_expose_VictoriaLogsTimeSeriesQuery.cad2ff0d.js +0 -1
- package/lib/cjs/bootstrap.js +0 -26
- package/lib/cjs/components/index.js +0 -23
- package/lib/cjs/components/logsql-editor.js +0 -110
- package/lib/cjs/components/logsql-extension.js +0 -55
- package/lib/cjs/components/logsql-highlight.js +0 -40
- package/lib/cjs/datasources/index.js +0 -30
- package/lib/cjs/datasources/victorialogs-datasource/VictoriaLogsDatasource.js +0 -61
- package/lib/cjs/datasources/victorialogs-datasource/VictoriaLogsDatasourceEditor.js +0 -95
- package/lib/cjs/datasources/victorialogs-datasource/index.js +0 -32
- package/lib/cjs/datasources/victorialogs-datasource/types.js +0 -16
- package/lib/cjs/env.d.js +0 -14
- package/lib/cjs/getPluginModule.js +0 -39
- package/lib/cjs/index-federation.js +0 -55
- package/lib/cjs/index.js +0 -39
- package/lib/cjs/model/client.js +0 -156
- package/lib/cjs/model/index.js +0 -32
- package/lib/cjs/model/selectors.js +0 -47
- package/lib/cjs/model/types.js +0 -16
- package/lib/cjs/queries/constants.js +0 -34
- package/lib/cjs/queries/index.js +0 -31
- package/lib/cjs/queries/victorialogs-log-query/VictoriaLogsLogQuery.js +0 -63
- package/lib/cjs/queries/victorialogs-log-query/VictoriaLogsLogQueryEditor.js +0 -114
- package/lib/cjs/queries/victorialogs-log-query/index.js +0 -33
- package/lib/cjs/queries/victorialogs-log-query/query.js +0 -73
- package/lib/cjs/queries/victorialogs-log-query/types.js +0 -16
- package/lib/cjs/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQuery.js +0 -43
- package/lib/cjs/queries/victorialogs-time-series-query/VictoriaLogsTimeSeriesQueryEditor.js +0 -112
- package/lib/cjs/queries/victorialogs-time-series-query/index.js +0 -33
- package/lib/cjs/queries/victorialogs-time-series-query/query.js +0 -126
- package/lib/cjs/queries/victorialogs-time-series-query/types.js +0 -16
- package/lib/cjs/setup-tests.js +0 -19
- package/lib/cjs/variables/index.js +0 -31
- package/lib/cjs/variables/types.js +0 -16
- package/lib/cjs/variables/utils.js +0 -97
- package/lib/cjs/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariable.js +0 -57
- package/lib/cjs/variables/victorialogs-field-names/VictoriaLogsFieldNamesVariableEditor.js +0 -80
- package/lib/cjs/variables/victorialogs-field-names/index.js +0 -30
- package/lib/cjs/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariable.js +0 -61
- package/lib/cjs/variables/victorialogs-field-values/VictoriaLogsFieldValuesVariableEditor.js +0 -113
- package/lib/cjs/variables/victorialogs-field-values/index.js +0 -30
- /package/__mf/css/async/{6408.85c2cbf6.css → 7155.85c2cbf6.css} +0 -0
- /package/__mf/js/async/{7984.4808a362.js.LICENSE.txt → 1522.e41aa623.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{198.fbb67f8a.js.LICENSE.txt → 198.4b388f96.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{2749.71c38fe0.js.LICENSE.txt → 2786.4ba35a40.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{392.c6e57bd8.js.LICENSE.txt → 392.8532b8b9.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{4121.5468ac01.js.LICENSE.txt → 4121.43679b06.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{3998.3a757c00.js.LICENSE.txt → 4960.813e0b59.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{5440.7765ad14.js.LICENSE.txt → 5440.e2ea1262.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{6274.0634d636.js.LICENSE.txt → 6274.efc9c64a.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{6864.66bc6315.js.LICENSE.txt → 7817.620f3116.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{5481.b7b48b8f.js.LICENSE.txt → 7862.e6de7017.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{8470.cb89de3b.js.LICENSE.txt → 8470.6cf8f7b1.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{7817.5e96b0dd.js.LICENSE.txt → 941.73cfe62f.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{4225.744952e9.js.LICENSE.txt → 9440.37da95ff.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{8787.c3298397.js.LICENSE.txt → __federation_expose_VictoriaLogsDatasource.db12b897.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{941.a44f722e.js.LICENSE.txt → __federation_expose_VictoriaLogsFieldNamesVariable.59ed2274.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{__federation_expose_VictoriaLogsDatasource.87d7c015.js.LICENSE.txt → __federation_expose_VictoriaLogsFieldValuesVariable.fcbe16ef.js.LICENSE.txt} +0 -0
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "LogsQLEditor", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return LogsQLEditor;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const _jsxruntime = require("react/jsx-runtime");
|
|
24
|
-
const _react = require("react");
|
|
25
|
-
const _material = require("@mui/material");
|
|
26
|
-
const _reactcodemirror = /*#__PURE__*/ _interop_require_wildcard(require("@uiw/react-codemirror"));
|
|
27
|
-
const _logsqlextension = require("./logsql-extension");
|
|
28
|
-
function _getRequireWildcardCache(nodeInterop) {
|
|
29
|
-
if (typeof WeakMap !== "function") return null;
|
|
30
|
-
var cacheBabelInterop = new WeakMap();
|
|
31
|
-
var cacheNodeInterop = new WeakMap();
|
|
32
|
-
return (_getRequireWildcardCache = function(nodeInterop) {
|
|
33
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
34
|
-
})(nodeInterop);
|
|
35
|
-
}
|
|
36
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
|
37
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
|
38
|
-
return obj;
|
|
39
|
-
}
|
|
40
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
41
|
-
return {
|
|
42
|
-
default: obj
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
46
|
-
if (cache && cache.has(obj)) {
|
|
47
|
-
return cache.get(obj);
|
|
48
|
-
}
|
|
49
|
-
var newObj = {
|
|
50
|
-
__proto__: null
|
|
51
|
-
};
|
|
52
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
53
|
-
for(var key in obj){
|
|
54
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
55
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
56
|
-
if (desc && (desc.get || desc.set)) {
|
|
57
|
-
Object.defineProperty(newObj, key, desc);
|
|
58
|
-
} else {
|
|
59
|
-
newObj[key] = obj[key];
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
newObj.default = obj;
|
|
64
|
-
if (cache) {
|
|
65
|
-
cache.set(obj, newObj);
|
|
66
|
-
}
|
|
67
|
-
return newObj;
|
|
68
|
-
}
|
|
69
|
-
function LogsQLEditor(props) {
|
|
70
|
-
const theme = (0, _material.useTheme)();
|
|
71
|
-
const isDarkMode = theme.palette.mode === 'dark';
|
|
72
|
-
const logsqlExtension = (0, _react.useMemo)(()=>{
|
|
73
|
-
return (0, _logsqlextension.LogsQLExtension)();
|
|
74
|
-
}, []);
|
|
75
|
-
const codemirrorTheme = (0, _react.useMemo)(()=>{
|
|
76
|
-
const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';
|
|
77
|
-
return _reactcodemirror.EditorView.theme({
|
|
78
|
-
'&': {
|
|
79
|
-
backgroundColor: 'transparent !important',
|
|
80
|
-
border: `1px solid ${borderColor}`,
|
|
81
|
-
borderRadius: `${theme.shape.borderRadius}px`
|
|
82
|
-
},
|
|
83
|
-
'&.cm-focused.cm-editor': {
|
|
84
|
-
outline: 'none'
|
|
85
|
-
},
|
|
86
|
-
'.cm-content': {
|
|
87
|
-
padding: '8px'
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
}, [
|
|
91
|
-
theme
|
|
92
|
-
]);
|
|
93
|
-
return /*#__PURE__*/ (0, _jsxruntime.jsx)(_reactcodemirror.default, {
|
|
94
|
-
...props,
|
|
95
|
-
theme: isDarkMode ? 'dark' : 'light',
|
|
96
|
-
basicSetup: {
|
|
97
|
-
lineNumbers: false,
|
|
98
|
-
highlightActiveLine: false,
|
|
99
|
-
highlightActiveLineGutter: false,
|
|
100
|
-
foldGutter: false,
|
|
101
|
-
syntaxHighlighting: true
|
|
102
|
-
},
|
|
103
|
-
extensions: [
|
|
104
|
-
_reactcodemirror.EditorView.lineWrapping,
|
|
105
|
-
logsqlExtension,
|
|
106
|
-
codemirrorTheme
|
|
107
|
-
],
|
|
108
|
-
placeholder: 'Example: {job="my-service"} |= "error"'
|
|
109
|
-
});
|
|
110
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "LogsQLExtension", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return LogsQLExtension;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const _language = require("@codemirror/language");
|
|
24
|
-
const _lezerlogql = require("@grafana/lezer-logql");
|
|
25
|
-
const _logsqlhighlight = require("./logsql-highlight");
|
|
26
|
-
function logsqlLanguage() {
|
|
27
|
-
return _language.LRLanguage.define({
|
|
28
|
-
parser: _lezerlogql.parser.configure({
|
|
29
|
-
props: [
|
|
30
|
-
_logsqlhighlight.logsqlHighlight
|
|
31
|
-
]
|
|
32
|
-
}),
|
|
33
|
-
languageData: {
|
|
34
|
-
closeBrackets: {
|
|
35
|
-
brackets: [
|
|
36
|
-
'(',
|
|
37
|
-
'[',
|
|
38
|
-
'{',
|
|
39
|
-
"'",
|
|
40
|
-
'"',
|
|
41
|
-
'`'
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
commentTokens: {
|
|
45
|
-
line: '#'
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
function LogsQLExtension() {
|
|
51
|
-
const language = logsqlLanguage();
|
|
52
|
-
return [
|
|
53
|
-
language
|
|
54
|
-
];
|
|
55
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "logsqlHighlight", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return logsqlHighlight;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const _highlight = require("@lezer/highlight");
|
|
24
|
-
const logsqlHighlight = (0, _highlight.styleTags)({
|
|
25
|
-
LineComment: _highlight.tags.comment,
|
|
26
|
-
'Identifier StreamSelector': _highlight.tags.labelName,
|
|
27
|
-
'LabelName LabelMatcher': _highlight.tags.labelName,
|
|
28
|
-
String: _highlight.tags.string,
|
|
29
|
-
'Number Float Duration': _highlight.tags.number,
|
|
30
|
-
'LogRangeAggregation VectorAggregation': _highlight.tags.function(_highlight.tags.keyword),
|
|
31
|
-
'And Or Unless': _highlight.tags.logicOperator,
|
|
32
|
-
'Eq Neq Re Nre Gt Lt Gte Lte': _highlight.tags.compareOperator,
|
|
33
|
-
'Add Sub Mul Div Mod Pow': _highlight.tags.arithmeticOperator,
|
|
34
|
-
Pipe: _highlight.tags.operator,
|
|
35
|
-
'By Without': _highlight.tags.keyword,
|
|
36
|
-
'( )': _highlight.tags.paren,
|
|
37
|
-
'[ ]': _highlight.tags.squareBracket,
|
|
38
|
-
'{ }': _highlight.tags.brace,
|
|
39
|
-
'⚠': _highlight.tags.invalid
|
|
40
|
-
});
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
_export_star(require("./victorialogs-datasource"), exports);
|
|
18
|
-
function _export_star(from, to) {
|
|
19
|
-
Object.keys(from).forEach(function(k) {
|
|
20
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
21
|
-
Object.defineProperty(to, k, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function() {
|
|
24
|
-
return from[k];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
return from;
|
|
30
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "VictoriaLogsDatasource", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return VictoriaLogsDatasource;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const _client = require("../../model/client");
|
|
24
|
-
const _VictoriaLogsDatasourceEditor = require("./VictoriaLogsDatasourceEditor");
|
|
25
|
-
const createClient = (spec, options)=>{
|
|
26
|
-
const { directUrl, proxy } = spec;
|
|
27
|
-
const { proxyUrl } = options;
|
|
28
|
-
const datasourceUrl = directUrl ?? proxyUrl;
|
|
29
|
-
if (datasourceUrl === undefined) {
|
|
30
|
-
throw new Error('No URL specified for VictoriaLogs client. You can use directUrl in the spec to configure it.');
|
|
31
|
-
}
|
|
32
|
-
const specHeaders = proxy?.spec.headers;
|
|
33
|
-
return {
|
|
34
|
-
options: {
|
|
35
|
-
datasourceUrl
|
|
36
|
-
},
|
|
37
|
-
streamQueryRange: (params, headers)=>(0, _client.streamQueryRange)(params, {
|
|
38
|
-
datasourceUrl,
|
|
39
|
-
headers: headers ?? specHeaders
|
|
40
|
-
}),
|
|
41
|
-
statsQueryRange: (params, headers)=>(0, _client.statsQueryRange)(params, {
|
|
42
|
-
datasourceUrl,
|
|
43
|
-
headers: headers ?? specHeaders
|
|
44
|
-
}),
|
|
45
|
-
fieldNames: (params, headers)=>(0, _client.fieldNames)(params, {
|
|
46
|
-
datasourceUrl,
|
|
47
|
-
headers: headers ?? specHeaders
|
|
48
|
-
}),
|
|
49
|
-
fieldValues: (params, headers)=>(0, _client.fieldValues)(params, {
|
|
50
|
-
datasourceUrl,
|
|
51
|
-
headers: headers ?? specHeaders
|
|
52
|
-
})
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
const VictoriaLogsDatasource = {
|
|
56
|
-
createClient,
|
|
57
|
-
OptionsEditorComponent: _VictoriaLogsDatasourceEditor.VictoriaLogsDatasourceEditor,
|
|
58
|
-
createInitialOptions: ()=>({
|
|
59
|
-
directUrl: ''
|
|
60
|
-
})
|
|
61
|
-
};
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "VictoriaLogsDatasourceEditor", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return VictoriaLogsDatasourceEditor;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const _jsxruntime = require("react/jsx-runtime");
|
|
24
|
-
const _pluginsystem = require("@perses-dev/plugin-system");
|
|
25
|
-
function VictoriaLogsDatasourceEditor(props) {
|
|
26
|
-
const { value, onChange, isReadonly } = props;
|
|
27
|
-
const initialSpecDirect = {
|
|
28
|
-
directUrl: ''
|
|
29
|
-
};
|
|
30
|
-
const initialSpecProxy = {
|
|
31
|
-
proxy: {
|
|
32
|
-
kind: 'HTTPProxy',
|
|
33
|
-
spec: {
|
|
34
|
-
allowedEndpoints: [
|
|
35
|
-
{
|
|
36
|
-
endpointPattern: '/select/logsql/stats_query',
|
|
37
|
-
method: 'POST'
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
endpointPattern: '/select/logsql/stats_query_range',
|
|
41
|
-
method: 'POST'
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
endpointPattern: '/select/logsql/field_names',
|
|
45
|
-
method: 'POST'
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
endpointPattern: '/select/logsql/field_values',
|
|
49
|
-
method: 'POST'
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
endpointPattern: '/select/logsql/tail',
|
|
53
|
-
method: 'POST'
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
endpointPattern: '/select/logsql/query',
|
|
57
|
-
method: 'POST'
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
endpointPattern: '/select/logsql/hits',
|
|
61
|
-
method: 'POST'
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
endpointPattern: '/select/logsql/facets',
|
|
65
|
-
method: 'POST'
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
endpointPattern: '/select/logsql/stream_ids',
|
|
69
|
-
method: 'POST'
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
endpointPattern: '/select/logsql/streams',
|
|
73
|
-
method: 'POST'
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
endpointPattern: '/select/logsql/stream_field_names',
|
|
77
|
-
method: 'POST'
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
endpointPattern: '/select/logsql/stream_field_values',
|
|
81
|
-
method: 'POST'
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
url: ''
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pluginsystem.HTTPSettingsEditor, {
|
|
89
|
-
value: value,
|
|
90
|
-
onChange: onChange,
|
|
91
|
-
isReadonly: isReadonly,
|
|
92
|
-
initialSpecDirect: initialSpecDirect,
|
|
93
|
-
initialSpecProxy: initialSpecProxy
|
|
94
|
-
});
|
|
95
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
_export_star(require("./VictoriaLogsDatasource"), exports);
|
|
18
|
-
_export_star(require("./VictoriaLogsDatasourceEditor"), exports);
|
|
19
|
-
_export_star(require("./types"), exports);
|
|
20
|
-
function _export_star(from, to) {
|
|
21
|
-
Object.keys(from).forEach(function(k) {
|
|
22
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
23
|
-
Object.defineProperty(to, k, {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
get: function() {
|
|
26
|
-
return from[k];
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
return from;
|
|
32
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
package/lib/cjs/env.d.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the \"License\");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an \"AS IS\" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
/// <reference types="@rsbuild/core/types" />
|
|
14
|
-
"use strict";
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the \"License\");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an \"AS IS\" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "getPluginModule", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return getPluginModule;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const _packagejson = /*#__PURE__*/ _interop_require_default(require("../package.json"));
|
|
24
|
-
function _interop_require_default(obj) {
|
|
25
|
-
return obj && obj.__esModule ? obj : {
|
|
26
|
-
default: obj
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
function getPluginModule() {
|
|
30
|
-
const { name, version, perses } = _packagejson.default;
|
|
31
|
-
return {
|
|
32
|
-
kind: 'PluginModule',
|
|
33
|
-
metadata: {
|
|
34
|
-
name,
|
|
35
|
-
version
|
|
36
|
-
},
|
|
37
|
-
spec: perses
|
|
38
|
-
};
|
|
39
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
function _getRequireWildcardCache(nodeInterop) {
|
|
3
|
-
if (typeof WeakMap !== "function") return null;
|
|
4
|
-
var cacheBabelInterop = new WeakMap();
|
|
5
|
-
var cacheNodeInterop = new WeakMap();
|
|
6
|
-
return (_getRequireWildcardCache = function(nodeInterop) {
|
|
7
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
8
|
-
})(nodeInterop);
|
|
9
|
-
}
|
|
10
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
|
11
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
15
|
-
return {
|
|
16
|
-
default: obj
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
20
|
-
if (cache && cache.has(obj)) {
|
|
21
|
-
return cache.get(obj);
|
|
22
|
-
}
|
|
23
|
-
var newObj = {
|
|
24
|
-
__proto__: null
|
|
25
|
-
};
|
|
26
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
27
|
-
for(var key in obj){
|
|
28
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
29
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
30
|
-
if (desc && (desc.get || desc.set)) {
|
|
31
|
-
Object.defineProperty(newObj, key, desc);
|
|
32
|
-
} else {
|
|
33
|
-
newObj[key] = obj[key];
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
newObj.default = obj;
|
|
38
|
-
if (cache) {
|
|
39
|
-
cache.set(obj, newObj);
|
|
40
|
-
}
|
|
41
|
-
return newObj;
|
|
42
|
-
}
|
|
43
|
-
// Copyright The Perses Authors
|
|
44
|
-
// Licensed under the Apache License, Version 2.0 (the \"License\");
|
|
45
|
-
// you may not use this file except in compliance with the License.
|
|
46
|
-
// You may obtain a copy of the License at
|
|
47
|
-
//
|
|
48
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
49
|
-
//
|
|
50
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
51
|
-
// distributed under the License is distributed on an \"AS IS\" BASIS,
|
|
52
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
53
|
-
// See the License for the specific language governing permissions and
|
|
54
|
-
// limitations under the License.
|
|
55
|
-
Promise.resolve().then(()=>/*#__PURE__*/ _interop_require_wildcard(require("./bootstrap")));
|
package/lib/cjs/index.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the \"License\");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an \"AS IS\" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "getPluginModule", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return _getPluginModule.getPluginModule;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const _getPluginModule = require("./getPluginModule");
|
|
24
|
-
_export_star(require("./model"), exports);
|
|
25
|
-
_export_star(require("./queries"), exports);
|
|
26
|
-
_export_star(require("./datasources"), exports);
|
|
27
|
-
function _export_star(from, to) {
|
|
28
|
-
Object.keys(from).forEach(function(k) {
|
|
29
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
30
|
-
Object.defineProperty(to, k, {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function() {
|
|
33
|
-
return from[k];
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
return from;
|
|
39
|
-
}
|