@bikdotai/bik-component-library 0.0.248 → 0.0.250
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/cjs/components/QueryBuilder/constants/connector.d.ts +2 -6
- package/dist/cjs/components/QueryBuilder/constants/connector.js +1 -1
- package/dist/cjs/components/QueryBuilder/types/QueryBuilderOperator.type.d.ts +2 -6
- package/dist/cjs/components/QueryBuilder/types/QueryBuilderOperator.type.js +1 -1
- package/dist/esm/components/QueryBuilder/constants/connector.d.ts +2 -6
- package/dist/esm/components/QueryBuilder/constants/connector.js +1 -1
- package/dist/esm/components/QueryBuilder/types/QueryBuilderOperator.type.d.ts +2 -6
- package/dist/esm/components/QueryBuilder/types/QueryBuilderOperator.type.js +1 -1
- package/package.json +1 -1
|
@@ -45,12 +45,8 @@ export declare const STRING_OPERATORS_COMPONENT: {
|
|
|
45
45
|
doesntExist: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
46
46
|
};
|
|
47
47
|
export declare const STRING_RESTRICTED_OPERATORS_COMPONENT: {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
startsWith: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
51
|
-
endsWith: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
52
|
-
exists: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
53
|
-
doesntExist: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
48
|
+
is: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
49
|
+
isNot: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
54
50
|
};
|
|
55
51
|
export declare const IG_STRING_OPERATORS_COMPONENT: {
|
|
56
52
|
any: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var O=require("../types/QueryBuilder.type.js"),e=require("../types/QueryBuilderOperator.type.js");const E={[O.QueryBuilderConnectorType.boolean]:e.BOOLEAN_OPERATORS,[O.QueryBuilderConnectorType.string]:e.STRING_OPERATORS,[O.QueryBuilderConnectorType.string_restricted]:e.STRING_RESTRICTED_OPERATORS,[O.QueryBuilderConnectorType.integer]:e.INTEGER_OPERATORS,[O.QueryBuilderConnectorType.frequency]:e.FREQUENCY_OPERATORS,[O.QueryBuilderConnectorType.date]:e.DATE_OPERATORS,[O.QueryBuilderConnectorType.specificPost]:e.SPECIFIC_IG_OPERATORS,[O.QueryBuilderConnectorType.specificReel]:e.SPECIFIC_IG_OPERATORS,[O.QueryBuilderConnectorType.specificStory]:e.SPECIFIC_IG_OPERATORS,[O.QueryBuilderConnectorType.anyIg]:e.ANY_IG_OPERATORS,[O.QueryBuilderConnectorType.reaction]:e.REACTION_OPERATORS,[O.QueryBuilderConnectorType.activityString]:e.IG_STRING_OPERATORS,[O.QueryBuilderConnectorType.anyAd]:e.ANY_AD_OPERATORS,[O.QueryBuilderConnectorType.specificAd]:e.AD_STRING_OPERATORS,[O.QueryBuilderConnectorType.iceBreaker]:e.ICE_BREAKER_OPERATORS};var T;exports.CONNECTOR_VALUE_COMPONENT_TYPES=void 0,(T=exports.CONNECTOR_VALUE_COMPONENT_TYPES||(exports.CONNECTOR_VALUE_COMPONENT_TYPES={})).FreeText="FreeText",T.NoInput="NoInput",T.IntegerSingleValue="IntegerSingleValue",T.StringSingleValue="StringSingleValue",T.TwoNumberInputsSeperatedByAnd="TwoNumberInputsSeperatedByAnd",T.MultiselectDropdownFreeText="MultiselectDropdownFreeText",T.SingleselectDropdownFreeText="SingleselectDropdownFreeText",T.SingleDate="SingleDate",T.TwoDate="TwoDate",T.IntegerPositiveSingle="IntegerPositiveSingle",T.NumberTime="NumberTime",T.PostIgPicker="PostIgPicker",T.ReelIgPicker="ReelIgPicker",T.StoryIgPicker="StoryIgPicker",T.EmojiPicker="EmojiPicker",T.InTheLast="InTheLast",T.InTwoLast="InTwoLast",T.InTheLastAgo="InTheLastAgo";const N={[e.INTEGER_OPERATORS.is]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.INTEGER_OPERATORS.isNot]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.INTEGER_OPERATORS.exists]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.INTEGER_OPERATORS.doesntExist]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.INTEGER_OPERATORS.lessThan]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.IntegerSingleValue,[e.INTEGER_OPERATORS.lessThanOrEqualTo]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.IntegerSingleValue,[e.INTEGER_OPERATORS.greaterThan]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.IntegerSingleValue,[e.INTEGER_OPERATORS.greaterThanOrEqualTo]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.IntegerSingleValue},_={[e.STRING_OPERATORS.is]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.MultiselectDropdownFreeText,[e.STRING_OPERATORS.isNot]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.MultiselectDropdownFreeText,[e.STRING_OPERATORS.contains]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.STRING_OPERATORS.doesntContain]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.STRING_OPERATORS.startsWith]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.STRING_OPERATORS.endsWith]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.STRING_OPERATORS.exists]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.STRING_OPERATORS.doesntExist]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput},t={[e.STRING_OPERATORS.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var O=require("../types/QueryBuilder.type.js"),e=require("../types/QueryBuilderOperator.type.js");const E={[O.QueryBuilderConnectorType.boolean]:e.BOOLEAN_OPERATORS,[O.QueryBuilderConnectorType.string]:e.STRING_OPERATORS,[O.QueryBuilderConnectorType.string_restricted]:e.STRING_RESTRICTED_OPERATORS,[O.QueryBuilderConnectorType.integer]:e.INTEGER_OPERATORS,[O.QueryBuilderConnectorType.frequency]:e.FREQUENCY_OPERATORS,[O.QueryBuilderConnectorType.date]:e.DATE_OPERATORS,[O.QueryBuilderConnectorType.specificPost]:e.SPECIFIC_IG_OPERATORS,[O.QueryBuilderConnectorType.specificReel]:e.SPECIFIC_IG_OPERATORS,[O.QueryBuilderConnectorType.specificStory]:e.SPECIFIC_IG_OPERATORS,[O.QueryBuilderConnectorType.anyIg]:e.ANY_IG_OPERATORS,[O.QueryBuilderConnectorType.reaction]:e.REACTION_OPERATORS,[O.QueryBuilderConnectorType.activityString]:e.IG_STRING_OPERATORS,[O.QueryBuilderConnectorType.anyAd]:e.ANY_AD_OPERATORS,[O.QueryBuilderConnectorType.specificAd]:e.AD_STRING_OPERATORS,[O.QueryBuilderConnectorType.iceBreaker]:e.ICE_BREAKER_OPERATORS};var T;exports.CONNECTOR_VALUE_COMPONENT_TYPES=void 0,(T=exports.CONNECTOR_VALUE_COMPONENT_TYPES||(exports.CONNECTOR_VALUE_COMPONENT_TYPES={})).FreeText="FreeText",T.NoInput="NoInput",T.IntegerSingleValue="IntegerSingleValue",T.StringSingleValue="StringSingleValue",T.TwoNumberInputsSeperatedByAnd="TwoNumberInputsSeperatedByAnd",T.MultiselectDropdownFreeText="MultiselectDropdownFreeText",T.SingleselectDropdownFreeText="SingleselectDropdownFreeText",T.SingleDate="SingleDate",T.TwoDate="TwoDate",T.IntegerPositiveSingle="IntegerPositiveSingle",T.NumberTime="NumberTime",T.PostIgPicker="PostIgPicker",T.ReelIgPicker="ReelIgPicker",T.StoryIgPicker="StoryIgPicker",T.EmojiPicker="EmojiPicker",T.InTheLast="InTheLast",T.InTwoLast="InTwoLast",T.InTheLastAgo="InTheLastAgo";const N={[e.INTEGER_OPERATORS.is]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.INTEGER_OPERATORS.isNot]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.INTEGER_OPERATORS.exists]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.INTEGER_OPERATORS.doesntExist]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.INTEGER_OPERATORS.lessThan]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.IntegerSingleValue,[e.INTEGER_OPERATORS.lessThanOrEqualTo]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.IntegerSingleValue,[e.INTEGER_OPERATORS.greaterThan]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.IntegerSingleValue,[e.INTEGER_OPERATORS.greaterThanOrEqualTo]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.IntegerSingleValue},_={[e.STRING_OPERATORS.is]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.MultiselectDropdownFreeText,[e.STRING_OPERATORS.isNot]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.MultiselectDropdownFreeText,[e.STRING_OPERATORS.contains]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.STRING_OPERATORS.doesntContain]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.STRING_OPERATORS.startsWith]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.STRING_OPERATORS.endsWith]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.STRING_OPERATORS.exists]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.STRING_OPERATORS.doesntExist]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput},t={[e.STRING_OPERATORS.is]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.MultiselectDropdownFreeText,[e.STRING_OPERATORS.isNot]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.MultiselectDropdownFreeText},R={[e.IG_STRING_OPERATORS.any]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.IG_STRING_OPERATORS.is]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.MultiselectDropdownFreeText,[e.IG_STRING_OPERATORS.contains]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.IG_STRING_OPERATORS.startsWith]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText,[e.IG_STRING_OPERATORS.endsWith]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.FreeText},r={[e.AD_STRING_OPERATORS.is]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.SingleselectDropdownFreeText},C={[e.ICE_BREAKER_OPERATORS.is]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.MultiselectDropdownFreeText},P={[e.REACTION_OPERATORS.contains]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.EmojiPicker},o={[e.DATE_OPERATORS.today]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS.yesterday]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS["last 30 days"]]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS["last 7 days"]]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS["this month"]]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS["this week"]]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS["last month"]]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS["last week"]]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS.exactly]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.InTheLastAgo,[e.DATE_OPERATORS["in the last"]]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.InTheLast,[e.DATE_OPERATORS["in between last"]]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.InTwoLast,[e.DATE_OPERATORS.on]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.SingleDate,[e.DATE_OPERATORS.notOn]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.SingleDate,[e.DATE_OPERATORS.inBetween]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.TwoDate,[e.DATE_OPERATORS.notInBetween]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.TwoDate,[e.DATE_OPERATORS.before]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.SingleDate,[e.DATE_OPERATORS.after]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.SingleDate,[e.DATE_OPERATORS.today]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS.yesterday]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS["last week"]]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS["last month"]]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS["last quarter"]]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.DATE_OPERATORS["in the last"]]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.InTheLast},S={[e.SPECIFIC_IG_OPERATORS.in]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.PostIgPicker},A={[e.SPECIFIC_IG_OPERATORS.in]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.ReelIgPicker},n={[e.SPECIFIC_IG_OPERATORS.in]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.StoryIgPicker},s={[e.ANY_IG_OPERATORS.in]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput},p={[e.ANY_AD_OPERATORS.in]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput},i={[e.BOOLEAN_OPERATORS.isTrue]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.BOOLEAN_OPERATORS.isFalse]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.BOOLEAN_OPERATORS.exists]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput,[e.BOOLEAN_OPERATORS.doesntExist]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.NoInput},I={[e.FREQUENCY_OPERATORS.exactly]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.IntegerPositiveSingle,[e.FREQUENCY_OPERATORS.atleast]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.IntegerPositiveSingle,[e.FREQUENCY_OPERATORS.atMost]:exports.CONNECTOR_VALUE_COMPONENT_TYPES.IntegerPositiveSingle},u={[O.QueryBuilderConnectorType.boolean]:i,[O.QueryBuilderConnectorType.string]:_,[O.QueryBuilderConnectorType.integer]:N,[O.QueryBuilderConnectorType.frequency]:I,[O.QueryBuilderConnectorType.date]:o,[O.QueryBuilderConnectorType.specificPost]:S,[O.QueryBuilderConnectorType.specificReel]:A,[O.QueryBuilderConnectorType.specificStory]:n,[O.QueryBuilderConnectorType.anyIg]:s,[O.QueryBuilderConnectorType.reaction]:P,[O.QueryBuilderConnectorType.activityString]:R,[O.QueryBuilderConnectorType.anyAd]:p,[O.QueryBuilderConnectorType.specificAd]:r,[O.QueryBuilderConnectorType.iceBreaker]:C,[O.QueryBuilderConnectorType.string_restricted]:t};exports.AD_STRING_OPERATORS_COMPONENT=r,exports.ANY_AD_OPERATORS_COMPONENT=p,exports.ANY_IG_OPERATORS_COMPONENT=s,exports.BOOLEAN_OPERATORS_COMPONENT=i,exports.CONNECTOR_TYPE_TO_COMPONENT_MAP=u,exports.CONNECTOR_TYPE_TO_OPERATORS=E,exports.DATE_OPERATORS_COMPONENT=o,exports.FREQUENCY_OPERATORS_COMPONENT=I,exports.ICE_BREAKER_OPERATORS_COMPONENT=C,exports.IG_STRING_OPERATORS_COMPONENT=R,exports.INTEGER_OPERATORS_COMPONENT=N,exports.REACTION_OPERATORS_COMPONENT=P,exports.SPECIFIC_IG_POST_OPERATORS_COMPONENT=S,exports.SPECIFIC_IG_REEL_OPERATORS_COMPONENT=A,exports.SPECIFIC_IG_STORY_OPERATORS_COMPONENT=n,exports.STRING_OPERATORS_COMPONENT=_,exports.STRING_RESTRICTED_OPERATORS_COMPONENT=t;
|
|
@@ -23,12 +23,8 @@ export declare enum STRING_OPERATORS {
|
|
|
23
23
|
doesntExist = "doesntExist"
|
|
24
24
|
}
|
|
25
25
|
export declare enum STRING_RESTRICTED_OPERATORS {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
startsWith = "startsWith",
|
|
29
|
-
endsWith = "endsWith",
|
|
30
|
-
exists = "exists",
|
|
31
|
-
doesntExist = "doesntExist"
|
|
26
|
+
is = "is",
|
|
27
|
+
isNot = "isNot"
|
|
32
28
|
}
|
|
33
29
|
export declare enum IG_STRING_OPERATORS {
|
|
34
30
|
any = "any",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t,
|
|
1
|
+
"use strict";var e,t,s,o,R,n,i,r;Object.defineProperty(exports,"__esModule",{value:!0}),exports.INTEGER_OPERATORS=void 0,(e=exports.INTEGER_OPERATORS||(exports.INTEGER_OPERATORS={})).is="is",e.isNot="isNot",e.exists="exists",e.doesntExist="doesntExist",e.lessThan="lessThan",e.lessThanOrEqualTo="lessThanOrEqualTo",e.greaterThan="greaterThan",e.greaterThanOrEqualTo="greaterThanOrEqualTo",exports.STRING_OPERATORS=void 0,(t=exports.STRING_OPERATORS||(exports.STRING_OPERATORS={})).is="is",t.isNot="isNot",t.contains="contains",t.doesntContain="doesntContain",t.startsWith="startsWith",t.endsWith="endsWith",t.exists="exists",t.doesntExist="doesntExist",exports.STRING_RESTRICTED_OPERATORS=void 0,(s=exports.STRING_RESTRICTED_OPERATORS||(exports.STRING_RESTRICTED_OPERATORS={})).is="is",s.isNot="isNot",exports.IG_STRING_OPERATORS=void 0,(o=exports.IG_STRING_OPERATORS||(exports.IG_STRING_OPERATORS={})).any="any",o.is="is",o.contains="contains",o.startsWith="startsWith",o.endsWith="endsWith",exports.AD_STRING_OPERATORS=void 0,(exports.AD_STRING_OPERATORS||(exports.AD_STRING_OPERATORS={})).is="is",exports.SPECIFIC_IG_OPERATORS=void 0,(exports.SPECIFIC_IG_OPERATORS||(exports.SPECIFIC_IG_OPERATORS={})).in="in",exports.ICE_BREAKER_OPERATORS=void 0,(exports.ICE_BREAKER_OPERATORS||(exports.ICE_BREAKER_OPERATORS={})).is="is",exports.ANY_IG_OPERATORS=void 0,(exports.ANY_IG_OPERATORS||(exports.ANY_IG_OPERATORS={})).in="in",exports.ANY_AD_OPERATORS=void 0,(exports.ANY_AD_OPERATORS||(exports.ANY_AD_OPERATORS={})).in="in",exports.REACTION_OPERATORS=void 0,(exports.REACTION_OPERATORS||(exports.REACTION_OPERATORS={})).contains="contains",exports.DATE_OPERATORS=void 0,(R=exports.DATE_OPERATORS||(exports.DATE_OPERATORS={})).today="today",R.yesterday="yesterday",R["last 7 days"]="last 7 days",R["last 30 days"]="last 30 days",R["this week"]="this week",R["last week"]="last week",R["this month"]="this month",R["last month"]="last month",R.exactly="exactly",R["not exactly"]="not exactly",R["in the last"]="in the last",R["not in the last"]="not in the last",R["in between last"]="in between last",R["not in between last"]="not in between last",R.on="on",R.notOn="notOn",R.inBetween="inBetween",R.notInBetween="notInBetween",R.before="before",R.after="after",R["last quarter"]="last quarter",exports.BOOLEAN_OPERATORS=void 0,(n=exports.BOOLEAN_OPERATORS||(exports.BOOLEAN_OPERATORS={})).isTrue="isTrue",n.isFalse="isFalse",n.exists="exists",n.doesntExist="doesntExist",exports.FREQUENCY_OPERATORS=void 0,(i=exports.FREQUENCY_OPERATORS||(exports.FREQUENCY_OPERATORS={})).exactly="exactly",i.atleast="atleast",i.atMost="atMost",exports.EVENT_VALUES=void 0,(r=exports.EVENT_VALUES||(exports.EVENT_VALUES={})).FreeText="FreeText",r.NoInput="NoInput",r.IntegerSingleValue="IntegerSingleValue",r.StringSingleValue="StringSingleValue",r.TwoNumberInputsSeperatedByAnd="TwoNumberInputsSeperatedByAnd",r.MultiselectDropdownFreeText="MultiselectDropdownFreeText",r.SingleselectDropdownFreeText="SingleselectDropdownFreeText",r.SingleDate="SingleDate",r.TwoDate="TwoDate",r.IntegerPositiveSingle="IntegerPositiveSingle",r.NumberTime="NumberTime";
|
|
@@ -45,12 +45,8 @@ export declare const STRING_OPERATORS_COMPONENT: {
|
|
|
45
45
|
doesntExist: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
46
46
|
};
|
|
47
47
|
export declare const STRING_RESTRICTED_OPERATORS_COMPONENT: {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
startsWith: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
51
|
-
endsWith: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
52
|
-
exists: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
53
|
-
doesntExist: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
48
|
+
is: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
49
|
+
isNot: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
54
50
|
};
|
|
55
51
|
export declare const IG_STRING_OPERATORS_COMPONENT: {
|
|
56
52
|
any: CONNECTOR_VALUE_COMPONENT_TYPES;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{QueryBuilderConnectorType as e}from"../types/QueryBuilder.type.js";import{BOOLEAN_OPERATORS as t,STRING_OPERATORS as n,STRING_RESTRICTED_OPERATORS as i,INTEGER_OPERATORS as o,FREQUENCY_OPERATORS as r,DATE_OPERATORS as s,SPECIFIC_IG_OPERATORS as a,ANY_IG_OPERATORS as l,REACTION_OPERATORS as I,IG_STRING_OPERATORS as g,ANY_AD_OPERATORS as u,AD_STRING_OPERATORS as
|
|
1
|
+
import{QueryBuilderConnectorType as e}from"../types/QueryBuilder.type.js";import{BOOLEAN_OPERATORS as t,STRING_OPERATORS as n,STRING_RESTRICTED_OPERATORS as i,INTEGER_OPERATORS as o,FREQUENCY_OPERATORS as r,DATE_OPERATORS as s,SPECIFIC_IG_OPERATORS as a,ANY_IG_OPERATORS as l,REACTION_OPERATORS as I,IG_STRING_OPERATORS as g,ANY_AD_OPERATORS as u,AD_STRING_OPERATORS as c,ICE_BREAKER_OPERATORS as p}from"../types/QueryBuilderOperator.type.js";const T={[e.boolean]:t,[e.string]:n,[e.string_restricted]:i,[e.integer]:o,[e.frequency]:r,[e.date]:s,[e.specificPost]:a,[e.specificReel]:a,[e.specificStory]:a,[e.anyIg]:l,[e.reaction]:I,[e.activityString]:g,[e.anyAd]:u,[e.specificAd]:c,[e.iceBreaker]:p};var d;!function(e){e.FreeText="FreeText",e.NoInput="NoInput",e.IntegerSingleValue="IntegerSingleValue",e.StringSingleValue="StringSingleValue",e.TwoNumberInputsSeperatedByAnd="TwoNumberInputsSeperatedByAnd",e.MultiselectDropdownFreeText="MultiselectDropdownFreeText",e.SingleselectDropdownFreeText="SingleselectDropdownFreeText",e.SingleDate="SingleDate",e.TwoDate="TwoDate",e.IntegerPositiveSingle="IntegerPositiveSingle",e.NumberTime="NumberTime",e.PostIgPicker="PostIgPicker",e.ReelIgPicker="ReelIgPicker",e.StoryIgPicker="StoryIgPicker",e.EmojiPicker="EmojiPicker",e.InTheLast="InTheLast",e.InTwoLast="InTwoLast",e.InTheLastAgo="InTheLastAgo"}(d||(d={}));const N={[o.is]:d.FreeText,[o.isNot]:d.FreeText,[o.exists]:d.NoInput,[o.doesntExist]:d.NoInput,[o.lessThan]:d.IntegerSingleValue,[o.lessThanOrEqualTo]:d.IntegerSingleValue,[o.greaterThan]:d.IntegerSingleValue,[o.greaterThanOrEqualTo]:d.IntegerSingleValue},S={[n.is]:d.MultiselectDropdownFreeText,[n.isNot]:d.MultiselectDropdownFreeText,[n.contains]:d.FreeText,[n.doesntContain]:d.FreeText,[n.startsWith]:d.FreeText,[n.endsWith]:d.FreeText,[n.exists]:d.NoInput,[n.doesntExist]:d.NoInput},y={[n.is]:d.MultiselectDropdownFreeText,[n.isNot]:d.MultiselectDropdownFreeText},x={[g.any]:d.NoInput,[g.is]:d.MultiselectDropdownFreeText,[g.contains]:d.FreeText,[g.startsWith]:d.FreeText,[g.endsWith]:d.FreeText},w={[c.is]:d.SingleselectDropdownFreeText},F={[p.is]:d.MultiselectDropdownFreeText},h={[I.contains]:d.EmojiPicker},P={[s.today]:d.NoInput,[s.yesterday]:d.NoInput,[s["last 30 days"]]:d.NoInput,[s["last 7 days"]]:d.NoInput,[s["this month"]]:d.NoInput,[s["this week"]]:d.NoInput,[s["last month"]]:d.NoInput,[s["last week"]]:d.NoInput,[s.exactly]:d.InTheLastAgo,[s["in the last"]]:d.InTheLast,[s["in between last"]]:d.InTwoLast,[s.on]:d.SingleDate,[s.notOn]:d.SingleDate,[s.inBetween]:d.TwoDate,[s.notInBetween]:d.TwoDate,[s.before]:d.SingleDate,[s.after]:d.SingleDate,[s.today]:d.NoInput,[s.yesterday]:d.NoInput,[s["last week"]]:d.NoInput,[s["last month"]]:d.NoInput,[s["last quarter"]]:d.NoInput,[s["in the last"]]:d.InTheLast},D={[a.in]:d.PostIgPicker},k={[a.in]:d.ReelIgPicker},m={[a.in]:d.StoryIgPicker},f={[l.in]:d.NoInput},L={[u.in]:d.NoInput},A={[t.isTrue]:d.NoInput,[t.isFalse]:d.NoInput,[t.exists]:d.NoInput,[t.doesntExist]:d.NoInput},M={[r.exactly]:d.IntegerPositiveSingle,[r.atleast]:d.IntegerPositiveSingle,[r.atMost]:d.IntegerPositiveSingle},b={[e.boolean]:A,[e.string]:S,[e.integer]:N,[e.frequency]:M,[e.date]:P,[e.specificPost]:D,[e.specificReel]:k,[e.specificStory]:m,[e.anyIg]:f,[e.reaction]:h,[e.activityString]:x,[e.anyAd]:L,[e.specificAd]:w,[e.iceBreaker]:F,[e.string_restricted]:y};export{w as AD_STRING_OPERATORS_COMPONENT,L as ANY_AD_OPERATORS_COMPONENT,f as ANY_IG_OPERATORS_COMPONENT,A as BOOLEAN_OPERATORS_COMPONENT,b as CONNECTOR_TYPE_TO_COMPONENT_MAP,T as CONNECTOR_TYPE_TO_OPERATORS,d as CONNECTOR_VALUE_COMPONENT_TYPES,P as DATE_OPERATORS_COMPONENT,M as FREQUENCY_OPERATORS_COMPONENT,F as ICE_BREAKER_OPERATORS_COMPONENT,x as IG_STRING_OPERATORS_COMPONENT,N as INTEGER_OPERATORS_COMPONENT,h as REACTION_OPERATORS_COMPONENT,D as SPECIFIC_IG_POST_OPERATORS_COMPONENT,k as SPECIFIC_IG_REEL_OPERATORS_COMPONENT,m as SPECIFIC_IG_STORY_OPERATORS_COMPONENT,S as STRING_OPERATORS_COMPONENT,y as STRING_RESTRICTED_OPERATORS_COMPONENT};
|
|
@@ -23,12 +23,8 @@ export declare enum STRING_OPERATORS {
|
|
|
23
23
|
doesntExist = "doesntExist"
|
|
24
24
|
}
|
|
25
25
|
export declare enum STRING_RESTRICTED_OPERATORS {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
startsWith = "startsWith",
|
|
29
|
-
endsWith = "endsWith",
|
|
30
|
-
exists = "exists",
|
|
31
|
-
doesntExist = "doesntExist"
|
|
26
|
+
is = "is",
|
|
27
|
+
isNot = "isNot"
|
|
32
28
|
}
|
|
33
29
|
export declare enum IG_STRING_OPERATORS {
|
|
34
30
|
any = "any",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var t,e,n,s,i,a,o,l,r,u,d,
|
|
1
|
+
var t,e,n,s,i,a,o,l,r,u,c,d,h,T;!function(t){t.is="is",t.isNot="isNot",t.exists="exists",t.doesntExist="doesntExist",t.lessThan="lessThan",t.lessThanOrEqualTo="lessThanOrEqualTo",t.greaterThan="greaterThan",t.greaterThanOrEqualTo="greaterThanOrEqualTo"}(t||(t={})),function(t){t.is="is",t.isNot="isNot",t.contains="contains",t.doesntContain="doesntContain",t.startsWith="startsWith",t.endsWith="endsWith",t.exists="exists",t.doesntExist="doesntExist"}(e||(e={})),function(t){t.is="is",t.isNot="isNot"}(n||(n={})),function(t){t.any="any",t.is="is",t.contains="contains",t.startsWith="startsWith",t.endsWith="endsWith"}(s||(s={})),function(t){t.is="is"}(i||(i={})),function(t){t.in="in"}(a||(a={})),function(t){t.is="is"}(o||(o={})),function(t){t.in="in"}(l||(l={})),function(t){t.in="in"}(r||(r={})),function(t){t.contains="contains"}(u||(u={})),function(t){t.today="today",t.yesterday="yesterday",t["last 7 days"]="last 7 days",t["last 30 days"]="last 30 days",t["this week"]="this week",t["last week"]="last week",t["this month"]="this month",t["last month"]="last month",t.exactly="exactly",t["not exactly"]="not exactly",t["in the last"]="in the last",t["not in the last"]="not in the last",t["in between last"]="in between last",t["not in between last"]="not in between last",t.on="on",t.notOn="notOn",t.inBetween="inBetween",t.notInBetween="notInBetween",t.before="before",t.after="after",t["last quarter"]="last quarter"}(c||(c={})),function(t){t.isTrue="isTrue",t.isFalse="isFalse",t.exists="exists",t.doesntExist="doesntExist"}(d||(d={})),function(t){t.exactly="exactly",t.atleast="atleast",t.atMost="atMost"}(h||(h={})),function(t){t.FreeText="FreeText",t.NoInput="NoInput",t.IntegerSingleValue="IntegerSingleValue",t.StringSingleValue="StringSingleValue",t.TwoNumberInputsSeperatedByAnd="TwoNumberInputsSeperatedByAnd",t.MultiselectDropdownFreeText="MultiselectDropdownFreeText",t.SingleselectDropdownFreeText="SingleselectDropdownFreeText",t.SingleDate="SingleDate",t.TwoDate="TwoDate",t.IntegerPositiveSingle="IntegerPositiveSingle",t.NumberTime="NumberTime"}(T||(T={}));export{i as AD_STRING_OPERATORS,r as ANY_AD_OPERATORS,l as ANY_IG_OPERATORS,d as BOOLEAN_OPERATORS,c as DATE_OPERATORS,T as EVENT_VALUES,h as FREQUENCY_OPERATORS,o as ICE_BREAKER_OPERATORS,s as IG_STRING_OPERATORS,t as INTEGER_OPERATORS,u as REACTION_OPERATORS,a as SPECIFIC_IG_OPERATORS,e as STRING_OPERATORS,n as STRING_RESTRICTED_OPERATORS};
|