@genexus/genexus-ide-ui 1.1.24 → 1.1.25

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.
Files changed (31) hide show
  1. package/dist/cjs/genexus-ide-ui.cjs.js +1 -1
  2. package/dist/cjs/gx-ide-ww-files.cjs.entry.js +235 -211
  3. package/dist/cjs/gx-ide-ww-files.cjs.entry.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/components/ww-files/gx-ide-assets/ww-files/langs/ww-files.lang.en.json +10 -1
  6. package/dist/collection/components/ww-files/gx-ide-assets/ww-files/langs/ww-files.lang.ja.json +9 -0
  7. package/dist/collection/components/ww-files/gx-ide-assets/ww-files/langs/ww-files.lang.zh.json +9 -0
  8. package/dist/collection/components/ww-files/helpers.js +12 -0
  9. package/dist/collection/components/ww-files/helpers.js.map +1 -1
  10. package/dist/collection/components/ww-files/ww-files.css +49 -63
  11. package/dist/collection/components/ww-files/ww-files.js +270 -421
  12. package/dist/collection/components/ww-files/ww-files.js.map +1 -1
  13. package/dist/components/gx-ide-ww-files.js +258 -233
  14. package/dist/components/gx-ide-ww-files.js.map +1 -1
  15. package/dist/esm/genexus-ide-ui.js +1 -1
  16. package/dist/esm/gx-ide-ww-files.entry.js +236 -212
  17. package/dist/esm/gx-ide-ww-files.entry.js.map +1 -1
  18. package/dist/esm/loader.js +1 -1
  19. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js +1 -1
  20. package/dist/genexus-ide-ui/genexus-ide-ui.esm.js.map +1 -1
  21. package/dist/genexus-ide-ui/gx-ide-assets/ww-files/langs/ww-files.lang.en.json +10 -1
  22. package/dist/genexus-ide-ui/gx-ide-assets/ww-files/langs/ww-files.lang.ja.json +9 -0
  23. package/dist/genexus-ide-ui/gx-ide-assets/ww-files/langs/ww-files.lang.zh.json +9 -0
  24. package/dist/genexus-ide-ui/p-163bfc6a.entry.js +611 -0
  25. package/dist/genexus-ide-ui/p-163bfc6a.entry.js.map +1 -0
  26. package/dist/types/components/ww-files/helpers.d.ts +1 -0
  27. package/dist/types/components/ww-files/ww-files.d.ts +36 -76
  28. package/dist/types/components.d.ts +10 -89
  29. package/package.json +1 -1
  30. package/dist/genexus-ide-ui/p-385c9544.entry.js +0 -564
  31. package/dist/genexus-ide-ui/p-385c9544.entry.js.map +0 -1
@@ -1,10 +1,3 @@
1
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
- if (kind === "a" && !f)
3
- throw new TypeError("Private accessor was defined without a getter");
4
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
5
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
6
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
7
- };
8
1
  var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
9
2
  if (kind === "m")
10
3
  throw new TypeError("Private method is not writable");
@@ -14,11 +7,20 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
14
7
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
15
8
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
16
9
  };
17
- var _GxIdeWWFiles_componentLocale, _GxIdeWWFiles_ACCORDION_FILTER_ID, _GxIdeWWFiles_ACCORDION_MODEL, _GxIdeWWFiles_chGridEl, _GxIdeWWFiles_filterAfterTypeEl, _GxIdeWWFiles_filterAllDescendantsEl, _GxIdeWWFiles_filterCategoryEl, _GxIdeWWFiles_filterModifiedDateEl, _GxIdeWWFiles_filterModuleEl, _GxIdeWWFiles_filterModifiedEl, _GxIdeWWFiles_filterNameEl, _GxIdeWWFiles_filterSearchContentsEl, _GxIdeWWFiles_filterUserEl, _GxIdeWWFiles_renderHeader, _GxIdeWWFiles_renderObjects, _GxIdeWWFiles_hiChar, _GxIdeWWFiles_formatDate, _GxIdeWWFiles_getObjects, _GxIdeWWFiles_filterFiles, _GxIdeWWFiles_handleFilterInput, _GxIdeWWFiles_handleSearchContentsInput, _GxIdeWWFiles_deleteSelectionCallbackHandle, _GxIdeWWFiles_deselectAll, _GxIdeWWFiles_expandedHandler, _GxIdeWWFiles_filterModifiedCallbackHandle, _GxIdeWWFiles_filterAfterTypeCallbackHandle, _GxIdeWWFiles_listenChanges, _GxIdeWWFiles_newFileCallbackHandle, _GxIdeWWFiles_openSelectionCallbackHandle, _GxIdeWWFiles_selectAll;
10
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
11
+ if (kind === "a" && !f)
12
+ throw new TypeError("Private accessor was defined without a getter");
13
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
14
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
15
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
16
+ };
17
+ var _GxIdeWWFiles_componentLocale, _GxIdeWWFiles_ACCORDION_MODEL, _GxIdeWWFiles_nameValue, _GxIdeWWFiles_moduleValue, _GxIdeWWFiles_searchContentsValue, _GxIdeWWFiles_categoryValue, _GxIdeWWFiles_allDescendants, _GxIdeWWFiles_userValue, _GxIdeWWFiles_selectedObjectsIds, _GxIdeWWFiles_chGridEl, _GxIdeWWFiles_filterModuleEl, _GxIdeWWFiles_setFilterDefaultValues, _GxIdeWWFiles_allDescendantsCheckboxHandler, _GxIdeWWFiles_attachGridListeners, _GxIdeWWFiles_categoryInputHandler, _GxIdeWWFiles_clearDateTimeValue, _GxIdeWWFiles_dateTimeInputHandler, _GxIdeWWFiles_deleteSelectionCallbackHandler, _GxIdeWWFiles_deselectAll, _GxIdeWWFiles_evaluateModifiedDates, _GxIdeWWFiles_filterAfterTypeCallbackHandler, _GxIdeWWFiles_formatDate, _GxIdeWWFiles_getObjects, _GxIdeWWFiles_renderHeader, _GxIdeWWFiles_renderObjects, _GxIdeWWFiles_moduleValueChangedHandler, _GxIdeWWFiles_nameInputHandler, _GxIdeWWFiles_newFileCallbackHandler, _GxIdeWWFiles_openSelectionCallbackHandler, _GxIdeWWFiles_searchContentsInputHandler, _GxIdeWWFiles_setLoadingState, _GxIdeWWFiles_userInputHandler, _GxIdeWWFiles_showModifiedCheckboxHandler, _GxIdeWWFiles_selectAll;
18
18
  import { Host, h } from "@stencil/core";
19
+ import { getIconPath } from "@genexus/mercury";
19
20
  import { Locale } from "../../common/locale";
20
21
  import { config } from "../../common/config";
