@pristy/pristy-libvue 1.12.0 → 1.13.0

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.
@@ -26,13 +26,7 @@ declare const _default: DefineComponent<{}, {}, {
26
26
  }, {
27
27
  locationModel: {
28
28
  get(): {
29
- /**
30
- * - The type of location.
31
- */
32
- type: "Site" | "Path" | "Folder" | null;
33
- /**
34
- * - The value for the location (e.g., site ID or nodeRef).
35
- */
29
+ type: string | null;
36
30
  value: string;
37
31
  };
38
32
  set(value: any): void;
@@ -71,18 +65,30 @@ declare const _default: DefineComponent<{}, {}, {
71
65
  */
72
66
  config: {
73
67
  /**
74
- * - The location criteria.
68
+ * - The list of location criteria.
75
69
  */
76
- location: {
70
+ locations: {
71
+ /**
72
+ * - Unique identifier for the location entry.
73
+ */
74
+ id: number;
77
75
  /**
78
76
  * - The type of location.
79
77
  */
80
- type: "Site" | "Path" | "Folder" | null;
78
+ type: "Site" | "Folder";
81
79
  /**
82
80
  * - The value for the location (e.g., site ID or nodeRef).
83
81
  */
84
82
  value: string;
85
- };
83
+ /**
84
+ * - Whether this location is excluded (true) or included (false).
85
+ */
86
+ negation: boolean;
87
+ /**
88
+ * - Human-readable label for display.
89
+ */
90
+ label: string;
91
+ }[];
86
92
  /**
87
93
  * - The list of search criteria.
88
94
  */
@@ -116,13 +122,7 @@ declare const _default: DefineComponent<{}, {}, {
116
122
  };
117
123
  availableProperties(): any[];
118
124
  location: () => {
119
- /**
120
- * - The type of location.
121
- */
122
- type: "Site" | "Path" | "Folder" | null;
123
- /**
124
- * - The value for the location (e.g., site ID or nodeRef).
125
- */
125
+ type: string | null;
126
126
  value: string;
127
127
  };
128
128
  criteria: () => {
@@ -177,18 +177,30 @@ declare const _default: DefineComponent<{}, {}, {
177
177
  */
178
178
  config: {
179
179
  /**
180
- * - The location criteria.
180
+ * - The list of location criteria.
181
181
  */
182
- location: {
182
+ locations: {
183
+ /**
184
+ * - Unique identifier for the location entry.
185
+ */
186
+ id: number;
183
187
  /**
184
188
  * - The type of location.
185
189
  */
186
- type: "Site" | "Path" | "Folder" | null;
190
+ type: "Site" | "Folder";
187
191
  /**
188
192
  * - The value for the location (e.g., site ID or nodeRef).
189
193
  */
190
194
  value: string;
191
- };
195
+ /**
196
+ * - Whether this location is excluded (true) or included (false).
197
+ */
198
+ negation: boolean;
199
+ /**
200
+ * - Human-readable label for display.
201
+ */
202
+ label: string;
203
+ }[];
192
204
  /**
193
205
  * - The list of search criteria.
194
206
  */
@@ -234,7 +246,12 @@ declare const _default: DefineComponent<{}, {}, {
234
246
  handleCriterionAdded(criterion: any): void;
235
247
  formatCriterionValueForDisplay(criterion: any): string;
236
248
  loadView: (savedView: SavedView) => void;
237
- setLocation: (newLocation: ViewLocation) => void;
249
+ setLocation: (newLocation: {
250
+ type: string | null;
251
+ value: string;
252
+ }) => void;
253
+ addLocation: (loc: ViewLocation) => void;
254
+ removeLocation: (index: number) => void;
238
255
  setCriteria: (newCriteria: ViewCriterion[]) => void;
239
256
  addCriterion: (criterion: ViewCriterion) => void;
240
257
  removeCriterion: (index: number) => void;
@@ -312,7 +329,12 @@ declare const _default: DefineComponent<{}, {}, {
312
329
  onDropdownChange(event: any): void;
313
330
  selectView(search: any): void;
314
331
  loadView: (savedView: SavedView) => void;
315
- setLocation: (newLocation: ViewLocation) => void;
332
+ setLocation: (newLocation: {
333
+ type: string | null;
334
+ value: string;
335
+ }) => void;
336
+ addLocation: (loc: ViewLocation) => void;
337
+ removeLocation: (index: number) => void;
316
338
  setCriteria: (newCriteria: ViewCriterion[]) => void;
317
339
  addCriterion: (criterion: ViewCriterion) => void;
318
340
  removeCriterion: (index: number) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"AdvancedSearchPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/search/AdvancedSearchPanel.vue"],"names":[],"mappings":";;;;;;;;;;;;AAgNA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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dA,KAlXqB,CAkXrB,aAlXmC;;;;;;;;;;;6BAkXnC,MAzOqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAyOrB,KAhOgC;;2BAgOhC,KA7LmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BA6LnB,KAlXqB,CAkXrB,aAlXmC;;;;;;;;;;;iCAkXnC,MAzOqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA8OC,oBAAoB;yBACjB,uBAAuB;yBAEvB,uBAAuB;sBAC1B,oBAAoB;mBACvB,iBAAiB;mBAGjB,iBAAiB"}
@@ -17,6 +17,7 @@ import { default as Button } from 'primevue/button';
17
17
  import { default as Dialog } from 'primevue/dialog';
18
18
  declare const _default: DefineComponent<{}, {}, {
19
19
  isAddCriterionDialogVisible: boolean;
20
+ isAddLocationDialogVisible: boolean;
20
21
  saveViewDialogVisible: boolean;
21
22
  saveViewDialogMode: string;
22
23
  saveViewError: any;
@@ -24,26 +25,22 @@ declare const _default: DefineComponent<{}, {}, {
24
25
  isDeleteConfirmVisible: boolean;
25
26
  availableSites: any[];
26
27
  filteredSites: any[];
27
- siteInputValue: any;
28
- }, {
29
- locationModel: {
30
- get(): {
31
- /**
32
- * - The type of location.
33
- */
34
- type: "Site" | "Path" | "Folder" | null;
35
- /**
36
- * - The value for the location (e.g., site ID or nodeRef).
37
- */
38
- value: string;
39
- };
40
- set(value: any): void;
28
+ newLocation: {
29
+ type: any;
30
+ value: string;
31
+ negation: boolean;
32
+ label: string;
41
33
  };
34
+ newLocationSiteInput: any;
35
+ }, {
42
36
  locationOptions(): {
43
37
  label: string;
44
38
  value: string;
45
39
  }[];
46
- locationPlaceholder(): string;
40
+ negationOptions(): {
41
+ label: string;
42
+ value: boolean;
43
+ }[];
47
44
  hasActiveCriteria(): boolean;
48
45
  isSavedViewLoaded(): boolean;
49
46
  canManageLoadedView(): any;
@@ -73,18 +70,30 @@ declare const _default: DefineComponent<{}, {}, {
73
70
  */
74
71
  config: {
75
72
  /**
76
- * - The location criteria.
73
+ * - The list of location criteria.
77
74
  */
78
- location: {
75
+ locations: {
76
+ /**
77
+ * - Unique identifier for the location entry.
78
+ */
79
+ id: number;
79
80
  /**
80
81
  * - The type of location.
81
82
  */
82
- type: "Site" | "Path" | "Folder" | null;
83
+ type: "Site" | "Folder";
83
84
  /**
84
85
  * - The value for the location (e.g., site ID or nodeRef).
85
86
  */
86
87
  value: string;
87
- };
88
+ /**
89
+ * - Whether this location is excluded (true) or included (false).
90
+ */
91
+ negation: boolean;
92
+ /**
93
+ * - Human-readable label for display.
94
+ */
95
+ label: string;
96
+ }[];
88
97
  /**
89
98
  * - The list of search criteria.
90
99
  */
@@ -117,16 +126,28 @@ declare const _default: DefineComponent<{}, {}, {
117
126
  };
118
127
  };
119
128
  availableProperties(): any[];
120
- location: () => {
129
+ locations: () => {
130
+ /**
131
+ * - Unique identifier for the location entry.
132
+ */
133
+ id: number;
121
134
  /**
122
135
  * - The type of location.
123
136
  */
124
- type: "Site" | "Path" | "Folder" | null;
137
+ type: "Site" | "Folder";
125
138
  /**
126
139
  * - The value for the location (e.g., site ID or nodeRef).
127
140
  */
128
141
  value: string;
129
- };
142
+ /**
143
+ * - Whether this location is excluded (true) or included (false).
144
+ */
145
+ negation: boolean;
146
+ /**
147
+ * - Human-readable label for display.
148
+ */
149
+ label: string;
150
+ }[];
130
151
  criteria: () => {
131
152
  /**
132
153
  * - Unique identifier for the criterion.
@@ -179,18 +200,30 @@ declare const _default: DefineComponent<{}, {}, {
179
200
  */
180
201
  config: {
181
202
  /**
182
- * - The location criteria.
203
+ * - The list of location criteria.
183
204
  */
184
- location: {
205
+ locations: {
206
+ /**
207
+ * - Unique identifier for the location entry.
208
+ */
209
+ id: number;
185
210
  /**
186
211
  * - The type of location.
187
212
  */
188
- type: "Site" | "Path" | "Folder" | null;
213
+ type: "Site" | "Folder";
189
214
  /**
190
215
  * - The value for the location (e.g., site ID or nodeRef).
191
216
  */
192
217
  value: string;
193
- };
218
+ /**
219
+ * - Whether this location is excluded (true) or included (false).
220
+ */
221
+ negation: boolean;
222
+ /**
223
+ * - Human-readable label for display.
224
+ */
225
+ label: string;
226
+ }[];
194
227
  /**
195
228
  * - The list of search criteria.
196
229
  */
@@ -232,14 +265,20 @@ declare const _default: DefineComponent<{}, {}, {
232
265
  handleDeleteConfirmation(): Promise<void>;
233
266
  handleSaveView(payload: any): Promise<void>;
234
267
  handleLoadView(searchConfig: any): void;
235
- updateLocationValue(newValue: any): void;
268
+ confirmAddLocation(): void;
269
+ resetNewLocation(): void;
236
270
  handleCriterionAdded(criterion: any): void;
237
271
  formatCriterionValueForDisplay(criterion: any): string;
238
272
  loadSites(): Promise<void>;
239
273
  searchSites(event: any): void;
240
- handleSiteSelect(event: any): void;
274
+ handleNewLocationSiteSelect(event: any): void;
241
275
  loadView: (savedView: SavedView) => void;
242
- setLocation: (newLocation: ViewLocation) => void;
276
+ setLocation: (newLocation: {
277
+ type: string | null;
278
+ value: string;
279
+ }) => void;
280
+ addLocation: (loc: ViewLocation) => void;
281
+ removeLocation: (index: number) => void;
243
282
  setCriteria: (newCriteria: ViewCriterion[]) => void;
244
283
  addCriterion: (criterion: ViewCriterion) => void;
245
284
  removeCriterion: (index: number) => void;
@@ -283,7 +322,12 @@ declare const _default: DefineComponent<{}, {}, {
283
322
  onDropdownChange(event: any): void;
284
323
  selectView(search: any): void;
285
324
  loadView: (savedView: SavedView) => void;
286
- setLocation: (newLocation: ViewLocation) => void;
325
+ setLocation: (newLocation: {
326
+ type: string | null;
327
+ value: string;
328
+ }) => void;
329
+ addLocation: (loc: ViewLocation) => void;
330
+ removeLocation: (index: number) => void;
287
331
  setCriteria: (newCriteria: ViewCriterion[]) => void;
288
332
  addCriterion: (criterion: ViewCriterion) => void;
289
333
  removeCriterion: (index: number) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"AdvancedViewPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/search/AdvancedViewPanel.vue"],"names":[],"mappings":";;;;;;;;;;AAiOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAsiBA,KAhcwB,CAgcxB,aAhcsC;;;;;;;;;;;6BAgctC,MA5ToB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BA4TpB,KAhcwB,CAgcxB,aAhcsC;;;;;;;;;;;iCAgctC,MA5ToB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAiUE,oBAAoB;yBACjB,uBAAuB;yBAEvB,uBAAuB;sBAC1B,oBAAoB;yBACjB,uBAAuB;mBAC7B,iBAAiB;mBAGjB,iBAAiB"}
1
+ {"version":3,"file":"AdvancedViewPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/search/AdvancedViewPanel.vue"],"names":[],"mappings":";;;;;;;;;;AA4SA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAwlBA,KAlf+C,CAkf/C,aAjfC;;;;;;;;;;;6BAifD,MApX4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAoX5B,KAlf+C,CAkf/C,aAjfC;;;;;;;;;;;iCAifD,MApX4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAyXN,oBAAoB;yBACjB,uBAAuB;yBAEvB,uBAAuB;sBAC1B,oBAAoB;yBACjB,uBAAuB;mBAC7B,iBAAiB;mBAGjB,iBAAiB"}
@@ -8,7 +8,12 @@ declare const _default: DefineComponent<{}, {}, {}, {
8
8
  */
9
9
  onMenuItemClick(event: any): void;
10
10
  loadView: (savedView: SavedView) => void;
11
- setLocation: (newLocation: ViewLocation) => void;
11
+ setLocation: (newLocation: {
12
+ type: string | null;
13
+ value: string;
14
+ }) => void;
15
+ addLocation: (loc: ViewLocation) => void;
16
+ removeLocation: (index: number) => void;
12
17
  setCriteria: (newCriteria: ViewCriterion[]) => void;
13
18
  addCriterion: (criterion: ViewCriterion) => void;
14
19
  removeCriterion: (index: number) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"SaveViewPopup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/search/SaveViewPopup.vue"],"names":[],"mappings":";AA2FA;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAmMA,KA1EuD,CA0EvD,aAxEC;;;;;;;;;;;6BA4KI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAlGQ,iBAAiB;sBACd,oBAAoB;qBACrB,mBAAmB;yBACf,uBAAuB;mBAC7B,iBAAiB"}
1
+ {"version":3,"file":"SaveViewPopup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/search/SaveViewPopup.vue"],"names":[],"mappings":";AA2FA;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAmMA,KA1EuD,CA0EvD,aAxEC;;;;;;;;;;;6BA6K+D,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAnGnD,iBAAiB;sBACd,oBAAoB;qBACrB,mBAAmB;yBACf,uBAAuB;mBAC7B,iBAAiB"}
@@ -9,7 +9,12 @@ declare const _default: DefineComponent<{}, {}, {
9
9
  onDropdownChange(event: any): void;
10
10
  selectView(search: any): void;
11
11
  loadView: (savedView: SavedView) => void;
12
- setLocation: (newLocation: ViewLocation) => void;
12
+ setLocation: (newLocation: {
13
+ type: string | null;
14
+ value: string;
15
+ }) => void;
16
+ addLocation: (loc: ViewLocation) => void;
17
+ removeLocation: (index: number) => void;
13
18
  setCriteria: (newCriteria: ViewCriterion[]) => void;
14
19
  addCriterion: (criterion: ViewCriterion) => void;
15
20
  removeCriterion: (index: number) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"UserViewsFavoritesPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/search/UserViewsFavoritesPanel.vue"],"names":[],"mappings":";AAuGA;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAqKqB,mBAAmB"}
1
+ {"version":3,"file":"UserViewsFavoritesPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/search/UserViewsFavoritesPanel.vue"],"names":[],"mappings":";AAuGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAqKqB,mBAAmB"}