@yoobic/yobi 8.5.0-64 → 8.5.0-65
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/cjs/design-system.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/yoo-entity-query-builder.cjs.entry.js +5 -10
- package/dist/cjs/yoo-form-autocomplete-dialog.cjs.entry.js +1 -0
- package/dist/cjs/yoo-form-autocomplete.cjs.entry.js +7 -7
- package/dist/cjs/yoo-grid.cjs.entry.js +12 -29
- package/dist/collection/components/entities/entity-query-builder/entity-query-builder.js +5 -10
- package/dist/collection/components/form/form-autocomplete/form-autocomplete.js +9 -9
- package/dist/collection/components/form/form-autocomplete-dialog/form-autocomplete-dialog.js +11 -5
- package/dist/collection/components/grid/grid/grid.js +22 -34
- package/dist/collection/interfaces/ui/index.js +0 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/yoo-entity-query-builder.entry.js +5 -10
- package/dist/design-system/yoo-form-autocomplete-dialog.entry.js +1 -0
- package/dist/design-system/yoo-form-autocomplete.entry.js +8 -8
- package/dist/design-system/yoo-grid.entry.js +13 -30
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/yoo-entity-query-builder.entry.js +5 -10
- package/dist/esm/yoo-form-autocomplete-dialog.entry.js +1 -0
- package/dist/esm/yoo-form-autocomplete.entry.js +8 -8
- package/dist/esm/yoo-grid.entry.js +13 -30
- package/dist/types/components/form/form-autocomplete/form-autocomplete.d.ts +1 -1
- package/dist/types/components/form/form-autocomplete-dialog/form-autocomplete-dialog.d.ts +1 -1
- package/dist/types/components/grid/grid/grid.d.ts +2 -3
- package/dist/types/components.d.ts +4 -4
- package/dist/types/interfaces/ui/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/collection/interfaces/ui/form-filter.interface.js +0 -1
- package/dist/types/interfaces/ui/form-filter.interface.d.ts +0 -5
@@ -101,14 +101,8 @@ const YooEntityQueryBuilderComponent = class {
|
|
101
101
|
return ((_b = (_a = this.values) === null || _a === void 0 ? void 0 : _a.filters) === null || _b === void 0 ? void 0 : _b.length) > 0 || ((_d = (_c = this.values) === null || _c === void 0 ? void 0 : _c.advancedFilters) === null || _d === void 0 ? void 0 : _d.length) > 0;
|
102
102
|
}
|
103
103
|
getActiveFiltersCount() {
|
104
|
-
|
105
|
-
|
106
|
-
return sum(this.values.advancedFilters.map((f) => (f === null || f === void 0 ? void 0 : f.length) || 0));
|
107
|
-
}
|
108
|
-
else if (((_d = (_c = this.values) === null || _c === void 0 ? void 0 : _c.filters) === null || _d === void 0 ? void 0 : _d.length) > 0) {
|
109
|
-
return this.values.filters.length;
|
110
|
-
}
|
111
|
-
return 0;
|
104
|
+
const { advancedFilters, filters } = this.values || {};
|
105
|
+
return ((advancedFilters === null || advancedFilters === void 0 ? void 0 : advancedFilters.length) ? sum(advancedFilters.map((filter) => (filter === null || filter === void 0 ? void 0 : filter.length) || 0)) : filters === null || filters === void 0 ? void 0 : filters.length) || 0;
|
112
106
|
}
|
113
107
|
isFilterField(f) {
|
114
108
|
return filterIsRadio(f) || filterIsAutocomplete(f) || filterIsSegement(f) || filterIsAutocompleteLocal(f) || filterIsBoolean(f) || filterIsDate(f) || filterIsText(f) || filterIsNumber(f);
|
@@ -183,6 +177,7 @@ const YooEntityQueryBuilderComponent = class {
|
|
183
177
|
if (values.length > 0 || (values && field.type === FormFieldType.missionfield)) {
|
184
178
|
this.values.filters.push(filterFromFormField(field, values, this.filterAutocompleteOperator));
|
185
179
|
}
|
180
|
+
this.values = cloneDeep(this.values);
|
186
181
|
this.onEmitValues();
|
187
182
|
}
|
188
183
|
onAutocompleteChangeAdvanced(ev, index) {
|
@@ -318,7 +313,7 @@ const YooEntityQueryBuilderComponent = class {
|
|
318
313
|
}
|
319
314
|
renderFiltersHeader() {
|
320
315
|
const count = this.getActiveFiltersCount();
|
321
|
-
return h("div", { class: "filters-header" }, h("div", { class: "counter" }, translate('YOOBICFILTERSAPPLIED', { smart_count: count })), h("div", { class: "clear-all" },
|
316
|
+
return h("div", { class: "filters-header" }, h("div", { class: "counter" }, translate('YOOBICFILTERSAPPLIED', { smart_count: count })), h("div", { class: "clear-all" }, h("yoo-button", { size: this.size, color: "app-color", disabled: !count, fill: "transparent", onClick: () => this.onClear() }, translate('CLEARALL'))));
|
322
317
|
}
|
323
318
|
renderFilters() {
|
324
319
|
var _a, _b;
|
@@ -402,7 +397,7 @@ const YooEntityQueryBuilderComponent = class {
|
|
402
397
|
const count = this.getActiveFiltersCount();
|
403
398
|
return [
|
404
399
|
(customViewsButtons === null || customViewsButtons === void 0 ? void 0 : customViewsButtons.length) > 0 && (h("yoo-context-menu", { contentButtons: customViewsButtons, placement: "right", class: "customview-menu width-unset" }, h("div", { class: "header width-auto" }, h("div", { class: { title: true, 'app-color': !!this.customView } }, translate('SAVEDFILTERS')), h("yoo-icon", { name: "right-web", color: "stable", size: "medium" })))),
|
405
|
-
h("div", { class: "header" }, h("div", { class: "title" }, translate('FILTERS', { count })), h("yoo-button", { size: this.size, color:
|
400
|
+
h("div", { class: "header" }, h("div", { class: "title" }, translate('FILTERS', { count })), h("yoo-button", { size: this.size, color: "app-color", fill: "transparent", disabled: !count, onClick: () => this.onClear() }, translate('CLEARALL')))
|
406
401
|
];
|
407
402
|
}
|
408
403
|
renderDialogFooter() {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { r as registerInstance, i as createEvent, h, e as Host, g as getElement } from './index-a6a92b3d.js';
|
2
|
-
import { c as FormFieldType } from './index-604330b3.js';
|
2
|
+
import { a3 as FormFilterAutocompleteOperator, c as FormFieldType } from './index-604330b3.js';
|
3
3
|
import './index-8ba1a121.js';
|
4
4
|
import { i as isArray, n as compact, l as uniq, p as isString, a as isNumber } from './lodash-777f91de.js';
|
5
5
|
import { i as showImageCropper, h as execHandlerAndStopEvent, g as getAppContext } from './common-helpers-3b193836.js';
|
@@ -221,6 +221,7 @@ const YooFormAutocompleteComponent = class {
|
|
221
221
|
}
|
222
222
|
componentWillLoad() {
|
223
223
|
var _a, _b;
|
224
|
+
this.isFilter && !this.filterOperator && this.selectFilterOperator(FormFilterAutocompleteOperator.is);
|
224
225
|
this.updateSelection(true);
|
225
226
|
if (this.showDropdownOnLoad) {
|
226
227
|
this.showDropdownContent = this.showDropdownOnLoad;
|
@@ -646,7 +647,7 @@ const YooFormAutocompleteComponent = class {
|
|
646
647
|
});
|
647
648
|
this.dialog.addEventListener('filterRadioToggled', (ev) => {
|
648
649
|
ev.stopPropagation();
|
649
|
-
this.
|
650
|
+
this.selectFilterOperator(ev.detail);
|
650
651
|
});
|
651
652
|
let modalOptions = { half: !isWeb(this.host) };
|
652
653
|
if (isExpanding) {
|
@@ -700,7 +701,8 @@ const YooFormAutocompleteComponent = class {
|
|
700
701
|
this.currentSelectedTags = ev.detail;
|
701
702
|
await this.fetch();
|
702
703
|
}
|
703
|
-
|
704
|
+
selectFilterOperator(operator) {
|
705
|
+
this.filterOperator = operator;
|
704
706
|
this.extraDataChanged.emit(operator);
|
705
707
|
}
|
706
708
|
async onFileChanges(ev) {
|
@@ -909,7 +911,6 @@ const YooFormAutocompleteComponent = class {
|
|
909
911
|
var _a, _b, _c, _d, _e, _f, _g;
|
910
912
|
const isPopulatedQuery = isArray(this.value) ? ((_a = this.value.find((v) => v === null || v === void 0 ? void 0 : v.total)) === null || _a === void 0 ? void 0 : _a.total) > 0 : ((_b = this.value) === null || _b === void 0 ? void 0 : _b.total) > 0;
|
911
913
|
const valueTotal = isArray(this.value) ? (_c = this.value.find((v) => v === null || v === void 0 ? void 0 : v.total)) === null || _c === void 0 ? void 0 : _c.total : (_d = this.value) === null || _d === void 0 ? void 0 : _d.total;
|
912
|
-
const selectedOperator = this.filterOperator || 'in';
|
913
914
|
if (this.idOnly && ((_e = this.value) === null || _e === void 0 ? void 0 : _e.length) > 0 && isString(this.value[0]) && !this.idOnlyInitialSelection) {
|
914
915
|
this.forceSelectedContentIdOnlyReload = true;
|
915
916
|
}
|
@@ -921,7 +922,7 @@ const YooFormAutocompleteComponent = class {
|
|
921
922
|
if (this.entityType === 'groups' && !this.returnQuery) {
|
922
923
|
groupSelection = (_f = this.selection) === null || _f === void 0 ? void 0 : _f.filter((value) => { var _a, _b; return (value === null || value === void 0 ? void 0 : value.title) ? !((_a = value === null || value === void 0 ? void 0 : value.title) === null || _a === void 0 ? void 0 : _a.match(MONGODB_ID_REGEX)) : (value === null || value === void 0 ? void 0 : value._id) && !(value === null || value === void 0 ? void 0 : value.title) ? !((_b = value === null || value === void 0 ? void 0 : value._id) === null || _b === void 0 ? void 0 : _b.match(MONGODB_ID_REGEX)) : !(value === null || value === void 0 ? void 0 : value.match(MONGODB_ID_REGEX)); });
|
923
924
|
}
|
924
|
-
return (h("div", { class: { 'entity-content': true, selected: true, 'icon-prefix': hasIconPrefix } }, `${this.isFilter ?
|
925
|
+
return (h("div", { class: { 'entity-content': true, selected: true, 'icon-prefix': hasIconPrefix } }, `${this.isFilter ? this.filterOperator : ''} ${this.entityType !== 'groups' ? (_g = this.selection) === null || _g === void 0 ? void 0 : _g.length : groupSelection === null || groupSelection === void 0 ? void 0 : groupSelection.length} ${translate(this.setPrefixedEntityType(entityType).toUpperCase())} ${translate(this.multipleSelectionSuffix)}`));
|
925
926
|
}
|
926
927
|
renderUnselectedEntites(entityType, hasIconPrefix) {
|
927
928
|
const filesPlaceholder = isWeb(this.host) ? translate('FORMFIELDDEFINITIONDOCUMENTPLACEHOLDER') : translate('SELECTFILES');
|
@@ -939,7 +940,6 @@ const YooFormAutocompleteComponent = class {
|
|
939
940
|
}
|
940
941
|
renderEntities(hasIconPrefix, cardTagSingle = false) {
|
941
942
|
var _a;
|
942
|
-
const selectedOperator = this.filterOperator || 'in';
|
943
943
|
return (h("div", { class: { 'entity-container': true, empty: !this.selection || this.selection.length <= 0, prefix: hasIconPrefix } }, (_a = this.selection) === null || _a === void 0 ? void 0 : _a.map((selection, i) => {
|
944
944
|
var _a, _b;
|
945
945
|
let entitySelection = selection;
|
@@ -961,7 +961,7 @@ const YooFormAutocompleteComponent = class {
|
|
961
961
|
}
|
962
962
|
const title = (entitySelection === null || entitySelection === void 0 ? void 0 : entitySelection.title) || entitySelection;
|
963
963
|
return (entitySelection && [
|
964
|
-
h("div", { class: { 'single-entity-container': this.isFilter } }, h("div", { class: "operator-container" }, `${this.isFilter ?
|
964
|
+
h("div", { class: { 'single-entity-container': this.isFilter } }, h("div", { class: "operator-container" }, `${this.isFilter ? this.filterOperator : ''}`), h("yoo-entity", { class: {
|
965
965
|
'autocomplete autocomplete-selected': true,
|
966
966
|
last: i === this.selection.length - 1,
|
967
967
|
bold: this.color === 'transparent',
|
@@ -1006,7 +1006,7 @@ const YooFormAutocompleteComponent = class {
|
|
1006
1006
|
await this.fetch(ev.detail);
|
1007
1007
|
}, onFieldFetchData: (ev) => this.onFetchFieldFilterData(ev), onSortsAndFiltersChange: (ev) => this.onSortsAndFiltersChange(ev), onCurrentPageChanged: (ev) => this.onCurrentPageChange(ev === null || ev === void 0 ? void 0 : ev.detail), hideHeader: isNullOrUndefined(this.hideHeader) ? false : this.hideHeader, showSearch: !this.forceHideSearch && (this.initialValueLength > minValuesForSearch || this.allowCustomTag || this.allowCustomValue || this.entityType === 'googlemaps'), isLocal: this.isLocal, onGridExpanded: () => this.onExpandGrid(), useTranslate: this.useTranslate, initialSelection: this.returnQuery ? null : [].concat(isPresent(this.value) ? this.value : []), idOnly: this.idOnly || this.allowCustomTag, idAttributeName: this.idAttributeName || '_id', emptyState: this.emptyState, allowCustomTag: (this.allowCustomTag || this.tag || this.allowCustomValue) && !this.forceDisableCustomTags, searchBarPlaceholder: (this.allowCustomTag || this.allowCustomValue) && !this.forceDisableCustomTags
|
1008
1008
|
? translate(this.isLocal ? 'AUTOCOMPLETESEARCHADD' : 'SEARCHORADD')
|
1009
|
-
: translate('SEARCH'), tags: this.tags, forceHideSearch: this.forceHideSearch, maxSelectionNumber: this.max, customModel: this.customModel, addNewTagText: this.entityType === 'emails' ? translate('ADDNEWEMAIL') : this.searchText, model: this.model, hideAdvancedFilters: !this.model, hideRefreshButton: true, showFilters: false, onTagsSelect: (ev) => this.onTagsSelect(ev), isCollapsible: false, onAddNewTagPressed: (ev) => this.onCustomTagCreated(ev), disableSingleDeselection: this.disableSingleDeselection, idOnlyInitialSelection: this.idOnlyInitialSelection, isLoading: this.isLoading, valuesColor: this.valuesColor, total: this.total, returnQuery: this.returnQuery, showSelectAll: this.returnQuery, initialQuery: this.returnQuery ? this.value : null, sortsAndFilters: this.returnQuery ? (_c = this.value) === null || _c === void 0 ? void 0 : _c.sortsAndFilters : null, onFileUpload: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.click(); }, isUploading: this.isUploading, showFormRadio: this.isFilter, selectedFilterOperator: this.filterOperator, onFormRadioToggled: (ev) => this.
|
1009
|
+
: translate('SEARCH'), tags: this.tags, forceHideSearch: this.forceHideSearch, maxSelectionNumber: this.max, customModel: this.customModel, addNewTagText: this.entityType === 'emails' ? translate('ADDNEWEMAIL') : this.searchText, model: this.model, hideAdvancedFilters: !this.model, hideRefreshButton: true, showFilters: false, onTagsSelect: (ev) => this.onTagsSelect(ev), isCollapsible: false, onAddNewTagPressed: (ev) => this.onCustomTagCreated(ev), disableSingleDeselection: this.disableSingleDeselection, idOnlyInitialSelection: this.idOnlyInitialSelection, isLoading: this.isLoading, valuesColor: this.valuesColor, total: this.total, returnQuery: this.returnQuery, showSelectAll: this.returnQuery, initialQuery: this.returnQuery ? this.value : null, sortsAndFilters: this.returnQuery ? (_c = this.value) === null || _c === void 0 ? void 0 : _c.sortsAndFilters : null, onFileUpload: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.click(); }, isUploading: this.isUploading, showFormRadio: this.isFilter, selectedFilterOperator: this.filterOperator, onFormRadioToggled: (ev) => this.selectFilterOperator(ev.detail), onMaxPageCountChanged: (ev) => (this.maxPage = Math.max(ev.detail, this.maxPage)), onSearchedItemSelected: (ev) => this.updateSearchedItemSelection(ev), onValidityChanged: (ev) => this.onValidityChanged(ev), infiniteScrollDisabled: this.infiniteScrollDisabled }))))))));
|
1010
1010
|
}
|
1011
1011
|
renderReadonly() {
|
1012
1012
|
if (this.selection && this.selection.length > 0) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { r as registerInstance, i as createEvent, f as forceUpdate, h, e as Host, g as getElement } from './index-a6a92b3d.js';
|
2
|
-
import {
|
2
|
+
import { c as FormFieldType, a3 as FormFilterAutocompleteOperator, a4 as EMPTYSTATE_TITLE_MAP, a5 as EMPTYSTATE_TEXT_MAP, a6 as CALENDAR_VIEW_IDS } from './index-604330b3.js';
|
3
3
|
import './index-8ba1a121.js';
|
4
4
|
import { $ as debounce, A as isEqual, h as map, B as sortBy, i as isArray, y as isEmpty, n as compact, C as get, p as isString, a as isNumber, G as isBoolean, S as findIndex, aa as sum, a7 as range, v as isObject, b as isFunction } from './lodash-777f91de.js';
|
5
5
|
import { S as Sortable } from './sortable.esm-f788d1ca.js';
|
@@ -168,16 +168,6 @@ const YooGridComponent = class {
|
|
168
168
|
}, 500);
|
169
169
|
this.itemsHaveBeenReordered = false;
|
170
170
|
this.filtersUpdated = false;
|
171
|
-
this.filterOptions = [
|
172
|
-
{
|
173
|
-
type: FormFilterAutocompleteOperator.is,
|
174
|
-
active: true
|
175
|
-
},
|
176
|
-
{
|
177
|
-
type: FormFilterAutocompleteOperator.isNot,
|
178
|
-
active: false
|
179
|
-
}
|
180
|
-
];
|
181
171
|
this.renderVirtualItem = (item, index) => {
|
182
172
|
if (this.hasSecondaryActions || (this.keepSelection && isWeb(this.host))) {
|
183
173
|
if (this.showActionsAsMore) {
|
@@ -588,6 +578,7 @@ const YooGridComponent = class {
|
|
588
578
|
if (this.isFormField) {
|
589
579
|
setValidator(this);
|
590
580
|
}
|
581
|
+
this.showFormRadio && !this.selectedFilterOperator && this.selectFilterOperator(FormFilterAutocompleteOperator.is);
|
591
582
|
this.isSelectionMode = this.multiple && !this.blockSelectionMode;
|
592
583
|
this.areItemsDisabled = (_a = this.extraClass) === null || _a === void 0 ? void 0 : _a.includes('item-disabled');
|
593
584
|
this.searchText = this.search || '';
|
@@ -1473,18 +1464,6 @@ const YooGridComponent = class {
|
|
1473
1464
|
}
|
1474
1465
|
return false;
|
1475
1466
|
}
|
1476
|
-
onToggleFormRadio(ev) {
|
1477
|
-
var _a;
|
1478
|
-
const selectedOption = (_a = this.filterOptions) === null || _a === void 0 ? void 0 : _a.find((option) => (option === null || option === void 0 ? void 0 : option.type) === (ev === null || ev === void 0 ? void 0 : ev.detail));
|
1479
|
-
if (selectedOption) {
|
1480
|
-
selectedOption.active = true;
|
1481
|
-
}
|
1482
|
-
if (!selectedOption) {
|
1483
|
-
this.formRadioToggled.emit(null);
|
1484
|
-
return;
|
1485
|
-
}
|
1486
|
-
this.formRadioToggled.emit(selectedOption.type);
|
1487
|
-
}
|
1488
1467
|
updateSelectAll(selectAll) {
|
1489
1468
|
this.isSelectAll = selectAll;
|
1490
1469
|
if (!this.isSelectAll && this.isAgGrid() && this.gridApi) {
|
@@ -1971,12 +1950,16 @@ const YooGridComponent = class {
|
|
1971
1950
|
}
|
1972
1951
|
return 0;
|
1973
1952
|
}
|
1953
|
+
selectFilterOperator(operator) {
|
1954
|
+
this.selectedFilterOperator = operator;
|
1955
|
+
this.formRadioToggled.emit(operator);
|
1956
|
+
}
|
1974
1957
|
renderDropdownFormRadio() {
|
1975
|
-
|
1976
|
-
|
1977
|
-
|
1978
|
-
|
1979
|
-
|
1958
|
+
const operators = [FormFilterAutocompleteOperator.is, FormFilterAutocompleteOperator.isNot];
|
1959
|
+
return (h("div", { class: "form-radio-container" }, h("yoo-form-radio", { options: operators, flow: "column", size: "medium", value: this.selectedFilterOperator, onInputChanged: (event) => {
|
1960
|
+
event.stopPropagation();
|
1961
|
+
this.selectFilterOperator(event.detail);
|
1962
|
+
} }, operators.map((operator, index) => h("span", { slot: index.toString() }, operator)))));
|
1980
1963
|
}
|
1981
1964
|
renderSearchInput() {
|
1982
1965
|
var _a, _b, _c;
|
@@ -3141,14 +3124,14 @@ const YooGridComponent = class {
|
|
3141
3124
|
return (this.mainProgressValue >= 0 && (h("div", { class: "grid-progress" }, h("yoo-progress-bar", { animated: this.animated, metric: "percentage", percentValueColorScheme: false, value: this.total > 0 ? (this.mainProgressValue * 100) / this.total : 0 }))));
|
3142
3125
|
}
|
3143
3126
|
renderBase() {
|
3144
|
-
var _a, _b, _c, _d, _e;
|
3127
|
+
var _a, _b, _c, _d, _e, _f;
|
3145
3128
|
const renderEntityTags = (!isWeb(this.host) || (this.gridIsExpanded && (((_a = this.tags) === null || _a === void 0 ? void 0 : _a.length) > 0 || ((_c = (_b = this.model) === null || _b === void 0 ? void 0 : _b.fields) === null || _c === void 0 ? void 0 : _c.length) > 0))) &&
|
3146
3129
|
this.isTagsVisible() &&
|
3147
3130
|
((this.items && this.items.length > 0) || this.hasSortsAndFilters() || this.alwaysRenderTagsAndFilters() || this.isAgGrid()) &&
|
3148
3131
|
!this.host.classList.contains('learning-manager') && !this.host.classList.contains('course-info');
|
3149
3132
|
return [
|
3150
3133
|
this.showProgress && this.progressHandler && this.renderProgress(),
|
3151
|
-
h("div", { ref: (el) => (this.containerBase = el), class: this.getClassList() }, this.showAutocompleteHeader ? (h("div", { class: { 'dropdown-header': true, 'no-tags': !renderEntityTags || ((_d = this.tags) === null || _d === void 0 ? void 0 : _d.length) === 0, 'form-radio-operators': this.showFormRadio } }, this.showFormRadio && this.renderDropdownFormRadio(), this.renderHeader(renderEntityTags), this.renderDynamicOrderingHeader(), this.renderFilesIcons())) : ([this.renderHeader(renderEntityTags), this.renderFilesIcons()]), this.isKanban() && h("slot", { name: "header" }), (((
|
3134
|
+
h("div", { ref: (el) => (this.containerBase = el), class: this.getClassList() }, this.showAutocompleteHeader ? (h("div", { class: { 'dropdown-header': true, 'no-tags': !renderEntityTags || ((_d = this.tags) === null || _d === void 0 ? void 0 : _d.length) === 0, 'form-radio-operators': this.showFormRadio } }, this.showFormRadio && isWeb(this.host) && !!((_e = this.items) === null || _e === void 0 ? void 0 : _e.length) && this.renderDropdownFormRadio(), this.renderHeader(renderEntityTags), this.renderDynamicOrderingHeader(), this.renderFilesIcons())) : ([this.renderHeader(renderEntityTags), this.renderFilesIcons()]), this.isKanban() && h("slot", { name: "header" }), (((_f = this.columns) === null || _f === void 0 ? void 0 : _f.length) || this.mainColumnHeader) && !this.isAgGrid() && !this.isCalendar() && isWeb(this.host) && !this.isMap() ? (h("div", { class: "horizontal-scroll-parent" }, h("div", { class: "horizontal-scroll", ref: (el) => (this.horizontalScroll = el) }, h("div", { class: { 'horizontal-content': true, 'with-header': this.hasColumnsHeader() } }, this.renderColumnsHeader(), this.renderBaseContent())))) : (this.renderBaseContent())),
|
3152
3135
|
isWeb(this.host) && this.showGlobalActions && this.isSelectionMode && this.renderGlobalActions()
|
3153
3136
|
];
|
3154
3137
|
}
|