21
- import { mapOptionsToComboBoxItemModel } from "./helpers";
22
+ import { mapOptionsToComboBoxItemModel, hiChar } from "./helpers";
23
+ import { formatDate } from "../../common/helpers";
22
24
  const CSS_BUNDLES = [
23
25
  "resets/box-sizing",
24
26
  "components/button",
@@ -26,235 +28,265 @@ const CSS_BUNDLES = [
26
28
  "components/combo-box",
27
29
  "components/accordion",
28
30
  "components/edit",
31
+ "components/icon",
32
+ "components/tooltip",
29
33
  "components/tabular-grid",
30
34
  "utils/form",
31
35
  "utils/layout",
32
36
  "utils/typography",
33
37
  "utils/spacing"
34
38
  ];
39
+ const CLEAR_ICON = getIconPath({
40
+ category: "system",
41
+ name: "close",
42
+ colorType: "neutral"
43
+ });
44
+ const FILTER_ICON = getIconPath({
45
+ category: "window-tools",
46
+ name: "filter",
47
+ colorType: "on-elevation"
48
+ });
49
+ const INFO_ICON = getIconPath({
50
+ category: "system",
51
+ name: "information",
52
+ colorType: "on-elevation"
53
+ });
54
+ const ACCORDION_FILTER_ID = "advanced-filter";
35
55
  const FILTER_AFTER_DATE_TIME = "afterDateTime";
36
56
  const FILTER_AFTER_LAST_BUILD = "afterLastBuild";
37
57
  const FILTER_AFTER_IMPORT = "afterImport";
58
+ const CHECKBOX_CHECKED_VALUE = "checked";
59
+ const CHECKBOX_UNCHECKED_VALUE = "unchecked";
38
60
  export class GxIdeWWFiles {
39
61
  constructor() {
40
62
  _GxIdeWWFiles_componentLocale.set(this, void 0);
41
- _GxIdeWWFiles_ACCORDION_FILTER_ID.set(this, "advanced-filter");
42
63
  _GxIdeWWFiles_ACCORDION_MODEL.set(this, []);
64
+ // Filter Values
65
+ _GxIdeWWFiles_nameValue.set(this, void 0);
66
+ _GxIdeWWFiles_moduleValue.set(this, void 0);
67
+ // Advanced Filter Values
68
+ _GxIdeWWFiles_searchContentsValue.set(this, void 0);
69
+ _GxIdeWWFiles_categoryValue.set(this, void 0);
70
+ _GxIdeWWFiles_allDescendants.set(this, void 0);
71
+ _GxIdeWWFiles_userValue.set(this, void 0);
72
+ // Other
73
+ _GxIdeWWFiles_selectedObjectsIds.set(this, []);
43
74
  _GxIdeWWFiles_chGridEl.set(this, void 0);
44
- _GxIdeWWFiles_filterAfterTypeEl.set(this, void 0);
45
- _GxIdeWWFiles_filterAllDescendantsEl.set(this, void 0);
46
- _GxIdeWWFiles_filterCategoryEl.set(this, void 0);
47
- _GxIdeWWFiles_filterModifiedDateEl.set(this, void 0);
48
75
  _GxIdeWWFiles_filterModuleEl.set(this, void 0);
49
- _GxIdeWWFiles_filterModifiedEl.set(this, void 0);
50
- _GxIdeWWFiles_filterNameEl.set(this, void 0);
51
- _GxIdeWWFiles_filterSearchContentsEl.set(this, void 0);
52
- _GxIdeWWFiles_filterUserEl.set(this, void 0);
53
- _GxIdeWWFiles_renderHeader.set(this, () => {
54
- return [
55
- h("div", { class: "field field-block name" }, h("label", { class: "label", htmlFor: "filter-files" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.name), h("ch-edit", { id: "filter-files", class: "input", ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterNameEl, el, "f")), value: this.filterFilesInputValue, onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_handleFilterInput, "f"), part: "filter-files" })),
56
- h("div", { class: "field field-block module-folder" }, h("label", { class: "label", htmlFor: "module-folder" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.moduleFolder), h("gx-ide-entity-selector", { part: "filter-module-folder", id: "module/folder", labelPosition: "none", value: this.defaultModule, defaultValue: this.defaultModule, selectEntityCallback: this.selectModuleCallback, ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterModuleEl, el, "f")) })),
57
- h("ch-accordion-render", { class: "accordion-outlined advanced-filter-accordion", model: __classPrivateFieldGet(this, _GxIdeWWFiles_ACCORDION_MODEL, "f"), onExpandedChange: __classPrivateFieldGet(this, _GxIdeWWFiles_expandedHandler, "f") }, h("div", { slot: __classPrivateFieldGet(this, _GxIdeWWFiles_ACCORDION_FILTER_ID, "f"), class: "spacing-body" }, h("div", { class: "main__filter" }, this.showSearchContents && (h("div", { class: "search-content" }, h("div", { class: "field field-block" }, h("label", { class: "label", htmlFor: "filter-content" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.content), h("ch-edit", { id: "filter-content", class: "input", ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterSearchContentsEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_handleSearchContentsInput, "f"), part: "filter-content" })))), h("div", { class: "filter-row" }, h("div", { class: "category-column" }, h("div", { class: "field field-block" }, h("label", { class: "label", htmlFor: "filter-category" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.category), h("ch-combo-box-render", { id: "filter-category", class: "combo-box", value: this.defaultCategory, disabled: !this.categories, ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterCategoryEl, el, "f")), model: this.categoriesComboBoxModel, part: "filter-category", onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f") }))), h("div", { class: "checkboxes-column" }, h("ch-checkbox", { class: "checkbox", caption: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.allDescendants, checkedValue: "filterAllDescendants", ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterAllDescendantsEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f"), part: "filter-all-descendants" }), h("ch-checkbox", { class: "checkbox align-center", caption: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.modified, checkedValue: "filterModified", ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterModifiedEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_filterModifiedCallbackHandle, "f"), part: "filter-modified" })), h("div", { class: "empty-column" })), h("div", { class: { "modified-inputs": true, "hide": !this.filterModified } }, h("div", { class: "field field-block" }, h("label", { class: "label", htmlFor: "filter-after-type" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.after), h("ch-combo-box-render", { id: "filter-after-type", class: "combo-box", value: this.afterCurrentValue, ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterAfterTypeEl, el, "f")), model: this.filterAfterOptions, onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeCallbackHandle, "f"), part: "filter-after-type" })), h("div", { class: "field field-block" }, h("label", { class: "label", htmlFor: "filter-user" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.user), h("ch-edit", { id: "filter-user", class: "input", ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterUserEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f"), part: "filter-user" })), h("div", { class: {
58
- "field field-block": true,
59
- "hide": this.afterCurrentValue !== FILTER_AFTER_DATE_TIME
60
- } }, h("label", { class: "label", htmlFor: "filter-modified-date" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.dateTime), h("ch-edit", { id: "filter-modified-date", type: "date", class: "input", ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterModifiedDateEl, el, "f")), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f"), part: "filter-modified-date" }))))))
61
- ];
62
- });
63
- _GxIdeWWFiles_renderObjects.set(this, () => {
64
- return (h("div", { class: "field-group main__grid" }, h("ch-tabular-grid", { ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_chGridEl, el, "f")), class: "tabular-grid tabular-grid-ww-files", rowSelectionMode: "multiple", part: "ch-grid-files" }, h("ch-tabular-grid-columnset", { class: "tabular-grid-column-set" }, h("ch-tabular-grid-column", { columnName: "", columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" }), h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.name, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.common, class: "tabular-grid-column" }), this.showType && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.type, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.common, class: "tabular-grid-column" })), h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.module, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.common, class: "tabular-grid-column" }), this.showDescription && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.description, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.commonDouble, class: "tabular-grid-column" })), this.showModifiedDate && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.modifiedDate, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" })), this.showLastUser && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.lastUser, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" })), this.showImportDate && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.importDate, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" })), this.showLastBuildDate && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.lastBuildDate, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" }))), this.filteredFiles.length ? (h("ch-tabular-grid-rowset", { class: "tabular-grid-rowset" }, this.filteredFiles.map((obj) => {
65
- var _a;
66
- return (h("ch-tabular-grid-row", { rowid: obj.id, class: "tabular-grid-row" }, h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, h("ch-image", { src: obj.icon })), h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.name.toLowerCase(), this.filterFilesInputValue)), this.showType && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.type.toLowerCase(), this.filterFilesInputValue))), h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.module.toLowerCase(), this.filterFilesInputValue)), this.showDescription && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.description.toLowerCase(), this.filterFilesInputValue))), this.showModifiedDate && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.modifiedDate
67
- ? __classPrivateFieldGet(this, _GxIdeWWFiles_formatDate, "f").call(this, obj.modifiedDate)
68
- : "", this.filterFilesInputValue))), this.showLastUser && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, ((_a = obj.lastUser) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || "", this.filterFilesInputValue))), this.showImportDate && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.importDate ? __classPrivateFieldGet(this, _GxIdeWWFiles_formatDate, "f").call(this, obj.importDate) : "", this.filterFilesInputValue))), this.showLastBuildDate && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_hiChar, "f").call(this, obj.lastBuildDate
69
- ? __classPrivateFieldGet(this, _GxIdeWWFiles_formatDate, "f").call(this, obj.lastBuildDate)
70
- : "", this.filterFilesInputValue)))));
71
- }))) : null)));
72
- });
73
- _GxIdeWWFiles_hiChar.set(this, (text, search) => {
74
- if (!search)
75
- return text;
76
- const parts = text.split(new RegExp(`(${search})`, "gi"));
77
- return parts.map((part, i) => part.toLowerCase() === search.toLowerCase() ? (h("span", { key: i, class: "highlight" }, part)) : (part));
76
+ _GxIdeWWFiles_setFilterDefaultValues.set(this, () => {
77
+ __classPrivateFieldSet(this, _GxIdeWWFiles_nameValue, "", "f");
78
+ __classPrivateFieldSet(this, _GxIdeWWFiles_moduleValue, Object.assign({}, this.defaultModule), "f");
79
+ __classPrivateFieldSet(this, _GxIdeWWFiles_searchContentsValue, "", "f");
80
+ __classPrivateFieldSet(this, _GxIdeWWFiles_categoryValue, this.defaultCategory || this.categoriesComboBoxModel[0].value, "f");
81
+ __classPrivateFieldSet(this, _GxIdeWWFiles_allDescendants, CHECKBOX_UNCHECKED_VALUE, "f");
82
+ this.afterValue = this.filterAfterComboBoxModel[0].value;
83
+ __classPrivateFieldSet(this, _GxIdeWWFiles_userValue, "", "f");
84
+ this.dateTimeValue = undefined;
78
85
  });
79
- _GxIdeWWFiles_formatDate.set(this, (date) => {
80
- return date.toISOString().slice(0, 10);
86
+ _GxIdeWWFiles_allDescendantsCheckboxHandler.set(this, (event) => {
87
+ __classPrivateFieldSet(this, _GxIdeWWFiles_allDescendants, event.detail === CHECKBOX_CHECKED_VALUE
88
+ ? CHECKBOX_CHECKED_VALUE
89
+ : CHECKBOX_UNCHECKED_VALUE, "f");
90
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
81
91
  });
82
- _GxIdeWWFiles_getObjects.set(this, () => {
83
- var _a;
84
- const filters = {
85
- name: __classPrivateFieldGet(this, _GxIdeWWFiles_filterNameEl, "f").value,
86
- searchContents: this.showSearchContents
87
- ? (_a = __classPrivateFieldGet(this, _GxIdeWWFiles_filterSearchContentsEl, "f")) === null || _a === void 0 ? void 0 : _a.value
88
- : null,
89
- category: __classPrivateFieldGet(this, _GxIdeWWFiles_filterCategoryEl, "f").value,
90
- parent: __classPrivateFieldGet(this, _GxIdeWWFiles_filterModuleEl, "f").value ? __classPrivateFieldGet(this, _GxIdeWWFiles_filterModuleEl, "f").value.id : null,
91
- allDescendants: !!__classPrivateFieldGet(this, _GxIdeWWFiles_filterAllDescendantsEl, "f").value,
92
- modifiedAfter: this.filterModified ? this.afterCurrentValue : null,
93
- modifiedBy: this.filterModified ? __classPrivateFieldGet(this, _GxIdeWWFiles_filterUserEl, "f").value : null,
94
- modifiedDate: this.filterModified && this.afterCurrentValue === FILTER_AFTER_DATE_TIME
95
- ? new Date(__classPrivateFieldGet(this, _GxIdeWWFiles_filterModifiedDateEl, "f").value)
96
- : null
97
- };
98
- this.loadCallback(filters).then((items) => {
99
- this.objects = items;
100
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterFiles, "f").call(this);
101
- this.selectedObjectsIds = [];
102
- __classPrivateFieldGet(this, _GxIdeWWFiles_deselectAll, "f").call(this);
92
+ _GxIdeWWFiles_attachGridListeners.set(this, () => {
93
+ __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").addEventListener("selectionChanged", (ev) => {
94
+ __classPrivateFieldSet(this, _GxIdeWWFiles_selectedObjectsIds, ev.detail.rowsId, "f");
95
+ this.selectionChangeCallback(__classPrivateFieldGet(this, _GxIdeWWFiles_selectedObjectsIds, "f"));
103
96
  });
104
- });
105
- _GxIdeWWFiles_filterFiles.set(this, () => {
106
- var _a, _b;
107
- const filterValue = this.filterFilesInputValue.toLowerCase();
108
- const searchContents = this.showSearchContents
109
- ? ((_b = (_a = __classPrivateFieldGet(this, _GxIdeWWFiles_filterSearchContentsEl, "f")) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || ""
110
- : "";
111
- this.filteredFiles = this.objects.filter(file => {
112
- var _a, _b, _c, _d, _e;
113
- const nameMatch = file.name.toLowerCase().includes(filterValue);
114
- const typeMatch = file.type.toLowerCase().includes(filterValue);
115
- const moduleMatch = file.module.toLowerCase().includes(filterValue);
116
- const descriptionMatch = (_a = file.description) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(filterValue);
117
- const modifiedDateMatch = (_b = file.modifiedDate) === null || _b === void 0 ? void 0 : _b.toString().includes(filterValue);
118
- const lastUserMatch = (_c = file.lastUser) === null || _c === void 0 ? void 0 : _c.toLowerCase().includes(filterValue);
119
- const importDateMatch = (_d = file.importDate) === null || _d === void 0 ? void 0 : _d.toString().includes(filterValue);
120
- const contentsMatch = searchContents
121
- ? (_e = file.description) === null || _e === void 0 ? void 0 : _e.toLowerCase().includes(searchContents)
122
- : true;
123
- return ((nameMatch ||
124
- typeMatch ||
125
- moduleMatch ||
126
- descriptionMatch ||
127
- modifiedDateMatch ||
128
- lastUserMatch ||
129
- importDateMatch) &&
130
- contentsMatch);
97
+ __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").addEventListener("rowDoubleClicked", () => {
98
+ __classPrivateFieldGet(this, _GxIdeWWFiles_openSelectionCallbackHandler, "f").call(this);
99
+ });
100
+ __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").addEventListener("rowContextMenu", (ev) => {
101
+ ev.preventDefault();
102
+ ev.stopPropagation();
103
+ this.contextMenuCallback({
104
+ selection: ev.detail.selectedRowsId,
105
+ clientX: ev.detail.clientX,
106
+ clientY: ev.detail.clientY
107
+ });
131
108
  });
132
109
  });
133
- _GxIdeWWFiles_handleFilterInput.set(this, (event) => {
134
- this.filterFilesInputValue = event.detail.toLowerCase();
135
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterFiles, "f").call(this);
110
+ _GxIdeWWFiles_categoryInputHandler.set(this, async (event) => {
111
+ __classPrivateFieldSet(this, _GxIdeWWFiles_categoryValue, event.detail, "f");
112
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
136
113
  });
137
- _GxIdeWWFiles_handleSearchContentsInput.set(this, () => {
138
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterFiles, "f").call(this);
114
+ _GxIdeWWFiles_clearDateTimeValue.set(this, () => {
115
+ this.dateTimeValue = undefined;
139
116
  });
140
- _GxIdeWWFiles_deleteSelectionCallbackHandle.set(this, () => {
141
- this.deleteSelectionCallback(this.selectedObjectsIds);
117
+ _GxIdeWWFiles_dateTimeInputHandler.set(this, (event) => {
118
+ this.dateTimeValue = event.detail;
119
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
120
+ });
121
+ _GxIdeWWFiles_deleteSelectionCallbackHandler.set(this, () => {
122
+ this.deleteSelectionCallback(__classPrivateFieldGet(this, _GxIdeWWFiles_selectedObjectsIds, "f"));
142
123
  });
143
124
  _GxIdeWWFiles_deselectAll.set(this, () => {
144
125
  __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").selectAllRows(false);
145
126
  });
146
- _GxIdeWWFiles_expandedHandler.set(this, (e) => {
147
- if (e.detail.id === __classPrivateFieldGet(this, _GxIdeWWFiles_ACCORDION_FILTER_ID, "f")) {
148
- this.advancedFilterAccordionExpanded = e.detail.expanded;
149
- this.filterMore = e.detail.expanded;
150
- }
151
- });
152
- _GxIdeWWFiles_filterModifiedCallbackHandle.set(this, () => {
153
- this.filterModified = !!__classPrivateFieldGet(this, _GxIdeWWFiles_filterModifiedEl, "f").value;
154
- this.enabledModifiedControls = this.filterModified;
155
- if (!this.filterModified) {
156
- // Reset related fields when unchecking Modified
157
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterUserEl, "f").value = null;
158
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeEl, "f").value = null;
159
- this.afterCurrentValue = null;
160
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterModifiedDateEl, "f").value = null;
127
+ _GxIdeWWFiles_evaluateModifiedDates.set(this, (objectModifiedDate, filterSelectedModifiedDate) => {
128
+ const filterSelectedModifiedDateAsDate = new Date(filterSelectedModifiedDate);
129
+ if (filterSelectedModifiedDateAsDate >= objectModifiedDate) {
130
+ // Object modifed date matches with filter date, or was modified after that date.
131
+ // Highlight to show that it matches.
132
+ return h("span", { class: "hiChar" }, __classPrivateFieldGet(this, _GxIdeWWFiles_formatDate, "f").call(this, objectModifiedDate));
161
133
  }
162
134
  else {
163
- // Restore default values when checking Modified
164
- this.afterCurrentValue = FILTER_AFTER_DATE_TIME;
165
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeEl, "f").value = FILTER_AFTER_DATE_TIME;
135
+ return __classPrivateFieldGet(this, _GxIdeWWFiles_formatDate, "f").call(this, objectModifiedDate);
166
136
  }
167
- __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
168
137
  });
169
- _GxIdeWWFiles_filterAfterTypeCallbackHandle.set(this, () => {
170
- const newValue = __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeEl, "f").value;
171
- // Validar que el valor sea uno de los permitidos
172
- if ([
173
- FILTER_AFTER_DATE_TIME,
174
- FILTER_AFTER_LAST_BUILD,
175
- FILTER_AFTER_IMPORT
176
- ].includes(newValue)) {
177
- this.afterCurrentValue = newValue;
178
- }
179
- else {
180
- // Si no es un valor válido, establecer el valor por defecto
181
- this.afterCurrentValue = FILTER_AFTER_DATE_TIME;
182
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeEl, "f").value = FILTER_AFTER_DATE_TIME;
183
- }
138
+ _GxIdeWWFiles_filterAfterTypeCallbackHandler.set(this, (event) => {
139
+ this.afterValue = event.detail;
184
140
  __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
185
141
  });
186
- _GxIdeWWFiles_listenChanges.set(this, () => {
187
- /* module/folder */
188
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterModuleEl, "f").addEventListener("valueChanged", () => {
189
- __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
190
- });
191
- // for grid selection
192
- __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").addEventListener("selectionChanged", (ev) => {
193
- this.selectedObjectsIds = ev.detail.rowsId;
194
- this.selectionChangeCallback(this.selectedObjectsIds);
195
- });
196
- __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").addEventListener("rowDoubleClicked", () => {
197
- __classPrivateFieldGet(this, _GxIdeWWFiles_openSelectionCallbackHandle, "f").call(this);
198
- });
199
- __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").addEventListener("rowContextMenu", (ev) => {
200
- ev.preventDefault();
201
- ev.stopPropagation();
202
- this.contextMenuCallback({
203
- selection: ev.detail.selectedRowsId,
204
- clientX: ev.detail.clientX,
205
- clientY: ev.detail.clientY
206
- });
142
+ _GxIdeWWFiles_formatDate.set(this, (date) => {
143
+ return formatDate(date, "date-time-short");
144
+ });
145
+ _GxIdeWWFiles_getObjects.set(this, () => {
146
+ __classPrivateFieldGet(this, _GxIdeWWFiles_setLoadingState, "f").call(this);
147
+ const filtersValues = {
148
+ name: __classPrivateFieldGet(this, _GxIdeWWFiles_nameValue, "f"),
149
+ searchContents: __classPrivateFieldGet(this, _GxIdeWWFiles_searchContentsValue, "f"),
150
+ category: __classPrivateFieldGet(this, _GxIdeWWFiles_categoryValue, "f"),
151
+ parent: __classPrivateFieldGet(this, _GxIdeWWFiles_filterModuleEl, "f").value.id,
152
+ allDescendants: __classPrivateFieldGet(this, _GxIdeWWFiles_allDescendants, "f") === CHECKBOX_CHECKED_VALUE,
153
+ modifiedAfter: this.showModified ? this.afterValue : undefined,
154
+ modifiedBy: this.showModified ? __classPrivateFieldGet(this, _GxIdeWWFiles_userValue, "f") : undefined,
155
+ modifiedDate: this.showModified ? new Date(this.dateTimeValue) : undefined
156
+ };
157
+ this.loadCallback(filtersValues).then((items) => {
158
+ this.objects = items;
159
+ __classPrivateFieldSet(this, _GxIdeWWFiles_selectedObjectsIds, [], "f");
160
+ __classPrivateFieldGet(this, _GxIdeWWFiles_deselectAll, "f").call(this);
161
+ this.isLoading = false;
207
162
  });
208
163
  });
209
- _GxIdeWWFiles_newFileCallbackHandle.set(this, () => {
164
+ _GxIdeWWFiles_renderHeader.set(this, () => {
165
+ return [
166
+ h("div", {
167
+ // Name
168
+ class: "field field-block field-name"
169
+ }, h("label", { class: "label", htmlFor: "name" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.name), h("ch-edit", { id: "name", class: "input", value: __classPrivateFieldGet(this, _GxIdeWWFiles_nameValue, "f"), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_nameInputHandler, "f"), part: "filter-files", debounce: config.inputDebounce, disabled: this.isLoading })),
170
+ h("div", {
171
+ // Module
172
+ class: "field field-block field-module-folder"
173
+ }, h("label", { class: "label", htmlFor: "module-folder" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.moduleFolder), h("gx-ide-entity-selector", { part: "filter-module-folder", id: "module/folder", labelPosition: "none", value: __classPrivateFieldGet(this, _GxIdeWWFiles_moduleValue, "f"), defaultValue: this.defaultModule, selectEntityCallback: this.selectModuleCallback, ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_filterModuleEl, el, "f")), onValueChanged: __classPrivateFieldGet(this, _GxIdeWWFiles_moduleValueChangedHandler, "f"), disabled: this.isLoading })),
174
+ h("ch-accordion-render", { class: "accordion-outlined advanced-filter", model: __classPrivateFieldGet(this, _GxIdeWWFiles_ACCORDION_MODEL, "f") }, h("div", { slot: ACCORDION_FILTER_ID, class: "spacing-body field-group advanced-filter__container" }, this.showSearchContents && (h("div", {
175
+ // Search contents
176
+ class: "field field-block field-search-contents"
177
+ }, h("label", { class: "label", htmlFor: "filter-content" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.content), h("ch-edit", { id: "filter-content", class: "input", onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_searchContentsInputHandler, "f"), part: "filter-content" }))), h("div", { class: "field-group advanced-filter__first-row" }, h("div", {
178
+ // Category
179
+ class: "field field-block field-category"
180
+ }, h("label", { class: "label", htmlFor: "filter-category" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.category), h("ch-combo-box-render", { id: "filter-category", class: "combo-box disabled", value: __classPrivateFieldGet(this, _GxIdeWWFiles_categoryValue, "f"), disabled: !this.categories || this.isLoading, model: this.categoriesComboBoxModel, part: "filter-category", onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_categoryInputHandler, "f") })), h("div", {
181
+ // All descendants / Modified
182
+ class: "all-descendants__modified field field-inline"
183
+ }, h("ch-checkbox", {
184
+ // All descendants
185
+ class: "checkbox", caption: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.allDescendants, checkedValue: CHECKBOX_CHECKED_VALUE, unCheckedValue: CHECKBOX_UNCHECKED_VALUE, value: __classPrivateFieldGet(this, _GxIdeWWFiles_allDescendants, "f"), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_allDescendantsCheckboxHandler, "f"), part: "filter-all-descendants", disabled: this.isLoading
186
+ }), h("ch-checkbox", {
187
+ // Modified
188
+ class: "checkbox align-center", caption: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.modified, checkedValue: CHECKBOX_CHECKED_VALUE, unCheckedValue: CHECKBOX_UNCHECKED_VALUE, value: this.showModified, onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_showModifiedCheckboxHandler, "f"), part: "filter-modified"
189
+ }))), this.showModified === CHECKBOX_CHECKED_VALUE && (h("div", { class: "field-group advanced-filter__second-row" }, h("div", {
190
+ // After
191
+ class: "field field-block field-after"
192
+ }, h("label", { class: "label", htmlFor: "filter-after-type" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.after), h("ch-combo-box-render", { id: "filter-after-type", class: "combo-box", value: this.afterValue, model: this.filterAfterComboBoxModel, onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeCallbackHandler, "f"), part: "filter-after-type", disabled: this.isLoading })), h("div", {
193
+ // User
194
+ class: "field field-block field-user"
195
+ }, h("label", { class: "label", htmlFor: "filter-user" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.user), h("ch-edit", { id: "filter-user", class: "input", value: __classPrivateFieldGet(this, _GxIdeWWFiles_userValue, "f"), onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_userInputHandler, "f"), part: "filter-user", debounce: config.inputDebounce, disabled: this.isLoading })), this.afterValue === FILTER_AFTER_DATE_TIME && (h("div", {
196
+ // Date/Time
197
+ class: {
198
+ "field field-block field-date": true,
199
+ "hide": this.afterValue !== FILTER_AFTER_DATE_TIME
200
+ }
201
+ }, h("label", { class: "label label-date-time", htmlFor: "filter-date-time" }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.dateTime, h("ch-image", { class: "icon-md icon-clear-date-time", src: INFO_ICON }), h("ch-tooltip", { class: "tooltip", actionElement: null, blockAlign: "outside-start", inlineAlign: "inside-start", delay: config.tooltipSettings.delay }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.dateTimeTooltip)), h("ch-edit", { id: "filter-date-time", type: "datetime-local", class: "input input-date-time", value: this.dateTimeValue, onInput: __classPrivateFieldGet(this, _GxIdeWWFiles_dateTimeInputHandler, "f"), part: "filter-date-time", disabled: this.isLoading }), h("button", { class: "button-tertiary button-icon-only", onClick: __classPrivateFieldGet(this, _GxIdeWWFiles_clearDateTimeValue, "f"), disabled: this.isLoading }, h("ch-image", { class: "icon-md", src: CLEAR_ICON, type: "mask" }))))))))
202
+ ];
203
+ });
204
+ _GxIdeWWFiles_renderObjects.set(this, () => {
205
+ var _a;
206
+ const gridIsEmpty = !this.objects.length;
207
+ return (h("ch-tabular-grid", { ref: (el) => (__classPrivateFieldSet(this, _GxIdeWWFiles_chGridEl, el, "f")), class: {
208
+ "tabular-grid": true,
209
+ "loading": this.isLoading,
210
+ "empty": this.objects.length === 0
211
+ }, rowSelectionMode: "multiple", part: "ch-grid-files" }, h("ch-tabular-grid-columnset", { class: "tabular-grid-column-set" }, h("ch-tabular-grid-column", { columnName: "", columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" }), h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.name, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" }), h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.module, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" }), this.gridColumnsVisibility.description && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.description, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.auto, class: "tabular-grid-column" })), this.gridColumnsVisibility.modifiedDate && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.modifiedDate, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" })), this.gridColumnsVisibility.lastUser && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.lastUser, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" })), this.gridColumnsVisibility.importDate && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.importDate, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" })), this.gridColumnsVisibility.lastBuildDate && (h("ch-tabular-grid-column", { columnName: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").tableHead.lastBuildDate, columnNameHidden: false, settingable: false, size: config.tabularGrid.colSize.maxContent, class: "tabular-grid-column" }))), !gridIsEmpty ? (h("ch-tabular-grid-rowset", { class: "tabular-grid-rowset" }, (_a = this.objects) === null || _a === void 0 ? void 0 : _a.map((object) => {
212
+ var _a;
213
+ return (h("ch-tabular-grid-row", { rowid: object.id, class: "tabular-grid-row" }, h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, h("ch-image", { src: object.icon })), h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, hiChar(object.name.toLowerCase(), __classPrivateFieldGet(this, _GxIdeWWFiles_nameValue, "f").toLowerCase())), h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, hiChar(object.parent, __classPrivateFieldGet(this, _GxIdeWWFiles_moduleValue, "f").name)), this.gridColumnsVisibility.description && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell tabular-grid-cell-description" }, object.description)), this.gridColumnsVisibility.modifiedDate && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, __classPrivateFieldGet(this, _GxIdeWWFiles_evaluateModifiedDates, "f").call(this, object.modifiedDate, this.dateTimeValue))), this.gridColumnsVisibility.lastUser && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, hiChar((_a = object.lastUser) === null || _a === void 0 ? void 0 : _a.toLowerCase(), __classPrivateFieldGet(this, _GxIdeWWFiles_userValue, "f")))), this.gridColumnsVisibility.importDate && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, hiChar(object.importDate
214
+ ? __classPrivateFieldGet(this, _GxIdeWWFiles_formatDate, "f").call(this, object.importDate)
215
+ : "", __classPrivateFieldGet(this, _GxIdeWWFiles_nameValue, "f")))), this.gridColumnsVisibility.lastBuildDate && (h("ch-tabular-grid-cell", { class: "tabular-grid-cell" }, hiChar(object.lastBuildDate
216
+ ? __classPrivateFieldGet(this, _GxIdeWWFiles_formatDate, "f").call(this, object.lastBuildDate)
217
+ : "", __classPrivateFieldGet(this, _GxIdeWWFiles_nameValue, "f"))))));
218
+ }))) : (h("ch-tabular-grid-rowset", { class: "tabular-grid-rowset" }, h("ch-tabular-grid-rowset-empty", null, this.isLoading ? (h("gx-ide-loader", { loaderTitle: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").loader.title, description: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").loader.description, show: true })) : (h("gx-ide-empty-state", { isAnimated: true, stateIconSrc: FILTER_ICON, stateTitle: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").emptyState.title })))))));
219
+ });
220
+ _GxIdeWWFiles_moduleValueChangedHandler.set(this, (event) => {
221
+ __classPrivateFieldSet(this, _GxIdeWWFiles_moduleValue, event.detail, "f");
222
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
223
+ });
224
+ _GxIdeWWFiles_nameInputHandler.set(this, (event) => {
225
+ __classPrivateFieldSet(this, _GxIdeWWFiles_nameValue, event.detail, "f");
226
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
227
+ });
228
+ _GxIdeWWFiles_newFileCallbackHandler.set(this, () => {
210
229
  this.newFileCallback();
211
230
  });
212
- _GxIdeWWFiles_openSelectionCallbackHandle.set(this, () => {
213
- this.openSelectionCallback(this.selectedObjectsIds);
231
+ _GxIdeWWFiles_openSelectionCallbackHandler.set(this, () => {
232
+ this.openSelectionCallback(__classPrivateFieldGet(this, _GxIdeWWFiles_selectedObjectsIds, "f"));
233
+ });
234
+ _GxIdeWWFiles_searchContentsInputHandler.set(this, (event) => {
235
+ __classPrivateFieldSet(this, _GxIdeWWFiles_searchContentsValue, event.detail, "f");
236
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
237
+ });
238
+ _GxIdeWWFiles_setLoadingState.set(this, () => {
239
+ this.objects = [];
240
+ this.isLoading = true;
241
+ });
242
+ _GxIdeWWFiles_userInputHandler.set(this, (event) => {
243
+ __classPrivateFieldSet(this, _GxIdeWWFiles_userValue, event.detail, "f");
244
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
245
+ });
246
+ _GxIdeWWFiles_showModifiedCheckboxHandler.set(this, (event) => {
247
+ this.showModified = event.detail;
214
248
  });
215
249
  _GxIdeWWFiles_selectAll.set(this, () => {
216
250
  __classPrivateFieldGet(this, _GxIdeWWFiles_chGridEl, "f").selectAllRows();
217
251
  });
252
+ this.afterValue = undefined;
218
253
  this.categoriesComboBoxModel = [];
219
- this.afterCurrentValue = FILTER_AFTER_DATE_TIME;
220
- this.filterAfterOptions = undefined;
221
- this.enabledModifiedControls = false;
222
- this.filterModified = false;
223
- this.filterMore = false;
254
+ this.dateTimeValue = undefined;
255
+ this.isLoading = true;
256
+ this.filterAfterComboBoxModel = undefined;
257
+ this.showModified = CHECKBOX_CHECKED_VALUE;
224
258
  this.objects = [];
225
- this.filterFilesInputValue = "";
226
- this.filteredFiles = [];
227
- this.selectedObjectsIds = [];
228
- this.advancedFilterAccordionExpanded = false;
229
259
  this.categories = undefined;
260
+ this.contextMenuCallback = undefined;
230
261
  this.defaultCategory = undefined;
231
262
  this.defaultModule = undefined;
232
- this.filterModules = undefined;
233
- this.types = undefined;
234
- this.contextMenuCallback = undefined;
235
263
  this.deleteSelectionCallback = undefined;
264
+ this.gridColumnsVisibility = {
265
+ description: true,
266
+ importDate: true,
267
+ lastBuildDate: true,
268
+ lastUser: true,
269
+ modifiedDate: true
270
+ };
236
271
  this.loadCallback = undefined;
237
272
  this.newFileCallback = undefined;
238
273
  this.openSelectionCallback = undefined;
239
274
  this.selectModuleCallback = undefined;
240
275
  this.selectionChangeCallback = undefined;
241
276
  this.showSearchContents = false;
242
- this.showDescription = false;
243
- this.showModifiedDate = false;
244
- this.showLastUser = false;
245
- this.showImportDate = false;
246
- this.showType = false;
247
- this.showLastBuildDate = false;
277
+ }
278
+ dateTimeValueChanged() {
279
+ __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
248
280
  }
249
281
  categoriesChanged(newCategories) {
250
282
  this.categoriesComboBoxModel = mapOptionsToComboBoxItemModel(newCategories);
251
283
  }
252
284
  async componentWillLoad() {
253
285
  __classPrivateFieldSet(this, _GxIdeWWFiles_componentLocale, await Locale.getComponentStrings(this.el), "f");
254
- // initialize combo-box models
286
+ // initialize combo-box models
255
287
  this.categoriesChanged(this.categories);
256
288
  // initialize "After" combo-box options
257
- this.filterAfterOptions = [
289
+ this.filterAfterComboBoxModel = [
258
290
  {
259
291
  caption: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter[FILTER_AFTER_DATE_TIME],
260
292
  value: FILTER_AFTER_DATE_TIME
@@ -268,21 +300,18 @@ export class GxIdeWWFiles {
268
300
  value: FILTER_AFTER_IMPORT
269
301
  }
270
302
  ];
271
- this.afterCurrentValue = FILTER_AFTER_DATE_TIME;
272
303
  // initialize accordion model with proper configuration
273
304
  __classPrivateFieldSet(this, _GxIdeWWFiles_ACCORDION_MODEL, [
274
305
  {
275
- id: __classPrivateFieldGet(this, _GxIdeWWFiles_ACCORDION_FILTER_ID, "f"),
306
+ id: ACCORDION_FILTER_ID,
276
307
  caption: __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").filter.accordionCaption,
277
- expanded: this.advancedFilterAccordionExpanded
308
+ expanded: false
278
309
  }
279
310
  ], "f");
280
- // initialize filtered files
281
- this.filteredFiles = this.objects;
282
- this.componentDidLoadEvent.emit(true);
311
+ __classPrivateFieldGet(this, _GxIdeWWFiles_setFilterDefaultValues, "f").call(this);
283
312
  }
284
313
  componentDidLoad() {
285
- __classPrivateFieldGet(this, _GxIdeWWFiles_listenChanges, "f").call(this);
314
+ __classPrivateFieldGet(this, _GxIdeWWFiles_attachGridListeners, "f").call(this);
286
315
  __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
287
316
  }
288
317
  keyDownHandler(eventInfo) {
@@ -290,11 +319,11 @@ export class GxIdeWWFiles {
290
319
  switch (eventInfo.key) {
291
320
  case "Enter":
292
321
  eventInfo.preventDefault();
293
- __classPrivateFieldGet(this, _GxIdeWWFiles_openSelectionCallbackHandle, "f").call(this);
322
+ __classPrivateFieldGet(this, _GxIdeWWFiles_openSelectionCallbackHandler, "f").call(this);
294
323
  break;
295
324
  case "Delete":
296
325
  eventInfo.preventDefault();
297
- __classPrivateFieldGet(this, _GxIdeWWFiles_deleteSelectionCallbackHandle, "f").call(this);
326
+ __classPrivateFieldGet(this, _GxIdeWWFiles_deleteSelectionCallbackHandler, "f").call(this);
298
327
  break;
299
328
  case "Escape":
300
329
  eventInfo.preventDefault();
@@ -303,40 +332,24 @@ export class GxIdeWWFiles {
303
332
  }
304
333
  }
305
334
  }
306
- /**
307
- * Validate necessary data input
308
- */
309
- async validate() {
310
- const isValid = true;
311
- return isValid;
312
- }
313
335
  /**
314
336
  * This method reload the view, refreshing the filters and the table of files.
315
337
  */
316
338
  async reload() {
317
- this.filterFilesInputValue = "";
318
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterUserEl, "f").value = null;
319
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterAfterTypeEl, "f").value = null;
320
- this.afterCurrentValue = null;
321
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterModifiedEl, "f").value = undefined;
322
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterAllDescendantsEl, "f").value = undefined;
323
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterModuleEl, "f").value = this.defaultModule;
324
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterCategoryEl, "f").value = null;
325
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterSearchContentsEl, "f").value = null;
326
- __classPrivateFieldGet(this, _GxIdeWWFiles_filterNameEl, "f").value = null;
327
- this.filterMore = false;
339
+ __classPrivateFieldGet(this, _GxIdeWWFiles_setFilterDefaultValues, "f").call(this);
328
340
  __classPrivateFieldGet(this, _GxIdeWWFiles_getObjects, "f").call(this);
329
341
  }
