Commit 51d3139d by jiangxd2016

release: v1.2.16

parent 6effdc91
{
"name": "@grafana/vue",
"version": "1.2.0",
"builtAt": "2026-07-29T09:13:54.277Z",
"builtAt": "2026-07-30T07:55:17.908Z",
"mode": "library-esm-single-file",
"entries": {
"index": "src/index.ts",
......
......@@ -273,6 +273,28 @@
}
return acc;
}
function stringStartsAsRegEx(str) {
return Boolean(str) && str[0] === "/";
}
function stringToJsRegex(str) {
if (!stringStartsAsRegEx(str)) {
return new RegExp(`^${str}$`);
}
const match = str.match(/^\/(.*?)\/(g?i?m?y?s?)$/);
if (!match) {
throw new Error(`'${str}' is not a valid regular expression.`);
}
return new RegExp(match[1], match[2]);
}
function stringToJsRegexSafe(str) {
try {
const s = String(str ?? "");
if (!s) return null;
return stringToJsRegex(s);
} catch {
return null;
}
}
var ReducerID = /* @__PURE__ */ ((ReducerID2) => {
ReducerID2["sum"] = "sum";
ReducerID2["max"] = "max";
......@@ -414,28 +436,6 @@
}
return out;
}
function stringStartsAsRegEx(str) {
return Boolean(str) && str[0] === "/";
}
function stringToJsRegex(str) {
if (!stringStartsAsRegEx(str)) {
return new RegExp(`^${str}$`);
}
const match = str.match(/^\/(.*?)\/(g?i?m?y?s?)$/);
if (!match) {
throw new Error(`'${str}' is not a valid regular expression.`);
}
return new RegExp(match[1], match[2]);
}
function stringToJsRegexSafe(str) {
try {
const s = String(str ?? "");
if (!s) return null;
return stringToJsRegex(s);
} catch {
return null;
}
}
function compareFieldValues(left, op, right) {
const o = String(op).toLowerCase();
const lv = left;
......@@ -702,6 +702,13 @@
const key = id.slice(7);
return { ...config, custom: { ...config.custom ?? {}, [key]: value } };
}
if (id === "filterable") {
return {
...config,
filterable: value,
custom: { ...config.custom ?? {}, filterable: value }
};
}
return { ...config, [id]: value };
}
const compiledRulesCache = /* @__PURE__ */ new WeakMap();
......@@ -1208,4 +1215,4 @@
self.onmessage = onMessage;
}
})();
//# sourceMappingURL=panelPipelineWorker-Basypt6p.js.map
//# sourceMappingURL=panelPipelineWorker-D7_wrugH.js.map
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "@grafana/vue",
"version": "1.2.15",
"version": "1.2.16",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment