@embeddable.com/remarkable-pro 0.3.4 → 0.3.5

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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o } from "@embeddable.com/react";
2
- import { f as e } from "./definition-DP17cDpI.js";
2
+ import { f as e } from "./definition-CZyXOTWy.js";
3
3
  const m = e.preview, r = e.meta, n = o(e.Component, r, e.config);
4
4
  export {
5
5
  n as default,
@@ -35,6 +35,13 @@ export declare const meta: {
35
35
  readonly defaultValue: null;
36
36
  readonly type: "filters";
37
37
  readonly category: "Pre-configured variables";
38
+ }, {
39
+ readonly name: "applyCascadingFilters";
40
+ readonly label: "Apply dynamic filters";
41
+ readonly defaultValue: false;
42
+ readonly category: "Component Settings";
43
+ readonly description: "Each filter's available options update based on the other active filters.";
44
+ readonly type: "boolean";
38
45
  }, {
39
46
  readonly name: "title";
40
47
  readonly type: "string";
@@ -1 +1 @@
1
- {"version":3,"file":"FilterBuilderPro.emb.d.ts","sourceRoot":"","sources":["../../../../src/components/editors/FilterBuilderPro/FilterBuilderPro.emb.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;CAA2B,CAAC;AAEhD,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwB,CAAC;;;;;AAE1C,wBAA0F"}
1
+ {"version":3,"file":"FilterBuilderPro.emb.d.ts","sourceRoot":"","sources":["../../../../src/components/editors/FilterBuilderPro/FilterBuilderPro.emb.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;CAA2B,CAAC;AAEhD,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwB,CAAC;;;;;AAE1C,wBAA0F"}
@@ -37,6 +37,12 @@ export type FilterBuilderClause = {
37
37
  operator: FilterBuilderAndOrOperator;
38
38
  clauses: FilterBuilderClause[];
39
39
  };
40
+ export type LoadDataFilter = {
41
+ operator: FilterOperator;
42
+ property: DimensionOrMeasure;
43
+ value: NonNullable<FilterBuilderFilter['value']>;
44
+ };
45
+ export declare const filterToLoadDataFilters: (filter: FilterBuilderFilter) => LoadDataFilter[];
40
46
  export declare const filtersToClause: (operator: FilterBuilderAndOrOperator, filters: FilterBuilderFilter[]) => FilterBuilderClause | null;
41
47
  export declare const clauseToFilter: (clause: FilterBuilderClause, dimensionsAndMeasures: DimensionOrMeasure[], id: number) => FilterBuilderFilter | null;
42
48
  export declare const clauseToFilters: (clause: FilterBuilderClause | null, dimensionsAndMeasures: DimensionOrMeasure[]) => FilterBuilderFilter[];
@@ -1 +1 @@
1
- {"version":3,"file":"FilterBuilderPro.utils.d.ts","sourceRoot":"","sources":["../../../../src/components/editors/FilterBuilderPro/FilterBuilderPro.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAkB,MAAM,sBAAsB,CAAC;AAC1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,eAAO,MAAM,qBAAqB;;;;;;CAMjC,CAAC;AAEF,eAAO,MAAM,yCAAyC;IACpD,CAAC,qBAAqB,CAAC,EAAE,CAAC,WAAuB;IACjD,CAAC,qBAAqB,CAAC,KAAK,CAAC,cAA0B;IACvD,CAAC,qBAAqB,CAAC,OAAO,CAAC,aAAyB;IACxD,CAAC,qBAAqB,CAAC,UAAU,CAAC,gBAA4B;IAC9D,CAAC,qBAAqB,CAAC,QAAQ,CAAC,aAAyB;CAC1D,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;CAM1B,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAK7E,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;CAGtC,CAAC;AACF,MAAM,MAAM,0BAA0B,GACp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eAAe,GAC1B,QAAQ,mBAAmB,GAAG,IAAI,EAClC,uBAAuB,kBAAkB,EAAE,KAC1C,mBAAmB,EAarB,CAAC"}
@@ -32,6 +32,13 @@ declare const meta: {
32
32
  readonly defaultValue: null;
33
33
  readonly type: "filters";
34
34
  readonly category: "Pre-configured variables";
35
+ }, {
36
+ readonly name: "applyCascadingFilters";
37
+ readonly label: "Apply dynamic filters";
38
+ readonly defaultValue: false;
39
+ readonly category: "Component Settings";
40
+ readonly description: "Each filter's available options update based on the other active filters.";
41
+ readonly type: "boolean";
35
42
  }, {
36
43
  readonly name: "title";
37
44
  readonly type: "string";
@@ -110,6 +117,13 @@ export declare const filterBuilderPro: {
110
117
  readonly defaultValue: null;
111
118
  readonly type: "filters";
112
119
  readonly category: "Pre-configured variables";
120
+ }, {
121
+ readonly name: "applyCascadingFilters";
122
+ readonly label: "Apply dynamic filters";
123
+ readonly defaultValue: false;
124
+ readonly category: "Component Settings";
125
+ readonly description: "Each filter's available options update based on the other active filters.";
126
+ readonly type: "boolean";
113
127
  }, {
114
128
  readonly name: "title";
115
129
  readonly type: "string";
@@ -161,6 +175,7 @@ export declare const filterBuilderPro: {
161
175
  tooltip: string;
162
176
  dataset: import("@embeddable.com/core").Dataset;
163
177
  defaultFilters: never;
178
+ applyCascadingFilters: boolean;
164
179
  onChange: () => void;
165
180
  };
166
181
  readonly events: {
@@ -1 +1 @@
1
- {"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../../../src/components/editors/FilterBuilderPro/definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAmC,MAAM,sBAAsB,CAAC;AAG3F,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDgC,CAAC;A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