330
342
  render() {
331
- return (h(Host, { class: "widget" }, h("ch-theme", { model: CSS_BUNDLES }), h("section", { class: "section" }, h("header", { class: "header control-header-with-border spacing-body-inline spacing-body-block-start field-group" }, __classPrivateFieldGet(this, _GxIdeWWFiles_renderHeader, "f").call(this)), h("div", { class: "main" }, __classPrivateFieldGet(this, _GxIdeWWFiles_renderObjects, "f").call(this)), h("footer", { class: "control-footer-with-border control-footer-space-between spacing-body" }, h("p", {
343
+ var _a;
344
+ return (h(Host, { class: "widget" }, h("ch-theme", { model: CSS_BUNDLES }), h("section", { class: "section" }, h("header", { class: "header control-header-with-border spacing-body-inline spacing-body-block-start field-group" }, __classPrivateFieldGet(this, _GxIdeWWFiles_renderHeader, "f").call(this)), __classPrivateFieldGet(this, _GxIdeWWFiles_renderObjects, "f").call(this), h("footer", { class: "control-footer-with-border control-footer-space-between spacing-body" }, h("p", {
332
345
  // matching objects
333
346
  class: "text-body", part: "objects-matching"
334
- }, `${this.filteredFiles.length} ${__classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").objCount.matching}`), h("div", { class: "buttons-spacer" }, h("button", {
347
+ }, `${(_a = this.objects) === null || _a === void 0 ? void 0 : _a.length} ${__classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").objCount.matching}`), h("div", { class: "buttons-spacer" }, h("button", {
335
348
  // select all button
336
- id: "button-select-all", class: "button-secondary", onClick: __classPrivateFieldGet(this, _GxIdeWWFiles_selectAll, "f"), part: "button button--select-all"
349
+ id: "button-select-all", class: "button-secondary", onClick: __classPrivateFieldGet(this, _GxIdeWWFiles_selectAll, "f"), part: "button button--select-all", disabled: this.isLoading
337
350
  }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").footer.btnSelectAll), h("button", {
338
351
  // new file button
339
- id: "button-new-file", class: "button-primary button-icon-and-text", onClick: __classPrivateFieldGet(this, _GxIdeWWFiles_newFileCallbackHandle, "f"), part: "button button--new-file"
352
+ id: "button-new-file", class: "button-primary button-icon-and-text", onClick: __classPrivateFieldGet(this, _GxIdeWWFiles_newFileCallbackHandler, "f"), part: "button button--new-file", disabled: this.isLoading
340
353
  }, __classPrivateFieldGet(this, _GxIdeWWFiles_componentLocale, "f").footer.btnNew))))));
341
354
  }
342
355
  static get is() { return "gx-ide-ww-files"; }
@@ -375,6 +388,27 @@ export class GxIdeWWFiles {
375
388
  "text": "The categories render in the filter category selector"
376
389
  }
377
390
  },
391
+ "contextMenuCallback": {
392
+ "type": "unknown",
393
+ "mutable": false,
394
+ "complexType": {
395
+ "original": "ContextMenuCallback",
396
+ "resolved": "(contextMenuInfo: ContextMenuInfo) => Promise<void>",
397
+ "references": {
398
+ "ContextMenuCallback": {
399
+ "location": "local",
400
+ "path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/ww-files/ww-files.tsx",
401
+ "id": "src/components/ww-files/ww-files.tsx::ContextMenuCallback"
402
+ }
403
+ }
404
+ },
405
+ "required": true,
406
+ "optional": false,
407
+ "docs": {
408
+ "tags": [],
409
+ "text": "This is a function provided by the developer for show the context menu of the selected files."
410
+ }
411
+ },
378
412
  "defaultCategory": {
379
413
  "type": "string",
380
414
  "mutable": false,
@@ -413,59 +447,17 @@ export class GxIdeWWFiles {
413
447
  "text": "The default value for the module/folder filter"
414
448
  }
415
449
  },
416
- "filterModules": {
417
- "type": "unknown",
418
- "mutable": false,
419
- "complexType": {
420
- "original": "GxOption[]",
421
- "resolved": "GxOption[]",
422
- "references": {
423
- "GxOption": {
424
- "location": "import",
425
- "path": "../../common/types",
426
- "id": "src/common/types.ts::GxOption"
427
- }
428
- }
429
- },
430
- "required": true,
431
- "optional": false,
432
- "docs": {
433
- "tags": [],
434
- "text": "The modules/folders render in the module/folder selector"
435
- }
436
- },
437
- "types": {
438
- "type": "unknown",
439
- "mutable": false,
440
- "complexType": {
441
- "original": "GxOption[]",
442
- "resolved": "GxOption[]",
443
- "references": {
444
- "GxOption": {
445
- "location": "import",
446
- "path": "../../common/types",
447
- "id": "src/common/types.ts::GxOption"
448
- }
449
- }
450
- },
451
- "required": true,
452
- "optional": false,
453
- "docs": {
454
- "tags": [],
455
- "text": "The types render in the filter type selector"
456
- }
457
- },
458
- "contextMenuCallback": {
450
+ "deleteSelectionCallback": {
459
451
  "type": "unknown",
460
452
  "mutable": false,
461
453
  "complexType": {
462
- "original": "ContextMenuCallback",
463
- "resolved": "(contextMenuInfo: ContextMenuInfo) => Promise<void>",
454
+ "original": "DeleteSelectionCallback",
455
+ "resolved": "(ids: string[]) => Promise<void>",
464
456
  "references": {
465
- "ContextMenuCallback": {
457
+ "DeleteSelectionCallback": {
466
458
  "location": "local",
467
459
  "path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/ww-files/ww-files.tsx",
468
- "id": "src/components/ww-files/ww-files.tsx::ContextMenuCallback"
460
+ "id": "src/components/ww-files/ww-files.tsx::DeleteSelectionCallback"
469
461
  }
470
462
  }
471
463
  },
@@ -473,29 +465,30 @@ export class GxIdeWWFiles {
473
465
  "optional": false,
474
466
  "docs": {
475
467
  "tags": [],
476
- "text": "This is a function provided by the developer for show the context menu of the selected files."
468
+ "text": "This is a function provided by the developer for delete the selected files."
477
469
  }
478
470
  },
479
- "deleteSelectionCallback": {
471
+ "gridColumnsVisibility": {
480
472
  "type": "unknown",
481
473
  "mutable": false,
482
474
  "complexType": {
483
- "original": "DeleteSelectionCallback",
484
- "resolved": "(ids: string[]) => Promise<void>",
475
+ "original": "GridColumnsVisibility",
476
+ "resolved": "{ description: boolean; importDate: boolean; lastBuildDate: boolean; lastUser: boolean; modifiedDate: boolean; }",
485
477
  "references": {
486
- "DeleteSelectionCallback": {
478
+ "GridColumnsVisibility": {
487
479
  "location": "local",
488
480
  "path": "/home/runner/work/genexus-ide-ui/genexus-ide-ui/src/components/ww-files/ww-files.tsx",
489
- "id": "src/components/ww-files/ww-files.tsx::DeleteSelectionCallback"
481
+ "id": "src/components/ww-files/ww-files.tsx::GridColumnsVisibility"
490
482
  }
491
483
  }
492
484
  },
493
- "required": true,
485
+ "required": false,
494
486
  "optional": false,
495
487
  "docs": {
496
488
  "tags": [],
497
- "text": "This is a function provided by the developer for delete the selected files."
498
- }
489
+ "text": "Controls the visibility of the tabular grid cell columns, and respective cells."
490
+ },
491
+ "defaultValue": "{\n description: true,\n importDate: true,\n lastBuildDate: true,\n lastUser: true,\n modifiedDate: true\n }"
499
492
  },
500
493
  "loadCallback": {
501
494
  "type": "unknown",
@@ -606,7 +599,7 @@ export class GxIdeWWFiles {
606
599
  "type": "boolean",
607
600
  "mutable": false,
608
601
  "complexType": {
609
- "original": "boolean",
602
+ "original": "false",
610
603
  "resolved": "boolean",
611
604
  "references": {}
612
605
  },
@@ -614,174 +607,27 @@ export class GxIdeWWFiles {
614
607
  "optional": false,
615
608
  "docs": {
616
609
  "tags": [],
617
- "text": "Controls whether to show the Search contents field in the advanced filter section"
610
+ "text": "Controls whether to show the Search contents field in the advanced filter section (Not available at the time of writting, since the server is not handling this feature yet.)"
618
611
  },
619
612
  "attribute": "show-search-contents",
620
613
  "reflect": false,
621
614
  "defaultValue": "false"
622
- },
623
- "showDescription": {
624
- "type": "boolean",
625
- "mutable": false,
626
- "complexType": {
627
- "original": "boolean",
628
- "resolved": "boolean",
629
- "references": {}
630
- },
631
- "required": false,
632
- "optional": false,
633
- "docs": {
634
- "tags": [],
635
- "text": "Controls whether to show the description column in the grid"
636
- },
637
- "attribute": "show-description",
638
- "reflect": false,
639
- "defaultValue": "false"
640
- },
641
- "showModifiedDate": {
642
- "type": "boolean",
643
- "mutable": false,
644
- "complexType": {
645
- "original": "boolean",
646
- "resolved": "boolean",
647
- "references": {}
648
- },
649
- "required": false,
650
- "optional": false,
651
- "docs": {
652
- "tags": [],
653
- "text": "Controls whether to show the modified date column in the grid"
654
- },
655
- "attribute": "show-modified-date",
656
- "reflect": false,
657
- "defaultValue": "false"
658
- },
659
- "showLastUser": {
660
- "type": "boolean",
661
- "mutable": false,
662
- "complexType": {
663
- "original": "boolean",
664
- "resolved": "boolean",
665
- "references": {}
666
- },
667
- "required": false,
668
- "optional": false,
669
- "docs": {
670
- "tags": [],
671
- "text": "Controls whether to show the last user column in the grid"
672
- },
673
- "attribute": "show-last-user",
674
- "reflect": false,
675
- "defaultValue": "false"
676
- },
677
- "showImportDate": {
678
- "type": "boolean",
679
- "mutable": false,
680
- "complexType": {
681
- "original": "boolean",
682
- "resolved": "boolean",
683
- "references": {}
684
- },
685
- "required": false,
686
- "optional": false,
687
- "docs": {
688
- "tags": [],
689
- "text": "Controls whether to show the import date column in the grid"
690
- },
691
- "attribute": "show-import-date",
692
- "reflect": false,
693
- "defaultValue": "false"
694
- },
695
- "showType": {
696
- "type": "boolean",
697
- "mutable": false,
698
- "complexType": {
699
- "original": "boolean",
700
- "resolved": "boolean",
701
- "references": {}
702
- },
703
- "required": false,
704
- "optional": false,
705
- "docs": {
706
- "tags": [],
707
- "text": "Controls whether to show the type column in the grid"
708
- },
709
- "attribute": "show-type",
710
- "reflect": false,
711
- "defaultValue": "false"
712
- },
713
- "showLastBuildDate": {
714
- "type": "boolean",
715
- "mutable": false,
716
- "complexType": {
717
- "original": "boolean",
718
- "resolved": "boolean",
719
- "references": {}
720
- },
721
- "required": false,
722
- "optional": false,
723
- "docs": {
724
- "tags": [],
725
- "text": "Controls whether to show the last build date column in the grid"
726
- },
727
- "attribute": "show-last-build-date",
728
- "reflect": false,
729
- "defaultValue": "false"
730
615
  }
731
616
  };
732
617
  }
733
618
  static get states() {
734
619
  return {
620
+ "afterValue": {},
735
621
  "categoriesComboBoxModel": {},
736
- "afterCurrentValue": {},
737
- "filterAfterOptions": {},
738
- "enabledModifiedControls": {},
739
- "filterModified": {},
740
- "filterMore": {},
741
- "objects": {},
742
- "filterFilesInputValue": {},
743
- "filteredFiles": {},
744
- "selectedObjectsIds": {},
745
- "advancedFilterAccordionExpanded": {}
622
+ "dateTimeValue": {},
623
+ "isLoading": {},
624
+ "filterAfterComboBoxModel": {},
625
+ "showModified": {},
626
+ "objects": {}
746
627
  };
747
628
  }
748
- static get events() {
749
- return [{
750
- "method": "componentDidLoadEvent",
751
- "name": "componentDidLoadEvent",
752
- "bubbles": true,
753
- "cancelable": true,
754
- "composed": true,
755
- "docs": {
756
- "tags": [],
757
- "text": "This event is emitted once just after the component is fully loaded and the first render() occurs."
758
- },
759
- "complexType": {
760
- "original": "boolean",
761
- "resolved": "boolean",
762
- "references": {}
763
- }
764
- }];
765
- }
766
629
  static get methods() {
767
630
  return {
768
- "validate": {
769
- "complexType": {
770
- "signature": "() => Promise<boolean>",
771
- "parameters": [],
772
- "references": {
773
- "Promise": {
774
- "location": "global",
775
- "id": "global::Promise"
776
- }
777
- },
778
- "return": "Promise<boolean>"
779
- },
780
- "docs": {
781
- "text": "Validate necessary data input",
782
- "tags": []
783
- }
784
- },
785
631
  "reload": {
786
632
  "complexType": {
787
633
  "signature": "() => Promise<void>",
@@ -804,6 +650,9 @@ export class GxIdeWWFiles {
804
650
  static get elementRef() { return "el"; }
805
651
  static get watchers() {
806
652
  return [{
653
+ "propName": "dateTimeValue",
654
+ "methodName": "dateTimeValueChanged"
655
+ }, {
807
656
  "propName": "categories",
808
657
  "methodName": "categoriesChanged"
809
658
  }];
@@ -818,5 +667,5 @@ export class GxIdeWWFiles {
818
667
  }];
819
668
  }
820
669
  }
821
- _GxIdeWWFiles_componentLocale = new WeakMap(), _GxIdeWWFiles_ACCORDION_FILTER_ID = new WeakMap(), _GxIdeWWFiles_ACCORDION_MODEL = new WeakMap(), _GxIdeWWFiles_chGridEl = new WeakMap(), _GxIdeWWFiles_filterAfterTypeEl = new WeakMap(), _GxIdeWWFiles_filterAllDescendantsEl = new WeakMap(), _GxIdeWWFiles_filterCategoryEl = new WeakMap(), _GxIdeWWFiles_filterModifiedDateEl = new WeakMap(), _GxIdeWWFiles_filterModuleEl = new WeakMap(), _GxIdeWWFiles_filterModifiedEl = new WeakMap(), _GxIdeWWFiles_filterNameEl = new WeakMap(), _GxIdeWWFiles_filterSearchContentsEl = new WeakMap(), _GxIdeWWFiles_filterUserEl = new WeakMap(), _GxIdeWWFiles_renderHeader = new WeakMap(), _GxIdeWWFiles_renderObjects = new WeakMap(), _GxIdeWWFiles_hiChar = new WeakMap(), _GxIdeWWFiles_formatDate = new WeakMap(), _GxIdeWWFiles_getObjects = new WeakMap(), _GxIdeWWFiles_filterFiles = new WeakMap(), _GxIdeWWFiles_handleFilterInput = new WeakMap(), _GxIdeWWFiles_handleSearchContentsInput = new WeakMap(), _GxIdeWWFiles_deleteSelectionCallbackHandle = new WeakMap(), _GxIdeWWFiles_deselectAll = new WeakMap(), _GxIdeWWFiles_expandedHandler = new WeakMap(), _GxIdeWWFiles_filterModifiedCallbackHandle = new WeakMap(), _GxIdeWWFiles_filterAfterTypeCallbackHandle = new WeakMap(), _GxIdeWWFiles_listenChanges = new WeakMap(), _GxIdeWWFiles_newFileCallbackHandle = new WeakMap(), _GxIdeWWFiles_openSelectionCallbackHandle = new WeakMap(), _GxIdeWWFiles_selectAll = new WeakMap();
670
+ _GxIdeWWFiles_componentLocale = new WeakMap(), _GxIdeWWFiles_ACCORDION_MODEL = new WeakMap(), _GxIdeWWFiles_nameValue = new WeakMap(), _GxIdeWWFiles_moduleValue = new WeakMap(), _GxIdeWWFiles_searchContentsValue = new WeakMap(), _GxIdeWWFiles_categoryValue = new WeakMap(), _GxIdeWWFiles_allDescendants = new WeakMap(), _GxIdeWWFiles_userValue = new WeakMap(), _GxIdeWWFiles_selectedObjectsIds = new WeakMap(), _GxIdeWWFiles_chGridEl = new WeakMap(), _GxIdeWWFiles_filterModuleEl = new WeakMap(), _GxIdeWWFiles_setFilterDefaultValues = new WeakMap(), _GxIdeWWFiles_allDescendantsCheckboxHandler = new WeakMap(), _GxIdeWWFiles_attachGridListeners = new WeakMap(), _GxIdeWWFiles_categoryInputHandler = new WeakMap(), _GxIdeWWFiles_clearDateTimeValue = new WeakMap(), _GxIdeWWFiles_dateTimeInputHandler = new WeakMap(), _GxIdeWWFiles_deleteSelectionCallbackHandler = new WeakMap(), _GxIdeWWFiles_deselectAll = new WeakMap(), _GxIdeWWFiles_evaluateModifiedDates = new WeakMap(), _GxIdeWWFiles_filterAfterTypeCallbackHandler = new WeakMap(), _GxIdeWWFiles_formatDate = new WeakMap(), _GxIdeWWFiles_getObjects = new WeakMap(), _GxIdeWWFiles_renderHeader = new WeakMap(), _GxIdeWWFiles_renderObjects = new WeakMap(), _GxIdeWWFiles_moduleValueChangedHandler = new WeakMap(), _GxIdeWWFiles_nameInputHandler = new WeakMap(), _GxIdeWWFiles_newFileCallbackHandler = new WeakMap(), _GxIdeWWFiles_openSelectionCallbackHandler = new WeakMap(), _GxIdeWWFiles_searchContentsInputHandler = new WeakMap(), _GxIdeWWFiles_setLoadingState = new WeakMap(), _GxIdeWWFiles_userInputHandler = new WeakMap(), _GxIdeWWFiles_showModifiedCheckboxHandler = new WeakMap(), _GxIdeWWFiles_selectAll = new WeakMap();
822
671
  //# sourceMappingURL=ww-files.js.map