@fluid-topics/ft-filter 0.2.14 → 0.2.17
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/build/ft-filter-level.d.ts +1 -0
- package/build/ft-filter-level.js +18 -0
- package/build/ft-filter.d.ts +2 -0
- package/build/ft-filter.inline-styles.js +241 -221
- package/build/ft-filter.js +9 -2
- package/build/ft-filter.light.js +89 -68
- package/build/ft-filter.min.js +239 -219
- package/package.json +10 -10
package/build/ft-filter.js
CHANGED
|
@@ -34,6 +34,7 @@ export class FtFilter extends FtLitElement {
|
|
|
34
34
|
this.filterPlaceHolder = "Filter {0}";
|
|
35
35
|
this.clearButtonLabel = "Clear";
|
|
36
36
|
this.moreValuesButtonLabel = "More";
|
|
37
|
+
this.noValuesLabel = "No values available";
|
|
37
38
|
this.options = [];
|
|
38
39
|
this.multivalued = false;
|
|
39
40
|
this.disabled = false;
|
|
@@ -134,7 +135,8 @@ export class FtFilter extends FtLitElement {
|
|
|
134
135
|
preventNavigation
|
|
135
136
|
.options=${selectedOptions}
|
|
136
137
|
@change=${this.onChange}
|
|
137
|
-
part="selected-values"
|
|
138
|
+
part="values selected-values"
|
|
139
|
+
.exportpartsPrefixes=${["values", "selected-values"]}
|
|
138
140
|
></ft-filter-level>
|
|
139
141
|
<div class="ft-filter--separator">
|
|
140
142
|
` : null}
|
|
@@ -177,7 +179,9 @@ export class FtFilter extends FtLitElement {
|
|
|
177
179
|
@change=${this.onChange}
|
|
178
180
|
@go-back=${this.goBack}
|
|
179
181
|
@display-level=${this.onDisplayLevel}
|
|
180
|
-
part="values"
|
|
182
|
+
part="values available-values"
|
|
183
|
+
.exportpartsPrefixes=${["values", "available-values"]}
|
|
184
|
+
noValuesLabel="${this.noValuesLabel}"
|
|
181
185
|
></ft-filter-level>
|
|
182
186
|
`;
|
|
183
187
|
}
|
|
@@ -372,6 +376,9 @@ __decorate([
|
|
|
372
376
|
__decorate([
|
|
373
377
|
property({ type: String })
|
|
374
378
|
], FtFilter.prototype, "moreValuesButtonLabel", void 0);
|
|
379
|
+
__decorate([
|
|
380
|
+
property({ type: String })
|
|
381
|
+
], FtFilter.prototype, "noValuesLabel", void 0);
|
|
375
382
|
__decorate([
|
|
376
383
|
jsonProperty([])
|
|
377
384
|
], FtFilter.prototype, "options", void 0);
|