@spectric/ui 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/query_bar/QueryBar.d.ts +5 -0
- package/dist/custom-elements.json +5 -1
- package/dist/index.es.js +118 -115
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +17 -17
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/query_bar/QueryBar.ts +15 -2
|
@@ -46,12 +46,17 @@ export interface IQueryProps {
|
|
|
46
46
|
* Callback that will provide values for specific fields
|
|
47
47
|
*/
|
|
48
48
|
getValuesForField: (field: string, text: string) => Promise<string[]>;
|
|
49
|
+
/**
|
|
50
|
+
* Input placeholder
|
|
51
|
+
*/
|
|
52
|
+
placeholder: string;
|
|
49
53
|
}
|
|
50
54
|
/**
|
|
51
55
|
* The Query component will take Opensearch Dashboard Query language and transform it into various outputs
|
|
52
56
|
*/
|
|
53
57
|
export declare class SpectricQuery extends LitElement implements IQueryProps {
|
|
54
58
|
private uuid;
|
|
59
|
+
placeholder: string;
|
|
55
60
|
constructor();
|
|
56
61
|
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
57
62
|
/**
|
|
@@ -1816,7 +1816,7 @@
|
|
|
1816
1816
|
},
|
|
1817
1817
|
{
|
|
1818
1818
|
"name": "spectric-query",
|
|
1819
|
-
"description": "The Query component will take Opensearch Dashboard Query language and transform it into various outputs\n\nEvents:\n\n * `change` {`CustomEvent<any>`} - \n\nAttributes:\n\n * `outputLanguage` {`\"toMongo\" | \"toCql\" | \"toDSL\" | \"AST\"`} - The output of the query in a specific format\n\n * `value` {`string`} - The value of the input.\n\n * `fields` {`FieldTypes[]`} - Fields that are used for the auto complete\n\nProperties:\n\n * `_value` {`string`} - The internal value.\n\n * `suggestion` {`Suggestion | undefined`} - \n\n * `completions` {`Completion[]`} - \n\n * `completionIndex` {`number`} - \n\n * `_autocomplete` {`HTMLDivElement | undefined`} - \n\n * `_asyncAutocomplete` {`Promise<HTMLDivElement>`} - \n\n * `_input` {`SpectricInput`} - The underlying input element\n\n * `_parseQuery` - \n\n * `_selectCompletion` - \n\n * `_handleArrows` - \n\n * `uuid` {`string`} - \n\n * `outputLanguage` {`\"toMongo\" | \"toCql\" | \"toDSL\" | \"AST\"`} - The output of the query in a specific format\n\n * `value` {`string`} - The value of the input.\n\n * `fields` {`FieldTypes[]`} - Fields that are used for the auto complete\n\n * `getValuesForField` - Callback that will provide values for specific fields",
|
|
1819
|
+
"description": "The Query component will take Opensearch Dashboard Query language and transform it into various outputs\n\nEvents:\n\n * `change` {`CustomEvent<any>`} - \n\nAttributes:\n\n * `outputLanguage` {`\"toMongo\" | \"toCql\" | \"toDSL\" | \"AST\"`} - The output of the query in a specific format\n\n * `value` {`string`} - The value of the input.\n\n * `fields` {`FieldTypes[]`} - Fields that are used for the auto complete\n\n * `placeholder` {`string`} - Input placeholder\n\nProperties:\n\n * `_value` {`string`} - The internal value.\n\n * `suggestion` {`Suggestion | undefined`} - \n\n * `completions` {`Completion[]`} - \n\n * `completionIndex` {`number`} - \n\n * `_autocomplete` {`HTMLDivElement | undefined`} - \n\n * `_asyncAutocomplete` {`Promise<HTMLDivElement>`} - \n\n * `_input` {`SpectricInput`} - The underlying input element\n\n * `_parseQuery` - \n\n * `_selectCompletion` - \n\n * `_handleArrows` - \n\n * `uuid` {`string`} - \n\n * `outputLanguage` {`\"toMongo\" | \"toCql\" | \"toDSL\" | \"AST\"`} - The output of the query in a specific format\n\n * `value` {`string`} - The value of the input.\n\n * `fields` {`FieldTypes[]`} - Fields that are used for the auto complete\n\n * `getValuesForField` - Callback that will provide values for specific fields\n\n * `placeholder` {`string`} - Input placeholder",
|
|
1820
1820
|
"attributes": [
|
|
1821
1821
|
{
|
|
1822
1822
|
"name": "outputLanguage",
|
|
@@ -1844,6 +1844,10 @@
|
|
|
1844
1844
|
"name": "fields",
|
|
1845
1845
|
"description": "`fields` {`FieldTypes[]`} - Fields that are used for the auto complete\n\nProperty: fields\n\nDefault: "
|
|
1846
1846
|
},
|
|
1847
|
+
{
|
|
1848
|
+
"name": "placeholder",
|
|
1849
|
+
"description": "`placeholder` {`string`} - Input placeholder\n\nProperty: placeholder\n\nDefault: "
|
|
1850
|
+
},
|
|
1847
1851
|
{
|
|
1848
1852
|
"name": "onchange",
|
|
1849
1853
|
"description": "`change` {`CustomEvent<any>`} - "
|
package/dist/index.es.js
CHANGED
|
@@ -761,7 +761,7 @@ opacity:1
|
|
|
761
761
|
* Copyright 2017 Google LLC
|
|
762
762
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
763
763
|
*/
|
|
764
|
-
const
|
|
764
|
+
const I = (s) => (r, o) => {
|
|
765
765
|
o !== void 0 ? o.addInitializer(() => {
|
|
766
766
|
customElements.define(s, r);
|
|
767
767
|
}) : customElements.define(s, r);
|
|
@@ -849,7 +849,7 @@ const on = {
|
|
|
849
849
|
secondary: "spectric-button--secondary",
|
|
850
850
|
text: "spectric-button--text"
|
|
851
851
|
};
|
|
852
|
-
let
|
|
852
|
+
let J = class extends L {
|
|
853
853
|
constructor() {
|
|
854
854
|
super(...arguments), this.variant = "primary", this.disabled = !1, this.size = "large", this.label = "", this.danger = !1, this._onClick = (s) => {
|
|
855
855
|
if (s instanceof CustomEvent)
|
|
@@ -884,28 +884,28 @@ let G = class extends L {
|
|
|
884
884
|
`;
|
|
885
885
|
}
|
|
886
886
|
};
|
|
887
|
-
|
|
887
|
+
J.styles = Go;
|
|
888
888
|
ge([
|
|
889
889
|
v({ type: String, reflect: !0 })
|
|
890
|
-
],
|
|
890
|
+
], J.prototype, "variant", 2);
|
|
891
891
|
ge([
|
|
892
892
|
v({ type: Boolean, reflect: !0 })
|
|
893
|
-
],
|
|
893
|
+
], J.prototype, "disabled", 2);
|
|
894
894
|
ge([
|
|
895
895
|
v({ type: String, reflect: !0 })
|
|
896
|
-
],
|
|
896
|
+
], J.prototype, "backgroundColor", 2);
|
|
897
897
|
ge([
|
|
898
898
|
v({ type: String, reflect: !0 })
|
|
899
|
-
],
|
|
899
|
+
], J.prototype, "size", 2);
|
|
900
900
|
ge([
|
|
901
901
|
v({ type: String, reflect: !0 })
|
|
902
|
-
],
|
|
902
|
+
], J.prototype, "label", 2);
|
|
903
903
|
ge([
|
|
904
904
|
v({ type: Boolean, reflect: !0 })
|
|
905
|
-
],
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
],
|
|
905
|
+
], J.prototype, "danger", 2);
|
|
906
|
+
J = ge([
|
|
907
|
+
I("spectric-button")
|
|
908
|
+
], J);
|
|
909
909
|
/**
|
|
910
910
|
* @license
|
|
911
911
|
* Copyright 2020 Google LLC
|
|
@@ -1090,7 +1090,7 @@ var dn = Object.defineProperty, fn = Object.getOwnPropertyDescriptor, ve = (s, r
|
|
|
1090
1090
|
return i && c && dn(r, o, c), c;
|
|
1091
1091
|
};
|
|
1092
1092
|
const hn = ["mousemove", "click", "dblclick", "mousedown", "mouseup", "contextmenu"], at = { width: 200, height: 200 }, bt = { width: 10, height: 10 };
|
|
1093
|
-
let
|
|
1093
|
+
let V = class extends Fs {
|
|
1094
1094
|
constructor() {
|
|
1095
1095
|
super(), this.arrayBuffer = new ArrayBuffer(0), this.frameWidth = 100, this.scale = 1, this.width = 200, this.height = 200, this.state = {}, this.yStart = 0, this.xStart = 0, this.refs = {
|
|
1096
1096
|
viewport: ut(),
|
|
@@ -1210,7 +1210,7 @@ let J = class extends Fs {
|
|
|
1210
1210
|
`;
|
|
1211
1211
|
}
|
|
1212
1212
|
};
|
|
1213
|
-
|
|
1213
|
+
V.styles = K`
|
|
1214
1214
|
:host{
|
|
1215
1215
|
position: relative;
|
|
1216
1216
|
--border-radius: var(--spectric-border-radius,4em);
|
|
@@ -1309,25 +1309,25 @@ J.styles = K`
|
|
|
1309
1309
|
`;
|
|
1310
1310
|
ve([
|
|
1311
1311
|
v({ type: Object, attribute: !1 })
|
|
1312
|
-
],
|
|
1312
|
+
], V.prototype, "arrayBuffer", 2);
|
|
1313
1313
|
ve([
|
|
1314
1314
|
v({ type: Number })
|
|
1315
|
-
],
|
|
1315
|
+
], V.prototype, "frameWidth", 2);
|
|
1316
1316
|
ve([
|
|
1317
1317
|
v({ type: Number })
|
|
1318
|
-
],
|
|
1318
|
+
], V.prototype, "scale", 2);
|
|
1319
1319
|
ve([
|
|
1320
1320
|
v({ type: Number })
|
|
1321
|
-
],
|
|
1321
|
+
], V.prototype, "width", 2);
|
|
1322
1322
|
ve([
|
|
1323
1323
|
v({ type: Number })
|
|
1324
|
-
],
|
|
1324
|
+
], V.prototype, "height", 2);
|
|
1325
1325
|
ve([
|
|
1326
1326
|
$t("canvas")
|
|
1327
|
-
],
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
],
|
|
1327
|
+
], V.prototype, "_canvas", 2);
|
|
1328
|
+
V = ve([
|
|
1329
|
+
I("spectric-bit-display")
|
|
1330
|
+
], V);
|
|
1331
1331
|
const bn = K`.spectric-header {
|
|
1332
1332
|
display: flex;
|
|
1333
1333
|
justify-content: space-between;
|
|
@@ -1425,7 +1425,7 @@ _t([
|
|
|
1425
1425
|
v({ type: String, reflect: !0 })
|
|
1426
1426
|
], Ee.prototype, "username", 2);
|
|
1427
1427
|
Ee = _t([
|
|
1428
|
-
|
|
1428
|
+
I("spectric-header")
|
|
1429
1429
|
], Ee);
|
|
1430
1430
|
var yn = Object.defineProperty, mn = Object.getOwnPropertyDescriptor, Te = (s, r, o, i) => {
|
|
1431
1431
|
for (var c = i > 1 ? void 0 : i ? mn(r, o) : r, t = s.length - 1, p; t >= 0; t--)
|
|
@@ -1481,7 +1481,7 @@ Te([
|
|
|
1481
1481
|
v({ state: !0, type: Boolean, attribute: !1 })
|
|
1482
1482
|
], he.prototype, "_dismissed", 2);
|
|
1483
1483
|
he = Te([
|
|
1484
|
-
|
|
1484
|
+
I("spectric-banner")
|
|
1485
1485
|
], he);
|
|
1486
1486
|
const _n = K`
|
|
1487
1487
|
|
|
@@ -1864,7 +1864,7 @@ Z([
|
|
|
1864
1864
|
v({ type: String, reflect: !0 })
|
|
1865
1865
|
], B.prototype, "theme", 2);
|
|
1866
1866
|
B = Z([
|
|
1867
|
-
|
|
1867
|
+
I("spectric-page")
|
|
1868
1868
|
], B);
|
|
1869
1869
|
var kn = Object.defineProperty, Sn = Object.getOwnPropertyDescriptor, O = (s, r, o, i) => {
|
|
1870
1870
|
for (var c = i > 1 ? void 0 : i ? Sn(r, o) : r, t = s.length - 1, p; t >= 0; t--)
|
|
@@ -2022,7 +2022,7 @@ O([
|
|
|
2022
2022
|
We("input")
|
|
2023
2023
|
], E.prototype, "_input", 2);
|
|
2024
2024
|
E = O([
|
|
2025
|
-
|
|
2025
|
+
I("spectric-input")
|
|
2026
2026
|
], E);
|
|
2027
2027
|
const Ae = (s) => Wt(s === "" ? void 0 : s ?? void 0), En = "end of input", On = {
|
|
2028
2028
|
fieldName: "field name",
|
|
@@ -2082,25 +2082,25 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2082
2082
|
return ko;
|
|
2083
2083
|
}, x = function(e, n) {
|
|
2084
2084
|
const l = [e, n].find((u) => u.type === "cursor");
|
|
2085
|
-
return l ||
|
|
2085
|
+
return l || Y("or", [e, n]);
|
|
2086
2086
|
}, _ = function(e, n) {
|
|
2087
2087
|
const l = [e, n].find((u) => u.type === "cursor");
|
|
2088
|
-
return l ||
|
|
2088
|
+
return l || Y("and", [e, n]);
|
|
2089
2089
|
}, k = function(e) {
|
|
2090
|
-
return e.type === "cursor" ? e :
|
|
2091
|
-
}, S = "(", j = { type: "literal", value: "(", description: '"("' }, Ye = ")", te = { type: "literal", value: ")", description: '")"' },
|
|
2090
|
+
return e.type === "cursor" ? e : Y("not", [e]);
|
|
2091
|
+
}, S = "(", j = { type: "literal", value: "(", description: '"("' }, Ye = ")", te = { type: "literal", value: ")", description: '")"' }, H = function(e, n) {
|
|
2092
2092
|
return n.type === "cursor" ? {
|
|
2093
2093
|
...n,
|
|
2094
2094
|
suggestionTypes: ["conjunction"]
|
|
2095
2095
|
} : e;
|
|
2096
|
-
},
|
|
2096
|
+
}, q = ":", R = { type: "literal", value: ":", description: '":"' }, ye = "{", xt = { type: "literal", value: "{", description: '"{"' }, At = "}", kt = { type: "literal", value: "}", description: '"}"' }, Gs = function(e, n, l) {
|
|
2097
2097
|
return n.type === "cursor" ? {
|
|
2098
2098
|
...n,
|
|
2099
2099
|
nestedPath: n.nestedPath ? `${e.value}.${n.nestedPath}` : e.value
|
|
2100
2100
|
} : l.type === "cursor" ? {
|
|
2101
2101
|
...l,
|
|
2102
2102
|
suggestionTypes: ["conjunction"]
|
|
2103
|
-
} :
|
|
2103
|
+
} : Y("nested", [e, n]);
|
|
2104
2104
|
}, Js = { type: "other", description: "fieldName" }, Vs = function(e, n, l) {
|
|
2105
2105
|
if (l.type === "cursor")
|
|
2106
2106
|
return {
|
|
@@ -2108,7 +2108,7 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2108
2108
|
suggestionTypes: ["conjunction"]
|
|
2109
2109
|
};
|
|
2110
2110
|
const u = To(n, l);
|
|
2111
|
-
return
|
|
2111
|
+
return Y("range", [e, u]);
|
|
2112
2112
|
}, ei = function(e, n) {
|
|
2113
2113
|
return n.type === "cursor" ? {
|
|
2114
2114
|
...n,
|
|
@@ -2136,27 +2136,27 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2136
2136
|
return l ? {
|
|
2137
2137
|
...l,
|
|
2138
2138
|
suggestionTypes: ["value"]
|
|
2139
|
-
} : (u) =>
|
|
2139
|
+
} : (u) => Y("or", [e(u), n(u)]);
|
|
2140
2140
|
}, ii = function(e, n) {
|
|
2141
2141
|
const l = [e, n].find((u) => u.type === "cursor");
|
|
2142
2142
|
return l ? {
|
|
2143
2143
|
...l,
|
|
2144
2144
|
suggestionTypes: ["value"]
|
|
2145
|
-
} : (u) =>
|
|
2145
|
+
} : (u) => Y("and", [e(u), n(u)]);
|
|
2146
2146
|
}, oi = function(e) {
|
|
2147
2147
|
return e.type === "cursor" ? {
|
|
2148
2148
|
...list,
|
|
2149
2149
|
suggestionTypes: ["value"]
|
|
2150
|
-
} : (n) =>
|
|
2150
|
+
} : (n) => Y("not", [e(n)]);
|
|
2151
2151
|
}, ni = { type: "other", description: "value" }, ai = function(e) {
|
|
2152
2152
|
if (e.type === "cursor") return e;
|
|
2153
2153
|
const n = re(!0);
|
|
2154
|
-
return (l) =>
|
|
2154
|
+
return (l) => Y("is", [l, e, n]);
|
|
2155
2155
|
}, ci = function(e) {
|
|
2156
2156
|
if (e.type === "cursor") return e;
|
|
2157
2157
|
!Eo && e.type === "wildcard" && le.wildcard.hasLeadingWildcard(e) && M("Leading wildcards are disabled. See query:allowLeadingWildcards in Advanced Settings.");
|
|
2158
2158
|
const n = re(!1);
|
|
2159
|
-
return (l) =>
|
|
2159
|
+
return (l) => Y("is", [l, e, n]);
|
|
2160
2160
|
}, li = { type: "other", description: "OR" }, nr = "or", ar = { type: "literal", value: "or", description: '"or"' }, ui = { type: "other", description: "AND" }, cr = "and", lr = { type: "literal", value: "and", description: '"and"' }, pi = { type: "other", description: "NOT" }, ur = "not", pr = { type: "literal", value: "not", description: '"not"' }, di = { type: "other", description: "literal" }, Pe = '"', Le = { type: "literal", value: '"', description: '"\\""' }, St = function(e, n, l) {
|
|
2161
2161
|
const { start: u, end: f } = ro();
|
|
2162
2162
|
return {
|
|
@@ -2221,7 +2221,7 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2221
2221
|
M("LuceneBoost");
|
|
2222
2222
|
}, Gi = function() {
|
|
2223
2223
|
return char;
|
|
2224
|
-
}, Ji = "=", Vi = { type: "literal", value: "=", description: '"="' }, Fr = "[", Qr = { type: "literal", value: "[", description: '"["' }, Ir = "]", Hr = { type: "literal", value: "]", description: '"]"' }, qr = "TO", eo = { type: "literal", value: "TO", description: '"TO"' }, a = 0, $ = 0, Ge = [{ line: 1, column: 1, seenCR: !1 }],
|
|
2224
|
+
}, Ji = "=", Vi = { type: "literal", value: "=", description: '"="' }, Fr = "[", Qr = { type: "literal", value: "[", description: '"["' }, Ir = "]", Hr = { type: "literal", value: "]", description: '"]"' }, qr = "TO", eo = { type: "literal", value: "TO", description: '"TO"' }, a = 0, $ = 0, Ge = [{ line: 1, column: 1, seenCR: !1 }], W = 0, Pt = [], d = 0, Je;
|
|
2225
2225
|
if ("startRule" in c) {
|
|
2226
2226
|
if (!(c.startRule in p))
|
|
2227
2227
|
throw new Error(`Can't start parsing from rule "` + c.startRule + '".');
|
|
@@ -2272,7 +2272,7 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2272
2272
|
};
|
|
2273
2273
|
}
|
|
2274
2274
|
function h(e) {
|
|
2275
|
-
a <
|
|
2275
|
+
a < W || (a > W && (W = a, Pt = []), Pt.push(e));
|
|
2276
2276
|
}
|
|
2277
2277
|
function Yr(e, n, l, u) {
|
|
2278
2278
|
function f(T) {
|
|
@@ -2284,17 +2284,17 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2284
2284
|
}
|
|
2285
2285
|
function m(T, P) {
|
|
2286
2286
|
function se(Po) {
|
|
2287
|
-
function nt(
|
|
2288
|
-
return
|
|
2287
|
+
function nt(G) {
|
|
2288
|
+
return G.charCodeAt(0).toString(16).toUpperCase();
|
|
2289
2289
|
}
|
|
2290
|
-
return Po.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\x08/g, "\\b").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\f/g, "\\f").replace(/\r/g, "\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g, function(
|
|
2291
|
-
return "\\x0" + nt(
|
|
2292
|
-
}).replace(/[\x10-\x1F\x80-\xFF]/g, function(
|
|
2293
|
-
return "\\x" + nt(
|
|
2294
|
-
}).replace(/[\u0100-\u0FFF]/g, function(
|
|
2295
|
-
return "\\u0" + nt(
|
|
2296
|
-
}).replace(/[\u1000-\uFFFF]/g, function(
|
|
2297
|
-
return "\\u" + nt(
|
|
2290
|
+
return Po.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\x08/g, "\\b").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\f/g, "\\f").replace(/\r/g, "\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g, function(G) {
|
|
2291
|
+
return "\\x0" + nt(G);
|
|
2292
|
+
}).replace(/[\x10-\x1F\x80-\xFF]/g, function(G) {
|
|
2293
|
+
return "\\x" + nt(G);
|
|
2294
|
+
}).replace(/[\u0100-\u0FFF]/g, function(G) {
|
|
2295
|
+
return "\\u0" + nt(G);
|
|
2296
|
+
}).replace(/[\u1000-\uFFFF]/g, function(G) {
|
|
2297
|
+
return "\\u" + nt(G);
|
|
2298
2298
|
});
|
|
2299
2299
|
}
|
|
2300
2300
|
var z = new Array(T.length), ps, ds, Re;
|
|
@@ -2332,7 +2332,7 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2332
2332
|
if (e = a, i.charCodeAt(a) === 40 ? (n = S, a++) : (n = t, d === 0 && h(j)), n !== t) {
|
|
2333
2333
|
for (l = [], u = y(); u !== t; )
|
|
2334
2334
|
l.push(u), u = y();
|
|
2335
|
-
l !== t ? (u = et(), u !== t ? (f = it(), f !== t ? (i.charCodeAt(a) === 41 ? (m = Ye, a++) : (m = t, d === 0 && h(te)), m !== t ? ($ = e, n =
|
|
2335
|
+
l !== t ? (u = et(), u !== t ? (f = it(), f !== t ? (i.charCodeAt(a) === 41 ? (m = Ye, a++) : (m = t, d === 0 && h(te)), m !== t ? ($ = e, n = H(u, f), e = n) : (a = e, e = t)) : (a = e, e = t)) : (a = e, e = t)) : (a = e, e = t);
|
|
2336
2336
|
} else
|
|
2337
2337
|
a = e, e = t;
|
|
2338
2338
|
return e === t && (e = so()), e;
|
|
@@ -2343,7 +2343,7 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2343
2343
|
for (l = [], u = y(); u !== t; )
|
|
2344
2344
|
l.push(u), u = y();
|
|
2345
2345
|
if (l !== t)
|
|
2346
|
-
if (i.charCodeAt(a) === 58 ? (u =
|
|
2346
|
+
if (i.charCodeAt(a) === 58 ? (u = q, a++) : (u = t, d === 0 && h(R)), u !== t) {
|
|
2347
2347
|
for (f = [], m = y(); m !== t; )
|
|
2348
2348
|
f.push(m), m = y();
|
|
2349
2349
|
if (f !== t)
|
|
@@ -2395,7 +2395,7 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2395
2395
|
for (l = [], u = y(); u !== t; )
|
|
2396
2396
|
l.push(u), u = y();
|
|
2397
2397
|
if (l !== t)
|
|
2398
|
-
if (i.charCodeAt(a) === 58 ? (u =
|
|
2398
|
+
if (i.charCodeAt(a) === 58 ? (u = q, a++) : (u = t, d === 0 && h(R)), u !== t) {
|
|
2399
2399
|
for (f = [], m = y(); m !== t; )
|
|
2400
2400
|
f.push(m), m = y();
|
|
2401
2401
|
f !== t ? (m = Dt(), m !== t ? ($ = e, n = ei(n, m), e = n) : (a = e, e = t)) : (a = e, e = t);
|
|
@@ -2650,7 +2650,7 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2650
2650
|
for (l = [], u = y(); u !== t; )
|
|
2651
2651
|
l.push(u), u = y();
|
|
2652
2652
|
if (l !== t)
|
|
2653
|
-
if (i.charCodeAt(a) === 58 ? (u =
|
|
2653
|
+
if (i.charCodeAt(a) === 58 ? (u = q, a++) : (u = t, d === 0 && h(R)), u !== t) {
|
|
2654
2654
|
for (f = [], m = y(); m !== t; )
|
|
2655
2655
|
f.push(m), m = y();
|
|
2656
2656
|
f !== t ? (m = ns(), m !== t ? (n = [n, l, u, f, m], e = n) : (a = e, e = t)) : (a = e, e = t);
|
|
@@ -2672,7 +2672,7 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2672
2672
|
for (l = [], u = y(); u !== t; )
|
|
2673
2673
|
l.push(u), u = y();
|
|
2674
2674
|
if (l !== t)
|
|
2675
|
-
if (i.charCodeAt(a) === 58 ? (u =
|
|
2675
|
+
if (i.charCodeAt(a) === 58 ? (u = q, a++) : (u = t, d === 0 && h(R)), u !== t) {
|
|
2676
2676
|
for (f = [], m = y(); m !== t; )
|
|
2677
2677
|
f.push(m), m = y();
|
|
2678
2678
|
f !== t ? (m = xe(), m !== t ? ($ = e, n = qi(), e = n) : (a = e, e = t)) : (a = e, e = t);
|
|
@@ -2792,7 +2792,7 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2792
2792
|
}
|
|
2793
2793
|
function cs() {
|
|
2794
2794
|
var e;
|
|
2795
|
-
return i.charCodeAt(a) === 43 ? (e = Sr, a++) : (e = t, d === 0 && h(Cr)), e === t && (i.charCodeAt(a) === 45 ? (e = Er, a++) : (e = t, d === 0 && h(Or)), e === t && (i.charCodeAt(a) === 61 ? (e = Ji, a++) : (e = t, d === 0 && h(Vi)), e === t && (i.charCodeAt(a) === 62 ? (e = $r, a++) : (e = t, d === 0 && h(_r)), e === t && (i.charCodeAt(a) === 60 ? (e = yr, a++) : (e = t, d === 0 && h(mr)), e === t && (i.charCodeAt(a) === 33 ? (e = Pr, a++) : (e = t, d === 0 && h(Lr)), e === t && (i.charCodeAt(a) === 40 ? (e = S, a++) : (e = t, d === 0 && h(j)), e === t && (i.charCodeAt(a) === 41 ? (e = Ye, a++) : (e = t, d === 0 && h(te)), e === t && (i.charCodeAt(a) === 123 ? (e = ye, a++) : (e = t, d === 0 && h(xt)), e === t && (i.charCodeAt(a) === 125 ? (e = At, a++) : (e = t, d === 0 && h(kt)), e === t && (i.charCodeAt(a) === 91 ? (e = Fr, a++) : (e = t, d === 0 && h(Qr)), e === t && (i.charCodeAt(a) === 93 ? (e = Ir, a++) : (e = t, d === 0 && h(Hr)), e === t && (i.charCodeAt(a) === 94 ? (e = Mr, a++) : (e = t, d === 0 && h(zr)), e === t && (i.charCodeAt(a) === 34 ? (e = Pe, a++) : (e = t, d === 0 && h(Le)), e === t && (i.charCodeAt(a) === 126 ? (e = Ot, a++) : (e = t, d === 0 && h(Tt)), e === t && (i.charCodeAt(a) === 42 ? (e = Ze, a++) : (e = t, d === 0 && h(Xe)), e === t && (i.charCodeAt(a) === 63 ? (e = jr, a++) : (e = t, d === 0 && h(Rr)), e === t && (i.charCodeAt(a) === 58 ? (e =
|
|
2795
|
+
return i.charCodeAt(a) === 43 ? (e = Sr, a++) : (e = t, d === 0 && h(Cr)), e === t && (i.charCodeAt(a) === 45 ? (e = Er, a++) : (e = t, d === 0 && h(Or)), e === t && (i.charCodeAt(a) === 61 ? (e = Ji, a++) : (e = t, d === 0 && h(Vi)), e === t && (i.charCodeAt(a) === 62 ? (e = $r, a++) : (e = t, d === 0 && h(_r)), e === t && (i.charCodeAt(a) === 60 ? (e = yr, a++) : (e = t, d === 0 && h(mr)), e === t && (i.charCodeAt(a) === 33 ? (e = Pr, a++) : (e = t, d === 0 && h(Lr)), e === t && (i.charCodeAt(a) === 40 ? (e = S, a++) : (e = t, d === 0 && h(j)), e === t && (i.charCodeAt(a) === 41 ? (e = Ye, a++) : (e = t, d === 0 && h(te)), e === t && (i.charCodeAt(a) === 123 ? (e = ye, a++) : (e = t, d === 0 && h(xt)), e === t && (i.charCodeAt(a) === 125 ? (e = At, a++) : (e = t, d === 0 && h(kt)), e === t && (i.charCodeAt(a) === 91 ? (e = Fr, a++) : (e = t, d === 0 && h(Qr)), e === t && (i.charCodeAt(a) === 93 ? (e = Ir, a++) : (e = t, d === 0 && h(Hr)), e === t && (i.charCodeAt(a) === 94 ? (e = Mr, a++) : (e = t, d === 0 && h(zr)), e === t && (i.charCodeAt(a) === 34 ? (e = Pe, a++) : (e = t, d === 0 && h(Le)), e === t && (i.charCodeAt(a) === 126 ? (e = Ot, a++) : (e = t, d === 0 && h(Tt)), e === t && (i.charCodeAt(a) === 42 ? (e = Ze, a++) : (e = t, d === 0 && h(Xe)), e === t && (i.charCodeAt(a) === 63 ? (e = jr, a++) : (e = t, d === 0 && h(Rr)), e === t && (i.charCodeAt(a) === 58 ? (e = q, a++) : (e = t, d === 0 && h(R)), e === t && (i.charCodeAt(a) === 92 ? (e = Ne, a++) : (e = t, d === 0 && h(De)), e === t && (i.charCodeAt(a) === 47 ? (e = Ct, a++) : (e = t, d === 0 && h(Et))))))))))))))))))))), e;
|
|
2796
2796
|
}
|
|
2797
2797
|
function ls() {
|
|
2798
2798
|
var e, n, l, u, f;
|
|
@@ -2823,14 +2823,14 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2823
2823
|
var e;
|
|
2824
2824
|
return i.charCodeAt(a) === 93 ? (e = Ir, a++) : (e = t, d === 0 && h(Hr)), e === t && (i.charCodeAt(a) === 125 ? (e = At, a++) : (e = t, d === 0 && h(kt))), e;
|
|
2825
2825
|
}
|
|
2826
|
-
const { errorOnLuceneSyntax: ko, parseCursor: So, cursorSymbol: Co, allowLeadingWildcards: Eo = !0, helpers: { nodeTypes: le } } = c,
|
|
2826
|
+
const { errorOnLuceneSyntax: ko, parseCursor: So, cursorSymbol: Co, allowLeadingWildcards: Eo = !0, helpers: { nodeTypes: le } } = c, Y = le.function.buildNodeWithArgumentNodes, re = le.literal.buildNode, Oo = le.wildcard.buildNode, To = le.namedArg.buildNode, { wildcardSymbol: us } = le.wildcard;
|
|
2827
2827
|
if (Je = b(), Je !== t && a === i.length)
|
|
2828
2828
|
return Je;
|
|
2829
2829
|
throw Je !== t && a < i.length && h({ type: "end", description: "end of input" }), Yr(
|
|
2830
2830
|
null,
|
|
2831
2831
|
Pt,
|
|
2832
|
-
|
|
2833
|
-
|
|
2832
|
+
W < i.length ? i.charAt(W) : null,
|
|
2833
|
+
W < i.length ? Ve(W, W + 1) : Ve(W, W)
|
|
2834
2834
|
);
|
|
2835
2835
|
}
|
|
2836
2836
|
return {
|
|
@@ -2860,7 +2860,7 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2860
2860
|
} catch (r) {
|
|
2861
2861
|
return r.message.startsWith("Lucene");
|
|
2862
2862
|
}
|
|
2863
|
-
}, N = (s, r, o, i) => (r = void 0, !s || !s.type || !ne[s.type] ? N(ne.function.buildNode("and", []), r) : ne[s.type].toOpenSearchQuery(s, r, o, i)),
|
|
2863
|
+
}, N = (s, r, o, i) => (r = void 0, !s || !s.type || !ne[s.type] ? N(ne.function.buildNode("and", []), r) : ne[s.type].toOpenSearchQuery(s, r, o, i)), ee = "@kuery-wildcard@";
|
|
2864
2864
|
function Ln(s) {
|
|
2865
2865
|
return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2866
2866
|
}
|
|
@@ -2868,26 +2868,26 @@ function Nn(s) {
|
|
|
2868
2868
|
return s.replace(/[+-=&|><!(){}[\]^"~*?:\\/]/g, "\\$&");
|
|
2869
2869
|
}
|
|
2870
2870
|
function Dn(s) {
|
|
2871
|
-
return s.includes(
|
|
2871
|
+
return s.includes(ee) ? {
|
|
2872
2872
|
type: "wildcard",
|
|
2873
2873
|
value: s
|
|
2874
2874
|
} : Oe(s);
|
|
2875
2875
|
}
|
|
2876
2876
|
function Hs(s, r) {
|
|
2877
|
-
const { value: o } = s, i = o.split(
|
|
2877
|
+
const { value: o } = s, i = o.split(ee).map(Ln).join("[\\s\\S]*");
|
|
2878
2878
|
return new RegExp(`^${i}$`).test(r);
|
|
2879
2879
|
}
|
|
2880
2880
|
function jn(s) {
|
|
2881
2881
|
const { value: r } = s;
|
|
2882
|
-
return r.split(
|
|
2882
|
+
return r.split(ee).join("*");
|
|
2883
2883
|
}
|
|
2884
2884
|
function Kt(s) {
|
|
2885
2885
|
const { value: r } = s;
|
|
2886
|
-
return r.split(
|
|
2886
|
+
return r.split(ee).map(Nn).join("*");
|
|
2887
2887
|
}
|
|
2888
2888
|
function Rn(s) {
|
|
2889
2889
|
const { value: r } = s;
|
|
2890
|
-
return r.startsWith(
|
|
2890
|
+
return r.startsWith(ee) && r.replace(ee, "").length > 0;
|
|
2891
2891
|
}
|
|
2892
2892
|
const Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2893
2893
|
__proto__: null,
|
|
@@ -2896,7 +2896,7 @@ const Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2896
2896
|
test: Hs,
|
|
2897
2897
|
toOpenSearchQuery: jn,
|
|
2898
2898
|
toQueryStringQuery: Kt,
|
|
2899
|
-
wildcardSymbol:
|
|
2899
|
+
wildcardSymbol: ee
|
|
2900
2900
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2901
2901
|
function sr(s, r) {
|
|
2902
2902
|
if (!r) return [];
|
|
@@ -2970,45 +2970,45 @@ function Mn(s, r, o = {}, i = {}) {
|
|
|
2970
2970
|
const k = t.type === "wildcard" && w === "*", S = b.type === "wildcard" && g === "*" || _ && r && _.length === r.fields.length;
|
|
2971
2971
|
return k && S ? { match_all: {} } : {
|
|
2972
2972
|
bool: {
|
|
2973
|
-
should: _.reduce((te,
|
|
2974
|
-
const
|
|
2973
|
+
should: _.reduce((te, H) => {
|
|
2974
|
+
const q = (R) => {
|
|
2975
2975
|
var ye;
|
|
2976
|
-
return b.type !== "wildcard" || !((ye =
|
|
2976
|
+
return b.type !== "wildcard" || !((ye = H.subType) != null && ye.nested) || i != null && i.nested ? R : {
|
|
2977
2977
|
nested: {
|
|
2978
|
-
path:
|
|
2978
|
+
path: H.subType.nested.path,
|
|
2979
2979
|
query: R,
|
|
2980
2980
|
score_mode: "none"
|
|
2981
2981
|
}
|
|
2982
2982
|
};
|
|
2983
2983
|
};
|
|
2984
|
-
if (
|
|
2984
|
+
if (H.scripted)
|
|
2985
2985
|
return [];
|
|
2986
2986
|
if (k)
|
|
2987
2987
|
return [
|
|
2988
2988
|
...te,
|
|
2989
|
-
|
|
2989
|
+
q({
|
|
2990
2990
|
exists: {
|
|
2991
|
-
field:
|
|
2991
|
+
field: H.name
|
|
2992
2992
|
}
|
|
2993
2993
|
})
|
|
2994
2994
|
];
|
|
2995
2995
|
if (t.type === "wildcard")
|
|
2996
2996
|
return [
|
|
2997
2997
|
...te,
|
|
2998
|
-
|
|
2998
|
+
q({
|
|
2999
2999
|
query_string: {
|
|
3000
|
-
fields: [
|
|
3000
|
+
fields: [H.name],
|
|
3001
3001
|
query: Kt(t)
|
|
3002
3002
|
}
|
|
3003
3003
|
})
|
|
3004
3004
|
];
|
|
3005
|
-
if (
|
|
3005
|
+
if (H.type === "date") {
|
|
3006
3006
|
const R = o.dateFormatTZ ? { time_zone: o.dateFormatTZ } : {};
|
|
3007
3007
|
return [
|
|
3008
3008
|
...te,
|
|
3009
|
-
|
|
3009
|
+
q({
|
|
3010
3010
|
range: {
|
|
3011
|
-
[
|
|
3011
|
+
[H.name]: {
|
|
3012
3012
|
gte: w,
|
|
3013
3013
|
lte: w,
|
|
3014
3014
|
...R
|
|
@@ -3020,9 +3020,9 @@ function Mn(s, r, o = {}, i = {}) {
|
|
|
3020
3020
|
const R = x === "phrase" ? "match_phrase" : "match";
|
|
3021
3021
|
return [
|
|
3022
3022
|
...te,
|
|
3023
|
-
|
|
3023
|
+
q({
|
|
3024
3024
|
[R]: {
|
|
3025
|
-
[
|
|
3025
|
+
[H.name]: w
|
|
3026
3026
|
}
|
|
3027
3027
|
})
|
|
3028
3028
|
];
|
|
@@ -3269,7 +3269,7 @@ const fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3269
3269
|
literal: Tn,
|
|
3270
3270
|
namedArg: fa,
|
|
3271
3271
|
wildcard: Bn
|
|
3272
|
-
}, ha =
|
|
3272
|
+
}, ha = ee, ba = (s, r) => "(" + (s.arguments || []).map((i) => be(i, r)).join(" AND ") + ")", ga = (s, r) => {
|
|
3273
3273
|
var {
|
|
3274
3274
|
arguments: [o, i, c]
|
|
3275
3275
|
} = s;
|
|
@@ -3314,7 +3314,7 @@ const fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3314
3314
|
}, be = (s, r) => {
|
|
3315
3315
|
const o = Aa[s.type];
|
|
3316
3316
|
return o(s, r);
|
|
3317
|
-
}, ka =
|
|
3317
|
+
}, ka = ee, Sa = (s) => ({ $and: (s.arguments || []).map((i) => ae(i)) }), Ca = (s) => {
|
|
3318
3318
|
const {
|
|
3319
3319
|
arguments: [r, o]
|
|
3320
3320
|
} = s;
|
|
@@ -3507,9 +3507,9 @@ ce([
|
|
|
3507
3507
|
$t("dialog")
|
|
3508
3508
|
], F.prototype, "dialogElement", 2);
|
|
3509
3509
|
F = ce([
|
|
3510
|
-
|
|
3510
|
+
I(Ys)
|
|
3511
3511
|
], F);
|
|
3512
|
-
var Ma = Object.defineProperty, za = Object.getOwnPropertyDescriptor,
|
|
3512
|
+
var Ma = Object.defineProperty, za = Object.getOwnPropertyDescriptor, X = (s, r, o, i) => {
|
|
3513
3513
|
for (var c = i > 1 ? void 0 : i ? za(r, o) : r, t = s.length - 1, p; t >= 0; t--)
|
|
3514
3514
|
(p = s[t]) && (c = (i ? p(r, o, c) : p(c)) || c);
|
|
3515
3515
|
return i && c && Ma(r, o, c), c;
|
|
@@ -3527,9 +3527,9 @@ const Ks = {
|
|
|
3527
3527
|
{ value: ": true", label: " value is true" },
|
|
3528
3528
|
{ value: ": false", label: "value is false" }
|
|
3529
3529
|
], Ha = Object.fromEntries(Object.entries(Ks).map(([s, r]) => [s, { value: r.value, label: (r.label || "").replace("value", "date-time") }]));
|
|
3530
|
-
let
|
|
3530
|
+
let Q = class extends L {
|
|
3531
3531
|
constructor() {
|
|
3532
|
-
super(), this._value = "", this.outputLanguage = "AST", this.completions = [], this.completionIndex = 0, this.fields = [], this._parseQuery = (s = void 0) => {
|
|
3532
|
+
super(), this.placeholder = "", this._value = "", this.outputLanguage = "AST", this.completions = [], this.completionIndex = 0, this.fields = [], this._parseQuery = (s = void 0) => {
|
|
3533
3533
|
let r;
|
|
3534
3534
|
if (this.value == "")
|
|
3535
3535
|
return;
|
|
@@ -3627,8 +3627,8 @@ let Y = class extends L {
|
|
|
3627
3627
|
}
|
|
3628
3628
|
}
|
|
3629
3629
|
if (this.completions = r, this.completions.length && this._autocomplete) {
|
|
3630
|
-
let { width: c } = this._input.getBoundingClientRect();
|
|
3631
|
-
this._autocomplete.showPopover(), this._autocomplete.style.width = `${c - 15}px`;
|
|
3630
|
+
let { width: c, left: t, bottom: p } = this._input.getBoundingClientRect();
|
|
3631
|
+
this._autocomplete.showPopover(), "anchorName" in document.documentElement.style || (this._autocomplete.style.left = `${t + 3.75}px`, this._autocomplete.style.top = `${p}px`), this._autocomplete.style.width = `${c - 15}px`;
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
3634
3634
|
updated(s) {
|
|
@@ -3636,7 +3636,7 @@ let Y = class extends L {
|
|
|
3636
3636
|
}
|
|
3637
3637
|
render() {
|
|
3638
3638
|
return A`
|
|
3639
|
-
<spectric-input style=${`anchor-name:--${this.uuid};`} autocomplete="off" @input=${this._parseQuery} @keydown=${this._handleArrows}></spectric-input>
|
|
3639
|
+
<spectric-input .placeholder=${this.placeholder} style=${`anchor-name:--${this.uuid};`} autocomplete="off" @input=${this._parseQuery} @keydown=${this._handleArrows} @change=${(s) => s.stopPropagation()}></spectric-input>
|
|
3640
3640
|
<div class="autocomplete" popover style=${`position-anchor: --${this.uuid};`}>
|
|
3641
3641
|
${this.completions.map(
|
|
3642
3642
|
(s, r) => A`<div @click=${() => {
|
|
@@ -3646,33 +3646,36 @@ let Y = class extends L {
|
|
|
3646
3646
|
</div>`;
|
|
3647
3647
|
}
|
|
3648
3648
|
};
|
|
3649
|
-
|
|
3649
|
+
X([
|
|
3650
|
+
v({ type: String, reflect: !0 })
|
|
3651
|
+
], Q.prototype, "placeholder", 2);
|
|
3652
|
+
X([
|
|
3650
3653
|
v({ type: String, reflect: !0 })
|
|
3651
|
-
],
|
|
3652
|
-
|
|
3654
|
+
], Q.prototype, "value", 1);
|
|
3655
|
+
X([
|
|
3653
3656
|
v({ type: String, reflect: !0 })
|
|
3654
|
-
],
|
|
3655
|
-
|
|
3657
|
+
], Q.prototype, "outputLanguage", 2);
|
|
3658
|
+
X([
|
|
3656
3659
|
mt()
|
|
3657
|
-
],
|
|
3658
|
-
|
|
3660
|
+
], Q.prototype, "completions", 2);
|
|
3661
|
+
X([
|
|
3659
3662
|
mt()
|
|
3660
|
-
],
|
|
3661
|
-
|
|
3663
|
+
], Q.prototype, "completionIndex", 2);
|
|
3664
|
+
X([
|
|
3662
3665
|
v({ type: Array, reflect: !0 })
|
|
3663
|
-
],
|
|
3664
|
-
|
|
3666
|
+
], Q.prototype, "fields", 2);
|
|
3667
|
+
X([
|
|
3665
3668
|
We(".autocomplete")
|
|
3666
|
-
],
|
|
3667
|
-
|
|
3669
|
+
], Q.prototype, "_autocomplete", 2);
|
|
3670
|
+
X([
|
|
3668
3671
|
$t(".autocomplete")
|
|
3669
|
-
],
|
|
3670
|
-
|
|
3672
|
+
], Q.prototype, "_asyncAutocomplete", 2);
|
|
3673
|
+
X([
|
|
3671
3674
|
We("spectric-input")
|
|
3672
|
-
],
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
],
|
|
3675
|
+
], Q.prototype, "_input", 2);
|
|
3676
|
+
Q = X([
|
|
3677
|
+
I("spectric-query")
|
|
3678
|
+
], Q);
|
|
3676
3679
|
const As = K`
|
|
3677
3680
|
border-color: color-mix(in hsl, var(--panel-color, #0b0b0b), var(--spectric-input-color, #000000) 3%);
|
|
3678
3681
|
background-color: var(--panel-color,#0b0b0b);
|
|
@@ -3754,7 +3757,7 @@ or([
|
|
|
3754
3757
|
v({ attribute: !1 })
|
|
3755
3758
|
], He.prototype, "layers", 2);
|
|
3756
3759
|
He = or([
|
|
3757
|
-
|
|
3760
|
+
I("spectric-panel")
|
|
3758
3761
|
], He);
|
|
3759
3762
|
var Ka = Object.defineProperty, Za = Object.getOwnPropertyDescriptor, Zs = (s, r, o, i) => {
|
|
3760
3763
|
for (var c = i > 1 ? void 0 : i ? Za(r, o) : r, t = s.length - 1, p; t >= 0; t--)
|
|
@@ -3941,7 +3944,7 @@ Zs([
|
|
|
3941
3944
|
v({ reflect: !0 })
|
|
3942
3945
|
], vt.prototype, "theme", 2);
|
|
3943
3946
|
vt = Zs([
|
|
3944
|
-
|
|
3947
|
+
I("spectric-theme")
|
|
3945
3948
|
], vt);
|
|
3946
3949
|
const Ga = K`
|
|
3947
3950
|
:host {
|
|
@@ -4109,10 +4112,10 @@ U([
|
|
|
4109
4112
|
We("slot[name='panel2']")
|
|
4110
4113
|
], D.prototype, "_panel2", 2);
|
|
4111
4114
|
D = U([
|
|
4112
|
-
|
|
4115
|
+
I(tc)
|
|
4113
4116
|
], D);
|
|
4114
4117
|
export {
|
|
4115
|
-
|
|
4118
|
+
V as BitDisplayCanvas,
|
|
4116
4119
|
rn as ButtonSizes,
|
|
4117
4120
|
sn as ButtonVariants,
|
|
4118
4121
|
ac as CSSPropsControls,
|
|
@@ -4122,11 +4125,11 @@ export {
|
|
|
4122
4125
|
Ee as Header,
|
|
4123
4126
|
Cn as InputVariants,
|
|
4124
4127
|
ec as Orientations,
|
|
4125
|
-
|
|
4128
|
+
J as SpectricButton,
|
|
4126
4129
|
E as SpectricInput,
|
|
4127
4130
|
B as SpectricPage,
|
|
4128
4131
|
He as SpectricPanel,
|
|
4129
|
-
|
|
4132
|
+
Q as SpectricQuery,
|
|
4130
4133
|
vt as SpectricThemeProvider,
|
|
4131
4134
|
D as SplitView,
|
|
4132
4135
|
Fa as SupportedLanguages,
|