@dataloop-ai/components 0.20.170 → 0.20.172

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.20.170",
3
+ "version": "0.20.172",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -23,7 +23,7 @@
23
23
  "check-only": "if grep -E -H -r --exclude-dir=.git --exclude-dir=node_modules --exclude=*.json --exclude=*.yml '^(describe|it).only' .; then echo 'Found only in test files' && exit 1; fi"
24
24
  },
25
25
  "dependencies": {
26
- "@dataloop-ai/icons": "^3.1.33",
26
+ "@dataloop-ai/icons": "^3.1.37",
27
27
  "@types/flat": "^5.0.2",
28
28
  "@types/lodash": "^4.14.184",
29
29
  "@types/sortablejs": "^1.15.7",
@@ -79,6 +79,7 @@ export default defineComponent({
79
79
  width: { type: [Number, String], default: 400 },
80
80
  height: { type: [Number, String], default: 'fit-content' },
81
81
  hideHeader: { type: Boolean, default: false },
82
+ hideFooter: { type: Boolean, default: false },
82
83
  fullscreen: Boolean,
83
84
  fullHeight: Boolean,
84
85
  separators: { type: Boolean, default: true },
@@ -180,7 +181,7 @@ export default defineComponent({
180
181
  return !!this.$slots.header && !this.hideHeader
181
182
  },
182
183
  hasFooter(): boolean {
183
- return !!this.$slots.footer
184
+ return !!this.$slots.footer && !this.hideFooter
184
185
  }
185
186
  },
186
187
  watch: {
@@ -101,7 +101,9 @@
101
101
  v-if="multiselect && (!searchable || !isExpanded)"
102
102
  class="root-container--placeholder"
103
103
  >
104
- <template v-if="allFiltersModel">
104
+ <template
105
+ v-if="allFiltersModel || isAllOptionsSelected"
106
+ >
105
107
  <dl-ellipsis :text="computedAllItemsLabel" />
106
108
  </template>
107
109
  <template v-else>
@@ -426,6 +428,7 @@ export default defineComponent({
426
428
  alignRight: { type: Boolean, default: false },
427
429
  allItemsOption: { type: Boolean, default: false },
428
430
  allItemsOptionLabel: { type: String, default: null },
431
+ isAllOptionsSelected: { type: Boolean, default: false },
429
432
  placeholder: { type: String, default: null },
430
433
  removableSelection: { type: Boolean, default: false },
431
434
  width: { type: String, default: '100%' },