@infinilabs/discover 0.0.17 → 0.0.18
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/{common-CelpNJ_P.cjs → common-DFB-Krii.cjs} +6 -6
- package/dist/{common-6ueRhcZj.js → common-JxI0fO97.js} +273 -268
- package/dist/{components-CrZSuHV0.js → components-BtZfYCUr.js} +6 -3
- package/dist/{components-CE9wRhe0.cjs → components-w0oW3GpQ.cjs} +2 -2
- package/dist/{filter_label-DALDJinr.js → filter_label-BOgCXkdp.js} +2 -2
- package/dist/{filter_label-306D4xEc.cjs → filter_label-BVGFM735.cjs} +1 -1
- package/dist/{filter_operators-B5A15sKd.cjs → filter_operators-C_4il2ok.cjs} +1 -1
- package/dist/{filter_operators-DuazgKuH.js → filter_operators-f_RipGT3.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/public-BfModHE8.cjs +3 -0
- package/dist/public-seOSIZPc.js +1772 -0
- package/dist/{query_bar_top_row-D8E4Yeez.js → query_bar_top_row-D5J6N5L2.js} +2 -2
- package/dist/{query_bar_top_row-D6zSvxU6.cjs → query_bar_top_row-DigJljNX.cjs} +1 -1
- package/dist/{query_bar_top_row-BkGqf3Jb.js → query_bar_top_row-Dp4-frN1.js} +5 -5
- package/dist/query_bar_top_row-GViVxtYa.cjs +1 -0
- package/dist/{query_string_input-9NdNKVYE.js → query_string_input-BP2qq9Lf.js} +3 -3
- package/dist/{query_string_input-CPlUSSQb.cjs → query_string_input-DpPUCiXF.cjs} +1 -1
- package/dist/query_string_input-DvXZHDE9.cjs +1 -0
- package/dist/{query_string_input-BmPfUSeL.js → query_string_input-uI_z3PwX.js} +1 -1
- package/dist/{search_bar-h6E7kqZs.cjs → search_bar-BcYGmNoo.cjs} +1 -1
- package/dist/{search_bar-BAeoohZi.js → search_bar-DZMeLETx.js} +6 -6
- package/package.json +1 -1
- package/dist/public-CZIzm_ir.js +0 -1781
- package/dist/public-wwZIE8-Q.cjs +0 -3
- package/dist/query_bar_top_row-B0YEZZ5h.cjs +0 -1
- package/dist/query_string_input-BckKyWPD.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./lodash-Gv_ptthU.js";
|
|
2
2
|
import "./common-1_7zA8Zc.js";
|
|
3
3
|
import "./lib-Cdf3LT56.js";
|
|
4
|
-
import { W as FILTERS } from "./common-
|
|
5
|
-
import { n as existsOperator, r as isOneOfOperator } from "./filter_operators-
|
|
4
|
+
import { W as FILTERS } from "./common-JxI0fO97.js";
|
|
5
|
+
import { n as existsOperator, r as isOneOfOperator } from "./filter_operators-f_RipGT3.js";
|
|
6
6
|
import React, { Fragment } from "react";
|
|
7
7
|
import { EuiTextColor } from "@elastic/eui";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-Bt4DEX77.cjs`);require(`./lodash-DZJGw-mv.cjs`),require(`./common-CZAeFul_.cjs`),require(`./lib-BbQB6wY_.cjs`);const t=require(`./common-
|
|
1
|
+
const e=require(`./chunk-Bt4DEX77.cjs`);require(`./lodash-DZJGw-mv.cjs`),require(`./common-CZAeFul_.cjs`),require(`./lib-BbQB6wY_.cjs`);const t=require(`./common-DFB-Krii.cjs`),n=require(`./filter_operators-C_4il2ok.cjs`);let r=require(`react`);r=e.a(r);let i=require(`@elastic/eui`),a=require(`react/jsx-runtime`);function o({filter:e,valueLabel:o,filterLabelStatus:s}){let c=e.meta.negate?` 'NOT '`:``,l=e.meta.negate&&!e.meta.disabled?(0,a.jsx)(i.EuiTextColor,{color:`danger`,children:c}):c,u=e=>(0,a.jsx)(`span`,{className:`globalFilterLabel__value text-[var(--ant-color-success-active)]`,children:e});if(e.meta.alias!==null)return(0,a.jsxs)(r.Fragment,{children:[l,e.meta.alias,s&&(0,a.jsxs)(a.Fragment,{children:[`: `,u(o)]})]});switch(e.meta.type){case t.W.EXISTS:return(0,a.jsxs)(r.Fragment,{children:[l,e.meta.key,`: `,u(`${n.n.message}`)]});case t.W.GEO_BOUNDING_BOX:return(0,a.jsxs)(r.Fragment,{children:[l,e.meta.key,`: `,u(o)]});case t.W.GEO_POLYGON:return(0,a.jsxs)(r.Fragment,{children:[l,e.meta.key,`: `,u(o)]});case t.W.PHRASES:return(0,a.jsxs)(r.Fragment,{children:[l,e.meta.key,`: `,u(`${n.r.message} ${o}`)]});case t.W.QUERY_STRING:return(0,a.jsxs)(r.Fragment,{children:[l,u(`${o}`)]});case t.W.PHRASE:case t.W.RANGE:return(0,a.jsxs)(r.Fragment,{children:[l,e.meta.key,`: `,u(o)]});default:return(0,a.jsxs)(r.Fragment,{children:[l,u(`${JSON.stringify(e.query)||e.meta.value}`)]})}}exports.default=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./common-
|
|
1
|
+
const e=require(`./common-DFB-Krii.cjs`),t={message:`is`,type:e.W.PHRASE,negate:!1},n={message:`is not`,type:e.W.PHRASE,negate:!0},r={message:`is one of`,type:e.W.PHRASES,negate:!1,fieldTypes:[`string`,`number`,`date`,`ip`,`geo_point`,`geo_shape`]},i={message:`is not one of`,type:e.W.PHRASES,negate:!0,fieldTypes:[`string`,`number`,`date`,`ip`,`geo_point`,`geo_shape`]},a={message:`is between`,type:e.W.RANGE,negate:!1,fieldTypes:[`number`,`date`,`ip`]},o={message:`is not between`,type:e.W.RANGE,negate:!0,fieldTypes:[`number`,`date`,`ip`]},s={message:`exists`,type:e.W.EXISTS,negate:!1},c={message:`does not exist`,type:e.W.EXISTS,negate:!0},l=[t,n,r,i,a,o,s,c];Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return l}});
|