@pristy/pristy-libvue 2.16.1 → 2.16.2
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/{ActivityHistory-BR80usg-.js → ActivityHistory-M06O2Pp7.js} +2 -2
- package/dist/{ActivityHistory-BR80usg-.js.map → ActivityHistory-M06O2Pp7.js.map} +1 -1
- package/dist/{BookmarksComponent-CzngDcRh.js → BookmarksComponent-BKWq9lkO.js} +2 -2
- package/dist/{BookmarksComponent-CzngDcRh.js.map → BookmarksComponent-BKWq9lkO.js.map} +1 -1
- package/dist/{ChartWrapper-B0gpH1NL.js → ChartWrapper-DQIly8C1.js} +2 -2
- package/dist/{ChartWrapper-B0gpH1NL.js.map → ChartWrapper-DQIly8C1.js.map} +1 -1
- package/dist/{DisplayFileInDashboardComponent-DQqCmNLY.js → DisplayFileInDashboardComponent-BZdY-qPD.js} +2 -2
- package/dist/{DisplayFileInDashboardComponent-DQqCmNLY.js.map → DisplayFileInDashboardComponent-BZdY-qPD.js.map} +1 -1
- package/dist/{ExternalApps-Bnyti2Vr.js → ExternalApps-CznH7V4D.js} +2 -2
- package/dist/{ExternalApps-Bnyti2Vr.js.map → ExternalApps-CznH7V4D.js.map} +1 -1
- package/dist/{FavoriteList-DcX0XQzp.js → FavoriteList-Bab_FEKE.js} +2 -2
- package/dist/{FavoriteList-DcX0XQzp.js.map → FavoriteList-Bab_FEKE.js.map} +1 -1
- package/dist/{MarkdownComponent-Bf0Po2be.js → MarkdownComponent-AwjiJbpZ.js} +2 -2
- package/dist/{MarkdownComponent-Bf0Po2be.js.map → MarkdownComponent-AwjiJbpZ.js.map} +1 -1
- package/dist/{SearchInput-CDKrd-q5.js → SearchInput-SsDPywuL.js} +2 -2
- package/dist/{SearchInput-CDKrd-q5.js.map → SearchInput-SsDPywuL.js.map} +1 -1
- package/dist/{UnknownBlockType-DuZjRoOX.js → UnknownBlockType-DPReAgKT.js} +2 -2
- package/dist/{UnknownBlockType-DuZjRoOX.js.map → UnknownBlockType-DPReAgKT.js.map} +1 -1
- package/dist/{index-C9hyjkU6.js → index-D0TDvl3a.js} +2781 -2673
- package/dist/index-D0TDvl3a.js.map +1 -0
- package/dist/pristy-libvue.css +1 -1
- package/dist/pristy-libvue.es.js +1 -1
- package/dist/pristy-libvue.umd.js +14 -14
- package/dist/pristy-libvue.umd.js.map +1 -1
- package/dist/src/components/search/AdvancedSearchPanel.vue.d.ts +4 -0
- package/dist/src/components/search/AdvancedSearchPanel.vue.d.ts.map +1 -1
- package/dist/src/components/search/AdvancedViewPanel.vue.d.ts +15 -0
- package/dist/src/components/search/AdvancedViewPanel.vue.d.ts.map +1 -1
- package/dist/src/components/search/FavoriteViewMenu.vue.d.ts +2 -0
- package/dist/src/components/search/UserViewsFavoritesPanel.vue.d.ts +2 -0
- package/dist/src/i18n/index.d.ts +4 -0
- package/dist/src/i18n/index.d.ts.map +1 -1
- package/dist/src/services/AftsQueryBuilder.d.ts +6 -1
- package/dist/src/services/AftsQueryBuilder.d.ts.map +1 -1
- package/dist/src/services/GhostMatcher.d.ts +1 -1
- package/dist/src/services/GhostMatcher.d.ts.map +1 -1
- package/dist/src/services/criteriaLogic.d.ts +37 -0
- package/dist/src/services/criteriaLogic.d.ts.map +1 -0
- package/dist/src/stores/userView.d.ts +13 -0
- package/dist/src/stores/userView.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index-C9hyjkU6.js.map +0 -1
|
@@ -346,6 +346,8 @@ declare const _default: DefineComponent<{}, {}, {
|
|
|
346
346
|
setCriteria: (newCriteria: ViewCriterion[]) => void;
|
|
347
347
|
addGroup: (operator?: "AND" | "OR") => void;
|
|
348
348
|
removeGroup: (groupIndex: number) => void;
|
|
349
|
+
setRootOperator: (operator: "AND" | "OR") => void;
|
|
350
|
+
setCriterionOperator: (groupIndex: number, criterionIndex: number, operator: "AND" | "OR") => void;
|
|
349
351
|
addCriterionToGroup: (groupIndex: number, criterion: ViewCriterion) => void;
|
|
350
352
|
removeCriterionFromGroup: (groupIndex: number, criterionIndex: number) => void;
|
|
351
353
|
updateCriterionInGroup: (groupIndex: number, criterionIndex: number, updated: ViewCriterion) => void;
|
|
@@ -438,6 +440,8 @@ declare const _default: DefineComponent<{}, {}, {
|
|
|
438
440
|
setCriteria: (newCriteria: ViewCriterion[]) => void;
|
|
439
441
|
addGroup: (operator?: "AND" | "OR") => void;
|
|
440
442
|
removeGroup: (groupIndex: number) => void;
|
|
443
|
+
setRootOperator: (operator: "AND" | "OR") => void;
|
|
444
|
+
setCriterionOperator: (groupIndex: number, criterionIndex: number, operator: "AND" | "OR") => void;
|
|
441
445
|
addCriterionToGroup: (groupIndex: number, criterion: ViewCriterion) => void;
|
|
442
446
|
removeCriterionFromGroup: (groupIndex: number, criterionIndex: number) => void;
|
|
443
447
|
updateCriterionInGroup: (groupIndex: number, criterionIndex: number, updated: ViewCriterion) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdvancedSearchPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/search/AdvancedSearchPanel.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0NA
|
|
1
|
+
{"version":3,"file":"AdvancedSearchPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/search/AdvancedSearchPanel.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0NA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAseA,KAnYA,CAmYA,aAnYc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAmYd,KA7OU;;2BA6OV,KA1MuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BA0MvB,KAnYA,CAmYA,aAnYc"}
|
|
@@ -442,6 +442,17 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
442
442
|
handleLoadView(searchConfig: any): void;
|
|
443
443
|
handleAddFirstCriterion(): void;
|
|
444
444
|
handleAddGroup(): void;
|
|
445
|
+
/**
|
|
446
|
+
* Flips the root operator joining all criteria groups (AND <-> OR).
|
|
447
|
+
*/
|
|
448
|
+
toggleRootOperator(): void;
|
|
449
|
+
/**
|
|
450
|
+
* Flips the operator joining a criterion to the previous one (AND <-> OR),
|
|
451
|
+
* allowing AND and OR to be mixed within the same group.
|
|
452
|
+
* @param {number} groupIndex - The index of the group.
|
|
453
|
+
* @param {number} criterionIndex - The index of the criterion to toggle.
|
|
454
|
+
*/
|
|
455
|
+
toggleCriterionOperator(groupIndex: number, criterionIndex: number): void;
|
|
445
456
|
openAddCriterionForGroup(groupIndex: any): void;
|
|
446
457
|
handleCriterionAdded(criterion: any): void;
|
|
447
458
|
startEditCriterion(groupIndex: any, criterionIndex: any, criterion: any): void;
|
|
@@ -456,6 +467,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
456
467
|
setCriteria: (newCriteria: ViewCriterion[]) => void;
|
|
457
468
|
addGroup: (operator?: "AND" | "OR") => void;
|
|
458
469
|
removeGroup: (groupIndex: number) => void;
|
|
470
|
+
setRootOperator: (operator: "AND" | "OR") => void;
|
|
471
|
+
setCriterionOperator: (groupIndex: number, criterionIndex: number, operator: "AND" | "OR") => void;
|
|
459
472
|
addCriterionToGroup: (groupIndex: number, criterion: ViewCriterion) => void;
|
|
460
473
|
removeCriterionFromGroup: (groupIndex: number, criterionIndex: number) => void;
|
|
461
474
|
updateCriterionInGroup: (groupIndex: number, criterionIndex: number, updated: ViewCriterion) => void;
|
|
@@ -557,6 +570,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
557
570
|
setCriteria: (newCriteria: ViewCriterion[]) => void;
|
|
558
571
|
addGroup: (operator?: "AND" | "OR") => void;
|
|
559
572
|
removeGroup: (groupIndex: number) => void;
|
|
573
|
+
setRootOperator: (operator: "AND" | "OR") => void;
|
|
574
|
+
setCriterionOperator: (groupIndex: number, criterionIndex: number, operator: "AND" | "OR") => void;
|
|
560
575
|
addCriterionToGroup: (groupIndex: number, criterion: ViewCriterion) => void;
|
|
561
576
|
removeCriterionFromGroup: (groupIndex: number, criterionIndex: number) => void;
|
|
562
577
|
updateCriterionInGroup: (groupIndex: number, criterionIndex: number, updated: ViewCriterion) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdvancedViewPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/search/AdvancedViewPanel.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"AdvancedViewPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/search/AdvancedViewPanel.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4cA;;;;;;;;;;IAqnCI;;;OAGG;;;;;IAKH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyUH;;OAEG;;IAMH;;;;;OAKG;wCAFQ,MAAM,kBACN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA/YrB,KAh+BkC,CAg+BlC,aAh+BgD;;;;;;;;;;;;;;;;;IAmoC5C;;;;OAIG;;IAUH;;;;OAIG;;;;;;;;;;;IAtIH;;;OAGG;;;;;IAKH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BA1DP,KAh+BkC,CAg+BlC,aAh+BgD"}
|
|
@@ -15,6 +15,8 @@ declare const _default: DefineComponent<{}, {}, {}, {
|
|
|
15
15
|
setCriteria: (newCriteria: ViewCriterion[]) => void;
|
|
16
16
|
addGroup: (operator?: "AND" | "OR") => void;
|
|
17
17
|
removeGroup: (groupIndex: number) => void;
|
|
18
|
+
setRootOperator: (operator: "AND" | "OR") => void;
|
|
19
|
+
setCriterionOperator: (groupIndex: number, criterionIndex: number, operator: "AND" | "OR") => void;
|
|
18
20
|
addCriterionToGroup: (groupIndex: number, criterion: ViewCriterion) => void;
|
|
19
21
|
removeCriterionFromGroup: (groupIndex: number, criterionIndex: number) => void;
|
|
20
22
|
updateCriterionInGroup: (groupIndex: number, criterionIndex: number, updated: ViewCriterion) => void;
|
|
@@ -22,6 +22,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
22
22
|
setCriteria: (newCriteria: ViewCriterion[]) => void;
|
|
23
23
|
addGroup: (operator?: "AND" | "OR") => void;
|
|
24
24
|
removeGroup: (groupIndex: number) => void;
|
|
25
|
+
setRootOperator: (operator: "AND" | "OR") => void;
|
|
26
|
+
setCriterionOperator: (groupIndex: number, criterionIndex: number, operator: "AND" | "OR") => void;
|
|
25
27
|
addCriterionToGroup: (groupIndex: number, criterion: ViewCriterion) => void;
|
|
26
28
|
removeCriterionFromGroup: (groupIndex: number, criterionIndex: number) => void;
|
|
27
29
|
updateCriterionInGroup: (groupIndex: number, criterionIndex: number, updated: ViewCriterion) => void;
|
package/dist/src/i18n/index.d.ts
CHANGED
|
@@ -468,6 +468,8 @@ declare const i18n: I18n<{
|
|
|
468
468
|
removeGroup: string;
|
|
469
469
|
operatorAnd: string;
|
|
470
470
|
operatorOr: string;
|
|
471
|
+
toggleRootOperator: string;
|
|
472
|
+
toggleCriterionOperator: string;
|
|
471
473
|
emptyGroup: string;
|
|
472
474
|
};
|
|
473
475
|
pdfTools: {
|
|
@@ -2136,6 +2138,8 @@ declare const i18n: I18n<{
|
|
|
2136
2138
|
removeGroup: string;
|
|
2137
2139
|
operatorAnd: string;
|
|
2138
2140
|
operatorOr: string;
|
|
2141
|
+
toggleRootOperator: string;
|
|
2142
|
+
toggleCriterionOperator: string;
|
|
2139
2143
|
emptyGroup: string;
|
|
2140
2144
|
};
|
|
2141
2145
|
pdfTools: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/index.js"],"names":[],"mappings":";;AAsBA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/index.js"],"names":[],"mappings":";;AAsBA;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAOG"}
|
|
@@ -47,7 +47,12 @@ declare class AftsQueryBuilder {
|
|
|
47
47
|
_buildCriterionPart(c: any): string | null;
|
|
48
48
|
/**
|
|
49
49
|
* Builds an AFTS query for a single group of criteria.
|
|
50
|
-
*
|
|
50
|
+
*
|
|
51
|
+
* Criteria are combined with per-criterion operators following standard
|
|
52
|
+
* boolean precedence (AND binds tighter than OR), with explicit parentheses
|
|
53
|
+
* so the generated query is unambiguous regardless of Solr's own precedence.
|
|
54
|
+
*
|
|
55
|
+
* @param {Object} group - A criteria group with a criteria array.
|
|
51
56
|
* @returns {string|null} The AFTS fragment for the group, or null if empty.
|
|
52
57
|
*/
|
|
53
58
|
_buildGroupQuery(group: any): string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AftsQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/services/AftsQueryBuilder.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"AftsQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/services/AftsQueryBuilder.js"],"names":[],"mappings":";;AAoBA;;;GAGG;AACH;IACE;;;;;OAKG;IACH,qBAHW,MAAM,GACJ,MAAM,CAQlB;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,kCAJG;QAA0B,SAAS;QACT,QAAQ;KAClC,GAAU,MAAM,CAyDlB;IAED;;;;OAIG;IACH,6BAFa,MAAM,GAAC,IAAI,CAkEvB;IAED;;;;;;;;;OASG;IACH,8BAFa,MAAM,GAAC,IAAI,CAyBvB;IAED;;;;OAIG;IACH,wCAFa,MAAM,GAAC,IAAI,CAavB;CACF"}
|
|
@@ -31,7 +31,7 @@ declare class GhostMatcher {
|
|
|
31
31
|
_matchesLocation(ghost: any, loc: any): boolean;
|
|
32
32
|
_matchesFlatCriteria(ghost: any, criteria: any): any;
|
|
33
33
|
_matchesCriteriaGroups(ghost: any, criteriaGroups: any): any;
|
|
34
|
-
_matchesGroup(ghost: any, group: any):
|
|
34
|
+
_matchesGroup(ghost: any, group: any): boolean;
|
|
35
35
|
_matchesCriterion(ghost: any, criterion: any): boolean;
|
|
36
36
|
_evaluateMatch(ghostValue: any, criterion: any, inputType: any): boolean;
|
|
37
37
|
_matchesDate(ghostValue: any, criterion: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GhostMatcher.d.ts","sourceRoot":"","sources":["../../../src/services/GhostMatcher.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"GhostMatcher.d.ts","sourceRoot":"","sources":["../../../src/services/GhostMatcher.js"],"names":[],"mappings":";;AAsKA;;;;GAIG;AACH;IACE;;;;;OAKG;IACH,oDAFa,OAAO,CAkBnB;IAED;;;;;OAKG;IACH,6CAHW,MAAM,GACJ,OAAO,CAInB;IAED;;;;;OAKG;IACH,oCAHW,MAAM,GACJ,OAAO,CAInB;IAID,uDA6BC;IAED,gDAyBC;IAID,qDAMC;IAED,6DAiBC;IAED,+CAYC;IAED,uDA6BC;IAED,yEAYC;IAED,uDA8BC;IAED,uDAiCC;CACF"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (C) 2022 - Jeci SARL - https://jeci.fr
|
|
3
|
+
*
|
|
4
|
+
* This program is free software: you can redistribute it and/or modify
|
|
5
|
+
* it under the terms of the GNU Affero General Public License as
|
|
6
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
7
|
+
* License, or (at your option) any later version.
|
|
8
|
+
*
|
|
9
|
+
* This program is distributed in the hope that it will be useful,
|
|
10
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
* GNU Affero General Public License for more details.
|
|
13
|
+
*
|
|
14
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
15
|
+
* along with this program. If not, see https://www.gnu.org/licenses/agpl-3.0.html.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Splits a group's criteria into segments following standard boolean
|
|
19
|
+
* precedence, where AND binds tighter than OR.
|
|
20
|
+
*
|
|
21
|
+
* Each criterion carries a `logicalOperator` ('AND' | 'OR') that joins it to
|
|
22
|
+
* the previous criterion in the group; the first criterion's operator is
|
|
23
|
+
* ignored (there is nothing before it). Missing operators default to 'AND'.
|
|
24
|
+
*
|
|
25
|
+
* The result is an array of AND-runs: consecutive AND-joined criteria form one
|
|
26
|
+
* segment, and a new segment starts at every OR boundary. The segments are then
|
|
27
|
+
* meant to be OR'd together. For example, `A OR B AND C` yields
|
|
28
|
+
* `[[A], [B, C]]`, i.e. `A OR (B AND C)`.
|
|
29
|
+
*
|
|
30
|
+
* Shared by AftsQueryBuilder (query generation) and GhostMatcher (client-side
|
|
31
|
+
* matching) so both evaluate identical semantics.
|
|
32
|
+
*
|
|
33
|
+
* @param {Array<Object>} criteria - The group's criteria, in order.
|
|
34
|
+
* @returns {Array<Array<Object>>} The AND-run segments, in order.
|
|
35
|
+
*/
|
|
36
|
+
export function segmentByPrecedence(criteria: Array<any>): Array<Array<any>>;
|
|
37
|
+
//# sourceMappingURL=criteriaLogic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"criteriaLogic.d.ts","sourceRoot":"","sources":["../../../src/services/criteriaLogic.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AACH,8CAHW,KAAK,KAAQ,GACX,KAAK,CAAC,KAAK,KAAQ,CAAC,CAiBhC"}
|
|
@@ -114,6 +114,19 @@ export const useUserViewStore: StoreDefinition<"userView", {
|
|
|
114
114
|
* @param {number} groupIndex - The index of the group to remove.
|
|
115
115
|
*/
|
|
116
116
|
removeGroup(groupIndex: number): void;
|
|
117
|
+
/**
|
|
118
|
+
* Sets the operator joining the criteria groups together.
|
|
119
|
+
* @param {'AND'|'OR'} operator - The root operator.
|
|
120
|
+
*/
|
|
121
|
+
setRootOperator(operator: "AND" | "OR"): void;
|
|
122
|
+
/**
|
|
123
|
+
* Sets the logical operator joining a criterion to the previous one within
|
|
124
|
+
* its group. Enables mixing AND/OR inside a single group.
|
|
125
|
+
* @param {number} groupIndex - The index of the group.
|
|
126
|
+
* @param {number} criterionIndex - The index of the criterion within the group.
|
|
127
|
+
* @param {'AND'|'OR'} operator - The operator joining it to the previous criterion.
|
|
128
|
+
*/
|
|
129
|
+
setCriterionOperator(groupIndex: number, criterionIndex: number, operator: "AND" | "OR"): void;
|
|
117
130
|
/**
|
|
118
131
|
* Adds a criterion to a specific group.
|
|
119
132
|
* @param {number} groupIndex - The index of the group.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userView.d.ts","sourceRoot":"","sources":["../../../src/stores/userView.js"],"names":[],"mappings":";AAGA;;;;;;;;GAQG;AAEH;;;;;;;GAOG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;GAWG;AAEH;;GAEG;AACH;eAIkB,YAAY,EAAE;oBACT,cAAc;gBAClB,SAAS,GAAC,IAAI;yBACL,OAAO;;IA0B/B;;;;OAIG;mCADU,OAAO;IAKpB;;;;OAIG;0BADU,YAAY,GAAC;QAAC,IAAI,EAAE,IAAI,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC;IAQrD;;;;OAIG;6BADU,aAAa,EAAE;IAK5B;;;;OAIG;0BADU,aAAa,EAAE;;IAU5B;;;;OAIG;wBADQ,SAAS;
|
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