@cmstops/pro-compo 3.9.2-alpha.0 → 3.9.2-alpha.1

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.
@@ -20,6 +20,7 @@
20
20
 
21
21
  &-footer {
22
22
  display: flex;
23
+ flex-wrap: wrap;
23
24
  justify-content: space-between;
24
25
  padding-bottom: 20px;
25
26
 
@@ -29,6 +30,11 @@
29
30
  gap: 10px;
30
31
  align-items: center;
31
32
  justify-content: flex-end;
33
+ margin-top: 10px;
34
+
35
+ .list-selected-wrapper {
36
+ font-size: 12px;
37
+ }
32
38
  }
33
39
  }
34
40
 
@@ -108,7 +114,8 @@
108
114
  .resource-list .list-filter-wrapper {
109
115
  .list-filter-tags {
110
116
  display: flex;
111
- justify-content: space-between;
117
+ flex-wrap: wrap;
118
+ gap: 10px;
112
119
  margin-top: 10px;
113
120
 
114
121
  .list-filter-tag {
@@ -133,18 +140,46 @@
133
140
  justify-content: space-between;
134
141
 
135
142
  .filter-list {
143
+ position: relative; /** 给 popup 一个参考 */
136
144
  display: flex;
137
- flex-wrap: wrap;
138
- gap: 10px;
139
145
 
140
146
  .filter-item {
141
147
  width: 100px;
148
+ margin-right: 10px;
149
+ }
150
+
151
+ .arco-trigger-popup {
152
+ z-index: 100000 !important;
142
153
  }
143
154
  }
144
155
 
145
156
  .arco-input-prepend {
146
157
  padding: 0;
147
158
  }
159
+
160
+ .more-btn {
161
+ position: relative; /** 给 poperjs 一个参考 */
162
+
163
+ .filter-pannel {
164
+ inset: 40px auto auto auto !important;
165
+ }
166
+ }
167
+ }
168
+
169
+ .filter-extra {
170
+ display: flex;
171
+ gap: 10px;
172
+ }
173
+
174
+ .filter-pannel {
175
+ z-index: 100000;
176
+ display: flex;
177
+ flex-direction: column;
178
+ gap: 10px;
179
+ padding: 10px;
180
+ background-color: #fff;
181
+ border-radius: 4px;
182
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
148
183
  }
149
184
  }
150
185
 
@@ -9,16 +9,16 @@ function usePopper(pannel, triggerEl) {
9
9
  };
10
10
  const show = () => {
11
11
  visible.value = true;
12
- window.onclick = (e) => {
12
+ window.onclick = () => {
13
13
  hide();
14
14
  visible.value = false;
15
15
  window.onclick = null;
16
16
  };
17
17
  };
18
- const initPopper = (placement = "bottom-start") => {
18
+ const initPopper = (placement = "bottom-start", of) => {
19
19
  if (!pannel.value || !triggerEl.value)
20
20
  return;
21
- const offset = [0, 10];
21
+ const offset = of != null ? of : [0, 10];
22
22
  if (window.__POWERED_BY_WUJIE__) {
23
23
  offset[1] = -54;
24
24
  }
package/lib/index.css CHANGED
@@ -4534,6 +4534,7 @@
4534
4534
  }
4535
4535
  .resource-list-footer {
4536
4536
  display: flex;
4537
+ flex-wrap: wrap;
4537
4538
  justify-content: space-between;
4538
4539
  padding-bottom: 20px;
4539
4540
  }
@@ -4543,6 +4544,10 @@
4543
4544
  gap: 10px;
4544
4545
  align-items: center;
4545
4546
  justify-content: flex-end;
4547
+ margin-top: 10px;
4548
+ }
4549
+ .resource-list-footer .footer-right .list-selected-wrapper {
4550
+ font-size: 12px;
4546
4551
  }
4547
4552
  .resource-list-content-loading {
4548
4553
  display: flex;
@@ -4597,7 +4602,8 @@
4597
4602
  }
4598
4603
  .resource-list .list-filter-wrapper .list-filter-tags {
4599
4604
  display: flex;
4600
- justify-content: space-between;
4605
+ flex-wrap: wrap;
4606
+ gap: 10px;
4601
4607
  margin-top: 10px;
4602
4608
  }
4603
4609
  .resource-list .list-filter-wrapper .list-filter-tags .list-filter-tag {
@@ -4618,16 +4624,41 @@
4618
4624
  justify-content: space-between;
4619
4625
  }
4620
4626
  .resource-list .list-filter-wrapper .list-filter .filter-list {
4627
+ position: relative;
4628
+ /** 给 popup 一个参考 */
4621
4629
  display: flex;
4622
- flex-wrap: wrap;
4623
- gap: 10px;
4624
4630
  }
4625
4631
  .resource-list .list-filter-wrapper .list-filter .filter-list .filter-item {
4626
4632
  width: 100px;
4633
+ margin-right: 10px;
4634
+ }
4635
+ .resource-list .list-filter-wrapper .list-filter .filter-list .arco-trigger-popup {
4636
+ z-index: 100000 !important;
4627
4637
  }
4628
4638
  .resource-list .list-filter-wrapper .list-filter .arco-input-prepend {
4629
4639
  padding: 0;
4630
4640
  }
4641
+ .resource-list .list-filter-wrapper .list-filter .more-btn {
4642
+ position: relative;
4643
+ /** 给 poperjs 一个参考 */
4644
+ }
4645
+ .resource-list .list-filter-wrapper .list-filter .more-btn .filter-pannel {
4646
+ inset: 40px auto auto auto !important;
4647
+ }
4648
+ .resource-list .list-filter-wrapper .filter-extra {
4649
+ display: flex;
4650
+ gap: 10px;
4651
+ }
4652
+ .resource-list .list-filter-wrapper .filter-pannel {
4653
+ z-index: 100000;
4654
+ display: flex;
4655
+ flex-direction: column;
4656
+ gap: 10px;
4657
+ padding: 10px;
4658
+ background-color: #fff;
4659
+ border-radius: 4px;
4660
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
4661
+ }
4631
4662
  .resource-list .title {
4632
4663
  display: flex;
4633
4664
  gap: 8px;
@@ -7,25 +7,42 @@ var useAttachement = require("../../../../hooks/useAttachement.js");
7
7
  var typeMap = require("../../../../utils/typeMap.js");
8
8
  var selectionApis = require("../../../scripts/selectionApis.js");
9
9
  var resource = require("../../../../utils/resource.js");
10
+ var useResponsiveFilter = require("../../../hooks/useResponsiveFilter.js");
10
11
  const _hoisted_1 = { class: "list-filter-wrapper" };
11
12
  const _hoisted_2 = { class: "list-filter" };
12
- const _hoisted_3 = { class: "filter-list" };
13
- const _hoisted_4 = { style: { "width": "200px" } };
13
+ const _hoisted_3 = { class: "more-btn" };
14
+ const _hoisted_4 = { class: "right-prefix" };
14
15
  const _hoisted_5 = {
15
16
  class: "filter-item",
16
- style: { "width": "170px" }
17
+ style: { "width": "200px" }
18
+ };
19
+ const _hoisted_6 = {
20
+ class: "filter-item",
21
+ style: { "width": "180px" }
17
22
  };
18
- const _hoisted_6 = { class: "filter-item" };
19
23
  const _hoisted_7 = {
24
+ class: "filter-item",
25
+ style: { "width": "170px" }
26
+ };
27
+ const _hoisted_8 = {
28
+ class: "filter-item",
29
+ style: { "width": "240px" }
30
+ };
31
+ const _hoisted_9 = {
32
+ class: "filter-item",
33
+ style: { "width": "240px" }
34
+ };
35
+ const _hoisted_10 = {
20
36
  key: 0,
21
37
  class: "filter-item"
22
38
  };
23
- const _hoisted_8 = { class: "filter-extra" };
24
- const _hoisted_9 = {
39
+ const _hoisted_11 = { class: "filter-extra" };
40
+ const _hoisted_12 = { class: "filter-item" };
41
+ const _hoisted_13 = {
25
42
  key: 0,
26
43
  class: "list-filter-tags"
27
44
  };
28
- const _hoisted_10 = ["onClick"];
45
+ const _hoisted_14 = ["onClick"];
29
46
  const _sfc_main = vue.defineComponent({
30
47
  __name: "Filter",
31
48
  props: {
@@ -39,6 +56,16 @@ const _sfc_main = vue.defineComponent({
39
56
  const baseAPI = vue.inject("baseAPI");
40
57
  const filterOptions = vue.inject("filterOptions");
41
58
  const domainId = vue.computed(() => userInfo == null ? void 0 : userInfo.value.domain_id);
59
+ const filterItemsRef = vue.ref();
60
+ const {
61
+ moreBtnRef,
62
+ popperPanelRef,
63
+ hiddenElementList,
64
+ visible,
65
+ show,
66
+ hide,
67
+ refreshLayout
68
+ } = useResponsiveFilter.useResponsiveFilter(filterItemsRef);
42
69
  const { options, loading, load, loadMore, handleSearch } = useSelection({
43
70
  labelStr: "alias",
44
71
  valueStr: "id",
@@ -117,82 +144,123 @@ const _sfc_main = vue.defineComponent({
117
144
  filter.value.keyword = val;
118
145
  filter.value.precise_keyword = "";
119
146
  }
147
+ filter.value.sf = "";
120
148
  }
121
149
  });
122
- vue.watch(
123
- () => searchType.value,
124
- () => {
125
- searchInput.value = filter.value.keyword || filter.value.precise_keyword;
126
- }
127
- );
128
150
  const isEmpty = vue.computed(() => {
129
- return Object.keys(filter.value).every((key) => {
151
+ return Object.keys(originFilter).every((key) => {
152
+ if (key === "catalog") {
153
+ const currentCatalog = filter.value[key] || [];
154
+ const originCatalog = originFilter[key] || [];
155
+ return currentCatalog.length === originCatalog.length && currentCatalog.every((v) => originCatalog.includes(v));
156
+ }
130
157
  return filter.value[key] === originFilter[key];
131
158
  });
132
159
  });
133
160
  vue.watch(
134
161
  () => filter.value,
135
- () => {
136
- const result = { ...filter.value };
162
+ (val) => {
163
+ const result = { ...val };
137
164
  Object.keys(result).forEach((key) => {
138
165
  if (props.disableUploadBy && key === "upload_by")
139
166
  delete result[key];
140
- if (!result[key])
141
- delete result[key];
167
+ if (result[key] === "" || result[key] === null || result[key] === void 0) {
168
+ if (key !== "catalog") {
169
+ delete result[key];
170
+ }
171
+ }
142
172
  });
143
- if (!result.catalog)
144
- result.catalog = "image,video,audio";
145
- else
146
- result.catalog = result.catalog.join(",");
147
- emits("change", result);
148
- },
149
- { deep: true, immediate: true }
150
- );
151
- vue.watch(
152
- () => filterOptions == null ? void 0 : filterOptions.value,
153
- () => {
154
- var _a;
155
- if ((_a = filterOptions == null ? void 0 : filterOptions.value) == null ? void 0 : _a.mediaType) {
156
- filter.value.catalog = filterOptions == null ? void 0 : filterOptions.value.mediaType.split(",");
157
- if (filterOptions == null ? void 0 : filterOptions.value.mediaTypeStrict) {
158
- originFilter.catalog = filterOptions == null ? void 0 : filterOptions.value.mediaType.split(",");
173
+ if (result.catalog && Array.isArray(result.catalog)) {
174
+ if (result.catalog.length > 0) {
175
+ result.catalog = result.catalog.join(",");
176
+ } else {
177
+ delete result.catalog;
159
178
  }
160
179
  }
180
+ emits("change", result);
181
+ refreshLayout();
161
182
  },
162
- { immediate: true, deep: true }
183
+ { deep: true, immediate: true }
163
184
  );
164
185
  vue.onMounted(() => {
186
+ var _a;
165
187
  load();
188
+ if ((_a = filterOptions == null ? void 0 : filterOptions.value) == null ? void 0 : _a.mediaType) {
189
+ const initialCatalog = filterOptions.value.mediaType.split(",");
190
+ filter.value.catalog = initialCatalog;
191
+ if (filterOptions.value.mediaTypeStrict) {
192
+ originFilter.catalog = initialCatalog;
193
+ }
194
+ }
166
195
  });
167
196
  __expose({
168
- resetFilter: handleReset
197
+ filter,
198
+ handleReset
169
199
  });
170
200
  return (_ctx, _cache) => {
171
201
  var _a;
172
202
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
203
+ vue.createCommentVNode(" Use filterItemsRef's parentElement as the container for boundary checks "),
173
204
  vue.createElementVNode("div", _hoisted_2, [
174
- vue.createElementVNode("div", _hoisted_3, [
205
+ vue.createCommentVNode(" Filter Items Container "),
206
+ vue.createElementVNode("div", {
207
+ id: "resource-filter-pannel",
208
+ ref_key: "filterItemsRef",
209
+ ref: filterItemsRef,
210
+ class: "filter-list"
211
+ }, [
212
+ vue.createCommentVNode(" More Filters Button and Popper Panel "),
213
+ vue.createElementVNode("div", _hoisted_3, [
214
+ vue.createElementVNode("div", {
215
+ ref_key: "moreBtnRef",
216
+ ref: moreBtnRef
217
+ }, [
218
+ vue.withDirectives(vue.createVNode(vue.unref(webVue.Button), {
219
+ style: { marginRight: "10px" },
220
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => vue.unref(visible) ? vue.unref(hide)() : vue.unref(show)(), ["stop"]))
221
+ }, {
222
+ default: vue.withCtx(() => [
223
+ vue.createElementVNode("span", _hoisted_4, [
224
+ _cache[10] || (_cache[10] = vue.createTextVNode(" \u66F4\u591A\u7B5B\u9009 ")),
225
+ vue.createVNode(vue.unref(icon.IconCaretDown))
226
+ ])
227
+ ]),
228
+ _: 1
229
+ }, 512), [
230
+ [vue.vShow, vue.unref(hiddenElementList).length]
231
+ ])
232
+ ], 512),
233
+ vue.withDirectives(vue.createElementVNode("div", {
234
+ ref_key: "popperPanelRef",
235
+ ref: popperPanelRef,
236
+ class: "filter-pannel",
237
+ onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
238
+ }, ["stop"]))
239
+ }, null, 512), [
240
+ [vue.vShow, vue.unref(visible)]
241
+ ])
242
+ ]),
175
243
  vue.createCommentVNode(" \u5173\u952E\u8BCD "),
176
- vue.createElementVNode("div", _hoisted_4, [
244
+ vue.createElementVNode("div", _hoisted_5, [
177
245
  vue.createVNode(vue.unref(webVue.Input), {
178
246
  modelValue: searchInput.value,
179
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => searchInput.value = $event),
247
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => searchInput.value = $event),
180
248
  "allow-clear": "",
181
249
  placeholder: "\u8BF7\u8F93\u5165\u5173\u952E\u8BCD"
182
250
  }, {
183
251
  prepend: vue.withCtx(() => [
184
252
  vue.createVNode(vue.unref(webVue.Dropdown), {
185
- onSelect: _cache[0] || (_cache[0] = (e) => searchType.value = e)
253
+ onSelect: _cache[2] || (_cache[2] = (e) => searchType.value = e)
186
254
  }, {
187
255
  content: vue.withCtx(() => [
188
256
  vue.createVNode(vue.unref(webVue.Doption), { value: 0 }, {
189
- default: vue.withCtx(() => _cache[8] || (_cache[8] = [
257
+ default: vue.withCtx(() => _cache[11] || (_cache[11] = [
190
258
  vue.createTextVNode("\u7CBE\u51C6\u641C")
191
259
  ])),
192
260
  _: 1
193
261
  }),
194
262
  vue.createVNode(vue.unref(webVue.Doption), { value: 1 }, {
195
- default: vue.withCtx(() => _cache[9] || (_cache[9] = [
263
+ default: vue.withCtx(() => _cache[12] || (_cache[12] = [
196
264
  vue.createTextVNode("\u6A21\u7CCA\u641C")
197
265
  ])),
198
266
  _: 1
@@ -213,24 +281,27 @@ const _sfc_main = vue.defineComponent({
213
281
  }, 8, ["modelValue"])
214
282
  ]),
215
283
  vue.createCommentVNode(" \u76EE\u5F55 "),
216
- vue.createVNode(vue.unref(webVue.TreeSelect), {
217
- modelValue: filter.value.directory_id,
218
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => filter.value.directory_id = $event),
219
- data: vue.unref(tree),
220
- placeholder: "\u8BF7\u9009\u62E9\u76EE\u5F55",
221
- style: { "width": "120px" },
222
- "field-names": {
223
- title: "alias",
224
- key: "id"
225
- },
226
- "allow-clear": ""
227
- }, null, 8, ["modelValue", "data"]),
284
+ vue.createElementVNode("div", _hoisted_6, [
285
+ vue.createVNode(vue.unref(webVue.TreeSelect), {
286
+ modelValue: filter.value.directory_id,
287
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => filter.value.directory_id = $event),
288
+ data: vue.unref(tree),
289
+ "popup-container": "#resource-filter-pannel",
290
+ placeholder: "\u8BF7\u9009\u62E9\u76EE\u5F55",
291
+ "field-names": {
292
+ title: "alias",
293
+ key: "id"
294
+ },
295
+ "allow-clear": ""
296
+ }, null, 8, ["modelValue", "data"])
297
+ ]),
228
298
  vue.createCommentVNode(" \u7D20\u6750\u7C7B\u578B "),
229
- vue.createElementVNode("div", _hoisted_5, [
299
+ vue.createElementVNode("div", _hoisted_7, [
230
300
  vue.createVNode(vue.unref(webVue.Select), {
231
301
  modelValue: filter.value.catalog,
232
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => filter.value.catalog = $event),
302
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => filter.value.catalog = $event),
233
303
  disabled: (_a = vue.unref(filterOptions)) == null ? void 0 : _a.mediaTypeStrict,
304
+ "popup-container": "#resource-filter-pannel",
234
305
  "allow-clear": "",
235
306
  placeholder: "\u7C7B\u578B",
236
307
  multiple: "",
@@ -249,19 +320,22 @@ const _sfc_main = vue.defineComponent({
249
320
  }, 8, ["modelValue", "disabled"])
250
321
  ]),
251
322
  vue.createCommentVNode(" \u65F6\u95F4\u8303\u56F4 "),
252
- vue.createVNode(vue.unref(webVue.RangePicker), {
253
- modelValue: rangeTime.value,
254
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => rangeTime.value = $event),
255
- "allow-clear": "",
256
- style: { "width": "240px" }
257
- }, null, 8, ["modelValue"]),
323
+ vue.createElementVNode("div", _hoisted_8, [
324
+ vue.createVNode(vue.unref(webVue.RangePicker), {
325
+ modelValue: rangeTime.value,
326
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => rangeTime.value = $event),
327
+ "allow-clear": "",
328
+ "popup-container": "#resource-filter-pannel"
329
+ }, null, 8, ["modelValue"])
330
+ ]),
258
331
  vue.createCommentVNode(" \u7D20\u6750\u4E0A\u4F20\u6765\u6E90 "),
259
- vue.createElementVNode("div", _hoisted_6, [
332
+ vue.createElementVNode("div", _hoisted_9, [
260
333
  vue.createVNode(vue.unref(webVue.Select), {
261
334
  modelValue: filter.value.source,
262
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => filter.value.source = $event),
335
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => filter.value.source = $event),
263
336
  "allow-clear": "",
264
- placeholder: "\u6765\u6E90"
337
+ placeholder: "\u6765\u6E90",
338
+ "popup-container": "#resource-filter-pannel"
265
339
  }, {
266
340
  default: vue.withCtx(() => [
267
341
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(resourceSource), (item) => {
@@ -276,14 +350,15 @@ const _sfc_main = vue.defineComponent({
276
350
  }, 8, ["modelValue"])
277
351
  ]),
278
352
  vue.createCommentVNode(" \u7D20\u6750\u4E0A\u4F20\u4EBA "),
279
- !_ctx.disableUploadBy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
353
+ !_ctx.disableUploadBy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
280
354
  vue.createVNode(vue.unref(webVue.Select), {
281
355
  modelValue: filter.value.upload_by,
282
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => filter.value.upload_by = $event),
356
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => filter.value.upload_by = $event),
283
357
  "allow-clear": "",
284
358
  placeholder: "\u4E0A\u4F20\u4EBA",
285
359
  loading: vue.unref(loading),
286
360
  "allow-search": "",
361
+ "popup-container": "#resource-filter-pannel",
287
362
  onSearch: vue.unref(handleSearch),
288
363
  onDropdownReachBottom: vue.unref(loadMore)
289
364
  }, {
@@ -298,40 +373,44 @@ const _sfc_main = vue.defineComponent({
298
373
  ]),
299
374
  _: 1
300
375
  }, 8, ["modelValue", "loading", "onSearch", "onDropdownReachBottom"])
301
- ])) : vue.createCommentVNode("v-if", true),
302
- !isEmpty.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
303
- key: 1,
304
- type: "text",
305
- onClick: handleReset
306
- }, {
307
- default: vue.withCtx(() => _cache[10] || (_cache[10] = [
308
- vue.createTextVNode(" \u91CD\u7F6E ")
309
- ])),
310
- _: 1
311
- })) : vue.createCommentVNode("v-if", true)
312
- ]),
313
- vue.createElementVNode("div", _hoisted_8, [
376
+ ])) : vue.createCommentVNode("v-if", true)
377
+ ], 512),
378
+ vue.createElementVNode("div", _hoisted_11, [
379
+ vue.createCommentVNode(" \u91CD\u7F6E\u6309\u94AE - Wrap in filter-item to be managed by the hook "),
380
+ vue.withDirectives(vue.createElementVNode("div", _hoisted_12, [
381
+ vue.createVNode(vue.unref(webVue.Button), {
382
+ type: "text",
383
+ onClick: handleReset
384
+ }, {
385
+ default: vue.withCtx(() => _cache[13] || (_cache[13] = [
386
+ vue.createTextVNode(" \u91CD\u7F6E ")
387
+ ])),
388
+ _: 1
389
+ })
390
+ ], 512), [
391
+ [vue.vShow, !isEmpty.value]
392
+ ]),
314
393
  vue.createVNode(vue.unref(webVue.Button), {
315
394
  type: "primary",
316
- onClick: _cache[7] || (_cache[7] = ($event) => emits("upload"))
395
+ onClick: _cache[9] || (_cache[9] = ($event) => emits("upload"))
317
396
  }, {
318
397
  icon: vue.withCtx(() => [
319
398
  vue.createVNode(vue.unref(icon.IconUpload))
320
399
  ]),
321
400
  default: vue.withCtx(() => [
322
- _cache[11] || (_cache[11] = vue.createTextVNode(" \u4E0A\u4F20 "))
401
+ _cache[14] || (_cache[14] = vue.createTextVNode(" \u4E0A\u4F20 "))
323
402
  ]),
324
403
  _: 1
325
404
  })
326
405
  ])
327
406
  ]),
328
- searchInput.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
407
+ searchInput.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
329
408
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(resource.keywordsSelection), (item) => {
330
409
  return vue.openBlock(), vue.createElementBlock("div", {
331
410
  key: item.value,
332
411
  class: vue.normalizeClass(["list-filter-tag", { active: filter.value.sf === item.value }]),
333
412
  onClick: ($event) => filter.value.sf = item.value
334
- }, vue.toDisplayString(item.name), 11, _hoisted_10);
413
+ }, vue.toDisplayString(item.name), 11, _hoisted_14);
335
414
  }), 128))
336
415
  ])) : vue.createCommentVNode("v-if", true)
337
416
  ]);